nt/config.nt: Sync with autogen/config.in.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
75e8f9d2
CY
12012-10-24 Chong Yidong <cyd@gnu.org>
2
3 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
4
d92df117
SM
52012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6
7 * minibuffer.el (completion--all-sorted-completions-location): New var.
8 (completion--cache-all-sorted-completions)
9 (completion--flush-all-sorted-completions): Use it.
10 (completion-in-region, completion-in-region--postch)
11 (completion-at-point, completion-help-at-point): Use markers in
12 completion-in-region--data (bug#12619).
13
9c3e39f3
SM
142012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
15
c79825bd
SM
16 * progmodes/compile.el (compilation-start): Try to handle common
17 quoting of `cd' argument (bug#12640).
18
9c3e39f3
SM
19 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
20 (bug#12671).
21
a6709bc7
GM
222012-10-23 Glenn Morris <rgm@gnu.org>
23
24 * progmodes/gud.el (gud-menu-map):
25 Check gdb-active-process is bound. (Bug#12358)
26
d1069532
SM
272012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
28
d20d69c0
SM
29 * repeat.el (repeat): Set real-this-command (bug#12232).
30
d1069532
SM
31 * htmlfontify.el (hfy-post-html-hook):
32 * filesets.el (filesets-cache-fill-content-hook):
33 * arc-mode.el (archive-extract-hook):
34 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
35 * net/rcirc.el (rcirc-sentinel-functions)
36 (rcirc-receive-message-functions, rcirc-activity-functions)
37 (rcirc-print-functions):
38 * net/dbus.el (dbus-event-error-functions):
39 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
40 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
41 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
42 * term/sun.el (sun-raw-prefix-hooks):
43 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
44
f7eac6d8
MA
452012-10-23 Michael Albinus <michael.albinus@gmx.de>
46
d1069532
SM
47 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
48 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
49 (tramp-smb-wait-for-output): Add timeout to
50 `tramp-accept-process-output' calls.
51
608d9d7c
CY
522012-10-23 Chong Yidong <cyd@gnu.org>
53
49238e7f
CY
54 * faces.el (font-list-limit): Define as an obsolete variable.
55
56 * startup.el (command-line):
57 * cus-start.el: Don't refer to font-list-limit.
58
608d9d7c
CY
59 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
60
4ff5b1b2
SM
612012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
62
63 * subr.el (internal-temp-output-buffer-show): Rename from
64 temp-output-buffer-show, since previously compiled files expect this name.
65
ea1d4aac
GM
662012-10-23 Glenn Morris <rgm@gnu.org>
67
68 * image.el (image-type-from-file-name): If multiple types match,
69 return the first one that is supported. (Bug#9045)
70
eda82a31
GM
712012-10-22 Glenn Morris <rgm@gnu.org>
72
73 * image.el (imagemagick-enabled-types): Doc fix.
74
4f020bec
TA
752012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
76
77 * progmodes/which-func.el (which-func-current): The hash-table may have
78 an explicit nil (bug#12338).
79
c77d37e2
SM
802012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
81
82 * electric.el (electric-pair-delete-selection-self-insert-function):
83 Rename to electric-pair-will-use-region, return a boolean.
84 (electric-pair-mode): Adjust accordingly. Don't require delsel.
85
86 * delsel.el (delete-selection-helper): Use a function instead of a hook.
87 (delete-selection-pre-hook): Use use-region-p.
88 (delete-selection-self-insert-function): Remove.
89 (self-insert-command): Obey self-insert-uses-region-functions.
90 (self-insert-iso): Revert to previous setting, since we don't actually
91 know what that command does.
92 (delete-selection-self-insert-hooks): Remove.
93
b1d39ccc
SL
942012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
95
96 * delsel.el (delete-selection-helper): New function, extracted from
97 delete-selection-pre-hook.
98 (delete-selection-pre-hook): Use it.
99 (delete-selection-self-insert-function): New function.
100 (delete-selection-self-insert-hooks): New hook.
101 (self-insert-command, self-insert-iso): Use it.
102 * electric.el (electric-pair-syntax): New function, extracted from
103 electric-pair-post-self-insert-function.
104 (electric-pair-post-self-insert-function): Use it.
105 (electric-pair-delete-selection-self-insert-function): New function.
106 (electric-pair-mode): Require delsel and setup
107 delete-selection-self-insert-hooks (bug#11520).
108
045ef729
CY
1092012-10-20 Chong Yidong <cyd@gnu.org>
110
4c5d08a8
CY
111 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
112 no changes to show (Bug#12586).
113
045ef729
CY
114 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
115 list explicitly (Bug#12571).
116
3503c798 1172012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 118
b1d39ccc
SL
119 * progmodes/flymake.el (flymake-create-temp-inplace):
120 Use file-truename.
79e1997a 121
2068905b
EZ
1222012-10-20 Eli Zaretskii <eliz@gnu.org>
123
124 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
125
4c9e9550
JB
1262012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
127
128 * calc/calc-units.el (math-extract-units): Properly extract powers
129 of units.
130
1a6e7e38
DC
1312012-10-20 Daniel Colascione <dancol@dancol.org>
132
133 * frame.el (make-frame): Set x-display-name as we used to in order
134 to unbreak creating an X11 frame from an Emacs daemon started
135 without a display.
136
8e808318
SM
1372012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
138
139 * minibuffer.el (minibuffer-force-complete): Make the next completion use
140 the same completion-field (bug@12221).
141
fb0104da
MR
1422012-10-19 Martin Rudalics <rudalics@gmx.at>
143
144 * emacs-lisp/debug.el (debug): Record height of debugger window
145 also when debugger will be back (Bug#8789).
146
8c27235e
CY
1472012-10-18 Chong Yidong <cyd@gnu.org>
148
149 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
150 Convert to defcustom.
151 (gdb-get-source-file): Don't bind pop-up-windows.
152
153 * progmodes/gud.el (gud-display-line): Don't specially re-use
154 other frames for the gdb-mi case (Bug#12648).
155
90eacf99
SM
1562012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
157
aaf0c300
SM
158 * emacs-lisp/advice.el: Clean up commentary a bit.
159 (ad-do-advised-functions, ad-with-originals): Use `declare'.
160 (byte-code-function-p): Never redefine.
161
90eacf99
SM
162 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
163
281c9d2b
GM
1642012-10-18 Glenn Morris <rgm@gnu.org>
165
40714e3d
GM
166 * dired.el (dired-sort-toggle): Some ls implementations only allow
167 a single option string. (Bug#12666)
168
281c9d2b
GM
169 * minibuffer.el (completion-cycle-threshold): Doc fix.
170
b278604e
KH
1712012-10-17 Kenichi Handa <handa@gnu.org>
172
90eacf99
SM
173 * international/mule.el (set-keyboard-coding-system):
174 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
175 Supply TERMINAL arg to set-input-meta-mode.
176
7ebc5f5a
MH
1772012-10-17 Michael Heerdegen <michael_heerdegen@web.de> (tiny change)
178
179 * wdired.el (wdired-old-marks): New variable.
180 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
181 (wdired-do-renames): Move point with renamed file and don't lose
182 mark status (Bug#11795).
183
e5a94ec4
JL
1842012-10-16 Juri Linkov <juri@jurta.org>
185
186 * replace.el (query-replace-help): Mention multi-buffer replacement
187 keys in the Help message. (Bug#12655)
188
d18a0d24
CY
1892012-10-15 Chong Yidong <cyd@gnu.org>
190
191 * emacs-lisp/byte-run.el (defsubst): Doc fix.
192
8111f5e6
EZ
1932012-10-14 Eli Zaretskii <eliz@gnu.org>
194
7b9abf24
EZ
195 * window.el (display-buffer): Doc fix.
196
8111f5e6
EZ
197 * progmodes/compile.el (compilation-error-regexp-alist-alist):
198 Adjust the msft regexp to the output of Studio 2010, and move msft
199 before edg-1. See the discussion on emacs-devel,
200 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
201 for the details.
202
5046ef67
SM
2032012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
204
9760c73c
SM
205 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
206 (oset): Move uses of object-class-fast macro after its definition.
207
5046ef67
SM
208 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
209
0d11ff1c
CY
2102012-10-13 Chong Yidong <cyd@gnu.org>
211
212 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
213 enabled, re-enable it (Bug#11963).
214
88ded8ac
MR
2152012-10-13 Martin Rudalics <rudalics@gmx.at>
216
217 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
218 non-nil, restore window configuration (Bug#12623).
219
bd0ffffd
SM
2202012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
221
06485aa8
SM
222 * help-fns.el (describe-variable, describe-function-1):
223 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
224
bd0ffffd
SM
225 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
226
3a989246
GM
2272012-10-12 Glenn Morris <rgm@gnu.org>
228
229 * mail/rmailsum.el (rmail-header-summary):
230 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
231
55cd00c8
FEG
2322012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
233
bd0ffffd
SM
234 * progmodes/python.el (python-mode-map):
235 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
236 (python-nav--up-list): Fix behavior for blocks on the same level.
237
ac9fc2c7
SM
2382012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
239
d8cc4c00 240 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 241
5253a5fd
SM
242 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
243 changes to the format of load-history.
244
ac9fc2c7
SM
245 * international/mule-cmds.el (read-char-by-name): Move let-binding of
246 completion-ignore-case in case that var is buffer-local (bug#12615).
247
cde44a77
KH
2482012-10-11 Kenichi Handa <handa@gnu.org>
249
250 * international/eucjp-ms.el: Re-generated.
251
4ef4a10d
KH
2522012-10-10 Kenichi Handa <handa@gnu.org>
253
254 * select.el (xselect--encode-string): If a coding is specified for
255 selection, and that is compatible with COMPOUND_TEXT, use it.
256
9d7f027b
MR
2572012-10-10 Martin Rudalics <rudalics@gmx.at>
258
259 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
260 (switch-to-buffer):
261 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 262
238f3a58
SM
2632012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
264
265 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
266 Don't document nil as a useful value (bug#12583).
267
1d51f99c
MA
2682012-10-09 Michael Albinus <michael.albinus@gmx.de>
269
238f3a58
SM
270 * net/tramp.el (tramp-debug-message):
271 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
272 (with-tramp-progress-reporter): Rename from
273 `tramp-with-progress-reporter'.
238f3a58
SM
274 (with-tramp-file-property, with-tramp-connection-property):
275 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
276 `with-connection-property', respectively.
277
278 * net/tramp-cache.el: Remove `with-file-property' and
279 `with-connection-property'.
280
281 * net/tramp.el:
282 * net/tramp-gvfs.el:
283 * net/tramp-sh.el:
284 * net/tramp-smb.el: Adapt callees.
285
286 * net/trampver.el: Update release number.
287
26b77251
GM
2882012-10-09 Glenn Morris <rgm@gnu.org>
289
9a5f296f
GM
290 * w32-fns.el (set-message-beep):
291 * term/w32-win.el (set-message-beep): Update declarations.
292
94c66ce5
SM
2932012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
294
10766e9e
SM
295 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
296 (mode-line-widen, mode-line-input-method-map)
297 (mode-line-coding-system-map, mode-line-remote)
298 (mode-line-unbury-buffer, mode-line-bury-buffer)
299 (mode-line-next-buffer, mode-line-previous-buffer):
300 Replace save-selected-window+select-window => with-selected-window.
301
f754db08
SM
302 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
303 * progmodes/cc-vars.el (bq-process): Remove, unused.
304
94c66ce5
SM
305 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
306
a4ff7fe1
FEG
3072012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
308
309 Implemented `backward-up-list'-like navigation.
310 * progmodes/python.el (python-nav-up-list)
311 (python-nav-backward-up-list): New functions.
312 (python-mode-map): Define substitute key for backward-up-list to
313 python-nav-backward-up-list.
314
24517d82
FEG
3152012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
316
317 * progmodes/python.el (python-fill-paragraph): Rename from
318 python-fill-paragraph-function. Fixed fill-paragraph for
319 decorators (Bug#12605).
320
51867ae2
FEG
3212012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
322
323 * progmodes/python.el (python-shell-output-filter): Handle extra
324 carriage return in OSX (Bug#12409).
325
a5b773c4
FEG
3262012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
327
328 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 329 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
330 (python-syntax-propertize-function): Use it.
331 (python-shell-output-syntax-table): New var.
332 (inferior-python-mode): Prevent unbalanced parens/quotes from
333 previous output mess with current input context.
334
13373538
JB
3352012-10-08 Juanma Barranquero <lekktu@gmail.com>
336
337 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
338 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
339
775a132d
MA
3402012-10-08 Michael Albinus <michael.albinus@gmx.de>
341
342 * ffap.el (ffap-replace-file-component): Support Tramp file name
343 syntax, not only ange-ftp's one.
344
3ab44929
GM
3452012-10-08 Glenn Morris <rgm@gnu.org>
346
57f1dee4
GM
347 * cus-start.el (message-log-max): Set :version.
348
3ab44929
GM
349 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
350
6a088630
MR
3512012-10-08 Martin Rudalics <rudalics@gmx.at>
352
353 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
354 the minibuffer window (Bug#10851).
355
8dbce54c
FEG
3562012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
357
358 Enhancements on forward-sexp movement.
359 * progmodes/python.el (python-nav-beginning-of-statement)
360 (python-nav-end-of-statement): Return point-marker.
361 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
362 (python-info-current-symbol)
363 (python-info-statement-starts-block-p): Rename from
364 python-info-beginning-of-block-p.
365 (python-info-statement-ends-block-p): Rename from
366 python-info-end-of-block-p.
367 (python-info-beginning-of-statement-p)
368 (python-info-end-of-statement-p)
369 (python-info-beginning-of-block-p, python-info-end-of-block-p):
370 New functions.
371
5acd2b3e
SM
3722012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
373
374 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
375 frame-selected-windows.
376
e08348a0
DC
3772012-10-08 Daniel Colascione <dancol@dancol.org>
378
379 * battery.el (battery-status-function): Check for
380 w32-battery-status itself, not system-time windows-nt.
381
382 * frame.el: Require cl-lib.
383 (display-format-alist): New variable mapping frame types to
384 functions that initialize them.
385 (window-system-for-display): New function: interprets
386 display-format-alist.
387 (make-frame-on-display): Remove existing display-selection logic
388 and just forward to make-frame, which will now DTRT.
389 (make-frame): Restructure to use window-system-for-display to
390 figure out how to create a frame on a given display.
391 (display-mouse-p): Look for frame-type w32, not a particular
392 system-type.
393
394 * loadup.el: Load w32 lisp code when we have the w32 feature.
395
396 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
397 system-type windows-nt.
398
399 * server.el (server-create-window-system-frame): Look for window
400 type.
401 (server-proces-filter): Only force a window system when windows-nt
402 _and_ w32. Explain why.
403
404 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
405 of window systems we configure for the mode.
406
407 * startup.el (command-line): Mark window system is initialized
408 after we've done it.
409
410 * common-win.el (x-select-text): Look for w32, not windows-nt.
411
412 * ns-win.el: Require cl-lib. Add ourselves to
413 display-format-alist.
414 (ns-initialize-window-system): Assert we're not initialized twice.
415
416 * w32-win.el: Enable lexical binding; require cl-lib; add
417 ourselves to display-format-alist.
418 (w32-handle-dropped-file): Convert incoming dropped files from
419 Windows paths to Cygwin ones before passing them on to the rest of
420 Emacs.
421 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
422 (w32-initialize-window-system): Assert we're not initialized twice.
423
424 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
425 (x-initialize-window-system): Assert we're not initialized twice.
426
427 * w32-common-fns.el: New File.
428 (w32-version, w32-using-nt, w32-get-clipboard-data)
429 (w32-set-clipboard-data, x-set-selection, x-get-selection)
430 (w32-charset-info-alist, x-last-selected, text)
431 (x-get-selection-value, x-selection-value): Move here.
432
433 * w32-fns.el: Require w32-common-fns.
434 (w32-version, w32-using-nt, w32-get-clipboard-data)
435 (w32-set-clipboard-data, x-set-selection, x-get-selection)
436 (w32-charset-info-alist, x-last-selected, text)
437 (x-get-selection-value, x-selection-value): Move to
438 w32-common-fns.
439
440 * w32-vars.el:
441 (w32-allow-system-shell, w32-system-shells): Define only in
442 non-cygwin case.
443
795b1482
SM
4442012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
445
446 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
447 (read-passwd): Remove a few more potential sources of leaks.
448
f27c99dc
FEG
4492012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
450
451 * progmodes/python.el (inferior-python-mode)
795b1482 452 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
453 variables copied from parent buffer.
454
fcacb558
JD
4552012-10-07 Jan Djärv <jan.h.d@swipnet.se>
456
457 * term/ns-win.el (ns-read-file-name): Update declaration to match
458 nsfns.m.
459 (ns-respond-to-change-font): Change fontsize separatly so we are sure
460 it is set when font is acted upon.
461
be0d5bae
FEG
4622012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
463
464 Enhancements to indentation.
465 * progmodes/python.el (python-indent-context): Give priority to
466 inside-string context. Make comments indentation markers.
467 (python-indent-region): Do not mess with strings, unless it's the
468 enclosing set of quotes.
469
13af0d10
SM
4702012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
471
662a9d0e
SM
472 * window.el (internal--before-save-selected-window)
473 (internal--after-save-selected-window): New functions extracted from
474 save-selected-window. Make sure we return the `alist' we construct.
475 (save-selected-window): Use them.
476
477 * textmodes/tex-mode.el (tex-recenter-output-buffer):
478 Use with-selected-window.
479
13af0d10
SM
480 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
481 forms that define macros (bug#12593).
482
6aa75fb6
KH
4832012-10-07 Kenichi Handa <handa@gnu.org>
484
13af0d10
SM
485 * international/mule-conf.el (compound-text-with-extensions):
486 Add :mime-charset property as x-ctext.
6aa75fb6 487
78d876b9
SM
4882012-10-07 Stefan Merten <smerten@oekonux.de>
489
490 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
491 (rst-indent-literal-normal, rst-indent-literal-minimized)
492 (rst-indent-comment): Correct :version tag.
557337e9 493 (rst-official-cvs-rev): Correct version string.
78d876b9 494
99a1e701
GM
4952012-10-07 Glenn Morris <rgm@gnu.org>
496
497 * mail/rmailmm.el (rmail-mime-process-multipart):
498 Do not confuse a multipart message with an epilogue
499 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
500
08f18c3d
FEG
5012012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
502
503 Fix shell output retrieval and comint-prompt-regexp init.
504 * progmodes/python.el (inferior-python-mode):
505 (python-shell-make-comint): Fix initialization of
506 comint-prompt-regexp from copied file local variables.
507 (python-shell-fetched-lines): Remove var.
508 (python-shell-output-filter-in-progress): Rename from
509 python-shell-fetch-lines-in-progress.
510 (python-shell-output-filter-buffer): Rename from
511 python-shell-fetch-lines-string.
512 (python-shell-fetch-lines-filter): Delete function.
513 (python-shell-output-filter): New function.
514 (python-shell-send-string-no-output): Use them.
515
82ed3ab4
GM
5162012-10-07 Glenn Morris <rgm@gnu.org>
517
1595ecfa
GM
518 * hi-lock.el (hi-lock-process-phrase):
519 Try to make it less fragile. (Bug#7161)
520
82ed3ab4
GM
521 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
522
f1f4dba0
GM
5232012-10-06 Glenn Morris <rgm@gnu.org>
524
addc11ed 525 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
526 non-existent mode `help'.
527 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 528
460042b8
GM
529 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
530 (reftex-create-bibtex-footer): Fix custom types.
531
67667c70
GM
532 * progmodes/sh-script.el (sh-indent-after-continuation):
533 Add explicit :group.
534
18dec750
GM
535 * textmodes/rst.el (rst-preferred-decorations)
536 (rst-shift-basic-offset): Clarify obsolescence versions.
537
d1a1c7e6
GM
538 * profiler.el (profiler): Add missing group :version tag.
539 * avoid.el (mouse-avoidance-banish-position):
540 * proced.el (proced-renice-command):
541 * calc/calc.el (calc-ensure-consistent-units):
542 * calendar/icalendar.el (icalendar-import-format-uid):
543 * net/tramp.el (tramp-save-ad-hoc-proxies):
544 * progmodes/bug-reference.el (bug-reference-bug-regexp):
545 * progmodes/flymake.el (flymake-error-bitmap)
546 (flymake-warning-bitmap, flymake-fringe-indicator-position):
547 * progmodes/sh-script.el (sh-indent-after-continuation):
548 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
549 (verilog-before-save-font-hook, verilog-after-save-font-hook):
550 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
551 (vhdl-array-index-record-field-in-sensitivity-list)
552 (vhdl-indent-comment-like-next-code-line):
553 * textmodes/reftex-vars.el (reftex-ref-style-alist)
554 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
555 (reftex-cite-key-separator, reftex-create-bibtex-header)
556 (reftex-create-bibtex-footer):
557 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
558 (rst-indent-literal-normal, rst-indent-literal-minimized)
559 (rst-indent-comment): Add missing custom :version tags.
560
ef35abb4
GM
561 * calendar/timeclock.el (timeclock-modeline-display):
562 Add missing obsolete alias for renamed user option.
563
d1aae614
GM
564 * strokes.el (strokes-modeline-string):
565 * emulation/crisp.el (crisp-mode-modeline-string):
566 * eshell/esh-mode.el (eshell-status-in-modeline):
567 Aliases to defcustoms must come before the defcustom.
568
f1f4dba0
GM
569 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
570 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
571 (cal-tex-cursor-week-monday): Doc fixes.
572 (cal-tex-cursor-week2-summary): Doc fix.
573 Rename from cal-tex-cursor-week-at-a-glance.
574
575 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
576 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
577
578 * calendar/calendar.el (calendar-mode-map):
579 Add cal-tex-cursor-week2-summary.
580
d39109c3
SM
5812012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
582
685f87b0
SM
583 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
584
d39109c3
SM
585 * subr.el (read-passwd-map): New var.
586 (read-passwd): Use `read-string' again.
587 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
588
5694896d
J
5892012-10-06 Jambunathan K <kjambunathan@gmail.com>
590
591 * register.el (append-to-register, prepend-to-register):
592 Deactivate mark, as does `copy-to-register' (bug#12389).
593
9414dd8d
CY
5942012-10-06 Chong Yidong <cyd@gnu.org>
595
596 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
597
2b89bca4
KH
5982012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
599
600 * international/characters.el: Fix simple mistake ((car chars) ->
601 elt), delete duplicated code.
602
d5acb99a
GM
6032012-10-06 Glenn Morris <rgm@gnu.org>
604
605 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
606
123ec157
JS
6072012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
608
609 * color.el (color-hsl-to-rgb): Fix incorrect results for
610 small and large hue values. (Bug#12559)
611
7fa36ccb
FEG
6122012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
613
614 Enhancements to docstring formatting when filling paragraphs.
615 * progmodes/python.el (python-fill-docstring-style): Rename from
616 python-fill-string-style. Added new style.
617 (python-fill-string): Use new style. Better checks for
618 docstrings.
619
d8788e1e
GM
6202012-10-05 Glenn Morris <rgm@gnu.org>
621
204f3953
GM
622 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
623
d8788e1e
GM
624 * color.el (color-name-to-rgb, color-rgb-to-hex)
625 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
626 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
627 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
628 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
629
8d956cef
GM
630 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
631
e8757f09 6322012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
633
634 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
635 to get the correct size across symlinks.
636
e8757f09
GM
637 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
638
0e2ae83d
JL
6392012-10-04 Juri Linkov <juri@jurta.org>
640
641 * replace.el (query-replace-interactive): Declare obsolete.
642 (query-replace-read-from): Add the last incremental search string
643 to the list of default values accessible via M-n.
644 (map-query-replace-regexp): Use `read-regexp'.
645 (query-replace, query-replace-regexp, query-replace-regexp-eval)
646 (map-query-replace-regexp, replace-string, replace-regexp):
647 Fix docstrings to replace mentions of `query-replace-interactive'
648 with alternatives. (Bug#12526)
649
93cacb6d
JL
6502012-10-04 Juri Linkov <juri@jurta.org>
651
652 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
653 (dired-pop-to-buffer): Declare obsolete.
654 (dired-mark-pop-up): Doc fix.
655
fc345011
FEG
6562012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
657
658 Allow user to set docstring style for fill-paragraph.
659 * progmodes/python.el
660 (python-fill-comment-function, python-fill-string-function)
661 (python-fill-decorator-function, python-fill-paren-function):
662 Remove :safe for defcustoms.
663 (python-fill-string-style): New defcustom
5694896d 664 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
665 (python-fill-string): Honor python-fill-string-style settings.
666
6bab5d8b
MR
6672012-10-04 Martin Rudalics <rudalics@gmx.at>
668
669 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
670 after setting its buffer (Bug#10805).
671
a1a9f411
FEG
6722012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
673
674 Fix cornercase for string syntax.
675 * progmodes/python.el (python-syntax-propertize-function):
676 Simplify and enhance the regexp for unescaped quotes. Now it also
677 matches quotes in weird situations like the single quote in
678 "something\"'".
679 (python-syntax-stringify): Simplify num-quotes detecting code.
680
05e153a6
GM
6812012-10-03 Glenn Morris <rgm@gnu.org>
682
683 * help-macro.el (three-step-help):
684 Revert 2012-09-29 change. (Bug#12567)
685
2e566ecb
MR
6862012-10-03 Martin Rudalics <rudalics@gmx.at>
687
96ef9ccd
MR
688 * menu-bar.el (kill-this-buffer): Don't do anything when
689 `menu-frame' is not alive or visible (Bug#8184).
690
2e566ecb
MR
691 * emacs-lisp/debug.el (debug): When quitting the debugger window
692 restore current buffer (Bug#12502).
693
a96e1cb7
CY
6942012-10-02 Chong Yidong <cyd@gnu.org>
695
5694896d
J
696 * progmodes/hideif.el (hif-lookup, hif-defined):
697 Handle semantic-c-takeover-hideif.
a96e1cb7 698
b3ecad33
PE
6992012-10-02 Paul Eggert <eggert@cs.ucla.edu>
700
701 Change sampling interval units from ms to ns.
702 * profiler.el (profiler-sampling-interval): Change units
703 from ms to ns, multiplying the default by 1000000 so that
704 it remains 1 ms.
705 (profiler-report-cpu-line-format): Give enough room for
706 the maximum counters on 64-bit hosts.
707 (profiler-report-render-calltree-1): Call them "CPU samples",
708 not "Time (ms)", since they are not milliseconds now (and
709 never really were).
710
8cb51b66 7112012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 712
5694896d
J
713 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
714 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 715
fd795bf4
CY
7162012-10-02 Chong Yidong <cyd@gnu.org>
717
718 * emacs-lisp/eieio.el: Restore Version header.
719
fe0a74f9
SM
7202012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
721
6be9197e
SM
722 * vc/diff-mode.el (diff--auto-refine-data): New var.
723 (diff-hunk): Use it to delay refinement.
724 (diff-mode): Remove overlays when we turn off font-lock.
725
18486139
SM
726 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
727 (table-initialize-table-fixed-width-mode)
728 (table-set-table-fixed-width-mode): Remove functions.
729 (table-command-list): Move initialization into declaration.
730 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
731 (table-with-cache-buffer): Use `declare'.
732 (table-span-cell): Simplify via CSE.
733 (table-fixed-width-mode): Use define-minor-mode.
734 (table-call-interactively, table-funcall, table-apply): Remove.
735 (table-function): New function, to replace them.
736
d83ef976
SM
737 * bookmark.el (bookmark-search-pattern): Remove var.
738 (bookmark-read-search-input): Remove function.
739 (bookmark-bmenu-search): Reimplement using a minibuffer.
740
cd386662
SM
741 * faces.el (modeline): Remove obsolete face name.
742
fe0a74f9
SM
743 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
744 and give a non-nil default value.
745 (add-change-log-entry): Simplify accordingly.
746
9f7b98f8
DG
7472012-10-01 Dmitry Gutov <dgutov@yandex.ru>
748
749 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
750 (vc-git-log-edit-toggle-amend): New function.
751 (vc-git-log-edit-toggle-signoff): New function.
752 (vc-git-log-edit-mode): New major mode.
753 (vc-git-log-edit-mode-map): Keymap for it.
754 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
755
756 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
757 header names.
758 (log-edit-toggle-header): New function.
759 (log-edit-extract-headers): Accept function values in HEADERS alist.
760
62a81506
CY
7612012-10-01 David Engster <deng@randomsample.de>
762
763 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
764 from symbol property and change message to be more consistent with
765 Emacs proper.
766 (eieio-describe-generic): Add filename for each implementation.
767 Fix indices for generic and normal methods.
768 (eieio-method-def, eieio-class-def): New buttons.
769 (eieio-help-find-method-definition)
770 (eieio-help-find-class-definition): New functions.
771 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
772 class, constructor and method definitions.
773
774 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
775 information in symbol property.
776 (scoped-class): Remove.
777 (eieio-slot-name-index, call-next-method): Check if it is bound.
778
7792012-10-01 Leo P. White <lpw25@cam.ac.uk>
780
781 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
782 (eieio-custom-mode): New major mode.
783 (eieio-customize-object): Use it.
784
7852012-10-01 Eric Ludlam <zappo@gnu.org>
786
787 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
788 specifying the expected class, and whether subclassing is allowed.
789 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
790 (eieio-persistent-validate/fix-slot-value)
791 (eieio-persistent-slot-type-is-class-p): New functions.
792 (eieio-named::slot-missing): Doc fix.
62a81506
CY
793
794 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
795 Stop using unused publd variable.
796
797 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
798 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
799 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
800 (eieio-speedbar-handle-click): Do not specify a class for the
801 method. Fixes method invocation order problems with EDE.
802
375e49d4
SM
8032012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
804
805 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
806 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
807
16ce6ccd
KF
8082012-10-01 Karl Fogel <kfogel@red-bean.com>
809
810 * bookmark.el (bookmark-version-control): Give tags in the
811 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
812 (bookmark-write-file): Bind `print-circle' to `t' to allow
813 circular custom bookmark types. (Bug#12503)
16ce6ccd 814
19e54a4d
PE
8152012-10-01 Paul Eggert <eggert@cs.ucla.edu>
816
86ec63ba
PE
817 Revert the FOLLOW-SYMLINKS change for file-attributes.
818 * files.el (remote-file-name-inhibit-cache, after-find-file):
819 * time.el (display-time-file-nonempty-p): Undo last change.
820
19e54a4d
PE
821 * profiler.el (profiler-sampling-interval): Change default back to 1.
822 See Stefan Monnier in
823 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
824
0478776b
FEG
8252012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
826
827 Shell output catching a la gud-gdb.
828 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
829 (python-shell-fetch-lines-string, python-shell-fetched-lines):
830 New Vars.
0478776b
FEG
831 (python-shell-fetch-lines-filter): New function.
832 (python-shell-send-string-no-output): Use them.
833
c22bac2c
TM
8342012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
835
836 * profiler.el (profiler-sampling-interval): Rename from
837 profiler-sample-interval.
838 (profiler-sampling-interval): Default to 10.
839 (profiler-find-profile): New command (was profiler-find-log).
840 (profiler-find-profile-other-window): New command.
841 (profiler-find-profile-other-frame): New command.
842 (profiler-profile): Introduce API-level data structure.
843
e7a2937b
PE
8442012-09-30 Paul Eggert <eggert@cs.ucla.edu>
845
846 file-attributes has a new optional arg FOLLOW-SYMLINKS.
847 * files.el (remote-file-name-inhibit-cache):
848 * time.el (display-time-file-nonempty-p): Use it.
849 * files.el (after-find-file): Don't chase links before calling
850 file-exists-p, as file-exists-p already does the right thing.
851
4f595e15
RA
8522012-09-30 Ralf Angeli <angeli@caeruleus.net>
853
854 Merge from standalone RefTeX repository.
855
856 The following ChangeLog entries are shortened versions of the
857 original ones with file paths adapted. A not so strongly edited
858 version of the original ChangeLog can be found in the commit log.
859
860 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
861 (reftex-arg-cite): Use `reftex-cite-key-separator'.
862 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
863
864 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
865 that entries with whitespace at various places are found.
866 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
867 Include @String definitions in the resulting bib file. Add header
868 and footer defined in `reftex-create-bibtex-header' and
869 `reftex-create-bibtex-footer'.
870 (reftex-do-citation): Make it possible again to insert
871 non-existent entries. Save match data when asking for optional
872 arguments. Return all keys, not just the first one.
873 (reftex-all-used-citation-keys): Fix regexp to correctly extract
874 all citations in the same line.
875 (reftex-parse-bibtex-entry): Accept additional optional argument
876 `raw' and keep quotes or braces if it is non-nil. Match fields
877 containing hyphens besides word constituents.
878 (reftex-get-string-refs): New function.
879 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
880 and ask if it should be reread in case it did.
881 (reftex-pop-to-bibtex-entry)
882 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
883 entries with spaces or tabs in front of arguments.
884 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
885 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
886 Match entries containing numbers and symbol constituents.
887 (reftex-do-citation, reftex-figure-out-cite-format):
888 Use `reftex-cite-key-separator'.
4f595e15
RA
889
890 * textmodes/reftex-dcr.el: Move provide statement to end of file.
891 (reftex-mouse-view-crossref): Explain why point is set.
892
893 * textmodes/reftex-global.el: Whitespace changes.
894
895 * textmodes/reftex-index.el: Move provide statement to end of
896 file.
897 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
898 (reftex-index-visit-phrases-buffer): Set marker when visiting
899 buffer. This allows for returning from the phrases file to the
900 file one was just editing instead of the file where the last
901 phrases was added from.
902 (reftex-index-phrases-syntax-table): New variable. Give ?\"
903 punctuation syntax as it usually is not used as string quote in
904 TeX-related modes and may occur unmatched. The change also
905 prevents fontification of quoted content.
906 (reftex-index-phrases-mode): Use it.
907
375e49d4
SM
908 * textmodes/reftex-parse.el (reftex-parse-from-file):
909 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
910 (reftex-parse-from-file): Use beginning of match instead of end as
911 bound.
912
913 * textmodes/reftex-ref.el: Adapt creation of
914 `reftex-<package>-<macro>' functions to new structure of
915 `reftex-ref-style-alist'.
375e49d4
SM
916 (reftex-reference): Use `reftex-ref-style-list' function.
917 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
918 reference macro if `reftex-ref-macro-prompt' is non-nil.
919 (reftex-reference): Pass refstyle to `reftex-format-special'.
920 Determine reference macro by looking at
375e49d4
SM
921 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
922 Use only one special format function.
4f595e15
RA
923 (reftex-varioref-vref, reftex-fancyref-fref)
924 (reftex-fancyref-Fref): Remove definitions. The functions are now
925 generated from `reftex-ref-style-alist'.
926 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
927 Remove.
928 (reftex-format-special): New function.
929
930 * textmodes/reftex-sel.el
931 (reftex-select-cycle-ref-style-internal): Adapt to new structure
932 of `reftex-ref-style-alist'. Remove code for testing macro type.
933 (reftex-select-toggle-varioref)
934 (reftex-select-toggle-fancyref): Remove.
935 (reftex-select-cycle-ref-style-internal)
936 (reftex-select-cycle-ref-style-forward)
937 (reftex-select-cycle-ref-style-backward): New functions.
938 (reftex-select-label-map): Use `v' and `V' for general cycling
939 through reference styles. Add `p' for switching between number
940 and page reference types.
941
375e49d4
SM
942 * textmodes/reftex-toc.el (reftex-re-enlarge):
943 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
944 the horizontal version throws an error even if the parameter is 0.
945
946 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
947 (reftex-plug-into-AUCTeX): Doc fix.
948 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
949 string. Adapt to new name.
950 (reftex-ref-style-alist): Change structure so that it is not
951 possible to use multiple different package names within a style.
375e49d4
SM
952 Remove the symbols for symbols for macro type distinction.
953 Add characters for macro selection.
4f595e15
RA
954 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
955 (reftex-create-bibtex-footer): New variables.
956 (reftex-format-ref-function): Mention third argument of special
957 format function.
375e49d4
SM
958 (reftex-ref-style-alist, reftex-ref-style-default-list):
959 New variables.
4f595e15
RA
960 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
961 to new implementation. Mark as obsolete. Add compatibility code
962 for honoring the variable values in case they are set.
375e49d4
SM
963 (reftex-cite-format-builtin, reftex-bibliography-commands):
964 Add support for ConTeXt.
965 (reftex-format-ref-function, reftex-format-cite-function):
966 Fix custom type.
4f595e15
RA
967 (reftex-cite-key-separator): New variable.
968
969 * textmodes/reftex.el (reftex-syntax-table-for-bib)
970 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
971 `reftex-syntax-table' because parens have to retain their paren
972 syntax in order for parsing of BibTeX entries like @book(...) to
973 work.
974 (reftex-in-comment): Do not error out if `comment-start-skip' is
975 not set. Deal correctly with escaped comment characters.
375e49d4
SM
976 (reftex-tie-multifile-symbols): Add doc string.
977 Initialize `reftex-ref-style-list'.
4f595e15
RA
978 (reftex-untie-multifile-symbols): Add doc string.
979 (reftex-add-index-macros): Doc fix.
980 (reftex-ref-style-activate, reftex-ref-style-toggle)
981 (reftex-ref-style-list): New functions.
982 (reftex-mode-menu): Use them. Adapt to new structure of
983 `reftex-ref-style-alist'.
984 (reftex-select-with-char): Kill the RefTeX Select buffer when
985 done.
986 (reftex-remove-if): New function.
987 (reftex-erase-all-selection-and-index-buffers)
988 (reftex-mode-menu): Reference styles are now computed from
989 `reftex-ref-style-alist'. Fix typo.
990 (reftex-report-bug): New function.
991 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
992 algorithms with O(n log n). Introduce optional argument SORT (not
993 yet used).
994
440ba395
FEG
9952012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
996
997 Enhancements for triple-quote string syntax.
375e49d4
SM
998 * progmodes/python.el (python-syntax-propertize-function):
999 Match both quote cases in one regexp.
440ba395
FEG
1000 (python-syntax-stringify): Handle matches properly.
1001
4c478e6b
JL
10022012-09-30 Juri Linkov <juri@jurta.org>
1003
1004 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 1005 to nil around the call to `insert' to prevent
4c478e6b
JL
1006 directory time modification by lock_file. (Bug#2295)
1007 * tar-mode.el (tar-summarize-buffer): Idem.
1008
d80d54b2
JL
10092012-09-30 Juri Linkov <juri@jurta.org>
1010
1011 * facemenu.el (list-colors-sort): Add option "Luminance".
1012 (list-colors-sort-key): Implement it.
1013
1014 * vc/diff-mode.el (diff-refine-removed):
1015 * vc/ediff-init.el (ediff-fine-diff-A):
1016 * vc/smerge-mode.el (smerge-refined-removed):
1017 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1018
d7e642cc
JD
10192012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1020
1021 * term/ns-win.el (x-file-dialog): New function.
1022
ee41332b
JB
10232012-09-30 Juanma Barranquero <lekktu@gmail.com>
1024
1025 * ido.el (ido-max-directory-size): Default to nil; the current
1026 default is small for POSIX systems, and impractical on Windows 7
1027 now that lstat returns directory sizes for NTFS.
1028
5938d519
MR
10292012-09-30 Martin Rudalics <rudalics@gmx.at>
1030
1031 In buffer display functions handle window-height/window-width
1032 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
1033 * window.el (window--display-buffer): New argument ALIST.
1034 Obey window-height and window-width alist entries.
1035 (window--try-to-split-window): New argument ALIST.
1036 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
1037 changed and window-combination-limit equals `window-size'.
1038 (display-buffer-in-atom-window)
1039 (display-buffer-in-major-side-window)
1040 (display-buffer-in-side-window, display-buffer-same-window)
1041 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1042 (display-buffer-pop-up-window, display-buffer-below-selected)
1043 (display-buffer-at-bottom, display-buffer-in-previous-window)
1044 (display-buffer-use-some-window): Adjust all callers of
1045 window--display-buffer and window--try-to-split-window.
1046 (fit-frame-to-buffer): New option.
1047 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1048 is non-nil.
1049 (display-buffer-in-major-side-window): Evaluate window-height /
1050 window-width alist entries.
1051
1052 * help.el (temp-buffer-resize-frames)
1053 (temp-buffer-resize-regexps): Remove options.
1054 (temp-buffer-resize-mode): Adjust doc-string.
1055 (resize-temp-buffer-window): Don't consult
1056 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1057 temp-buffer-resize-frames.
1058
375e49d4
SM
1059 * dired.el (dired-mark-pop-up):
1060 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
1061 entry.
1062
c4c0c2df
CY
10632012-09-30 Chong Yidong <cyd@gnu.org>
1064
48de8b12
CY
1065 * server.el (server-host): Document the security implications.
1066 (server-auth-key): Doc fix.
1067
1068 * startup.el (initial-buffer-choice): Doc fix.
1069
1070 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1071
a97dc380
CY
1072 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1073 restriction change.
1074
d39d3c8e
CY
1075 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1076
c4c0c2df
CY
1077 * help-fns.el (help-fns--obsolete): Fix last change.
1078
98a5e33b
SM
10792012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1080
34cf6f39
SM
1081 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1082 (minor-mode-map-alist): Remove redundant code.
1083
e01c13fe
SM
1084 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1085 visited in a buffer.
1086 (cvs-insert-visited-file): New function.
1087 (find-file-hook): Use it.
1088
1089 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1090
02661b3a
SM
1091 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1092 chose face.
1093 (log-edit-empty-buffer-p): Don't require a space after a header.
1094
43711d4b
SM
1095 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1096
38a30d64
SM
1097 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1098
4ffb41a9
SM
1099 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1100 a proper minor-mode.
1101
98a5e33b
SM
1102 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1103
de82e29b
GM
11042012-09-29 Glenn Morris <rgm@gnu.org>
1105
5cc2e639
GM
1106 * winner.el (winner-mode): Remove variable (let define-minor-mode
1107 handle it).
1108 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1109 Doc fixes.
1110 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1111 (winner-mode): Use define-minor-mode.
1112
7bd302eb
GM
1113 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1114 the full definition in loaddefs, rather than duplicating it.
1115
2923922f 1116 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 1117
0e3e4156
GM
1118 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1119 (inferior-lisp-program, inferior-lisp-load-command)
1120 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 1121 No need to autoload defcustoms.
0e3e4156 1122
de82e29b
GM
1123 * hippie-exp.el (hippie-expand-try-functions-list)
1124 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1125 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1126 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 1127 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
1128 * progmodes/vhdl-mode.el (vhdl-line-expand):
1129 Explicitly load hippie-exp, so it does not get autoloaded
1130 while hippie-expand-try-functions-list is let-bound.
1131
e60b51ab
GM
11322012-09-28 Glenn Morris <rgm@gnu.org>
1133
277f0cfa
GM
1134 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1135
e60b51ab
GM
1136 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1137 Only "cl.el" counts as cl these days.
1138
53baf48a
JL
11392012-09-28 Juri Linkov <juri@jurta.org>
1140
1141 Display archive errors in the echo area instead of inserting
1142 to the file buffer.
1143
1144 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1145 to STDERR-TEST that can be a regexp matching a successful output.
1146 Create a temporary file and redirect stderr to it. Search for
1147 STDERR-TEST in the stderr output and display it in the echo area
1148 if no match is found.
1149 (archive-extract-by-file): New function like
1150 `archive-extract-by-stdout' but extracting archives to files
1151 and looking for successful matches in stdout. Function body is
1152 mostly copied from `archive-rar-extract'.
1153 (archive-rar-extract): Use `archive-extract-by-file'.
1154 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1155
9c1228c3
LL
11562012-09-28 Leo Liu <sdl.web@gmail.com>
1157
375e49d4
SM
1158 * pcomplete.el (pcomplete-show-completions):
1159 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 1160
9c1228c3
LL
1161 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1162
7f457c06
SM
11632012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1164
3df749b0
SM
1165 * type-break.el: Use lexical-binding.
1166 (type-break-mode): Use define-minor-mode.
1167
7f457c06
SM
1168 * emacs-lisp/pcase.el (pcase--mark-used): New.
1169 (pcase--u1): Use it (bug#12512).
1170
1171 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1172 in load-history with the right file name.
1173
c00ebc98
TH
11742012-09-28 Tassilo Horn <tsdh@gnu.org>
1175
1176 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1177 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1178 (doc-view-get-bounding-box): Make bounding box slicing work for
1179 ODF and DVI documents.
1180
96fb7170
GM
11812012-09-28 Glenn Morris <rgm@gnu.org>
1182
1183 * type-break.el (type-break-mode, type-break-interval)
1184 (type-break-good-rest-interval, type-break-keystroke-threshold):
1185 No need to autoload.
1186 (type-break-good-rest-interval, type-break-keystroke-threshold):
1187 Add :set-after.
1188
5bc93c67
CY
11892012-09-28 Chong Yidong <cyd@gnu.org>
1190
1191 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1192 Add :version tag.
1193
9cad61d6
SM
11942012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1195
e28e67b3 1196 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 1197
daee954c
GM
11982012-09-27 Glenn Morris <rgm@gnu.org>
1199
a88324d4
GM
1200 * faces.el (x-display-name): Declare (for without-x builds).
1201
8e5064e5
GM
1202 * linum.el (linum-format): Don't autoload it. Improve :type.
1203
cc1783c2
GM
1204 * progmodes/tcl.el: Don't require outline when compiling.
1205 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
1206 * textmodes/sgml-mode.el: Don't require outline when compiling.
1207 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1208
48c339f2
GM
1209 * term.el (term-ansi-reset):
1210 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1211
daee954c
GM
1212 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1213 files for RCS and SCCS. (Bug#9781)
1214
b7f42161
CY
12152012-09-27 Chong Yidong <cyd@gnu.org>
1216
1217 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1218 change; value should be t.
1219
a2e770db
SM
12202012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1221
83600dc8
SM
1222 * image-mode.el: Use lexical-binding.
1223 (image-mode-winprops): Use t to stand for the window of
1224 a buffer that's not displayed.
1225 * doc-view.el (doc-view-new-window-function): Handle the new
1226 t in winprops.
1227 (doc-view-enlarge): Make it a real nop if the size is not changed.
1228 (doc-view-display): Handle the case where the buffer is not (yet?)
1229 displayed in any window.
1230 (doc-view-saved-settings): New var.
1231 (doc-view-mode): Use it.
1232 (doc-view-fallback-mode): Set it.
1233
a2e770db
SM
1234 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1235 Set lexical-binding.
1236 (minibuffer-eldef-shorten-default): New var.
1237 (minibuffer-default-in-prompt-regexps): Use it for new default.
1238 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1239
e3b60857
JB
12402012-09-26 Juanma Barranquero <lekktu@gmail.com>
1241
1242 * international/uni-bidi.el:
1243 * international/uni-category.el:
1244 * international/uni-name.el:
1245 * international/uni-numeric.el: Regenerate.
1246
3a880af4
SM
12472012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1248 Stefan Monnier <monnier@iro.umontreal.ca>
1249
1250 * profiler.el: New file.
1251
07b1a5fb
SM
12522012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1253
1254 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1255 (testcover-reinstrument): Simplify with CSE.
1256
42019c2e
JB
12572012-09-26 Juanma Barranquero <lekktu@gmail.com>
1258
1259 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1260
179f044b
WS
12612012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1262
1263 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1264 (verilog-auto-input, verilog-auto-insert-lisp)
1265 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1266 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1267 (verilog-auto-unused, verilog-auto-wire)
1268 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1269 newline. Reported by Andrew Jones.
1270 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1271 Reported by Brad Dobbie.
07b1a5fb
SM
1272 (verilog-batch-delete-trailing-whitespace):
1273 Create verilog-batch-delete-trailing-whitespace.
1274 Reported by Brad Dobbie.
179f044b
WS
1275 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1276 parameters from another module. Reported by Dan Katz.
1277 (verilog-auto, verilog-auto-assign-modport)
1278 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1279 AUTOINOUTMODPORT for UVM interface module shell generation.
1280 Reported by Brad Dobbie.
1281 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1282 standard behavior.
1283 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1284 Reported by Matt Martin.
1285
9c52dd5a
MR
12862012-09-25 Martin Rudalics <rudalics@gmx.at>
1287
1288 * window.el (window--resize-child-windows): When resizing child
1289 windows proportionally, process them in reverse order to
1290 preserve the "when splitting a window the new one gets the odd
1291 line" behavior.
1292 (window--resize-root-window-vertically): When resizing the
1293 minibuffer window try to affect only windows at the bottom of the
1294 frame. (Bug#12419)
1295
863666eb
CY
12962012-09-25 Chong Yidong <cyd@gnu.org>
1297
1298 * subr.el (declare): Doc fix.
1299
1300 * help-fns.el (help-fns--obsolete): Handle macros properly.
1301
59f7af81
CY
13022012-09-25 Chong Yidong <cyd@gnu.org>
1303
1304 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1305 this function obsolete.
1306
1307 * calendar/cal-x.el (calendar-two-frame-setup)
1308 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1309 * calendar/calendar.el (american-calendar, european-calendar)
1310 (calendar-for-loop):
1311 * comint.el (comint-dynamic-simple-complete)
1312 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1313 * desktop.el (desktop-load-default):
1314 * dired-x.el (dired-omit-here-always)
1315 (dired-hack-local-variables, dired-default-directory):
1316 * emacs-lisp/derived.el (derived-mode-class):
1317 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1318 * emacs-lock.el (toggle-emacs-lock):
1319 * epa.el (epa-display-verify-result):
1320 * epg.el (epg-sign-keys, epg-start-sign-keys)
1321 (epg-passphrase-callback-function):
1322 * eshell/esh-util.el (eshell-for):
1323 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1324 (eshell-add-to-window-buffer-names):
1325 * files.el (locate-file-completion):
1326 * imenu.el (imenu-example--create-c-index)
1327 (imenu-example--create-lisp-index)
1328 (imenu-example--lisp-extract-index-name)
1329 (imenu-example--name-and-position):
1330 * international/mule-cmds.el (princ-list):
1331 * international/mule-diag.el (decode-codepage-char):
1332 * international/mule-util.el (detect-coding-with-priority):
1333 * iswitchb.el (iswitchb-read-buffer):
1334 * mail/mailalias.el (mail-complete):
1335 * mail/sendmail.el (mail-sent-via):
1336 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1337 (mouse-major-mode-menu):
1338 * password-cache.el (password-read-and-add):
1339 * pcomplete.el (pcomplete-parse-comint-arguments):
1340 * progmodes/sh-script.el (sh-maybe-here-document):
1341 * replace.el (query-replace-regexp-eval):
1342 * savehist.el (savehist-load):
1343 * simple.el (choose-completion-delete-max-match):
1344 * term.el (term-dynamic-simple-complete):
1345 * vc/ediff-init.el (ediff-check-version):
1346 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1347 * vc/vc.el (vc-diff-switches-list):
1348 * view.el (view-return-to-alist-update): Likewise.
1349
1350 * subr.el (eval-next-after-load, makehash, insert-string)
1351 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1352 mark obsolete.
1353 (mode-line-inverse-video): Variable deleted.
1354
1355 * international/mule-util.el (string-to-sequence): Remove.
1356
1357 * calendar/calendar.el (calendar-version):
1358 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1359 (icalendar-convert-diary-to-ical):
1360 * cus-edit.el (custom-mode):
1361 * ansi-color.el (ansi-color-unfontify-region):
1362 * international/latin1-disp.el (latin1-char-displayable-p):
1363 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
1364 * progmodes/which-func.el (which-func-update-1):
1365 Use define-obsolete-function-alias.
59f7af81
CY
1366
1367 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
1368 * net/newst-treeview.el (newsticker-groups-filename):
1369 Fix incorrect obsolescence declaration.
59f7af81
CY
1370
1371 * allout.el (allout-passphrase-hint-string): Likewise.
1372 (allout-init): Use a declare form to mark obsolete.
1373
1374 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1375 this applies to functions.
1376
1377 * iswitchb.el (iswitchb-read-buffer): Move code of
1378 iswitchb-define-mode-map here, and delete that obsolete function.
1379
1380 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1381 font-lock-reference-face.
1382
cca96c97
GM
13832012-09-25 Glenn Morris <rgm@gnu.org>
1384
b06eeda8
GM
1385 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1386 Doc fixes.
1387
cca96c97
GM
1388 * eshell/em-term.el (eshell-term-name):
1389 Default to term-term-name. (Bug#12485)
1390
dc4f818b
FEG
13912012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1392
cca96c97
GM
1393 * progmodes/python.el (python-shell-send-buffer): Better handling
1394 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 1395
289c24bd
GM
13962012-09-24 Glenn Morris <rgm@gnu.org>
1397
1398 * eshell/esh-cmd.el (eshell-find-alias-function):
1399 Tighten up file-name regexp. (Bug#12499)
1400
8fb8b88f
FEG
14012012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1402
1403 Enhancements for triple-quote string syntax.
1404 * progmodes/python.el (python-quote-syntax): Remove.
1405 (python-syntax-propertize-function): New value.
07b1a5fb
SM
1406 (python-syntax-count-quotes, python-syntax-stringify):
1407 New functions.
8fb8b88f 1408
6c27f0f8
CY
14092012-09-24 Chong Yidong <cyd@gnu.org>
1410
a5f2b6ec
CY
1411 * mail/supercite.el (sc-version): Remove obsolete function.
1412 (sc-describe): Don't mark as obsolete, since it is bound.
1413 (sc-submit-bug-report): Remove.
1414
1415 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1416 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
1417 (log-edit-require-final-newline)
1418 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
1419
1420 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1421 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1422 * vc/vc.el (vc-checkout-carefully): Likewise.
1423
1424 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1425 (emerge-version): Remove.
1426
1427 * progmodes/compile.el (compile-internal): Remove.
1428 (compilation-parse-errors-function): Fix typo.
1429
1430 * international/mule.el (set-char-table-default): Remove.
1431 (set-coding-priority, make-coding-system, generic-char-p)
1432 (charset-list, charset-bytes, charset-id): Use declare to mark
1433 functions as obsolete.
1434
1435 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1436 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1437 * vc/vc-hooks.el (vc-default-registered): Don't use
1438 vc-master-templates.
1439
07b1a5fb
SM
1440 * font-lock.el (font-lock-reference-face):
1441 Use define-obsolete-variable-alias.
6c27f0f8
CY
1442
1443 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1444 * calendar/calendar.el (calendar-font-lock-keywords):
1445 * calendar/diary-lib.el (diary-font-lock-keywords)
1446 (diary-fancy-font-lock-keywords):
1447 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1448 * textmodes/reftex-index.el (reftex-insert-index):
1449 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1450 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1451 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1452 * progmodes/prolog.el (prolog-font-lock-keywords):
1453 * progmodes/idlwave.el (idlwave-idl-keywords):
1454 * progmodes/ada-mode.el (ada-font-lock-keywords):
1455 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1456
bcc0adbf
GM
14572012-09-24 Glenn Morris <rgm@gnu.org>
1458
1459 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1460
095bb823
FEG
14612012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1462
1463 * progmodes/python.el (python-indent-line): More consistent cursor
1464 movement behavior.
1465
70efc5c9
SM
14662012-09-23 Stefan Merten <smerten@oekonux.de>
1467
1468 * textmodes/rst.el: Fix compiler warning.
1469
2f438239
RW
14702012-09-23 Roland Winkler <winkler@gnu.org>
1471
07b1a5fb
SM
1472 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1473 Transcribe also LaTeX hyphenation.
2f438239
RW
1474 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1475 bibtex-reformat-previous-options.
1476
936ad041
RW
14772012-09-23 Roland Winkler <winkler@gnu.org>
1478
1479 * proced.el (proced-renice-command): New variable.
1480 (proced-marked-processes): New function.
1481 (proced-with-processes-buffer): New macro.
1482 (proced-send-signal): Use them.
1483 (proced-renice): New command bound to r.
1484
6fab0274
RW
14852012-09-23 Roland Winkler <winkler@gnu.org>
1486
1487 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1488 ibuffer-saved-filter-groups has one element, shortcut the call of
1489 completing-read. (Bug#12331)
1490
9a930676
CY
14912012-09-23 Chong Yidong <cyd@gnu.org>
1492
1493 * bindings.el (mode-line-toggle-read-only):
1494 * bs.el (bs-toggle-readonly):
1495 * buff-menu.el (Buffer-menu-toggle-read-only):
1496 * dired.el (dired-toggle-read-only):
1497 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1498
d07ff9db
CY
14992012-09-23 Chong Yidong <cyd@gnu.org>
1500
1501 * image.el (image-type-available-p): Adapt to init-image-library
1502 argument changes.
1503
51c4474e
JL
15042012-09-22 Juri Linkov <juri@jurta.org>
1505
1506 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1507 `dired-toggle-read-only'. (Bug#12462)
1508
43bf5e8e
MR
15092012-09-22 Martin Rudalics <rudalics@gmx.at>
1510
1511 * subr.el (temp-output-buffer-show): New function.
1512 (with-output-to-temp-buffer): Call temp-output-buffer-show
1513 instead of internal-temp-output-buffer-show.
1514
c88b867f
CY
15152012-09-22 Chong Yidong <cyd@gnu.org>
1516
3df47cd5
CY
1517 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1518 (Bug#12462).
1519
c88b867f
CY
1520 * repeat.el (repeat): Doc fix (Bug#12348).
1521
1522 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1523 (Bug#10909).
1524
1525 * simple.el (shell-command-on-region): Doc fix.
3171e303 1526 (read-only-mode): Doc fix.
c88b867f 1527
df9685f3
EZ
15282012-09-22 Eli Zaretskii <eliz@gnu.org>
1529
1530 * emacs-lisp/timer.el (run-with-idle-timer)
1531 (timer-activate-when-idle): Warn against reinvoking an idle timer
1532 from within its own timer action. (Bug#12447)
1533
8e17c9ba
MR
15342012-09-22 Martin Rudalics <rudalics@gmx.at>
1535
1536 * cus-start.el (window-combination-limit): Add new optional
1537 values.
1538 * window.el (temp-buffer-window-show)
1539 (window--try-to-split-window): Handle new values of
1540 window-combination-limit (Bug#1806).
1541 (split-window): Test window-combination-limit for t instead of
1542 non-nil.
1543 (display-buffer-at-bottom): New buffer display action function.
1544 * help.el (temp-buffer-resize-regexps): New option.
1545 (temp-buffer-resize-mode): Rewrite doc-string.
1546 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 1547 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 1548
48a24920
SM
15492012-09-22 Stefan Merten <smerten@oekonux.de>
1550
70efc5c9 1551 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
1552 (rst-official-version)
1553 (rst-package-emacs-version-alist): Sync with official version
1554 V1.4.0.
1555 (rst-faces-defaults, rst-set-level-default)
1556 (rst-level-face-max, rst-level-face-base-color)
1557 (rst-level-face-base-light, rst-level-face-format-light)
1558 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1559 (rst-adornment-faces-alist): Match new setup.
1560 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1561 (rst-level-5, rst-level-6): New faces.
1562
82f8cd94
CY
15632012-09-22 Chong Yidong <cyd@gnu.org>
1564
1565 * simple.el (undo): Handle indirect buffers (Bug#8207).
1566
acfa068f 15672012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
1568
1569 IDO: Disable match re-ordering for buffer switching.
2bc9406c 1570 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
1571 (ido-set-matches-1): Use it. (Bug#2042)
1572
acfa068f 15732012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
1574
1575 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1576 Fix 2011-05-17 change. (Bug#12418)
1577
acfa068f 15782012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
1579
1580 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1581
acfa068f 15822012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
1583
1584 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1585 Be more robust about locating simple.el.
1586
acfa068f 15872012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
1588
1589 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1590
acfa068f
CY
15912012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1592
1593 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1594
41a97e6f
JL
15952012-09-20 Juri Linkov <juri@jurta.org>
1596
eb2deaff
JL
1597 * replace.el (query-replace-read-from): Use `read-regexp' instead
1598 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1599 (occur-read-primary-args): Use `read-regexp' instead of
1600 `read-string'.
1601 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1602 `read-from-minibuffer'.
1603 * isearch.el (isearch-occur): Use `read-regexp' instead of
1604 `read-string'.
1605 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1606 `read-from-minibuffer'.
1607 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1608 of `read-string'. (Bug#7567)
1609
5825610b
JL
1610 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1611 and allow accepting a list of strings prepended to a list of
1612 standard default values. Doc fix. (Bug#12321)
1613
eebbf404
JL
1614 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1615
41a97e6f
JL
1616 * replace.el (read-regexp): Don't add ": " when PROMPT already
1617 ends with a colon and space. (Bug#12321)
1618
c9e452d3
TH
16192012-09-20 Tassilo Horn <tsdh@gnu.org>
1620
1621 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1622 error.
1623
ee97deee
SM
16242012-09-20 Stefan Merten <smerten@oekonux.de>
1625
70efc5c9 1626 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
1627 Fixes feature request bug#11711.
1628 (rst-mode): Create `imenu-create-index-function'.
1629 (rst-get-stripped-line): Delete after refactoring.
1630 (rst-section-tree, rst-section-tree-rec)
1631 (rst-section-tree-point): Refactor and document properly.
1632 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
1633 (rst-imenu-convert-cell, rst-imenu-create-index):
1634 New function.
ee97deee 1635
f490dab9
SM
16362012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1637
95b9712e
SM
1638 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1639 (macroexp--expand-all): Use it.
1640 (macroexp--funcall-and-return): Remove by folding it into its sole
1641 caller (macroexp--warn-and-return).
1642 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1643 Use macroexp--obsolete-warning.
1644
f490dab9
SM
1645 * calc/calc.el: Fix last change by removing the whole chunk, since it
1646 was only needed back when Calc was not bundled.
1647
96e8d411
MR
16482012-09-20 Martin Rudalics <rudalics@gmx.at>
1649
1650 * emacs-lisp/debug.el (debug): Restore assignment to
1651 debugger-old-buffer removed on 2012-09-08.
1652
0876a82d
JL
16532012-09-20 Juri Linkov <juri@jurta.org>
1654
1655 * dired-aux.el (dired-diff): Remove (require 'diff) since
1656 `diff-latest-backup-file' is now autoloaded.
1657
9f7c28f0
CY
16582012-09-20 Chong Yidong <cyd@gnu.org>
1659
1660 * vc/diff.el (diff-latest-backup-file): Autoload.
1661
7a04bee9
SM
16622012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1663
e6f0a80d
SM
1664 * calc/calc.el: Remove redundant autoload shape check.
1665 (sel-mode): Don't defvar.
1666 (calc-get-stack-element): Add `sel-mode' arg instead.
1667 (calc-top, calc-top-list): Pass it this additional argument.
1668 * calc/calc-store.el (calc-store-map):
1669 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1670 (calc-map-equation, calc-outer-product, calc-inner-product):
1671 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1672
7a04bee9
SM
1673 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1674
12734222
JL
16752012-09-19 Juri Linkov <juri@jurta.org>
1676
1677 * dired-aux.el (dired-diff): Add (require 'diff) because
1678 `diff-latest-backup-file' is not autoloaded.
1679 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1680 of `dired-get-filename' to t to not report error when there is
1681 no default file on the current line.
1682
46624b4f
SM
16832012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1684
ce97595b
SM
1685 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1686 macroexp--eval-if-compile.
1687 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1688 (macroexp--expand-all): Use them (bug#12371).
1689
46624b4f
SM
1690 * doc-view.el (doc-view-guess-paper-size)
1691 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1692
db8a5a18
TH
16932012-09-19 Tassilo Horn <tsdh@gnu.org>
1694
1695 New feature: set optimal slice from BoundingBox information.
1696 * doc-view.el (doc-view-mode-map): Add keybinding.
1697 (doc-view-menu): Add menu entry.
1698 (doc-view-set-slice): Adapt docstring.
1699 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1700 (doc-view-scale-bounding-box)
1701 (doc-view-set-slice-from-bounding-box): New functions.
1702 (doc-view-paper-sizes): New defvar.
1703
69f6644c
GM
17042012-09-19 Glenn Morris <rgm@gnu.org>
1705
35f5b19d
GM
1706 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1707 (byte-compile-log-warning): Autoload. (Bug#12371)
1708
69f6644c
GM
1709 * calendar/calendar.el (calendar-american-month-header)
1710 (calendar-european-month-header, calendar-iso-month-header)
1711 (calendar-month-header): New options.
1712 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1713 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1714
e543ae91
JD
17152012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1716
1717 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1718
2fd5e67d
JL
17192012-09-18 Juri Linkov <juri@jurta.org>
1720
1721 * dired-aux.el (dired-diff): Restore original functionality of
1722 getting the default value, but keep new feature of using the
1723 latest existing backup file (`diff-latest-backup-file').
1724
42917e79
JL
17252012-09-18 Juri Linkov <juri@jurta.org>
1726
1727 * dired.el (dired-mark): If the region is active in Transient Mark
1728 mode, mark all files in the active region. Doc fix.
1729 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1730 Doc fix. (Bug#10624)
1731
20f70ede
JL
17322012-09-18 Juri Linkov <juri@jurta.org>
1733
1734 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1735 attributes for M-n are pulled from the file at point.
1736 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1737 Suggested by Drew Adams. (Bug#10624)
1738
32fb8162
DG
17392012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1740
1741 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1742 whitespace after "end".
1743 (ruby-do-end-to-brace): Collapse block to one line if it fits
1744 within fill-column.
1745
37ab5092
MR
17462012-09-18 Martin Rudalics <rudalics@gmx.at>
1747
1748 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1749 value.
1750 (debug): Don't remove debugger window when debugger is expected
1751 to be back.
1752
ed1f0bd3
CY
17532012-09-18 Chong Yidong <cyd@gnu.org>
1754
1755 * custom.el (defface): Doc fix.
1756
1757 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1758
a11035b8
MB
17592012-09-18 Martin Blais <blais@furius.ca> (tiny change)
1760
1761 * progmodes/compile.el (compilation-start): Use compilation-always-kill
1762 to initialize query-on-exit; then test that instead (bug#12288).
1763
64f6a736
SM
17642012-09-17 Stefan Merten <smerten@oekonux.de>
1765
70efc5c9 1766 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
1767 (rst-defcustom-testcover, rst-testcover-add-compose)
1768 (rst-testcover-add-1value): New functions.
1769 (rst-portable-mark-active-p): Replace by `use-region-p'.
1770 (rst-update-section, rst-classify-adornment)
1771 (rst-find-title-line): Mark `1value' forms.
1772 (rst-classify-adornment): Remove superfluous form.
1773 (rst-update-section, rst-get-adornments-around)
1774 (rst-adornment-complete-p, rst-get-next-adornment)
1775 (rst-adjust, rst-promote-region)
1776 (rst-display-adornments-hierarchy, rst-straighten-adornments)
1777 (rst-find-pfx-in-region, rst-section-tree-rec)
1778 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1779 (rst-toc-node, rst-toc, rst-forward-section)
1780 (rst-iterate-leftmost-paragraphs)
1781 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1782 (rst-bullet-list-region)
1783 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1784 (rst-compile-find-conf, rst-compile)
1785 (rst-repeat-last-character): Fix style.
1786
580bd868
CY
17872012-09-17 Chong Yidong <cyd@gnu.org>
1788
1789 * comint.el (comint--complete-file-name-data): Don't add a space
1790 if the status is `sole'; that adds a gratuitous space in the
1791 completion-cycling case (Bug#12092).
1792
1793 * pcomplete.el (pcomplete-completions-at-point): Likewise.
1794
69de3ec6
RS
17952012-09-17 Richard Stallman <rms@gnu.org>
1796
0dee970c
RS
1797 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
1798 only in the mime-shown mode, not in raw mode.
1799 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 1800 mime processing. (Bug#12305)
0dee970c 1801
6b250df6
GM
1802 * mail/rmail.el (rmail-retry-failure):
1803 Turn off mime processing first. (Bug#12037)
acb1c47b 1804
69de3ec6
RS
1805 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1806
d079ee5f
CY
18072012-09-17 Chong Yidong <cyd@gnu.org>
1808
1809 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1810 (shell-dynamic-complete-functions): Convert to defcustom.
1811 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1812
865fe16f
CY
1813 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1814 * comint.el (comint-prompt-read-only):
1815 * custom.el (defcustom):
1816 * hi-lock.el (hi-lock-mode):
1817 * ibuffer.el (ibuffer-formats):
1818 * ielm.el (ielm-prompt-read-only):
1819 * novice.el (disable-command):
1820 * saveplace.el (toggle-save-place):
1821 * speedbar.el (speedbar-supported-extension-expressions):
1822 * startup.el (auto-save-list-file-prefix, init-file-user)
1823 (after-init-hook, inhibit-startup-echo-area-message):
1824 * strokes.el (strokes-help):
1825 * time-stamp.el (time-stamp):
1826 * calendar/calendar.el (calendar, diary-file):
1827 * calendar/diary-lib.el (diary-mail-entries, diary)
1828 (diary-list-entries-hook):
1829 * calendar/holidays.el (holidays, calendar-holidays):
1830 * calendar/lunar.el (lunar-phases):
1831 * calendar/solar.el (sunrise-sunset):
1832 * emulation/edt.el (edt-load-keys):
1833 * emulation/viper.el (viper-mode):
1834 * eshell/em-alias.el (eshell-command-aliases-list):
1835 * eshell/esh-util.el (eshell-convert-numeric-arguments):
1836 * international/ogonek.el (ogonek-information):
1837 * net/tramp-cmds.el (tramp-bug):
1838 * net/quickurl.el (quickurl-reread-hook-postfix):
1839 * play/decipher.el (decipher-font-lock-keywords):
1840 * progmodes/cc-styles.el (c-set-style):
1841 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
1842 * progmodes/inf-lisp.el (inferior-lisp-prompt):
1843 * progmodes/octave-mod.el (octave-mode):
1844 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
1845 * progmodes/verilog-mode.el (verilog-read-defines):
1846 * textmodes/two-column.el (2C-mode): Likewise.
1847
48093eb9
KY
18482012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
1849
1850 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
1851 that holds many addresses.
1852
c584eaf9
CY
18532012-09-16 Chong Yidong <cyd@gnu.org>
1854
40d70ecb
CY
1855 * align.el (align-areas): Call the indication function with
1856 positions instead of markers for arguments (Bug#12343).
1857
1667e065
CY
1858 * files.el (parse-colon-path): Use split-string (Bug#12351).
1859
fdc2806d 1860 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 1861 (display-buffer-function): Mark as obsolete.
fdc2806d 1862
f1be615c 1863 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
1864 values similar to font-lock-keywords (Bug#12136).
1865 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
1866 (compilation-error-regexp-alist): Doc fix.
1867
f40a9709
GM
18682012-09-15 Glenn Morris <rgm@gnu.org>
1869
72aa16e1
GM
1870 * version.el (emacs-bzr-version-bzr): New function.
1871 (emacs-bzr-get-version): Add optional EXTERNAL argument.
1872
82375160
GM
1873 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
1874 checkouts, check the parent dirstate matches the branch.
1875 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
1876 empty string.
1877
f40a9709
GM
1878 * version.el (emacs-bzr-version): Doc fix.
1879 (emacs-bzr-version-dirstate): New function.
1880 (emacs-bzr-get-version): For lightweight checkouts, if the parent
1881 is local try and check that it matches the branch. If not, just
1882 use dirstate information. (Bug#12441)
1883
cb26b7f5
JL
18842012-09-14 Juri Linkov <juri@jurta.org>
1885
1886 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
1887 (Bug#12399)
1888
2de39f08
SM
18892012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1890
0fb3cb7c
SM
1891 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
1892
2de39f08
SM
1893 * emacs-lisp/edebug.el: Miscellaneous cleanup.
1894 Remove obsolete byte-compiler hack that tried to silence some warnings.
1895 (edebug-submit-bug-report): Remove.
1896 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
1897 Remove aliases, use the un-prefixed name instead.
1898 (edebug-pop-to-buffer): Consider other frames.
1899 (edebug-original-read):: Make it more obvious that it's always defined.
1900 (edebug--make-form-data-entry, edebug--form-data-name)
1901 (edebug--form-data-begin, edebug--form-data-end): Rename from the
1902 single-dashed name, and implement with cl-defstruct.
1903 (edebug-set-form-data-entry): Use the standard accessors.
1904 (edebug-make-top-form-data-entry): Use push.
1905 (edebug-no-match): Drop useless `funcall'.
1906 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
1907 to functions.
1908 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
1909 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
1910 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
1911 (easy-menu-define, with-custom-print): Remove redundant specs.
1912 (edebug-outside-overriding-local-map)
1913 (edebug-outside-overriding-terminal-local-map): Remove, unused.
1914 (edebug--display): Bind unread-command-events directly to nil rather
1915 than binding it to unread-command-events and later setting it to nil.
1916 (edebug--display): Kill edebug-eval-buffer here...
1917 (edebug--recursive-edit): ...rather than here.
1918 Bind standard-output and standard-input.
1919 (edebug-eval): Check cl-macroexpand-all is fboundp.
1920 (edebug-temp-display-freq-count): Fix last change.
1921
1922 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
1923 * subr.el (noreturn, 1value): Add `debug' spec.
1924 * emacs-lisp/advice.el: Require cl-lib.
1925 (ad-copy-tree): Remove, use copy-tree instead.
1926 (ad-dolist): Remove use dolist or cl-dolist instead.
1927 (ad-do-return): Remove, use cl-return instead.
1928 (defadvice): Add `debug' spec.
1929
5b68b333
JL
19302012-09-13 Juri Linkov <juri@jurta.org>
1931
1932 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
1933 (Bug#12399)
1934
b9800ec4
GM
19352012-09-13 Glenn Morris <rgm@gnu.org>
1936
6a2e6868
GM
1937 * calc/calc.el (math-compose-expr):
1938 * calc/calc-ext.el (math-compose-expr):
1939 * progmodes/cc-defs.el (cl-macroexpand-all):
1940 * progmodes/cc-langs.el (delete-duplicates, mapcan)
1941 (cl-macroexpand-all): Update declarations.
1942
b9800ec4
GM
1943 * vc/vc.el: No need to require ediff.
1944 (ediff-load-version-control): Declare.
1945 (ediff-vc-internal): Fix declaration.
1946 (vc-version-ediff): Require ediff.
1947
c18e885b
PE
19482012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1949
1950 Use a more backwards-compatible timer format (Bug#12430).
1951 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
1952 being right after USECS, as that better supports old code that
1953 inadvisedly looked directly at the timer vector.
1954
d607d303
KH
19552012-09-13 Kenichi Handa <handa@gnu.org>
1956
1957 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
1958 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
1959 `coding-priority' property of these language environment.
1960
72eac303
PE
19612012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1962
1963 Fix glitches caused by addition of psec to timers (Bug#12430).
1964 * image.el (image-animate-timer):
1965 * time.el (display-time-world-timer):
1966 Use timer--function and timer--args rather than raw access to
1967 timer vector.
1968
2168fe4f
GM
19692012-09-13 Glenn Morris <rgm@gnu.org>
1970
1971 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
1972 If not compiling a file, try using load-file-name.
1973
bd8d6108
SM
19742012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1975
c0c54fbd
SM
1976 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
1977 Fix last change.
1978 (edebug-update-eval-list): Use `push'.
1979
bd8d6108
SM
1980 * emacs-lisp/edebug.el: Use lexical-binding.
1981 Remove the "edebug-" prefix from non-dynamically-scoped variables.
1982 Mark unused args with underscore.
1983 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
1984 (edebug-form-data): Use defvar-local.
1985 (edebug-make-before-and-after-form, edebug-make-after-form):
1986 Use backquote.
1987 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
1988 Not dynamically scoped any more.
1989 (edebug--enter-trace): Add arguments `function' and `args'.
1990 Rename from edebug-enter-trace.
1991 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
1992 (edebug--update-coverage): Add `after-index' and `value' args.
1993 Rename from edebug-update-coverage.
1994 (edebug-slow-after): Call it accordingly.
1995 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
1996 edebug-recursive-edit.
1997 (edebug--display): Call it accordingly. Add args `value',
1998 `offset-index', and `arg-mode'. Rename from edebug-display.
1999 (edebug-debugger, edebug): Call it accordingly.
2000 (edebug-eval-display-list): Use dolist.
2001
a9f9d9de
JL
20022012-09-12 Juri Linkov <juri@jurta.org>
2003
2004 * info.el (Info-search): Don't check for isearch-mode and
2005 isearch-regexp before let-binding search-spaces-regexp to
2006 Info-search-whitespace-regexp.
2007 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2008 search-whitespace-regexp if isearch-lax-whitespace or
2009 isearch-regexp-lax-whitespace is non-nil.
2010 (Info-mode): Don't set local variable search-whitespace-regexp.
2011 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2012
bfeae2cf
SM
20132012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2014
2015 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2016 (debugger-env-macro): Remove support for unread-command-char.
2017
2018 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2019 the temporary map re-appearing on emulation-mode-map-alists.
2020
2021 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2022 since 22.1.
2023
2024 * ehelp.el (with-electric-help): Accept functions in
2025 electric-help-form-to-execute.
2026 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2027 And replace unread-command-char -> unread-command-events.
2028
fbbcaf1b
MA
20292012-09-12 Michael Albinus <michael.albinus@gmx.de>
2030
2031 Sync with Tramp 2.2.6.
2032
2033 * net/tramp.el (tramp-accept-process-output): Don't use
2034 JUST-THIS-ONE in the XEmacs case.
2035
2036 * net/trampver.el: Update release number.
2037
4dece104
MR
20382012-09-12 Martin Rudalics <rudalics@gmx.at>
2039
bfeae2cf
SM
2040 * emacs-lisp/debug.el (debugger-previous-window-height):
2041 New variable.
4dece104
MR
2042 (debug): When debugger-jumping-flag is non-nil try to restore
2043 height of debugger window. (Bug#8789)
2044
45b82ad0
SM
20452012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2046
60c49c0f
SM
2047 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2048 overriding-local-map and pre/post-command-hook here.
2049 (edebug-recursive-edit): Do it here instead (bug#12345).
2050 (edebug-outside-unread-command-char): Remove all uses of
2051 unread-command-char.
2052
45b82ad0
SM
2053 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2054 inhibit-debugger is bound instead.
2055
baa26ea0
BG
20562012-09-11 Bastien Guerry <bzg@gnu.org>
2057
2058 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 2059 (Bug#12346)
baa26ea0 2060
04e8abfa
BG
20612012-09-11 Bastien Guerry <bzg@gnu.org>
2062
96d03571 2063 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 2064 (Bug#12347)
96d03571
BG
2065
20662012-09-11 Bastien Guerry <bzg@gnu.org>
2067
fc0c31f8 2068 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 2069
04e082b0
MM
20702012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2071
2072 * progmodes/sql.el: Version 3.1
2073 (sql-db2-escape-newlines): New variable.
2074 (sql-escape-newlines-filter): Use it.
2075
399a361b
JB
20762012-09-10 Juanma Barranquero <lekktu@gmail.com>
2077
2078 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2079
0780c517
DN
20802012-09-10 Dan Nicolaescu <dann@gnu.org>
2081
45b82ad0
SM
2082 * vc/diff-mode.el (diff-mode-menu):
2083 Bind diff-remove-trailing-whitespace.
0780c517 2084
9b851e25
SM
20852012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2086
2087 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
2088 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2089 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
2090 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2091 (eval-defun-2): Remove bogus interactive spec.
2092 (lisp-indent-line): Remove redundant whole-exp code, now done in
2093 indent-according-to-mode.
2094 (save-match-data): Remove redundant indent data.
2095
2096 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2097 Use `declare'.
2098
3231d532
JL
20992012-09-09 Juri Linkov <juri@jurta.org>
2100
2101 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2102 (replace-lax-whitespace, query-replace-regexp)
2103 (query-replace-regexp-eval, replace-regexp): Doc fix.
2104 (perform-replace, replace-highlight): Let-bind
2105 isearch-lax-whitespace to replace-lax-whitespace and
2106 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2107
2108 * isearch.el (isearch-query-replace): Let-bind
2109 replace-lax-whitespace to isearch-lax-whitespace and
2110 replace-regexp-lax-whitespace to
2111 isearch-regexp-lax-whitespace. (Bug#10885)
2112
70fe8236
SM
21132012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2114
2115 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2116
8ed43f15
AM
21172012-09-09 Alan Mackenzie <acm@muc.de>
2118
70fe8236
SM
2119 * progmodes/cc-engine.el (c-state-cache-init):
2120 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2121 (c-record-parse-state-state):
2122 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 2123
bfabf70a
AS
21242012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2125
2126 * register.el (register-separator): Rename from
2127 separator-register. All uses changed. Doc fix.
2128 (register): Fix version.
2129
011474aa
CY
21302012-09-09 Chong Yidong <cyd@gnu.org>
2131
2132 * replace.el (query-replace-map): Bind four new symbols for
2133 requesting window scrolling.
2134
2135 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2136 query-replace-map (Bug#8948).
2137
2138 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2139
2140 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2141 since they are now in query-replace-map.
2142
2143 * window.el (scroll-other-window-down): Make the arg optional.
2144
a8b7cd8d
CY
21452012-09-09 Chong Yidong <cyd@gnu.org>
2146
2147 * files.el (hack-local-variables-confirm): Use quit-window to kill
2148 the *Local Variables* buffer.
2149
c3268831
DG
21502012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2151
2152 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2153 not just expect to be at its beginning. Adjust callees.
2154 Succeed when do-end block has no space before the pipe character.
2155 (ruby-brace-to-do-end): When the original block is one-liner,
2156 convert to multiline. Reindent the result.
2157
0979429b
J
21582012-09-08 Jambunathan K <kjambunathan@gmail.com>
2159
2160 * register.el (register): New group.
27359e99 2161 (separator-register): New user option.
0979429b
J
2162 (increment-register): Route it to `append-to-register', if
2163 register contains text. Implication is that `C-x r +' can now be
2164 used for appending to a text register (bug#12217).
2165 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 2166 `separator-register'.
0979429b 2167
ace2989a
AM
21682012-09-08 Alan Mackenzie <acm@muc.de>
2169
2170 AWK Mode: make auto-newline work when there's "==" in the pattern.
2171 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2172 correctly.
0979429b
J
2173 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2174 Test more rigorously for "=" token.
ace2989a 2175
616c6c36
DG
21762012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2177
0979429b
J
2178 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2179 Only fail when reached LIMIT.
616c6c36 2180
35d98877
CY
21812012-09-08 Chong Yidong <cyd@gnu.org>
2182
2183 * dired.el (dired-mode-map): Don't bind M-=.
2184
2185 * dired-aux.el (dired-diff): Use backup file as default.
2186
1715f2db
DA
21872012-09-08 Drew Adams <drew.adams@oracle.com>
2188
2189 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2190
6dcef6ec
CY
21912012-09-08 Chong Yidong <cyd@gnu.org>
2192
2193 * subr.el (syntax-after, syntax-class): Doc fix.
2194
fa2bcf43
MR
21952012-09-08 Martin Rudalics <rudalics@gmx.at>
2196
2197 * window.el (display-buffer-in-previous-window): New buffer
2198 display action function.
2199
2200 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2201 (debugger-previous-window): New variable.
2202 (debug): Rewrite using display-buffer-in-previous-window,
2203 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2204
daac280a
SM
22052012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2206
2207 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2208
9dd40b00
MM
22092012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2210
daac280a
SM
2211 * progmodes/python.el (python-shell-send-string):
2212 When default-directory is remote, create temp file on remote
9dd40b00
MM
2213 filesystem.
2214 (python-shell-send-file): When file is remote, pass local view of
2215 file paths to remote Python interpreter. (Bug#12340)
2216
145823ec
CY
22172012-09-07 Chong Yidong <cyd@gnu.org>
2218
cee2e90d
CY
2219 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2220
0d7eb2ea
CY
2221 * files.el (after-find-file): Don't fail on a read-only buffer if
2222 require-final-newline is `visit' or `visit-save' (Bug#11156).
2223
145823ec
CY
2224 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2225
daac280a
SM
2226 * userlock.el (ask-user-about-supersession-threat):
2227 Use read-char-choice (Bug#12093).
145823ec 2228
74c582e6
CY
22292012-09-07 Chong Yidong <cyd@gnu.org>
2230
e5c2edf7
CY
2231 * subr.el (buffer-narrowed-p): New function.
2232
2233 * ses.el (ses-widen):
2234 * simple.el (count-words--buffer-message):
1f9f395d 2235 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
2236
2237 * simple.el (count-words-region): Don't signal an error if there
2238 is a non-nil prefix arg and the mark is not set.
c640e87d 2239
74c582e6
CY
2240 * help.el (describe-key-briefly): Allow the message to be seen
2241 when invoked from the minibuffer (Bug#7014).
2242
d81ceaaf
DG
22432012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2244
2245 * progmodes/ruby-mode.el (ruby-end-of-defun)
2246 (ruby-beginning-of-defun): Simplify, allow indentation before
2247 block beginning and end keywords.
8f06acce
DG
2248 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2249 (ruby-end-of-defun): Expect that the point is at the beginning of
2250 the defun.
d81ceaaf 2251
d458ef98
SM
22522012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2253
2254 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2255 (bug#12367).
2256 (cl--make-usage-args): Strip _ from argument names.
2257
20367d28
RS
22582012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2259
2260 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2261 obsolete alias speedbar-key-map.
2262 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2263 (vhdl-index-menu-init): Don't use obsolete variable
2264 font-lock-maximum-size.
2265
3424a4f6
CY
22662012-09-06 Chong Yidong <cyd@gnu.org>
2267
2268 * frame.el (window-system-version): Mark as obsolete.
2269
fcbfbdea
CY
2270 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2271 of obsolete variable speedbar-key-map.
2272
826b3235
JL
22732012-09-06 Juri Linkov <juri@jurta.org>
2274
2275 * replace.el (replace-lax-whitespace): New defcustom.
2276 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2277 (replace-string, replace-regexp): Mention it in docstrings.
2278 (perform-replace, replace-highlight): Let-bind
2279 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2280 to the values of replace-lax-whitespace and regexp-flag.
2281 Don't let-bind search-whitespace-regexp. (Bug#10885)
2282
2283 * isearch.el (isearch-query-replace): Let-bind
2284 replace-lax-whitespace instead of let-binding
2285 replace-search-function and replace-re-search-function.
2286 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2287 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2288 (isearch-toggle-symbol): Set isearch-regexp to nil
2289 in isearch-word mode (like in isearch-toggle-word).
2290
1ec5e41d
JL
22912012-09-06 Juri Linkov <juri@jurta.org>
2292
2293 * replace.el (replace-search-function)
2294 (replace-re-search-function): Set default values to nil.
2295 (perform-replace): Let-bind isearch-related variables based on
2296 replace-related values, call `isearch-search-fun' and let-bind
2297 the result to `search-function'. Remove code that sets
2298 `search-function' and `search-string' separately for
2299 `delimited-flag'.
2300 (replace-highlight): Add new argument `delimited-flag' and
2301 rename other arguments to the names used in `perform-replace'.
2302 Let-bind `isearch-word' to the argument `delimited-flag'.
2303 (Bug#10885, bug#10887)
2304
0ba2d4b6
DG
23052012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2306
2307 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2308 ruby-beginning-of-indent, simplify, allow all keywords to have
2309 indentation before them.
2310 (ruby-beginning-of-indent): Adjust for above. Search until the
2311 found point is not inside a string or comment.
2312 (ruby-font-lock-keywords): Allow symbols to start with "@"
2313 character, give them higher priority than variables.
2314 (ruby-syntax-propertize-function)
2315 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2316 matchers. Expression expansions are not comments when inside a
2317 string, and there comment syntax status is irrelevant.
2318 (ruby-match-expression-expansion): New function. Check that
2319 expression expansion is inside a string, and it's not escaped.
2320 (ruby-font-lock-keywords): Use it.
2321
ef654460
MR
23222012-09-05 Martin Rudalics <rudalics@gmx.at>
2323
2324 * help.el (temp-buffer-max-height): New default value.
2325 (temp-buffer-resize-frames): New option.
2326 (resize-temp-buffer-window): Optionally resize frame.
2327
2328 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2329 (fit-frame-to-buffer): New function.
2330
7e570fbf 23312012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
2332
2333 * emulation/cua-rect.el (cua--init-rectangles):
2334 * textmodes/picture.el (picture-mode-map):
2335 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2336 like forward-char and backward-char. (Bug#12317)
2337
7e570fbf 23382012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
2339
2340 * progmodes/flymake.el (flymake-warning-re): New variable.
2341 (flymake-parse-line): Use it.
2342
7e570fbf 23432012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
2344
2345 * calendar/holidays.el (holiday-christian-holidays):
2346 Rename an entry. (Bug#12289)
2347
7e570fbf 23482012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
2349
2350 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2351 (bug#12222).
2352
972debf2
SM
23532012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2354
2355 * loadup.el: Load macroexp. Remove hack.
2356 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2357 (macroexp--expand-all): Use it to get better warnings.
2358 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2359 (internal-macroexpand-for-load): New functions.
2360 (macroexp--pending-eager-loads): New var.
2361 (emacs-startup-hook): New hack to replace one in loadup.el.
2362 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2363 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2364 (cl-psetf): Simplify.
2365 (cl-defstruct): Add indent rule.
2366
8ce192e3
LI
23672012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2368
2369 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2370 over `user-mail-address' for the SMTP MAIL FROM envelope.
2371 (smtpmail-via-smtp): Ditto.
2372
6578b4d8
DG
23732012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2374
2375 * progmodes/ruby-mode.el: Clean up keybindings.
2376 (ruby-mode-map): Don't bind ruby-electric-brace,
2377 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2378 backward-kill-word, reindent-then-newline-and-indent.
2379 (ruby-mark-defun): Remove.
2380 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2381 (ruby-mode): Set local beginning-of-defun-function and
2382 end-of-defun-function values.
2383
c5e28e39
MR
23842012-09-03 Martin Rudalics <rudalics@gmx.at>
2385
2386 * window.el (temp-buffer-window-setup-hook)
2387 (temp-buffer-window-show-hook): New hooks.
2388 (temp-buffer-window-setup, temp-buffer-window-show)
2389 (with-temp-buffer-window): New functions.
972debf2
SM
2390 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2391 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
2392
2393 * help.el (temp-buffer-resize-mode): Fix doc-string.
2394 (resize-temp-buffer-window): New optional argument WINDOW.
2395
2396 * files.el (recover-file, save-buffers-kill-emacs):
2397 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2398
73406194
MA
23992012-09-02 Michael Albinus <michael.albinus@gmx.de>
2400
2401 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2402 remote definition of `default-directory', ensure we can connect.
2403
63dd1c6f
JL
24042012-09-02 Juri Linkov <juri@jurta.org>
2405
2406 Toggle whitespace matching mode with M-s SPC.
2407 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2408
2409 * isearch.el (search-whitespace-regexp): Doc fix.
2410 Remove cons cell customization.
2411 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2412 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2413 New variables.
2414 (isearch-forward, isearch-forward-regexp): Doc fix.
2415 (isearch-toggle-lax-whitespace): New command.
2416 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2417 (re-search-forward-lax-whitespace)
2418 (re-search-backward-lax-whitespace): New functions.
2419 (isearch-whitespace-regexp): Remove function.
2420 (isearch-query-replace): Let-bind replace-search-function and
2421 replace-re-search-function.
2422 (isearch-occur): Let-bind search-spaces-regexp according to the
2423 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2424 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2425 condition for C-q SPC.
2426 (isearch-search-fun-default): Use new functions mentioned above.
2427 (isearch-search-forward, isearch-search-backward): Remove functions.
2428 (isearch-search): Don't let-bind search-spaces-regexp.
2429 (isearch-lazy-highlight-space-regexp): Remove variable.
2430 (isearch-lazy-highlight-lax-whitespace)
2431 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2432 (isearch-lazy-highlight-new-loop): Use them.
2433 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2434
af7dda05
CY
24352012-09-02 Chong Yidong <cyd@gnu.org>
2436
2437 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2438
d67d3afd
GM
24392012-09-02 Glenn Morris <rgm@gnu.org>
2440
2441 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2442
69678719
GM
24432012-09-01 Glenn Morris <rgm@gnu.org>
2444
2445 * term.el: Tidy up menu definitions.
2446 (term-mode-map): Use easymenu for In/Out, Complete menus.
2447 (term-pager-break-map): Initialize in the defvar.
2448 (term-terminal-menu, term-signals-menu): Define with easymenu.
2449 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2450 (term-pager-menu): New, extracted from term-process-pager.
2451 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2452 (term-update-mode-line): Propertize line/char and page items.
2453 (term-process-pager): Move keymap initialization elsewhere.
2454
78dd6ab1
MR
24552012-09-01 Martin Rudalics <rudalics@gmx.at>
2456
2457 * window.el (switch-to-prev-buffer): Handle additional values of
2458 BURY-OR-KILL argument. Don't switch in minibuffer window.
2459 (switch-to-next-buffer): Don't switch in minibuffer window.
2460 (quit-restore-window): New function based on quit-window.
2461 Handle additional values of former KILL argument.
2462 (quit-window): Call quit-restore-window with appropriate
2463 interpretation of KILL argument.
2464 (display-buffer-below-selected): New buffer display action
2465 function.
2466
3d10e134
SM
24672012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2468
2469 * minibuffer.el (completion-at-point-functions): Complete docstring
2470 (bug#12254).
2471
0e23ef9d
PE
24722012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2473
2474 Better seed support for (random).
2475 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2476 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2477 * play/mpuz.el, play/tetris.el, play/zone.el:
2478 * calc/calc-comb.el (math-init-random-base):
2479 * play/blackbox.el (bb-init-board):
2480 * play/life.el (life):
2481 * server.el (server-use-tcp):
2482 * type-break.el (type-break):
2483 Remove unnecessary call to (random t).
2484 * net/sasl.el (sasl-unique-id-function):
2485 Change (random t) to (random), now that the latter is more random.
2486 * play/life.el (life-initialized): Remove no-longer-needed var.
2487
862382df
MR
24882012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2489
2490 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2491 Consider frame's buffer predicate when choosing the buffer.
2492 (Bug#12081)
2493
262a66e1
RS
24942012-08-30 Richard Stallman <rms@gnu.org>
2495
2496 * simple.el (special-mode-map): Delete binding for `z'.
2497
f17e1d00
AS
24982012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2499
2500 * progmodes/compile.el (compilation-always-kill): Doc fix.
2501
24777832
CY
25022012-08-30 Chong Yidong <cyd@gnu.org>
2503
2504 * window.el (display-buffer-reuse-frames): Make the obsolescence
2505 message more informative.
2506
69ba1f04
GM
25072012-08-30 Glenn Morris <rgm@gnu.org>
2508
2509 * paren.el (show-paren-delay):
2510 Add a :set function. Doc fix. (Bug#12297)
2511
f0019ede
MB
25122012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2513
2514 * progmodes/compile.el (compilation-always-kill): New var.
2515 (compilation-start): Use it.
2516
35e62fc9
SM
25172012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2518
af070a1c
SM
2519 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2520 * files.el (read-only-mode): Move to simple.el.
2521
35e62fc9
SM
2522 * files.el (read-only-mode): New minor mode.
2523 (toggle-read-only): Use it and mark obsolete.
2524 (find-file--read-only):
2525 * vc/vc.el (vc-next-action, vc-checkout):
2526 * vc/vc-cvs.el (vc-cvs-checkout):
2527 * obsolete/vc-mcvs.el (vc-mcvs-update):
2528 * ffap.el (ffap--toggle-read-only): Update callers.
2529
c2c43c23
MA
25302012-08-29 Michael Albinus <michael.albinus@gmx.de>
2531
2532 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
2533 remote shell scripts.
2534 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
2535
2536 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2537 "/usr/local/sbin".
2538
9fba804b
SM
25392012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2540
2541 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2542
eada0861 25432012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 2544
806f0cc7
LL
2545 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2546 completion-at-point. (Bug#12220)
2547
3bb213b9
LL
2548 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2549
22ab32ef
LL
2550 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2551
eada0861 25522012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 2553
19c17fc1
CY
2554 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2555 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 2556
eada0861 25572012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
2558
2559 * progmodes/hideif.el (hif-compress-define-list):
2560 Fix typo. (Bug#11951)
2561
eada0861 25622012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
2563
2564 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2565 buffer local setting.
2566
27d6c5a8
LL
2567 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2568 rcirc-encode-coding-system.
2569
eada0861 25702012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
2571
2572 * net/rcirc.el (rcirc-split-message): New function.
2573 (rcirc-send-message): Use it. (Bug#12051)
2574
d44688e4
JL
25752012-08-28 Juri Linkov <juri@jurta.org>
2576
2577 * info.el (Info-fontify-node): Hide empty lines at the end of
2578 the node. (Bug#12272)
2579
34f10d41
MR
25802012-08-27 Drew Adams <drew.adams@oracle.com>
2581
2582 * dired.el (dired-pop-to-buffer): Make window start at beginning
2583 of buffer (Bug#12281).
2584
77f1f99c
CY
25852012-08-26 Chong Yidong <cyd@gnu.org>
2586
2587 * window.el (special-display-regexps, special-display-frame-alist)
2588 (special-display-buffer-names, special-display-function)
2589 (display-buffer-reuse-frames): Mark as obsolete.
2590
2591 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2592
2593 * help.el (help-print-return-message): Don't treat
2594 display-buffer-reuse-frames specially.
2595
d97af5a0
CY
25962012-08-26 Chong Yidong <cyd@gnu.org>
2597
9fba804b
SM
2598 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2599 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
2600 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2601 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2602 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2603 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2604 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2605 the functions directly with gdb-display-buffer-other-frame-action.
2606 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2607 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2608 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2609 (gdb-display-registers-buffer): Define directly.
2610 (def-gdb-display-buffer): Macro deleted.
2611 (gdb-display-buffer): Remove second and third args, callers don't
2612 use them. Defer to the default display-buffer behavior, apart
2613 from making windows dedicated.
2614 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2615
2616 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2617
2618 * window.el (display-buffer-pop-up-frame): Handle a
2619 pop-up-frame-parameters alist entry.
2620 (display-buffer): Document it.
2621
dd7ffad6
CY
26222012-08-26 Chong Yidong <cyd@gnu.org>
2623
2624 * isearch.el (search-whitespace-regexp): Make string and nil
2625 values apply to both ordinary and regexp search. Allow a cons
2626 cell value to distinguish between the two.
2627 (isearch-whitespace-regexp, isearch-search-forward)
2628 (isearch-search-backward): New functions.
2629 (isearch-occur, isearch-search-fun-default, isearch-search)
2630 (isearch-lazy-highlight-new-loop): Use them.
2631 (isearch-forward, isearch-forward-regexp): Doc fix.
2632
4c47bd1e
CY
26332012-08-26 Chong Yidong <cyd@gnu.org>
2634
2635 * faces.el (help-argument-name): Always inherit from italic
2636 (Bug#12213).
2637
9aba119d
MR
26382012-08-25 Martin Rudalics <rudalics@gmx.at>
2639
2640 * window.el (window--even-window-heights): Even heights when
2641 WINDOW and the selected window form a vertical combination.
2642 (display-buffer-use-some-window): Provide that window used gets
2643 sized back by quit-window. (Bug#11880) and (Bug#12091)
2644
ca5256ad
PE
26452012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2646
2647 Fix file time stamp problem with bzr and CVS (Bug#12001).
2648 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2649 in the file's time stamp, since the version control system loses
2650 that information.
2651
d1c0d176
JL
26522012-08-22 Juri Linkov <juri@jurta.org>
2653
2654 * info.el (Info-fontify-node): Hide the suffix of the
2655 Info file name in the header line. (Bug#12187)
2656
141562ff
GM
26572012-08-22 Glenn Morris <rgm@gnu.org>
2658
2659 * calendar/cal-tex.el (cal-tex-weekly-common):
2660 Restore leading blank page.
2661
61a48e19 26622012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
2663
2664 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
2665 the region under `shift-select-mode'. (Bug#12231)
2666
26672012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
2668
2669 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2670 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2671 gives details on why the space is never needed.
2672
ea95074e
MR
26732012-08-22 Martin Rudalics <rudalics@gmx.at>
2674
9fba804b
SM
2675 * window.el (walk-window-tree, window-with-parameter):
2676 New optional argument MINIBUF to control whether these functions
ea95074e
MR
2677 should run on the minibuffer window.
2678 (window-at-side-list): Don't operate on minibuffer window.
2679 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
2680 (window--size-ignore): Rename to window--size-ignore-p.
2681 Update callers.
caceae25
MR
2682 (display-buffer-in-atom-window, window--major-non-side-window)
2683 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
2684 (delete-side-window, display-buffer-in-side-window):
2685 New functions.
caceae25
MR
2686 (window--side-check, window-deletable-p, delete-window)
2687 (delete-other-windows, split-window): Handle side windows and
2688 atomic windows appropriately.
2689 (window--display-buffer): Call display-buffer-record-window also
2690 when the window buffer did not change.
ea95074e 2691
80a51fa0
CS
26922012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2693
2694 * help-fns.el (help-fns--key-bindings):
2695 Abbreviate non-symbol remap targets. (Bug#12174)
2696
fbb6300b
MR
26972012-08-22 Martin Rudalics <rudalics@gmx.at>
2698
2699 * dired.el (dired-mark-remembered): Don't clobber point.
2700 (Bug#11795)
2701
2b2c0794
GM
27022012-08-22 Glenn Morris <rgm@gnu.org>
2703
2704 * progmodes/bug-reference.el (bug-reference): New custom group.
2705 (bug-reference-bug-regexp): Make it a defcustom.
2706
37219830
DU
27072012-08-22 Daiki Ueno <ueno@unixuser.org>
2708
2709 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2710 (js-paren-indent-offset, js-square-indent-offset)
2711 (js-curly-indent-offset): Add :safe (Bug#12257).
2712
94e0e559
EC
27132012-08-22 Edward O'Connor <hober0@gmail.com>
2714
2715 * json.el (json-key-format): Add error properties.
2716 (json-encode-key): New function.
2717 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2718 Use json-encode-key.
2719
da485f5e
GM
27202012-08-22 Glenn Morris <rgm@gnu.org>
2721
2722 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2723 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2724 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2725 Update for above change.
2726
c6cc78b8
AS
27272012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2728
2729 * cus-face.el (custom-face-attributes): Fix customize type for the
2730 :underline attribute. (Bug#11805)
2731
5481664a
MR
27322012-08-21 Martin Rudalics <rudalics@gmx.at>
2733
2734 * window.el (window-point-1, set-window-point-1): Remove.
2735 (window-in-direction, record-window-buffer)
2736 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
2737 (window--state-get-1, display-buffer-record-window):
2738 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
2739 window-point and set-window-point respectively.
2740
6d74698e
GM
27412012-08-21 Glenn Morris <rgm@gnu.org>
2742
b7fa2691
GM
2743 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2744 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2745 Use it.
2746
52f56d5a
GM
2747 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2748 (cal-tex-shortday): New function.
2749 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2750 (cal-tex-cursor-filofax-daily): Use the above.
2751
9f1ee09e
GM
2752 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2753 New functions.
2754 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2755 (cal-tex-cursor-filofax-week): Use them.
2756
79858159
GM
2757 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2758 New constants.
2759 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2760 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2761
d346b2b4
GM
2762 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2763 (cal-tex-end-document): Don't rely on buffer name.
2764
b2403709
GM
2765 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2766 Use cal-tex-vspace.
2767 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2768 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
2769 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2770 Use cal-tex-arg.
b2403709 2771
1cebb5c0
GM
2772 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2773 (cal-tex-cursor-week, cal-tex-cursor-week2)
2774 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2775 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2776 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2777 (cal-tex-insert-preamble, cal-tex-b-document)
2778 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2779 Improve cal-tex-cmd usage.
2780
c68cd5d4
GM
2781 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2782 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2783 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2784 (cal-tex-weekly-paper): New function.
2785 (cal-tex-cursor-week, cal-tex-cursor-week2)
2786 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2787 (cal-tex-cursor-day): Use it.
2788
9dca4801
GM
2789 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2790 (cal-tex-cursor-filofax-week): Remove leading blank page.
2791
1941e134
GM
2792 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2793 Add autoload cookie. For now at least, don't use color, since
2794 no other cal-tex function does.
2795
6d74698e
GM
2796 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2797 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2798 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2799
64cde199
JL
28002012-08-21 Juri Linkov <juri@jurta.org>
2801
2802 * info.el (Info-file-attributes): New variable.
2803 (info-insert-file-contents): Add file attributes to
2804 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2805 `Info-toc-nodes' when previous modtime of the Info file is less
2806 than new modtime.
2807 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2808 of info.el. (Bug#12230)
2809
32757648
GM
28102012-08-20 Glenn Morris <rgm@gnu.org>
2811
2812 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2813 * calendar/holidays.el (calendar-holiday-list):
2814 Report errors with display-warning rather than beep'n'sleep.
2815
a32fbbcf
MA
28162012-08-20 Michael Albinus <michael.albinus@gmx.de>
2817
2818 * net/tramp.el (tramp-accept-process-output): Accept only output
2819 from PROC. Otherwise, process filters and sentinels might be
2820 confused. (Bug#12145)
2821
a05731a0
CY
28222012-08-20 Chong Yidong <cyd@gnu.org>
2823
2824 * descr-text.el (describe-text-properties-1): Use overlays-in to
2825 report on empty overlays (Bug#3322).
2826
36e8d1eb
GM
28272012-08-20 Glenn Morris <rgm@gnu.org>
2828
3d300447
GM
2829 * mail/rmailout.el (rmail-output-read-file-name):
2830 Trap and report errors in rmail-output-file-alist elements.
2831
36e8d1eb
GM
2832 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2833 since most non-font-lock faces are not also variables).
2834
b96e5814
ER
28352012-08-20 Edward Reingold <reingold@iit.edu>
2836
2837 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2838 New function. (Bug12160)
2839
7cef3569
GM
28402012-08-19 Glenn Morris <rgm@gnu.org>
2841
2842 * mail/rmailout.el (rmail-output-read-file-name):
2843 Fix previous change (when the alist is nil or does not match).
2844
17975d7f
CY
28452012-08-19 Chong Yidong <cyd@gnu.org>
2846
2847 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2848 (Bug#12228).
2849
2170b1bd
CY
28502012-08-18 Chong Yidong <cyd@gnu.org>
2851
2852 * simple.el (yank-handled-properties): New defcustom.
2853 (yank-excluded-properties): Add font-lock-face and category.
2854 (yank): Doc fix.
2855
9fba804b
SM
2856 * subr.el (remove-yank-excluded-properties):
2857 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
2858 and category is now done this way, instead of being hard-coded.
2859 (insert-for-yank-1): Remove font-lock-face handling.
2860 (yank-handle-font-lock-face-property)
2861 (yank-handle-category-property): New function.
2862
ee218151
GM
28632012-08-17 Glenn Morris <rgm@gnu.org>
2864
2865 * mail/rmailout.el (rmail-output-read-file-name):
2866 Check rmail-output-file-alist against the full message body
2867 in the correct rmail buffer. (Bug#12214)
2868
4a6bc3fd
MA
28692012-08-17 Michael Albinus <michael.albinus@gmx.de>
2870
9fba804b
SM
2871 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2872 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 2873
383dcbf9
CY
28742012-08-17 Chong Yidong <cyd@gnu.org>
2875
2876 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2877 font spec, set the font directly (Bug#3228).
2878
998c4a6a
MR
28792012-08-17 Martin Rudalics <rudalics@gmx.at>
2880
2881 * window.el (delete-window): Fix last fix.
2882
52162052
MR
28832012-08-16 Martin Rudalics <rudalics@gmx.at>
2884
2885 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
2886 (window-child, window-child-count, window-last-child)
2887 (window-normalize-window, window-combined-p)
2888 (window-combinations, window-atom-root, window-min-size)
2889 (window-sizable, window-sizable-p, window-size-fixed-p)
2890 (window-min-delta, window-max-delta, window--resizable)
2891 (window--resizable-p, window-resizable, window-total-size)
2892 (window-full-height-p, window-full-width-p, window-body-size)
2893 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2894 (minimize-window, window-deletable-p, delete-window)
2895 (delete-other-windows, set-window-buffer-start-and-point)
2896 (next-buffer, previous-buffer, split-window, balance-windows-2)
2897 (set-window-text-height, window-buffer-height)
2898 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
2899 (truncated-partial-width-window-p): Minor code adjustments.
2900 In doc-strings state whether the argument window has to denote a
85c2386b 2901 live, valid or any window.
52162052 2902
1c308380
PS
29032012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2904
2905 * progmodes/subword.el (subword-forward-function)
2906 (subword-backward-function, subword-forward-regexp)
2907 (subword-backward-regexp): New variables.
2908 (subword-forward, subword-forward-internal, subword-backward-internal):
2909 Use new variables, eg so that different "word" definitions
2910 can be easily used. (Bug#11411)
2911
94c9ece1
SM
29122012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2913
2914 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2915 for composite selectors.
2916 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2917 operation just because we can't find a previous revision.
2918
f2045622
CY
29192012-08-15 Chong Yidong <cyd@gnu.org>
2920
2921 * frame.el (set-frame-font): Accept font objects.
2922
582db660
SM
29232012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2924
2925 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2926
2f29c200
WJ
29272012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2928
456e62c2
WJ
2929 * man.el (Man-overstrike-face, Man-underline-face)
2930 (Man-reverse-face): Remove variables.
2931 (Man-overstrike, Man-underline, Man-reverse): New faces.
2932 (Man-fontify-manpage): Use them instead of the variables.
2933 (Man-cleanup-manpage): Comment change.
2934 (Man-ansi-color-map): New variable.
2935 (Man-fontify-manpage): Use it.
2936 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2937
2f29c200
WJ
2938 Implement ANSI SGR parameters 22-27 (bug#12146).
2939 * ansi-color.el (ansi-colors): Doc fix.
2940 (ansi-color-context, ansi-color-context-region): Doc fix.
2941 (ansi-color--find-face): New function.
2942 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2943 Rename the local variable `face' to `codes' since it is now a list of
2944 ansi codes. Doc fix.
2945 (ansi-color-get-face): Remove.
2946 (ansi-color-parse-sequence): New function, derived from
2947 ansi-color-get-face.
2948 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2949 codes 22-27.
2950
b4f5e9df
SM
29512012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2952
2953 * subr.el (read-passwd): Allow use from a minibuffer.
2954
ba025fbd
EZ
29552012-08-14 Eli Zaretskii <eliz@gnu.org>
2956
2957 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2958 inside comments and strings as identifiers.
2959
2960 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2961 expression to evaluate. This allows to evaluate expressions with
2962 embedded whitespace.
2963 (gud-tooltip-tips): Add a blank before the newline in the
2964 message-box text, for the benefit of message-box emulation on
2965 MS-Windows.
2966
2967 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2968 messages from GDB, pop them up in a tooltip to give feedback to
2969 user.
b4f5e9df
SM
2970 (gdb-tooltip-print-1): Quote the expression to evaluate.
2971 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
2972 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2973 if the TTY name is nil or empty (which happens when communicating
2974 with the inferior via pipes, e.g. on MS-Windows).
2975 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2976 don't send that to the GUD buffer.
2977
c548f821
GM
29782012-08-14 Glenn Morris <rgm@gnu.org>
2979
2980 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2981 Optimize away setq-default with no args, as for setq. (Bug#12195)
2982
55802e4a
CY
29832012-08-14 Chong Yidong <cyd@gnu.org>
2984
4abcdac8
CY
2985 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2986
55802e4a
CY
2987 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2988 (Bug#12085).
2989
3c3cda1a
GM
29902012-08-14 Glenn Morris <rgm@gnu.org>
2991
2992 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2993
e1873bd0
MA
29942012-08-14 Michael Albinus <michael.albinus@gmx.de>
2995
2996 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2997 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2998 Use cached shell name.
2999
925411b4
FEG
30002012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3001
3002 * progmodes/python.el (python-shell-send-string):
3c3cda1a 3003 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 3004
e636fafe
DG
30052012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3006
3007 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3008 (ruby-percent-literal-beg-re): New constant.
3009 (ruby-syntax-general-delimiters-goto-beg): Rename to
3010 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3011 (ruby-syntax-propertize-general-delimiters): Rename to
3012 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3013 popular term. Adjust comments everywhere.
3014 (ruby-syntax-propertize-percent-literal): Only propertize when not
3015 inside a simple string or comment. When the literal is unclosed,
3016 leave the text after it unpropertized.
f063063a
DG
3017 (ruby-syntax-methods-before-regexp): New constant.
3018 (ruby-syntax-propertize-function): Use it to recognize regexps.
3019 Don't look at the text after regexp, just use the whitelist.
e636fafe 3020
e5b19827
AS
30212012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3022
3023 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3024 non-nil always load the compiled file if it exists. (Bug#12197)
3025
a9f6f311
CY
30262012-08-14 Chong Yidong <cyd@gnu.org>
3027
3028 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3029 (hi-lock-set-pattern): When deciding whether to use font lock or
3030 overlays, look at font-lock-mode instead of font-lock-fontified
3031 (Bug#12168).
3032 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3033 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3034
7d806b1e
DU
30352012-08-14 Daiki Ueno <ueno@unixuser.org>
3036
3037 * subr.el (internal--after-with-selected-window): Fix typo
3038 (Bug#12193).
3039
5beed586
FEG
30402012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3041
3042 Use `completion-table-dynamic' for completion functions.
3043 * progmodes/python.el
3044 (python-shell-completion--do-completion-at-point)
e636fafe
DG
3045 (python-shell-completion--get-completions):
3046 Remove functions.
5beed586
FEG
3047 (python-shell-completion-complete-at-point): New function.
3048 (python-completion-complete-at-point): Use it.
3049
92cb3b04
J
30502012-08-13 Jambunathan K <kjambunathan@gmail.com>
3051
3052 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3053 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3054
89660017
SM
30552012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3056
3c98c962
SM
3057 * subr.el (function-get): Refine `autoload' arg so it can also
3058 autoload functions for gv.el (bug#12191).
3059 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3060 autoloads macros.
3061
aa7c6dbe
SM
3062 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3063 Prefer pcase-let over destructuring-bind.
3064 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3065 Also, remove whitespace as we go, rather than after accumulating the
3066 various places.
3067
89660017
SM
3068 * subr.el (internal--before-with-selected-window)
3069 (internal--after-with-selected-window): Fix typo seleted->selected.
3070 (with-selected-window): Adjust callers.
3071 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3072
31cd32c9
BG
30732012-08-13 Bastien Guerry <bzg@gnu.org>
3074
0fcd3d9f 3075 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
3076 enhancement. (Bug#12172)
3077
1b15d8ad
AS
30782012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3079
31e54db0
AS
3080 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3081 type 1-6.
3082 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3083 extended headers.
3084
1b15d8ad
AS
3085 * files.el (hack-local-variables-filter): Remove useless eval.
3086
35cb9c06
MR
30872012-08-13 Martin Rudalics <rudalics@gmx.at>
3088
3089 * subr.el (with-selected-window): Fix last change.
3090
1439443b
SM
30912012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3092
3093 * subr.el (internal--before-with-seleted-window)
3094 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
3095 (with-selected-window): Use them, to replace dependency on
3096 tty-top-frame.
1439443b 3097
0d9e2599
NN
30982012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3099
3100 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3101 binding for `newline'.
3102 (ruby-move-to-block): When moving backward, stop at block opening,
3103 not indentation.
3104 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3105 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3106 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3107 `ruby-toggle-block'.
3108
ba10c48c
SM
31092012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3110
3111 * ibuffer.el (ibuffer-do-toggle-read-only):
3112 * dired.el (dired-toggle-read-only):
3113 * buff-menu.el (Buffer-menu-toggle-read-only):
3114 * bindings.el (mode-line-toggle-read-only):
3115 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3116
9229c658
AS
31172012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3118
3119 * descr-text.el (describe-char): Put the overlays over the
3120 "displayed as" character.
3121
0fd09128
JB
31222012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3123
3124 * calc/calc-units.el (math-default-units-table): Give an
3125 initial value.
3126 (math-put-default-units): Add options to put composite units and
3127 unit systems in the default units table.
3128 (calc-convert-units): Send composite units to
3129 `math-put-default-units' when appropriate.
3130
9ff9402d 31312012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 3132
fbb5e336
GM
3133 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3134
7aacaf15
GM
3135 * tutorial.el (help-with-tutorial):
3136 * emacs-lisp/copyright.el (copyright-update-directory):
3137 * emacs-lisp/autoload.el (autoload-find-generated-file)
3138 (autoload-find-file): Disable local eval: (for insurance).
3139
f40b9f10
GM
3140 * files.el (hack-local-variables-filter): If an eval: form is not
3141 known to be safe, and enable-local-variables is :safe, then ignore
3142 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 3143 This is CVE-2012-3479.
f40b9f10 3144
daa9f1a6
SM
31452012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3146
3147 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3148 (rx-form): Simplify.
3149
9cd80478
DG
31502012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3151
0d9e2599
NN
3152 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3153 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3154 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3155 (ruby-syntax-propertize-function): Adjust for changes in
3156 `ruby-syntax-propertize-heredoc'.
3157
31582012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3159
9cd80478
DG
3160 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3161 binding (use `M-;' instead).
9cd80478 3162 (ruby-singleton-class-p): New function.
0d9e2599 3163 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 3164
d301b413
SM
31652012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3166
3167 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3168
1530c98e
CY
31692012-08-10 Chong Yidong <cyd@gnu.org>
3170
3171 * progmodes/python.el (python-shell-get-process-name): Don't mess
3172 with same-window-buffer-names.
3173
3174 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3175 (eshell-remove-from-window-buffer-names): Make obsolete.
3176 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3177 (eshell): Just use pop-to-buffer-same-window instead.
3178
e1293765
CY
31792012-08-10 Chong Yidong <cyd@gnu.org>
3180
3181 * bindings.el: Bind M-= back to count-words-region.
3182
3183 * simple.el (count-words-region): Accept a prefix arg for acting
3184 on the entire buffer.
3185 (count-words--buffer-message): New helper function.
3186
e1894109
SM
31872012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3188
3189 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3190 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3191 (event-start, event-end): Use posn-at-point to return a more
3192 informative posn.
3193 (posnp): New function.
3194 * mouse.el (popup-menu-normalize-position): Use it.
3195
c69f56a2
MY
31962012-08-10 Masatake YAMATO <yamato@redhat.com>
3197
3198 * mouse.el (popup-menu-normalize-position): New function.
3199 (popup-menu): Use `popup-menu-normalize-position' to normalize
3200 the form for POSITION argument.
3201
3202 * term/x-win.el (x-menu-bar-open):
3203 Use the value returend from (posn-at-point) as position
3204 passed to `popup-menu'.
3205
31673780
JB
32062012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3207
3208 * calc/calccomp.el (math-compose-expr): Add extra argument
3209 indicating that parentheses should be put around products in
3210 denominators. Give multiplication precedence over division during
3211 composition.
3212
dab7711b
CY
32132012-08-09 Chong Yidong <cyd@gnu.org>
3214
dee4ef93
CY
3215 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3216 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3217 (Man-untabify-command, manual-program): Convert to defcustom
3218 (Bug#10429).
3219
73e2bbc5
CY
3220 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3221
3e861c8a
CY
3222 * descr-text.el (describe-char): Don't insert extra newlines
3223 (Bug#10127).
3224
a9f5a649
CY
3225 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3226 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3227
dab7711b
CY
3228 * align.el (align-region): Delete temporary markers (Bug#10047).
3229 Plus some code cleanups.
3230
e0cc4efa
FEG
32312012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3232
3233 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3234 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3235 (python-shell-internal-last-output): Use make-local-variable
3236 instead of make-variable-buffer-local.
3237
489af14f
FEG
32382012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3239
3240 * progmodes/python.el: Enhancements to forward-sexp.
3241 (python-nav-forward-sexp): Rename from
3242 python-nav-forward-sexp-function.
c69f56a2
MY
3243 (python-nav--forward-sexp, python-nav--backward-sexp):
3244 New functions.
489af14f 3245
0fc50303
JB
32462012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3247
3248 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3249 modes and simplification modes.
3250
5d65606a
SM
32512012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3252
3253 * delsel.el (delete-selection-pre-hook): Don't propagate the
3254 file-supersession signals (bug#12161).
3255
4250fdf5
SM
32562012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3257
3258 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3259 (cl-map-extents): Add compatibility aliases (bug#12135).
3260
d9f9b465
MA
32612012-08-08 Michael Albinus <michael.albinus@gmx.de>
3262
3263 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3264 tests by `ignore-error'.
3265 (tramp-find-shell): Open also a new shell, when cache is already
3266 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3267
ce0fcefa
JL
32682012-08-08 Juri Linkov <juri@jurta.org>
3269
3270 * bookmark.el: Add `defaults' property to the bookmark record.
3271 (bookmark-current-buffer): Doc fix.
3272 (bookmark-make-record): Add `defaults' property with default values
3273 to the bookmark record.
3274 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3275 with `bookmark-insert-current-bookmark'.
3276 (bookmark-set): Get `defaults' property from the bookmark record
3277 and use it in `read-from-minibuffer'.
3278 (bookmark-insert-current-bookmark): Remove function.
3279
3280 * info.el (Info-bookmark-make-record): Add `defaults' property
3281 with values of canonical Info node name, the current Info file
3282 name and the current Info node name. (Bug#12107)
3283
53fa8652
JL
32842012-08-08 Juri Linkov <juri@jurta.org>
3285
3286 * files.el (basic-save-buffer): Use `buffer-name' as the default
3287 of `read-file-name' when buffer is not visiting a file (bug#12128).
3288
242c0a95
JL
32892012-08-08 Juri Linkov <juri@jurta.org>
3290
3291 * info.el (Info-isearch-search): Doc fix.
3292 (Info-search): Change search-failed message from "initial node" to
3293 "end of node" (bug#12078).
3294 (Info-isearch-search): Change `isearch-string-state' to
3295 `isearch--state-string'.
3296
32ac3a6b
GM
32972012-08-08 Glenn Morris <rgm@gnu.org>
3298
3299 * language/persian.el: Remove file.
f8c1afd5 3300 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
3301 * loadup.el: Remove language/persian.
3302
2c2d9c9c
OF
33032012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3304
3305 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3306
2d79ec42
FEG
33072012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3308
3309 * progmodes/python.el Fixed defsubst warning.
3310 (python-syntax-context) Rename from python-info-ppss-context.
3311 (python-syntax-context-type): Rename from
3312 python-info-ppss-context-type.
3313 (python-syntax-comment-or-string-p): Rename from
3314 python-info-ppss-comment-or-string-p.
3315
2bd255dd
JB
33162012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3317
3318 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3319
c395097f
AS
33202012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3321
6125983e
AS
3322 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3323 a defcustom that is quoted with backquote.
3324
4250fdf5
SM
3325 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3326 Fix handling of interactive spec when the body uses return.
651eaf36
AS
3327 (math-do-arg-check, math-define-function-body): Use backquote forms.
3328 * calc/calc-ext.el (math-defcache): Likewise.
3329 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3330 * allout.el (allout-new-exposure): Likewise.
3331 * calc/calcalg2.el (math-tracing-integral): Likewise.
3332 * info.el (Info-last-menu-item): Likewise.
3333 * emulation/vip.el (vip-loop): Likewise.
3334 * textmodes/artist.el (artist-funcall): Likewise.
3335 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3336 Construct menu-item directly.
3337
4250fdf5
SM
3338 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3339 Don't declare.
c395097f 3340
5fb50dd3
CY
33412012-08-07 Chong Yidong <cyd@gnu.org>
3342
3343 * simple.el (deactivate-mark): Preserve text properties when
3344 saving the primary selection (Bug#8384).
3345
54eea618
KR
33462012-08-07 Kevin Ryde <user42@zip.com.au>
3347
3348 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3349 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3350 and continue processing (Bug#12110).
3351
638eaeb9
SM
33522012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3353
3354 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3355 syntax-propertize-function (bug#10095).
3356
ea376861
SM
33572012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3358
f91b35be
SM
3359 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3360 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3361 describe-function-1.
3362 (describe-function-1): Use them. Move compiler macro after sig.
3363 (help-fns--compiler-macro): Use function-get. Assume we're already in
3364 standard-output. Adjust layout to new call order.
3365
ea376861
SM
3366 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3367 re-binding a symbol that has a symbol-macro (bug#12119).
3368
d5be7bd0
MB
33692012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3370
3371 * language/persian.el: New file. (Bug#11812)
3372 * loadup.el: Add language/persian.el.
3373
90749b53
CY
33742012-08-06 Chong Yidong <cyd@gnu.org>
3375
3376 * window.el (window--maybe-raise-frame): New function.
3377 (window--display-buffer): Split off from here.
3378 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3379 (display-buffer-pop-up-window, display-buffer-use-some-window):
3380 Obey an inhibit-switch-frame action alist entry.
3381 (display-buffer): Update doc.
3382
3383 * replace.el (occur-after-change-function): Avoid losing focus by
3384 using the inhibit-switch-frame display parameter (Bug#12139).
3385
ba7b0154
FEG
33862012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3387
3388 Make internal shell process buffer names start with space.
3389 * progmodes/python.el (python-shell-make-comint): Add optional
3390 argument INTERNAL.
3391 (run-python-internal): Use it.
3392 (python-shell-internal-get-or-create-process): Check for new
3393 internal buffer names.
3394
5eaeacb5
GM
33952012-08-06 Glenn Morris <rgm@gnu.org>
3396
e296d94b 3397 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
3398 Do less getting and setting of environment variables.
3399
b7ccbdc2
CY
34002012-08-05 Chong Yidong <cyd@gnu.org>
3401
777fe95e
CY
3402 * proced.el (proced): Add substitution string to docstring to
3403 trigger autoloading of the proced library on C-h f (Bug#1768).
3404
4250fdf5
SM
3405 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3406 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
3407
3408 * imenu.el (imenu-generic-expression): Move documentation here
3409 from imenu--generic-function.
3410 (imenu--generic-function): Refer to imenu-generic-expression.
3411
9e3b7800 34122012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
3413
3414 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3415 indentation declaration.
3416 (viper-loop): Add indentation declaration (Bug#7025).
3417
e5d9c0d1
CY
34182012-08-05 Chong Yidong <cyd@gnu.org>
3419
f0422feb
CY
3420 * help-fns.el (describe-variable): Add hyperlink for
3421 directory-local variables files. Improve buffer-local and
3422 permanent-local reporting; suggested by MON KEY (Bug#6644).
3423
3424 * help-mode.el (help-dir-local-var-def): New button type.
3425
e5d9c0d1
CY
3426 * files.el (kill-buffer-hook): Provide a defvar.
3427
a4f2deaa
GM
34282012-08-05 Glenn Morris <rgm@gnu.org>
3429
3430 * eshell/esh-ext.el (eshell/addpath):
3431 Also update eshell-path-env. (Bug#12013)
3432
a9dd5754
CY
34332012-08-05 Chong Yidong <cyd@gnu.org>
3434
a4f2deaa 3435 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 3436
d014c740
CY
3437 * fringe.el (fringe-styles): Add docstring.
3438 (fringe--check-mode): New function.
3439 (set-fringe-mode, set-fringe-style): Use it.
3440 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3441
a9dd5754
CY
3442 * files.el (set-auto-mode): Fix invalid setq call.
3443
7c2dc8bd
SM
34442012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3445
3446 * isearch.el: Misc simplification; use defstruct.
3447 (isearch-mode-map): Dense maps now work like sparse ones.
3448 (isearch--state): New defstruct.
3449 (isearch-string-state, isearch-message-state, isearch-point-state)
3450 (isearch-success-state, isearch-forward-state)
3451 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3452 (isearch-wrapped-state, isearch-barrier-state)
3453 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3454 replaced by defstruct's accessors.
3455 (isearch--set-state): Rename from isearch-top-state and change
3456 calling convention.
3457 (isearch-push-state): Use new isearch--get-state.
3458 (isearch-toggle-word): Disable regexp when enabling word.
3459 (isearch-message-prefix): Remove unused arg _c-q-hack.
3460 (isearch-message-suffix): Remove unused arg _ellipsis.
3461
7fcc0070
AS
34622012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3463
3464 * simple.el (list-processes--refresh): For a server use :host or
3465 :local as the address.
97ad0769 3466 (list-processes): Doc fix.
7fcc0070 3467
a11035b8 34682012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
3469
3470 * lisp/mpc.el: Support password in host argument.
3471 (mpc--proc-connect): Parse and use new password element.
3472 Set mpc-proc variable instead of returning process.
3473 (mpc-proc): Adjust accordingly.
3474
6dad7178
EZ
34752012-08-03 Eli Zaretskii <eliz@gnu.org>
3476
18949c2f
EZ
3477 * whitespace.el (whitespace-display-mappings): Use Unicode
3478 codepoints, instead of emacs-mule codepoints. See
3479 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3480 for the details.
3481
6dad7178
EZ
3482 * files.el (file-truename): Don't skip symlink-chasing part on
3483 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
3484 Windows into the loop that recursively chases symlinks.
3485 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
3486 MS-DOS.
3487
385b0198
CY
34882012-08-03 Chong Yidong <cyd@gnu.org>
3489
6200f3c4
CY
3490 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3491
385b0198
CY
3492 * sort.el (sort-regexp-fields): Doc fix.
3493
b9e74744
TH
34942012-08-03 Tassilo Horn <tsdh@gnu.org>
3495
3496 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3497 labels regex position point at the expected place.
3498
41013cb4
MK
34992012-08-03 MON KEY <monkey@sandpframing.com>
3500
3501 * net/imap.el (imap-interactive-login, imap-authenticate)
3502 (imap-mailbox-lsub, imap-mailbox-list)
3503 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3504 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3505 (imap-parse-response): Doc fix.
3506
0ffee616
JT
35072012-08-03 João Távora <joaotavora@gmail.com>
3508
3509 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3510 if sexp scanning does not move point (Bug#5734).
3511
cfcc9cc8
TH
35122012-08-02 Tassilo Horn <tsdh@gnu.org>
3513
3514 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3515 Add listings, minted, and ctable packages.
3516 (reftex-label-alist-builtin): Move listings, minted, and ctable
3517 entries before LaTeX.
a01bbb84 3518 (reftex-label-alist): Docfix.
cfcc9cc8 3519
66ec2442
BG
35202012-08-02 Bastien Guerry <bzg@gnu.org>
3521
3522 * replace.el (occur): Fix docstring (bug#12122).
3523
837b365b
GM
35242012-08-02 Glenn Morris <rgm@gnu.org>
3525
3526 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3527
e098de97
PE
35282012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3529
3530 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3531 * international/mule-cmds.el: Create
3532 inactivate-current-input-method-function as an obsolete alias for
3533 deactivate-current-input-method-function. See Katsumi Yamaoka in
3534 <http://bugs.gnu.org/10150#46>.
3535
a0f95636
JB
35362012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3537
3538 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3539 of nested `if's.
3540
0d26d7c4
GM
35412012-08-01 Glenn Morris <rgm@gnu.org>
3542
3543 * progmodes/autoconf.el (autoconf-definition-regexp):
3544 Add AH_TEMPLATE, adjust submatch numbering.
3545 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3546 (autoconf-current-defun-function): Update for above change.
3547 (autoconf-current-defun-function): First skip to end of current word.
3548
b686ba06
RS
35492012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3550
3551 * calendar/cal-html.el (cal-html-insert-agenda-days):
3552 Fix typo. (Bug#12018)
3553
0d49da68
FEG
35542012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3555
3556 Shell processes: enhancements to startup and CEDET compatibility.
3557 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3558 (python-shell-make-comint): accept-process-output at startup.
3559 (run-python-internal): Set inferior-python-mode-hook to nil.
3560 (python-shell-internal-get-or-create-process): call sit-for.
3561 (python-preoutput-result): Add obsolete alias.
3562 (python-shell-internal-send-string): Use it.
3563 (python-shell-send-setup-code): Remove call to
3564 accept-process-output.
3565
f1a71c6e
AS
35662012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3567
3568 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3569 (Bug#12108)
3570
d2605269
JB
35712012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3572
3573 * calc-mode.el (calc-basic-simplification-mode): Rename from
3574 `calc-limited-simplification-mode'.
3575 (calc-alg-simplification-mode): New function.
fc0c31f8 3576 (calc-set-simplify-mode): Adjust message.
f1a71c6e 3577
d2605269
JB
3578 * calc.el (calc-set-mode-line): Adjust mode line display for
3579 basic simplification mode.
3580
3581 * calc-help.el (calc-m-prefix-help): Update help message.
3582
3583 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3584 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3585
a3827a43
BG
35862012-07-31 Bastien Guerry <bzg@gnu.org>
3587
3588 * man.el (man): Fix comment. (bug#12101)
3589
502e3f89
MR
35902012-07-31 Martin Rudalics <rudalics@gmx.at>
3591
3592 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3593 Don't return a non-nil value when no suitable buffer was found.
3594
d7714961
FEG
35952012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3596
3597 * progmodes/python.el (run-python-internal): Disable font lock for
3598 internal shells.
3599
1f45e27e
SM
36002012-07-30 Stefan Merten <smerten@oekonux.de>
3601
70efc5c9 3602 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
3603 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3604 (rst-official-version, rst-official-cvs-rev)
3605 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3606 (rst-mode-map): New key binding.
3607
0aee6912
PE
36082012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3609
3610 Update .PHONY listings in makefiles.
3611 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3612 autoloads, update-subdirs, updates, bzr-update, update-authors,
3613 compile-onefile, compile-calc, backup-compiled-files,
3614 compile-after-backup, compile-one-process, mh-autoloads,
3615 bootstrap-clean, distclean, maintainer-clean.
3616
9052f9f0
JB
36172012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3618
1823ac5a
JB
3619 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3620 (calc-set-mode-line): Don't display "AlgSimp ".
3621
3622 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3623 (calc-lim-simplify-mode): New function.
3624 (calc-set-simplify-mode): Default to 'alg.
3625 (calc-default-simplify-mode): Make algebraic simplifications
3626 the default.
3627
3628 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3629 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3630
8d7c7eed 3631 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
3632 indicate new simplification modes.
3633
1823ac5a
JB
3634 * calc/README: Mention new default simplification mode.
3635
9052f9f0
JB
3636 * calc/calc.el (math-normalize-error): New variable.
3637 (math-normalize): Set `math-normalize-error' to t
3638 when there's an error.
3639
3640 * calc/calc-alg.el (math-simplify): Don't simplify when
3641 `math-normalize' returns an error.
3642
20ba0cb4
EZ
36432012-07-29 Eli Zaretskii <eliz@gnu.org>
3644
3645 * international/mule-cmds.el (set-locale-environment): Revert last
3646 change, since display-graphic-p returns nil when this function is
3647 called during startup. Instead...
3648
3649 * term/w32console.el (terminal-init-w32console): ...setup the
3650 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3651
a5dcc929
JL
36522012-07-29 Juri Linkov <juri@jurta.org>
3653
3654 * simple.el (goto-line): Don't display default line number in the
3655 prompt because it should be displayed by `read-number' (bug#9952).
3656 Add the current line number to the defaults of `goto-line' to
3657 allow its easier modification by users with `M-n' (bug#9201).
3658
3659 * subr.el (read-number): Support multiple default values like in
3660 other minibuffer reading functions. Replace `read' with
3661 `string-to-number' for consistency with `number-to-string'.
3662
72b255c7
PE
36632012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3664
3665 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3666 * emulation/viper-init.el (viper-deactivate-input-method-action):
3667 Rename from viper-inactivate-input-method-action.
3668 (viper-deactivate-input-method):
3669 Rename from viper-inactivate-input-method.
3670 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3671 * international/mule-cmds.el (deactivate-input-method):
3672 Rename from inactivate-input-method.
3673 Also run input-method-deactivate-hook.
3674 (deactivate-current-input-method-function):
3675 Rename from inactivate-current-input-method-function.
3676 (input-method-deactivate-hook): New hook.
3677 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
3678 (inactivate-input-method): Mark obsolete.
3679
72b255c7
PE
3680 * international/quail.el (quail-activate):
3681 Also run quail-deactivate-hook.
3682 (quail-deactivate): Rename from quail-inactivate.
3683 * international/robin.el (robin-activate):
3684 Also run robin-deactivate-hook.
3685 (robin-deactivate): Rename from robin-inactivate.
3686
2549c068
CY
36872012-07-29 Chong Yidong <cyd@gnu.org>
3688
3689 * simple.el (indicate-copied-region): New function.
3690 (kill-ring-save): Split off from here.
3691
3692 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3693 (kill-rectangle): Set deactivate-mark to t on read-only error.
3694
3695 * register.el (copy-to-register, copy-rectangle-to-register):
3696 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
3697 (append-to-register, prepend-to-register): Call indicate-copied-region.
3698
36992012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
3700
3701 * simple.el (async-shell-command-buffer): New defcustom.
3702 (shell-command): Use it. (Bug#4719)
3703
01bd1b0d
EZ
37042012-07-28 Eli Zaretskii <eliz@gnu.org>
3705
3706 * international/mule-cmds.el (set-locale-environment): In a
3707 console session on MS-Windows, set up keyboard and terminal
3708 encoding from the OEM codepage, not the ANSI codepage.
3709 (Bug#12055)
3710
a55739d3
CY
37112012-07-28 Chong Yidong <cyd@gnu.org>
3712
3713 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3714 gdb-get-location.
3715
0e1a094f 37162012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
3717
3718 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3719 the alist (bug#12029).
3720
20329d73
EZ
37212012-07-28 Eli Zaretskii <eliz@gnu.org>
3722
3723 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3724 (compile-always, compile-first)
3725 ($(lisp)/calendar/cal-loaddefs.el)
3726 ($(lisp)/calendar/diary-loaddefs.el)
3727 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3728 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3729 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3730 instead of on update-subdirs.
3731 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3732
345a2258
CY
37332012-07-28 Chong Yidong <cyd@gnu.org>
3734
1eee6341
CY
3735 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3736 directory if vc-deduce-backend returns nil (Bug#7350).
3737
345a2258
CY
3738 * simple.el (delete-trailing-lines): New option.
3739 (delete-trailing-whitespace): Obey it (Bug#11879).
3740
049a0936
DE
37412012-07-28 David Engster <deng@randomsample.de>
3742
3743 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3744 Explanation of new 'symbol-qnames feature in doc-strings.
3745 (xml-maybe-do-ns): Return expanded names as plain symbols if
3746 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3747 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3748
aa81af71
FEG
37492012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3750
3751 Consistent completion in inferior python with emacs -nw.
3752 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3753 binding in inferior-python-mode-map with "\t".
3754 (python-shell-completion-complete-at-point)
3755 (python-completion-complete-at-point): Remove interactive spec.
3756
e827b1eb
JB
37572012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3758
3759 * calc/calccomp.el (math-compose-expr): Undo previous change.
3760
a90dfb95
FEG
37612012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3762
4250fdf5 3763 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
3764 run-python.
3765 (python-shell-make-comint): Fix pop-to-buffer call.
3766 (run-python): Autoload. New arg SHOW.
3767 (python-shell-get-or-create-process): Do not pop python process
3768 buffer.
3769
32770973 37702012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
3771
3772 * notifications.el (notifications-on-action-signal)
3773 (notifications-on-closed-signal): Use also the bus address for the map.
3774 (notifications-notify, notifications-close-notification)
fc0c31f8 3775 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 3776
86332df2
TH
37772012-07-27 Tassilo Horn <tsdh@gnu.org>
3778
4250fdf5
SM
3779 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3780 Add support for the lstlisting and minted environments, and for the
86332df2
TH
3781 ctable macro.
3782 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3783 labels written in keyvals syntax.
3784
ca1302a4
JB
37852012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3786
3787 * calc/calccomp.el (math-compose-expr): Use parentheses when
3788 there is a product in the denominator of a fraction.
3789
f8b91036
EZ
37902012-07-26 Eli Zaretskii <eliz@gnu.org>
3791
3792 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3793 ($(lisp)/calendar/diary-loaddefs.el)
3794 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
3795 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3796 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
3797 rewritten while the autoload files are built at the same time,
3798 which needs to load subdirs.el.
3799
c8e5a42c
MR
38002012-07-26 Martin Rudalics <rudalics@gmx.at>
3801
3802 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3803 (mouse-drag-line): Don't exit tracking when a switch-frame or
3804 switch-window event occurs (Bug#12006).
3805
670d85ea
SM
38062012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3807
3808 * mouse.el (popup-menu): Fix last change.
3809
7abaf5cc
SM
38102012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3811
3812 Autoload from Lisp with more care. Follow aliases when looking for
3813 function properties.
3814 * subr.el (autoloadp): New function.
3815 (symbol-file): Use it.
3816 (function-get): New function.
3817 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3818 autoload-do-load.
3819 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3820 (lisp-indent-function):
3821 * emacs-lisp/gv.el (gv-get):
3822 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3823 * emacs-lisp/byte-opt.el (byte-optimize-form):
3824 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3825 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3826 Use function-get.
3827 * emacs-lisp/cl.el: Don't propagate function properties any more.
3828
3829 * speedbar.el (speedbar-add-localized-speedbar-support):
3830 * emacs-lisp/disass.el (disassemble-internal):
3831 * desktop.el (desktop-load-file):
3832 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3833 (describe-function-1):
3834 * emacs-lisp/find-func.el (find-function-noselect):
3835 * emacs-lisp/elp.el (elp-instrument-function):
3836 * emacs-lisp/advice.el (ad-has-proper-definition):
3837 * apropos.el (apropos-safe-documentation, apropos-macrop):
3838 * emacs-lisp/debug.el (debug-on-entry):
3839 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3840 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3841 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3842
b1364986
AA
38432012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3844
3845 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3846 function, not an obsolete variable (Bug#12046).
3847
67ada220
AS
38482012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3849
3850 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3851
f08088e3
CS
38522012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3853
3854 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3855 window only if it is still live (Bug#12034).
3856
8137e7b3
MR
38572012-07-25 Martin Rudalics <rudalics@gmx.at>
3858
3859 * subr.el (redirect-frame-focus): Add advertised calling
3860 convention (Bug#12030).
3861
09ae5da1
PE
38622012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3863
3864 Prefer typical American spelling for "acknowledgment".
3865 * vc/add-log.el (change-log-acknowledgment): Rename from
3866 change-log-acknowledgement, with an alias for the old name.
3867
3cc5a3a8
JB
38682012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3869
3870 * calc-alg.el (math-simplify-divide): Don't cross multiply
3871 in an equation when the lhs is a variable.
3872
b7af7f62
JD
38732012-07-24 Julien Danjou <julien@danjou.info>
3874
3875 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3876 Remove, unused.
3877
ec1b09b1
EZ
38782012-07-23 Eli Zaretskii <eliz@gnu.org>
3879
3880 * startup.el (command-line): Don't display an empty user name in
3881 the error message about non-existent home directory, when
3882 init-file-user was set to an empty string. See
3883 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3884 for the details and context.
3885
b525fd8a
VB
38862012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3887
3888 * ses.el (ses-cell-formula-aset): New macro.
3889 (ses-cell-references-aset): New macro.
3890 (ses-cell-p): New function.
3891 (ses-rename-cell): Do no longer rely on complex operations like
3892 ses-cell-set-formula or ses-set-cell to change the cell and handle
3893 the undo at the same time, but rather use lower level new macros
3894 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 3895 the undo directly. Refresh the mode line.
b525fd8a 3896
2c73e345
LL
38972012-07-21 Leo Liu <sdl.web@gmail.com>
3898
670d85ea
SM
3899 * progmodes/cc-cmds.el (c-defun-name):
3900 Use match-string-no-properties instead for consistency.
2c73e345 3901
542dfbde
LL
39022012-07-20 Leo Liu <sdl.web@gmail.com>
3903
3646bcd6
LL
3904 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3905 (Bug#7879)
3906
542dfbde
LL
3907 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3908
25721031
CY
39092012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3910
3911 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3912 * progmodes/bug-reference.el, misearch.el: Provide themselves
3913 (bug#11915).
3914
3915 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3916 of narrowed buffer (bug#11966).
3917
316e68a7
VB
39182012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3919
3920 * ses.el (ses-rename-cell): Set new name also in reference list of
3921 cells of which the renamed cell depends.
3922
bbf0e7d9
MY
39232012-07-20 Masatake YAMATO <yamato@redhat.com>
3924
3925 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3926 to check whether menu-bar is shown or not. If not shown,
3927 show the menu-bar as a popup menu instead of using tmm.
3928 * mouse.el (popup-menu): Accept `point' as `position' argument.
3929
c28662a8
DG
39302012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3931
3932 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3933 up inside string symbol literal (bug#11923).
3934
87ab808f
EZ
39352012-07-20 Eli Zaretskii <eliz@gnu.org>
3936
3937 * startup.el (fancy-startup-text): Read the whole tutorial, not
3938 just its first 256 bytes. Prevents gibberish in display of the
3939 tutorial title.
3940
89dea803
DA
39412012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3942
3943 Drop idle buffer compaction due to an absence of the
3944 proved efficiency.
3945 * compact.el: Remove.
3946
8a4e6db8
SS
39472012-07-19 Sam Steingold <sds@gnu.org>
3948
3949 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3950 vc-bzr-pull & vc-bzr-merge-branch.
3951 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3952 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3953 for consistency with compilation-error-regexp-alist.
3954 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3955 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3956 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3957 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3958
5db81e33
SM
39592012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3960
3961 * emacs-lisp/chart.el: Use lexical-binding.
3962 (chart-emacs-storage): Don't hardcode the list of entries.
3963
5b835e1d
DA
39642012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3965
3966 Next round of tweaks caused by Fgarbage_collect changes.
3967 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3968
9cd47b72
DA
39692012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3970
3971 Compact buffers when idle.
3972 * compact.el: New file.
3973
1d6fc0df
SM
39742012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3975
3976 * subr.el (eventp): Presume that if it looks vaguely like an event,
3977 it's an event (bug#10190).
3978
1d29cc7d
FEG
39792012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3980
3981 Enhancements to ppss related code (thanks Stefan).
3982 * progmodes/python.el (python-indent-context)
3983 (python-indent-calculate-indentation, python-indent-dedent-line)
3984 (python-indent-electric-colon, python-nav-forward-block)
3985 (python-mode-abbrev-table)
1d6fc0df 3986 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
3987 for ppss context.
3988 (python-info-continuation-line-p): Cleanup.
3989 (python-info-ppss-context): Do not catch 'quote.
3990 (python-info-ppss-context-type)
3991 (python-info-ppss-comment-or-string-p): Simplify.
3992
d583cbe6
FEG
39932012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3994
3995 * progmodes/python.el: Enhancements to eldoc support.
3996 (python-info-current-symbol): New function.
3997 (python-eldoc-at-point): Use python-info-current-symbol.
3998 (python-info-current-defun): Fix cornercase on first defun scan.
3999 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4000 and signal error when no inferior python process is available.
4001
eceb6feb
DG
40022012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4003
4004 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4005 assume it's always t.
4006 (vc-git-registered): Remove caching, the function is only called
4007 once.
4008 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4009
4c8ff0fe
CY
40102012-07-18 Chong Yidong <cyd@gnu.org>
4011
19fb7186
CY
4012 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4013
9587c688
CY
4014 * simple.el (count-words): Report on narrowing (Bug#9959).
4015
0fe776a1
CY
4016 * bindings.el: Bind M-= to count-words.
4017
4c8ff0fe
CY
4018 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4019
7f5331cc
MY
40202012-07-18 Masatake YAMATO <yamato@redhat.com>
4021
4022 * progmodes/sh-script.el (sh-imenu-generic-expression):
4023 Capture a function with `function' keyword and without parentheses
4024 like "function FOO" (bug#11856).
4025
2dc2a609
TH
40262012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4027
4028 * window.el (split-window-sensibly): Make WINDOW argument
4029 optional.
4030
439f7677
CY
40312012-07-18 Chong Yidong <cyd@gnu.org>
4032
9aeb25a6
CY
4033 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4034
439f7677
CY
4035 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4036 and make C-x 8 RET exit isearch (Bug#11439).
4037
4038 * international/iso-transl.el: Move isearch-mode-map key
4039 definitions to isearch.el.
4040
12999ea8
SM
40412012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4042
4043 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4044 (eieio-defclass): Use gv-define-setter when possible.
4045
3ab6e069
DA
40462012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4047
4048 Reflect recent changes in Fgarbage_collect.
4049 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4050 reflect new format of data returned by Fgarbage_collect.
4051
0a60bc10
FEG
40522012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4053
4054 New utility functions + python-info-ppss-context fix (Bug#11910).
4055 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4056 (python-info-ppss-comment-or-string-p): New functions.
4057 (python-info-ppss-context): Small fix for string check.
4058
6dafa0d5
JL
40592012-07-17 Juri Linkov <juri@jurta.org>
4060
4061 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4062 (dired-do-async-shell-command): Don't add `*' at the end of the
4063 command (Bug#11815).
4064 (dired-do-shell-command): Doc fix.
4065 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4066 Join the individual commands using either "&" or ";" as the
4067 separator depending on the values of these trailing characters.
4068 At the end re-add the trailing "&". (Bug#10598)
4069
4070 * simple.el (async-shell-command): Sync the interactive spec with
4071 `shell-command'. Doc fix.
4072 (shell-command): Doc fix.
4073
b19dd9d1
JL
40742012-07-17 Juri Linkov <juri@jurta.org>
4075
4076 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4077
bcdc27d7 40782012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 4079
bcdc27d7 4080 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
4081 * progmodes/python.el (python-nav-beginning-of-statement):
4082 Rename from python-nav-statement-start.
bcdc27d7
FEG
4083 (python-nav-end-of-statement): Rename from
4084 python-nav-statement-end.
4085 (python-nav-beginning-of-block): Rename from
4086 python-nav-block-start.
4087 (python-nav-end-of-block): Rename from python-nav-block-end.
4088
191da00e
FEG
40892012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4090
7f5331cc
MY
4091 * progmodes/python.el (python-shell-send-string-no-output):
4092 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
4093 future interactions (Bug#11868).
4094
4dc7c8d5 40952012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 4096
88ecaf8f
SM
4097 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4098
ef501ef0
SM
4099 * emacs-lisp/elint.el (elint-find-args-in-code):
4100 Use help-function-arglist, so as to handle lexical byte-code.
4101
aa7aaf8f
SM
4102 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4103 change (bug#11826).
4104
45fd731c
SM
41052012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4106
2143fa32
SM
4107 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4108 Avoid spuriously marking the buffer as modified because of c-is-sws.
4109
efc26dbe
SM
4110 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4111 as not-a-comment (bug#11946).
4112
f5695c9a
SM
4113 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4114 for uninterned vars.
4115
4116 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4117 Use read-event since we don't really want to read chars but bytes.
4118
45fd731c
SM
4119 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4120 $$..$$ but also $..$ using regexps (bug#11953).
4121 Use tex-verbatim for \url and \path.
4122 (tex-font-lock-keywords): Define as defconst like the others.
4123 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4124
ddfc8813
RK
41252012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4126
4127 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4128 alias for insert-char.
4129
758e556a
FEG
41302012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4131
4132 * progmodes/python.el: Simplified imenu implementation.
4133 (python-nav-jump-to-defun): Remove command.
4134 (python-mode-map): Use `imenu' instead.
4135 (python-nav-list-defun-positions-cache)
4136 (python-imenu-include-defun-type, python-imenu-make-tree)
4137 (python-imenu-subtree-root-label, python-imenu-index-alist):
4138 Remove vars.
4139 (python-nav-list-defun-positions, python-nav-read-defun)
4140 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
4141 (python-imenu-make-tree, python-imenu-create-index):
4142 Remove functions.
758e556a
FEG
4143 (python-mode): Update to interact with imenu by setting
4144 `imenu-extract-index-name-function' only.
4145
032d23ab
FEG
41462012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4147
4148 * progmodes/python.el: Enhancements to navigation commands.
4149 (python-nav-backward-sentence)
4150 (python-nav-forward-sentence): Remove.
4151 (python-nav-backward-statement, python-nav-forward-statement)
4152 (python-nav-statement-start, python-nav-statement-end)
4153 (python-nav-backward-block, python-nav-forward-block)
4154 (python-nav-block-start, python-nav-block-end)
4155 (python-nav-forward-sexp-function)
4156 (python-info-current-line-comment-p)
4157 (python-info-current-line-empty-p): New functions.
4158 (python-indent-context): Use `python-nav-statement-start'.
4159
01795a1b
MA
41602012-07-16 Michael Albinus <michael.albinus@gmx.de>
4161
9328d9aa
MA
4162 * eshell/em-ls.el (eshell/ls): Use `apply'.
4163
4164 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4165 multi-hops, instead of Tramp internals.
4166
01795a1b
MA
4167 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4168
4169 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4170 when F1 and F2 are located on different hosts.
4171
63408057
CY
41722012-07-14 Chong Yidong <cyd@gnu.org>
4173
4174 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4175 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4176 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4177 (xterm-mouse--read-event-sequence-1000)
4178 (xterm-mouse--read-event-sequence-1006): New functions. For old
4179 mouse protocol, handle M-mouse-X events correctly.
4180 (xterm-mouse-event): New arg specifying mouse protocol.
4181 (turn-on-xterm-mouse-tracking-on-terminal)
4182 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
4183 sequence to toggle extended coordinates on newer XTerms.
4184 This appears to be harmless on terminals which do not support this.
63408057 4185
cd276f6e
LL
41862012-07-14 Leo Liu <sdl.web@gmail.com>
4187
28ca98ac
LL
4188 Add fringe bitmap indicators for flymake. (Bug#11253)
4189 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4190 (flymake-make-overlay): New arg BITMAP.
4191 (flymake-error-bitmap, flymake-warning-bitmap)
4192 (flymake-fringe-indicator-position): New user variables.
4193
cd276f6e
LL
4194 * fringe.el: New bitmap exclamation-mark.
4195
04408072
JD
41962012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4197
4198 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4199 also (Bug#7879).
4200
b5cf7fc4
CY
42012012-07-14 Chong Yidong <cyd@gnu.org>
4202
4203 * electric.el (electric-pair-post-self-insert-function): Fix pair
4204 insertion in empty-region case (Bug#11520).
4205
be755c79
RT
42062012-07-14 Chong Yidong <cyd@gnu.org>
4207
45fd731c
SM
4208 * bindings.el: Consolidate ctl-x-r-map bindings.
4209 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
4210
4211 * rect.el, register.el: Move bindings to bindings.el.
4212
42132012-07-14 Reuben Thomas <rrt@sc3d.org>
4214
4215 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4216
7f5b3198
AS
42172012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4218
4219 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4220
97662200
JB
42212012-07-13 Juanma Barranquero <lekktu@gmail.com>
4222
80185fed
JB
4223 * bindings.el (top): Use `mapc' instead of `mapcar'.
4224
97662200
JB
4225 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4226
2bb1ae55
MA
42272012-07-13 Michael Albinus <michael.albinus@gmx.de>
4228
4229 * progmodes/sql.el (sql-comint): Suppress the check for program on
4230 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4231 (Bug#11908)
4232
dea31bd3
CY
42332012-07-13 Chong Yidong <cyd@gnu.org>
4234
4235 * bindings.el: Assign a non-nil permanent-local property to
4236 per-buffer variables which lack a default value (Bug#11930).
4237
4238 * help-fns.el (describe-variable): In the "automatically becomes
4239 local" notice, take note of permanent-local variables.
4240
b68b3337
CY
42412012-07-13 Chong Yidong <cyd@gnu.org>
4242
4243 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4244 to allow printing the message when called from Lisp.
4245
4246 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4247 Remove toggle-read-only.
4248
4249 * bs.el (bs-toggle-readonly):
45fd731c
SM
4250 * buff-menu.el (Buffer-menu-toggle-read-only):
4251 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
4252
4253 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4254 Remove with-no-warnings around toggle-read-only.
4255 (ffap-read-only, ffap-read-only-other-window)
4256 (ffap-read-only-other-frame): Callers changed.
4257
4258 * help-mode.el: Don't require view package.
4259 (help-mode-finish): Set buffer-read-only instead of calling
4260 toggle-read-only.
4261
4262 * bindings.el (mode-line-toggle-read-only):
4263 * dired.el (dired-toggle-read-only):
4264 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4265 with non-nil second arg.
4266
4267 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4268 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4269 directly.
4270
56bc1586
EZ
42712012-07-12 Eli Zaretskii <eliz@gnu.org>
4272
4273 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4274 not incf.
4275
a464a6c7
SM
42762012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4277
4278 More CL cleanups and reduction of use of cl.el.
4279 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4280 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4281 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4282 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4283 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4284 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4285 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4286 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4287 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4288 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4289 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4290 * eshell/em-cmpl.el, eshell/em-banner.el:
4291 * calendar/parse-time.el: Use cl-lib.
4292 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4293 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4294 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4295 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4296 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4297 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4298 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4299 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4300 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4301 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4302 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4303 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4304 `lambda' rather than with `quote'.
4305 (eshell-do-opt): Adjust accordingly.
4306 (eshell-process-option): Simplify.
4307 * eshell/esh-var.el:
4308 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4309 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4310 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4311 to `pcase--dontcare'.
4312 * emacs-lisp/cl.el (labels): Mark obsolete.
4313 (cl--letf, letf): Move to cl-lib.
4314 (cl--letf*, letf*): Remove.
4315 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4316 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4317 (cl-progv): Rewrite.
4318 (cl--letf, cl-letf): Move from cl.el.
4319 (cl-letf*): New macro.
4320 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4321
7ad4afe1
MA
43222012-07-11 Michael Albinus <michael.albinus@gmx.de>
4323
4324 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4325
9af57756
CY
43262012-07-11 Chong Yidong <cyd@gnu.org>
4327
4328 * vc/log-edit.el (log-edit-vc-backend): New variable.
4329 (log-edit): Doc fix.
4330
4331 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4332 argument of log-edit to set up all local variables.
4333 (vc-start-logentry): New optional arg specifying VC backend.
4334
4335 * vc/vc.el (vc-checkin): Use it.
4336 (vc-deduce-fileset): Handle Log Edit buffers.
4337 (vc-diff): Make first argument optional too.
4338
4339 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4340
8477cc7a
MA
43412012-07-10 Michael Albinus <michael.albinus@gmx.de>
4342
4343 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4344 command, just in case. The function is not needed anymore.
4345 (eshell-external-command): Do not call `eshell-remote-command'.
4346
19faa8e8
SM
43472012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4348
f58e0fd5
SM
4349 Reduce use of (require 'cl).
4350 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4351 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4352 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4353 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4354 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4355 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4356 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4357 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4358 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4359 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4360 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4361 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4362 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4363 (byte-compile-unfold-bcf, byte-compile-check-variable):
4364 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4365 (byte-compile-nilconstp):
4366 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4367 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4368
2519d43a
SM
4369 * emacs-lisp/gv.el (cond): Make it a valid place.
4370 (if): Simplify slightly.
4371
19faa8e8
SM
4372 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4373 (pcase--self-quoting-p): New function.
4374 (pcase--u1): Use it.
4375
c4907a5e
GM
43762012-07-10 Glenn Morris <rgm@gnu.org>
4377
4378 * emacs-lisp/authors.el (authors-fixed-entries):
4379 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4380
c4444d16
PE
43812012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4382
4383 Rename configure.in to configure.ac (Bug#11603).
4384 * emacs-lisp/authors.el (authors-canonical-file-name):
4385 * progmodes/autoconf.el (autoconf-mode):
4386 Prefer configure.ac to configure.in.
4387
d75be97d
CY
43882012-07-08 Chong Yidong <cyd@gnu.org>
4389
01ac65bd
CY
4390 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4391 Implement the mouse-1-click-follows-link handling properly.
4392
4393 * info.el (Info-link-keymap): Use follow-link mechanism for
4394 header-line links (Bug#374).
4395
d75be97d
CY
4396 * simple.el (deactivate-mark): Do not set the primary selection
4397 if another program has acquired it (Bug#11772).
4398
87a92845 43992012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
4400
4401 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4402 (woman-decode-region): Replace escaped-escapes without destroying
4403 bold or underline (Bug#11552).
87a92845 4404 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 4405
621b9d6c
CY
44062012-07-07 Chong Yidong <cyd@gnu.org>
4407
4408 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
4409 (interprogram-cut-function, interprogram-paste-function):
4410 Mention that we typically mean the clipboard.
621b9d6c 4411
133a11fc
GM
44122012-07-06 Glenn Morris <rgm@gnu.org>
4413
0d27a45e
GM
4414 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4415
133a11fc
GM
4416 * files.el (toggle-read-only): Restrict message to interactive use.
4417
07b151f1
MA
44182012-07-06 Michael Albinus <michael.albinus@gmx.de>
4419
4420 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4421
4422 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4423
211b896b
GM
44242012-07-06 Glenn Morris <rgm@gnu.org>
4425
50394322
GM
4426 * Makefile.in (compile-one-process): Rename from "recompile".
4427
211b896b
GM
4428 * Makefile.in (bzr-update): "compile" is the same as "recompile
4429 autoloads", but parallelizable, so use that instead.
4430
4737eec9
DG
44312012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4432
4433 * window.el (quit-window): Always restore window height when
8137e7b3 4434 it's saved in quit-restore parameter (Bug#11810).
4737eec9 4435
226c3633 44362012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
4437
4438 * simple.el (kill-whole-line): Doc tweak.
4439
226c3633 44402012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
4441
4442 * files.el (file-relative-name): Compare file names
4443 case-insensitively if on MS-Windows or MS-DOS, or if
4444 read-file-name-completion-ignore-case is non-nil. Don't use
4445 case-fold-search for this purpose. (Bug#11827)
4446
4dc7c8d5
SM
44472012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4448
4449 * calendar/cal-dst.el (calendar-current-time-zone):
4450 Return calendar-current-time-zone-cache if non-nil.
4451
44522012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 44532012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4454
19faa8e8
SM
4455 * calendar/cal-dst.el (calendar-current-time-zone):
4456 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4457
60198fc9
GM
44582012-07-06 Glenn Morris <rgm@gnu.org>
4459
4460 * Makefile.in (cvs-update): Remove old alias.
4461
957b3189
MA
44622012-07-05 Michael Albinus <michael.albinus@gmx.de>
4463
4464 Sync with Tramp 2.2.6-pre.
4465
4466 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4467 compatible declaration.
4468
19faa8e8
SM
4469 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4470 Protect `list-load-path-shadows' call.
957b3189
MA
4471
4472 * net/tramp-compat.el (top): Require packages, which aren't
4473 autoloaded anymore for XEmacs. Protect call of
4474 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4475 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4476 it hurts at least for SXEmacs.
4477 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4478 standard-value for `temporary-file-directory'.
4479
4480 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4481 Redirect stderr to /dev/null.
4482 (tramp-sh-handle-write-region): uid and gid can be floats.
4483 Reported by Russell Sim <russell.sim@gmail.com>.
4484 (tramp-sh-handle-vc-registered): Hide errors.
4485 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4486 and `start-file-process'.
4487 (tramp-maybe-open-connection): Check also whether `non-essential'
4488 is bound.
4489
566df3fc
CY
44902012-07-04 Chong Yidong <cyd@gnu.org>
4491
4492 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4493 (xml-parse-tag): Likewise, and avoid changing entity tables.
4494 (xml-syntax-table): Define from scratch, making sure not to give
4495 x2000 and other Unicode spaces whitespace syntax, since those are
4496 not spaces in XML.
4497 (xml-parse-fragment): Delete unused function.
4498 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4499 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4500 (xml-entity-ref, xml-pe-reference-re)
4501 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4502 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4503 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4504 (xml-entity-value-re): Use syntax references in regexps where
4505 possible; no need to define inside a let-binding.
4506 (xml-parse-dtd): Use xml-pe-reference-re.
4507 (xml-entity-or-char-ref-re): New defconst.
4508 (xml-parse-string, xml-substitute-special): Use it.
4509
30eabd7a
SM
45102012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4511
0781098a
SM
4512 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4513 (find-file--read-only): New function.
4514 (find-file-read-only, find-file-read-only-other-window)
4515 (find-file-read-only-other-frame): Use it.
4516 (insert-file-contents-literally): Don't `fset'.
4517 (get-free-disk-space): Use locate-dominating-file.
4518
b5771c0d
SM
4519 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4520 function is already compiled.
4521
30eabd7a
SM
4522 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4523
b4886f6e
MA
45242012-07-03 Michael Albinus <michael.albinus@gmx.de>
4525
4526 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4527 files on the same host.
4528
b9d82339
AS
45292012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4530
4531 * help-fns.el (describe-function-1): Only call
4532 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4533
a76e6535
CY
45342012-07-03 Chong Yidong <cyd@gnu.org>
4535
4536 * xml.el: Protect parser against XML bombs.
4537 (xml-entity-expansion-limit): New variable.
4538 (xml-parse-string, xml-substitute-special): Use it.
4539 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4540
b544fef2
GM
45412012-07-03 Glenn Morris <rgm@gnu.org>
4542
4543 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4544 Allow linking to specific messages in debbugs reports (eg 123#5).
4545
a7aef6f5
CY
45462012-07-02 Chong Yidong <cyd@gnu.org>
4547
4548 * xml.el: Fix entity and character reference expansion, allowing
4549 them to expand into markup as per XML spec.
4550 (xml-default-ns): New variable.
4551 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
4552 (xml-parse-region): Make first two arguments optional.
4553 Discard text properties.
4554 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4555 All callers changed.
a7aef6f5
CY
4556 (xml-parse-tag): Call xml-parse-tag-1. For backward
4557 compatibility, this function should not modify buffer contents.
4558 (xml-parse-tag-1): Fix opening-tag regexp.
4559 (xml-parse-string): Rewrite, handling entity and character
4560 references properly.
4561 (xml--entity-replacement-text): Signal an error if a parameter
4562 entity is undefined.
4563
3df31c9f
SM
45642012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4565
2b5208f1
SM
4566 * comint.el (comint-output-filter): Filter out repeated prompts.
4567
3df31c9f
SM
4568 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4569 and file-name-absolute-p.
4570 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4571 internal calls.
4572
e3ac1281
PE
45732012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4574
4575 Spelling fixes.
4576 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4577 Rename from byte-compile--refiy-function. All uses changed.
4578
fbf2e7ad
CY
45792012-07-01 Chong Yidong <cyd@gnu.org>
4580
4581 * xml.el (xml--parse-buffer): New function. Move most of
4582 xml-parse-region here.
4583 (xml-parse-region): Copy region into a temporary buffer, since
4584 parameter entity substitution requires changing buffer contents.
4585 Use xml--parse-buffer.
4586 (xml-parse-file): Use xml--parse-buffer.
4587 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 4588 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 4589
9bf0aa15
GM
45902012-06-30 Glenn Morris <rgm@gnu.org>
4591
bbce2853
GM
4592 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4593
9bf0aa15
GM
4594 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4595 Remove outdated and unnecessary dbus declarations.
4596
0d23c240
EZ
45972012-06-30 Eli Zaretskii <eliz@gnu.org>
4598
4599 * emacs-lisp/timer.el (timer-until): Subtract results of
4600 float-time, instead of taking float-time of the result of
4601 time-subtract, since float-time signals an error for negative time
4602 arguments.
4603
b3218de1
CY
46042012-06-30 Chong Yidong <cyd@gnu.org>
4605
4606 * xml.el (xml-*-re): Convert defvars into defconsts, and
4607 eval-and-compile them so eval-and-compile works on derivatives.
4608 (xml--entity-replacement-text): Use eval-and-comple.
4609
a40c87a0
MA
46102012-06-30 Michael Albinus <michael.albinus@gmx.de>
4611
4612 * vc/vc-git.el (vc-git-registered): Use cache property
4613 `git-registered'.
4614 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4615 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 4616 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 4617
ac87de97
DG
46182012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4619
4620 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 4621 removed (likely outside Emacs). (Bug#11757)
ac87de97 4622
ac10fe06
SM
46232012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4624
3df31c9f 4625 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 4626
7f3fbd5d
CY
46272012-06-30 Chong Yidong <cyd@gnu.org>
4628
4629 * xml.el: Implement XML parameter entities.
4630 (xml-parameter-entity-alist): New variable.
4631 (xml-parse-region, xml-parse-fragment): Preserve previous values
4632 of xml-entity-alist and xml-parameter-entity-alist, so that
4633 repeated calls on different documents do not change them.
4634 (xml-parse-tag): Fix doctype regexp.
4635 (xml--entity-replacement-text): New function.
4636 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4637 properly requires url retrieval which is unimplemented.
4638 (xml-escape-string): Doc fix.
4639
3cfbebba
SM
46402012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4641
4642 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4643
2af3565e
DA
46442012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4645
4646 * fringe.el (fringe-mode): Doc fix.
4647
929df0e7
MA
46482012-06-29 Michael Albinus <michael.albinus@gmx.de>
4649
4650 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4651 is non-nil.
4652 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4653 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4654
c8d3a25c 46552012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4656
c8d3a25c
GM
4657 * calendar/cal-dst.el (calendar-current-time-zone):
4658 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4659
c8d3a25c 46602012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
4661
4662 * progmodes/which-func.el (which-func-format):
4663 Add mouse-face. (Bug#11698)
4664
c8d3a25c
GM
46652012-06-29 Leo Liu <sdl.web@gmail.com>
4666
4667 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4668
46692012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4670
4671 * minibuffer.el (minibuffer-confirm-exit-commands):
4672 Add completion-at-point (bug#11725).
4673
46742012-06-29 Glenn Morris <rgm@gnu.org>
4675
4676 * progmodes/f90.el (f90-font-lock-keywords-2):
4677 Add some preprocessor elements. (Bug#10499)
4678
46792012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4680
4681 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4682 Use syntax-propertize (bug#11739).
4683
2badeec4
JB
46842012-06-28 Juanma Barranquero <lekktu@gmail.com>
4685
4686 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4687
ae4969c2
JD
46882012-06-28 Julien Danjou <julien@danjou.info>
4689
4690 * term.el (term-handle-colors-array): Use a set of new faces to
4691 color the terminal. Also uses :inverse-video property.
4692 (term-default-fg-color): Set to nil by default, deprecate in favor
4693 of `term-face'.
4694 (term-default-bg-color): Set to nil by default, deprecate in favor
4695 of `term-face'.
4696 (term-current-face): Use `term-face' by default.
4697 (term-bold-attribute): Variable deleted.
4698
1c9bd870
GM
46992012-06-28 Glenn Morris <rgm@gnu.org>
4700
4701 * simple.el (completion-list-mode-finish):
4702 Don't use toggle-read-only. (Since completion-list-mode has
4703 a special mode-class, it wasn't doing anything extra anyway.)
4704
c207708c
SM
47052012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4706
4707 Make inlining of other-mode interpreted functions work (bug#11799).
4708 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4709 (byte-compile): Use it to fix compilation of lexical-binding closures.
4710 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4711 function, if needed.
4712
3fd56834
SM
47132012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4714
04901786
SM
4715 * help-mode.el (help-make-xrefs): Don't just withstand
4716 cyclic-variable-indirection but any error in documentation-property.
4717
1ec4b7b2
SM
4718 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4719 memory use.
4720 * bindings.el (bindings--define-key): New function.
4721 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4722 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4723 * bindings.el: Use it to purecopy define-key bindings.
4724
e309e2a5
SM
4725 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4726
d5c6faf9
SM
4727 * emacs-lisp/cl.el (flet): Mark obsolete.
4728 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4729 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4730 * progmodes/js.el (js-c-fill-paragraph):
4731 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4732 (ebrowse-switch-member-buffer-to-derived-class):
4733 * play/5x5.el (5x5-solver): Use cl-flet.
4734
6e9590e2
SM
4735 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4736 (cl--symbol-function): New macro.
4737 (cl--letf, cl--letf*): Use it.
4738
3fd56834
SM
4739 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4740 Strip "toggle-" if any.
4741
35ff222c
GM
47422012-06-27 Glenn Morris <rgm@gnu.org>
4743
1ba6038a
GM
4744 * info.el (Info-default-directory-list): Move here from paths.el.
4745 * paths.el: Remove file, which is now empty.
4746 * loadup.el: No longer load "paths".
4747
0ea0e51b
GM
4748 * custom.el (custom-initialize-delay): Doc fix.
4749
35ff222c
GM
4750 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4751 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4752 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4753 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4754 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4755 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4756 * eshell/eshell.el (eshell-defgroup): Remove alias.
4757
c89926a5
CY
47582012-06-27 Chong Yidong <cyd@gnu.org>
4759
4760 * help.el (help-enable-auto-load): New variable.
4761
4762 * help-fns.el (help-fns--autoloaded-p): New function.
4763 (describe-function-1): Refer to a function as "autoloaded" if it
4764 was autoloaded at any time in the past. Perform autoloading if
4765 help-enable-auto-load is non-nil.
4766
cc06e7e7
EZ
47672012-06-26 Eli Zaretskii <eliz@gnu.org>
4768
4769 * makefile.w32-in (compile, compile-always): Depend on
4770 update-subdirs, not on subdirs.el. Otherwise, several different
4771 sub-targets of 'bootstrap' running in parallel could
4772 simultaneously write to subdirs.el, producing a garbled file.
4773
d2c32364
SS
47742012-06-26 Sam Steingold <sds@gnu.org>
4775
4776 * files.el (file-name-base): New convenience function.
0d14cc21
GM
4777 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4778 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4779 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4780 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4781 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
4782 * textmodes/tex-mode.el: Use it.
4783 Did not touch cedet and org because they are maintained elsewhere.
4784
5cf983b2
MR
47852012-06-26 Martin Rudalics <rudalics@gmx.at>
4786
4787 * calendar/calendar.el (calendar-exit): Don't try to delete or
4788 iconify last frame. See:
4789 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4790
8c4f2952
JD
47912012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4792
4793 * server.el (server-process-filter): Remember dir in the
4794 process's `server-client-directory' properties.
4795
772b2e2c
CY
47962012-06-24 Chong Yidong <cyd@gnu.org>
4797
4798 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4799 non-tag text.
4800
711b11e1
JB
48012012-06-23 Juanma Barranquero <lekktu@gmail.com>
4802
4803 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4804
dc5d230c
SM
48052012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4806
4807 * help-fns.el (describe-variable): Don't croak when doc is not found.
4808 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4809 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4810 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4811 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4812 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4813 ((lambda ..) ..).
4814 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4815
136e1c1d
CY
48162012-06-23 Chong Yidong <cyd@gnu.org>
4817
e8c1cabf
CY
4818 * info.el (Info-mouse-follow-link): Accept symbol values of
4819 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
4820 (Info-fontify-node): Use Info-link-keymap for all navigation
4821 buttons, with link-args property to perform the desired action.
4822 (Info-link-keymap): Doc fix.
4823 (Info-next-link-keymap, Info-prev-link-keymap)
4824 (Info-up-link-keymap): Delete now-unused keymaps.
4825
0e9e6c6a
CY
48262012-06-23 Chong Yidong <cyd@gnu.org>
4827
05e89fea
CY
4828 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4829
0e9e6c6a
CY
4830 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4831 system abbrevs.
4832
4833 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4834
e33c6771
SM
48352012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4836
b68581e2
SM
4837 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4838 (bug#11719).
4839
e33c6771
SM
4840 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4841 the requote function doesn't work properly (bug#11714).
4842
7117e105
GM
48432012-06-23 Glenn Morris <rgm@gnu.org>
4844
4845 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4846
36cec983
SM
48472012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4848
4849 Further GV/CL cleanups.
4850 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4851 gv-expander.
4852 (gv--defun-declaration): New function.
4853 (defun-declarations-alist): Use it.
4854 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4855 (gv-place): Autoload.
4856 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4857 original definition of dotimes and dolist.
4858 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4859 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4860 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4861 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4862 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4863 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4864 to the function's definition.
4865 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4866 * window.el:
4867 * files.el:
4868 * faces.el:
4869 * env.el: Don't use CL.
4870
d35af63c
PE
48712012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4872
4873 Support higher-resolution time stamps (Bug#9000).
4874
4875 * calendar/time-date.el (with-decoded-time-value): New arg
4876 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4877 (encode-time-value): New optional arg PICO. New type 3.
4878 (time-to-seconds) [!float-time]: Support the new picoseconds
4879 component if it's used.
4880 (seconds-to-time, time-subtract, time-add):
4881 Support ps-resolution time stamps as well.
4882
4883 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4884 (timerp): Timer vectors now have length 9, not 8.
4885 (timer--time): Support new-style (4-part) time stamps.
4886 (timer-next-integral-multiple-of-time): Time stamps now have
4887 picosecond resolution, so take a bit more care about rounding.
4888 (timer-relative-time, timer-inc-time): New optional arg psecs.
4889 (timer-set-time-with-usecs): Set psecs to 0.
4890 (timer--activate): Check psecs component, too.
4891
4892 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4893
ac77b21a
SM
48942012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4895
f143bfe3
SM
4896 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4897 Move the non-essential binding to the post/pre-command-hook where it is
4898 more obviously correct.
4899
ac77b21a
SM
4900 * subr.el (read-passwd): Don't use a history at all.
4901 * savehist.el (savehist-save): Remove password saved accidentally
4902 because of the above bug.
4903
76386c5a
BG
49042012-06-22 Bastien Guerry <bzg@gnu.org>
4905
4906 * files.el (toggle-read-only): Display a message telling whether
4907 the buffer is read-only or not (bug#11726).
4908
2ee3d7f0
SM
49092012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4910
4911 * emacs-lisp/gv.el: New file.
4912 * subr.el (push, pop): Extend to generalized variables.
4913 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4914 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4915 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4916 gv-define-simple-setter, and gv-define-expander.
4917 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4918 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4919 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4920 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4921 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4922 gv-letplace.
4923 (cl-defstruct): Don't define setf-method any more.
4924 * emacs-lisp/cl.el (flet): Don't autoload.
4925 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4926 (define-setf-expander, defsetf, define-modify-macro)
4927 (cl-struct-setf-expander): Move from cl-lib.el.
4928 * emacs-lisp/syntax.el:
4929 * emacs-lisp/ewoc.el:
4930 * emacs-lisp/smie.el:
4931 * emacs-lisp/cconv.el:
4932 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4933 (timer--time): Use gv-define-simple-setter.
4934 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4935 to avoid coding-system problems in subr.el. Adjust all users.
4936 (macroexp--maxsize, macroexp-small-p): New functions.
4937 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4938 * scroll-bar.el (scroll-bar-mode):
4939 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4940 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4941 * winner.el (winner-configuration, winner-make-point-alist)
4942 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4943 * files.el (locate-file-completion-table): Avoid list*.
4944
c5695d1d
CY
49452012-06-22 Chong Yidong <cyd@gnu.org>
4946
4947 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4948 (dired-create-files): Doc fix (Bug#11329).
4949 (dired-do-copy): Doc fix (Bug#11334).
4950 (dired-mark-read-string): Doc fix (Bug#11553).
4951
2ee3d7f0
SM
4952 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4953 Doc fix (Bug#11326).
c5695d1d
CY
4954 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4955 (dired-dwim-target): Doc fix.
4956
4957 * wdired.el (wdired-mode): Doc fix.
4958
89b5595a
GM
49592012-06-22 Glenn Morris <rgm@gnu.org>
4960
575db3f1
GM
4961 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4962 (pcmpl-rpm-cache-stamp-file): New constant.
4963 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4964 (pcmpl-rpm-packages): Optionally cache list of packages.
4965
a4c8dd51
GM
4966 * pcmpl-rpm.el (pcmpl-rpm): New group.
4967 (pcmpl-rpm-query-options): New option.
4968 (pcmpl-rpm-packages): No need to inline it.
4969 Use pcmpl-rpm-query-options.
4970
89b5595a
GM
4971 * calendar/calendar.el (calendar-in-read-only-buffer):
4972 Avoid some needless mode changes.
4973
e76f0800
CY
49742012-06-21 Chong Yidong <cyd@gnu.org>
4975
4976 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4977 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 4978 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 4979
297a8f1d
CY
49802012-06-20 Chong Yidong <cyd@gnu.org>
4981
4982 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4983
d34c18b1
DR
49842012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
4985
4986 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4987 (bug#11201).
4988
32f7f28e
CY
49892012-06-20 Chong Yidong <cyd@gnu.org>
4990
4991 * term.el (term-window-width): Handle the case of a missing right
4992 fringe (Bug#8837).
4993 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
4994 (term-mode): Use define-derived-mode. Minor cleanups.
4995 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
4996 (term-move-columns, term-insert-char, term-emulate-terminal)
4997 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 4998
493c6688
MA
49992012-06-20 Michael Albinus <michael.albinus@gmx.de>
5000
d34c18b1
DR
5001 * net/ange-ftp.el (ange-ftp-get-passwd):
5002 Bind `enable-recursive-minibuffers'.
493c6688
MA
5003 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5004
3f06ecf4
DR
50052012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5006
5007 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5008
68f12411
GM
50092012-06-19 Glenn Morris <rgm@gnu.org>
5010
5011 * progmodes/python.el (python-mode): Derive from prog-mode.
5012
b3820318
KG
50132012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5014
5015 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5016 (edt-user-menu-bar-update-buffers): New functions.
5017 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5018
c6bf3022
CY
50192012-06-19 Chong Yidong <cyd@gnu.org>
5020
5021 * subr.el (with-selected-window): Preserve the selected window's
5022 terminal's top-frame (Bug#4702).
5023
5024 * window.el (save-selected-window): Likewise.
5025
25f09295
SM
50262012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5027
5028 * progmodes/python.el (python-rx-constituents): Move backquote.
5029 (python-skeleton-define, python-define-auxiliary-skeleton):
5030 Use `declare'.
5031
6b11952a
MA
50322012-06-18 Michael Albinus <michael.albinus@gmx.de>
5033
5034 * minibuffer.el (read-file-name-default): Revert the patch from
5035 2012-06-17.
5036
ee4b1330
SM
50372012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5038
5039 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5040 (pcase--u1, pcase--q1): Don't use apply-partially.
5041
35647f79
GM
50422012-06-18 Glenn Morris <rgm@gnu.org>
5043
5044 * progmodes/python.el (python-proc, python-buffer)
5045 (python-send-receive, python-send-string): Fix obsolete versions.
5046
24b0cff0
MR
50472012-06-18 Martin Rudalics <rudalics@gmx.at>
5048
5049 * window.el (special-display-p): Completely remove stringp
5050 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5051
29855149
MA
50522012-06-17 Michael Albinus <michael.albinus@gmx.de>
5053
5054 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5055
5056 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5057
5058 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5059 * net/tramp-sh.el (tramp-maybe-open-connection):
5060 Throw if `non-essential' is non-nil.
5061
07463363
MR
50622012-06-17 Martin Rudalics <rudalics@gmx.at>
5063
5064 * window.el (special-display-p): Signal an error if BUFFER-NAME
5065 is not a string (Bug#11713).
5066
48d1354e
PE
50672012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5068
5069 * progmodes/python.el (python-info-beginning-of-backslash):
5070 Rename from python-info-beginning-of-backlash, as a spelling fix.
5071
eb4a8a9a
CY
50722012-06-17 Chong Yidong <cyd@gnu.org>
5073
5074 * term.el (term-emulate-terminal): If term-check-size is called,
5075 move point to the process mark without resetting point (Bug#4635).
5076
ddfbf826 50772012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
5078
5079 * international/mule-cmds.el (mule-menu-keymap)
5080 (set-language-environment, set-locale-environment): Doc tweaks.
5081
9b0e3eba
AA
50822012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5083
5084 * cus-face.el (custom-face-attributes): Add wave-style underline
5085 attribute.
5086 * faces.el (set-face-attribute): Update docstring to describe
5087 wave-style underline attribute.
5088
771e3eae
CY
50892012-06-16 Chong Yidong <cyd@gnu.org>
5090
5091 * term/xterm.el (terminal-init-xterm): Discard input before
5092 querying background mode (Bug#10959).
5093
7ae2ea10
SM
50942012-06-16 Stefan Merten <smerten@oekonux.de>
5095
5096 * textmodes/rst.el: Added and corrected some comments.
5097 (rst-re-alist-def): Improve symbol syntax.
5098 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
5099 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5100 (rst-official-version, rst-official-cvs-rev): Update version
5101 information.
7ae2ea10 5102
b6974efa
JB
51032012-06-15 Juanma Barranquero <lekktu@gmail.com>
5104
5105 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5106 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5107
8826d473
GM
51082012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5109
5110 * progmodes/python.el: New python.el merge.
5111 (python-guess-indent): Obsolete var.
5112 (python-indent-guess-indent-offset): New defcustom.
5113 (python-indent): Obsolete var.
5114 (python-indent-offset): New defcustom.
5115 (python-python-command, python-jython-command): Delete var.
5116 (python-shell-interpreter): New defcustom.
5117 (python-pdbtrack-do-tracking-p): Delete var.
5118 (python-pdbtrack-activate): New defcustom.
5119 (python-use-skeletons): Obsolete var.
5120 (python-skeleton-autoinsert): New defcustom.
5121 (inferior-python-filter-regexp, python-continuation-offset)
5122 (python-honour-comment-indentation, python-indent-string-contents)
5123 (python-jython-packages, python-mode-hook)
5124 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5125 (python-shell-prompt-alist)
5126 (python-source-modes): Delete defcustoms.
5127 (python-check-buffer-name, python-eldoc-setup-code)
5128 (python-eldoc-string-code, python-ffap-setup-code)
5129 (python-ffap-string-code, python-fill-comment-function)
5130 (python-fill-decorator-function, python-fill-paren-function)
5131 (python-fill-string-function, python-imenu-include-defun-type)
5132 (python-imenu-make-tree, python-imenu-subtree-root-label)
5133 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5134 (python-shell-compilation-regexp-alist)
5135 (python-shell-completion-module-string-code)
5136 (python-shell-completion-pdb-string-code)
5137 (python-shell-completion-setup-code)
5138 (python-shell-completion-string-code)
5139 (python-shell-enable-font-lock, python-shell-exec-path)
5140 (python-shell-extra-pythonpaths)
5141 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5142 (python-shell-process-environment)
5143 (python-shell-prompt-block-regexp)
5144 (python-shell-prompt-output-regexp)
5145 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5146 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5147 (python-shell-virtualenv-path): New defcustoms.
5148 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5149 (inferior-python-mode-syntax-table, python--prompt-regexp)
5150 (python-buffer, python-command python-python-command)
5151 (python-default-template, python-imports, python-indent-index)
5152 (python-indent-list, python-indent-list-length)
5153 (python-mode-running, python-pdbtrack-is-tracking-p)
5154 (python-preoutput-continuation, python-preoutput-leftover)
5155 (python-preoutput-result, python-preoutput-skip-next-prompt)
5156 (python-prev-dir/file, python-recursing)
5157 (python-saved-check-command, python-version-checked)
5158 (python-which-func-length-limit)
5159 (view-return-to-alist): Delete vars.
5160 (python-check-custom-command, python-dotty-syntax-table)
5161 (python-imenu-index-alist, python-indent-current-level)
5162 (python-indent-dedenters, python-indent-levels)
5163 (python-nav-beginning-of-defun-regexp)
5164 (python-nav-list-defun-positions-cache)
5165 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5166 (python-shell-internal-buffer)
5167 (python-skeleton-available): New vars.
5168 (def-python-skeleton): Delete macro.
5169 (python-skeleton-define): New macro.
5170 (python-define-auxiliary-skeleton, python-rx): New macros.
5171 (python-insert-class): Delete command.
5172 (python-skeleton-class): New command.
5173 (python-insert-def): Delete command.
5174 (python-skeleton-def): New command.
5175 (python-insert-for): Delete command.
5176 (python-skeleton-for): New command.
5177 (python-insert-if): Delete command.
5178 (python-skeleton-if): New command.
5179 (python-insert-try/except, python-insert-try/finally): Delete commands.
5180 (python-skeleton-try): New command.
5181 (python-insert-while): Delete command.
5182 (python-skeleton-while): New command.
5183 (python-backspace): Delete command.
5184 (python-indent-dedent-line-backspace): New command.
5185 (python-electric-colon): Delete command.
5186 (python-indent-electric-colon): New command.
5187 (python-guess-indent): Delete command.
5188 (python-indent-guess-indent-offset): New command.
5189 (python-shift-left): Delete command.
5190 (python-indent-shift-left): New command.
5191 (python-shift-right): Delete command.
5192 (python-indent-shift-right): New command.
5193 (python-find-function): Delete command.
5194 (python-nav-jump-to-defun): New command.
5195 (python-next-statement): Delete command.
5196 (python-nav-forward-sentence): New command.
5197 (python-previous-statement): Delete command.
5198 (python-nav-backward-sentence): New command.
5199 (python-fill-paragraph): Delete command.
5200 (python-fill-paragraph-function): New command.
5201 (python-send-buffer): Delete command.
5202 (python-shell-send-buffer): New command.
5203 (python-send-defun): Delete command.
5204 (python-shell-send-defun): New command.
5205 (python-send-region, python-send-region-and-go): Delete commands.
5206 (python-shell-send-region)
5207 (python-shell-switch-to-shell): New commands.
5208 (python-send-string): Delete command.
5209 (python-shell-send-string): New command.
5210 (python-switch-to-python): Delete command.
5211 (python-shell-switch-to-shell): New command.
5212 (python-describe-symbol): Delete command.
5213 (python-eldoc-at-point): New command.
5214 (python--set-prompt-regexp, python-args-to-list)
5215 (python-after-info-look, python-check-version)
5216 (python-check-comint-prompt, python-find-imports)
5217 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5218 (python-unload-function, python-expand-template)
5219 (python-maybe-jython, python-preoutput-filter)
5220 (python-pdbtrack-get-source-buffer)
5221 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5222 (python-pdbtrack-toggle-stack-tracking)
5223 (python-pdbtrack-track-stack-file, python-initial-text)
5224 (python-first-word, python-comment-line-p, python-send-command)
5225 (python-setup-brm, python-sentinel, python-set-proc)
5226 (python-skip-out, python-input-filter, python-outdent-p)
5227 (python-outline-level, python-backslash-continuation-line-p)
5228 (python-end-of-block, python-end-of-statement, python-mark-block)
5229 (python-beginning-of-block, python-beginning-of-statement)
5230 (python-blank-line-p, python-beginning-of-string)
5231 (python-open-block-statement-p): Delete functions.
5232 (python-indent-line, python-indent-line-1): Delete functions.
5233 (python-indent-line): New function.
5234 (python-indentation-levels): Delete function.
5235 (python-indent-calculate-levels): New function.
5236 (python-proc): Delete function.
5237 (python-shell-get-process): New function.
5238 (python-send-receive): Delete function.
5239 (python-shell-send-string-no-output): New function.
5240 (python-module-path): Delete function.
5241 (python-ffap-module-path): New function.
5242 (python-completion-at-point)
5243 (python-symbol-completions): Delete functions.
5244 (python-completion-complete-at-point): New function.
5245 (python-load-file): Delete function.
5246 (python-shell-send-file): New function.
5247 (python-calculate-indentation): Delete function.
5248 (python-indent-calculate-indentation): New function.
5249 (python-skip-comments/blanks): Delete function.
5250 (python-util-forward-comment): New function.
5251 (python-continuation-line-p): Delete function.
5252 (python-info-continuation-line-p): New function.
5253 (python-which-func, python-current-defun): Delete function.
5254 (python-info-current-defun): New function.
5255 (python-beginning-of-defun): Delete function.
5256 (python-nav-beginning-of-defun): New function.
5257 (python-close-block-statement-p)
5258 (python-block-end-p): Delete function.
5259 (python-info-closing-block): New function.
5260 (python-comint-output-filter-function)
5261 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5262 (python-fill-comment, python-fill-decorator, python-fill-paren)
5263 (python-fill-string, python-imenu-make-element-tree)
5264 (python-imenu-make-tree, python-imenu-tree-assoc)
5265 (python-indent-context, python-indent-dedent-line)
5266 (python-indent-line-function)
5267 (python-indent-post-self-insert-function)
5268 (python-indent-toggle-levels)
5269 (python-info-assignment-continuation-line-p)
5270 (python-info-beginning-of-backlash)
5271 (python-info-block-continuation-line-p)
5272 (python-info-closing-block-message)
5273 (python-info-line-ends-backslash-p)
5274 (python-info-looking-at-beginning-of-defun)
5275 (python-info-ppss-context, python-info-ppss-context-type)
5276 (python-nav-list-defun-positions, python-nav-read-defun)
5277 (python-nav-sentence-end, python-nav-sentence-start)
5278 (python-pdbtrack-comint-output-filter-function)
5279 (python-pdbtrack-set-tracked-buffer)
5280 (python-shell-calculate-exec-path)
5281 (python-shell-calculate-process-environment)
5282 (python-shell-completion--do-completion-at-point)
5283 (python-shell-completion--get-completions)
5284 (python-shell-completion-complete-at-point)
5285 (python-shell-completion-complete-or-indent)
5286 (python-shell-get-or-create-process)
5287 (python-shell-get-process-name)
5288 (python-shell-internal-get-or-create-process)
5289 (python-shell-internal-get-process-name)
5290 (python-shell-internal-send-string, python-shell-make-comint)
5291 (python-shell-parse-command, python-shell-send-setup-code)
5292 (python-skeleton-add-menu-items)
5293 (python-util-clone-local-variables, python-util-position)
5294 (run-python-internal, python-indentation-levels)
5295 (python-nav-beginning-of-defun)
5296 (python-completion-complete-at-point): New functions.
5297 (run-python): Change arguments. New API requirements.
5298
4302f5ba
SM
52992012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5300
f38ea36d
SM
5301 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5302 (bug#11649).
5303
5304 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5305 (macroexp--expand-all): Use it.
5306
4302f5ba
SM
5307 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5308 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5309 Use `cl-function' instead.
5310
33377562
JB
53112012-06-14 Juanma Barranquero <lekktu@gmail.com>
5312
5313 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5314 Suggested by Stefan Monnier while discussing bug#11657.
5315
54c5ba1a
SS
53162012-06-14 Sam Steingold <sds@gnu.org>
5317
5318 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5319
f9f1b1fe
AS
53202012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5321
5322 * play/doctor.el (doctor-doc): Remove parameter and use
5323 doctor-sent instead of sent.
5324 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5325
a81068ba
SM
53262012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5327
5a315f9c
SM
5328 * files.el: Require cl-lib.
5329 (file-name-non-special): Replace case -> cl-case.
5330
5331 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5332
a81068ba
SM
5333 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5334 mapping from #' to function*.
5335
8cca9703
CY
53362012-06-13 Chong Yidong <cyd@gnu.org>
5337
5338 * mouse.el (mouse-drag-track): Do not set the mark if the user
5339 releases the mouse without selecting anything (Bug#11588).
5340
a12ac9d7
SM
53412012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5342
ccf1dc18
SM
5343 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5344 as well (bug#11646).
5345
ef62b23d
SM
5346 * loadup.el: Count byte-code functions as well.
5347
c4c8444a
SM
5348 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5349 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5350
a12ac9d7
SM
5351 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5352 (bug#11649). Add cl-defun and cl-defmacro.
5353
87e6e64f
DA
53542012-06-13 Drew Adams <drew.adams@oracle.com>
5355
5356 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5357 Fix last change.
5358
682cefaf
MA
53592012-06-13 Michael Albinus <michael.albinus@gmx.de>
5360
5361 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5362 Otherwise, it blocks in batch mode.
5363
773e1f08
JB
53642012-06-13 Juanma Barranquero <lekktu@gmail.com>
5365
5366 * help-mode.el (bookmark-make-record-default): Declare.
5367
60057926
CY
53682012-06-13 Chong Yidong <cyd@gnu.org>
5369
5370 * emacs-lisp/package.el (list-packages): Compute a list of
5371 packages that are newly-available since the last list-packages
5372 invocation.
5373 (package-menu--new-package-list): New var.
5374 (package-menu--generate, package-menu--print-info)
5375 (package-menu--status-predicate, package-menu-mark-install):
5376 Handle new status label "new".
5377
ad4d226c
SM
53782012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5379
5380 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5381 conversion to backquotes.
5382
f1a4e679
CY
53832012-06-12 Chong Yidong <cyd@gnu.org>
5384
5385 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5386 Rename from gud-inhibit-global-bindings.
5387
5388 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5389
5390 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5391 hook from nxml-glyph-set-hook.
5392
5393 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5394 declaration.
5395
5396 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5397
5398 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5399 Convert to defcustom.
5400
0c9e42b5
DA
54012012-06-12 Drew Adams <drew.adams@oracle.com>
5402
5403 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5404 New functions.
5405 (help-mode): Use them.
5406
09e06855
GM
54072012-06-11 Glenn Morris <rgm@gnu.org>
5408
5409 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5410 Use preprocessor face for directives.
5411 (fortran-directive-re): Doc fix.
5412
71adb94b
SM
54132012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5414
2eb87922
SM
5415 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5416 conversion to backquotes (bug#11652).
5417
71adb94b
SM
5418 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5419 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5420 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5421 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5422 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5423 (cl-ninth, cl-tenth): Mark them as inlinable.
5424 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5425 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5426 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5427 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5428 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5429 (cl-list*, cl-adjoin): Don't put an autoload manually.
5430 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5431 (cl--compiler-macro-list*): Add autoload cookie.
5432 (cl--compiler-macro-cXXr): New function.
2eb87922 5433
71adb94b
SM
5434 * help-fns.el (help-fns--compiler-macro): New function extracted from
5435 describe-function-1; follow aliases and use `compiler-macro' property.
5436 (describe-function-1): Use it.
5437
a6674402
CY
54382012-06-11 Chong Yidong <cyd@gnu.org>
5439
5440 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5441 is uninstalled, if imagemagick is installed.
5442
bb3faf5b
SM
54432012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5444
5445 * emacs-lisp/cl-lib.el: Use lexical-binding.
5446 (cl-map-extents, cl-maclisp-member): Remove.
5447 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5448 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5449 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5450 * emacs-lisp/cl-extra.el: Use lexical-binding.
5451 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5452 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5453 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5454 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5455 * emacs-lisp/cl-seq.el: Use lexical-binding.
5456 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5457 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5458 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5459 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5460 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5461 CL's internals.
5462
2fe4b125
MA
54632012-06-11 Michael Albinus <michael.albinus@gmx.de>
5464
5465 Sync with Tramp 2.2.6-pre.
5466
5467 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5468 `print-length' and `print-level' to nil, in order to avoid
5469 truncation. Reported by Christopher Schmidt
5470 <christopher@ristopher.com>.
5471
5472 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5473
5474 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5475 New defmacro.
5476 (tramp-compat-copy-directory): Add optional argument
5477 COPY-CONTENTS. It is not handled yet.
5478
5479 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5480 (tramp-ftp-file-name-p): Simplify.
5481
5482 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5483 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5484 connection vector.
5485
5486 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5487 (tramp-methods): Do not use `tramp-password-end-of-line'.
5488 (tramp-completion-function-alist-putty): Handle UNIX case.
5489 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5490 (tramp-do-file-attributes-with-stat)
5491 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5492 gid as real numbers. They could run out of integer range on cygwin.
5493 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5494 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
5495 (tramp-open-connection-setup-interactive-shell):
5496 Use `tramp-cleanup'. Move check for busyboxes ...
5497 (tramp-find-shell): ... here. Simplify implementation.
5498 Set "remote-shell" property also for alternative shells.
5499 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5500 If failing, a regular file would be written otherwise.
5501 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
5502 (tramp-find-inline-encoding): Cache the coding commands in the
5503 process cache. Apply test command on the remote side, if defined.
5504 (tramp-find-inline-compress): Cache the compress commands in the
5505 process cache.
5506 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5507 when requested. Handle hops.
5508 (tramp-current-connection): New defvar.
87e6e64f
DA
5509 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5510 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 5511 Handle user interrupt. (Bug#10187)
87e6e64f
DA
5512 (tramp-get-inline-compress, tramp-get-inline-coding):
5513 Read connection properties from the process cache.
2fe4b125
MA
5514
5515 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
5516 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5517 New defconsts.
2fe4b125
MA
5518 (tramp-smb-prompt): Extend for powershell prompt.
5519 (tramp-smb-file-name-handler-alist): Add handlers for
5520 `process-file', `shell-command' and `start-file-process'.
5521 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5522 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5523 (tramp-smb-file-name-p): Simplify.
5524 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5525 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5526 (tramp-smb-shell-quote-argument): New defuns.
5527 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5528 Implement using "tar". By this, time-stamps are preserved.
5529 (tramp-smb-handle-copy-file): Handle also the case of directories.
5530 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
5531 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5532 Use `tramp-get-connection-buffer').
2fe4b125
MA
5533 (tramp-smb-handle-rename-file): Use "rename", when source and
5534 target are on the same share.
87e6e64f
DA
5535 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5536 Use `tramp-smb-server-version'.
2fe4b125
MA
5537 (tramp-smb-wait-for-output): Remove prompt.
5538
5539 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
5540 (tramp-methods, tramp-rsh-end-of-line):
5541 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
5542 (tramp-save-ad-hoc-proxies): New defcustom.
5543 (tramp-completion-function-alist): Adapt docstring.
5544 (tramp-default-password-end-of-line): Remove defcustom.
5545 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5546 (tramp-user-regexp, tramp-file-name-regexp-unified)
5547 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5548 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5549 (tramp-remote-file-name-spec-regexp): New defconst.
5550 (tramp-file-name-structure): Extend structure for hops.
5551 (tramp-get-method-parameter): Move up.
5552 (tramp-file-name-p, tramp-dissect-file-name)
5553 (with-parsed-tramp-file-name): Handle hops.
5554 (tramp-file-name-hop): New defun.
5555 (tramp-make-tramp-file-name): New optional arg HOP.
5556 (tramp-message-show-progress-reporter-message): New defvar.
5557 (tramp-with-progress-reporter): Use it. We cannot use
5558 `tramp-message-show-message' here, because this suppresses also
5559 error buffers.
5560 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
5561 `tramp-message-show-message' is nil.
5562 Use `tramp-get-connection-buffer'.
2fe4b125
MA
5563 (tramp-cleanup): New defun.
5564 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5565 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5566 an error unchanged.
5567 (tramp-completion-handle-file-name-all-completions): Handle hops.
5568 Fix an error when called from ido.
5569 (tramp-completion-dissect-file-name): Use better local variable
5570 name. Add hop to the vector.
5571 (tramp-handle-insert-file-contents): Use progress-reporter for the
5572 whole scenario.
5573 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5574 to `t'.
5575 (tramp-check-for-regexp): Simplify search.
5576 (tramp-enter-password): Remove it. Move implementation ...
5577 (tramp-action-password): ... here.
5578 (tramp-mode-string-to-int, tramp-local-host-p)
5579 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
5580 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5581 Set tramp-autoload cookie.
2fe4b125
MA
5582
5583 * net/trampver.el: Update release number.
5584
55852012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5586 Michael Albinus <michael.albinus@gmx.de>
5587
5588 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5589 (tramp-parse-group, tramp-parse-file)
5590 (tramp-parse-shostkeys-sknownhosts): New defuns.
5591 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5592 (tramp-parse-shosts-group, tramp-parse-sconfig)
5593 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5594 (tramp-parse-sknownhosts, tramp-parse-hosts)
5595 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5596 Use them.
5597 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5598 (tramp-parse-putty-group): Don't narrow.
5599 (tramp-parse-putty): Make a loop.
5600 (tramp-file-name-handler): Catch the `suppress' signal.
5601
72834e10
CY
56022012-06-11 Chong Yidong <cyd@gnu.org>
5603
5604 * image.el (imagemagick-register-types): Put the ImageMagick entry
5605 at the end of image-type-file-name-regexps.
5606
a4712e11
JB
56072012-06-11 Johan Bockgård <bojohan@gnu.org>
5608
5609 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5610 (pcase, pcase-let*, pcase-dolist): Use them.
5611
82ad98e3
SM
56122012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5613
5614 * emacs-lisp/pcase.el (pcase--let*): New function.
5615 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5616 (pcase--expand): Use macroexp-let².
5617
f80efb86
SM
56182012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5619
5620 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5621 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5622 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5623 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5624 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5625 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5626
31ca4639 56272012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 5628
31ca4639
CY
5629 * mail/rmail.el (rmail-yank-current-message): Leave point at
5630 correct position. (Bug#11660)
94f0aa34 5631
31ca4639 56322012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 5633
31ca4639 5634 * allout-widgets.el: Fix code header.
9e1b8ec4 5635
31ca4639 56362012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 5637
f80efb86
SM
5638 * cus-edit.el (customize-changed-options-previous-release):
5639 Bump to 24.1.
31ca4639 5640
642b6d30
AS
56412012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5642
5643 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5644
4f5d2ba1
CY
56452012-06-09 Chong Yidong <cyd@gnu.org>
5646
5647 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5648
e75852fd
MR
56492012-06-09 Martin Rudalics <rudalics@gmx.at>
5650
5651 * window.el (special-display-popup-frame): Don't use
5652 window--display-buffer (Bug#11651).
5653
1e48e282
EZ
56542012-06-09 Eli Zaretskii <eliz@gnu.org>
5655
8a26b487
EZ
5656 Fix parallel builds: make sure loaddefs.el is not being written
5657 while Lisp files are compiled.
5658 (compile): Don't depend on 'mh-autoloads'.
5659 (compile-CMD, compile-SH): Depend on 'autoloads'.
5660 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5661
1e48e282
EZ
5662 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5663
6175e34b
CY
56642012-06-09 Chong Yidong <cyd@gnu.org>
5665
5666 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5667 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5668 Doc fixes (Bug#11225).
5669
d9857e53
SM
56702012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5671
5672 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5673 a function if there's a clear indication that it has a compiler-macro.
5674 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5675 (macro-declarations-alist): Add arglist to declaration functions.
5676 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5677 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5678 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5679 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5680 Also add autoload to find the compiler macro.
5681 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5682 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5683 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5684 (cl--compiler-macro-get): New functions, replacing calls to
5685 cl-define-compiler-macro.
5686 (cl-typep) [compiler-macro]: Use macroexp-let².
5687
f81298f8 56882012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
5689
5690 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5691 string properly, fixes Bug#11473.
5692
4b56d0fe
CY
56932012-06-08 Chong Yidong <cyd@gnu.org>
5694
5695 * faces.el (set-face-attribute): Doc fix.
5696 (modify-face): Don't use :bold and :italic.
5697 (error, warning, success): Tweak definitions.
5698
5699 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5700 (custom-modified, custom-set, custom-changed, custom-themed)
5701 (custom-saved, custom-button, custom-button-mouse)
5702 (custom-button-pressed, custom-state, custom-comment-tag)
5703 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5704 (custom-group-subtitle): Use new-style face specs.
5705 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5706 (custom-set-face, custom-changed-face, custom-saved-face)
5707 (custom-button-face, custom-button-pressed-face)
5708 (custom-documentation-face, custom-state-face)
5709 (custom-comment-face, custom-comment-tag-face)
5710 (custom-variable-tag-face, custom-variable-button-face)
5711 (custom-face-tag-face, custom-group-tag-face-1)
5712 (custom-group-tag-face): Remove obsolete face alias.
5713
5714 * epa.el (epa-validity-high, epa-validity-medium)
5715 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5716 (epa-field-name, epa-field-body):
5717 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5718 (font-lock-keyword-face, font-lock-builtin-face)
5719 (font-lock-function-name-face, font-lock-variable-name-face)
5720 (font-lock-type-face, font-lock-constant-face):
5721 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5722 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5723 * speedbar.el (speedbar-button-face, speedbar-file-face)
5724 (speedbar-directory-face, speedbar-tag-face)
5725 (speedbar-selected-face, speedbar-highlight-face)
5726 (speedbar-separator-face):
5727 * whitespace.el (whitespace-newline, whitespace-space)
5728 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5729 (whitespace-line, whitespace-space-before-tab)
5730 (whitespace-space-after-tab, whitespace-indentation)
5731 (whitespace-empty):
5732 * emulation/cua-base.el (cua-global-mark):
5733 * eshell/em-prompt.el (eshell-prompt):
5734 * net/newst-plainview.el (newsticker-new-item-face)
5735 (newsticker-old-item-face, newsticker-immortal-item-face)
5736 (newsticker-obsolete-item-face, newsticker-date-face)
5737 (newsticker-statistics-face, newsticker-default-face):
5738 * net/newst-reader.el (newsticker-feed-face)
5739 (newsticker-extra-face, newsticker-enclosure-face):
5740 * net/newst-treeview.el (newsticker-treeview-face)
5741 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5742 (newsticker-treeview-immortal-face)
5743 (newsticker-treeview-obsolete-face)
5744 (newsticker-treeview-selection-face):
5745 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5746 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5747 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5748 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5749 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5750 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5751 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5752 (mpuz-text):
5753 * progmodes/vera-mode.el (vera-font-lock-number)
5754 (vera-font-lock-function, vera-font-lock-interface):
5755 * textmodes/table.el (table-cell): Use new-style face specs, and
5756 don't use the old :bold and :italic attributes.
5757
5758 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5759 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5760 (ebrowse-member-class, ebrowse-progress): Likewise.
5761 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5762 (ebrowse-file-name-face, ebrowse-default-face)
5763 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5764 (ebrowse-progress-face): Remove obsolete faces.
5765
5766 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5767 Inherit from error and warning faces respectively.
5768
5769 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5770 Likewise.
f80efb86
SM
5771 (flyspell-incorrect-face, flyspell-duplicate-face):
5772 Remove obsolete aliases.
4b56d0fe 5773
03310646
MA
57742012-06-08 Michael Albinus <michael.albinus@gmx.de>
5775
5776 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5777 Avoid infloop.
5778
513749ee
SM
57792012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5780
5781 * startup.el (argv, argi): Make lexically scoped.
5782 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5783 * emacs-lisp/cl-macs.el: Use lexical-binding.
5784 Rename cl-bind-* to cl--bind-*.
5785 * files.el: Don't require `cl' since it doesn't use it.
5786 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5787
595ef4ad
JB
57882012-06-08 Juanma Barranquero <lekktu@gmail.com>
5789
5790 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5791 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5792 instead of calling external sort utility.
5793 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5794
e9f66fcb
EZ
57952012-06-08 Eli Zaretskii <eliz@gnu.org>
5796
5797 * descr-text.el (describe-char): Mention how to insert the
5798 character, if the current input method doesn't support it.
5799 See the discussion in this thread for the details:
5800 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5801
3d10db47
SS
58022012-06-08 Sam Steingold <sds@gnu.org>
5803
5804 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5805 XF86Back to previous-buffer.
5806 (minibuffer-local-map): Bind them to next-history-element and
5807 previous-history-element respectively.
5808 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5809 help-go-back respectively.
5810 * info.el (Info-mode-map): Bind them to Info-history-forward and
5811 Info-history-back respectively.
5812 These are the keys next to Up on the ThinkPad keyboard.
5813
de7e2b36
SM
58142012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5815
5816 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5817 * emacs-lisp/cl-macs.el: Provide itself.
5818 (cl--labels-convert-cache): New var.
5819 (cl--labels-convert): New function.
5820 (cl-flet, cl-labels): New implementation with new semantics, relying on
5821 lexical-binding.
5822 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5823 (cl-closure-vars, cl--function-convert-cache)
5824 (cl--function-convert): Move from cl-macs.el.
5825 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5826 rename by removing the "cl-" prefix.
5827 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5828
6fa6c4ae
SM
58292012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5830
5831 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5832 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5833 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5834 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5835 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5836 (cl-hash-table-count): Add old compatibility aliases.
5837
5838 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5839 Use macroexpand-all-environment instead.
5840 (cl--old-macroexpand): New var.
5841 (cl--sm-macroexpand): New function.
5842 (cl-symbol-macrolet): Use it during macro expansion.
5843 (cl--function-convert-cache): New var.
5844 (cl--function-convert): New function, extracted from
5845 cl-macroexpand-all.
5846 (cl-lexical-let): Use it.
5847
5848 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5849 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5850 (cl-member): Remove old alias.
5851
5852 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5853 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5854 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5855 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5856 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5857 (cl-macroexpand-cmacs): Remove var.
5858 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5859 Use macroexpand-all instead.
5860
4dd1c416
SM
58612012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5862
5863 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5864 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5865 (macroexp-copyable-p): New functions and macros.
5866 * emacs-lisp/edebug.el (edebug-unwrap):
5867 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5868 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5869 (pcase--let*): Remove.
5870 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5871 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5872 macroexp-const-p instead.
5873 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5874
5875 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5876 instead of "cl-" for internal definitions. Use macroexp-const-p.
5877 (cl-old-bc-file-form): Remove var.
5878 (cl-const-exprs-p): Remove fun.
5879 (cl-labels, cl-macrolet): Use backquote.
5880 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5881 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5882 (cl-define-setf-expander): Rename from cl-define-setf-method.
5883 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5884
5885 * international/mule-cmds.el: Don't require CL.
5886 (view-hello-file): Don't use `letf'.
5887
ed8bd4d7
SM
58882012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5889
7287f2f3
SM
5890 * tmm.el (tmm-prompt): Use string-prefix-p.
5891 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5892 (tmm-add-prompt): Use minibuffer-completion-help.
5893 (tmm-delete-map): Remove.
5894
ed8bd4d7
SM
5895 * subr.el (kbd): Make it its own function.
5896
7b4cdbf4
SM
58972012-06-07 Stefan Merten <smerten@oekonux.de>
5898
5899 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5900 Silence compiler warnings. Fix versions.
ed8bd4d7 5901 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 5902 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 5903 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
5904 (rst-package-emacs-version-alist): Correct Emacs version to
5905 represent major merge with upstream.
ed8bd4d7 5906 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 5907
2b48d721
GM
59082012-06-06 Glenn Morris <rgm@gnu.org>
5909
5910 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5911 Only print environment variables if set.
5912
fa779ab0
SM
59132012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5914
5915 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5916 (macroexp--cons): Rename from maybe-cons.
5917 (macroexp--accumulate): Rename from macroexp-accumulate.
5918 (macroexp--all-forms): Rename from macroexpand-all-forms.
5919 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5920 (macroexp--expand-all): Rename from macroexpand-all-1.
5921
628299e0
SS
59222012-06-06 Sam Steingold <sds@gnu.org>
5923
5924 * calendar/calendar.el (calendar-in-read-only-buffer):
5925 Call `special-mode' to enable the standard read-only keybindings.
5926
b7bb5838
SM
59272012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5928
5929 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5930 with "loading" messages (bug#11635).
5931
dfb308ba
MA
59322012-06-06 Michael Albinus <michael.albinus@gmx.de>
5933
5934 * files.el (enable-remote-dir-locals): New option.
5935 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5936
0372ee92
MA
5937 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5938 Ensure, that the temp directory is local.
5939
5940 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5941 `temporary-file-directory'.
5942
eed0bb91
MA
5943 * progmodes/python.el (python-send-region): Ensure, that the
5944 temporary file is created also in the remote case.
5945
7a58f64d
GM
59462012-06-06 Glenn Morris <rgm@gnu.org>
5947
f7dd4e98
GM
5948 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5949 (vc-rcs-update-changelog): Use it.
5950
090bd7cb 5951 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 5952
7a58f64d
GM
5953 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5954 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5955 (vc-sccs-diff): Replace use of the external vcdiff script.
5956
daed4003
GM
59572012-06-05 Glenn Morris <rgm@gnu.org>
5958
5959 * ledit.el: Move to obsolete/.
5960
48c455c7
SS
59612012-06-05 Sam Steingold <sds@gnu.org>
5962
ed9265fc 5963 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
5964 patch (Bug#11140).
5965
57a7d507
SM
59662012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5967
090bd7cb 5968 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 5969
53aacf21
SM
5970 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5971 compiler-macro expansion.
5972
57a7d507
SM
5973 Add native compiler-macro support.
5974 * emacs-lisp/macroexp.el (macroexpand-all-1):
5975 Support compiler-macros directly. Properly follow aliases and apply
5976 the compiler macros more thoroughly.
5977 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5978 macroexpand now properly follows aliases.
5979 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5980 (cl-compiler-macroexpand): Use new prop.
5981 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5982
5983 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5984
51a5f9d8
MR
59852012-06-05 Martin Rudalics <rudalics@gmx.at>
5986
5987 * window.el (get-lru-window, get-mru-window, get-largest-window):
5988 New argument NOT-SELECTED to avoid picking the selected window.
5989 (window--display-buffer-1, window--display-buffer-2): Replace by
5990 new function window--display-buffer
5991 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
5992 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5993 Use window--display-buffer.
51a5f9d8
MR
5994 (display-buffer-use-some-window): Remove temporary dedication
5995 hack by calling get-lru-window and get-largest-window with
5996 NOT-SELECTED argument non-nil. Call window--display-buffer.
5997
08f9f738
GM
59982012-06-05 Glenn Morris <rgm@gnu.org>
5999
6000 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6001 Replace external vcdiff script.
6002
e364a2b7
SM
60032012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6004
6005 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6006
041df390
CY
60072012-06-04 Chong Yidong <cyd@gnu.org>
6008
e364a2b7
SM
6009 * image.el (imagemagick-types-inhibit): Revert last change.
6010 Add INFO and M.
47b36b94 6011 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 6012
7c1898a7
SM
60132012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6014
6015 * emacs-lisp/cl-lib.el: Rename from cl.el.
6016 * emacs-lisp/cl.el: New compatibility file.
6017 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6018 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6019 to obey the "cl-" prefix.
6020 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6021
0c3461de
GM
60222012-06-03 Glenn Morris <rgm@gnu.org>
6023
1e266c88
GM
6024 * emacs-lisp/authors.el (authors-aliases): Addition.
6025
0c3461de
GM
6026 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6027 Fix :version.
6028
d8a52e15
SM
60292012-06-03 Stefan Merten <smerten@oekonux.de>
6030
6031 * textmodes/rst.el: Add comments.
6032 (rst-transition, rst-adornment): New faces.
6033 (rst-adornment-faces-alist): Make default safe to reevaluate.
6034 Fixes
6035 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6036 Improve customization tags.
6037 (rst-define-level-faces): Clarify meaning.
6038
5205d6f6
CY
60392012-06-03 Chong Yidong <cyd@gnu.org>
6040
6041 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
6042 (compilation-mode-line-run, compilation-mode-line-exit):
6043 New faces.
5205d6f6
CY
6044 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6045
757ee657
JD
60462012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6047
7c1898a7
SM
6048 * progmodes/which-func.el (which-func-update-ediff-windows):
6049 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 6050
5f2c76c6
CY
60512012-06-03 Chong Yidong <cyd@gnu.org>
6052
6053 * bindings.el: Remove explicit help text from format-mode-line.
6054 It is now supplied by mode-line-default-help-echo.
6055 (mode-line-front-space, mode-line-end-spaces)
6056 (mode-line-misc-info): New variables.
6057 (mode-line-modes, mode-line-position): Move the default value to
6058 the variable definition.
6059 (mode-line-default-help-echo): New defcustom.
383f7350
CY
6060 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6061 (mode-line-modified-help-echo): New functions.
6062 (mode-line-mule-info, mode-line-modified): Use them.
6063 (mode-line-eol-desc, propertized-buffer-identification):
6064 Consistency fixes for help text.
cbe46e5f
CY
6065 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6066 set-buffer-file-coding-system (Bug#289).
6067 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 6068
f2d6a3df
SM
60692012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6070
6071 * simple.el (execute-extended-command): Set real-this-command
6072 (bug#11506).
6073
37269466
CY
60742012-06-02 Chong Yidong <cyd@gnu.org>
6075
6076 Remove incorrect uses of "modeline" in comments, docstrings, and
6077 function/variable names (Bug#10329).
6078
6079 * cus-edit.el (mode-line):
6080 * dframe.el (dframe-mouse-hscroll):
6081 * emacs-lisp/re-builder.el:
6082 * emacs-lisp/easy-mmode.el (define-minor-mode):
6083 * frame.el (set-frame-name):
6084 * help.el (lookup-minor-mode-from-indicator):
6085 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6086 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6087 (c-toggle-hungry-state):
6088 * progmodes/antlr-mode.el (antlr-language-alist):
6089 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6090 * progmodes/vhdl-mode.el (vhdl-mode):
6091 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6092 * term/ns-win.el (ns-face-at-pos):
6093 * term/sup-mouse.el (sup-mouse-report):
6094 * textmodes/flyspell.el (flyspell-mode-line-string):
6095 * textmodes/ispell.el (ispell-highlight-face):
6096 * textmodes/reftex-global.el:
6097 * vc/vc-arch.el (vc-arch-mode-line-string):
6098 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6099 * vc/vc-git.el (vc-git-mode-line-string):
6100 * vc/vc-hooks.el (vc-display-status)
6101 (vc-default-mode-line-string):
6102 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6103
6104 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6105
6106 * dired.el (dired-sort-set-mode-line): Rename from
6107 dired-sort-set-modeline. All callers changed.
6108
6109 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6110 eshell-status-in-modeline.
6111
6112 * foldout.el (foldout-mode-line-string): Rename from
6113 foldout-modeline-string. All callers changed.
6114 (foldout-update-mode-line): Rename from foldout-update-modeline.
6115
6116 * subr.el (redraw-modeline): Make into obsolete alias.
6117
6118 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6119 timeclock-modeline-display. Make old name an alias.
6120 (timeclock-update-mode-line): Likewise. All callers changed.
6121 (timeclock-mode-line-display): No need to check before using
6122 add-hook.
6123 (timeclock-relative, timeclock-day-over-hook)
6124 (timeclock-use-elapsed, timeclock-mode-string)
6125 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6126
6127 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6128 crisp-mode-modeline-string.
6129
6130 * play/solitaire.el (solitaire-build-mode-line): Rename from
6131 solitaire-build-modeline. All callers changed.
6132
6133 * play/zone.el (zone-hiding-mode-line): Rename from
6134 zone-hiding-modeline. All callers changed.
6135 (zone): Remove unusued `modeline-hidden-level' property.
6136
6137 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6138 xscheme-modeline-initialize. All callers changed.
6139
6140 * strokes.el (strokes-lighter): Rename from
6141 strokes-modeline-string.
6142
6143 * textmodes/sgml-mode.el (html-face-tag-alist)
6144 (html-tag-face-alist): Use mode-line face instead of obsolete
6145 alias modeline.
6146
42152ee4
SM
61472012-06-02 Stefan Merten <smerten@oekonux.de>
6148
6149 * textmodes/rst.el: Always require `cl'.
4cf9b38d 6150 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 6151
95f520b5
CY
61522012-06-02 Chong Yidong <cyd@gnu.org>
6153
6154 * image.el (imagemagick-enabled-types): Rename from
6155 imagemagick-types-enable. Add many more types.
6156 (imagemagick-types-inhibit): Change default to nil.
6157 (imagemagick-filter-types): Caller changed.
6158
4a5f187a
SM
61592012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6160
03fef3e6
SM
6161 * emacs-lisp/cl-macs.el: Use backquotes.
6162 (cl-transform-function-property): Use eval-and-compile rather than
6163 abusing `require'.
6164 (defstruct): Use declare-function instead of with-no-warnings.
6165
4a5f187a
SM
6166 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6167 (byte-compile-output-docform): Re-add the print-circle bindings.
6168 (byte-compile-fix-header): Use #$ just because it's shorter.
6169 (byte-compile-output-file-form): Remove defun/defmacro.
6170
bd56924f
MR
61712012-06-01 Martin Rudalics <rudalics@gmx.at>
6172
6173 * simple.el (choose-completion): Remove now obsolete binding for
6174 owindow.
6175
046e38ce
MA
61762012-06-01 Michael Albinus <michael.albinus@gmx.de>
6177
6178 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6179 in order to avoid "Stack overflow in regexp matcher".
6180
32d72c2f
GM
61812012-05-31 Glenn Morris <rgm@gnu.org>
6182
6183 * image.el: For clarity, call imagemagick-register-types at
6184 top-level, rather than relying on a custom :initialize.
6185 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
6186 (imagemagick-filter-types): New function. (Bug#7406)
6187 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
6188 If disabling support, remove elements altogether rather
6189 than using an impossible regexp.
6190 (imagemagick-types-inhibit): Give it the default init function.
6191
dd41169b
SM
61922012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6193
4a5f187a
SM
6194 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6195 Handle arbitrary file name lengths (Bug#11585).
dd41169b 6196
efc00ab1 61972012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
6198
6199 * desktop.el (desktop-read): Clear previous and next buffers for
6200 all windows and bury *Messages* buffer (bug#11556).
6201
500fcedc
SM
62022012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6203
6204 Add `declare' for `defun'. Align `defmacro's with it.
6205 * emacs-lisp/easy-mmode.el (define-minor-mode)
6206 (define-globalized-minor-mode): Don't autoload the var definitions.
6207 * emacs-lisp/byte-run.el: Use lexical-binding.
6208 (defun-declarations-alist, macro-declarations-alist): New vars.
6209 (defmacro, defun): Use them.
6210 (make-obsolete, define-obsolete-function-alias)
6211 (make-obsolete-variable, define-obsolete-variable-alias):
6212 Use `declare'.
6213 (macro-declaration-function): Mark obsolete.
6214 * emacs-lisp/autoload.el: Use lexical-binding.
6215 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6216
6e8a1786
AM
62172012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6218
6219 * textmodes/ispell.el (ispell-with-no-warnings):
6220 Define as a macro.
500fcedc
SM
6221 (ispell-kill-ispell, ispell-change-dictionary):
6222 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
6223 `interactive-p'.
6224
61b108cc
SM
62252012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6226
6227 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6228 (macro-declaration-function): Move var from C code.
6229 (macro-declaration-function): Define function with defalias.
6230 * emacs-lisp/macroexp.el (macroexpand-all-1):
6231 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6232 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6233 defun/defmacro any more.
6234 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6235 Provide fallback for unknown arglist.
6236 (byte-compile-arglist-warn): Change calling convention.
6237 (byte-compile-output-file-form): Move print-vars binding.
6238 (byte-compile-output-docform): Simplify accordingly.
6239 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6240 (byte-compile-defmacro-declaration): Remove.
6241 (byte-compile-file-form-defmumble): Generalize to defalias.
6242 (byte-compile-output-as-comment): Return byte-positions.
6243 Simplify callers accordingly.
6244 (byte-compile-lambda): Use `assert'.
6245 (byte-compile-defun, byte-compile-defmacro): Remove.
6246 (byte-compile-file-form-defalias):
6247 Use byte-compile-file-form-defmumble.
6248 (byte-compile-defalias-warn): Remove.
6249
6d3f7c2f
SM
62502012-05-29 Stefan Merten <smerten@oekonux.de>
6251
6252 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 6253 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
6254
6255 (rst-mode-abbrev-table): Merge definition.
6256 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6257 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6258
6dbaa1c7
UJ
62592012-05-29 Ulf Jasper <ulf.jasper@web.de>
6260
6261 * calendar/icalendar.el
6262 (icalendar-export-region): Export UID properly.
6263
d209e2fb 62642012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
6265 * calendar/icalendar.el (icalendar-import-format):
6266 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
6267 (icalendar-import-format-uid): New.
6268 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6269 Export UID.
6270
6876a58d
SM
62712012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6272
6273 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6274 different alternative patterns.
6275 (pcase-codegen): Be more careful to preserve identity.
6276 (pcase--u1): Don't forget to mark vars as used.
6277
6278 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6279 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6280 (byte-compile-from-buffer): ...rather than here.
6281
6282 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6283 functions from byte-compile-function-environment.
6284
46b7967e
TN
62852012-05-29 Troels Nielsen <bn.troels@gmail.com>
6286
6287 * window.el (window-deletable-p): Avoid deleting the root window
6288 of a frame with an active minibuffer.
6289
69d565e2
MR
62902012-05-29 Martin Rudalics <rudalics@gmx.at>
6291
6292 * simple.el (choose-completion): Use quit-window (Bug#11567).
6293
a149fa51
CY
62942012-05-29 Chong Yidong <cyd@gnu.org>
6295
6296 * whitespace.el (whitespace-cleanup): Fix usage of
6297 whitespace-empty-at-bob-regexp (Bug#11492).
6298
2b311310
AH
62992012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6300
6301 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6302 revert (Bug#11488).
6303
b9cb2387
JL
63042012-05-29 Juri Linkov <juri@jurta.org>
6305
6306 * isearch.el (isearch-mode-map): Bind `M-s _' to
6307 `isearch-toggle-symbol'. Bind `M-s c' to
6308 `isearch-toggle-case-fold'.
6309 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6310 (isearch-forward): Add `M-s _' to the docstring.
6311 (isearch-forward-symbol, isearch-toggle-case-fold)
6312 (isearch-symbol-regexp): New functions. (Bug#11381)
6313
d5e61c1c
JL
63142012-05-29 Juri Linkov <juri@jurta.org>
6315
6316 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6317 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6318 a function, call it to get the regexp.
6319 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6320 property `isearch-message-prefix' instead of the string "word ".
6321 (isearch-search-fun-default): For the case of `isearch-word',
6322 return a lambda that calls re-search-forward/re-search-backward
6323 with a regexp returned by `word-search-regexp' or by the function
6324 in `isearch-word'.
6325
8cbd80f7
JL
63262012-05-29 Juri Linkov <juri@jurta.org>
6327
6328 * isearch.el (isearch-search-fun-default): New function.
6329 (isearch-search-fun): Move default part to the new function
6330 `isearch-search-fun-default'.
6331 (isearch-search-fun-function): Set the default value to
6332 `isearch-search-fun-default'. (Bug#11381)
6333
6334 * comint.el (comint-history-isearch-end):
6335 Use `isearch-search-fun-default'.
6336 (comint-history-isearch-search): Use `isearch-search-fun-default'
6337 and remove spacial case for `isearch-word'.
6338 (comint-history-isearch-wrap): Remove spacial case for
6339 `isearch-word'.
6340
6341 * hexl.el (hexl-isearch-search-function):
6342 Use `isearch-search-fun-default'.
6343
6344 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6345 Use `word-search-regexp' for `isearch-word'.
6346
6347 * misearch.el (multi-isearch-search-fun):
6348 Use `isearch-search-fun-default'.
6349
6350 * simple.el (minibuffer-history-isearch-search):
6351 Use `isearch-search-fun-default' and remove spacial case for
6352 `isearch-word'.
6353 (minibuffer-history-isearch-wrap): Remove spacial case for
6354 `isearch-word'.
6355
6356 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6357 Remove spacial case for `isearch-word'.
6358 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6359
85c8c5b6
AM
63602012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6361
6362 Decrease XEmacs incompatibilities.
6363 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6364 Use `string-match'.
6365 (flyspell-delete-region-overlays): Use alternative definition for
6366 XEmacs.
6367 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6368 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6369 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6370 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6371 `define-obsolete-face-alias' under XEmacs, but old method.
6372
6373 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6374 `with-no-warnings' definition or Emacs alias.
6375 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6376 (ispell-word): Do not use `region-p' if XEmacs.
6377
8cab9efc
AM
63782012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6379
6380 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6381 Check for `ispell-dictionary-base-alist' instead of full
6382 `ispell-dictionary-alist'.
6383 (ispell-init-process): Show spellchecker when starting new Ispell
6384 process.
6385
fda91268
RZ
63862012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6387
6388 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6389 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6390
694ea8e3
JB
63912012-05-27 Juanma Barranquero <lekktu@gmail.com>
6392
6393 * version.el (motif-version-string, gtk-version-string)
6394 (ns-version-string): Declare.
6395
e4d4f539
JL
63962012-05-27 Juri Linkov <juri@jurta.org>
6397
6398 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6399 after the `eval-defun-1' specialcaseing
6400 like in `edebug-eval-defun' (bug#10181).
6401
6402 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6403 like in `eval-defun-1'.
6404
33017faf 64052012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 6406
fda91268
RZ
6407 * mail/sendmail.el (mail-yank-region):
6408 Recognize rmail-yank-current-message in addition to insert-buffer.
6409 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
6410 a *mail* buffer created through rmail-start-mail with sendmail as
6411 mail-user-agent.
6412
33017faf
GM
64132012-05-27 Chong Yidong <cyd@gnu.org>
6414
6415 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6416 Default to 256 (Bug#11267).
6417
6418 * help.el (describe-mode): Doc fix.
6419
04188bb9
GM
64202012-05-26 Glenn Morris <rgm@gnu.org>
6421
38264cc9
GM
6422 * w32-fns.el (w32-init-info): Remove.
6423 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6424
eb7afdad
GM
6425 * info.el (info-initialize): For self-contained NS builds, put the
6426 included info/ directory at the front. (Bug#2791)
6427
04188bb9
GM
6428 * paths.el (Info-default-directory-list): Make it a defcustom,
6429 mainly so that we can use custom-initialize-delay.
6430
a179e3f7
SM
64312012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6432
43416392
SM
6433 * subr.el (buffer-has-markers-at): Mark obsolete.
6434
a179e3f7 6435 * subr.el (lambda): Use declare.
43416392 6436
a179e3f7
SM
6437 * emacs-lisp/lisp-mode.el (lambda):
6438 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6439
34a008d9
AH
64402012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6441
6442 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6443
0a3b289f
GM
64442012-05-26 Glenn Morris <rgm@gnu.org>
6445
6446 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6447
758c81e8
GM
64482012-05-25 Glenn Morris <rgm@gnu.org>
6449
f9f334f0
GM
6450 * paths.el: Remove no-byte-compile.
6451 * loadup.el: No need to load paths.el uncompiled.
6452
87eb79c2
GM
6453 * image.el (imagemagick-types-inhibit): Doc fix.
6454
758c81e8
GM
6455 * version.el: Remove no-byte-compile and associated formatting.
6456 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6457 is ancient code from when there was an "inc-vers.el".
6458
e7e85dc0
SM
64592012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6460
6461 * progmodes/gdb-mi.el: Minor style changes.
6462 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6463 Turn into minor modes.
6464 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6465 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6466 (gdb-shell): Remove unneeded let-binding.
6467 (gdb-get-many-fields): Eliminate O(n²) behavior.
6468
f31237a4
EZ
64692012-05-25 Eli Zaretskii <eliz@gnu.org>
6470
6471 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6472 platforms that don't link in fontset.c.
6473
bc1b21bb
JL
64742012-05-25 Juri Linkov <juri@jurta.org>
6475
6476 Use the same diff color scheme as in modern VCSes (bug#10181).
6477
6478 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6479 to avoid confusion with `diff-added' that now uses green colors.
6480 (diff-removed): Use shades of red.
6481 (diff-added): Use shades of green.
6482 (diff-changed): Leave just the yellow color.
6483 (diff-use-changed-face): New variable.
6484 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6485 how to highlight context diff changes.
6486 (diff-refine-change): Use shades of yellow.
6487 (diff-refine-removed): New face that uses shades of red.
6488 (diff-refine-added): New face that uses shades of green.
6489 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6490 `diff-refine-removed' in the call to `smerge-refine-subst'
6491 depending on the value of `diff-use-changed-face'.
6492
6493 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6494 (smerge-other): Use shades of green.
6495 (smerge-base): Use shades of yellow.
6496 (smerge-refined-change): Empty face.
6497 (smerge-refined-removed): New face that uses shades of red.
6498 (smerge-refined-added): New face that uses shades of green.
6499 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6500 args `props-r' and `props-a', and use them. Doc fix.
6501 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6502 on its value use different faces `smerge-refined-change',
6503 `smerge-refined-removed', `smerge-refined-added' in the call to
6504 `smerge-refine-subst'.
6505
6506 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6507 Add face condition `min-colors 88' with shades of red.
6508 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6509 `min-colors 88' with shades of green.
6510 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6511 `min-colors 88' with shades of yellow.
6512
6df9112c
GM
65132012-05-24 Glenn Morris <rgm@gnu.org>
6514
ead5edc0
GM
6515 * paths.el (prune-directory-list, remote-shell-program): Move to...
6516 * files.el (prune-directory-list, remote-shell-program): ...here.
6517 For the latter, delay initialization, prefer ssh, just search PATH.
6518
f18b81e6
GM
6519 * paths.el (term-file-prefix): Move to faces.el (the only user).
6520 * faces.el (term-file-prefix): Move here, make it a defcustom.
6521
ee2f89a6
GM
6522 * paths.el (news-directory, news-path, news-inews-program):
6523 Move to gnus/nnspool.el.
61a583ca 6524
f8815e4c
GM
6525 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6526
c8f3b42c
GM
6527 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6528 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6529 Make the latter a defcustom, with a delayed initialization.
6530
6df9112c
GM
6531 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6532 These were deleted from Gnus itself late 2010.
6533
5dadff36
JB
65342012-05-22 Juanma Barranquero <lekktu@gmail.com>
6535
9e1701c6
JB
6536 * progmodes/which-func.el (which-func-ff-hook):
6537 Check against user-error, not error.
6538
bd7239f5 6539 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
6540 cl-specs.el, which no longer exists.
6541
3290526d
GM
65422012-05-22 Glenn Morris <rgm@gnu.org>
6543
6544 * info.el (info-emacs-bug): New command.
6545 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6546 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6547
ff0c3cfb
GM
65482012-05-21 Glenn Morris <rgm@gnu.org>
6549
6550 * makefile.w32-in (update-subdirs-SH):
6551 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6552
5814f126
SM
65532012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6554
a52c0aa0
SM
6555 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6556
5814f126
SM
6557 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6558 Simplify Maven regexp, and make sure the file can't start with a space
6559 (bug#11517).
6560
b847032c
GM
65612012-05-21 Glenn Morris <rgm@gnu.org>
6562
6563 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6564 Scrap superfluous subshells.
6565
3858bfe7
SM
65662012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6567
6568 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6569 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6570
d14b0029
JB
65712012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6572
6573 * calc/calc.el (calc-ensure-consistent-units): New variable.
6574
a52c0aa0
SM
6575 * calc/calc-units.el (math-consistent-units-p)
6576 (math-check-unit-consistency): New functions.
6577 (calc-quick-units, calc-convert-units):
6578 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6579 is non-nil.
d14b0029
JB
6580 (calc-extract-units): Fix typo.
6581
60c4db3a
SM
65822012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6583
77f3b62e
SM
6584 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6585
60c4db3a
SM
6586 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6587 (flyspell-default-deplacement-commands): Don't spell check after
6588 repeated window/frame switches (e.g. triggered by mouse-movement).
6589 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6590 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6591 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6592 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6593 Remove unused vars.
6594 (flyspell-get-casechars, flyspell-get-not-casechars):
6595 Simplify; Don't bother removing a ] just to add it back.
6596 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6597
d209e2fb 65982012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
6599
6600 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6601 New functions.
bd7239f5 6602 (math-function-table): Add support for more C functions.
b1a10716 6603
3f1b25b5
AM
66042012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6605
090bd7cb
JB
6606 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6607 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6608 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 6609
b581bb5c
SM
66102012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6611
6612 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6613 their respective macro declarations.
6614 * skeleton.el (define-skeleton):
6615 * progmodes/compile.el (define-compilation-mode):
6616 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6617 (define-ibuffer-filter):
6618 * emacs-lisp/generic.el (define-generic-mode):
6619 * emacs-lisp/easy-mmode.el (define-minor-mode)
6620 (define-globalized-minor-mode):
6621 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6622 * emacs-lisp/byte-run.el (defsubst):
6623 * custom.el (deftheme): Add doc-string metadata.
6624
70b8ef8f
SM
66252012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6626
6627 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6628
b1198e17
SM
66292012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6630
9abdc45d
SM
6631 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6632
b1198e17
SM
6633 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6634 * emacs-lisp/cl-macs.el: Idem.
6635 * emacs-lisp/cl-specs.el: Remove.
6636
4735906a
SM
66372012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6638
6639 Minor renaming of internal CL functions and variables.
6640 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6641 (cl--position): Rename from cl-position.
6642 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6643 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6644 (cl--random-state): Rename from *random-state*.
6645
ac348012
SM
66462012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6647
6648 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6649 parens around the arg list (bug#11499).
6650
a0a79cde
JL
66512012-05-17 Juri Linkov <juri@jurta.org>
6652
6653 * isearch.el (word-search-regexp, word-search-backward)
6654 (word-search-forward, word-search-backward-lax)
6655 (word-search-forward-lax): Move functions from search.c
6656 (bug#10145, bug#11381).
6657
65034a51
AM
66582012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6659
090bd7cb
JB
6660 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6661 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6662 Delay for otherchars as for normal word components.
65034a51 6663
1a72a195
SM
66642012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6665
6666 * minibuffer.el (completion--sifn-requote): Fix last change.
6667 (minibuffer-local-must-match-filename-map):
6668 Move define-obsolete-variable-alias before its var.
6669
fdb058c2
SM
66702012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6671
c41045e6
SM
6672 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6673
036dfb8b
SM
6674 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6675 behavior.
6676 (completion--string-equal-p): New function.
6677 (completion--twq-all): Use it to get better assertion failure data.
6678
2473256d
SM
6679 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6680 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6681 (shell--requote-argument): New functions.
6682 (shell-completion-vars): Use them.
6683 (shell--parse-pcomplete-arguments): Rename from
6684 shell-parse-pcomplete-arguments.
6685 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6686 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6687 Obey comint-file-name-quote-list.
6688
fdb058c2
SM
6689 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6690 (smie-indent-keyword): Use it.
6691
51fa99f1
SM
66922012-05-14 Stefan Merten <smerten@oekonux.de>
6693
6694 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6695
e18afed7 66962012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
6697
6698 * net/rlogin.el (rlogin-mode-map): Fix last change.
6699
e18afed7 67002012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
6701
6702 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6703 the following \r\n using a single `process-send-string', since the
6704 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 6705 with two `process-send-string's (Bug#11444).
8633b1f4 6706
e18afed7 67072012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 6708
fdb058c2
SM
6709 * shell.el (shell-parse-pcomplete-arguments):
6710 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 6711
2d21d7f6
WJ
67122012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6713
e18afed7 6714 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
6715 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6716 (image-transform-width, image-transform-fit-width): New functions.
6717 (image-transform-properties): Use them.
6718 (image-transform-check-size): New function.
6719 (image-toggle-display-image): Use it (for testing).
6720 (image-transform-set-rotation): Reduce angle mod 360.
6721 Delete obsolete comment.
6722
7102e6d0
WJ
67232012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6724
6725 * image-mode.el: Fix scaling (bug#11399).
6726 (image-transform-resize): Doc fix.
6727 (image-transform-properties): Default scale is 1 and height should
6728 be an integer.
6729
06bc5e6e
SM
67302012-05-13 Johan Bockgård <bojohan@gnu.org>
6731
6732 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6733 than hard-coding `car', to fix misbehavior when moving forward.
6734
0ae03b6a
CY
67352012-05-13 Chong Yidong <cyd@gnu.org>
6736
6737 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6738 (tabulated-list-entries, tabulated-list-padding)
6739 (tabulated-list-sort-key): Make permanent-local.
6740
6741 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6742 (electric-buffer-list): Put electric buffer menu
6743 command descriptions in this docstring, instead of the docstring
6744 of electric-buffer-menu-mode. Code cleanups.
6745 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6746 Electric-buffer-menu-mode.
6747 (electric-buffer-update-highlight): Minor code cleanup.
6748
205a7391
MA
67492012-05-13 Michael Albinus <michael.albinus@gmx.de>
6750
6751 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6752 (Bug#11447)
6753
e5bd0a28
SM
67542012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6755
6756 Move define-obsolete-variable-alias before the var's definition.
6757 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6758 * tooltip.el (tooltip-hook):
6759 * textmodes/reftex-toc.el (reftex-toc-map):
6760 * textmodes/reftex-sel.el (reftex-select-label-map)
6761 (reftex-select-bib-map):
6762 * textmodes/reftex-index.el (reftex-index-map)
6763 (reftex-index-phrases-map):
6764 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6765 * progmodes/meta-mode.el (meta-mode-map):
6766 * novice.el (disabled-command-hook):
6767 * loadhist.el (unload-hook-features-list):
6768 * frame.el (blink-cursor):
6769 * files.el (find-file-not-found-hooks, write-file-hooks)
6770 (write-contents-hooks):
6771 * emulation/tpu-edt.el (GOLD-map):
6772 * emacs-lock.el (emacs-lock-from-exiting):
6773 * emacs-lisp/generic.el (generic-font-lock-defaults):
6774 * emacs-lisp/chart.el (chart-map):
6775 * dos-fns.el (register-name-alist):
6776 * dired-x.el (dired-omit-files-p):
6777 * desktop.el (desktop-enable):
6778 * cus-edit.el (custom-mode-hook):
6779 * buff-menu.el (buffer-menu-mode-hook):
6780 * bookmark.el (bookmark-read-annotation-text-func)
6781 (bookmark-exit-hooks):
6782 * allout.el (allout-mode-deactivate-hook)
6783 (allout-exposure-change-hook, allout-structure-added-hook)
6784 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6785 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6786 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6787 comes before the corresponding variable's definition.
6788
ac59c2f6
CY
67892012-05-12 Chong Yidong <cyd@gnu.org>
6790
6791 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
6792 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6793 (Buffer-menu-mode-map): Bind it.
6794 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 6795
dee6c9a3
SM
67962012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6797
2171cea5
SM
6798 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6799 (prolog-upper-case-string, prolog-lower-case-string)
6800 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6801 (prolog-use-smie, prolog-smie-grammar): New vars.
6802 (prolog-smie-forward-token, prolog-smie-backward-token)
6803 (prolog-smie-rules): New funs.
6804 (prolog-comment-indent): Remove.
6805 (prolog-mode-variables): Use default comment indentation instead.
6806 Setup SMIE.
6807 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6808 (prolog-mode): Don't call them any more.
6809 (prolog-electric-colon, prolog-electric-dash)
6810 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6811
aa0382bd
SM
6812 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6813
dbacb4bd
SM
6814 * minibuffer.el (completion--twq-all): Again, allow case differences.
6815
13bdd94c
SM
6816 * term.el: Move keymap initialization code to be more idiomatic.
6817 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6818 (term-terminal-menu): Move initialization into declaration.
6819 (term-escape-char): Let the user set it in her .emacs.
6820
ff46c759
SM
6821 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6822 Provide SMIE-based indentation (not enabled by default yet).
6823 (sh-mode-map): Don't bind electric keys.
6824 Use electric-pair-mode instead of skeleton-pair.
6825 (sh-assignment-regexp): Fit within 80 columns.
6826 (sh-indent-supported): Specify actual shell name instead of boolean.
6827 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6828 (sh-maybe-here-document): Use it. Make obsolete.
6829 (sh-electric-here-document-mode) New minor mode.
6830 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6831 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6832 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6833 (sh-smie-rc-grammar, sh-use-smie): New vars.
6834 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6835 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6836 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6837 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6838 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6839 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6840 (sh-set-shell): Use smie-setup if requested.
6841
dee6c9a3
SM
6842 * term.el (term-set-escape-char): Properly set term-escape-char.
6843 See http://stackoverflow.com/questions/10524656.
6844
9f9aa044
CY
68452012-05-10 Chong Yidong <cyd@gnu.org>
6846
6847 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6848 Use url-generic-parse-url, and handle host names and Windows
6849 filenames properly.
6850 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6851 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6852 URL schemes to work on.
6853 (ffap--toggle-read-only): New function.
6854 (ffap-read-only, ffap-read-only-other-window)
6855 (ffap-read-only-other-frame): Use it.
6856 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6857 necessary for ffap-url-unwrap-remote.
6858
836d29b3
DA
68592012-05-10 Dave Abrahams <dave@boostpro.com>
6860
6861 * cus-start.el (create-lockfiles): Add it.
6862
00fd78ed
CY
68632012-05-09 Chong Yidong <cyd@gnu.org>
6864
6865 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6866 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6867
666b903b 68682012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
6869
6870 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6871
666b903b 68722012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
6873
6874 * ansi-color.el (ansi-color-process-output): Check for validity of
6875 comint-last-output-start before using it. This avoids a bad
6876 interaction with gdb-mi's input/output buffer.
6877
666b903b 68782012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
6879
6880 * files.el (dir-locals-read-from-file):
6881 Mention dir-locals in any error message.
6882
666b903b 68832012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
6884
6885 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6886 package (Bug#11410).
6887
f677562b
CY
6888 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6889 variables into description.
6890
666b903b 68912012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
6892
6893 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6894 shell-delimiter-argument-list (bug#11348).
6895 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6896
b499d8d0
JB
68972012-05-09 Juanma Barranquero <lekktu@gmail.com>
6898
8f6b6da8
JB
6899 * textmodes/rst.el: Silence byte-compiler warnings.
6900 (rst-re-alist, rst-reset-section-caches): Move around.
6901 (rst-re): Use `characterp', not `char-valid-p'.
6902 (font-lock-beg, font-lock-end): Declare.
6903
4824146a
JB
6904 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6905 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6906
b499d8d0
JB
6907 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6908
ad89bb83
GM
69092012-05-08 Glenn Morris <rgm@gnu.org>
6910
6911 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6912
8bba5a75
SM
69132012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6914
49ed9c8e
SM
6915 * vc/log-edit.el: Add GNU coding standards highlighting.
6916 (log-edit-font-lock-gnu-style)
6917 (log-edit-font-lock-gnu-keywords): New vars.
6918 (log-edit-font-lock-keywords): New fun.
6919 (log-edit-mode): Don't fold case in font-lock.
6920 (log-edit-font-lock-keywords): Do not assume case-folding.
6921
07d00b56
SM
6922 * imenu.el: Misc cleanup. Make docstrings out of comments.
6923 Use lexical-binding.
6924 (imenu--index-alist, imenu--last-menubar-index-alist)
6925 (imenu-menubar-modified-tick): Use defvar-local.
6926 (imenu--split-menu): Remove unused var.
6927 (imenu--cleanup-seen): Declare as global.
6928 (imenu--cleanup): Use dolist.
6929
8bba5a75
SM
6930 * subr.el (defvar-local): Add debug spec and doc-string position.
6931
5075bdb5
GM
69322012-05-08 Glenn Morris <rgm@gnu.org>
6933
090bd7cb 6934 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
6935 * language/english.el, language/georgian.el, language/greek.el:
6936 * language/japanese.el, language/khmer.el, language/korean.el:
6937 * language/lao.el, language/misc-lang.el, language/romanian.el:
6938 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6939 * language/thai.el, language/utf-8-lang.el:
6940 Remove no-byte-compile setting.
6941
5075bdb5
GM
6942 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6943
06f679a7
AH
69442012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6945
6946 * progmodes/make-mode.el (makefile-browse):
6947 Remove unnecessary interactive. (Bug#11324)
6948
03794570
GM
69492012-05-07 Glenn Morris <rgm@gnu.org>
6950
af8630f4
GM
6951 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6952
03794570
GM
6953 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6954
f0809a9d
SM
69552012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6956
28be5ce7
SM
6957 * loadup.el: Preload newcomment.el.
6958 * newcomment.el: Move autoload-only code to toplevel.
6959
f0809a9d
SM
6960 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6961 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6962 Handle new :right-align column property.
6963 (tabulated-list-print-col): Idem, plus use `display' text-property to
6964 try and preserve alignment for variable pitch fonts.
6965
1241b724
CY
69662012-05-07 Chong Yidong <cyd@gnu.org>
6967
6968 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6969 (tabulated-list-use-header-line): New var.
6970 (tabulated-list-init-header): Use it.
6971 (tabulated-list-print-fake-header): New function.
6972 (tabulated-list-print): Use it.
6973 (tabulated-list-sort-button-map): Add non-header-line commands.
6974 (tabulated-list-init-header): Add column name property to basic
6975 labels as well.
6976 (tabulated-list-col-sort): Handle non-header-line button case.
6977 (tabulated-list--sort-by-column-name): Fix a corner case.
6978
f0809a9d
SM
6979 * buff-menu.el (list-buffers--refresh):
6980 Handle Buffer-menu-use-header-line.
1241b724 6981
e5f9458f
CY
69822012-05-06 Chong Yidong <cyd@gnu.org>
6983
6984 * buff-menu.el: Convert to Tabulated List mode.
6985 (Buffer-menu-buffer+size-width): Make obsolete.
6986 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6987 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6988 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
6989 documentation into docstring of buffer-menu.
6990 (Buffer-menu-toggle-files-only): Add an informative message.
6991 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6992 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6993 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6994 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6995 (Buffer-menu-execute, Buffer-menu-select)
6996 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6997 (Buffer-menu-bury): Use Tabulated List machinery.
6998 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6999 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 7000 Delete.
e5f9458f
CY
7001 (list-buffers--refresh): New function.
7002 (list-buffers-noselect): Use it.
7003 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7004 (Buffer-menu--pretty-file-name): New helper functions.
7005
7006 * loadup.el: Preload tabulated-list.
7007
7008 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7009 tabulated-list-sort-column.
7010 (tabulated-list-init-header): Add the initial aligning space even
7011 if tabulated-list-padding is zero.
7012
e129292c
CS
70132012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7014
7015 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7016 whose cdr is not a cons cell correctly (bug#11038).
7017
6632d361
CY
70182012-05-06 Chong Yidong <cyd@gnu.org>
7019
e129292c
CS
7020 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7021 Accept additional plist in column descriptors.
6632d361
CY
7022 (tabulated-list-init-header): Obey it.
7023 (tabulated-list-get-entry): New function.
7024 (tabulated-list-put-tag): Use it. Use string-width instead of
7025 length.
7026 (tabulated-list--column-number): New function.
7027 (tabulated-list-print): Use it.
e129292c
CS
7028 (tabulated-list-print-col): New function.
7029 Set `tabulated-list-column-name' property on each column's text.
6632d361 7030 (tabulated-list-print-entry): Use it.
e129292c
CS
7031 (tabulated-list-delete-entry, tabulated-list-set-col):
7032 New functions.
6632d361
CY
7033 (tabulated-list-sort-column): New command (Bug#11337).
7034
3cc99f68
CY
7035 * buff-menu.el (list-buffers): Move C-x C-b binding from
7036 buff-menu.el to bindings.el.
7037
7038 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7039 :advertised-binding feature.
7040
52b61776
TN
70412012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7042
7043 * progmodes/compile.el (compilation-internal-error-properties):
7044 Calculate start position correctly when end-col is set but
7045 end-line is not (Bug#11382).
7046
ebfe2597
WJ
70472012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7048
7049 * man.el (Man-unindent): Use text-property-default-nonsticky to
7050 prevent untabify from inheriting face properties (Bug#11408).
7051
6d3f7c2f
SM
70522012-05-05 Stefan Merten <smerten@oekonux.de>
7053
7054 * textmodes/rst.el: Major merge with upstream development up to
7055 Docutils SVN r7399 / rst.el V1.2.1.
7056
7057 Clarify maintainership and authors.
7058
7059 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7060 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7061 (rst-official-version, rst-official-cvs-rev, rst-version)
7062 (rst-package-emacs-version-alist): New functions and variables
7063 for version information.
7064
7065 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7066 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7067 (rst-mode-syntax-table, rst-mode): New and corrected functions
7068 and variables representing reStructuredText features.
7069
7070 (rst-re): New function for reStructuredText regexes. Use in
7071 many places.
7072
7073 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7074 (rst-mode-map): Rebind keys.
7075
7076 (rst-mode-lazy, rst-font-lock-keywords)
7077 (rst-font-lock-extend-region)
7078 (rst-font-lock-extend-region-internal)
7079 (rst-font-lock-extend-region-extend)
7080 (rst-font-lock-find-unindented-line-limit)
7081 (rst-font-lock-find-unindented-line-match)
7082 (rst-adornment-level, rst-font-lock-adornment-level)
7083 (rst-font-lock-adornment-match)
7084 (rst-font-lock-handle-adornment-pre-match-form)
7085 (rst-font-lock-handle-adornment-matcher): Major revision of
7086 font-locking. Integrate with other code. Use `jit-lock-mode'.
7087
7088 (rst-preferred-adornments, rst-adjust-hook)
7089 (rst-new-adornment-down, rst-preferred-bullets)
7090 (rst-preferred-bullets, rst-indent, rst-indent-width)
7091 (rst-indent-field, rst-indent-literal-normal)
7092 (rst-indent-literal-minimized, rst-indent-comment): Change,
7093 extend and improve customization.
7094
7095 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7096 (rst-normalize-cursor-position, rst-get-decoration)
7097 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7098 (rst-rstrip, rst-toc-insert-find-delete-contents)
7099 (rst-shift-fill-region, rst-compute-bullet-tabs)
7100 (rst-debug-print-tabs, rst-debug-mark-found)
7101 (rst-shift-region-guts, rst-shift-region-right)
7102 (rst-shift-region-left, rst-use-char-classes)
7103 (rst-font-lock-keywords-function)
7104 (rst-font-lock-indentation-point)
7105 (rst-font-lock-find-unindented-line-begin)
7106 (rst-font-lock-find-unindented-line-end)
7107 (rst-font-lock-find-unindented-line)
7108 (rst-font-lock-adornment-point, rst-font-lock-level)
7109 (rst-adornment-level-alist): Remove functions and variables.
7110
7111 (rst-compare-adornments, rst-get-adornment-match)
7112 (rst-suggest-new-adornment, rst-get-adornments-around)
7113 (rst-adornment-complete-p, rst-get-next-adornment)
7114 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7115 (rst-straighten-adornments): Standardize function names to
7116 use "adornment" instead of "decoration". Correct callers.
7117 Similar standardizing in many places.
7118
7119 (rst-update-section, rst-adjust, rst-promote-region)
7120 (rst-enumerate-region, rst-bullet-list-region)
7121 (rst-repeat-last-character): Correct use of `interactive'.
7122
7123 (rst-classify-adornment, rst-find-all-adornments)
7124 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7125 (rst-find-leftmost-column, rst-repeat-last-character):
7126 Refactor functions.
7127
7128 (rst-find-title-line, rst-reset-section-caches)
7129 (rst-get-adornments-around, rst-adjust-adornment-work)
7130 (rst-arabic-to-roman, rst-roman-to-arabic)
7131 (rst-insert-list-pos, rst-insert-list-new-item)
7132 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7133 New functions.
7134
7135 (rst-all-sections, rst-section-hierarchy)
7136 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7137 New variables.
7138
7139 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7140 configuration instead of only buffer. Change where necessary.
7141
7142 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7143 (rst-shift-region, rst-adaptive-fill): New functions for
7144 indentation and filling.
7145
7146 (rst-comment-line-break, rst-comment-indent)
7147 (rst-comment-insert-comment, rst-comment-region)
7148 (rst-uncomment-region): New functions for handling comments.
7149
7150 (rst-compile): Quote shell arguments.
7151
7152 (rst-compile-pdf-preview, rst-compile-slides-preview):
7153 Delete temporary files after use.
7154
a43f98b3
GM
71552012-05-05 Glenn Morris <rgm@gnu.org>
7156
48176e8b
GM
7157 * calendar/cal-html.el: Optionally include holidays in the output.
7158 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7159 (cal-html-holidays): New option.
7160 (cal-html-css-default): Add holiday entry.
7161 (holiday-in-range): Autoload it.
7162 (cal-html-htmlify-entry): Add optional class argument.
7163 (cal-html-htmlify-list): Add optional holidays argument.
7164 (cal-html-insert-agenda-days): Include holidays in the output.
7165 (cal-html-one-month): Maybe include holidays.
7166
a43f98b3
GM
7167 * calendar/holidays.el (holiday-in-range):
7168 Move here from cal-tex-list-holidays.
7169 * calendar/cal-tex.el (cal-tex-list-holidays):
7170 Make it an obsolete alias for holiday-in-range. Update all callers.
7171
fef9d149 71722012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
7173
7174 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7175 Nextstep.
7176
248da2f4
RW
71772012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7178
7179 * files.el (file-auto-mode-skip): New var.
7180 (set-auto-mode-1): Use it.
7181
f95e9344
SM
71822012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7183
df96ab1e
SM
7184 * repeat.el: Use lexical-binding.
7185 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7186 (repeat-undo-count): Remove.
7187 (repeat):
7188 * progmodes/octave-mod.el (octave-abbrev-start):
7189 * progmodes/f90.el (f90-abbrev-start):
7190 * face-remap.el (text-scale-adjust):
7191 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7192
5342bb06
SM
7193 * emacs-lisp/pcase.el (pcase--let*): New function.
7194 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7195 a bit more.
7196 (pcase--split-pred): Be more clever about ruling out overlap between
7197 a predicate and some constant pattern.
7198 (pcase--q1): Use `null' instead of (eq foo nil).
7199
f95e9344
SM
7200 * subr.el (setq-local, defvar-local): New macros.
7201 (kbd): Redefine as an alias.
7202 (with-selected-window): Leave unrelated frames alone.
7203 (set-temporary-overlay-map): New function.
7204
71873e2b
SM
72052012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7206
7207 * subr.el (user-error): New function.
7208 * window.el (switch-to-buffer):
7209 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7210 (smerge-match-conflict):
7211 * simple.el (previous-matching-history-element)
7212 (next-matching-history-element, goto-history-element, undo-more)
7213 (undo-start):
7214 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7215 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7216 (next-file, tags-loop-scan, list-tags, complete-tag):
7217 * progmodes/compile.el (compilation-loop):
7218 * mouse.el (mouse-minibuffer-check):
7219 * man.el (Man-bgproc-sentinel, Man-goto-page):
7220 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7221 (Info-history-forward, Info-follow-reference, Info-menu)
7222 (Info-extract-menu-item, Info-extract-menu-counting)
7223 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7224 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7225 (Info-next-reference, Info-prev-reference, Info-index)
7226 (Info-index-next, Info-follow-nearest-node)
7227 (Info-copy-current-node-name):
7228 * imenu.el (imenu--make-index-alist)
7229 (imenu-default-create-index-function, imenu-add-to-menubar):
7230 * files.el (basic-save-buffer, recover-file):
7231 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7232 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7233 (checkdoc-message-text, checkdoc-defun):
7234 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7235 * cus-edit.el (customize-changed-options, customize-rogue)
7236 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7237 (custom-variable-mark-to-reset-standard)
7238 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7239 (custom-file):
7240 * completion.el (check-completion-length):
7241 * comint.el (comint-search-arg)
7242 (comint-previous-matching-input-string-position)
7243 (comint-previous-matching-input)
7244 (comint-replace-by-expanded-history-before-point, comint-send-input)
7245 (comint-copy-old-input, comint-backward-matching-input)
7246 (comint-goto-process-mark, comint-set-process-mark):
7247 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7248 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7249
8a61ee22
SM
72502012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7251
66408d1e
SM
7252 * dabbrev.el (dabbrev--ignore-case-p): New function.
7253 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7254 Use it.
7255
8a61ee22
SM
7256 * files.el (automount-dir-prefix): Mark as obsolete.
7257
3c74813a
GM
72582012-05-04 Glenn Morris <rgm@gnu.org>
7259
7260 * patcomp.el, play/bruce.el: Move to obsolete/.
7261
0bfcf5c5
PE
72622012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7263
7264 Fix minor Y10k bugs.
7265 * arc-mode.el (archive-unixdate):
7266 * autoinsert.el (auto-insert-alist):
7267 * calc/calc-forms.el (math-this-year):
7268 * emacs-lisp/copyright.el (copyright-current-year)
7269 (copyright-update-year, copyright):
7270 * tar-mode.el (tar-clip-time-string):
7271 * time.el (display-time-update):
7272 Don't assume years have 4 digits.
7273
78f3273a
CY
72742012-05-04 Chong Yidong <cyd@gnu.org>
7275
7276 * dos-w32.el (file-name-buffer-file-type-alist)
7277 (direct-print-region-use-command-dot-com):
7278 * ffap.el (ffap-menu-regexp):
7279 * find-file.el (ff-special-constructs):
7280 * follow.el (follow-debug):
7281 * forms.el (forms--debug):
7282 * iswitchb.el (iswitchb-all-frames):
7283 * ido.el (ido-all-frames):
7284 * emacs-lisp/timer.el (timer-max-repeats):
7285 * mail/feedmail.el (feedmail-mail-send-hook)
7286 (feedmail-mail-send-hook-queued):
7287 * mail/footnote.el (footnote-signature-separator):
7288 * mail/mailabbrev.el (mail-alias-separator-string)
7289 (mail-abbrev-mode-regexp):
7290 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7291 * progmodes/idlwave.el (idlwave-libinfo-file)
7292 (idlwave-default-completion-case-is-down)
7293 (idlwave-library-routines): Convert defvars to defcustoms.
7294
7295 * mail/rmail.el (rmail-decode-mime-charset):
7296 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7297 (idlwave-shell-fix-inserted-breaks)
7298 (idlwave-shell-activate-alt-keybindings)
7299 (idlwave-shell-use-breakpoint-glyph):
7300 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7301
f7ae6719
SM
73022012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7303
7304 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7305
47086495
WS
73062012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7307
7308 * progmodes/verilog-mode.el (font-lock-keywords):
7309 Fix mis-highligting auto. Reported by Craig Barner.
7310 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 7311 defines from global name space. Reported by Dan Dever.
47086495
WS
7312 (verilog-auto-reset, verilog-auto-reset-widths)
7313 (verilog-auto-tieoff): Support using unbased numbers for
7314 AUTORESET and AUTOTIEOFF.
7315 (verilog-submit-bug-report): Update variable list.
7316 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 7317 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
7318 (verilog-auto-template-lint): Fix hash error when linting modules
7319 with no used templates.
7320 (verilog-warn, verilog-warn-error)
7321 (verilog-warn-fatal): When non-interactive report multiple
7322 warnings before exiting. Suggested by Brad Dobbie.
7323 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7324 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7325 to report unused template errors. Reported by Brad Dobbie.
7326 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 7327 nets, bug438. Reported by Vns Blore.
47086495
WS
7328 (verilog-auto-inout-module, verilog-auto-reg)
7329 (verilog-read-decls, verilog-read-sub-decls-sig)
7330 (verilog-signals-edit-wire-reg, verilog-signals-with):
7331 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 7332 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
7333 "reg" for backwards compatibility presuming Verilog 2001.
7334 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7335 (verilog-preprocess): Fix replication of preprocess output.
7336 Reported by Brad Dobbie.
7337 (verilog-auto-inst-interfaced-ports):
7338 Create verilog-auto-inst-interfaced-ports, bug429.
7339 Reported by Julian Gorfajn.
7340 (verilog-after-save-font-hook)
7341 (verilog-before-save-font-hook): New variable.
7342 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7343 (verilog-save-font-mods): Wrap disabling fontification, reported
7344 by David Rogoff.
7345 (verilog-do-indent, verilog-pretty-declarations-auto)
7346 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7347 Reported by Pierre-David Pfister.
7348 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7349 of class declarations, bug292. Reported by Kevin Heilman.
7350 (verilog-read-decls): Fix 'parameter type' not appearing in
7351 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7352 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 7353 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
7354 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7355 Reported by David Kravitz.
7356
73572012-05-03 Michael McNamara <mac@mail.brushroad.com>
7358
7359 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7360 assignment with tests in ifs and for loops.
7361 (verilog-extended-complete-re, verilog-complete-reg): Change so
7362 that DPI inport functions don't look like fuction declarations.
7363 (verilog-pretty-expr): Don't line up assignment
7364 operations to the test and increment in if and for loops
7365 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 7366 that DPI inport functions don't look like fuction declarations.
47086495 7367
2e51d4b5
KH
73682012-05-03 Kenichi Handa <handa@m17n.org>
7369
7370 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 7371 decoding, and show a warning message without signaling an error
2e51d4b5
KH
7372 (Bug#11282).
7373
2bd785a2
SM
73742012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7375
7376 * emacs-lisp/bytecomp.el
7377 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7378 since cconv.el might have introduced :fun-body, internal-make-closure,
7379 and friends for bytecomp to handle (bug#11391).
7380 * custom.el (defcustom): Avoid ((λ ..) ..).
7381
99d27583
SM
73822012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7383
7384 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7385
55a71479
JB
73862012-05-02 Juanma Barranquero <lekktu@gmail.com>
7387
7388 * notifications.el (dbus-debug):
7389 * term/linux.el (gpm-mouse-enable):
7390 * term/screen.el (xterm-register-default-colors): Declare.
7391
7b97c764
CY
73922012-05-02 Chong Yidong <cyd@gnu.org>
7393
2bc356d7
CY
7394 * cus-start.el (gc-cons-percentage, exec-suffixes)
7395 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7396 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7397 (make-cursor-line-fully-visible, void-text-area-pointer)
7398 (font-list-limit): Add customization data.
7399
7b97c764
CY
7400 * allout.el (allout-exposure-change-functions)
7401 (allout-structure-added-functions)
7402 (allout-structure-deleted-functions)
7403 (allout-structure-shifted-functions): Rename abnormal hooks from
7404 *-hook, and convert to defcustoms.
5d3385a0
JB
7405 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7406 Convert to defcustoms.
7b97c764
CY
7407 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7408
7409 * allout-widgets.el: Hook callers changed.
7410
90207a15 74112012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
7412
7413 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7414 the yanked message in preference to the default value of
7415 buffer-file-coding-system.
7416
90207a15 74172012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 7418
5d3385a0
JB
7419 * window.el (display-buffer--action-function-custom-type):
7420 Fix entry.
d9558cad 7421
90207a15 74222012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
7423
7424 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7425
d80ac57b
GM
74262012-05-01 Glenn Morris <rgm@gnu.org>
7427
976f7668
GM
7428 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7429
beb83b5a
GM
7430 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7431
d80ac57b
GM
7432 * cus-edit.el (custom-variable-documentation): Simplify with format.
7433
b593d6a9 74342012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 7435 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
7436
7437 * simple.el (suggest-key-bindings, execute-extended-command):
7438 Move from keyboard.c.
7439
782fbf2a
CY
74402012-05-01 Chong Yidong <cyd@gnu.org>
7441
7442 * follow.el: Eliminate advice.
7443 (set-process-filter, process-filter, sit-for): Advice deleted.
7444 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
7445 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7446 Vars deleted.
782fbf2a
CY
7447 (follow-auto): Use a :set function.
7448 (follow-mode): Rewritten. Don't advise process filters.
7449 (follow-switch-to-current-buffer-all, follow-scroll-up)
7450 (follow-scroll-down): Assume follow-mode is bound.
7451 (follow-comint-scroll-to-bottom)
7452 (follow-align-compilation-windows): New functions.
7453 (follow--window-sorter): New function.
7454 (follow-all-followers): Use it to explicitly sort windows by their
7455 positions; don't make assumptions about next-window order.
7456 (follow-windows-start-end, follow-delete-other-windows-and-split)
7457 (follow-calc-win-start): Doc fix.
7458 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7459 vertical-motion unnecessarily.
7460 (follow-adjust-window): New function.
7461 (follow-post-command-hook): Use it.
7462 (follow-call-set-process-filter, follow-call-process-filter)
7463 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7464 (follow-stop-intercept-process-output, follow-generic-filter):
7465 Functions deleted.
7466 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
7467 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7468 New functions, replacing advice on scroll-bar-* commands.
87233a14 7469 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
7470
7471 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
7472 (comint-postoutput-scroll-to-bottom): Use it.
7473 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 7474
290af740
GM
74752012-05-01 Glenn Morris <rgm@gnu.org>
7476
7477 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7478 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7479 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7480 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7481 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7482 Remove no-byte-compile setting.
7483
6eac8dc9
SM
74842012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7485
7486 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7487 all-completions code to not return a number in the last cdr.
7488
9cc7819c
LL
74892012-04-30 Leo Liu <sdl.web@gmail.com>
7490
7491 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7492 read-only error.
7493
c93b886f
CY
74942012-04-29 Chong Yidong <cyd@gnu.org>
7495
7496 * follow.el (follow-calc-win-end): Rewrite to handle partial
7497 screen lines correctly (Bug#8390).
7498 (follow-avoid-tail-recenter): Minor cleanup.
7499
8b6c19f4
SM
75002012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7501
7502 Avoid the obsolete `assoc' package.
7503 * speedbar.el (speedbar-refresh): Avoid adelete.
7504 (speedbar-file-lists): Simplify and avoid aput.
7505 * man.el (Man--sections, Man--refpages): New vars, replacing
7506 Man-sections-alist and Man-refpages-alist.
7507 (Man-build-section-alist, Man-build-references-alist):
7508 Use them; avoid aput.
7509 (Man--last-section, Man--last-refpage): New vars.
7510 (Man-follow-manual-reference): Use them.
7511 Use the `default' arg of completing-read.
7512 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7513
c5bb7569
CY
75142012-04-27 Chong Yidong <cyd@gnu.org>
7515
d1d2e2e8
CY
7516 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7517
15cd8efd
CY
7518 * startup.el (x-apply-session-resources): New function.
7519
7520 * term/ns-win.el (ns-initialize-window-system):
7521 * term/w32-win.el (w32-initialize-window-system):
7522 * term/x-win.el (x-initialize-window-system): Use it to properly
7523 set menu-bar-mode and other vars from X resources, even if the
7524 initial frame is not a window-system frame (Bug#2299).
7525
c5bb7569
CY
7526 * subr.el (read-key): Avoid running filter function when setting
7527 up temporary tool bar entries (Bug#9922).
7528
a8e7d6d7 75292012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
7530
7531 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7532 (Bug#11344)
7533
a8e7d6d7 75342012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
7535
7536 * select.el (xselect--encode-string): New function, split from
7537 xselect-convert-to-string.
7538 (xselect-convert-to-string): Use it.
7539 (xselect-convert-to-filename, xselect-convert-to-os)
7540 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7541 returned strings are properly encoded (Bug#11315).
7542
a8e7d6d7 75432012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
7544
7545 * simple.el (delete-active-region): Move to killing custom group.
7546
a8e7d6d7 75472012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
7548
7549 * progmodes/which-func.el (which-func-current): Quote %
7550 characters for mode-line processing.
7551
578c1d4b 75522012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
7553
7554 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7555 reaching eob (Bug#11286).
7556
a8e7d6d7 75572012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
7558
7559 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7560 (gdb): Make it buffer-local and init to zero.
7561 (gdb-control-commands-regexp): New variable.
7562 (gdb-send): Don't wrap in "-interpreter-exec console" if
7563 gdb-control-level is positive. Increment gdb-control-level
7564 whenever the command matches gdb-control-commands-regexp, and
7565 decrement it each time the command is "end". (Bug#11279)
7566
a8e7d6d7 75672012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
7568
7569 * window.el (adjust-window-trailing-edge, enlarge-window)
7570 (shrink-window, window-resize):
7571 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7572 windows (Bug#11276).
7573
b3608390
CY
75742012-04-27 Chong Yidong <cyd@gnu.org>
7575
7576 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 7577 fix "missing prefix" warning. All callers changed.
b3608390 7578
797e6e88
SM
75792012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7580
7581 * emacs-lisp/assoc.el: Move to obsolete/.
7582
e95a67dc
SM
75832012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7584
657c21e4 7585 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
7586
7587 * term/ns-win.el (ns-define-service):
7588 * progmodes/pascal.el (pascal-goto-defun):
7589 * progmodes/js.el (js--read-tab):
7590 * progmodes/etags.el (tags-lazy-completion-table):
7591 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7592 * emacs-lisp/ewoc.el (ewoc--wrap):
7593 * emacs-lisp/assoc.el (aput, adelete, amake):
7594 * doc-view.el (doc-view-convert-current-doc):
7595 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7596
cb3e7ae0
CY
75972012-04-26 Chong Yidong <cyd@gnu.org>
7598
dce04f7f
CY
7599 * image.el (image-type-from-buffer): Only return supported image
7600 type (Bug#9045).
7601
cb3e7ae0
CY
7602 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7603 value, for symmetry with diff-end-of-hunk.
7604 (diff-split-hunk, diff-find-source-location)
7605 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7606 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7607 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7608 compute the relevant hunk or file properly (Bug#6005).
7609 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7610
0d42eb3e
SM
76112012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7612
7613 * vc/vc-mtn.el:
7614 * vc/vc-hg.el:
7615 * vc/vc-git.el:
7616 * vc/vc-dir.el:
7617 * vc/vc-cvs.el:
7618 * vc/vc-bzr.el:
7619 * vc/vc-arch.el:
7620 * vc/vc.el: Replace lexical-let by lexical-binding.
7621 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7622 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7623 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7624
f08ae1c9
CY
76252012-04-26 Chong Yidong <cyd@gnu.org>
7626
8b71081d
CY
7627 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7628 (diff-mode-shared-map): Bind it to / and [remap undo].
7629
f08ae1c9
CY
7630 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7631 (ediff-window-setup-function): Use it as the default, to set up
7632 windows based on whether the current frame is graphical (Bug#2138).
7633 (ediff-choose-window-setup-function-automatically): Make obsolete.
7634
7635 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7636
ef24141c
SM
76372012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7638
cc356a5d
SM
7639 * ffap.el: Remove old code for obsolete package.
7640 (ffap-complete-as-file-p): Remove.
7641
b4ff4f1f
SM
7642 Use completion-table-with-quoting for comint and pcomplete.
7643 * comint.el (comint--unquote&requote-argument)
7644 (comint--unquote-argument, comint--requote-argument): New functions.
7645 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7646 (comint-quote-filename): Use regexp-opt-charset.
7647 (comint--common-suffix, comint--common-quoted-suffix)
7648 (comint--table-subvert): Remove.
7649 (comint-unquote-function, comint-requote-function): New vars.
7650 (comint--complete-file-name-data): Use them with
7651 completion-table-with-quoting.
7652 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7653 * pcomplete.el (pcomplete-arg-quote-list)
7654 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7655 (pcomplete-unquote-argument-function): Default to non-nil.
7656 (pcomplete-unquote-argument): Simplify.
7657 (pcomplete--common-quoted-suffix): Remove.
7658 (pcomplete-requote-argument-function): New var.
7659 (pcomplete--common-suffix): New function.
7660 (pcomplete-completions-at-point): Use completion-table-with-quoting
7661 and completion-table-subvert.
7662
79c4eeb4
SM
7663 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7664 (minibuffer--double-dollars): Preserve properties.
7665 (completion--sifn-requote): New function.
7666 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7667
ef24141c
SM
7668 * minibuffer.el: Add support for completion of quoted/escaped data.
7669 (completion-table-with-quoting, completion-table-subvert): New funs.
7670 (completion--twq-try, completion--twq-all): New functions.
7671 (completion--nth-completion): New function.
7672 (completion-try-completion, completion-all-completions): Use it.
7673
784e7d6e
LL
76742012-04-25 Leo Liu <sdl.web@gmail.com>
7675
dd2ac746
SM
7676 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7677 Use compilation-message if available to find real filename.
784e7d6e 7678
07875ee7
CY
76792012-04-25 Chong Yidong <cyd@gnu.org>
7680
7681 * vc/diff-mode.el (diff-setup-whitespace): New function.
7682 (diff-mode): Use it.
7683
7684 * vc/diff.el (diff-sentinel):
7685 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7686 Whitespace mode variables based on diff style (Bug#8612).
7687
5055880d
LL
76882012-04-25 Leo Liu <sdl.web@gmail.com>
7689
daf75653
LL
7690 * progmodes/python.el (python-send-region): Add suffix .py to the
7691 temp file.
7692
5055880d
LL
7693 * files.el (auto-mode-alist): Use javascript-mode instead.
7694
db9b177b
AH
76952012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7696
ef24141c 7697 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 7698
090bd7cb 7699 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 7700 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 7701 references, see Bug#9.
ef24141c 7702 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 7703 when receiving a fault reply.
ef24141c 7704 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 7705
090bd7cb 7706 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 7707 (soap-inspect-simple-type): New function.
db9b177b 7708
090bd7cb 7709 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 7710 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
7711 (soap-decode-basic-type, soap-encode-basic-type):
7712 support unsignedInt and double basic types.
db9b177b 7713 (soap-resolve-references-for-simple-type)
ef24141c
SM
7714 (soap-parse-simple-type, soap-encode-simple-type): New function.
7715 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 7716
090bd7cb 7717 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
7718 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7719 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7720 the local name of "soapenc:Array".
7721 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
7722 decoding integer, byte and anyURI xsd types.
7723
1fc6097b
CY
77242012-04-25 Chong Yidong <cyd@gnu.org>
7725
7726 * cus-edit.el (custom-buffer-create-internal): Update header text.
7727
afc6df87
EZ
77282012-04-25 Eli Zaretskii <eliz@gnu.org>
7729
7730 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7731 settings on 'system-type', not on 'window-system'. On MS-Windows,
7732 set interactive-mode on in GDB.
7733
dfbd787f
SM
77342012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7735
7736 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7737 (ruby-syntax-propertize-regexp): Remove.
7738 (ruby-syntax-propertize-function): Split regexp into chunks.
7739 Match following code directly.
7740
85222d44
DG
77412012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7742
51a8ea2a
DG
7743 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7744 (ruby-syntax-propertize-regexp): New function.
7745 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7746 by a special keyword.
7747
85222d44
DG
7748 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7749 (ruby-syntax-general-delimiters-goto-beg)
7750 (ruby-syntax-propertize-general-delimiters): New functions.
7751 (ruby-syntax-propertize-function): Use them to handle GDL.
7752 (ruby-font-lock-keywords): Move old handling of GDL...
7753 (ruby-font-lock-syntactic-keywords): .. to here.
7754 (ruby-calculate-indent): Adjust indentation for GDL.
7755
b613912b
MA
77562012-04-24 Michael Albinus <michael.albinus@gmx.de>
7757
b5380639
MA
7758 * notifications.el (top): Remove unneeded declarations.
7759 (notifications-specification-version): Change to "1.2".
e43042fe 7760 (notifications-interface, notifications-notify-method)
b613912b
MA
7761 (notifications-close-notification-method): Fix docstring.
7762 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
7763 (notifications-notify): Add :action-items, :resident and
7764 :transient hints. Change "image_data" to "image-data" and
7765 "image_path" to "image-path".
b613912b
MA
7766 (notifications-get-capabilities): New defun.
7767
257440aa
LL
77682012-04-24 Leo Liu <sdl.web@gmail.com>
7769
7770 * progmodes/python.el: Move hideshow setup to the end.
7771
b1bac16e
MR
77722012-04-24 Martin Rudalics <rudalics@gmx.at>
7773
7774 * window.el (handle-select-window): Clear echo area since this is
7775 no more done by read_char (Bug#11304).
7776
d81bd059
SM
77772012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7778
7779 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7780 and `/ M' to filter-derived-mode.
7781 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7782 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7783 (ibuffer-mark-by-mode): Use default rather than initial-input.
7784 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7785
c4cf6d91
IA
77862012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7787
7788 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7789 (ibuffer-filter-by-derived-mode): New filter.
7790 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7791
7511ded8
CY
77922012-04-23 Andreas Politz <politza@fh-trier.de>
7793
7794 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7795
775c916b
CY
77962012-04-23 Chong Yidong <cyd@gnu.org>
7797
7798 * cus-edit.el (customize-apropos, customize-apropos-options):
7799 Disable matching of non-option variables (Bug#11176).
7800 (customize-option, customize-option-other-window)
7801 (customize-changed-options): Doc fix.
7802 (customize-apropos-options, customize-apropos-faces)
7803 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7804
7805 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 7806 Fix word list splitting (Bug#11132).
46c71e23
CY
7807 (apropos-symbol, apropos-keybinding, apropos-label)
7808 (apropos-property, apropos-function-button)
7809 (apropos-variable-button, apropos-misc-button): New faces.
7810 (apropos-symbol-face, apropos-keybinding-face)
7811 (apropos-label-face, apropos-property-face, apropos-match-face):
7812 Variables removed (Bug#8396).
7813 (apropos-library-button, apropos-format-plist, apropos-print)
7814 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 7815
2df41f9c
MA
78162012-04-23 Michael Albinus <michael.albinus@gmx.de>
7817
7818 * net/xesam.el (xesam-mode-map): Use let-bound map in
7819 initialization. (Bug#11292)
7820
da00640a
AM
78212012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7822
7823 Preserve ispell session localwords when switching back to
7824 original buffer.
7825
090bd7cb
JB
7826 * textmodes/ispell.el (ispell-buffer-session-localwords):
7827 New buffer-local variable to hold buffer session localwords.
ed9265fc 7828 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
7829 localwords.
7830 (ispell-command-loop, ispell-change-dictionary)
7831 (ispell-buffer-local-words): Preserve session localwords when
7832 needed.
7833
090bd7cb
JB
7834 * textmodes/flyspell.el (flyspell-process-localwords)
7835 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 7836
f621ccf5
AM
78372012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7838
090bd7cb
JB
7839 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7840 using obsolete `translation-table-for-input'.
ef24141c
SM
7841 (ispell-word, ispell-process-line, ispell-complete-word):
7842 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 7843
c2d1019e
CY
78442012-04-22 Chong Yidong <cyd@gnu.org>
7845
7846 * cus-edit.el (custom-variable-menu)
7847 (custom-variable-reset-saved, custom-face-menu)
7848 (custom-face-reset-saved): If there is no saved value, make the
7849 "reset-saved" operation bring back the default (Bug#9509).
7850 (custom-face-state): Properly detect themed faces.
7851
eeddc531
CY
7852 * faces.el (face-spec-set): Stop supporting deprecated form of
7853 third arg.
7854
dcbf5805
MA
78552012-04-22 Michael Albinus <michael.albinus@gmx.de>
7856
7857 Move functions from C to Lisp. Make non-blocking method calls
7858 the default. Implement further D-Bus standard interfaces.
7859
ef24141c
SM
7860 * net/dbus.el (dbus-message-internal): Declare function.
7861 Remove unneeded function declarations.
dcbf5805
MA
7862 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7863 (dbus-message-type-method-return, dbus-message-type-error)
7864 (dbus-message-type-signal): Declare variables. Remove local
7865 definitions.
7866 (dbus-interface-dbus, dbus-interface-peer)
7867 (dbus-interface-introspectable, dbus-interface-properties)
7868 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7869 Adapt docstring.
7870 (dbus-interface-objectmanager): New defconst.
7871 (dbus-call-method, dbus-call-method-asynchronously)
7872 (dbus-send-signal, dbus-method-return-internal)
7873 (dbus-method-error-internal, dbus-register-service)
7874 (dbus-register-signal, dbus-register-method): New defuns, moved
7875 from dbusbind.c
7876 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
7877 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7878 New defuns.
dcbf5805
MA
7879 (dbus-call-method-non-blocking): Make it an obsolete function.
7880 (dbus-unregister-object, dbus-unregister-service)
7881 (dbus-handle-event, dbus-register-property)
7882 (dbus-property-handler): Obey the new structure of
7883 `bus-registered-objects'.
7884 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7885 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7886 Use `dbus-call-method'.
7887
cf20dee0
CY
78882012-04-22 Chong Yidong <cyd@gnu.org>
7889
7890 * cus-edit.el (custom-commands, custom-reset-menu)
7891 (Custom-reset-standard): Tweak labels.
7892 (custom-reset-button-menu): Change default to t.
7893 (custom-buffer-create-internal): For the custom-reset-button-menu
7894 case, put the revert button first.
7895 (custom-group-subtitle): New face.
7896 (custom-group-value-create): Align docstring to a specific column.
7897
7898 * wid-edit.el (widget-documentation-link-add): Don't handle
7899 indentation in this function.
7900 (widget-documentation-string-indent-to): New function.
7901 (widget-documentation-string-value-create): Use it.
7902
7903 * autorevert.el (auto-revert):
7904 * epg-config.el (epg):
7905 * ibuffer.el (ibuffer):
7906 * mpc.el (mpc):
7907 * ses.el (ses):
7908 * eshell/eshell.el (eshell):
7909 * net/ange-ftp.el (ange-ftp):
7910 * progmodes/ebnf2ps.el (postscript):
7911 * progmodes/flymake.el (flymake):
7912 * progmodes/prolog.el (prolog):
7913 * progmodes/verilog-mode.el (verilog-mode):
7914 * progmodes/which-func.el (which-func):
7915 * term/xterm.el (xterm):
7916 * textmodes/picture.el (picture):
7917 * textmodes/tildify.el (tildify):
7918 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7919 customization buffers.
7920
583e23bd
AM
79212012-04-22 Alan Mackenzie <acm@muc.de>
7922
7923 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7924 Adding a ) can hide the resulting (..) from searches. Fix it.
7925 Bound the backward search to the position of the existing (.
7926
7dd51bf1
JB
79272012-04-21 Juanma Barranquero <lekktu@gmail.com>
7928
7929 * progmodes/verilog-mode.el (verilog-mode): Check whether
7930 which-func-modes is t before adding verilog-mode.
7931 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7932
d64a438f
LL
79332012-04-21 Leo Liu <sdl.web@gmail.com>
7934
7dd51bf1 7935 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 7936
081e8d65
MV
79372012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7938
7939 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7940 filling of the last column of a table (Bug#5635).
7941 (woman-find-next-control-line): New arg, specifying an additional
7942 regexp component for the control line.
7943 (woman2-roff-buffer): Use it.
7944 (woman-break-table): New function.
7945 (woman2-TS): Use it.
7946
79472012-04-21 Chong Yidong <cyd@gnu.org>
7948
7949 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7950 (woman-horizontal-escapes, woman-negative-vertical-space)
7951 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7952 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7953
ed571ccb
SM
79542012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7955
7956 * minibuffer.el (completion-file-name-table): Complete user names.
7957
39773899
LL
79582012-04-20 Leo Liu <sdl.web@gmail.com>
7959
7960 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7961 and pcase-let*.
7962
de6ff46d
CY
79632012-04-20 Chong Yidong <cyd@gnu.org>
7964
7965 * server.el (server-execute): Respect initial-buffer-choice if it
7966 is a string and there are no files to open (Bug#2825).
7967 (server-create-window-system-frame, server-create-tty-frame):
7968 Don't switch buffers here.
2d0e8e61
CY
7969 (server-process-filter): Only try to open a window system frame if
7970 compiled with graphical support (Bug#8314).
de6ff46d 7971
54071013
DN
79722012-04-20 Dan Nicolaescu <dann@gnu.org>
7973
7974 * battery.el (battery-echo-area-format): Display remaining time
7975 for sysfs backend too (Bug#11269).
7976 (battery-linux-sysfs): Fix conditional for the charge.
7977
f30d612a
CY
79782012-04-20 Chong Yidong <cyd@gnu.org>
7979
c07a4c0b 7980 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
7981 (gdb-inferior-io--init-proc): New function.
7982 (gdb-init-1): Use it.
7983 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7984 responsible for allocating a new pty and hooking it to gdb when
7985 the old pty gets an EIO due to process exit.
7986 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
7987 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7988 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7989
2116e93c
EZ
79902012-04-20 Eli Zaretskii <eliz@gnu.org>
7991
7992 * window.el (window-min-size, window-sizable, window-min-delta)
7993 (window-max-delta, window--resizable, window-resizable)
7994 (window-total-size, window-full-height-p, window-full-width-p)
7995 (window-in-direction, window--resize-mini-window, window-resize)
7996 (window--resize-child-windows-normal)
7997 (window--resize-child-windows, window--resize-siblings)
7998 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 7999 (enlarge-window, shrink-window): Doc fixes.
2116e93c 8000
c07a4c0b 80012012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 8002
ef24141c
SM
8003 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8004 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
8005 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8006 pty process (Bug#11273).
8007 (gdb-update): New arg to suppress talking to the gdb process.
8008 (gdb-done-or-error): Use it.
8009 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8010 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8011 sentinel not being called.
8012
8013 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8014
d02766ab
CY
8015 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8016
c07a4c0b 80172012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
8018
8019 * net/network-stream.el (open-network-stream): Doc fix.
8020
c07a4c0b 80212012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
8022
8023 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8024
c07a4c0b 80252012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
8026
8027 Ensure searching for keywords is case sensitive.
8028
8029 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8030 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8031 (c-defun-name, c-mark-function, c-cpp-define-name)
8032 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 8033 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 8034
ef24141c
SM
8035 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8036 Bind case-fold-search to nil.
f0f6bc35 8037
c07a4c0b 80382012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
8039
8040 * mail/sendmail.el (mail-bury): Call return action with the right
8041 Rmail buffer (Bug#11242).
8042
9a864fa2
CY
8043 * server.el (server-process-filter): Handle corner case where both
8044 tty and nowait options are present (Bug#11102).
8045
539aa513
EZ
80462012-04-20 Eli Zaretskii <eliz@gnu.org>
8047
8048 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
8049 (top level): Put into the executable the ident-style '$Id:' tag on
8050 windows-nt as well.
539aa513 8051
cfc7d5da
SM
80522012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8053
8054 * electric.el (electric-indent-post-self-insert-function): Check that
8055 electric-indent-mode is enabled in current buffer.
8056
5b01685c
JB
80572012-04-19 Juanma Barranquero <lekktu@gmail.com>
8058
8059 * imenu.el (imenu-progress-message): Restore; it is "used" in
8060 erc/erc-imenu.el and net/snmp-mode.el.
8061
4d6769e1
JB
80622012-04-19 Juanma Barranquero <lekktu@gmail.com>
8063
8064 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8065 (mouse-avoidance-nudge-mouse): Remove unused binding.
8066
8067 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8068
8069 * descr-text.el (describe-char):
8070 * progmodes/python.el (python-describe-symbol):
8071 Don't call `toggle-read-only', set `buffer-read-only'.
8072
8073 * imenu.el (imenu-default-goto-function): Mark unused args.
8074 (imenu-progress-message): Remove obsolete macro; all callers changed.
8075
8076 * subr.el (keymap-canonicalize): Remove unused binding.
8077 (read-passwd): Mark unused arg.
8078
8079 * tutorial.el (tutorial--display-changes): Remove unused binding.
8080 (tutorial--save-tutorial-to): Remove unused variable.
8081
8082 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8083 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8084 (package-generate-autoloads, package-menu--generate)
8085 (package-menu--find-upgrades): Remove unused bindings.
8086
8087 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8088 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8089 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8090 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8091 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8092 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8093 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8094 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8095 (cua-delete-char-rectangle): Mark unused args.
8096 (cua-align-rectangle): Remove unused binding.
8097
8098 * mail/rmail.el (compilation--message->loc)
8099 (epa--find-coding-system-for-mime-charset): Declare.
8100
8101 * net/dbus.el (dbus-register-service): Declare.
8102 (dbus-name-owner-changed-handler): Remove unused binding.
8103
8104 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8105 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8106 (nxml-scan-backward-within): Mark unused arg.
8107 (nxml-dynamic-markup-word): Remove unused binding.
8108
8109 * mouse.el (mouse-menu-major-mode-map):
8110 * emacs-lisp/authors.el (authors-scan-change-log)
8111 (authors-add-to-author-list):
8112 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8113 * emacs-lisp/smie.el (smie-auto-fill):
8114 * mail/sendmail.el (mail-bury):
8115 * mail/unrmail.el (unrmail):
8116 * net/tls.el (open-tls-stream):
8117 * textmodes/picture.el (picture-mouse-set-point):
8118 Remove unused bindings.
8119
8c8fc5df
MA
81202012-04-19 Michael Albinus <michael.albinus@gmx.de>
8121
8122 * net/tramp.el (tramp-action-password): Let-bind
8123 `enable-recursive-minibuffers' to t.
8124
a77b0ac9
SS
81252012-04-18 Sam Steingold <sds@gnu.org>
8126
8127 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8128 instead of 'string to accommodate values like [f11].
8129 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8130 * progmodes/gdb-mi.el: Likewise.
8131
12a106a9
LL
81322012-04-18 Leo Liu <sdl.web@gmail.com>
8133
8134 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8135 current buffer.
8136 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8137 LOCAL is nil.
8138
bc6494ef
CY
81392012-04-18 Chong Yidong <cyd@gnu.org>
8140
8141 * simple.el (line-move): Use forward-line if in batch mode
8142 (Bug#11053).
8143
c09c46b2
CS
81442012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8145
8146 * files.el (after-find-file): Do not try to add a final newline if
8147 the buffer is read-only (Bug#11156).
8148
5f6530ea
RS
81492012-04-17 Richard Stallman <rms@gnu.org>
8150
8151 * mail/rmail.el (rmail-start-mail):
8152 Pass (rmail-mail-return...) for the return-action.
8153 Pass (rmail-yank-current-message...) for the yank-action.
8154 (rmail-yank-current-message): New function.
8155 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8156 (rmail-reply): Likewise.
8157 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8158
8159 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 8160 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
8161 buffer, not newbuf.
8162
197b6f3c
JB
81632012-04-17 Juanma Barranquero <lekktu@gmail.com>
8164
8165 * server.el (server-ensure-safe-dir): Simplify.
8166
2311d8e5 81672012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 8168
2311d8e5
GM
8169 * emacs-lisp/smie.el: Provide smarter auto-filling.
8170 (smie-auto-fill): New function.
8171 (smie-setup): Use it.
98fb480e 8172
2311d8e5
GM
8173 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8174
81752012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
8176
8177 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8178 (comment-indent): Use it.
8179
2311d8e5 81802012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
8181
8182 * ses.el: The overall change is to add cell renaming, that is
8183 setting fancy names for cell symbols other than name matching
8184 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 8185 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 8186 (ses-create-cell-variable): New defun.
2311d8e5 8187 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
8188 (ses-relocate-formula): Relocate formulas only for cells the
8189 symbols of which are not renamed, i.e. symbols whose names do not
8190 match regexp "\\`[A-Z]+[0-9]+\\'".
8191 (ses-relocate-all): Relocate values only for cells the symbols of
8192 which are not renamed.
8193 (ses-load): Create cells variables as the (ses-cell ...) are read,
8194 in order to check row col consistency with cell symbol name only
8195 for cells that are not renamed.
8196 (ses-replace-name-in-formula): New defun.
8197 (ses-rename-cell): New defun.
4bdf2ad2 8198
fc72b15c
PO
81992012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8200
8201 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8202 New option (bug#11118).
8203 (perl-calculate-indent): Respect it.
8204
12e10e61
GM
82052012-04-17 Glenn Morris <rgm@gnu.org>
8206
8207 * dired-aux.el (dired-mark-read-string): Doc fix.
8208
30009afd
DA
82092012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8210
8211 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8212 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8213
41f03f4d
GM
82142012-04-17 Glenn Morris <rgm@gnu.org>
8215
8216 * mouse.el (mouse-drag-track):
8217 * speedbar.el (speedbar-frame-mode):
8218 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8219
f45f90f3
LL
82202012-04-16 Leo Liu <sdl.web@gmail.com>
8221
8222 * progmodes/python.el: Trivial cleanup.
8223
94ee8db5
GM
82242012-04-16 Glenn Morris <rgm@gnu.org>
8225
121b8917
GM
8226 * vc/vc.el (vc-string-prefix-p):
8227 * vc/pcvs-util.el (cvs-string-prefix-p):
8228 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8229 * mpc.el (mpc-string-prefix-p):
8230 Make all of these into obsolete aliases for string-prefix-p.
8231 Update callers.
8232 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8233
1197ecfa
GM
8234 * textmodes/two-column.el: Move custom options to the start.
8235 (frame-width): Remove compat definition.
8236 (2C-associate-buffer, 2C-dissociate):
8237 Use with-current-buffer rather than save-excursion.
8238 (2C-dissociate): Force a mode-line update.
8239 (2C-autoscroll): Use ignore-errors.
8240
099e7202
GM
8241 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8242 Autoload trivia.
8243
bf350d6a
GM
8244 * emacs-lisp/cl-extra.el (*random-state*):
8245 Remove unnecessary declaration.
8246
0e829eab
GM
8247 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8248
e3ad7552
GM
8249 * play/cookie1.el (cookie-snarf):
8250 Give an explicit error if input file cannot be read.
8251
68892d27
GM
8252 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8253
20f0c46d
GM
8254 * progmodes/perl-mode.el (c-macro-expand):
8255 Remove unnecessary autoload (it is in loaddefs.el).
8256
5a0978ce
GM
8257 * textmodes/picture.el (picture-desired-column)
8258 (picture-update-desired-column): Convert comments to doc-strings.
8259 (picture-substitute): Remove function.
8260 (picture-mode-map): Initialize in the defvar.
8261
6b955486
GM
8262 * woman.el: Remove eval-after-load for tar-mode.
8263 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8264 (woman-tar-extract-file): Autoload it.
8265
94ee8db5
GM
8266 * frame.el (automatic-hscrolling): Make this alias obsolete.
8267
177eca34
AM
82682012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8269
090bd7cb 8270 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 8271 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
8272 (ispell-dictionary-base-alist): Revert to original XEmacs
8273 friendly version for default. [:alpha:] will be added in
090bd7cb 8274 `ispell-set-spellchecker-params' if needed.
177eca34 8275
c505aaeb
CY
82762012-04-16 Chong Yidong <cyd@gnu.org>
8277
b19dd9d1 8278 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
8279 (imagemagick-register-types): Use it.
8280 (imagemagick-types-inhibit): Add :set function. Allow new value
8281 of t to inhibit all types.
8282
8283 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8284 so we can preload it.
8285
8286 * loadup.el (fboundp): Preload regexp-opt, needed by
8287 imagemagick-register-types.
8288
60efac0f
CY
82892012-04-15 Chong Yidong <cyd@gnu.org>
8290
8291 * frame.el (scrolling): Remove nearly unused customization group.
8292
8293 * scroll-all.el (scroll-all-mode): Move to windows group.
8294
5dd1713e
CY
82952012-04-15 Chong Yidong <cyd@gnu.org>
8296
8297 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8298
e6fd457e
CY
82992012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8300
8301 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 8302 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 8303
e153c136
GM
83042012-04-15 Glenn Morris <rgm@gnu.org>
8305
8306 * simple.el (process-file-side-effects): Doc fix.
8307
e6fd457e 83082012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
8309
8310 * international/mule-cmds.el (set-language-environment): Doc fix.
8311
3603c3b1
JB
83122012-04-14 Juanma Barranquero <lekktu@gmail.com>
8313
8314 * server.el (server-auth-key, server-generate-key): Doc fixes.
8315 (server-get-auth-key): Doc fix. Use `string-match-p'.
8316 (server-start): Reflow docstring.
8317
e6de100c
LI
83182012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8319
8320 * server.el (server-generate-key): `called-interactively-p'
8321 requires a parameter.
8322
29734c21
MN
83232012-04-14 Michal Nazarewicz <mina86@mina86.com>
8324
8325 * server.el (server-auth-key): New variable.
75f1671a 8326 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
8327 (server-start): Use the new variable and functions to allow
8328 setting a permanent server key (bug#9423).
8329
d65c9521
LL
83302012-04-14 Leo Liu <sdl.web@gmail.com>
8331
8332 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8333
5ae255c7
PE
83342012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8335
8336 Spelling fixes.
8337 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8338 Emacs uses American spelling.
8339
d5e6342e
JB
83402012-04-14 Juanma Barranquero <lekktu@gmail.com>
8341
8342 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8343 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8344 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8345 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8346
ab036cd7
SM
83472012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8348
8349 * progmodes/which-func.el (which-func-modes): Change default.
8350
35dc09a1 83512012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
8352
8353 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8354 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8355
35dc09a1 83562012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
8357
8358 * custom.el (custom-theme-set-variables): Doc fix.
8359
35dc09a1 83602012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
8361
8362 * international/mule.el (set-auto-coding-for-load): Doc fix.
8363
35dc09a1 83642012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 8365
35dc09a1
GM
8366 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8367 imenu work again for Objective C Mode. Correct the *-index values,
8368 these having been disturbed by a previous change in 2011-08.
57f845ee 8369
0de3da9f
AM
8370 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8371 Correct two search limits.
8372
35dc09a1 83732012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
8374
8375 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8376
35dc09a1 83772012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
8378
8379 * international/characters.el: Fix sorting.
8380
35dc09a1 83812012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
8382
8383 * international/characters.el: Add more missing Latin case pairs.
8384
35dc09a1 83852012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
8386
8387 * files.el (dir-locals-set-class-variables): Doc fix.
8388
35dc09a1 83892012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 8390
3f1b5bf8
EZ
8391 * international/characters.el: Add set-case-syntax-pair call for
8392 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8393 counterpart. (Bug#11209)
8394
9f847f41
EZ
8395 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8396
35dc09a1 83972012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
8398
8399 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8400
35dc09a1 84012012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 8402
35dc09a1
GM
8403 * textmodes/ispell.el (ispell-dictionary-base-alist):
8404 Add data for Hebrew.
e2627d21 8405
35dc09a1 84062012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 8407
35dc09a1
GM
8408 * net/rcirc.el (rcirc-cmd-quit):
8409 Revert 2012-03-18 change (Bug#11192).
5c14e333 8410
35dc09a1 84112012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
8412
8413 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8414
35dc09a1 84152012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 8416
4517fe3a
SM
8417 * minibuffer.el (completion-in-region-mode-map):
8418 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 8419
b472a594
VD
84202012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8421
8422 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8423
09b95ce3
MY
84242012-04-13 Masatake YAMATO <yamato@redhat.com>
8425
8426 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8427 to allow `C-M-f' and `C-M-b' to move to the nearest path
8428 separator (bug#9511).
8429
4b63a9ca
LI
84302012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8431
8432 * avoid.el: Require cl when compiling. And also move the
8433 `provide' to the end.
8434
7b55b8bf
TV
84352012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8436
8437 * avoid.el (mouse-avoidance-banish-position): New variable.
8438 (mouse-avoidance-banish-destination): Use it (bug#10165).
8439
adedaa1f
LL
84402012-04-13 Leo Liu <sdl.web@gmail.com>
8441
8442 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8443
70e74021
KB
84442012-04-13 Ken Brown <kbrown@cornell.edu>
8445
8446 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 8447 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
8448 (browse-url-filename-alist): For the same reason, don't modify
8449 file:// URLs on Cygwin.
8450
e75e89ba
SM
84512012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8452
8453 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8454 the region on shift if the binding is already shifted (bug#11221).
8455
82f289a4
GM
84562012-04-12 Glenn Morris <rgm@gnu.org>
8457
8458 * mail/mailpost.el: Move to obsolete/.
8459
d333dc4c
DA
84602012-04-12 Drew Adams <drew.adams@oracle.com>
8461
8462 * imenu.el (imenu--generic-function): Ignore invisible definitions
8463 (bug#10123).
8464
0d15b5ba
VD
84652012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8466
8467 * hexl.el (hexl-bits): New variable.
8468 (hexl-options): Mention the variable in the doc string.
75f1671a 8469 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 8470 (hexl-mode): Mention the new variable.
75f1671a
JB
8471 (hexl-mode, hexl-current-address, hexl-current-address):
8472 Use the displen.
0d15b5ba
VD
8473 (hexl-ascii-start-column): New function.
8474 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8475 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8476
64a440db
AM
84772012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8478
8479 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8480 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8481 the encoding, as expected by hunspell.
8482
6decb6c2
SM
84832012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8484
8485 * battery.el (battery--linux-sysfs-regexp): New const.
8486 (battery-status-function): Use it. Remove yeeloong special case.
8487 (battery-yeeloong-sysfs): Remove.
8488 (battery-echo-area-format): Remove yeeloong special case.
8489
088be6fb
SM
84902012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8491
6622e416
SM
8492 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8493 Reported by Noah Friedman.
8494
088be6fb
SM
8495 * subr.el (read-passwd): Use read-string.
8496
b49f886e
LMI
84972012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8498
8499 * vcursor.el (vcursor-move): Increase the priority of the overlay
8500 (bug#9663).
8501
a63067fc
DD
85022012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8503
8504 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8505 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8506
ac3cf14a
WS
85072012-04-11 William Stevenson <yhvh2000@gmail.com>
8508
8509 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8510 define-minor-mode (bug#10760).
8511
c4fc691b 85122012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 8513
4d6769e1 8514 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
8515 that directories matching `grep-find-ignored-files' won't be
8516 pruned (bug#10351).
8517
af23e2e5
CY
85182012-04-11 Chong Yidong <cyd@gnu.org>
8519
8520 * startup.el (command-line): Remove support for long-obsolete
8521 variable font-lock-face-attributes.
8522
ab7ce8c1
GM
85232012-04-11 Glenn Morris <rgm@gnu.org>
8524
8525 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8526
de8c03dc
SM
85272012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8528
8529 * window.el (window--state-get-1): Obey window-point-insertion-type.
8530
050cc68b
LB
85312012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8532
8533 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8534 to previous function when point is on the first character of a
75f1671a 8535 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 8536
a38c310c
GM
85372012-04-11 Glenn Morris <rgm@gnu.org>
8538
effed0c2
GM
8539 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8540 not just file-errors.
8541
a38c310c
GM
8542 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8543 (vc-bzr-sha1): Use internal sha1.
8544
0221e323
SM
85452012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8546
8547 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8548
43956923
SG
85492012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8550
8551 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8552 that start in the middle of the line (bug#10496).
8553
6a8c9eaf
DN
85542012-04-10 Dan Nicolaescu <dann@gnu.org>
8555
8556 * battery.el (battery-linux-proc-acpi): Only one battery is
8557 discharged at a time, but that seems to confuse battery.el when
8558 computing `rate-type' for the battery not being discharged
8559 (bug#10332).
8560
1930bf5d
SM
85612012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8562
2a718f6f
SM
8563 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8564
599430d0
SM
8565 * international/quail.el: Use dolist and simplify.
8566 (quail-define-package, quail-update-keyboard-layout)
8567 (quail-define-rules): Use dolist.
8568 (quail-insert-kbd-layout, quail-get-translation): CSE.
8569
a2754b6c
SM
8570 * tmm.el: Use dolist, remove left over hook.
8571 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8572 Use dolist.
8573 (calendar-load-hook): Don't mess with it.
8574
1930bf5d
SM
8575 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8576 Use derived-mode-p. Run the diff asynchronously.
8577
9f67961c
LMI
85782012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8579
8580 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8581
2a8ce227
JB
85822012-04-10 Juanma Barranquero <lekktu@gmail.com>
8583
8584 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8585 (list-dynamic-libraries--loaded): New function.
8586 (list-dynamic-libraries--refresh): Use it.
8587
8f33b5f8
NW
85882012-04-10 Nathan Weizenbaum <nweiz@google.com>
8589
1930bf5d
SM
8590 * progmodes/python.el (python-fill-paragraph):
8591 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
8592 disabled (bug#7018).
8593
b12f0439
L
85942012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8595
1930bf5d 8596 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
8597 DOS/MS Windows for the Baltic languages. There are still plenty
8598 of texts written in this encoding/codepage (bug#6519).
b12f0439 8599
57c3bd01
GM
86002012-04-10 Glenn Morris <rgm@gnu.org>
8601
8602 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8603 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8604
6c3eab30
FA
86052012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8606
1930bf5d 8607 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
8608 next-line "n" and previous-line "p" in order to make recentf more
8609 consistent with ibuffer, dired or org-mode (bug#9387).
8610
24d78a88
LMI
86112012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8612
bc72b5d9
LMI
8613 * image.el (put-image): Return the overlay created instead of the
8614 optional input string (bug#7834). Note that this may break code
8615 that is (for some reason or other) depending on `put-image'
8616 returning the string.
8617
bd2dba5a
LMI
8618 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8619
74beb59f
LMI
8620 * simple.el (zap-to-char): Allow zapping using input methods
8621 (bug#1580).
8622
24d78a88
LMI
8623 * textmodes/fill.el (fill-region): Leave point and mark where they
8624 were before filling (bug#5399).
8625
263f20cd
GM
86262012-04-09 Glenn Morris <rgm@gnu.org>
8627
8628 * version.el (emacs-bzr-get-version):
8629 Handle lightweight checkouts of local branches.
8630
58d1f797
AS
86312012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8632
263f20cd 8633 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 8634
b4d3bc10
CY
86352012-04-09 Chong Yidong <cyd@gnu.org>
8636
8637 * custom.el (custom-variable-p): Return nil for non-symbol
8638 arguments instead of signaling an error.
8639 (user-variable-p): Obsolete alias for custom-variable-p.
8640
8641 * apropos.el (apropos-variable):
8642 * files-x.el (read-file-local-variable):
8643 * simple.el (set-variable):
8644 * woman.el (woman-mini-help):
8645 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8646
fd06db5d
GM
86472012-04-09 Glenn Morris <rgm@gnu.org>
8648
e5fcdb5e
GM
8649 * startup.el (normal-top-level): Don't look for leim-list.el
8650 in places where it will not be found. (Bug#910)
8651
fd06db5d
GM
8652 * international/mule-cmds.el (set-default-coding-systems):
8653 * files.el (normal-mode):
8654 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8655 This function was removed with ucs-tables.el in 2008.
8656
b39bb7e1
EZ
86572012-04-08 Eli Zaretskii <eliz@gnu.org>
8658
8659 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8660 ispell-encoding8-command to "-i", without a trailing space.
8661 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8662 separate command-line arguments, to specify the encoding, since
8663 that's how hunspell expects it.
8664
5c5b8e23
GM
86652012-04-08 Glenn Morris <rgm@gnu.org>
8666
8667 * loadup.el: Load bindings before cus-start.
8668 This reduces somewhat the number of "rogue" settings in emacs -Q.
8669
a1ed8b05
GM
86702012-04-07 Glenn Morris <rgm@gnu.org>
8671
8672 * version.el (emacs-bzr-get-version): New function.
dfae128a 8673 (emacs-bzr-version): New variable.
a1ed8b05
GM
8674 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8675 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8676
b142f158
EZ
86772012-04-07 Eli Zaretskii <eliz@gnu.org>
8678
dfae128a
GM
8679 * international/uni-bidi.el, international/uni-category.el:
8680 * international/uni-combining.el, international/uni-decimal.el:
8681 * international/uni-decomposition.el, international/uni-digit.el:
8682 * international/uni-lowercase.el, international/uni-mirrored.el:
8683 * international/uni-name.el, international/uni-numeric.el:
8684 * international/uni-titlecase.el, international/uni-uppercase.el:
8685 Update for Unicode 6.1.
b142f158 8686
9078ead6
EZ
86872012-04-07 Eli Zaretskii <eliz@gnu.org>
8688
8689 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8690
f23d2c7d
LMI
86912012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8692
8693 * window.el (shrink-window): Mention the `window-min-height'
8694 variable in the doc string.
8695
0a0a3573
BG
86962012-04-05 Bastien Guerry <bzg@altern.org>
8697
8698 * color.el (color-lighten-name): Fix typo.
8699
e5248ac9
SM
87002012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8701
8702 * server.el (server--on-display-p): New function.
8703 (server--on-display-p): Use it.
8704
b4243e22
GV
87052012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8706
8707 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8708 (bug#11145).
8709
305d9f44
SM
87102012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8711
8712 * comint.el (comint--common-quoted-suffix): Check string boundary
8713 before comparing (bug#11158).
8714 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8715
3d439cd1
CY
87162012-04-04 Chong Yidong <cyd@gnu.org>
8717
321cc491
CY
8718 * minibuffer.el (completion-extra-properties): Doc fix.
8719
3d439cd1
CY
8720 * subr.el (delayed-warnings-hook): Doc fix.
8721
2d562c0f
DU
87222012-04-04 Daiki Ueno <ueno@unixuser.org>
8723
8724 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8725 selection (Bug#11159).
8726 (epa-insert-keys): Inform that the default public key will be
8727 exported if no key is selected.
8728
4443f204
RS
87292012-04-04 Richard Stallman <rms@gnu.org>
8730
8731 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8732
529c06b6
CY
87332012-04-03 Chong Yidong <cyd@gnu.org>
8734
8735 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8736 mail-insert-file, not its obsolete alias mail-attach-file.
8737
66b907dc
MA
87382012-04-03 Michael Albinus <michael.albinus@gmx.de>
8739
8740 * notifications.el (notifications-notify): Fix docstring.
8741
c0ea195d
GM
87422012-04-02 Glenn Morris <rgm@gnu.org>
8743
8744 * emacs-lisp/authors.el (authors-aliases): Another addition.
8745
5ca64e00
MA
87462012-04-02 Michael Albinus <michael.albinus@gmx.de>
8747
8748 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8749 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8750 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8751
42ee526b
CY
87522012-04-01 Chong Yidong <cyd@gnu.org>
8753
8754 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8755 Handle root directory properly.
8756 (copy-directory): Caller changed.
8757
8758 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8759 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8760
0b021094
GM
87612012-03-31 Glenn Morris <rgm@gnu.org>
8762
40f86458
GM
8763 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8764
7019c177
GM
8765 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8766
a1daddd6
GM
8767 * calendar/calendar.el (calendar-window-list)
8768 (calendar-hide-window): Restore. (Bug#11140)
8769 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8770
0b021094
GM
8771 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8772
40311efc
TV
87732012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8774
8775 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8776 Check if file is a symlink (Bug#10489).
8777
8778 * files.el (copy-directory): Likewise.
8779
5319014e
CY
87802012-03-30 Chong Yidong <cyd@gnu.org>
8781
8782 * image.el (imagemagick-types-inhibit)
8783 (imagemagick-register-types): Doc fix.
8784
935d1290
AM
87852012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8786
090bd7cb 8787 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 8788 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 8789 and treats ~word as ordinary words in pipe mode.
935d1290 8790
61c6e8fd
GM
87912012-03-30 Glenn Morris <rgm@gnu.org>
8792
8793 * tutorial.el (help-with-tutorial): Ensure local variables don't
8794 happen to make the buffer read-only. (Bug#11127)
8795
81fdff00
SM
87962012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8797
8798 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8799 (perl-calculate-indent): Return `noindent' in strings.
8800
6e7a6ec0
SS
88012012-03-28 Sam Steingold <sds@gnu.org>
8802
8803 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8804 instead of the broken adhockery which does not prevent calendar
8805 buffers from being displayed at random after exit.
8806 (calendar-window-list, calendar-hide-window): Remove the broken
8807 adhockery.
8808
fee88ca0
GM
88092012-03-28 Glenn Morris <rgm@gnu.org>
8810
8811 * replace.el (query-replace-map): Doc fix.
8812
38de3354
AS
88132012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8814
8815 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8816 contents. (Bug#11109)
8817
b973155e
SM
88182012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8819
8820 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8821 (bug#11077).
8822 (avl-tree--check, avl-tree--check-node): New funs.
8823
dcb6e7b3
MR
88242012-03-27 Martin Rudalics <rudalics@gmx.at>
8825
8826 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
8827 (switch-to-prev-buffer, switch-to-next-buffer):
8828 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
8829 showing a buffer already is done on the same frame.
8830
b4fa35fa
GM
88312012-03-27 Glenn Morris <rgm@gnu.org>
8832
8833 * startup.el (mail-host-address): Doc fix.
8834
f9210e18
SM
88352012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8836
8837 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8838 than 197 variables.
8839
c0bf7753
AF
88402012-03-26 Ami Fischman <ami@fischman.org>
8841
8842 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8843
33da7b16
GM
88442012-03-26 Glenn Morris <rgm@gnu.org>
8845
02243d9d
GM
8846 * files.el (save-buffers-kill-emacs): Doc fix.
8847
33da7b16
GM
8848 * startup.el (normal-top-level, command-line, command-line-1):
8849 Give them doc strings.
8850
e5a69fd0
EZ
88512012-03-25 Eli Zaretskii <eliz@gnu.org>
8852
8853 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 8854 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 8855
9a69676a
CY
88562012-03-25 Chong Yidong <cyd@gnu.org>
8857
4125cb8b
CY
8858 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8859 theme if it was previously enabled before (Bug#11031).
8860
dd470960
CY
8861 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8862 spec with custom-face-get-current-spec if its :shown-value is not
8863 determined yet (Bug#9337).
4125cb8b 8864 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 8865
9a69676a
CY
8866 * button.el (button-at): Minor addition to docstring.
8867
6e7e90fa
SL
88682012-03-24 Simon Leinen <simon.leinen@gmail.com>
8869
8870 * vc/vc.el (vc-merge): Fix a prompt.
8871
f06e2758
CY
88722012-03-24 Chong Yidong <cyd@gnu.org>
8873
8874 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8875 point (Bug#9623).
8876
6e7e90fa
SL
8877 * button.el (button-at): Minor addition to docstring.
8878
b9d0879b
SM
88792012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8880
8881 * newcomment.el (comment-choose-indent): No space after BOL.
8882
e71cebb3
SS
88832012-03-22 Sam Steingold <sds@gnu.org>
8884
8885 * window.el (switch-to-prev-buffer): Revert last patch because the
8886 bug turned out to be an advertised feature (Elisp manual 28.14).
8887
335aff35
GM
88882012-03-22 Glenn Morris <rgm@gnu.org>
8889
8890 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8891 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8892
c676576a
LMI
88932012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8894
8895 * net/network-stream.el (network-stream-open-starttls): Make error
8896 message under Windows be less misleading.
8897
126f3d39
LW
88982012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8899
8900 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8901 understands (bug#9942).
8902
64fee311
CY
89032012-03-22 Chong Yidong <cyd@gnu.org>
8904
8905 * simple.el (end-of-visible-line): Handle return value of
8906 next-single-property-change properly (Bug#9371).
8907
a640d29a
KH
89082012-03-22 Kenichi Handa <handa@m17n.org>
8909
8910 * international/quail.el (quail-insert-kbd-layout): Fix previous
8911 change. To avoid unwanted bidi reordering, use
8912 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8913
39675016
DG
89142012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8915
8916 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8917 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8918 (ruby-beginning-of-indent): Be more careful with the difference
8919 between word-boundary and symbol boundary.
8920 (ruby-mode-syntax-table): Make : a symbol constituent.
8921
0a6934fc 89222012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 8923
3d008e4f
SM
8924 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8925
0a6934fc
SM
89262012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8927
af67c9d7
SM
8928 * progmodes/etags.el (tags-completion-at-point-function):
8929 Improve last fix.
8930
1acad97c
SM
8931 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8932
e298b5da
SS
89332012-03-21 Sam Steingold <sds@gnu.org>
8934
8935 * progmodes/etags.el (tags-completion-at-point-function):
8936 Avoid the error when point is inside the pattern.
8937
91d82a70
JY
89382012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8939
8940 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8941 line (Bug#10855).
8942
69188b79
CY
89432012-03-21 Drew Adams <drew.adams@oracle.com>
8944
8945 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8946
99fc91fe
AK
89472012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8948
8949 * ido.el (ido-set-current-directory, ido-read-internal)
8950 (ido-choose-completion-string, ido-completion-help): Handle nil
8951 value of ido-completion-buffer (Bug#11008).
8952
087bbb4c
SS
89532012-03-21 Sam Steingold <sds@gnu.org>
8954
8955 * window.el (switch-to-prev-buffer): Do not switch to a visible
8956 window previous buffer, just like with the frame previous buffers.
8957
fb5b8aca
CY
89582012-03-21 Chong Yidong <cyd@gnu.org>
8959
8960 * faces.el (make-face, make-empty-face, copy-face):
8961 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8962 Doc fixes.
8963
dc9924b8
SM
89642012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8965
8966 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8967 (widget-complete): Remove broken use of it.
8968
f0bcceb9
CY
89692012-03-20 Chong Yidong <cyd@gnu.org>
8970
dc9924b8
SM
8971 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8972 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
8973 characters.
8974
ee52ebf3
TH
89752012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8976
8977 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8978 to draw rectangles, not squares. (Regression introduced by revno
8979 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8980
4c5779ab
CY
89812012-03-18 Chong Yidong <cyd@gnu.org>
8982
8983 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8984 it is not yet defined (for temacs).
8985
15360934
LL
89862012-03-18 Leo Liu <sdl.web@gmail.com>
8987
735135f9
PE
8988 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
8989 prefix.
15360934 8990
d9a8eb66
EZ
89912012-03-17 Eli Zaretskii <eliz@gnu.org>
8992
8993 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8994 (ispell-choices-win-default-height, ispell-silently-savep)
8995 (ispell-dictionary-alist, ispell-encoding8-command)
8996 (ispell-check-version, ispell-aspell-find-dictionary)
8997 (ispell-valid-dictionary-list, ispell-words-keyword)
8998 (ispell-get-word, ispell-internal-change-dictionary)
8999 (ispell-region, ispell-skip-region-list)
9000 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9001 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9002 (ispell-message-text-end, ispell-message)
9003 (ispell-buffer-local-parsing): Doc fix.
9004
f02ff80d
J
90052012-03-13 Jambunathan K <kjambunathan@gmail.com>
9006
9007 * htmlfontify.el: Add support for code block fontification for ODT
9008 export (Bug #9914).
9009 (hfy-optimisations): Define new option
9010 `body-text-only'
9011 (hfy-fontify-buffer): Honor above setting.
9012 (hfy-begin-span, hfy-end-span): New routines factored out form
9013 `hfy-fontify-buffer'.
9014 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9015 that permit insertion of custom tags.
9016 (hfy-fontify-buffer): Use above handlers.
9017 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9018 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 9019 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 9020 over multiple runs. This is made possible by having the caller let
f02ff80d
J
9021 bind a special variable `hfy-user-sheet-assoc'.
9022 (htmlfontify-string): New defun.
9023 (hfy-compile-face-map): Make sure that the last char in the
9024 buffer is correctly fontified.
9025 (hfy-face-resolve-face): Whitespace only change.
9026
9ac7a13f
EZ
90272012-03-17 Eli Zaretskii <eliz@gnu.org>
9028
9029 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9030 message more clear.
9031
e2b5bdd7
LL
90322012-03-16 Leo Liu <sdl.web@gmail.com>
9033
9034 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9035
2e492df3
AM
90362012-03-16 Alan Mackenzie <acm@muc.de>
9037
9038 Further optimise the handling of large macros.
9039
9040 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9041 limit to a call of `c-literal-limits'.
9042 (c-determine-+ve-limit): New function.
dc9924b8
SM
9043 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9044 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
9045 In CASE 5B, restrict a search limit to 500.
9046 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9047
9048 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9049 Restrict macro bounds to +-500 from after-change's BEG END.
9050
50e94f0c
LL
90512012-03-16 Leo Liu <sdl.web@gmail.com>
9052
9053 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9054
6f09f6ed
AH
90552012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9056
9057 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 9058 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 9059
c7e73d51
GM
90602012-03-16 Glenn Morris <rgm@gnu.org>
9061
da986230
GM
9062 * view.el (view-buffer, view-buffer-other-window)
9063 (view-buffer-other-frame): Doc fixes re special mode-class.
9064
0835f01e
GM
9065 * subr.el (eval-after-load): If named feature is provided not from
9066 a file, run after-load forms. (Bug#10946)
9067
c7e73d51
GM
9068 * calendar/calendar.el (calendar-insert-at-column):
9069 Handle non-unit-width characters a bit better. (Bug#10978)
9070
3f2eafd1
CY
90712012-03-15 Chong Yidong <cyd@gnu.org>
9072
9073 * emacs-lisp/ring.el (ring-extend): New function.
9074 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9075
9076 * comint.el (comint-read-input-ring)
9077 (comint-add-to-input-history): Grow comint-input-ring lazily.
9078
103af3fe
SM
90792012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9080
663b1677
SM
9081 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9082 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9083
103af3fe
SM
9084 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9085 (imenu-add-to-menubar): Don't add a redundant index.
9086 (imenu-update-menubar): Handle a dynamically composed keymap.
9087
899cb7cb
KY
90882012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9089
9090 * mail/sendmail.el (mail-encode-header):
9091 Bind rfc2047-encode-encoded-words to nil.
9092
3809f91d
GM
90932012-03-13 Glenn Morris <rgm@gnu.org>
9094
9095 * calendar/calendar.el (calendar-string-spread):
9096 Handle non-unit-width characters a bit better. (Bug#10978)
9097
9e345a01
LL
90982012-03-13 Leo Liu <sdl.web@gmail.com>
9099
9100 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9101 directory and file as argument (Bug#10822).
9102
4a07df36
KS
91032012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9104
9105 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9106 For dynamically generated code, follow $PC.
9107 (gdb-disassembly-handler-custom): Handle no function name case.
9108
4aaa9356
TL
91092012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9110
9111 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9112 * emulation/ws-mode.el (ws-query-replace):
9113 * sort.el (sort-regexp-fields):
9114 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9115
225979da
SM
91162012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9117
9118 * dabbrev.el: Fix cycle completion order (bug#10963).
9119 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9120 (dabbrev-completion): Don't use an obarray; provide
9121 a cycle-sort-function.
9122
e2f1fdab
LL
91232012-03-12 Leo Liu <sdl.web@gmail.com>
9124
dc9924b8 9125 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
9126 (kill-do-not-save-duplicates): Doc fix.
9127
b19490ed
SM
91282012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9129
9130 * dabbrev.el: Fix cycle completion (bug#10963).
9131 Use lexical binding and wrap to 80 columns.
9132 (dabbrev-completion): Delay computing the list of completions.
9133
4b05d722
KH
91342012-03-12 Kenichi Handa <handa@m17n.org>
9135
9136 * international/quail.el (quail-insert-kbd-layout): Surround each
9137 row by LRO and PDF instead of inserting many LRMs. Pad the left
9138 and right of each non-spacing marks. Insert invisible space
9139 between lower and upper characters to prevent composition.
9140
dbbc2e69
SM
91412012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9142
9143 * minibuffer.el (minibuffer-complete): Don't get confused when the
9144 function is run twice via different commands (bug#10958).
9145 (complete-with-action): Fix docstring.
9146
292112ed
CY
91472012-03-12 Chong Yidong <cyd@gnu.org>
9148
5d1ac394
CY
9149 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9150 (nxml-completion-at-point-function): New function.
9151 (nxml-mode): Use it.
9152 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9153
292112ed
CY
9154 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9155 Load generated autoloads file before byte compiling (Bug#10970).
9156 (package--make-autoloads-and-compile): New helper fun.
9157
4098f8f7
CS
91582012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9159
9160 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9161
8f754691
MA
91622012-03-11 Michael Albinus <michael.albinus@gmx.de>
9163
9164 * autorevert.el (auto-revert-handler): Ensure, that
9165 file-readable-p is applied only for local files or in
9166 auto-revert-tail-mode.
9167
e29ab36b
AS
91682012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9169
dbbc2e69
SM
9170 * server.el (server-eval-at): Handle non-tcp connections.
9171 Decode result string.
ad0bf5b6 9172
e29ab36b
AS
9173 * server.el (server-msg-size): New constant.
9174 (server-reply-print): New function.
9175 (server-eval-and-print): Use it.
9176 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9177 Handle -print-nonl.
9178
de5939ba
CS
91792012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9180
9181 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9182 (Bug#10987).
9183
0c93eabf
CY
91842012-03-11 Chong Yidong <cyd@gnu.org>
9185
397a688f
CY
9186 * simple.el (goto-line): Doc fix (Bug#9938).
9187
2cc775f9
CY
9188 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9189
0c93eabf
CY
9190 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9191 when finished (Bug#10963).
9192
c491fa41
MR
91932012-03-11 Martin Rudalics <rudalics@gmx.at>
9194
9195 * window.el (split-window-below): Fix bug in case where
9196 split-window-keep-point is nil (Bug#10971).
9197
300e8fa5
JL
91982012-03-11 Juri Linkov <juri@jurta.org>
9199
9200 * replace.el (replace-highlight): Set isearch-word to nil
9201 unconditionally. (Bug#10887)
9202
dbf6c5a1
EZ
92032012-03-10 Eli Zaretskii <eliz@gnu.org>
9204
9205 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9206 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 9207 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
9208 (mairix-widget-create-query): Add usage information about mairix
9209 search forms: negating words, searching for substrings, etc.
9210
b9e501de
JP
92112012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9212
9213 * international/fontset.el (font-encoding-alist): Add an entry for
9214 ksx1001 (Bug#5667).
9215
92795c91
RS
92162012-03-10 Richard Stallman <rms@gnu.org>
9217
1694e6c1
RS
9218 * mail/sendmail.el (mail-encode-header):
9219 Set rfc2047-encode-encoded-words.
9220
607e8555
RS
9221 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9222
de3bc99a
RS
9223 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9224 view buffer means not swapped.
9225 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9226 (rmail-write-region-annotate): Error if real text has disappeared.
9227
92795c91
RS
9228 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9229
699bd04e
CY
92302012-03-10 Chong Yidong <cyd@gnu.org>
9231
9232 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
9233 * emulation/cua-base.el (cua--init-keymaps):
9234 Add delete-forward-char to remappings (Bug#9666).
699bd04e 9235
570a1714
MR
92362012-03-10 Martin Rudalics <rudalics@gmx.at>
9237
dbbc2e69
SM
9238 * speedbar.el (speedbar-unhighlight-one-tag-line):
9239 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 9240
82dcf4e4
CY
92412012-03-10 Chong Yidong <cyd@gnu.org>
9242
7a2c7ca7
CY
9243 * minibuffer.el (completion-in-region, completion-help-at-point):
9244 Give the completion field overlay a high priority (Bug#6830).
9245
82dcf4e4
CY
9246 * dired.el (dired-goto-file): Recognize absolute file name
9247 listings (Bug#7126).
9248 (dired-goto-file-1): New helper function.
9249 (dired-toggle-read-only): Inhibit warnings.
9250
052e28ac
MA
92512012-03-09 Michael Albinus <michael.albinus@gmx.de>
9252
75f1671a 9253 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
9254 there are no properties.
9255
95d5e396
LL
92562012-03-09 Leo Liu <sdl.web@gmail.com>
9257
9258 * savehist.el (savehist-printable): Stricter check for string
9259 value (Bug#10937).
9260
3f018d6d
EZ
92612012-03-09 Eli Zaretskii <eliz@gnu.org>
9262
dbbc2e69
SM
9263 * mail/smtpmail.el (smtpmail-send-it):
9264 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
9265 valid mbox format.
9266
f7fd3d79
GM
92672012-03-09 Glenn Morris <rgm@gnu.org>
9268
9269 * files.el (dir-locals-find-file):
9270 Don't check result is regular, readable.
9271 (dir-locals-read-from-file): Demote errors.
9272
6ff6e72f
EZ
92732012-03-08 Eli Zaretskii <eliz@gnu.org>
9274
dbbc2e69
SM
9275 * international/quail.el (quail-insert-kbd-layout):
9276 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
9277 layout cell, to prevent their reordering by bidi display engine.
9278 For details, see the discussion in
9279 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9280
9cec7834
AM
92812012-03-08 Alan Mackenzie <acm@muc.de>
9282
9283 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9284 the starting position; make it extend the marked region when
9285 invoked repeatedly - all under appropriate circumstances.
9286 Fixes bugs #5525, #10906.
9287
9a40b8d4
GM
92882012-03-08 Glenn Morris <rgm@gnu.org>
9289
9290 * files.el (locate-dominating-file, dir-locals-find-file):
9291 Undo 2012-03-06 change.
9292
7a08ed35
EZ
92932012-03-07 Eli Zaretskii <eliz@gnu.org>
9294
dbbc2e69
SM
9295 * international/quail.el (quail-help):
9296 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
9297 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9298 for the reason.
9299
5aca4f71 93002012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
9301
9302 Avoid superfluous registering of signals. (Bug#10807)
9303
9304 * notifications.el (notifications-on-action-object)
9305 (notifications-on-close-object): New defvars.
9306 (notifications-on-action-signal, notifications-on-closed-signal):
9307 Unregister the signal if not needed any longer.
9308 (notifications-notify): Register `notifications-action-signal' or
9309 `notifications-closed-signal', if :on-action or :on-close has been
9310 passed as argument.
9311
78e8b10a
CY
93122012-03-07 Chong Yidong <cyd@gnu.org>
9313
9314 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9315 non-X platforms.
9316
69481eb8
GM
93172012-03-06 Glenn Morris <rgm@gnu.org>
9318
9319 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9320 (x-disown-selection-internal, x-get-selection-internal):
9321 Doc fix (add arglist signatures). (Bug#10783)
9322
133b8e11
KS
93232012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9324
9325 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9326 Handle breakpoints with no "type".
9327
99a83064
GM
93282012-03-06 Glenn Morris <rgm@gnu.org>
9329
9330 * files.el (locate-dominating-file): Add optional predicate argument.
9331 (dir-locals-find-file): Make use of above change.
9332
17798e78
TTN
93332012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9334
9335 * info.el (Info-insert-dir): Also try "dir.gz".
9336
eb182446
GM
93372012-03-06 Glenn Morris <rgm@gnu.org>
9338
8f2114ee
GM
9339 * files.el (dir-locals-find-file):
9340 Ignore non-readable or non-regular files. (Bug#10928)
9341
eb182446
GM
9342 * files.el (locate-dominating-file): Doc fix.
9343
24679323
AS
93442012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9345
9346 * calendar/calendar.el (calendar-set-mode-line):
9347 `getenv' returns a string. (Bug#10951)
9348
01d972a9
LL
93492012-03-05 Leo Liu <sdl.web@gmail.com>
9350
109aa8a9
LL
9351 * simple.el (backward-delete-char-untabify): Constrain point to
9352 field (Bug#10939).
9353
01d972a9
LL
9354 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9355
10607bea
CY
93562012-03-05 Chong Yidong <cyd@gnu.org>
9357
9358 * simple.el (count-words): If called from Lisp, return the word
9359 count, for symmetry with `count-lines'. Arglist changed.
9360 (count-words--message): Args changed. Consolidate counting code
9361 from count-words and count-words-region.
9362 (count-words-region): Caller changed.
9363 (count-lines-region): Make it an obsolete alias.
9364
5dd11cfe
TH
93652012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9366
9367 * saveplace.el (save-place-to-alist)
9368 (save-place-ignore-files-regexp): Allow value nil to disable this
9369 feature.
9370
c349f4e6
CY
93712012-03-04 Chong Yidong <cyd@gnu.org>
9372
9373 * faces.el (face-spec-reset-face): For the default face, reset the
9374 attributes to default values (Bug#10748).
9375
e627be4c
LMI
93762012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9377
9378 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9379 previous patch: Check `message-send-mail-function', and not the
9380 default function (bug#10897).
9381
ebeabff4
MA
93822012-03-04 Michael Albinus <michael.albinus@gmx.de>
9383
a41a6cf4
MA
9384 * notifications.el (notifications-on-action-signal)
9385 (notifications-on-closed-signal): Check for unique service name of
9386 incoming event. Fix error in removing entry.
ebeabff4 9387 (top): Register for signals with wildcard service name.
a41a6cf4 9388 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 9389
c1ca42b4
CY
93902012-03-04 Chong Yidong <cyd@gnu.org>
9391
dc9924b8 9392 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 9393
ea16568d
GM
93942012-03-04 Glenn Morris <rgm@gnu.org>
9395
9396 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9397 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9398 (expand-abbrev, define-abbrev-table): Doc fixes.
9399
fbae4637
LMI
94002012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9401
9402 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9403 `message-default-send-mail-function' and not `send-mail-function'
9404 when doing the prompting for `sendmail-query-once' before sending
9405 in Message buffers (bug#10897).
9406
a1e7225c
LMI
9407 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9408 This is inconsistent with all the other stream functions, which leave
9409 the setting up to the higher levels (if so wanted) (bug#10931).
9410
56d093a9
AM
94112012-03-02 Alan Mackenzie <acm@muc.de>
9412
9413 Depessimize the handling of very large macros.
9414
9415 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9416 (c-macro-cache-syntactic): New variables to implement a one
9417 element macro cache.
9418 (c-invalidate-macro-cache): New function.
9419 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9420 Adapt to use the new cache.
9421 (c-state-safe-place): Use better the cache of safe positions.
9422 (c-state-semi-nonlit-pos-cache)
9423 (c-state-semi-nonlit-pos-cache-limit):
9424 New variables for...
9425 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9426 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
9427 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9428 Use c-state-semi-safe-place.
56d093a9 9429
dbbc2e69
SM
9430 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9431 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 9432
817e5c3d
MA
94332012-03-02 Michael Albinus <michael.albinus@gmx.de>
9434
dbbc2e69
SM
9435 * jka-compr.el (jka-compr-call-process):
9436 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
9437 not remote.
9438
a032a702
MA
94392012-03-01 Michael Albinus <michael.albinus@gmx.de>
9440
9441 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9442 access of FILE2, if FILE1 does not exist.
9443
99a54f21
MA
9444 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9445 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9446
9447 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9448 Add "PAGER=" to `process-environment'.
9449
f6561e1f
MM
94502012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9451
9452 * progmodes/sql.el: Bug fix
9453 (sql-get-login-ext): Save login values in globals.
9454 (sql-get-login): Use new version of `sql-get-login-ext'.
9455 (sql-interactive-mode): Set global `sql-connection' to nil.
9456 (sql-connect): Set global values for connection.
9457 (sql-product-interactive): Save global values as buffer local.
9458
2d44d9cc
LL
94592012-02-29 Leo Liu <sdl.web@gmail.com>
9460
9461 * abbrev.el (define-abbrevs): Reset sys to nil.
9462
96b49301 94632012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9464
bf7f9bc5
JB
9465 * files.el (file-equal-p): Rename from `files-equal-p'.
9466 Return nil when one or both files don't exist.
96b49301 9467 (file-subdir-of-p): Now only top directory must exists,
9468 return nil if it doesn't.
bf7f9bc5
JB
9469 (copy-directory): No need to test with `file-subdir-of-p' after
9470 creating dir.
9471 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9472 to `file-equal-p'.
96b49301 9473
44e97401
GM
94742012-02-28 Glenn Morris <rgm@gnu.org>
9475
9476 * shell.el (shell-mode):
9477 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9478 * play/landmark.el (landmark-font-lock-face-O):
9479 * play/handwrite.el (handwrite):
9480 * play/gomoku.el (gomoku-O):
9481 * net/browse-url.el (browse-url-browser-display):
9482 * international/mule.el (define-charset):
9483 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9484 * filesets.el (filesets-find-file-delay):
9485 * eshell/em-xtra.el (eshell-xtra):
9486 * eshell/em-unix.el (eshell-grep):
9487 * emulation/viper.el (viper-mode):
9488 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9489 * emacs-lisp/easymenu.el (easy-menu-define):
9490 * calendar/timeclock.el (timeclock-use-display-time):
9491 * bs.el (bs-mode):
9492 * bookmark.el (bookmark-save-flag):
9493 Doc fix (standardize possessive apostrophe usage).
9494
c98c6276
CY
94952012-02-27 Chong Yidong <cyd@gnu.org>
9496
bf7f9bc5
JB
9497 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9498 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 9499
c98c6276
CY
9500 * font-lock.el (font-lock-specified-p): Rename from
9501 font-lock-spec-present. Callers changed.
9502
9c62cd04 95032012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 9504
bf7f9bc5
JB
9505 * emacs-lisp/package.el (package-compute-transaction):
9506 Handle holding a package version to t in package-load-list.
8ac9e529 9507
530739c9
MA
95082012-02-26 Michael Albinus <michael.albinus@gmx.de>
9509
9510 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9511 (tramp-get-inode, tramp-get-device): Use cached values.
9512
487915d7
AM
95132012-02-26 Alan Mackenzie <acm@muc.de>
9514
9515 Check there is a font-lock specification before doing initial
9516 fontification.
9517
9518 * font-core.el (font-lock-mode): Move the conditional from
9519 :after-hook to font-lock-initial-fontify.
9520 (font-lock-default-function): Move the check for a specification
9521 to font-lock-spec-present.
9522
dc9924b8 9523 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
9524 (font-lock-spec-present): New function.
9525
4fd96557
JB
95262012-02-26 Jim Blandy <jimb@red-bean.com>
9527
9528 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9529 (gdb-send): Apply it to the operand of the '-interpreter-exec
9530 console' command, so that we can pass arguments with (say) quotes
9531 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9532
9a4888c0
CY
95332012-02-26 Chong Yidong <cyd@gnu.org>
9534
07498861
CY
9535 * help-fns.el (describe-function-1): Clarify description of
9536 remapping (Bug#10844).
9537
9a4888c0
CY
9538 * files.el (files-equal-p): Doc fix.
9539 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9540 and quit the loop once a mismatch is found.
9541
ea8fb88d
JB
95422012-02-25 Juanma Barranquero <lekktu@gmail.com>
9543
9544 * bs.el (bs--show-with-configuration): Don't throw an error
9545 if the window cannot be split; otherwise, subsequent calls to
9546 bs-show fail, restoring a stale window config. (Bug#10882)
9547
525795c1
JD
95482012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9549
9550 * term/ns-win.el (global-map): Bind ns-drag-file to
9551 ns-find-file (Bug#5855, Bug#10050).
9552
f008086f
AS
95532012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9554
9555 * calendar/parse-time.el (parse-time-string): Allow extractor to
9556 return nil.
9557
a3fcfa99
MA
95582012-02-25 Michael Albinus <michael.albinus@gmx.de>
9559
91027d08
JB
9560 * net/tramp.el (tramp-file-name-for-operation):
9561 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
9562
9563 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
9564 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9565 Add COPY-CONTENTS argument.
a3fcfa99 9566
67b0de11
CY
95672012-02-25 Chong Yidong <cyd@gnu.org>
9568
9569 Add custom groups for VC backends, for consistency with vc-bzr.
9570
9571 * vc/vc-arch.el (vc-arch):
9572 * vc/vc-cvs.el (vc-cvs):
9573 * vc/vc-git.el (vc-git):
9574 * vc/vc-hg.el (vc-hg):
9575 * vc/vc-mtn.el (vc-mtn):
9576 * vc/vc-rcs.el (vc-rcs):
9577 * vc/vc-sccs.el (vc-sccs):
9578 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9579 All relevant defcustoms reassigned.
9580
3c9dfce6
CY
95812012-02-25 Chong Yidong <cyd@gnu.org>
9582
1339bf43
CY
9583 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9584
3c9dfce6
CY
9585 * term/x-win.el (x-initialize-window-system): Reduce default for
9586 x-selection-timeout to 5 seconds (Bug#8869).
9587
25b2e303 95882012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9589
ec70a47d
GM
9590 * files.el (files-equal-p, file-subdir-of-p): New functions.
9591 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 9592 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
9593 * dired-aux.el (dired-copy-file-recursive): Same.
9594 (dired-create-files): Modify destination when source is equal to
9595 dest when copying files.
53a46cd0 9596 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 9597
914260cd
MA
95982012-02-24 Michael Albinus <michael.albinus@gmx.de>
9599
9600 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9601 (Bug#10874)
9602
2cb228f7
AM
96032012-02-23 Alan Mackenzie <acm@muc.de>
9604
9605 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9606 parameter "after-hook:" to allow the expansion to run code after
9607 the execution of the mode hooks.
9608
9609 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 9610 from font-lock-mode-internal.
2cb228f7 9611
91027d08 9612 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
9613 :after-hook.
9614
8f0fde21
SM
96152012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9616
3e88618b
SM
9617 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9618 (completion--cache-all-sorted-completions): New function.
9619 (completion-all-sorted-completions): Use it.
9620 (completion--do-completion, minibuffer-force-complete):
9621 Use it to re-instate the flush hook.
9622
8f0fde21
SM
9623 * icomplete.el (icomplete-completions): Replace last fix with a better
9624 one (bug#10850).
9625
8e911f6f
DG
96262012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9627
9628 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9629 when it might call us back infinitely (bug#10797).
9630
49fe4321
GM
96312012-02-23 Glenn Morris <rgm@gnu.org>
9632
9633 * minibuffer.el (completion-category-overrides): Doc fix.
9634
b291b572
SM
96352012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9636
9637 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9638 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9639
31a9ef2e
GM
96402012-02-23 Glenn Morris <rgm@gnu.org>
9641
5e6e6794 9642 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
9643 (authors-obsolete-files-regexps, authors-ignored-files)
9644 (authors-ambiguous-files, authors-renamed-files-alist):
9645 Add more entries.
9646
0bd1e074
JL
96472012-02-23 Juri Linkov <juri@jurta.org>
9648
9649 * isearch.el (isearch-occur): Sync interactive spec with occur's
9650 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9651
b617673c
JL
9652 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9653
19e9789e
JL
96542012-02-22 Juri Linkov <juri@jurta.org>
9655
9656 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9657 (ucs-insert): Doc fix. Check for hex digits in the string.
9658 Don't display `nil' in the error message. (Bug#10857)
9659
f41ce09d
AM
96602012-02-22 Alan Mackenzie <acm@muc.de>
9661
7a71b18d 9662 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 9663
ac2eceee
GM
96642012-02-22 Glenn Morris <rgm@gnu.org>
9665
9666 * ffap.el (ffap-c-path):
9667 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9668
abd1f678
CY
96692012-02-22 Chong Yidong <cyd@gnu.org>
9670
9671 * custom.el (load-theme): Doc fix.
9672
f25aef2e
GM
96732012-02-22 Glenn Morris <rgm@gnu.org>
9674
9675 * dired-x.el (dired-guess-shell-alist-default):
9676 Remove escape sequences from nroff output. (Bug#172)
9677
5f8dc2ca
GM
96782012-02-21 Glenn Morris <rgm@gnu.org>
9679
6ff86ec4
GM
9680 * vc/emerge.el (emerge-defvar-local):
9681 Set `permanent-local' property rather than unused `preserved'.
9682
be3223a3 9683 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
9684 (picture-mode-map): Use it. (Bug#10860)
9685 (picture-mode): Doc fix.
9686
3fe58f4f
JB
96872012-02-21 Juanma Barranquero <lekktu@gmail.com>
9688
9689 * newcomment.el (uncomment-region-default): Remove unused binding.
9690
f9a998c3
GM
96912012-02-21 Glenn Morris <rgm@gnu.org>
9692
9693 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9694 (picture-self-insert, picture-tab-chars): Doc fix.
9695 (picture-mode-map): Fix C-a, C-e.
9696
c6029348
GM
96972012-02-20 Glenn Morris <rgm@gnu.org>
9698
9699 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9700
ab1ce9d7
LL
97012012-02-20 Leo Liu <sdl.web@gmail.com>
9702
9703 * icomplete.el (icomplete-completions): Check FROM arg before
9704 passing to substring (Bug#10850).
9705
0fd40f89
CY
97062012-02-19 Chong Yidong <cyd@gnu.org>
9707
9708 * comint.el: Require ansi-color.
9709 (comint-output-filter-functions): Add ansi-color-process-output.
9710
9711 * ansi-color.el: Don't set comint-output-filter-functions; it is
9712 now in the initial value defined in comint.el.
9713 (ansi-color-apply-face-function): New variable.
9714 (ansi-color-apply-on-region): Use it.
9715 (ansi-color-apply-overlay-face): New function.
9716
9717 * shell.el (shell): No need to require ansi-color.
9718 (shell-mode): Use ansi-color-apply-face-function to highlight
9719 color escapes using font-lock-face property (Bug#10835).
9720
20af2394
CY
97212012-02-19 Chong Yidong <cyd@gnu.org>
9722
9723 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9724 mode-line formats (Bug#10839).
9725
e23a3fbe
GM
97262012-02-18 Glenn Morris <rgm@gnu.org>
9727
b474519e
GM
9728 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9729
9730 * mail/undigest.el (unforward-rmail-message): Doc fix.
9731
e23a3fbe
GM
9732 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9733
57939ff4
EZ
97342012-02-18 Eli Zaretskii <eliz@gnu.org>
9735
9736 * international/characters.el (script-list): Sync with the latest
9737 Unicode Character Database.
9738
0c23686e
AS
97392012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9740
9741 * international/titdic-cnv.el: Remove duplicate coding tag.
9742 * language/cham.el: Likewise.
9743 * language/tai-viet.el: Likewise.
9744
6818b449
GM
97452012-02-18 Glenn Morris <rgm@gnu.org>
9746
9747 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9748 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9749 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9750 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9751 * calendar/holidays.el (holiday-bahai-holidays)
9752 (calendar-holidays, list-holidays):
9753 Use utf-8 Bahá'í in doc-strings, menus, etc.
9754
0311a3fc
TH
97552012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9756
9757 * saveplace.el (save-place-ignore-files-regexp): New variable
9758 allowing for excluding files from saving their location of point.
9759 The default value matches the temporary commit message editing
9760 files from Git, SVN, Bazaar, and Mercurial.
9761 (save-place-to-alist): Use it.
9762
d209e2fb 97632012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 9764 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
9765
9766 * newcomment.el (uncomment-region-default): Don't leave extra space
9767 when an arg is provided (bug#8150).
9768
ee0ce425
TZ
97692012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9770
eb864a71 9771 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 9772
95ddf442
GM
97732012-02-17 Glenn Morris <rgm@gnu.org>
9774
9775 * net/socks.el: Require network-stream. (Bug#10599)
9776
48dd1e39 97772012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
9778
9779 * international/charprop.el:
9780 * international/uni-name.el:
9781 * international/uni-old-name.el:
9782 * international/uni-comment.el: Regenerate.
9783
d68cd087
GM
97842012-02-16 Glenn Morris <rgm@gnu.org>
9785
9786 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9787 Interactively in calendar buffer, give an error if not on a date.
9788
13932042
GM
97892012-02-15 Glenn Morris <rgm@gnu.org>
9790
9791 * shell.el (shell-delimiter-argument-list):
9792 Revert 2011-02-17 change. (Bug#8027)
9793
c3a70e2b
CY
97942012-02-15 Chong Yidong <cyd@gnu.org>
9795
60236b0d
CY
9796 * minibuffer.el (completion-at-point-functions): Doc fix.
9797
c3a70e2b
CY
9798 * custom.el (defcustom): Doc fix; note use of defvar.
9799
9f26dc24
GM
98002012-02-15 Glenn Morris <rgm@gnu.org>
9801
9802 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9803 Doc fixes.
9804
6546b134
GM
98052012-02-14 Glenn Morris <rgm@gnu.org>
9806
9807 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9808
d29b2b4c
LI
98092012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9810
9811 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9812 way the ports list is computed.
835bdcba
LI
9813 (smtpmail-query-smtp-server): Prompt the user for a port number if
9814 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 9815
08dcdbc9
TZ
98162012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9817
9818 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9819
2605051a
GM
98202012-02-13 Glenn Morris <rgm@gnu.org>
9821
9822 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9823
7ee99f32
TZ
98242012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9825
9826 * net/gnutls.el (gnutls-trustfiles): New variable.
9827 (gnutls-negotiate): Use it.
9828
5f0af64f
LI
98292012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9830
9831 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9832 does its stuff if Gnus is running.
9833
c14fcc95
AM
98342012-02-13 Alan Mackenzie <acm@muc.de>
9835
9836 Fix a loop in c-set-fl-decl-start.
9837
7a71b18d 9838 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
9839 c-backward-syntactic-ws actually moves backwards.
9840
142b4d90
LL
98412012-02-13 Leo Liu <sdl.web@gmail.com>
9842
9843 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9844 beginning so that all \C-o chars are removed.
9845
fa9958a6
TZ
98462012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9847
dc9924b8 9848 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 9849
0bc5886a
AM
98502012-02-12 Alan Mackenzie <acm@muc.de>
9851
9852 Fix infinite loop with long macros.
4d6769e1 9853 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 9854
d4bd55e7
CY
98552012-02-12 Chong Yidong <cyd@gnu.org>
9856
9857 * window.el (display-buffer): Doc fix (Bug#10785).
9858
66f3fe22
GM
98592012-02-12 Glenn Morris <rgm@gnu.org>
9860
bd7da63e
GM
9861 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9862 (x-disown-selection-internal, x-get-selection-internal):
9863 Sync docs with the xselect.c versions.
9864
66f3fe22
GM
9865 * allout-widgets.el: Add missing license notice.
9866
3e0d2fa7
GM
98672012-02-11 Glenn Morris <rgm@gnu.org>
9868
cfecdf09
GM
9869 * select.el (x-get-selection-internal, x-own-selection-internal)
9870 (x-disown-selection-internal):
9871 * x-dnd.el (x-get-selection-internal): Update declarations.
9872
6d216d7f
GM
9873 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9874
2bed3f04
GM
9875 * window.el (window-sides-slots):
9876 * tool-bar.el (tool-bar-position):
9877 * term/xterm.el (xterm-extra-capabilities):
9878 * ses.el (ses-self-reference-early-detection):
9879 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9880 (verilog-auto-wire-type)
9881 (verilog-auto-delete-trailing-whitespace)
9882 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9883 (verilog-auto-tieoff-declaration):
9884 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9885 (sql-oracle-statement-starters, sql-oracle-scan-on):
9886 * progmodes/prolog.el (prolog-align-comments-flag)
9887 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9888 (prolog-left-indent-regexp, prolog-paren-indent-p)
9889 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9890 (prolog-types, prolog-mode-specificators)
9891 (prolog-determinism-specificators, prolog-directives)
9892 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9893 (prolog-electric-dot-flag)
9894 (prolog-electric-dot-full-predicate-template)
9895 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9896 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9897 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9898 (prolog-program-switches, prolog-prompt-regexp)
9899 (prolog-debug-on-string, prolog-debug-off-string)
9900 (prolog-trace-on-string, prolog-trace-off-string)
9901 (prolog-zip-on-string, prolog-zip-off-string)
9902 (prolog-use-standard-consult-compile-method-flag)
9903 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9904 (prolog-imenu-max-lines, prolog-info-predicate-index)
9905 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9906 (prolog-char-quote-workaround):
9907 * progmodes/cc-vars.el (c-defun-tactic):
9908 * net/tramp.el (tramp-encoding-command-interactive)
9909 (tramp-local-end-of-line):
9910 * net/soap-client.el (soap-client):
9911 * net/netrc.el (netrc-file):
9912 * net/gnutls.el (gnutls):
9913 * minibuffer.el (completion-category-overrides)
9914 (completion-cycle-threshold)
9915 (completion-pcm-complete-word-inserts-delimiters):
9916 * man.el (Man-name-local-regexp):
9917 * mail/feedmail.el (feedmail-display-full-frame):
9918 * international/characters.el (glyphless-char-display-control):
9919 * eshell/em-ls.el (eshell-ls-date-format):
9920 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9921 (lisp-lambda-list-keyword-parameter-indentation)
9922 (lisp-lambda-list-keyword-parameter-alignment):
9923 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9924 * dired-x.el (dired-omit-verbose):
9925 * cus-theme.el (custom-theme-allow-multiple-selections):
9926 * calc/calc.el (calc-highlight-selections-with-faces)
9927 (calc-lu-field-reference, calc-lu-power-reference)
9928 (calc-note-threshold):
9929 * battery.el (battery-mode-line-limit):
9930 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9931 (archive-7z-update):
9932 * allout.el (allout-prefixed-keybindings)
9933 (allout-unprefixed-keybindings)
9934 (allout-inhibit-auto-fill-on-headline)
9935 (allout-flattened-numbering-abbreviation):
9936 * allout-widgets.el (allout-widgets-auto-activation)
9937 (allout-widgets-icons-dark-subdir)
9938 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9939 (allout-widgets-theme-dark-background)
9940 (allout-widgets-theme-light-background)
9941 (allout-widgets-item-image-properties-emacs)
9942 (allout-widgets-item-image-properties-xemacs)
9943 (allout-widgets-run-unit-tests-on-load)
9944 (allout-widgets-time-decoration-activity)
9945 (allout-widgets-hook-error-post-time)
9946 (allout-widgets-track-decoration):
9947 Add missing :version tags to new defcustoms and defgroups.
9948
5fec1b8e
GM
9949 * progmodes/sql.el (sql-ansi-statement-starters)
9950 (sql-oracle-statement-starters): Add custom type.
9951
3e0d2fa7
GM
9952 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9953 (prolog-system-version): Give it a type.
9954
90b671e2
EZ
99552012-02-11 Eli Zaretskii <eliz@gnu.org>
9956
9957 * term/pc-win.el (x-select-text, x-selection-owner-p)
9958 (x-own-selection-internal, x-disown-selection-internal)
9959 (x-get-selection-internal): Sync doc strings and argument lists
9960 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9961
5eac0c02
LL
99622012-02-11 Leo Liu <sdl.web@gmail.com>
9963
9964 * progmodes/python.el (python-end-of-statement): Fix infinite
9965 loop. (Bug#10788)
9966
f82cb659
GM
99672012-02-10 Glenn Morris <rgm@gnu.org>
9968
9969 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9970 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9971
cc26d239
LI
99722012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9973
9974 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9975 about SMTP before checking the From header.
9976
91027d08 9977 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
9978 into own function for reuse by emacsbug.el.
9979
1be3ca5a
LL
99802012-02-10 Leo Liu <sdl.web@gmail.com>
9981
9982 * subr.el (condition-case-unless-debug): Rename from
9983 condition-case-no-debug. All callers changed.
9984 (with-demoted-errors): Fix caller.
9985
9986 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9987 * nxml/rng-valid.el (rng-do-some-validation):
9988 * emacs-lisp/package.el (package-refresh-contents)
9989 (package-menu-execute):
9990 * desktop.el (desktop-create-buffer):
91027d08 9991 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 9992
b011fbfe
GM
99932012-02-10 Glenn Morris <rgm@gnu.org>
9994
b2096d72
GM
9995 * textmodes/bibtex.el:
9996 Add missing :version tags for new/changed defcustoms.
9997
b011fbfe
GM
9998 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9999
4c7e65bf
LI
100002012-02-09 Lars Ingebrigtsen <larsi@rusty>
10001
10002 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10003 (smtpmail-via-smtp): Use it, or fall back on the From address.
10004 (smtpmail-send-it): Ditto.
10005
f3934f6f
SM
100062012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10007
10008 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10009 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10010 (byte-compile-tmp-var): New const.
10011 (byte-compile-defvar): Use it to minimize .elc size.
10012 Just use `defvar' rather than simulate it (bug#10761).
10013
a075a2c5
GM
100142012-02-09 Glenn Morris <rgm@gnu.org>
10015
cf3aa21b
GM
10016 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10017
354998cd
GM
10018 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10019 Add :version tags.
10020
dc9924b8
SM
10021 * progmodes/compile.el (compilation-error-screen-columns)
10022 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 10023
dab3703d
GM
10024 * vc/log-view.el (log-view-toggle-entry-display):
10025 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10026
3f88cd72
GM
10027 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10028 (report-emacs-bug-can-use-xdg-email):
10029 (report-emacs-bug-insert-to-mailer): Doc fixes.
10030 (report-emacs-bug): Message fix.
10031
d95b247d
GM
10032 * net/browse-url.el (browse-url-can-use-xdg-open)
10033 (browse-url-xdg-open): Doc fixes.
10034
a075a2c5
GM
10035 * electric.el (electric-indent-mode, electric-pair-mode)
10036 (electric-layout-rules, electric-layout-mode): Doc fixes.
10037 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10038
ffb6157e
MR
100392012-02-08 Martin Rudalics <rudalics@gmx.at>
10040
10041 * server.el (server-unselect-display): Don't inadvertently kill
10042 the current buffer. (Bug#10729)
10043
e1ac4066
GM
100442012-02-08 Glenn Morris <rgm@gnu.org>
10045
34e8a2da
GM
10046 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10047 (sql-list-table): Doc fixes.
10048
b4ac6e8c
GM
10049 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10050 Comment out (does nothing).
10051
e1ac4066
GM
10052 * completion.el (dynamic-completion-mode):
10053 * dirtrack.el (dirtrack-debug-mode):
10054 * electric.el (electric-layout-mode):
10055 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10056 * face-remap.el (text-scale-mode, buffer-face-mode):
10057 * iimage.el (iimage-mode):
10058 * image-mode.el (image-transform-mode):
10059 * minibuffer.el (completion-in-region-mode):
10060 * scroll-lock.el (scroll-lock-mode):
10061 * simple.el (next-error-follow-minor-mode):
10062 * tar-mode.el (tar-subfile-mode):
10063 * tooltip.el (tooltip-mode):
10064 * vcursor.el (vcursor-use-vcursor-map):
10065 * wid-browse.el (widget-minor-mode):
10066 * emulation/tpu-edt.el (tpu-edt-mode):
10067 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10068 * international/iso-ascii.el (iso-ascii-mode):
10069 * language/thai-util.el (thai-word-mode):
10070 * mail/supercite.el (sc-minor-mode):
10071 * net/goto-addr.el (goto-address-mode):
10072 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10073 * progmodes/cwarn.el (cwarn-mode):
10074 * progmodes/flymake.el (flymake-mode):
10075 * progmodes/glasses.el (glasses-mode):
10076 * progmodes/hideshow.el (hs-minor-mode):
10077 * progmodes/pascal.el (pascal-outline-mode):
10078 * textmodes/enriched.el (enriched-mode):
10079 * vc/smerge-mode.el (smerge-mode):
10080 Doc fixes (minor mode argument).
10081
5e0d957f
EZ
100822012-02-07 Eli Zaretskii <eliz@gnu.org>
10083
10084 * ls-lisp.el (ls-lisp-sanitize): New function.
10085 (ls-lisp-insert-directory): Use it to fix or remove any elements
10086 in file-alist with missing attributes. (Bug#4673)
10087
98d7371e
AM
100882012-02-07 Alan Mackenzie <acm@muc.de>
10089
10090 Fix spurious recognition of c-in-knr-argdecl.
10091
10092 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10093 putative K&R region.
10094
667ced3a
AM
100952012-02-07 Alan Mackenzie <acm@muc.de>
10096
eb864a71
LM
10097 * progmodes/cc-engine.el (c-forward-objc-directive):
10098 Prevent looping in "#pragma mark @implementation".
667ced3a 10099
5b77774d
MA
101002012-02-07 Michael Albinus <michael.albinus@gmx.de>
10101
10102 * notifications.el (notifications-on-closed-signal): Make `reason'
10103 optional. (Bug#10744)
10104
af008560
GM
101052012-02-07 Glenn Morris <rgm@gnu.org>
10106
60d47423
GM
10107 * emacs-lisp/easy-mmode.el (define-minor-mode):
10108 Doc fixes for the macro and the mode it defines.
10109
dd605cc4
GM
10110 * image.el (imagemagick-types-inhibit): Doc fix.
10111
af008560
GM
10112 * cus-start.el (imagemagick-render-type): Add it.
10113
5cc59a37
LI
101142012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10115
4d6769e1
JB
10116 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10117 Set the default at load time, too, so that `font-lock-fontify-buffer'
10118 can be called without setting up the entire mode first. This fixes
10119 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 10120
9a6dd747
CY
101212012-02-06 Chong Yidong <cyd@gnu.org>
10122
2d16b285
CY
10123 * simple.el (list-processes--refresh): Delete exited processes
10124 (Bug#8094).
10125
171e9b6e
CY
10126 * comint.el (comint-next-prompt): next-single-char-property-change
10127 and prev-single-char-property-change never return nil (Bug#8657).
10128
9a6dd747
CY
10129 * custom.el (defcustom): Doc fix (Bug#9711).
10130
aa4589a7
CY
101312012-02-05 Chong Yidong <cyd@gnu.org>
10132
5c2a252f
CY
10133 * cus-edit.el (custom-variable-reset-backup): Quote the value
10134 before storing it in the customized-value property (Bug#6712).
4aab9006 10135 (custom-display): Add a customization type tag.
983b9602 10136 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 10137
aa4589a7
CY
10138 * wid-edit.el (widget-field-value-get): New optional arg to
10139 suppress trailing whitespace truncation.
10140 (character): Use it (Bug#2689).
10141
1ff980ae
AS
101422012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10143
10144 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10145 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10146
03988c98
CY
101472012-02-05 Chong Yidong <cyd@gnu.org>
10148
eeb6cc88
CY
10149 * cus-edit.el (custom-variable-value-create): For mismatched
10150 types, show the current value (Bug#7600).
10151
03988c98
CY
10152 * custom.el (defcustom): Doc fix.
10153
f8cdeef0
GM
101542012-02-05 Glenn Morris <rgm@gnu.org>
10155
10156 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10157
0696d255
JB
101582012-02-05 Juanma Barranquero <lekktu@gmail.com>
10159
10160 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10161 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10162 (pp-last-sexp): Use `looking-at-p'.
10163
34c99998
GM
101642012-02-04 Glenn Morris <rgm@gnu.org>
10165
8f05da42
GM
10166 * files.el (revert-buffer):
10167 Doc fix (mention revert-buffer-in-progress-p).
10168
f160676e
GM
10169 * emacs-lisp/ert-x.el (ert-simulate-command):
10170 Check deferred-action-list (which is obsolete) is bound.
10171
c7291ad9
GM
10172 * subr.el (with-wrapper-hook): Doc fixes.
10173
34c99998
GM
10174 * simple.el (filter-buffer-substring-functions)
10175 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10176
6283a7d3
LL
101772012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10178
10179 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10180 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10181
e96e3013
LL
101822012-02-04 Leo Liu <sdl.web@gmail.com>
10183
10184 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10185
8ded50f2
GM
101862012-02-04 Glenn Morris <rgm@gnu.org>
10187
82ff1d13
GM
10188 * image.el (image-extension-data): Add obsolete alias.
10189
987a0a16
GM
10190 * isearch.el (isearch-update): Doc fix.
10191
ea32ef46
GM
10192 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10193
8ded50f2
GM
10194 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10195
eea14f31
GM
101962012-02-03 Glenn Morris <rgm@gnu.org>
10197
10198 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10199 (image-animate-timeout): Doc fix.
10200
10201 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10202
12f381b7
GM
102032012-02-02 Glenn Morris <rgm@gnu.org>
10204
953cebf5
GM
10205 * server.el (server-auth-dir): Doc fix.
10206 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10207
12f381b7
GM
10208 * subr.el (run-mode-hooks): Doc fix.
10209
953a8c3b
JL
102102012-02-02 Juri Linkov <juri@jurta.org>
10211
10212 * image-mode.el (image-toggle-display-image): Remove tautological
10213 `major-mode' from the `derived-mode-p' test.
10214
c5d3843c
KH
102152012-02-02 Kenichi Handa <handa@m17n.org>
10216
9f6e692e 10217 * composite.el (compose-region): Cancel previous change.
c5d3843c 10218
159462d4 102192012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
10220
10221 * composite.el (compose-region, compose-string): Signal error for
10222 a null string component (Bug#6988).
10223
9f562668
CY
102242012-02-01 Chong Yidong <cyd@gnu.org>
10225
e2cef717
CY
10226 * view.el (view-buffer-other-window, view-buffer-other-frame):
10227 Handle special modes like view-buffer (Bug#10650).
10228 (view-buffer): Simplify.
10229
9f562668
CY
10230 * frame.el (set-frame-font): Tweak meaning of third argument.
10231
9f6e692e
JB
10232 * dynamic-setting.el (font-setting-change-default-font):
10233 Use set-frame-font (Bug#9982).
9f562668 10234
781acb9f
GM
102352012-02-01 Glenn Morris <rgm@gnu.org>
10236
6035be52
GM
10237 * progmodes/compile.el (compilation-internal-error-properties):
10238 Respect compilation-first-column in the "*compilation*" buffer.
10239
781acb9f
GM
10240 * emacs-lisp/easy-mmode.el (define-minor-mode):
10241 Relax :variable's test for a named function.
10242
abbceb00
AM
102432012-01-31 Alan Mackenzie <acm@muc.de>
10244
10245 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10246 off by one error.
10247
fce3fdeb
CY
102482012-01-31 Chong Yidong <cyd@gnu.org>
10249
10250 * frame.el (set-frame-font): New arg ALL-FRAMES.
10251
10252 * menu-bar.el (menu-set-font): Use set-frame-font.
10253
10254 * faces.el (face-spec-reset-face): Don't apply unspecified
10255 attribute values to the default face.
10256
47893581
JB
102572012-01-31 Juanma Barranquero <lekktu@gmail.com>
10258
10259 * progmodes/cwarn.el (cwarn): Remove dead link.
10260 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10261 Remove * from defcustom docstrings.
10262 (turn-on-cwarn-mode): Make obsolete.
10263 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10264 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10265
e58e988a
GM
102662012-01-31 Glenn Morris <rgm@gnu.org>
10267
60dc2671 10268 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 10269 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 10270 Allow named functions to be used as the cdr of :variable.
e58e988a 10271
7a3f511d
GM
102722012-01-30 Glenn Morris <rgm@gnu.org>
10273
10274 * emacs-lisp/authors.el (authors-fixed-entries):
10275 Remove reference to deleted file rnewspost.el.
10276
cb882333
JB
102772012-01-29 Juanma Barranquero <lekktu@gmail.com>
10278
10279 * window.el (window-with-parameter): Remove unused variable `windows'.
10280 (window--side-check): Remove unused variable `code'.
10281 (window--resize-siblings): Remove unused variable `first'.
10282 (adjust-window-trailing-edge): Remove unused variable `failed'.
10283 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10284 Use `let', not `let*'.
10285 (balance-windows-2): Remove unused variable `found'.
10286 (window--state-put-2): Remove unused variable `splits'.
10287 (window-state-put): Remove unused variable `selected'.
10288 (same-window-p): Use `string-match-p'.
10289 (display-buffer-assq-regexp): Remove unused variable `value'.
10290 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10291 Mark argument ALIST as ignored.
10292 (pop-to-buffer): Remove unused variable `old-window'.
10293
907201af
EZ
102942012-01-29 Eli Zaretskii <eliz@gnu.org>
10295
10296 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10297 and .lzma compressed files.
10298
ea162670
CY
102992012-01-29 Chong Yidong <cyd@gnu.org>
10300
5b95ee8a
CY
10301 * frame.el (window-system-default-frame-alist): Doc fix.
10302
ea162670
CY
10303 * dynamic-setting.el (font-setting-change-default-font): Don't
10304 change the default face if SET-FONT argument is non-nil (Bug#9982).
10305
d6e6f4b1
SB
103062012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10307
10308 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10309
0f29fa41 103102012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
10311
10312 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10313 breakpoints in files outside current directory (Bug#6098).
10314
db174434
CY
103152012-01-29 Chong Yidong <cyd@gnu.org>
10316
6b25e4e2
SE
10317 * progmodes/python.el: Require ansi-color at top-level.
10318
6df6ae42
JB
10319 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10320 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
10321 (lisp-mode-abbrev-table): Add doc.
10322 (lisp-mode-variables): Don't set local-abbrev-table.
10323 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10324
e70ee681
RW
103252012-01-28 Roland Winkler <winkler@gnu.org>
10326
10327 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10328
ace88aa2
RW
103292012-01-28 Roland Winkler <winkler@gnu.org>
10330
10331 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10332 (bibtex-set-dialect): Use it. Either set global values of
10333 dialect-dependent variables or bind these variables buffer-locally
10334 (Bug#10254).
10335 (bibtex-mode): Call bibtex-set-dialect via
10336 hack-local-variables-hook.
eb864a71
LM
10337 (bibtex-dialect): Update docstring.
10338 Add safe-local-variable predicate.
ace88aa2
RW
10339 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10340 bibtex-set-dialect.
10341 (bibtex-mode-map): Define menu for each dialect.
10342 (bibtex-entry): Fix docstring.
10343
93376c5b
CY
103442012-01-28 Chong Yidong <cyd@gnu.org>
10345
10346 * eshell/esh-arg.el (eshell-quote-argument): New function.
10347
10348 * eshell/esh-ext.el (eshell-invoke-batch-file):
10349 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10350 first arg to eshell-parse-command (Bug#10523).
10351
4372494f
DA
103522012-01-28 Drew Adams <drew.adams@oracle.com>
10353
10354 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10355 `default-directory' is non-nil.
10356
4d4ec1f8
EZ
103572012-01-28 Eli Zaretskii <eliz@gnu.org>
10358
10359 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10360 line that displays system-configuration-options. (Bug#9924)
10361
7c188927
DA
103622012-01-28 Drew Adams <drew.adams@oracle.com>
10363
10364 * descr-text.el (describe-char): Show information about POS, in
10365 addition to information about the character at POS. Improve and
10366 update the doc string. Change "code point" to "code point in
10367 charset", to avoid confusion with the character's Unicode code
10368 point shown above that. (Bug#10129)
10369
e0da685a
EZ
103702012-01-28 Eli Zaretskii <eliz@gnu.org>
10371
10372 * descr-text.el (describe-char): Show the raw character, not only
10373 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10374 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10375 for the reasons.
10376
70550acf
PH
103772012-01-28 Phil Hagelberg <phil@hagelb.org>
10378
eb864a71
LM
10379 * emacs-lisp/package.el (package-install):
10380 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 10381
0ce8e868
CY
103822012-01-28 Chong Yidong <cyd@gnu.org>
10383
cb882333
JB
10384 * emacs-lisp/package.el (package-maybe-load-descriptor):
10385 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
10386 (package-maybe-load-descriptor): Use it.
10387 (package-download-transaction): Fully load required packages
10388 inside the loop, so that `require' calls work (Bug#10593).
10389 (package-install): No need to call package-initialize now.
10390
2e7f3bea
CY
103912012-01-28 Chong Yidong <cyd@gnu.org>
10392
6e9bad14
CY
10393 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10394
f823b8ca
CY
10395 * tooltip.el (tooltip-mode): Doc fix.
10396 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10397
2680c309
CY
10398 * frame.el (set-cursor-color): Doc fix (Bug#352).
10399
d7a9e63b
CY
10400 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10401 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10402
2e7f3bea
CY
10403 * cus-edit.el (custom-buffer-create-internal): Fix search button
10404 action (Bug#10542).
2ae01800 10405 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 10406
fc4f7a23
EW
104072012-01-27 Eduard Wiebe <usenet@pusto.de>
10408
10409 * dired.el (dired-mark-files-regexp):
10410 Include any subdirectory components. (Bug#10445)
10411
7dd37071
ML
104122012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10413
10414 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10415 Handle [host]:port syntax. (Bug#10533)
10416
a268160b
AH
104172012-01-27 Alex Harsanyi <harsanyi@mac.com>
10418
10419 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10420
e43273ef
GM
104212012-01-26 Glenn Morris <rgm@gnu.org>
10422
10423 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10424 * term.el (term-raw-escape-map): Use Control-X-prefix.
10425 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10426
1edf595d
MR
104272012-01-25 Martin Rudalics <rudalics@gmx.at>
10428
10429 * window.el (window-state-get, window--state-get-1): Don't deal
10430 with fixed-sizeness of windows. Simplify code.
10431
fa8eafef
JC
104322012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10433
6df6ae42
JB
10434 * window.el (window--state-get-1, window--state-put-2):
10435 Don't save and restore the mark.
fa8eafef 10436
0b21c100
CY
104372012-01-25 Chong Yidong <cyd@gnu.org>
10438
10439 * custom.el (custom-variable-p): Doc fix.
10440
5ae1a6c8
GM
104412012-01-25 Glenn Morris <rgm@gnu.org>
10442
40047858
GM
10443 * dired.el (dired-goto-file): Handle some of the more common
10444 characters that `ls -b' escapes. (Bug#10596)
10445
5ddce96c
GM
10446 * progmodes/compile.el (compilation-next-error-function):
10447 Respect compilation-first-column in the "*compilation*" buffer.
10448 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10449
5ae1a6c8
GM
10450 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10451
b559f1a9
GM
104522012-01-24 Glenn Morris <rgm@gnu.org>
10453
10454 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10455
6725d21a
JD
104562012-01-24 Julien Danjou <julien@danjou.info>
10457
10458 * color.el (color-rgb-to-hsl): Fix value computing.
10459 (color-hue-to-rgb): New function.
10460 (color-hsl-to-rgb): New function.
10461 (color-clamp, color-saturate-hsl, color-saturate-name)
10462 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10463 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10464
70df4bbe
GM
104652012-01-24 Glenn Morris <rgm@gnu.org>
10466
10467 * vc/vc-rcs.el (vc-rcs-create-tag):
10468 * vc/vc-sccs.el (vc-sccs-create-tag):
10469 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10470
802a2ae2
ML
104712012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10472
10473 * eshell/esh-util.el (eshell-read-hosts-file):
10474 Skip comment lines. (Bug#10549)
10475
d7128bb1
ML
10476 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10477
d1a5c3b4
JB
104782012-01-23 Juanma Barranquero <lekktu@gmail.com>
10479
2724d9c7
JB
10480 * subr.el (display-delayed-warnings): Doc fix.
10481 (collapse-delayed-warnings): New function to collapse identical
10482 adjacent warnings.
10483 (delayed-warnings-hook): Add it.
d1a5c3b4 10484
a5509865
MA
104852012-01-22 Michael Albinus <michael.albinus@gmx.de>
10486
10487 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10488
a5509865
MA
10489 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10490 (tramp-default-user-alist): Don't add "pscp".
10491 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10492 property "login-as", if set. (Bug#10530)
10493
cc6d5805
MA
104942012-01-21 Michael Albinus <michael.albinus@gmx.de>
10495
10496 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10497 "plink1" and "psftp". (Bug#10530)
10498
104992012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
10500
10501 * international/mule-cmds.el (prefer-coding-system): Show a
10502 warning message if the default value of file-name-coding-system
10503 was not changed.
10504
f0960428
JC
105052012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10506
cb882333
JB
10507 * windmove.el (windmove-reference-loc):
10508 Fix windmove-reference-loc miscalculation.
f0960428 10509
dd6f2a63
JB
105102012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10511
10512 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10513 default unit.
10514
7b447e9b
GM
105152012-01-21 Glenn Morris <rgm@gnu.org>
10516
117a9ea1
GM
10517 * international/mule.el (auto-coding-alist): Add .tbz.
10518
7b447e9b
GM
10519 * files.el (local-enable-local-variables): Doc fix.
10520 (inhibit-local-variables-regexps): Rename from
10521 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10522 Doc fix. Add some extensions from auto-coding-alist.
10523 (inhibit-local-variables-suffixes):
10524 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10525 (inhibit-local-variables-p):
10526 New function, extracted from set-auto-mode-1.
10527 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10528 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10529 (hack-local-variables): Doc fix. Make the mode-only case
10530 respect enable-local-variables and friends.
10531 Respect inhibit-local-variables-regexps for file-locals, but
10532 not for directory-locals.
10533 (set-visited-file-name):
10534 Take account of inhibit-local-variables-regexps.
10535 Whether it applies may change as the file name is changed.
10536 * jka-cmpr-hook.el (jka-compr-install):
10537 * jka-compr.el (jka-compr-uninstall):
10538 Update for inhibit-first-line-modes-suffixes name change.
10539
dd6e3cdd
MR
105402012-01-20 Martin Rudalics <rudalics@gmx.at>
10541
10542 * help-macro.el (make-help-screen): Temporarily restore original
10543 binding for minor-mode-map-alist (Bug#10454).
10544
0d0deb38
JD
105452012-01-19 Julien Danjou <julien@danjou.info>
10546
10547 * color.el (color-name-to-rgb): Use the white color to find the max
10548 color component value and return correctly computed values.
10549 (color-name-to-rgb): Add missing float conversion for max value.
10550
34a02f46
MR
105512012-01-19 Martin Rudalics <rudalics@gmx.at>
10552
10553 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
10554 special state value for window-persistent-parameters.
10555 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
10556 (window--state-put-2): Reset all window parameters to nil before
10557 assigning values of persistent parameters.
10558
606c44c4
AM
105592012-01-18 Alan Mackenzie <acm@muc.de>
10560
10561 Eliminate sluggishness and hangs in fontification of "semicolon
10562 deserts".
10563
cb882333
JB
10564 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10565 Change value 10000 -> 3000.
606c44c4
AM
10566 (c-state-safe-place): Reformulate so it doesn't stack up an
10567 infinite number of wrong entries in c-state-nonlit-pos-cache.
10568 (c-determine-limit-get-base, c-determine-limit): New functions to
10569 determine backward search limits disregarding literals.
10570 (c-find-decl-spots): Amend commenting.
10571 (c-cheap-inside-bracelist-p): New function which detects "={".
10572
10573 * progmodes/cc-fonts.el
10574 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10575 backward search.
10576 (c-font-lock-declarations): Fix an occurrence of point being
10577 undefined. Check additionally for point being in a bracelist or
10578 near a macro invocation without a semicolon so as to avoid a
10579 fruitless time consuming search for a declarator. Give a more
10580 precise search limit for declarators using the new
10581 c-determine-limit.
10582
f3860cea
GM
105832012-01-18 Glenn Morris <rgm@gnu.org>
10584
10585 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10586 (set-auto-mode): Doc fixes.
10587
1db03b16
GM
105882012-01-17 Glenn Morris <rgm@gnu.org>
10589
0e6038be
GM
10590 * isearch.el (search-nonincremental-instead): Fix doc typo.
10591
1db03b16
GM
10592 * dired.el (dired-insert-directory): Handle newlines in directory name.
10593 (dired-build-subdir-alist): Unescape newlines in directory name.
10594
4cb0aa75
MA
105952012-01-17 Michael Albinus <michael.albinus@gmx.de>
10596
10597 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10598 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10599 (tramp-action-terminal): Use it. (Bug#10530)
10600
1d00653d
SM
106012012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10602
10603 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10604
6a6ee00d
MR
106052012-01-16 Martin Rudalics <rudalics@gmx.at>
10606
10607 * window.el (window-state-ignored-parameters): Remove variable.
10608 (window--state-get-1): Rename argument MARKERS to IGNORE.
10609 Handle persistent window parameters. Make copy of clone-of
10610 parameter only if requested. (Bug#10348)
10611 (window--state-put-2): Install a window parameter only if it has
10612 a non-nil value or an existing parameter shall be overwritten.
10613
97912def
MA
106142012-01-15 Michael Albinus <michael.albinus@gmx.de>
10615
10616 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10617
688070a5
EZ
106182012-01-14 Eli Zaretskii <eliz@gnu.org>
10619
10620 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10621 don't pass the (nil) value of `upnode' to string-match.
10622
301afadc
CY
106232012-01-14 Chong Yidong <cyd@gnu.org>
10624
10625 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 10626 Fix values recognized by the cursorBlink resource.
301afadc 10627
9e5788aa
PE
106282012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10629
10630 * epg.el (epg--make-temp-file): Avoid permission race condition
10631 when running on old Emacs versions (bug#10403).
10632
3cdb7f5a
GM
106332012-01-14 Glenn Morris <rgm@gnu.org>
10634
10635 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10636
8c82b1b4
AM
106372012-01-13 Alan Mackenzie <acm@muc.de>
10638
10639 Fix filling for when filladapt mode is enabled.
10640
10641 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10642 c-mask-paragraph, pass in `fill-paragraph' rather than
10643 `fill-region-as-paragraph'. (This is a reversion of a previous
10644 change.)
eb864a71
LM
10645 * progmodes/cc-mode.el (c-basic-common-init):
10646 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 10647
e517eda4
GM
106482012-01-13 Glenn Morris <rgm@gnu.org>
10649
1498536e
GM
10650 * dired.el (dired-switches-escape-p): New function.
10651 (dired-insert-directory): Use dired-switches-escape-p.
10652 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10653
e517eda4
GM
10654 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10655
328f984d
GM
106562012-01-12 Glenn Morris <rgm@gnu.org>
10657
10658 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10659 changes in adaptive-fill-regexp. (Bug#10276)
10660
2cc769a8
AM
106612012-01-11 Alan Mackenzie <acm@muc.de>
10662
10663 Fix Emacs bug #10463 - put `widen's around the critical spots.
10664
1d00653d 10665 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
10666 widen around each invocation of c-state-pp-to-literal. Remove an
10667 unused let variable.
10668
e52c37fa
GM
106692012-01-11 Glenn Morris <rgm@gnu.org>
10670
10671 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 10672 Doc fix.
e52c37fa 10673
96f8741e
CY
106742012-01-10 Chong Yidong <cyd@gnu.org>
10675
1d00653d
SM
10676 * net/network-stream.el (network-stream-open-starttls):
10677 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
10678 response to the capability command.
10679
b09a806e
GM
106802012-01-10 Glenn Morris <rgm@gnu.org>
10681
10682 * mail/unrmail.el (unrmail): Tweak previous change.
10683
7655cb66
CY
106842012-01-09 Chong Yidong <cyd@gnu.org>
10685
10686 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10687
9d5a8f0b
AM
106882012-01-08 Alan Mackenzie <acm@muc.de>
10689
10690 Optimise font locking in long enum definitions.
10691
10692 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10693 arm to a cond form to handle enums.
10694 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10695 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10696
9a0115ab 106972012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
10698
10699 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 10700 (Bug#10401)
6bb72cbd 10701
f186bb95
LMI
107022012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10703
29232a68
LMI
10704 * faces.el (set-face-attribute): Clarify the meaning of the nil
10705 frame (bug#10294).
10706
4e5d086d
LMI
10707 * subr.el (with-selected-frame): Mention that the selected frame
10708 is restored (bug#9980).
10709
8e66aebe
LMI
10710 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10711 (bug#9759).
10712
cd394be1 10713 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
10714 (password-read): Don't autoload unused function.
10715
adf4e762
JB
107162012-01-07 Juanma Barranquero <lekktu@gmail.com>
10717
10718 * progmodes/which-func.el (which-func-mode): Turn into a
10719 non-interactive function and mark as obsolete (bug#10428).
10720
89bd9ccd
CY
107212012-01-06 Chong Yidong <cyd@gnu.org>
10722
10723 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10724 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10725 functions, along with 1 and -1.
10726
4afee9d5
EZ
107272012-01-06 Eli Zaretskii <eliz@gnu.org>
10728
10729 * time.el (display-time-load-average)
10730 (display-time-default-load-average): Doc fixes. See the thread
10731 starting at
10732 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10733 for the details.
10734
536aea70
GM
107352012-01-06 Glenn Morris <rgm@gnu.org>
10736
665ae865
GM
10737 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10738 has no messages. (Bug#10377)
10739
c869783d
GM
10740 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10741 than Info-edit. (Bug#10385)
10742
2bb4227e
GM
10743 * time.el (display-time-load-average, display-time-next-load-average):
10744 Doc fixes.
10745
7d5944b9
GM
10746 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10747 local setting of buffer-read-only to the input buffer. (Bug#10419)
10748
536aea70
GM
10749 * calendar/calendar.el (calendar-mode):
10750 Locally set scroll-margin to 0. (Bug#10379)
10751
7dccca16
UM
107522012-01-06 Ulrich Mueller <ulm@gentoo.org>
10753
10754 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10755
afbb7930
GM
107562012-01-05 Glenn Morris <rgm@gnu.org>
10757
10758 * eshell/em-unix.el (diff-no-select): Autoload it.
10759 (eshell/diff): Use diff-no-select. (Bug#10420)
10760
04482335
CY
107612012-01-05 Chong Yidong <cyd@gnu.org>
10762
7baca3bc
CY
10763 * shell.el (shell-dynamic-complete-functions): Revert last change.
10764 (shell-command-completion-function): New function.
10765 (shell-completion-vars): Use it to implement
10766 shell-completion-execonly (Bug#10417).
10767
04482335
CY
10768 * custom.el (enable-theme): Don't set custom-safe-themes.
10769
1d00653d
SM
10770 * cus-theme.el (custom-theme-merge-theme):
10771 Ignore custom-enabled-themes and custom-safe-themes.
04482335 10772
bb5aa5d6
MM
107732012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10774
10775 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10776 first prompt in `sql-interacive-mode'.
10777 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 10778 keywords.
6df6ae42 10779 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
10780 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10781 context of original buffer. Invoke `sql-login-hook'.
10782
a7183d7c
EZ
107832012-01-04 Eli Zaretskii <eliz@gnu.org>
10784
10785 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10786 letters in cite-prefix.
10787
a1eacd1e
LMI
107882012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10789
10790 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10791
787cdb34
CY
107922012-01-03 Chong Yidong <cyd@gnu.org>
10793
1d00653d
SM
10794 * shell.el (shell-dynamic-complete-functions):
10795 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
10796 comint-filename-completion first (Bug#10417).
10797
30710442
RS
107982012-01-02 Richard Stallman <rms@gnu.org>
10799
10800 * battery.el (battery-status-function):
10801 Detect when to use battery-yeeloong-sysfs.
10802 (battery-echo-area-format): Add string for Yeeloong.
10803 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10804 (battery-yeeloong-sysfs): New function.
10805
f75bfc33
CY
108062012-01-02 Chong Yidong <cyd@gnu.org>
10807
10808 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10809 (dirtrack): Merge code for handling relative filenames in prompt
10810 from shell-dir-cookie-watcher.
10811 (dirtrack-debug-message): New arg to avoid excess format calls.
10812
10813 * shell.el (shell-dir-cookie-re): Variable deleted.
10814 (shell-dir-cookie-watcher): Function deleted.
10815 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10816 with dirtrack-mode.
10817
651e947e
EZ
108182012-01-01 Eli Zaretskii <eliz@gnu.org>
10819
1d00653d
SM
10820 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10821 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
10822 libgnutls-26.dll.
10823
94d4c7dc
AS
108242011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10825
10826 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10827
8d43f3cd
EZ
108282011-12-31 Eli Zaretskii <eliz@gnu.org>
10829
10830 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10831 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10832
98c8795a
MA
108332011-12-29 Michael Albinus <michael.albinus@gmx.de>
10834
10835 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10836 also for alternative shells.
10837 (tramp-open-connection-setup-interactive-shell): Check, whether
10838 the shell is a busybox.
10839 (tramp-send-command): Don't suppress multiple prompts for
10840 busyboxes, it hurts.
10841
51281b32
CY
108422011-12-28 Chong Yidong <cyd@gnu.org>
10843
10844 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10845 (gdb-get-source-file): Move mode line update to
10846 gdb-get-source-file (Bug#10087).
10847
2170cb53
CY
108482011-12-25 Chong Yidong <cyd@gnu.org>
10849
10850 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10851 gud-gdb-marker-filter without taking it as an argument.
10852 (gud-gdb-run-command-fetch-lines): Caller changed.
10853 (gud-gdb-completion-function): New variable.
10854 (gud-gdb-completion-at-point): Use it.
10855 (gud-gdb-completions-1): Split from gud-gdb-completions.
10856
10857 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10858 function as separate arguments.
10859 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10860 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10861 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10862 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10863 (gdb-stopped, def-gdb-auto-update-trigger)
10864 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
10865 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10866 Callers changed.
2170cb53
CY
10867 (gud-gdbmi-completions): New function.
10868 (gdb): Use it for generating the completion table.
10869
be8b11bb
AM
108702011-12-24 Alan Mackenzie <acm@muc.de>
10871
10872 Introduce a mechanism to widen the region used in context font
1d00653d 10873 locking. Use this to protect declarations from losing their contexts.
be8b11bb 10874
1d00653d
SM
10875 * progmodes/cc-langs.el (c-before-font-lock-functions):
10876 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 10877 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
10878 functions to be run just before context (etc.) font locking.
10879
10880 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 10881 New, functionality extracted from
be8b11bb 10882 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 10883 (c-in-after-change-fontification): New variable.
be8b11bb
AM
10884 (c-after-change): Set c-in-after-change-fontification.
10885 (c-set-fl-decl-start): Rejig its interface, so it can be called
10886 from both after-change and context fontifying.
b81d40f0
JB
10887 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10888 New functions.
10889 (c-standard-font-lock-fontify-region-function): New variable.
10890 (c-font-lock-fontify-region): New function.
be8b11bb 10891
341cf6ac
JL
108922011-12-24 Juri Linkov <juri@jurta.org>
10893
10894 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10895 (Bug#10348)
10896
bffcee0a
MA
108972011-12-23 Michael Albinus <michael.albinus@gmx.de>
10898
10899 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10900 existence of source file. (Bug#10325)
10901
cb5e207c
AM
109022011-12-23 Alan Mackenzie <acm@muc.de>
10903
10904 Fix unstable fontification inside templates.
10905
b81d40f0
JB
10906 * progmodes/cc-langs.el (c-before-font-lock-functions):
10907 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
10908 additionally has c-set-fl-decl-start. The other languages (apart
10909 from AWK) have that as a single entry.
10910
b81d40f0
JB
10911 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10912 The functionality for "local" declarations has been extracted to
cb5e207c
AM
10913 c-set-fl-decl-start.
10914
b81d40f0
JB
10915 * progmodes/cc-mode.el (c-common-init, c-after-change):
10916 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
10917 (c-set-fl-decl-start): New function, extracted from
10918 c-font-lock-enclosing-decls and enhanced.
10919
60ff536c
JB
109202011-12-23 Juanma Barranquero <lekktu@gmail.com>
10921
10922 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10923
1c4757d6
JL
109242011-12-22 Juri Linkov <juri@jurta.org>
10925
10926 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10927
d031f2c7
CY
109282011-12-22 Chong Yidong <cyd@gnu.org>
10929
10930 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10931
bace743a
DA
109322011-12-21 Drew Adams <drew.adams@oracle.com>
10933
10934 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10935
728a1f2b
JC
109362011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10937
10938 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10939
0d373f73
TZ
109402011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10941
fec0aaa4
TZ
10942 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10943 highlighting and support. Fix up comments for capitalization.
10944 (cfengine-mode-debug): New var.
10945 (cfengine3-mode): Change the modeline indicator to "CFE3".
10946 (cfengine3-font-lock-keywords): Improve defun highlighting.
10947 (cfengine2-actions): Rename from `cfengine-actions'.
10948 (cfengine2-font-lock-keywords): Rename from
10949 `cfengine-font-lock-keywords'.
10950 (cfengine2-imenu-expression): Rename from
10951 `cfengine-imenu-expression'.
10952 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10953 (cfengine2-beginning-of-defun): Rename from
10954 `cfengine-beginning-of-defun'.
10955 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10956 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10957 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10958 modeline indicator to "CFE2".
10959 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10960 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 10961
bc86f573
CY
109622011-12-21 Chong Yidong <cyd@gnu.org>
10963
10964 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10965 filename argument.
10966
d45ba96b
MR
109672011-12-20 Martin Rudalics <rudalics@gmx.at>
10968
10969 * window.el (window-normalize-buffer-to-display): Remove.
10970 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10971
a6198c90
CY
109722011-12-19 Chong Yidong <cyd@gnu.org>
10973
10974 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10975 Don't signal an error in a predicate function; return non-nil.
10976 (vc-dir-mark-file): Move the error here.
10977 (vc-dir-mark-unmark): If acting on the region, keep going if one
10978 of the entries cannot be marked/unmarked.
10979 (vc-dir-mark-all-files): If current entry is a directory, mark
10980 only child files, as documented.
10981
34c5fb55
VB
109822011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10983
10984 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10985 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10986 addition.
10987
c803b2b7
JD
109882011-12-18 Jan Djärv <jan.h.d@swipnet.se>
10989
10990 * term/ns-win.el (ns-get-selection-internal)
10991 (ns-store-selection-internal): Declare.
1154d12e
JB
10992 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10993 Declare as obsolete.
10994 (ns-get-pasteboard, ns-paste-secondary):
10995 Use ns-get-selection-internal.
41e9b956 10996 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 10997 Use ns-store-selection-internal.
c803b2b7 10998
9cff91f8 109992011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
11000
11001 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 11002 (vc-deduce-fileset): Doc fix.
99a289d9 11003
f16c898a
AS
110042011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11005
11006 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11007
763237c4
SS
110082011-12-13 Sam Steingold <sds@gnu.org>
11009
11010 * man.el (Man-getpage-in-background): When running under a
11011 window-system, ignore $MANWIDTH and $COLUMNS.
11012
5fc1c122
KH
110132011-12-15 Kenichi Handa <handa@m17n.org>
11014
11015 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11016 (setup-ethiopic-environment-internal): Comment out key-binding for
11017 ethio-toggle-punctuation.
11018
13d49cbb
AM
110192011-12-13 Alan Mackenzie <acm@muc.de>
11020
898169a2
AM
11021 Add the switch statement to AWK Mode.
11022
7a71b18d 11023 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
11024 "default" to the keywords regexp.
11025
7a71b18d 11026 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 11027 expression as the rest.
1d00653d
SM
11028 (c-nonlabel-token-key): Allow string literals for AWK.
11029 Refactor for the other modes.
898169a2 11030
13d49cbb 11031 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 11032 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
11033 routines. Limit backward searching in c-font-lock-enclosing.decl.
11034
11035 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11036 pp-state and literal type in addition to the limits.
1d00653d 11037 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 11038 (c-state-literal-at): Use the above new defun.
1d00653d
SM
11039 (c-slow-in-literal, c-fast-in-literal): Remove.
11040 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
11041
11042 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11043 being in a literal. Add a limit for backward searching.
11044
11045 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11046 c-slow-in-literal.
11047
15e0efc7
SM
110482011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11049
11050 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11051
454592a6
MR
110522011-12-13 Martin Rudalics <rudalics@gmx.at>
11053
11054 * window.el (delete-other-windows): Use correct frame in call to
11055 window-with-parameter.
11056
87393f26
DP
110572011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11058
11059 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11060 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11061 (makefile-gmake-statements, makefile-makepp-statements):
11062 Use it and add new makepp keywords.
11063 (makefile-makepp-font-lock-keywords): Add new patterns.
11064 (makefile-match-function-end): Match new [...] and [[...]].
11065
11636b22
JB
110662011-12-11 Juanma Barranquero <lekktu@gmail.com>
11067
11068 * ses.el (ses-call-printer-return, ses-cell-property-get)
11069 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11070 (ses-create-cell-variable, ses-reset-header-string)
11071 (ses-cell-set-formula, ses-repair-cell-reference-all)
11072 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11073 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11074 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11075 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11076 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11077 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11078 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11079 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11080 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11081 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11082 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11083 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11084
cf018193
VB
110852011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11086
11087 * ses.el: The overall change is to add cell renaming, that is
11088 setting fancy names for cell symbols other than name matching
11089 "\\`[A-Z]+[0-9]+\\'" regexp .
11090 (ses-create-cell-variable): New defun.
11091 (ses-relocate-formula): Relocate formulas only for cells the
11092 symbols of which are not renamed, i.e. symbols whose names do not
11093 match regexp "\\`[A-Z]+[0-9]+\\'".
11094 (ses-relocate-all): Relocate values only for cells the symbols of
11095 which are not renamed.
11096 (ses-load): Create cells variables as the (ses-cell ...) are read,
11097 in order to check row col consistency with cell symbol name only
11098 for cells that are not renamed.
11099 (ses-replace-name-in-formula): New defun.
11100 (ses-rename-cell): New defun.
11101
ee957461
CY
111022011-12-11 Chong Yidong <cyd@gnu.org>
11103
11104 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11105 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11106
9a9e9ef0
MR
111072011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11108
11109 * window.el (other-window): Fix docstring.
11110
92a8eba5
EZ
111112011-12-10 Eli Zaretskii <eliz@gnu.org>
11112
11113 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
11114 `from' or `to' address before taking its substring.
11115 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
11116 encoded name is chopped in the middle of the encoded string, and
11117 thus displayed encoded.
11118
e152e577
JB
111192011-12-10 Juanma Barranquero <lekktu@gmail.com>
11120
11121 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11122
e5d84bfe
EZ
111232011-12-10 Eli Zaretskii <eliz@gnu.org>
11124
11125 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11126 to use texinfo-update-node and commands that call it if the
11127 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 11128 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
11129 (texinfo-all-menus-update, texinfo-master-menu)
11130 (texinfo-update-node, texinfo-every-node-update)
11131 (texinfo-multiple-files-update): Doc fix. Warn against updating
11132 all the @node lines.
11133 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
11134 argument is numeric. Explain better in the doc string what the
11135 function really does.
11136 (texinfo-insert-master-menu-list): Improve the error message
11137 displayed if there's no menu in the Top node.
11138 (Bug#2975) See also this thread:
e5d84bfe
EZ
11139 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11140
1d84e9bb
MG
111412011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11142
11143 * speedbar.el (speedbar-supported-extension-expressions):
11144 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11145
382c953b
JB
111462011-12-09 Juanma Barranquero <lekktu@gmail.com>
11147
11148 * printing.el (pr-mode-alist):
11149 * simple.el (filter-buffer-substring-functions)
11150 (completion-list-insert-choice-function):
11151 * window.el (window-with-parameter, window-atom-root)
11152 (window-sides-slots, window-size-fixed, window-min-delta)
11153 (window-max-delta, window--resize-mini-window)
11154 (window--resize-child-windows-normal, window-tree)
11155 (delete-other-windows, quit-window, split-window)
11156 (display-buffer-record-window, special-display-buffer-names)
11157 (special-display-regexps, special-display-popup-frame)
11158 (same-window-p, split-window-sensibly)
11159 (display-buffer-overriding-action, display-buffer-alist)
11160 (display-buffer-base-action, display-buffer, switch-to-buffer)
11161 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11162 (fit-window-to-buffer, recenter-positions)
11163 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11164 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11165 and remove unneeded backslashes in docstrings.
11166
39c9faef
SM
111672011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11168
98449af8
SM
11169 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11170
39c9faef
SM
11171 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11172 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11173 end in ".mk".
11174 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11175 when reading the makefile (bug#10116).
11176
86ed9fdc
SM
111772011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11178
11179 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11180 (bug#10116).
11181
5580f89d
GM
111822011-12-06 Glenn Morris <rgm@gnu.org>
11183
11184 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11185
28d3917c
CY
111862011-12-06 Chong Yidong <cyd@gnu.org>
11187
11188 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11189
a98edce9
JB
111902011-12-06 Juanma Barranquero <lekktu@gmail.com>
11191
11192 * textmodes/table.el (table-shorten-cell): Fix typo.
11193
e65adfac
CG
111942011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11195
11196 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11197
71cc0b74
EZ
111982011-12-05 Eli Zaretskii <eliz@gnu.org>
11199
11200 * descr-text.el (describe-char): Fix display of strong
11201 right-to-left characters and directional embeddings and overrides.
11202
11203 * simple.el (what-cursor-position): Fix display of codepoints of
11204 strong right-to-left characters.
11205
315bc30d
CY
112062011-12-05 Chong Yidong <cyd@gnu.org>
11207
11208 * faces.el (read-color): Doc fix.
11209
58a70b94
GM
112102011-12-05 Glenn Morris <rgm@gnu.org>
11211
11212 * align.el (align--set-marker): Add doc-string.
11213 Don't try to move something that is not a marker. (Bug#10216)
11214
5158face
GM
112152011-12-04 Glenn Morris <rgm@gnu.org>
11216
11217 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11218 overly zealous deletion of trailing whitespace.
11219
520fca41
JB
112202011-12-04 Juanma Barranquero <lekktu@gmail.com>
11221
11222 * server.el (server-delete-client): On Windows, do not try to delete
11223 the only terminal.
11224 (server-process-filter): On Windows, treat requests for a tty frame as
11225 if they were for a GUI frame if the running server is in GUI mode.
11226
5e605a2e
GM
112272011-12-03 Glenn Morris <rgm@gnu.org>
11228
11229 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11230
5c3fe83f
SM
112312011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11232
6f5e57e7
SM
11233 * electric.el: Streamline electric-indent's hook.
11234 (electric-indent-chars): Revert to simple list.
11235 (electric-indent-functions): New var.
11236 (electric-indent-post-self-insert-function): Use it.
11237
5c3fe83f
SM
11238 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11239 there's no inferior buffer (bug#10196).
11240 (prolog-consult-compile): Don't use toggle-read-only.
11241
6bdac736
MA
112422011-12-02 Michael Albinus <michael.albinus@gmx.de>
11243
11244 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11245 interrupt. (Bug#10187)
11246
6131ba7f
SM
112472011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11248
99c79fee
SM
11249 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11250 (bug#9160).
11251
6131ba7f
SM
11252 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11253 (bug#10191).
11254
cb0a02ea
JL
112552011-12-02 Juri Linkov <juri@jurta.org>
11256
11257 * info.el (Info-search): Display "end of manual" when Isearch
11258 reaches the end of single-file Info manual. (Bug#9918)
11259
66e0570c
EZ
112602011-12-02 Eli Zaretskii <eliz@gnu.org>
11261
11262 * isearch.el (isearch-message-prefix): Run the input method part
11263 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11264
02b16839
JL
112652011-12-02 Juri Linkov <juri@jurta.org>
11266
11267 * isearch.el (isearch-occur): Use `word-search-regexp' for
11268 `isearch-word'.
11269 (isearch-search-and-update): Add condition for `isearch-word' and
11270 call `word-search-regexp'. (Bug#10145)
11271
0b950688
GM
112722011-12-01 Glenn Morris <rgm@gnu.org>
11273
11274 * eshell/em-hist.el (eshell-hist-initialize):
11275 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 11276 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 11277
9505c3c7
SM
112782011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11279
11280 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11281
1bbe96b2 112822011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 11283
a1beca85
SM
11284 * progmodes/verilog-mode.el (verilog-pretty-expr):
11285 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
11286 verilog, such as += *= and the like.
11287 (verilog-assignment-operator-re): Regular expression to find the
11288 assigment operator in a verilog assignment.
11289 (verilog-assignment-operation-re): Regular expression to find an
11290 assignment statement for pretty-expr.
11291 (verilog-in-attribute-p): Query returns true if point is in an
11292 attribute context; used to skip these for expression line up from
11293 pretty-expr.
11294 (verilog-in-parameter-p): Query returns true if point is in an
11295 parameter definition context; used to skip these for expression
11296 line up from pretty-expr.
11297 (verilog-in-parenthesis-p): Query returns true if point is in a
11298 parenthetical expression, specifically ( ) but not [ ] or { };
11299 used by pretty-expr.
11300 (verilog-just-one-space): If there is no space, don't add one.
11301 (verilog-get-lineup-indent-2): Specifically skip just attribute
11302 contexts for expression lineup, rather than skipping all
11303 parenthetical expressions.
11304 (verilog-calculate-indent): Fix comment, and fix indent.
11305 (verilog-do-indent): Indent declarations in lists (suggested by
11306 Joachim Lechner).
11307 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11308 skeleton items.
11309 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11310 by Alain Mellan).
11311
1bbe96b2 113122011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
11313
11314 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11315 parameters with embedded comments. Reported by Ray Stevens.
11316 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11317 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11318 Reported by Tim Holt.
11319 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11320 instantiated by upper module causing wrong expansion until AUTOed a
11321 second time. Reported by K C Buckenmaier.
11322 (verilog-diff-auto): Fix showing .* as a difference when
11323 `verilog-auto-star-save' off. Reported by Dan Dever.
11324 (verilog-auto-reset, verilog-read-always-signals)
11325 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11326 temporary signals in reset list if
11327 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
11328 style to each signal's assignment type, bug381.
11329 Reported by Thomas Esposito.
6288f0ca
WS
11330 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11331 (verilog-uvm-statement-re): Support UVM indentation and
11332 highlighting, with old OVM keywords only.
a1beca85 11333 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
11334 Support AUTOTIEOFF creating non-wire data types.
11335 Suggested by Jonathan Greenlaw.
6288f0ca
WS
11336 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11337 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11338 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
11339 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11340 Fix mismatching parenthesis inside commented out code when deleting
382c953b 11341 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
11342 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11343 non-numeric vector width. Reported by Alex Reed.
11344 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 11345 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
11346 (verilog-auto-delete-trailing-whitespace):
11347 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
11348 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11349 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11350 Fix verilog-scan-cache corruption when running user AUTO expansion
11351 hooks that call indentation routines.
11352 (verilog-simplify-range-expression): Fix typo ignoring lower case
11353 identifiers.
11354 (verilog-delete-auto): Fix delete-autos to also remove user created
11355 automatics, as long as they start with AUTO.
11356 (verilog-batch-diff-auto, verilog-diff-auto)
11357 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11358 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11359 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11360 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
11361 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11362 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
11363 is disabled and its cache will get corrupt, causing AUTOS not to
11364 expand. Instead use only -quick functions.
11365 (verilog-scan-region): Fix scanning over escaped quotes.
11366 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11367 (verilog-re-search-backward-quick)
11368 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11369 related functions now ignore strings, to fix misparsing of strings
11370 with magic comments embedded in them.
a1beca85
SM
11371 (verilog-read-auto-template):
11372 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11373 Reported by Brad Dobbie.
11374 (verilog-read-auto-template):
11375 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 11376 Reported by Brad Dobbie.
6288f0ca
WS
11377 (verilog-auto-inst, verilog-auto-inst-param)
11378 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11379 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11380 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
11381 debugging templates without merge conflicts, bug357.
11382 Reported by Brad Dobbie.
11383 (verilog-read-auto-template):
11384 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
11385 Reported by Brad Dobbie.
11386 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11387 abbrevs so user won't be asked to save.
11388 (verilog-read-auto-lisp-present): Fix to start at beginning of
11389 buffer in case called outside of verilog-auto.
11390 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11391 to "X-2". Reported by Matthew Myers.
11392 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11393 all inputs from module templates. Reported by Leith Johnson.
11394 (verilog-module-inside-filename-p): Fix locating programs as with
11395 modules.
11396 (verilog-auto-inst-port): Fix vl-width expressions when using
11397 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11398 (verilog-decls-get-regs, verilog-decls-get-signals,
11399 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11400 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11401 verilog-read-decls): Combine reg and wire structures into one var
11402 structure to represent SystemVerilog concepts.
11403 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11404 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
11405 (verilog-auto-wire-type, verilog-insert-definition):
11406 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
11407 SystemVerilog "logic" keyword instead of "wire"/"reg".
11408 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11409 to declares outputs that also have assignments (presumably in an
a1beca85
SM
11410 ifdef or generate if so there's not a driver conflict).
11411 Reported by Matthew Myers.
11412 (verilog-auto-declare-nettype, verilog-insert-definition):
11413 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
11414 `default_nettype none. Reported by Julian Gorfajn.
11415 (verilog-read-always-signals-recurse, verilog-read-decls)
11416 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11417 malformed end statement, bug325. Reported by Joshua Wise and
11418 Andrew Drake.
11419 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11420 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
11421 when expanding .* in interfaces, bug320.
11422 Reported by Pierre-David Pfister.
6288f0ca 11423 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
11424 name and open parenthesis, bug317.
11425 Reported by Pierre-David Pfister.
6288f0ca
WS
11426 (verilog-simplify-range-expression): Fix simplification of
11427 multiplications inside AUTOWIRE connections, bug303.
11428 (verilog-auto-inst-port): Support parameter expansion in
11429 multidimensional arrays.
11430 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11431 after "assert property". Reported by Julian Gorfajn.
11432 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11433 with multiplication, bug303.
11434 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11435 Reported by Jan Frode Lonnum.
11436
1bbe96b2
GM
114372011-11-30 Juanma Barranquero <lekktu@gmail.com>
11438
11439 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11440 (hfy-shell-file-name, hfy-shell):
11441 * international/fontset.el (x-decompose-font-name): Fix typos.
11442
114432011-11-29 Ken Brown <kbrown@cornell.edu>
11444
11445 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11446 (gdb-version): Remove defvar.
11447 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11448 (gdb-gud-context-command, gdb-non-stop-handler)
11449 (gdb-current-context-command, gdb-stopped): Use it.
11450 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
11451 (gdb-non-stop-handler): Don't enable pretty-printing here.
11452 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
11453 non-stop mode. Use the following.
11454 (gdb-check-target-async): New defun.
11455 (gud-watch, gdb-stopped): Fix whitespace.
11456 (gdb-get-source-file): Don't try to display the source file if
11457 `gdb-main-file' is nil.
11458
114592011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11460
11461 * align.el: Try to generate fewer markers (bug#10047).
11462 (align--set-marker): New macro.
11463 (align-region): Use it.
11464
c935221f
SM
114652011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11466
11467 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11468
e70b5064
CY
114692011-11-29 Chong Yidong <cyd@gnu.org>
11470
11471 * indent.el (indent-for-tab-command, indent-according-to-mode):
11472 Doc fix.
11473 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11474
f3af92b7
MA
114752011-11-29 Michael Albinus <michael.albinus@gmx.de>
11476
11477 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11478 aware of remote file names. (Bug#10124)
11479
ed472be9
CY
114802011-11-29 Chong Yidong <cyd@gnu.org>
11481
11482 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11483
24510c22
SM
114842011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11485
11486 * files.el (find-file): Don't use force-same-window (bug#10144).
11487 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11488 use pop-to-buffer if the selected window can't be used.
11489 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11490
c60c3703
EZ
114912011-11-28 Eli Zaretskii <eliz@gnu.org>
11492
11493 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11494 special-mode-map.
11495
e95def75
CY
114962011-11-28 Chong Yidong <cyd@gnu.org>
11497
11498 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11499
c3f1c606
NR
115002011-11-27 Nick Roberts <nickrob@snap.net.nz>
11501
11502 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11503 gdb-get-source-file-list on gdb-create-source-file-list.
11504
00db469c
EZ
115052011-11-26 Eli Zaretskii <eliz@gnu.org>
11506
11507 * whitespace.el (whitespace-newline): Use a different foreground
11508 color for 16-color light-background displays.
11509
4ad3bc2a
CY
115102011-11-24 Chong Yidong <cyd@gnu.org>
11511
11512 * window.el (display-buffer--special-action): Doc fix.
11513
e9fce1ac
JB
115142011-11-25 Juanma Barranquero <lekktu@gmail.com>
11515
11516 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11517 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11518 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11519 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11520 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11521 (avl-tree-stack-first):
11522 * emacs-lisp/cconv.el (cconv--analyse-use):
11523 * net/gnutls.el (gnutls-negotiate): Fix typos.
11524
cb825e5d
GM
115252011-11-24 Glenn Morris <rgm@gnu.org>
11526
3adbe224
GM
11527 * lpr.el (lpr-windows-system, lpr-lp-system):
11528 * mail/binhex.el (binhex-begin-line):
11529 * progmodes/grep.el (grep-history, grep-find-history):
11530 * textmodes/flyspell.el:
11531 * vc/pcvs-defs.el (cvs-global-menu):
11532 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11533 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11534 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11535
321decc8
GM
11536 * net/tls.el: Fix case of "GnuTLS".
11537
420b63ad
GM
11538 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11539
cb825e5d
GM
11540 * version.el (emacs-build-system): Give it a doc-string.
11541
a0649f08
JL
115422011-11-24 Juri Linkov <juri@jurta.org>
11543
11544 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11545
c0bc0fd4
GM
115462011-11-24 Glenn Morris <rgm@gnu.org>
11547
11548 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11549 if called on a non-mime message just toggle the headers. (Bug#8006)
11550
20db1522
JB
115512011-11-24 Juanma Barranquero <lekktu@gmail.com>
11552
11553 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11554 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11555 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11556 (allout-rebullet-heading, allout-open-sibtopic)
11557 (allout-toggle-current-subtree-encryption)
11558 (allout-toggle-subtree-encryption, allout-encrypt-string)
11559 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11560 (allout-distinctive-bullets-string, allout-auto-activation):
11561 * window.el (window-normalize-buffer-to-display):
11562 * progmodes/verilog-mode.el (verilog-batch-indent):
11563 * textmodes/bibtex.el (bibtex-field-braces-opt)
11564 (bibtex-field-strings-opt):
11565 * vc/cvs-status.el (cvs-tree-merge):
11566 Fix typos.
11567
7262a87c
MA
115682011-11-23 Michael Albinus <michael.albinus@gmx.de>
11569
11570 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11571 `non-essential' to t, in order to avoid remote connections.
11572
283430a1
EZ
115732011-11-23 Eli Zaretskii <eliz@gnu.org>
11574
a1beca85
SM
11575 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11576 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
11577 case-insensitively.
11578
d2992a38
ML
115792011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11580
11581 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11582
50419064
GM
115832011-11-23 Glenn Morris <rgm@gnu.org>
11584
da94eca1
GM
11585 * paths.el (rmail-file-name): Reformat the doc-string so that it
11586 is picked up.
11587
9aac4de2
GM
11588 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11589 (rmail-auto-file): Ignore case in the "special" field names,
11590 as mail-fetch-field does for all others.
11591
8038d2d2
GM
11592 * mail/rmail.el (rmail-forward):
11593 * mail/rmailkwd.el (rmail-set-label):
11594 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11595 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11596
f3fe222a
GM
11597 * mail/rmail.el (rmail-current-message): Doc fix.
11598
50419064
GM
11599 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11600
28109f49
SM
116012011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11602
11603 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11604
394c65f1
GM
116052011-11-22 Glenn Morris <rgm@gnu.org>
11606
11607 * mail/rmailmm.el (test-rmail-mime-handler)
11608 (test-rmail-mime-bulk-handler)
11609 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11610
f2a0aa3a
JL
116112011-11-21 Juri Linkov <juri@jurta.org>
11612
1154d12e
JB
11613 * calc/calc.el (calc-read-key-sequence):
11614 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 11615
9c34a344
LMI
116162011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11617
11618 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11619 Tell the caller that the next line needs recomputation, even
11620 though it doesn't start a sexp (bug#10094).
11621
f04a3be9
SM
116222011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11623
11624 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11625
7978747f
SM
116262011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11627
f04a3be9
SM
11628 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11629 Use force-same-window.
7978747f 11630
fe7a3057
JB
116312011-11-20 Juanma Barranquero <lekktu@gmail.com>
11632
11633 * descr-text.el (describe-char-unicode-data):
11634 * json.el (json-string-escape):
11635 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11636 (Footnote-unicode, Footnote-style-p):
11637 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11638
24901d61
CY
116392011-11-20 Chong Yidong <cyd@gnu.org>
11640
11641 * window.el (replace-buffer-in-windows): Restore interactive spec.
11642
bac7ff22
SM
116432011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11644
24f3d7b9
SM
11645 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11646
bac7ff22
SM
11647 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11648 (byte-compile-global-not-obsolete-vars): New var.
11649 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11650 Use it.
11651 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11652
cd1181db
JB
116532011-11-20 Juanma Barranquero <lekktu@gmail.com>
11654
11655 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11656 * progmodes/pascal.el (electric-pascal-equal):
11657 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11658 * xml.el (xml-substitute-special): Fix typos.
11659
7fb18e9e
GM
116602011-11-20 Glenn Morris <rgm@gnu.org>
11661
11662 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11663 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11664 Doc fixes.
11665 (rmail-decode-mime-charset): Mark as obsolete.
11666
11667 * mail/rmailsum.el (rmail-message-regexp-p-1):
11668 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11669 Before using mime functions, check they are set. (Bug#10077)
11670
d5a6b3ba
JL
116712011-11-19 Juri Linkov <juri@jurta.org>
11672
11673 * info.el (Info-finder-find-node): Use `package--builtins' instead
11674 of `package-alist'. Use node names formed by the pattern "Keyword "
11675 and the keyword name.
11676
e981b61f
AS
116772011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11678
1d00653d 11679 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 11680
3ffbc301
JL
116812011-11-19 Juri Linkov <juri@jurta.org>
11682
11683 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11684 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11685 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11686 `old-history', `old-history-forward'. Add let-binding
11687 `window-selected'. Remove calls to `kill-buffer',
11688 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11689 before calling `Info-find-node', so `Info-find-node-2' will reread
11690 the Info file. Restore window positions only when `window-selected'
11691 is non-nil.
11692
30c62133
JL
116932011-11-19 Juri Linkov <juri@jurta.org>
11694
11695 * isearch.el (isearch-lazy-highlight-new-loop):
11696 Remove condition `(not isearch-error)'. (Bug#9918)
11697
11698 * misearch.el (multi-isearch-search-fun): Add condition
11699 `(not bound)' to ignore lazy-highlighting search.
11700 Add the search-failed message "end of multi" when the end of
11701 multi-sequence is reached. Uncapitalize the search-failed
11702 message "Repeat for next buffer".
11703
11704 * info.el (Info-search): Add the search-failed message
11705 "end of the manual" when the end of the manual is reached
11706 in Isearch mode.
11707
645ca9cf
JL
117082011-11-19 Juri Linkov <juri@jurta.org>
11709
11710 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11711 Use non-destructive `remove' instead of `delete' because
11712 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11713 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11714
df754f66
JL
117152011-11-19 Juri Linkov <juri@jurta.org>
11716
11717 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11718 to nil instead of binding `search-ring' and `regexp-search-ring'.
11719 (Bug#9185)
11720
0e23d96a
EZ
117212011-11-19 Eli Zaretskii <eliz@gnu.org>
11722
11723 * simple.el (line-move): Force movement by logical lines for any
11724 hscrolled window, not only when auto-hscroll-mode is on.
11725 (line-move-visual): Update doc string to that effect. (Bug#10076)
11726
8a6ccb66
AS
117272011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11728
11729 * language/european.el (macintosh): Define as alias for mac-roman.
11730
49ae5b39
EZ
117312011-11-19 Eli Zaretskii <eliz@gnu.org>
11732
11733 * mail/rmailmm.el (rmail-mime-display-header)
11734 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11735 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11736 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11737 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11738 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11739 of a raw aref.
11740 (rmail-mime-entity-segment): To get past the tagline, move forward
11741 2 more lines, to account for the 2 empty lines that precede and
11742 follow the line with the buttons.
11743 (rmail-mime-update-tagline): Move one more line, to get past the
11744 empty line that follows the buttons in the tagline. (Bug#9520)
11745
c56cad4a
MR
117462011-11-19 Martin Rudalics <rudalics@gmx.at>
11747
11748 * window.el (window-max-delta-1, window-min-delta-1)
11749 (window-min-size-1, window-state-get-1, window-state-put-1)
11750 (window-state-put-2): Use "window--" prefix.
11751
cbe71af3
SM
117522011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11753
2ad52c60
SM
11754 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11755 (smie-warning-count): New var.
11756 (smie-set-prec2tab): Use it.
11757 (smie-bnf->prec2): Improve warnings. Add docstring.
11758 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11759 (smie-bnf--set-class): New function.
11760 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11761 corner case.
11762
6944dbc1
SM
11763 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11764 (compilation-error-properties, compilation-move-to-column):
11765 Handle compilation-first-column while in the target buffer.
11766
c400c4d7
SM
11767 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11768 Don't hardcode point-min==1.
11769
6dbe3e96
SM
11770 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11771 (eshell-rewrite-for-command): Remove workaround.
11772 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11773 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11774 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11775
cbe71af3
SM
11776 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11777
a8e1496d
GM
117782011-11-17 Glenn Morris <rgm@gnu.org>
11779
11780 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11781 Ignore buffer-local generated-autoload-file if it is the same
11782 as the global value. (Bug#10049)
11783
df85d315
JB
117842011-11-17 Juanma Barranquero <lekktu@gmail.com>
11785
11786 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11787 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11788 (reftex-toc-previous-heading, reftex-toc-max-level)
11789 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11790 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11791 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11792 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11793 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11794 (reftex-toc-rename-label, reftex-toc-visit-location)
11795 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11796 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11797 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11798 leaving "*toc*" only for references to the buffer.
11799
a0c2d0ae
MR
118002011-11-17 Martin Rudalics <rudalics@gmx.at>
11801
11802 * window.el (window-resize, delete-window, split-window):
11803 Replace window-splits by window-combination-resize.
1d00653d 11804 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 11805
35c0bac8
GM
118062011-11-17 Glenn Morris <rgm@gnu.org>
11807
11808 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11809 Make bash entry derive from sh entry, not shell entry.
11810
d0c8fc8a
MA
118112011-11-16 Michael Albinus <michael.albinus@gmx.de>
11812
7262a87c
MA
11813 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11814 local file name.
11815
7877f373
JB
118162011-11-16 Juanma Barranquero <lekktu@gmail.com>
11817
11818 * menu-bar.el (menu-bar-file-menu):
11819 * printing.el (pr-ps-utility):
11820 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11821 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11822 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11823 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11824 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11825 (icalendar--convert-cyclic-to-ical)
11826 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11827 (icalendar--convert-ical-to-diary)
11828 (icalendar--convert-recurring-to-diary)
11829 (icalendar--convert-non-recurring-all-day-to-diary)
11830 (icalendar-import-format-sample):
11831 * progmodes/idlw-shell.el (idlwave-shell-mode):
11832 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11833 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11834 (vhdl-ps-print-init): Fix typos.
11835
10649b82
KM
118362011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11837
9d0cfcd6
GM
11838 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11839 FSF and collapse date sequence, obscure author/maintainer email address
11840 better, remove extra version line, track relocation of author's webpage.
10649b82 11841
9d0cfcd6
GM
11842 * progmodes/python.el (python-pdbtrack-input-prompt)
11843 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11844 regular python pdb prompts. Adjustments shamelessly taken exactly as
11845 suggested in EmacsWiki page (tiny change):
11846 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 11847
58179cce
JB
118482011-11-16 Juanma Barranquero <lekktu@gmail.com>
11849
11850 * expand.el (expand-pos, expand-index, expand-point):
11851 Remove redundant info from docstring.
11852 (expand-add-abbrevs): Doc fix.
11853 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11854 (expand-sample-perl-mode-expand-list): Fix typos.
11855
11856 * net/dbus.el (dbus-event-member-name):
11857 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11858 * term/pc-win.el (msdos-create-frame-with-faces):
11859 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11860
b6f67890
MR
118612011-11-16 Martin Rudalics <rudalics@gmx.at>
11862
11863 * window.el (split-window, window-state-get-1)
11864 (window-state-put-1, window-state-put-2): Rename occurrences of
11865 window-nest to window-combination-limit.
1d00653d 11866 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 11867
ce7ddba0
CY
118682011-11-16 Chong Yidong <cyd@gnu.org>
11869
11870 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11871 regexp (Bug#10033).
11872
3ae704f4
SM
118732011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11874
11875 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11876 `completing-read' will remove *Completions* and will preserve
11877 current-buffer for us.
11878 (tmm-add-prompt): Users of *Completions* will always (re)set its
11879 major mode.
11880 (tmm-old-comp-map): Remove.
11881
6ad1cdde
GM
118822011-11-16 Glenn Morris <rgm@gnu.org>
11883
11884 * mail/rmailedit.el: Require rmailmm when compiling.
11885 (rmail-old-mime-state): New declaration.
11886 (rmail-edit-current-message): If editing a mime message,
11887 edit the "raw" message from the mbox buffer.
11888 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11889
d20faa20
GM
118902011-11-15 Glenn Morris <rgm@gnu.org>
11891
11892 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11893 which wasn't being used. Add optional arg to force given state.
11894 (rmail-mime): Add optional arg to force given state.
11895
c7015153
JB
118962011-11-15 Juanma Barranquero <lekktu@gmail.com>
11897
11898 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11899 * frame.el (display-mm-dimensions-alist):
11900 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11901 (outline-move-subtree-down):
11902 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11903 (newsticker--treeview-do-get-node):
11904 * net/quickurl.el (quickurl-list-buffer-name):
11905 * progmodes/dcl-mode.el (dcl-mode):
11906 * progmodes/gdb-mi.el (gdb-mapcar*):
11907 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11908
45261b50
GM
119092011-11-15 Glenn Morris <rgm@gnu.org>
11910
11911 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11912 in a boolean sense, so just make it a boolean, and fix the doc.
11913 (rmail-show-mime-function, rmail-mime-feature)
11914 (rmail-require-mime-maybe): Doc fixes.
11915 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11916
11917 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11918
0d26e0b6
JB
119192011-11-15 Juanma Barranquero <lekktu@gmail.com>
11920
11921 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11922 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11923 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11924 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11925
447f30f6
GM
119262011-11-15 Glenn Morris <rgm@gnu.org>
11927
672b871d
GM
11928 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11929 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11930 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11931 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11932 (rmail-mime, rmail-show-mime): Doc fixes.
11933
f6aa5bb1
GM
11934 * term/ns-win.el (mode-line-frame-identification):
11935 Leave it alone. (Bug#10051)
11936
947cd66b
GM
11937 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11938
447f30f6
GM
11939 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11940 Handle empty buffers. (Bug#9978)
11941
0b381c7e
JB
119422011-11-14 Juanma Barranquero <lekktu@gmail.com>
11943
11944 * international/mule.el (define-charset):
11945 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11946 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11947 * progmodes/verilog-mode.el (verilog-backward-token):
11948 * textmodes/ispell.el (lookup-words):
11949 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11950
71e027ac
GM
119512011-11-14 Glenn Morris <rgm@gnu.org>
11952
56632ce4
GM
11953 * progmodes/executable.el
11954 (executable-make-buffer-file-executable-if-script-p):
11955 Handle file-modes returning nil.
11956
40500957
GM
11957 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11958 message - not necessary, and causes problems. (Bug#9831)
11959
071c2340
GM
11960 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11961
d3cfca60
GM
11962 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11963
71e027ac
GM
11964 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11965 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11966 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11967
89d61221
MR
119682011-11-12 Martin Rudalics <rudalics@gmx.at>
11969
11970 * window.el (window-resize, delete-window): Use window-splits
11971 variable instead of function.
11972 (window-state-get-1, window-state-put-2, window-state-put):
11973 Don't deal with windows' splits status.
11974
98282f6f
GM
119752011-11-12 Glenn Morris <rgm@gnu.org>
11976
11977 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11978 (apropos-documentation): Doc fixes.
11979
40a8bdf6
JB
119802011-11-11 Juanma Barranquero <lekktu@gmail.com>
11981
11982 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11983 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11984
65bd19ff
SM
119852011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11986
11987 * electric.el (electric-indent-post-self-insert-function): Make it
11988 possible for a char to only indent in some circumstances.
11989 (electric-indent-mode): Simplify.
11990
54f9154c
MR
119912011-11-11 Martin Rudalics <rudalics@gmx.at>
11992
11993 * window.el (windows-with-parameter): Remove unused function.
11994 (windows-at-side): Rename to window-at-side-list.
11995 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
11996 (window-side-check, window-size-ignore, window-size-fixed-1)
11997 (window-in-direction-2): Prefix with "window--".
11998 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 11999
68cbc58b
GM
120002011-11-11 Glenn Morris <rgm@gnu.org>
12001
12002 * subr.el (eval-after-load): If FILE is already loaded,
12003 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12004
b2621720
GM
120052011-11-10 Glenn Morris <rgm@gnu.org>
12006
9a4de110
GM
12007 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12008 Call svn via vc-svn-command rather than vc-do-command.
12009 (vc-svn-command): Add --non-interactive. (Bug#9993)
12010 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12011
b2621720
GM
12012 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12013 Add toggle-read-only. (Bug#7292)
12014 * files.el (toggle-read-only): Mention that it should only
12015 be used interactively. (Bug#10006)
12016
1dce7193
SM
120172011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12018
d9ac1a1e
SM
12019 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12020 Adjust regexp for OCaml warnings.
12021
0c325082
SM
12022 * electric.el (electric-pair-post-self-insert-function): Let user
12023 turn it off buffer-locally (bug#9932).
12024
90132c14
SM
12025 * progmodes/python.el (python-beginning-of-statement):
12026 Rewrite (bug#2703).
12027
1dce7193
SM
12028 * progmodes/compile.el: Better handle TABs (bug#9749).
12029 (compilation-internal-error-properties)
12030 (compilation-next-error-function): Obey the target buffer's
12031 compilation-error-screen-columns.
12032
c4e7c63a
JB
120332011-11-09 Juanma Barranquero <lekktu@gmail.com>
12034
12035 * progmodes/meta-mode.el: Remove obsolete comments.
12036 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12037 Fix typos in docstrings.
12038
2cffd681
MR
120392011-11-09 Martin Rudalics <rudalics@gmx.at>
12040
12041 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 12042 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
12043 (window--resizable): New function. Make all callers of
12044 window-resizable call window--resizable instead.
12045 (window-resizable): Rewrite in terms of window--resizable.
12046
0edcba87
GM
120472011-11-08 Glenn Morris <rgm@gnu.org>
12048
12049 * progmodes/delphi.el (delphi-mode-syntax-table):
12050 Let define-derived-mode define a proper syntax table. (Bug#9994)
12051
4b0d61e3
SM
120522011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12053
12054 * window.el: Stay away from defsubst.
12055 (window-list-no-nils): Remove.
12056 (window-state-get-1, window-state-get): Use backquote instead.
12057
cd394be1 120582011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 12059
4b0d61e3 12060 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 12061 Fix incorrect use of default argument in `completing-read'.
12062
e1c2c6f2
MR
120632011-11-08 Martin Rudalics <rudalics@gmx.at>
12064
12065 * window.el (display-buffer-function, special-display-function):
12066 Mention display-buffer-record-window but do not mention
12067 help-setup parameter in doc-strings.
b3f4a882 12068 (window-min-delta): Fix doc-string typo.
e1c2c6f2 12069
105216ed
CY
120702011-11-08 Chong Yidong <cyd@gnu.org>
12071
12072 * window.el (window-total-height, window-total-width): Doc fix.
12073 (window-body-size): Move from C.
12074 (window-body-height, window-body-width): Move to C.
12075
0a9f9ab5
SM
120762011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12077
12078 * window.el: Make special-display like display-buffer-alist (bug#9532).
12079 (display-buffer--special-action): New function, morphed
12080 from display-buffer--special.
12081 (display-buffer): Use it to handle special-display-buffers at higher
12082 priority (just after display-buffer-alist).
12083 (display-buffer-fallback-action, display-buffer--other-frame-action)
12084 (pop-to-buffer-same-window): Remove display-buffer--special.
12085
a769dd15
GM
120862011-11-07 Glenn Morris <rgm@gnu.org>
12087
12088 * calendar/cal-menu.el (cal-menu-set-date-title):
12089 Do nothing if not in a calendar. (Bug#9976)
12090
05a61ee3
SM
120912011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12092
12093 * files.el (find-file): Always use selected-window.
12094
be7f5545
MR
120952011-11-07 Martin Rudalics <rudalics@gmx.at>
12096
12097 * window.el (window-combinations): Make WINDOW argument
12098 mandatory. Rewrite doc-string.
12099 (walk-window-subtree, window-atom-check, window-min-delta)
12100 (window-max-delta, window--resize-this-window)
12101 (window--resize-root-window-vertically, window-tree)
12102 (balance-windows, window-state-put): Rewrite doc-strings as to
12103 not mention the term "subwindow".
12104 (window--resize-subwindows-skip-p): Rename to
12105 window--resize-child-windows-skip-p.
12106 (window--resize-subwindows-normal): Rename to
12107 window--resize-child-windows-normal.
12108 (window--resize-subwindows): Rename to
12109 window--resize-child-windows.
12110 (window-or-subwindow-p): Rename to window--in-subtree-p.
12111
3c6702ef
ML
121122011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12113
12114 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12115 Ensure that mbox format messages end in two newlines (Bug#9974).
12116
49745b39
CY
121172011-11-06 Chong Yidong <cyd@gnu.org>
12118
12119 * window.el (window-combination-p): Function deleted; its
12120 side-effect is not used in any existing code.
12121 (window-combinations, window-combined-p): Call window-*-child
12122 directly.
12123
24300f5f
CY
121242011-11-05 Chong Yidong <cyd@gnu.org>
12125
12126 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
12127 (window-size-ignore, window-state-get): Callers changed.
12128 (window-normalize-window): Rename from window-normalize-any-window.
12129 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 12130 (window-normalize-live-window): Delete.
447f16b8
CY
12131 (window-combination-p, window-combined-p, window-combinations)
12132 (walk-window-subtree, window-atom-root, window-min-size)
12133 (window-sizable, window-sizable-p, window-size-fixed-p)
12134 (window-min-delta, window-max-delta, window-resizable)
12135 (window-resizable-p, window-full-height-p, window-full-width-p)
12136 (window-current-scroll-bars, window-point-1, set-window-point-1)
12137 (window-at-side-p, window-in-direction, window-resize)
12138 (adjust-window-trailing-edge, maximize-window, minimize-window)
12139 (window-deletable-p, delete-window, delete-other-windows)
12140 (record-window-buffer, unrecord-window-buffer)
12141 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12142 (quit-window, split-window, window-state-put)
12143 (set-window-text-height, fit-window-to-buffer)
12144 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 12145
89bd5ee1
EZ
121462011-11-04 Eli Zaretskii <eliz@gnu.org>
12147
53479029
EZ
12148 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12149 rfc2047-decode-string.
12150 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12151 warnings.
12152
89bd5ee1
EZ
12153 * window.el (window-body-height, window-body-width): Mention in
12154 the doc string that the return values are in frame's canonical
12155 units. (Bug#9949)
12156
bd17fdee
AM
121572011-11-03 Alan Mackenzie <acm@muc.de>
12158
12159 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12160 change in cc-engine.el.
12161
acc825c5
SM
121622011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12163
12164 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12165
1885e5b8
MR
121662011-11-02 Martin Rudalics <rudalics@gmx.at>
12167
12168 * window.el (quit-window): Call unrecord-window-buffer after
12169 showing another buffer in the window. (Bug#9937)
acc825c5 12170 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 12171
ebe06da9
JB
121722011-11-02 Juanma Barranquero <lekktu@gmail.com>
12173
12174 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12175 Accept status with more than 9 shelves. (Bug#9935)
12176 Reported by Colin D Bennett <colin@gibibit.com>.
12177
4ee88440
MR
121782011-11-01 Martin Rudalics <rudalics@gmx.at>
12179
12180 * help.el (with-help-window): Don't reference
12181 temp-buffer-show-specifiers in doc-string.
12182
08e1d82c
AS
121832011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12184
12185 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12186 menu-item.
12187
84bd6e9e
VJL
121882011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12189
12190 * whitespace.el: New version 13.2.2.
12191 (whitespace-newline-mode): Disable properly. Reported by Sarah
12192 <EmacsWiki>.
12193
dba0634a
UJ
121942011-10-30 Ulf Jasper <ulf.jasper@web.de>
12195
12196 * net/newst-treeview.el: Remove "Time-stamp".
12197 (newsticker--group-manage-orphan-feeds): Do not call
12198 newsticker--treeview-tree-update.
db22a3c2
JB
12199 (newsticker-treeview-update, newsticker-treeview):
12200 Call newsticker--treeview-tree-update if necessary.
dba0634a 12201
3d8daefe
MR
122022011-10-30 Martin Rudalics <rudalics@gmx.at>
12203
12204 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
12205 (window-iso-combinations): Remove "iso-" infix.
12206 Suggested by Chong Yidong.
3d8daefe
MR
12207 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12208 (window-max-delta-1, window-resize, window--resize-siblings)
12209 (window--resize-this-window, adjust-window-trailing-edge)
12210 (split-window, balance-windows-1)
12211 (shrink-window-if-larger-than-buffer):
12212 * calendar/calendar.el (calendar-generate-window):
db22a3c2 12213 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 12214
1bc4c3ae
SM
122152011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12216
12217 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12218 in place (bug#9907).
12219 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12220 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12221 (eshell-structure-basic-command, eshell-rewrite-while-command)
12222 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12223 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12224 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12225 (eshell-do-pipelines-synchronously, eshell-eval-command):
12226 Use backquotes and prefer setq to set.
12227 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12228 (eshell-macrop): Use functionp.
c1e2f5fa 12229 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 12230
30b65d9c
CY
122312011-10-30 Chong Yidong <cyd@gnu.org>
12232
12233 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12234 instead of set-mark (Bug#9810).
12235
2d197ffb
CY
122362011-10-30 Chong Yidong <cyd@gnu.org>
12237
12238 * window.el (split-window-below, split-window-right): Rename from
12239 split-window-above-each-other and split-window-side-by-side
12240 respectively. All callers changed.
12241 (split-window-sensibly, split-window-sensibly): Use them.
12242 (split-window-keep-point): Doc fix.
12243
12244 * isearch.el: Add isearch-scroll property to split-window-below
12245 and split-window-right.
12246
12247 * follow.el (follow-mode):
12248 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12249 * progmodes/ada-xref.el (ada-gdb-application):
12250 * emulation/vip.el (vip-buffer-in-two-windows):
12251 * image-dired.el (image-dired-dired-with-window-configuration):
12252 * dired-x.el (dired-do-find-marked-files):
12253 * dired.el (dired-pop-to-buffer):
12254 * bs.el (bs--show-with-configuration):
12255 * vc/emerge.el (emerge-setup-windows):
12256 * textmodes/two-column.el (2C-two-columns):
12257 * textmodes/reftex-toc.el (reftex-toc):
12258 * progmodes/gdb-mi.el (gdb-setup-windows):
12259 * progmodes/fortran.el (fortran-window-create):
12260 * net/newst-treeview.el (newsticker--treeview-window-init):
12261 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12262 * emulation/tpu-edt.el (tpu-gold-map):
12263 * emulation/crisp.el (crisp-mode-map):
12264 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12265
38bb2ca8
CY
122662011-10-29 Chong Yidong <cyd@gnu.org>
12267
aa4de341
CY
12268 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12269
e1eb5385
CY
12270 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12271
5d2ece3c
CY
12272 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12273 forged Ispell output (Bug#7904).
12274
38bb2ca8
CY
12275 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12276
d0af9f77
SM
122772011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12278
12279 * doc-view.el: Avoid ugly errors about not finding nil.
12280 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12281 (doc-view-dvipdf-program, doc-view-unoconv-program)
12282 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12283 Avoid nil or absolute file name as default value.
12284 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12285
52bedd34
AM
122862011-10-28 Alan Mackenzie <acm@muc.de>
12287
db22a3c2 12288 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 12289
7e43cfa5
AM
122902011-10-28 Alan Mackenzie <acm@muc.de>
12291
12292 Amend the handling of c-beginning/end-of-defun in nested declaration
12293 scopes.
12294
52bedd34
AM
12295 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12296 cc-langs.el. Change it to a defcustom.
7e43cfa5 12297
52bedd34
AM
12298 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12299 cc-vars.el.
7e43cfa5 12300
d0af9f77
SM
12301 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12302 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 12303
52bedd34 12304 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 12305 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
12306 (c-widen-to-enclosing-decl-scope): New function.
12307 (c-while-widening-to-decl-block): New macro.
12308 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12309 outward for defun boundaries, and correspondingly change symbol
12310 `respect-enclosure' to `go-outward'.
12311 (c-declaration-limits): Change algorithm to report only the "innermost"
12312 defun's boundaries.
12313
1a2ce9ee
DD
123142011-10-28 Deniz Dogan <deniz@dogan.se>
12315
12316 * net/rcirc.el (rcirc-mode): Use hard newlines.
12317
bc97a826
AM
123182011-10-28 Alan Mackenzie <acm@muc.de>
12319
12320 Amend to indent and fontify macros "which include their own semicolon"
12321 correctly, using the "virtual semicolon" mechanism.
12322
52bedd34 12323 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 12324
d0af9f77 12325 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 12326 Recode to scan one line at a time rather than having \n and \r
58179cce 12327 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 12328 (c-forward-label): Amend for virtual semicolons.
58179cce 12329 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 12330
52bedd34
AM
12331 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12332 of the new C macros.
bc97a826 12333
52bedd34 12334 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
12335 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12336 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
12337 (c-opt-cpp-macro-define): Make into a full language variable.
12338 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12339 AWK Mode (including \n, \r) removed, no longer needed.
12340
d0af9f77
SM
12341 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12342 Invoke c-make-macro-with-semi-re.
bc97a826 12343
52bedd34
AM
12344 * progmodes/cc-vars.el (c-macro-with-semi-re):
12345 (c-macro-names-with-semicolon): New variables.
58179cce 12346 (c-make-macro-with-semi-re): New function.
bc97a826 12347
7a6c0941
SM
123482011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12349
12350 * vc/log-edit.el: Fill empty field rather than adding new one.
12351 (log-edit-add-field): New function.
12352 (log-edit-insert-changelog): Use it.
12353
b0c4cdcf
ML
123542011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12355
12356 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12357
ee1f1da9
SM
123582011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12359
12360 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12361 (gdb--check-interpreter): New function.
12362 (gdb): Use it.
12363
51bc5f8b
GM
123642011-10-27 Glenn Morris <rgm@gnu.org>
12365
416a2c45
GM
12366 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12367 (least-positive-float, least-negative-float)
12368 (least-positive-normalized-float, least-negative-normalized-float)
12369 (float-epsilon, float-negative-epsilon):
12370 Remove unnecessary declarations.
12371
12372 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12373 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12374 (least-positive-float, least-negative-float)
12375 (least-positive-normalized-float, least-negative-normalized-float)
12376 (float-epsilon, float-negative-epsilon): Add doc-strings,
12377 based on those in cl.texi.
12378
51bc5f8b
GM
12379 * files.el (set-visited-file-name): If the major-mode changed,
12380 reload the local variables. (Bug#9796)
12381
15de15c6
CY
123822011-10-27 Chong Yidong <cyd@gnu.org>
12383
12384 * subr.el (change-major-mode-after-body-hook): New hook.
12385 (run-mode-hooks): Run it.
12386
ee1f1da9
SM
12387 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12388 Use change-major-mode-before-body-hook.
15de15c6
CY
12389
12390 * simple.el (fundamental-mode):
12391 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12392 change introducing fundamental-mode-hook.
12393
5430d399
JB
123942011-10-26 Juanma Barranquero <lekktu@gmail.com>
12395
acc825c5 12396 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 12397
ad74a69e
MA
123982011-10-26 Michael Albinus <michael.albinus@gmx.de>
12399
12400 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 12401 tramp.el explicitly. (Bug#7583)
ad74a69e 12402
71d4c2a5
SM
124032011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12404
12405 * progmodes/octave-mod.el:
12406 * progmodes/octave-inf.el: Update maintainer.
12407
b1f6fa26
CY
124082011-10-26 Chong Yidong <cyd@gnu.org>
12409
12410 * subr.el (with-wrapper-hook): Rewrite doc.
12411
3f04efd6
MA
124122011-10-25 Michael Albinus <michael.albinus@gmx.de>
12413
12414 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 12415 filenames "/method:foo:". (Bug#9793)
3f04efd6 12416
410488d3
SM
124172011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12418
12419 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12420 (bug#9865).
12421
c1ebb47e
GM
124222011-10-24 Glenn Morris <rgm@gnu.org>
12423
12424 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12425
7f5c46c7
MA
124262011-10-24 Michael Albinus <michael.albinus@gmx.de>
12427
12428 * notifications.el: Add the requirement of a running D-Bus session
12429 bus to the Commentary.
12430
db2440b6
JL
124312011-10-24 Juri Linkov <juri@jurta.org>
12432
12433 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12434 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12435 (Bug#9364)
12436
feecf435
JL
124372011-10-24 Juri Linkov <juri@jurta.org>
12438
12439 * info.el (Info-following-node-name-re): Add newline to the list
12440 of allowed characters for leading space. (Bug#9824)
12441
a3839de2
SM
124422011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12443
acc825c5
SM
12444 * progmodes/octave-inf.el (inferior-octave-mode-map):
12445 Fix C-c C-h binding.
a3839de2
SM
12446 * progmodes/octave-mod.el (octave-help): Remove.
12447
09388e76
MA
124482011-10-23 Michael Albinus <michael.albinus@gmx.de>
12449
12450 Sync with Tramp 2.2.3.
12451
12452 * net/tramp-cache.el (top): Pacify byte-compiler using
12453 `init-file-user' and `site-run-file'.
12454
12455 * net/trampver.el: Update release number.
12456
86c60681
CY
124572011-10-23 Chong Yidong <cyd@gnu.org>
12458
12459 * files.el (toggle-read-only): Remove obsolete comment about
12460 version control.
12461
12462 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12463 for toggle-read-only. Note that this hasn't called vc-next-action
12464 since 2008-05-02, though it wasn't documented at the time.
12465
a3839de2
SM
12466 * vc/ediff-init.el (ediff-toggle-read-only-function):
12467 Use toggle-read-only.
86c60681 12468
cd5495ff
AM
124692011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12470
12471 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12472 of c-parse-state.
12473
00b77525 12474 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 12475 correct faulty logical expression.
cd5495ff
AM
12476 (c-parse-state-state, c-record-parse-state-state):
12477 (c-replay-parse-state-state): New defvar/defuns.
12478 (c-debug-parse-state): Use new functions.
12479
42ee24ed
MR
124802011-10-22 Martin Rudalics <rudalics@gmx.at>
12481
12482 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 12483 last fix. Use window-in-direction correctly.
42ee24ed 12484
a7dee7e7
CY
124852011-10-21 Chong Yidong <cyd@gnu.org>
12486
12487 * progmodes/idlwave.el (idlwave-mode):
12488 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
12489 require-final-newline; that's done in prog-mode.
12490 Suggested by Stefan Monnier.
a7dee7e7 12491
e07b9a6d
MR
124922011-10-21 Martin Rudalics <rudalics@gmx.at>
12493
12494 * mouse.el (mouse-drag-window-above)
12495 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12496 (mouse-drag-mode-line-1, mouse-drag-header-line)
12497 (mouse-drag-vertical-line-rightward-window): Remove.
12498 (mouse-drag-line): New function.
12499 (mouse-drag-mode-line, mouse-drag-header-line)
12500 (mouse-drag-vertical-line): Call mouse-drag-line.
12501 * window.el (window-at-side-p, windows-at-side): New functions.
12502
7e1361d9
UM
125032011-10-21 Ulrich Mueller <ulm@gentoo.org>
12504
12505 * tar-mode.el (tar-grind-file-mode):
12506 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12507
30fcaf3a
CY
125082011-10-21 Chong Yidong <cyd@gnu.org>
12509
12510 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
12511 * progmodes/vera-mode.el (vera-mode):
12512 Use mode-require-final-newline.
30fcaf3a 12513
516eddb0
GM
125142011-10-20 Glenn Morris <rgm@gnu.org>
12515
db22a3c2 12516 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 12517
10d5f513
CS
125182011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12519
12520 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12521
ac6c8639
CY
125222011-10-20 Chong Yidong <cyd@gnu.org>
12523
12524 * emulation/cua-base.el (cua-mode):
12525 * mail/footnote.el (footnote-mode):
12526 * mail/mailabbrev.el (mail-abbrevs-mode):
12527 * net/xesam.el (xesam-minor-mode):
12528 * progmodes/bug-reference.el (bug-reference-mode):
12529 * progmodes/cap-words.el (capitalized-words-mode):
12530 * progmodes/compile.el (compilation-minor-mode)
12531 (compilation-shell-minor-mode):
12532 * progmodes/gud.el (gud-tooltip-mode):
12533 * progmodes/hideif.el (hide-ifdef-mode):
12534 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12535 * progmodes/subword.el (subword-mode):
12536 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12537 * progmodes/which-func.el (which-function-mode):
12538 * term/tvi970.el (tvi970-set-keypad-mode):
12539 * term/vt100.el (vt100-wide-mode):
12540 * textmodes/flyspell.el (flyspell-mode):
12541 * textmodes/ispell.el (ispell-minor-mode):
12542 * textmodes/nroff-mode.el (nroff-electric-mode):
12543 * textmodes/paragraphs.el (use-hard-newlines):
12544 * textmodes/refill.el (refill-mode):
12545 * textmodes/reftex.el (reftex-mode):
12546 * textmodes/rst.el (rst-minor-mode):
12547 * textmodes/sgml-mode.el (html-autoview-mode)
12548 (sgml-electric-tag-pair-mode):
12549 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12550 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12551 * emulation/crisp.el (crisp-mode):
12552 * emacs-lisp/eldoc.el (eldoc-mode):
12553 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12554 minor mode behavior.
12555
aa42ab43
JL
125562011-10-19 Juri Linkov <juri@jurta.org>
12557
12558 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12559 the list of hard-coded chars with escape-glyph face.
12560
89400f1d
SM
125612011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12562
12563 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12564
305c07f6
MA
125652011-10-19 Michael Albinus <michael.albinus@gmx.de>
12566
12567 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12568 running process.
12569
13754b54
GM
125702011-10-19 Glenn Morris <rgm@gnu.org>
12571
12572 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12573 Ignore ignored files. (Bug#9726)
12574
06e21633
CY
125752011-10-19 Chong Yidong <cyd@gnu.org>
12576
12577 Doc fix for minor modes, stating that an omitted argument enables
12578 the mode unconditionally when called from Lisp.
12579
12580 * abbrev.el (abbrev-mode):
12581 * allout.el (allout-mode):
12582 * autoinsert.el (auto-insert-mode):
12583 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12584 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12585 (global-auto-revert-mode):
12586 * battery.el (display-battery-mode):
12587 * composite.el (global-auto-composition-mode)
12588 (auto-composition-mode):
12589 * delsel.el (delete-selection-mode):
12590 * desktop.el (desktop-save-mode):
12591 * dired-x.el (dired-omit-mode):
12592 * dirtrack.el (dirtrack-mode):
12593 * doc-view.el (doc-view-minor-mode):
12594 * double.el (double-mode):
12595 * electric.el (electric-indent-mode, electric-pair-mode):
12596 * emacs-lock.el (emacs-lock-mode):
12597 * epa-hook.el (auto-encryption-mode):
12598 * follow.el (follow-mode):
12599 * font-core.el (font-lock-mode):
12600 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12601 * help.el (temp-buffer-resize-mode):
12602 * hilit-chg.el (highlight-changes-mode)
12603 (highlight-changes-visible-mode):
12604 * hi-lock.el (hi-lock-mode):
12605 * hl-line.el (hl-line-mode, global-hl-line-mode):
12606 * icomplete.el (icomplete-mode):
12607 * ido.el (ido-everywhere):
12608 * image-file.el (auto-image-file-mode):
12609 * image-mode.el (image-minor-mode):
12610 * iswitchb.el (iswitchb-mode):
12611 * jka-cmpr-hook.el (auto-compression-mode):
12612 * linum.el (linum-mode):
12613 * longlines.el (longlines-mode):
12614 * master.el (master-mode):
12615 * mb-depth.el (minibuffer-depth-indicate-mode):
12616 * menu-bar.el (menu-bar-mode):
12617 * minibuf-eldef.el (minibuffer-electric-default-mode):
12618 * mouse-sel.el (mouse-sel-mode):
12619 * msb.el (msb-mode):
12620 * mwheel.el (mouse-wheel-mode):
12621 * outline.el (outline-minor-mode):
12622 * paren.el (show-paren-mode):
12623 * recentf.el (recentf-mode):
12624 * reveal.el (reveal-mode, global-reveal-mode):
12625 * rfn-eshadow.el (file-name-shadow-mode):
12626 * ruler-mode.el (ruler-mode):
12627 * savehist.el (savehist-mode):
12628 * scroll-all.el (scroll-all-mode):
12629 * scroll-bar.el (scroll-bar-mode):
12630 * server.el (server-mode):
12631 * shell.el (shell-dirtrack-mode):
12632 * simple.el (auto-fill-mode, transient-mark-mode)
12633 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12634 (line-number-mode, column-number-mode, size-indication-mode)
12635 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12636 * strokes.el (strokes-mode):
12637 * time.el (display-time-mode):
12638 * t-mouse.el (gpm-mouse-mode):
12639 * tool-bar.el (tool-bar-mode):
12640 * tooltip.el (tooltip-mode):
12641 * type-break.el (type-break-mode-line-message-mode)
12642 (type-break-query-mode):
12643 * view.el (view-mode):
12644 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12645 (global-whitespace-mode, global-whitespace-newline-mode):
12646 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12647
a3839de2
SM
12648 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12649 Fix autogenerated docstring.
06e21633 12650
5214e501
JL
126512011-10-19 Juri Linkov <juri@jurta.org>
12652
12653 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12654 by checking environment variables "DESKTOP_SESSION" and
12655 "XDG_CURRENT_DESKTOP". (Bug#9779)
12656
195f8db9
JL
126572011-10-19 Juri Linkov <juri@jurta.org>
12658
12659 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12660 (browse-url-chromium-program, browse-url-chromium-arguments):
12661 New defcustoms.
12662 (browse-url-default-browser): Check for `browse-url-chromium' and
12663 call `browse-url-chromium-program'.
12664 (browse-url-chromium): New command. (Bug#9779)
12665
343a34ff
JB
126662011-10-18 Juanma Barranquero <lekktu@gmail.com>
12667
12668 * facemenu.el (list-colors-duplicates): On Windows, detect more
12669 duplicates by assuming that only colors matching "^System" are
12670 special "system colors". (Bug#9722)
12671
6978a151
SM
126722011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12673
12674 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12675 to distinguish the author from the committer.
12676
6a80b297
MA
126772011-10-18 Michael Albinus <michael.albinus@gmx.de>
12678
12679 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12680
b31a5677
JK
126812011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12682
12683 * international/mule.el (sgml-html-meta-auto-coding-function):
12684 Add support for detecting encoding in HTML5 specified only as
12685 <meta charset="UTF-8">. Implementation just makes http-equiv and
12686 content-type parts from HTML4 encoding string optional. (Bug#9716)
12687
80c6d77f
GM
126882011-10-18 Glenn Morris <rgm@gnu.org>
12689
12690 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12691
08b0fee8
CY
126922011-10-18 Chong Yidong <cyd@gnu.org>
12693
12694 * faces.el (cursor): Doc fix.
12695
67e729a5
CY
126962011-10-17 Chong Yidong <cyd@gnu.org>
12697
12698 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12699
343a34ff 127002011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
12701
12702 * dirtrack.el (dirtrack): Support shell buffers with path
12703 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12704
0bc06380
TZ
127052011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12706
12707 * json.el: Bump version to 1.3 and note change in History.
12708 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12709
8b79f3e0
SM
127102011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12711
5a7c536b
SM
12712 * comint.el (comint-insert-input, comint-send-input)
12713 (comint-get-old-input-default, comint-backward-matching-input)
12714 (comint-next-prompt): Use nil instead of `input' for field property of
12715 past user input (bug#114).
12716
96a8a0df
SM
12717 * minibuffer.el (completion--replace): Inherit surrounding properties
12718 (bug#114).
12719 (minibuffer-complete-and-exit): Use it.
12720
8b79f3e0
SM
12721 * comint.el (comint--table-subvert): Quote the all-completions output
12722 (bug#9160).
12723
b8f7ff0d
MR
127242011-10-17 Martin Rudalics <rudalics@gmx.at>
12725
8b79f3e0 12726 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 12727
b8f7ff0d 12728 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 12729 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
12730 entries and separate them from frame entries.
12731
c235b555
GM
127322011-10-15 Glenn Morris <rgm@gnu.org>
12733
12734 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12735 Doc fixes.
12736
6bbfa6e1
CY
127372011-10-15 Chong Yidong <cyd@stupidchicken.com>
12738
8b79f3e0
SM
12739 * net/network-stream.el (network-stream-open-starttls):
12740 Improve detection of failure due to lack of TLS support.
ec5c990d 12741
6bbfa6e1
CY
12742 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12743 putting the input text in front and in bold.
12744
98488977
SM
127452011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12746
3d1337be
SM
12747 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12748
ee0b45e4
SM
12749 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12750 empty buffer.
12751
98488977
SM
12752 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12753 unread-command-events rather than pushing yet-another event.
12754
186f4720
EZ
127552011-10-14 Eli Zaretskii <eliz@gnu.org>
12756
12757 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12758 the explanation of the possible choices. Make the options passed
12759 to completing-read shorter.
12760
8b7a997c
AM
127612011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12762
12763 * textmodes/flyspell.el (flyspell-large-region): Make sure
12764 extended character mode is used if defined (Bug#1339).
12765
12587bbb
EZ
127662011-10-13 Eli Zaretskii <eliz@gnu.org>
12767
12768 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
12769 character info for LRE, LRO, RLE, and RLO characters by appending
12770 an invisible PDF.
12587bbb 12771
bad41229
SM
127722011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12773
12774 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12775 even in case of error; add debug spec; simplify data flow.
12776 (with-timeout-handler): Remove.
12777
28dbc92f
MA
127782011-10-12 Michael Albinus <michael.albinus@gmx.de>
12779
12780 Fix Bug#6019, Bug#9315.
12781
12782 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12783 complete `buffer-file-name', the local file name part could look
12784 remotely (for example on VMS).
12785
12786 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12787 `tramp-run-real-handler'.
12788 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12789 already quoted by '"'.
12790
12791 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12792 Let `file-name-handler-alist' be nil, the local file name part
12793 could look remotely (for example on VMS).
12794
e1b0b23a
SM
127952011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12796
12797 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12798 from here...
12799 (flyspell-post-command-hook): ...to here.
12800
a120bde9
SM
128012011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12802
12803 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12804 if not needed.
12805 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12806 using completion. Protect against "slow" callers.
12807 Remove the "message hack".
12808
7ce7717b
JL
128092011-10-11 Juri Linkov <juri@jurta.org>
12810
12811 * isearch.el (isearch-lazy-highlight-word): New variable.
12812 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12813 Use it. (Bug#9727)
12814
c02ee9d6
GM
128152011-10-11 Glenn Morris <rgm@gnu.org>
12816
12817 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12818 like f90-previous-statement does.
12819
93e616fd 128202011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12821
1f190e73 12822 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
12823 only in interactive use, to avoid error.
12824
af7b6078
SM
128252011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12826
12827 * minibuffer.el (completion-file-name-table): Fix last change,
12828 i.e. ignore normal errors but not the other ones.
12829
0563dae9
MR
128302011-10-10 Martin Rudalics <rudalics@gmx.at>
12831
12832 * window.el (special-display-buffer-names)
12833 (special-display-regexps): Remove some remnants of earlier
12834 changes from doc-strings.
366ca7f3
MR
12835 (quit-windows-on): New function.
12836
12837 * vc/vc.el (vc-revert, vc-rollback):
12838 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12839 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 12840 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 12841
49677495
MR
128422011-10-09 Martin Rudalics <rudalics@gmx.at>
12843
12844 * window.el (frame-auto-hide-function): Add version tag.
12845 (Bug#9699)
12846
56f2d1e1
MA
128472011-10-09 Michael Albinus <michael.albinus@gmx.de>
12848
12849 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12850 condition.
12851
112a6592
LL
128522011-10-09 Leo Liu <sdl.web@gmail.com>
12853
12854 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12855 (Bug#9701)
12856
0812589b
GM
128572011-10-08 Glenn Morris <rgm@gnu.org>
12858
12859 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12860 before the first code statement zero indent. (Bug#9690)
12861
b2b0776e
CY
128622011-10-08 Chong Yidong <cyd@stupidchicken.com>
12863
12864 * simple.el (count-words-region): Always count in the region.
12865 Report the number of lines and characters too.
12866 (count-words): New command, which counts in the buffer if the
12867 region is inactive, as count-words-region used to.
12868 (count-words--message): New function. Handle plurals.
12869 (count-lines-region): Make it an alias for count-words-region.
12870
12871 * bindings.el (esc-map): Replace count-lines-region with
12872 count-words-region.
12873
c557cd6b
MR
128742011-10-08 Martin Rudalics <rudalics@gmx.at>
12875
12876 * window.el (window--delete): Delete dedicated frame
12877 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 12878 (switch-to-buffer): Fix doc-string typo.
c557cd6b 12879
61a57ef4 128802011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12881
3a7d293b 12882 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 12883
c3833279
CY
128842011-10-07 Chong Yidong <cyd@stupidchicken.com>
12885
12886 * bindings.el ([M-left],[M-right]): Bind to left-word and
12887 right-word respectively.
12888
21ce8245
GM
128892011-10-07 Glenn Morris <rgm@gnu.org>
12890
12891 * cus-start.el (debug-on-quit): Fix custom type.
12892
6d823bb2
LMI
128932011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12894
0181e193
LMI
12895 * subr.el (define-key-after): Clarify that the function is not
12896 useful for non-menu keymaps.
12897
6d823bb2
LMI
12898 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12899
8e3459ce 129002011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12901
21ce8245 12902 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 12903 in current minibuffer (Fix bug with recursive minibuffers).
12904
a1c2d21e
CY
129052011-10-06 Chong Yidong <cyd@stupidchicken.com>
12906
12907 * progmodes/gdb-mi.el (gdb): Doc fix.
12908
5a4cf282
MR
129092011-10-05 Martin Rudalics <rudalics@gmx.at>
12910
12911 * window.el (frame-auto-hide-function): New option replacing
12912 frame-auto-delete. Suggested by Stefan Monnier.
12913 (window--delete): Call frame-auto-hide-function instead of
12914 investigating frame-auto-delete.
c96111ea
MR
12915 (window-point-1, set-window-point-1): New functions.
12916 (window-in-direction, record-window-buffer, window-state-get-1)
12917 (display-buffer-record-window): Use window-point-1 instead of
12918 window-point.
12919 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 12920
9854542e
SM
129212011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12922
12923 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12924
8943cfb0
GM
129252011-10-05 Glenn Morris <rgm@gnu.org>
12926
12927 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12928 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12929
647ab967
LL
129302011-10-05 Leo Liu <sdl.web@gmail.com>
12931
12932 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12933 works with buffer object.
12934
3ddfbced
SM
129352011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12936
12937 * mpc.el (mpc-tool-bar-map): Add labels.
12938
bdfa5dd2
GM
129392011-10-04 Glenn Morris <rgm@gnu.org>
12940
12941 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12942
0e2070b5
MR
129432011-10-04 Martin Rudalics <rudalics@gmx.at>
12944
12945 * window.el (window--delete): New function.
12946 (frame-auto-delete): Resuscitate option.
12947 (bury-buffer, replace-buffer-in-windows)
12948 (quit-window): Rewrite using window--delete.
12949 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12950 Pass display-buffer-mark-dedicated to window--display-buffer-2
12951 (Bug#9639).
12952
3dc61a09
SM
129532011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12954
915a9b64
SM
12955 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12956 returns a list (bug#9554). Add remote file name completion.
12957 * comint.el (comint--table-subvert): Curry and get quote&unquote
12958 functions as arguments.
12959 (comint--complete-file-name-data): Adjust call accordingly.
12960 * pcomplete.el (pcomplete--table-subvert): Remove.
12961 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12962
3dc61a09
SM
12963 * minibuffer.el (completion-table-case-fold): Use currying.
12964 (completion--styles-type, completion--cycling-threshold-type):
12965 New constants.
12966 (completion-styles, completion-category-overrides)
12967 (completion-cycle-threshold): Use them.
12968 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12969 completion-table-case-fold.
12970
8ea0a993
SB
129712011-10-03 Stephen Berman <stephen.berman@gmx.net>
12972
12973 * minibuffer.el (completion-category-overrides): Fix type of styles
12974 and add more user friendly tags (bug#9660).
12975
8c24b7f6
SM
129762011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12977
12978 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12979 (mule-input-method-string): New widget.
12980 (default-input-method, language-info-custom-alist): Use it.
12981
428fe61a
SM
129822011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12983
32c1fffd
SM
12984 * pcomplete.el: Require comint.
12985 (pcomplete--common-suffix): Remove.
12986 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12987 (pcomplete--table-subvert): Sync with comint--table-subvert.
12988 (pcomplete--entries): Use comint-completion-file-name-table.
12989 * comint.el (comint-unquote-filename): Simplify.
12990 (comint-completion-file-name-table): New function (bug#9616).
12991 (comint--complete-file-name-data): Use it.
12992
428fe61a
SM
12993 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12994 (pcmpl-gnu-tar-buffer): Remove.
12995 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
12996 around. Make sure pcomplete-suffix-list is only changed temporarily.
12997 Don't look inside the tar's file if it's too large.
428fe61a 12998
04c52e2f
CY
129992011-10-01 Chong Yidong <cyd@stupidchicken.com>
13000
ce3cefcc
CY
13001 * cus-edit.el (custom-mode-map):
13002 * epa.el (epa-key-list-mode-map):
13003 * man.el (Man-mode-map):
13004 * startup.el (splash-screen-keymap):
13005 * simple.el (special-mode-map): Use scroll-up-command and
13006 scroll-down-command.
13007
13008 * progmodes/idlw-help.el (idlwave-help-mode-map):
13009 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13010 * net/newst-plainview.el (newsticker-mode-map):
13011 * emulation/ws-mode.el (wordstar-mode-map):
13012 * emulation/vi.el (vi-com-map):
13013 * calc/calc-graph.el (calc-graph-show-dumb):
13014 * term/sun.el (terminal-init-sun):
13015 * term/ns-win.el (global-map):
13016 * progmodes/grep.el (grep-mode-map):
13017 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13018 * mail/rmail.el (rmail-mode-map):
13019 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13020
04c52e2f
CY
13021 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13022 custom-safe-themes as special.
13023
79adf8c8
JD
130242011-10-01 Julien Danjou <julien@danjou.info>
13025
13026 * notifications.el (notifications-notify): Fix docstring.
13027
63bd50d3
PS
130282011-10-01 Per Starbäck <per@starback.se>
13029
13030 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13031
199e4c7e
MR
130322011-09-30 Martin Rudalics <rudalics@gmx.at>
13033
13034 * startup.el (command-line-1): Fix last fix by inserting
13035 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 13036 (Bug#9605) and (Bug#9636)
199e4c7e 13037
fe5f08dd
EZ
130382011-09-29 Eli Zaretskii <eliz@gnu.org>
13039
13040 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13041 window is hscrolled, move by logical lines. (Bug#9607)
13042 (line-move-visual): Update the doc string to the above effect.
13043
b5516bbd
MR
130442011-09-29 Martin Rudalics <rudalics@gmx.at>
13045
ccee00c0
MR
13046 * window.el (display-buffer-record-window): When WINDOW is the
13047 selected window use `point' instead of `window-point'. (Bug#9626)
13048
b5516bbd
MR
13049 * startup.el (command-line-1): Use insert-before-markers when
13050 inserting initial-scratch-message. (Bug#9605)
ccee00c0 13051
b5516bbd
MR
13052 * help.el (help-window): Remove variable.
13053
52aa0014
GM
130542011-09-29 Glenn Morris <rgm@gnu.org>
13055
13056 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13057
df9a7357
JB
130582011-09-29 Juanma Barranquero <lekktu@gmail.com>
13059
13060 * descr-text.el (describe-char-categories): Accept category
13061 descriptions more than one line long.
13062
a8406c20
SM
130632011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13064
88d9610c
SM
13065 * simple.el (delete-trailing-whitespace): Fix last change.
13066
a5daf810
SM
13067 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13068 Don't confuse "y => 3" as the beginning of a `y' operation.
13069
a8406c20
SM
13070 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13071 object has more than 4 slots (bug#9613).
13072
a239d4e9
JB
130732011-09-28 Juanma Barranquero <lekktu@gmail.com>
13074
13075 * subr.el (with-output-to-temp-buffer):
13076 * net/quickurl.el (quickurl, quickurl-browse-url):
13077 Fix typos in docstrings.
13078
693fbdb6
EZ
130792011-09-27 Eli Zaretskii <eliz@gnu.org>
13080
13081 * minibuffer.el (completion-styles)
13082 (completion-category-overrides): Cross reference each other in doc
13083 strings.
13084
8b457e28
GM
130852011-09-27 Glenn Morris <rgm@gnu.org>
13086
13087 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13088 to split-string. (Bug#9606)
13089
85a16208
LMI
130902011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13091
13092 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13093 (bug#9615).
13094
502f9ebd
CY
130952011-09-27 Chong Yidong <cyd@stupidchicken.com>
13096
13097 * emacs-lisp/package.el (list-packages): Fix echo area message.
13098
7690bdea
LL
130992011-09-27 Leo Liu <sdl.web@gmail.com>
13100
13101 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13102
e2ee6f30
MA
131032011-09-25 Michael Albinus <michael.albinus@gmx.de>
13104
13105 * net/dbus.el (dbus-unregister-object): Don't release services for
13106 registered signals. (Bug#9581)
13107
f3f98342
TZ
131082011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13109
13110 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13111 function that picks between cfengine 2 and 3 support
13112 automatically. Update docs accordingly.
13113
dd7aa8dd
KH
131142011-09-22 Kenichi Handa <handa@m17n.org>
13115
13116 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13117 ZERO.
13118 (indian-itrans-v5-table-for-tamil): New variable.
13119 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13120
3f2b07f8
KM
131212011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13122
13123 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13124 that's true if the current command involved collapsing of text.
13125 It's reset to false at the beginning of the next command.
13126 (allout-post-command-business): Move the cursor to the beginning
13127 of entry if the cursor is hidden and collapsing activity just
13128 happened.
13129
371d6a61
CY
131302011-09-24 Chong Yidong <cyd@stupidchicken.com>
13131
13132 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13133 tracking (Bug#9541).
13134
2ac2721a
UJ
131352011-09-24 Ulf Jasper <ulf.jasper@web.de>
13136
13137 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
13138 (newsticker-show-news): Automatically load html rendering package
13139 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13140 because w3m-fill-column is let-bound" and the error "Symbol's value
13141 as variable is void: w3m-fill-column".
2ac2721a 13142
fac7ae53
MA
131432011-09-24 Michael Albinus <michael.albinus@gmx.de>
13144
13145 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13146 Release services only if they are defined. (Bug#9581)
13147
e08b633b
RS
131482011-09-23 Richard Stallman <rms@gnu.org>
13149
e488d29c
RS
13150 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13151 distinguish start of paragraph from start of its text.
13152
19c38752
RS
13153 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13154
e08b633b
RS
13155 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13156 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13157 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13158
0a39f27e
AS
131592011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13160
13161 * international/mule-diag.el (mule-diag): Insert a newline after
13162 each fontset description.
13163
db4e950d
SM
131642011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13165
13166 * simple.el (delete-trailing-whitespace):
13167 Document last change; simplify.
13168
eca3f3ea
PW
131692011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13170
d68e189a
PW
13171 * simple.el (delete-trailing-whitespace): Also delete
13172 extra newlines at the end of the buffer.
13173
eca3f3ea
PW
13174 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13175 (picture-newline): Use forward-line so as to ignore fields.
13176
01c157cc
SM
131772011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13178
13179 * subr.el (with-wrapper-hook): Fix edebug spec.
13180
022de23e
LMI
131812011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13182
13183 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13184 (bug#4538).
13185
91683089
MA
131862011-09-23 Michael Albinus <michael.albinus@gmx.de>
13187
eca3f3ea
PW
13188 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13189 Fix nasty bug using wrong cached values.
91683089 13190
5bdd6fa4
AM
131912011-09-23 Alan Mackenzie <acm@muc.de>
13192
13193 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13194
97adfb97
CY
131952011-09-23 Chong Yidong <cyd@stupidchicken.com>
13196
13197 * window.el (pop-to-buffer): Ensure right window is selected if we
13198 chose another frame.
13199
d4ef2b50
EZ
132002011-09-22 Eli Zaretskii <eliz@gnu.org>
13201
13202 * simple.el (what-cursor-position): Use get-char-property-change
13203 and next-single-char-property-change, to be able to show display
13204 properties that come from overlays as well as text properties.
13205
72258fe5
CY
132062011-09-22 Chong Yidong <cyd@stupidchicken.com>
13207
13208 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13209
13210 * cmuscheme.el (run-scheme, switch-to-scheme):
13211 * cus-edit.el (customize-group, custom-buffer-create)
13212 (customize-browse):
13213 * info.el (info):
13214 * shell.el (shell):
13215 * mail/sendmail.el (mail):
13216 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13217
8f098516
RS
132182011-09-22 Richard Stallman <rms@gnu.org>
13219
13220 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13221 move back only to line beg, don't move back over blank lines.
13222
e74f1bb6
MA
132232011-09-22 Michael Albinus <michael.albinus@gmx.de>
13224
13225 * files.el (copy-directory): Set directory attributes only in case
13226 they could be retrieved from the source directory. (Bug#9565)
13227
bfeef8b6
DK
132282011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13229
13230 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13231 (hs-find-block-beginning, hs-hide-level-recursive):
13232 Ignore strings as well as comments. (Bug#9502)
13233
7e423bb8
AS
132342011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13235
13236 * progmodes/sql.el (sql-comint-postgres):
13237 Convert port number to a string. (Bug#9566)
13238
b4d72fcf
MR
132392011-09-22 Martin Rudalics <rudalics@gmx.at>
13240
13241 * window.el (quit-window): Undedicate window when switching to
13242 previous buffer. Reported by Thierry Volpiatto
13243 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
13244 (special-display-popup-frame): When popping up a new frame reset
13245 its previous buffers to nil. Simplify code.
b4d72fcf 13246
a7b88dc6
MA
132472011-09-21 Michael Albinus <michael.albinus@gmx.de>
13248
13249 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13250 and process filter, as done also in `shell-command'.
13251
cf4eacfd
MR
132522011-09-21 Martin Rudalics <rudalics@gmx.at>
13253
eca3f3ea 13254 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
13255 Call set-window-start with NOFORCE argument t.
13256 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
13257 (quit-window): Reword doc-string. Handle new format of
13258 quit-restore parameter. Don't delete window if it has a
13259 previous buffer we can show instead of the present one.
13260 (display-buffer-record-window): Rewrite using a new format for
13261 the quit-restore window parameter
13262 (special-display-popup-frame, display-buffer-same-window)
13263 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13264 (display-buffer-pop-up-window, display-buffer-use-some-window):
13265 Adapt symbol passed to display-buffer-record-window.
13266 * help.el (help-window-setup): Handle new format of quit-restore
13267 parameter.
13268
8d28cb95
SM
132692011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13270
94ab793f
SM
13271 * faces.el (face-list): Fix docstring (bug#9564).
13272
8d28cb95
SM
13273 * window.el (display-buffer--action-function-custom-type):
13274 Don't include internal functions in the Custom interface.
13275
3820edeb
JL
132762011-09-20 Juri Linkov <juri@jurta.org>
13277
13278 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13279 (Info-forward-node, Info-backward-node, Info-next-preorder)
13280 (Info-last-preorder): Use it. (Bug#9528)
13281
5147931d
JL
132822011-09-20 Juri Linkov <juri@jurta.org>
13283
13284 * info.el (Info-last-preorder): Visit last menu item only when
13285 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13286
cf499a1a
JD
132872011-09-20 Julien Danjou <julien@danjou.info>
13288
13289 * password-cache.el (password-cache-remove): Remove entries even if the
13290 value is nil, so that password with a nil value (negative caching) is
13291 possible to invalidate.
13292
f84e2fe2
LM
132932011-09-20 Lawrence Mitchell <wence@gmx.li>
13294
13295 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13296 all whitespace around breakpoint. (Bug#9553)
13297 (f90-find-breakpoint): Only break at whitespace inside a comment.
13298
78054a46
SM
132992011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13300
13301 * minibuffer.el (completion-file-name-table): Keep track of errors.
13302 (completion-table-with-predicate): Handle the case where pred1 is nil.
13303 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13304
345083b2
SM
133052011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13306
e24e27be
SM
13307 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13308 (debugger-return-value): Signal an error if the debugging context does
13309 not await any return value.
13310
345083b2
SM
13311 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13312 * image-mode.el (image-toggle-display-text)
13313 (image-toggle-display-image): Stay away from evil `intangible'.
13314
08d355e3
LL
133152011-09-19 Leo Liu <sdl.web@gmail.com>
13316
13317 * replace.el (occur-revert-arguments): Make it permanent-local.
13318 (occur-mode): Don't call font-lock-defontify.
13319
f01da43f
CY
133202011-09-19 Chong Yidong <cyd@stupidchicken.com>
13321
13322 * net/ldap.el (ldap-search-internal): Don't push empty search
13323 result (Bug#9508).
13324
b6072fa6
SM
133252011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13326
13327 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13328
443d6696
MA
133292011-09-19 Michael Albinus <michael.albinus@gmx.de>
13330
13331 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13332 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13333
7cc6e154
JL
133342011-09-18 Juri Linkov <juri@jurta.org>
13335
13336 * buff-menu.el (Buffer-menu-mode-map):
13337 * dired.el (dired-mode-map):
13338 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13339 (lisp-interaction-mode-map):
13340 * emacs-lisp/package.el (package-menu-mode-map):
13341 * epa.el (epa-key-list-mode-map):
13342 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13343 (menu-bar-options-menu):
13344 * outline.el (outline-mode-menu-bar-map):
13345 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13346 * vc/vc-dir.el (vc-dir-menu-map):
13347 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13348 Capitalize non-function content words in menu item strings.
13349
13350 * dired.el (dired-mode-map): Add menu item for
13351 `image-dired-dired-toggle-marked-thumbs'.
13352
80302a81
JL
133532011-09-18 Juri Linkov <juri@jurta.org>
13354
13355 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13356 to `isearch-case-fold-search' and restore its original value
13357 after the `isearch-mode' call.
13358
46c5cf66
JL
133592011-09-18 Juri Linkov <juri@jurta.org>
13360
13361 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13362 because `zgrep' returns 1 for successful matches (bug#9226).
13363
d18b513b
JL
133642011-09-18 Juri Linkov <juri@jurta.org>
13365
13366 * info.el (Info-extract-menu-node-name): Check the second match
13367 for empty string (second test-case of bug#9528).
13368 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13369 intermediate nodes to the history (first test-case of bug#9528).
13370
72753f87
JL
133712011-09-18 Juri Linkov <juri@jurta.org>
13372
13373 * info.el (Info-mode-syntax-table): New variable.
1154d12e 13374 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 13375
c9384295
JL
133762011-09-18 Juri Linkov <juri@jurta.org>
13377
1154d12e
JB
13378 * info.el (Info-file-supports-index-cookies):
13379 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13380 outputs one more line for long file names (bug#4142).
c9384295 13381
d473dce8
CY
133822011-09-18 Chong Yidong <cyd@stupidchicken.com>
13383
13384 * newcomment.el (comment-normalize-vars): If prompting for
13385 comment-start, set comment-start-skip too (Bug#8424).
13386
2176854d
JB
133872011-09-18 Johan Bockgård <bojohan@gnu.org>
13388
13389 * icomplete.el: Fix previous fix of Bug#5849.
13390 (icomplete-mode): Don't set completion-show-inline-help.
13391 (icomplete-minibuffer-setup): Set completion-show-inline-help
13392 locally during icompletion.
13393
3aace4e4
CY
133942011-09-18 Chong Yidong <cyd@stupidchicken.com>
13395
c940224f
CY
13396 * woman.el (woman2-process-escapes): Don't delete unrecognized
13397 escapes (Bug#7843).
13398
3aace4e4
CY
13399 * files.el (inhibit-first-line-modes-regexps): Add image files.
13400 (hack-local-variables-prop-line): Return nil for malformed
13401 prop-lines (Bug#9044).
13402
710dec63
MA
134032011-09-18 Michael Albinus <michael.albinus@gmx.de>
13404
13405 * net/tramp.el (top): Don't require 'shell.
13406 (tramp-methods): Fix docstring.
13407 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
13408 Return complete remote file name. Handle "smb" case.
13409 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
13410 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13411
13412 * net/tramp-compat.el (top): Require 'shell.
13413
13414 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13415 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13416 `tramp-current-host'.
13417 (tramp-get-remote-tmpdir): Remove.
13418
13419 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13420 `tramp-tmpdir' entries.
13421 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13422 (tramp-smb-handle-file-attributes): Ignore errors.
13423 (tramp-smb-wait-for-output): Check also for process end.
13424
5d5ac8ec
LMI
134252011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13426
13427 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13428 when sending QUIT (bug#9312).
13429
8c0f49f0
CY
134302011-09-17 Chong Yidong <cyd@stupidchicken.com>
13431
13432 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13433 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13434 occur-mode-display-occurrence.
13435 (occur-edit-mode): Add usage message.
13436 (occur-cease-edit): New command.
13437 (occur-after-change-function): Use text properties to find the
13438 position of the prefix text.
13439 (occur-engine): Set stickiness of prefix text properties.
13440
8f1383f7
GM
134412011-09-17 Glenn Morris <rgm@gnu.org>
13442
13443 * progmodes/etags.el (complete-tag):
13444 Fix call to completion-in-region. (Bug#9526)
13445
744ba0e3
JL
134462011-09-17 Juri Linkov <juri@jurta.org>
13447
13448 * textmodes/ispell.el (ispell-word): Add to the error message
13449 the word, ispell program name and current dictionary (bug#9121).
13450 (ispell-tex-arg-end): Capitalize "error" in the error message.
13451
d9bbf400
AS
134522011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13453
13454 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13455 check. (Bug#4251)
13456
8da11505
JL
134572011-09-17 Juri Linkov <juri@jurta.org>
13458
13459 * window.el (window-safe-min-height, window-safe-min-width):
13460 Fix typos (followup to bug#9522).
13461
a91adc7e
SJ
134622011-09-17 Sven Joachim <svenjoac@gmx.de>
13463
13464 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13465
064f328a
EZ
134662011-09-16 Eli Zaretskii <eliz@gnu.org>
13467
13468 * simple.el (line-move): If goal-column is set, move by logical
13469 lines, not by display lines. (Bug#971)
13470 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13471 to reflect the above change.
13472
e69df516
SM
134732011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13474
13475 * image.el (imagemagick-register-types): Use regexp-opt.
13476
cbb0f9ab
CY
134772011-09-15 Chong Yidong <cyd@stupidchicken.com>
13478
13479 * window.el (display-buffer-base-action): Rename from
13480 display-buffer-default-action. Make default value empty.
13481 (display-buffer-overriding-action): Convert to defvar.
13482 (display-buffer-fallback-action): New var.
13483
25322144
CY
134842011-09-15 Chong Yidong <cyd@stupidchicken.com>
13485
13486 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13487 declaration.
13488 (package--add-to-archive-contents): If there is a duplicate entry
13489 with an older version, remove it.
13490 (package-menu-mark-delete, package-menu-mark-install)
13491 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
13492 (package-menu-mark-obsolete-for-deletion):
13493 Use package-menu-get-status instead of a regexp search.
25322144
CY
13494 (package-menu-get-status): Use tabulated-list-entry.
13495 (package-menu-mark-upgrades): New command.
d770725a 13496 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
13497 (package-menu-execute): Do installation before deletion.
13498 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13499 instead of checking major-mode.
13500 (package-menu--find-upgrades): New function.
13501
7520339c
LMI
135022011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13503
13504 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13505 passwords in the log buffer.
65a046c4
LMI
13506 (smtpmail-process-filter): Update the process marker so that the
13507 "broken by peer" status message is inserted in the right place.
7520339c 13508
d3c30954
SM
135092011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13510
3fe48822
SM
13511 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13512 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13513 bibtex-completion-at-point-function.
13514 (bibtex-completion-at-point-function): Use them.
13515
1b8b3954
SM
13516 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13517
d3c30954
SM
13518 * mpc.el (mpc-constraints-tag-lookup): New function.
13519 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13520 also to browser "album|playlist".
13521
72779976
JL
135222011-09-14 Juri Linkov <juri@jurta.org>
13523
13524 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13525 (isearch-edit-string): Use length of `isearch-string' when
13526 `isearch-fail-pos' returns nil.
13527 (isearch-message): Remove duplicate code and call
13528 `isearch-fail-pos' with arg `t'.
13529
a0bf2bcd
CY
135302011-09-14 Chong Yidong <cyd@stupidchicken.com>
13531
17bb0a2d
CY
13532 * replace.el (occur-mode-goto-occurrence): Don't force using other
13533 window (Bug#9499).
13534
a0bf2bcd
CY
13535 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13536
f678e0b6
MR
135372011-09-14 Martin Rudalics <rudalics@gmx.at>
13538
13539 * window.el (display-buffer-window): Remove.
13540 (display-buffer-record-window): Use help-setup window parameter
13541 instead of variable display-buffer-window.
13542 (display-buffer-function, special-display-buffer-names)
13543 (special-display-function): Mention help-setup parameter instead
13544 of display-buffer-window in doc-string.
d3c30954
SM
13545 * help.el (help-window-setup): New argument help-window.
13546 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
13547 Reword some messages.
13548 (with-help-window): Pass window used for displaying the buffer
13549 to help-window-setup. Don't set display-buffer-window.
13550
8e39b2e8
GM
135512011-09-13 Glenn Morris <rgm@gnu.org>
13552
13553 * emacs-lisp/debug.el (debugger-make-xrefs):
13554 Preserve point. (Bug#9462)
13555
85e9c04b
CY
135562011-09-13 Chong Yidong <cyd@stupidchicken.com>
13557
13558 * window.el (window-deletable-p): Use next-frame.
13559
1b36ed6a
MR
135602011-09-13 Martin Rudalics <rudalics@gmx.at>
13561
13562 * window.el (window-auto-delete): Remove.
13563 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 13564 dedication and previous buffers.
1b36ed6a
MR
13565 (switch-to-prev-buffer): Don't delete window.
13566 (delete-windows-on): Delete a window's frame if and only if the
13567 window is dedicated.
13568 (replace-buffer-in-windows): Delete buffer's window or frame if
13569 and only if window is dedicated.
13570 (quit-window): Handle quit-restore as before last change.
4d61f28d 13571 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 13572
ef8ef9fb
CY
135732011-09-13 Chong Yidong <cyd@stupidchicken.com>
13574
13575 * window.el (window-deletable-p): Never delete the last frame on a
13576 given terminal.
13577
b2cba41e
GM
135782011-09-13 Glenn Morris <rgm@gnu.org>
13579
13580 * help.el (describe-key-briefly): Copy previous standard-output change.
13581
51553db6 135822011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
13583
13584 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13585
b7556719
GM
135862011-09-13 Glenn Morris <rgm@gnu.org>
13587
13588 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13589 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13590
64b51947
CY
135912011-09-12 Chong Yidong <cyd@stupidchicken.com>
13592
13593 * dired-aux.el (dired-mark-read-string): Don't return default
13594 value on empty input (Bug#9361).
13595 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13596 Omit initial minibuffer contents.
13597 (dired-do-chmod): Signal an error on empty input.
13598 (dired-mark-read-string): Don't return default on empty input.
13599
13600 * files.el (file-modes-symbolic-to-number): Doc fix.
13601
393a301e
SM
136022011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13603
13604 * international/mule-cmds.el (ucs-completions): Remove.
13605 (read-char-by-name): Use complete-with-action instead; add metadata.
13606
fa5660f9
CY
136072011-09-11 Chong Yidong <cyd@stupidchicken.com>
13608
13609 * window.el (display-buffer--action-function-custom-type)
13610 (display-buffer--action-custom-type): New vars.
13611 (display-buffer-alist, display-buffer-default-action)
13612 (display-buffer-overriding-action): Add defcustom types.
13613
4a592f66
CY
13614 * frame.el (delete-other-frames): Doc fix (Bug#276).
13615
73d56dbd
LMI
136162011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13617
13618 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13619
37ac18a3
CY
136202011-09-11 Chong Yidong <cyd@stupidchicken.com>
13621
13622 Change modes that used same-window-* vars to use switch-to-buffer.
13623
13624 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13625 Use switch-to-buffer.
13626
13627 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
13628 (customize-browse, custom-buffer-create-other-window):
13629 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
13630
13631 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13632 (Info-prev, Info-up, Info-speedbar-goto-node)
13633 (info-display-manual): Use switch-to-buffer.
13634 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13635
13636 * mail/sendmail.el (mail): Use switch-to-buffer.
13637 (mail-recover): Use switch-to-buffer-other-window.
13638
13639 * cmuscheme.el (run-scheme, switch-to-scheme):
13640 * ielm.el (ielm):
13641 * shell.el (shell):
13642 * net/rlogin.el (rlogin):
13643 * net/telnet.el (telnet, rsh):
13644 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13645
10195bd6
AS
136462011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13647
13648 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13649
b322f63a
LMI
136502011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13651
39d7fed6
LMI
13652 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13653 so don't mention it (bug#9301).
ba5a81f1 13654 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 13655
ee0e9f11
LMI
13656 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13657 match `x', `w32' and `ns', like the manual says (bug#9029).
13658
0b1c89c1 13659 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
13660 (process-kill-buffer-query-function): Mention the buffer name in
13661 the query.
0b1c89c1 13662
77549ea8
LMI
13663 * image-mode.el (image-next-line): The line parameter is mandatory
13664 (bug#9258).
13665
803ef892
LMI
13666 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13667 which can be useful (bug#9301).
13668
12980837
LMI
13669 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13670
91054f8f
LMI
13671 * subr.el (match-string): Mention that the current buffer should
13672 be the same as the search was done in (bug#9282).
13673
b322f63a
LMI
13674 * facemenu.el: Disable the remove-* commands if the mark isn't
13675 active (bug#9162).
13676
3199b96f
CY
136772011-09-10 Chong Yidong <cyd@stupidchicken.com>
13678
13679 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13680 of display-buffer.
13681 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13682
13683 * replace.el (occur-mode-goto-occurrence)
13684 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13685 and display-buffer.
13686
13687 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13688 display-buffer.
13689
13690 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13691 special-display and same-window variables.
13692 (mail-other-window): Use switch-to-buffer-other-window.
13693 (mail-other-frame): USe switch-to-buffer-other-frame.
13694
393a301e
SM
13695 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13696 Use display-buffer-other-frame.
3199b96f
CY
13697 (gdb-display-gdb-buffer): Use pop-to-buffer.
13698
13699 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13700
13701 * progmodes/python.el: Don't set same-window-buffer-names.
13702
13703 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13704
13705 * window.el (display-buffer-alist): Add *Python*.
13706
8319e0bf
CY
137072011-09-10 Chong Yidong <cyd@stupidchicken.com>
13708
13709 * window.el (display-buffer-alist): Add entry for buffers
13710 previously handled same-window-*.
13711 (display-buffer-alist, display-buffer-default-action)
13712 (display-buffer-overriding-action): Mark as risky.
13713 (display-buffer-alist): Document action function changes.
13714 (display-buffer--same-window-action)
13715 (display-buffer--other-frame-action): New variables.
13716 (switch-to-buffer, display-buffer-other-frame): Use them.
13717 (display-buffer): Rename reuse-frame entry to reusable-frames.
13718 (display-buffer-reuse-selected-window): Function deleted.
13719 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13720 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13721 (display-buffer-special): New function.
13722 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13723 display-buffer-reuse-or-pop-window. Split off special-display
13724 part into display-buffer-special.
13725 (display-buffer-use-some-window): Don't perform any special
13726 pop-up-frames handling.
13727 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 13728 (display-buffer--maybe-same-window): Rename from
0d3ff375 13729 display-buffer-maybe-same-window.
8319e0bf 13730
919a69aa
CY
13731 * info.el: Don't set same-window-regexps.
13732 (info-setup): New function.
13733 (info-other-window, info): Call it.
13734
13735 * cus-edit.el: Don't set same-window-regexps.
13736 (customize-group): New argument.
13737 (customize-group-other-window): Use it.
13738 (customize-face, customize-face-other-window): Likewise.
13739 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13740
8319e0bf
CY
13741 * net/rlogin.el:
13742 * net/telnet.el:
13743 * progmodes/gud.el: Don't set same-window-regexps.
13744
13745 * cmuscheme.el:
13746 * ielm.el:
13747 * shell.el:
13748 * mail/sendmail.el:
13749 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13750
25173000
JL
137512011-09-10 Juri Linkov <juri@jurta.org>
13752
13753 * isearch.el (isearch-edit-string): Remove obsolete mention of
13754 `C-w' (`isearch-yank-word-or-char') from docstring.
13755 (isearch-query-replace): Fix typo in docstring (bug#9466).
13756
056e44ef
JL
137572011-09-10 Juri Linkov <juri@jurta.org>
13758
13759 * paren.el (show-paren-function): Don't show escaped parens.
13760 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13761
c3760c17
EZ
137622011-09-10 Eli Zaretskii <eliz@gnu.org>
13763
13764 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13765 (mm-default-file-encoding): Remove autoload forms, they are
13766 replaced with autoload cookies in mml.el and mm-encode.el.
13767 (mail-add-attachment): New command.
13768 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13769 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13770 the doc string.
13771 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13772
fece895e
RT
137732011-09-10 Reuben Thomas <rrt@sc3d.org>
13774
e69df516
SM
13775 * simple.el (count-words-region): Use buffer if there's no region
13776 (bug#9429).
fece895e 13777
5e68ce4a
JL
137782011-09-09 Juri Linkov <juri@jurta.org>
13779
13780 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13781 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13782 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13783
0a6b9622
AM
137842011-09-09 Alan Mackenzie <acm@muc.de>
13785
13786 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13787 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13788
14a29deb
EZ
137892011-09-09 Eli Zaretskii <eliz@gnu.org>
13790
13791 Fix for Savannah bug#9392.
13792 * simple.el (mail-encode-mml): New defvar.
13793
13794 * mail/rmail.el (mail-encode-mml): Add a defvar.
13795 (rmail-enable-mime-composing): Default to t.
13796 (rmail-forward): Use MIME method of forwarding only if both
13797 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13798 Set mail-encode-mml non-nil if the MIME method was used.
13799
13800 * mail/sendmail.el (mml-to-mime): Add autoload form.
13801 (mail-encode-mml): Add a defvar.
13802 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13803 to nil.
13804 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13805 message through mml-to-mime, and reset mail-encode-mml to nil.
13806
28c45130
GM
138072011-09-09 Glenn Morris <rgm@gnu.org>
13808
13809 * woman.el (woman-if-body): When processing an .el block,
13810 do not delete the next .el block as well. (Bug#9447)
69f4b618 13811 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 13812
9b1c252e
MR
138132011-09-08 Martin Rudalics <rudalics@gmx.at>
13814
13815 * window.el (window-deletable-p): Make sure window is live before
13816 invoking window-prev-buffers.
13817
567457e3
LL
138182011-09-08 Leo Liu <sdl.web@gmail.com>
13819
13820 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13821
97f05794
JL
138222011-09-08 Juri Linkov <juri@jurta.org>
13823
13824 * progmodes/compile.el (compilation-environment): Make it
13825 a defcustom (bug#8340).
13826
8b0874b5
MR
138272011-09-08 Martin Rudalics <rudalics@gmx.at>
13828
13829 * window.el (frame-auto-delete): Rename to window-auto-delete.
13830 Make it control auto-deletion of windows and/or frames.
13831 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 13832 for deleting window/frame. (Bug#9419)
8b0874b5
MR
13833 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13834 Rewrite handling of case when window/frame can be deleted.
13835 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 13836 argument t. (Bug#9456)
8b0874b5 13837
4feb6e73
CY
138382011-09-07 Chong Yidong <cyd@stupidchicken.com>
13839
13840 * help-mode.el (help-mode): Restore autoload.
13841
91ab9c13
JL
138422011-09-07 Juri Linkov <juri@jurta.org>
13843
13844 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13845 `compilation-environment'. Set buffer-local
13846 `compilation-environment' to `thisenv' later after (funcall mode).
13847 (Bug#8340)
13848
13849 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13850 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13851 instead of replacing its value. (Bug#8340)
13852
0527e251
JL
138532011-09-07 Juri Linkov <juri@jurta.org>
13854
13855 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13856 based on text properties put by `grep-filter' instead of matching
13857 escape sequences.
13858 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13859 to the value of `grep-error-screen-columns' (bug#9438).
13860
249f792c
JL
138612011-09-07 Juri Linkov <juri@jurta.org>
13862
13863 * simple.el (next-error-highlight, next-error-highlight-no-select):
13864 Doc fix (bug#9432).
13865
ff7271b9
OT
138662011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13867
13868 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13869 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13870
183fc730
LL
138712011-09-07 Leo Liu <sdl.web@gmail.com>
13872
13873 * net/rcirc.el (rcirc-mode): Conditionally initialize
13874 rcirc-input-ring.
13875
77694924
SM
138762011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13877
13878 * emacs-lisp/find-func.el (find-function-C-source): Only set
13879 find-function-C-source-directory after checking that we found a source
13880 file there (bug#9440).
13881
d809b8eb
AM
138822011-09-06 Alan Mackenzie <acm@muc.de>
13883
13884 * isearch.el (isearch-other-meta-char): Wherever a key list is
13885 unread, "unread" the prefix arg, too. This fixes bug #8901.
13886
453de99f
OG
138872011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13888
13889 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13890
90439906
JL
138912011-09-05 Juri Linkov <juri@jurta.org>
13892
13893 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13894
f62bd846
JL
138952011-09-05 Juri Linkov <juri@jurta.org>
13896
13897 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13898 keeping point where processing of grep matches begins, and
13899 continue to delete remaining escape sequences from the same point.
13900 (grep-filter): Make leading zero optional in "0?1;31m" because
13901 git-grep emits "\033[1;31m" escape sequences unlike expected
13902 "\033[01;31m" as GNU Grep does (bug#9408).
13903 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13904
045820ec
JL
139052011-09-05 Juri Linkov <juri@jurta.org>
13906
13907 * subr.el (y-or-n-p): Capitalize "yes".
13908
f5e29b9b
MA
139092011-09-04 Michael Albinus <michael.albinus@gmx.de>
13910
13911 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13912 `tramp-cache-unload-hook' where appropriate.
13913 (tramp-methods): Rename `tramp-remote-sh' to
13914 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13915 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13916
13917 * net/tramp-sh.el (top): Don't require 'shell.
13918 (tramp-methods): Add `tramp-remote-shell' and
13919 `tramp-remote-shell-args' entries.
13920 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13921 (tramp-sh-handle-shell-command): Remove.
13922 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13923 Use `tramp-remote-shell'.
13924
2784c434
CY
139252011-09-03 Chong Yidong <cyd@stupidchicken.com>
13926
393a301e 13927 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
13928 (sendmail-query-once): Save directly to send-mail-function.
13929 Update message-send-mail-function too.
13930
13931 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13932
464cdf56
CS
139332011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13934
13935 * progmodes/python.el (python-mode-map): Use correct function to
13936 start python interpreter from menu-bar (as reported by Geert
13937 Kloosterman).
13938 (inferior-python-mode-map): Fix typo.
393a301e 13939 (python-shell-map): Remove.
464cdf56 13940
d37e5c87
DD
139412011-09-03 Deniz Dogan <deniz@dogan.se>
13942
13943 * net/rcirc.el (rcirc-print): Simplify code for
13944 rcirc-scroll-show-maximum-output. There is no need to walk
13945 through all windows to find the right one.
13946
f3ada0ee
CS
139472011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13948
13949 * help.el (help-return-method): Doc fix.
13950
1f3c99ca
MR
139512011-09-03 Martin Rudalics <rudalics@gmx.at>
13952
13953 * window.el (window-deletable-p): Don't return a non-nil value
13954 when there's a buffer that was shown in the window before.
13955 (Bug#9419)
393a301e
SM
13956 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13957 Set window's previous buffers to nil.
1f3c99ca 13958
a3cf097f
EZ
139592011-09-03 Eli Zaretskii <eliz@gnu.org>
13960
13961 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13962 newline before and after the tag line, so it doesn't interfere
13963 with determining the paragraph direction of bidirectional text.
13964
3d03de90
LL
139652011-09-03 Leo Liu <sdl.web@gmail.com>
13966
13967 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13968
c3313451
CY
139692011-09-02 Chong Yidong <cyd@stupidchicken.com>
13970
393a301e 13971 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
13972 (pop-to-buffer): Change interactive spec. Pass second argument
13973 directly to display-buffer.
13974 (display-buffer): Fix interactive spec. Use functionp to
13975 distinguish between a function and a list of functions.
13976
13977 * abbrev.el (edit-abbrevs):
13978 * arc-mode.el (archive-extract):
13979 * autoinsert.el (auto-insert):
13980 * bookmark.el (bookmark-bmenu-list):
13981 * files.el (find-file):
13982 * view.el (view-buffer):
13983 * progmodes/compile.el (compilation-goto-locus):
13984 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13985
89894cd8
CY
139862011-09-02 Chong Yidong <cyd@stupidchicken.com>
13987
13988 * window.el (display-buffer-alist): Doc fix.
13989 (display-buffer): Add docstring. Don't treat
13990 display-buffer-default specially.
13991 (display-buffer-reuse-selected-window)
13992 (display-buffer-same-window, display-buffer-maybe-same-window)
13993 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13994 (display-buffer-pop-up-window)
13995 (display-buffer-reuse-or-pop-window)
13996 (display-buffer-use-some-window): New functions.
13997 (display-buffer-default-action): Use them.
393a301e 13998 (display-buffer-default): Delete.
89894cd8
CY
13999 (pop-to-buffer-1): Fix choice of actions.
14000
ae0bc9fb
SM
140012011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14002
14003 * minibuffer.el (completion--insert-strings): Don't get confused by
14004 completion entries that end with an LF char.
14005
e9d90883
EZ
140062011-09-01 Eli Zaretskii <eliz@gnu.org>
14007
14008 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14009
437014c8
CY
140102011-09-01 Chong Yidong <cyd@stupidchicken.com>
14011
14012 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
14013 (display-buffer-same-window, display-buffer-other-window):
14014 New functions.
437014c8
CY
14015 (pop-to-buffer-1): New function. Use the above.
14016 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 14017 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
14018
14019 * view.el (view-buffer-other-window, view-buffer-other-frame):
14020 Just use pop-to-buffer.
14021
a5e063d5
TV
140222011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14023
14024 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14025
793d32bb
WH
140262011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14027
14028 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14029
d65e4c15
RS
140302011-08-31 Richard Stallman <rms@gnu.org>
14031
14032 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14033 of the separation of rmail-view-buffer from rmail-buffer.
14034 If you say no to "replace original", the decrypt is in the
14035 view buffer. If you say yes, the decrypt goes into the
14036 rmail buffer also.
14037
f818cd2a
MR
140382011-08-31 Martin Rudalics <rudalics@gmx.at>
14039
14040 * window.el (display-buffer-window): Rewrite doc-string.
14041 (display-buffer-record-window): New function.
14042 (display-buffer-macro-specifiers)
14043 (display-buffer-even-window-sizes, display-buffer-set-height)
14044 (display-buffer-set-width, display-buffer-in-window)
14045 (display-buffer-reuse-window, display-buffer-split-specifiers)
14046 (display-buffer-side-specifiers, display-buffer-split-window-1)
14047 (display-buffer-split-window, display-buffer-split-atom-window)
14048 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14049 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14050 (display-buffer-other-window-means-other-frame)
14051 (display-buffer-normalize-special)
14052 (display-buffer-normalize-default)
14053 (display-buffer-normalize-argument)
14054 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14055 (display-buffer-normalize-specifiers, display-buffer-frame)
14056 (display-buffer-same-window, display-buffer-same-frame)
14057 (display-buffer-other-window)
14058 (display-buffer-same-frame-other-window)
14059 (display-buffer-other-frame, pop-to-buffer-same-window)
14060 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14061 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14062 (switch-to-buffer-same-frame)
14063 (switch-to-buffer-other-window-same-frame)
14064 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14065 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14066 (display-buffer-alist-set): Remove.
14067 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
14068 (special-display-regexps, special-display-function):
14069 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
14070 parameter.
14071 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14072 (special-display-frame-alist, special-display-popup-frame)
14073 (same-window-buffer-names, same-window-regexps, same-window-p)
14074 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14075 (split-window-preferred-function, split-height-threshold)
14076 (split-width-threshold, window-splittable-p)
14077 (split-window-sensibly, window--try-to-split-window)
14078 (window--frame-usable-p, even-window-heights)
14079 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
14080 (window--display-buffer-2, display-buffer-other-frame):
14081 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
14082 (display-buffer-default, display-buffer-assq-regexp): New functions.
14083 (display-buffer-alist): Rewrite doc-string.
14084 (display-buffer-default-action)
14085 (display-buffer-overriding-action): New variables.
14086 (display-buffer, switch-to-buffer): Rewrite.
14087 (pop-to-buffer): Restore Emacs 23 behavior but use
14088 window-normalize-buffer-to-display.
14089 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14090 Restore Emacs 23 behavior but use
14091 window-normalize-buffer-to-switch-to.
14092 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
14093 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14094 Rewrite using Emacs 23 options.
f818cd2a 14095
5bc3b51d
MA
140962011-08-31 Michael Albinus <michael.albinus@gmx.de>
14097
14098 * net/tramp.el (tramp-root-regexp): Remove.
14099 (tramp-completion-file-name-regexp-unified)
14100 (tramp-completion-file-name-regexp-separate)
14101 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 14102 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
14103 (tramp-drop-volume-letter): Simplify definition.
14104 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 14105
b1a4f8e1
SM
141062011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14107
14108 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14109 (bug#9356).
14110
5664fa7b
RT
141112011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14112
b1a4f8e1 14113 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 14114
9a45d6c3
JL
141152011-08-29 Juri Linkov <juri@jurta.org>
14116
14117 * isearch.el (isearch-done): Don't display message "Mark saved"
14118 when arg `edit' is non-nil to prevent its flicker in the echo area.
14119
fb87e0fb
CY
141202011-08-28 Chong Yidong <cyd@stupidchicken.com>
14121
14122 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14123 obsolete packages for deletion.
14124
09ac1c2a
CS
141252011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14126
14127 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 14128 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
14129 view-mode from help-mode.
14130 (help-xref-override-view-map): Remove.
14131 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14132 view-mode is not used anymore.
14133
7a1ff57f
CY
141342011-08-28 Chong Yidong <cyd@stupidchicken.com>
14135
14136 * server.el (server-port): Doc fix.
14137
b9696605
CY
14138 * cus-theme.el (custom-theme-choose-mode): Inherit from
14139 special-mode (Bug#9124).
14140 (custom-theme-choose-mode-map): Add special-mode to parent.
14141
ef8cdf8c
AM
141422011-08-28 Alan Mackenzie <acm@muc.de>
14143
14144 * progmodes/cc-fonts.el
14145 (c-make-font-lock-BO-decl-search-function): New function.
14146 (c-basic-matchers-after - "Fontify the clauses after various
14147 keywords"): Extract the three keyword lists for the 3 erroneous
14148 constructs from the list of four, and use the new function above
14149 in place of an old one.
14150
27de4e20
DD
141512011-08-28 Deniz Dogan <deniz@dogan.se>
14152
14153 * net/rcirc.el (rcirc-insert-prev-input)
14154 (rcirc-insert-next-input): Remove unused argument.
14155
356a3681
SM
141562011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14157
14158 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14159
3fc9b218
AM
141602011-08-27 Alan Mackenzie <acm@muc.de>
14161
14162 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14163 handle function pointer parameters properly.
14164
538a061c
MR
141652011-08-27 Martin Rudalics <rudalics@gmx.at>
14166
14167 * window.el (display-buffer-reuse-window): Fix case where
14168 selected window was reused with non-nil OTHER-WINDOW argument.
14169 (Bug#9381)
14170
35b1c40c
DD
141712011-08-27 Deniz Dogan <deniz@dogan.se>
14172
14173 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14174 oftc's NickServ messages.
14175
2f6a3e79
GM
141762011-08-27 Glenn Morris <rgm@gnu.org>
14177
14178 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14179
7254299e
CY
141802011-08-26 Chong Yidong <cyd@stupidchicken.com>
14181
14182 * emacs-lisp/package.el (package-install): Call package-initialize
14183 if called interactively.
14184
f8ccf167
LL
141852011-08-26 Leo Liu <sdl.web@gmail.com>
14186
14187 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14188
3e8cd5ce
JL
141892011-08-25 Juri Linkov <juri@jurta.org>
14190
14191 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14192 `search-whitespace-regexp' (bug#9364).
14193
93eb7113
JL
141942011-08-25 Juri Linkov <juri@jurta.org>
14195
14196 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14197 `regexp-search-ring' to their global values to protect from
14198 updating by `read-from-minibuffer' (bug#9185).
14199
f65d1611
JL
142002011-08-25 Juri Linkov <juri@jurta.org>
14201
14202 * textmodes/ispell.el (ispell-command-loop): Add newline
14203 at the end of the "Use option `i'..." line.
14204
f1cf7a31
JL
142052011-08-25 Juri Linkov <juri@jurta.org>
14206
14207 * battery.el (display-battery-mode): If `battery-status-function'
14208 or `battery-mode-line-format' is nil, display the message and set
14209 `display-battery-mode' to nil (bug#9363).
14210
0c95fcf7
EZ
142112011-08-25 Eli Zaretskii <eliz@gnu.org>
14212
14213 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14214 bidi-string-mark-left-to-right; they are unnecessary now.
14215
a2ebe600
DD
142162011-08-25 Deniz Dogan <deniz@dogan.se>
14217
14218 * net/quickurl.el: Documentation typo fixes.
14219
e4ed06f1
CY
142202011-08-25 Chong Yidong <cyd@stupidchicken.com>
14221
14222 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14223
e5f1c99e
GM
142242011-08-25 Glenn Morris <rgm@gnu.org>
14225
b2948976
GM
14226 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14227
e5f1c99e
GM
14228 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14229 (smtpmail-via-smtp): Handle nil response from smtp.
14230
f22f4808
JL
142312011-08-24 Juri Linkov <juri@jurta.org>
14232
14233 * proced.el (proced-marked): Inherit from `error' instead of
14234 `font-lock-warning-face'.
14235
14236 * ibuffer.el (ibuffer-marked-face): Change default face from
14237 `font-lock-warning-face' to `warning'.
14238 (ibuffer-deletion-face): Change default face from
14239 `font-lock-type-face' to `error'.
14240
14241 * battery.el (battery-update): Use the face `error' instead of
14242 `font-lock-warning-face' (bug#6117).
14243
6a93965e
JL
142442011-08-24 Juri Linkov <juri@jurta.org>
14245
14246 * faces.el (success): Change face color from "Green3" to
14247 "ForestGreen" on light background (bug#9353).
14248
1ed43b09
CY
142492011-08-24 Chong Yidong <cyd@stupidchicken.com>
14250
5664fa7b
RT
14251 * window.el (quit-window): Rename from quit-restore-window.
14252 Use same arglist as old quit-window.
1ed43b09
CY
14253 (frame-auto-delete): Doc fix.
14254
14255 * view.el (view-mode-exit): Use quit-window.
14256
11dcdbb2
JL
142572011-08-24 Juri Linkov <juri@jurta.org>
14258
14259 * isearch.el (isearch-ring-adjust1): Start visiting previous
14260 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14261 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14262 for empty search string (when the last search string is reused
14263 automatically) to adjust the isearch ring to the last element and
14264 prepare the correct index for further M-p commands (bug#9185).
14265
de62b4df
KH
142662011-08-24 Kenichi Handa <handa@m17n.org>
14267
14268 * international/ucs-normalize.el: If decomposition property of
14269 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14270 nil.
14271 (nfd, nfkd): Likewise.
14272
963b492b
SM
142732011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14274
14275 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14276 from process filters aren't reliably transmitted to the surrounding
14277 accept-process-output.
14278 (mpc-proc-check): New function.
14279 (mpc-proc-sync): Use it (bug#8293)
14280
93b6b5e1
SM
142812011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14282
14283 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14284 Add compatibility functions (bug#9313).
14285
bca633fb
EZ
142862011-08-23 Eli Zaretskii <eliz@gnu.org>
14287
b177498a
EZ
14288 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14289
6df6ae42 14290 * international/uni-bidi.el: Regenerate.
bca633fb 14291
0902a04e
KH
142922011-08-23 Kenichi Handa <handa@m17n.org>
14293
14294 * international/charprop.el:
14295 * international/uni-bidi.el:
14296 * international/uni-category.el:
14297 * international/uni-combining.el:
14298 * international/uni-comment.el:
14299 * international/uni-decimal.el:
14300 * international/uni-decomposition.el:
14301 * international/uni-digit.el:
14302 * international/uni-lowercase.el:
14303 * international/uni-mirrored.el:
14304 * international/uni-name.el:
14305 * international/uni-numeric.el:
14306 * international/uni-old-name.el:
14307 * international/uni-titlecase.el:
14308 * international/uni-uppercase.el: Regenerate.
14309
3bbf23bc
MR
143102011-08-23 Martin Rudalics <rudalics@gmx.at>
14311
14312 * help.el (help-window-setup): Fix message displayed when other
14313 window is reused. (Bug#9341)
14314
b3fd59bd
SM
143152011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14316
1802e444
SM
14317 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14318 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14319
b3fd59bd
SM
14320 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14321 Mark obsolete.
14322 * shell.el (shell-parse-pcomplete-arguments): New function.
14323 (shell-completion-vars): Use it instead (bug#9160).
14324
4eb61348
SM
143252011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14326
867cab74
SM
14327 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14328 strings and comments (bug#9333).
14329
4eb61348
SM
14330 * emacs-lisp/debug.el (debug-arglist): New function.
14331 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14332 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14333
262a1439
JL
143342011-08-22 Juri Linkov <juri@jurta.org>
14335
56ee679c
JL
14336 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14337 Revert regexp that highlights output switches to its old
14338 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14339
262a1439
JL
14340 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14341 to check for empty output (bug#9226).
14342
f13f86fb
CY
143432011-08-22 Chong Yidong <cyd@stupidchicken.com>
14344
14345 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14346 symbol-constituent as the default, as that stops font-lock from
14347 working properly (Bug#8843).
14348
c65c9622
LMI
143492011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14350
14351 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14352 `coding-system-for-*' around the process open call to avoid
14353 auth-source side effects.
e7f2c178 14354 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
14355 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14356 probe hangs.
c65c9622 14357
23a8a5ab
CY
143582011-08-21 Chong Yidong <cyd@stupidchicken.com>
14359
ff98b2dd
CY
14360 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14361
23a8a5ab
CY
14362 * emacs-lisp/find-func.el (find-function-noselect): New arg
14363 lisp-only.
14364
14365 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14366 signal an error for built-in functions (Bug#6664).
14367
f5e3c598
LMI
143682011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14369
14370 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14371 (smtpmail-try-auth-methods): Use it.
14372
a3f2468a
CY
143732011-08-21 Chong Yidong <cyd@stupidchicken.com>
14374
2c34e8da
CY
14375 * font-lock.el (font-lock-fontify-region)
14376 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14377 (font-lock-default-unfontify-buffer)
14378 (font-lock-default-fontify-region)
14379 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14380
b3fd59bd
SM
14381 * progmodes/compile.el (compilation-error-properties):
14382 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
14383 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14384 `ant' regexp.
ee31aabc 14385
a3f2468a
CY
14386 * net/browse-url.el (browse-url-firefox): Don't call
14387 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14388
8e999f70
GM
143892011-08-20 Glenn Morris <rgm@gnu.org>
14390
c21a496a
GM
14391 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14392
59ee0542
GM
14393 * tutorial.el (tutorial--default-keys): Update some default bindings.
14394
8e999f70
GM
14395 * files.el (hack-local-variables): Fully ignore case for "mode:".
14396
e3715033
AM
143972011-08-20 Alan Mackenzie <acm@muc.de>
14398
14399 Resolve invalid use of a regexp in regexp-opt.
14400
4d61f28d
JB
14401 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14402 detection for a java annotation.
e3715033 14403
4d61f28d 14404 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
14405 detection for a java annotation.
14406
4d61f28d
JB
14407 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14408 handling for java.
e3715033
AM
14409 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14410
04ed2e9c
CY
144112011-08-20 Chong Yidong <cyd@stupidchicken.com>
14412
14413 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14414 (Bug#9274).
14415
826cee64
AM
144162011-08-20 Alan Mackenzie <acm@muc.de>
14417
58179cce 14418 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
14419 such a construct. Mainly for when jit-lock etc. starts a chunk
14420 here.
14421
58179cce 14422 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 14423 variable.
58179cce 14424 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
14425 c-make-font-lock-search-function.
14426 (c-make-font-lock-search-function): Use the above function.
14427 (c-make-font-lock-context-search-function): New function.
14428 (c-cpp-matchers): Enhance the preprocessor expression case with
14429 the above function
14430 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14431 which takes an expression.
14432
14433 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14434
13009bd8
MR
144352011-08-20 Martin Rudalics <rudalics@gmx.at>
14436
14437 * window.el (display-buffer-reuse-window)
14438 (display-buffer-pop-up-window): Don't reuse or split a side
14439 window.
14440
9234ff7f
GM
144412011-08-19 Glenn Morris <rgm@gnu.org>
14442
14443 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 14444 Downcase "Mode:". (Bug#9331)
9234ff7f 14445
f635daa1
CY
144462011-08-18 Chong Yidong <cyd@stupidchicken.com>
14447
14448 * international/characters.el: Add L and R categories.
14449
14450 * subr.el (bidi-string-mark-left-to-right): Rename from
14451 string-mark-left-to-right. Use category search.
14452
14453 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14454
bc987f8b
JL
144552011-08-18 Juri Linkov <juri@jurta.org>
14456
14457 * faces.el (error, warning, success): New faces with definitions
14458 copied from old default values of `font-lock-warning-face',
14459 `compilation-warning', `compilation-info' (bug#6117).
14460
14461 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14462
14463 * progmodes/compile.el (compilation-error): Inherit from `error'.
14464 (compilation-warning): Inherit from `warning'.
14465 (compilation-info): Inherit from `success'.
14466
14467 * dired.el (dired-marked): Inherit from `warning'.
14468 (dired-flagged): Inherit from `error'.
14469
57173b96
LMI
144702011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14471
3e79eb87
LMI
14472 * mail/smtpmail.el (auth-source): Require to avoid problems with
14473 binding variables (bug#9298). Also clean up some unused
14474 autoloads.
14475
b3fd59bd
SM
14476 * net/network-stream.el (network-stream-open-starttls):
14477 Support using starttls.el without using gnutls-cli.
57173b96 14478
02b404de
JL
144792011-08-17 Juri Linkov <juri@jurta.org>
14480
14481 * progmodes/grep.el (rgrep): Handle the case when
14482 `grep-find-command' is a cons cell (bug#9278).
14483
8c9177f2
MR
144842011-08-17 Martin Rudalics <rudalics@gmx.at>
14485
14486 * window.el (display-buffer-pop-up-frame): Run frame creation
14487 function with BUFFER current (as special-display-popup-frame
14488 does). Reported by Drew Adams.
14489
3644a0ab
DU
144902011-08-17 Daiki Ueno <ueno@unixuser.org>
14491
14492 * epa-mail.el: Simplify GnuPG group expansion using
14493 epg-expand-group.
14494 (epa-mail-group-alist, epa-mail-group-modtime)
14495 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14496 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14497 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14498 Remove.
14499
5e617bc2 145002011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
14501
14502 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14503
9c4aeabf
AM
145042011-08-16 Alan Mackenzie <acm@muc.de>
14505
14506 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14507 Correct, to avoid the inside of macros.
14508
3a99bf64
RS
145092011-08-16 Richard Stallman <rms@gnu.org>
14510
04963aa8
RS
14511 * epa-mail.el: Handle GnuPG group definitions.
14512 (epa-mail-group-alist, epa-mail-group-modtime)
14513 (epa-mail-gnupg-conf-file): New variables.
14514 (epa-mail-parse-groups, epa-mail-sync-groups)
14515 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14516 (epa-mail-expand-recipients): New functions.
14517 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14518
177549d0
RS
14519 * mail/rmail.el (rmail-epa-decrypt): New command.
14520
fe38beef
RS
14521 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14522 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
14523 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14524 (epa-decrypt-armor-in-region): Make error message clearer.
14525
934eacb9
SM
145262011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14527
14528 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14529 and "a2b" to "ab" for `prefix'.
14530
d024fb4e
CY
145312011-08-14 Chong Yidong <cyd@stupidchicken.com>
14532
14533 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14534 filter groups.
de148fee
CY
14535 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14536 Fourquet (Bug#8804).
d024fb4e 14537
62f1ca49
JB
145382011-08-12 Juanma Barranquero <lekktu@gmail.com>
14539
14540 * startup.el (argi): Declare as global variable (bug#9275).
14541
9ccaaa4b
CY
145422011-08-12 Chong Yidong <cyd@stupidchicken.com>
14543
14544 * subr.el (string-mark-left-to-right): Search the entire string
14545 for RTL script, not just the terminating character. Doc fix.
14546
a3dae87a
SM
145472011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14548
6cd18349
SM
14549 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14550 New function.
14551 (js--regexp-literal, js-syntax-propertize-function): Remove.
14552 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14553 (js-mode-map): Don't rebind electric keys.
14554 (js-insert-and-indent): Remove.
14555 (js-mode): Setup electric-layout and electric-indent instead.
14556
a3dae87a
SM
14557 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14558
9d5cb631
DU
145592011-08-12 Daiki Ueno <ueno@unixuser.org>
14560
14561 * epa.el (epa-progress-callback-function): Fix the logic of
14562 displaying progress.
14563 * epa-file.el (epa-file-insert-file-contents): Make progress
14564 display more user-friendly.
14565 (epa-file-write-region): Ditto.
14566
3e26a4a2
CY
145672011-08-10 Chong Yidong <cyd@stupidchicken.com>
14568
14569 * subr.el (string-mark-left-to-right): New function.
14570
14571 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14572 Use string-mark-left-to-right.
14573 (list-buffers-noselect): Caller changed.
14574
a3dae87a
SM
14575 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14576 Use string-mark-left-to-right.
3e26a4a2
CY
14577 (tabulated-list-print): Recenter after moving point.
14578
ac8cf6e6
JL
145792011-08-10 Juri Linkov <juri@jurta.org>
14580
14581 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14582 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14583 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14584
8d96c9a4
CY
145852011-08-09 Chong Yidong <cyd@stupidchicken.com>
14586
14587 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14588 (Bug#7554).
14589
7be1c708 145902011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
14591
14592 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14593 character. (Bug#6594)
14594
37e11a63
CY
145952011-08-08 Chong Yidong <cyd@stupidchicken.com>
14596
839dde57
CY
14597 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14598 (image-dired--with-db-file): New macro.
14599 (image-dired-write-tags, image-dired-remove-tag)
14600 (image-dired-create-gallery-lists, image-dired-write-comments)
14601 (image-dired-get-comment, image-dired-mark-tagged-files)
14602 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14603 (image-dired-gallery-generate): Use insert-file-contents.
14604
37e11a63
CY
14605 * time.el (display-time-world-list, display-time-world-display):
14606 * time-stamp.el (time-stamp-string):
14607 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14608 set-time-zone-rule (Bug#7337).
14609
0b4946c4
DU
146102011-08-08 Daiki Ueno <ueno@unixuser.org>
14611
14612 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14613 (epg-error-to-string, epg-errors-to-string): New function.
14614 (epg-wait-for-completion): Reverse errors list.
14615 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14616 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14617 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14618 (epg-sign-keys, epg-generate-key-from-file)
14619 (epg-generate-key-from-string): Format errors by using
14620 epg-errors-to-string (bug#9255).
14621 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14622
75bfc667
JL
146232011-08-07 Juri Linkov <juri@jurta.org>
14624
14625 * faces.el (list-faces-display): Remove extra angle bracket
14626 from `help-mode-map'.
14627
14628 * info.el (Info-history-toc-nodes): Doc fix.
14629
14630 * longlines.el (longlines-mode): Doc fix.
14631
673e08bb
SM
146322011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14633
4640dd88
SM
14634 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14635 of statements and in a few more cases (bug#9183).
14636
673e08bb
SM
14637 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14638 New functions.
14639 (cl-transform-lambda): Use them (bug#9239).
14640
89b3f019
MR
146412011-08-05 Martin Rudalics <rudalics@gmx.at>
14642
14643 * window.el (display-buffer-same-window)
14644 (display-buffer-same-frame, display-buffer-other-window)
14645 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14646 (pop-to-buffer-other-window)
14647 (pop-to-buffer-same-frame-other-window)
14648 (pop-to-buffer-other-frame): Make them defuns.
14649 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14650
640c8776
SM
146512011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14652
14653 * subr.el (make-composed-keymap): Move from C. Change calling
14654 convention, and improve docstring to bring attention to a subtle point.
14655 * minibuffer.el (completing-read-default): Adjust accordingly.
14656
63648a95
MA
146572011-08-03 Michael Albinus <michael.albinus@gmx.de>
14658
14659 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14660 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14661
14662 * net/trampver.el: Update release number.
14663
b796c9b7
SM
146642011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14665
14666 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14667 "in" (bug#9190).
14668
2239d7d5
LMI
146692011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14670
e07dd7c3
LMI
14671 * mail/sendmail.el (sendmail-query-once): Restore the current
14672 buffer after querying (bug#9074).
14673
0e6a2bd7
LMI
14674 * dired.el (dired-flagged): Use different faces for marked and
14675 flagged files (bug#6117).
14676
ce887515
LMI
14677 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14678 (bug#4433).
14679
92f2affc
LMI
14680 * ido.el (ido-mode): Switch off the message if called
14681 non-interactively.
14682
57d5aff0
LMI
14683 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14684 before 587, since it appears that that's more likely to work for
14685 more people.
14686
98cd6c18 14687 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 14688 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
14689 exist.
14690
b96dec83
LMI
14691 * info.el: Remove the `Info-beginning-of-buffer' function
14692 (bug#8325).
14693
b796c9b7
SM
14694 * net/network-stream.el (network-stream-open-starttls):
14695 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 14696
d90e2ea0
MR
146972011-08-01 Martin Rudalics <rudalics@gmx.at>
14698
14699 * window.el (display-buffer-in-window): Don't set dedicated status
14700 of window here (Bug#9215).
14701 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14702 (display-buffer-pop-up-side-window)
b796c9b7 14703 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 14704
cca09170
SM
147052011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14706
14707 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14708 before binding generated-autoload-file.
14709
027b979c
DD
147102011-08-01 Deniz Dogan <deniz@dogan.se>
14711
14712 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14713
3c7ee4f3
MA
147142011-07-30 Michael Albinus <michael.albinus@gmx.de>
14715
14716 Sync with Tramp 2.2.2.
14717
14718 * net/trampver.el: Update release number.
14719
2cc8e51a
JL
147202011-07-30 Juri Linkov <juri@jurta.org>
14721
14722 * dired-aux.el (dired-touch-initial): Remove function.
14723 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14724 current time, and `default' to the last modification time of the
14725 current marked file (bug#6887).
14726
a514d856
JM
147272011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14728
14729 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 14730 numeric argument to read-number (bug#9163).
a514d856 14731
8a7eddd7
MA
147322011-07-27 Michael Albinus <michael.albinus@gmx.de>
14733
14734 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14735 connection process, it could be nil.
14736
1ddd96f5
LL
147372011-07-27 Leo Liu <sdl.web@gmail.com>
14738
14739 Simplify url handling in rcirc-mode.
14740
14741 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14742 (rcirc-browse-url-at-mouse): Remove.
14743 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14744
b248a85d
AM
147452011-07-26 Alan Mackenzie <acm@muc.de>
14746
14747 Fontify bitfield declarations properly.
14748
14749 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14750 (c-symbol-chars): Now exported as a lang variable.
14751 (c-not-primitive-type-keywords): New lang variable.
14752
14753 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14754 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 14755 parsed as a bitfield declaration.
b248a85d 14756
b796c9b7
SM
14757 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14758 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
14759 (c-punctuation-in): New function.
14760 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14761 declarations properly.
14762
68575ab0
UJ
147632011-07-26 Ulf Jasper <ulf.jasper@web.de>
14764
14765 * calendar/icalendar.el (icalendar--all-events): Take care of
14766 multiple vcalendars in a single file.
b796c9b7 14767 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 14768
0f0a88b9
DD
147692011-07-25 Deniz Dogan <deniz@dogan.se>
14770
14771 * image.el (insert-image): Clarifying docstring.
14772
0b3f36df
MA
147732011-07-24 Michael Albinus <michael.albinus@gmx.de>
14774
14775 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14776 `tramp-send-command-and-check' if there is no error.
14777 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14778
a9901f61
AM
147792011-07-22 Alan Mackenzie <acm@muc.de>
14780
14781 Prevent cc-langs.elc being loaded at run time.
14782
14783 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14784 cc-langs.
14785
4d61f28d 14786 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
14787 "(require 'cc-langs)". Quote a form so it will evaluate at
14788 (cc-mode's) compilation time.
14789
11d074b2
MA
147902011-07-22 Michael Albinus <michael.albinus@gmx.de>
14791
14792 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14793 loading. (Bug#9114)
14794
938b94c8
MR
147952011-07-21 Martin Rudalics <rudalics@gmx.at>
14796
14797 * window.el (display-buffer-pop-up-window)
14798 (display-buffer-pop-up-side-window)
14799 (display-buffer-in-side-window): Call display-buffer-set-height
14800 and display-buffer-set-width after setting the new window's
b796c9b7 14801 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 14802
bfa4f190
SS
148032011-07-20 Sam Steingold <sds@gnu.org>
14804
14805 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14806 (etags-tags-included-tables): Call `convert-standard-filename' on
14807 the file names contained in TAGS so that windows Emacs can handle
14808 TAGS files created by cygwin ctags.
14809
8ca42262
LMI
148102011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14811
14812 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14813 which apparently didn't work.
14814
5db2afd2 148152011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 14816
5db2afd2
RW
14817 * proced.el (proced-send-signal): For *Marked Processes* buffer
14818 put point at beginning of buffer.
14819
92e15d10
SB
148202011-07-19 Stephen Berman <stephen.berman@gmx.net>
14821
14822 * proced.el (proced-format): Make header lines align with the text
14823 (bug#1779).
14824
1bfd59e5
LMI
148252011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14826
14827 * view.el (view-buffer): Allow running in `special' modes if we're
14828 visiting a file (bug#8615).
14829
f5aae37c
MR
148302011-07-19 Martin Rudalics <rudalics@gmx.at>
14831
14832 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
14833 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14834 New functions.
f5aae37c
MR
14835 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14836 more accurately.
14837
bf2c1571
AM
148382011-07-18 Alan Mackenzie <acm@muc.de>
14839
14840 Fontify declarators properly when, e.g., a jit-lock chunk begins
14841 inside a declaration.
14842
14843 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14844
b796c9b7
SM
14845 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14846 New function.
bf2c1571
AM
14847 (c-complex-decl-matchers): Insert reference to
14848 c-font-lock-enclosing-decls.
14849
14850 * progmodes/cc-engine.el (c-backward-single-comment):
14851 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14852 to nil around calls to (forward-comment -1).
14853
4e190b80
LMI
148542011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14855
12dc863d
LMI
14856 * image.el (put-image): Doc typo fix.
14857
a762e966
LMI
14858 * progmodes/etags.el (tags-search): Doc typo fix.
14859
4e190b80
LMI
14860 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14861 password if we get errors 550 to 554.
14862
f019fb21
LMI
148632011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14864
b796c9b7 14865 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 14866
81746738
LMI
14867 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14868 indentation character (bug#6380).
14869
3ee3a1b5
LMI
14870 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14871
c82f64de
LMI
14872 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14873 to clarify what the problem is (bug#4291).
14874
f019fb21
LMI
14875 * simple.el (current-kill): Clarify what
14876 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
14877 (auto-fill-mode): Document `auto-fill-function' in relation to
14878 `auto-fill-mode' (bug#2470).
f019fb21 14879
0794775d
LM
148802011-07-16 Lawrence Mitchell <wence@gmx.li>
14881
14882 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14883 method if slot is read-only (bug#9035).
14884
be39b8cc
MR
148852011-07-16 Martin Rudalics <rudalics@gmx.at>
14886
b796c9b7 14887 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 14888 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
14889 selected before, see discussion of (Bug#8615), (Bug#6954).
14890 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 14891
6ccf7859
GM
148922011-07-15 Glenn Morris <rgm@gnu.org>
14893
14894 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 14895 Respect help-form.
6ccf7859 14896
87e86684
LM
148972011-07-09 Lawrence Mitchell <wence@gmx.li>
14898
14899 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14900 (gnutls-negotiate): Use it.
14901
d6066239
LMI
149022011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14903
b796c9b7
SM
14904 * net/gnutls.el (gnutls-negotiate):
14905 Upcase `gnutls-algorithm-priority'.
d6066239 14906
bd23ebc0
GM
149072011-07-15 Glenn Morris <rgm@gnu.org>
14908
c65bca65
GM
14909 * jka-compr.el (jka-compr-verbose): Move from here...
14910 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14911 Add missing :version tag.
14912 * info.el: No need to require jka-compr when compiling.
bd23ebc0 14913
478615cc
LMI
149142011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14915
7b41decb
LMI
14916 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14917 (gnutls-negotiate): Use it.
14918
dbc44fcd
LMI
14919 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14920
06789f97
LMI
14921 * info.el (Info-beginning-of-buffer): New command.
14922 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14923 announcing `b' as the key (bug#8325).
ab896c37 14924 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 14925
c39da690
LMI
14926 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14927
3aa5f34b
LMI
14928 * international/mule-cmds.el
14929 (describe-specified-language-support): Make the error message
14930 clearer (bug#8905).
14931
4bf0979f
LMI
14932 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14933
478615cc
LMI
14934 * isearch.el (isearch-barrier): Add a doc string, since it's
14935 mentioned in a function doc string (bug#8678).
14936
75c68aa1
MR
149372011-07-15 Martin Rudalics <rudalics@gmx.at>
14938
14939 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14940 buffer argument (Bug#9083) and self-identifying label argument.
14941
a7c33da2
GM
149422011-07-15 Glenn Morris <rgm@gnu.org>
14943
14944 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14945
2f5c6024
LMI
149462011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14947
14948 * man.el (Man-fontify-manpage): Fix message when formatting the
14949 man page (bug#7929).
14950
0bb23927 149512011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
14952
14953 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14954 argument LRM; if non-nil, append an invisible LRM character to the
14955 buffer name.
14956 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14957 last argument non-nil, when formatting buffer names.
0bb23927
EZ
14958 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14959 paragraph direction.
cce4b0a7 14960
621ef9ab
LMI
149612011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14962
d1583c48
LMI
14963 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14964 the man page name (bug#7929).
14965
6a57fb5f
LMI
14966 * image.el (put-image): Mention the `put-image' overlay property
14967 (bug#7834).
14968
d7956b14
LMI
14969 * scroll-bar.el (set-scroll-bar-mode): Mention that
14970 `scroll-bar-mode' lists the values (bug#7772).
14971
5b2d4a66
LMI
14972 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14973 command (bug#7729).
14974
7509a874
LMI
14975 * rect.el (apply-on-rectangle): Return the point after the last
14976 operation.
14977 (string-rectangle): Go to the point after the last operation
14978 (bug#7522).
14979
4fe74b19
LMI
14980 * printing.el (pr-toggle-region): Clarify the documentation
14981 slightly (bug#7493).
14982
b796c9b7
SM
14983 * time.el (display-time-update):
14984 Allow `display-time-mail-function' to return nil (bug#7158).
14985 Fix suggested by Detlev Zundel.
ab283561 14986
fc233c9d
LMI
14987 * vc/diff.el (diff): Clarify the order the file names are read
14988 (bug#7111).
14989
43f5740b
LMI
14990 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14991 the doc string (bug#7015).
14992
f2182a76
LMI
14993 * font-lock.el (font-lock-maximum-decoration): Mention what
14994 numeric levels mean (bug#6935).
14995
621ef9ab
LMI
14996 * startup.el (initial-buffer-choice): Don't mention the `none'
14997 selection, which is against policy.
14998
adc47434
MR
149992011-07-14 Martin Rudalics <rudalics@gmx.at>
15000
b796c9b7
SM
15001 * window.el (display-buffer-normalize-special):
15002 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 15003
7e5bfb8f
EZ
150042011-07-14 Eli Zaretskii <eliz@gnu.org>
15005
15006 * subr.el (version<, version<=, version=): Mention "-CVS" and
15007 "-12345" alpha version numbers.
15008
27fa387a
CY
150092011-07-14 Chong Yidong <cyd@stupidchicken.com>
15010
15011 * bindings.el: Add advertised binding for set-mark-command
15012 (Bug#5772).
15013
8bdfa064
CY
150142011-07-14 Chong Yidong <cyd@stupidchicken.com>
15015
15016 * bindings.el (mode-line-other-buffer):
15017 * bookmark.el (bookmark-bmenu-2-window):
15018 * bs.el (bs-cycle-next, bs-cycle-previous):
15019 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15020 switch-to-buffer.
15021
15022 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 15023 Delete.
8bdfa064 15024
5eba16a3
JB
150252011-07-14 Juanma Barranquero <lekktu@gmail.com>
15026
15027 * follow.el (follow-debug-message, follow-redisplay):
15028 * jka-cmpr-hook.el (with-auto-compression-mode):
15029 Fix typos in docstrings.
15030
15853710
LMI
150312011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15032
a28e4607
LMI
15033 * subr.el (with-silent-modifications): Clarify somewhat what the
15034 macro inhibits (bug#6525).
15035
15853710
LMI
15036 * simple.el (eval-expression): Note what it does if called
15037 interactively (bug#6495).
15038
bee0fcef
CY
150392011-07-13 Chong Yidong <cyd@stupidchicken.com>
15040
b796c9b7
SM
15041 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15042 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
15043
15044 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15045 Remove switch-to-buffer.
15046
58274504
LMI
150472011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15048
bd2fcc8d
LMI
15049 * files.el (make-directory): Clarify that an error will be raised
15050 if there's an error (bug#6397).
15051
0f04b32c
LMI
15052 * startup.el (initial-buffer-choice): Add `none' as a choice
15053 (bug#6234).
15054
465c5fc8
LMI
15055 * subr.el (add-hook): Clarify section about buffer-local hooks
15056 (bug#6218).
15057
58274504
LMI
15058 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15059
bead9a43
JB
150602011-07-13 Juanma Barranquero <lekktu@gmail.com>
15061
15062 * tabify.el (untabify): Preserve the current column so that point
15063 doesn't move (bug#6032).
15064
3af98a7b
LMI
150652011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15066
b796c9b7
SM
15067 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15068 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 15069
6240145a
GM
150702011-07-13 Glenn Morris <rgm@gnu.org>
15071
15072 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15073 (dired-insert-directory): Give a message the first time
15074 if ls is found not to support --dired.
15075
1d8c2ccc
LMI
150762011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15077
15078 * simple.el (toggle-truncate-lines): Clarify what is toggled
15079 (bug#5580). Text by Drew Adams.
15080
5fc4038e
CY
150812011-07-13 Chong Yidong <cyd@stupidchicken.com>
15082
15083 * simple.el (blink-matching-open): Make the error message from the
15084 last change less verbose.
15085
bf6012e5
DN
150862011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15087
15088 * font-lock.el (font-lock-comment-face): Use the high contrast
15089 "yellow" color for font-lock-comment-face on low color terminals
15090 using a dark background color (bug#4221).
15091
343c3b5a
LMI
150922011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15093
7e9505c5
LMI
15094 * dired.el (dired-insert-set-properties): Make the doc string
15095 reflect what it does now (bug#5325).
15096
c26fdcf5
LMI
15097 * simple.el (blink-matching-open): Say that we were unable to find
15098 the match within the limit, if we're limited (bug#5122).
15099
bb388cc5
LMI
15100 * international/mule-cmds.el (prefer-coding-system): Add an
15101 example (bug#4869).
15102
343c3b5a
LMI
15103 * progmodes/etags.el (tags-search): Document `file-list-form'
15104 (bug#4731).
15105
2a517d45
LM
151062011-07-13 Lawrence Mitchell <wence@gmx.li>
15107
15108 * net/browse-url.el (browse-url-default-browser)
15109 (browse-url-browser-function): Make the default browser choice a
15110 bit more logical (bug#4300). Also clean up the doc string.
15111
b6c78ef2
JB
151122011-07-13 Juanma Barranquero <lekktu@gmail.com>
15113
15114 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15115 binary endings (bug#4440).
15116
1c4dd947
LMI
151172011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15118
a2014063
LMI
15119 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15120 which can be pretty annoying (bug#8971).
15121
9c9c2d88
LMI
15122 * jka-compr.el (jka-compr-verbose): New variable, and use
15123 throughout (bug#8971).
15124
1c4dd947
LMI
15125 * info.el (Info-find-file): Fall back on the installation
15126 directory if we can't find the info node anywhere else.
15127
a1c9f41b
SO
151282011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15129
15130 * vc/vc.el (vc-revert-file):
15131 Don't set file time-stamp in the past. (Bug#5181)
15132
536f3d36
LMI
151332011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15134
7152b011
LMI
15135 * files.el (after-find-file): Give a better error message when
15136 trying to find a symlink that points to a file that doesn't exist
15137 (bug#4398).
15138
536f3d36
LMI
15139 * progmodes/cc-vars.el: Remove (probably) misleading comment
15140 (bug#4396).
15141
460c0fba
JB
151422011-07-12 Johan Bockgård <bojohan@gnu.org>
15143
15144 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15145
7a6bda45
CY
151462011-07-12 Chong Yidong <cyd@stupidchicken.com>
15147
15148 * mouse-sel.el: Hack restoring functionality, while keeping
15149 compatibility with 2010-07-03 changes to mouse selection.
15150 (mouse-sel-primary-overlay): New var.
15151 (mouse-sel-selection-alist): Use it.
15152 (mouse-sel-mode): Doc fix; remove points that are default features
15153 of mouse.el.
15154
c79598ef
JB
151552011-07-12 Johan Bockgård <bojohan@gnu.org>
15156
15157 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15158 Fix previous fix (bug#2490).
15159
ff8be6ef
RW
151602011-07-12 Roland Winkler <winkler@gnu.org>
15161
b796c9b7
SM
15162 * textmodes/bibtex.el (bibtex-initialize):
15163 Use pop-to-buffer-same-window.
ff8be6ef
RW
15164 (bibtex-search-entries): Fix interactive call.
15165
296ba3ee
LMI
151662011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15167
f5242a02 15168 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
15169 Fontise bytecomp Error lines more correctly (bug#2490).
15170 Fix suggested by Johan Bockgård.
f5242a02 15171
296ba3ee
LMI
15172 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15173
15174 * dired-x.el (dired-guess-default): Use `delete-dups'.
15175
f69fd0d2
CY
151762011-07-12 Chong Yidong <cyd@stupidchicken.com>
15177
15178 * dired.el (dired-mark-prompt):
15179 * dired-aux.el (dired-read-shell-command): Doc fix.
15180
eab5dc07
LMI
151812011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15182
b796c9b7
SM
15183 * mail/sendmail.el (sendmail-query-once):
15184 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
15185 emacs -Q.
15186
15187 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15188
eab5dc07
LMI
15189 * cus-edit.el (custom-file): Take an optional no-error variable.
15190 (customize-save-variable): Set the variable, and give a warning if
15191 running under "emacs -q".
15192
a1e65d42
JB
151932011-07-11 Juanma Barranquero <lekktu@gmail.com>
15194
15195 * loadhist.el (unload-feature-special-hooks):
15196 Add `auto-coding-functions', `fill-nobreak-predicate' and
15197 `find-directory-functions' (bug#5327).
15198
1d52da10
LMI
151992011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15200
be958f1d
LMI
15201 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15202
5bedb26c
LMI
15203 * cus-edit.el (custom-guess-name-alist): -alist variables should
15204 use the `alist' type (bug#3120). Suggested by Drew Adams.
15205
1d52da10
LMI
15206 * printing.el: Add documentation to all the `pr-toggle-' commands.
15207
cd394be1 152082011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
15209
15210 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15211 backends where it makes sense (bug#2623).
15212
dcc88d8a
LMI
152132011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15214
c3de9feb
LMI
15215 * dired-x.el (dired-guess-default): Remove duplicate shell command
15216 entries (bug#2028).
8a93078b 15217 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 15218 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 15219
dcc88d8a
LMI
15220 * subr.el (remove-duplicates): New conveniency function.
15221
505e3645
LMI
152222011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15223
15224 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15225 (bug#1526).
15226
152272011-07-10 Martin Rudalics <rudalics@gmx.at>
15228
15229 * window.el (display-buffer-normalize-default): Don't invert
15230 meaning of even-window-heights. Reported by Eli Zaretskii
15231 <eliz@gnu.org>.
15232
455e4fa1
BR
152332011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15234
15235 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15236
8e0bc3e9
CY
152372011-07-10 Chong Yidong <cyd@stupidchicken.com>
15238
15239 * window.el (display-buffer): Fix arguments to
15240 display-buffer-reuse-window in last change.
15241
fa7c3228
CY
15242 * faces.el (link): Use a less saturated blue on light backgrounds.
15243
15244 * startup.el (fancy-startup-text, fancy-about-text)
15245 (fancy-startup-tail): Use font-lock faces, for background safety.
15246
c0a7f300
BN
152472011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15248
b796c9b7
SM
15249 * emulation/viper-cmd.el (viper-change-state-to-vi):
15250 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 15251
4dc2a129
MR
152522011-07-09 Martin Rudalics <rudalics@gmx.at>
15253
15254 * window.el (display-buffer-default-specifiers): Remove.
15255 (display-buffer-macro-specifiers): Remove default specifiers.
15256 (display-buffer-alist): Default to nil.
b796c9b7 15257 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
15258 (display-buffer-pop-up-window): Allow splitting internal
15259 windows. Check whether a live window was created.
15260 (display-buffer-other-window-means-other-frame)
15261 (display-buffer-normalize-arguments): Rename to
15262 display-buffer-normalize-argument and rewrite. Set the
15263 other-window specifier.
15264 (display-buffer-normalize-special): New function.
15265 (display-buffer-normalize-options): Rename to
15266 display-buffer-normalize-default and rewrite.
15267 (display-buffer-normalize-options-inhibit): Remove.
15268 (display-buffer-normalize-specifiers): Rewrite.
15269 (display-buffer): Process other-window specifier and call
15270 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15271 more faithfully.
b796c9b7 15272 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 15273 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
15274 (display-buffer-in-window, display-buffer-alist-set):
15275 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
15276 <tassilo@member.fsf.org>.
15277
2d43b8c9
LL
152782011-07-09 Leo Liu <sdl.web@gmail.com>
15279
15280 * register.el (insert-register): Restore accidental change on
15281 2011-06-26. (Bug#9028)
15282
7f9b7c53
GM
152832011-07-09 Glenn Morris <rgm@gnu.org>
15284
15285 * subr.el (remq): Handle the empty list. (Bug#9024)
15286
f042cfd8
AS
152872011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15288
15289 * mail/sendmail.el (send-mail-function): No longer delay custom
15290 initialization.
15291 * custom.el (custom-initialize-delay): Doc fix.
15292
856b2f11
SM
152932011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15294
15295 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15296
afae1d68
MA
152972011-07-08 Michael Albinus <michael.albinus@gmx.de>
15298
15299 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15300 human-friendly prompt.
15301
0757af94
SM
153022011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15303
15304 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15305 provided by a particular plugin.
15306
d760b731
LMI
153072011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15308
15309 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15310 save customizations (with "emacs -Q"), just set the variable
15311 instead of erroring out.
15312
15313 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15314
cd79ce90
JL
153152011-07-08 Juri Linkov <juri@jurta.org>
15316
15317 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15318 (archive-zip-update-case): Use 7z if found by `executable-find'.
15319 The order of searching the available programs is the same as in
15320 `archive-zip-extract' (bug#8968).
15321
14cc04aa
CY
153222011-07-07 Chong Yidong <cyd@stupidchicken.com>
15323
15324 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15325 (menu-bar-options-menu): Tweak descriptions.
15326
0a1848ec
LMI
153272011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15328
15329 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15330 menu items into verb phrases (bug#1421). Also refill to fit under
15331 80 columns.
15332
f5bd0689
CY
153332011-07-07 Chong Yidong <cyd@stupidchicken.com>
15334
538e85c6
CY
15335 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15336 (Info-read-node-name): Doc fix (Bug#1084).
15337
f5bd0689
CY
15338 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15339 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15340 (end-of-sexp, beginning-of-sexp)
15341 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15342 (forward-symbol, forward-same-syntax, word-at-point)
15343 (sentence-at-point): Doc fix (Bug#1144).
15344
56ec5115
LMI
153452011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15346
f3f8e37f
LMI
15347 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15348 should cover it (bug#1281).
15349
0757af94 15350 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 15351
e9fce1ac 15352 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
15353 negotiation fails, then possibly try again with a non-encrypted
15354 connection (bug#9017).
15355
56ec5115
LMI
15356 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15357 be used.
15358
c2f9aec8
RS
153592011-07-07 Richard Stallman <rms@gnu.org>
15360
15361 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15362 property, and handle its changed format.
15363 Look for the correct line number.
15364 Use file's line contents (but not past first =) to find
15365 correct line in message.
15366
ef7b981d 153672011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
15368
15369 * international/characters.el (build-unicode-category-table):
15370 Delete it.
0757af94 15371 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 15372
0757af94 15373 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
15374 to src/chartab.c.
15375 (get-char-code-property): Call unicode-property-table-internal to
15376 load a file. Call get-unicode-property-internal where necessary.
15377 (put-char-code-property): Call unicode-property-table-internal to
15378 load a file. Call put-unicode-property-internal where necessary.
15379 put-unicode-property-internal where necessary.
0757af94
SM
15380 (char-code-property-description):
15381 Call unicode-property-table-internal to load a file.
c805dec0
KH
15382
15383 * international/charprop.el:
15384 * international/uni-bidi.el:
15385 * international/uni-category.el:
15386 * international/uni-combining.el:
15387 * international/uni-comment.el:
15388 * international/uni-decimal.el:
15389 * international/uni-decomposition.el:
15390 * international/uni-digit.el:
15391 * international/uni-lowercase.el:
15392 * international/uni-mirrored.el:
15393 * international/uni-name.el:
15394 * international/uni-numeric.el:
15395 * international/uni-old-name.el:
15396 * international/uni-titlecase.el:
15397 * international/uni-uppercase.el: Regenerate.
15398
15399 * loadup.el: Load international/charprop.el before
15400 international/characters.
15401
e14b388a
CY
154022011-07-07 Chong Yidong <cyd@stupidchicken.com>
15403
15404 * window.el (next-buffer, previous-buffer): Signal an error if
15405 called from a minibuffer window.
15406
15407 * bindings.el: Revert 2011-07-04 change.
15408
354cf0ba
RS
154092011-07-06 Richard Stallman <rms@gnu.org>
15410
15411 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15412 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15413 Treat markers like ints.
15414 (rmail-mime-entity): Doc fix.
15415
a48868a7
LMI
154162011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15417
4906cd3d
LMI
15418 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15419 defcustom again for backwards compatibility.
15420
e0457abe
LMI
15421 * simple.el (shell-command-on-region): Fill.
15422
d67f7e1f
LMI
15423 * dired-aux.el (dired-kill-line): Add a doc string.
15424
fe204702
LMI
15425 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15426 to "\\sw\\|\\s_" (bug#358).
15427
a48868a7
LMI
15428 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15429 (dired-unmark-backward): Ditto.
15430 (dired-flag-backup-files): Ditto.
15431
15432 * dired-x.el (dired-mark-sexp): Ditto.
15433
aa8a705c
RS
154342011-07-06 Richard Stallman <rms@gnu.org>
15435
15436 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15437 (rmail-mime-entity): New arg TRUNCATED.
15438 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15439 New functions.
15440 (rmail-mime-save): Warn if entity is truncated.
15441 (rmail-mime-toggle-hidden): Likewise, for showing.
15442 (rmail-mime-process-multipart): Record when an entity is truncated.
15443
a9a936b9
RS
15444 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15445 if ENTITY is a string.
15446
1f2b92cb
LMI
154472011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15448
f4f73198 15449 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
15450 of faces when `M-C-x'-ing their definitions (bug#8378).
15451 Also clean up the code slightly.
f4f73198 15452
12b16734 15453 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 15454 because that makes the colors go away.
12b16734 15455
f0691d22
LMI
15456 * mail/sendmail.el (send-mail-function): Change the default to
15457 `sendmail-query-once'.
9e87df06 15458 (sendmail-query-once): Add an autoload cookie.
f0691d22 15459
1f2b92cb
LMI
15460 * net/network-stream.el (network-stream-open-starttls): Try using
15461 a plain connection even if the server offered STARTTLS, and we
15462 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15463 capability. This should make smtpmail.el work in slightly more
15464 configurations.
15465
1cdd2a1b
MA
154662011-07-06 Michael Albinus <michael.albinus@gmx.de>
15467
15468 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15469 New defun.
15470 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15471
fbcc67e2
MM
154722011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15473
15474 * progmodes/sql.el: Version 3.0
0757af94 15475 (sql-product-alist): Add product :completion-object,
fbcc67e2 15476 :completion-column, and :statement attributes.
0757af94 15477 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 15478 (sql-mode-syntax-table): Mark all punctuation.
0757af94 15479 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
15480 ansi keywords.
15481 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 15482 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
15483 (sql-oracle-show-reserved-words): New function for development.
15484 (sql-product-font-lock): Simplify for source code buffers.
15485 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15486 New functions.
15487 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
15488 (sql-mode-map): Add statement movement functions.
15489 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15490 New variable.
fbcc67e2
MM
15491 (sql-statement-regexp, sql-beginning-of-statement)
15492 (sql-end-of-statement, sql-signum): New functions.
0757af94 15493 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
15494 (sql-show-sqli-buffer): Bug fix.
15495 (sql-interactive-mode): Store connection data as buffer local.
0757af94 15496 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
15497 with sql-interactive-mode.
15498 (sql-save-connection): Save buffer local settings.
0757af94 15499 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
15500 (sql-product-interactive): Bug fix.
15501 (sql-preoutput-hold): New variable.
15502 (sql-interactive-remove-continuation-prompt): Bug fixes.
15503 (sql-debug-redirect): New variable.
15504 (sql-str-literal): New function.
15505 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 15506 Redesign.
fbcc67e2
MM
15507 (sql-oracle-save-settings, sql-oracle-restore-settings)
15508 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15509 (sql-completion-object, sql-completion-column)
15510 (sql-completion-sqlbuf): New variables.
15511 (sql-build-completions-1, sql-build-completions)
15512 (sql-try-completion): New functions.
15513 (sql-read-table-name): Use them.
15514 (sql-contains-names): New buffer local variable.
15515 (sql-list-all, sql-list-table): Use it.
15516 (sql-oracle-completion-types): New variable.
15517 (sql-oracle-completion-object, sql-sqlite-completion-object)
15518 (sql-postgres-completion-object): New functions.
15519
d4eaeab1
GM
155202011-07-06 Glenn Morris <rgm@gnu.org>
15521
15522 * window.el (pop-to-buffer): Doc fix.
15523
322b7dab 155242011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
15525
15526 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15527
322b7dab 155282011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 15529
322b7dab 15530 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 15531
322b7dab 15532 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 15533
605dd5bf
CY
155342011-07-05 Chong Yidong <cyd@stupidchicken.com>
15535
15536 * button.el (button): Inherit from link face. Suggested by Dan
15537 Nicolaescu.
15538
7dbfa719
SM
155392011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15540
3db614b0
SM
15541 * progmodes/gdb-mi.el: Fit in 80 columns.
15542 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15543 switch-to-buffer.
15544
7dbfa719
SM
15545 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15546 if imenu is simply not configured (bug#8941).
15547
919d884a
KM
155482011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15549
15550 * allout.el (allout-post-undo-hook): New allout outline-change
15551 event hook to signal undo activity.
15552 (allout-post-command-business): Run allout-post-undo-hook if an
15553 undo just occurred.
7dbfa719
SM
15554 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15555 * allout-widgets.el (allout-widgets-after-undo-function):
15556 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
15557 in the vicinity of an undo.
15558 (allout-widgets-mode): Include allout-widgets-after-undo-function
15559 on the new allout-post-undo-hook.
15560
450a0f09
SM
155612011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15562
15563 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15564 Let define-derived-mode define it.
15565 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15566 cycles of abbrev-table inheritance (bug#8998).
15567
2de69e00
RW
155682011-07-05 Roland Winkler <winkler@gnu.org>
15569
15570 * textmodes/bibtex.el: Add support for biblatex.
15571 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15572 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15573 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15574 (bibtex-entry-alist, bibtex-field-alist): New variables.
15575 (bibtex-entry-field-alist): Obsolete alias for
15576 bibtex-BibTeX-entry-alist.
15577 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15578 (bibtex-set-dialect): New command.
15579 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
15580 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15581 Bind via bibtex-set-dialect.
2de69e00
RW
15582 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15583 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15584 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15585 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15586 Define via bibtex-set-dialect.
450a0f09
SM
15587 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15588 Obey bibtex-no-opt-remove-re.
2de69e00
RW
15589 (bibtex-vec-push, bibtex-vec-incr): New functions.
15590 (bibtex-format-entry, bibtex-field-list)
15591 (bibtex-print-help-message, bibtex-validate)
15592 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15593
2dcdbdd9
SM
155942011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15595
15596 * progmodes/compile.el (compilation-goto-locus):
15597 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15598 * bs.el (bs-cycle-next, bs-cycle-previous):
15599 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15600 * bindings.el (mode-line-other-buffer):
15601 * autoinsert.el (auto-insert):
15602 * arc-mode.el (archive-extract):
15603 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15604
b27640fe
JB
156052011-07-05 Juanma Barranquero <lekktu@gmail.com>
15606
15607 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15608 Fix check of `emacs-lock-unlockable-modes'.
15609 Coerce true values of `emacs-lock--try-unlocking' to t.
15610
53bbe3ad
JB
156112011-07-05 Juanma Barranquero <lekktu@gmail.com>
15612
15613 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15614 * emacs-lock.el: New file.
15615
1d3cdbc7
JD
156162011-07-05 Julien Danjou <julien@danjou.info>
15617
15618 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15619 than `boundp' to check if face is set.
15620
9173deec
JB
156212011-07-05 Juanma Barranquero <lekktu@gmail.com>
15622
15623 * register.el (registerv-make):
15624 * window.el (window-min-height): Fix typos in docstrings.
15625
869795d6
JD
156262011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15627
9173deec 15628 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
15629 Update doc string.
15630
b768cdcd
JB
156312011-07-04 Juanma Barranquero <lekktu@gmail.com>
15632
15633 * server.el (server-execute): Catch quit and call
15634 `server-return-error' to pass the error back to emacsclient and
15635 close the connection (bug#8942).
15636
13aa217b
KM
156372011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15638
15639 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15640 insecure exception for current topic. Also note that auto-saves
15641 are handled differently.
15642
5d3385a0 15643 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
15644 State variables for tracking auto-save inhibition situation.
15645
15646 (allout-write-contents-hook-handler): Rename from
15647 'allout-write-file-hook-handler', and describe how it depends on
15648 write-contents-functions sensitivity to non-nil value to prevent
15649 file write.
15650
15651 (allout-auto-save-hook-handler): Remove. auto-save does not check
15652 this in individual buffers, only in the starting buffer, so this
15653 is not the right way for us to inhibit auto-save in a buffer
15654 according to its condition.
15655
15656 (allout-mode): Use new allout-write-contents-hook-handler, and
15657 only with write-contents-functions. Remove auto-save provisions -
15658 they're implemented elsewhere.
15659
15660 (allout-before-change-handler): If undo is in progress, note that
15661 for attention of allout-post-command-business.
15662
15663 (allout-post-command-business): If the command we're following was
15664 an undo, check for change in the status of encrypted items and
15665 adjust auto-save inhibitions accordingly.
15666
15667 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15668 according to whether there are or aren't any plain-text topics
15669 pending encryption.
15670
2dcdbdd9 15671 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
15672 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15673 if there are plain-text topics pending encryption.
13aa217b
KM
15674
15675 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15676 buffer-saved-size and some allout state to not inhibit auto-saves
15677 if there are no longer any plain-text topics pending encryption.
15678
0757af94
SM
15679 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15680 No longer provide for exemption of the current topic.
13aa217b 15681
ac89b32c
JL
156822011-07-04 Juri Linkov <juri@jurta.org>
15683
15684 Add 7z operations to delete and save changed members (bug#8968).
15685 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15686 New defcustoms.
15687 (archive-7z-write-file-member): New function.
15688 (archive-7z-summarize): Fix the number of dashes in the
15689 listing output.
15690
8fa39615
SM
156912011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15692
15693 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15694 (bug#8958).
15695
2f11b3f1
CY
156962011-07-04 Chong Yidong <cyd@stupidchicken.com>
15697
d66fef2b
CY
15698 * bindings.el: Ignore next-buffer and previous-buffer in
15699 minibuffer-local-map.
15700
2f11b3f1
CY
15701 * font-lock.el (font-lock-builtin-face): Change light background
15702 color to dark slate blue (Bug#6693).
15703
f932a347
WD
157042011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15705
15706 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15707
c8af70e1
SM
157082011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15709
15710 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15711 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15712 Add switch-to-buffer.
15713
f158badc
LMI
157142011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15715
15716 * isearch.el (isearch-search-fun-function): Clarify further the
15717 meaning of the function returned.
15718
6d95bd46
MA
157192011-07-04 Michael Albinus <michael.albinus@gmx.de>
15720
15721 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15722
15723 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15724 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15725 Use it.
15726 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15727 `tramp-default-remote-path' does not exist.
15728 (tramp-send-command-and-read): New optional argument NOERROR.
15729 (tramp-open-connection-setup-interactive-shell)
15730 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15731 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15732 (tramp-process-sentinel): Flush also process' connection property.
15733 (tramp-sh-handle-start-file-process): Do not set process
15734 sentinel. It is done now ...
15735 (tramp-maybe-open-connection): ... here. (Bug#8929)
15736
909e6b67
MK
157372011-07-04 MON KEY <monkey@sandpframing.com>
15738
15739 * play/animate.el (animate-string): Doc fixes and allow changing
15740 the buffer name (bug#5417).
15741
157422011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15743
c8af70e1 15744 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 15745
f34755dc
PE
157462011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15747
396cec72
PE
15748 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15749 This is simpler and helps future-proof the code.
15750 (timer-until): Use time-subtract and float-time.
08235028 15751 (timer--time-less-p): Use time-less-p.
f34755dc 15752
56e6cc31
JB
157532011-07-04 Juanma Barranquero <lekktu@gmail.com>
15754
3abb79e5
JB
15755 * type-break.el (timep): Use the value of `float-time' to avoid a
15756 byte-compiler warning.
15757
56e6cc31
JB
15758 * server.el (server-eval-and-print): Return any result, even nil.
15759
7b9430b4
PE
157602011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15761
15762 * type-break.el: Accept time formats that the builtins accept.
15763 (timep, type-break-time-difference): Accept any format that
15764 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15765 This is simpler and helps future-proof the code.
15766 (type-break-time-difference): Round rather than ignoring
15767 subseconds components.
15768
3034e9e7
LMI
157692011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15770
15771 * info.el (Info-apropos-matches): Make non-interactive, since it
15772 doesn't seem to do anything useful as a command (bug#8829).
15773
1485f4c0
CY
157742011-07-03 Chong Yidong <cyd@stupidchicken.com>
15775
15776 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 15777 Move from faces.el.
1485f4c0
CY
15778 (frame-default-terminal-background): New function.
15779
15780 * custom.el (custom-push-theme): Don't record faces in `changed'
15781 theme; this doesn't work correctly for per-frame face settings.
15782 (disable-theme): Use face-set-after-frame-default to reset faces.
15783 (custom--frame-color-default): New function.
15784
9fa3dd45
LMI
157852011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15786
c8af70e1 15787 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
15788 (bug#8769).
15789
6cbbc20c
KR
157902011-03-29 Kevin Ryde <user42@zip.com.au>
15791
15792 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15793 `perl-Test2' extend to match possible "fail #N" rep count
15794 (bug#8377).
15795
c7f98048
LMI
157962011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15797
65676592
LMI
15798 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15799 `smtpmail-via-smtp' now returns the error instead of nil.
15800
c7f98048
LMI
15801 * isearch.el (isearch-search-fun-function): Clarify the doc string
15802 (bug#8101).
15803
56e6cc31 158042011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
15805
15806 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15807 unnecessary spaces (bug#8987).
15808
2b216704
LMI
158092011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15810
15811 * net/network-stream.el (open-network-stream): Use the
15812 :end-of-capability command thoughout.
15813
158142011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15815
15816 * net/network-stream.el (open-network-stream): Add the
15817 :end-of-capability command parameter, used by pop3.el.
15818
36adf6ce
LMI
158192011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15820
1ca0da0e
LMI
15821 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15822
fc00f69c
LMI
15823 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15824 for list)" (bug#6475).
15825
28fd8759 15826 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 15827 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
15828 an error (bug#6297).
15829
0dd8b6da
LMI
15830 * man.el (Man-reference-regexp): Allow matching possible
15831 word-wrapped references (bug#6289).
15832
ce1438d6
LMI
15833 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15834 for consistency with the other vc buffers (bug#6197).
15835 (vc-checkin): Ditto.
15836
15837 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15838
36adf6ce
LMI
15839 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15840
e83cc1f7
LMI
158412011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15842
8a20ca4c
LMI
15843 * custom.el (defcustom): Clarify that :set is only used in the
15844 Customize user interface (bug#6089).
15845
83319045
LMI
15846 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15847 associated with a file, refuse to run instead of erroring out
15848 (bug#6084).
15849
a8392169
LMI
15850 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15851 the doc string, since it appears that using `fill-column' always
15852 controls the width (bug#7845).
15853
e83cc1f7
LMI
15854 * simple.el (shell-command-on-region): Say where the error output
15855 went if `shell-command-default-error-buffer' is set (bug#6857).
15856
e47ca23b
KM
158572011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15858
15859 * allout.el (allout-yank-processing): Adjust cursor position for
15860 backwards-deleted space.
15861
15862 (allout-rebullet-heading): Register changes with
15863 allout-exposure-changed-hook, so the modified topic is properly
15864 decorated.
15865
5cf56143
LMI
158662011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15867
08549772
LMI
15868 * minibuffer.el (completion-in-region): Document PREDICATE
15869 (bug#7136).
15870
48e96771
LMI
15871 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15872 of keyword/argument pairs (bug#6904).
15873
c8af70e1
SM
15874 * replace.el (multi-occur):
15875 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 15876
e17d05e2
LMI
158772011-07-02 Drew Adams <drew.adams@oracle.com>
15878
15879 * dired.el (dired-mark-if): Make the message about whether it's
15880 marking or unmarking clearer (bug#8523).
15881
063b0e45
LMI
158822011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15883
15884 * disp-table.el (display-table-print-array): New function.
15885 (describe-display-table): Use it to print the vectors more pretty
15886 (Bug#8859).
15887
28545e04
MR
158882011-07-02 Martin Rudalics <rudalics@gmx.at>
15889
15890 * window.el (window-state-get-1): Don't assign clone numbers.
15891 Add clone-of item to list of window parameters.
15892 (window-state-put-2): Don't process clone numbers.
15893 (display-buffer-alist): Fix doc-string.
15894
3349e122
SM
158952011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15896
15897 * subr.el (remq): Don't allocate if it's not needed.
15898 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15899 (keymap--merge-bindings): New functions.
15900 (keymap-canonicalize): Use them to refine the canonicalization.
15901 * minibuffer.el (minibuffer-local-completion-map)
15902 (minibuffer-local-must-match-map): Move initialization from C.
15903 (minibuffer-local-filename-completion-map): Move initialization from C;
15904 don't inherit from anything here.
15905 (minibuffer-local-filename-must-match-map): Make obsolete.
15906 (completing-read-default): Use make-composed-keymap to combine
15907 minibuffer-local-filename-completion-map with either
15908 minibuffer-local-must-match-map or
15909 minibuffer-local-filename-completion-map.
15910
d224ac83
GM
159112011-07-01 Glenn Morris <rgm@gnu.org>
15912
3de63bf8
GM
15913 * type-break.el (type-break-time-sum): Use dolist.
15914
d224ac83
GM
15915 * textmodes/flyspell.el (flyspell-word-search-backward):
15916 Replace CL function.
15917
1a1e3f32
SM
159182011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15919
fe3f64d5
SM
15920 * mouse.el (mouse--strip-first-event): New function.
15921 (function-key-map): Use it to map fringe clicks to normal clicks
15922 by default.
15923
eb604e34
SM
15924 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15925 (vc-bzr-revision-completion-table): Add support for annotate and date.
15926
1a1e3f32
SM
15927 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15928 inherit from parent.
15929
5bd35902
LMI
159302011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15931
ace6c69c 15932 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 15933 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 15934
191e2bed
LMI
15935 * dired.el (dired-mode): Fix up the doc string as suggested by
15936 Drew Adams (bug#8817).
15937
5bd35902
LMI
15938 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15939 cookie, since the manual says that it should be possible to add
15940 this function to `find-file-hook' (bug#8709).
15941
eee8207a
TZ
159422011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15943
15944 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15945 here. Noted Ted Zlatanov as the maintainer.
15946 (cfengine-common-settings, cfengine-common-syntax): New functions
15947 to set up common things between `cfengine-mode' and
15948 `cfengine3-mode'.
15949 (cfengine3-mode): New mode.
15950 (cfengine3-defuns cfengine3-defuns-regex
15951 (cfengine3-class-selector-regex cfengine3-category-regex)
15952 (cfengine3-vartypes cfengine3-font-lock-keywords)
15953 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 15954 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 15955
36b148cf
MA
159562011-07-01 Michael Albinus <michael.albinus@gmx.de>
15957
15958 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15959
15960 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15961
0bf4ba9a
MR
159622011-07-01 Martin Rudalics <rudalics@gmx.at>
15963
15964 * window.el (same-window-buffer-names, same-window-regexps)
15965 (same-window-p, special-display-frame-alist)
15966 (special-display-popup-frame, special-display-function)
15967 (special-display-buffer-names, special-display-regexps)
15968 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15969 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15970 (split-window-preferred-function, split-height-threshold)
15971 (split-width-threshold, even-window-heights)
15972 (display-buffer-mark-dedicated, window-splittable-p)
15973 (split-window-sensibly, window-safely-shrinkable-p):
15974 Un-obsolete.
15975 (display-buffer): Don't spread args with function specifier
15976 because special-display-popup-frame won't like it.
15977
35837f51
PE
159782011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15979
d0672f86
PE
15980 Time-stamp simplifications and fixes.
15981 These improve accuracy slightly, and future-proof the code
15982 against some potential changes to current-time format.
15983
b9444d97
PE
15984 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15985 by using time-since and float-time.
15986
0ef923dc
PE
15987 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15988 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
15989 + NNN microseconds".
15990
2f81380d
PE
15991 * type-break.el (type-break-time-sum): Rewrite using time-add.
15992
845b5c3e
PE
15993 * play/hanoi.el (hanoi-current-time-float): Remove.
15994 All uses replaced by float-time.
15995
ee6f1be0
PE
15996 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15997 This yields a more-accurate answer.
15998 (rng-time-to-float): Remove; no longer needed.
15999
fe955043
PE
16000 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16001
5777162a
PE
16002 * calendar/timeclock.el (timeclock-seconds-to-time):
16003 Defalias to seconds-to-time, since they're the same thing.
16004
3103f8b6 16005 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 16006 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
16007 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16008
0e61a35f
SM
160092011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16010
16011 * window.el (bury-buffer): Don't iconify the only frame.
16012 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16013 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16014
ddd63a1e
CY
160152011-07-01 Chong Yidong <cyd@stupidchicken.com>
16016
0e61a35f
SM
16017 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16018 Add mouse-yank-primary.
ddd63a1e 16019
055f4923
TZ
160202011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16021
16022 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16023
6a2fb145
SM
160242011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16025
16026 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16027 (find-library-name): Use it to find relative load names when provided
16028 absolute file name (bug#8803).
16029
fd4983f2
LMI
160302011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16031
887d14ad
LMI
16032 * textmodes/flyspell.el (flyspell-word): Consider words that
16033 differ only in case as potential doublons (bug#5687).
16034
c53dc7fc
LMI
16035 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16036 Remove two rather uninteresting debugging-like messages to make
16037 debbugs.el more silent.
16038
fd4983f2
LMI
16039 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16040 a password-like phrase.
16041
7a71b18d 160422011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
16043
16044 * progmodes/cc-guess.el: New file.
16045
6a2fb145 16046 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
16047
16048 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16049 derived from `c-basic-common-init'.
16050
16051 * progmodes/cc-mode.el (top-level): Require cc-guess.
16052 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16053
1fa280a3
LM
160542011-06-30 Lawrence Mitchell <wence@gmx.li>
16055
16056 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16057
e6597158
AM
160582011-06-30 Alan Mackenzie <acm@muc.de>
16059
1fa280a3
LM
16060 * progmodes/cc-engine.el (c-guess-continued-construct):
16061 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
16062 lock is disabled. Name this case as "CASE G".
16063
68ba37fb
KM
160642011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16065
16066 * allout.el (allout-yank-processing): Fix injection of extra space
16067 between bullet and non-whitespace character in first topic when
16068 pasting, ensuring that the actual spacing in the pasted topic
16069 following the bullet char is preserved. This extra space was
16070 causing pasted encrypted topics to get a decrypted status even
16071 when the content was actually still encrypted. Now the decryption
16072 status from before the paste is preserved.
16073
16074 (allout-flag-region): Set all allout overlays so they evaporate
16075 when reduced to zero length (evanescent), to prevent overlay
16076 leakage.
16077
887a0b34
GM
160782011-06-30 Glenn Morris <rgm@gnu.org>
16079
94b9acce
GM
16080 * w32-fns.el (w32-charset-info-alist): Declare.
16081
1d9b46d4
GM
16082 * find-dired.el (find-grep-options): Simplify.
16083
cc232200
GM
16084 * term/ns-win.el (ns-set-resource): Declare.
16085
28e77c46
GM
16086 * ses.el (row, col): Declare dynamic variables honestly.
16087
887a0b34
GM
16088 * textmodes/reftex-parse.el (index-tags): Declare.
16089
658d8eb8
CY
160902011-06-30 Chong Yidong <cyd@stupidchicken.com>
16091
16092 * cus-edit.el (customize-push-and-save): New function.
16093
16094 * files.el (hack-local-variables-confirm): Use it.
16095
1fa280a3
LM
16096 * custom.el (load-theme): New arg NO-CONFIRM.
16097 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
16098 (custom-enabled-themes): Doc fix.
16099
16100 * cus-theme.el (customize-create-theme)
16101 (custom-theme-merge-theme): Callers to load-theme changed.
16102
bb617717
LMI
161032011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16104
d61bdd5d
LMI
16105 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16106 short URLs have at least one dot in them (bug #7614).
16107
bb617717
LMI
16108 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16109 nil, because using a pty is apparently too slow (bug #895).
16110
2f31f37a
LMI
161112011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16112
16113 * mail/sendmail.el (sendmail-query-once): New function.
16114 (sendmail-query-once-function): New variable.
16115
3076b24e
GM
161162011-06-29 Glenn Morris <rgm@gnu.org>
16117
faf2a174
GM
16118 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16119
3076b24e
GM
16120 * ses.el (top-level): Require cl when compiling.
16121 (ses-set-localvars): Fix error statement.
16122 Call it at compile time to silence a storm of warnings.
16123
5386012d
MR
161242011-06-29 Martin Rudalics <rudalics@gmx.at>
16125
16126 * window.el (normalize-live-buffer): Rename to
16127 window-normalize-buffer.
16128 (normalize-live-frame): Rename to window-normalize-frame.
16129 (normalize-any-window): Rename to window-normalize-any-window.
16130 (normalize-live-window): Rename to window-normalize-live-window.
16131 (make-window-atom): Rename to window-make-atom.
16132 (window-resize-reset): Rename to window--resize-reset.
16133 (window-resize-reset-1): Rename to window--resize-reset-1.
16134 (resize-mini-window): Rename to window--resize-mini-window.
16135 (resize-subwindows-skip-p): Rename to
16136 window--resize-subwindows-skip-p.
16137 (resize-subwindows-normal): Rename to
16138 window--resize-subwindows-normal.
16139 (resize-subwindows): Rename to window--resize-subwindows.
16140 (resize-other-windows): Rename to window--resize-siblings.
16141 (resize-this-window): Rename to window--resize-this-window.
16142 (resize-root-window): Rename to window--resize-root-window.
16143 (resize-root-window-vertically): Rename to
16144 window--resize-root-window-vertically.
16145 (normalize-buffer-to-display): Rename to
16146 window-normalize-buffer-to-display.
16147 (normalize-buffer-to-switch-to): Rename to
16148 window-normalize-buffer-to-switch-to.
16149 Correspondingly update all callers of the functions listed
16150 above.
16151 (display-buffer-alist, display-buffer-normalize-arguments)
16152 (display-buffer-normalize-options, display-buffer)
16153 (display-buffer-alist-set): Use "function" instead of
16154 "fun-with-args".
16155
1176868d
CY
161562011-06-28 Chong Yidong <cyd@stupidchicken.com>
16157
16158 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16159 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16160 debbugs.gnu.org. Mention acknowledgment email.
16161
20a7a65f
LMI
161622011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16163
16164 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16165 buffer multibyteness, since it shouldn't matter.
16166
5f45cca5
MR
161672011-06-28 Martin Rudalics <rudalics@gmx.at>
16168
16169 * window.el (display-buffer-in-side-window): Handle dedicated
16170 windows as in display-buffer-reuse-window.
16171 (display-buffer-normalize-alist): Use value of override
16172 specifier.
16173 (display-buffer-normalize-specifiers): Use value of
16174 other-window-means-other-frame specifier.
16175 (display-buffer-alist): Rewrite some texts in widgets.
16176 (display-buffer): Spread arguments when calling function
16177 specified by fun-with-args.
16178
ad85fe1f
DD
161792011-06-28 Deniz Dogan <deniz@dogan.se>
16180
1fa280a3
LM
16181 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16182 Unnest `let'.
da68c4c8 16183
ad85fe1f
DD
16184 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16185 selectors (Bug#5732).
ec49bd31 16186 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 16187
a08cc025
JA
161882011-06-27 Jari Aalto <jari.aalto@cante.net>
16189
16190 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16191 (eshell-ls-date-format): New defcustom.
16192 (eshell-ls-file): Use it.
16193
e2b551c5
SM
161942011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16195
16196 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16197
8982b231
KY
161982011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16199
16200 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16201 (ange-ftp-make-tmp-name): New arg.
16202 (ange-ftp-file-local-copy): Use it.
16203
36c9fa27
J
162042011-06-27 Jambunathan K <kjambunathan@gmail.com>
16205
16206 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16207 no-conversion (Bug#8870).
16208
d68443dc
MR
162092011-06-27 Martin Rudalics <rudalics@gmx.at>
16210
16211 * window.el (window-right, window-left, window-child)
16212 (window-child-count, window-last-child)
16213 (window-iso-combination-p, walk-window-tree-1)
16214 (window-atom-check-1, window-tree-1, delete-window)
16215 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16216 new naming conventions - window-vchild, window-hchild,
16217 window-next and window-prev are now called window-top-child,
16218 window-left-child, window-next-sibling and window-prev-sibling
16219 respectively.
d615d6d2
MR
16220 (resize-window-reset): Rename to window-resize-reset.
16221 (resize-window-reset-1): Rename to window-resize-reset-1.
16222 (resize-window): Rename to window-resize.
16223 (window-min-height, window-min-width)
16224 (resize-mini-window, resize-this-window, resize-root-window)
16225 (resize-root-window-vertically, adjust-window-trailing-edge)
16226 (enlarge-window, shrink-window, maximize-window)
16227 (minimize-window, delete-window, quit-restore-window)
16228 (split-window, balance-windows, balance-windows-area-adjust)
16229 (balance-windows-area, window-state-put-2)
16230 (display-buffer-even-window-sizes, display-buffer-set-height)
16231 (display-buffer-set-width, set-window-text-height)
16232 (fit-window-to-buffer): Rename all "resize-window" prefixed
16233 calls to use the "window-resize" prefix convention.
16234 (display-buffer-alist): Fix symbol for label specifier.
16235 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16236 corresponding specifier.
16237 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 16238
b6458526
VB
162392011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16240
16241 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16242 convention.
16243 (ses-call-printer): Does not pass an empty string to formatter when the
16244 cell is empty to keep from barking printer Calc math-format-value.
16245
d31fd9ac
RS
162462011-06-27 Richard Stallman <rms@gnu.org>
16247
43d5bf84
RS
16248 * battery.el (battery-mode-line-limit): New variable.
16249 (battery-update): Handle it.
16250
d31fd9ac
RS
16251 * mail/rmailmm.el (rmail-mime-process-multipart):
16252 Handle truncated messages.
16253
819a6054
GM
162542011-06-27 Glenn Morris <rgm@gnu.org>
16255
16256 * progmodes/flymake.el (flymake-err-line-patterns):
16257 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16258
cedc73f2
VB
162592011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16260
819a6054 16261 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
16262 (ses--clean-!, ses--clean-_): New functions.
16263 (ses-range): Add configurability of readout order, and conversion
16264 to Calc vector.
16265
5e5d49b6
VB
16266 * ses.el (ses-repair-cell-reference-all): New function.
16267 (ses-cell-symbol): Set macro as safe, so that it can be used in
16268 formulas.
16269
56e6cc31 16270 * ses.el: Update cycle detection algorithm.
90ca8b49 16271 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 16272 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
16273 (ses-set-localvars): New function.
16274 (ses-make-cell): Add property-list as a cell element.
16275 (ses-cell-property-get-fun, ses-cell-property-get)
16276 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
16277 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16278 New functions.
90ca8b49
VB
16279 (ses-cell-property-set, ses-cell-property-pop)
16280 (ses-cell-property-get-handle): New macro.
16281 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16282 New aliases, used for code readability.
16283 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16284 cycle detection.
16285 (ses-self-reference-early-detection): New defcustom.
fac916bf 16286 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
16287 (ses-mode): Use ses-set-localvars.
16288 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16289 before lauching the update processing.
16290 (ses-initialize-Dijkstra-attempt): New function.
16291 (ses-recalculate-cell): Update for cycle detection based on
16292 Dijkstra algorithm.
16293
2bb63e81
VB
16294 * ses.el: Fix commenting and indenting convention.
16295
c9d29fb8
SM
162962011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16297
16298 * bs.el (bs-cycle-next): Complete last change.
16299
d8e4b68b
JB
163002011-06-27 Drew Adams <drew.adams@oracle.com>
16301
16302 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16303
40098786
LMI
163042011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16305
c9d29fb8
SM
16306 * net/network-stream.el (network-stream-open-starttls):
16307 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
16308 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16309
40098786
LMI
16310 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16311 to binary to possibly avoid line encoding issues on Windows (among
16312 other things).
16313
468d09d4
LMI
163142011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16315
16316 * net/network-stream.el (open-network-stream): Return an :error
16317 saying what the problem was, if possible.
16318
16319 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16320 server.
16321
16322 * net/network-stream.el (network-stream-open-starttls): If we
16323 wanted to use STARTTLS, and the server offered it, but we weren't
16324 able to because we had no STARTTLS support, then close the connection.
16325 (open-network-stream): Return an :error element, if present.
16326
16f07dd7
CY
163272011-06-26 Chong Yidong <cyd@stupidchicken.com>
16328
88821ca0
CY
16329 * hl-line.el (hl-line-sticky-flag): Doc fix.
16330 (global-hl-line-sticky-flag): New option (Bug#8323).
16331 (global-hl-line-highlight): Obey it.
16332
16f07dd7
CY
16333 * vc/vc.el (vc-revert-show-diff): Default to t.
16334
6b5ccddf
KM
163352011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16336
c9d29fb8
SM
16337 * allout-widgets.el (allout-widgets-post-command-business):
16338 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
16339 undecorated when an isearch is continued past, and isearch
16340 automatically collapses them. This leads to "widget leaks", where
16341 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
16342 hidden widgets can slow down cursor travel, substantially.
16343 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
16344 so we're doing without this nicety.
16345
16346 (allout-widgets-tally-string): Don't try to do a hash-table-count
16347 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16348 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16349 *Messages* when allout-widgets-maintain-tally is t.
16350
355f2e07
MR
163512011-06-26 Martin Rudalics <rudalics@gmx.at>
16352
16353 * window.el (display-buffer-normalize-argument): Rename to
16354 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
16355 LABEL argument. Respect special-display-function when popping up
16356 a new frame. Fix code searching for a window showing the buffer
16357 on another frame.
c9d29fb8
SM
16358 (display-buffer-normalize-specifiers):
16359 Call display-buffer-normalize-arguments.
355f2e07
MR
16360 (display-buffer-in-window): Don't undedicate the window if its
16361 buffer remains the same.
16362 Reported by Drew Adams <drew.adams@oracle.com>.
16363 (display-buffer-alist): Add choice for same-window macro
16364 specfier.
16365 (display-buffer): Mention special meaning of LABEL argument in
16366 doc-string. Fix quoting. Don't pop up a new frame even as
16367 fallback.
16368
7ca8fc42
JB
163692011-06-26 Juanma Barranquero <lekktu@gmail.com>
16370
16371 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16372 avoid deleting the current window in some cases (bug#8911).
16373
bc312254
AS
163742011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16375
16376 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16377 (Bug#8934)
16378
2db18f3f
LMI
163792011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16380
c9d29fb8
SM
16381 * net/network-stream.el (network-stream-open-starttls):
16382 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
16383 (network-stream-open-tls): Ditto.
16384
6302e0d3
LL
163852011-06-26 Leo Liu <sdl.web@gmail.com>
16386
16387 * register.el (registerv): New struct.
16388 (registerv-make): New function.
c9d29fb8
SM
16389 (jump-to-register, describe-register-1, insert-register):
16390 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
16391 struct. (Bug#8415)
16392
5fdd4046
CY
163932011-06-26 Chong Yidong <cyd@stupidchicken.com>
16394
2afef60a
CY
16395 * vc/vc.el (vc-revert-show-diff): New defcustom.
16396 (vc-diff-internal): New arg specifying diff buffer.
16397 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16398 reuse an existing *vc-diff* buffer (Bug#8927).
16399
5fdd4046
CY
16400 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16401
e93db24a
GM
164022011-06-26 Glenn Morris <rgm@gnu.org>
16403
16404 * progmodes/f90.el (f90-critical-indent): New option.
16405 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16406 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16407 (f90-mode): Doc fix.
16408 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16409 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16410 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16411 (f90-match-end): Handle block, critical.
16412
eefff499
GM
164132011-06-25 Glenn Morris <rgm@gnu.org>
16414
f6ba4cc9
GM
16415 * calendar/diary-lib.el (diary-included-files): Doc fix.
16416 (diary-include-files): New function, extracted from
16417 diary-include-other-diary-files and diary-mark-included-diary-files.
16418 (diary-include-other-diary-files, diary-mark-included-diary-files):
16419 Just call diary-include-files.
16420 (diary-mark-entries): Reset diary-included-files on first call.
16421
16712304
GM
16422 * calendar/diary-lib.el (diary-mark-entries)
16423 (diary-mark-included-diary-files):
16424 Visit included diary-files in temp buffers.
16425
5d8e0d43
GM
16426 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16427 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16428 (f90-start-block-re, f90-imenu-generic-expression)
16429 (f90-looking-at-program-block-start, f90-no-block-limit):
16430 Add support for submodules.
16431
ccf7a5d5
GM
16432 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16433 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 16434
11fdef7d 164352011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
16436
16437 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16438 buffer-file-type before setting its value, to avoid disastrous
eefff499 16439 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 16440
74f53697
JB
164412011-06-25 Juanma Barranquero <lekktu@gmail.com>
16442
16443 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16444
16445 * ses.el (ses-unload-function):
16446 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16447
16448 * proced.el (proced-unload-function):
16449 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16450
18a4ce5e
AR
164512011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16452
16453 * server.el (server-create-window-system-frame): Add parameters arg.
16454 (server-process-filter): Doc fix. Handle frame-parameters.
16455
519d22cc
JB
164562011-06-25 Juanma Barranquero <lekktu@gmail.com>
16457
16458 Fix bug#8730, bug#8781.
16459
16460 * loadhist.el (unload--set-major-mode): New function.
16461 (unload-feature): Use it.
16462
16463 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16464 (python-unload-function): New function.
16465
c206f5b0
SM
164662011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16467
16468 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16469
f9ad64f3
GS
164702011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16471
16472 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16473 the candidates list.
16474
7d0da90e
JB
164752011-06-24 Juanma Barranquero <lekktu@gmail.com>
16476
16477 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16478
14b4e83d
RS
164792011-06-23 Richard Stallman <rms@gnu.org>
16480
16481 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16482 (rmail-variables): Set next-error-move-function.
16483 (rmail-what-message): Take argument POS.
16484 (rmail-next-error-move): New function.
16485
273d2baf
SM
164862011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16487
16488 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16489 messages for adjacent non-terminals.
16490
56c2cc9a
RS
164912011-06-23 Richard Stallman <rms@gnu.org>
16492
16493 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 16494 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
16495 (rmail-start-mail): Don't specify use of rmail-mail-return;
16496 that's done by mail-bury now.
16497 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 16498
d59eb518
MA
164992011-06-23 Michael Albinus <michael.albinus@gmx.de>
16500
16501 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16502 SIZE is a number.
16503
02cfc6d6
MR
165042011-06-23 Martin Rudalics <rudalics@gmx.at>
16505
16506 * window.el (get-lru-window, get-mru-window)
16507 (get-largest-window): Never return a minibuffer window.
16508 (display-buffer-pop-up-window): Fix a bug that could lead to
16509 reusing the minibuffer window.
16510 (display-buffer): Pass original specifier argument to
16511 display-buffer-function instead of the normalized one.
16512 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16513
4e323265
LL
165142011-06-22 Leo Liu <sdl.web@gmail.com>
16515
16516 * minibuffer.el (completing-read-function)
1f9f395d 16517 (completing-read-default): Move from minibuf.c.
4e323265 16518
7a70468f
RS
165192011-06-22 Richard Stallman <rms@gnu.org>
16520
50718fc2
RS
16521 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16522 to Rmail even if not started by a special Rmail command.
16523
7a70468f
RS
16524 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16525 Copy the buffer currently showing just one message.
16526
297dde5a
RW
165272011-06-22 Roland Winkler <winkler@gnu.org>
16528
16529 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16530 (bibtex-clean-entry): First delete the old key so that a
16531 customized algorithm for generating the new key does not get
16532 confused by the old key.
16533 (bibtex-url): Obey regexp of first step.
16534 (bibtex-search-entries): Do not use add-to-list with local
16535 list-var.
16536
97bb1093
LMI
165372011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16538
16539 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16540 stored a user name, then query for the password first, instead of
16541 waiting for SMTP to give an error message and the trying again.
16542
1c0f1a19
JD
165432011-06-22 Lawrence Mitchell <wence@gmx.li>
16544
16545 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16546 BUFFER in call-process.
16547
396f7c9d
LMI
165482011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16549
16550 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16551 QUIT twice.
ddb7ffee
LMI
16552 (smtpmail-try-auth-methods): Require user name and password from
16553 auth-source.
396f7c9d 16554
8998d1b3
MR
165552011-06-22 Martin Rudalics <rudalics@gmx.at>
16556
16557 * window.el (display-buffer-default-specifiers)
16558 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16559 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 16560 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
16561
16562 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16563 (special-display-frame-alist, special-display-popup-frame):
16564 Remove duplicate declarations. These are now in window.el.
16565
4ea31e07
LMI
165662011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16567
c9d29fb8
SM
16568 * mail/smtpmail.el (smtpmail-via-smtp):
16569 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
16570 server supports it. SMTP servers that support STARTTLS commonly
16571 require it.
16572
16573 * net/network-stream.el (network-stream-open-starttls): Support
16574 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 16575 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 16576
95f41d9a
LMI
16577 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16578 upgrades with `open-network-stream', and rely solely on
16579 auth-source for all credentials. Big changes throughout the file,
16580 but in particular:
c9d29fb8
SM
16581 (smtpmail-auth-credentials): Remove.
16582 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
16583 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16584 MAIL FROM, too.
95f41d9a 16585
c9d29fb8
SM
16586 * net/network-stream.el (network-stream-open-starttls):
16587 Provide support for client certificates both for external and built-in
4ea31e07
LMI
16588 STARTTLS.
16589 (auth-source): Require.
16590 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
16591 (network-stream-certificate): Change cert-cert to cert and
16592 cert-key to key.
4ea31e07 16593
065ec2c7
MA
165942011-06-21 Michael Albinus <michael.albinus@gmx.de>
16595
16596 * net/tramp-cache.el (top): Don't load the persistency file when
16597 "emacs -Q" has been called.
16598
cd93b359
DR
165992011-06-21 Tim Harper <timcharper@gmail.com>
16600
d8e4b68b
JB
16601 * term/ns-win.el (ns-initialize-window-system):
16602 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
16603 resource to NO as it is not yet supported by the NS port.
16604
ae9c0411
JB
166052011-06-21 Juanma Barranquero <lekktu@gmail.com>
16606
16607 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16608 (list-dynamic-libraries): ...not here.
16609
7f3f739f
LL
166102011-06-21 Leo Liu <sdl.web@gmail.com>
16611
16612 * subr.el (sha1): Implement sha1 using secure-hash.
16613
327c8fb1
MR
166142011-06-21 Martin Rudalics <rudalics@gmx.at>
16615
16616 * window.el (display-buffer-alist): In default value do not
16617 enforce searching a window on any but the selected frame.
16618 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16619 (display-buffer-select-window): Remove function.
16620 (display-buffer-in-window): When a window on another frame gets
16621 reused, do not select it any more but just raise its frame if
16622 necessary (Bug#8851) and (Bug#8856).
16623 (display-buffer-normalize-options): Handle pop-up-frames related
16624 options more faithfully.
16625 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16626 window if it is on another frame.
c9d29fb8
SM
16627 (display-buffer-alist, display-buffer-default-specifiers):
16628 Don't make new frame unsplittable by default.
9e9de014
MR
16629 (display-buffer-normalize-argument): Fix doc-string typo and use
16630 'same-frame-other-window instead of 'other-window when associating
16631 with display-buffer-macro-specifiers.
327c8fb1 16632
7cf3f556
VB
166332011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16634
16635 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16636 New functions.
16637 (5x5-mode-map, 5x5-mode-menu): Bind them.
16638 (5x5-draw-grid): Tweak the solver's rendering.
16639
60a406cf
SM
166402011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16641
16642 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16643 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16644
d8e4b68b 166452011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
16646
16647 * menu-bar.el: Use function variable instead of switch-to-buffer.
16648 (menu-bar-select-buffer-function): New variable.
60a406cf 16649 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 16650
478d6f95
SM
166512011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16652
16653 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16654 variable's status.
16655
ca530739
JD
166562011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16657
16658 * x-dnd.el (x-dnd-version-from-flags)
16659 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16660 and long as number (Bug#8899).
16661 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16662
bcd70d97
SM
166632011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16664
60a406cf 16665 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
16666 (completion-try-completion, completion-all-completions): Compute the
16667 metadata argument if it's missing; make it optional (bug#8795).
16668
60a406cf 16669 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
16670 (widget-complete): Use new :completion-function property.
16671 (widget-completions-at-point): New function.
16672 (default): Use :completion-function instead of :complete.
60a406cf
SM
16673 (widget-default-completions): Rename from widget-default-complete;
16674 Rewrite.
bcd70d97
SM
16675 (widget-string-complete, widget-file-complete, widget-color-complete):
16676 Remove functions.
16677 (file, symbol, function, variable, coding-system, color):
16678 * international/mule-cmds.el (default-input-method, charset)
16679 (language-info-custom-alist):
16680 * cus-edit.el (face): Use new property :completions.
16681
16682 * progmodes/pascal.el (pascal-completions-at-point): New function.
16683 (pascal-mode): Use it.
16684 (pascal-mode-map): Use completion-at-point.
16685 (pascal-toggle-completions): Make obsolete.
16686 (pascal-complete-word, pascal-show-completions):
16687 * progmodes/octave-mod.el (octave-complete-symbol):
16688 Redefine as obsolete alias.
16689 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16690 Signal absence of completion info for old Octave,
16691 (inferior-octave-complete): Redefine as obsolete alias.
16692 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16693 (meta-completions-at-point): Rename from meta-complete-symbol and
16694 adapt it for use on completion-at-point-functions.
16695 (meta-common-mode): Use it.
16696 (meta-looking-at-backward, meta-match-buffer): Remove.
16697 (meta-complete-symbol): Redefine as obsolete alias.
16698 (meta-common-mode-map): Use completion-at-point.
16699 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16700 (makefile-mode-map): Use completion-at-point.
16701 (makefile-completions-at-point): Rename from makefile-complete and
16702 adapt it for use on completion-at-point-functions.
16703 (makefile-mode): Use it.
16704 (makefile-complete): Redefine as obsolete alias.
16705
aebf69c8
DD
167062011-06-20 Deniz Dogan <deniz@dogan.se>
16707
16708 * net/rcirc.el: Delete trailing whitespaces once and for all.
16709
bfbbb27d
DC
167102011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16711
16712 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16713
d264a46b
CY
167142011-06-19 Chong Yidong <cyd@stupidchicken.com>
16715
4ca009e5
CY
16716 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16717
d264a46b
CY
16718 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16719
fbf5b3ce
MR
167202011-06-19 Martin Rudalics <rudalics@gmx.at>
16721
16722 * window.el (display-buffer-other-window-means-other-frame):
16723 Call display-buffer-normalize-alist.
16724 (display-buffer-normalize-specifiers-1): Rename to
16725 display-buffer-normalize-argument. New argument other-frame.
16726 Rewrite.
16727 (display-buffer-normalize-specifiers-2): Rename to
16728 display-buffer-normalize-options.
16729 (display-buffer-normalize-alist-1): New function.
16730 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
16731 display-buffer-normalize-alist.
16732 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
16733 (display-buffer-normalize-options-inhibit): New variable.
16734 (display-buffer-normalize-specifiers): Rewrite calling
16735 display-buffer-normalize-alist,
16736 display-buffer-normalize-argument, and
16737 display-buffer-normalize-options. Don't call the latter if
16738 display-buffer-normalize-options-inhibit is non-nil.
16739 (frame-auto-delete): New option.
16740 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
16741 (window-list-no-nils, window-state-ignored-parameters)
16742 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
16743 (window-state-put-1, window-state-put-2, window-state-put):
16744 New functions.
9a028c23
MR
16745 (display-buffer-normalize-options): Move special-display-p group
16746 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 16747
6d10d800
CY
167482011-06-18 Chong Yidong <cyd@stupidchicken.com>
16749
6420d28b
CY
16750 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16751 groups (Bug#8776).
16752 (rx-submatch-n): New function.
16753 (rx): Document it.
16754
ddb8b596
CY
16755 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16756 (Bug#8768).
16757
16758 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16759
77080289
CY
16760 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16761
61dfb316
CY
16762 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16763 anytime existing face settings are present (Bug#8889).
16764
6d10d800
CY
16765 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16766 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16767 Remove unused argument.
16768
be3fb2b8
MR
167692011-06-18 Martin Rudalics <rudalics@gmx.at>
16770
bcd70d97
SM
16771 * window.el (display-buffer-default-specifiers):
16772 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
16773 pop-up-window-min-width, and another reuse-window specifier
16774 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
16775 (display-buffer-normalize-specifiers-2):
16776 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
16777 pop-up-windows is unset. Add a reuse-window specifier for the
16778 case popping up a new window fails.
16779 (special-display-popup-frame): Remove double quoting.
28dec25a 16780 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 16781
1c6d8c76
SM
167822011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16783
16784 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16785 according to comint-completion-addsuffix.
16786
16787 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16788 (pcomplete-suffix-list): Mark as obsolete.
16789 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16790 pcomplete-seen in the closure.
16791 (pcomplete-comint-setup): Setup completion-at-point as well.
16792 (pcomplete--entries): New function.
16793 (pcomplete--env-regexp): New var.
16794 (pcomplete-entries): Rewrite to work with partial-completion and
16795 without relying on pcomplete-suffix-list.
16796 (pcomplete-pare-list): Remove, unused.
16797
25aef8b8
MR
167982011-06-17 Martin Rudalics <rudalics@gmx.at>
16799
16800 * window.el (display-buffer-alist): Set pop-up-window-min-height
16801 and pop-up-window-min-width in default value. Reported by
16802 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16803 other-window-means-other-frame.
16804 (display-buffer-macro-specifiers): Comment out entry for
16805 other-window specifier.
16806 (display-buffer-other-window-means-other-frame): New function.
16807 (display-buffer-normalize-specifiers-1): New arguments
16808 buffer-name and label. Treat other-window case specially.
16809 (display-buffer-normalize-specifiers-2): Treat other-window case
16810 specially.
16811 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
16812 (display-buffer-normalize-specifiers):
16813 Call display-buffer-normalize-specifiers-3.
25aef8b8 16814
dbad4f69
MR
168152011-06-17 Martin Rudalics <rudalics@gmx.at>
16816
16817 * window.el (same-window-p): Fix two typos introduced when
16818 adding with-no-warnings.
d1067961
MR
16819 (display-buffer-normalize-specifiers-1): Don't check
16820 pop-up-frames for 'unset initialization.
16821 (display-buffer-normalize-specifiers-2): Major rewrite using
16822 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16823 (pop-up-frames, display-buffer-reuse-frames)
16824 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16825 Suggested by David Engster <deng@randomsample.de>.
16826 (even-window-heights): Initialize to 'unset.
16827 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
16828 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16829 other window case.
dbad4f69 16830
9b9c9e3a
MR
168312011-06-16 Martin Rudalics <rudalics@gmx.at>
16832
bcd70d97
SM
16833 * window.el (display-buffer-normalize-specifiers-1):
16834 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 16835 second argument of display-buffer (Bug#8865).
981d5c09
MR
16836 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16837 (switch-to-buffer-other-window-same-frame)
16838 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16839 Adams (Bug#8875).
9c2755e9
MR
16840 (display-buffer): Don't check noninteractive when calling
16841 display-buffer-pop-up-frame.
16842 (display-buffer-pop-up-frame): Never pop up a frame in
16843 noninteractive mode (Bug#8857).
67222e1d
MR
16844 (enlarge-window, shrink-window): Don't report an error when the
16845 window can't be resized as requested (Bug#8862).
9b9c9e3a 16846
2b75be67
SM
168472011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16848
9ffdd3ba
SM
16849 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16850
cb581a67
SM
16851 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16852
2b75be67
SM
16853 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16854
8c0e3589
AM
168552011-06-15 Alan Mackenzie <acm@muc.de>
16856
cb581a67
SM
16857 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16858 for declarators, disable knr checking to speed up for normal files.
16859 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 16860
b96e6cde
LMI
168612011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16862
4bba86e6
LMI
16863 * net/network-stream.el (open-network-stream): Add the keyword
16864 :always-query-capabilities for the case where you want to force a
16865 `plain' network connection, but the protocol still requires the
16866 capabilitiy command (i.e., SMTP and EHLO).
16867
2b75be67 16868 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
16869 consistency with other `-live-p' functions.
16870
efdcdbf8
SM
168712011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16872
16873 * window.el (same-window-buffer-names, same-window-regexps)
16874 (special-display-frame-alist, special-display-popup-frame)
16875 (special-display-function, special-display-buffer-names)
16876 (special-display-regexps, pop-up-frame-alist)
16877 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16878 (pop-up-windows, split-window-preferred-function)
16879 (split-height-threshold, split-width-threshold, even-window-heights)
16880 (display-buffer-mark-dedicated): Don't encourage the use of
16881 display-buffer-alist from Elisp code.
16882
c5cde042
DN
168832011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16884
16885 * progmodes/python.el (python-mode): Derive from prog-mode.
16886 * progmodes/ps-mode.el (ps-mode):
16887 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 16888 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
16889 * progmodes/ld-script.el (ld-script-mode): Likewise.
16890
baa1c9ab
MR
168912011-06-15 Martin Rudalics <rudalics@gmx.at>
16892
16893 * window.el (display-buffer-alist): Trim default value to avoid
16894 popping up a new frame (Bug#8857) or reusing an arbitrary window
16895 on another frame.
16896 (display-buffer): Do not fall back on popping up a new frame in
16897 batch mode (Bug#8857).
16898
c5dd5a51
CY
168992011-06-14 Chong Yidong <cyd@stupidchicken.com>
16900
16901 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16902 (custom-theme-summary): New function.
16903 (customize-themes): Use it.
16904
d647b7c4
GM
169052011-06-13 Glenn Morris <rgm@gnu.org>
16906
16907 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16908
9481c002
MR
169092011-06-13 Martin Rudalics <rudalics@gmx.at>
16910
357f93d2
MR
16911 * help.el (help-window): Remove variable.
16912 (help-window-point-marker, temp-buffer-max-height)
16913 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16914 (help-print-return-message): Don't set help-window.
16915 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16916 (help-window-setup-finish): Remove.
16917 (help-window-display-message, help-window-setup)
16918 (with-help-window): Major rewrite based on new
16919 display-buffer-window variable.
16920
16921 * help-mode.el (help-mode-finish): Remove help-window related
16922 code.
16923
16924 * view.el (view-exits-all-viewing-windows): Remove reference to
16925 view-return-to-alist in doc-string.
16926 (view-return-to-alist): Make obsolete.
16927 (view-buffer): Call pop-to-buffer-same-window and remove
16928 undo-window code.
16929 (view-buffer-other-window): Call pop-to-buffer-other-window and
16930 simplify code. Ignore second argument.
16931 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16932 simplify code. Ignore second argument.
16933 (view-return-to-alist-update): Make obsolete.
16934 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16935 Rewrite using quit-restore window parameters.
2b75be67
SM
16936 (view-mode-exit): Rename second argument to EXIT-ONLY.
16937 Rewrite using quit-restore-window.
357f93d2
MR
16938 (View-exit, View-exit-and-edit, View-leave, View-quit)
16939 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16940 appropriate arguments.
16941 (view-end-message): Use quit-restore window parameter.
16942
9481c002
MR
16943 * window.el (display-buffer-function): Rewrite doc-string.
16944 (display-buffer-window, display-buffer-alist): New variables.
16945 (display-buffer-split-specifiers)
16946 (display-buffer-side-specifiers)
16947 (display-buffer-macro-specifiers): New constants.
16948 (display-buffer-even-window-sizes, display-buffer-set-height)
16949 (display-buffer-set-width, display-buffer-select-window)
16950 (display-buffer-in-window, display-buffer-reuse-window)
16951 (display-buffer-split-window-1, display-buffer-split-window)
16952 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16953 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16954 (display-buffer-in-side-window, normalize-buffer-to-display)
16955 (display-buffer-normalize-specifiers-1)
16956 (display-buffer-normalize-specifiers-2)
2b75be67
SM
16957 (display-buffer-normalize-specifiers, display-buffer-frame):
16958 New functions.
9481c002
MR
16959 (display-buffer): Major rewrite.
16960 (display-buffer-other-window, display-buffer-other-frame)
16961 (pop-to-buffer, switch-to-buffer-other-window)
16962 (switch-to-buffer-other-frame): Rewrite.
16963 (display-buffer-same-window, display-buffer-same-frame)
16964 (display-buffer-same-frame-other-window)
16965 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16966 (pop-to-buffer-other-window)
16967 (pop-to-buffer-same-frame-other-window)
16968 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16969 (switch-to-buffer-other-window-same-frame): New functions.
16970 (same-window-p, special-display-p): Rewrite disabling warnings.
16971 Make obsolete.
16972 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16973 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16974 Make obsolete
16975 (same-window-buffer-names, same-window-regexps)
16976 (special-display-frame-alist, special-display-popup-frame)
16977 (special-display-function, special-display-buffer-names)
16978 (special-display-regexps, pop-up-frame-alist)
16979 (pop-up-frame-function, split-window-preferred-function)
16980 (split-height-threshold, split-width-threshold)
16981 (even-window-heights): Make obsolete.
16982
9db51aca
GM
169832011-06-12 Glenn Morris <rgm@gnu.org>
16984
16985 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 16986 Misc simplifications.
9db51aca 16987
39cffb44
MR
169882011-06-12 Martin Rudalics <rudalics@gmx.at>
16989
16990 * window.el (window-safely-shrinkable-p): Restore function which
16991 was inadvertently removed in change from 2011-06-11. Declare as
16992 obsolete.
16993
2b75be67
SM
16994 * calendar/calendar.el (calendar-generate-window):
16995 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
16996 window-safely-shrinkable-p.
16997
a8955be7
GM
169982011-06-12 Glenn Morris <rgm@gnu.org>
16999
17000 * progmodes/fortran.el (fortran-mode-syntax-table):
17001 * progmodes/f90.el (f90-mode-syntax-table):
17002 Set % to punctuation. (Bug#8820)
17003 (f90-find-tag-default): Remove, no longer needed.
17004
f0d4059d
DC
170052011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17006
17007 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17008
1100a63c
CY
170092011-06-11 Chong Yidong <cyd@stupidchicken.com>
17010
17011 * image.el (image-animated-p): Return animation delay in seconds.
17012 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17013 (image-animate-timeout): Remove DELAY argument. Don't assume
17014 every subimage has the same delay; get it from image-animated-p.
17015 (image-animate): Caller changed.
17016
def722bf
MA
170172011-06-11 Michael Albinus <michael.albinus@gmx.de>
17018
17019 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17020 to ignored backtrace functions.
17021
0a2bb1a9
GM
170222011-06-11 Glenn Morris <rgm@gnu.org>
17023
17024 * calendar/appt.el (appt-disp-window-function): Doc fix.
17025 (appt-check): Handle overlapping appointments. (Bug#8337)
17026
6198ccd0
MR
170272011-06-11 Martin Rudalics <rudalics@gmx.at>
17028
17029 * window.el (window-tree-1, window-tree): New functions, moving
17030 the latter to window.el.
17031 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17032 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17033 (bw-refresh-edges): Remove.
17034 (balance-windows-1, balance-windows-2): New functions.
17035 (balance-windows): Rewrite in terms of window tree functions,
17036 balance-windows-1 and balance-windows-2.
17037 (bw-adjust-window): Remove.
17038 (balance-windows-area-adjust): New function with functionality of
17039 bw-adjust-window but using resize-window.
2b75be67
SM
17040 (set-window-text-height): Rewrite doc-string.
17041 Use normalize-live-window and resize-window.
17042 (enlarge-window-horizontally, shrink-window-horizontally):
17043 Rename argument to DELTA.
6198ccd0
MR
17044 (window-buffer-height): New function.
17045 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17046 Rewrite using new window resize routines.
2b75be67
SM
17047 (kill-buffer-and-window, mouse-autoselect-window-select):
17048 Use ignore-errors instead of condition-case.
6198ccd0
MR
17049 (quit-window): Call delete-frame instead of delete-windows-on
17050 for the only buffer on frame.
17051
9397e56f
MR
170522011-06-10 Martin Rudalics <rudalics@gmx.at>
17053
17054 * loadup.el (top-level): Load window before files for the sake
17055 of replace-buffer-in-windows.
17056
17057 * files.el (read-buffer-to-switch)
17058 (switch-to-buffer-other-window)
2b75be67
SM
17059 (switch-to-buffer-other-frame, display-buffer-other-frame):
17060 Move to window.el.
9397e56f
MR
17061
17062 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17063 (previous-buffer): Move to window.el.
17064
17065 * bindings.el (unbury-buffer): Move to window.el.
17066
17067 * window.el (delete-other-windows-vertically): Move after
17068 definition of delete-other-windows.
17069 (other-window, delete-windows-on, replace-buffer-in-windows):
17070 Move here from window.c.
17071 (record-window-buffer, unrecord-window-buffer)
17072 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17073 (switch-to-next-buffer): New functions.
17074 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17075 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
17076 (previous-buffer): Move here from simple.el.
17077 Call switch-to-prev-buffer.
9397e56f
MR
17078 (bury-buffer): Move here from buffer.c. Switch to previous
17079 buffer when window cannot be deleted.
17080 (unbury-buffer): Move here from bindings.el.
17081 (ctl-x-map): Move binding for other-window from window.c to
17082 here.
17083 (read-buffer-to-switch, switch-to-buffer-other-window)
17084 (switch-to-buffer-other-frame): Move here from files.el.
17085 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
17086 (switch-to-buffer): Move here from buffer.c.
17087 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 17088
562dd5e9
MR
170892011-06-10 Martin Rudalics <rudalics@gmx.at>
17090
17091 * window.el (window-min-height, window-min-width): Move here
17092 from window.c. Add defcustoms and rewrite doc-strings.
17093 (resize-mini-window, resize-window): New functions.
17094 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17095 Move here from window.c.
17096 (maximize-window, minimize-window): New functions.
17097 (delete-window, delete-other-windows, split-window): Move here
17098 from window.c.
17099 (window-split-min-size): New function.
17100 (split-window-keep-point): Mention split-window-above-each-other
17101 instead of split-window-vertically.
2b75be67 17102 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
17103 Rename split-window-vertically to split-window-above-each-other
17104 and provide defalias for old definition.
17105 (split-window-side-by-side, split-window-horizontally):
17106 Rename split-window-horizontally to split-window-side-by-side
17107 and provide defalias for the old definition.
562dd5e9
MR
17108 (ctl-x-map): Move bindings for delete-window,
17109 delete-other-windows and enlarge-window here from window.c.
17110 Replace bindings for split-window-vertically and
17111 split-window-horizontally by bindings for
17112 split-window-above-each-other and split-window-side-by-side.
17113
17114 * cus-start.el (all): Remove entries for window-min-height and
17115 window-min-width. Add entries for window-splits and
17116 window-nest.
17117
f0da764a
GM
171182011-06-09 Glenn Morris <rgm@gnu.org>
17119
80675c21
GM
17120 * calendar/appt.el (appt-mode-line): New function.
17121 (appt-check, appt-disp-window): Use it.
17122
f0da764a
GM
17123 * files.el (hack-one-local-variable-eval-safep):
17124 Allow minor-modes with explicit +/-1 arguments.
17125
59f623b7
TZ
171262011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17127
17128 * term/xterm.el (xterm): Add defgroup.
17129 (xterm-extra-capabilities): Add defcustom to supply known xterm
17130 capabilities, skip querying them, or query them (default).
17131 (terminal-init-xterm): Use it.
17132 (terminal-init-xterm-modify-other-keys): New function to set up
17133 modifyOtherKeys support to simplify `terminal-init-xterm'.
17134
9aab8e0d
MR
171352011-06-09 Martin Rudalics <rudalics@gmx.at>
17136
17137 * window.el (resize-window-reset, resize-window-reset-1)
17138 (resize-subwindows-skip-p, resize-subwindows-normal)
17139 (resize-subwindows, resize-other-windows, resize-this-window)
17140 (resize-root-window, resize-root-window-vertically)
17141 (window-deletable-p, window-or-subwindow-p)
17142 (frame-root-window-p): New functions.
17143
e8b08aee
GM
171442011-06-09 Glenn Morris <rgm@gnu.org>
17145
17146 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17147 (ange-ftp-get-files): Use it.
17148
254c37a5
AK
171492011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17150
17151 * mail/sendmail.el (mail-recover-1, mail-recover):
17152 * files.el (recover-file, recover-session):
17153 Handle dired-listing-switches not being just a single short option.
17154
35d7dbd3
GM
171552011-06-09 Glenn Morris <rgm@gnu.org>
17156
17157 * calendar/appt.el (appt-display-message, appt-disp-window):
17158 Handle lists of appointments.
17159
387522b2
MR
171602011-06-08 Martin Rudalics <rudalics@gmx.at>
17161
2b75be67
SM
17162 * window.el (one-window-p): Move down in code.
17163 Rewrite doc-string.
17164 (window-current-scroll-bars): Rewrite doc-string.
17165 Normalize live window argument.
387522b2
MR
17166 (walk-windows, get-window-with-predicate, count-windows):
17167 Rewrite doc-string. Use window-list-1.
17168 (window-in-direction-2, window-in-direction, get-mru-window):
17169 New functions.
17170
d8e4b68b 171712011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
17172
17173 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17174 Doc fix (Bug#8713).
17175
171762011-06-08 Chong Yidong <cyd@stupidchicken.com>
17177
17178 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17179
171802011-06-08 Juanma Barranquero <lekktu@gmail.com>
17181
17182 * loadhist.el (unload-feature-special-hooks):
17183 Add `comint-output-filter-functions'.
17184
0de12c52
IK
171852011-06-08 Ivan Kanis <gnu@kanis.fr>
17186
17187 * calendar/appt.el (appt-check): Move some initializations into the let.
17188
f3d1777e
MR
171892011-06-08 Martin Rudalics <rudalics@gmx.at>
17190
17191 * window.el (window-height): Defalias to window-total-height.
17192 (window-width): Defalias to window-body-width.
17193
18af70d0
CY
171942011-06-07 Chong Yidong <cyd@stupidchicken.com>
17195
17196 * image-mode.el (image-toggle-animation): New command.
17197 (image-mode-map): Bind it to RET.
17198 (image-mode): Update message.
17199 (image-toggle-display-image): Avoid a spurious cache flush.
17200 (image-transform-rotation): Doc fix.
17201 (image-transform-properties): Return quickly in the normal case.
17202 (image-animate-loop): Rename from image-animate-max-time.
17203
2b75be67 17204 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
17205 (create-animated-image): Remove unnecessary function.
17206 (image-animate): Rename from image-animate-start. New arg.
2b75be67 17207 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
17208 (image-animate-timer): Use car-safe.
17209 (image-animate-timeout): Rename argument.
17210
190b47e6
MR
172112011-06-07 Martin Rudalics <rudalics@gmx.at>
17212
17213 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
17214 window.c. Rename first argument to ALL-FRAMES.
17215 Rephrase doc-strings.
17216 (get-buffer-window-list): Rewrite using window-list-1.
17217 Rephrase doc-string.
a1511caf
MR
17218 (window-safe-min-height, window-safe-min-width): New constants.
17219 (window-size-ignore, window-min-size, window-min-size-1)
17220 (window-sizable, window-sizable-p, window-size-fixed-1)
17221 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17222 (window-max-delta-1, window-max-delta, window-resizable)
17223 (window-resizable-p, window-total-height, window-total-width)
17224 (window-body-width): New functions.
17225 (window-full-height-p, window-full-width-p): Rewrite using
17226 window-total-size.
17227 (window-body-height): Rewrite using window-body-size.
190b47e6 17228
85cc1f11
MR
172292011-06-06 Martin Rudalics <rudalics@gmx.at>
17230
17231 * window.el (window-right, window-left, window-child)
17232 (window-child-count, window-last-child, window-any-p)
17233 (normalize-live-buffer, normalize-live-frame)
17234 (normalize-any-window, normalize-live-window)
17235 (window-iso-combination-p, window-iso-combined-p)
17236 (window-iso-combinations)
17237 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17238 (windows-with-parameter, window-with-parameter)
17239 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
17240 (window-atom-check, window-side-check, window-check):
17241 New functions.
85cc1f11
MR
17242 (ignore-window-parameters, window-sides, window-sides-vertical)
17243 (window-sides-slots): New variables.
17244 (window-size-fixed): Move down in code. Minor doc-string fix.
17245
e7156492
AS
172462011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17247
17248 * comint.el (comint-dynamic-complete-as-filename)
17249 (comint-dynamic-complete-filename): Correctly call
17250 completion-in-region.
17251
7e821d0d
DD
172522011-06-05 Deniz Dogan <deniz@dogan.se>
17253
17254 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17255 in last change.
17256
ac09b8a1
DD
172572011-06-05 Deniz Dogan <deniz@dogan.se>
17258
17259 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17260 (rcirc): Use it to prompt for encryption.
17261
34699b85
RW
172622011-06-05 Roland Winkler <winkler@gnu.org>
17263
17264 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17265 (bibtex-search-entries): New command bound to C-c C-a.
17266 (bibtex-display-entries): New function.
17267
004dedd3
RW
172682011-06-05 Roland Winkler <winkler@gnu.org>
17269
17270 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17271 (bibtex-insert-kill): After yanking insert newline if necessary.
17272 (bibtex-initialize): Call bibtex-string-files-init only once.
17273 (bibtex-mode): Do not call easy-menu-add.
17274 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17275 (bibtex-yank): Set arg properly if nil.
17276
022fe7ce
RW
172772011-06-05 Roland Winkler <winkler@gnu.org>
17278
2b75be67
SM
17279 * textmodes/bibtex.el (bibtex-search-entry-globally):
17280 New variable.
022fe7ce
RW
17281 (bibtex-search-entry): Use it.
17282
b7c3692a
RW
172832011-06-05 Roland Winkler <winkler@gnu.org>
17284
17285 * textmodes/bibtex.el (bibtex-entry-format): New option
17286 sort-fields.
17287 (bibtex-format-entry, bibtex-reformat): Honor this option.
17288 (bibtex-parse-entry): Return fields in proper order.
17289
8eda563d
JB
172902011-06-05 Juanma Barranquero <lekktu@gmail.com>
17291
17292 * doc-view.el (doc-view-remove-if): Move computation of result out
17293 of `dolist' to silence misleading lexical-binding warning.
17294
7dbe3dbc
CY
172952011-06-04 Chong Yidong <cyd@stupidchicken.com>
17296
17297 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17298 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17299
0c33dd17
MA
173002011-06-04 Michael Albinus <michael.albinus@gmx.de>
17301
17302 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17303 "SunOS 5.10".
17304
f8f91c2b
MA
173052011-06-04 Michael Albinus <michael.albinus@gmx.de>
17306
17307 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17308 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17309 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17310 (tramp-parse-putty):
17311 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17312 (tramp-completion-function-alist-ssh)
17313 (tramp-completion-function-alist-telnet)
17314 (tramp-completion-function-alist-su)
17315 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17316 cookie.
17317
17318 * net/tramp-ftp.el:
17319 * net/tramp-sh.el:
17320 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17321 load "tramp.el" `tramp-set-completion-function'.
17322
e17d9003
SM
173232011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17324
17325 * shell.el: Require and use pcomplete.
17326 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17327 (shell-completion-vars): Set pcomplete-default-completion-function.
17328
6c4cab03
DD
173292011-06-04 Deniz Dogan <deniz@dogan.se>
17330
17331 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17332 `memq' (Bug#8799).
17333
ea9fafe0
SM
173342011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17335
17336 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17337
b3e945d3
JB
173382011-06-02 Juanma Barranquero <lekktu@gmail.com>
17339
17340 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17341 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17342 * vc/log-view.el (log-view-beginning-of-defun):
17343 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17344 (smerge-refine-forward, smerge-refine-chopup-region):
17345 Silence warning for unused `dotimes' counter variables.
17346
7d520089
SM
173472011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17348
17349 * net/tramp.el (tramp-with-progress-reporter): Rename from
17350 with-progress-reporter. Use `declare'.
17351 * net/tramp-smb.el:
17352 * net/tramp-sh.el:
17353 * net/tramp-gvfs.el: Update all uses.
17354
a1c2400f
JB
173552011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17356
17357 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17358 buffer isn't killed before making it current.
17359
2403c841
SM
173602011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17361
17362 Silence various byte-compiler warnings.
17363 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17364 `access-type' and new obsolescence format.
17365 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17366 new format.
17367 (byte-compile-check-variable): New `access-type' argument.
17368 Only warn if the access-type is obsolete.
17369 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17370 (byte-compile-variable-set): Adjust callers.
17371 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17372 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17373 setting it as obsolete.
17374 * simple.el (minibuffer-completing-symbol):
17375 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17376 access as obsolete.
17377 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17378 obsolete yet.
17379 * international/quail.el (quail-mouse-choose-completion): Remove unused
17380 code referring to obsolete var.
17381 (quail-choose-completion-string): Remove.
17382 * server.el (server-clients-with, server-kill-buffer-query-function)
17383 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17384 * proced.el (proced-send-signal):
17385 * emacs-lisp/lisp.el (lisp-complete-symbol):
17386 Replace completion-annotate-function with completion-extra-properties.
17387
2462470b
SM
173882011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17389
fb5b2591
SM
17390 * simple.el (goto-line): Use read-number.
17391 (overriding-map-is-bound): Remove.
17392 (saved-overriding-map): Change default.
17393 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17394 Take the map as argument.
17395 (universal-argument, negative-argument, digit-argument): Use it.
17396 (restore-overriding-map): Adjust.
17397 (do-auto-fill): Use fill-forward-paragraph.
17398 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17399
fd6fa53f
SM
17400 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17401 (minibuffer-inactive-mode): New major mode.
17402 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17403 the *Messages* buffer" hack.
17404 (mouse-popup-menubar): Don't burp if the event is a normal key.
17405
2462470b
SM
17406 Miscellaneous tweaks.
17407 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17408 lexical scoping as in subr.el's dolist and dotimes.
17409 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17410 Silence compiler warning.
17411 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17412 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17413 * international/ccl.el (ccl-compile): Trivial simplification.
17414 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17415 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17416 `printflag' argument.
17417 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17418 Purecopy the whole obsolescence data.
17419
108bf785
LL
174202011-06-01 Leo Liu <sdl.web@gmail.com>
17421
17422 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17423 improve doc-string as suggested by Marco Pessotto
17424 <melmothx@gmail.com>.
17425 (rcirc-print): Fix last change.
17426
30a23501
SM
174272011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17428
17429 * minibuffer.el (complete-with-action): Return nil for the metadata and
17430 boundaries of non-functional tables.
17431 (completion-table-dynamic): Return nil for the metadata.
17432 (completion-table-with-terminator): Add default case, using
17433 complete-with-action.
17434 (completion--metadata): New function.
17435 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17436 to try and avoid pathological performance problems.
17437 (completion--embedded-envvar-table): Return `category' metadata.
17438
bcd54f83
LMI
174392011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17440
17441 * subr.el (process-alive-p): New tiny convenience function.
17442
e227544d
SM
174432011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17444
17445 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17446 content but also its previous major mode.
17447
e8296fdc
HE
174482011-05-31 Helmut Eller <eller.helmut@gmail.com>
17449
4d61f28d 17450 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
17451 *Backtrace* buffer when we exit with C-M-c.
17452
620c53a6
SM
174532011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17454
17455 * minibuffer.el: Add metadata method to completion tables.
17456 (completion-category-overrides): New defcustom.
17457 (completion-metadata, completion--field-metadata)
17458 (completion-metadata-get, completion--styles)
17459 (completion--cycle-threshold): New functions.
17460 (completion-try-completion, completion-all-completions):
17461 Add `metadata' argument to choose completion-styles.
17462 (completion--do-completion): Use metadata to choose cycling.
17463 (completion-all-sorted-completions): Use metadata for sorting.
17464 Remove :completion-cycle-penalty which is not needed any more.
17465 (completion--try-word-completion): Add `metadata' argument.
17466 (minibuffer-completion-help): Check metadata for annotation function
17467 and sorting.
17468 (completion-file-name-table): Return `category' metadata.
17469 (minibuffer-completing-file-name): Make obsolete.
17470 * simple.el (minibuffer-completing-symbol): Make obsolete.
17471 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17472 completion-try-completion.
17473
1257e755
SM
174742011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17475
17476 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17477
3767e706
LL
174782011-05-30 Leo Liu <sdl.web@gmail.com>
17479
17480 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
17481 (rcirc-print): Decode all incoming messages (bug#8744).
17482 (rcirc-decode-coding-system): Allow value nil for automatic coding
17483 system detection.
3767e706 17484
d1a5d56a
GM
174852011-06-01 Glenn Morris <rgm@gnu.org>
17486
17487 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17488
e8cbec34
CY
174892011-05-29 Chong Yidong <cyd@stupidchicken.com>
17490
17491 * image.el (image-animate-max-time): Allow nil and t values.
17492 Default to nil.
17493 (create-animated-image): Doc fix.
17494 (image-animate-start): Remove second arg; just use
17495 image-animate-max-time.
17496 (image-animate-timeout): Doc fix. Args changed.
17497
17498 * image-mode.el (image-toggle-display-image): Ensure that the
17499 image spec passed to the animate timer is the same object as in
58179cce 17500 the buffer's display property (Bug#6981).
e8cbec34
CY
17501 (image-transform-properties): Doc fix.
17502
17503 * image.el (image-animate-max-time): Default to nil.
17504
159daf87
MR
175052011-05-29 Martin Rudalics <rudalics@gmx.at>
17506
17507 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17508 entire buffer list (Bug#8184).
17509
d66c4c7c
CY
175102011-05-29 Chong Yidong <cyd@stupidchicken.com>
17511
17512 * image.el (imagemagick-types-inhibit)
17513 (imagemagick-register-types): Doc fix.
17514
80aec780
DD
175152011-05-29 Deniz Dogan <deniz@dogan.se>
17516
17517 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17518 default.
17519
1dd3c2d9
CY
175202011-05-29 Chong Yidong <cyd@stupidchicken.com>
17521
17522 * select.el: Don't perform clipboard-manager saving in hooks;
17523 leave the hooks empty.
17524
60e56523
LL
175252011-05-28 Leo Liu <sdl.web@gmail.com>
17526
17527 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17528 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17529 (occur-edit-mode): New major mode (Bug#8463).
17530 (occur-after-change-function): New function.
17531 (occur-engine): Give Occur tags a read-only property.
17532
2b1e1a22
KR
175332011-05-28 Kevin Ryde <user42@zip.com.au>
17534
17535 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17536
5d344e88
CY
175372011-05-28 Chong Yidong <cyd@stupidchicken.com>
17538
8e6ca83d
CY
17539 * bindings.el (help-echo): Make the initial non-indicator dash
17540 empty on graphical terminals (Bug#7295).
17541
5d344e88
CY
17542 * files.el (auto-mode-alist): Move config rule after the
17543 in-stripping one (Bug#8547).
17544
bfbbace7
CY
17545 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17546
fbeba6e2
CY
17547 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17548 setting (Bug#8740).
17549
60ed8c72
AA
175502011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17551
4ac619f0
AA
17552 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17553 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17554 (Bug#8539).
60ed8c72 17555
23db196e
CY
175562011-05-28 Chong Yidong <cyd@stupidchicken.com>
17557
17558 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17559
5012f24c
DK
175602011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17561
17562 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17563 (hs-hide-block-at-point, hs-find-block-beginning)
17564 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17565 (Bug#8279).
17566
6a639b16
GM
175672011-05-28 Glenn Morris <rgm@gnu.org>
17568
17569 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17570
d43eaf2c
CY
175712011-05-28 Chong Yidong <cyd@stupidchicken.com>
17572
5199bde1
CY
17573 * help-fns.el (describe-function-1): If the function is a derived
17574 major mode, print the parent mode.
17575
d43eaf2c
CY
17576 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17577 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17578
423428a8
SM
175792011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17580
0ff8e1ba 17581 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 17582 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
17583 * progmodes/etags.el (tags-completion-at-point-function):
17584 * info-look.el (info-lookup-completions-at-point): Mark as
17585 non-exclusive.
17586 (info-complete): Adjust accordingly.
17587
423428a8
SM
17588 * info-look.el: Convert to lexical-binding and completion-at-point.
17589 (info-lookup-completions-at-point): New function.
17590 (info-complete): Use it and completion-in-region.
17591
b74aa22b
DA
175922011-05-28 Drew Adams <drew.adams@oracle.com>
17593
17594 * isearch.el: Let M-e start with point at the first mismatched char.
17595 (isearch-fail-pos): New function.
17596 (isearch-edit-string): Use it.
17597
66e2e71d
DK
175982011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17599
17600 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17601
b1890b0f 176022011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
17603
17604 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17605 traversal functions for avl-trees.
17606 (avl-tree--stack): New struct.
17607 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17608 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
17609 (avl-tree--do-enter): Add optional `updatefun' arg.
17610 Change return value.
eb95d01d 17611 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
17612 (avl-tree--do-delete): Add `test' and `nilflag' args.
17613 Change return value.
eb95d01d
TC
17614 (avl-tree-member): Add optional `nilflag'
17615 (avl-tree-member-p): New function.
17616 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17617 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17618 (avl-tree-stack-empty-p): New functions.
17619
3769ddcf
TC
17620 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17621 avl-tree--del-balance1 and make it work both ways.
17622 (avl-tree--del-balance2): Remove.
17623 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17624 make it work both ways.
17625 (avl-tree--enter-balance2): Remove.
17626 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17627 New macros.
17628 (avl-tree--mapc, avl-tree-map): Add direction argument.
17629
eb95d01d 176302011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
17631
17632 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17633
a9f737ee
CY
176342011-05-27 Chong Yidong <cyd@stupidchicken.com>
17635
17636 * select.el: Support clipboard managers with built-in function
17637 x-clipboard-manager-save, via delete-frame-functions and
17638 kill-emacs-hook.
17639 (xselect-convert-to-targets): Add MULTIPLE target to list.
17640 (xselect-convert-to-save-targets): New function.
17641
c92a1e54
KH
176422011-05-27 Kenichi Handa <handa@m17n.org>
17643
17644 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17645 let-binding rfc2047-encode-encoded-words to nil.
17646
e145f188
GM
176472011-05-27 Glenn Morris <rgm@gnu.org>
17648
5ec8a862
GM
17649 * mail/emacsbug.el: Don't require url-util.
17650
4b29d9fb
GM
17651 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17652
e145f188
GM
17653 * files.el (set-auto-mode):
17654 Also respect mode: entries at the end of the file. (Bug#8586)
17655
7d15102b
GM
176562011-05-26 Glenn Morris <rgm@gnu.org>
17657
98f593b8
GM
17658 * files.el (hack-local-variables-prop-line, hack-local-variables):
17659 Downcase mode names, as seems to be traditional.
27b48e63 17660 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 17661
7d15102b
GM
17662 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17663 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17664
51d5b4ec
JD
176652011-05-25 Julien Danjou <julien@danjou.info>
17666
17667 * textmodes/rst.el (rst-define-level-faces): Do not define face
17668 symbol if it is already defined.
17669
91513f63
VB
176702011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17671
17672 * play/5x5.el (5x5-new-game, 5x5-randomize):
17673 Reset 5x5-solver-output to nil when a new grid is cast.
17674 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17675 these debugging traces, as defmacro breaks the compiled code.
17676
4d90d6d0
DK
176772011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17678
17679 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17680
e1b90ef6
LL
176812011-05-24 Leo Liu <sdl.web@gmail.com>
17682
17683 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17684 (vc-bzr-sha1): Adapt.
17685
d8e4b68b 17686 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
17687
17688 * bindings.el: Provide sha1 feature.
17689
db0406bb 176902011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
17691
17692 * mail/sendmail.el: Require `rfc2047'.
17693 (mail-insert-from-field): Do not perform RFC2047 encoding.
17694 (mail-encode-header): New function.
17695 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
17696 buffer to the return value of select-message-coding-system.
17697 Call mail-encode-header.
b8d747b9
KH
17698
17699 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17700
db0406bb 177012011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 17702
4d90d6d0
DK
17703 * mail/supercite.el (sc-default-cite-frame):
17704 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 17705
eb8a5e9b
GM
177062011-05-24 Glenn Morris <rgm@gnu.org>
17707
f8630703
GM
17708 * progmodes/python.el (brm-menu): Declare.
17709
8831bbed
GM
17710 * emulation/viper.el (viper-set-hooks): Declare.
17711
eb8a5e9b
GM
17712 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17713 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17714 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17715 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17716 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17717 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17718
a2a25d24
SM
177192011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17720
17721 Add an :exit-function for completion-at-point.
17722
17723 * minibuffer.el (completion--done): New fun.
17724 (completion--do-completion): Use it. New arg `expect-exact'.
17725 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17726 since completion--do-completion does it for us now.
17727 (minibuffer-force-complete): Use completion--done and
17728 completion--replace. Handle sole-completion case with more care.
17729 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17730 (completion-extra-properties): New var.
17731 (completion-annotate-function): Make obsolete.
17732 (minibuffer-completion-help): Adjust accordingly.
17733 Use completion-list-insert-choice-function.
17734 (completion-at-point, completion-help-at-point):
17735 Bind completion-extra-properties.
17736 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17737 * simple.el (completion-list-insert-choice-function): New var.
17738 (completion-setup-function): Preserve it.
17739 (choose-completion): Pay attention to it, shuffle the code a bit.
17740 (choose-completion-string): New arg `insert-function'.
17741
17742 * textmodes/bibtex.el: Convert to lexical binding.
17743 (bibtex-mode-map): Use completion-at-point.
17744 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17745 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17746 (bibtex-complete): Define as obsolete alias.
17747 (bibtex-complete-internal): Remove.
17748 (bibtex-format-entry): Remove unused sub-group in regexp.
17749 * shell.el (shell--command-completion-data)
17750 (shell-environment-variable-completion):
17751 * pcomplete.el (pcomplete-completions-at-point):
17752 * comint.el (comint--complete-file-name-data): Use :exit-function
17753 instead of completion-table-with-terminator so it also works for
17754 choose-completion.
17755
e44e373d
SM
177562011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17757
4f91a816
SM
17758 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17759
782fc819
SM
17760 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17761 (bug#8710).
17762
e44e373d
SM
17763 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17764
381987c3
KM
177652011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17766
17767 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17768 customization variable and implement: If non-nil, auto-fill will
17769 be inhibited while on topic's header line.
17770
b776bc70
VB
177712011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17772
17773 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 17774 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
17775 always have a solution in grid size = 5 cases.
17776 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17777 (5x5-solver-output, 5x5-log-buffer): New vars.
17778 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17779 Make these variables buffer local to achieve 5x5 multi-session-ness.
17780 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17781 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17782 (5x5-solve-suggest): New funs.
17783 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17784 randomize a grid so that we ensure that there is always a solution.
17785 (5x5-make-random-grid): Allow other movement than flipping.
17786
7de88b6e
KR
177872011-05-23 Kevin Ryde <user42@zip.com.au>
17788
17789 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 17790 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
17791 advice and passes PREDICATE.
17792
b1ef1257
SM
177932011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17794
bbca48fe
SM
17795 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17796 byte-compile-lambda if it's actually a lambda.
17797
b1ef1257
SM
17798 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17799 Fix function quoting. Use backquote better.
17800
92a9cc65
YS
178012011-05-22 Yuanle Song <sylecn@gmail.com>
17802
17803 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17804 matching (Bug#8516).
17805
f0fb8059
JA
178062011-01-22 Jari Aalto <jari.aalto@cante.net>
17807
17808 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17809 different face (Bug#8178).
17810
d5b44c93
CY
178112011-05-22 Chong Yidong <cyd@stupidchicken.com>
17812
17813 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17814 defface (Bug#8144).
17815
79106a44
SM
178162011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17817
9c848d8a
SM
17818 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17819 funcall as well (bug#8712). Warn when performing those conversions.
17820 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17821
79106a44
SM
17822 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17823
88dfa756
GM
178242011-05-22 Glenn Morris <rgm@gnu.org>
17825
17826 * files.el (hack-local-variables-prop-line): Small simplifications.
17827 (hack-local-variables, hack-local-variables-prop-line):
17828 If MODE-ONLY, return the mode, rather than just `t'.
17829
b7cf2c79
SM
178302011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17831
17832 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17833
3f1a8558
GM
178342011-05-21 Glenn Morris <rgm@gnu.org>
17835
7e4ccca3
GM
17836 * files.el (hack-local-variables-prop-line, hack-local-variables):
17837 If only interested in the mode, don't bother doing the other stuff.
17838
637d46ca
GM
17839 * image-mode.el (image-after-revert-hook):
17840 Redraw all frames on which the image is visible. (Bug#8567)
17841
973d955b
GM
17842 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17843
3f1a8558
GM
17844 * wid-edit.el (widget-checklist-match-inline):
17845 Fix 2011-04-19 change. (Bug#8649)
17846
96479927
SM
178472011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17848
1dcf791f
SM
17849 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17850 Also allow singlespace after single-letter capitals followed by a dot.
17851
96479927
SM
17852 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17853 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17854
35fd0881
N
178552011-05-20 Nix <nix@esperi.org.uk>
17856
17857 * files.el (basic-save-buffer-2):
17858 Fix handling of break-hardlink-on-save with non-existent files.
17859
82745640
DD
178602011-05-19 Deniz Dogan <deniz@dogan.se>
17861
17862 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 17863 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 17864
4a720484
GM
178652011-05-19 Glenn Morris <rgm@gnu.org>
17866
d1f21341
GM
17867 * progmodes/f90.el (f90-type-def-re):
17868 Handle "type, bind(c)". (Bug#8691)
17869
4a720484
GM
17870 * emacs-lisp/autoload.el (batch-update-autoloads):
17871 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17872
2fb0a219
MA
178732011-05-18 Michael Albinus <michael.albinus@gmx.de>
17874
17875 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17876 property for the correct connection in case of multihops.
17877
e565dd37
GM
178782011-05-18 Glenn Morris <rgm@gnu.org>
17879
c2571358 17880 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
17881 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17882
e565dd37
GM
17883 Rationalize calendar handling of day and month abbrev-arrays.
17884 * calendar/calendar.el (calendar-customized-p): New function.
17885 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17886 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17887 Add :set function.
17888 (calendar-abbrev-length, calendar-day-abbrev-array)
17889 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17890 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17891 Elements may no longer be nil.
17892 (calendar-day-name, calendar-month-name):
17893 Update for changed nature of abbrev arrays.
17894 * calendar/diary-lib.el (diary-name-pattern):
17895 Update for changed nature of abbrev arrays.
17896 (diary-mark-entries-1): Update calendar-make-alist calls.
17897 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17898 * calendar/cal-html.el (cal-html-day-abbrev-array):
17899 Simply inherit from calendar-day-abbrev-array.
17900
1d99a745
SM
179012011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17902
17903 * progmodes/grep.el (grep-mode): Disable default
17904 compilation-directory-matcher setting (bug#8684).
17905
7c1d9aa0
MA
179062011-05-17 Michael Albinus <michael.albinus@gmx.de>
17907
17908 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17909 instead of "head" and "tail". There were problems with SunOS 5.9,
17910 and it performs better.
17911
3952e9d8
GM
179122011-05-17 Glenn Morris <rgm@gnu.org>
17913
2dd12e7f
GM
17914 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17915
e4157b9c
GM
17916 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17917 Replace obsolete function.
17918
8e249bbd
GM
17919 * shell.el (pcomplete-parse-arguments-function): Declare.
17920
3952e9d8
GM
17921 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17922 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17923 (appt-check): Doc fixes.
17924 (appt-disp-window-function, appt-delete-window-function):
17925 Remove needless special case in custom :type.
17926 (appt-display-count): Default to 0, not nil.
17927 (appt-check): Reset appt-display-count to 0, not nil.
17928
c71a0d48 179292011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 17930
c71a0d48
GM
17931 * progmodes/python.el (python-font-lock-keywords):
17932 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 17933
31d55be9
SM
179342011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17935
17936 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17937
3bfacb2f
KR
179382011-05-16 Kevin Ryde <user42@zip.com.au>
17939
17940 * info-look.el (makefile-automake-mode): New setups, looking in
17941 automake manual, then makefile-mode.
17942 (makefile-mode): Remove automake manual, have it just in
17943 makefile-automake-mode since there's various things different or
17944 not relevant to plain make.
17945 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17946 believe a hypothetical automake-mode would go to makefile-mode,
17947 not the other way around.
17948
c8e83751
CY
179492011-05-15 Chong Yidong <cyd@stupidchicken.com>
17950
5e9e35cd
CY
17951 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17952 hunk-end tags (Bug#8672).
17953
c8e83751
CY
17954 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17955 vc-annotate-show-diff-revision-at-line (Bug#8671).
17956
50b23e5a
GM
179572011-05-14 Glenn Morris <rgm@gnu.org>
17958
7210a739
GM
17959 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17960 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
17961 (change-log-font-lock-keywords): Also handle multiple author lines
17962 with leading tabs. (Bug#8644)
7210a739 17963
4691905a
GM
17964 * calendar/appt.el (appt-check): Rename some local variables.
17965 Some simplification/reordering.
17966
50b23e5a
GM
17967 * mail/feedmail.el (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)
17971 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
17972 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17973 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
17974 (feedmail-binmail-gnulinuxish-template):
17975 Rename from feedmail-binmail-linuxish-template.
17976 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17977 Use insert-buffer-substring.
17978
215cda7c
BC
179792011-05-14 Bill Carpenter <bill@carpenter.org>
17980
17981 * mail/feedmail.el (feedmail-patch-level): Increase.
17982 (feedmail-debug): New custom group.
17983 (feedmail-confirm-outgoing-timeout)
17984 (feedmail-sendmail-f-doesnt-sell-me-out)
17985 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17986 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17987 (feedmail-sender-line, feedmail-from-line)
17988 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 17989 (feedmail-spray-this-address)
215cda7c
BC
17990 (feedmail-spray-address-fiddle-plex-list)
17991 (feedmail-queue-use-send-time-for-date)
17992 (feedmail-queue-use-send-time-for-message-id)
17993 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17994 (feedmail-buffer-eating-function):
17995 Doc fixes.
17996 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17997 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17998 (feedmail-message-action-scroll-down): New functions.
17999 (feedmail-queue-directory, feedmail-queue-draft-directory):
18000 Use expand-file-name.
18001 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18002 Remove C-v help entry.
18003 (feedmail-queue-buffer-file-name): New variable.
18004 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18005 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18006 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18007 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18008 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18009 (feedmail-message-action-toggle-spray)
18010 (feedmail-run-the-queue-no-prompts)
18011 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18012 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18013 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18014 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18015 (feedmail-envelope-deducer, feedmail-fiddle-from)
18016 (feedmail-fiddle-sender, feedmail-default-date-generator)
18017 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18018 (feedmail-fiddle-spray-address)
18019 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18020 (feedmail-fiddle-list-of-fiddle-plexes)
18021 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18022 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18023 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18024 Change default. Doc fix.
18025 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18026 (feedmail-binmail-linuxish-template): New constant.
18027 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18028 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18029 (feedmail-send-it): Add debug call.
18030 Use feedmail-queue-buffer-file-name, and
18031 feedmail-send-it-immediately-wrapper.
18032 (feedmail-message-action-send): Add debug call.
18033 Use feedmail-send-it-immediately-wrapper.
18034 (feedmail-queue-express-to-queue): Add debug call.
18035 Run feedmail-queue-express-hook.
18036 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18037 (feedmail-message-action-help-blat):
18038 Rename from feedmail-queue-send-edit-prompt-help-first.
18039 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18040 Check line-endings. Handle errors better.
18041 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18042 Doc fix. Add debug call.
18043 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18044 Use feedmail-queue-send-edit-prompt-inner.
18045 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18046 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18047 from feedmail-queue-send-edit-prompt.
18048 (feedmail-queue-send-edit-prompt-help)
18049 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18050 (feedmail-tidy-up-slug): Add debug call.
18051 Respect feedmail-queue-slug-suspect-regexp.
18052 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18053 (feedmail-dump-message-to-queue): Add debug call.
18054 Expand queue-directory.
18055 (feedmail-dump-message-to-queue): Change message slightly.
18056 Use feedmail-say-chatter.
18057 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18058 (feedmail-send-it-immediately-wrapper): New function.
18059 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18060 Insert empty string rather than newline. Handle full-frame case.
18061 Use catch/throw. Use feedmail-say-chatter.
18062 (feedmail-fiddle-from): Try mail-host-address.
18063 (feedmail-default-message-id-generator): Doc fix.
18064 Bind system-time-locale. Handle missing end.
18065 (feedmail-fiddle-x-mailer): Add debug call.
18066 Handle feedmail-x-mailer-line being nil.
18067 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18068 Add debug call. Use buffer-substring-no-properties.
18069 (feedmail-say-debug, feedmail-say-chatter): New functions.
18070 (feedmail-find-eoh): Give an explicit error.
18071
42c7e61e
UJ
180722011-05-13 Ulf Jasper <ulf.jasper@web.de>
18073
c2571358 18074 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 18075 family from helvetica to sans.
c2571358 18076 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18077 etc/images/newsticker.
18078
c2571358 18079 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
18080 family from helvetica to sans.
18081
18082 * net/newst-plainview.el (newsticker-new-item-face)
18083 (newsticker-old-item-face, newsticker-immortal-item-face)
18084 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 18085 (newsticker-statistics-face): Change default family from
42c7e61e 18086 helvetica to sans.
c2571358 18087 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18088 etc/images/newsticker.
18089
5d3385a0
JB
18090 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18091 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
18092 auto-marking.
18093
8497a297
DV
180942011-05-13 Didier Verna <didier@xemacs.org>
18095
18096 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
18097 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18098 TODO entries.
8497a297
DV
18099 (lisp-lambda-list-keyword-parameter-indentation)
18100 (lisp-lambda-list-keyword-parameter-alignment)
18101 (lisp-lambda-list-keyword-alignment): New customizable user options.
18102 (lisp-indent-defun-method): Improve docstring.
18103 (extended-loop-p): Fix comment.
18104 (lisp-indent-lambda-list-keywords-regexp): New variable.
18105 (lisp-indent-lambda-list): New function.
18106 (lisp-indent-259): Use it.
18107 (lisp-indent-defmethod): Support for more than one
18108 method qualifier and properly indent methods lambda-lists.
18109 (defgeneric): Provide a missing common-lisp-indent-function property.
18110
f278f87f
SM
181112011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18112
18113 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18114 bounds for the empty string (bug#8667).
18115
5233edd7
GM
181162011-05-13 Glenn Morris <rgm@gnu.org>
18117
5237a44f
GM
18118 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18119
8340026c 18120 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 18121 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 18122
5233edd7 18123 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 18124 (appt-time-msg-list): Doc fix.
a5464014 18125 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 18126
92d10796
AS
181272011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18128
18129 * progmodes/ld-script.el (ld-script-keywords)
18130 (ld-script-builtins): Update keywords list.
18131
914a0ae1
SM
181322011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18133
c89be45f
SM
18134 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18135
914a0ae1
SM
18136 * shell.el (shell-completion-vars): New function.
18137 (shell-mode):
18138 * simple.el (read-shell-command): Use it.
18139 (blink-matching-open): No need for " [...]" in minibuffer-message.
18140
98dc3df3
GM
181412011-05-12 Glenn Morris <rgm@gnu.org>
18142
18143 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18144 (appt-check): Simplify.
18145
d2fc7e3d 181462011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 18147
4d61f28d 18148 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
18149 literal "/dev/null".
18150
d2fc7e3d 181512011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
18152
18153 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18154 Fix typo.
18155
d2fc7e3d 181562011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 18157
3f254caa
SM
18158 * progmodes/which-func.el (which-function):
18159 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
18160 which might not be defined (Bug#8260).
18161
d45885f7
GM
181622011-05-12 Glenn Morris <rgm@gnu.org>
18163
18164 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18165 Let byte-compile-initial-macro-environment always take precedence.
18166
488086f4
SM
181672011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18168
18169 * net/rcirc.el: Add support for SSL/TLS connections.
18170 (rcirc-server-alist): New field `encryption'.
18171 (rcirc): Check `encryption' settings.
18172 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18173 Merge make-local-variable into `set'.
18174 (rcirc--connection-open-p): New function.
18175 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18176 the process is not a network process (e.g. running gnutls-cli).
18177 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18178 Make rcirc-(en|de)code-coding-system local here.
18179 (rcirc-mode): Merge make-local-variable into `set'.
18180 (rcirc-parent-buffer): Make permanent buffer-local.
18181 (rcirc-multiline-minor-mode): Don't do it here.
18182 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18183 there's no server buffer.
18184
7d3b9d44
GM
181852011-05-11 Glenn Morris <rgm@gnu.org>
18186
f64049c6
GM
18187 * newcomment.el (comment-kill): Prefix "unused" local.
18188
93c9df73
GM
18189 * term/w32console.el (get-screen-color): Declare.
18190
7d3b9d44
GM
18191 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18192 Handle symbol elements of byte-compile-initial-macro-environment.
18193
9e2dd53f
LL
181942011-05-10 Leo Liu <sdl.web@gmail.com>
18195
488086f4
SM
18196 * bookmark.el (bookmark-bmenu-mode-map):
18197 Bind bookmark-bmenu-search to `/'.
8b340240 18198
9e2dd53f 18199 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
18200 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18201 (Footnote-unicode): New function.
18202 (footnote-style-alist): Add unicode style to the list.
18203 (footnote-style): Doc fix.
9e2dd53f 18204
79b70037
GM
182052011-05-10 Jim Meyering <meyering@redhat.com>
18206
18207 Fix doubled-word typos.
18208 * international/quail.el (quail-insert-kbd-layout): and and -> and
18209 * kermit.el: and and -> and
18210 * net/ldap.el (ldap-search-internal): to to -> to
18211 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18212 * progmodes/js.el (js-mode): and and -> and
18213 * textmodes/artist.el (artist-move-to-xy): at at -> at
18214 (artist-draw-region-trim-line-endings): if if -> if
18215 And Safetyc -> Safety.
18216 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18217
b8f82dc1 182182011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 18219 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
18220
18221 * files.el (hack-one-local-variable-eval-safep):
18222 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18223
4f99f44b
GM
182242011-05-10 Glenn Morris <rgm@gnu.org>
18225
18226 * calendar/diary-lib.el (diary-list-entries-hook)
18227 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18228 (diary-nongregorian-marking-hook, diary-list-entries)
18229 (diary-include-other-diary-files, diary-mark-entries)
18230 (diary-mark-included-diary-files): Doc fixes.
18231
84f29e6b
JB
182322011-05-09 Juanma Barranquero <lekktu@gmail.com>
18233
18234 * misc.el: Require tabulated-list.el during compilation.
18235
9bedd73a
CY
182362011-05-09 Chong Yidong <cyd@stupidchicken.com>
18237
488086f4
SM
18238 * progmodes/compile.el (compilation-start):
18239 Run compilation-filter-hook for the async case too.
9bedd73a
CY
18240 (compilation-filter-hook): Doc fix.
18241
797c735c
DD
182422011-05-09 Deniz Dogan <deniz@dogan.se>
18243
18244 * wdired.el: Remove outdated installation comment. Fix usage
18245 comment.
18246
5f4b1dfe
JB
182472011-05-09 Juanma Barranquero <lekktu@gmail.com>
18248
18249 * misc.el: Implement new command `list-dynamic-libraries'.
18250 (list-dynamic-libraries--loaded-only-p): New variable.
18251 (list-dynamic-libraries--refresh): New function.
18252 (list-dynamic-libraries): New command.
18253
4c44026c
CY
182542011-05-09 Chong Yidong <cyd@stupidchicken.com>
18255
488086f4
SM
18256 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18257 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
18258 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18259 higher priority to avoid clobbering by gnu.
18260
027f966d
CY
182612011-05-08 Chong Yidong <cyd@stupidchicken.com>
18262
18263 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18264 if the face has existing theme settings (Bug#8454).
18265
085f5d7d
CY
182662011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18267
488086f4
SM
18268 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18269 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 18270
2a86a00c
RS
18271 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18272 special file names `.' and `..' (Bug#8259).
18273
d9c54a06
CY
182742011-05-08 Chong Yidong <cyd@stupidchicken.com>
18275
488086f4
SM
18276 * progmodes/grep.el (grep-mode-font-lock-keywords):
18277 Remove buffer-changing entries.
d9c54a06
CY
18278 (grep-filter): New function.
18279 (grep-mode): Add it to compilation-filter-hook.
18280
18281 * progmodes/compile.el (compilation-filter-hook)
18282 (compilation-filter-start): New defvars.
18283 (compilation-filter): Call compilation-filter-hook prior to
18284 updating the process mark.
18285
c4662635
SM
182862011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18287
18288 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18289
b0512a1d
EZ
182902011-05-07 Eli Zaretskii <eliz@gnu.org>
18291
605c9376
EZ
18292 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18293 mailclient-send-it even if window-system is nil. (Bug#8595)
18294
c4662635
SM
18295 * term/w32console.el (terminal-init-w32console):
18296 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
18297 background-mode. (Bug#8597)
18298
d1dc2cc2
SM
182992011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18300
18301 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18302 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18303 New functions.
18304 (defgeneric, eieio--defmethod): Use them.
18305 (eieio-defgeneric): Remove.
18306 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18307
915d1300
GM
183082011-05-07 Glenn Morris <rgm@gnu.org>
18309
a3961c3e
GM
18310 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18311 Use let rather than let*.
18312 (timeclock-find-discrep): Remove unused local.
18313
314347b9
GM
18314 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18315
915d1300
GM
18316 * calendar/appt.el (appt-time-msg-list): Doc fix.
18317
275b59b0
NF
183182011-05-06 Noah Friedman <friedman@splode.com>
18319
18320 * apropos.el (apropos-print-doc): Only use
18321 emacs-lisp-docstring-fill-column when it is bound to an integer,
18322 per that variable's documentation.
18323
6c19f744
SM
183242011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18325
18326 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 18327 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 18328
60f884b2
GM
183292011-05-06 Glenn Morris <rgm@gnu.org>
18330
5006e634
GM
18331 * calendar/appt.el (appt-message-warning-time): Doc fix.
18332 (appt-warning-time-regexp): New option.
18333 (appt-make-list): Respect appt-message-warning-time.
18334
548d0a63
GM
18335 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18336 New options.
18337 (diary-add-to-list): Strip comments from the displayed string.
18338 (diary-mode): Set comment-start and comment-end.
18339
60f884b2
GM
18340 * vc/diff-mode.el (smerge-refine-subst): Declare.
18341 (diff-refine-hunk): Don't require smerge-mode when compiling.
18342
989681bb
JB
183432011-05-06 Juanma Barranquero <lekktu@gmail.com>
18344
18345 * simple.el (list-processes): Return nil as the docstring says.
18346
a6bc05e1
MA
183472011-05-05 Michael Albinus <michael.albinus@gmx.de>
18348
18349 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18350 to "".
18351 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18352 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18353 determining of binary transfer. (Bug#7383)
18354
23c22e9a
MA
183552011-05-05 Michael Albinus <michael.albinus@gmx.de>
18356
c4662635
SM
18357 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18358 Fix port computation bug. (Bug#8618)
23c22e9a 18359
0bff894f
GM
183602011-05-05 Glenn Morris <rgm@gnu.org>
18361
b8296902
GM
18362 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18363
1f522ce8
GM
18364 * simple.el (shell-dynamic-complete-functions)
18365 (comint-dynamic-complete-functions): Declare.
18366
cf5bee67
GM
18367 * net/network-stream.el (gnutls-negotiate):
18368 * simple.el (tabulated-list-print): Fix declarations.
18369
18370 * progmodes/gud.el (syntax-symbol, syntax-point):
18371 Remove unnecessary and incorrect declarations.
18372
0bff894f 18373 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 18374 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 18375
9869b3ae
SM
183762011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18377
18378 Fix earlier half-done eieio-defmethod change (bug#8338).
18379 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18380 Streamline and change calling convention.
18381 (defmethod): Adjust accordingly and simplify.
18382 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18383 new eieio--defmethod.
18384 (slot-boundp): Minor CSE simplification.
18385
9c1d5ac5
MZ
183862011-05-05 Milan Zamazal <pdm@zamazal.org>
18387
18388 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18389 (glasses-make-readable): Use glasses-separate-capital-groups.
18390
455c834e
JB
183912011-05-05 Juanma Barranquero <lekktu@gmail.com>
18392
18393 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18394 (warning-series): Doc fix.
18395 (display-warning): Don't try to create the buffer if we just found it.
18396
9ed7c8cb
CY
183972011-05-04 Chong Yidong <cyd@stupidchicken.com>
18398
18399 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18400 (autoload-find-generated-file): New function.
18401 (generate-file-autoloads): Bind generated-autoload-file to
18402 buffer-file-name.
9869b3ae
SM
18403 (update-file-autoloads, update-directory-autoloads):
18404 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
18405 output file (Bug#7989).
18406 (batch-update-autoloads): Doc fix.
18407
0898ca10
JB
184082011-05-04 Juanma Barranquero <lekktu@gmail.com>
18409
18410 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18411
31dfb76c
GM
184122011-05-04 Glenn Morris <rgm@gnu.org>
18413
f330b642
GM
18414 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18415 function, so it follows changes in calendar-date-style.
18416 (diary-fancy-date-matcher): New function.
18417 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18418 (diary-fancy-font-lock-fontify-region-function):
18419 Use diary-fancy-date-pattern as a function.
18420
31dfb76c
GM
18421 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18422 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18423
48e79d6a
TZ
184242011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18425
18426 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18427 instead of positional arguments. Allow :keylist and :crlfiles
18428 arguments.
18429 (open-gnutls-stream): Call it.
18430
18431 * net/network-stream.el (network-stream-open-starttls): Adjust to
18432 call `gnutls-negotiate' with :process and :hostname arguments.
18433
dd5a5ee0
SM
184342011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18435
ef80fc09
SM
18436 * minibuffer.el (completion--message): New function.
18437 (completion--do-completion, minibuffer-complete)
18438 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18439 (completion--do-completion): Don't ignore completion-auto-help when in
18440 icomplete-mode.
18441
dd5a5ee0
SM
18442 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18443 internal encoding (e.g. tibetan zero is not whitespace).
18444 (global-whitespace-mode): Prefer save-current-buffer.
18445 (whitespace-trailing-regexp): Remove useless save-match-data.
18446 (whitespace-empty-at-bob-regexp): Minor simplification.
18447
b7d22a83
CY
184482011-05-03 Chong Yidong <cyd@stupidchicken.com>
18449
18450 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18451
5192af46
AM
184522011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18453
18454 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 18455 Use `concat' to create string for insertion.
5192af46 18456
5767d190
SM
184572011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18458
18459 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18460 Avoid open-line which runs post-self-insert-hook.
18461 (bibtex-fill-entry): Remove unused `end' var.
18462
bf242939
AM
184632011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18464
5767d190
SM
18465 * textmodes/ispell.el (ispell-add-per-file-word-list):
18466 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 18467
25666126
LL
184682011-05-03 Leo Liu <sdl.web@gmail.com>
18469
18470 * isearch.el (isearch-yank-pop): New command.
5767d190 18471 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
18472 (isearch-forward): Mention it.
18473
52d3c2d0
SM
184742011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18475
1bcace58
SM
18476 * simple.el (minibuffer-complete-shell-command): Remove.
18477 (minibuffer-local-shell-command-map): Use completion-at-point.
18478 (read-shell-command): Setup completion vars here instead.
18479 (read-expression-map): Bind TAB to symbol completion.
18480
52d3c2d0
SM
18481 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18482 error directly rather via storing it into `results'.
18483
35813471
LL
184842011-05-02 Leo Liu <sdl.web@gmail.com>
18485
18486 * vc/diff.el: Fix description.
18487
e793a940
LMI
184882011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18489
18490 * server.el (server-eval-at): New function.
18491
8de66e05
LMI
184922011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18493
18494 * net/network-stream.el (open-network-stream): Take a :nowait
18495 parameter and pass it on to `make-network-process'.
18496 (network-stream-open-plain): Ditto.
18497
dcb79f20
AS
184982011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18499
18500 * faces.el (face-spec-set-match-display): Don't match toolkit
18501 options on terminal frames.
18502
14a7fbd8
SM
185032011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18504
7eabc1be
SM
18505 * progmodes/pascal.el: Use lexical binding.
18506 (pascal-mode-map): Remove author preferences.
18507
14a7fbd8
SM
18508 * pcomplete.el (pcomplete-std-complete): Don't abuse
18509 completion-at-point.
18510
50f84510
JB
185112011-04-28 Juanma Barranquero <lekktu@gmail.com>
18512
6e087a44
JB
18513 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18514 removing code that has been dead since 1991 or so.
18515
50f84510
JB
18516 * startup.el (command-line): When warning about "_emacs", use a
18517 delayed warning to allow the user to filter it out.
18518
0ba690bd
DD
185192011-04-28 Deniz Dogan <deniz@dogan.se>
18520
18521 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18522 user has not joined.
18523
08abfaad
SM
185242011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18525
18526 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18527 aren't any completions at point.
18528
638f053a
JB
185292011-04-28 Juanma Barranquero <lekktu@gmail.com>
18530
18531 * subr.el (display-delayed-warnings): New function.
18532 (delayed-warnings-hook): New variable.
18533
8fff8daa
SM
185342011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18535
08abfaad
SM
18536 * minibuffer.el (completion-at-point, completion-help-at-point):
18537 Don't presume that a given completion-at-point-function will always
18538 use the same calling convention.
18539
8fff8daa
SM
18540 * pcomplete.el (pcomplete-completions-at-point):
18541 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18542 pcomplete-seen is non-nil.
18543 (pcomplete-comint-setup): Also recognize the new comint/shell
18544 completion functions.
18545 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18546 pcomplete-seen is non-nil.
18547
841a1577 185482011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 18549
841a1577 18550 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 18551 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 18552 the first character in the entry. This allows for code to add its
211ec907
UJ
18553 own uid to the entry.
18554 (icalendar--convert-float-to-ical): Add export of
18555 `diary-float'-entries save for those with the optional DAY
18556 argument.
18557
2a782793
DC
185582011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18559
18560 * subr.el (shell-quote-argument): Use alternate escaping strategy
18561 when we spot a variable reference in a string.
18562
0438ce91
DC
185632011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18564
18565 * cus-start.el (all): Define customization for debug-on-event.
18566
841a1577 185672011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
18568
18569 * subr.el (shell-quote-argument): Escape correctly under Windows.
18570
d090ed6c
SM
185712011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18572
18573 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18574
bfd31217
MA
185752011-04-25 Michael Albinus <michael.albinus@gmx.de>
18576
d090ed6c
SM
18577 * net/tramp.el (tramp-process-actions): Add POS argument.
18578 Delete region between POS and (pos).
bfd31217 18579
d090ed6c
SM
18580 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18581 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
18582 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18583
18584 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18585 position in `tramp-process-actions' call.
18586
18587 * net/trampver.el: Update release number.
18588
e92f3bd3
SM
185892011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18590
850256b5
SM
18591 * custom.el (defcustom): Obey lexical-binding.
18592
e92f3bd3
SM
18593 Fix octave-inf completion problems reported by Alexander Klimov.
18594 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18595 Inherit from octave-mode-syntax-table.
18596 (inferior-octave-mode): Set info-lookup-mode.
18597 (inferior-octave-completion-at-point): New function.
18598 (inferior-octave-complete): Use it and completion-in-region.
18599 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18600 comint-filename-completion.
18601 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18602 symbol elements which shouldn't be word elements.
18603 (octave-font-lock-keywords, octave-beginning-of-defun)
18604 (octave-function-header-regexp): Adjust regexps accordingly.
18605 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18606
cd22b309
JB
186072011-04-25 Juanma Barranquero <lekktu@gmail.com>
18608
18609 * net/gnutls.el (gnutls-errorp): Declare before first use.
18610
8b492194
TZ
186112011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18612
18613 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18614 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 18615 default trustfile exists before going to use it. Add missing
5a5fa834 18616 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
18617 Reported by Claudio Bley <claudio.bley@gmail.com>.
18618 (open-gnutls-stream): Add usage example.
18619
18620 * net/network-stream.el (network-stream-open-starttls): Give host
18621 parameter to `gnutls-negotiate'.
18622 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 18623 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 18624
841a1577 186252011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 18626
cd22b309
JB
18627 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18628 Use correct match group (bug#8438).
05842630 18629
3ba7869c
CY
186302011-04-24 Chong Yidong <cyd@stupidchicken.com>
18631
512e3ae1
CY
18632 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18633 (package-menu--generate): New arg specifying packages to show.
18634 (package-menu-refresh, package-menu-execute, list-packages):
18635 Callers changed.
18636 (package-show-package-list): New function, replacing deleted
18637 package--list-packages (renamed because it is non-internal).
18638
18639 * finder.el (finder-list-matches): Use package-show-package-list
18640 instead of deleted package--list-packages.
18641
e92f3bd3
SM
18642 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18643 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
18644 (vc-annotate-mode-map): Bind it to RET.
18645
7031be6d
UR
186462011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18647
18648 * progmodes/etags.el (next-file): Don't use set-buffer to change
18649 buffers (Bug#8478).
18650
4ef177aa
CY
186512011-04-24 Chong Yidong <cyd@stupidchicken.com>
18652
c8d173eb
CY
18653 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18654
4ef177aa
CY
18655 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18656 (apropos-accumulator): Doc fix.
18657 (apropos-function, apropos-macro, apropos-command)
18658 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18659 (apropos-plist): Add face property.
18660 (apropos-symbols-internal): Fix indentation.
18661 (apropos-print): Simplify help, and recognize apropos-multi-type.
18662 (apropos-print-doc): Use button-type-get to extract the button's
18663 face property. Fill docstring (Bug#8352).
18664
4ffd0d6b 186652011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
18666
18667 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18668
c6c32125 18669 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 18670 (mpuz-mode-map): Use mapc.
c6c32125
JB
18671 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18672 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18673 Fix typos in docstrings.
18674
58d468b4
JB
18675 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18676 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18677
6470c3c6
JB
18678 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18679
4ffd0d6b 186802011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
18681
18682 * minibuffer.el (completion--do-completion): Avoid the "Next char
18683 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18684
3ad8bad0
CY
18685 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18686 mouse-2 into unread-command-events, it is interpreted correctly.
18687
71d73c9c 18688 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 18689 (image-toggle-display): Doc fix.
71d73c9c 18690
841a1577 186912011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 18692
4ffd0d6b
GM
18693 * textmodes/page.el (what-page): Use line-number-at-pos to
18694 calculate line number (Bug#6825).
6e1dbaa9 18695
c2fb1b60
JB
186962011-04-22 Juanma Barranquero <lekktu@gmail.com>
18697
18698 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18699 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18700 Pass argument NO-DEFAULT to `find-tag-interactive'.
18701
e02f48d7
JB
187022011-04-22 Juanma Barranquero <lekktu@gmail.com>
18703
18704 Lexical-binding cleanup.
18705
18706 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18707 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18708 * progmodes/ada-prj.el (ada-prj-initialize-values)
18709 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18710 (ada-prj-show-value):
18711 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18712 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18713 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18714 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18715 * progmodes/bug-reference.el (bug-reference-push-button):
18716 * progmodes/fortran.el (fortran-line-length):
18717 * progmodes/glasses.el (glasses-change):
18718 * progmodes/octave-mod.el (octave-fill-paragraph):
18719 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18720 (python-pdbtrack-grub-for-buffer, python-sentinel):
18721 * progmodes/sql.el (sql-save-connection):
18722 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18723 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18724 Mark unused parameters.
18725
18726 * progmodes/compile.el (compilation--flush-directory-cache)
18727 (compilation--flush-parse, compile-internal): Mark unused parameters.
18728 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18729 (compilation-next-error-function): Remove unused variable `timestamp'.
18730
18731 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18732 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18733
18734 * progmodes/dcl-mode.el (dcl-end-of-command):
18735 Remove unused variable `start'.
18736 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18737 (dcl-option-value-basic, dcl-option-value-offset)
18738 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18739 Mark unused parameters.
18740 (dcl-save-local-variable): Remove unused variable `val'.
18741 (mode): Declare.
18742
18743 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18744 Mark unused parameters.
18745 (delphi-ignore-changes): Move before first use.
18746 (delphi-charset-token-at): Remove unused variable `start'.
18747 (delphi-else-start): Remove unused variable `if-count'.
18748 (delphi-comment-block-start, delphi-comment-block-end):
18749 Remove unused variable `kind'.
18750 (delphi-indent-line): Remove unused variable `new-point'.
18751
18752 * progmodes/ebrowse.el (ebrowse-files-list)
18753 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18754 Mark unused parameters. Don't quote `lambda'.
18755 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18756 Don't quote `lambda'.
18757 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18758 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18759 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18760 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18761 Use `ignore-errors'.
18762 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18763 (ebrowse-view/find-file-and-search-pattern)
18764 (ebrowse-view/find-member-declaration/definition):
18765 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18766 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18767 Rename parameter PREFIX-ARG to PREFIX.
18768 (ebrowse-tags-read-name): Remove unused variables `start' and
18769 `member-info'.
18770 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18771 to `tags-file'.
18772
18773 * progmodes/etags.el (local-find-tag-hook): Declare.
18774 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18775 Mark unused parameters.
18776
18777 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18778 (executable-interpret): Mark unused parameter.
18779
18780 * progmodes/flymake.el (flymake-process-sentinel)
18781 (flymake-after-change-function)
18782 (flymake-create-temp-with-folder-structure)
18783 (flymake-get-include-dirs-dot): Mark unused parameters.
18784 (flymake-safe-delete-directory): Remove unused variable `err'.
18785
18786 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18787 (speedbar-timer-fn, speedbar-line-text)
18788 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18789 (speedbar-center-buffer-smartly): Declare functions.
18790 (gdb-find-watch-expression): Remove unused variable `array'.
18791 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18792 (gdb-starting): Mark unused parameters.
18793 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18794 (gdb-table-string): Remove unused variable `res'.
18795 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18796 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18797 (gdb-display-buffer): Remove unused variable `cur-size'.
18798
18799 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18800 allow lexical-binding compilation.
18801 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18802 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18803 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18804 Mark unused parameters.
18805 (gud-gdb-marker-filter): Remove unused variable `match'.
18806 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18807 lambda expressions and funcall them, instead of using `fset'.
18808
18809 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18810 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18811
18812 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18813 variable `header-beg'; use `let'.
18814
18815 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18816 `restart', `last-sexp' and `at-do'.
18817
18818 * progmodes/js.el (js--debug): Mark unused parameter.
18819 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18820 (js--splice-into-items): Remove unused variable `item'.
18821 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18822
18823 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18824 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18825 (makefile-complete): Remove unused variable `try'.
18826 (makefile-fill-paragraph, makefile-match-function-end):
18827 Mark unused parameters.
18828
18829 * progmodes/octave-inf.el (inferior-octave-complete):
18830 Remove unused variable `proc'.
18831 (inferior-octave-output-digest): Mark unused parameter.
18832
18833 * progmodes/perl-mode.el (perl-calculate-indent):
18834 Remove unused variable `err'.
18835
18836 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18837 (prolog-indent-line): Mark unused parameters.
18838 (prolog-indent-line): Remove unused variable `beg'.
18839
18840 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18841 (reporter-dont-compact-list): Declare.
18842
18843 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18844 Remove unused variable `char'.
18845 (sh-debug): Mark unused parameter.
18846 (sh-get-indent-info): Remove unused variable `start'.
18847 (sh-calculate-indent): Remove unused variable `var'.
18848
18849 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18850 (simula-electric-keyword): Remove unused variable `null'.
18851 (simula-search-backward, simula-search-forward): Remove unused
18852 variables `begin' and `end'.
18853
18854 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18855 Remove unused variable `pos'.
18856 (vera-electric-tab, vera-comment-uncomment-region):
18857 Mark unused parameters.
18858 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18859
7ede3b65
CY
188602011-04-22 Chong Yidong <cyd@stupidchicken.com>
18861
18862 * emacs-lisp/package.el (package--builtins, package-alist)
18863 (package-load-descriptor, package-built-in-p, package-activate)
18864 (define-package, package-installed-p)
18865 (package-compute-transaction, package-buffer-info)
18866 (package--push): Doc fix. Distinguish more clearly between
18867 version strings and version lists.
18868
121656e9
JB
188692011-04-21 Juanma Barranquero <lekktu@gmail.com>
18870
18871 Lexical-binding cleanup.
18872
18873 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18874 (5x5-make-mutate-best):
18875 * play/fortune.el (fortune-in-buffer):
18876 * play/gomoku.el (gomoku-init-display):
18877 * play/solitaire.el (solitaire, solitaire-do-check):
18878 * play/tetris.el (tetris-default-update-speed-function):
18879 Mark unused parameters.
18880
18881 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18882 (bubbles--shift): Remove unused variable `char-org'.
18883 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18884 (bubbles--show-images): Remove unused variable `char'.
18885
18886 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18887 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18888 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18889 (decipher-analyze-buffer): Use ?\s.
18890 (decipher-make-checkpoint): Remove unused variable `mapping'.
18891
18892 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18893
18894 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18895 Remove unused variable `result'; use `let'.
18896
18897 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18898 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18899 (gametree-children-shown-p, gametree-compute-reduced-score):
18900 Use `ignore-errors'.
18901
18902 * play/handwrite.el (ps-lpr-switches): Declare.
18903 (handwrite): Remove unused variables `pmin' and `lastp'.
18904
18905 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18906
18907 * play/landmark.el (landmark-init-display)
18908 (landmark-update-naught-weights): Mark unused parameters.
18909 (landmark-y): Remove unused variable `noise'. Simplify.
18910 (landmark-human-plays): Remove unused variable `score'.
18911
18912 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18913 (mpuz-try-proposal): Remove unused variable `game'.
18914
18915 * play/zone.el (life-patterns): Declare.
18916
80f499c7
JB
189172011-04-20 Juanma Barranquero <lekktu@gmail.com>
18918
18919 * vc/vc.el (ediff-vc-internal): Declare function.
18920
024ff170
SM
189212011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18922
c0a193ea
SM
18923 * shell.el: Use lexical-binding and std completion UI.
18924 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18925 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18926 comint-preoutput-filter-functions rather than on
18927 comint-output-filter-functions.
18928 (shell-command-completion, shell--command-completion-data)
18929 (shell-filename-completion, shell-environment-variable-completion)
18930 (shell-c-a-p-replace-by-expanded-directory): New functions.
18931 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18932 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18933 (shell-dynamic-complete-environment-variable): Use them.
18934 (shell-dynamic-complete-as-environment-variable)
18935 (shell-dynamic-complete-as-command): Remove.
18936 (shell-match-partial-variable): Match past point.
18937 * comint.el: Clean up use of completion-at-point-functions.
18938 (comint-completion-at-point): New function.
18939 (comint-mode): Use it completion-at-point-functions.
18940 (comint-dynamic-complete): Make it obsolete.
18941 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18942 (comint-c-a-p-replace-by-expanded-history): New function.
18943 (comint-dynamic-complete-functions)
18944 (comint-replace-by-expanded-history): Use it.
18945 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18946 termination strings. Try harder to avoid second try-completion.
18947 (completion-in-region-mode-map): Disable bindings that don't work yet.
18948
2dbaa080
SM
18949 * comint.el: Use lexical-binding. Require CL.
18950 (comint-dynamic-complete-functions): Use comint-filename-completion.
18951 (comint-completion-addsuffix): Tweak custom type.
18952 (comint-filename-completion, comint--common-suffix)
18953 (comint--common-quoted-suffix, comint--table-subvert)
18954 (comint--complete-file-name-data): New functions.
18955 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18956 (comint-dynamic-list-filename-completions): Use them.
18957 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 18958
2dbaa080
SM
18959 * minibuffer.el (completion-in-region-mode):
18960 Keep completion-in-region-mode--predicate global.
18961 (completion-in-region--postch):
18962 Assume completion-in-region-mode--predicate is not null.
18963
c79a6f38
SM
18964 * progmodes/flymake.el (flymake-start-syntax-check-process):
18965 Obey `dir'. Simplify.
18966
024ff170
SM
18967 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18968 we're in VC after all.
18969
1c6c854e
CS
189702011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18971
18972 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 18973 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
18974 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18975
bed7f140
SM
189762011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18977
332e62ab
SM
18978 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18979 add sanity check.
18980
bed7f140
SM
18981 * obsolete/erc-hecomplete.el: Make obsolete.
18982 * obsolete/: Standardize obsolescence info in the header.
18983
f195c582
GM
189842011-04-20 Glenn Morris <rgm@gnu.org>
18985
18986 * calendar/solar.el (solar-horizontal-coordinates):
18987 Use the longitude argument rather than `calendar-longitude'.
18988 (solar-date-next-longitude): Remove unused locals.
18989
cb79b8c0
VJL
189902011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18991
18992 * whitespace.el: New version 13.2.1.
18993
189942011-04-20 felix <EmacsWiki> (tiny change)
18995
d8e4b68b 18996 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
18997 switching between major modes on a file.
18998
602ea69d
SM
189992011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19000
19001 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19002 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19003 multi-line comments as well.
19004
06b60517
JB
190052011-04-19 Juanma Barranquero <lekktu@gmail.com>
19006
19007 Lexical-binding cleanup.
19008
19009 * arc-mode.el (archive-mode-revert):
19010 * cmuscheme.el (scheme-interactively-start-process):
19011 * custom.el (custom-initialize-delay):
19012 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19013 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19014 * emacs-lock.el (emacs-lock-clear-sentinel):
19015 * ezimage.el (defezimage):
19016 * follow.el (follow-avoid-tail-recenter):
19017 * fringe.el (set-fringe-mode-1):
19018 * generic-x.el (bat-generic-mode-compile):
19019 * help-mode.el (help-info-variable, help-do-xref)
19020 (help-mode-revert-buffer):
19021 * help.el (view-emacs-todo):
19022 * iswitchb.el (iswitchb-completion-help):
19023 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19024 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19025 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19026 * locate.el (locate-update):
19027 * longlines.el (longlines-encode-region)
19028 (longlines-after-change-function):
19029 * outline.el (outline-isearch-open-invisible):
19030 * ps-def.el (declare-function, charset-dimension, char-width)
19031 (encode-char):
19032 * ps-mule.el (ps-mule-plot-string):
19033 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19034 (recentf-edit-list-select, recentf-edit-list-validate)
19035 (recentf-open-files-action):
19036 * rect.el (delete-whitespace-rectangle-line)
19037 (rectangle-number-line-callback):
19038 * register.el (window-configuration-to-register)
19039 (frame-configuration-to-register):
19040 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19041 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19042 (xselect-convert-to-targets, xselect-convert-to-delete)
19043 (xselect-convert-to-filename, xselect-convert-to-charpos)
19044 (xselect-convert-to-lineno, xselect-convert-to-colno)
19045 (xselect-convert-to-os, xselect-convert-to-host)
19046 (xselect-convert-to-user, xselect-convert-to-class)
19047 (xselect-convert-to-name, xselect-convert-to-integer)
19048 (xselect-convert-to-atom, xselect-convert-to-identity):
19049 * subr.el (declare, ignore, process-kill-without-query)
19050 (text-clone-maintain):
19051 * terminal.el (te-get-char, te-tic-sentinel):
19052 * tool-bar.el (tool-bar-make-keymap):
19053 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19054 * type-break.el (type-break-mode, type-break-noninteractive-query):
19055 * view.el (View-back-to-mark):
19056 * wid-browse.el (widget-browse-action, widget-browse-widget)
19057 (widget-browse-widgets, widget-browse-sexp):
19058 * widget.el (define-widget-keywords):
19059 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19060 Mark unused parameters.
19061
19062 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19063 (align-areas): Remove unused variable `look'.
19064 (align-region): Remove unused variables `real-end' and `pos-list'.
19065
19066 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19067
19068 * bindings.el (mode-line-modified, mode-line-remote):
19069 Mark unused parameters.
19070 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19071
19072 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19073 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19074
19075 * comint.el (comint-history-isearch-pop-state)
19076 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19077 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19078 (comint-substitute-in-file-name): Doc fix.
19079
19080 * completion.el (cmpl-statistics-block): Mark unused parameter.
19081 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19082 (save-completions-to-file, load-completions-from-file):
19083 Remove unused local variable `e'.
19084
19085 * composite.el (compose-chars): Remove unused variable `len'.
19086 (lgstring-insert-glyph): Remove unused variable `g'.
19087 (compose-glyph-string): Remove unused variables `ascent',
19088 `descent', `lbearing' and `rbearing'.
19089 (compose-glyph-string-relative): Remove unused variables
19090 `lbearing', `rbearing' and `wadjust'.
19091 (compose-gstring-for-graphic): Remove unused variables `header',
19092 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19093 (compose-gstring-for-terminal): Remove unused variables `header'
19094 and `nchars'. Use `let', not `let*'.
19095
19096 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19097 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19098 (Custom-buffer-done, custom-buffer-create-internal)
19099 (custom-browse-visibility-action, custom-browse-group-tag-action)
19100 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19101 (widget-magic-mouse-down-action, custom-toggle-parent)
19102 (custom-add-parent-links, custom-toggle-hide-variable)
19103 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19104 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19105 (custom-face-menu-create, custom-variable-menu-create, get)
19106 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19107 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19108 (customize-apropos): Remove unused variable `tests'.
19109 (custom-group-value-create): Remove unused variable `hidden-p'.
19110 (sort-fold-case): Declare.
19111
19112 * cus-theme.el (custom-reset-standard-faces-list)
19113 (custom-reset-standard-variables-list): Declare.
19114 (customize-create-theme, custom-theme-revert, custom-theme-write)
19115 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19116 Mark unused parameters.
19117
19118 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19119
19120 * delim-col.el (delimit-columns-max): Move defvar before first use.
19121
19122 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 19123 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
19124
19125 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19126 (auto-insert): Declare.
19127 (desktop-restore-file-buffer): Rename desktop-* parameters;
19128 mark unused ones.
19129 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19130 (desktop-buffer): Rename desktop-* parameters.
19131
19132 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19133 (dframe-reposition-frame-xemacs, dframe-help-echo)
19134 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19135 Mark unused parameters.
19136
19137 * dired-aux.el (backup-extract-version-start, overwrite-query)
19138 (overwrite-backup-query, rename-regexp-query)
19139 (rename-non-directory-query): Declare.
19140 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19141 (dired-add-entry): Remove unused variable `orig-file-name'.
19142 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19143 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19144 `dired-copy-preserve-time' directly.
19145 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19146 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19147
19148 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19149 (dired-virtual-revert, dired-make-relative-symlink):
19150 Mark unused parameters.
19151 (manual-program): Declare.
19152 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19153 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19154 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19155
19156 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19157
19158 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19159
19160 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19161 Declare.
19162
19163 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19164
19165 * electric.el (Electric-command-loop): Rename parameter
19166 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19167
19168 * expand.el (expand-in-literal): Remove unused variable `here'.
19169
19170 * facemenu.el (facemenu-add-new-color):
19171 Remove unused variable `docstring'.
19172
19173 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19174 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19175 (face-attr-construct): Mark unused parameter. Doc fix.
19176 (read-color): Remove unused variable `hex-string'.
19177
19178 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19179 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19180 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19181 (display-buffer-other-frame): Remove unused variable `old-window'.
19182 (kill-buffer-hook): Declare.
19183 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19184 Mark unused parameters.
19185 (after-find-file): Pass 1 to `auto-save-mode', not t.
19186
19187 * files-x.el (auto-insert): Declare.
19188 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19189
19190 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 19191 variable `buf'. Mark unused parameter.
06b60517
JB
19192 (find-lisp-insert-directory): Mark unused parameter.
19193
19194 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19195 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19196 (format-common-tail): Remove, unused.
19197 (format-deannotate-region): Remove unused variable `loc'.
19198 (format-annotate-region): Remove unused variable `p'.
19199 (format-annotate-single-property-change): Remove unused variables
19200 `default' and `tail'.
19201
19202 * forms.el (read-file-filter): Declare.
19203 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19204
19205 * frame.el (frame-creation-function-alist): Mark unused parameter.
19206 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19207
19208 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19209 Remove unused parameters.
19210 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19211 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19212
19213 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19214 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19215 (hfy-prepare-tag-map): Mark unused parameters.
19216 (htmlfontify-buffer): Use `called-interactively-p'.
19217
19218 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19219 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19220 (ibuffer-do-occur): Mark unused parameters.
19221 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19222 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19223
19224 * ibuffer.el: Don't quote `lambda'.
19225 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19226 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19227 Mark unused parameters.
19228
19229 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19230 (ido-completing-read): Mark unused parameters.
19231 (ido-copy-current-word): Mark unused parameters;
19232 remove unused variable `name'.
19233 (ido-sort-merged-list): Remove unused parameter `dirs'.
19234
19235 * ielm.el (ielm-input-sender): Mark unused parameter.
19236 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19237 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19238 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19239 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19240 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19241
19242 * image-dired.el (image-dired-display-thumbs): Remove unused
19243 variables `curr-file' and `count'.
19244 (image-dired-remove-tag): Remove unused variable `start'.
19245 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19246 variable `curr-file'
19247 (image-dired-rotate-original): Remove unused variable `temp-file'.
19248 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19249 Remove unused variable `file'.
19250 (image-dired-gallery-generate): Remove unused variable `curr'.
19251 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19252
19253 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19254
19255 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19256
19257 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19258
19259 * isearch.el (minibuffer-history-symbol): Declare.
19260 (isearch-edit-string): Remove unused variable `err'.
19261 (isearch-message-prefix, isearch-message-suffix):
19262 Mark unused parameters.
19263
19264 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19265
19266 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19267
19268 * makesum.el (double-column): Remove unused variable `cnt'.
19269
19270 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19271 (ido-ignore-item-temp-list): Declare.
19272
19273 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19274 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19275 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19276 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19277 `mouse-col-delta'.
19278
19279 * mouse-sel.el (mouse-extend-internal):
19280 Remove unused variable `orig-window-frame'.
19281
19282 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19283 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19284 Move declarations before first use.
19285 (pcomplete-opt): Mark unused parameters; doc fix.
19286
19287 * proced.el (proced-revert): Mark unused parameter.
19288 (proced-send-signal): Remove unused variable `err'.
19289
19290 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19291 Rename parameter PREFIX-ARG to ARG.
19292 (ps-basic-plot-string, ps-basic-plot-whitespace):
19293 Mark unused parameters.
19294
19295 * replace.el (replace-count): Define.
19296 (occur-revert-function): Mark unused parameters.
19297 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19298 (isearch-case-fold-search, isearch-string): Declare.
19299 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19300 bind `case-fold-search'. Remove unused variables `beg' and `end',
19301 and simplify.
19302 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19303 COUNT and bind `replace-count'.
19304 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19305 to COUNT.
19306
19307 * savehist.el (print-readably, print-string-length): Declare.
19308
19309 * shadowfile.el (shadow-expand-cluster-in-file-name):
19310 Remove unused variable `cluster'.
19311 (shadow-copy-file): Remove unused variable `i'.
19312 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19313 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19314 (shadow-define-literal-group, shadow-define-regexp-group)
19315 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19316
19317 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19318 (shell): Use `called-interactively-p'.
19319 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19320
19321 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19322 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19323 (delete-backward-char): Remove unused variable `ocol'.
19324 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19325 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19326 (event-apply-hyper-modifier, event-apply-shift-modifier)
19327 (event-apply-control-modifier, event-apply-meta-modifier):
19328 Mark unused parameters.
19329 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19330 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19331
19332 * speedbar.el (speedbar-ignored-directory-expressions)
19333 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19334 (speedbar-find-file, speedbar-dir-follow)
19335 (speedbar-directory-buttons-follow, speedbar-tag-find)
19336 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19337 (speedbar-buffers-line-directory, speedbar-buffer-click):
19338 Mark unused parameters.
19339 (speedbar-tag-file): Remove unused variable `mode'.
19340 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19341
19342 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19343
19344 * talk.el (talk): Remove unused variable `display'.
19345
19346 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19347 (tar-write-region-annotate): Mark unused parameter.
19348
19349 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19350 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19351 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19352 warning by another.
19353
19354 * time-stamp.el (time-stamp-string-preprocess):
19355 Remove unused variable `require-padding'.
19356
19357 * tree-widget.el (widget-glyph-enable): Declare.
19358 (tree-widget-action): Mark unused parameter.
19359
19360 * w32-fns.el (x-get-selection): Mark unused parameter.
19361 (autoload-make-program, generated-autoload-file): Declare.
19362
19363 * wdired.el (wdired-revert): Mark unused parameters.
19364 (wdired-xcase-word): Remove unused variable `err'.
19365
19366 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19367 (whitespace-help-scroll): Remove unused variable `data-help'.
19368
19369 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19370 (widget-image-insert, widget-after-change, default)
19371 (widget-default-format-handler, widget-default-notify)
19372 (widget-default-prompt-value, widget-info-link-action)
19373 (widget-url-link-action, widget-function-link-action)
19374 (widget-variable-link-action, widget-file-link-action)
19375 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19376 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19377 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19378 (widget-insert-button-action, widget-delete-button-action, visibility)
19379 (widget-documentation-link-action, widget-documentation-string-action)
19380 (widget-const-prompt-value, widget-regexp-match, symbol)
19381 (widget-coding-system-prompt-value)
19382 (widget-key-sequence-value-to-external, sexp)
19383 (widget-sexp-value-to-internal, character, vector, cons)
19384 (widget-choice-prompt-value, widget-boolean-prompt-value)
19385 (widget-color--choose-action): Mark unused parameters.
19386 (widget-item-match-inline, widget-choice-match-inline)
19387 (widget-checklist-match, widget-checklist-match-inline)
19388 (widget-group-match): Rename parameter VALUES to VALS.
19389 (widget-field-value-set): Remove unused variable `size'.
19390 (widget-color-action): Remove unused variables `value' and `start'.
19391
19392 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 19393 variable `dir'. Doc fix.
06b60517
JB
19394 (windmove-find-other-window): Don't pass it.
19395
19396 * window.el (count-windows): Mark unused parameter.
19397 (bw-adjust-window): Remove unused variable `err'.
19398
19399 * woman.el (woman-file-name): Remove unused variable `default'.
19400 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19401 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19402 (global-font-lock-mode): Declare.
19403 (woman-decode-region): Mark unused parameter.
19404 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19405
19406 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19407 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19408 (x-dnd-handle-moz-url): Remove unused variable `title'.
19409 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19410
19411 * xml.el (xml-parse-tag, xml-parse-attlist):
19412 Remove unused variable `pos'.
19413
bc4f7f3d
GM
194142011-04-19 Glenn Morris <rgm@gnu.org>
19415
19416 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19417 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19418 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19419 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19420 * calendar/cal-html.el (cal-html-insert-minical):
19421 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19422 (calendar-mark-date-pattern):
19423 Prefix "unused" locals.
19424
19425 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19426 optional argument `style'.
19427
19428 * calendar/appt.el (appt-make-list):
19429 * calendar/cal-china.el (calendar-chinese-date-string):
19430 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19431 (diary-hebrew-yahrzeit):
19432 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19433 * calendar/calendar.el (calendar-generate-window):
19434 * calendar/time-date.el (time-to-days):
19435 Remove unused local variables.
19436
16a43933
CY
194372011-04-18 Chong Yidong <cyd@stupidchicken.com>
19438
19439 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19440 glyphless-char-display table.
19441 (tabulated-list-glyphless-char-display): New var.
19442
7eed1860
SS
194432011-04-18 Sam Steingold <sds@gnu.org>
19444
19445 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19446 to acknowledgments.
19447
4d2d1ccd
GM
194482011-04-17 Glenn Morris <rgm@gnu.org>
19449
19450 * calendar/diary-lib.el (diary-sexp-entry):
19451 * calendar/holidays.el (holiday-sexp):
19452 Set debug-on-error rather than the removed stack-trace-on-error.
19453
239da61d
GM
194542011-04-16 Glenn Morris <rgm@gnu.org>
19455
19456 * progmodes/f90.el: Use lexical-binding.
19457 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19458
8b05752a
SM
194592011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19460
daca8ba5
SM
19461 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19462 (mail-mode): Setup mailalias completion here instead.
19463 * mail/mailalias.el: Use lexical-binding.
19464 (pattern, mailalias-done): Declare dynamic.
19465 (mail-completion-at-point-function): New function, from mail-complete.
19466 (mail-complete): Use it.
19467 (mail-completion-expand): New function.
19468 (mail-get-names): Use it.
19469 (mail-directory, mail-directory-process, mail-directory-stream):
19470 Don't use `pattern' for lexically bound arg.
19471
6f542485
SM
19472 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19473
037e7c3f
SM
19474 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19475 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19476 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19477
8b05752a
SM
19478 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19479 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19480 (byte-interactive-p): Define them again, for use when inlining
19481 old code.
19482
49093f60
JB
194832011-04-15 Juanma Barranquero <lekktu@gmail.com>
19484
19485 * loadup.el: Use `string-to-number', not `string-to-int'.
19486
b5b8e7de
SM
194872011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19488
19489 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19490 gud-gdb-complete-command.
19491 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19492 (gud-gdb-completion-at-point): New function.
19493 (gud-gdb-completions): Remove.
19494
f42efeb5
MA
194952011-04-14 Michael Albinus <michael.albinus@gmx.de>
19496
49093f60
JB
19497 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19498 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19499 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19500 whether `executable-find' is bound.
f42efeb5
MA
19501
19502 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19503
e240cc21
SM
195042011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19505
19506 * minibuffer.el (completion-in-region-mode-predicate)
19507 (completion-in-region-mode--predicate): New vars.
19508 (completion-in-region, completion-in-region--postch)
19509 (completion-in-region-mode): Use them.
19510 (completion--capf-wrapper): Also return the hook function.
19511 (completion-at-point, completion-help-at-point):
19512 Adjust and provide a predicate.
c2bd2ab0
SM
19513
19514 Preserve arg names for advice of subr and lexical functions (bug#8457).
19515 * help-fns.el (help-function-arglist): Consolidate the subr and
19516 new-byte-code cases. Add argument `preserve-names' to extract names
19517 from the docstring when needed.
19518 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19519 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19520 (ad-arglist): Use help-function-arglist's new arg.
19521 (ad-definition-type): Use cond.
19522
c183f693
JB
195232011-04-13 Juanma Barranquero <lekktu@gmail.com>
19524
06641a47
JB
19525 * autorevert.el (auto-revert-handler):
19526 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19527 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19528 Don't quote lambda.
19529
c183f693
JB
19530 * image-mode.el (image-transform-set-scale):
19531 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19532
1e3b6001
G
195332011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19534
19535 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 19536 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
19537 Upgrades via gnutls-cli are too slow to be done opportunistically.
19538
2d6af8dd
JB
195392011-04-12 Juanma Barranquero <lekktu@gmail.com>
19540
19541 * dframe.el (dframe-current-frame): Remove spurious quote.
19542
c0749a51
GM
195432011-04-12 Glenn Morris <rgm@gnu.org>
19544
088d0d61
GM
19545 * calendar/cal-tex.el (cal-tex-end-document):
19546 Try to automatically use latin1 input if needed.
19547
c0749a51
GM
19548 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19549 Don't try to cons a mark onto an empty element.
19550
5c90fde0
LL
195512011-04-11 Leo Liu <sdl.web@gmail.com>
19552
19553 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19554 buffers.
19555 (ido-kill-buffer-at-head): Support killing virtual buffers.
19556
369e974d
CY
195572011-04-10 Chong Yidong <cyd@stupidchicken.com>
19558
19559 * minibuffer.el (completion-show-inline-help): New var.
19560 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
19561 (minibuffer-force-complete, minibuffer-complete-word):
19562 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
19563
19564 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19565 to avoid interference from inline help (Bug#5849).
19566
37f1c930
LL
195672011-04-10 Leo Liu <sdl.web@gmail.com>
19568
099c39a4
JB
19569 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19570 Fix typo.
37f1c930 19571
a32d4040
CY
195722011-04-09 Chong Yidong <cyd@stupidchicken.com>
19573
19574 * image-mode.el (image-toggle-display-image): Signal an error if
19575 not in Image mode.
19576 (image-transform-mode, image-transform-resize)
19577 (image-transform-set-rotation): Doc fix.
daca8ba5 19578 (image-transform-set-resize): Delete.
a32d4040
CY
19579 (image-transform-set-scale, image-transform-fit-to-height)
19580 (image-transform-fit-to-width): Handle image-toggle-display-image
19581 and image-transform-resize directly.
19582
099c39a4 195832011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
19584
19585 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
19586 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19587 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
19588 (doc-view-mode-map): Add bindings for the new functions.
19589
099c39a4 195902011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 19591
4d61f28d 19592 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
19593 Fix typo in docstring.
19594
3726838a
EZ
195952011-04-08 Eli Zaretskii <eliz@gnu.org>
19596
04f33f1e
EZ
19597 * files.el (file-size-human-readable): Produce one digit after
19598 decimal, like "ls -lh" does.
19599
19600 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19601 the file size representation.
19602
3726838a
EZ
19603 * simple.el (list-processes): If async subprocesses are not
19604 available, error out with a clear error message.
19605
cbb59342
CY
196062011-04-08 Chong Yidong <cyd@stupidchicken.com>
19607
19608 * help.el (help-form-show): New function, to be called from C.
19609 Put help-form output in a buffer named differently than *Help*.
19610
e3971c44
EZ
196112011-04-08 Eli Zaretskii <eliz@gnu.org>
19612
19613 * files.el (file-size-human-readable): New function.
19614
19615 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19616 computing the representation inline. Don't require `cl'.
19617
12544bbe
GM
196182011-04-08 Glenn Morris <rgm@gnu.org>
19619
a1de6c6a
GM
19620 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19621
3c4671f4
GM
19622 * net/browse-url.el (browse-url-firefox):
19623 Test system-type, not system-configuration.
19624
b605679c
GM
19625 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19626 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19627 Use log-edit-empty-buffer-p. (Bug#7598)
19628
56442f0c
GM
19629 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19630 (rlogin-mode-map): Initialize in the defvar.
19631 (rlogin): Use ignore-errors.
19632
12544bbe
GM
19633 * replace.el (occur-mode-map): Some fixes for menu items.
19634
eb237b0f
AH
196352011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19636
19637 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19638
7d668f2c
CY
196392011-04-06 Chong Yidong <cyd@stupidchicken.com>
19640
e67a13ab
CY
19641 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19642 issuing unused warnings.
19643
19644 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19645 macro directly.
19646
7d668f2c
CY
19647 * simple.el: Lisp reimplement of list-processes. Based on an
19648 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19649 (process-menu-mode): New major mode.
19650 (list-processes--refresh, list-processes):
19651 (process-menu-visit-buffer): New functions.
19652
19653 * files.el (save-buffers-kill-emacs): Don't assume any return
19654 value of list-processes, which is undocumented anyway.
19655
a83ec3c9
CY
196562011-04-06 Chong Yidong <cyd@stupidchicken.com>
19657
19658 * emacs-lisp/tabulated-list.el: New file.
19659
e91a96fe
CY
19660 * emacs-lisp/package.el: Use Tabulated List mode.
19661 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19662 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19663 table format using Tabulated List mode variables.
19664 (package--push): New macro, replacing package-list-maybe-add.
19665 (package-menu--generate): Use package--push. Renamed from
19666 package--generate-package-list.
19667 (package-menu-refresh, list-packages): Use it.
daca8ba5 19668 (package-menu--print-info): Rename from package-print-package.
e91a96fe 19669 Return insertion data instead of inserting it directly.
099c39a4
JB
19670 (package-menu-describe-package, package-menu-execute):
19671 Use tabulated-list-get-id.
e91a96fe
CY
19672 (package-menu-mark-delete, package-menu-mark-install)
19673 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
19674 (package-menu-mark-obsolete-for-deletion):
19675 Use tabulated-list-put-tag.
e91a96fe
CY
19676 (package--list-packages, package-menu-revert)
19677 (package-menu-get-package, package-menu-get-version)
19678 (package-menu-sort-by-column): Functions deleted.
19679 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19680 (package-menu--status-predicate, package-menu--version-predicate)
19681 (package-menu--name-predicate)
19682 (package-menu--description-predicate): Handle arguments in the
19683 Tabulated List format.
19684 (package-list-packages-no-fetch): Call list-packages.
19685
3e214b50
JB
196862011-04-06 Juanma Barranquero <lekktu@gmail.com>
19687
19688 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 19689 (after-find-file): Don't bind it.
3e214b50
JB
19690 (revert-buffer-in-progress-p): New variable.
19691 (revert-buffer): Bind it.
19692 Pass nil for `after-find-file-from-revert-buffer'.
19693
19694 * saveplace.el (save-place-find-file-hook): Use new variable
19695 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19696
3f0f1700
GM
196972011-04-06 Glenn Morris <rgm@gnu.org>
19698
c0274801
GM
19699 * Makefile.in (AUTOGEN_VCS): New variable.
19700 (autoloads): Use $AUTOGEN_VCS.
19701
3f0f1700
GM
19702 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19703 * calendar/calendar.el (calendar-mode-map):
19704 Check for toolkit scroll bars. (Bug#8305)
19705
41ea9e48
CY
197062011-04-05 Chong Yidong <cyd@stupidchicken.com>
19707
19708 * minibuffer.el (completion-in-region--postch)
19709 (completion-in-region-mode): Remove unnecessary messages.
19710
6194c800
JB
197112011-04-05 Juanma Barranquero <lekktu@gmail.com>
19712
33256f14
JB
19713 * font-lock.el (font-lock-refresh-defaults):
19714 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19715 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19716
6194c800
JB
19717 * info.el (Info-directory-list, Info-read-node-name-2)
19718 (Info-split-parameter-string): Doc fixes.
19719 (Info-virtual-nodes): Reflow docstring.
19720 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19721 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19722 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19723 Fix typos in docstrings.
19724 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19725 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19726 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19727 (Info-restore-desktop-buffer): Mark unused parameters.
19728 (Info-directory-find-file, Info-directory-find-node)
19729 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19730 (Info-virtual-index-find-node, Info-apropos-find-file)
19731 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 19732 Mark unused parameters; fix typos in docstrings.
6194c800
JB
19733 (Info-virtual-index): Remove unused local variable `nodename'.
19734
b87a8200 197352011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 19736
b87a8200
DD
19737 * net/rcirc.el: Update my e-mail address.
19738 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 19739
3b2ff876
CY
197402011-04-05 Chong Yidong <cyd@stupidchicken.com>
19741
19742 * startup.el (command-line): Save the cursor's theme-face
19743 directly, instead of using face-override-spec.
19744
19745 * custom.el (load-theme): Minor optimization in assigning faces.
19746
8d17e7ca
JB
197472011-04-04 Juanma Barranquero <lekktu@gmail.com>
19748
19749 * help-fns.el (describe-variable): Complete all variables having
19750 documentation, including keywords.
19751 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19752
2fbc1934
JB
197532011-04-04 Juanma Barranquero <lekktu@gmail.com>
19754
19755 Convert to lexical-binding.
19756
19757 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19758 (bs--get-marked-string, bs--get-modified-string)
19759 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19760 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19761 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19762
19763 * ehelp.el (electric-help-execute-extended)
19764 (electric-help-ctrl-x-prefix):
19765 * hexl.el (hexl-revert-buffer-function):
19766 * linum.el (linum-after-change, linum-after-scroll):
19767 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19768
19769 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19770
74f50695
DU
197712011-04-04 Daiki Ueno <ueno@unixuser.org>
19772
19773 * epa-dired.el:
19774 * epa-mail.el:
19775 * epa-hook.el:
19776 * epa-file.el:
19777 * epa.el:
19778 * epg.el: Use lexical binding.
19779
c11325f7
CY
197802011-04-03 Chong Yidong <cyd@stupidchicken.com>
19781
0d9e9a12
CY
19782 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19783
c11325f7 19784 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
19785 dictionary case for flyspell-mark-duplications-exceptions.
19786 Use regexp matching for languages.
c11325f7
CY
19787 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19788 default dictionary (Bug#7926).
19789
da91b5f2
CY
197902011-04-02 Chong Yidong <cyd@stupidchicken.com>
19791
099c39a4
JB
19792 * emacs-lisp/package.el (package--with-work-buffer):
19793 Recognize https URLs.
da91b5f2 19794
099c39a4
JB
19795 * net/network-stream.el: Move from gnus/proto-stream.el.
19796 Change prefix to network-stream throughout.
da91b5f2
CY
19797 (open-protocol-stream): Merge into open-network-stream, leaving
19798 open-protocol-stream as an alias. Handle nil BUFFER args.
19799
19800 * subr.el (open-network-stream): Move to net/network-stream.el.
19801
afa8e9f6
GM
198022011-04-02 Glenn Morris <rgm@gnu.org>
19803
1d2e369d
GM
19804 * find-dired.el (find-exec-terminator): New option.
19805 (find-ls-option): Test for -ls support.
19806 (find-ls-subdir-switches): Test for -b in find-ls-option.
19807 (find-dired, find-grep-dired): Doc fixes.
19808 (find-dired): Use find-exec-terminator.
19809
8abb7da8 19810 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
19811 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19812 (find-name-arg): Remove purecopy.
8abb7da8 19813
f3ca7378
GM
19814 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19815 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19816 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19817 accordingly. Don't add the null-device if not needed.
19818
afa8e9f6
GM
19819 * files.el (save-some-buffers): Doc fix.
19820
35eae264
EZ
198212011-04-02 Eli Zaretskii <eliz@gnu.org>
19822
19823 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19824
26b51db5
JB
198252011-04-01 Juanma Barranquero <lekktu@gmail.com>
19826
19827 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19828 Use `dolist' rather than `mapcar'.
19829
7200d79c
SM
198302011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19831
03408648 19832 Add lexical binding.
7200d79c 19833
03408648
SM
19834 * subr.el (apply-partially): Use new closures rather than CL.
19835 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19836 (dolist, dotimes): Use slightly different expansion for lexical code.
19837 (functionp): Move to C.
19838 (letrec): New macro.
19839 (with-wrapper-hook): Use it and apply-partially instead of CL.
19840 (eval-after-load): Preserve lexical-binding.
19841 (save-window-excursion, with-output-to-temp-buffer): Turn them
19842 into macros.
7200d79c 19843
03408648
SM
19844 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19845
19846 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19847 than the arglist.
19848 (help-add-fundoc-usage): Don't add `Not documented'.
19849 (help-function-arglist): Handle closures, subroutines, and new
19850 byte-code-functions.
19851 (help-make-usage): Remove leading underscores.
19852 (describe-function-1): Handle closures.
19853 (describe-variable): Use special-variable-p for completion.
19854
19855 * files.el (lexical-binding): Declare safe.
f488fb65 19856
03408648
SM
19857 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19858 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19859 (pcase): Add `let' pattern.
19860 Change memoization so it actually works.
19861 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19862 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19863 <let>: New case.
f488fb65 19864
03408648
SM
19865 * emacs-lisp/macroexp.el: Use lexical binding.
19866 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19867 Don't convert ' to #' without checking that it's indeed quoting
19868 a lambda.
19869
19870 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 19871 Use eval-sexp-add-defvars.
03408648
SM
19872 (eval-sexp-add-defvars): New fun.
19873
19874 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19875
19876 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19877 Don't autoload.
19878 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19879 than the internal `byte-compile-lambda'.
19880 (defmethod): Don't hide code under quotes.
19881 (eieio-defmethod): New `code' argument.
19882
19883 * emacs-lisp/eieio-comp.el: Remove.
19884
19885 * emacs-lisp/edebug.el (edebug-eval-defun)
19886 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19887 (edebug-toggle): Avoid `eval'.
19888
19889 * emacs-lisp/disass.el (disassemble-internal): Handle new
19890 `closure' objects.
19891 (disassemble-1): Handle new byte codes.
19892
19893 * emacs-lisp/cl.el (pushnew): Silence warning.
19894
19895 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19896 (cl-byte-compile-throw): Remove.
19897 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19898
19899 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19900 closures.
19901
19902 * emacs-lisp/cconv.el: New file.
19903
19904 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19905 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19906 (byte-compile-initial-macro-environment):
19907 Handle declare-function here.
19908 (byte-compile--lexical-environment): New var.
19909 (byte-stack-ref, byte-stack-set, byte-discardN)
19910 (byte-discardN-preserve-tos): New lap codes.
19911 (byte-interactive-p): Don't use any more.
19912 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19913 New macros.
19914 (byte-compile-lapcode): Use them and handle new lap codes.
19915 (byte-compile-obsolete): Remove.
19916 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19917 (byte-compile-arglist-warn): Check late def of inlinable funs.
19918 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19919 since they should have been expanded by now.
19920 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19921 (byte-compile-from-buffer): Remove unused second arg.
19922 (byte-compile-preprocess): New function.
19923 (byte-compile-toplevel-file-form): New function to distinguish
19924 file-form calls from outside from file-form calls from hunk-handlers.
19925 (byte-compile-file-form): Simplify.
19926 (byte-compile-file-form-defsubst): Remove.
19927 (byte-compile-file-form-defmumble): Simplify now that
19928 byte-compile-lambda always returns a byte-code-function.
19929 (byte-compile): Preprocess.
19930 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19931 Remove, not used any more.
19932 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19933 (byte-compile-make-args-desc): New funs.
19934 (byte-compile-lambda): Handle lexical functions. Always return
19935 a byte-code-function.
19936 (byte-compile-reserved-constants): New var, to make up room for
19937 closed-over variables.
19938 (byte-compile-constants-vector): Obey it.
19939 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19940 (byte-compile-macroexpand-declare-function): New function.
19941 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19942 byte-code-functions.
19943 (byte-compile-form): Check obsolescence here.
19944 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19945 (byte-compile-variable-ref): Remove.
19946 (byte-compile-dynamic-variable-op): New fun.
19947 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19948 (byte-compile-variable-set): New funs.
19949 (byte-compile-discard): Add 2 args.
19950 (byte-compile-stack-ref, byte-compile-stack-set)
19951 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19952 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19953 macroexpand-all instead.
19954 (byte-compile-quote-form): Remove.
19955 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19956 (byte-compile-bind, byte-compile-unbind): New funs.
19957 (byte-compile-let): Handle let* and lexical binding.
19958 (byte-compile-let*): Remove.
19959 (byte-compile-catch, byte-compile-unwind-protect)
19960 (byte-compile-track-mouse, byte-compile-condition-case):
19961 Handle a new :fun-body form, used for lexical scoping.
19962 (byte-compile-save-window-excursion)
19963 (byte-compile-with-output-to-temp-buffer): Remove.
19964 (byte-compile-defun): Simplify.
19965 (byte-compile-stack-adjustment): New fun.
19966 (byte-compile-out): Use it.
19967 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19968
19969 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19970 handler any more.
19971
19972 * emacs-lisp/byte-opt.el: Use lexical binding.
19973 (byte-inline-lapcode): Remove (to bytecomp).
19974 (byte-compile-inline-expand): Pay attention to inlining to/from
19975 lexically bound code.
19976 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19977 any more.
19978 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19979 any more and don't call compiler-macros.
19980 (byte-compile-splice-in-already-compiled-code): Remove.
19981 (byte-code): Don't inline any more.
19982 (disassemble-offset): Receive `bytes' as argument rather than via
19983 dynamic scoping.
19984 (byte-compile-tag-number): Declare before first use.
19985 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19986 `return' even if make-spliceable.
19987 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19988 obsolete interactive-p.
19989 (byte-optimize-lapcode): Optimize new lap-codes.
19990 Don't trip up on new form of `byte-constant' lap code.
19991
19992 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19993
19994 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19995
19996 * custom.el (custom-initialize-default, custom-declare-variable):
19997 Use `defvar'.
19998
19999 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20000 New variables.
20001 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20002 (COMPILE_FIRST): Add macroexp and cconv.
20003 * makefile.w32-in: Mirror changes in Makefile.in.
20004
20005 * vc/cvs-status.el:
20006 * vc/diff-mode.el:
20007 * vc/log-edit.el:
20008 * vc/log-view.el:
20009 * vc/smerge-mode.el:
20010 * textmodes/bibtex-style.el:
090bd7cb 20011 * textmodes/css-mode.el:
03408648
SM
20012 * startup.el:
20013 * uniquify.el:
da91b5f2
CY
20014 * minibuffer.el:
20015 * newcomment.el:
20016 * reveal.el:
20017 * server.el:
20018 * mpc.el:
20019 * emacs-lisp/smie.el:
20020 * doc-view.el:
20021 * dired.el:
03408648
SM
20022 * abbrev.el: Use lexical binding.
20023
0f0c1f27
EZ
200242011-04-01 Eli Zaretskii <eliz@gnu.org>
20025
20026 * info.el (info-display-manual): New function.
20027
c82b2579
SM
200282011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20029
20030 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20031
221ddf68
TH
200322011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20033
20034 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 20035 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 20036
cba6e77e
GM
200372011-03-31 Glenn Morris <rgm@gnu.org>
20038
e040639f
GM
20039 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20040
cba6e77e
GM
20041 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20042
6d0f1c9e
CS
200432011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20044
20045 * progmodes/python.el (python-default-interpreter)
20046 (python-python-command-args, python-jython-command-args)
20047 (python-which-shell, python-which-args, python-which-bufname)
20048 (python-file-queue, python-comint-output-filter-function)
20049 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20050 variables and functions.
20051
3e2d70fd
SM
200522011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20053
20054 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20055 (completion-in-region-mode): New minor mode.
20056 (completion-in-region): Use it.
20057 (completion-in-region--data, completion-in-region-mode-map): New vars.
20058 (completion-in-region--postch): New function.
20059 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20060 New vars.
20061 (completion--capf-wrapper): New function.
20062 (completion-at-point): Use it to track well-behavedness of
20063 hook functions.
20064 (completion-help-at-point): New command.
20065
f3e4086c
JM
200662011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20067
20068 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20069 syntax class to search for whitespace on a single line
20070 (Message-ID: <4D938140.4030905@redhat.com>).
20071
eb7ffc14
LL
200722011-03-30 Leo Liu <sdl.web@gmail.com>
20073
20074 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20075 New commands.
20076 (edit-abbrevs-map): Bind them here.
20077 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20078
d806ab68
KM
200792011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20080
20081 * allout.el (allout-hide-by-annotation, allout-flag-region):
20082 Reduce possibility of overlay leakage by making them volatile.
20083
20084 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20085 hash is not shared between buffers. Mode initialization is
20086 responsible for giving it a useful starting value.
20087 (allout-item-span): Reduce possibility of overlay leakage by
20088 making them volatile.
20089 (allout-widgets-count-buttons-in-region): Add diagnostic function
20090 for tracking down button overlay leaks.
20091
ea622834
LL
200922011-03-29 Leo Liu <sdl.web@gmail.com>
20093
20094 * ido.el (ido-read-internal): Use the default history var
20095 minibuffer-history if no HISTORY is specified.
20096
b62f8267
G
200972011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20098
03408648
SM
20099 * net/imap.el (imap-shell-open, imap-process-connection-type):
20100 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
20101 Kerberos, SSL, other subprocesses.
20102
947b6566
LL
201032011-03-28 Leo Liu <sdl.web@gmail.com>
20104
20105 * abbrev.el (abbrev-table-empty-p): New function.
20106 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20107 nonempty ones. (Bug#5937)
20108
5ffb62aa
JD
201092011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20110
20111 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20112
7a097943
LL
201132011-03-27 Leo Liu <sdl.web@gmail.com>
20114
20115 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20116 for foreground and background colors.
20117 (ansi-color-make-color-map): Adapt.
20118
c5b40130
LL
201192011-03-25 Leo Liu <sdl.web@gmail.com>
20120
1f48f7d2
LL
20121 * midnight.el (midnight-time-float): Remove. Note it calculates
20122 the microsecond component incorrectly and seconds-to-time does the
20123 same job.
625897ec 20124 Remove redundant (require 'timer).
1f48f7d2 20125
c5b40130
LL
20126 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20127 (ido-completions): Remove unused arguments. (Bug#8329)
20128
d86d2721
SM
201292011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20130
20131 * minibuffer.el (completion--flush-all-sorted-completions):
20132 Remove itself from hook.
20133 (completion-at-point): Let the functions perform the completion
20134 immediately and return nil or t.
20135 * comint.el (comint-dynamic-complete-functions): Now identical to
20136 completion-at-point-functions.
20137 (comint-dynamic-list-input-ring): Remove unused var `index'.
20138 (comint--match-partial-filename, comint--unquote&expand-filename):
20139 New funs, split from comint-match-partial-filename.
20140 (comint-dynamic-complete): Use completion-at-point.
20141 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20142
e8974c48
DA
201432011-03-24 Drew Adams <drew.adams@oracle.com>
20144
20145 * thingatpt.el: Support `defun'.
20146
def71b5e
LL
201472011-03-23 Leo Liu <sdl.web@gmail.com>
20148
cb5af48e
LL
20149 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20150
def71b5e
LL
20151 * help-mode.el (help-mode-finish): Tweak regexp.
20152
927c53e7
GM
201532011-03-23 Glenn Morris <rgm@gnu.org>
20154
18d05bed
GM
20155 * eshell/esh-opt.el (eshell-eval-using-options):
20156 Do not bind unused local variable `eshell-option-stub'.
20157
927c53e7
GM
20158 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20159
9d0da923
JB
201602011-03-22 Juanma Barranquero <lekktu@gmail.com>
20161
20162 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20163 keymap variable in `with-no-warnings' to avoid a warning when the
20164 keymap has been already `defconst'ed.
20165
4b978a67
LL
201662011-03-22 Leo Liu <sdl.web@gmail.com>
20167
20168 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20169 encode all chars in abbrevs; otherwise use emacs-mule or
20170 utf-8-emacs. (Bug#8308)
20171
5fd62452
JB
201722011-03-22 Juanma Barranquero <lekktu@gmail.com>
20173
0b1596c6
JB
20174 * simple.el (backward-delete-char-untabify):
20175 Avoid warning about using `delete-backward-char'.
20176
5fd62452
JB
20177 * image.el (image-type-file-name-regexps): Make it variable.
20178 `imagemagick-register-types' modifies it, and the user may want
20179 to add new extensions for known image types.
20180 (imagemagick-register-types): Throw error if not using ImageMagick.
20181
0b4e93f1
LL
201822011-03-22 Leo Liu <sdl.web@gmail.com>
20183
20184 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20185 located before rcirc-prompt-end-marker.
20186 (rcirc-complete): Error if point is not after rcirc prompt.
20187 Handle the case when table is nil.
9882e214 20188 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 20189
fccee4ab
CY
201902011-03-22 Chong Yidong <cyd@stupidchicken.com>
20191
20192 * custom.el (custom--inhibit-theme-enable): Make it affect only
20193 custom-theme-set-variables and custom-theme-set-faces.
20194 (provide-theme): Ignore custom--inhibit-theme-enable.
20195 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20196 (custom-enabling-themes): Delete variable.
d86d2721
SM
20197 (enable-theme): Accept only loaded themes as arguments.
20198 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
20199 (custom-enabled-themes): Forbid themes from setting this.
20200 Eliminate use of custom-enabling-themes.
20201 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 20202
af896da6
LL
202032011-03-21 Leo Liu <sdl.web@gmail.com>
20204
20205 * ido.el (ido-read-internal): Add ido-selected to history instead
20206 of user input.
20207
78f64af0
SM
202082011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20209
20210 * subr.el (deferred-action-list, deferred-action-function):
20211 Mark obsolete.
20212
b16ac1ec
LL
202132011-03-21 Leo Liu <sdl.web@gmail.com>
20214
810f7698
LL
20215 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20216 change on 2011-02-13 (bug#8309).
20217
b16ac1ec
LL
20218 * minibuffer.el (read-file-name-function): Change default value.
20219 (read-file-name--defaults): Rename from read-file-name-defaults.
20220 (read-file-name-default): Rename from read-file-name.
20221 (read-file-name): Call read-file-name-function.
20222
4e05e67e
GM
202232011-03-21 Glenn Morris <rgm@gnu.org>
20224
20225 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20226 Doc fixes.
20227
4359915b
CY
202282011-03-21 Chong Yidong <cyd@stupidchicken.com>
20229
20230 * cus-theme.el: Add missing provide statement.
20231 (customize-create-theme): Extract theme value correctly.
20232 (custom-theme-visit-theme): Autoload.
20233 (customize-create-theme): Prompt before inserting default faces.
20234
1fe275ee
JB
202352011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20236
20237 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20238 units and musical notes.
20239
cd394be1 202402011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
20241
20242 * ido.el (ido-read-internal): Use completing-read-default.
20243 (ido-completing-read): Fix compatibility with completing-read.
20244
7d476bde
CO
202452011-03-20 Christian Ohler <ohler@gnu.org>
20246
20247 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20248 (ert-delete-all-tests): Use `called-interactively-p' rather than
20249 `interactive-p'.
20250 (ert--make-xrefs-region): Respect END.
20251
fe0fb33e
CY
202522011-03-19 Chong Yidong <cyd@stupidchicken.com>
20253
ff854b0b
CY
20254 * dired-aux.el (dired-create-directory): Signal an error if the
20255 directory already exists (Bug#8246).
20256
fe0fb33e
CY
20257 * facemenu.el (list-colors-display): Call list-faces-display
20258 inside with-help-window.
20259 (list-colors-print): Use display property to align the final
20260 column, instead of checking window-width.
20261
576bce32
EZ
202622011-03-19 Eli Zaretskii <eliz@gnu.org>
20263
4d61f28d 20264 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
20265 windows-nt systems.
20266 (emerge-protect-metachars): Quote correctly for ms-dos and
20267 windows-nt systems.
20268
89c41d68 202692011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
20270
20271 * info.el (info-initialize): Replace all uses of `:' with
20272 path-separator for compatibility with non-Unix systems.
20273 Cache quoting of path-separator. (Bug#8258)
20274
b14e3e21 202752011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
20276
20277 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20278 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20279 (mouse-avoidance-mode): Fix typos in docstrings.
20280
4525ce3e
CY
202812011-03-19 Chong Yidong <cyd@stupidchicken.com>
20282
20283 * startup.el (package-subdirectory-regexp): Move from package.el.
20284 Omit \\` and \\', and let callers add them.
20285
20286 * emacs-lisp/package.el (package-strip-version)
20287 (package-load-all-descriptors): Add \\` and \\' to
20288 package-subdirectory-regexp before using it.
20289 (package-untar-buffer): New arg DIR; ensure that file untars only
20290 into this expected directory. Remove superfluous delete-region.
20291 (package-unpack): Caller changed.
20292 (package-tar-file-info): Use package-subdirectory-regexp.
20293
a904a09a 202942011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 20295
a904a09a
SM
20296 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20297 diff-mode-shared-map (bug#8284).
20298 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
20299
203002011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20301
20302 * calendar/time-date.el (format-seconds): Use assoc instead of
20303 assoc-string, since assoc-string doesn't exist in XEmacs.
20304
171fc304
JB
203052011-03-17 Juanma Barranquero <lekktu@gmail.com>
20306
20307 * custom.el (custom-known-themes): Reflow docstring.
20308 (custom-theme-load-path): Fix typo in docstring.
20309 (load-theme): Fix typo in error message.
20310 (custom-available-themes, custom-variable-theme-value):
20311 Use `let', not `let*'.
20312
d71990a1
JB
203132011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20314
20315 * calc/README: Mention inclusion of musical notes.
20316
20317 * calc/calc-units.el (calc-lu-quant): Rename from
20318 `calc-logunits-quantity'.
20319 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20320 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20321 (calc-db): Rename from `calc-dblevel'.
20322 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20323 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20324 (calc-np): Rename from `calc-nplevel'.
20325 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20326 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20327 (calc-lu-plus): Rename from `calc-logunits-add'.
20328 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20329 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20330 (calc-lu-minus): Rename from `calc-logunits-sub'.
20331 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20332 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20333 (calc-lu-times): Rename from `calc-logunits-mul'.
20334 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20335 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20336 (calc-lu-divide): Rename from `calc-logunits-div'.
20337 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20338 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20339
20340 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20341 functions being autoloaded.
20342
20343 * calc/calc.el (calc-lu-power-reference): Rename from
20344 `calc-logunits-power-reference'.
20345 (calc-lu-field-reference): Rename from
20346 `calc-logunits-field-reference'.
20347
7a71b18d
GM
20348 * calc/calc-help.el (calc-l-prefix-help):
20349 Mention musical note functions.
d71990a1 20350
40c2934b
SM
203512011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20352
20353 * minibuffer.el (completion-all-sorted-completions):
20354 Use :completion-cycle-penalty text property if present.
20355
b0911414
KM
203562011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20357
20358 * allout.el (allout-yank-processing): Adjust for new rebulleting
20359 regime so bullet being yanked is used without prompting the user
20360 for a choice.
20361
8a05b668
JB
203622011-03-16 Juanma Barranquero <lekktu@gmail.com>
20363
20364 * startup.el (command-line): Warn the user that _emacs is deprecated.
20365
5ba5fb81
JB
203662011-03-16 Juanma Barranquero <lekktu@gmail.com>
20367
20368 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20369 (delphi-verbose, delphi-comment-face, delphi-string-face)
20370 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20371 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20372 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20373 (delphi-new-comment-line, delphi-font-lock-defaults)
20374 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20375 Fix typos in docstrings.
20376
2dab465b
KM
203772011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20378
5ba5fb81 20379 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
20380 Invert the roles of character and string values for INSTEAD, so a
20381 string is used for the more common case of a defaulting prompt.
20382
0adf5618
SM
203832011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20384
20385 * progmodes/ruby-mode.el (ruby-backward-sexp):
20386 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20387 * play/gamegrid.el (gamegrid-make-face):
20388 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20389 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20390 * notifications.el (notifications-notify):
20391 * net/xesam.el (xesam-search-engines):
20392 * net/quickurl.el (quickurl-list-insert):
20393 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20394
d72700e5
CY
203952011-03-15 Chong Yidong <cyd@stupidchicken.com>
20396
20397 * startup.el (command-line): Update package subdirectory regexp.
20398
49c5410a
SM
203992011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20400
c6eee9aa
SM
20401 * allout.el (allout-abbreviate-flattened-numbering)
20402 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20403
49c5410a
SM
20404 * subr.el (read-char-choice): Only show the cursor after the prompt,
20405 not after the answer.
20406
047b2bb9
KR
204072011-03-15 Kevin Ryde <user42@zip.com.au>
20408
20409 * help-fns.el (variable-at-point): Skip leading quotes, if any
20410 (bug#8253).
20411
0a57d256
SM
204122011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20413
20414 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20415 warning message.
20416
77c992bc
MA
204172011-03-14 Michael Albinus <michael.albinus@gmx.de>
20418
20419 * shell.el (shell): When called interactively, offer to change the
20420 shell file name on remote hosts.
20421
eebc475d
TZ
204222011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20423
20424 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20425 integration for LDAP parameters. The host, base, user or binddn,
20426 and secret tokens can be specified in a netrc file, for instance.
20427 This is optional because an `auth-source' parameter must be
20428 specified in the search attributes.
20429
9d05d1ba
JB
204302011-03-13 Juanma Barranquero <lekktu@gmail.com>
20431
20432 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20433
09d9db2c
GM
204342011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20435
20436 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20437 into declaration. Remove redundant and harmful binding.
20438
204392011-03-12 Eli Zaretskii <eliz@gnu.org>
20440
20441 * files.el (file-ownership-preserved-p): Pass `integer' as an
20442 explicit 2nd argument to `file-attributes'. If the file's owner
20443 is the Administrators group on Windows, and the current user is
20444 Administrator, consider that a match.
20445
20446 * server.el (server-ensure-safe-dir): Consider server directory
20447 safe on MS-Windows if its owner is the Administrators group while
20448 the current Emacs user is Administrator. Use `=' to compare
20449 numerical UIDs, since they could be integers or floats.
20450
219bd536
JB
204512011-03-12 Juanma Barranquero <lekktu@gmail.com>
20452
20453 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20454
f3afd36b
MA
204552011-03-12 Michael Albinus <michael.albinus@gmx.de>
20456
20457 Sync with Tramp 2.2.1.
20458
20459 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20460
20461 * net/trampver.el: Update release number.
20462
3aaaa6f1
SM
204632011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20464
94642599
SM
20465 * progmodes/compile.el (compilation--previous-directory): Fix up
20466 various nil/dead-marker mismatches (bug#8014).
20467 (compilation-directory-properties, compilation-error-properties):
20468 Don't call it at a position past the one we're about to change.
20469
3aaaa6f1
SM
20470 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20471 Disable obsolescence warnings in the file that declares it.
20472
14239447
KM
204732011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20474
099c39a4
JB
20475 * allout-widgets.el (allout-widgets-tally):
20476 Initialize allout-widgets-tally as a hash table rather than nil to
20477 prevent mode-line redisplay warnings. Also, clarify the module
20478 description and fix a comment typo.
14239447 20479
135e287c
JB
204802011-03-11 Juanma Barranquero <lekktu@gmail.com>
20481
20482 * help-fns.el (describe-variable): Don't complete keywords.
20483 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20484
ffbf300e
CY
204852011-03-10 Chong Yidong <cyd@stupidchicken.com>
20486
ba08b241
CY
20487 * emacs-lisp/package.el (package-version-join): Impose a standard
20488 string representation for pre/alpha/beta version lists.
20489 (package-unpack-single): Standardize the directory name by passing
20490 it through package-version-join.
20491 (package-strip-rcs-id): Accept any version string that does not
20492 signal an error in version-to-list.
ffbf300e 20493
f346fd6b
MA
204942011-03-10 Michael Albinus <michael.albinus@gmx.de>
20495
20496 * simple.el (delete-trailing-whitespace): Return nil for the
20497 benefit of `write-file-functions'.
20498
ccb55d27
GM
204992011-03-10 Glenn Morris <rgm@gnu.org>
20500
5ceaac0c
GM
20501 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20502
02da65ff
GM
20503 * vc/vc-git.el (vc-git-program): New option.
20504 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20505 (vc-git--call): Use it.
20506
b2f603cc
GM
20507 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20508
5772caab
GM
20509 * cus-edit.el (Custom-newline): If no button at point, look
20510 for a subgroup button at start-of-line. (Bug#2298)
20511
ccb55d27
GM
20512 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20513
ec6ecaed
JD
205142011-03-10 Julien Danjou <julien@danjou.info>
20515
20516 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20517 `cursor-type' is nil.
20518
9d5aa01d
JB
205192011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20520
20521 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20522
b6a5875b
KM
205232011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20524
7a71b18d 20525 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
20526 preserves the existing header prefix, rebulleting it if necessary,
20527 rather than replacing it. This is necessary for proper operation
20528 of cooperative addons like allout-widgets.
1154d12e
JB
20529 (allout-make-topic-prefix, allout-rebullet-heading):
20530 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20531 value as alternate bullet to be used, instead of prompting the user
20532 for a bullet character.
b6a5875b 20533
ee545c35
MA
205342011-03-09 Michael Albinus <michael.albinus@gmx.de>
20535
d86d2721
SM
20536 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20537 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
20538 `tramp-default-port'.
20539
c47971d7
DD
205402011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20541
20542 * net/rcirc.el (rcirc-handler-001): Remove useless
20543 with-rcirc-process-buffer.
20544 (rcirc-check-auth-status): Swap arguments to string-match.
20545
13522cb4
GM
205462011-03-09 Glenn Morris <rgm@gnu.org>
20547
0be6f4f1
GM
20548 * shell.el (shell-mode):
20549 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20550
13522cb4
GM
20551 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20552 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20553
515de2e3
CY
205542011-03-08 Chong Yidong <cyd@stupidchicken.com>
20555
20556 * emacs-lisp/package.el (package-refresh-contents)
20557 (package-menu-execute): Use condition-case-no-debug.
20558
b511b994
MA
205592011-03-08 Michael Albinus <michael.albinus@gmx.de>
20560
20561 * simple.el (shell-command-to-string): Use `process-file'.
20562
20563 * emacs-lisp/package.el (package-tar-file-info): Handle also
20564 remote files.
20565
d86d2721
SM
20566 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20567 Use `equal' for upload base check.
b511b994 20568
25bbfb31
AM
205692011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20570
20571 * textmodes/texinfo.el (texinfo-environments):
20572 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20573
be996521
GM
205742011-03-08 Glenn Morris <rgm@gnu.org>
20575
e9c8529f
GM
20576 * cus-start.el (cursor-in-non-selected-windows):
20577 Fix :set quoting oddness. (Bug#8192)
20578
be996521
GM
20579 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20580 in some setf expressions. (Bug#2159)
20581
2bb5649e
CY
205822011-03-08 Chong Yidong <cyd@stupidchicken.com>
20583
20584 * custom.el (custom-available-themes): Return themes in
20585 alphabetical order.
20586
33383987 20587See ChangeLog.15 for earlier changes.
e3d51b27
MR
20588
20589;; Local Variables:
20590;; coding: utf-8
e3d51b27
MR
20591;; End:
20592
acaf905b 20593 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
20594
20595 This file is part of GNU Emacs.
20596
20597 GNU Emacs is free software: you can redistribute it and/or modify
20598 it under the terms of the GNU General Public License as published by
20599 the Free Software Foundation, either version 3 of the License, or
20600 (at your option) any later version.
20601
20602 GNU Emacs is distributed in the hope that it will be useful,
20603 but WITHOUT ANY WARRANTY; without even the implied warranty of
20604 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20605 GNU General Public License for more details.
20606
20607 You should have received a copy of the GNU General Public License
20608 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.