* Makefile.in (uninstall): No INSTALLABLES live in archlibdir.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
3f2a848d
DE
12012-10-25 David Engster <deng@randomsample.de>
2
3 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
4 Removed. This feature is already integrated in imenu.
5
6 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
7 always loaded. Require `speedbar' unconditionally.
8
a7723be6
SM
92012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
10
aaabfc8b
SM
11 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
12
414a8595
SM
13 * minibuffer.el (minibuffer-force-complete): Fix thinko.
14
fb5b9475
SM
15 * net/ldap.el (ldap-search-internal): The official ldif format starts
16 with a "version: 1" header (bug#12724).
17
a7723be6
SM
18 * emacs-lisp/package.el (package-installed-p): Warn if not ready
19 (bug#12721).
20
a05cb6e3
GM
212012-10-25 Glenn Morris <rgm@gnu.org>
22
23 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
24
3c92de70
SM
252012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
26
27 * minibuffer.el (minibuffer-force-complete): Use one more marker
28 for the temporary-overlay-map command (bug#12619).
29
a4b6d7c6
CY
302012-10-24 Chong Yidong <cyd@gnu.org>
31
32 * time.el (display-time-world-mode): Derive from special-mode.
33 (display-time-world): Use display-buffer (Bug#12708).
34 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
35 (display-time-world-display): Wrap the final delete-char inside
36 inhibit-read-only.
a4b6d7c6 37
75e8f9d2
CY
382012-10-24 Chong Yidong <cyd@gnu.org>
39
cd996018
CY
40 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
41 Doc fix.
42
75e8f9d2
CY
43 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
44
d92df117
SM
452012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
46
47 * minibuffer.el (completion--all-sorted-completions-location): New var.
48 (completion--cache-all-sorted-completions)
49 (completion--flush-all-sorted-completions): Use it.
50 (completion-in-region, completion-in-region--postch)
51 (completion-at-point, completion-help-at-point): Use markers in
52 completion-in-region--data (bug#12619).
53
9c3e39f3
SM
542012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
55
c79825bd
SM
56 * progmodes/compile.el (compilation-start): Try to handle common
57 quoting of `cd' argument (bug#12640).
58
9c3e39f3
SM
59 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
60 (bug#12671).
61
a6709bc7
GM
622012-10-23 Glenn Morris <rgm@gnu.org>
63
64 * progmodes/gud.el (gud-menu-map):
65 Check gdb-active-process is bound. (Bug#12358)
66
d1069532
SM
672012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
68
d20d69c0
SM
69 * repeat.el (repeat): Set real-this-command (bug#12232).
70
d1069532
SM
71 * htmlfontify.el (hfy-post-html-hook):
72 * filesets.el (filesets-cache-fill-content-hook):
73 * arc-mode.el (archive-extract-hook):
74 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
75 * net/rcirc.el (rcirc-sentinel-functions)
76 (rcirc-receive-message-functions, rcirc-activity-functions)
77 (rcirc-print-functions):
78 * net/dbus.el (dbus-event-error-functions):
79 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
80 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
81 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
82 * term/sun.el (sun-raw-prefix-hooks):
83 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
84
f7eac6d8
MA
852012-10-23 Michael Albinus <michael.albinus@gmx.de>
86
d1069532
SM
87 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
88 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
89 (tramp-smb-wait-for-output): Add timeout to
90 `tramp-accept-process-output' calls.
91
608d9d7c
CY
922012-10-23 Chong Yidong <cyd@gnu.org>
93
49238e7f
CY
94 * faces.el (font-list-limit): Define as an obsolete variable.
95
96 * startup.el (command-line):
97 * cus-start.el: Don't refer to font-list-limit.
98
608d9d7c
CY
99 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
100
4ff5b1b2
SM
1012012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
102
103 * subr.el (internal-temp-output-buffer-show): Rename from
104 temp-output-buffer-show, since previously compiled files expect this name.
105
ea1d4aac
GM
1062012-10-23 Glenn Morris <rgm@gnu.org>
107
108 * image.el (image-type-from-file-name): If multiple types match,
109 return the first one that is supported. (Bug#9045)
110
eda82a31
GM
1112012-10-22 Glenn Morris <rgm@gnu.org>
112
113 * image.el (imagemagick-enabled-types): Doc fix.
114
4f020bec
TA
1152012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
116
117 * progmodes/which-func.el (which-func-current): The hash-table may have
118 an explicit nil (bug#12338).
119
c77d37e2
SM
1202012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
121
122 * electric.el (electric-pair-delete-selection-self-insert-function):
123 Rename to electric-pair-will-use-region, return a boolean.
124 (electric-pair-mode): Adjust accordingly. Don't require delsel.
125
126 * delsel.el (delete-selection-helper): Use a function instead of a hook.
127 (delete-selection-pre-hook): Use use-region-p.
128 (delete-selection-self-insert-function): Remove.
129 (self-insert-command): Obey self-insert-uses-region-functions.
130 (self-insert-iso): Revert to previous setting, since we don't actually
131 know what that command does.
132 (delete-selection-self-insert-hooks): Remove.
133
b1d39ccc
SL
1342012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
135
136 * delsel.el (delete-selection-helper): New function, extracted from
137 delete-selection-pre-hook.
138 (delete-selection-pre-hook): Use it.
139 (delete-selection-self-insert-function): New function.
140 (delete-selection-self-insert-hooks): New hook.
141 (self-insert-command, self-insert-iso): Use it.
142 * electric.el (electric-pair-syntax): New function, extracted from
143 electric-pair-post-self-insert-function.
144 (electric-pair-post-self-insert-function): Use it.
145 (electric-pair-delete-selection-self-insert-function): New function.
146 (electric-pair-mode): Require delsel and setup
147 delete-selection-self-insert-hooks (bug#11520).
148
045ef729
CY
1492012-10-20 Chong Yidong <cyd@gnu.org>
150
4c5d08a8
CY
151 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
152 no changes to show (Bug#12586).
153
045ef729
CY
154 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
155 list explicitly (Bug#12571).
156
3503c798 1572012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 158
b1d39ccc
SL
159 * progmodes/flymake.el (flymake-create-temp-inplace):
160 Use file-truename.
79e1997a 161
2068905b
EZ
1622012-10-20 Eli Zaretskii <eliz@gnu.org>
163
164 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
165
4c9e9550
JB
1662012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
167
168 * calc/calc-units.el (math-extract-units): Properly extract powers
169 of units.
170
1a6e7e38
DC
1712012-10-20 Daniel Colascione <dancol@dancol.org>
172
173 * frame.el (make-frame): Set x-display-name as we used to in order
174 to unbreak creating an X11 frame from an Emacs daemon started
175 without a display.
176
8e808318
SM
1772012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
178
179 * minibuffer.el (minibuffer-force-complete): Make the next completion use
180 the same completion-field (bug@12221).
181
fb0104da
MR
1822012-10-19 Martin Rudalics <rudalics@gmx.at>
183
184 * emacs-lisp/debug.el (debug): Record height of debugger window
185 also when debugger will be back (Bug#8789).
186
8c27235e
CY
1872012-10-18 Chong Yidong <cyd@gnu.org>
188
189 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
190 Convert to defcustom.
191 (gdb-get-source-file): Don't bind pop-up-windows.
192
193 * progmodes/gud.el (gud-display-line): Don't specially re-use
194 other frames for the gdb-mi case (Bug#12648).
195
90eacf99
SM
1962012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
197
aaf0c300
SM
198 * emacs-lisp/advice.el: Clean up commentary a bit.
199 (ad-do-advised-functions, ad-with-originals): Use `declare'.
200 (byte-code-function-p): Never redefine.
201
90eacf99
SM
202 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
203
281c9d2b
GM
2042012-10-18 Glenn Morris <rgm@gnu.org>
205
40714e3d
GM
206 * dired.el (dired-sort-toggle): Some ls implementations only allow
207 a single option string. (Bug#12666)
208
281c9d2b
GM
209 * minibuffer.el (completion-cycle-threshold): Doc fix.
210
b278604e
KH
2112012-10-17 Kenichi Handa <handa@gnu.org>
212
90eacf99
SM
213 * international/mule.el (set-keyboard-coding-system):
214 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
215 Supply TERMINAL arg to set-input-meta-mode.
216
7ebc5f5a
MH
2172012-10-17 Michael Heerdegen <michael_heerdegen@web.de> (tiny change)
218
219 * wdired.el (wdired-old-marks): New variable.
220 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
221 (wdired-do-renames): Move point with renamed file and don't lose
222 mark status (Bug#11795).
223
e5a94ec4
JL
2242012-10-16 Juri Linkov <juri@jurta.org>
225
226 * replace.el (query-replace-help): Mention multi-buffer replacement
227 keys in the Help message. (Bug#12655)
228
d18a0d24
CY
2292012-10-15 Chong Yidong <cyd@gnu.org>
230
231 * emacs-lisp/byte-run.el (defsubst): Doc fix.
232
8111f5e6
EZ
2332012-10-14 Eli Zaretskii <eliz@gnu.org>
234
7b9abf24
EZ
235 * window.el (display-buffer): Doc fix.
236
8111f5e6
EZ
237 * progmodes/compile.el (compilation-error-regexp-alist-alist):
238 Adjust the msft regexp to the output of Studio 2010, and move msft
239 before edg-1. See the discussion on emacs-devel,
240 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
241 for the details.
242
5046ef67
SM
2432012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
244
9760c73c
SM
245 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
246 (oset): Move uses of object-class-fast macro after its definition.
247
5046ef67
SM
248 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
249
0d11ff1c
CY
2502012-10-13 Chong Yidong <cyd@gnu.org>
251
252 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
253 enabled, re-enable it (Bug#11963).
254
88ded8ac
MR
2552012-10-13 Martin Rudalics <rudalics@gmx.at>
256
257 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
258 non-nil, restore window configuration (Bug#12623).
259
bd0ffffd
SM
2602012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
261
06485aa8
SM
262 * help-fns.el (describe-variable, describe-function-1):
263 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
264
bd0ffffd
SM
265 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
266
3a989246
GM
2672012-10-12 Glenn Morris <rgm@gnu.org>
268
269 * mail/rmailsum.el (rmail-header-summary):
270 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
271
55cd00c8
FEG
2722012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
273
bd0ffffd
SM
274 * progmodes/python.el (python-mode-map):
275 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
276 (python-nav--up-list): Fix behavior for blocks on the same level.
277
ac9fc2c7
SM
2782012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
279
d8cc4c00 280 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 281
5253a5fd
SM
282 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
283 changes to the format of load-history.
284
ac9fc2c7
SM
285 * international/mule-cmds.el (read-char-by-name): Move let-binding of
286 completion-ignore-case in case that var is buffer-local (bug#12615).
287
cde44a77
KH
2882012-10-11 Kenichi Handa <handa@gnu.org>
289
290 * international/eucjp-ms.el: Re-generated.
291
4ef4a10d
KH
2922012-10-10 Kenichi Handa <handa@gnu.org>
293
294 * select.el (xselect--encode-string): If a coding is specified for
295 selection, and that is compatible with COMPOUND_TEXT, use it.
296
9d7f027b
MR
2972012-10-10 Martin Rudalics <rudalics@gmx.at>
298
299 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
300 (switch-to-buffer):
301 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 302
238f3a58
SM
3032012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
304
305 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
306 Don't document nil as a useful value (bug#12583).
307
1d51f99c
MA
3082012-10-09 Michael Albinus <michael.albinus@gmx.de>
309
238f3a58
SM
310 * net/tramp.el (tramp-debug-message):
311 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
312 (with-tramp-progress-reporter): Rename from
313 `tramp-with-progress-reporter'.
238f3a58
SM
314 (with-tramp-file-property, with-tramp-connection-property):
315 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
316 `with-connection-property', respectively.
317
318 * net/tramp-cache.el: Remove `with-file-property' and
319 `with-connection-property'.
320
321 * net/tramp.el:
322 * net/tramp-gvfs.el:
323 * net/tramp-sh.el:
324 * net/tramp-smb.el: Adapt callees.
325
326 * net/trampver.el: Update release number.
327
26b77251
GM
3282012-10-09 Glenn Morris <rgm@gnu.org>
329
9a5f296f
GM
330 * w32-fns.el (set-message-beep):
331 * term/w32-win.el (set-message-beep): Update declarations.
332
94c66ce5
SM
3332012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
334
10766e9e
SM
335 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
336 (mode-line-widen, mode-line-input-method-map)
337 (mode-line-coding-system-map, mode-line-remote)
338 (mode-line-unbury-buffer, mode-line-bury-buffer)
339 (mode-line-next-buffer, mode-line-previous-buffer):
340 Replace save-selected-window+select-window => with-selected-window.
341
f754db08
SM
342 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
343 * progmodes/cc-vars.el (bq-process): Remove, unused.
344
94c66ce5
SM
345 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
346
a4ff7fe1
FEG
3472012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
348
349 Implemented `backward-up-list'-like navigation.
350 * progmodes/python.el (python-nav-up-list)
351 (python-nav-backward-up-list): New functions.
352 (python-mode-map): Define substitute key for backward-up-list to
353 python-nav-backward-up-list.
354
24517d82
FEG
3552012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
356
357 * progmodes/python.el (python-fill-paragraph): Rename from
358 python-fill-paragraph-function. Fixed fill-paragraph for
359 decorators (Bug#12605).
360
51867ae2
FEG
3612012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
362
363 * progmodes/python.el (python-shell-output-filter): Handle extra
364 carriage return in OSX (Bug#12409).
365
a5b773c4
FEG
3662012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
367
368 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 369 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
370 (python-syntax-propertize-function): Use it.
371 (python-shell-output-syntax-table): New var.
372 (inferior-python-mode): Prevent unbalanced parens/quotes from
373 previous output mess with current input context.
374
13373538
JB
3752012-10-08 Juanma Barranquero <lekktu@gmail.com>
376
377 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
378 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
379
775a132d
MA
3802012-10-08 Michael Albinus <michael.albinus@gmx.de>
381
382 * ffap.el (ffap-replace-file-component): Support Tramp file name
383 syntax, not only ange-ftp's one.
384
3ab44929
GM
3852012-10-08 Glenn Morris <rgm@gnu.org>
386
57f1dee4
GM
387 * cus-start.el (message-log-max): Set :version.
388
3ab44929
GM
389 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
390
6a088630
MR
3912012-10-08 Martin Rudalics <rudalics@gmx.at>
392
393 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
394 the minibuffer window (Bug#10851).
395
8dbce54c
FEG
3962012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
397
398 Enhancements on forward-sexp movement.
399 * progmodes/python.el (python-nav-beginning-of-statement)
400 (python-nav-end-of-statement): Return point-marker.
401 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
402 (python-info-current-symbol)
403 (python-info-statement-starts-block-p): Rename from
404 python-info-beginning-of-block-p.
405 (python-info-statement-ends-block-p): Rename from
406 python-info-end-of-block-p.
407 (python-info-beginning-of-statement-p)
408 (python-info-end-of-statement-p)
409 (python-info-beginning-of-block-p, python-info-end-of-block-p):
410 New functions.
411
5acd2b3e
SM
4122012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
413
414 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
415 frame-selected-windows.
416
e08348a0
DC
4172012-10-08 Daniel Colascione <dancol@dancol.org>
418
419 * battery.el (battery-status-function): Check for
420 w32-battery-status itself, not system-time windows-nt.
421
422 * frame.el: Require cl-lib.
423 (display-format-alist): New variable mapping frame types to
424 functions that initialize them.
425 (window-system-for-display): New function: interprets
426 display-format-alist.
427 (make-frame-on-display): Remove existing display-selection logic
428 and just forward to make-frame, which will now DTRT.
429 (make-frame): Restructure to use window-system-for-display to
430 figure out how to create a frame on a given display.
431 (display-mouse-p): Look for frame-type w32, not a particular
432 system-type.
433
434 * loadup.el: Load w32 lisp code when we have the w32 feature.
435
436 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
437 system-type windows-nt.
438
439 * server.el (server-create-window-system-frame): Look for window
440 type.
441 (server-proces-filter): Only force a window system when windows-nt
442 _and_ w32. Explain why.
443
444 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
445 of window systems we configure for the mode.
446
447 * startup.el (command-line): Mark window system is initialized
448 after we've done it.
449
450 * common-win.el (x-select-text): Look for w32, not windows-nt.
451
452 * ns-win.el: Require cl-lib. Add ourselves to
453 display-format-alist.
454 (ns-initialize-window-system): Assert we're not initialized twice.
455
456 * w32-win.el: Enable lexical binding; require cl-lib; add
457 ourselves to display-format-alist.
458 (w32-handle-dropped-file): Convert incoming dropped files from
459 Windows paths to Cygwin ones before passing them on to the rest of
460 Emacs.
461 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
462 (w32-initialize-window-system): Assert we're not initialized twice.
463
464 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
465 (x-initialize-window-system): Assert we're not initialized twice.
466
467 * w32-common-fns.el: New File.
468 (w32-version, w32-using-nt, w32-get-clipboard-data)
469 (w32-set-clipboard-data, x-set-selection, x-get-selection)
470 (w32-charset-info-alist, x-last-selected, text)
471 (x-get-selection-value, x-selection-value): Move here.
472
473 * w32-fns.el: Require w32-common-fns.
474 (w32-version, w32-using-nt, w32-get-clipboard-data)
475 (w32-set-clipboard-data, x-set-selection, x-get-selection)
476 (w32-charset-info-alist, x-last-selected, text)
477 (x-get-selection-value, x-selection-value): Move to
478 w32-common-fns.
479
480 * w32-vars.el:
481 (w32-allow-system-shell, w32-system-shells): Define only in
482 non-cygwin case.
483
795b1482
SM
4842012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
485
486 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
487 (read-passwd): Remove a few more potential sources of leaks.
488
f27c99dc
FEG
4892012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
490
491 * progmodes/python.el (inferior-python-mode)
795b1482 492 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
493 variables copied from parent buffer.
494
fcacb558
JD
4952012-10-07 Jan Djärv <jan.h.d@swipnet.se>
496
497 * term/ns-win.el (ns-read-file-name): Update declaration to match
498 nsfns.m.
499 (ns-respond-to-change-font): Change fontsize separatly so we are sure
500 it is set when font is acted upon.
501
be0d5bae
FEG
5022012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
503
504 Enhancements to indentation.
505 * progmodes/python.el (python-indent-context): Give priority to
506 inside-string context. Make comments indentation markers.
507 (python-indent-region): Do not mess with strings, unless it's the
508 enclosing set of quotes.
509
13af0d10
SM
5102012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
511
662a9d0e
SM
512 * window.el (internal--before-save-selected-window)
513 (internal--after-save-selected-window): New functions extracted from
514 save-selected-window. Make sure we return the `alist' we construct.
515 (save-selected-window): Use them.
516
517 * textmodes/tex-mode.el (tex-recenter-output-buffer):
518 Use with-selected-window.
519
13af0d10
SM
520 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
521 forms that define macros (bug#12593).
522
6aa75fb6
KH
5232012-10-07 Kenichi Handa <handa@gnu.org>
524
13af0d10
SM
525 * international/mule-conf.el (compound-text-with-extensions):
526 Add :mime-charset property as x-ctext.
6aa75fb6 527
78d876b9
SM
5282012-10-07 Stefan Merten <smerten@oekonux.de>
529
530 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
531 (rst-indent-literal-normal, rst-indent-literal-minimized)
532 (rst-indent-comment): Correct :version tag.
557337e9 533 (rst-official-cvs-rev): Correct version string.
78d876b9 534
99a1e701
GM
5352012-10-07 Glenn Morris <rgm@gnu.org>
536
537 * mail/rmailmm.el (rmail-mime-process-multipart):
538 Do not confuse a multipart message with an epilogue
539 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
540
08f18c3d
FEG
5412012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
542
543 Fix shell output retrieval and comint-prompt-regexp init.
544 * progmodes/python.el (inferior-python-mode):
545 (python-shell-make-comint): Fix initialization of
546 comint-prompt-regexp from copied file local variables.
547 (python-shell-fetched-lines): Remove var.
548 (python-shell-output-filter-in-progress): Rename from
549 python-shell-fetch-lines-in-progress.
550 (python-shell-output-filter-buffer): Rename from
551 python-shell-fetch-lines-string.
552 (python-shell-fetch-lines-filter): Delete function.
553 (python-shell-output-filter): New function.
554 (python-shell-send-string-no-output): Use them.
555
82ed3ab4
GM
5562012-10-07 Glenn Morris <rgm@gnu.org>
557
1595ecfa
GM
558 * hi-lock.el (hi-lock-process-phrase):
559 Try to make it less fragile. (Bug#7161)
560
82ed3ab4
GM
561 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
562
f1f4dba0
GM
5632012-10-06 Glenn Morris <rgm@gnu.org>
564
addc11ed 565 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
566 non-existent mode `help'.
567 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 568
460042b8
GM
569 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
570 (reftex-create-bibtex-footer): Fix custom types.
571
67667c70
GM
572 * progmodes/sh-script.el (sh-indent-after-continuation):
573 Add explicit :group.
574
18dec750
GM
575 * textmodes/rst.el (rst-preferred-decorations)
576 (rst-shift-basic-offset): Clarify obsolescence versions.
577
d1a1c7e6
GM
578 * profiler.el (profiler): Add missing group :version tag.
579 * avoid.el (mouse-avoidance-banish-position):
580 * proced.el (proced-renice-command):
581 * calc/calc.el (calc-ensure-consistent-units):
582 * calendar/icalendar.el (icalendar-import-format-uid):
583 * net/tramp.el (tramp-save-ad-hoc-proxies):
584 * progmodes/bug-reference.el (bug-reference-bug-regexp):
585 * progmodes/flymake.el (flymake-error-bitmap)
586 (flymake-warning-bitmap, flymake-fringe-indicator-position):
587 * progmodes/sh-script.el (sh-indent-after-continuation):
588 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
589 (verilog-before-save-font-hook, verilog-after-save-font-hook):
590 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
591 (vhdl-array-index-record-field-in-sensitivity-list)
592 (vhdl-indent-comment-like-next-code-line):
593 * textmodes/reftex-vars.el (reftex-ref-style-alist)
594 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
595 (reftex-cite-key-separator, reftex-create-bibtex-header)
596 (reftex-create-bibtex-footer):
597 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
598 (rst-indent-literal-normal, rst-indent-literal-minimized)
599 (rst-indent-comment): Add missing custom :version tags.
600
ef35abb4
GM
601 * calendar/timeclock.el (timeclock-modeline-display):
602 Add missing obsolete alias for renamed user option.
603
d1aae614
GM
604 * strokes.el (strokes-modeline-string):
605 * emulation/crisp.el (crisp-mode-modeline-string):
606 * eshell/esh-mode.el (eshell-status-in-modeline):
607 Aliases to defcustoms must come before the defcustom.
608
f1f4dba0
GM
609 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
610 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
611 (cal-tex-cursor-week-monday): Doc fixes.
612 (cal-tex-cursor-week2-summary): Doc fix.
613 Rename from cal-tex-cursor-week-at-a-glance.
614
615 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
616 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
617
618 * calendar/calendar.el (calendar-mode-map):
619 Add cal-tex-cursor-week2-summary.
620
d39109c3
SM
6212012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
622
685f87b0
SM
623 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
624
d39109c3
SM
625 * subr.el (read-passwd-map): New var.
626 (read-passwd): Use `read-string' again.
627 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
628
5694896d
J
6292012-10-06 Jambunathan K <kjambunathan@gmail.com>
630
631 * register.el (append-to-register, prepend-to-register):
632 Deactivate mark, as does `copy-to-register' (bug#12389).
633
9414dd8d
CY
6342012-10-06 Chong Yidong <cyd@gnu.org>
635
636 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
637
2b89bca4
KH
6382012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
639
640 * international/characters.el: Fix simple mistake ((car chars) ->
641 elt), delete duplicated code.
642
d5acb99a
GM
6432012-10-06 Glenn Morris <rgm@gnu.org>
644
645 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
646
123ec157
JS
6472012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
648
649 * color.el (color-hsl-to-rgb): Fix incorrect results for
650 small and large hue values. (Bug#12559)
651
7fa36ccb
FEG
6522012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
653
654 Enhancements to docstring formatting when filling paragraphs.
655 * progmodes/python.el (python-fill-docstring-style): Rename from
656 python-fill-string-style. Added new style.
657 (python-fill-string): Use new style. Better checks for
658 docstrings.
659
d8788e1e
GM
6602012-10-05 Glenn Morris <rgm@gnu.org>
661
204f3953
GM
662 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
663
d8788e1e
GM
664 * color.el (color-name-to-rgb, color-rgb-to-hex)
665 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
666 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
667 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
668 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
669
8d956cef
GM
670 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
671
e8757f09 6722012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
673
674 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
675 to get the correct size across symlinks.
676
e8757f09
GM
677 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
678
0e2ae83d
JL
6792012-10-04 Juri Linkov <juri@jurta.org>
680
681 * replace.el (query-replace-interactive): Declare obsolete.
682 (query-replace-read-from): Add the last incremental search string
683 to the list of default values accessible via M-n.
684 (map-query-replace-regexp): Use `read-regexp'.
685 (query-replace, query-replace-regexp, query-replace-regexp-eval)
686 (map-query-replace-regexp, replace-string, replace-regexp):
687 Fix docstrings to replace mentions of `query-replace-interactive'
688 with alternatives. (Bug#12526)
689
93cacb6d
JL
6902012-10-04 Juri Linkov <juri@jurta.org>
691
692 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
693 (dired-pop-to-buffer): Declare obsolete.
694 (dired-mark-pop-up): Doc fix.
695
fc345011
FEG
6962012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
697
698 Allow user to set docstring style for fill-paragraph.
699 * progmodes/python.el
700 (python-fill-comment-function, python-fill-string-function)
701 (python-fill-decorator-function, python-fill-paren-function):
702 Remove :safe for defcustoms.
703 (python-fill-string-style): New defcustom
5694896d 704 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
705 (python-fill-string): Honor python-fill-string-style settings.
706
6bab5d8b
MR
7072012-10-04 Martin Rudalics <rudalics@gmx.at>
708
709 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
710 after setting its buffer (Bug#10805).
711
a1a9f411
FEG
7122012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
713
714 Fix cornercase for string syntax.
715 * progmodes/python.el (python-syntax-propertize-function):
716 Simplify and enhance the regexp for unescaped quotes. Now it also
717 matches quotes in weird situations like the single quote in
718 "something\"'".
719 (python-syntax-stringify): Simplify num-quotes detecting code.
720
05e153a6
GM
7212012-10-03 Glenn Morris <rgm@gnu.org>
722
723 * help-macro.el (three-step-help):
724 Revert 2012-09-29 change. (Bug#12567)
725
2e566ecb
MR
7262012-10-03 Martin Rudalics <rudalics@gmx.at>
727
96ef9ccd
MR
728 * menu-bar.el (kill-this-buffer): Don't do anything when
729 `menu-frame' is not alive or visible (Bug#8184).
730
2e566ecb
MR
731 * emacs-lisp/debug.el (debug): When quitting the debugger window
732 restore current buffer (Bug#12502).
733
a96e1cb7
CY
7342012-10-02 Chong Yidong <cyd@gnu.org>
735
5694896d
J
736 * progmodes/hideif.el (hif-lookup, hif-defined):
737 Handle semantic-c-takeover-hideif.
a96e1cb7 738
b3ecad33
PE
7392012-10-02 Paul Eggert <eggert@cs.ucla.edu>
740
741 Change sampling interval units from ms to ns.
742 * profiler.el (profiler-sampling-interval): Change units
743 from ms to ns, multiplying the default by 1000000 so that
744 it remains 1 ms.
745 (profiler-report-cpu-line-format): Give enough room for
746 the maximum counters on 64-bit hosts.
747 (profiler-report-render-calltree-1): Call them "CPU samples",
748 not "Time (ms)", since they are not milliseconds now (and
749 never really were).
750
8cb51b66 7512012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 752
5694896d
J
753 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
754 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 755
fd795bf4
CY
7562012-10-02 Chong Yidong <cyd@gnu.org>
757
758 * emacs-lisp/eieio.el: Restore Version header.
759
fe0a74f9
SM
7602012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
761
6be9197e
SM
762 * vc/diff-mode.el (diff--auto-refine-data): New var.
763 (diff-hunk): Use it to delay refinement.
764 (diff-mode): Remove overlays when we turn off font-lock.
765
18486139
SM
766 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
767 (table-initialize-table-fixed-width-mode)
768 (table-set-table-fixed-width-mode): Remove functions.
769 (table-command-list): Move initialization into declaration.
770 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
771 (table-with-cache-buffer): Use `declare'.
772 (table-span-cell): Simplify via CSE.
773 (table-fixed-width-mode): Use define-minor-mode.
774 (table-call-interactively, table-funcall, table-apply): Remove.
775 (table-function): New function, to replace them.
776
d83ef976
SM
777 * bookmark.el (bookmark-search-pattern): Remove var.
778 (bookmark-read-search-input): Remove function.
779 (bookmark-bmenu-search): Reimplement using a minibuffer.
780
cd386662
SM
781 * faces.el (modeline): Remove obsolete face name.
782
fe0a74f9
SM
783 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
784 and give a non-nil default value.
785 (add-change-log-entry): Simplify accordingly.
786
9f7b98f8
DG
7872012-10-01 Dmitry Gutov <dgutov@yandex.ru>
788
789 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
790 (vc-git-log-edit-toggle-amend): New function.
791 (vc-git-log-edit-toggle-signoff): New function.
792 (vc-git-log-edit-mode): New major mode.
793 (vc-git-log-edit-mode-map): Keymap for it.
794 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
795
796 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
797 header names.
798 (log-edit-toggle-header): New function.
799 (log-edit-extract-headers): Accept function values in HEADERS alist.
800
62a81506
CY
8012012-10-01 David Engster <deng@randomsample.de>
802
803 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
804 from symbol property and change message to be more consistent with
805 Emacs proper.
806 (eieio-describe-generic): Add filename for each implementation.
807 Fix indices for generic and normal methods.
808 (eieio-method-def, eieio-class-def): New buttons.
809 (eieio-help-find-method-definition)
810 (eieio-help-find-class-definition): New functions.
811 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
812 class, constructor and method definitions.
813
814 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
815 information in symbol property.
816 (scoped-class): Remove.
817 (eieio-slot-name-index, call-next-method): Check if it is bound.
818
8192012-10-01 Leo P. White <lpw25@cam.ac.uk>
820
821 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
822 (eieio-custom-mode): New major mode.
823 (eieio-customize-object): Use it.
824
8252012-10-01 Eric Ludlam <zappo@gnu.org>
826
827 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
828 specifying the expected class, and whether subclassing is allowed.
829 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
830 (eieio-persistent-validate/fix-slot-value)
831 (eieio-persistent-slot-type-is-class-p): New functions.
832 (eieio-named::slot-missing): Doc fix.
62a81506
CY
833
834 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
835 Stop using unused publd variable.
836
837 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
838 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
839 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
840 (eieio-speedbar-handle-click): Do not specify a class for the
841 method. Fixes method invocation order problems with EDE.
842
375e49d4
SM
8432012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
844
845 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
846 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
847
16ce6ccd
KF
8482012-10-01 Karl Fogel <kfogel@red-bean.com>
849
850 * bookmark.el (bookmark-version-control): Give tags in the
851 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
852 (bookmark-write-file): Bind `print-circle' to `t' to allow
853 circular custom bookmark types. (Bug#12503)
16ce6ccd 854
19e54a4d
PE
8552012-10-01 Paul Eggert <eggert@cs.ucla.edu>
856
86ec63ba
PE
857 Revert the FOLLOW-SYMLINKS change for file-attributes.
858 * files.el (remote-file-name-inhibit-cache, after-find-file):
859 * time.el (display-time-file-nonempty-p): Undo last change.
860
19e54a4d
PE
861 * profiler.el (profiler-sampling-interval): Change default back to 1.
862 See Stefan Monnier in
863 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
864
0478776b
FEG
8652012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
866
867 Shell output catching a la gud-gdb.
868 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
869 (python-shell-fetch-lines-string, python-shell-fetched-lines):
870 New Vars.
0478776b
FEG
871 (python-shell-fetch-lines-filter): New function.
872 (python-shell-send-string-no-output): Use them.
873
c22bac2c
TM
8742012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
875
876 * profiler.el (profiler-sampling-interval): Rename from
877 profiler-sample-interval.
878 (profiler-sampling-interval): Default to 10.
879 (profiler-find-profile): New command (was profiler-find-log).
880 (profiler-find-profile-other-window): New command.
881 (profiler-find-profile-other-frame): New command.
882 (profiler-profile): Introduce API-level data structure.
883
e7a2937b
PE
8842012-09-30 Paul Eggert <eggert@cs.ucla.edu>
885
886 file-attributes has a new optional arg FOLLOW-SYMLINKS.
887 * files.el (remote-file-name-inhibit-cache):
888 * time.el (display-time-file-nonempty-p): Use it.
889 * files.el (after-find-file): Don't chase links before calling
890 file-exists-p, as file-exists-p already does the right thing.
891
4f595e15
RA
8922012-09-30 Ralf Angeli <angeli@caeruleus.net>
893
894 Merge from standalone RefTeX repository.
895
896 The following ChangeLog entries are shortened versions of the
897 original ones with file paths adapted. A not so strongly edited
898 version of the original ChangeLog can be found in the commit log.
899
900 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
901 (reftex-arg-cite): Use `reftex-cite-key-separator'.
902 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
903
904 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
905 that entries with whitespace at various places are found.
906 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
907 Include @String definitions in the resulting bib file. Add header
908 and footer defined in `reftex-create-bibtex-header' and
909 `reftex-create-bibtex-footer'.
910 (reftex-do-citation): Make it possible again to insert
911 non-existent entries. Save match data when asking for optional
912 arguments. Return all keys, not just the first one.
913 (reftex-all-used-citation-keys): Fix regexp to correctly extract
914 all citations in the same line.
915 (reftex-parse-bibtex-entry): Accept additional optional argument
916 `raw' and keep quotes or braces if it is non-nil. Match fields
917 containing hyphens besides word constituents.
918 (reftex-get-string-refs): New function.
919 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
920 and ask if it should be reread in case it did.
921 (reftex-pop-to-bibtex-entry)
922 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
923 entries with spaces or tabs in front of arguments.
924 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
925 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
926 Match entries containing numbers and symbol constituents.
927 (reftex-do-citation, reftex-figure-out-cite-format):
928 Use `reftex-cite-key-separator'.
4f595e15
RA
929
930 * textmodes/reftex-dcr.el: Move provide statement to end of file.
931 (reftex-mouse-view-crossref): Explain why point is set.
932
933 * textmodes/reftex-global.el: Whitespace changes.
934
935 * textmodes/reftex-index.el: Move provide statement to end of
936 file.
937 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
938 (reftex-index-visit-phrases-buffer): Set marker when visiting
939 buffer. This allows for returning from the phrases file to the
940 file one was just editing instead of the file where the last
941 phrases was added from.
942 (reftex-index-phrases-syntax-table): New variable. Give ?\"
943 punctuation syntax as it usually is not used as string quote in
944 TeX-related modes and may occur unmatched. The change also
945 prevents fontification of quoted content.
946 (reftex-index-phrases-mode): Use it.
947
375e49d4
SM
948 * textmodes/reftex-parse.el (reftex-parse-from-file):
949 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
950 (reftex-parse-from-file): Use beginning of match instead of end as
951 bound.
952
953 * textmodes/reftex-ref.el: Adapt creation of
954 `reftex-<package>-<macro>' functions to new structure of
955 `reftex-ref-style-alist'.
375e49d4
SM
956 (reftex-reference): Use `reftex-ref-style-list' function.
957 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
958 reference macro if `reftex-ref-macro-prompt' is non-nil.
959 (reftex-reference): Pass refstyle to `reftex-format-special'.
960 Determine reference macro by looking at
375e49d4
SM
961 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
962 Use only one special format function.
4f595e15
RA
963 (reftex-varioref-vref, reftex-fancyref-fref)
964 (reftex-fancyref-Fref): Remove definitions. The functions are now
965 generated from `reftex-ref-style-alist'.
966 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
967 Remove.
968 (reftex-format-special): New function.
969
970 * textmodes/reftex-sel.el
971 (reftex-select-cycle-ref-style-internal): Adapt to new structure
972 of `reftex-ref-style-alist'. Remove code for testing macro type.
973 (reftex-select-toggle-varioref)
974 (reftex-select-toggle-fancyref): Remove.
975 (reftex-select-cycle-ref-style-internal)
976 (reftex-select-cycle-ref-style-forward)
977 (reftex-select-cycle-ref-style-backward): New functions.
978 (reftex-select-label-map): Use `v' and `V' for general cycling
979 through reference styles. Add `p' for switching between number
980 and page reference types.
981
375e49d4
SM
982 * textmodes/reftex-toc.el (reftex-re-enlarge):
983 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
984 the horizontal version throws an error even if the parameter is 0.
985
986 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
987 (reftex-plug-into-AUCTeX): Doc fix.
988 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
989 string. Adapt to new name.
990 (reftex-ref-style-alist): Change structure so that it is not
991 possible to use multiple different package names within a style.
375e49d4
SM
992 Remove the symbols for symbols for macro type distinction.
993 Add characters for macro selection.
4f595e15
RA
994 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
995 (reftex-create-bibtex-footer): New variables.
996 (reftex-format-ref-function): Mention third argument of special
997 format function.
375e49d4
SM
998 (reftex-ref-style-alist, reftex-ref-style-default-list):
999 New variables.
4f595e15
RA
1000 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1001 to new implementation. Mark as obsolete. Add compatibility code
1002 for honoring the variable values in case they are set.
375e49d4
SM
1003 (reftex-cite-format-builtin, reftex-bibliography-commands):
1004 Add support for ConTeXt.
1005 (reftex-format-ref-function, reftex-format-cite-function):
1006 Fix custom type.
4f595e15
RA
1007 (reftex-cite-key-separator): New variable.
1008
1009 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1010 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1011 `reftex-syntax-table' because parens have to retain their paren
1012 syntax in order for parsing of BibTeX entries like @book(...) to
1013 work.
1014 (reftex-in-comment): Do not error out if `comment-start-skip' is
1015 not set. Deal correctly with escaped comment characters.
375e49d4
SM
1016 (reftex-tie-multifile-symbols): Add doc string.
1017 Initialize `reftex-ref-style-list'.
4f595e15
RA
1018 (reftex-untie-multifile-symbols): Add doc string.
1019 (reftex-add-index-macros): Doc fix.
1020 (reftex-ref-style-activate, reftex-ref-style-toggle)
1021 (reftex-ref-style-list): New functions.
1022 (reftex-mode-menu): Use them. Adapt to new structure of
1023 `reftex-ref-style-alist'.
1024 (reftex-select-with-char): Kill the RefTeX Select buffer when
1025 done.
1026 (reftex-remove-if): New function.
1027 (reftex-erase-all-selection-and-index-buffers)
1028 (reftex-mode-menu): Reference styles are now computed from
1029 `reftex-ref-style-alist'. Fix typo.
1030 (reftex-report-bug): New function.
1031 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1032 algorithms with O(n log n). Introduce optional argument SORT (not
1033 yet used).
1034
440ba395
FEG
10352012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1036
1037 Enhancements for triple-quote string syntax.
375e49d4
SM
1038 * progmodes/python.el (python-syntax-propertize-function):
1039 Match both quote cases in one regexp.
440ba395
FEG
1040 (python-syntax-stringify): Handle matches properly.
1041
4c478e6b
JL
10422012-09-30 Juri Linkov <juri@jurta.org>
1043
1044 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 1045 to nil around the call to `insert' to prevent
4c478e6b
JL
1046 directory time modification by lock_file. (Bug#2295)
1047 * tar-mode.el (tar-summarize-buffer): Idem.
1048
d80d54b2
JL
10492012-09-30 Juri Linkov <juri@jurta.org>
1050
1051 * facemenu.el (list-colors-sort): Add option "Luminance".
1052 (list-colors-sort-key): Implement it.
1053
1054 * vc/diff-mode.el (diff-refine-removed):
1055 * vc/ediff-init.el (ediff-fine-diff-A):
1056 * vc/smerge-mode.el (smerge-refined-removed):
1057 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1058
d7e642cc
JD
10592012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1060
1061 * term/ns-win.el (x-file-dialog): New function.
1062
ee41332b
JB
10632012-09-30 Juanma Barranquero <lekktu@gmail.com>
1064
1065 * ido.el (ido-max-directory-size): Default to nil; the current
1066 default is small for POSIX systems, and impractical on Windows 7
1067 now that lstat returns directory sizes for NTFS.
1068
5938d519
MR
10692012-09-30 Martin Rudalics <rudalics@gmx.at>
1070
1071 In buffer display functions handle window-height/window-width
1072 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
1073 * window.el (window--display-buffer): New argument ALIST.
1074 Obey window-height and window-width alist entries.
1075 (window--try-to-split-window): New argument ALIST.
1076 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
1077 changed and window-combination-limit equals `window-size'.
1078 (display-buffer-in-atom-window)
1079 (display-buffer-in-major-side-window)
1080 (display-buffer-in-side-window, display-buffer-same-window)
1081 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1082 (display-buffer-pop-up-window, display-buffer-below-selected)
1083 (display-buffer-at-bottom, display-buffer-in-previous-window)
1084 (display-buffer-use-some-window): Adjust all callers of
1085 window--display-buffer and window--try-to-split-window.
1086 (fit-frame-to-buffer): New option.
1087 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1088 is non-nil.
1089 (display-buffer-in-major-side-window): Evaluate window-height /
1090 window-width alist entries.
1091
1092 * help.el (temp-buffer-resize-frames)
1093 (temp-buffer-resize-regexps): Remove options.
1094 (temp-buffer-resize-mode): Adjust doc-string.
1095 (resize-temp-buffer-window): Don't consult
1096 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1097 temp-buffer-resize-frames.
1098
375e49d4
SM
1099 * dired.el (dired-mark-pop-up):
1100 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
1101 entry.
1102
c4c0c2df
CY
11032012-09-30 Chong Yidong <cyd@gnu.org>
1104
48de8b12
CY
1105 * server.el (server-host): Document the security implications.
1106 (server-auth-key): Doc fix.
1107
1108 * startup.el (initial-buffer-choice): Doc fix.
1109
1110 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1111
a97dc380
CY
1112 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1113 restriction change.
1114
d39d3c8e
CY
1115 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1116
c4c0c2df
CY
1117 * help-fns.el (help-fns--obsolete): Fix last change.
1118
98a5e33b
SM
11192012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1120
34cf6f39
SM
1121 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1122 (minor-mode-map-alist): Remove redundant code.
1123
e01c13fe
SM
1124 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1125 visited in a buffer.
1126 (cvs-insert-visited-file): New function.
1127 (find-file-hook): Use it.
1128
1129 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1130
02661b3a
SM
1131 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1132 chose face.
1133 (log-edit-empty-buffer-p): Don't require a space after a header.
1134
43711d4b
SM
1135 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1136
38a30d64
SM
1137 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1138
4ffb41a9
SM
1139 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1140 a proper minor-mode.
1141
98a5e33b
SM
1142 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1143
de82e29b
GM
11442012-09-29 Glenn Morris <rgm@gnu.org>
1145
5cc2e639
GM
1146 * winner.el (winner-mode): Remove variable (let define-minor-mode
1147 handle it).
1148 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1149 Doc fixes.
1150 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1151 (winner-mode): Use define-minor-mode.
1152
7bd302eb
GM
1153 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1154 the full definition in loaddefs, rather than duplicating it.
1155
2923922f 1156 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 1157
0e3e4156
GM
1158 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1159 (inferior-lisp-program, inferior-lisp-load-command)
1160 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 1161 No need to autoload defcustoms.
0e3e4156 1162
de82e29b
GM
1163 * hippie-exp.el (hippie-expand-try-functions-list)
1164 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1165 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1166 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 1167 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
1168 * progmodes/vhdl-mode.el (vhdl-line-expand):
1169 Explicitly load hippie-exp, so it does not get autoloaded
1170 while hippie-expand-try-functions-list is let-bound.
1171
e60b51ab
GM
11722012-09-28 Glenn Morris <rgm@gnu.org>
1173
277f0cfa
GM
1174 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1175
e60b51ab
GM
1176 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1177 Only "cl.el" counts as cl these days.
1178
53baf48a
JL
11792012-09-28 Juri Linkov <juri@jurta.org>
1180
1181 Display archive errors in the echo area instead of inserting
1182 to the file buffer.
1183
1184 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1185 to STDERR-TEST that can be a regexp matching a successful output.
1186 Create a temporary file and redirect stderr to it. Search for
1187 STDERR-TEST in the stderr output and display it in the echo area
1188 if no match is found.
1189 (archive-extract-by-file): New function like
1190 `archive-extract-by-stdout' but extracting archives to files
1191 and looking for successful matches in stdout. Function body is
1192 mostly copied from `archive-rar-extract'.
1193 (archive-rar-extract): Use `archive-extract-by-file'.
1194 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1195
9c1228c3
LL
11962012-09-28 Leo Liu <sdl.web@gmail.com>
1197
375e49d4
SM
1198 * pcomplete.el (pcomplete-show-completions):
1199 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 1200
9c1228c3
LL
1201 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1202
7f457c06
SM
12032012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1204
3df749b0
SM
1205 * type-break.el: Use lexical-binding.
1206 (type-break-mode): Use define-minor-mode.
1207
7f457c06
SM
1208 * emacs-lisp/pcase.el (pcase--mark-used): New.
1209 (pcase--u1): Use it (bug#12512).
1210
1211 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1212 in load-history with the right file name.
1213
c00ebc98
TH
12142012-09-28 Tassilo Horn <tsdh@gnu.org>
1215
1216 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1217 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1218 (doc-view-get-bounding-box): Make bounding box slicing work for
1219 ODF and DVI documents.
1220
96fb7170
GM
12212012-09-28 Glenn Morris <rgm@gnu.org>
1222
1223 * type-break.el (type-break-mode, type-break-interval)
1224 (type-break-good-rest-interval, type-break-keystroke-threshold):
1225 No need to autoload.
1226 (type-break-good-rest-interval, type-break-keystroke-threshold):
1227 Add :set-after.
1228
5bc93c67
CY
12292012-09-28 Chong Yidong <cyd@gnu.org>
1230
1231 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1232 Add :version tag.
1233
9cad61d6
SM
12342012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1235
e28e67b3 1236 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 1237
daee954c
GM
12382012-09-27 Glenn Morris <rgm@gnu.org>
1239
a88324d4
GM
1240 * faces.el (x-display-name): Declare (for without-x builds).
1241
8e5064e5
GM
1242 * linum.el (linum-format): Don't autoload it. Improve :type.
1243
cc1783c2
GM
1244 * progmodes/tcl.el: Don't require outline when compiling.
1245 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
1246 * textmodes/sgml-mode.el: Don't require outline when compiling.
1247 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1248
48c339f2
GM
1249 * term.el (term-ansi-reset):
1250 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1251
daee954c
GM
1252 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1253 files for RCS and SCCS. (Bug#9781)
1254
b7f42161
CY
12552012-09-27 Chong Yidong <cyd@gnu.org>
1256
1257 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1258 change; value should be t.
1259
a2e770db
SM
12602012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1261
83600dc8
SM
1262 * image-mode.el: Use lexical-binding.
1263 (image-mode-winprops): Use t to stand for the window of
1264 a buffer that's not displayed.
1265 * doc-view.el (doc-view-new-window-function): Handle the new
1266 t in winprops.
1267 (doc-view-enlarge): Make it a real nop if the size is not changed.
1268 (doc-view-display): Handle the case where the buffer is not (yet?)
1269 displayed in any window.
1270 (doc-view-saved-settings): New var.
1271 (doc-view-mode): Use it.
1272 (doc-view-fallback-mode): Set it.
1273
a2e770db
SM
1274 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1275 Set lexical-binding.
1276 (minibuffer-eldef-shorten-default): New var.
1277 (minibuffer-default-in-prompt-regexps): Use it for new default.
1278 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1279
e3b60857
JB
12802012-09-26 Juanma Barranquero <lekktu@gmail.com>
1281
1282 * international/uni-bidi.el:
1283 * international/uni-category.el:
1284 * international/uni-name.el:
1285 * international/uni-numeric.el: Regenerate.
1286
3a880af4
SM
12872012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1288 Stefan Monnier <monnier@iro.umontreal.ca>
1289
1290 * profiler.el: New file.
1291
07b1a5fb
SM
12922012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1293
1294 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1295 (testcover-reinstrument): Simplify with CSE.
1296
42019c2e
JB
12972012-09-26 Juanma Barranquero <lekktu@gmail.com>
1298
1299 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1300
179f044b
WS
13012012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1302
1303 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1304 (verilog-auto-input, verilog-auto-insert-lisp)
1305 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1306 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1307 (verilog-auto-unused, verilog-auto-wire)
1308 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1309 newline. Reported by Andrew Jones.
1310 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1311 Reported by Brad Dobbie.
07b1a5fb
SM
1312 (verilog-batch-delete-trailing-whitespace):
1313 Create verilog-batch-delete-trailing-whitespace.
1314 Reported by Brad Dobbie.
179f044b
WS
1315 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1316 parameters from another module. Reported by Dan Katz.
1317 (verilog-auto, verilog-auto-assign-modport)
1318 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1319 AUTOINOUTMODPORT for UVM interface module shell generation.
1320 Reported by Brad Dobbie.
1321 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1322 standard behavior.
1323 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1324 Reported by Matt Martin.
1325
9c52dd5a
MR
13262012-09-25 Martin Rudalics <rudalics@gmx.at>
1327
1328 * window.el (window--resize-child-windows): When resizing child
1329 windows proportionally, process them in reverse order to
1330 preserve the "when splitting a window the new one gets the odd
1331 line" behavior.
1332 (window--resize-root-window-vertically): When resizing the
1333 minibuffer window try to affect only windows at the bottom of the
1334 frame. (Bug#12419)
1335
863666eb
CY
13362012-09-25 Chong Yidong <cyd@gnu.org>
1337
1338 * subr.el (declare): Doc fix.
1339
1340 * help-fns.el (help-fns--obsolete): Handle macros properly.
1341
59f7af81
CY
13422012-09-25 Chong Yidong <cyd@gnu.org>
1343
1344 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1345 this function obsolete.
1346
1347 * calendar/cal-x.el (calendar-two-frame-setup)
1348 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1349 * calendar/calendar.el (american-calendar, european-calendar)
1350 (calendar-for-loop):
1351 * comint.el (comint-dynamic-simple-complete)
1352 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1353 * desktop.el (desktop-load-default):
1354 * dired-x.el (dired-omit-here-always)
1355 (dired-hack-local-variables, dired-default-directory):
1356 * emacs-lisp/derived.el (derived-mode-class):
1357 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1358 * emacs-lock.el (toggle-emacs-lock):
1359 * epa.el (epa-display-verify-result):
1360 * epg.el (epg-sign-keys, epg-start-sign-keys)
1361 (epg-passphrase-callback-function):
1362 * eshell/esh-util.el (eshell-for):
1363 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1364 (eshell-add-to-window-buffer-names):
1365 * files.el (locate-file-completion):
1366 * imenu.el (imenu-example--create-c-index)
1367 (imenu-example--create-lisp-index)
1368 (imenu-example--lisp-extract-index-name)
1369 (imenu-example--name-and-position):
1370 * international/mule-cmds.el (princ-list):
1371 * international/mule-diag.el (decode-codepage-char):
1372 * international/mule-util.el (detect-coding-with-priority):
1373 * iswitchb.el (iswitchb-read-buffer):
1374 * mail/mailalias.el (mail-complete):
1375 * mail/sendmail.el (mail-sent-via):
1376 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1377 (mouse-major-mode-menu):
1378 * password-cache.el (password-read-and-add):
1379 * pcomplete.el (pcomplete-parse-comint-arguments):
1380 * progmodes/sh-script.el (sh-maybe-here-document):
1381 * replace.el (query-replace-regexp-eval):
1382 * savehist.el (savehist-load):
1383 * simple.el (choose-completion-delete-max-match):
1384 * term.el (term-dynamic-simple-complete):
1385 * vc/ediff-init.el (ediff-check-version):
1386 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1387 * vc/vc.el (vc-diff-switches-list):
1388 * view.el (view-return-to-alist-update): Likewise.
1389
1390 * subr.el (eval-next-after-load, makehash, insert-string)
1391 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1392 mark obsolete.
1393 (mode-line-inverse-video): Variable deleted.
1394
1395 * international/mule-util.el (string-to-sequence): Remove.
1396
1397 * calendar/calendar.el (calendar-version):
1398 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1399 (icalendar-convert-diary-to-ical):
1400 * cus-edit.el (custom-mode):
1401 * ansi-color.el (ansi-color-unfontify-region):
1402 * international/latin1-disp.el (latin1-char-displayable-p):
1403 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
1404 * progmodes/which-func.el (which-func-update-1):
1405 Use define-obsolete-function-alias.
59f7af81
CY
1406
1407 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
1408 * net/newst-treeview.el (newsticker-groups-filename):
1409 Fix incorrect obsolescence declaration.
59f7af81
CY
1410
1411 * allout.el (allout-passphrase-hint-string): Likewise.
1412 (allout-init): Use a declare form to mark obsolete.
1413
1414 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1415 this applies to functions.
1416
1417 * iswitchb.el (iswitchb-read-buffer): Move code of
1418 iswitchb-define-mode-map here, and delete that obsolete function.
1419
1420 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1421 font-lock-reference-face.
1422
cca96c97
GM
14232012-09-25 Glenn Morris <rgm@gnu.org>
1424
b06eeda8
GM
1425 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1426 Doc fixes.
1427
cca96c97
GM
1428 * eshell/em-term.el (eshell-term-name):
1429 Default to term-term-name. (Bug#12485)
1430
dc4f818b
FEG
14312012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1432
cca96c97
GM
1433 * progmodes/python.el (python-shell-send-buffer): Better handling
1434 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 1435
289c24bd
GM
14362012-09-24 Glenn Morris <rgm@gnu.org>
1437
1438 * eshell/esh-cmd.el (eshell-find-alias-function):
1439 Tighten up file-name regexp. (Bug#12499)
1440
8fb8b88f
FEG
14412012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1442
1443 Enhancements for triple-quote string syntax.
1444 * progmodes/python.el (python-quote-syntax): Remove.
1445 (python-syntax-propertize-function): New value.
07b1a5fb
SM
1446 (python-syntax-count-quotes, python-syntax-stringify):
1447 New functions.
8fb8b88f 1448
6c27f0f8
CY
14492012-09-24 Chong Yidong <cyd@gnu.org>
1450
a5f2b6ec
CY
1451 * mail/supercite.el (sc-version): Remove obsolete function.
1452 (sc-describe): Don't mark as obsolete, since it is bound.
1453 (sc-submit-bug-report): Remove.
1454
1455 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1456 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
1457 (log-edit-require-final-newline)
1458 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
1459
1460 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1461 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1462 * vc/vc.el (vc-checkout-carefully): Likewise.
1463
1464 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1465 (emerge-version): Remove.
1466
1467 * progmodes/compile.el (compile-internal): Remove.
1468 (compilation-parse-errors-function): Fix typo.
1469
1470 * international/mule.el (set-char-table-default): Remove.
1471 (set-coding-priority, make-coding-system, generic-char-p)
1472 (charset-list, charset-bytes, charset-id): Use declare to mark
1473 functions as obsolete.
1474
1475 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1476 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1477 * vc/vc-hooks.el (vc-default-registered): Don't use
1478 vc-master-templates.
1479
07b1a5fb
SM
1480 * font-lock.el (font-lock-reference-face):
1481 Use define-obsolete-variable-alias.
6c27f0f8
CY
1482
1483 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1484 * calendar/calendar.el (calendar-font-lock-keywords):
1485 * calendar/diary-lib.el (diary-font-lock-keywords)
1486 (diary-fancy-font-lock-keywords):
1487 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1488 * textmodes/reftex-index.el (reftex-insert-index):
1489 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1490 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1491 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1492 * progmodes/prolog.el (prolog-font-lock-keywords):
1493 * progmodes/idlwave.el (idlwave-idl-keywords):
1494 * progmodes/ada-mode.el (ada-font-lock-keywords):
1495 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1496
bcc0adbf
GM
14972012-09-24 Glenn Morris <rgm@gnu.org>
1498
1499 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1500
095bb823
FEG
15012012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1502
1503 * progmodes/python.el (python-indent-line): More consistent cursor
1504 movement behavior.
1505
70efc5c9
SM
15062012-09-23 Stefan Merten <smerten@oekonux.de>
1507
1508 * textmodes/rst.el: Fix compiler warning.
1509
2f438239
RW
15102012-09-23 Roland Winkler <winkler@gnu.org>
1511
07b1a5fb
SM
1512 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1513 Transcribe also LaTeX hyphenation.
2f438239
RW
1514 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1515 bibtex-reformat-previous-options.
1516
936ad041
RW
15172012-09-23 Roland Winkler <winkler@gnu.org>
1518
1519 * proced.el (proced-renice-command): New variable.
1520 (proced-marked-processes): New function.
1521 (proced-with-processes-buffer): New macro.
1522 (proced-send-signal): Use them.
1523 (proced-renice): New command bound to r.
1524
6fab0274
RW
15252012-09-23 Roland Winkler <winkler@gnu.org>
1526
1527 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1528 ibuffer-saved-filter-groups has one element, shortcut the call of
1529 completing-read. (Bug#12331)
1530
9a930676
CY
15312012-09-23 Chong Yidong <cyd@gnu.org>
1532
1533 * bindings.el (mode-line-toggle-read-only):
1534 * bs.el (bs-toggle-readonly):
1535 * buff-menu.el (Buffer-menu-toggle-read-only):
1536 * dired.el (dired-toggle-read-only):
1537 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1538
d07ff9db
CY
15392012-09-23 Chong Yidong <cyd@gnu.org>
1540
1541 * image.el (image-type-available-p): Adapt to init-image-library
1542 argument changes.
1543
51c4474e
JL
15442012-09-22 Juri Linkov <juri@jurta.org>
1545
1546 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1547 `dired-toggle-read-only'. (Bug#12462)
1548
43bf5e8e
MR
15492012-09-22 Martin Rudalics <rudalics@gmx.at>
1550
1551 * subr.el (temp-output-buffer-show): New function.
1552 (with-output-to-temp-buffer): Call temp-output-buffer-show
1553 instead of internal-temp-output-buffer-show.
1554
c88b867f
CY
15552012-09-22 Chong Yidong <cyd@gnu.org>
1556
3df47cd5
CY
1557 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1558 (Bug#12462).
1559
c88b867f
CY
1560 * repeat.el (repeat): Doc fix (Bug#12348).
1561
1562 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1563 (Bug#10909).
1564
1565 * simple.el (shell-command-on-region): Doc fix.
3171e303 1566 (read-only-mode): Doc fix.
c88b867f 1567
df9685f3
EZ
15682012-09-22 Eli Zaretskii <eliz@gnu.org>
1569
1570 * emacs-lisp/timer.el (run-with-idle-timer)
1571 (timer-activate-when-idle): Warn against reinvoking an idle timer
1572 from within its own timer action. (Bug#12447)
1573
8e17c9ba
MR
15742012-09-22 Martin Rudalics <rudalics@gmx.at>
1575
1576 * cus-start.el (window-combination-limit): Add new optional
1577 values.
1578 * window.el (temp-buffer-window-show)
1579 (window--try-to-split-window): Handle new values of
1580 window-combination-limit (Bug#1806).
1581 (split-window): Test window-combination-limit for t instead of
1582 non-nil.
1583 (display-buffer-at-bottom): New buffer display action function.
1584 * help.el (temp-buffer-resize-regexps): New option.
1585 (temp-buffer-resize-mode): Rewrite doc-string.
1586 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 1587 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 1588
48a24920
SM
15892012-09-22 Stefan Merten <smerten@oekonux.de>
1590
70efc5c9 1591 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
1592 (rst-official-version)
1593 (rst-package-emacs-version-alist): Sync with official version
1594 V1.4.0.
1595 (rst-faces-defaults, rst-set-level-default)
1596 (rst-level-face-max, rst-level-face-base-color)
1597 (rst-level-face-base-light, rst-level-face-format-light)
1598 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1599 (rst-adornment-faces-alist): Match new setup.
1600 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1601 (rst-level-5, rst-level-6): New faces.
1602
82f8cd94
CY
16032012-09-22 Chong Yidong <cyd@gnu.org>
1604
1605 * simple.el (undo): Handle indirect buffers (Bug#8207).
1606
acfa068f 16072012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
1608
1609 IDO: Disable match re-ordering for buffer switching.
2bc9406c 1610 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
1611 (ido-set-matches-1): Use it. (Bug#2042)
1612
acfa068f 16132012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
1614
1615 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1616 Fix 2011-05-17 change. (Bug#12418)
1617
acfa068f 16182012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
1619
1620 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1621
acfa068f 16222012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
1623
1624 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1625 Be more robust about locating simple.el.
1626
acfa068f 16272012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
1628
1629 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1630
acfa068f
CY
16312012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1632
1633 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1634
41a97e6f
JL
16352012-09-20 Juri Linkov <juri@jurta.org>
1636
eb2deaff
JL
1637 * replace.el (query-replace-read-from): Use `read-regexp' instead
1638 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1639 (occur-read-primary-args): Use `read-regexp' instead of
1640 `read-string'.
1641 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1642 `read-from-minibuffer'.
1643 * isearch.el (isearch-occur): Use `read-regexp' instead of
1644 `read-string'.
1645 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1646 `read-from-minibuffer'.
1647 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1648 of `read-string'. (Bug#7567)
1649
5825610b
JL
1650 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1651 and allow accepting a list of strings prepended to a list of
1652 standard default values. Doc fix. (Bug#12321)
1653
eebbf404
JL
1654 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1655
41a97e6f
JL
1656 * replace.el (read-regexp): Don't add ": " when PROMPT already
1657 ends with a colon and space. (Bug#12321)
1658
c9e452d3
TH
16592012-09-20 Tassilo Horn <tsdh@gnu.org>
1660
1661 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1662 error.
1663
ee97deee
SM
16642012-09-20 Stefan Merten <smerten@oekonux.de>
1665
70efc5c9 1666 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
1667 Fixes feature request bug#11711.
1668 (rst-mode): Create `imenu-create-index-function'.
1669 (rst-get-stripped-line): Delete after refactoring.
1670 (rst-section-tree, rst-section-tree-rec)
1671 (rst-section-tree-point): Refactor and document properly.
1672 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
1673 (rst-imenu-convert-cell, rst-imenu-create-index):
1674 New function.
ee97deee 1675
f490dab9
SM
16762012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1677
95b9712e
SM
1678 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1679 (macroexp--expand-all): Use it.
1680 (macroexp--funcall-and-return): Remove by folding it into its sole
1681 caller (macroexp--warn-and-return).
1682 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1683 Use macroexp--obsolete-warning.
1684
f490dab9
SM
1685 * calc/calc.el: Fix last change by removing the whole chunk, since it
1686 was only needed back when Calc was not bundled.
1687
96e8d411
MR
16882012-09-20 Martin Rudalics <rudalics@gmx.at>
1689
1690 * emacs-lisp/debug.el (debug): Restore assignment to
1691 debugger-old-buffer removed on 2012-09-08.
1692
0876a82d
JL
16932012-09-20 Juri Linkov <juri@jurta.org>
1694
1695 * dired-aux.el (dired-diff): Remove (require 'diff) since
1696 `diff-latest-backup-file' is now autoloaded.
1697
9f7c28f0
CY
16982012-09-20 Chong Yidong <cyd@gnu.org>
1699
1700 * vc/diff.el (diff-latest-backup-file): Autoload.
1701
7a04bee9
SM
17022012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1703
e6f0a80d
SM
1704 * calc/calc.el: Remove redundant autoload shape check.
1705 (sel-mode): Don't defvar.
1706 (calc-get-stack-element): Add `sel-mode' arg instead.
1707 (calc-top, calc-top-list): Pass it this additional argument.
1708 * calc/calc-store.el (calc-store-map):
1709 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1710 (calc-map-equation, calc-outer-product, calc-inner-product):
1711 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1712
7a04bee9
SM
1713 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1714
12734222
JL
17152012-09-19 Juri Linkov <juri@jurta.org>
1716
1717 * dired-aux.el (dired-diff): Add (require 'diff) because
1718 `diff-latest-backup-file' is not autoloaded.
1719 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1720 of `dired-get-filename' to t to not report error when there is
1721 no default file on the current line.
1722
46624b4f
SM
17232012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1724
ce97595b
SM
1725 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1726 macroexp--eval-if-compile.
1727 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1728 (macroexp--expand-all): Use them (bug#12371).
1729
46624b4f
SM
1730 * doc-view.el (doc-view-guess-paper-size)
1731 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1732
db8a5a18
TH
17332012-09-19 Tassilo Horn <tsdh@gnu.org>
1734
1735 New feature: set optimal slice from BoundingBox information.
1736 * doc-view.el (doc-view-mode-map): Add keybinding.
1737 (doc-view-menu): Add menu entry.
1738 (doc-view-set-slice): Adapt docstring.
1739 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1740 (doc-view-scale-bounding-box)
1741 (doc-view-set-slice-from-bounding-box): New functions.
1742 (doc-view-paper-sizes): New defvar.
1743
69f6644c
GM
17442012-09-19 Glenn Morris <rgm@gnu.org>
1745
35f5b19d
GM
1746 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1747 (byte-compile-log-warning): Autoload. (Bug#12371)
1748
69f6644c
GM
1749 * calendar/calendar.el (calendar-american-month-header)
1750 (calendar-european-month-header, calendar-iso-month-header)
1751 (calendar-month-header): New options.
1752 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1753 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1754
e543ae91
JD
17552012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1756
1757 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1758
2fd5e67d
JL
17592012-09-18 Juri Linkov <juri@jurta.org>
1760
1761 * dired-aux.el (dired-diff): Restore original functionality of
1762 getting the default value, but keep new feature of using the
1763 latest existing backup file (`diff-latest-backup-file').
1764
42917e79
JL
17652012-09-18 Juri Linkov <juri@jurta.org>
1766
1767 * dired.el (dired-mark): If the region is active in Transient Mark
1768 mode, mark all files in the active region. Doc fix.
1769 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1770 Doc fix. (Bug#10624)
1771
20f70ede
JL
17722012-09-18 Juri Linkov <juri@jurta.org>
1773
1774 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1775 attributes for M-n are pulled from the file at point.
1776 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1777 Suggested by Drew Adams. (Bug#10624)
1778
32fb8162
DG
17792012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1780
1781 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1782 whitespace after "end".
1783 (ruby-do-end-to-brace): Collapse block to one line if it fits
1784 within fill-column.
1785
37ab5092
MR
17862012-09-18 Martin Rudalics <rudalics@gmx.at>
1787
1788 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1789 value.
1790 (debug): Don't remove debugger window when debugger is expected
1791 to be back.
1792
ed1f0bd3
CY
17932012-09-18 Chong Yidong <cyd@gnu.org>
1794
1795 * custom.el (defface): Doc fix.
1796
1797 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1798
a11035b8
MB
17992012-09-18 Martin Blais <blais@furius.ca> (tiny change)
1800
1801 * progmodes/compile.el (compilation-start): Use compilation-always-kill
1802 to initialize query-on-exit; then test that instead (bug#12288).
1803
64f6a736
SM
18042012-09-17 Stefan Merten <smerten@oekonux.de>
1805
70efc5c9 1806 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
1807 (rst-defcustom-testcover, rst-testcover-add-compose)
1808 (rst-testcover-add-1value): New functions.
1809 (rst-portable-mark-active-p): Replace by `use-region-p'.
1810 (rst-update-section, rst-classify-adornment)
1811 (rst-find-title-line): Mark `1value' forms.
1812 (rst-classify-adornment): Remove superfluous form.
1813 (rst-update-section, rst-get-adornments-around)
1814 (rst-adornment-complete-p, rst-get-next-adornment)
1815 (rst-adjust, rst-promote-region)
1816 (rst-display-adornments-hierarchy, rst-straighten-adornments)
1817 (rst-find-pfx-in-region, rst-section-tree-rec)
1818 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1819 (rst-toc-node, rst-toc, rst-forward-section)
1820 (rst-iterate-leftmost-paragraphs)
1821 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1822 (rst-bullet-list-region)
1823 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1824 (rst-compile-find-conf, rst-compile)
1825 (rst-repeat-last-character): Fix style.
1826
580bd868
CY
18272012-09-17 Chong Yidong <cyd@gnu.org>
1828
1829 * comint.el (comint--complete-file-name-data): Don't add a space
1830 if the status is `sole'; that adds a gratuitous space in the
1831 completion-cycling case (Bug#12092).
1832
1833 * pcomplete.el (pcomplete-completions-at-point): Likewise.
1834
69de3ec6
RS
18352012-09-17 Richard Stallman <rms@gnu.org>
1836
0dee970c
RS
1837 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
1838 only in the mime-shown mode, not in raw mode.
1839 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 1840 mime processing. (Bug#12305)
0dee970c 1841
6b250df6
GM
1842 * mail/rmail.el (rmail-retry-failure):
1843 Turn off mime processing first. (Bug#12037)
acb1c47b 1844
69de3ec6
RS
1845 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1846
d079ee5f
CY
18472012-09-17 Chong Yidong <cyd@gnu.org>
1848
1849 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1850 (shell-dynamic-complete-functions): Convert to defcustom.
1851 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1852
865fe16f
CY
1853 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1854 * comint.el (comint-prompt-read-only):
1855 * custom.el (defcustom):
1856 * hi-lock.el (hi-lock-mode):
1857 * ibuffer.el (ibuffer-formats):
1858 * ielm.el (ielm-prompt-read-only):
1859 * novice.el (disable-command):
1860 * saveplace.el (toggle-save-place):
1861 * speedbar.el (speedbar-supported-extension-expressions):
1862 * startup.el (auto-save-list-file-prefix, init-file-user)
1863 (after-init-hook, inhibit-startup-echo-area-message):
1864 * strokes.el (strokes-help):
1865 * time-stamp.el (time-stamp):
1866 * calendar/calendar.el (calendar, diary-file):
1867 * calendar/diary-lib.el (diary-mail-entries, diary)
1868 (diary-list-entries-hook):
1869 * calendar/holidays.el (holidays, calendar-holidays):
1870 * calendar/lunar.el (lunar-phases):
1871 * calendar/solar.el (sunrise-sunset):
1872 * emulation/edt.el (edt-load-keys):
1873 * emulation/viper.el (viper-mode):
1874 * eshell/em-alias.el (eshell-command-aliases-list):
1875 * eshell/esh-util.el (eshell-convert-numeric-arguments):
1876 * international/ogonek.el (ogonek-information):
1877 * net/tramp-cmds.el (tramp-bug):
1878 * net/quickurl.el (quickurl-reread-hook-postfix):
1879 * play/decipher.el (decipher-font-lock-keywords):
1880 * progmodes/cc-styles.el (c-set-style):
1881 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
1882 * progmodes/inf-lisp.el (inferior-lisp-prompt):
1883 * progmodes/octave-mod.el (octave-mode):
1884 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
1885 * progmodes/verilog-mode.el (verilog-read-defines):
1886 * textmodes/two-column.el (2C-mode): Likewise.
1887
48093eb9
KY
18882012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
1889
1890 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
1891 that holds many addresses.
1892
c584eaf9
CY
18932012-09-16 Chong Yidong <cyd@gnu.org>
1894
40d70ecb
CY
1895 * align.el (align-areas): Call the indication function with
1896 positions instead of markers for arguments (Bug#12343).
1897
1667e065
CY
1898 * files.el (parse-colon-path): Use split-string (Bug#12351).
1899
fdc2806d 1900 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 1901 (display-buffer-function): Mark as obsolete.
fdc2806d 1902
f1be615c 1903 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
1904 values similar to font-lock-keywords (Bug#12136).
1905 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
1906 (compilation-error-regexp-alist): Doc fix.
1907
f40a9709
GM
19082012-09-15 Glenn Morris <rgm@gnu.org>
1909
72aa16e1
GM
1910 * version.el (emacs-bzr-version-bzr): New function.
1911 (emacs-bzr-get-version): Add optional EXTERNAL argument.
1912
82375160
GM
1913 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
1914 checkouts, check the parent dirstate matches the branch.
1915 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
1916 empty string.
1917
f40a9709
GM
1918 * version.el (emacs-bzr-version): Doc fix.
1919 (emacs-bzr-version-dirstate): New function.
1920 (emacs-bzr-get-version): For lightweight checkouts, if the parent
1921 is local try and check that it matches the branch. If not, just
1922 use dirstate information. (Bug#12441)
1923
cb26b7f5
JL
19242012-09-14 Juri Linkov <juri@jurta.org>
1925
1926 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
1927 (Bug#12399)
1928
2de39f08
SM
19292012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1930
0fb3cb7c
SM
1931 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
1932
2de39f08
SM
1933 * emacs-lisp/edebug.el: Miscellaneous cleanup.
1934 Remove obsolete byte-compiler hack that tried to silence some warnings.
1935 (edebug-submit-bug-report): Remove.
1936 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
1937 Remove aliases, use the un-prefixed name instead.
1938 (edebug-pop-to-buffer): Consider other frames.
1939 (edebug-original-read):: Make it more obvious that it's always defined.
1940 (edebug--make-form-data-entry, edebug--form-data-name)
1941 (edebug--form-data-begin, edebug--form-data-end): Rename from the
1942 single-dashed name, and implement with cl-defstruct.
1943 (edebug-set-form-data-entry): Use the standard accessors.
1944 (edebug-make-top-form-data-entry): Use push.
1945 (edebug-no-match): Drop useless `funcall'.
1946 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
1947 to functions.
1948 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
1949 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
1950 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
1951 (easy-menu-define, with-custom-print): Remove redundant specs.
1952 (edebug-outside-overriding-local-map)
1953 (edebug-outside-overriding-terminal-local-map): Remove, unused.
1954 (edebug--display): Bind unread-command-events directly to nil rather
1955 than binding it to unread-command-events and later setting it to nil.
1956 (edebug--display): Kill edebug-eval-buffer here...
1957 (edebug--recursive-edit): ...rather than here.
1958 Bind standard-output and standard-input.
1959 (edebug-eval): Check cl-macroexpand-all is fboundp.
1960 (edebug-temp-display-freq-count): Fix last change.
1961
1962 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
1963 * subr.el (noreturn, 1value): Add `debug' spec.
1964 * emacs-lisp/advice.el: Require cl-lib.
1965 (ad-copy-tree): Remove, use copy-tree instead.
1966 (ad-dolist): Remove use dolist or cl-dolist instead.
1967 (ad-do-return): Remove, use cl-return instead.
1968 (defadvice): Add `debug' spec.
1969
5b68b333
JL
19702012-09-13 Juri Linkov <juri@jurta.org>
1971
1972 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
1973 (Bug#12399)
1974
b9800ec4
GM
19752012-09-13 Glenn Morris <rgm@gnu.org>
1976
6a2e6868
GM
1977 * calc/calc.el (math-compose-expr):
1978 * calc/calc-ext.el (math-compose-expr):
1979 * progmodes/cc-defs.el (cl-macroexpand-all):
1980 * progmodes/cc-langs.el (delete-duplicates, mapcan)
1981 (cl-macroexpand-all): Update declarations.
1982
b9800ec4
GM
1983 * vc/vc.el: No need to require ediff.
1984 (ediff-load-version-control): Declare.
1985 (ediff-vc-internal): Fix declaration.
1986 (vc-version-ediff): Require ediff.
1987
c18e885b
PE
19882012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1989
1990 Use a more backwards-compatible timer format (Bug#12430).
1991 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
1992 being right after USECS, as that better supports old code that
1993 inadvisedly looked directly at the timer vector.
1994
d607d303
KH
19952012-09-13 Kenichi Handa <handa@gnu.org>
1996
1997 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
1998 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
1999 `coding-priority' property of these language environment.
2000
72eac303
PE
20012012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2002
2003 Fix glitches caused by addition of psec to timers (Bug#12430).
2004 * image.el (image-animate-timer):
2005 * time.el (display-time-world-timer):
2006 Use timer--function and timer--args rather than raw access to
2007 timer vector.
2008
2168fe4f
GM
20092012-09-13 Glenn Morris <rgm@gnu.org>
2010
2011 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2012 If not compiling a file, try using load-file-name.
2013
bd8d6108
SM
20142012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2015
c0c54fbd
SM
2016 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2017 Fix last change.
2018 (edebug-update-eval-list): Use `push'.
2019
bd8d6108
SM
2020 * emacs-lisp/edebug.el: Use lexical-binding.
2021 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2022 Mark unused args with underscore.
2023 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2024 (edebug-form-data): Use defvar-local.
2025 (edebug-make-before-and-after-form, edebug-make-after-form):
2026 Use backquote.
2027 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2028 Not dynamically scoped any more.
2029 (edebug--enter-trace): Add arguments `function' and `args'.
2030 Rename from edebug-enter-trace.
2031 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2032 (edebug--update-coverage): Add `after-index' and `value' args.
2033 Rename from edebug-update-coverage.
2034 (edebug-slow-after): Call it accordingly.
2035 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2036 edebug-recursive-edit.
2037 (edebug--display): Call it accordingly. Add args `value',
2038 `offset-index', and `arg-mode'. Rename from edebug-display.
2039 (edebug-debugger, edebug): Call it accordingly.
2040 (edebug-eval-display-list): Use dolist.
2041
a9f9d9de
JL
20422012-09-12 Juri Linkov <juri@jurta.org>
2043
2044 * info.el (Info-search): Don't check for isearch-mode and
2045 isearch-regexp before let-binding search-spaces-regexp to
2046 Info-search-whitespace-regexp.
2047 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2048 search-whitespace-regexp if isearch-lax-whitespace or
2049 isearch-regexp-lax-whitespace is non-nil.
2050 (Info-mode): Don't set local variable search-whitespace-regexp.
2051 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2052
bfeae2cf
SM
20532012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2054
2055 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2056 (debugger-env-macro): Remove support for unread-command-char.
2057
2058 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2059 the temporary map re-appearing on emulation-mode-map-alists.
2060
2061 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2062 since 22.1.
2063
2064 * ehelp.el (with-electric-help): Accept functions in
2065 electric-help-form-to-execute.
2066 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2067 And replace unread-command-char -> unread-command-events.
2068
fbbcaf1b
MA
20692012-09-12 Michael Albinus <michael.albinus@gmx.de>
2070
2071 Sync with Tramp 2.2.6.
2072
2073 * net/tramp.el (tramp-accept-process-output): Don't use
2074 JUST-THIS-ONE in the XEmacs case.
2075
2076 * net/trampver.el: Update release number.
2077
4dece104
MR
20782012-09-12 Martin Rudalics <rudalics@gmx.at>
2079
bfeae2cf
SM
2080 * emacs-lisp/debug.el (debugger-previous-window-height):
2081 New variable.
4dece104
MR
2082 (debug): When debugger-jumping-flag is non-nil try to restore
2083 height of debugger window. (Bug#8789)
2084
45b82ad0
SM
20852012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2086
60c49c0f
SM
2087 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2088 overriding-local-map and pre/post-command-hook here.
2089 (edebug-recursive-edit): Do it here instead (bug#12345).
2090 (edebug-outside-unread-command-char): Remove all uses of
2091 unread-command-char.
2092
45b82ad0
SM
2093 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2094 inhibit-debugger is bound instead.
2095
baa26ea0
BG
20962012-09-11 Bastien Guerry <bzg@gnu.org>
2097
2098 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 2099 (Bug#12346)
baa26ea0 2100
04e8abfa
BG
21012012-09-11 Bastien Guerry <bzg@gnu.org>
2102
96d03571 2103 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 2104 (Bug#12347)
96d03571
BG
2105
21062012-09-11 Bastien Guerry <bzg@gnu.org>
2107
fc0c31f8 2108 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 2109
04e082b0
MM
21102012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2111
2112 * progmodes/sql.el: Version 3.1
2113 (sql-db2-escape-newlines): New variable.
2114 (sql-escape-newlines-filter): Use it.
2115
399a361b
JB
21162012-09-10 Juanma Barranquero <lekktu@gmail.com>
2117
2118 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2119
0780c517
DN
21202012-09-10 Dan Nicolaescu <dann@gnu.org>
2121
45b82ad0
SM
2122 * vc/diff-mode.el (diff-mode-menu):
2123 Bind diff-remove-trailing-whitespace.
0780c517 2124
9b851e25
SM
21252012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2126
2127 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
2128 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2129 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
2130 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2131 (eval-defun-2): Remove bogus interactive spec.
2132 (lisp-indent-line): Remove redundant whole-exp code, now done in
2133 indent-according-to-mode.
2134 (save-match-data): Remove redundant indent data.
2135
2136 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2137 Use `declare'.
2138
3231d532
JL
21392012-09-09 Juri Linkov <juri@jurta.org>
2140
2141 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2142 (replace-lax-whitespace, query-replace-regexp)
2143 (query-replace-regexp-eval, replace-regexp): Doc fix.
2144 (perform-replace, replace-highlight): Let-bind
2145 isearch-lax-whitespace to replace-lax-whitespace and
2146 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2147
2148 * isearch.el (isearch-query-replace): Let-bind
2149 replace-lax-whitespace to isearch-lax-whitespace and
2150 replace-regexp-lax-whitespace to
2151 isearch-regexp-lax-whitespace. (Bug#10885)
2152
70fe8236
SM
21532012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2154
2155 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2156
8ed43f15
AM
21572012-09-09 Alan Mackenzie <acm@muc.de>
2158
70fe8236
SM
2159 * progmodes/cc-engine.el (c-state-cache-init):
2160 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2161 (c-record-parse-state-state):
2162 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 2163
bfabf70a
AS
21642012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2165
2166 * register.el (register-separator): Rename from
2167 separator-register. All uses changed. Doc fix.
2168 (register): Fix version.
2169
011474aa
CY
21702012-09-09 Chong Yidong <cyd@gnu.org>
2171
2172 * replace.el (query-replace-map): Bind four new symbols for
2173 requesting window scrolling.
2174
2175 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2176 query-replace-map (Bug#8948).
2177
2178 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2179
2180 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2181 since they are now in query-replace-map.
2182
2183 * window.el (scroll-other-window-down): Make the arg optional.
2184
a8b7cd8d
CY
21852012-09-09 Chong Yidong <cyd@gnu.org>
2186
2187 * files.el (hack-local-variables-confirm): Use quit-window to kill
2188 the *Local Variables* buffer.
2189
c3268831
DG
21902012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2191
2192 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2193 not just expect to be at its beginning. Adjust callees.
2194 Succeed when do-end block has no space before the pipe character.
2195 (ruby-brace-to-do-end): When the original block is one-liner,
2196 convert to multiline. Reindent the result.
2197
0979429b
J
21982012-09-08 Jambunathan K <kjambunathan@gmail.com>
2199
2200 * register.el (register): New group.
27359e99 2201 (separator-register): New user option.
0979429b
J
2202 (increment-register): Route it to `append-to-register', if
2203 register contains text. Implication is that `C-x r +' can now be
2204 used for appending to a text register (bug#12217).
2205 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 2206 `separator-register'.
0979429b 2207
ace2989a
AM
22082012-09-08 Alan Mackenzie <acm@muc.de>
2209
2210 AWK Mode: make auto-newline work when there's "==" in the pattern.
2211 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2212 correctly.
0979429b
J
2213 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2214 Test more rigorously for "=" token.
ace2989a 2215
616c6c36
DG
22162012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2217
0979429b
J
2218 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2219 Only fail when reached LIMIT.
616c6c36 2220
35d98877
CY
22212012-09-08 Chong Yidong <cyd@gnu.org>
2222
2223 * dired.el (dired-mode-map): Don't bind M-=.
2224
2225 * dired-aux.el (dired-diff): Use backup file as default.
2226
1715f2db
DA
22272012-09-08 Drew Adams <drew.adams@oracle.com>
2228
2229 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2230
6dcef6ec
CY
22312012-09-08 Chong Yidong <cyd@gnu.org>
2232
2233 * subr.el (syntax-after, syntax-class): Doc fix.
2234
fa2bcf43
MR
22352012-09-08 Martin Rudalics <rudalics@gmx.at>
2236
2237 * window.el (display-buffer-in-previous-window): New buffer
2238 display action function.
2239
2240 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2241 (debugger-previous-window): New variable.
2242 (debug): Rewrite using display-buffer-in-previous-window,
2243 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2244
daac280a
SM
22452012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2246
2247 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2248
9dd40b00
MM
22492012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2250
daac280a
SM
2251 * progmodes/python.el (python-shell-send-string):
2252 When default-directory is remote, create temp file on remote
9dd40b00
MM
2253 filesystem.
2254 (python-shell-send-file): When file is remote, pass local view of
2255 file paths to remote Python interpreter. (Bug#12340)
2256
145823ec
CY
22572012-09-07 Chong Yidong <cyd@gnu.org>
2258
cee2e90d
CY
2259 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2260
0d7eb2ea
CY
2261 * files.el (after-find-file): Don't fail on a read-only buffer if
2262 require-final-newline is `visit' or `visit-save' (Bug#11156).
2263
145823ec
CY
2264 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2265
daac280a
SM
2266 * userlock.el (ask-user-about-supersession-threat):
2267 Use read-char-choice (Bug#12093).
145823ec 2268
74c582e6
CY
22692012-09-07 Chong Yidong <cyd@gnu.org>
2270
e5c2edf7
CY
2271 * subr.el (buffer-narrowed-p): New function.
2272
2273 * ses.el (ses-widen):
2274 * simple.el (count-words--buffer-message):
1f9f395d 2275 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
2276
2277 * simple.el (count-words-region): Don't signal an error if there
2278 is a non-nil prefix arg and the mark is not set.
c640e87d 2279
74c582e6
CY
2280 * help.el (describe-key-briefly): Allow the message to be seen
2281 when invoked from the minibuffer (Bug#7014).
2282
d81ceaaf
DG
22832012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2284
2285 * progmodes/ruby-mode.el (ruby-end-of-defun)
2286 (ruby-beginning-of-defun): Simplify, allow indentation before
2287 block beginning and end keywords.
8f06acce
DG
2288 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2289 (ruby-end-of-defun): Expect that the point is at the beginning of
2290 the defun.
d81ceaaf 2291
d458ef98
SM
22922012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2293
2294 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2295 (bug#12367).
2296 (cl--make-usage-args): Strip _ from argument names.
2297
20367d28
RS
22982012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2299
2300 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2301 obsolete alias speedbar-key-map.
2302 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2303 (vhdl-index-menu-init): Don't use obsolete variable
2304 font-lock-maximum-size.
2305
3424a4f6
CY
23062012-09-06 Chong Yidong <cyd@gnu.org>
2307
2308 * frame.el (window-system-version): Mark as obsolete.
2309
fcbfbdea
CY
2310 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2311 of obsolete variable speedbar-key-map.
2312
826b3235
JL
23132012-09-06 Juri Linkov <juri@jurta.org>
2314
2315 * replace.el (replace-lax-whitespace): New defcustom.
2316 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2317 (replace-string, replace-regexp): Mention it in docstrings.
2318 (perform-replace, replace-highlight): Let-bind
2319 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2320 to the values of replace-lax-whitespace and regexp-flag.
2321 Don't let-bind search-whitespace-regexp. (Bug#10885)
2322
2323 * isearch.el (isearch-query-replace): Let-bind
2324 replace-lax-whitespace instead of let-binding
2325 replace-search-function and replace-re-search-function.
2326 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2327 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2328 (isearch-toggle-symbol): Set isearch-regexp to nil
2329 in isearch-word mode (like in isearch-toggle-word).
2330
1ec5e41d
JL
23312012-09-06 Juri Linkov <juri@jurta.org>
2332
2333 * replace.el (replace-search-function)
2334 (replace-re-search-function): Set default values to nil.
2335 (perform-replace): Let-bind isearch-related variables based on
2336 replace-related values, call `isearch-search-fun' and let-bind
2337 the result to `search-function'. Remove code that sets
2338 `search-function' and `search-string' separately for
2339 `delimited-flag'.
2340 (replace-highlight): Add new argument `delimited-flag' and
2341 rename other arguments to the names used in `perform-replace'.
2342 Let-bind `isearch-word' to the argument `delimited-flag'.
2343 (Bug#10885, bug#10887)
2344
0ba2d4b6
DG
23452012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2346
2347 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2348 ruby-beginning-of-indent, simplify, allow all keywords to have
2349 indentation before them.
2350 (ruby-beginning-of-indent): Adjust for above. Search until the
2351 found point is not inside a string or comment.
2352 (ruby-font-lock-keywords): Allow symbols to start with "@"
2353 character, give them higher priority than variables.
2354 (ruby-syntax-propertize-function)
2355 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2356 matchers. Expression expansions are not comments when inside a
2357 string, and there comment syntax status is irrelevant.
2358 (ruby-match-expression-expansion): New function. Check that
2359 expression expansion is inside a string, and it's not escaped.
2360 (ruby-font-lock-keywords): Use it.
2361
ef654460
MR
23622012-09-05 Martin Rudalics <rudalics@gmx.at>
2363
2364 * help.el (temp-buffer-max-height): New default value.
2365 (temp-buffer-resize-frames): New option.
2366 (resize-temp-buffer-window): Optionally resize frame.
2367
2368 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2369 (fit-frame-to-buffer): New function.
2370
7e570fbf 23712012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
2372
2373 * emulation/cua-rect.el (cua--init-rectangles):
2374 * textmodes/picture.el (picture-mode-map):
2375 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2376 like forward-char and backward-char. (Bug#12317)
2377
7e570fbf 23782012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
2379
2380 * progmodes/flymake.el (flymake-warning-re): New variable.
2381 (flymake-parse-line): Use it.
2382
7e570fbf 23832012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
2384
2385 * calendar/holidays.el (holiday-christian-holidays):
2386 Rename an entry. (Bug#12289)
2387
7e570fbf 23882012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
2389
2390 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2391 (bug#12222).
2392
972debf2
SM
23932012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2394
2395 * loadup.el: Load macroexp. Remove hack.
2396 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2397 (macroexp--expand-all): Use it to get better warnings.
2398 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2399 (internal-macroexpand-for-load): New functions.
2400 (macroexp--pending-eager-loads): New var.
2401 (emacs-startup-hook): New hack to replace one in loadup.el.
2402 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2403 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2404 (cl-psetf): Simplify.
2405 (cl-defstruct): Add indent rule.
2406
8ce192e3
LI
24072012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2408
2409 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2410 over `user-mail-address' for the SMTP MAIL FROM envelope.
2411 (smtpmail-via-smtp): Ditto.
2412
6578b4d8
DG
24132012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2414
2415 * progmodes/ruby-mode.el: Clean up keybindings.
2416 (ruby-mode-map): Don't bind ruby-electric-brace,
2417 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2418 backward-kill-word, reindent-then-newline-and-indent.
2419 (ruby-mark-defun): Remove.
2420 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2421 (ruby-mode): Set local beginning-of-defun-function and
2422 end-of-defun-function values.
2423
c5e28e39
MR
24242012-09-03 Martin Rudalics <rudalics@gmx.at>
2425
2426 * window.el (temp-buffer-window-setup-hook)
2427 (temp-buffer-window-show-hook): New hooks.
2428 (temp-buffer-window-setup, temp-buffer-window-show)
2429 (with-temp-buffer-window): New functions.
972debf2
SM
2430 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2431 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
2432
2433 * help.el (temp-buffer-resize-mode): Fix doc-string.
2434 (resize-temp-buffer-window): New optional argument WINDOW.
2435
2436 * files.el (recover-file, save-buffers-kill-emacs):
2437 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2438
73406194
MA
24392012-09-02 Michael Albinus <michael.albinus@gmx.de>
2440
2441 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2442 remote definition of `default-directory', ensure we can connect.
2443
63dd1c6f
JL
24442012-09-02 Juri Linkov <juri@jurta.org>
2445
2446 Toggle whitespace matching mode with M-s SPC.
2447 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2448
2449 * isearch.el (search-whitespace-regexp): Doc fix.
2450 Remove cons cell customization.
2451 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2452 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2453 New variables.
2454 (isearch-forward, isearch-forward-regexp): Doc fix.
2455 (isearch-toggle-lax-whitespace): New command.
2456 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2457 (re-search-forward-lax-whitespace)
2458 (re-search-backward-lax-whitespace): New functions.
2459 (isearch-whitespace-regexp): Remove function.
2460 (isearch-query-replace): Let-bind replace-search-function and
2461 replace-re-search-function.
2462 (isearch-occur): Let-bind search-spaces-regexp according to the
2463 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2464 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2465 condition for C-q SPC.
2466 (isearch-search-fun-default): Use new functions mentioned above.
2467 (isearch-search-forward, isearch-search-backward): Remove functions.
2468 (isearch-search): Don't let-bind search-spaces-regexp.
2469 (isearch-lazy-highlight-space-regexp): Remove variable.
2470 (isearch-lazy-highlight-lax-whitespace)
2471 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2472 (isearch-lazy-highlight-new-loop): Use them.
2473 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2474
af7dda05
CY
24752012-09-02 Chong Yidong <cyd@gnu.org>
2476
2477 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2478
d67d3afd
GM
24792012-09-02 Glenn Morris <rgm@gnu.org>
2480
2481 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2482
69678719
GM
24832012-09-01 Glenn Morris <rgm@gnu.org>
2484
2485 * term.el: Tidy up menu definitions.
2486 (term-mode-map): Use easymenu for In/Out, Complete menus.
2487 (term-pager-break-map): Initialize in the defvar.
2488 (term-terminal-menu, term-signals-menu): Define with easymenu.
2489 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2490 (term-pager-menu): New, extracted from term-process-pager.
2491 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2492 (term-update-mode-line): Propertize line/char and page items.
2493 (term-process-pager): Move keymap initialization elsewhere.
2494
78dd6ab1
MR
24952012-09-01 Martin Rudalics <rudalics@gmx.at>
2496
2497 * window.el (switch-to-prev-buffer): Handle additional values of
2498 BURY-OR-KILL argument. Don't switch in minibuffer window.
2499 (switch-to-next-buffer): Don't switch in minibuffer window.
2500 (quit-restore-window): New function based on quit-window.
2501 Handle additional values of former KILL argument.
2502 (quit-window): Call quit-restore-window with appropriate
2503 interpretation of KILL argument.
2504 (display-buffer-below-selected): New buffer display action
2505 function.
2506
3d10e134
SM
25072012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2508
2509 * minibuffer.el (completion-at-point-functions): Complete docstring
2510 (bug#12254).
2511
0e23ef9d
PE
25122012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2513
2514 Better seed support for (random).
2515 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2516 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2517 * play/mpuz.el, play/tetris.el, play/zone.el:
2518 * calc/calc-comb.el (math-init-random-base):
2519 * play/blackbox.el (bb-init-board):
2520 * play/life.el (life):
2521 * server.el (server-use-tcp):
2522 * type-break.el (type-break):
2523 Remove unnecessary call to (random t).
2524 * net/sasl.el (sasl-unique-id-function):
2525 Change (random t) to (random), now that the latter is more random.
2526 * play/life.el (life-initialized): Remove no-longer-needed var.
2527
862382df
MR
25282012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2529
2530 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2531 Consider frame's buffer predicate when choosing the buffer.
2532 (Bug#12081)
2533
262a66e1
RS
25342012-08-30 Richard Stallman <rms@gnu.org>
2535
2536 * simple.el (special-mode-map): Delete binding for `z'.
2537
f17e1d00
AS
25382012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2539
2540 * progmodes/compile.el (compilation-always-kill): Doc fix.
2541
24777832
CY
25422012-08-30 Chong Yidong <cyd@gnu.org>
2543
2544 * window.el (display-buffer-reuse-frames): Make the obsolescence
2545 message more informative.
2546
69ba1f04
GM
25472012-08-30 Glenn Morris <rgm@gnu.org>
2548
2549 * paren.el (show-paren-delay):
2550 Add a :set function. Doc fix. (Bug#12297)
2551
f0019ede
MB
25522012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2553
2554 * progmodes/compile.el (compilation-always-kill): New var.
2555 (compilation-start): Use it.
2556
35e62fc9
SM
25572012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2558
af070a1c
SM
2559 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2560 * files.el (read-only-mode): Move to simple.el.
2561
35e62fc9
SM
2562 * files.el (read-only-mode): New minor mode.
2563 (toggle-read-only): Use it and mark obsolete.
2564 (find-file--read-only):
2565 * vc/vc.el (vc-next-action, vc-checkout):
2566 * vc/vc-cvs.el (vc-cvs-checkout):
2567 * obsolete/vc-mcvs.el (vc-mcvs-update):
2568 * ffap.el (ffap--toggle-read-only): Update callers.
2569
c2c43c23
MA
25702012-08-29 Michael Albinus <michael.albinus@gmx.de>
2571
2572 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
2573 remote shell scripts.
2574 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
2575
2576 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2577 "/usr/local/sbin".
2578
9fba804b
SM
25792012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2580
2581 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2582
eada0861 25832012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 2584
806f0cc7
LL
2585 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2586 completion-at-point. (Bug#12220)
2587
3bb213b9
LL
2588 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2589
22ab32ef
LL
2590 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2591
eada0861 25922012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 2593
19c17fc1
CY
2594 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2595 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 2596
eada0861 25972012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
2598
2599 * progmodes/hideif.el (hif-compress-define-list):
2600 Fix typo. (Bug#11951)
2601
eada0861 26022012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
2603
2604 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2605 buffer local setting.
2606
27d6c5a8
LL
2607 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2608 rcirc-encode-coding-system.
2609
eada0861 26102012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
2611
2612 * net/rcirc.el (rcirc-split-message): New function.
2613 (rcirc-send-message): Use it. (Bug#12051)
2614
d44688e4
JL
26152012-08-28 Juri Linkov <juri@jurta.org>
2616
2617 * info.el (Info-fontify-node): Hide empty lines at the end of
2618 the node. (Bug#12272)
2619
34f10d41
MR
26202012-08-27 Drew Adams <drew.adams@oracle.com>
2621
2622 * dired.el (dired-pop-to-buffer): Make window start at beginning
2623 of buffer (Bug#12281).
2624
77f1f99c
CY
26252012-08-26 Chong Yidong <cyd@gnu.org>
2626
2627 * window.el (special-display-regexps, special-display-frame-alist)
2628 (special-display-buffer-names, special-display-function)
2629 (display-buffer-reuse-frames): Mark as obsolete.
2630
2631 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2632
2633 * help.el (help-print-return-message): Don't treat
2634 display-buffer-reuse-frames specially.
2635
d97af5a0
CY
26362012-08-26 Chong Yidong <cyd@gnu.org>
2637
9fba804b
SM
2638 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2639 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
2640 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2641 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2642 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2643 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2644 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2645 the functions directly with gdb-display-buffer-other-frame-action.
2646 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2647 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2648 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2649 (gdb-display-registers-buffer): Define directly.
2650 (def-gdb-display-buffer): Macro deleted.
2651 (gdb-display-buffer): Remove second and third args, callers don't
2652 use them. Defer to the default display-buffer behavior, apart
2653 from making windows dedicated.
2654 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2655
2656 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2657
2658 * window.el (display-buffer-pop-up-frame): Handle a
2659 pop-up-frame-parameters alist entry.
2660 (display-buffer): Document it.
2661
dd7ffad6
CY
26622012-08-26 Chong Yidong <cyd@gnu.org>
2663
2664 * isearch.el (search-whitespace-regexp): Make string and nil
2665 values apply to both ordinary and regexp search. Allow a cons
2666 cell value to distinguish between the two.
2667 (isearch-whitespace-regexp, isearch-search-forward)
2668 (isearch-search-backward): New functions.
2669 (isearch-occur, isearch-search-fun-default, isearch-search)
2670 (isearch-lazy-highlight-new-loop): Use them.
2671 (isearch-forward, isearch-forward-regexp): Doc fix.
2672
4c47bd1e
CY
26732012-08-26 Chong Yidong <cyd@gnu.org>
2674
2675 * faces.el (help-argument-name): Always inherit from italic
2676 (Bug#12213).
2677
9aba119d
MR
26782012-08-25 Martin Rudalics <rudalics@gmx.at>
2679
2680 * window.el (window--even-window-heights): Even heights when
2681 WINDOW and the selected window form a vertical combination.
2682 (display-buffer-use-some-window): Provide that window used gets
2683 sized back by quit-window. (Bug#11880) and (Bug#12091)
2684
ca5256ad
PE
26852012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2686
2687 Fix file time stamp problem with bzr and CVS (Bug#12001).
2688 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2689 in the file's time stamp, since the version control system loses
2690 that information.
2691
d1c0d176
JL
26922012-08-22 Juri Linkov <juri@jurta.org>
2693
2694 * info.el (Info-fontify-node): Hide the suffix of the
2695 Info file name in the header line. (Bug#12187)
2696
141562ff
GM
26972012-08-22 Glenn Morris <rgm@gnu.org>
2698
2699 * calendar/cal-tex.el (cal-tex-weekly-common):
2700 Restore leading blank page.
2701
61a48e19 27022012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
2703
2704 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
2705 the region under `shift-select-mode'. (Bug#12231)
2706
27072012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
2708
2709 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2710 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2711 gives details on why the space is never needed.
2712
ea95074e
MR
27132012-08-22 Martin Rudalics <rudalics@gmx.at>
2714
9fba804b
SM
2715 * window.el (walk-window-tree, window-with-parameter):
2716 New optional argument MINIBUF to control whether these functions
ea95074e
MR
2717 should run on the minibuffer window.
2718 (window-at-side-list): Don't operate on minibuffer window.
2719 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
2720 (window--size-ignore): Rename to window--size-ignore-p.
2721 Update callers.
caceae25
MR
2722 (display-buffer-in-atom-window, window--major-non-side-window)
2723 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
2724 (delete-side-window, display-buffer-in-side-window):
2725 New functions.
caceae25
MR
2726 (window--side-check, window-deletable-p, delete-window)
2727 (delete-other-windows, split-window): Handle side windows and
2728 atomic windows appropriately.
2729 (window--display-buffer): Call display-buffer-record-window also
2730 when the window buffer did not change.
ea95074e 2731
80a51fa0
CS
27322012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2733
2734 * help-fns.el (help-fns--key-bindings):
2735 Abbreviate non-symbol remap targets. (Bug#12174)
2736
fbb6300b
MR
27372012-08-22 Martin Rudalics <rudalics@gmx.at>
2738
2739 * dired.el (dired-mark-remembered): Don't clobber point.
2740 (Bug#11795)
2741
2b2c0794
GM
27422012-08-22 Glenn Morris <rgm@gnu.org>
2743
2744 * progmodes/bug-reference.el (bug-reference): New custom group.
2745 (bug-reference-bug-regexp): Make it a defcustom.
2746
37219830
DU
27472012-08-22 Daiki Ueno <ueno@unixuser.org>
2748
2749 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2750 (js-paren-indent-offset, js-square-indent-offset)
2751 (js-curly-indent-offset): Add :safe (Bug#12257).
2752
94e0e559
EC
27532012-08-22 Edward O'Connor <hober0@gmail.com>
2754
2755 * json.el (json-key-format): Add error properties.
2756 (json-encode-key): New function.
2757 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2758 Use json-encode-key.
2759
da485f5e
GM
27602012-08-22 Glenn Morris <rgm@gnu.org>
2761
2762 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2763 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2764 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2765 Update for above change.
2766
c6cc78b8
AS
27672012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2768
2769 * cus-face.el (custom-face-attributes): Fix customize type for the
2770 :underline attribute. (Bug#11805)
2771
5481664a
MR
27722012-08-21 Martin Rudalics <rudalics@gmx.at>
2773
2774 * window.el (window-point-1, set-window-point-1): Remove.
2775 (window-in-direction, record-window-buffer)
2776 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
2777 (window--state-get-1, display-buffer-record-window):
2778 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
2779 window-point and set-window-point respectively.
2780
6d74698e
GM
27812012-08-21 Glenn Morris <rgm@gnu.org>
2782
b7fa2691
GM
2783 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2784 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2785 Use it.
2786
52f56d5a
GM
2787 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2788 (cal-tex-shortday): New function.
2789 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2790 (cal-tex-cursor-filofax-daily): Use the above.
2791
9f1ee09e
GM
2792 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2793 New functions.
2794 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2795 (cal-tex-cursor-filofax-week): Use them.
2796
79858159
GM
2797 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2798 New constants.
2799 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2800 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2801
d346b2b4
GM
2802 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2803 (cal-tex-end-document): Don't rely on buffer name.
2804
b2403709
GM
2805 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2806 Use cal-tex-vspace.
2807 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2808 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
2809 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2810 Use cal-tex-arg.
b2403709 2811
1cebb5c0
GM
2812 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2813 (cal-tex-cursor-week, cal-tex-cursor-week2)
2814 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2815 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2816 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2817 (cal-tex-insert-preamble, cal-tex-b-document)
2818 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2819 Improve cal-tex-cmd usage.
2820
c68cd5d4
GM
2821 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2822 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2823 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2824 (cal-tex-weekly-paper): New function.
2825 (cal-tex-cursor-week, cal-tex-cursor-week2)
2826 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2827 (cal-tex-cursor-day): Use it.
2828
9dca4801
GM
2829 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2830 (cal-tex-cursor-filofax-week): Remove leading blank page.
2831
1941e134
GM
2832 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2833 Add autoload cookie. For now at least, don't use color, since
2834 no other cal-tex function does.
2835
6d74698e
GM
2836 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2837 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2838 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2839
64cde199
JL
28402012-08-21 Juri Linkov <juri@jurta.org>
2841
2842 * info.el (Info-file-attributes): New variable.
2843 (info-insert-file-contents): Add file attributes to
2844 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2845 `Info-toc-nodes' when previous modtime of the Info file is less
2846 than new modtime.
2847 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2848 of info.el. (Bug#12230)
2849
32757648
GM
28502012-08-20 Glenn Morris <rgm@gnu.org>
2851
2852 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2853 * calendar/holidays.el (calendar-holiday-list):
2854 Report errors with display-warning rather than beep'n'sleep.
2855
a32fbbcf
MA
28562012-08-20 Michael Albinus <michael.albinus@gmx.de>
2857
2858 * net/tramp.el (tramp-accept-process-output): Accept only output
2859 from PROC. Otherwise, process filters and sentinels might be
2860 confused. (Bug#12145)
2861
a05731a0
CY
28622012-08-20 Chong Yidong <cyd@gnu.org>
2863
2864 * descr-text.el (describe-text-properties-1): Use overlays-in to
2865 report on empty overlays (Bug#3322).
2866
36e8d1eb
GM
28672012-08-20 Glenn Morris <rgm@gnu.org>
2868
3d300447
GM
2869 * mail/rmailout.el (rmail-output-read-file-name):
2870 Trap and report errors in rmail-output-file-alist elements.
2871
36e8d1eb
GM
2872 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2873 since most non-font-lock faces are not also variables).
2874
b96e5814
ER
28752012-08-20 Edward Reingold <reingold@iit.edu>
2876
2877 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2878 New function. (Bug12160)
2879
7cef3569
GM
28802012-08-19 Glenn Morris <rgm@gnu.org>
2881
2882 * mail/rmailout.el (rmail-output-read-file-name):
2883 Fix previous change (when the alist is nil or does not match).
2884
17975d7f
CY
28852012-08-19 Chong Yidong <cyd@gnu.org>
2886
2887 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2888 (Bug#12228).
2889
2170b1bd
CY
28902012-08-18 Chong Yidong <cyd@gnu.org>
2891
2892 * simple.el (yank-handled-properties): New defcustom.
2893 (yank-excluded-properties): Add font-lock-face and category.
2894 (yank): Doc fix.
2895
9fba804b
SM
2896 * subr.el (remove-yank-excluded-properties):
2897 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
2898 and category is now done this way, instead of being hard-coded.
2899 (insert-for-yank-1): Remove font-lock-face handling.
2900 (yank-handle-font-lock-face-property)
2901 (yank-handle-category-property): New function.
2902
ee218151
GM
29032012-08-17 Glenn Morris <rgm@gnu.org>
2904
2905 * mail/rmailout.el (rmail-output-read-file-name):
2906 Check rmail-output-file-alist against the full message body
2907 in the correct rmail buffer. (Bug#12214)
2908
4a6bc3fd
MA
29092012-08-17 Michael Albinus <michael.albinus@gmx.de>
2910
9fba804b
SM
2911 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2912 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 2913
383dcbf9
CY
29142012-08-17 Chong Yidong <cyd@gnu.org>
2915
2916 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2917 font spec, set the font directly (Bug#3228).
2918
998c4a6a
MR
29192012-08-17 Martin Rudalics <rudalics@gmx.at>
2920
2921 * window.el (delete-window): Fix last fix.
2922
52162052
MR
29232012-08-16 Martin Rudalics <rudalics@gmx.at>
2924
2925 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
2926 (window-child, window-child-count, window-last-child)
2927 (window-normalize-window, window-combined-p)
2928 (window-combinations, window-atom-root, window-min-size)
2929 (window-sizable, window-sizable-p, window-size-fixed-p)
2930 (window-min-delta, window-max-delta, window--resizable)
2931 (window--resizable-p, window-resizable, window-total-size)
2932 (window-full-height-p, window-full-width-p, window-body-size)
2933 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2934 (minimize-window, window-deletable-p, delete-window)
2935 (delete-other-windows, set-window-buffer-start-and-point)
2936 (next-buffer, previous-buffer, split-window, balance-windows-2)
2937 (set-window-text-height, window-buffer-height)
2938 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
2939 (truncated-partial-width-window-p): Minor code adjustments.
2940 In doc-strings state whether the argument window has to denote a
85c2386b 2941 live, valid or any window.
52162052 2942
1c308380
PS
29432012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2944
2945 * progmodes/subword.el (subword-forward-function)
2946 (subword-backward-function, subword-forward-regexp)
2947 (subword-backward-regexp): New variables.
2948 (subword-forward, subword-forward-internal, subword-backward-internal):
2949 Use new variables, eg so that different "word" definitions
2950 can be easily used. (Bug#11411)
2951
94c9ece1
SM
29522012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2953
2954 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2955 for composite selectors.
2956 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2957 operation just because we can't find a previous revision.
2958
f2045622
CY
29592012-08-15 Chong Yidong <cyd@gnu.org>
2960
2961 * frame.el (set-frame-font): Accept font objects.
2962
582db660
SM
29632012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2964
2965 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2966
2f29c200
WJ
29672012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2968
456e62c2
WJ
2969 * man.el (Man-overstrike-face, Man-underline-face)
2970 (Man-reverse-face): Remove variables.
2971 (Man-overstrike, Man-underline, Man-reverse): New faces.
2972 (Man-fontify-manpage): Use them instead of the variables.
2973 (Man-cleanup-manpage): Comment change.
2974 (Man-ansi-color-map): New variable.
2975 (Man-fontify-manpage): Use it.
2976 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2977
2f29c200
WJ
2978 Implement ANSI SGR parameters 22-27 (bug#12146).
2979 * ansi-color.el (ansi-colors): Doc fix.
2980 (ansi-color-context, ansi-color-context-region): Doc fix.
2981 (ansi-color--find-face): New function.
2982 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2983 Rename the local variable `face' to `codes' since it is now a list of
2984 ansi codes. Doc fix.
2985 (ansi-color-get-face): Remove.
2986 (ansi-color-parse-sequence): New function, derived from
2987 ansi-color-get-face.
2988 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2989 codes 22-27.
2990
b4f5e9df
SM
29912012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2992
2993 * subr.el (read-passwd): Allow use from a minibuffer.
2994
ba025fbd
EZ
29952012-08-14 Eli Zaretskii <eliz@gnu.org>
2996
2997 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2998 inside comments and strings as identifiers.
2999
3000 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3001 expression to evaluate. This allows to evaluate expressions with
3002 embedded whitespace.
3003 (gud-tooltip-tips): Add a blank before the newline in the
3004 message-box text, for the benefit of message-box emulation on
3005 MS-Windows.
3006
3007 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3008 messages from GDB, pop them up in a tooltip to give feedback to
3009 user.
b4f5e9df
SM
3010 (gdb-tooltip-print-1): Quote the expression to evaluate.
3011 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
3012 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3013 if the TTY name is nil or empty (which happens when communicating
3014 with the inferior via pipes, e.g. on MS-Windows).
3015 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3016 don't send that to the GUD buffer.
3017
c548f821
GM
30182012-08-14 Glenn Morris <rgm@gnu.org>
3019
3020 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3021 Optimize away setq-default with no args, as for setq. (Bug#12195)
3022
55802e4a
CY
30232012-08-14 Chong Yidong <cyd@gnu.org>
3024
4abcdac8
CY
3025 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3026
55802e4a
CY
3027 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3028 (Bug#12085).
3029
3c3cda1a
GM
30302012-08-14 Glenn Morris <rgm@gnu.org>
3031
3032 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3033
e1873bd0
MA
30342012-08-14 Michael Albinus <michael.albinus@gmx.de>
3035
3036 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3037 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3038 Use cached shell name.
3039
925411b4
FEG
30402012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3041
3042 * progmodes/python.el (python-shell-send-string):
3c3cda1a 3043 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 3044
e636fafe
DG
30452012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3046
3047 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3048 (ruby-percent-literal-beg-re): New constant.
3049 (ruby-syntax-general-delimiters-goto-beg): Rename to
3050 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3051 (ruby-syntax-propertize-general-delimiters): Rename to
3052 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3053 popular term. Adjust comments everywhere.
3054 (ruby-syntax-propertize-percent-literal): Only propertize when not
3055 inside a simple string or comment. When the literal is unclosed,
3056 leave the text after it unpropertized.
f063063a
DG
3057 (ruby-syntax-methods-before-regexp): New constant.
3058 (ruby-syntax-propertize-function): Use it to recognize regexps.
3059 Don't look at the text after regexp, just use the whitelist.
e636fafe 3060
e5b19827
AS
30612012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3062
3063 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3064 non-nil always load the compiled file if it exists. (Bug#12197)
3065
a9f6f311
CY
30662012-08-14 Chong Yidong <cyd@gnu.org>
3067
3068 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3069 (hi-lock-set-pattern): When deciding whether to use font lock or
3070 overlays, look at font-lock-mode instead of font-lock-fontified
3071 (Bug#12168).
3072 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3073 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3074
7d806b1e
DU
30752012-08-14 Daiki Ueno <ueno@unixuser.org>
3076
3077 * subr.el (internal--after-with-selected-window): Fix typo
3078 (Bug#12193).
3079
5beed586
FEG
30802012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3081
3082 Use `completion-table-dynamic' for completion functions.
3083 * progmodes/python.el
3084 (python-shell-completion--do-completion-at-point)
e636fafe
DG
3085 (python-shell-completion--get-completions):
3086 Remove functions.
5beed586
FEG
3087 (python-shell-completion-complete-at-point): New function.
3088 (python-completion-complete-at-point): Use it.
3089
92cb3b04
J
30902012-08-13 Jambunathan K <kjambunathan@gmail.com>
3091
3092 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3093 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3094
89660017
SM
30952012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3096
3c98c962
SM
3097 * subr.el (function-get): Refine `autoload' arg so it can also
3098 autoload functions for gv.el (bug#12191).
3099 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3100 autoloads macros.
3101
aa7c6dbe
SM
3102 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3103 Prefer pcase-let over destructuring-bind.
3104 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3105 Also, remove whitespace as we go, rather than after accumulating the
3106 various places.
3107
89660017
SM
3108 * subr.el (internal--before-with-selected-window)
3109 (internal--after-with-selected-window): Fix typo seleted->selected.
3110 (with-selected-window): Adjust callers.
3111 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3112
31cd32c9
BG
31132012-08-13 Bastien Guerry <bzg@gnu.org>
3114
0fcd3d9f 3115 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
3116 enhancement. (Bug#12172)
3117
1b15d8ad
AS
31182012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3119
31e54db0
AS
3120 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3121 type 1-6.
3122 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3123 extended headers.
3124
1b15d8ad
AS
3125 * files.el (hack-local-variables-filter): Remove useless eval.
3126
35cb9c06
MR
31272012-08-13 Martin Rudalics <rudalics@gmx.at>
3128
3129 * subr.el (with-selected-window): Fix last change.
3130
1439443b
SM
31312012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3132
3133 * subr.el (internal--before-with-seleted-window)
3134 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
3135 (with-selected-window): Use them, to replace dependency on
3136 tty-top-frame.
1439443b 3137
0d9e2599
NN
31382012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3139
3140 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3141 binding for `newline'.
3142 (ruby-move-to-block): When moving backward, stop at block opening,
3143 not indentation.
3144 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3145 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3146 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3147 `ruby-toggle-block'.
3148
ba10c48c
SM
31492012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3150
3151 * ibuffer.el (ibuffer-do-toggle-read-only):
3152 * dired.el (dired-toggle-read-only):
3153 * buff-menu.el (Buffer-menu-toggle-read-only):
3154 * bindings.el (mode-line-toggle-read-only):
3155 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3156
9229c658
AS
31572012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3158
3159 * descr-text.el (describe-char): Put the overlays over the
3160 "displayed as" character.
3161
0fd09128
JB
31622012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3163
3164 * calc/calc-units.el (math-default-units-table): Give an
3165 initial value.
3166 (math-put-default-units): Add options to put composite units and
3167 unit systems in the default units table.
3168 (calc-convert-units): Send composite units to
3169 `math-put-default-units' when appropriate.
3170
9ff9402d 31712012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 3172
fbb5e336
GM
3173 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3174
7aacaf15
GM
3175 * tutorial.el (help-with-tutorial):
3176 * emacs-lisp/copyright.el (copyright-update-directory):
3177 * emacs-lisp/autoload.el (autoload-find-generated-file)
3178 (autoload-find-file): Disable local eval: (for insurance).
3179
f40b9f10
GM
3180 * files.el (hack-local-variables-filter): If an eval: form is not
3181 known to be safe, and enable-local-variables is :safe, then ignore
3182 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 3183 This is CVE-2012-3479.
f40b9f10 3184
daa9f1a6
SM
31852012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3186
3187 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3188 (rx-form): Simplify.
3189
9cd80478
DG
31902012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3191
0d9e2599
NN
3192 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3193 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3194 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3195 (ruby-syntax-propertize-function): Adjust for changes in
3196 `ruby-syntax-propertize-heredoc'.
3197
31982012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3199
9cd80478
DG
3200 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3201 binding (use `M-;' instead).
9cd80478 3202 (ruby-singleton-class-p): New function.
0d9e2599 3203 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 3204
d301b413
SM
32052012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3206
3207 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3208
1530c98e
CY
32092012-08-10 Chong Yidong <cyd@gnu.org>
3210
3211 * progmodes/python.el (python-shell-get-process-name): Don't mess
3212 with same-window-buffer-names.
3213
3214 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3215 (eshell-remove-from-window-buffer-names): Make obsolete.
3216 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3217 (eshell): Just use pop-to-buffer-same-window instead.
3218
e1293765
CY
32192012-08-10 Chong Yidong <cyd@gnu.org>
3220
3221 * bindings.el: Bind M-= back to count-words-region.
3222
3223 * simple.el (count-words-region): Accept a prefix arg for acting
3224 on the entire buffer.
3225 (count-words--buffer-message): New helper function.
3226
e1894109
SM
32272012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3228
3229 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3230 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3231 (event-start, event-end): Use posn-at-point to return a more
3232 informative posn.
3233 (posnp): New function.
3234 * mouse.el (popup-menu-normalize-position): Use it.
3235
c69f56a2
MY
32362012-08-10 Masatake YAMATO <yamato@redhat.com>
3237
3238 * mouse.el (popup-menu-normalize-position): New function.
3239 (popup-menu): Use `popup-menu-normalize-position' to normalize
3240 the form for POSITION argument.
3241
3242 * term/x-win.el (x-menu-bar-open):
3243 Use the value returend from (posn-at-point) as position
3244 passed to `popup-menu'.
3245
31673780
JB
32462012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3247
3248 * calc/calccomp.el (math-compose-expr): Add extra argument
3249 indicating that parentheses should be put around products in
3250 denominators. Give multiplication precedence over division during
3251 composition.
3252
dab7711b
CY
32532012-08-09 Chong Yidong <cyd@gnu.org>
3254
dee4ef93
CY
3255 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3256 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3257 (Man-untabify-command, manual-program): Convert to defcustom
3258 (Bug#10429).
3259
73e2bbc5
CY
3260 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3261
3e861c8a
CY
3262 * descr-text.el (describe-char): Don't insert extra newlines
3263 (Bug#10127).
3264
a9f5a649
CY
3265 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3266 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3267
dab7711b
CY
3268 * align.el (align-region): Delete temporary markers (Bug#10047).
3269 Plus some code cleanups.
3270
e0cc4efa
FEG
32712012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3272
3273 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3274 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3275 (python-shell-internal-last-output): Use make-local-variable
3276 instead of make-variable-buffer-local.
3277
489af14f
FEG
32782012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3279
3280 * progmodes/python.el: Enhancements to forward-sexp.
3281 (python-nav-forward-sexp): Rename from
3282 python-nav-forward-sexp-function.
c69f56a2
MY
3283 (python-nav--forward-sexp, python-nav--backward-sexp):
3284 New functions.
489af14f 3285
0fc50303
JB
32862012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3287
3288 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3289 modes and simplification modes.
3290
5d65606a
SM
32912012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3292
3293 * delsel.el (delete-selection-pre-hook): Don't propagate the
3294 file-supersession signals (bug#12161).
3295
4250fdf5
SM
32962012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3297
3298 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3299 (cl-map-extents): Add compatibility aliases (bug#12135).
3300
d9f9b465
MA
33012012-08-08 Michael Albinus <michael.albinus@gmx.de>
3302
3303 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3304 tests by `ignore-error'.
3305 (tramp-find-shell): Open also a new shell, when cache is already
3306 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3307
ce0fcefa
JL
33082012-08-08 Juri Linkov <juri@jurta.org>
3309
3310 * bookmark.el: Add `defaults' property to the bookmark record.
3311 (bookmark-current-buffer): Doc fix.
3312 (bookmark-make-record): Add `defaults' property with default values
3313 to the bookmark record.
3314 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3315 with `bookmark-insert-current-bookmark'.
3316 (bookmark-set): Get `defaults' property from the bookmark record
3317 and use it in `read-from-minibuffer'.
3318 (bookmark-insert-current-bookmark): Remove function.
3319
3320 * info.el (Info-bookmark-make-record): Add `defaults' property
3321 with values of canonical Info node name, the current Info file
3322 name and the current Info node name. (Bug#12107)
3323
53fa8652
JL
33242012-08-08 Juri Linkov <juri@jurta.org>
3325
3326 * files.el (basic-save-buffer): Use `buffer-name' as the default
3327 of `read-file-name' when buffer is not visiting a file (bug#12128).
3328
242c0a95
JL
33292012-08-08 Juri Linkov <juri@jurta.org>
3330
3331 * info.el (Info-isearch-search): Doc fix.
3332 (Info-search): Change search-failed message from "initial node" to
3333 "end of node" (bug#12078).
3334 (Info-isearch-search): Change `isearch-string-state' to
3335 `isearch--state-string'.
3336
32ac3a6b
GM
33372012-08-08 Glenn Morris <rgm@gnu.org>
3338
3339 * language/persian.el: Remove file.
f8c1afd5 3340 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
3341 * loadup.el: Remove language/persian.
3342
2c2d9c9c
OF
33432012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3344
3345 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3346
2d79ec42
FEG
33472012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3348
3349 * progmodes/python.el Fixed defsubst warning.
3350 (python-syntax-context) Rename from python-info-ppss-context.
3351 (python-syntax-context-type): Rename from
3352 python-info-ppss-context-type.
3353 (python-syntax-comment-or-string-p): Rename from
3354 python-info-ppss-comment-or-string-p.
3355
2bd255dd
JB
33562012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3357
3358 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3359
c395097f
AS
33602012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3361
6125983e
AS
3362 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3363 a defcustom that is quoted with backquote.
3364
4250fdf5
SM
3365 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3366 Fix handling of interactive spec when the body uses return.
651eaf36
AS
3367 (math-do-arg-check, math-define-function-body): Use backquote forms.
3368 * calc/calc-ext.el (math-defcache): Likewise.
3369 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3370 * allout.el (allout-new-exposure): Likewise.
3371 * calc/calcalg2.el (math-tracing-integral): Likewise.
3372 * info.el (Info-last-menu-item): Likewise.
3373 * emulation/vip.el (vip-loop): Likewise.
3374 * textmodes/artist.el (artist-funcall): Likewise.
3375 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3376 Construct menu-item directly.
3377
4250fdf5
SM
3378 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3379 Don't declare.
c395097f 3380
5fb50dd3
CY
33812012-08-07 Chong Yidong <cyd@gnu.org>
3382
3383 * simple.el (deactivate-mark): Preserve text properties when
3384 saving the primary selection (Bug#8384).
3385
54eea618
KR
33862012-08-07 Kevin Ryde <user42@zip.com.au>
3387
3388 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3389 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3390 and continue processing (Bug#12110).
3391
638eaeb9
SM
33922012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3393
3394 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3395 syntax-propertize-function (bug#10095).
3396
ea376861
SM
33972012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3398
f91b35be
SM
3399 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3400 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3401 describe-function-1.
3402 (describe-function-1): Use them. Move compiler macro after sig.
3403 (help-fns--compiler-macro): Use function-get. Assume we're already in
3404 standard-output. Adjust layout to new call order.
3405
ea376861
SM
3406 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3407 re-binding a symbol that has a symbol-macro (bug#12119).
3408
d5be7bd0
MB
34092012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3410
3411 * language/persian.el: New file. (Bug#11812)
3412 * loadup.el: Add language/persian.el.
3413
90749b53
CY
34142012-08-06 Chong Yidong <cyd@gnu.org>
3415
3416 * window.el (window--maybe-raise-frame): New function.
3417 (window--display-buffer): Split off from here.
3418 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3419 (display-buffer-pop-up-window, display-buffer-use-some-window):
3420 Obey an inhibit-switch-frame action alist entry.
3421 (display-buffer): Update doc.
3422
3423 * replace.el (occur-after-change-function): Avoid losing focus by
3424 using the inhibit-switch-frame display parameter (Bug#12139).
3425
ba7b0154
FEG
34262012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3427
3428 Make internal shell process buffer names start with space.
3429 * progmodes/python.el (python-shell-make-comint): Add optional
3430 argument INTERNAL.
3431 (run-python-internal): Use it.
3432 (python-shell-internal-get-or-create-process): Check for new
3433 internal buffer names.
3434
5eaeacb5
GM
34352012-08-06 Glenn Morris <rgm@gnu.org>
3436
e296d94b 3437 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
3438 Do less getting and setting of environment variables.
3439
b7ccbdc2
CY
34402012-08-05 Chong Yidong <cyd@gnu.org>
3441
777fe95e
CY
3442 * proced.el (proced): Add substitution string to docstring to
3443 trigger autoloading of the proced library on C-h f (Bug#1768).
3444
4250fdf5
SM
3445 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3446 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
3447
3448 * imenu.el (imenu-generic-expression): Move documentation here
3449 from imenu--generic-function.
3450 (imenu--generic-function): Refer to imenu-generic-expression.
3451
9e3b7800 34522012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
3453
3454 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3455 indentation declaration.
3456 (viper-loop): Add indentation declaration (Bug#7025).
3457
e5d9c0d1
CY
34582012-08-05 Chong Yidong <cyd@gnu.org>
3459
f0422feb
CY
3460 * help-fns.el (describe-variable): Add hyperlink for
3461 directory-local variables files. Improve buffer-local and
3462 permanent-local reporting; suggested by MON KEY (Bug#6644).
3463
3464 * help-mode.el (help-dir-local-var-def): New button type.
3465
e5d9c0d1
CY
3466 * files.el (kill-buffer-hook): Provide a defvar.
3467
a4f2deaa
GM
34682012-08-05 Glenn Morris <rgm@gnu.org>
3469
3470 * eshell/esh-ext.el (eshell/addpath):
3471 Also update eshell-path-env. (Bug#12013)
3472
a9dd5754
CY
34732012-08-05 Chong Yidong <cyd@gnu.org>
3474
a4f2deaa 3475 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 3476
d014c740
CY
3477 * fringe.el (fringe-styles): Add docstring.
3478 (fringe--check-mode): New function.
3479 (set-fringe-mode, set-fringe-style): Use it.
3480 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3481
a9dd5754
CY
3482 * files.el (set-auto-mode): Fix invalid setq call.
3483
7c2dc8bd
SM
34842012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3485
3486 * isearch.el: Misc simplification; use defstruct.
3487 (isearch-mode-map): Dense maps now work like sparse ones.
3488 (isearch--state): New defstruct.
3489 (isearch-string-state, isearch-message-state, isearch-point-state)
3490 (isearch-success-state, isearch-forward-state)
3491 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3492 (isearch-wrapped-state, isearch-barrier-state)
3493 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3494 replaced by defstruct's accessors.
3495 (isearch--set-state): Rename from isearch-top-state and change
3496 calling convention.
3497 (isearch-push-state): Use new isearch--get-state.
3498 (isearch-toggle-word): Disable regexp when enabling word.
3499 (isearch-message-prefix): Remove unused arg _c-q-hack.
3500 (isearch-message-suffix): Remove unused arg _ellipsis.
3501
7fcc0070
AS
35022012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3503
3504 * simple.el (list-processes--refresh): For a server use :host or
3505 :local as the address.
97ad0769 3506 (list-processes): Doc fix.
7fcc0070 3507
a11035b8 35082012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
3509
3510 * lisp/mpc.el: Support password in host argument.
3511 (mpc--proc-connect): Parse and use new password element.
3512 Set mpc-proc variable instead of returning process.
3513 (mpc-proc): Adjust accordingly.
3514
6dad7178
EZ
35152012-08-03 Eli Zaretskii <eliz@gnu.org>
3516
18949c2f
EZ
3517 * whitespace.el (whitespace-display-mappings): Use Unicode
3518 codepoints, instead of emacs-mule codepoints. See
3519 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3520 for the details.
3521
6dad7178
EZ
3522 * files.el (file-truename): Don't skip symlink-chasing part on
3523 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
3524 Windows into the loop that recursively chases symlinks.
3525 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
3526 MS-DOS.
3527
385b0198
CY
35282012-08-03 Chong Yidong <cyd@gnu.org>
3529
6200f3c4
CY
3530 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3531
385b0198
CY
3532 * sort.el (sort-regexp-fields): Doc fix.
3533
b9e74744
TH
35342012-08-03 Tassilo Horn <tsdh@gnu.org>
3535
3536 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3537 labels regex position point at the expected place.
3538
41013cb4
MK
35392012-08-03 MON KEY <monkey@sandpframing.com>
3540
3541 * net/imap.el (imap-interactive-login, imap-authenticate)
3542 (imap-mailbox-lsub, imap-mailbox-list)
3543 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3544 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3545 (imap-parse-response): Doc fix.
3546
0ffee616
JT
35472012-08-03 João Távora <joaotavora@gmail.com>
3548
3549 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3550 if sexp scanning does not move point (Bug#5734).
3551
cfcc9cc8
TH
35522012-08-02 Tassilo Horn <tsdh@gnu.org>
3553
3554 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3555 Add listings, minted, and ctable packages.
3556 (reftex-label-alist-builtin): Move listings, minted, and ctable
3557 entries before LaTeX.
a01bbb84 3558 (reftex-label-alist): Docfix.
cfcc9cc8 3559
66ec2442
BG
35602012-08-02 Bastien Guerry <bzg@gnu.org>
3561
3562 * replace.el (occur): Fix docstring (bug#12122).
3563
837b365b
GM
35642012-08-02 Glenn Morris <rgm@gnu.org>
3565
3566 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3567
e098de97
PE
35682012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3569
3570 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3571 * international/mule-cmds.el: Create
3572 inactivate-current-input-method-function as an obsolete alias for
3573 deactivate-current-input-method-function. See Katsumi Yamaoka in
3574 <http://bugs.gnu.org/10150#46>.
3575
a0f95636
JB
35762012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3577
3578 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3579 of nested `if's.
3580
0d26d7c4
GM
35812012-08-01 Glenn Morris <rgm@gnu.org>
3582
3583 * progmodes/autoconf.el (autoconf-definition-regexp):
3584 Add AH_TEMPLATE, adjust submatch numbering.
3585 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3586 (autoconf-current-defun-function): Update for above change.
3587 (autoconf-current-defun-function): First skip to end of current word.
3588
b686ba06
RS
35892012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3590
3591 * calendar/cal-html.el (cal-html-insert-agenda-days):
3592 Fix typo. (Bug#12018)
3593
0d49da68
FEG
35942012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3595
3596 Shell processes: enhancements to startup and CEDET compatibility.
3597 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3598 (python-shell-make-comint): accept-process-output at startup.
3599 (run-python-internal): Set inferior-python-mode-hook to nil.
3600 (python-shell-internal-get-or-create-process): call sit-for.
3601 (python-preoutput-result): Add obsolete alias.
3602 (python-shell-internal-send-string): Use it.
3603 (python-shell-send-setup-code): Remove call to
3604 accept-process-output.
3605
f1a71c6e
AS
36062012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3607
3608 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3609 (Bug#12108)
3610
d2605269
JB
36112012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3612
3613 * calc-mode.el (calc-basic-simplification-mode): Rename from
3614 `calc-limited-simplification-mode'.
3615 (calc-alg-simplification-mode): New function.
fc0c31f8 3616 (calc-set-simplify-mode): Adjust message.
f1a71c6e 3617
d2605269
JB
3618 * calc.el (calc-set-mode-line): Adjust mode line display for
3619 basic simplification mode.
3620
3621 * calc-help.el (calc-m-prefix-help): Update help message.
3622
3623 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3624 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3625
a3827a43
BG
36262012-07-31 Bastien Guerry <bzg@gnu.org>
3627
3628 * man.el (man): Fix comment. (bug#12101)
3629
502e3f89
MR
36302012-07-31 Martin Rudalics <rudalics@gmx.at>
3631
3632 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3633 Don't return a non-nil value when no suitable buffer was found.
3634
d7714961
FEG
36352012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3636
3637 * progmodes/python.el (run-python-internal): Disable font lock for
3638 internal shells.
3639
1f45e27e
SM
36402012-07-30 Stefan Merten <smerten@oekonux.de>
3641
70efc5c9 3642 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
3643 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3644 (rst-official-version, rst-official-cvs-rev)
3645 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3646 (rst-mode-map): New key binding.
3647
0aee6912
PE
36482012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3649
3650 Update .PHONY listings in makefiles.
3651 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3652 autoloads, update-subdirs, updates, bzr-update, update-authors,
3653 compile-onefile, compile-calc, backup-compiled-files,
3654 compile-after-backup, compile-one-process, mh-autoloads,
3655 bootstrap-clean, distclean, maintainer-clean.
3656
9052f9f0
JB
36572012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3658
1823ac5a
JB
3659 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3660 (calc-set-mode-line): Don't display "AlgSimp ".
3661
3662 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3663 (calc-lim-simplify-mode): New function.
3664 (calc-set-simplify-mode): Default to 'alg.
3665 (calc-default-simplify-mode): Make algebraic simplifications
3666 the default.
3667
3668 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3669 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3670
8d7c7eed 3671 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
3672 indicate new simplification modes.
3673
1823ac5a
JB
3674 * calc/README: Mention new default simplification mode.
3675
9052f9f0
JB
3676 * calc/calc.el (math-normalize-error): New variable.
3677 (math-normalize): Set `math-normalize-error' to t
3678 when there's an error.
3679
3680 * calc/calc-alg.el (math-simplify): Don't simplify when
3681 `math-normalize' returns an error.
3682
20ba0cb4
EZ
36832012-07-29 Eli Zaretskii <eliz@gnu.org>
3684
3685 * international/mule-cmds.el (set-locale-environment): Revert last
3686 change, since display-graphic-p returns nil when this function is
3687 called during startup. Instead...
3688
3689 * term/w32console.el (terminal-init-w32console): ...setup the
3690 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3691
a5dcc929
JL
36922012-07-29 Juri Linkov <juri@jurta.org>
3693
3694 * simple.el (goto-line): Don't display default line number in the
3695 prompt because it should be displayed by `read-number' (bug#9952).
3696 Add the current line number to the defaults of `goto-line' to
3697 allow its easier modification by users with `M-n' (bug#9201).
3698
3699 * subr.el (read-number): Support multiple default values like in
3700 other minibuffer reading functions. Replace `read' with
3701 `string-to-number' for consistency with `number-to-string'.
3702
72b255c7
PE
37032012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3704
3705 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3706 * emulation/viper-init.el (viper-deactivate-input-method-action):
3707 Rename from viper-inactivate-input-method-action.
3708 (viper-deactivate-input-method):
3709 Rename from viper-inactivate-input-method.
3710 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3711 * international/mule-cmds.el (deactivate-input-method):
3712 Rename from inactivate-input-method.
3713 Also run input-method-deactivate-hook.
3714 (deactivate-current-input-method-function):
3715 Rename from inactivate-current-input-method-function.
3716 (input-method-deactivate-hook): New hook.
3717 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
3718 (inactivate-input-method): Mark obsolete.
3719
72b255c7
PE
3720 * international/quail.el (quail-activate):
3721 Also run quail-deactivate-hook.
3722 (quail-deactivate): Rename from quail-inactivate.
3723 * international/robin.el (robin-activate):
3724 Also run robin-deactivate-hook.
3725 (robin-deactivate): Rename from robin-inactivate.
3726
2549c068
CY
37272012-07-29 Chong Yidong <cyd@gnu.org>
3728
3729 * simple.el (indicate-copied-region): New function.
3730 (kill-ring-save): Split off from here.
3731
3732 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3733 (kill-rectangle): Set deactivate-mark to t on read-only error.
3734
3735 * register.el (copy-to-register, copy-rectangle-to-register):
3736 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
3737 (append-to-register, prepend-to-register): Call indicate-copied-region.
3738
37392012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
3740
3741 * simple.el (async-shell-command-buffer): New defcustom.
3742 (shell-command): Use it. (Bug#4719)
3743
01bd1b0d
EZ
37442012-07-28 Eli Zaretskii <eliz@gnu.org>
3745
3746 * international/mule-cmds.el (set-locale-environment): In a
3747 console session on MS-Windows, set up keyboard and terminal
3748 encoding from the OEM codepage, not the ANSI codepage.
3749 (Bug#12055)
3750
a55739d3
CY
37512012-07-28 Chong Yidong <cyd@gnu.org>
3752
3753 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3754 gdb-get-location.
3755
0e1a094f 37562012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
3757
3758 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3759 the alist (bug#12029).
3760
20329d73
EZ
37612012-07-28 Eli Zaretskii <eliz@gnu.org>
3762
3763 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3764 (compile-always, compile-first)
3765 ($(lisp)/calendar/cal-loaddefs.el)
3766 ($(lisp)/calendar/diary-loaddefs.el)
3767 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3768 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3769 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3770 instead of on update-subdirs.
3771 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3772
345a2258
CY
37732012-07-28 Chong Yidong <cyd@gnu.org>
3774
1eee6341
CY
3775 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3776 directory if vc-deduce-backend returns nil (Bug#7350).
3777
345a2258
CY
3778 * simple.el (delete-trailing-lines): New option.
3779 (delete-trailing-whitespace): Obey it (Bug#11879).
3780
049a0936
DE
37812012-07-28 David Engster <deng@randomsample.de>
3782
3783 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3784 Explanation of new 'symbol-qnames feature in doc-strings.
3785 (xml-maybe-do-ns): Return expanded names as plain symbols if
3786 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3787 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3788
aa81af71
FEG
37892012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3790
3791 Consistent completion in inferior python with emacs -nw.
3792 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3793 binding in inferior-python-mode-map with "\t".
3794 (python-shell-completion-complete-at-point)
3795 (python-completion-complete-at-point): Remove interactive spec.
3796
e827b1eb
JB
37972012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3798
3799 * calc/calccomp.el (math-compose-expr): Undo previous change.
3800
a90dfb95
FEG
38012012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3802
4250fdf5 3803 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
3804 run-python.
3805 (python-shell-make-comint): Fix pop-to-buffer call.
3806 (run-python): Autoload. New arg SHOW.
3807 (python-shell-get-or-create-process): Do not pop python process
3808 buffer.
3809
32770973 38102012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
3811
3812 * notifications.el (notifications-on-action-signal)
3813 (notifications-on-closed-signal): Use also the bus address for the map.
3814 (notifications-notify, notifications-close-notification)
fc0c31f8 3815 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 3816
86332df2
TH
38172012-07-27 Tassilo Horn <tsdh@gnu.org>
3818
4250fdf5
SM
3819 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3820 Add support for the lstlisting and minted environments, and for the
86332df2
TH
3821 ctable macro.
3822 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3823 labels written in keyvals syntax.
3824
ca1302a4
JB
38252012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3826
3827 * calc/calccomp.el (math-compose-expr): Use parentheses when
3828 there is a product in the denominator of a fraction.
3829
f8b91036
EZ
38302012-07-26 Eli Zaretskii <eliz@gnu.org>
3831
3832 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3833 ($(lisp)/calendar/diary-loaddefs.el)
3834 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
3835 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3836 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
3837 rewritten while the autoload files are built at the same time,
3838 which needs to load subdirs.el.
3839
c8e5a42c
MR
38402012-07-26 Martin Rudalics <rudalics@gmx.at>
3841
3842 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3843 (mouse-drag-line): Don't exit tracking when a switch-frame or
3844 switch-window event occurs (Bug#12006).
3845
670d85ea
SM
38462012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3847
3848 * mouse.el (popup-menu): Fix last change.
3849
7abaf5cc
SM
38502012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3851
3852 Autoload from Lisp with more care. Follow aliases when looking for
3853 function properties.
3854 * subr.el (autoloadp): New function.
3855 (symbol-file): Use it.
3856 (function-get): New function.
3857 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3858 autoload-do-load.
3859 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3860 (lisp-indent-function):
3861 * emacs-lisp/gv.el (gv-get):
3862 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3863 * emacs-lisp/byte-opt.el (byte-optimize-form):
3864 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3865 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3866 Use function-get.
3867 * emacs-lisp/cl.el: Don't propagate function properties any more.
3868
3869 * speedbar.el (speedbar-add-localized-speedbar-support):
3870 * emacs-lisp/disass.el (disassemble-internal):
3871 * desktop.el (desktop-load-file):
3872 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3873 (describe-function-1):
3874 * emacs-lisp/find-func.el (find-function-noselect):
3875 * emacs-lisp/elp.el (elp-instrument-function):
3876 * emacs-lisp/advice.el (ad-has-proper-definition):
3877 * apropos.el (apropos-safe-documentation, apropos-macrop):
3878 * emacs-lisp/debug.el (debug-on-entry):
3879 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3880 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3881 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3882
b1364986
AA
38832012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3884
3885 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3886 function, not an obsolete variable (Bug#12046).
3887
67ada220
AS
38882012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3889
3890 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3891
f08088e3
CS
38922012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3893
3894 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3895 window only if it is still live (Bug#12034).
3896
8137e7b3
MR
38972012-07-25 Martin Rudalics <rudalics@gmx.at>
3898
3899 * subr.el (redirect-frame-focus): Add advertised calling
3900 convention (Bug#12030).
3901
09ae5da1
PE
39022012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3903
3904 Prefer typical American spelling for "acknowledgment".
3905 * vc/add-log.el (change-log-acknowledgment): Rename from
3906 change-log-acknowledgement, with an alias for the old name.
3907
3cc5a3a8
JB
39082012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3909
3910 * calc-alg.el (math-simplify-divide): Don't cross multiply
3911 in an equation when the lhs is a variable.
3912
b7af7f62
JD
39132012-07-24 Julien Danjou <julien@danjou.info>
3914
3915 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3916 Remove, unused.
3917
ec1b09b1
EZ
39182012-07-23 Eli Zaretskii <eliz@gnu.org>
3919
3920 * startup.el (command-line): Don't display an empty user name in
3921 the error message about non-existent home directory, when
3922 init-file-user was set to an empty string. See
3923 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3924 for the details and context.
3925
b525fd8a
VB
39262012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3927
3928 * ses.el (ses-cell-formula-aset): New macro.
3929 (ses-cell-references-aset): New macro.
3930 (ses-cell-p): New function.
3931 (ses-rename-cell): Do no longer rely on complex operations like
3932 ses-cell-set-formula or ses-set-cell to change the cell and handle
3933 the undo at the same time, but rather use lower level new macros
3934 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 3935 the undo directly. Refresh the mode line.
b525fd8a 3936
2c73e345
LL
39372012-07-21 Leo Liu <sdl.web@gmail.com>
3938
670d85ea
SM
3939 * progmodes/cc-cmds.el (c-defun-name):
3940 Use match-string-no-properties instead for consistency.
2c73e345 3941
542dfbde
LL
39422012-07-20 Leo Liu <sdl.web@gmail.com>
3943
3646bcd6
LL
3944 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3945 (Bug#7879)
3946
542dfbde
LL
3947 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3948
25721031
CY
39492012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3950
3951 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3952 * progmodes/bug-reference.el, misearch.el: Provide themselves
3953 (bug#11915).
3954
3955 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3956 of narrowed buffer (bug#11966).
3957
316e68a7
VB
39582012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3959
3960 * ses.el (ses-rename-cell): Set new name also in reference list of
3961 cells of which the renamed cell depends.
3962
bbf0e7d9
MY
39632012-07-20 Masatake YAMATO <yamato@redhat.com>
3964
3965 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3966 to check whether menu-bar is shown or not. If not shown,
3967 show the menu-bar as a popup menu instead of using tmm.
3968 * mouse.el (popup-menu): Accept `point' as `position' argument.
3969
c28662a8
DG
39702012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3971
3972 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3973 up inside string symbol literal (bug#11923).
3974
87ab808f
EZ
39752012-07-20 Eli Zaretskii <eliz@gnu.org>
3976
3977 * startup.el (fancy-startup-text): Read the whole tutorial, not
3978 just its first 256 bytes. Prevents gibberish in display of the
3979 tutorial title.
3980
89dea803
DA
39812012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3982
3983 Drop idle buffer compaction due to an absence of the
3984 proved efficiency.
3985 * compact.el: Remove.
3986
8a4e6db8
SS
39872012-07-19 Sam Steingold <sds@gnu.org>
3988
3989 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3990 vc-bzr-pull & vc-bzr-merge-branch.
3991 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3992 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3993 for consistency with compilation-error-regexp-alist.
3994 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3995 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3996 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3997 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3998
5db81e33
SM
39992012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4000
4001 * emacs-lisp/chart.el: Use lexical-binding.
4002 (chart-emacs-storage): Don't hardcode the list of entries.
4003
5b835e1d
DA
40042012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4005
4006 Next round of tweaks caused by Fgarbage_collect changes.
4007 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4008
9cd47b72
DA
40092012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4010
4011 Compact buffers when idle.
4012 * compact.el: New file.
4013
1d6fc0df
SM
40142012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4015
4016 * subr.el (eventp): Presume that if it looks vaguely like an event,
4017 it's an event (bug#10190).
4018
1d29cc7d
FEG
40192012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4020
4021 Enhancements to ppss related code (thanks Stefan).
4022 * progmodes/python.el (python-indent-context)
4023 (python-indent-calculate-indentation, python-indent-dedent-line)
4024 (python-indent-electric-colon, python-nav-forward-block)
4025 (python-mode-abbrev-table)
1d6fc0df 4026 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
4027 for ppss context.
4028 (python-info-continuation-line-p): Cleanup.
4029 (python-info-ppss-context): Do not catch 'quote.
4030 (python-info-ppss-context-type)
4031 (python-info-ppss-comment-or-string-p): Simplify.
4032
d583cbe6
FEG
40332012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4034
4035 * progmodes/python.el: Enhancements to eldoc support.
4036 (python-info-current-symbol): New function.
4037 (python-eldoc-at-point): Use python-info-current-symbol.
4038 (python-info-current-defun): Fix cornercase on first defun scan.
4039 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4040 and signal error when no inferior python process is available.
4041
eceb6feb
DG
40422012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4043
4044 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4045 assume it's always t.
4046 (vc-git-registered): Remove caching, the function is only called
4047 once.
4048 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4049
4c8ff0fe
CY
40502012-07-18 Chong Yidong <cyd@gnu.org>
4051
19fb7186
CY
4052 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4053
9587c688
CY
4054 * simple.el (count-words): Report on narrowing (Bug#9959).
4055
0fe776a1
CY
4056 * bindings.el: Bind M-= to count-words.
4057
4c8ff0fe
CY
4058 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4059
7f5331cc
MY
40602012-07-18 Masatake YAMATO <yamato@redhat.com>
4061
4062 * progmodes/sh-script.el (sh-imenu-generic-expression):
4063 Capture a function with `function' keyword and without parentheses
4064 like "function FOO" (bug#11856).
4065
2dc2a609
TH
40662012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4067
4068 * window.el (split-window-sensibly): Make WINDOW argument
4069 optional.
4070
439f7677
CY
40712012-07-18 Chong Yidong <cyd@gnu.org>
4072
9aeb25a6
CY
4073 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4074
439f7677
CY
4075 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4076 and make C-x 8 RET exit isearch (Bug#11439).
4077
4078 * international/iso-transl.el: Move isearch-mode-map key
4079 definitions to isearch.el.
4080
12999ea8
SM
40812012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4082
4083 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4084 (eieio-defclass): Use gv-define-setter when possible.
4085
3ab6e069
DA
40862012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4087
4088 Reflect recent changes in Fgarbage_collect.
4089 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4090 reflect new format of data returned by Fgarbage_collect.
4091
0a60bc10
FEG
40922012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4093
4094 New utility functions + python-info-ppss-context fix (Bug#11910).
4095 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4096 (python-info-ppss-comment-or-string-p): New functions.
4097 (python-info-ppss-context): Small fix for string check.
4098
6dafa0d5
JL
40992012-07-17 Juri Linkov <juri@jurta.org>
4100
4101 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4102 (dired-do-async-shell-command): Don't add `*' at the end of the
4103 command (Bug#11815).
4104 (dired-do-shell-command): Doc fix.
4105 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4106 Join the individual commands using either "&" or ";" as the
4107 separator depending on the values of these trailing characters.
4108 At the end re-add the trailing "&". (Bug#10598)
4109
4110 * simple.el (async-shell-command): Sync the interactive spec with
4111 `shell-command'. Doc fix.
4112 (shell-command): Doc fix.
4113
b19dd9d1
JL
41142012-07-17 Juri Linkov <juri@jurta.org>
4115
4116 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4117
bcdc27d7 41182012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 4119
bcdc27d7 4120 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
4121 * progmodes/python.el (python-nav-beginning-of-statement):
4122 Rename from python-nav-statement-start.
bcdc27d7
FEG
4123 (python-nav-end-of-statement): Rename from
4124 python-nav-statement-end.
4125 (python-nav-beginning-of-block): Rename from
4126 python-nav-block-start.
4127 (python-nav-end-of-block): Rename from python-nav-block-end.
4128
191da00e
FEG
41292012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4130
7f5331cc
MY
4131 * progmodes/python.el (python-shell-send-string-no-output):
4132 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
4133 future interactions (Bug#11868).
4134
4dc7c8d5 41352012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 4136
88ecaf8f
SM
4137 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4138
ef501ef0
SM
4139 * emacs-lisp/elint.el (elint-find-args-in-code):
4140 Use help-function-arglist, so as to handle lexical byte-code.
4141
aa7aaf8f
SM
4142 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4143 change (bug#11826).
4144
45fd731c
SM
41452012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4146
2143fa32
SM
4147 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4148 Avoid spuriously marking the buffer as modified because of c-is-sws.
4149
efc26dbe
SM
4150 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4151 as not-a-comment (bug#11946).
4152
f5695c9a
SM
4153 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4154 for uninterned vars.
4155
4156 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4157 Use read-event since we don't really want to read chars but bytes.
4158
45fd731c
SM
4159 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4160 $$..$$ but also $..$ using regexps (bug#11953).
4161 Use tex-verbatim for \url and \path.
4162 (tex-font-lock-keywords): Define as defconst like the others.
4163 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4164
ddfc8813
RK
41652012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4166
4167 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4168 alias for insert-char.
4169
758e556a
FEG
41702012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4171
4172 * progmodes/python.el: Simplified imenu implementation.
4173 (python-nav-jump-to-defun): Remove command.
4174 (python-mode-map): Use `imenu' instead.
4175 (python-nav-list-defun-positions-cache)
4176 (python-imenu-include-defun-type, python-imenu-make-tree)
4177 (python-imenu-subtree-root-label, python-imenu-index-alist):
4178 Remove vars.
4179 (python-nav-list-defun-positions, python-nav-read-defun)
4180 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
4181 (python-imenu-make-tree, python-imenu-create-index):
4182 Remove functions.
758e556a
FEG
4183 (python-mode): Update to interact with imenu by setting
4184 `imenu-extract-index-name-function' only.
4185
032d23ab
FEG
41862012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4187
4188 * progmodes/python.el: Enhancements to navigation commands.
4189 (python-nav-backward-sentence)
4190 (python-nav-forward-sentence): Remove.
4191 (python-nav-backward-statement, python-nav-forward-statement)
4192 (python-nav-statement-start, python-nav-statement-end)
4193 (python-nav-backward-block, python-nav-forward-block)
4194 (python-nav-block-start, python-nav-block-end)
4195 (python-nav-forward-sexp-function)
4196 (python-info-current-line-comment-p)
4197 (python-info-current-line-empty-p): New functions.
4198 (python-indent-context): Use `python-nav-statement-start'.
4199
01795a1b
MA
42002012-07-16 Michael Albinus <michael.albinus@gmx.de>
4201
9328d9aa
MA
4202 * eshell/em-ls.el (eshell/ls): Use `apply'.
4203
4204 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4205 multi-hops, instead of Tramp internals.
4206
01795a1b
MA
4207 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4208
4209 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4210 when F1 and F2 are located on different hosts.
4211
63408057
CY
42122012-07-14 Chong Yidong <cyd@gnu.org>
4213
4214 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4215 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4216 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4217 (xterm-mouse--read-event-sequence-1000)
4218 (xterm-mouse--read-event-sequence-1006): New functions. For old
4219 mouse protocol, handle M-mouse-X events correctly.
4220 (xterm-mouse-event): New arg specifying mouse protocol.
4221 (turn-on-xterm-mouse-tracking-on-terminal)
4222 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
4223 sequence to toggle extended coordinates on newer XTerms.
4224 This appears to be harmless on terminals which do not support this.
63408057 4225
cd276f6e
LL
42262012-07-14 Leo Liu <sdl.web@gmail.com>
4227
28ca98ac
LL
4228 Add fringe bitmap indicators for flymake. (Bug#11253)
4229 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4230 (flymake-make-overlay): New arg BITMAP.
4231 (flymake-error-bitmap, flymake-warning-bitmap)
4232 (flymake-fringe-indicator-position): New user variables.
4233
cd276f6e
LL
4234 * fringe.el: New bitmap exclamation-mark.
4235
04408072
JD
42362012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4237
4238 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4239 also (Bug#7879).
4240
b5cf7fc4
CY
42412012-07-14 Chong Yidong <cyd@gnu.org>
4242
4243 * electric.el (electric-pair-post-self-insert-function): Fix pair
4244 insertion in empty-region case (Bug#11520).
4245
be755c79
RT
42462012-07-14 Chong Yidong <cyd@gnu.org>
4247
45fd731c
SM
4248 * bindings.el: Consolidate ctl-x-r-map bindings.
4249 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
4250
4251 * rect.el, register.el: Move bindings to bindings.el.
4252
42532012-07-14 Reuben Thomas <rrt@sc3d.org>
4254
4255 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4256
7f5b3198
AS
42572012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4258
4259 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4260
97662200
JB
42612012-07-13 Juanma Barranquero <lekktu@gmail.com>
4262
80185fed
JB
4263 * bindings.el (top): Use `mapc' instead of `mapcar'.
4264
97662200
JB
4265 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4266
2bb1ae55
MA
42672012-07-13 Michael Albinus <michael.albinus@gmx.de>
4268
4269 * progmodes/sql.el (sql-comint): Suppress the check for program on
4270 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4271 (Bug#11908)
4272
dea31bd3
CY
42732012-07-13 Chong Yidong <cyd@gnu.org>
4274
4275 * bindings.el: Assign a non-nil permanent-local property to
4276 per-buffer variables which lack a default value (Bug#11930).
4277
4278 * help-fns.el (describe-variable): In the "automatically becomes
4279 local" notice, take note of permanent-local variables.
4280
b68b3337
CY
42812012-07-13 Chong Yidong <cyd@gnu.org>
4282
4283 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4284 to allow printing the message when called from Lisp.
4285
4286 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4287 Remove toggle-read-only.
4288
4289 * bs.el (bs-toggle-readonly):
45fd731c
SM
4290 * buff-menu.el (Buffer-menu-toggle-read-only):
4291 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
4292
4293 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4294 Remove with-no-warnings around toggle-read-only.
4295 (ffap-read-only, ffap-read-only-other-window)
4296 (ffap-read-only-other-frame): Callers changed.
4297
4298 * help-mode.el: Don't require view package.
4299 (help-mode-finish): Set buffer-read-only instead of calling
4300 toggle-read-only.
4301
4302 * bindings.el (mode-line-toggle-read-only):
4303 * dired.el (dired-toggle-read-only):
4304 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4305 with non-nil second arg.
4306
4307 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4308 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4309 directly.
4310
56bc1586
EZ
43112012-07-12 Eli Zaretskii <eliz@gnu.org>
4312
4313 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4314 not incf.
4315
a464a6c7
SM
43162012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4317
4318 More CL cleanups and reduction of use of cl.el.
4319 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4320 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4321 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4322 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4323 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4324 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4325 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4326 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4327 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4328 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4329 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4330 * eshell/em-cmpl.el, eshell/em-banner.el:
4331 * calendar/parse-time.el: Use cl-lib.
4332 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4333 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4334 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4335 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4336 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4337 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4338 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4339 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4340 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4341 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4342 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4343 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4344 `lambda' rather than with `quote'.
4345 (eshell-do-opt): Adjust accordingly.
4346 (eshell-process-option): Simplify.
4347 * eshell/esh-var.el:
4348 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4349 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4350 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4351 to `pcase--dontcare'.
4352 * emacs-lisp/cl.el (labels): Mark obsolete.
4353 (cl--letf, letf): Move to cl-lib.
4354 (cl--letf*, letf*): Remove.
4355 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4356 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4357 (cl-progv): Rewrite.
4358 (cl--letf, cl-letf): Move from cl.el.
4359 (cl-letf*): New macro.
4360 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4361
7ad4afe1
MA
43622012-07-11 Michael Albinus <michael.albinus@gmx.de>
4363
4364 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4365
9af57756
CY
43662012-07-11 Chong Yidong <cyd@gnu.org>
4367
4368 * vc/log-edit.el (log-edit-vc-backend): New variable.
4369 (log-edit): Doc fix.
4370
4371 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4372 argument of log-edit to set up all local variables.
4373 (vc-start-logentry): New optional arg specifying VC backend.
4374
4375 * vc/vc.el (vc-checkin): Use it.
4376 (vc-deduce-fileset): Handle Log Edit buffers.
4377 (vc-diff): Make first argument optional too.
4378
4379 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4380
8477cc7a
MA
43812012-07-10 Michael Albinus <michael.albinus@gmx.de>
4382
4383 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4384 command, just in case. The function is not needed anymore.
4385 (eshell-external-command): Do not call `eshell-remote-command'.
4386
19faa8e8
SM
43872012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4388
f58e0fd5
SM
4389 Reduce use of (require 'cl).
4390 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4391 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4392 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4393 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4394 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4395 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4396 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4397 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4398 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4399 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4400 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4401 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4402 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4403 (byte-compile-unfold-bcf, byte-compile-check-variable):
4404 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4405 (byte-compile-nilconstp):
4406 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4407 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4408
2519d43a
SM
4409 * emacs-lisp/gv.el (cond): Make it a valid place.
4410 (if): Simplify slightly.
4411
19faa8e8
SM
4412 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4413 (pcase--self-quoting-p): New function.
4414 (pcase--u1): Use it.
4415
c4907a5e
GM
44162012-07-10 Glenn Morris <rgm@gnu.org>
4417
4418 * emacs-lisp/authors.el (authors-fixed-entries):
4419 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4420
c4444d16
PE
44212012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4422
4423 Rename configure.in to configure.ac (Bug#11603).
4424 * emacs-lisp/authors.el (authors-canonical-file-name):
4425 * progmodes/autoconf.el (autoconf-mode):
4426 Prefer configure.ac to configure.in.
4427
d75be97d
CY
44282012-07-08 Chong Yidong <cyd@gnu.org>
4429
01ac65bd
CY
4430 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4431 Implement the mouse-1-click-follows-link handling properly.
4432
4433 * info.el (Info-link-keymap): Use follow-link mechanism for
4434 header-line links (Bug#374).
4435
d75be97d
CY
4436 * simple.el (deactivate-mark): Do not set the primary selection
4437 if another program has acquired it (Bug#11772).
4438
87a92845 44392012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
4440
4441 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4442 (woman-decode-region): Replace escaped-escapes without destroying
4443 bold or underline (Bug#11552).
87a92845 4444 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 4445
621b9d6c
CY
44462012-07-07 Chong Yidong <cyd@gnu.org>
4447
4448 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
4449 (interprogram-cut-function, interprogram-paste-function):
4450 Mention that we typically mean the clipboard.
621b9d6c 4451
133a11fc
GM
44522012-07-06 Glenn Morris <rgm@gnu.org>
4453
0d27a45e
GM
4454 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4455
133a11fc
GM
4456 * files.el (toggle-read-only): Restrict message to interactive use.
4457
07b151f1
MA
44582012-07-06 Michael Albinus <michael.albinus@gmx.de>
4459
4460 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4461
4462 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4463
211b896b
GM
44642012-07-06 Glenn Morris <rgm@gnu.org>
4465
50394322
GM
4466 * Makefile.in (compile-one-process): Rename from "recompile".
4467
211b896b
GM
4468 * Makefile.in (bzr-update): "compile" is the same as "recompile
4469 autoloads", but parallelizable, so use that instead.
4470
4737eec9
DG
44712012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4472
4473 * window.el (quit-window): Always restore window height when
8137e7b3 4474 it's saved in quit-restore parameter (Bug#11810).
4737eec9 4475
226c3633 44762012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
4477
4478 * simple.el (kill-whole-line): Doc tweak.
4479
226c3633 44802012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
4481
4482 * files.el (file-relative-name): Compare file names
4483 case-insensitively if on MS-Windows or MS-DOS, or if
4484 read-file-name-completion-ignore-case is non-nil. Don't use
4485 case-fold-search for this purpose. (Bug#11827)
4486
4dc7c8d5
SM
44872012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4488
4489 * calendar/cal-dst.el (calendar-current-time-zone):
4490 Return calendar-current-time-zone-cache if non-nil.
4491
44922012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 44932012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4494
19faa8e8
SM
4495 * calendar/cal-dst.el (calendar-current-time-zone):
4496 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4497
60198fc9
GM
44982012-07-06 Glenn Morris <rgm@gnu.org>
4499
4500 * Makefile.in (cvs-update): Remove old alias.
4501
957b3189
MA
45022012-07-05 Michael Albinus <michael.albinus@gmx.de>
4503
4504 Sync with Tramp 2.2.6-pre.
4505
4506 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4507 compatible declaration.
4508
19faa8e8
SM
4509 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4510 Protect `list-load-path-shadows' call.
957b3189
MA
4511
4512 * net/tramp-compat.el (top): Require packages, which aren't
4513 autoloaded anymore for XEmacs. Protect call of
4514 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4515 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4516 it hurts at least for SXEmacs.
4517 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4518 standard-value for `temporary-file-directory'.
4519
4520 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4521 Redirect stderr to /dev/null.
4522 (tramp-sh-handle-write-region): uid and gid can be floats.
4523 Reported by Russell Sim <russell.sim@gmail.com>.
4524 (tramp-sh-handle-vc-registered): Hide errors.
4525 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4526 and `start-file-process'.
4527 (tramp-maybe-open-connection): Check also whether `non-essential'
4528 is bound.
4529
566df3fc
CY
45302012-07-04 Chong Yidong <cyd@gnu.org>
4531
4532 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4533 (xml-parse-tag): Likewise, and avoid changing entity tables.
4534 (xml-syntax-table): Define from scratch, making sure not to give
4535 x2000 and other Unicode spaces whitespace syntax, since those are
4536 not spaces in XML.
4537 (xml-parse-fragment): Delete unused function.
4538 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4539 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4540 (xml-entity-ref, xml-pe-reference-re)
4541 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4542 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4543 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4544 (xml-entity-value-re): Use syntax references in regexps where
4545 possible; no need to define inside a let-binding.
4546 (xml-parse-dtd): Use xml-pe-reference-re.
4547 (xml-entity-or-char-ref-re): New defconst.
4548 (xml-parse-string, xml-substitute-special): Use it.
4549
30eabd7a
SM
45502012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4551
0781098a
SM
4552 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4553 (find-file--read-only): New function.
4554 (find-file-read-only, find-file-read-only-other-window)
4555 (find-file-read-only-other-frame): Use it.
4556 (insert-file-contents-literally): Don't `fset'.
4557 (get-free-disk-space): Use locate-dominating-file.
4558
b5771c0d
SM
4559 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4560 function is already compiled.
4561
30eabd7a
SM
4562 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4563
b4886f6e
MA
45642012-07-03 Michael Albinus <michael.albinus@gmx.de>
4565
4566 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4567 files on the same host.
4568
b9d82339
AS
45692012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4570
4571 * help-fns.el (describe-function-1): Only call
4572 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4573
a76e6535
CY
45742012-07-03 Chong Yidong <cyd@gnu.org>
4575
4576 * xml.el: Protect parser against XML bombs.
4577 (xml-entity-expansion-limit): New variable.
4578 (xml-parse-string, xml-substitute-special): Use it.
4579 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4580
b544fef2
GM
45812012-07-03 Glenn Morris <rgm@gnu.org>
4582
4583 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4584 Allow linking to specific messages in debbugs reports (eg 123#5).
4585
a7aef6f5
CY
45862012-07-02 Chong Yidong <cyd@gnu.org>
4587
4588 * xml.el: Fix entity and character reference expansion, allowing
4589 them to expand into markup as per XML spec.
4590 (xml-default-ns): New variable.
4591 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
4592 (xml-parse-region): Make first two arguments optional.
4593 Discard text properties.
4594 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4595 All callers changed.
a7aef6f5
CY
4596 (xml-parse-tag): Call xml-parse-tag-1. For backward
4597 compatibility, this function should not modify buffer contents.
4598 (xml-parse-tag-1): Fix opening-tag regexp.
4599 (xml-parse-string): Rewrite, handling entity and character
4600 references properly.
4601 (xml--entity-replacement-text): Signal an error if a parameter
4602 entity is undefined.
4603
3df31c9f
SM
46042012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4605
2b5208f1
SM
4606 * comint.el (comint-output-filter): Filter out repeated prompts.
4607
3df31c9f
SM
4608 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4609 and file-name-absolute-p.
4610 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4611 internal calls.
4612
e3ac1281
PE
46132012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4614
4615 Spelling fixes.
4616 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4617 Rename from byte-compile--refiy-function. All uses changed.
4618
fbf2e7ad
CY
46192012-07-01 Chong Yidong <cyd@gnu.org>
4620
4621 * xml.el (xml--parse-buffer): New function. Move most of
4622 xml-parse-region here.
4623 (xml-parse-region): Copy region into a temporary buffer, since
4624 parameter entity substitution requires changing buffer contents.
4625 Use xml--parse-buffer.
4626 (xml-parse-file): Use xml--parse-buffer.
4627 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 4628 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 4629
9bf0aa15
GM
46302012-06-30 Glenn Morris <rgm@gnu.org>
4631
bbce2853
GM
4632 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4633
9bf0aa15
GM
4634 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4635 Remove outdated and unnecessary dbus declarations.
4636
0d23c240
EZ
46372012-06-30 Eli Zaretskii <eliz@gnu.org>
4638
4639 * emacs-lisp/timer.el (timer-until): Subtract results of
4640 float-time, instead of taking float-time of the result of
4641 time-subtract, since float-time signals an error for negative time
4642 arguments.
4643
b3218de1
CY
46442012-06-30 Chong Yidong <cyd@gnu.org>
4645
4646 * xml.el (xml-*-re): Convert defvars into defconsts, and
4647 eval-and-compile them so eval-and-compile works on derivatives.
4648 (xml--entity-replacement-text): Use eval-and-comple.
4649
a40c87a0
MA
46502012-06-30 Michael Albinus <michael.albinus@gmx.de>
4651
4652 * vc/vc-git.el (vc-git-registered): Use cache property
4653 `git-registered'.
4654 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4655 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 4656 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 4657
ac87de97
DG
46582012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4659
4660 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 4661 removed (likely outside Emacs). (Bug#11757)
ac87de97 4662
ac10fe06
SM
46632012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4664
3df31c9f 4665 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 4666
7f3fbd5d
CY
46672012-06-30 Chong Yidong <cyd@gnu.org>
4668
4669 * xml.el: Implement XML parameter entities.
4670 (xml-parameter-entity-alist): New variable.
4671 (xml-parse-region, xml-parse-fragment): Preserve previous values
4672 of xml-entity-alist and xml-parameter-entity-alist, so that
4673 repeated calls on different documents do not change them.
4674 (xml-parse-tag): Fix doctype regexp.
4675 (xml--entity-replacement-text): New function.
4676 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4677 properly requires url retrieval which is unimplemented.
4678 (xml-escape-string): Doc fix.
4679
3cfbebba
SM
46802012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4681
4682 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4683
2af3565e
DA
46842012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4685
4686 * fringe.el (fringe-mode): Doc fix.
4687
929df0e7
MA
46882012-06-29 Michael Albinus <michael.albinus@gmx.de>
4689
4690 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4691 is non-nil.
4692 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4693 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4694
c8d3a25c 46952012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4696
c8d3a25c
GM
4697 * calendar/cal-dst.el (calendar-current-time-zone):
4698 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4699
c8d3a25c 47002012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
4701
4702 * progmodes/which-func.el (which-func-format):
4703 Add mouse-face. (Bug#11698)
4704
c8d3a25c
GM
47052012-06-29 Leo Liu <sdl.web@gmail.com>
4706
4707 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4708
47092012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4710
4711 * minibuffer.el (minibuffer-confirm-exit-commands):
4712 Add completion-at-point (bug#11725).
4713
47142012-06-29 Glenn Morris <rgm@gnu.org>
4715
4716 * progmodes/f90.el (f90-font-lock-keywords-2):
4717 Add some preprocessor elements. (Bug#10499)
4718
47192012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4720
4721 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4722 Use syntax-propertize (bug#11739).
4723
2badeec4
JB
47242012-06-28 Juanma Barranquero <lekktu@gmail.com>
4725
4726 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4727
ae4969c2
JD
47282012-06-28 Julien Danjou <julien@danjou.info>
4729
4730 * term.el (term-handle-colors-array): Use a set of new faces to
4731 color the terminal. Also uses :inverse-video property.
4732 (term-default-fg-color): Set to nil by default, deprecate in favor
4733 of `term-face'.
4734 (term-default-bg-color): Set to nil by default, deprecate in favor
4735 of `term-face'.
4736 (term-current-face): Use `term-face' by default.
4737 (term-bold-attribute): Variable deleted.
4738
1c9bd870
GM
47392012-06-28 Glenn Morris <rgm@gnu.org>
4740
4741 * simple.el (completion-list-mode-finish):
4742 Don't use toggle-read-only. (Since completion-list-mode has
4743 a special mode-class, it wasn't doing anything extra anyway.)
4744
c207708c
SM
47452012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4746
4747 Make inlining of other-mode interpreted functions work (bug#11799).
4748 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4749 (byte-compile): Use it to fix compilation of lexical-binding closures.
4750 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4751 function, if needed.
4752
3fd56834
SM
47532012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4754
04901786
SM
4755 * help-mode.el (help-make-xrefs): Don't just withstand
4756 cyclic-variable-indirection but any error in documentation-property.
4757
1ec4b7b2
SM
4758 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4759 memory use.
4760 * bindings.el (bindings--define-key): New function.
4761 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4762 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4763 * bindings.el: Use it to purecopy define-key bindings.
4764
e309e2a5
SM
4765 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4766
d5c6faf9
SM
4767 * emacs-lisp/cl.el (flet): Mark obsolete.
4768 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4769 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4770 * progmodes/js.el (js-c-fill-paragraph):
4771 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4772 (ebrowse-switch-member-buffer-to-derived-class):
4773 * play/5x5.el (5x5-solver): Use cl-flet.
4774
6e9590e2
SM
4775 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4776 (cl--symbol-function): New macro.
4777 (cl--letf, cl--letf*): Use it.
4778
3fd56834
SM
4779 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4780 Strip "toggle-" if any.
4781
35ff222c
GM
47822012-06-27 Glenn Morris <rgm@gnu.org>
4783
1ba6038a
GM
4784 * info.el (Info-default-directory-list): Move here from paths.el.
4785 * paths.el: Remove file, which is now empty.
4786 * loadup.el: No longer load "paths".
4787
0ea0e51b
GM
4788 * custom.el (custom-initialize-delay): Doc fix.
4789
35ff222c
GM
4790 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4791 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4792 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4793 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4794 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4795 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4796 * eshell/eshell.el (eshell-defgroup): Remove alias.
4797
c89926a5
CY
47982012-06-27 Chong Yidong <cyd@gnu.org>
4799
4800 * help.el (help-enable-auto-load): New variable.
4801
4802 * help-fns.el (help-fns--autoloaded-p): New function.
4803 (describe-function-1): Refer to a function as "autoloaded" if it
4804 was autoloaded at any time in the past. Perform autoloading if
4805 help-enable-auto-load is non-nil.
4806
cc06e7e7
EZ
48072012-06-26 Eli Zaretskii <eliz@gnu.org>
4808
4809 * makefile.w32-in (compile, compile-always): Depend on
4810 update-subdirs, not on subdirs.el. Otherwise, several different
4811 sub-targets of 'bootstrap' running in parallel could
4812 simultaneously write to subdirs.el, producing a garbled file.
4813
d2c32364
SS
48142012-06-26 Sam Steingold <sds@gnu.org>
4815
4816 * files.el (file-name-base): New convenience function.
0d14cc21
GM
4817 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4818 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4819 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4820 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4821 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
4822 * textmodes/tex-mode.el: Use it.
4823 Did not touch cedet and org because they are maintained elsewhere.
4824
5cf983b2
MR
48252012-06-26 Martin Rudalics <rudalics@gmx.at>
4826
4827 * calendar/calendar.el (calendar-exit): Don't try to delete or
4828 iconify last frame. See:
4829 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4830
8c4f2952
JD
48312012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4832
4833 * server.el (server-process-filter): Remember dir in the
4834 process's `server-client-directory' properties.
4835
772b2e2c
CY
48362012-06-24 Chong Yidong <cyd@gnu.org>
4837
4838 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4839 non-tag text.
4840
711b11e1
JB
48412012-06-23 Juanma Barranquero <lekktu@gmail.com>
4842
4843 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4844
dc5d230c
SM
48452012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4846
4847 * help-fns.el (describe-variable): Don't croak when doc is not found.
4848 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4849 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4850 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4851 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4852 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4853 ((lambda ..) ..).
4854 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4855
136e1c1d
CY
48562012-06-23 Chong Yidong <cyd@gnu.org>
4857
e8c1cabf
CY
4858 * info.el (Info-mouse-follow-link): Accept symbol values of
4859 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
4860 (Info-fontify-node): Use Info-link-keymap for all navigation
4861 buttons, with link-args property to perform the desired action.
4862 (Info-link-keymap): Doc fix.
4863 (Info-next-link-keymap, Info-prev-link-keymap)
4864 (Info-up-link-keymap): Delete now-unused keymaps.
4865
0e9e6c6a
CY
48662012-06-23 Chong Yidong <cyd@gnu.org>
4867
05e89fea
CY
4868 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4869
0e9e6c6a
CY
4870 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4871 system abbrevs.
4872
4873 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4874
e33c6771
SM
48752012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4876
b68581e2
SM
4877 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4878 (bug#11719).
4879
e33c6771
SM
4880 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4881 the requote function doesn't work properly (bug#11714).
4882
7117e105
GM
48832012-06-23 Glenn Morris <rgm@gnu.org>
4884
4885 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4886
36cec983
SM
48872012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4888
4889 Further GV/CL cleanups.
4890 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4891 gv-expander.
4892 (gv--defun-declaration): New function.
4893 (defun-declarations-alist): Use it.
4894 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4895 (gv-place): Autoload.
4896 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4897 original definition of dotimes and dolist.
4898 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4899 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4900 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4901 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4902 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4903 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4904 to the function's definition.
4905 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4906 * window.el:
4907 * files.el:
4908 * faces.el:
4909 * env.el: Don't use CL.
4910
d35af63c
PE
49112012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4912
4913 Support higher-resolution time stamps (Bug#9000).
4914
4915 * calendar/time-date.el (with-decoded-time-value): New arg
4916 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4917 (encode-time-value): New optional arg PICO. New type 3.
4918 (time-to-seconds) [!float-time]: Support the new picoseconds
4919 component if it's used.
4920 (seconds-to-time, time-subtract, time-add):
4921 Support ps-resolution time stamps as well.
4922
4923 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4924 (timerp): Timer vectors now have length 9, not 8.
4925 (timer--time): Support new-style (4-part) time stamps.
4926 (timer-next-integral-multiple-of-time): Time stamps now have
4927 picosecond resolution, so take a bit more care about rounding.
4928 (timer-relative-time, timer-inc-time): New optional arg psecs.
4929 (timer-set-time-with-usecs): Set psecs to 0.
4930 (timer--activate): Check psecs component, too.
4931
4932 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4933
ac77b21a
SM
49342012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4935
f143bfe3
SM
4936 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4937 Move the non-essential binding to the post/pre-command-hook where it is
4938 more obviously correct.
4939
ac77b21a
SM
4940 * subr.el (read-passwd): Don't use a history at all.
4941 * savehist.el (savehist-save): Remove password saved accidentally
4942 because of the above bug.
4943
76386c5a
BG
49442012-06-22 Bastien Guerry <bzg@gnu.org>
4945
4946 * files.el (toggle-read-only): Display a message telling whether
4947 the buffer is read-only or not (bug#11726).
4948
2ee3d7f0
SM
49492012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4950
4951 * emacs-lisp/gv.el: New file.
4952 * subr.el (push, pop): Extend to generalized variables.
4953 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4954 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4955 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4956 gv-define-simple-setter, and gv-define-expander.
4957 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4958 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4959 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4960 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4961 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4962 gv-letplace.
4963 (cl-defstruct): Don't define setf-method any more.
4964 * emacs-lisp/cl.el (flet): Don't autoload.
4965 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4966 (define-setf-expander, defsetf, define-modify-macro)
4967 (cl-struct-setf-expander): Move from cl-lib.el.
4968 * emacs-lisp/syntax.el:
4969 * emacs-lisp/ewoc.el:
4970 * emacs-lisp/smie.el:
4971 * emacs-lisp/cconv.el:
4972 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4973 (timer--time): Use gv-define-simple-setter.
4974 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4975 to avoid coding-system problems in subr.el. Adjust all users.
4976 (macroexp--maxsize, macroexp-small-p): New functions.
4977 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4978 * scroll-bar.el (scroll-bar-mode):
4979 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4980 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4981 * winner.el (winner-configuration, winner-make-point-alist)
4982 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4983 * files.el (locate-file-completion-table): Avoid list*.
4984
c5695d1d
CY
49852012-06-22 Chong Yidong <cyd@gnu.org>
4986
4987 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4988 (dired-create-files): Doc fix (Bug#11329).
4989 (dired-do-copy): Doc fix (Bug#11334).
4990 (dired-mark-read-string): Doc fix (Bug#11553).
4991
2ee3d7f0
SM
4992 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4993 Doc fix (Bug#11326).
c5695d1d
CY
4994 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4995 (dired-dwim-target): Doc fix.
4996
4997 * wdired.el (wdired-mode): Doc fix.
4998
89b5595a
GM
49992012-06-22 Glenn Morris <rgm@gnu.org>
5000
575db3f1
GM
5001 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5002 (pcmpl-rpm-cache-stamp-file): New constant.
5003 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5004 (pcmpl-rpm-packages): Optionally cache list of packages.
5005
a4c8dd51
GM
5006 * pcmpl-rpm.el (pcmpl-rpm): New group.
5007 (pcmpl-rpm-query-options): New option.
5008 (pcmpl-rpm-packages): No need to inline it.
5009 Use pcmpl-rpm-query-options.
5010
89b5595a
GM
5011 * calendar/calendar.el (calendar-in-read-only-buffer):
5012 Avoid some needless mode changes.
5013
e76f0800
CY
50142012-06-21 Chong Yidong <cyd@gnu.org>
5015
5016 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5017 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 5018 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 5019
297a8f1d
CY
50202012-06-20 Chong Yidong <cyd@gnu.org>
5021
5022 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5023
d34c18b1
DR
50242012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5025
5026 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5027 (bug#11201).
5028
32f7f28e
CY
50292012-06-20 Chong Yidong <cyd@gnu.org>
5030
5031 * term.el (term-window-width): Handle the case of a missing right
5032 fringe (Bug#8837).
5033 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
5034 (term-mode): Use define-derived-mode. Minor cleanups.
5035 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
5036 (term-move-columns, term-insert-char, term-emulate-terminal)
5037 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 5038
493c6688
MA
50392012-06-20 Michael Albinus <michael.albinus@gmx.de>
5040
d34c18b1
DR
5041 * net/ange-ftp.el (ange-ftp-get-passwd):
5042 Bind `enable-recursive-minibuffers'.
493c6688
MA
5043 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5044
3f06ecf4
DR
50452012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5046
5047 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5048
68f12411
GM
50492012-06-19 Glenn Morris <rgm@gnu.org>
5050
5051 * progmodes/python.el (python-mode): Derive from prog-mode.
5052
b3820318
KG
50532012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5054
5055 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5056 (edt-user-menu-bar-update-buffers): New functions.
5057 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5058
c6bf3022
CY
50592012-06-19 Chong Yidong <cyd@gnu.org>
5060
5061 * subr.el (with-selected-window): Preserve the selected window's
5062 terminal's top-frame (Bug#4702).
5063
5064 * window.el (save-selected-window): Likewise.
5065
25f09295
SM
50662012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5067
5068 * progmodes/python.el (python-rx-constituents): Move backquote.
5069 (python-skeleton-define, python-define-auxiliary-skeleton):
5070 Use `declare'.
5071
6b11952a
MA
50722012-06-18 Michael Albinus <michael.albinus@gmx.de>
5073
5074 * minibuffer.el (read-file-name-default): Revert the patch from
5075 2012-06-17.
5076
ee4b1330
SM
50772012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5078
5079 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5080 (pcase--u1, pcase--q1): Don't use apply-partially.
5081
35647f79
GM
50822012-06-18 Glenn Morris <rgm@gnu.org>
5083
5084 * progmodes/python.el (python-proc, python-buffer)
5085 (python-send-receive, python-send-string): Fix obsolete versions.
5086
24b0cff0
MR
50872012-06-18 Martin Rudalics <rudalics@gmx.at>
5088
5089 * window.el (special-display-p): Completely remove stringp
5090 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5091
29855149
MA
50922012-06-17 Michael Albinus <michael.albinus@gmx.de>
5093
5094 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5095
5096 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5097
5098 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5099 * net/tramp-sh.el (tramp-maybe-open-connection):
5100 Throw if `non-essential' is non-nil.
5101
07463363
MR
51022012-06-17 Martin Rudalics <rudalics@gmx.at>
5103
5104 * window.el (special-display-p): Signal an error if BUFFER-NAME
5105 is not a string (Bug#11713).
5106
48d1354e
PE
51072012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5108
5109 * progmodes/python.el (python-info-beginning-of-backslash):
5110 Rename from python-info-beginning-of-backlash, as a spelling fix.
5111
eb4a8a9a
CY
51122012-06-17 Chong Yidong <cyd@gnu.org>
5113
5114 * term.el (term-emulate-terminal): If term-check-size is called,
5115 move point to the process mark without resetting point (Bug#4635).
5116
ddfbf826 51172012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
5118
5119 * international/mule-cmds.el (mule-menu-keymap)
5120 (set-language-environment, set-locale-environment): Doc tweaks.
5121
9b0e3eba
AA
51222012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5123
5124 * cus-face.el (custom-face-attributes): Add wave-style underline
5125 attribute.
5126 * faces.el (set-face-attribute): Update docstring to describe
5127 wave-style underline attribute.
5128
771e3eae
CY
51292012-06-16 Chong Yidong <cyd@gnu.org>
5130
5131 * term/xterm.el (terminal-init-xterm): Discard input before
5132 querying background mode (Bug#10959).
5133
7ae2ea10
SM
51342012-06-16 Stefan Merten <smerten@oekonux.de>
5135
5136 * textmodes/rst.el: Added and corrected some comments.
5137 (rst-re-alist-def): Improve symbol syntax.
5138 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
5139 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5140 (rst-official-version, rst-official-cvs-rev): Update version
5141 information.
7ae2ea10 5142
b6974efa
JB
51432012-06-15 Juanma Barranquero <lekktu@gmail.com>
5144
5145 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5146 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5147
8826d473
GM
51482012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5149
5150 * progmodes/python.el: New python.el merge.
5151 (python-guess-indent): Obsolete var.
5152 (python-indent-guess-indent-offset): New defcustom.
5153 (python-indent): Obsolete var.
5154 (python-indent-offset): New defcustom.
5155 (python-python-command, python-jython-command): Delete var.
5156 (python-shell-interpreter): New defcustom.
5157 (python-pdbtrack-do-tracking-p): Delete var.
5158 (python-pdbtrack-activate): New defcustom.
5159 (python-use-skeletons): Obsolete var.
5160 (python-skeleton-autoinsert): New defcustom.
5161 (inferior-python-filter-regexp, python-continuation-offset)
5162 (python-honour-comment-indentation, python-indent-string-contents)
5163 (python-jython-packages, python-mode-hook)
5164 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5165 (python-shell-prompt-alist)
5166 (python-source-modes): Delete defcustoms.
5167 (python-check-buffer-name, python-eldoc-setup-code)
5168 (python-eldoc-string-code, python-ffap-setup-code)
5169 (python-ffap-string-code, python-fill-comment-function)
5170 (python-fill-decorator-function, python-fill-paren-function)
5171 (python-fill-string-function, python-imenu-include-defun-type)
5172 (python-imenu-make-tree, python-imenu-subtree-root-label)
5173 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5174 (python-shell-compilation-regexp-alist)
5175 (python-shell-completion-module-string-code)
5176 (python-shell-completion-pdb-string-code)
5177 (python-shell-completion-setup-code)
5178 (python-shell-completion-string-code)
5179 (python-shell-enable-font-lock, python-shell-exec-path)
5180 (python-shell-extra-pythonpaths)
5181 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5182 (python-shell-process-environment)
5183 (python-shell-prompt-block-regexp)
5184 (python-shell-prompt-output-regexp)
5185 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5186 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5187 (python-shell-virtualenv-path): New defcustoms.
5188 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5189 (inferior-python-mode-syntax-table, python--prompt-regexp)
5190 (python-buffer, python-command python-python-command)
5191 (python-default-template, python-imports, python-indent-index)
5192 (python-indent-list, python-indent-list-length)
5193 (python-mode-running, python-pdbtrack-is-tracking-p)
5194 (python-preoutput-continuation, python-preoutput-leftover)
5195 (python-preoutput-result, python-preoutput-skip-next-prompt)
5196 (python-prev-dir/file, python-recursing)
5197 (python-saved-check-command, python-version-checked)
5198 (python-which-func-length-limit)
5199 (view-return-to-alist): Delete vars.
5200 (python-check-custom-command, python-dotty-syntax-table)
5201 (python-imenu-index-alist, python-indent-current-level)
5202 (python-indent-dedenters, python-indent-levels)
5203 (python-nav-beginning-of-defun-regexp)
5204 (python-nav-list-defun-positions-cache)
5205 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5206 (python-shell-internal-buffer)
5207 (python-skeleton-available): New vars.
5208 (def-python-skeleton): Delete macro.
5209 (python-skeleton-define): New macro.
5210 (python-define-auxiliary-skeleton, python-rx): New macros.
5211 (python-insert-class): Delete command.
5212 (python-skeleton-class): New command.
5213 (python-insert-def): Delete command.
5214 (python-skeleton-def): New command.
5215 (python-insert-for): Delete command.
5216 (python-skeleton-for): New command.
5217 (python-insert-if): Delete command.
5218 (python-skeleton-if): New command.
5219 (python-insert-try/except, python-insert-try/finally): Delete commands.
5220 (python-skeleton-try): New command.
5221 (python-insert-while): Delete command.
5222 (python-skeleton-while): New command.
5223 (python-backspace): Delete command.
5224 (python-indent-dedent-line-backspace): New command.
5225 (python-electric-colon): Delete command.
5226 (python-indent-electric-colon): New command.
5227 (python-guess-indent): Delete command.
5228 (python-indent-guess-indent-offset): New command.
5229 (python-shift-left): Delete command.
5230 (python-indent-shift-left): New command.
5231 (python-shift-right): Delete command.
5232 (python-indent-shift-right): New command.
5233 (python-find-function): Delete command.
5234 (python-nav-jump-to-defun): New command.
5235 (python-next-statement): Delete command.
5236 (python-nav-forward-sentence): New command.
5237 (python-previous-statement): Delete command.
5238 (python-nav-backward-sentence): New command.
5239 (python-fill-paragraph): Delete command.
5240 (python-fill-paragraph-function): New command.
5241 (python-send-buffer): Delete command.
5242 (python-shell-send-buffer): New command.
5243 (python-send-defun): Delete command.
5244 (python-shell-send-defun): New command.
5245 (python-send-region, python-send-region-and-go): Delete commands.
5246 (python-shell-send-region)
5247 (python-shell-switch-to-shell): New commands.
5248 (python-send-string): Delete command.
5249 (python-shell-send-string): New command.
5250 (python-switch-to-python): Delete command.
5251 (python-shell-switch-to-shell): New command.
5252 (python-describe-symbol): Delete command.
5253 (python-eldoc-at-point): New command.
5254 (python--set-prompt-regexp, python-args-to-list)
5255 (python-after-info-look, python-check-version)
5256 (python-check-comint-prompt, python-find-imports)
5257 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5258 (python-unload-function, python-expand-template)
5259 (python-maybe-jython, python-preoutput-filter)
5260 (python-pdbtrack-get-source-buffer)
5261 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5262 (python-pdbtrack-toggle-stack-tracking)
5263 (python-pdbtrack-track-stack-file, python-initial-text)
5264 (python-first-word, python-comment-line-p, python-send-command)
5265 (python-setup-brm, python-sentinel, python-set-proc)
5266 (python-skip-out, python-input-filter, python-outdent-p)
5267 (python-outline-level, python-backslash-continuation-line-p)
5268 (python-end-of-block, python-end-of-statement, python-mark-block)
5269 (python-beginning-of-block, python-beginning-of-statement)
5270 (python-blank-line-p, python-beginning-of-string)
5271 (python-open-block-statement-p): Delete functions.
5272 (python-indent-line, python-indent-line-1): Delete functions.
5273 (python-indent-line): New function.
5274 (python-indentation-levels): Delete function.
5275 (python-indent-calculate-levels): New function.
5276 (python-proc): Delete function.
5277 (python-shell-get-process): New function.
5278 (python-send-receive): Delete function.
5279 (python-shell-send-string-no-output): New function.
5280 (python-module-path): Delete function.
5281 (python-ffap-module-path): New function.
5282 (python-completion-at-point)
5283 (python-symbol-completions): Delete functions.
5284 (python-completion-complete-at-point): New function.
5285 (python-load-file): Delete function.
5286 (python-shell-send-file): New function.
5287 (python-calculate-indentation): Delete function.
5288 (python-indent-calculate-indentation): New function.
5289 (python-skip-comments/blanks): Delete function.
5290 (python-util-forward-comment): New function.
5291 (python-continuation-line-p): Delete function.
5292 (python-info-continuation-line-p): New function.
5293 (python-which-func, python-current-defun): Delete function.
5294 (python-info-current-defun): New function.
5295 (python-beginning-of-defun): Delete function.
5296 (python-nav-beginning-of-defun): New function.
5297 (python-close-block-statement-p)
5298 (python-block-end-p): Delete function.
5299 (python-info-closing-block): New function.
5300 (python-comint-output-filter-function)
5301 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5302 (python-fill-comment, python-fill-decorator, python-fill-paren)
5303 (python-fill-string, python-imenu-make-element-tree)
5304 (python-imenu-make-tree, python-imenu-tree-assoc)
5305 (python-indent-context, python-indent-dedent-line)
5306 (python-indent-line-function)
5307 (python-indent-post-self-insert-function)
5308 (python-indent-toggle-levels)
5309 (python-info-assignment-continuation-line-p)
5310 (python-info-beginning-of-backlash)
5311 (python-info-block-continuation-line-p)
5312 (python-info-closing-block-message)
5313 (python-info-line-ends-backslash-p)
5314 (python-info-looking-at-beginning-of-defun)
5315 (python-info-ppss-context, python-info-ppss-context-type)
5316 (python-nav-list-defun-positions, python-nav-read-defun)
5317 (python-nav-sentence-end, python-nav-sentence-start)
5318 (python-pdbtrack-comint-output-filter-function)
5319 (python-pdbtrack-set-tracked-buffer)
5320 (python-shell-calculate-exec-path)
5321 (python-shell-calculate-process-environment)
5322 (python-shell-completion--do-completion-at-point)
5323 (python-shell-completion--get-completions)
5324 (python-shell-completion-complete-at-point)
5325 (python-shell-completion-complete-or-indent)
5326 (python-shell-get-or-create-process)
5327 (python-shell-get-process-name)
5328 (python-shell-internal-get-or-create-process)
5329 (python-shell-internal-get-process-name)
5330 (python-shell-internal-send-string, python-shell-make-comint)
5331 (python-shell-parse-command, python-shell-send-setup-code)
5332 (python-skeleton-add-menu-items)
5333 (python-util-clone-local-variables, python-util-position)
5334 (run-python-internal, python-indentation-levels)
5335 (python-nav-beginning-of-defun)
5336 (python-completion-complete-at-point): New functions.
5337 (run-python): Change arguments. New API requirements.
5338
4302f5ba
SM
53392012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5340
f38ea36d
SM
5341 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5342 (bug#11649).
5343
5344 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5345 (macroexp--expand-all): Use it.
5346
4302f5ba
SM
5347 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5348 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5349 Use `cl-function' instead.
5350
33377562
JB
53512012-06-14 Juanma Barranquero <lekktu@gmail.com>
5352
5353 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5354 Suggested by Stefan Monnier while discussing bug#11657.
5355
54c5ba1a
SS
53562012-06-14 Sam Steingold <sds@gnu.org>
5357
5358 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5359
f9f1b1fe
AS
53602012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5361
5362 * play/doctor.el (doctor-doc): Remove parameter and use
5363 doctor-sent instead of sent.
5364 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5365
a81068ba
SM
53662012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5367
5a315f9c
SM
5368 * files.el: Require cl-lib.
5369 (file-name-non-special): Replace case -> cl-case.
5370
5371 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5372
a81068ba
SM
5373 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5374 mapping from #' to function*.
5375
8cca9703
CY
53762012-06-13 Chong Yidong <cyd@gnu.org>
5377
5378 * mouse.el (mouse-drag-track): Do not set the mark if the user
5379 releases the mouse without selecting anything (Bug#11588).
5380
a12ac9d7
SM
53812012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5382
ccf1dc18
SM
5383 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5384 as well (bug#11646).
5385
ef62b23d
SM
5386 * loadup.el: Count byte-code functions as well.
5387
c4c8444a
SM
5388 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5389 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5390
a12ac9d7
SM
5391 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5392 (bug#11649). Add cl-defun and cl-defmacro.
5393
87e6e64f
DA
53942012-06-13 Drew Adams <drew.adams@oracle.com>
5395
5396 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5397 Fix last change.
5398
682cefaf
MA
53992012-06-13 Michael Albinus <michael.albinus@gmx.de>
5400
5401 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5402 Otherwise, it blocks in batch mode.
5403
773e1f08
JB
54042012-06-13 Juanma Barranquero <lekktu@gmail.com>
5405
5406 * help-mode.el (bookmark-make-record-default): Declare.
5407
60057926
CY
54082012-06-13 Chong Yidong <cyd@gnu.org>
5409
5410 * emacs-lisp/package.el (list-packages): Compute a list of
5411 packages that are newly-available since the last list-packages
5412 invocation.
5413 (package-menu--new-package-list): New var.
5414 (package-menu--generate, package-menu--print-info)
5415 (package-menu--status-predicate, package-menu-mark-install):
5416 Handle new status label "new".
5417
ad4d226c
SM
54182012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5419
5420 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5421 conversion to backquotes.
5422
f1a4e679
CY
54232012-06-12 Chong Yidong <cyd@gnu.org>
5424
5425 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5426 Rename from gud-inhibit-global-bindings.
5427
5428 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5429
5430 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5431 hook from nxml-glyph-set-hook.
5432
5433 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5434 declaration.
5435
5436 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5437
5438 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5439 Convert to defcustom.
5440
0c9e42b5
DA
54412012-06-12 Drew Adams <drew.adams@oracle.com>
5442
5443 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5444 New functions.
5445 (help-mode): Use them.
5446
09e06855
GM
54472012-06-11 Glenn Morris <rgm@gnu.org>
5448
5449 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5450 Use preprocessor face for directives.
5451 (fortran-directive-re): Doc fix.
5452
71adb94b
SM
54532012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5454
2eb87922
SM
5455 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5456 conversion to backquotes (bug#11652).
5457
71adb94b
SM
5458 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5459 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5460 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5461 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5462 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5463 (cl-ninth, cl-tenth): Mark them as inlinable.
5464 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5465 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5466 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5467 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5468 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5469 (cl-list*, cl-adjoin): Don't put an autoload manually.
5470 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5471 (cl--compiler-macro-list*): Add autoload cookie.
5472 (cl--compiler-macro-cXXr): New function.
2eb87922 5473
71adb94b
SM
5474 * help-fns.el (help-fns--compiler-macro): New function extracted from
5475 describe-function-1; follow aliases and use `compiler-macro' property.
5476 (describe-function-1): Use it.
5477
a6674402
CY
54782012-06-11 Chong Yidong <cyd@gnu.org>
5479
5480 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5481 is uninstalled, if imagemagick is installed.
5482
bb3faf5b
SM
54832012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5484
5485 * emacs-lisp/cl-lib.el: Use lexical-binding.
5486 (cl-map-extents, cl-maclisp-member): Remove.
5487 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5488 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5489 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5490 * emacs-lisp/cl-extra.el: Use lexical-binding.
5491 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5492 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5493 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5494 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5495 * emacs-lisp/cl-seq.el: Use lexical-binding.
5496 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5497 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5498 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5499 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5500 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5501 CL's internals.
5502
2fe4b125
MA
55032012-06-11 Michael Albinus <michael.albinus@gmx.de>
5504
5505 Sync with Tramp 2.2.6-pre.
5506
5507 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5508 `print-length' and `print-level' to nil, in order to avoid
5509 truncation. Reported by Christopher Schmidt
5510 <christopher@ristopher.com>.
5511
5512 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5513
5514 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5515 New defmacro.
5516 (tramp-compat-copy-directory): Add optional argument
5517 COPY-CONTENTS. It is not handled yet.
5518
5519 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5520 (tramp-ftp-file-name-p): Simplify.
5521
5522 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5523 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5524 connection vector.
5525
5526 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5527 (tramp-methods): Do not use `tramp-password-end-of-line'.
5528 (tramp-completion-function-alist-putty): Handle UNIX case.
5529 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5530 (tramp-do-file-attributes-with-stat)
5531 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5532 gid as real numbers. They could run out of integer range on cygwin.
5533 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5534 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
5535 (tramp-open-connection-setup-interactive-shell):
5536 Use `tramp-cleanup'. Move check for busyboxes ...
5537 (tramp-find-shell): ... here. Simplify implementation.
5538 Set "remote-shell" property also for alternative shells.
5539 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5540 If failing, a regular file would be written otherwise.
5541 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
5542 (tramp-find-inline-encoding): Cache the coding commands in the
5543 process cache. Apply test command on the remote side, if defined.
5544 (tramp-find-inline-compress): Cache the compress commands in the
5545 process cache.
5546 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5547 when requested. Handle hops.
5548 (tramp-current-connection): New defvar.
87e6e64f
DA
5549 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5550 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 5551 Handle user interrupt. (Bug#10187)
87e6e64f
DA
5552 (tramp-get-inline-compress, tramp-get-inline-coding):
5553 Read connection properties from the process cache.
2fe4b125
MA
5554
5555 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
5556 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5557 New defconsts.
2fe4b125
MA
5558 (tramp-smb-prompt): Extend for powershell prompt.
5559 (tramp-smb-file-name-handler-alist): Add handlers for
5560 `process-file', `shell-command' and `start-file-process'.
5561 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5562 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5563 (tramp-smb-file-name-p): Simplify.
5564 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5565 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5566 (tramp-smb-shell-quote-argument): New defuns.
5567 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5568 Implement using "tar". By this, time-stamps are preserved.
5569 (tramp-smb-handle-copy-file): Handle also the case of directories.
5570 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
5571 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5572 Use `tramp-get-connection-buffer').
2fe4b125
MA
5573 (tramp-smb-handle-rename-file): Use "rename", when source and
5574 target are on the same share.
87e6e64f
DA
5575 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5576 Use `tramp-smb-server-version'.
2fe4b125
MA
5577 (tramp-smb-wait-for-output): Remove prompt.
5578
5579 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
5580 (tramp-methods, tramp-rsh-end-of-line):
5581 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
5582 (tramp-save-ad-hoc-proxies): New defcustom.
5583 (tramp-completion-function-alist): Adapt docstring.
5584 (tramp-default-password-end-of-line): Remove defcustom.
5585 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5586 (tramp-user-regexp, tramp-file-name-regexp-unified)
5587 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5588 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5589 (tramp-remote-file-name-spec-regexp): New defconst.
5590 (tramp-file-name-structure): Extend structure for hops.
5591 (tramp-get-method-parameter): Move up.
5592 (tramp-file-name-p, tramp-dissect-file-name)
5593 (with-parsed-tramp-file-name): Handle hops.
5594 (tramp-file-name-hop): New defun.
5595 (tramp-make-tramp-file-name): New optional arg HOP.
5596 (tramp-message-show-progress-reporter-message): New defvar.
5597 (tramp-with-progress-reporter): Use it. We cannot use
5598 `tramp-message-show-message' here, because this suppresses also
5599 error buffers.
5600 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
5601 `tramp-message-show-message' is nil.
5602 Use `tramp-get-connection-buffer'.
2fe4b125
MA
5603 (tramp-cleanup): New defun.
5604 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5605 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5606 an error unchanged.
5607 (tramp-completion-handle-file-name-all-completions): Handle hops.
5608 Fix an error when called from ido.
5609 (tramp-completion-dissect-file-name): Use better local variable
5610 name. Add hop to the vector.
5611 (tramp-handle-insert-file-contents): Use progress-reporter for the
5612 whole scenario.
5613 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5614 to `t'.
5615 (tramp-check-for-regexp): Simplify search.
5616 (tramp-enter-password): Remove it. Move implementation ...
5617 (tramp-action-password): ... here.
5618 (tramp-mode-string-to-int, tramp-local-host-p)
5619 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
5620 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5621 Set tramp-autoload cookie.
2fe4b125
MA
5622
5623 * net/trampver.el: Update release number.
5624
56252012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5626 Michael Albinus <michael.albinus@gmx.de>
5627
5628 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5629 (tramp-parse-group, tramp-parse-file)
5630 (tramp-parse-shostkeys-sknownhosts): New defuns.
5631 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5632 (tramp-parse-shosts-group, tramp-parse-sconfig)
5633 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5634 (tramp-parse-sknownhosts, tramp-parse-hosts)
5635 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5636 Use them.
5637 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5638 (tramp-parse-putty-group): Don't narrow.
5639 (tramp-parse-putty): Make a loop.
5640 (tramp-file-name-handler): Catch the `suppress' signal.
5641
72834e10
CY
56422012-06-11 Chong Yidong <cyd@gnu.org>
5643
5644 * image.el (imagemagick-register-types): Put the ImageMagick entry
5645 at the end of image-type-file-name-regexps.
5646
a4712e11
JB
56472012-06-11 Johan Bockgård <bojohan@gnu.org>
5648
5649 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5650 (pcase, pcase-let*, pcase-dolist): Use them.
5651
82ad98e3
SM
56522012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5653
5654 * emacs-lisp/pcase.el (pcase--let*): New function.
5655 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5656 (pcase--expand): Use macroexp-let².
5657
f80efb86
SM
56582012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5659
5660 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5661 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5662 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5663 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5664 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5665 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5666
31ca4639 56672012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 5668
31ca4639
CY
5669 * mail/rmail.el (rmail-yank-current-message): Leave point at
5670 correct position. (Bug#11660)
94f0aa34 5671
31ca4639 56722012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 5673
31ca4639 5674 * allout-widgets.el: Fix code header.
9e1b8ec4 5675
31ca4639 56762012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 5677
f80efb86
SM
5678 * cus-edit.el (customize-changed-options-previous-release):
5679 Bump to 24.1.
31ca4639 5680
642b6d30
AS
56812012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5682
5683 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5684
4f5d2ba1
CY
56852012-06-09 Chong Yidong <cyd@gnu.org>
5686
5687 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5688
e75852fd
MR
56892012-06-09 Martin Rudalics <rudalics@gmx.at>
5690
5691 * window.el (special-display-popup-frame): Don't use
5692 window--display-buffer (Bug#11651).
5693
1e48e282
EZ
56942012-06-09 Eli Zaretskii <eliz@gnu.org>
5695
8a26b487
EZ
5696 Fix parallel builds: make sure loaddefs.el is not being written
5697 while Lisp files are compiled.
5698 (compile): Don't depend on 'mh-autoloads'.
5699 (compile-CMD, compile-SH): Depend on 'autoloads'.
5700 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5701
1e48e282
EZ
5702 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5703
6175e34b
CY
57042012-06-09 Chong Yidong <cyd@gnu.org>
5705
5706 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5707 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5708 Doc fixes (Bug#11225).
5709
d9857e53
SM
57102012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5711
5712 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5713 a function if there's a clear indication that it has a compiler-macro.
5714 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5715 (macro-declarations-alist): Add arglist to declaration functions.
5716 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5717 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5718 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5719 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5720 Also add autoload to find the compiler macro.
5721 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5722 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5723 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5724 (cl--compiler-macro-get): New functions, replacing calls to
5725 cl-define-compiler-macro.
5726 (cl-typep) [compiler-macro]: Use macroexp-let².
5727
f81298f8 57282012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
5729
5730 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5731 string properly, fixes Bug#11473.
5732
4b56d0fe
CY
57332012-06-08 Chong Yidong <cyd@gnu.org>
5734
5735 * faces.el (set-face-attribute): Doc fix.
5736 (modify-face): Don't use :bold and :italic.
5737 (error, warning, success): Tweak definitions.
5738
5739 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5740 (custom-modified, custom-set, custom-changed, custom-themed)
5741 (custom-saved, custom-button, custom-button-mouse)
5742 (custom-button-pressed, custom-state, custom-comment-tag)
5743 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5744 (custom-group-subtitle): Use new-style face specs.
5745 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5746 (custom-set-face, custom-changed-face, custom-saved-face)
5747 (custom-button-face, custom-button-pressed-face)
5748 (custom-documentation-face, custom-state-face)
5749 (custom-comment-face, custom-comment-tag-face)
5750 (custom-variable-tag-face, custom-variable-button-face)
5751 (custom-face-tag-face, custom-group-tag-face-1)
5752 (custom-group-tag-face): Remove obsolete face alias.
5753
5754 * epa.el (epa-validity-high, epa-validity-medium)
5755 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5756 (epa-field-name, epa-field-body):
5757 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5758 (font-lock-keyword-face, font-lock-builtin-face)
5759 (font-lock-function-name-face, font-lock-variable-name-face)
5760 (font-lock-type-face, font-lock-constant-face):
5761 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5762 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5763 * speedbar.el (speedbar-button-face, speedbar-file-face)
5764 (speedbar-directory-face, speedbar-tag-face)
5765 (speedbar-selected-face, speedbar-highlight-face)
5766 (speedbar-separator-face):
5767 * whitespace.el (whitespace-newline, whitespace-space)
5768 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5769 (whitespace-line, whitespace-space-before-tab)
5770 (whitespace-space-after-tab, whitespace-indentation)
5771 (whitespace-empty):
5772 * emulation/cua-base.el (cua-global-mark):
5773 * eshell/em-prompt.el (eshell-prompt):
5774 * net/newst-plainview.el (newsticker-new-item-face)
5775 (newsticker-old-item-face, newsticker-immortal-item-face)
5776 (newsticker-obsolete-item-face, newsticker-date-face)
5777 (newsticker-statistics-face, newsticker-default-face):
5778 * net/newst-reader.el (newsticker-feed-face)
5779 (newsticker-extra-face, newsticker-enclosure-face):
5780 * net/newst-treeview.el (newsticker-treeview-face)
5781 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5782 (newsticker-treeview-immortal-face)
5783 (newsticker-treeview-obsolete-face)
5784 (newsticker-treeview-selection-face):
5785 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5786 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5787 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5788 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5789 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5790 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5791 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5792 (mpuz-text):
5793 * progmodes/vera-mode.el (vera-font-lock-number)
5794 (vera-font-lock-function, vera-font-lock-interface):
5795 * textmodes/table.el (table-cell): Use new-style face specs, and
5796 don't use the old :bold and :italic attributes.
5797
5798 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5799 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5800 (ebrowse-member-class, ebrowse-progress): Likewise.
5801 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5802 (ebrowse-file-name-face, ebrowse-default-face)
5803 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5804 (ebrowse-progress-face): Remove obsolete faces.
5805
5806 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5807 Inherit from error and warning faces respectively.
5808
5809 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5810 Likewise.
f80efb86
SM
5811 (flyspell-incorrect-face, flyspell-duplicate-face):
5812 Remove obsolete aliases.
4b56d0fe 5813
03310646
MA
58142012-06-08 Michael Albinus <michael.albinus@gmx.de>
5815
5816 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5817 Avoid infloop.
5818
513749ee
SM
58192012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5820
5821 * startup.el (argv, argi): Make lexically scoped.
5822 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5823 * emacs-lisp/cl-macs.el: Use lexical-binding.
5824 Rename cl-bind-* to cl--bind-*.
5825 * files.el: Don't require `cl' since it doesn't use it.
5826 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5827
595ef4ad
JB
58282012-06-08 Juanma Barranquero <lekktu@gmail.com>
5829
5830 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5831 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5832 instead of calling external sort utility.
5833 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5834
e9f66fcb
EZ
58352012-06-08 Eli Zaretskii <eliz@gnu.org>
5836
5837 * descr-text.el (describe-char): Mention how to insert the
5838 character, if the current input method doesn't support it.
5839 See the discussion in this thread for the details:
5840 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5841
3d10db47
SS
58422012-06-08 Sam Steingold <sds@gnu.org>
5843
5844 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5845 XF86Back to previous-buffer.
5846 (minibuffer-local-map): Bind them to next-history-element and
5847 previous-history-element respectively.
5848 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5849 help-go-back respectively.
5850 * info.el (Info-mode-map): Bind them to Info-history-forward and
5851 Info-history-back respectively.
5852 These are the keys next to Up on the ThinkPad keyboard.
5853
de7e2b36
SM
58542012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5855
5856 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5857 * emacs-lisp/cl-macs.el: Provide itself.
5858 (cl--labels-convert-cache): New var.
5859 (cl--labels-convert): New function.
5860 (cl-flet, cl-labels): New implementation with new semantics, relying on
5861 lexical-binding.
5862 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5863 (cl-closure-vars, cl--function-convert-cache)
5864 (cl--function-convert): Move from cl-macs.el.
5865 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5866 rename by removing the "cl-" prefix.
5867 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5868
6fa6c4ae
SM
58692012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5870
5871 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5872 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5873 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5874 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5875 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5876 (cl-hash-table-count): Add old compatibility aliases.
5877
5878 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5879 Use macroexpand-all-environment instead.
5880 (cl--old-macroexpand): New var.
5881 (cl--sm-macroexpand): New function.
5882 (cl-symbol-macrolet): Use it during macro expansion.
5883 (cl--function-convert-cache): New var.
5884 (cl--function-convert): New function, extracted from
5885 cl-macroexpand-all.
5886 (cl-lexical-let): Use it.
5887
5888 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5889 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5890 (cl-member): Remove old alias.
5891
5892 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5893 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5894 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5895 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5896 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5897 (cl-macroexpand-cmacs): Remove var.
5898 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5899 Use macroexpand-all instead.
5900
4dd1c416
SM
59012012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5902
5903 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5904 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5905 (macroexp-copyable-p): New functions and macros.
5906 * emacs-lisp/edebug.el (edebug-unwrap):
5907 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5908 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5909 (pcase--let*): Remove.
5910 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5911 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5912 macroexp-const-p instead.
5913 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5914
5915 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5916 instead of "cl-" for internal definitions. Use macroexp-const-p.
5917 (cl-old-bc-file-form): Remove var.
5918 (cl-const-exprs-p): Remove fun.
5919 (cl-labels, cl-macrolet): Use backquote.
5920 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5921 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5922 (cl-define-setf-expander): Rename from cl-define-setf-method.
5923 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5924
5925 * international/mule-cmds.el: Don't require CL.
5926 (view-hello-file): Don't use `letf'.
5927
ed8bd4d7
SM
59282012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5929
7287f2f3
SM
5930 * tmm.el (tmm-prompt): Use string-prefix-p.
5931 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5932 (tmm-add-prompt): Use minibuffer-completion-help.
5933 (tmm-delete-map): Remove.
5934
ed8bd4d7
SM
5935 * subr.el (kbd): Make it its own function.
5936
7b4cdbf4
SM
59372012-06-07 Stefan Merten <smerten@oekonux.de>
5938
5939 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5940 Silence compiler warnings. Fix versions.
ed8bd4d7 5941 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 5942 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 5943 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
5944 (rst-package-emacs-version-alist): Correct Emacs version to
5945 represent major merge with upstream.
ed8bd4d7 5946 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 5947
2b48d721
GM
59482012-06-06 Glenn Morris <rgm@gnu.org>
5949
5950 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5951 Only print environment variables if set.
5952
fa779ab0
SM
59532012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5954
5955 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5956 (macroexp--cons): Rename from maybe-cons.
5957 (macroexp--accumulate): Rename from macroexp-accumulate.
5958 (macroexp--all-forms): Rename from macroexpand-all-forms.
5959 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5960 (macroexp--expand-all): Rename from macroexpand-all-1.
5961
628299e0
SS
59622012-06-06 Sam Steingold <sds@gnu.org>
5963
5964 * calendar/calendar.el (calendar-in-read-only-buffer):
5965 Call `special-mode' to enable the standard read-only keybindings.
5966
b7bb5838
SM
59672012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5968
5969 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5970 with "loading" messages (bug#11635).
5971
dfb308ba
MA
59722012-06-06 Michael Albinus <michael.albinus@gmx.de>
5973
5974 * files.el (enable-remote-dir-locals): New option.
5975 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5976
0372ee92
MA
5977 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5978 Ensure, that the temp directory is local.
5979
5980 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5981 `temporary-file-directory'.
5982
eed0bb91
MA
5983 * progmodes/python.el (python-send-region): Ensure, that the
5984 temporary file is created also in the remote case.
5985
7a58f64d
GM
59862012-06-06 Glenn Morris <rgm@gnu.org>
5987
f7dd4e98
GM
5988 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5989 (vc-rcs-update-changelog): Use it.
5990
090bd7cb 5991 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 5992
7a58f64d
GM
5993 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5994 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5995 (vc-sccs-diff): Replace use of the external vcdiff script.
5996
daed4003
GM
59972012-06-05 Glenn Morris <rgm@gnu.org>
5998
5999 * ledit.el: Move to obsolete/.
6000
48c455c7
SS
60012012-06-05 Sam Steingold <sds@gnu.org>
6002
ed9265fc 6003 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
6004 patch (Bug#11140).
6005
57a7d507
SM
60062012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6007
090bd7cb 6008 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 6009
53aacf21
SM
6010 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6011 compiler-macro expansion.
6012
57a7d507
SM
6013 Add native compiler-macro support.
6014 * emacs-lisp/macroexp.el (macroexpand-all-1):
6015 Support compiler-macros directly. Properly follow aliases and apply
6016 the compiler macros more thoroughly.
6017 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6018 macroexpand now properly follows aliases.
6019 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6020 (cl-compiler-macroexpand): Use new prop.
6021 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6022
6023 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6024
51a5f9d8
MR
60252012-06-05 Martin Rudalics <rudalics@gmx.at>
6026
6027 * window.el (get-lru-window, get-mru-window, get-largest-window):
6028 New argument NOT-SELECTED to avoid picking the selected window.
6029 (window--display-buffer-1, window--display-buffer-2): Replace by
6030 new function window--display-buffer
6031 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
6032 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6033 Use window--display-buffer.
51a5f9d8
MR
6034 (display-buffer-use-some-window): Remove temporary dedication
6035 hack by calling get-lru-window and get-largest-window with
6036 NOT-SELECTED argument non-nil. Call window--display-buffer.
6037
08f9f738
GM
60382012-06-05 Glenn Morris <rgm@gnu.org>
6039
6040 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6041 Replace external vcdiff script.
6042
e364a2b7
SM
60432012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6044
6045 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6046
041df390
CY
60472012-06-04 Chong Yidong <cyd@gnu.org>
6048
e364a2b7
SM
6049 * image.el (imagemagick-types-inhibit): Revert last change.
6050 Add INFO and M.
47b36b94 6051 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 6052
7c1898a7
SM
60532012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6054
6055 * emacs-lisp/cl-lib.el: Rename from cl.el.
6056 * emacs-lisp/cl.el: New compatibility file.
6057 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6058 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6059 to obey the "cl-" prefix.
6060 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6061
0c3461de
GM
60622012-06-03 Glenn Morris <rgm@gnu.org>
6063
1e266c88
GM
6064 * emacs-lisp/authors.el (authors-aliases): Addition.
6065
0c3461de
GM
6066 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6067 Fix :version.
6068
d8a52e15
SM
60692012-06-03 Stefan Merten <smerten@oekonux.de>
6070
6071 * textmodes/rst.el: Add comments.
6072 (rst-transition, rst-adornment): New faces.
6073 (rst-adornment-faces-alist): Make default safe to reevaluate.
6074 Fixes
6075 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6076 Improve customization tags.
6077 (rst-define-level-faces): Clarify meaning.
6078
5205d6f6
CY
60792012-06-03 Chong Yidong <cyd@gnu.org>
6080
6081 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
6082 (compilation-mode-line-run, compilation-mode-line-exit):
6083 New faces.
5205d6f6
CY
6084 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6085
757ee657
JD
60862012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6087
7c1898a7
SM
6088 * progmodes/which-func.el (which-func-update-ediff-windows):
6089 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 6090
5f2c76c6
CY
60912012-06-03 Chong Yidong <cyd@gnu.org>
6092
6093 * bindings.el: Remove explicit help text from format-mode-line.
6094 It is now supplied by mode-line-default-help-echo.
6095 (mode-line-front-space, mode-line-end-spaces)
6096 (mode-line-misc-info): New variables.
6097 (mode-line-modes, mode-line-position): Move the default value to
6098 the variable definition.
6099 (mode-line-default-help-echo): New defcustom.
383f7350
CY
6100 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6101 (mode-line-modified-help-echo): New functions.
6102 (mode-line-mule-info, mode-line-modified): Use them.
6103 (mode-line-eol-desc, propertized-buffer-identification):
6104 Consistency fixes for help text.
cbe46e5f
CY
6105 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6106 set-buffer-file-coding-system (Bug#289).
6107 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 6108
f2d6a3df
SM
61092012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6110
6111 * simple.el (execute-extended-command): Set real-this-command
6112 (bug#11506).
6113
37269466
CY
61142012-06-02 Chong Yidong <cyd@gnu.org>
6115
6116 Remove incorrect uses of "modeline" in comments, docstrings, and
6117 function/variable names (Bug#10329).
6118
6119 * cus-edit.el (mode-line):
6120 * dframe.el (dframe-mouse-hscroll):
6121 * emacs-lisp/re-builder.el:
6122 * emacs-lisp/easy-mmode.el (define-minor-mode):
6123 * frame.el (set-frame-name):
6124 * help.el (lookup-minor-mode-from-indicator):
6125 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6126 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6127 (c-toggle-hungry-state):
6128 * progmodes/antlr-mode.el (antlr-language-alist):
6129 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6130 * progmodes/vhdl-mode.el (vhdl-mode):
6131 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6132 * term/ns-win.el (ns-face-at-pos):
6133 * term/sup-mouse.el (sup-mouse-report):
6134 * textmodes/flyspell.el (flyspell-mode-line-string):
6135 * textmodes/ispell.el (ispell-highlight-face):
6136 * textmodes/reftex-global.el:
6137 * vc/vc-arch.el (vc-arch-mode-line-string):
6138 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6139 * vc/vc-git.el (vc-git-mode-line-string):
6140 * vc/vc-hooks.el (vc-display-status)
6141 (vc-default-mode-line-string):
6142 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6143
6144 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6145
6146 * dired.el (dired-sort-set-mode-line): Rename from
6147 dired-sort-set-modeline. All callers changed.
6148
6149 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6150 eshell-status-in-modeline.
6151
6152 * foldout.el (foldout-mode-line-string): Rename from
6153 foldout-modeline-string. All callers changed.
6154 (foldout-update-mode-line): Rename from foldout-update-modeline.
6155
6156 * subr.el (redraw-modeline): Make into obsolete alias.
6157
6158 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6159 timeclock-modeline-display. Make old name an alias.
6160 (timeclock-update-mode-line): Likewise. All callers changed.
6161 (timeclock-mode-line-display): No need to check before using
6162 add-hook.
6163 (timeclock-relative, timeclock-day-over-hook)
6164 (timeclock-use-elapsed, timeclock-mode-string)
6165 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6166
6167 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6168 crisp-mode-modeline-string.
6169
6170 * play/solitaire.el (solitaire-build-mode-line): Rename from
6171 solitaire-build-modeline. All callers changed.
6172
6173 * play/zone.el (zone-hiding-mode-line): Rename from
6174 zone-hiding-modeline. All callers changed.
6175 (zone): Remove unusued `modeline-hidden-level' property.
6176
6177 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6178 xscheme-modeline-initialize. All callers changed.
6179
6180 * strokes.el (strokes-lighter): Rename from
6181 strokes-modeline-string.
6182
6183 * textmodes/sgml-mode.el (html-face-tag-alist)
6184 (html-tag-face-alist): Use mode-line face instead of obsolete
6185 alias modeline.
6186
42152ee4
SM
61872012-06-02 Stefan Merten <smerten@oekonux.de>
6188
6189 * textmodes/rst.el: Always require `cl'.
4cf9b38d 6190 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 6191
95f520b5
CY
61922012-06-02 Chong Yidong <cyd@gnu.org>
6193
6194 * image.el (imagemagick-enabled-types): Rename from
6195 imagemagick-types-enable. Add many more types.
6196 (imagemagick-types-inhibit): Change default to nil.
6197 (imagemagick-filter-types): Caller changed.
6198
4a5f187a
SM
61992012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6200
03fef3e6
SM
6201 * emacs-lisp/cl-macs.el: Use backquotes.
6202 (cl-transform-function-property): Use eval-and-compile rather than
6203 abusing `require'.
6204 (defstruct): Use declare-function instead of with-no-warnings.
6205
4a5f187a
SM
6206 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6207 (byte-compile-output-docform): Re-add the print-circle bindings.
6208 (byte-compile-fix-header): Use #$ just because it's shorter.
6209 (byte-compile-output-file-form): Remove defun/defmacro.
6210
bd56924f
MR
62112012-06-01 Martin Rudalics <rudalics@gmx.at>
6212
6213 * simple.el (choose-completion): Remove now obsolete binding for
6214 owindow.
6215
046e38ce
MA
62162012-06-01 Michael Albinus <michael.albinus@gmx.de>
6217
6218 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6219 in order to avoid "Stack overflow in regexp matcher".
6220
32d72c2f
GM
62212012-05-31 Glenn Morris <rgm@gnu.org>
6222
6223 * image.el: For clarity, call imagemagick-register-types at
6224 top-level, rather than relying on a custom :initialize.
6225 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
6226 (imagemagick-filter-types): New function. (Bug#7406)
6227 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
6228 If disabling support, remove elements altogether rather
6229 than using an impossible regexp.
6230 (imagemagick-types-inhibit): Give it the default init function.
6231
dd41169b
SM
62322012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6233
4a5f187a
SM
6234 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6235 Handle arbitrary file name lengths (Bug#11585).
dd41169b 6236
efc00ab1 62372012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
6238
6239 * desktop.el (desktop-read): Clear previous and next buffers for
6240 all windows and bury *Messages* buffer (bug#11556).
6241
500fcedc
SM
62422012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6243
6244 Add `declare' for `defun'. Align `defmacro's with it.
6245 * emacs-lisp/easy-mmode.el (define-minor-mode)
6246 (define-globalized-minor-mode): Don't autoload the var definitions.
6247 * emacs-lisp/byte-run.el: Use lexical-binding.
6248 (defun-declarations-alist, macro-declarations-alist): New vars.
6249 (defmacro, defun): Use them.
6250 (make-obsolete, define-obsolete-function-alias)
6251 (make-obsolete-variable, define-obsolete-variable-alias):
6252 Use `declare'.
6253 (macro-declaration-function): Mark obsolete.
6254 * emacs-lisp/autoload.el: Use lexical-binding.
6255 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6256
6e8a1786
AM
62572012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6258
6259 * textmodes/ispell.el (ispell-with-no-warnings):
6260 Define as a macro.
500fcedc
SM
6261 (ispell-kill-ispell, ispell-change-dictionary):
6262 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
6263 `interactive-p'.
6264
61b108cc
SM
62652012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6266
6267 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6268 (macro-declaration-function): Move var from C code.
6269 (macro-declaration-function): Define function with defalias.
6270 * emacs-lisp/macroexp.el (macroexpand-all-1):
6271 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6272 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6273 defun/defmacro any more.
6274 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6275 Provide fallback for unknown arglist.
6276 (byte-compile-arglist-warn): Change calling convention.
6277 (byte-compile-output-file-form): Move print-vars binding.
6278 (byte-compile-output-docform): Simplify accordingly.
6279 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6280 (byte-compile-defmacro-declaration): Remove.
6281 (byte-compile-file-form-defmumble): Generalize to defalias.
6282 (byte-compile-output-as-comment): Return byte-positions.
6283 Simplify callers accordingly.
6284 (byte-compile-lambda): Use `assert'.
6285 (byte-compile-defun, byte-compile-defmacro): Remove.
6286 (byte-compile-file-form-defalias):
6287 Use byte-compile-file-form-defmumble.
6288 (byte-compile-defalias-warn): Remove.
6289
6d3f7c2f
SM
62902012-05-29 Stefan Merten <smerten@oekonux.de>
6291
6292 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 6293 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
6294
6295 (rst-mode-abbrev-table): Merge definition.
6296 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6297 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6298
6dbaa1c7
UJ
62992012-05-29 Ulf Jasper <ulf.jasper@web.de>
6300
6301 * calendar/icalendar.el
6302 (icalendar-export-region): Export UID properly.
6303
d209e2fb 63042012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
6305 * calendar/icalendar.el (icalendar-import-format):
6306 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
6307 (icalendar-import-format-uid): New.
6308 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6309 Export UID.
6310
6876a58d
SM
63112012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6312
6313 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6314 different alternative patterns.
6315 (pcase-codegen): Be more careful to preserve identity.
6316 (pcase--u1): Don't forget to mark vars as used.
6317
6318 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6319 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6320 (byte-compile-from-buffer): ...rather than here.
6321
6322 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6323 functions from byte-compile-function-environment.
6324
46b7967e
TN
63252012-05-29 Troels Nielsen <bn.troels@gmail.com>
6326
6327 * window.el (window-deletable-p): Avoid deleting the root window
6328 of a frame with an active minibuffer.
6329
69d565e2
MR
63302012-05-29 Martin Rudalics <rudalics@gmx.at>
6331
6332 * simple.el (choose-completion): Use quit-window (Bug#11567).
6333
a149fa51
CY
63342012-05-29 Chong Yidong <cyd@gnu.org>
6335
6336 * whitespace.el (whitespace-cleanup): Fix usage of
6337 whitespace-empty-at-bob-regexp (Bug#11492).
6338
2b311310
AH
63392012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6340
6341 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6342 revert (Bug#11488).
6343
b9cb2387
JL
63442012-05-29 Juri Linkov <juri@jurta.org>
6345
6346 * isearch.el (isearch-mode-map): Bind `M-s _' to
6347 `isearch-toggle-symbol'. Bind `M-s c' to
6348 `isearch-toggle-case-fold'.
6349 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6350 (isearch-forward): Add `M-s _' to the docstring.
6351 (isearch-forward-symbol, isearch-toggle-case-fold)
6352 (isearch-symbol-regexp): New functions. (Bug#11381)
6353
d5e61c1c
JL
63542012-05-29 Juri Linkov <juri@jurta.org>
6355
6356 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6357 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6358 a function, call it to get the regexp.
6359 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6360 property `isearch-message-prefix' instead of the string "word ".
6361 (isearch-search-fun-default): For the case of `isearch-word',
6362 return a lambda that calls re-search-forward/re-search-backward
6363 with a regexp returned by `word-search-regexp' or by the function
6364 in `isearch-word'.
6365
8cbd80f7
JL
63662012-05-29 Juri Linkov <juri@jurta.org>
6367
6368 * isearch.el (isearch-search-fun-default): New function.
6369 (isearch-search-fun): Move default part to the new function
6370 `isearch-search-fun-default'.
6371 (isearch-search-fun-function): Set the default value to
6372 `isearch-search-fun-default'. (Bug#11381)
6373
6374 * comint.el (comint-history-isearch-end):
6375 Use `isearch-search-fun-default'.
6376 (comint-history-isearch-search): Use `isearch-search-fun-default'
6377 and remove spacial case for `isearch-word'.
6378 (comint-history-isearch-wrap): Remove spacial case for
6379 `isearch-word'.
6380
6381 * hexl.el (hexl-isearch-search-function):
6382 Use `isearch-search-fun-default'.
6383
6384 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6385 Use `word-search-regexp' for `isearch-word'.
6386
6387 * misearch.el (multi-isearch-search-fun):
6388 Use `isearch-search-fun-default'.
6389
6390 * simple.el (minibuffer-history-isearch-search):
6391 Use `isearch-search-fun-default' and remove spacial case for
6392 `isearch-word'.
6393 (minibuffer-history-isearch-wrap): Remove spacial case for
6394 `isearch-word'.
6395
6396 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6397 Remove spacial case for `isearch-word'.
6398 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6399
85c8c5b6
AM
64002012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6401
6402 Decrease XEmacs incompatibilities.
6403 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6404 Use `string-match'.
6405 (flyspell-delete-region-overlays): Use alternative definition for
6406 XEmacs.
6407 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6408 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6409 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6410 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6411 `define-obsolete-face-alias' under XEmacs, but old method.
6412
6413 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6414 `with-no-warnings' definition or Emacs alias.
6415 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6416 (ispell-word): Do not use `region-p' if XEmacs.
6417
8cab9efc
AM
64182012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6419
6420 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6421 Check for `ispell-dictionary-base-alist' instead of full
6422 `ispell-dictionary-alist'.
6423 (ispell-init-process): Show spellchecker when starting new Ispell
6424 process.
6425
fda91268
RZ
64262012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6427
6428 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6429 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6430
694ea8e3
JB
64312012-05-27 Juanma Barranquero <lekktu@gmail.com>
6432
6433 * version.el (motif-version-string, gtk-version-string)
6434 (ns-version-string): Declare.
6435
e4d4f539
JL
64362012-05-27 Juri Linkov <juri@jurta.org>
6437
6438 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6439 after the `eval-defun-1' specialcaseing
6440 like in `edebug-eval-defun' (bug#10181).
6441
6442 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6443 like in `eval-defun-1'.
6444
33017faf 64452012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 6446
fda91268
RZ
6447 * mail/sendmail.el (mail-yank-region):
6448 Recognize rmail-yank-current-message in addition to insert-buffer.
6449 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
6450 a *mail* buffer created through rmail-start-mail with sendmail as
6451 mail-user-agent.
6452
33017faf
GM
64532012-05-27 Chong Yidong <cyd@gnu.org>
6454
6455 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6456 Default to 256 (Bug#11267).
6457
6458 * help.el (describe-mode): Doc fix.
6459
04188bb9
GM
64602012-05-26 Glenn Morris <rgm@gnu.org>
6461
38264cc9
GM
6462 * w32-fns.el (w32-init-info): Remove.
6463 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6464
eb7afdad
GM
6465 * info.el (info-initialize): For self-contained NS builds, put the
6466 included info/ directory at the front. (Bug#2791)
6467
04188bb9
GM
6468 * paths.el (Info-default-directory-list): Make it a defcustom,
6469 mainly so that we can use custom-initialize-delay.
6470
a179e3f7
SM
64712012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6472
43416392
SM
6473 * subr.el (buffer-has-markers-at): Mark obsolete.
6474
a179e3f7 6475 * subr.el (lambda): Use declare.
43416392 6476
a179e3f7
SM
6477 * emacs-lisp/lisp-mode.el (lambda):
6478 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6479
34a008d9
AH
64802012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6481
6482 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6483
0a3b289f
GM
64842012-05-26 Glenn Morris <rgm@gnu.org>
6485
6486 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6487
758c81e8
GM
64882012-05-25 Glenn Morris <rgm@gnu.org>
6489
f9f334f0
GM
6490 * paths.el: Remove no-byte-compile.
6491 * loadup.el: No need to load paths.el uncompiled.
6492
87eb79c2
GM
6493 * image.el (imagemagick-types-inhibit): Doc fix.
6494
758c81e8
GM
6495 * version.el: Remove no-byte-compile and associated formatting.
6496 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6497 is ancient code from when there was an "inc-vers.el".
6498
e7e85dc0
SM
64992012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6500
6501 * progmodes/gdb-mi.el: Minor style changes.
6502 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6503 Turn into minor modes.
6504 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6505 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6506 (gdb-shell): Remove unneeded let-binding.
6507 (gdb-get-many-fields): Eliminate O(n²) behavior.
6508
f31237a4
EZ
65092012-05-25 Eli Zaretskii <eliz@gnu.org>
6510
6511 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6512 platforms that don't link in fontset.c.
6513
bc1b21bb
JL
65142012-05-25 Juri Linkov <juri@jurta.org>
6515
6516 Use the same diff color scheme as in modern VCSes (bug#10181).
6517
6518 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6519 to avoid confusion with `diff-added' that now uses green colors.
6520 (diff-removed): Use shades of red.
6521 (diff-added): Use shades of green.
6522 (diff-changed): Leave just the yellow color.
6523 (diff-use-changed-face): New variable.
6524 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6525 how to highlight context diff changes.
6526 (diff-refine-change): Use shades of yellow.
6527 (diff-refine-removed): New face that uses shades of red.
6528 (diff-refine-added): New face that uses shades of green.
6529 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6530 `diff-refine-removed' in the call to `smerge-refine-subst'
6531 depending on the value of `diff-use-changed-face'.
6532
6533 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6534 (smerge-other): Use shades of green.
6535 (smerge-base): Use shades of yellow.
6536 (smerge-refined-change): Empty face.
6537 (smerge-refined-removed): New face that uses shades of red.
6538 (smerge-refined-added): New face that uses shades of green.
6539 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6540 args `props-r' and `props-a', and use them. Doc fix.
6541 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6542 on its value use different faces `smerge-refined-change',
6543 `smerge-refined-removed', `smerge-refined-added' in the call to
6544 `smerge-refine-subst'.
6545
6546 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6547 Add face condition `min-colors 88' with shades of red.
6548 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6549 `min-colors 88' with shades of green.
6550 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6551 `min-colors 88' with shades of yellow.
6552
6df9112c
GM
65532012-05-24 Glenn Morris <rgm@gnu.org>
6554
ead5edc0
GM
6555 * paths.el (prune-directory-list, remote-shell-program): Move to...
6556 * files.el (prune-directory-list, remote-shell-program): ...here.
6557 For the latter, delay initialization, prefer ssh, just search PATH.
6558
f18b81e6
GM
6559 * paths.el (term-file-prefix): Move to faces.el (the only user).
6560 * faces.el (term-file-prefix): Move here, make it a defcustom.
6561
ee2f89a6
GM
6562 * paths.el (news-directory, news-path, news-inews-program):
6563 Move to gnus/nnspool.el.
61a583ca 6564
f8815e4c
GM
6565 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6566
c8f3b42c
GM
6567 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6568 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6569 Make the latter a defcustom, with a delayed initialization.
6570
6df9112c
GM
6571 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6572 These were deleted from Gnus itself late 2010.
6573
5dadff36
JB
65742012-05-22 Juanma Barranquero <lekktu@gmail.com>
6575
9e1701c6
JB
6576 * progmodes/which-func.el (which-func-ff-hook):
6577 Check against user-error, not error.
6578
bd7239f5 6579 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
6580 cl-specs.el, which no longer exists.
6581
3290526d
GM
65822012-05-22 Glenn Morris <rgm@gnu.org>
6583
6584 * info.el (info-emacs-bug): New command.
6585 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6586 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6587
ff0c3cfb
GM
65882012-05-21 Glenn Morris <rgm@gnu.org>
6589
6590 * makefile.w32-in (update-subdirs-SH):
6591 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6592
5814f126
SM
65932012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6594
a52c0aa0
SM
6595 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6596
5814f126
SM
6597 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6598 Simplify Maven regexp, and make sure the file can't start with a space
6599 (bug#11517).
6600
b847032c
GM
66012012-05-21 Glenn Morris <rgm@gnu.org>
6602
6603 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6604 Scrap superfluous subshells.
6605
3858bfe7
SM
66062012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6607
6608 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6609 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6610
d14b0029
JB
66112012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6612
6613 * calc/calc.el (calc-ensure-consistent-units): New variable.
6614
a52c0aa0
SM
6615 * calc/calc-units.el (math-consistent-units-p)
6616 (math-check-unit-consistency): New functions.
6617 (calc-quick-units, calc-convert-units):
6618 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6619 is non-nil.
d14b0029
JB
6620 (calc-extract-units): Fix typo.
6621
60c4db3a
SM
66222012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6623
77f3b62e
SM
6624 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6625
60c4db3a
SM
6626 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6627 (flyspell-default-deplacement-commands): Don't spell check after
6628 repeated window/frame switches (e.g. triggered by mouse-movement).
6629 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6630 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6631 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6632 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6633 Remove unused vars.
6634 (flyspell-get-casechars, flyspell-get-not-casechars):
6635 Simplify; Don't bother removing a ] just to add it back.
6636 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6637
d209e2fb 66382012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
6639
6640 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6641 New functions.
bd7239f5 6642 (math-function-table): Add support for more C functions.
b1a10716 6643
3f1b25b5
AM
66442012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6645
090bd7cb
JB
6646 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6647 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6648 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 6649
b581bb5c
SM
66502012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6651
6652 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6653 their respective macro declarations.
6654 * skeleton.el (define-skeleton):
6655 * progmodes/compile.el (define-compilation-mode):
6656 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6657 (define-ibuffer-filter):
6658 * emacs-lisp/generic.el (define-generic-mode):
6659 * emacs-lisp/easy-mmode.el (define-minor-mode)
6660 (define-globalized-minor-mode):
6661 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6662 * emacs-lisp/byte-run.el (defsubst):
6663 * custom.el (deftheme): Add doc-string metadata.
6664
70b8ef8f
SM
66652012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6666
6667 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6668
b1198e17
SM
66692012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6670
9abdc45d
SM
6671 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6672
b1198e17
SM
6673 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6674 * emacs-lisp/cl-macs.el: Idem.
6675 * emacs-lisp/cl-specs.el: Remove.
6676
4735906a
SM
66772012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6678
6679 Minor renaming of internal CL functions and variables.
6680 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6681 (cl--position): Rename from cl-position.
6682 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6683 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6684 (cl--random-state): Rename from *random-state*.
6685
ac348012
SM
66862012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6687
6688 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6689 parens around the arg list (bug#11499).
6690
a0a79cde
JL
66912012-05-17 Juri Linkov <juri@jurta.org>
6692
6693 * isearch.el (word-search-regexp, word-search-backward)
6694 (word-search-forward, word-search-backward-lax)
6695 (word-search-forward-lax): Move functions from search.c
6696 (bug#10145, bug#11381).
6697
65034a51
AM
66982012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6699
090bd7cb
JB
6700 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6701 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6702 Delay for otherchars as for normal word components.
65034a51 6703
1a72a195
SM
67042012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6705
6706 * minibuffer.el (completion--sifn-requote): Fix last change.
6707 (minibuffer-local-must-match-filename-map):
6708 Move define-obsolete-variable-alias before its var.
6709
fdb058c2
SM
67102012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6711
c41045e6
SM
6712 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6713
036dfb8b
SM
6714 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6715 behavior.
6716 (completion--string-equal-p): New function.
6717 (completion--twq-all): Use it to get better assertion failure data.
6718
2473256d
SM
6719 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6720 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6721 (shell--requote-argument): New functions.
6722 (shell-completion-vars): Use them.
6723 (shell--parse-pcomplete-arguments): Rename from
6724 shell-parse-pcomplete-arguments.
6725 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6726 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6727 Obey comint-file-name-quote-list.
6728
fdb058c2
SM
6729 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6730 (smie-indent-keyword): Use it.
6731
51fa99f1
SM
67322012-05-14 Stefan Merten <smerten@oekonux.de>
6733
6734 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6735
e18afed7 67362012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
6737
6738 * net/rlogin.el (rlogin-mode-map): Fix last change.
6739
e18afed7 67402012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
6741
6742 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6743 the following \r\n using a single `process-send-string', since the
6744 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 6745 with two `process-send-string's (Bug#11444).
8633b1f4 6746
e18afed7 67472012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 6748
fdb058c2
SM
6749 * shell.el (shell-parse-pcomplete-arguments):
6750 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 6751
2d21d7f6
WJ
67522012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6753
e18afed7 6754 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
6755 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6756 (image-transform-width, image-transform-fit-width): New functions.
6757 (image-transform-properties): Use them.
6758 (image-transform-check-size): New function.
6759 (image-toggle-display-image): Use it (for testing).
6760 (image-transform-set-rotation): Reduce angle mod 360.
6761 Delete obsolete comment.
6762
7102e6d0
WJ
67632012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6764
6765 * image-mode.el: Fix scaling (bug#11399).
6766 (image-transform-resize): Doc fix.
6767 (image-transform-properties): Default scale is 1 and height should
6768 be an integer.
6769
06bc5e6e
SM
67702012-05-13 Johan Bockgård <bojohan@gnu.org>
6771
6772 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6773 than hard-coding `car', to fix misbehavior when moving forward.
6774
0ae03b6a
CY
67752012-05-13 Chong Yidong <cyd@gnu.org>
6776
6777 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6778 (tabulated-list-entries, tabulated-list-padding)
6779 (tabulated-list-sort-key): Make permanent-local.
6780
6781 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6782 (electric-buffer-list): Put electric buffer menu
6783 command descriptions in this docstring, instead of the docstring
6784 of electric-buffer-menu-mode. Code cleanups.
6785 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6786 Electric-buffer-menu-mode.
6787 (electric-buffer-update-highlight): Minor code cleanup.
6788
205a7391
MA
67892012-05-13 Michael Albinus <michael.albinus@gmx.de>
6790
6791 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6792 (Bug#11447)
6793
e5bd0a28
SM
67942012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6795
6796 Move define-obsolete-variable-alias before the var's definition.
6797 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6798 * tooltip.el (tooltip-hook):
6799 * textmodes/reftex-toc.el (reftex-toc-map):
6800 * textmodes/reftex-sel.el (reftex-select-label-map)
6801 (reftex-select-bib-map):
6802 * textmodes/reftex-index.el (reftex-index-map)
6803 (reftex-index-phrases-map):
6804 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6805 * progmodes/meta-mode.el (meta-mode-map):
6806 * novice.el (disabled-command-hook):
6807 * loadhist.el (unload-hook-features-list):
6808 * frame.el (blink-cursor):
6809 * files.el (find-file-not-found-hooks, write-file-hooks)
6810 (write-contents-hooks):
6811 * emulation/tpu-edt.el (GOLD-map):
6812 * emacs-lock.el (emacs-lock-from-exiting):
6813 * emacs-lisp/generic.el (generic-font-lock-defaults):
6814 * emacs-lisp/chart.el (chart-map):
6815 * dos-fns.el (register-name-alist):
6816 * dired-x.el (dired-omit-files-p):
6817 * desktop.el (desktop-enable):
6818 * cus-edit.el (custom-mode-hook):
6819 * buff-menu.el (buffer-menu-mode-hook):
6820 * bookmark.el (bookmark-read-annotation-text-func)
6821 (bookmark-exit-hooks):
6822 * allout.el (allout-mode-deactivate-hook)
6823 (allout-exposure-change-hook, allout-structure-added-hook)
6824 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6825 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6826 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6827 comes before the corresponding variable's definition.
6828
ac59c2f6
CY
68292012-05-12 Chong Yidong <cyd@gnu.org>
6830
6831 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
6832 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6833 (Buffer-menu-mode-map): Bind it.
6834 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 6835
dee6c9a3
SM
68362012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6837
2171cea5
SM
6838 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6839 (prolog-upper-case-string, prolog-lower-case-string)
6840 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6841 (prolog-use-smie, prolog-smie-grammar): New vars.
6842 (prolog-smie-forward-token, prolog-smie-backward-token)
6843 (prolog-smie-rules): New funs.
6844 (prolog-comment-indent): Remove.
6845 (prolog-mode-variables): Use default comment indentation instead.
6846 Setup SMIE.
6847 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6848 (prolog-mode): Don't call them any more.
6849 (prolog-electric-colon, prolog-electric-dash)
6850 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6851
aa0382bd
SM
6852 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6853
dbacb4bd
SM
6854 * minibuffer.el (completion--twq-all): Again, allow case differences.
6855
13bdd94c
SM
6856 * term.el: Move keymap initialization code to be more idiomatic.
6857 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6858 (term-terminal-menu): Move initialization into declaration.
6859 (term-escape-char): Let the user set it in her .emacs.
6860
ff46c759
SM
6861 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6862 Provide SMIE-based indentation (not enabled by default yet).
6863 (sh-mode-map): Don't bind electric keys.
6864 Use electric-pair-mode instead of skeleton-pair.
6865 (sh-assignment-regexp): Fit within 80 columns.
6866 (sh-indent-supported): Specify actual shell name instead of boolean.
6867 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6868 (sh-maybe-here-document): Use it. Make obsolete.
6869 (sh-electric-here-document-mode) New minor mode.
6870 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6871 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6872 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6873 (sh-smie-rc-grammar, sh-use-smie): New vars.
6874 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6875 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6876 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6877 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6878 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6879 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6880 (sh-set-shell): Use smie-setup if requested.
6881
dee6c9a3
SM
6882 * term.el (term-set-escape-char): Properly set term-escape-char.
6883 See http://stackoverflow.com/questions/10524656.
6884
9f9aa044
CY
68852012-05-10 Chong Yidong <cyd@gnu.org>
6886
6887 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6888 Use url-generic-parse-url, and handle host names and Windows
6889 filenames properly.
6890 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6891 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6892 URL schemes to work on.
6893 (ffap--toggle-read-only): New function.
6894 (ffap-read-only, ffap-read-only-other-window)
6895 (ffap-read-only-other-frame): Use it.
6896 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6897 necessary for ffap-url-unwrap-remote.
6898
836d29b3
DA
68992012-05-10 Dave Abrahams <dave@boostpro.com>
6900
6901 * cus-start.el (create-lockfiles): Add it.
6902
00fd78ed
CY
69032012-05-09 Chong Yidong <cyd@gnu.org>
6904
6905 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6906 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6907
666b903b 69082012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
6909
6910 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6911
666b903b 69122012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
6913
6914 * ansi-color.el (ansi-color-process-output): Check for validity of
6915 comint-last-output-start before using it. This avoids a bad
6916 interaction with gdb-mi's input/output buffer.
6917
666b903b 69182012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
6919
6920 * files.el (dir-locals-read-from-file):
6921 Mention dir-locals in any error message.
6922
666b903b 69232012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
6924
6925 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6926 package (Bug#11410).
6927
f677562b
CY
6928 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6929 variables into description.
6930
666b903b 69312012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
6932
6933 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6934 shell-delimiter-argument-list (bug#11348).
6935 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6936
b499d8d0
JB
69372012-05-09 Juanma Barranquero <lekktu@gmail.com>
6938
8f6b6da8
JB
6939 * textmodes/rst.el: Silence byte-compiler warnings.
6940 (rst-re-alist, rst-reset-section-caches): Move around.
6941 (rst-re): Use `characterp', not `char-valid-p'.
6942 (font-lock-beg, font-lock-end): Declare.
6943
4824146a
JB
6944 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6945 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6946
b499d8d0
JB
6947 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6948
ad89bb83
GM
69492012-05-08 Glenn Morris <rgm@gnu.org>
6950
6951 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6952
8bba5a75
SM
69532012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6954
49ed9c8e
SM
6955 * vc/log-edit.el: Add GNU coding standards highlighting.
6956 (log-edit-font-lock-gnu-style)
6957 (log-edit-font-lock-gnu-keywords): New vars.
6958 (log-edit-font-lock-keywords): New fun.
6959 (log-edit-mode): Don't fold case in font-lock.
6960 (log-edit-font-lock-keywords): Do not assume case-folding.
6961
07d00b56
SM
6962 * imenu.el: Misc cleanup. Make docstrings out of comments.
6963 Use lexical-binding.
6964 (imenu--index-alist, imenu--last-menubar-index-alist)
6965 (imenu-menubar-modified-tick): Use defvar-local.
6966 (imenu--split-menu): Remove unused var.
6967 (imenu--cleanup-seen): Declare as global.
6968 (imenu--cleanup): Use dolist.
6969
8bba5a75
SM
6970 * subr.el (defvar-local): Add debug spec and doc-string position.
6971
5075bdb5
GM
69722012-05-08 Glenn Morris <rgm@gnu.org>
6973
090bd7cb 6974 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
6975 * language/english.el, language/georgian.el, language/greek.el:
6976 * language/japanese.el, language/khmer.el, language/korean.el:
6977 * language/lao.el, language/misc-lang.el, language/romanian.el:
6978 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6979 * language/thai.el, language/utf-8-lang.el:
6980 Remove no-byte-compile setting.
6981
5075bdb5
GM
6982 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6983
06f679a7
AH
69842012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6985
6986 * progmodes/make-mode.el (makefile-browse):
6987 Remove unnecessary interactive. (Bug#11324)
6988
03794570
GM
69892012-05-07 Glenn Morris <rgm@gnu.org>
6990
af8630f4
GM
6991 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6992
03794570
GM
6993 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6994
f0809a9d
SM
69952012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6996
28be5ce7
SM
6997 * loadup.el: Preload newcomment.el.
6998 * newcomment.el: Move autoload-only code to toplevel.
6999
f0809a9d
SM
7000 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7001 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7002 Handle new :right-align column property.
7003 (tabulated-list-print-col): Idem, plus use `display' text-property to
7004 try and preserve alignment for variable pitch fonts.
7005
1241b724
CY
70062012-05-07 Chong Yidong <cyd@gnu.org>
7007
7008 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7009 (tabulated-list-use-header-line): New var.
7010 (tabulated-list-init-header): Use it.
7011 (tabulated-list-print-fake-header): New function.
7012 (tabulated-list-print): Use it.
7013 (tabulated-list-sort-button-map): Add non-header-line commands.
7014 (tabulated-list-init-header): Add column name property to basic
7015 labels as well.
7016 (tabulated-list-col-sort): Handle non-header-line button case.
7017 (tabulated-list--sort-by-column-name): Fix a corner case.
7018
f0809a9d
SM
7019 * buff-menu.el (list-buffers--refresh):
7020 Handle Buffer-menu-use-header-line.
1241b724 7021
e5f9458f
CY
70222012-05-06 Chong Yidong <cyd@gnu.org>
7023
7024 * buff-menu.el: Convert to Tabulated List mode.
7025 (Buffer-menu-buffer+size-width): Make obsolete.
7026 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7027 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7028 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7029 documentation into docstring of buffer-menu.
7030 (Buffer-menu-toggle-files-only): Add an informative message.
7031 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7032 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7033 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7034 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7035 (Buffer-menu-execute, Buffer-menu-select)
7036 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7037 (Buffer-menu-bury): Use Tabulated List machinery.
7038 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7039 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 7040 Delete.
e5f9458f
CY
7041 (list-buffers--refresh): New function.
7042 (list-buffers-noselect): Use it.
7043 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7044 (Buffer-menu--pretty-file-name): New helper functions.
7045
7046 * loadup.el: Preload tabulated-list.
7047
7048 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7049 tabulated-list-sort-column.
7050 (tabulated-list-init-header): Add the initial aligning space even
7051 if tabulated-list-padding is zero.
7052
e129292c
CS
70532012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7054
7055 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7056 whose cdr is not a cons cell correctly (bug#11038).
7057
6632d361
CY
70582012-05-06 Chong Yidong <cyd@gnu.org>
7059
e129292c
CS
7060 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7061 Accept additional plist in column descriptors.
6632d361
CY
7062 (tabulated-list-init-header): Obey it.
7063 (tabulated-list-get-entry): New function.
7064 (tabulated-list-put-tag): Use it. Use string-width instead of
7065 length.
7066 (tabulated-list--column-number): New function.
7067 (tabulated-list-print): Use it.
e129292c
CS
7068 (tabulated-list-print-col): New function.
7069 Set `tabulated-list-column-name' property on each column's text.
6632d361 7070 (tabulated-list-print-entry): Use it.
e129292c
CS
7071 (tabulated-list-delete-entry, tabulated-list-set-col):
7072 New functions.
6632d361
CY
7073 (tabulated-list-sort-column): New command (Bug#11337).
7074
3cc99f68
CY
7075 * buff-menu.el (list-buffers): Move C-x C-b binding from
7076 buff-menu.el to bindings.el.
7077
7078 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7079 :advertised-binding feature.
7080
52b61776
TN
70812012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7082
7083 * progmodes/compile.el (compilation-internal-error-properties):
7084 Calculate start position correctly when end-col is set but
7085 end-line is not (Bug#11382).
7086
ebfe2597
WJ
70872012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7088
7089 * man.el (Man-unindent): Use text-property-default-nonsticky to
7090 prevent untabify from inheriting face properties (Bug#11408).
7091
6d3f7c2f
SM
70922012-05-05 Stefan Merten <smerten@oekonux.de>
7093
7094 * textmodes/rst.el: Major merge with upstream development up to
7095 Docutils SVN r7399 / rst.el V1.2.1.
7096
7097 Clarify maintainership and authors.
7098
7099 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7100 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7101 (rst-official-version, rst-official-cvs-rev, rst-version)
7102 (rst-package-emacs-version-alist): New functions and variables
7103 for version information.
7104
7105 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7106 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7107 (rst-mode-syntax-table, rst-mode): New and corrected functions
7108 and variables representing reStructuredText features.
7109
7110 (rst-re): New function for reStructuredText regexes. Use in
7111 many places.
7112
7113 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7114 (rst-mode-map): Rebind keys.
7115
7116 (rst-mode-lazy, rst-font-lock-keywords)
7117 (rst-font-lock-extend-region)
7118 (rst-font-lock-extend-region-internal)
7119 (rst-font-lock-extend-region-extend)
7120 (rst-font-lock-find-unindented-line-limit)
7121 (rst-font-lock-find-unindented-line-match)
7122 (rst-adornment-level, rst-font-lock-adornment-level)
7123 (rst-font-lock-adornment-match)
7124 (rst-font-lock-handle-adornment-pre-match-form)
7125 (rst-font-lock-handle-adornment-matcher): Major revision of
7126 font-locking. Integrate with other code. Use `jit-lock-mode'.
7127
7128 (rst-preferred-adornments, rst-adjust-hook)
7129 (rst-new-adornment-down, rst-preferred-bullets)
7130 (rst-preferred-bullets, rst-indent, rst-indent-width)
7131 (rst-indent-field, rst-indent-literal-normal)
7132 (rst-indent-literal-minimized, rst-indent-comment): Change,
7133 extend and improve customization.
7134
7135 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7136 (rst-normalize-cursor-position, rst-get-decoration)
7137 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7138 (rst-rstrip, rst-toc-insert-find-delete-contents)
7139 (rst-shift-fill-region, rst-compute-bullet-tabs)
7140 (rst-debug-print-tabs, rst-debug-mark-found)
7141 (rst-shift-region-guts, rst-shift-region-right)
7142 (rst-shift-region-left, rst-use-char-classes)
7143 (rst-font-lock-keywords-function)
7144 (rst-font-lock-indentation-point)
7145 (rst-font-lock-find-unindented-line-begin)
7146 (rst-font-lock-find-unindented-line-end)
7147 (rst-font-lock-find-unindented-line)
7148 (rst-font-lock-adornment-point, rst-font-lock-level)
7149 (rst-adornment-level-alist): Remove functions and variables.
7150
7151 (rst-compare-adornments, rst-get-adornment-match)
7152 (rst-suggest-new-adornment, rst-get-adornments-around)
7153 (rst-adornment-complete-p, rst-get-next-adornment)
7154 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7155 (rst-straighten-adornments): Standardize function names to
7156 use "adornment" instead of "decoration". Correct callers.
7157 Similar standardizing in many places.
7158
7159 (rst-update-section, rst-adjust, rst-promote-region)
7160 (rst-enumerate-region, rst-bullet-list-region)
7161 (rst-repeat-last-character): Correct use of `interactive'.
7162
7163 (rst-classify-adornment, rst-find-all-adornments)
7164 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7165 (rst-find-leftmost-column, rst-repeat-last-character):
7166 Refactor functions.
7167
7168 (rst-find-title-line, rst-reset-section-caches)
7169 (rst-get-adornments-around, rst-adjust-adornment-work)
7170 (rst-arabic-to-roman, rst-roman-to-arabic)
7171 (rst-insert-list-pos, rst-insert-list-new-item)
7172 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7173 New functions.
7174
7175 (rst-all-sections, rst-section-hierarchy)
7176 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7177 New variables.
7178
7179 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7180 configuration instead of only buffer. Change where necessary.
7181
7182 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7183 (rst-shift-region, rst-adaptive-fill): New functions for
7184 indentation and filling.
7185
7186 (rst-comment-line-break, rst-comment-indent)
7187 (rst-comment-insert-comment, rst-comment-region)
7188 (rst-uncomment-region): New functions for handling comments.
7189
7190 (rst-compile): Quote shell arguments.
7191
7192 (rst-compile-pdf-preview, rst-compile-slides-preview):
7193 Delete temporary files after use.
7194
a43f98b3
GM
71952012-05-05 Glenn Morris <rgm@gnu.org>
7196
48176e8b
GM
7197 * calendar/cal-html.el: Optionally include holidays in the output.
7198 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7199 (cal-html-holidays): New option.
7200 (cal-html-css-default): Add holiday entry.
7201 (holiday-in-range): Autoload it.
7202 (cal-html-htmlify-entry): Add optional class argument.
7203 (cal-html-htmlify-list): Add optional holidays argument.
7204 (cal-html-insert-agenda-days): Include holidays in the output.
7205 (cal-html-one-month): Maybe include holidays.
7206
a43f98b3
GM
7207 * calendar/holidays.el (holiday-in-range):
7208 Move here from cal-tex-list-holidays.
7209 * calendar/cal-tex.el (cal-tex-list-holidays):
7210 Make it an obsolete alias for holiday-in-range. Update all callers.
7211
fef9d149 72122012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
7213
7214 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7215 Nextstep.
7216
248da2f4
RW
72172012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7218
7219 * files.el (file-auto-mode-skip): New var.
7220 (set-auto-mode-1): Use it.
7221
f95e9344
SM
72222012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7223
df96ab1e
SM
7224 * repeat.el: Use lexical-binding.
7225 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7226 (repeat-undo-count): Remove.
7227 (repeat):
7228 * progmodes/octave-mod.el (octave-abbrev-start):
7229 * progmodes/f90.el (f90-abbrev-start):
7230 * face-remap.el (text-scale-adjust):
7231 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7232
5342bb06
SM
7233 * emacs-lisp/pcase.el (pcase--let*): New function.
7234 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7235 a bit more.
7236 (pcase--split-pred): Be more clever about ruling out overlap between
7237 a predicate and some constant pattern.
7238 (pcase--q1): Use `null' instead of (eq foo nil).
7239
f95e9344
SM
7240 * subr.el (setq-local, defvar-local): New macros.
7241 (kbd): Redefine as an alias.
7242 (with-selected-window): Leave unrelated frames alone.
7243 (set-temporary-overlay-map): New function.
7244
71873e2b
SM
72452012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7246
7247 * subr.el (user-error): New function.
7248 * window.el (switch-to-buffer):
7249 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7250 (smerge-match-conflict):
7251 * simple.el (previous-matching-history-element)
7252 (next-matching-history-element, goto-history-element, undo-more)
7253 (undo-start):
7254 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7255 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7256 (next-file, tags-loop-scan, list-tags, complete-tag):
7257 * progmodes/compile.el (compilation-loop):
7258 * mouse.el (mouse-minibuffer-check):
7259 * man.el (Man-bgproc-sentinel, Man-goto-page):
7260 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7261 (Info-history-forward, Info-follow-reference, Info-menu)
7262 (Info-extract-menu-item, Info-extract-menu-counting)
7263 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7264 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7265 (Info-next-reference, Info-prev-reference, Info-index)
7266 (Info-index-next, Info-follow-nearest-node)
7267 (Info-copy-current-node-name):
7268 * imenu.el (imenu--make-index-alist)
7269 (imenu-default-create-index-function, imenu-add-to-menubar):
7270 * files.el (basic-save-buffer, recover-file):
7271 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7272 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7273 (checkdoc-message-text, checkdoc-defun):
7274 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7275 * cus-edit.el (customize-changed-options, customize-rogue)
7276 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7277 (custom-variable-mark-to-reset-standard)
7278 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7279 (custom-file):
7280 * completion.el (check-completion-length):
7281 * comint.el (comint-search-arg)
7282 (comint-previous-matching-input-string-position)
7283 (comint-previous-matching-input)
7284 (comint-replace-by-expanded-history-before-point, comint-send-input)
7285 (comint-copy-old-input, comint-backward-matching-input)
7286 (comint-goto-process-mark, comint-set-process-mark):
7287 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7288 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7289
8a61ee22
SM
72902012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7291
66408d1e
SM
7292 * dabbrev.el (dabbrev--ignore-case-p): New function.
7293 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7294 Use it.
7295
8a61ee22
SM
7296 * files.el (automount-dir-prefix): Mark as obsolete.
7297
3c74813a
GM
72982012-05-04 Glenn Morris <rgm@gnu.org>
7299
7300 * patcomp.el, play/bruce.el: Move to obsolete/.
7301
0bfcf5c5
PE
73022012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7303
7304 Fix minor Y10k bugs.
7305 * arc-mode.el (archive-unixdate):
7306 * autoinsert.el (auto-insert-alist):
7307 * calc/calc-forms.el (math-this-year):
7308 * emacs-lisp/copyright.el (copyright-current-year)
7309 (copyright-update-year, copyright):
7310 * tar-mode.el (tar-clip-time-string):
7311 * time.el (display-time-update):
7312 Don't assume years have 4 digits.
7313
78f3273a
CY
73142012-05-04 Chong Yidong <cyd@gnu.org>
7315
7316 * dos-w32.el (file-name-buffer-file-type-alist)
7317 (direct-print-region-use-command-dot-com):
7318 * ffap.el (ffap-menu-regexp):
7319 * find-file.el (ff-special-constructs):
7320 * follow.el (follow-debug):
7321 * forms.el (forms--debug):
7322 * iswitchb.el (iswitchb-all-frames):
7323 * ido.el (ido-all-frames):
7324 * emacs-lisp/timer.el (timer-max-repeats):
7325 * mail/feedmail.el (feedmail-mail-send-hook)
7326 (feedmail-mail-send-hook-queued):
7327 * mail/footnote.el (footnote-signature-separator):
7328 * mail/mailabbrev.el (mail-alias-separator-string)
7329 (mail-abbrev-mode-regexp):
7330 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7331 * progmodes/idlwave.el (idlwave-libinfo-file)
7332 (idlwave-default-completion-case-is-down)
7333 (idlwave-library-routines): Convert defvars to defcustoms.
7334
7335 * mail/rmail.el (rmail-decode-mime-charset):
7336 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7337 (idlwave-shell-fix-inserted-breaks)
7338 (idlwave-shell-activate-alt-keybindings)
7339 (idlwave-shell-use-breakpoint-glyph):
7340 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7341
f7ae6719
SM
73422012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7343
7344 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7345
47086495
WS
73462012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7347
7348 * progmodes/verilog-mode.el (font-lock-keywords):
7349 Fix mis-highligting auto. Reported by Craig Barner.
7350 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 7351 defines from global name space. Reported by Dan Dever.
47086495
WS
7352 (verilog-auto-reset, verilog-auto-reset-widths)
7353 (verilog-auto-tieoff): Support using unbased numbers for
7354 AUTORESET and AUTOTIEOFF.
7355 (verilog-submit-bug-report): Update variable list.
7356 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 7357 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
7358 (verilog-auto-template-lint): Fix hash error when linting modules
7359 with no used templates.
7360 (verilog-warn, verilog-warn-error)
7361 (verilog-warn-fatal): When non-interactive report multiple
7362 warnings before exiting. Suggested by Brad Dobbie.
7363 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7364 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7365 to report unused template errors. Reported by Brad Dobbie.
7366 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 7367 nets, bug438. Reported by Vns Blore.
47086495
WS
7368 (verilog-auto-inout-module, verilog-auto-reg)
7369 (verilog-read-decls, verilog-read-sub-decls-sig)
7370 (verilog-signals-edit-wire-reg, verilog-signals-with):
7371 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 7372 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
7373 "reg" for backwards compatibility presuming Verilog 2001.
7374 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7375 (verilog-preprocess): Fix replication of preprocess output.
7376 Reported by Brad Dobbie.
7377 (verilog-auto-inst-interfaced-ports):
7378 Create verilog-auto-inst-interfaced-ports, bug429.
7379 Reported by Julian Gorfajn.
7380 (verilog-after-save-font-hook)
7381 (verilog-before-save-font-hook): New variable.
7382 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7383 (verilog-save-font-mods): Wrap disabling fontification, reported
7384 by David Rogoff.
7385 (verilog-do-indent, verilog-pretty-declarations-auto)
7386 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7387 Reported by Pierre-David Pfister.
7388 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7389 of class declarations, bug292. Reported by Kevin Heilman.
7390 (verilog-read-decls): Fix 'parameter type' not appearing in
7391 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7392 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 7393 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
7394 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7395 Reported by David Kravitz.
7396
73972012-05-03 Michael McNamara <mac@mail.brushroad.com>
7398
7399 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7400 assignment with tests in ifs and for loops.
7401 (verilog-extended-complete-re, verilog-complete-reg): Change so
7402 that DPI inport functions don't look like fuction declarations.
7403 (verilog-pretty-expr): Don't line up assignment
7404 operations to the test and increment in if and for loops
7405 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 7406 that DPI inport functions don't look like fuction declarations.
47086495 7407
2e51d4b5
KH
74082012-05-03 Kenichi Handa <handa@m17n.org>
7409
7410 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 7411 decoding, and show a warning message without signaling an error
2e51d4b5
KH
7412 (Bug#11282).
7413
2bd785a2
SM
74142012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7415
7416 * emacs-lisp/bytecomp.el
7417 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7418 since cconv.el might have introduced :fun-body, internal-make-closure,
7419 and friends for bytecomp to handle (bug#11391).
7420 * custom.el (defcustom): Avoid ((λ ..) ..).
7421
99d27583
SM
74222012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7423
7424 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7425
55a71479
JB
74262012-05-02 Juanma Barranquero <lekktu@gmail.com>
7427
7428 * notifications.el (dbus-debug):
7429 * term/linux.el (gpm-mouse-enable):
7430 * term/screen.el (xterm-register-default-colors): Declare.
7431
7b97c764
CY
74322012-05-02 Chong Yidong <cyd@gnu.org>
7433
2bc356d7
CY
7434 * cus-start.el (gc-cons-percentage, exec-suffixes)
7435 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7436 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7437 (make-cursor-line-fully-visible, void-text-area-pointer)
7438 (font-list-limit): Add customization data.
7439
7b97c764
CY
7440 * allout.el (allout-exposure-change-functions)
7441 (allout-structure-added-functions)
7442 (allout-structure-deleted-functions)
7443 (allout-structure-shifted-functions): Rename abnormal hooks from
7444 *-hook, and convert to defcustoms.
5d3385a0
JB
7445 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7446 Convert to defcustoms.
7b97c764
CY
7447 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7448
7449 * allout-widgets.el: Hook callers changed.
7450
90207a15 74512012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
7452
7453 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7454 the yanked message in preference to the default value of
7455 buffer-file-coding-system.
7456
90207a15 74572012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 7458
5d3385a0
JB
7459 * window.el (display-buffer--action-function-custom-type):
7460 Fix entry.
d9558cad 7461
90207a15 74622012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
7463
7464 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7465
d80ac57b
GM
74662012-05-01 Glenn Morris <rgm@gnu.org>
7467
976f7668
GM
7468 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7469
beb83b5a
GM
7470 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7471
d80ac57b
GM
7472 * cus-edit.el (custom-variable-documentation): Simplify with format.
7473
b593d6a9 74742012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 7475 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
7476
7477 * simple.el (suggest-key-bindings, execute-extended-command):
7478 Move from keyboard.c.
7479
782fbf2a
CY
74802012-05-01 Chong Yidong <cyd@gnu.org>
7481
7482 * follow.el: Eliminate advice.
7483 (set-process-filter, process-filter, sit-for): Advice deleted.
7484 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
7485 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7486 Vars deleted.
782fbf2a
CY
7487 (follow-auto): Use a :set function.
7488 (follow-mode): Rewritten. Don't advise process filters.
7489 (follow-switch-to-current-buffer-all, follow-scroll-up)
7490 (follow-scroll-down): Assume follow-mode is bound.
7491 (follow-comint-scroll-to-bottom)
7492 (follow-align-compilation-windows): New functions.
7493 (follow--window-sorter): New function.
7494 (follow-all-followers): Use it to explicitly sort windows by their
7495 positions; don't make assumptions about next-window order.
7496 (follow-windows-start-end, follow-delete-other-windows-and-split)
7497 (follow-calc-win-start): Doc fix.
7498 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7499 vertical-motion unnecessarily.
7500 (follow-adjust-window): New function.
7501 (follow-post-command-hook): Use it.
7502 (follow-call-set-process-filter, follow-call-process-filter)
7503 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7504 (follow-stop-intercept-process-output, follow-generic-filter):
7505 Functions deleted.
7506 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
7507 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7508 New functions, replacing advice on scroll-bar-* commands.
87233a14 7509 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
7510
7511 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
7512 (comint-postoutput-scroll-to-bottom): Use it.
7513 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 7514
290af740
GM
75152012-05-01 Glenn Morris <rgm@gnu.org>
7516
7517 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7518 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7519 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7520 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7521 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7522 Remove no-byte-compile setting.
7523
6eac8dc9
SM
75242012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7525
7526 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7527 all-completions code to not return a number in the last cdr.
7528
9cc7819c
LL
75292012-04-30 Leo Liu <sdl.web@gmail.com>
7530
7531 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7532 read-only error.
7533
c93b886f
CY
75342012-04-29 Chong Yidong <cyd@gnu.org>
7535
7536 * follow.el (follow-calc-win-end): Rewrite to handle partial
7537 screen lines correctly (Bug#8390).
7538 (follow-avoid-tail-recenter): Minor cleanup.
7539
8b6c19f4
SM
75402012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7541
7542 Avoid the obsolete `assoc' package.
7543 * speedbar.el (speedbar-refresh): Avoid adelete.
7544 (speedbar-file-lists): Simplify and avoid aput.
7545 * man.el (Man--sections, Man--refpages): New vars, replacing
7546 Man-sections-alist and Man-refpages-alist.
7547 (Man-build-section-alist, Man-build-references-alist):
7548 Use them; avoid aput.
7549 (Man--last-section, Man--last-refpage): New vars.
7550 (Man-follow-manual-reference): Use them.
7551 Use the `default' arg of completing-read.
7552 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7553
c5bb7569
CY
75542012-04-27 Chong Yidong <cyd@gnu.org>
7555
d1d2e2e8
CY
7556 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7557
15cd8efd
CY
7558 * startup.el (x-apply-session-resources): New function.
7559
7560 * term/ns-win.el (ns-initialize-window-system):
7561 * term/w32-win.el (w32-initialize-window-system):
7562 * term/x-win.el (x-initialize-window-system): Use it to properly
7563 set menu-bar-mode and other vars from X resources, even if the
7564 initial frame is not a window-system frame (Bug#2299).
7565
c5bb7569
CY
7566 * subr.el (read-key): Avoid running filter function when setting
7567 up temporary tool bar entries (Bug#9922).
7568
a8e7d6d7 75692012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
7570
7571 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7572 (Bug#11344)
7573
a8e7d6d7 75742012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
7575
7576 * select.el (xselect--encode-string): New function, split from
7577 xselect-convert-to-string.
7578 (xselect-convert-to-string): Use it.
7579 (xselect-convert-to-filename, xselect-convert-to-os)
7580 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7581 returned strings are properly encoded (Bug#11315).
7582
a8e7d6d7 75832012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
7584
7585 * simple.el (delete-active-region): Move to killing custom group.
7586
a8e7d6d7 75872012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
7588
7589 * progmodes/which-func.el (which-func-current): Quote %
7590 characters for mode-line processing.
7591
578c1d4b 75922012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
7593
7594 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7595 reaching eob (Bug#11286).
7596
a8e7d6d7 75972012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
7598
7599 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7600 (gdb): Make it buffer-local and init to zero.
7601 (gdb-control-commands-regexp): New variable.
7602 (gdb-send): Don't wrap in "-interpreter-exec console" if
7603 gdb-control-level is positive. Increment gdb-control-level
7604 whenever the command matches gdb-control-commands-regexp, and
7605 decrement it each time the command is "end". (Bug#11279)
7606
a8e7d6d7 76072012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
7608
7609 * window.el (adjust-window-trailing-edge, enlarge-window)
7610 (shrink-window, window-resize):
7611 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7612 windows (Bug#11276).
7613
b3608390
CY
76142012-04-27 Chong Yidong <cyd@gnu.org>
7615
7616 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 7617 fix "missing prefix" warning. All callers changed.
b3608390 7618
797e6e88
SM
76192012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7620
7621 * emacs-lisp/assoc.el: Move to obsolete/.
7622
e95a67dc
SM
76232012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7624
657c21e4 7625 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
7626
7627 * term/ns-win.el (ns-define-service):
7628 * progmodes/pascal.el (pascal-goto-defun):
7629 * progmodes/js.el (js--read-tab):
7630 * progmodes/etags.el (tags-lazy-completion-table):
7631 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7632 * emacs-lisp/ewoc.el (ewoc--wrap):
7633 * emacs-lisp/assoc.el (aput, adelete, amake):
7634 * doc-view.el (doc-view-convert-current-doc):
7635 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7636
cb3e7ae0
CY
76372012-04-26 Chong Yidong <cyd@gnu.org>
7638
dce04f7f
CY
7639 * image.el (image-type-from-buffer): Only return supported image
7640 type (Bug#9045).
7641
cb3e7ae0
CY
7642 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7643 value, for symmetry with diff-end-of-hunk.
7644 (diff-split-hunk, diff-find-source-location)
7645 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7646 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7647 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7648 compute the relevant hunk or file properly (Bug#6005).
7649 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7650
0d42eb3e
SM
76512012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7652
7653 * vc/vc-mtn.el:
7654 * vc/vc-hg.el:
7655 * vc/vc-git.el:
7656 * vc/vc-dir.el:
7657 * vc/vc-cvs.el:
7658 * vc/vc-bzr.el:
7659 * vc/vc-arch.el:
7660 * vc/vc.el: Replace lexical-let by lexical-binding.
7661 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7662 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7663 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7664
f08ae1c9
CY
76652012-04-26 Chong Yidong <cyd@gnu.org>
7666
8b71081d
CY
7667 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7668 (diff-mode-shared-map): Bind it to / and [remap undo].
7669
f08ae1c9
CY
7670 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7671 (ediff-window-setup-function): Use it as the default, to set up
7672 windows based on whether the current frame is graphical (Bug#2138).
7673 (ediff-choose-window-setup-function-automatically): Make obsolete.
7674
7675 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7676
ef24141c
SM
76772012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7678
cc356a5d
SM
7679 * ffap.el: Remove old code for obsolete package.
7680 (ffap-complete-as-file-p): Remove.
7681
b4ff4f1f
SM
7682 Use completion-table-with-quoting for comint and pcomplete.
7683 * comint.el (comint--unquote&requote-argument)
7684 (comint--unquote-argument, comint--requote-argument): New functions.
7685 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7686 (comint-quote-filename): Use regexp-opt-charset.
7687 (comint--common-suffix, comint--common-quoted-suffix)
7688 (comint--table-subvert): Remove.
7689 (comint-unquote-function, comint-requote-function): New vars.
7690 (comint--complete-file-name-data): Use them with
7691 completion-table-with-quoting.
7692 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7693 * pcomplete.el (pcomplete-arg-quote-list)
7694 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7695 (pcomplete-unquote-argument-function): Default to non-nil.
7696 (pcomplete-unquote-argument): Simplify.
7697 (pcomplete--common-quoted-suffix): Remove.
7698 (pcomplete-requote-argument-function): New var.
7699 (pcomplete--common-suffix): New function.
7700 (pcomplete-completions-at-point): Use completion-table-with-quoting
7701 and completion-table-subvert.
7702
79c4eeb4
SM
7703 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7704 (minibuffer--double-dollars): Preserve properties.
7705 (completion--sifn-requote): New function.
7706 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7707
ef24141c
SM
7708 * minibuffer.el: Add support for completion of quoted/escaped data.
7709 (completion-table-with-quoting, completion-table-subvert): New funs.
7710 (completion--twq-try, completion--twq-all): New functions.
7711 (completion--nth-completion): New function.
7712 (completion-try-completion, completion-all-completions): Use it.
7713
784e7d6e
LL
77142012-04-25 Leo Liu <sdl.web@gmail.com>
7715
dd2ac746
SM
7716 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7717 Use compilation-message if available to find real filename.
784e7d6e 7718
07875ee7
CY
77192012-04-25 Chong Yidong <cyd@gnu.org>
7720
7721 * vc/diff-mode.el (diff-setup-whitespace): New function.
7722 (diff-mode): Use it.
7723
7724 * vc/diff.el (diff-sentinel):
7725 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7726 Whitespace mode variables based on diff style (Bug#8612).
7727
5055880d
LL
77282012-04-25 Leo Liu <sdl.web@gmail.com>
7729
daf75653
LL
7730 * progmodes/python.el (python-send-region): Add suffix .py to the
7731 temp file.
7732
5055880d
LL
7733 * files.el (auto-mode-alist): Use javascript-mode instead.
7734
db9b177b
AH
77352012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7736
ef24141c 7737 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 7738
090bd7cb 7739 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 7740 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 7741 references, see Bug#9.
ef24141c 7742 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 7743 when receiving a fault reply.
ef24141c 7744 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 7745
090bd7cb 7746 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 7747 (soap-inspect-simple-type): New function.
db9b177b 7748
090bd7cb 7749 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 7750 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
7751 (soap-decode-basic-type, soap-encode-basic-type):
7752 support unsignedInt and double basic types.
db9b177b 7753 (soap-resolve-references-for-simple-type)
ef24141c
SM
7754 (soap-parse-simple-type, soap-encode-simple-type): New function.
7755 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 7756
090bd7cb 7757 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
7758 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7759 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7760 the local name of "soapenc:Array".
7761 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
7762 decoding integer, byte and anyURI xsd types.
7763
1fc6097b
CY
77642012-04-25 Chong Yidong <cyd@gnu.org>
7765
7766 * cus-edit.el (custom-buffer-create-internal): Update header text.
7767
afc6df87
EZ
77682012-04-25 Eli Zaretskii <eliz@gnu.org>
7769
7770 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7771 settings on 'system-type', not on 'window-system'. On MS-Windows,
7772 set interactive-mode on in GDB.
7773
dfbd787f
SM
77742012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7775
7776 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7777 (ruby-syntax-propertize-regexp): Remove.
7778 (ruby-syntax-propertize-function): Split regexp into chunks.
7779 Match following code directly.
7780
85222d44
DG
77812012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7782
51a8ea2a
DG
7783 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7784 (ruby-syntax-propertize-regexp): New function.
7785 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7786 by a special keyword.
7787
85222d44
DG
7788 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7789 (ruby-syntax-general-delimiters-goto-beg)
7790 (ruby-syntax-propertize-general-delimiters): New functions.
7791 (ruby-syntax-propertize-function): Use them to handle GDL.
7792 (ruby-font-lock-keywords): Move old handling of GDL...
7793 (ruby-font-lock-syntactic-keywords): .. to here.
7794 (ruby-calculate-indent): Adjust indentation for GDL.
7795
b613912b
MA
77962012-04-24 Michael Albinus <michael.albinus@gmx.de>
7797
b5380639
MA
7798 * notifications.el (top): Remove unneeded declarations.
7799 (notifications-specification-version): Change to "1.2".
e43042fe 7800 (notifications-interface, notifications-notify-method)
b613912b
MA
7801 (notifications-close-notification-method): Fix docstring.
7802 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
7803 (notifications-notify): Add :action-items, :resident and
7804 :transient hints. Change "image_data" to "image-data" and
7805 "image_path" to "image-path".
b613912b
MA
7806 (notifications-get-capabilities): New defun.
7807
257440aa
LL
78082012-04-24 Leo Liu <sdl.web@gmail.com>
7809
7810 * progmodes/python.el: Move hideshow setup to the end.
7811
b1bac16e
MR
78122012-04-24 Martin Rudalics <rudalics@gmx.at>
7813
7814 * window.el (handle-select-window): Clear echo area since this is
7815 no more done by read_char (Bug#11304).
7816
d81bd059
SM
78172012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7818
7819 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7820 and `/ M' to filter-derived-mode.
7821 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7822 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7823 (ibuffer-mark-by-mode): Use default rather than initial-input.
7824 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7825
c4cf6d91
IA
78262012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7827
7828 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7829 (ibuffer-filter-by-derived-mode): New filter.
7830 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7831
7511ded8
CY
78322012-04-23 Andreas Politz <politza@fh-trier.de>
7833
7834 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7835
775c916b
CY
78362012-04-23 Chong Yidong <cyd@gnu.org>
7837
7838 * cus-edit.el (customize-apropos, customize-apropos-options):
7839 Disable matching of non-option variables (Bug#11176).
7840 (customize-option, customize-option-other-window)
7841 (customize-changed-options): Doc fix.
7842 (customize-apropos-options, customize-apropos-faces)
7843 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7844
7845 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 7846 Fix word list splitting (Bug#11132).
46c71e23
CY
7847 (apropos-symbol, apropos-keybinding, apropos-label)
7848 (apropos-property, apropos-function-button)
7849 (apropos-variable-button, apropos-misc-button): New faces.
7850 (apropos-symbol-face, apropos-keybinding-face)
7851 (apropos-label-face, apropos-property-face, apropos-match-face):
7852 Variables removed (Bug#8396).
7853 (apropos-library-button, apropos-format-plist, apropos-print)
7854 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 7855
2df41f9c
MA
78562012-04-23 Michael Albinus <michael.albinus@gmx.de>
7857
7858 * net/xesam.el (xesam-mode-map): Use let-bound map in
7859 initialization. (Bug#11292)
7860
da00640a
AM
78612012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7862
7863 Preserve ispell session localwords when switching back to
7864 original buffer.
7865
090bd7cb
JB
7866 * textmodes/ispell.el (ispell-buffer-session-localwords):
7867 New buffer-local variable to hold buffer session localwords.
ed9265fc 7868 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
7869 localwords.
7870 (ispell-command-loop, ispell-change-dictionary)
7871 (ispell-buffer-local-words): Preserve session localwords when
7872 needed.
7873
090bd7cb
JB
7874 * textmodes/flyspell.el (flyspell-process-localwords)
7875 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 7876
f621ccf5
AM
78772012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7878
090bd7cb
JB
7879 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7880 using obsolete `translation-table-for-input'.
ef24141c
SM
7881 (ispell-word, ispell-process-line, ispell-complete-word):
7882 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 7883
c2d1019e
CY
78842012-04-22 Chong Yidong <cyd@gnu.org>
7885
7886 * cus-edit.el (custom-variable-menu)
7887 (custom-variable-reset-saved, custom-face-menu)
7888 (custom-face-reset-saved): If there is no saved value, make the
7889 "reset-saved" operation bring back the default (Bug#9509).
7890 (custom-face-state): Properly detect themed faces.
7891
eeddc531
CY
7892 * faces.el (face-spec-set): Stop supporting deprecated form of
7893 third arg.
7894
dcbf5805
MA
78952012-04-22 Michael Albinus <michael.albinus@gmx.de>
7896
7897 Move functions from C to Lisp. Make non-blocking method calls
7898 the default. Implement further D-Bus standard interfaces.
7899
ef24141c
SM
7900 * net/dbus.el (dbus-message-internal): Declare function.
7901 Remove unneeded function declarations.
dcbf5805
MA
7902 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7903 (dbus-message-type-method-return, dbus-message-type-error)
7904 (dbus-message-type-signal): Declare variables. Remove local
7905 definitions.
7906 (dbus-interface-dbus, dbus-interface-peer)
7907 (dbus-interface-introspectable, dbus-interface-properties)
7908 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7909 Adapt docstring.
7910 (dbus-interface-objectmanager): New defconst.
7911 (dbus-call-method, dbus-call-method-asynchronously)
7912 (dbus-send-signal, dbus-method-return-internal)
7913 (dbus-method-error-internal, dbus-register-service)
7914 (dbus-register-signal, dbus-register-method): New defuns, moved
7915 from dbusbind.c
7916 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
7917 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7918 New defuns.
dcbf5805
MA
7919 (dbus-call-method-non-blocking): Make it an obsolete function.
7920 (dbus-unregister-object, dbus-unregister-service)
7921 (dbus-handle-event, dbus-register-property)
7922 (dbus-property-handler): Obey the new structure of
7923 `bus-registered-objects'.
7924 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7925 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7926 Use `dbus-call-method'.
7927
cf20dee0
CY
79282012-04-22 Chong Yidong <cyd@gnu.org>
7929
7930 * cus-edit.el (custom-commands, custom-reset-menu)
7931 (Custom-reset-standard): Tweak labels.
7932 (custom-reset-button-menu): Change default to t.
7933 (custom-buffer-create-internal): For the custom-reset-button-menu
7934 case, put the revert button first.
7935 (custom-group-subtitle): New face.
7936 (custom-group-value-create): Align docstring to a specific column.
7937
7938 * wid-edit.el (widget-documentation-link-add): Don't handle
7939 indentation in this function.
7940 (widget-documentation-string-indent-to): New function.
7941 (widget-documentation-string-value-create): Use it.
7942
7943 * autorevert.el (auto-revert):
7944 * epg-config.el (epg):
7945 * ibuffer.el (ibuffer):
7946 * mpc.el (mpc):
7947 * ses.el (ses):
7948 * eshell/eshell.el (eshell):
7949 * net/ange-ftp.el (ange-ftp):
7950 * progmodes/ebnf2ps.el (postscript):
7951 * progmodes/flymake.el (flymake):
7952 * progmodes/prolog.el (prolog):
7953 * progmodes/verilog-mode.el (verilog-mode):
7954 * progmodes/which-func.el (which-func):
7955 * term/xterm.el (xterm):
7956 * textmodes/picture.el (picture):
7957 * textmodes/tildify.el (tildify):
7958 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7959 customization buffers.
7960
583e23bd
AM
79612012-04-22 Alan Mackenzie <acm@muc.de>
7962
7963 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7964 Adding a ) can hide the resulting (..) from searches. Fix it.
7965 Bound the backward search to the position of the existing (.
7966
7dd51bf1
JB
79672012-04-21 Juanma Barranquero <lekktu@gmail.com>
7968
7969 * progmodes/verilog-mode.el (verilog-mode): Check whether
7970 which-func-modes is t before adding verilog-mode.
7971 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7972
d64a438f
LL
79732012-04-21 Leo Liu <sdl.web@gmail.com>
7974
7dd51bf1 7975 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 7976
081e8d65
MV
79772012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7978
7979 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7980 filling of the last column of a table (Bug#5635).
7981 (woman-find-next-control-line): New arg, specifying an additional
7982 regexp component for the control line.
7983 (woman2-roff-buffer): Use it.
7984 (woman-break-table): New function.
7985 (woman2-TS): Use it.
7986
79872012-04-21 Chong Yidong <cyd@gnu.org>
7988
7989 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7990 (woman-horizontal-escapes, woman-negative-vertical-space)
7991 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7992 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7993
ed571ccb
SM
79942012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7995
7996 * minibuffer.el (completion-file-name-table): Complete user names.
7997
39773899
LL
79982012-04-20 Leo Liu <sdl.web@gmail.com>
7999
8000 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8001 and pcase-let*.
8002
de6ff46d
CY
80032012-04-20 Chong Yidong <cyd@gnu.org>
8004
8005 * server.el (server-execute): Respect initial-buffer-choice if it
8006 is a string and there are no files to open (Bug#2825).
8007 (server-create-window-system-frame, server-create-tty-frame):
8008 Don't switch buffers here.
2d0e8e61
CY
8009 (server-process-filter): Only try to open a window system frame if
8010 compiled with graphical support (Bug#8314).
de6ff46d 8011
54071013
DN
80122012-04-20 Dan Nicolaescu <dann@gnu.org>
8013
8014 * battery.el (battery-echo-area-format): Display remaining time
8015 for sysfs backend too (Bug#11269).
8016 (battery-linux-sysfs): Fix conditional for the charge.
8017
f30d612a
CY
80182012-04-20 Chong Yidong <cyd@gnu.org>
8019
c07a4c0b 8020 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
8021 (gdb-inferior-io--init-proc): New function.
8022 (gdb-init-1): Use it.
8023 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8024 responsible for allocating a new pty and hooking it to gdb when
8025 the old pty gets an EIO due to process exit.
8026 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8027 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8028 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8029
2116e93c
EZ
80302012-04-20 Eli Zaretskii <eliz@gnu.org>
8031
8032 * window.el (window-min-size, window-sizable, window-min-delta)
8033 (window-max-delta, window--resizable, window-resizable)
8034 (window-total-size, window-full-height-p, window-full-width-p)
8035 (window-in-direction, window--resize-mini-window, window-resize)
8036 (window--resize-child-windows-normal)
8037 (window--resize-child-windows, window--resize-siblings)
8038 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 8039 (enlarge-window, shrink-window): Doc fixes.
2116e93c 8040
c07a4c0b 80412012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 8042
ef24141c
SM
8043 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8044 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
8045 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8046 pty process (Bug#11273).
8047 (gdb-update): New arg to suppress talking to the gdb process.
8048 (gdb-done-or-error): Use it.
8049 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8050 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8051 sentinel not being called.
8052
8053 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8054
d02766ab
CY
8055 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8056
c07a4c0b 80572012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
8058
8059 * net/network-stream.el (open-network-stream): Doc fix.
8060
c07a4c0b 80612012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
8062
8063 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8064
c07a4c0b 80652012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
8066
8067 Ensure searching for keywords is case sensitive.
8068
8069 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8070 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8071 (c-defun-name, c-mark-function, c-cpp-define-name)
8072 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 8073 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 8074
ef24141c
SM
8075 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8076 Bind case-fold-search to nil.
f0f6bc35 8077
c07a4c0b 80782012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
8079
8080 * mail/sendmail.el (mail-bury): Call return action with the right
8081 Rmail buffer (Bug#11242).
8082
9a864fa2
CY
8083 * server.el (server-process-filter): Handle corner case where both
8084 tty and nowait options are present (Bug#11102).
8085
539aa513
EZ
80862012-04-20 Eli Zaretskii <eliz@gnu.org>
8087
8088 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
8089 (top level): Put into the executable the ident-style '$Id:' tag on
8090 windows-nt as well.
539aa513 8091
cfc7d5da
SM
80922012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8093
8094 * electric.el (electric-indent-post-self-insert-function): Check that
8095 electric-indent-mode is enabled in current buffer.
8096
5b01685c
JB
80972012-04-19 Juanma Barranquero <lekktu@gmail.com>
8098
8099 * imenu.el (imenu-progress-message): Restore; it is "used" in
8100 erc/erc-imenu.el and net/snmp-mode.el.
8101
4d6769e1
JB
81022012-04-19 Juanma Barranquero <lekktu@gmail.com>
8103
8104 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8105 (mouse-avoidance-nudge-mouse): Remove unused binding.
8106
8107 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8108
8109 * descr-text.el (describe-char):
8110 * progmodes/python.el (python-describe-symbol):
8111 Don't call `toggle-read-only', set `buffer-read-only'.
8112
8113 * imenu.el (imenu-default-goto-function): Mark unused args.
8114 (imenu-progress-message): Remove obsolete macro; all callers changed.
8115
8116 * subr.el (keymap-canonicalize): Remove unused binding.
8117 (read-passwd): Mark unused arg.
8118
8119 * tutorial.el (tutorial--display-changes): Remove unused binding.
8120 (tutorial--save-tutorial-to): Remove unused variable.
8121
8122 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8123 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8124 (package-generate-autoloads, package-menu--generate)
8125 (package-menu--find-upgrades): Remove unused bindings.
8126
8127 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8128 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8129 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8130 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8131 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8132 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8133 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8134 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8135 (cua-delete-char-rectangle): Mark unused args.
8136 (cua-align-rectangle): Remove unused binding.
8137
8138 * mail/rmail.el (compilation--message->loc)
8139 (epa--find-coding-system-for-mime-charset): Declare.
8140
8141 * net/dbus.el (dbus-register-service): Declare.
8142 (dbus-name-owner-changed-handler): Remove unused binding.
8143
8144 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8145 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8146 (nxml-scan-backward-within): Mark unused arg.
8147 (nxml-dynamic-markup-word): Remove unused binding.
8148
8149 * mouse.el (mouse-menu-major-mode-map):
8150 * emacs-lisp/authors.el (authors-scan-change-log)
8151 (authors-add-to-author-list):
8152 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8153 * emacs-lisp/smie.el (smie-auto-fill):
8154 * mail/sendmail.el (mail-bury):
8155 * mail/unrmail.el (unrmail):
8156 * net/tls.el (open-tls-stream):
8157 * textmodes/picture.el (picture-mouse-set-point):
8158 Remove unused bindings.
8159
8c8fc5df
MA
81602012-04-19 Michael Albinus <michael.albinus@gmx.de>
8161
8162 * net/tramp.el (tramp-action-password): Let-bind
8163 `enable-recursive-minibuffers' to t.
8164
a77b0ac9
SS
81652012-04-18 Sam Steingold <sds@gnu.org>
8166
8167 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8168 instead of 'string to accommodate values like [f11].
8169 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8170 * progmodes/gdb-mi.el: Likewise.
8171
12a106a9
LL
81722012-04-18 Leo Liu <sdl.web@gmail.com>
8173
8174 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8175 current buffer.
8176 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8177 LOCAL is nil.
8178
bc6494ef
CY
81792012-04-18 Chong Yidong <cyd@gnu.org>
8180
8181 * simple.el (line-move): Use forward-line if in batch mode
8182 (Bug#11053).
8183
c09c46b2
CS
81842012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8185
8186 * files.el (after-find-file): Do not try to add a final newline if
8187 the buffer is read-only (Bug#11156).
8188
5f6530ea
RS
81892012-04-17 Richard Stallman <rms@gnu.org>
8190
8191 * mail/rmail.el (rmail-start-mail):
8192 Pass (rmail-mail-return...) for the return-action.
8193 Pass (rmail-yank-current-message...) for the yank-action.
8194 (rmail-yank-current-message): New function.
8195 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8196 (rmail-reply): Likewise.
8197 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8198
8199 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 8200 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
8201 buffer, not newbuf.
8202
197b6f3c
JB
82032012-04-17 Juanma Barranquero <lekktu@gmail.com>
8204
8205 * server.el (server-ensure-safe-dir): Simplify.
8206
2311d8e5 82072012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 8208
2311d8e5
GM
8209 * emacs-lisp/smie.el: Provide smarter auto-filling.
8210 (smie-auto-fill): New function.
8211 (smie-setup): Use it.
98fb480e 8212
2311d8e5
GM
8213 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8214
82152012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
8216
8217 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8218 (comment-indent): Use it.
8219
2311d8e5 82202012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
8221
8222 * ses.el: The overall change is to add cell renaming, that is
8223 setting fancy names for cell symbols other than name matching
8224 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 8225 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 8226 (ses-create-cell-variable): New defun.
2311d8e5 8227 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
8228 (ses-relocate-formula): Relocate formulas only for cells the
8229 symbols of which are not renamed, i.e. symbols whose names do not
8230 match regexp "\\`[A-Z]+[0-9]+\\'".
8231 (ses-relocate-all): Relocate values only for cells the symbols of
8232 which are not renamed.
8233 (ses-load): Create cells variables as the (ses-cell ...) are read,
8234 in order to check row col consistency with cell symbol name only
8235 for cells that are not renamed.
8236 (ses-replace-name-in-formula): New defun.
8237 (ses-rename-cell): New defun.
4bdf2ad2 8238
fc72b15c
PO
82392012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8240
8241 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8242 New option (bug#11118).
8243 (perl-calculate-indent): Respect it.
8244
12e10e61
GM
82452012-04-17 Glenn Morris <rgm@gnu.org>
8246
8247 * dired-aux.el (dired-mark-read-string): Doc fix.
8248
30009afd
DA
82492012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8250
8251 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8252 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8253
41f03f4d
GM
82542012-04-17 Glenn Morris <rgm@gnu.org>
8255
8256 * mouse.el (mouse-drag-track):
8257 * speedbar.el (speedbar-frame-mode):
8258 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8259
f45f90f3
LL
82602012-04-16 Leo Liu <sdl.web@gmail.com>
8261
8262 * progmodes/python.el: Trivial cleanup.
8263
94ee8db5
GM
82642012-04-16 Glenn Morris <rgm@gnu.org>
8265
121b8917
GM
8266 * vc/vc.el (vc-string-prefix-p):
8267 * vc/pcvs-util.el (cvs-string-prefix-p):
8268 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8269 * mpc.el (mpc-string-prefix-p):
8270 Make all of these into obsolete aliases for string-prefix-p.
8271 Update callers.
8272 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8273
1197ecfa
GM
8274 * textmodes/two-column.el: Move custom options to the start.
8275 (frame-width): Remove compat definition.
8276 (2C-associate-buffer, 2C-dissociate):
8277 Use with-current-buffer rather than save-excursion.
8278 (2C-dissociate): Force a mode-line update.
8279 (2C-autoscroll): Use ignore-errors.
8280
099e7202
GM
8281 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8282 Autoload trivia.
8283
bf350d6a
GM
8284 * emacs-lisp/cl-extra.el (*random-state*):
8285 Remove unnecessary declaration.
8286
0e829eab
GM
8287 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8288
e3ad7552
GM
8289 * play/cookie1.el (cookie-snarf):
8290 Give an explicit error if input file cannot be read.
8291
68892d27
GM
8292 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8293
20f0c46d
GM
8294 * progmodes/perl-mode.el (c-macro-expand):
8295 Remove unnecessary autoload (it is in loaddefs.el).
8296
5a0978ce
GM
8297 * textmodes/picture.el (picture-desired-column)
8298 (picture-update-desired-column): Convert comments to doc-strings.
8299 (picture-substitute): Remove function.
8300 (picture-mode-map): Initialize in the defvar.
8301
6b955486
GM
8302 * woman.el: Remove eval-after-load for tar-mode.
8303 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8304 (woman-tar-extract-file): Autoload it.
8305
94ee8db5
GM
8306 * frame.el (automatic-hscrolling): Make this alias obsolete.
8307
177eca34
AM
83082012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8309
090bd7cb 8310 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 8311 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
8312 (ispell-dictionary-base-alist): Revert to original XEmacs
8313 friendly version for default. [:alpha:] will be added in
090bd7cb 8314 `ispell-set-spellchecker-params' if needed.
177eca34 8315
c505aaeb
CY
83162012-04-16 Chong Yidong <cyd@gnu.org>
8317
b19dd9d1 8318 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
8319 (imagemagick-register-types): Use it.
8320 (imagemagick-types-inhibit): Add :set function. Allow new value
8321 of t to inhibit all types.
8322
8323 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8324 so we can preload it.
8325
8326 * loadup.el (fboundp): Preload regexp-opt, needed by
8327 imagemagick-register-types.
8328
60efac0f
CY
83292012-04-15 Chong Yidong <cyd@gnu.org>
8330
8331 * frame.el (scrolling): Remove nearly unused customization group.
8332
8333 * scroll-all.el (scroll-all-mode): Move to windows group.
8334
5dd1713e
CY
83352012-04-15 Chong Yidong <cyd@gnu.org>
8336
8337 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8338
e6fd457e
CY
83392012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8340
8341 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 8342 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 8343
e153c136
GM
83442012-04-15 Glenn Morris <rgm@gnu.org>
8345
8346 * simple.el (process-file-side-effects): Doc fix.
8347
e6fd457e 83482012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
8349
8350 * international/mule-cmds.el (set-language-environment): Doc fix.
8351
3603c3b1
JB
83522012-04-14 Juanma Barranquero <lekktu@gmail.com>
8353
8354 * server.el (server-auth-key, server-generate-key): Doc fixes.
8355 (server-get-auth-key): Doc fix. Use `string-match-p'.
8356 (server-start): Reflow docstring.
8357
e6de100c
LI
83582012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8359
8360 * server.el (server-generate-key): `called-interactively-p'
8361 requires a parameter.
8362
29734c21
MN
83632012-04-14 Michal Nazarewicz <mina86@mina86.com>
8364
8365 * server.el (server-auth-key): New variable.
75f1671a 8366 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
8367 (server-start): Use the new variable and functions to allow
8368 setting a permanent server key (bug#9423).
8369
d65c9521
LL
83702012-04-14 Leo Liu <sdl.web@gmail.com>
8371
8372 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8373
5ae255c7
PE
83742012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8375
8376 Spelling fixes.
8377 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8378 Emacs uses American spelling.
8379
d5e6342e
JB
83802012-04-14 Juanma Barranquero <lekktu@gmail.com>
8381
8382 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8383 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8384 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8385 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8386
ab036cd7
SM
83872012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8388
8389 * progmodes/which-func.el (which-func-modes): Change default.
8390
35dc09a1 83912012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
8392
8393 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8394 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8395
35dc09a1 83962012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
8397
8398 * custom.el (custom-theme-set-variables): Doc fix.
8399
35dc09a1 84002012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
8401
8402 * international/mule.el (set-auto-coding-for-load): Doc fix.
8403
35dc09a1 84042012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 8405
35dc09a1
GM
8406 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8407 imenu work again for Objective C Mode. Correct the *-index values,
8408 these having been disturbed by a previous change in 2011-08.
57f845ee 8409
0de3da9f
AM
8410 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8411 Correct two search limits.
8412
35dc09a1 84132012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
8414
8415 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8416
35dc09a1 84172012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
8418
8419 * international/characters.el: Fix sorting.
8420
35dc09a1 84212012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
8422
8423 * international/characters.el: Add more missing Latin case pairs.
8424
35dc09a1 84252012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
8426
8427 * files.el (dir-locals-set-class-variables): Doc fix.
8428
35dc09a1 84292012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 8430
3f1b5bf8
EZ
8431 * international/characters.el: Add set-case-syntax-pair call for
8432 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8433 counterpart. (Bug#11209)
8434
9f847f41
EZ
8435 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8436
35dc09a1 84372012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
8438
8439 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8440
35dc09a1 84412012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 8442
35dc09a1
GM
8443 * textmodes/ispell.el (ispell-dictionary-base-alist):
8444 Add data for Hebrew.
e2627d21 8445
35dc09a1 84462012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 8447
35dc09a1
GM
8448 * net/rcirc.el (rcirc-cmd-quit):
8449 Revert 2012-03-18 change (Bug#11192).
5c14e333 8450
35dc09a1 84512012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
8452
8453 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8454
35dc09a1 84552012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 8456
4517fe3a
SM
8457 * minibuffer.el (completion-in-region-mode-map):
8458 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 8459
b472a594
VD
84602012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8461
8462 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8463
09b95ce3
MY
84642012-04-13 Masatake YAMATO <yamato@redhat.com>
8465
8466 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8467 to allow `C-M-f' and `C-M-b' to move to the nearest path
8468 separator (bug#9511).
8469
4b63a9ca
LI
84702012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8471
8472 * avoid.el: Require cl when compiling. And also move the
8473 `provide' to the end.
8474
7b55b8bf
TV
84752012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8476
8477 * avoid.el (mouse-avoidance-banish-position): New variable.
8478 (mouse-avoidance-banish-destination): Use it (bug#10165).
8479
adedaa1f
LL
84802012-04-13 Leo Liu <sdl.web@gmail.com>
8481
8482 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8483
70e74021
KB
84842012-04-13 Ken Brown <kbrown@cornell.edu>
8485
8486 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 8487 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
8488 (browse-url-filename-alist): For the same reason, don't modify
8489 file:// URLs on Cygwin.
8490
e75e89ba
SM
84912012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8492
8493 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8494 the region on shift if the binding is already shifted (bug#11221).
8495
82f289a4
GM
84962012-04-12 Glenn Morris <rgm@gnu.org>
8497
8498 * mail/mailpost.el: Move to obsolete/.
8499
d333dc4c
DA
85002012-04-12 Drew Adams <drew.adams@oracle.com>
8501
8502 * imenu.el (imenu--generic-function): Ignore invisible definitions
8503 (bug#10123).
8504
0d15b5ba
VD
85052012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8506
8507 * hexl.el (hexl-bits): New variable.
8508 (hexl-options): Mention the variable in the doc string.
75f1671a 8509 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 8510 (hexl-mode): Mention the new variable.
75f1671a
JB
8511 (hexl-mode, hexl-current-address, hexl-current-address):
8512 Use the displen.
0d15b5ba
VD
8513 (hexl-ascii-start-column): New function.
8514 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8515 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8516
64a440db
AM
85172012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8518
8519 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8520 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8521 the encoding, as expected by hunspell.
8522
6decb6c2
SM
85232012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8524
8525 * battery.el (battery--linux-sysfs-regexp): New const.
8526 (battery-status-function): Use it. Remove yeeloong special case.
8527 (battery-yeeloong-sysfs): Remove.
8528 (battery-echo-area-format): Remove yeeloong special case.
8529
088be6fb
SM
85302012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8531
6622e416
SM
8532 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8533 Reported by Noah Friedman.
8534
088be6fb
SM
8535 * subr.el (read-passwd): Use read-string.
8536
b49f886e
LMI
85372012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8538
8539 * vcursor.el (vcursor-move): Increase the priority of the overlay
8540 (bug#9663).
8541
a63067fc
DD
85422012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8543
8544 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8545 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8546
ac3cf14a
WS
85472012-04-11 William Stevenson <yhvh2000@gmail.com>
8548
8549 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8550 define-minor-mode (bug#10760).
8551
c4fc691b 85522012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 8553
4d6769e1 8554 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
8555 that directories matching `grep-find-ignored-files' won't be
8556 pruned (bug#10351).
8557
af23e2e5
CY
85582012-04-11 Chong Yidong <cyd@gnu.org>
8559
8560 * startup.el (command-line): Remove support for long-obsolete
8561 variable font-lock-face-attributes.
8562
ab7ce8c1
GM
85632012-04-11 Glenn Morris <rgm@gnu.org>
8564
8565 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8566
de8c03dc
SM
85672012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8568
8569 * window.el (window--state-get-1): Obey window-point-insertion-type.
8570
050cc68b
LB
85712012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8572
8573 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8574 to previous function when point is on the first character of a
75f1671a 8575 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 8576
a38c310c
GM
85772012-04-11 Glenn Morris <rgm@gnu.org>
8578
effed0c2
GM
8579 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8580 not just file-errors.
8581
a38c310c
GM
8582 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8583 (vc-bzr-sha1): Use internal sha1.
8584
0221e323
SM
85852012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8586
8587 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8588
43956923
SG
85892012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8590
8591 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8592 that start in the middle of the line (bug#10496).
8593
6a8c9eaf
DN
85942012-04-10 Dan Nicolaescu <dann@gnu.org>
8595
8596 * battery.el (battery-linux-proc-acpi): Only one battery is
8597 discharged at a time, but that seems to confuse battery.el when
8598 computing `rate-type' for the battery not being discharged
8599 (bug#10332).
8600
1930bf5d
SM
86012012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8602
2a718f6f
SM
8603 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8604
599430d0
SM
8605 * international/quail.el: Use dolist and simplify.
8606 (quail-define-package, quail-update-keyboard-layout)
8607 (quail-define-rules): Use dolist.
8608 (quail-insert-kbd-layout, quail-get-translation): CSE.
8609
a2754b6c
SM
8610 * tmm.el: Use dolist, remove left over hook.
8611 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8612 Use dolist.
8613 (calendar-load-hook): Don't mess with it.
8614
1930bf5d
SM
8615 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8616 Use derived-mode-p. Run the diff asynchronously.
8617
9f67961c
LMI
86182012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8619
8620 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8621
2a8ce227
JB
86222012-04-10 Juanma Barranquero <lekktu@gmail.com>
8623
8624 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8625 (list-dynamic-libraries--loaded): New function.
8626 (list-dynamic-libraries--refresh): Use it.
8627
8f33b5f8
NW
86282012-04-10 Nathan Weizenbaum <nweiz@google.com>
8629
1930bf5d
SM
8630 * progmodes/python.el (python-fill-paragraph):
8631 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
8632 disabled (bug#7018).
8633
b12f0439
L
86342012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8635
1930bf5d 8636 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
8637 DOS/MS Windows for the Baltic languages. There are still plenty
8638 of texts written in this encoding/codepage (bug#6519).
b12f0439 8639
57c3bd01
GM
86402012-04-10 Glenn Morris <rgm@gnu.org>
8641
8642 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8643 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8644
6c3eab30
FA
86452012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8646
1930bf5d 8647 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
8648 next-line "n" and previous-line "p" in order to make recentf more
8649 consistent with ibuffer, dired or org-mode (bug#9387).
8650
24d78a88
LMI
86512012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8652
bc72b5d9
LMI
8653 * image.el (put-image): Return the overlay created instead of the
8654 optional input string (bug#7834). Note that this may break code
8655 that is (for some reason or other) depending on `put-image'
8656 returning the string.
8657
bd2dba5a
LMI
8658 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8659
74beb59f
LMI
8660 * simple.el (zap-to-char): Allow zapping using input methods
8661 (bug#1580).
8662
24d78a88
LMI
8663 * textmodes/fill.el (fill-region): Leave point and mark where they
8664 were before filling (bug#5399).
8665
263f20cd
GM
86662012-04-09 Glenn Morris <rgm@gnu.org>
8667
8668 * version.el (emacs-bzr-get-version):
8669 Handle lightweight checkouts of local branches.
8670
58d1f797
AS
86712012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8672
263f20cd 8673 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 8674
b4d3bc10
CY
86752012-04-09 Chong Yidong <cyd@gnu.org>
8676
8677 * custom.el (custom-variable-p): Return nil for non-symbol
8678 arguments instead of signaling an error.
8679 (user-variable-p): Obsolete alias for custom-variable-p.
8680
8681 * apropos.el (apropos-variable):
8682 * files-x.el (read-file-local-variable):
8683 * simple.el (set-variable):
8684 * woman.el (woman-mini-help):
8685 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8686
fd06db5d
GM
86872012-04-09 Glenn Morris <rgm@gnu.org>
8688
e5fcdb5e
GM
8689 * startup.el (normal-top-level): Don't look for leim-list.el
8690 in places where it will not be found. (Bug#910)
8691
fd06db5d
GM
8692 * international/mule-cmds.el (set-default-coding-systems):
8693 * files.el (normal-mode):
8694 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8695 This function was removed with ucs-tables.el in 2008.
8696
b39bb7e1
EZ
86972012-04-08 Eli Zaretskii <eliz@gnu.org>
8698
8699 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8700 ispell-encoding8-command to "-i", without a trailing space.
8701 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8702 separate command-line arguments, to specify the encoding, since
8703 that's how hunspell expects it.
8704
5c5b8e23
GM
87052012-04-08 Glenn Morris <rgm@gnu.org>
8706
8707 * loadup.el: Load bindings before cus-start.
8708 This reduces somewhat the number of "rogue" settings in emacs -Q.
8709
a1ed8b05
GM
87102012-04-07 Glenn Morris <rgm@gnu.org>
8711
8712 * version.el (emacs-bzr-get-version): New function.
dfae128a 8713 (emacs-bzr-version): New variable.
a1ed8b05
GM
8714 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8715 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8716
b142f158
EZ
87172012-04-07 Eli Zaretskii <eliz@gnu.org>
8718
dfae128a
GM
8719 * international/uni-bidi.el, international/uni-category.el:
8720 * international/uni-combining.el, international/uni-decimal.el:
8721 * international/uni-decomposition.el, international/uni-digit.el:
8722 * international/uni-lowercase.el, international/uni-mirrored.el:
8723 * international/uni-name.el, international/uni-numeric.el:
8724 * international/uni-titlecase.el, international/uni-uppercase.el:
8725 Update for Unicode 6.1.
b142f158 8726
9078ead6
EZ
87272012-04-07 Eli Zaretskii <eliz@gnu.org>
8728
8729 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8730
f23d2c7d
LMI
87312012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8732
8733 * window.el (shrink-window): Mention the `window-min-height'
8734 variable in the doc string.
8735
0a0a3573
BG
87362012-04-05 Bastien Guerry <bzg@altern.org>
8737
8738 * color.el (color-lighten-name): Fix typo.
8739
e5248ac9
SM
87402012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8741
8742 * server.el (server--on-display-p): New function.
8743 (server--on-display-p): Use it.
8744
b4243e22
GV
87452012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8746
8747 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8748 (bug#11145).
8749
305d9f44
SM
87502012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8751
8752 * comint.el (comint--common-quoted-suffix): Check string boundary
8753 before comparing (bug#11158).
8754 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8755
3d439cd1
CY
87562012-04-04 Chong Yidong <cyd@gnu.org>
8757
321cc491
CY
8758 * minibuffer.el (completion-extra-properties): Doc fix.
8759
3d439cd1
CY
8760 * subr.el (delayed-warnings-hook): Doc fix.
8761
2d562c0f
DU
87622012-04-04 Daiki Ueno <ueno@unixuser.org>
8763
8764 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8765 selection (Bug#11159).
8766 (epa-insert-keys): Inform that the default public key will be
8767 exported if no key is selected.
8768
4443f204
RS
87692012-04-04 Richard Stallman <rms@gnu.org>
8770
8771 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8772
529c06b6
CY
87732012-04-03 Chong Yidong <cyd@gnu.org>
8774
8775 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8776 mail-insert-file, not its obsolete alias mail-attach-file.
8777
66b907dc
MA
87782012-04-03 Michael Albinus <michael.albinus@gmx.de>
8779
8780 * notifications.el (notifications-notify): Fix docstring.
8781
c0ea195d
GM
87822012-04-02 Glenn Morris <rgm@gnu.org>
8783
8784 * emacs-lisp/authors.el (authors-aliases): Another addition.
8785
5ca64e00
MA
87862012-04-02 Michael Albinus <michael.albinus@gmx.de>
8787
8788 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8789 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8790 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8791
42ee526b
CY
87922012-04-01 Chong Yidong <cyd@gnu.org>
8793
8794 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8795 Handle root directory properly.
8796 (copy-directory): Caller changed.
8797
8798 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8799 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8800
0b021094
GM
88012012-03-31 Glenn Morris <rgm@gnu.org>
8802
40f86458
GM
8803 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8804
7019c177
GM
8805 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8806
a1daddd6
GM
8807 * calendar/calendar.el (calendar-window-list)
8808 (calendar-hide-window): Restore. (Bug#11140)
8809 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8810
0b021094
GM
8811 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8812
40311efc
TV
88132012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8814
8815 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8816 Check if file is a symlink (Bug#10489).
8817
8818 * files.el (copy-directory): Likewise.
8819
5319014e
CY
88202012-03-30 Chong Yidong <cyd@gnu.org>
8821
8822 * image.el (imagemagick-types-inhibit)
8823 (imagemagick-register-types): Doc fix.
8824
935d1290
AM
88252012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8826
090bd7cb 8827 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 8828 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 8829 and treats ~word as ordinary words in pipe mode.
935d1290 8830
61c6e8fd
GM
88312012-03-30 Glenn Morris <rgm@gnu.org>
8832
8833 * tutorial.el (help-with-tutorial): Ensure local variables don't
8834 happen to make the buffer read-only. (Bug#11127)
8835
81fdff00
SM
88362012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8837
8838 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8839 (perl-calculate-indent): Return `noindent' in strings.
8840
6e7a6ec0
SS
88412012-03-28 Sam Steingold <sds@gnu.org>
8842
8843 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8844 instead of the broken adhockery which does not prevent calendar
8845 buffers from being displayed at random after exit.
8846 (calendar-window-list, calendar-hide-window): Remove the broken
8847 adhockery.
8848
fee88ca0
GM
88492012-03-28 Glenn Morris <rgm@gnu.org>
8850
8851 * replace.el (query-replace-map): Doc fix.
8852
38de3354
AS
88532012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8854
8855 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8856 contents. (Bug#11109)
8857
b973155e
SM
88582012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8859
8860 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8861 (bug#11077).
8862 (avl-tree--check, avl-tree--check-node): New funs.
8863
dcb6e7b3
MR
88642012-03-27 Martin Rudalics <rudalics@gmx.at>
8865
8866 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
8867 (switch-to-prev-buffer, switch-to-next-buffer):
8868 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
8869 showing a buffer already is done on the same frame.
8870
b4fa35fa
GM
88712012-03-27 Glenn Morris <rgm@gnu.org>
8872
8873 * startup.el (mail-host-address): Doc fix.
8874
f9210e18
SM
88752012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8876
8877 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8878 than 197 variables.
8879
c0bf7753
AF
88802012-03-26 Ami Fischman <ami@fischman.org>
8881
8882 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8883
33da7b16
GM
88842012-03-26 Glenn Morris <rgm@gnu.org>
8885
02243d9d
GM
8886 * files.el (save-buffers-kill-emacs): Doc fix.
8887
33da7b16
GM
8888 * startup.el (normal-top-level, command-line, command-line-1):
8889 Give them doc strings.
8890
e5a69fd0
EZ
88912012-03-25 Eli Zaretskii <eliz@gnu.org>
8892
8893 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 8894 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 8895
9a69676a
CY
88962012-03-25 Chong Yidong <cyd@gnu.org>
8897
4125cb8b
CY
8898 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8899 theme if it was previously enabled before (Bug#11031).
8900
dd470960
CY
8901 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8902 spec with custom-face-get-current-spec if its :shown-value is not
8903 determined yet (Bug#9337).
4125cb8b 8904 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 8905
9a69676a
CY
8906 * button.el (button-at): Minor addition to docstring.
8907
6e7e90fa
SL
89082012-03-24 Simon Leinen <simon.leinen@gmail.com>
8909
8910 * vc/vc.el (vc-merge): Fix a prompt.
8911
f06e2758
CY
89122012-03-24 Chong Yidong <cyd@gnu.org>
8913
8914 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8915 point (Bug#9623).
8916
6e7e90fa
SL
8917 * button.el (button-at): Minor addition to docstring.
8918
b9d0879b
SM
89192012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8920
8921 * newcomment.el (comment-choose-indent): No space after BOL.
8922
e71cebb3
SS
89232012-03-22 Sam Steingold <sds@gnu.org>
8924
8925 * window.el (switch-to-prev-buffer): Revert last patch because the
8926 bug turned out to be an advertised feature (Elisp manual 28.14).
8927
335aff35
GM
89282012-03-22 Glenn Morris <rgm@gnu.org>
8929
8930 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8931 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8932
c676576a
LMI
89332012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8934
8935 * net/network-stream.el (network-stream-open-starttls): Make error
8936 message under Windows be less misleading.
8937
126f3d39
LW
89382012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8939
8940 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8941 understands (bug#9942).
8942
64fee311
CY
89432012-03-22 Chong Yidong <cyd@gnu.org>
8944
8945 * simple.el (end-of-visible-line): Handle return value of
8946 next-single-property-change properly (Bug#9371).
8947
a640d29a
KH
89482012-03-22 Kenichi Handa <handa@m17n.org>
8949
8950 * international/quail.el (quail-insert-kbd-layout): Fix previous
8951 change. To avoid unwanted bidi reordering, use
8952 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8953
39675016
DG
89542012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8955
8956 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8957 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8958 (ruby-beginning-of-indent): Be more careful with the difference
8959 between word-boundary and symbol boundary.
8960 (ruby-mode-syntax-table): Make : a symbol constituent.
8961
0a6934fc 89622012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 8963
3d008e4f
SM
8964 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8965
0a6934fc
SM
89662012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8967
af67c9d7
SM
8968 * progmodes/etags.el (tags-completion-at-point-function):
8969 Improve last fix.
8970
1acad97c
SM
8971 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8972
e298b5da
SS
89732012-03-21 Sam Steingold <sds@gnu.org>
8974
8975 * progmodes/etags.el (tags-completion-at-point-function):
8976 Avoid the error when point is inside the pattern.
8977
91d82a70
JY
89782012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8979
8980 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8981 line (Bug#10855).
8982
69188b79
CY
89832012-03-21 Drew Adams <drew.adams@oracle.com>
8984
8985 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8986
99fc91fe
AK
89872012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8988
8989 * ido.el (ido-set-current-directory, ido-read-internal)
8990 (ido-choose-completion-string, ido-completion-help): Handle nil
8991 value of ido-completion-buffer (Bug#11008).
8992
087bbb4c
SS
89932012-03-21 Sam Steingold <sds@gnu.org>
8994
8995 * window.el (switch-to-prev-buffer): Do not switch to a visible
8996 window previous buffer, just like with the frame previous buffers.
8997
fb5b8aca
CY
89982012-03-21 Chong Yidong <cyd@gnu.org>
8999
9000 * faces.el (make-face, make-empty-face, copy-face):
9001 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9002 Doc fixes.
9003
dc9924b8
SM
90042012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9005
9006 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9007 (widget-complete): Remove broken use of it.
9008
f0bcceb9
CY
90092012-03-20 Chong Yidong <cyd@gnu.org>
9010
dc9924b8
SM
9011 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9012 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
9013 characters.
9014
ee52ebf3
TH
90152012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9016
9017 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9018 to draw rectangles, not squares. (Regression introduced by revno
9019 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9020
4c5779ab
CY
90212012-03-18 Chong Yidong <cyd@gnu.org>
9022
9023 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9024 it is not yet defined (for temacs).
9025
15360934
LL
90262012-03-18 Leo Liu <sdl.web@gmail.com>
9027
735135f9
PE
9028 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9029 prefix.
15360934 9030
d9a8eb66
EZ
90312012-03-17 Eli Zaretskii <eliz@gnu.org>
9032
9033 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9034 (ispell-choices-win-default-height, ispell-silently-savep)
9035 (ispell-dictionary-alist, ispell-encoding8-command)
9036 (ispell-check-version, ispell-aspell-find-dictionary)
9037 (ispell-valid-dictionary-list, ispell-words-keyword)
9038 (ispell-get-word, ispell-internal-change-dictionary)
9039 (ispell-region, ispell-skip-region-list)
9040 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9041 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9042 (ispell-message-text-end, ispell-message)
9043 (ispell-buffer-local-parsing): Doc fix.
9044
f02ff80d
J
90452012-03-13 Jambunathan K <kjambunathan@gmail.com>
9046
9047 * htmlfontify.el: Add support for code block fontification for ODT
9048 export (Bug #9914).
9049 (hfy-optimisations): Define new option
9050 `body-text-only'
9051 (hfy-fontify-buffer): Honor above setting.
9052 (hfy-begin-span, hfy-end-span): New routines factored out form
9053 `hfy-fontify-buffer'.
9054 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9055 that permit insertion of custom tags.
9056 (hfy-fontify-buffer): Use above handlers.
9057 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9058 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 9059 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 9060 over multiple runs. This is made possible by having the caller let
f02ff80d
J
9061 bind a special variable `hfy-user-sheet-assoc'.
9062 (htmlfontify-string): New defun.
9063 (hfy-compile-face-map): Make sure that the last char in the
9064 buffer is correctly fontified.
9065 (hfy-face-resolve-face): Whitespace only change.
9066
9ac7a13f
EZ
90672012-03-17 Eli Zaretskii <eliz@gnu.org>
9068
9069 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9070 message more clear.
9071
e2b5bdd7
LL
90722012-03-16 Leo Liu <sdl.web@gmail.com>
9073
9074 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9075
2e492df3
AM
90762012-03-16 Alan Mackenzie <acm@muc.de>
9077
9078 Further optimise the handling of large macros.
9079
9080 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9081 limit to a call of `c-literal-limits'.
9082 (c-determine-+ve-limit): New function.
dc9924b8
SM
9083 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9084 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
9085 In CASE 5B, restrict a search limit to 500.
9086 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9087
9088 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9089 Restrict macro bounds to +-500 from after-change's BEG END.
9090
50e94f0c
LL
90912012-03-16 Leo Liu <sdl.web@gmail.com>
9092
9093 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9094
6f09f6ed
AH
90952012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9096
9097 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 9098 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 9099
c7e73d51
GM
91002012-03-16 Glenn Morris <rgm@gnu.org>
9101
da986230
GM
9102 * view.el (view-buffer, view-buffer-other-window)
9103 (view-buffer-other-frame): Doc fixes re special mode-class.
9104
0835f01e
GM
9105 * subr.el (eval-after-load): If named feature is provided not from
9106 a file, run after-load forms. (Bug#10946)
9107
c7e73d51
GM
9108 * calendar/calendar.el (calendar-insert-at-column):
9109 Handle non-unit-width characters a bit better. (Bug#10978)
9110
3f2eafd1
CY
91112012-03-15 Chong Yidong <cyd@gnu.org>
9112
9113 * emacs-lisp/ring.el (ring-extend): New function.
9114 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9115
9116 * comint.el (comint-read-input-ring)
9117 (comint-add-to-input-history): Grow comint-input-ring lazily.
9118
103af3fe
SM
91192012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9120
663b1677
SM
9121 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9122 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9123
103af3fe
SM
9124 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9125 (imenu-add-to-menubar): Don't add a redundant index.
9126 (imenu-update-menubar): Handle a dynamically composed keymap.
9127
899cb7cb
KY
91282012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9129
9130 * mail/sendmail.el (mail-encode-header):
9131 Bind rfc2047-encode-encoded-words to nil.
9132
3809f91d
GM
91332012-03-13 Glenn Morris <rgm@gnu.org>
9134
9135 * calendar/calendar.el (calendar-string-spread):
9136 Handle non-unit-width characters a bit better. (Bug#10978)
9137
9e345a01
LL
91382012-03-13 Leo Liu <sdl.web@gmail.com>
9139
9140 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9141 directory and file as argument (Bug#10822).
9142
4a07df36
KS
91432012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9144
9145 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9146 For dynamically generated code, follow $PC.
9147 (gdb-disassembly-handler-custom): Handle no function name case.
9148
4aaa9356
TL
91492012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9150
9151 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9152 * emulation/ws-mode.el (ws-query-replace):
9153 * sort.el (sort-regexp-fields):
9154 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9155
225979da
SM
91562012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9157
9158 * dabbrev.el: Fix cycle completion order (bug#10963).
9159 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9160 (dabbrev-completion): Don't use an obarray; provide
9161 a cycle-sort-function.
9162
e2f1fdab
LL
91632012-03-12 Leo Liu <sdl.web@gmail.com>
9164
dc9924b8 9165 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
9166 (kill-do-not-save-duplicates): Doc fix.
9167
b19490ed
SM
91682012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9169
9170 * dabbrev.el: Fix cycle completion (bug#10963).
9171 Use lexical binding and wrap to 80 columns.
9172 (dabbrev-completion): Delay computing the list of completions.
9173
4b05d722
KH
91742012-03-12 Kenichi Handa <handa@m17n.org>
9175
9176 * international/quail.el (quail-insert-kbd-layout): Surround each
9177 row by LRO and PDF instead of inserting many LRMs. Pad the left
9178 and right of each non-spacing marks. Insert invisible space
9179 between lower and upper characters to prevent composition.
9180
dbbc2e69
SM
91812012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9182
9183 * minibuffer.el (minibuffer-complete): Don't get confused when the
9184 function is run twice via different commands (bug#10958).
9185 (complete-with-action): Fix docstring.
9186
292112ed
CY
91872012-03-12 Chong Yidong <cyd@gnu.org>
9188
5d1ac394
CY
9189 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9190 (nxml-completion-at-point-function): New function.
9191 (nxml-mode): Use it.
9192 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9193
292112ed
CY
9194 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9195 Load generated autoloads file before byte compiling (Bug#10970).
9196 (package--make-autoloads-and-compile): New helper fun.
9197
4098f8f7
CS
91982012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9199
9200 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9201
8f754691
MA
92022012-03-11 Michael Albinus <michael.albinus@gmx.de>
9203
9204 * autorevert.el (auto-revert-handler): Ensure, that
9205 file-readable-p is applied only for local files or in
9206 auto-revert-tail-mode.
9207
e29ab36b
AS
92082012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9209
dbbc2e69
SM
9210 * server.el (server-eval-at): Handle non-tcp connections.
9211 Decode result string.
ad0bf5b6 9212
e29ab36b
AS
9213 * server.el (server-msg-size): New constant.
9214 (server-reply-print): New function.
9215 (server-eval-and-print): Use it.
9216 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9217 Handle -print-nonl.
9218
de5939ba
CS
92192012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9220
9221 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9222 (Bug#10987).
9223
0c93eabf
CY
92242012-03-11 Chong Yidong <cyd@gnu.org>
9225
397a688f
CY
9226 * simple.el (goto-line): Doc fix (Bug#9938).
9227
2cc775f9
CY
9228 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9229
0c93eabf
CY
9230 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9231 when finished (Bug#10963).
9232
c491fa41
MR
92332012-03-11 Martin Rudalics <rudalics@gmx.at>
9234
9235 * window.el (split-window-below): Fix bug in case where
9236 split-window-keep-point is nil (Bug#10971).
9237
300e8fa5
JL
92382012-03-11 Juri Linkov <juri@jurta.org>
9239
9240 * replace.el (replace-highlight): Set isearch-word to nil
9241 unconditionally. (Bug#10887)
9242
dbf6c5a1
EZ
92432012-03-10 Eli Zaretskii <eliz@gnu.org>
9244
9245 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9246 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 9247 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
9248 (mairix-widget-create-query): Add usage information about mairix
9249 search forms: negating words, searching for substrings, etc.
9250
b9e501de
JP
92512012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9252
9253 * international/fontset.el (font-encoding-alist): Add an entry for
9254 ksx1001 (Bug#5667).
9255
92795c91
RS
92562012-03-10 Richard Stallman <rms@gnu.org>
9257
1694e6c1
RS
9258 * mail/sendmail.el (mail-encode-header):
9259 Set rfc2047-encode-encoded-words.
9260
607e8555
RS
9261 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9262
de3bc99a
RS
9263 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9264 view buffer means not swapped.
9265 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9266 (rmail-write-region-annotate): Error if real text has disappeared.
9267
92795c91
RS
9268 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9269
699bd04e
CY
92702012-03-10 Chong Yidong <cyd@gnu.org>
9271
9272 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
9273 * emulation/cua-base.el (cua--init-keymaps):
9274 Add delete-forward-char to remappings (Bug#9666).
699bd04e 9275
570a1714
MR
92762012-03-10 Martin Rudalics <rudalics@gmx.at>
9277
dbbc2e69
SM
9278 * speedbar.el (speedbar-unhighlight-one-tag-line):
9279 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 9280
82dcf4e4
CY
92812012-03-10 Chong Yidong <cyd@gnu.org>
9282
7a2c7ca7
CY
9283 * minibuffer.el (completion-in-region, completion-help-at-point):
9284 Give the completion field overlay a high priority (Bug#6830).
9285
82dcf4e4
CY
9286 * dired.el (dired-goto-file): Recognize absolute file name
9287 listings (Bug#7126).
9288 (dired-goto-file-1): New helper function.
9289 (dired-toggle-read-only): Inhibit warnings.
9290
052e28ac
MA
92912012-03-09 Michael Albinus <michael.albinus@gmx.de>
9292
75f1671a 9293 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
9294 there are no properties.
9295
95d5e396
LL
92962012-03-09 Leo Liu <sdl.web@gmail.com>
9297
9298 * savehist.el (savehist-printable): Stricter check for string
9299 value (Bug#10937).
9300
3f018d6d
EZ
93012012-03-09 Eli Zaretskii <eliz@gnu.org>
9302
dbbc2e69
SM
9303 * mail/smtpmail.el (smtpmail-send-it):
9304 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
9305 valid mbox format.
9306
f7fd3d79
GM
93072012-03-09 Glenn Morris <rgm@gnu.org>
9308
9309 * files.el (dir-locals-find-file):
9310 Don't check result is regular, readable.
9311 (dir-locals-read-from-file): Demote errors.
9312
6ff6e72f
EZ
93132012-03-08 Eli Zaretskii <eliz@gnu.org>
9314
dbbc2e69
SM
9315 * international/quail.el (quail-insert-kbd-layout):
9316 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
9317 layout cell, to prevent their reordering by bidi display engine.
9318 For details, see the discussion in
9319 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9320
9cec7834
AM
93212012-03-08 Alan Mackenzie <acm@muc.de>
9322
9323 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9324 the starting position; make it extend the marked region when
9325 invoked repeatedly - all under appropriate circumstances.
9326 Fixes bugs #5525, #10906.
9327
9a40b8d4
GM
93282012-03-08 Glenn Morris <rgm@gnu.org>
9329
9330 * files.el (locate-dominating-file, dir-locals-find-file):
9331 Undo 2012-03-06 change.
9332
7a08ed35
EZ
93332012-03-07 Eli Zaretskii <eliz@gnu.org>
9334
dbbc2e69
SM
9335 * international/quail.el (quail-help):
9336 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
9337 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9338 for the reason.
9339
5aca4f71 93402012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
9341
9342 Avoid superfluous registering of signals. (Bug#10807)
9343
9344 * notifications.el (notifications-on-action-object)
9345 (notifications-on-close-object): New defvars.
9346 (notifications-on-action-signal, notifications-on-closed-signal):
9347 Unregister the signal if not needed any longer.
9348 (notifications-notify): Register `notifications-action-signal' or
9349 `notifications-closed-signal', if :on-action or :on-close has been
9350 passed as argument.
9351
78e8b10a
CY
93522012-03-07 Chong Yidong <cyd@gnu.org>
9353
9354 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9355 non-X platforms.
9356
69481eb8
GM
93572012-03-06 Glenn Morris <rgm@gnu.org>
9358
9359 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9360 (x-disown-selection-internal, x-get-selection-internal):
9361 Doc fix (add arglist signatures). (Bug#10783)
9362
133b8e11
KS
93632012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9364
9365 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9366 Handle breakpoints with no "type".
9367
99a83064
GM
93682012-03-06 Glenn Morris <rgm@gnu.org>
9369
9370 * files.el (locate-dominating-file): Add optional predicate argument.
9371 (dir-locals-find-file): Make use of above change.
9372
17798e78
TTN
93732012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9374
9375 * info.el (Info-insert-dir): Also try "dir.gz".
9376
eb182446
GM
93772012-03-06 Glenn Morris <rgm@gnu.org>
9378
8f2114ee
GM
9379 * files.el (dir-locals-find-file):
9380 Ignore non-readable or non-regular files. (Bug#10928)
9381
eb182446
GM
9382 * files.el (locate-dominating-file): Doc fix.
9383
24679323
AS
93842012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9385
9386 * calendar/calendar.el (calendar-set-mode-line):
9387 `getenv' returns a string. (Bug#10951)
9388
01d972a9
LL
93892012-03-05 Leo Liu <sdl.web@gmail.com>
9390
109aa8a9
LL
9391 * simple.el (backward-delete-char-untabify): Constrain point to
9392 field (Bug#10939).
9393
01d972a9
LL
9394 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9395
10607bea
CY
93962012-03-05 Chong Yidong <cyd@gnu.org>
9397
9398 * simple.el (count-words): If called from Lisp, return the word
9399 count, for symmetry with `count-lines'. Arglist changed.
9400 (count-words--message): Args changed. Consolidate counting code
9401 from count-words and count-words-region.
9402 (count-words-region): Caller changed.
9403 (count-lines-region): Make it an obsolete alias.
9404
5dd11cfe
TH
94052012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9406
9407 * saveplace.el (save-place-to-alist)
9408 (save-place-ignore-files-regexp): Allow value nil to disable this
9409 feature.
9410
c349f4e6
CY
94112012-03-04 Chong Yidong <cyd@gnu.org>
9412
9413 * faces.el (face-spec-reset-face): For the default face, reset the
9414 attributes to default values (Bug#10748).
9415
e627be4c
LMI
94162012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9417
9418 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9419 previous patch: Check `message-send-mail-function', and not the
9420 default function (bug#10897).
9421
ebeabff4
MA
94222012-03-04 Michael Albinus <michael.albinus@gmx.de>
9423
a41a6cf4
MA
9424 * notifications.el (notifications-on-action-signal)
9425 (notifications-on-closed-signal): Check for unique service name of
9426 incoming event. Fix error in removing entry.
ebeabff4 9427 (top): Register for signals with wildcard service name.
a41a6cf4 9428 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 9429
c1ca42b4
CY
94302012-03-04 Chong Yidong <cyd@gnu.org>
9431
dc9924b8 9432 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 9433
ea16568d
GM
94342012-03-04 Glenn Morris <rgm@gnu.org>
9435
9436 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9437 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9438 (expand-abbrev, define-abbrev-table): Doc fixes.
9439
fbae4637
LMI
94402012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9441
9442 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9443 `message-default-send-mail-function' and not `send-mail-function'
9444 when doing the prompting for `sendmail-query-once' before sending
9445 in Message buffers (bug#10897).
9446
a1e7225c
LMI
9447 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9448 This is inconsistent with all the other stream functions, which leave
9449 the setting up to the higher levels (if so wanted) (bug#10931).
9450
56d093a9
AM
94512012-03-02 Alan Mackenzie <acm@muc.de>
9452
9453 Depessimize the handling of very large macros.
9454
9455 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9456 (c-macro-cache-syntactic): New variables to implement a one
9457 element macro cache.
9458 (c-invalidate-macro-cache): New function.
9459 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9460 Adapt to use the new cache.
9461 (c-state-safe-place): Use better the cache of safe positions.
9462 (c-state-semi-nonlit-pos-cache)
9463 (c-state-semi-nonlit-pos-cache-limit):
9464 New variables for...
9465 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9466 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
9467 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9468 Use c-state-semi-safe-place.
56d093a9 9469
dbbc2e69
SM
9470 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9471 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 9472
817e5c3d
MA
94732012-03-02 Michael Albinus <michael.albinus@gmx.de>
9474
dbbc2e69
SM
9475 * jka-compr.el (jka-compr-call-process):
9476 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
9477 not remote.
9478
a032a702
MA
94792012-03-01 Michael Albinus <michael.albinus@gmx.de>
9480
9481 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9482 access of FILE2, if FILE1 does not exist.
9483
99a54f21
MA
9484 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9485 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9486
9487 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9488 Add "PAGER=" to `process-environment'.
9489
f6561e1f
MM
94902012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9491
9492 * progmodes/sql.el: Bug fix
9493 (sql-get-login-ext): Save login values in globals.
9494 (sql-get-login): Use new version of `sql-get-login-ext'.
9495 (sql-interactive-mode): Set global `sql-connection' to nil.
9496 (sql-connect): Set global values for connection.
9497 (sql-product-interactive): Save global values as buffer local.
9498
2d44d9cc
LL
94992012-02-29 Leo Liu <sdl.web@gmail.com>
9500
9501 * abbrev.el (define-abbrevs): Reset sys to nil.
9502
96b49301 95032012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9504
bf7f9bc5
JB
9505 * files.el (file-equal-p): Rename from `files-equal-p'.
9506 Return nil when one or both files don't exist.
96b49301 9507 (file-subdir-of-p): Now only top directory must exists,
9508 return nil if it doesn't.
bf7f9bc5
JB
9509 (copy-directory): No need to test with `file-subdir-of-p' after
9510 creating dir.
9511 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9512 to `file-equal-p'.
96b49301 9513
44e97401
GM
95142012-02-28 Glenn Morris <rgm@gnu.org>
9515
9516 * shell.el (shell-mode):
9517 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9518 * play/landmark.el (landmark-font-lock-face-O):
9519 * play/handwrite.el (handwrite):
9520 * play/gomoku.el (gomoku-O):
9521 * net/browse-url.el (browse-url-browser-display):
9522 * international/mule.el (define-charset):
9523 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9524 * filesets.el (filesets-find-file-delay):
9525 * eshell/em-xtra.el (eshell-xtra):
9526 * eshell/em-unix.el (eshell-grep):
9527 * emulation/viper.el (viper-mode):
9528 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9529 * emacs-lisp/easymenu.el (easy-menu-define):
9530 * calendar/timeclock.el (timeclock-use-display-time):
9531 * bs.el (bs-mode):
9532 * bookmark.el (bookmark-save-flag):
9533 Doc fix (standardize possessive apostrophe usage).
9534
c98c6276
CY
95352012-02-27 Chong Yidong <cyd@gnu.org>
9536
bf7f9bc5
JB
9537 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9538 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 9539
c98c6276
CY
9540 * font-lock.el (font-lock-specified-p): Rename from
9541 font-lock-spec-present. Callers changed.
9542
9c62cd04 95432012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 9544
bf7f9bc5
JB
9545 * emacs-lisp/package.el (package-compute-transaction):
9546 Handle holding a package version to t in package-load-list.
8ac9e529 9547
530739c9
MA
95482012-02-26 Michael Albinus <michael.albinus@gmx.de>
9549
9550 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9551 (tramp-get-inode, tramp-get-device): Use cached values.
9552
487915d7
AM
95532012-02-26 Alan Mackenzie <acm@muc.de>
9554
9555 Check there is a font-lock specification before doing initial
9556 fontification.
9557
9558 * font-core.el (font-lock-mode): Move the conditional from
9559 :after-hook to font-lock-initial-fontify.
9560 (font-lock-default-function): Move the check for a specification
9561 to font-lock-spec-present.
9562
dc9924b8 9563 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
9564 (font-lock-spec-present): New function.
9565
4fd96557
JB
95662012-02-26 Jim Blandy <jimb@red-bean.com>
9567
9568 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9569 (gdb-send): Apply it to the operand of the '-interpreter-exec
9570 console' command, so that we can pass arguments with (say) quotes
9571 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9572
9a4888c0
CY
95732012-02-26 Chong Yidong <cyd@gnu.org>
9574
07498861
CY
9575 * help-fns.el (describe-function-1): Clarify description of
9576 remapping (Bug#10844).
9577
9a4888c0
CY
9578 * files.el (files-equal-p): Doc fix.
9579 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9580 and quit the loop once a mismatch is found.
9581
ea8fb88d
JB
95822012-02-25 Juanma Barranquero <lekktu@gmail.com>
9583
9584 * bs.el (bs--show-with-configuration): Don't throw an error
9585 if the window cannot be split; otherwise, subsequent calls to
9586 bs-show fail, restoring a stale window config. (Bug#10882)
9587
525795c1
JD
95882012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9589
9590 * term/ns-win.el (global-map): Bind ns-drag-file to
9591 ns-find-file (Bug#5855, Bug#10050).
9592
f008086f
AS
95932012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9594
9595 * calendar/parse-time.el (parse-time-string): Allow extractor to
9596 return nil.
9597
a3fcfa99
MA
95982012-02-25 Michael Albinus <michael.albinus@gmx.de>
9599
91027d08
JB
9600 * net/tramp.el (tramp-file-name-for-operation):
9601 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
9602
9603 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
9604 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9605 Add COPY-CONTENTS argument.
a3fcfa99 9606
67b0de11
CY
96072012-02-25 Chong Yidong <cyd@gnu.org>
9608
9609 Add custom groups for VC backends, for consistency with vc-bzr.
9610
9611 * vc/vc-arch.el (vc-arch):
9612 * vc/vc-cvs.el (vc-cvs):
9613 * vc/vc-git.el (vc-git):
9614 * vc/vc-hg.el (vc-hg):
9615 * vc/vc-mtn.el (vc-mtn):
9616 * vc/vc-rcs.el (vc-rcs):
9617 * vc/vc-sccs.el (vc-sccs):
9618 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9619 All relevant defcustoms reassigned.
9620
3c9dfce6
CY
96212012-02-25 Chong Yidong <cyd@gnu.org>
9622
1339bf43
CY
9623 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9624
3c9dfce6
CY
9625 * term/x-win.el (x-initialize-window-system): Reduce default for
9626 x-selection-timeout to 5 seconds (Bug#8869).
9627
25b2e303 96282012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9629
ec70a47d
GM
9630 * files.el (files-equal-p, file-subdir-of-p): New functions.
9631 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 9632 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
9633 * dired-aux.el (dired-copy-file-recursive): Same.
9634 (dired-create-files): Modify destination when source is equal to
9635 dest when copying files.
53a46cd0 9636 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 9637
914260cd
MA
96382012-02-24 Michael Albinus <michael.albinus@gmx.de>
9639
9640 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9641 (Bug#10874)
9642
2cb228f7
AM
96432012-02-23 Alan Mackenzie <acm@muc.de>
9644
9645 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9646 parameter "after-hook:" to allow the expansion to run code after
9647 the execution of the mode hooks.
9648
9649 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 9650 from font-lock-mode-internal.
2cb228f7 9651
91027d08 9652 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
9653 :after-hook.
9654
8f0fde21
SM
96552012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9656
3e88618b
SM
9657 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9658 (completion--cache-all-sorted-completions): New function.
9659 (completion-all-sorted-completions): Use it.
9660 (completion--do-completion, minibuffer-force-complete):
9661 Use it to re-instate the flush hook.
9662
8f0fde21
SM
9663 * icomplete.el (icomplete-completions): Replace last fix with a better
9664 one (bug#10850).
9665
8e911f6f
DG
96662012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9667
9668 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9669 when it might call us back infinitely (bug#10797).
9670
49fe4321
GM
96712012-02-23 Glenn Morris <rgm@gnu.org>
9672
9673 * minibuffer.el (completion-category-overrides): Doc fix.
9674
b291b572
SM
96752012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9676
9677 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9678 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9679
31a9ef2e
GM
96802012-02-23 Glenn Morris <rgm@gnu.org>
9681
5e6e6794 9682 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
9683 (authors-obsolete-files-regexps, authors-ignored-files)
9684 (authors-ambiguous-files, authors-renamed-files-alist):
9685 Add more entries.
9686
0bd1e074
JL
96872012-02-23 Juri Linkov <juri@jurta.org>
9688
9689 * isearch.el (isearch-occur): Sync interactive spec with occur's
9690 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9691
b617673c
JL
9692 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9693
19e9789e
JL
96942012-02-22 Juri Linkov <juri@jurta.org>
9695
9696 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9697 (ucs-insert): Doc fix. Check for hex digits in the string.
9698 Don't display `nil' in the error message. (Bug#10857)
9699
f41ce09d
AM
97002012-02-22 Alan Mackenzie <acm@muc.de>
9701
7a71b18d 9702 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 9703
ac2eceee
GM
97042012-02-22 Glenn Morris <rgm@gnu.org>
9705
9706 * ffap.el (ffap-c-path):
9707 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9708
abd1f678
CY
97092012-02-22 Chong Yidong <cyd@gnu.org>
9710
9711 * custom.el (load-theme): Doc fix.
9712
f25aef2e
GM
97132012-02-22 Glenn Morris <rgm@gnu.org>
9714
9715 * dired-x.el (dired-guess-shell-alist-default):
9716 Remove escape sequences from nroff output. (Bug#172)
9717
5f8dc2ca
GM
97182012-02-21 Glenn Morris <rgm@gnu.org>
9719
6ff86ec4
GM
9720 * vc/emerge.el (emerge-defvar-local):
9721 Set `permanent-local' property rather than unused `preserved'.
9722
be3223a3 9723 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
9724 (picture-mode-map): Use it. (Bug#10860)
9725 (picture-mode): Doc fix.
9726
3fe58f4f
JB
97272012-02-21 Juanma Barranquero <lekktu@gmail.com>
9728
9729 * newcomment.el (uncomment-region-default): Remove unused binding.
9730
f9a998c3
GM
97312012-02-21 Glenn Morris <rgm@gnu.org>
9732
9733 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9734 (picture-self-insert, picture-tab-chars): Doc fix.
9735 (picture-mode-map): Fix C-a, C-e.
9736
c6029348
GM
97372012-02-20 Glenn Morris <rgm@gnu.org>
9738
9739 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9740
ab1ce9d7
LL
97412012-02-20 Leo Liu <sdl.web@gmail.com>
9742
9743 * icomplete.el (icomplete-completions): Check FROM arg before
9744 passing to substring (Bug#10850).
9745
0fd40f89
CY
97462012-02-19 Chong Yidong <cyd@gnu.org>
9747
9748 * comint.el: Require ansi-color.
9749 (comint-output-filter-functions): Add ansi-color-process-output.
9750
9751 * ansi-color.el: Don't set comint-output-filter-functions; it is
9752 now in the initial value defined in comint.el.
9753 (ansi-color-apply-face-function): New variable.
9754 (ansi-color-apply-on-region): Use it.
9755 (ansi-color-apply-overlay-face): New function.
9756
9757 * shell.el (shell): No need to require ansi-color.
9758 (shell-mode): Use ansi-color-apply-face-function to highlight
9759 color escapes using font-lock-face property (Bug#10835).
9760
20af2394
CY
97612012-02-19 Chong Yidong <cyd@gnu.org>
9762
9763 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9764 mode-line formats (Bug#10839).
9765
e23a3fbe
GM
97662012-02-18 Glenn Morris <rgm@gnu.org>
9767
b474519e
GM
9768 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9769
9770 * mail/undigest.el (unforward-rmail-message): Doc fix.
9771
e23a3fbe
GM
9772 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9773
57939ff4
EZ
97742012-02-18 Eli Zaretskii <eliz@gnu.org>
9775
9776 * international/characters.el (script-list): Sync with the latest
9777 Unicode Character Database.
9778
0c23686e
AS
97792012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9780
9781 * international/titdic-cnv.el: Remove duplicate coding tag.
9782 * language/cham.el: Likewise.
9783 * language/tai-viet.el: Likewise.
9784
6818b449
GM
97852012-02-18 Glenn Morris <rgm@gnu.org>
9786
9787 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9788 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9789 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9790 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9791 * calendar/holidays.el (holiday-bahai-holidays)
9792 (calendar-holidays, list-holidays):
9793 Use utf-8 Bahá'í in doc-strings, menus, etc.
9794
0311a3fc
TH
97952012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9796
9797 * saveplace.el (save-place-ignore-files-regexp): New variable
9798 allowing for excluding files from saving their location of point.
9799 The default value matches the temporary commit message editing
9800 files from Git, SVN, Bazaar, and Mercurial.
9801 (save-place-to-alist): Use it.
9802
d209e2fb 98032012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 9804 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
9805
9806 * newcomment.el (uncomment-region-default): Don't leave extra space
9807 when an arg is provided (bug#8150).
9808
ee0ce425
TZ
98092012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9810
eb864a71 9811 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 9812
95ddf442
GM
98132012-02-17 Glenn Morris <rgm@gnu.org>
9814
9815 * net/socks.el: Require network-stream. (Bug#10599)
9816
48dd1e39 98172012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
9818
9819 * international/charprop.el:
9820 * international/uni-name.el:
9821 * international/uni-old-name.el:
9822 * international/uni-comment.el: Regenerate.
9823
d68cd087
GM
98242012-02-16 Glenn Morris <rgm@gnu.org>
9825
9826 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9827 Interactively in calendar buffer, give an error if not on a date.
9828
13932042
GM
98292012-02-15 Glenn Morris <rgm@gnu.org>
9830
9831 * shell.el (shell-delimiter-argument-list):
9832 Revert 2011-02-17 change. (Bug#8027)
9833
c3a70e2b
CY
98342012-02-15 Chong Yidong <cyd@gnu.org>
9835
60236b0d
CY
9836 * minibuffer.el (completion-at-point-functions): Doc fix.
9837
c3a70e2b
CY
9838 * custom.el (defcustom): Doc fix; note use of defvar.
9839
9f26dc24
GM
98402012-02-15 Glenn Morris <rgm@gnu.org>
9841
9842 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9843 Doc fixes.
9844
6546b134
GM
98452012-02-14 Glenn Morris <rgm@gnu.org>
9846
9847 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9848
d29b2b4c
LI
98492012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9850
9851 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9852 way the ports list is computed.
835bdcba
LI
9853 (smtpmail-query-smtp-server): Prompt the user for a port number if
9854 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 9855
08dcdbc9
TZ
98562012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9857
9858 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9859
2605051a
GM
98602012-02-13 Glenn Morris <rgm@gnu.org>
9861
9862 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9863
7ee99f32
TZ
98642012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9865
9866 * net/gnutls.el (gnutls-trustfiles): New variable.
9867 (gnutls-negotiate): Use it.
9868
5f0af64f
LI
98692012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9870
9871 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9872 does its stuff if Gnus is running.
9873
c14fcc95
AM
98742012-02-13 Alan Mackenzie <acm@muc.de>
9875
9876 Fix a loop in c-set-fl-decl-start.
9877
7a71b18d 9878 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
9879 c-backward-syntactic-ws actually moves backwards.
9880
142b4d90
LL
98812012-02-13 Leo Liu <sdl.web@gmail.com>
9882
9883 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9884 beginning so that all \C-o chars are removed.
9885
fa9958a6
TZ
98862012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9887
dc9924b8 9888 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 9889
0bc5886a
AM
98902012-02-12 Alan Mackenzie <acm@muc.de>
9891
9892 Fix infinite loop with long macros.
4d6769e1 9893 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 9894
d4bd55e7
CY
98952012-02-12 Chong Yidong <cyd@gnu.org>
9896
9897 * window.el (display-buffer): Doc fix (Bug#10785).
9898
66f3fe22
GM
98992012-02-12 Glenn Morris <rgm@gnu.org>
9900
bd7da63e
GM
9901 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9902 (x-disown-selection-internal, x-get-selection-internal):
9903 Sync docs with the xselect.c versions.
9904
66f3fe22
GM
9905 * allout-widgets.el: Add missing license notice.
9906
3e0d2fa7
GM
99072012-02-11 Glenn Morris <rgm@gnu.org>
9908
cfecdf09
GM
9909 * select.el (x-get-selection-internal, x-own-selection-internal)
9910 (x-disown-selection-internal):
9911 * x-dnd.el (x-get-selection-internal): Update declarations.
9912
6d216d7f
GM
9913 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9914
2bed3f04
GM
9915 * window.el (window-sides-slots):
9916 * tool-bar.el (tool-bar-position):
9917 * term/xterm.el (xterm-extra-capabilities):
9918 * ses.el (ses-self-reference-early-detection):
9919 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9920 (verilog-auto-wire-type)
9921 (verilog-auto-delete-trailing-whitespace)
9922 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9923 (verilog-auto-tieoff-declaration):
9924 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9925 (sql-oracle-statement-starters, sql-oracle-scan-on):
9926 * progmodes/prolog.el (prolog-align-comments-flag)
9927 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9928 (prolog-left-indent-regexp, prolog-paren-indent-p)
9929 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9930 (prolog-types, prolog-mode-specificators)
9931 (prolog-determinism-specificators, prolog-directives)
9932 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9933 (prolog-electric-dot-flag)
9934 (prolog-electric-dot-full-predicate-template)
9935 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9936 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9937 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9938 (prolog-program-switches, prolog-prompt-regexp)
9939 (prolog-debug-on-string, prolog-debug-off-string)
9940 (prolog-trace-on-string, prolog-trace-off-string)
9941 (prolog-zip-on-string, prolog-zip-off-string)
9942 (prolog-use-standard-consult-compile-method-flag)
9943 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9944 (prolog-imenu-max-lines, prolog-info-predicate-index)
9945 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9946 (prolog-char-quote-workaround):
9947 * progmodes/cc-vars.el (c-defun-tactic):
9948 * net/tramp.el (tramp-encoding-command-interactive)
9949 (tramp-local-end-of-line):
9950 * net/soap-client.el (soap-client):
9951 * net/netrc.el (netrc-file):
9952 * net/gnutls.el (gnutls):
9953 * minibuffer.el (completion-category-overrides)
9954 (completion-cycle-threshold)
9955 (completion-pcm-complete-word-inserts-delimiters):
9956 * man.el (Man-name-local-regexp):
9957 * mail/feedmail.el (feedmail-display-full-frame):
9958 * international/characters.el (glyphless-char-display-control):
9959 * eshell/em-ls.el (eshell-ls-date-format):
9960 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9961 (lisp-lambda-list-keyword-parameter-indentation)
9962 (lisp-lambda-list-keyword-parameter-alignment):
9963 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9964 * dired-x.el (dired-omit-verbose):
9965 * cus-theme.el (custom-theme-allow-multiple-selections):
9966 * calc/calc.el (calc-highlight-selections-with-faces)
9967 (calc-lu-field-reference, calc-lu-power-reference)
9968 (calc-note-threshold):
9969 * battery.el (battery-mode-line-limit):
9970 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9971 (archive-7z-update):
9972 * allout.el (allout-prefixed-keybindings)
9973 (allout-unprefixed-keybindings)
9974 (allout-inhibit-auto-fill-on-headline)
9975 (allout-flattened-numbering-abbreviation):
9976 * allout-widgets.el (allout-widgets-auto-activation)
9977 (allout-widgets-icons-dark-subdir)
9978 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9979 (allout-widgets-theme-dark-background)
9980 (allout-widgets-theme-light-background)
9981 (allout-widgets-item-image-properties-emacs)
9982 (allout-widgets-item-image-properties-xemacs)
9983 (allout-widgets-run-unit-tests-on-load)
9984 (allout-widgets-time-decoration-activity)
9985 (allout-widgets-hook-error-post-time)
9986 (allout-widgets-track-decoration):
9987 Add missing :version tags to new defcustoms and defgroups.
9988
5fec1b8e
GM
9989 * progmodes/sql.el (sql-ansi-statement-starters)
9990 (sql-oracle-statement-starters): Add custom type.
9991
3e0d2fa7
GM
9992 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9993 (prolog-system-version): Give it a type.
9994
90b671e2
EZ
99952012-02-11 Eli Zaretskii <eliz@gnu.org>
9996
9997 * term/pc-win.el (x-select-text, x-selection-owner-p)
9998 (x-own-selection-internal, x-disown-selection-internal)
9999 (x-get-selection-internal): Sync doc strings and argument lists
10000 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10001
5eac0c02
LL
100022012-02-11 Leo Liu <sdl.web@gmail.com>
10003
10004 * progmodes/python.el (python-end-of-statement): Fix infinite
10005 loop. (Bug#10788)
10006
f82cb659
GM
100072012-02-10 Glenn Morris <rgm@gnu.org>
10008
10009 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10010 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10011
cc26d239
LI
100122012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10013
10014 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10015 about SMTP before checking the From header.
10016
91027d08 10017 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
10018 into own function for reuse by emacsbug.el.
10019
1be3ca5a
LL
100202012-02-10 Leo Liu <sdl.web@gmail.com>
10021
10022 * subr.el (condition-case-unless-debug): Rename from
10023 condition-case-no-debug. All callers changed.
10024 (with-demoted-errors): Fix caller.
10025
10026 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10027 * nxml/rng-valid.el (rng-do-some-validation):
10028 * emacs-lisp/package.el (package-refresh-contents)
10029 (package-menu-execute):
10030 * desktop.el (desktop-create-buffer):
91027d08 10031 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 10032
b011fbfe
GM
100332012-02-10 Glenn Morris <rgm@gnu.org>
10034
b2096d72
GM
10035 * textmodes/bibtex.el:
10036 Add missing :version tags for new/changed defcustoms.
10037
b011fbfe
GM
10038 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10039
4c7e65bf
LI
100402012-02-09 Lars Ingebrigtsen <larsi@rusty>
10041
10042 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10043 (smtpmail-via-smtp): Use it, or fall back on the From address.
10044 (smtpmail-send-it): Ditto.
10045
f3934f6f
SM
100462012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10047
10048 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10049 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10050 (byte-compile-tmp-var): New const.
10051 (byte-compile-defvar): Use it to minimize .elc size.
10052 Just use `defvar' rather than simulate it (bug#10761).
10053
a075a2c5
GM
100542012-02-09 Glenn Morris <rgm@gnu.org>
10055
cf3aa21b
GM
10056 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10057
354998cd
GM
10058 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10059 Add :version tags.
10060
dc9924b8
SM
10061 * progmodes/compile.el (compilation-error-screen-columns)
10062 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 10063
dab3703d
GM
10064 * vc/log-view.el (log-view-toggle-entry-display):
10065 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10066
3f88cd72
GM
10067 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10068 (report-emacs-bug-can-use-xdg-email):
10069 (report-emacs-bug-insert-to-mailer): Doc fixes.
10070 (report-emacs-bug): Message fix.
10071
d95b247d
GM
10072 * net/browse-url.el (browse-url-can-use-xdg-open)
10073 (browse-url-xdg-open): Doc fixes.
10074
a075a2c5
GM
10075 * electric.el (electric-indent-mode, electric-pair-mode)
10076 (electric-layout-rules, electric-layout-mode): Doc fixes.
10077 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10078
ffb6157e
MR
100792012-02-08 Martin Rudalics <rudalics@gmx.at>
10080
10081 * server.el (server-unselect-display): Don't inadvertently kill
10082 the current buffer. (Bug#10729)
10083
e1ac4066
GM
100842012-02-08 Glenn Morris <rgm@gnu.org>
10085
34e8a2da
GM
10086 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10087 (sql-list-table): Doc fixes.
10088
b4ac6e8c
GM
10089 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10090 Comment out (does nothing).
10091
e1ac4066
GM
10092 * completion.el (dynamic-completion-mode):
10093 * dirtrack.el (dirtrack-debug-mode):
10094 * electric.el (electric-layout-mode):
10095 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10096 * face-remap.el (text-scale-mode, buffer-face-mode):
10097 * iimage.el (iimage-mode):
10098 * image-mode.el (image-transform-mode):
10099 * minibuffer.el (completion-in-region-mode):
10100 * scroll-lock.el (scroll-lock-mode):
10101 * simple.el (next-error-follow-minor-mode):
10102 * tar-mode.el (tar-subfile-mode):
10103 * tooltip.el (tooltip-mode):
10104 * vcursor.el (vcursor-use-vcursor-map):
10105 * wid-browse.el (widget-minor-mode):
10106 * emulation/tpu-edt.el (tpu-edt-mode):
10107 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10108 * international/iso-ascii.el (iso-ascii-mode):
10109 * language/thai-util.el (thai-word-mode):
10110 * mail/supercite.el (sc-minor-mode):
10111 * net/goto-addr.el (goto-address-mode):
10112 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10113 * progmodes/cwarn.el (cwarn-mode):
10114 * progmodes/flymake.el (flymake-mode):
10115 * progmodes/glasses.el (glasses-mode):
10116 * progmodes/hideshow.el (hs-minor-mode):
10117 * progmodes/pascal.el (pascal-outline-mode):
10118 * textmodes/enriched.el (enriched-mode):
10119 * vc/smerge-mode.el (smerge-mode):
10120 Doc fixes (minor mode argument).
10121
5e0d957f
EZ
101222012-02-07 Eli Zaretskii <eliz@gnu.org>
10123
10124 * ls-lisp.el (ls-lisp-sanitize): New function.
10125 (ls-lisp-insert-directory): Use it to fix or remove any elements
10126 in file-alist with missing attributes. (Bug#4673)
10127
98d7371e
AM
101282012-02-07 Alan Mackenzie <acm@muc.de>
10129
10130 Fix spurious recognition of c-in-knr-argdecl.
10131
10132 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10133 putative K&R region.
10134
667ced3a
AM
101352012-02-07 Alan Mackenzie <acm@muc.de>
10136
eb864a71
LM
10137 * progmodes/cc-engine.el (c-forward-objc-directive):
10138 Prevent looping in "#pragma mark @implementation".
667ced3a 10139
5b77774d
MA
101402012-02-07 Michael Albinus <michael.albinus@gmx.de>
10141
10142 * notifications.el (notifications-on-closed-signal): Make `reason'
10143 optional. (Bug#10744)
10144
af008560
GM
101452012-02-07 Glenn Morris <rgm@gnu.org>
10146
60d47423
GM
10147 * emacs-lisp/easy-mmode.el (define-minor-mode):
10148 Doc fixes for the macro and the mode it defines.
10149
dd605cc4
GM
10150 * image.el (imagemagick-types-inhibit): Doc fix.
10151
af008560
GM
10152 * cus-start.el (imagemagick-render-type): Add it.
10153
5cc59a37
LI
101542012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10155
4d6769e1
JB
10156 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10157 Set the default at load time, too, so that `font-lock-fontify-buffer'
10158 can be called without setting up the entire mode first. This fixes
10159 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 10160
9a6dd747
CY
101612012-02-06 Chong Yidong <cyd@gnu.org>
10162
2d16b285
CY
10163 * simple.el (list-processes--refresh): Delete exited processes
10164 (Bug#8094).
10165
171e9b6e
CY
10166 * comint.el (comint-next-prompt): next-single-char-property-change
10167 and prev-single-char-property-change never return nil (Bug#8657).
10168
9a6dd747
CY
10169 * custom.el (defcustom): Doc fix (Bug#9711).
10170
aa4589a7
CY
101712012-02-05 Chong Yidong <cyd@gnu.org>
10172
5c2a252f
CY
10173 * cus-edit.el (custom-variable-reset-backup): Quote the value
10174 before storing it in the customized-value property (Bug#6712).
4aab9006 10175 (custom-display): Add a customization type tag.
983b9602 10176 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 10177
aa4589a7
CY
10178 * wid-edit.el (widget-field-value-get): New optional arg to
10179 suppress trailing whitespace truncation.
10180 (character): Use it (Bug#2689).
10181
1ff980ae
AS
101822012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10183
10184 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10185 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10186
03988c98
CY
101872012-02-05 Chong Yidong <cyd@gnu.org>
10188
eeb6cc88
CY
10189 * cus-edit.el (custom-variable-value-create): For mismatched
10190 types, show the current value (Bug#7600).
10191
03988c98
CY
10192 * custom.el (defcustom): Doc fix.
10193
f8cdeef0
GM
101942012-02-05 Glenn Morris <rgm@gnu.org>
10195
10196 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10197
0696d255
JB
101982012-02-05 Juanma Barranquero <lekktu@gmail.com>
10199
10200 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10201 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10202 (pp-last-sexp): Use `looking-at-p'.
10203
34c99998
GM
102042012-02-04 Glenn Morris <rgm@gnu.org>
10205
8f05da42
GM
10206 * files.el (revert-buffer):
10207 Doc fix (mention revert-buffer-in-progress-p).
10208
f160676e
GM
10209 * emacs-lisp/ert-x.el (ert-simulate-command):
10210 Check deferred-action-list (which is obsolete) is bound.
10211
c7291ad9
GM
10212 * subr.el (with-wrapper-hook): Doc fixes.
10213
34c99998
GM
10214 * simple.el (filter-buffer-substring-functions)
10215 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10216
6283a7d3
LL
102172012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10218
10219 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10220 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10221
e96e3013
LL
102222012-02-04 Leo Liu <sdl.web@gmail.com>
10223
10224 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10225
8ded50f2
GM
102262012-02-04 Glenn Morris <rgm@gnu.org>
10227
82ff1d13
GM
10228 * image.el (image-extension-data): Add obsolete alias.
10229
987a0a16
GM
10230 * isearch.el (isearch-update): Doc fix.
10231
ea32ef46
GM
10232 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10233
8ded50f2
GM
10234 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10235
eea14f31
GM
102362012-02-03 Glenn Morris <rgm@gnu.org>
10237
10238 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10239 (image-animate-timeout): Doc fix.
10240
10241 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10242
12f381b7
GM
102432012-02-02 Glenn Morris <rgm@gnu.org>
10244
953cebf5
GM
10245 * server.el (server-auth-dir): Doc fix.
10246 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10247
12f381b7
GM
10248 * subr.el (run-mode-hooks): Doc fix.
10249
953a8c3b
JL
102502012-02-02 Juri Linkov <juri@jurta.org>
10251
10252 * image-mode.el (image-toggle-display-image): Remove tautological
10253 `major-mode' from the `derived-mode-p' test.
10254
c5d3843c
KH
102552012-02-02 Kenichi Handa <handa@m17n.org>
10256
9f6e692e 10257 * composite.el (compose-region): Cancel previous change.
c5d3843c 10258
159462d4 102592012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
10260
10261 * composite.el (compose-region, compose-string): Signal error for
10262 a null string component (Bug#6988).
10263
9f562668
CY
102642012-02-01 Chong Yidong <cyd@gnu.org>
10265
e2cef717
CY
10266 * view.el (view-buffer-other-window, view-buffer-other-frame):
10267 Handle special modes like view-buffer (Bug#10650).
10268 (view-buffer): Simplify.
10269
9f562668
CY
10270 * frame.el (set-frame-font): Tweak meaning of third argument.
10271
9f6e692e
JB
10272 * dynamic-setting.el (font-setting-change-default-font):
10273 Use set-frame-font (Bug#9982).
9f562668 10274
781acb9f
GM
102752012-02-01 Glenn Morris <rgm@gnu.org>
10276
6035be52
GM
10277 * progmodes/compile.el (compilation-internal-error-properties):
10278 Respect compilation-first-column in the "*compilation*" buffer.
10279
781acb9f
GM
10280 * emacs-lisp/easy-mmode.el (define-minor-mode):
10281 Relax :variable's test for a named function.
10282
abbceb00
AM
102832012-01-31 Alan Mackenzie <acm@muc.de>
10284
10285 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10286 off by one error.
10287
fce3fdeb
CY
102882012-01-31 Chong Yidong <cyd@gnu.org>
10289
10290 * frame.el (set-frame-font): New arg ALL-FRAMES.
10291
10292 * menu-bar.el (menu-set-font): Use set-frame-font.
10293
10294 * faces.el (face-spec-reset-face): Don't apply unspecified
10295 attribute values to the default face.
10296
47893581
JB
102972012-01-31 Juanma Barranquero <lekktu@gmail.com>
10298
10299 * progmodes/cwarn.el (cwarn): Remove dead link.
10300 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10301 Remove * from defcustom docstrings.
10302 (turn-on-cwarn-mode): Make obsolete.
10303 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10304 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10305
e58e988a
GM
103062012-01-31 Glenn Morris <rgm@gnu.org>
10307
60dc2671 10308 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 10309 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 10310 Allow named functions to be used as the cdr of :variable.
e58e988a 10311
7a3f511d
GM
103122012-01-30 Glenn Morris <rgm@gnu.org>
10313
10314 * emacs-lisp/authors.el (authors-fixed-entries):
10315 Remove reference to deleted file rnewspost.el.
10316
cb882333
JB
103172012-01-29 Juanma Barranquero <lekktu@gmail.com>
10318
10319 * window.el (window-with-parameter): Remove unused variable `windows'.
10320 (window--side-check): Remove unused variable `code'.
10321 (window--resize-siblings): Remove unused variable `first'.
10322 (adjust-window-trailing-edge): Remove unused variable `failed'.
10323 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10324 Use `let', not `let*'.
10325 (balance-windows-2): Remove unused variable `found'.
10326 (window--state-put-2): Remove unused variable `splits'.
10327 (window-state-put): Remove unused variable `selected'.
10328 (same-window-p): Use `string-match-p'.
10329 (display-buffer-assq-regexp): Remove unused variable `value'.
10330 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10331 Mark argument ALIST as ignored.
10332 (pop-to-buffer): Remove unused variable `old-window'.
10333
907201af
EZ
103342012-01-29 Eli Zaretskii <eliz@gnu.org>
10335
10336 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10337 and .lzma compressed files.
10338
ea162670
CY
103392012-01-29 Chong Yidong <cyd@gnu.org>
10340
5b95ee8a
CY
10341 * frame.el (window-system-default-frame-alist): Doc fix.
10342
ea162670
CY
10343 * dynamic-setting.el (font-setting-change-default-font): Don't
10344 change the default face if SET-FONT argument is non-nil (Bug#9982).
10345
d6e6f4b1
SB
103462012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10347
10348 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10349
0f29fa41 103502012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
10351
10352 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10353 breakpoints in files outside current directory (Bug#6098).
10354
db174434
CY
103552012-01-29 Chong Yidong <cyd@gnu.org>
10356
6b25e4e2
SE
10357 * progmodes/python.el: Require ansi-color at top-level.
10358
6df6ae42
JB
10359 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10360 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
10361 (lisp-mode-abbrev-table): Add doc.
10362 (lisp-mode-variables): Don't set local-abbrev-table.
10363 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10364
e70ee681
RW
103652012-01-28 Roland Winkler <winkler@gnu.org>
10366
10367 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10368
ace88aa2
RW
103692012-01-28 Roland Winkler <winkler@gnu.org>
10370
10371 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10372 (bibtex-set-dialect): Use it. Either set global values of
10373 dialect-dependent variables or bind these variables buffer-locally
10374 (Bug#10254).
10375 (bibtex-mode): Call bibtex-set-dialect via
10376 hack-local-variables-hook.
eb864a71
LM
10377 (bibtex-dialect): Update docstring.
10378 Add safe-local-variable predicate.
ace88aa2
RW
10379 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10380 bibtex-set-dialect.
10381 (bibtex-mode-map): Define menu for each dialect.
10382 (bibtex-entry): Fix docstring.
10383
93376c5b
CY
103842012-01-28 Chong Yidong <cyd@gnu.org>
10385
10386 * eshell/esh-arg.el (eshell-quote-argument): New function.
10387
10388 * eshell/esh-ext.el (eshell-invoke-batch-file):
10389 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10390 first arg to eshell-parse-command (Bug#10523).
10391
4372494f
DA
103922012-01-28 Drew Adams <drew.adams@oracle.com>
10393
10394 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10395 `default-directory' is non-nil.
10396
4d4ec1f8
EZ
103972012-01-28 Eli Zaretskii <eliz@gnu.org>
10398
10399 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10400 line that displays system-configuration-options. (Bug#9924)
10401
7c188927
DA
104022012-01-28 Drew Adams <drew.adams@oracle.com>
10403
10404 * descr-text.el (describe-char): Show information about POS, in
10405 addition to information about the character at POS. Improve and
10406 update the doc string. Change "code point" to "code point in
10407 charset", to avoid confusion with the character's Unicode code
10408 point shown above that. (Bug#10129)
10409
e0da685a
EZ
104102012-01-28 Eli Zaretskii <eliz@gnu.org>
10411
10412 * descr-text.el (describe-char): Show the raw character, not only
10413 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10414 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10415 for the reasons.
10416
70550acf
PH
104172012-01-28 Phil Hagelberg <phil@hagelb.org>
10418
eb864a71
LM
10419 * emacs-lisp/package.el (package-install):
10420 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 10421
0ce8e868
CY
104222012-01-28 Chong Yidong <cyd@gnu.org>
10423
cb882333
JB
10424 * emacs-lisp/package.el (package-maybe-load-descriptor):
10425 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
10426 (package-maybe-load-descriptor): Use it.
10427 (package-download-transaction): Fully load required packages
10428 inside the loop, so that `require' calls work (Bug#10593).
10429 (package-install): No need to call package-initialize now.
10430
2e7f3bea
CY
104312012-01-28 Chong Yidong <cyd@gnu.org>
10432
6e9bad14
CY
10433 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10434
f823b8ca
CY
10435 * tooltip.el (tooltip-mode): Doc fix.
10436 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10437
2680c309
CY
10438 * frame.el (set-cursor-color): Doc fix (Bug#352).
10439
d7a9e63b
CY
10440 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10441 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10442
2e7f3bea
CY
10443 * cus-edit.el (custom-buffer-create-internal): Fix search button
10444 action (Bug#10542).
2ae01800 10445 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 10446
fc4f7a23
EW
104472012-01-27 Eduard Wiebe <usenet@pusto.de>
10448
10449 * dired.el (dired-mark-files-regexp):
10450 Include any subdirectory components. (Bug#10445)
10451
7dd37071
ML
104522012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10453
10454 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10455 Handle [host]:port syntax. (Bug#10533)
10456
a268160b
AH
104572012-01-27 Alex Harsanyi <harsanyi@mac.com>
10458
10459 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10460
e43273ef
GM
104612012-01-26 Glenn Morris <rgm@gnu.org>
10462
10463 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10464 * term.el (term-raw-escape-map): Use Control-X-prefix.
10465 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10466
1edf595d
MR
104672012-01-25 Martin Rudalics <rudalics@gmx.at>
10468
10469 * window.el (window-state-get, window--state-get-1): Don't deal
10470 with fixed-sizeness of windows. Simplify code.
10471
fa8eafef
JC
104722012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10473
6df6ae42
JB
10474 * window.el (window--state-get-1, window--state-put-2):
10475 Don't save and restore the mark.
fa8eafef 10476
0b21c100
CY
104772012-01-25 Chong Yidong <cyd@gnu.org>
10478
10479 * custom.el (custom-variable-p): Doc fix.
10480
5ae1a6c8
GM
104812012-01-25 Glenn Morris <rgm@gnu.org>
10482
40047858
GM
10483 * dired.el (dired-goto-file): Handle some of the more common
10484 characters that `ls -b' escapes. (Bug#10596)
10485
5ddce96c
GM
10486 * progmodes/compile.el (compilation-next-error-function):
10487 Respect compilation-first-column in the "*compilation*" buffer.
10488 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10489
5ae1a6c8
GM
10490 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10491
b559f1a9
GM
104922012-01-24 Glenn Morris <rgm@gnu.org>
10493
10494 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10495
6725d21a
JD
104962012-01-24 Julien Danjou <julien@danjou.info>
10497
10498 * color.el (color-rgb-to-hsl): Fix value computing.
10499 (color-hue-to-rgb): New function.
10500 (color-hsl-to-rgb): New function.
10501 (color-clamp, color-saturate-hsl, color-saturate-name)
10502 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10503 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10504
70df4bbe
GM
105052012-01-24 Glenn Morris <rgm@gnu.org>
10506
10507 * vc/vc-rcs.el (vc-rcs-create-tag):
10508 * vc/vc-sccs.el (vc-sccs-create-tag):
10509 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10510
802a2ae2
ML
105112012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10512
10513 * eshell/esh-util.el (eshell-read-hosts-file):
10514 Skip comment lines. (Bug#10549)
10515
d7128bb1
ML
10516 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10517
d1a5c3b4
JB
105182012-01-23 Juanma Barranquero <lekktu@gmail.com>
10519
2724d9c7
JB
10520 * subr.el (display-delayed-warnings): Doc fix.
10521 (collapse-delayed-warnings): New function to collapse identical
10522 adjacent warnings.
10523 (delayed-warnings-hook): Add it.
d1a5c3b4 10524
a5509865
MA
105252012-01-22 Michael Albinus <michael.albinus@gmx.de>
10526
10527 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10528
a5509865
MA
10529 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10530 (tramp-default-user-alist): Don't add "pscp".
10531 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10532 property "login-as", if set. (Bug#10530)
10533
cc6d5805
MA
105342012-01-21 Michael Albinus <michael.albinus@gmx.de>
10535
10536 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10537 "plink1" and "psftp". (Bug#10530)
10538
105392012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
10540
10541 * international/mule-cmds.el (prefer-coding-system): Show a
10542 warning message if the default value of file-name-coding-system
10543 was not changed.
10544
f0960428
JC
105452012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10546
cb882333
JB
10547 * windmove.el (windmove-reference-loc):
10548 Fix windmove-reference-loc miscalculation.
f0960428 10549
dd6f2a63
JB
105502012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10551
10552 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10553 default unit.
10554
7b447e9b
GM
105552012-01-21 Glenn Morris <rgm@gnu.org>
10556
117a9ea1
GM
10557 * international/mule.el (auto-coding-alist): Add .tbz.
10558
7b447e9b
GM
10559 * files.el (local-enable-local-variables): Doc fix.
10560 (inhibit-local-variables-regexps): Rename from
10561 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10562 Doc fix. Add some extensions from auto-coding-alist.
10563 (inhibit-local-variables-suffixes):
10564 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10565 (inhibit-local-variables-p):
10566 New function, extracted from set-auto-mode-1.
10567 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10568 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10569 (hack-local-variables): Doc fix. Make the mode-only case
10570 respect enable-local-variables and friends.
10571 Respect inhibit-local-variables-regexps for file-locals, but
10572 not for directory-locals.
10573 (set-visited-file-name):
10574 Take account of inhibit-local-variables-regexps.
10575 Whether it applies may change as the file name is changed.
10576 * jka-cmpr-hook.el (jka-compr-install):
10577 * jka-compr.el (jka-compr-uninstall):
10578 Update for inhibit-first-line-modes-suffixes name change.
10579
dd6e3cdd
MR
105802012-01-20 Martin Rudalics <rudalics@gmx.at>
10581
10582 * help-macro.el (make-help-screen): Temporarily restore original
10583 binding for minor-mode-map-alist (Bug#10454).
10584
0d0deb38
JD
105852012-01-19 Julien Danjou <julien@danjou.info>
10586
10587 * color.el (color-name-to-rgb): Use the white color to find the max
10588 color component value and return correctly computed values.
10589 (color-name-to-rgb): Add missing float conversion for max value.
10590
34a02f46
MR
105912012-01-19 Martin Rudalics <rudalics@gmx.at>
10592
10593 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
10594 special state value for window-persistent-parameters.
10595 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
10596 (window--state-put-2): Reset all window parameters to nil before
10597 assigning values of persistent parameters.
10598
606c44c4
AM
105992012-01-18 Alan Mackenzie <acm@muc.de>
10600
10601 Eliminate sluggishness and hangs in fontification of "semicolon
10602 deserts".
10603
cb882333
JB
10604 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10605 Change value 10000 -> 3000.
606c44c4
AM
10606 (c-state-safe-place): Reformulate so it doesn't stack up an
10607 infinite number of wrong entries in c-state-nonlit-pos-cache.
10608 (c-determine-limit-get-base, c-determine-limit): New functions to
10609 determine backward search limits disregarding literals.
10610 (c-find-decl-spots): Amend commenting.
10611 (c-cheap-inside-bracelist-p): New function which detects "={".
10612
10613 * progmodes/cc-fonts.el
10614 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10615 backward search.
10616 (c-font-lock-declarations): Fix an occurrence of point being
10617 undefined. Check additionally for point being in a bracelist or
10618 near a macro invocation without a semicolon so as to avoid a
10619 fruitless time consuming search for a declarator. Give a more
10620 precise search limit for declarators using the new
10621 c-determine-limit.
10622
f3860cea
GM
106232012-01-18 Glenn Morris <rgm@gnu.org>
10624
10625 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10626 (set-auto-mode): Doc fixes.
10627
1db03b16
GM
106282012-01-17 Glenn Morris <rgm@gnu.org>
10629
0e6038be
GM
10630 * isearch.el (search-nonincremental-instead): Fix doc typo.
10631
1db03b16
GM
10632 * dired.el (dired-insert-directory): Handle newlines in directory name.
10633 (dired-build-subdir-alist): Unescape newlines in directory name.
10634
4cb0aa75
MA
106352012-01-17 Michael Albinus <michael.albinus@gmx.de>
10636
10637 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10638 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10639 (tramp-action-terminal): Use it. (Bug#10530)
10640
1d00653d
SM
106412012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10642
10643 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10644
6a6ee00d
MR
106452012-01-16 Martin Rudalics <rudalics@gmx.at>
10646
10647 * window.el (window-state-ignored-parameters): Remove variable.
10648 (window--state-get-1): Rename argument MARKERS to IGNORE.
10649 Handle persistent window parameters. Make copy of clone-of
10650 parameter only if requested. (Bug#10348)
10651 (window--state-put-2): Install a window parameter only if it has
10652 a non-nil value or an existing parameter shall be overwritten.
10653
97912def
MA
106542012-01-15 Michael Albinus <michael.albinus@gmx.de>
10655
10656 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10657
688070a5
EZ
106582012-01-14 Eli Zaretskii <eliz@gnu.org>
10659
10660 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10661 don't pass the (nil) value of `upnode' to string-match.
10662
301afadc
CY
106632012-01-14 Chong Yidong <cyd@gnu.org>
10664
10665 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 10666 Fix values recognized by the cursorBlink resource.
301afadc 10667
9e5788aa
PE
106682012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10669
10670 * epg.el (epg--make-temp-file): Avoid permission race condition
10671 when running on old Emacs versions (bug#10403).
10672
3cdb7f5a
GM
106732012-01-14 Glenn Morris <rgm@gnu.org>
10674
10675 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10676
8c82b1b4
AM
106772012-01-13 Alan Mackenzie <acm@muc.de>
10678
10679 Fix filling for when filladapt mode is enabled.
10680
10681 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10682 c-mask-paragraph, pass in `fill-paragraph' rather than
10683 `fill-region-as-paragraph'. (This is a reversion of a previous
10684 change.)
eb864a71
LM
10685 * progmodes/cc-mode.el (c-basic-common-init):
10686 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 10687
e517eda4
GM
106882012-01-13 Glenn Morris <rgm@gnu.org>
10689
1498536e
GM
10690 * dired.el (dired-switches-escape-p): New function.
10691 (dired-insert-directory): Use dired-switches-escape-p.
10692 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10693
e517eda4
GM
10694 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10695
328f984d
GM
106962012-01-12 Glenn Morris <rgm@gnu.org>
10697
10698 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10699 changes in adaptive-fill-regexp. (Bug#10276)
10700
2cc769a8
AM
107012012-01-11 Alan Mackenzie <acm@muc.de>
10702
10703 Fix Emacs bug #10463 - put `widen's around the critical spots.
10704
1d00653d 10705 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
10706 widen around each invocation of c-state-pp-to-literal. Remove an
10707 unused let variable.
10708
e52c37fa
GM
107092012-01-11 Glenn Morris <rgm@gnu.org>
10710
10711 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 10712 Doc fix.
e52c37fa 10713
96f8741e
CY
107142012-01-10 Chong Yidong <cyd@gnu.org>
10715
1d00653d
SM
10716 * net/network-stream.el (network-stream-open-starttls):
10717 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
10718 response to the capability command.
10719
b09a806e
GM
107202012-01-10 Glenn Morris <rgm@gnu.org>
10721
10722 * mail/unrmail.el (unrmail): Tweak previous change.
10723
7655cb66
CY
107242012-01-09 Chong Yidong <cyd@gnu.org>
10725
10726 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10727
9d5a8f0b
AM
107282012-01-08 Alan Mackenzie <acm@muc.de>
10729
10730 Optimise font locking in long enum definitions.
10731
10732 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10733 arm to a cond form to handle enums.
10734 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10735 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10736
9a0115ab 107372012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
10738
10739 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 10740 (Bug#10401)
6bb72cbd 10741
f186bb95
LMI
107422012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10743
29232a68
LMI
10744 * faces.el (set-face-attribute): Clarify the meaning of the nil
10745 frame (bug#10294).
10746
4e5d086d
LMI
10747 * subr.el (with-selected-frame): Mention that the selected frame
10748 is restored (bug#9980).
10749
8e66aebe
LMI
10750 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10751 (bug#9759).
10752
cd394be1 10753 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
10754 (password-read): Don't autoload unused function.
10755
adf4e762
JB
107562012-01-07 Juanma Barranquero <lekktu@gmail.com>
10757
10758 * progmodes/which-func.el (which-func-mode): Turn into a
10759 non-interactive function and mark as obsolete (bug#10428).
10760
89bd9ccd
CY
107612012-01-06 Chong Yidong <cyd@gnu.org>
10762
10763 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10764 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10765 functions, along with 1 and -1.
10766
4afee9d5
EZ
107672012-01-06 Eli Zaretskii <eliz@gnu.org>
10768
10769 * time.el (display-time-load-average)
10770 (display-time-default-load-average): Doc fixes. See the thread
10771 starting at
10772 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10773 for the details.
10774
536aea70
GM
107752012-01-06 Glenn Morris <rgm@gnu.org>
10776
665ae865
GM
10777 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10778 has no messages. (Bug#10377)
10779
c869783d
GM
10780 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10781 than Info-edit. (Bug#10385)
10782
2bb4227e
GM
10783 * time.el (display-time-load-average, display-time-next-load-average):
10784 Doc fixes.
10785
7d5944b9
GM
10786 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10787 local setting of buffer-read-only to the input buffer. (Bug#10419)
10788
536aea70
GM
10789 * calendar/calendar.el (calendar-mode):
10790 Locally set scroll-margin to 0. (Bug#10379)
10791
7dccca16
UM
107922012-01-06 Ulrich Mueller <ulm@gentoo.org>
10793
10794 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10795
afbb7930
GM
107962012-01-05 Glenn Morris <rgm@gnu.org>
10797
10798 * eshell/em-unix.el (diff-no-select): Autoload it.
10799 (eshell/diff): Use diff-no-select. (Bug#10420)
10800
04482335
CY
108012012-01-05 Chong Yidong <cyd@gnu.org>
10802
7baca3bc
CY
10803 * shell.el (shell-dynamic-complete-functions): Revert last change.
10804 (shell-command-completion-function): New function.
10805 (shell-completion-vars): Use it to implement
10806 shell-completion-execonly (Bug#10417).
10807
04482335
CY
10808 * custom.el (enable-theme): Don't set custom-safe-themes.
10809
1d00653d
SM
10810 * cus-theme.el (custom-theme-merge-theme):
10811 Ignore custom-enabled-themes and custom-safe-themes.
04482335 10812
bb5aa5d6
MM
108132012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10814
10815 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10816 first prompt in `sql-interacive-mode'.
10817 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 10818 keywords.
6df6ae42 10819 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
10820 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10821 context of original buffer. Invoke `sql-login-hook'.
10822
a7183d7c
EZ
108232012-01-04 Eli Zaretskii <eliz@gnu.org>
10824
10825 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10826 letters in cite-prefix.
10827
a1eacd1e
LMI
108282012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10829
10830 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10831
787cdb34
CY
108322012-01-03 Chong Yidong <cyd@gnu.org>
10833
1d00653d
SM
10834 * shell.el (shell-dynamic-complete-functions):
10835 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
10836 comint-filename-completion first (Bug#10417).
10837
30710442
RS
108382012-01-02 Richard Stallman <rms@gnu.org>
10839
10840 * battery.el (battery-status-function):
10841 Detect when to use battery-yeeloong-sysfs.
10842 (battery-echo-area-format): Add string for Yeeloong.
10843 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10844 (battery-yeeloong-sysfs): New function.
10845
f75bfc33
CY
108462012-01-02 Chong Yidong <cyd@gnu.org>
10847
10848 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10849 (dirtrack): Merge code for handling relative filenames in prompt
10850 from shell-dir-cookie-watcher.
10851 (dirtrack-debug-message): New arg to avoid excess format calls.
10852
10853 * shell.el (shell-dir-cookie-re): Variable deleted.
10854 (shell-dir-cookie-watcher): Function deleted.
10855 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10856 with dirtrack-mode.
10857
651e947e
EZ
108582012-01-01 Eli Zaretskii <eliz@gnu.org>
10859
1d00653d
SM
10860 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10861 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
10862 libgnutls-26.dll.
10863
94d4c7dc
AS
108642011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10865
10866 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10867
8d43f3cd
EZ
108682011-12-31 Eli Zaretskii <eliz@gnu.org>
10869
10870 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10871 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10872
98c8795a
MA
108732011-12-29 Michael Albinus <michael.albinus@gmx.de>
10874
10875 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10876 also for alternative shells.
10877 (tramp-open-connection-setup-interactive-shell): Check, whether
10878 the shell is a busybox.
10879 (tramp-send-command): Don't suppress multiple prompts for
10880 busyboxes, it hurts.
10881
51281b32
CY
108822011-12-28 Chong Yidong <cyd@gnu.org>
10883
10884 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10885 (gdb-get-source-file): Move mode line update to
10886 gdb-get-source-file (Bug#10087).
10887
2170cb53
CY
108882011-12-25 Chong Yidong <cyd@gnu.org>
10889
10890 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10891 gud-gdb-marker-filter without taking it as an argument.
10892 (gud-gdb-run-command-fetch-lines): Caller changed.
10893 (gud-gdb-completion-function): New variable.
10894 (gud-gdb-completion-at-point): Use it.
10895 (gud-gdb-completions-1): Split from gud-gdb-completions.
10896
10897 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10898 function as separate arguments.
10899 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10900 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10901 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10902 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10903 (gdb-stopped, def-gdb-auto-update-trigger)
10904 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
10905 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10906 Callers changed.
2170cb53
CY
10907 (gud-gdbmi-completions): New function.
10908 (gdb): Use it for generating the completion table.
10909
be8b11bb
AM
109102011-12-24 Alan Mackenzie <acm@muc.de>
10911
10912 Introduce a mechanism to widen the region used in context font
1d00653d 10913 locking. Use this to protect declarations from losing their contexts.
be8b11bb 10914
1d00653d
SM
10915 * progmodes/cc-langs.el (c-before-font-lock-functions):
10916 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 10917 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
10918 functions to be run just before context (etc.) font locking.
10919
10920 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 10921 New, functionality extracted from
be8b11bb 10922 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 10923 (c-in-after-change-fontification): New variable.
be8b11bb
AM
10924 (c-after-change): Set c-in-after-change-fontification.
10925 (c-set-fl-decl-start): Rejig its interface, so it can be called
10926 from both after-change and context fontifying.
b81d40f0
JB
10927 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10928 New functions.
10929 (c-standard-font-lock-fontify-region-function): New variable.
10930 (c-font-lock-fontify-region): New function.
be8b11bb 10931
341cf6ac
JL
109322011-12-24 Juri Linkov <juri@jurta.org>
10933
10934 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10935 (Bug#10348)
10936
bffcee0a
MA
109372011-12-23 Michael Albinus <michael.albinus@gmx.de>
10938
10939 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10940 existence of source file. (Bug#10325)
10941
cb5e207c
AM
109422011-12-23 Alan Mackenzie <acm@muc.de>
10943
10944 Fix unstable fontification inside templates.
10945
b81d40f0
JB
10946 * progmodes/cc-langs.el (c-before-font-lock-functions):
10947 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
10948 additionally has c-set-fl-decl-start. The other languages (apart
10949 from AWK) have that as a single entry.
10950
b81d40f0
JB
10951 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10952 The functionality for "local" declarations has been extracted to
cb5e207c
AM
10953 c-set-fl-decl-start.
10954
b81d40f0
JB
10955 * progmodes/cc-mode.el (c-common-init, c-after-change):
10956 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
10957 (c-set-fl-decl-start): New function, extracted from
10958 c-font-lock-enclosing-decls and enhanced.
10959
60ff536c
JB
109602011-12-23 Juanma Barranquero <lekktu@gmail.com>
10961
10962 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10963
1c4757d6
JL
109642011-12-22 Juri Linkov <juri@jurta.org>
10965
10966 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10967
d031f2c7
CY
109682011-12-22 Chong Yidong <cyd@gnu.org>
10969
10970 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10971
bace743a
DA
109722011-12-21 Drew Adams <drew.adams@oracle.com>
10973
10974 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10975
728a1f2b
JC
109762011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10977
10978 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10979
0d373f73
TZ
109802011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10981
fec0aaa4
TZ
10982 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10983 highlighting and support. Fix up comments for capitalization.
10984 (cfengine-mode-debug): New var.
10985 (cfengine3-mode): Change the modeline indicator to "CFE3".
10986 (cfengine3-font-lock-keywords): Improve defun highlighting.
10987 (cfengine2-actions): Rename from `cfengine-actions'.
10988 (cfengine2-font-lock-keywords): Rename from
10989 `cfengine-font-lock-keywords'.
10990 (cfengine2-imenu-expression): Rename from
10991 `cfengine-imenu-expression'.
10992 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10993 (cfengine2-beginning-of-defun): Rename from
10994 `cfengine-beginning-of-defun'.
10995 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10996 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10997 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10998 modeline indicator to "CFE2".
10999 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11000 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 11001
bc86f573
CY
110022011-12-21 Chong Yidong <cyd@gnu.org>
11003
11004 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11005 filename argument.
11006
d45ba96b
MR
110072011-12-20 Martin Rudalics <rudalics@gmx.at>
11008
11009 * window.el (window-normalize-buffer-to-display): Remove.
11010 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11011
a6198c90
CY
110122011-12-19 Chong Yidong <cyd@gnu.org>
11013
11014 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11015 Don't signal an error in a predicate function; return non-nil.
11016 (vc-dir-mark-file): Move the error here.
11017 (vc-dir-mark-unmark): If acting on the region, keep going if one
11018 of the entries cannot be marked/unmarked.
11019 (vc-dir-mark-all-files): If current entry is a directory, mark
11020 only child files, as documented.
11021
34c5fb55
VB
110222011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11023
11024 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11025 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11026 addition.
11027
c803b2b7
JD
110282011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11029
11030 * term/ns-win.el (ns-get-selection-internal)
11031 (ns-store-selection-internal): Declare.
1154d12e
JB
11032 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11033 Declare as obsolete.
11034 (ns-get-pasteboard, ns-paste-secondary):
11035 Use ns-get-selection-internal.
41e9b956 11036 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 11037 Use ns-store-selection-internal.
c803b2b7 11038
9cff91f8 110392011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
11040
11041 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 11042 (vc-deduce-fileset): Doc fix.
99a289d9 11043
f16c898a
AS
110442011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11045
11046 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11047
763237c4
SS
110482011-12-13 Sam Steingold <sds@gnu.org>
11049
11050 * man.el (Man-getpage-in-background): When running under a
11051 window-system, ignore $MANWIDTH and $COLUMNS.
11052
5fc1c122
KH
110532011-12-15 Kenichi Handa <handa@m17n.org>
11054
11055 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11056 (setup-ethiopic-environment-internal): Comment out key-binding for
11057 ethio-toggle-punctuation.
11058
13d49cbb
AM
110592011-12-13 Alan Mackenzie <acm@muc.de>
11060
898169a2
AM
11061 Add the switch statement to AWK Mode.
11062
7a71b18d 11063 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
11064 "default" to the keywords regexp.
11065
7a71b18d 11066 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 11067 expression as the rest.
1d00653d
SM
11068 (c-nonlabel-token-key): Allow string literals for AWK.
11069 Refactor for the other modes.
898169a2 11070
13d49cbb 11071 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 11072 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
11073 routines. Limit backward searching in c-font-lock-enclosing.decl.
11074
11075 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11076 pp-state and literal type in addition to the limits.
1d00653d 11077 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 11078 (c-state-literal-at): Use the above new defun.
1d00653d
SM
11079 (c-slow-in-literal, c-fast-in-literal): Remove.
11080 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
11081
11082 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11083 being in a literal. Add a limit for backward searching.
11084
11085 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11086 c-slow-in-literal.
11087
15e0efc7
SM
110882011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11089
11090 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11091
454592a6
MR
110922011-12-13 Martin Rudalics <rudalics@gmx.at>
11093
11094 * window.el (delete-other-windows): Use correct frame in call to
11095 window-with-parameter.
11096
87393f26
DP
110972011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11098
11099 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11100 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11101 (makefile-gmake-statements, makefile-makepp-statements):
11102 Use it and add new makepp keywords.
11103 (makefile-makepp-font-lock-keywords): Add new patterns.
11104 (makefile-match-function-end): Match new [...] and [[...]].
11105
11636b22
JB
111062011-12-11 Juanma Barranquero <lekktu@gmail.com>
11107
11108 * ses.el (ses-call-printer-return, ses-cell-property-get)
11109 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11110 (ses-create-cell-variable, ses-reset-header-string)
11111 (ses-cell-set-formula, ses-repair-cell-reference-all)
11112 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11113 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11114 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11115 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11116 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11117 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11118 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11119 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11120 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11121 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11122 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11123 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11124
cf018193
VB
111252011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11126
11127 * ses.el: The overall change is to add cell renaming, that is
11128 setting fancy names for cell symbols other than name matching
11129 "\\`[A-Z]+[0-9]+\\'" regexp .
11130 (ses-create-cell-variable): New defun.
11131 (ses-relocate-formula): Relocate formulas only for cells the
11132 symbols of which are not renamed, i.e. symbols whose names do not
11133 match regexp "\\`[A-Z]+[0-9]+\\'".
11134 (ses-relocate-all): Relocate values only for cells the symbols of
11135 which are not renamed.
11136 (ses-load): Create cells variables as the (ses-cell ...) are read,
11137 in order to check row col consistency with cell symbol name only
11138 for cells that are not renamed.
11139 (ses-replace-name-in-formula): New defun.
11140 (ses-rename-cell): New defun.
11141
ee957461
CY
111422011-12-11 Chong Yidong <cyd@gnu.org>
11143
11144 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11145 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11146
9a9e9ef0
MR
111472011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11148
11149 * window.el (other-window): Fix docstring.
11150
92a8eba5
EZ
111512011-12-10 Eli Zaretskii <eliz@gnu.org>
11152
11153 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
11154 `from' or `to' address before taking its substring.
11155 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
11156 encoded name is chopped in the middle of the encoded string, and
11157 thus displayed encoded.
11158
e152e577
JB
111592011-12-10 Juanma Barranquero <lekktu@gmail.com>
11160
11161 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11162
e5d84bfe
EZ
111632011-12-10 Eli Zaretskii <eliz@gnu.org>
11164
11165 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11166 to use texinfo-update-node and commands that call it if the
11167 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 11168 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
11169 (texinfo-all-menus-update, texinfo-master-menu)
11170 (texinfo-update-node, texinfo-every-node-update)
11171 (texinfo-multiple-files-update): Doc fix. Warn against updating
11172 all the @node lines.
11173 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
11174 argument is numeric. Explain better in the doc string what the
11175 function really does.
11176 (texinfo-insert-master-menu-list): Improve the error message
11177 displayed if there's no menu in the Top node.
11178 (Bug#2975) See also this thread:
e5d84bfe
EZ
11179 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11180
1d84e9bb
MG
111812011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11182
11183 * speedbar.el (speedbar-supported-extension-expressions):
11184 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11185
382c953b
JB
111862011-12-09 Juanma Barranquero <lekktu@gmail.com>
11187
11188 * printing.el (pr-mode-alist):
11189 * simple.el (filter-buffer-substring-functions)
11190 (completion-list-insert-choice-function):
11191 * window.el (window-with-parameter, window-atom-root)
11192 (window-sides-slots, window-size-fixed, window-min-delta)
11193 (window-max-delta, window--resize-mini-window)
11194 (window--resize-child-windows-normal, window-tree)
11195 (delete-other-windows, quit-window, split-window)
11196 (display-buffer-record-window, special-display-buffer-names)
11197 (special-display-regexps, special-display-popup-frame)
11198 (same-window-p, split-window-sensibly)
11199 (display-buffer-overriding-action, display-buffer-alist)
11200 (display-buffer-base-action, display-buffer, switch-to-buffer)
11201 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11202 (fit-window-to-buffer, recenter-positions)
11203 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11204 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11205 and remove unneeded backslashes in docstrings.
11206
39c9faef
SM
112072011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11208
98449af8
SM
11209 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11210
39c9faef
SM
11211 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11212 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11213 end in ".mk".
11214 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11215 when reading the makefile (bug#10116).
11216
86ed9fdc
SM
112172011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11218
11219 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11220 (bug#10116).
11221
5580f89d
GM
112222011-12-06 Glenn Morris <rgm@gnu.org>
11223
11224 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11225
28d3917c
CY
112262011-12-06 Chong Yidong <cyd@gnu.org>
11227
11228 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11229
a98edce9
JB
112302011-12-06 Juanma Barranquero <lekktu@gmail.com>
11231
11232 * textmodes/table.el (table-shorten-cell): Fix typo.
11233
e65adfac
CG
112342011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11235
11236 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11237
71cc0b74
EZ
112382011-12-05 Eli Zaretskii <eliz@gnu.org>
11239
11240 * descr-text.el (describe-char): Fix display of strong
11241 right-to-left characters and directional embeddings and overrides.
11242
11243 * simple.el (what-cursor-position): Fix display of codepoints of
11244 strong right-to-left characters.
11245
315bc30d
CY
112462011-12-05 Chong Yidong <cyd@gnu.org>
11247
11248 * faces.el (read-color): Doc fix.
11249
58a70b94
GM
112502011-12-05 Glenn Morris <rgm@gnu.org>
11251
11252 * align.el (align--set-marker): Add doc-string.
11253 Don't try to move something that is not a marker. (Bug#10216)
11254
5158face
GM
112552011-12-04 Glenn Morris <rgm@gnu.org>
11256
11257 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11258 overly zealous deletion of trailing whitespace.
11259
520fca41
JB
112602011-12-04 Juanma Barranquero <lekktu@gmail.com>
11261
11262 * server.el (server-delete-client): On Windows, do not try to delete
11263 the only terminal.
11264 (server-process-filter): On Windows, treat requests for a tty frame as
11265 if they were for a GUI frame if the running server is in GUI mode.
11266
5e605a2e
GM
112672011-12-03 Glenn Morris <rgm@gnu.org>
11268
11269 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11270
5c3fe83f
SM
112712011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11272
6f5e57e7
SM
11273 * electric.el: Streamline electric-indent's hook.
11274 (electric-indent-chars): Revert to simple list.
11275 (electric-indent-functions): New var.
11276 (electric-indent-post-self-insert-function): Use it.
11277
5c3fe83f
SM
11278 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11279 there's no inferior buffer (bug#10196).
11280 (prolog-consult-compile): Don't use toggle-read-only.
11281
6bdac736
MA
112822011-12-02 Michael Albinus <michael.albinus@gmx.de>
11283
11284 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11285 interrupt. (Bug#10187)
11286
6131ba7f
SM
112872011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11288
99c79fee
SM
11289 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11290 (bug#9160).
11291
6131ba7f
SM
11292 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11293 (bug#10191).
11294
cb0a02ea
JL
112952011-12-02 Juri Linkov <juri@jurta.org>
11296
11297 * info.el (Info-search): Display "end of manual" when Isearch
11298 reaches the end of single-file Info manual. (Bug#9918)
11299
66e0570c
EZ
113002011-12-02 Eli Zaretskii <eliz@gnu.org>
11301
11302 * isearch.el (isearch-message-prefix): Run the input method part
11303 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11304
02b16839
JL
113052011-12-02 Juri Linkov <juri@jurta.org>
11306
11307 * isearch.el (isearch-occur): Use `word-search-regexp' for
11308 `isearch-word'.
11309 (isearch-search-and-update): Add condition for `isearch-word' and
11310 call `word-search-regexp'. (Bug#10145)
11311
0b950688
GM
113122011-12-01 Glenn Morris <rgm@gnu.org>
11313
11314 * eshell/em-hist.el (eshell-hist-initialize):
11315 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 11316 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 11317
9505c3c7
SM
113182011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11319
11320 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11321
1bbe96b2 113222011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 11323
a1beca85
SM
11324 * progmodes/verilog-mode.el (verilog-pretty-expr):
11325 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
11326 verilog, such as += *= and the like.
11327 (verilog-assignment-operator-re): Regular expression to find the
11328 assigment operator in a verilog assignment.
11329 (verilog-assignment-operation-re): Regular expression to find an
11330 assignment statement for pretty-expr.
11331 (verilog-in-attribute-p): Query returns true if point is in an
11332 attribute context; used to skip these for expression line up from
11333 pretty-expr.
11334 (verilog-in-parameter-p): Query returns true if point is in an
11335 parameter definition context; used to skip these for expression
11336 line up from pretty-expr.
11337 (verilog-in-parenthesis-p): Query returns true if point is in a
11338 parenthetical expression, specifically ( ) but not [ ] or { };
11339 used by pretty-expr.
11340 (verilog-just-one-space): If there is no space, don't add one.
11341 (verilog-get-lineup-indent-2): Specifically skip just attribute
11342 contexts for expression lineup, rather than skipping all
11343 parenthetical expressions.
11344 (verilog-calculate-indent): Fix comment, and fix indent.
11345 (verilog-do-indent): Indent declarations in lists (suggested by
11346 Joachim Lechner).
11347 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11348 skeleton items.
11349 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11350 by Alain Mellan).
11351
1bbe96b2 113522011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
11353
11354 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11355 parameters with embedded comments. Reported by Ray Stevens.
11356 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11357 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11358 Reported by Tim Holt.
11359 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11360 instantiated by upper module causing wrong expansion until AUTOed a
11361 second time. Reported by K C Buckenmaier.
11362 (verilog-diff-auto): Fix showing .* as a difference when
11363 `verilog-auto-star-save' off. Reported by Dan Dever.
11364 (verilog-auto-reset, verilog-read-always-signals)
11365 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11366 temporary signals in reset list if
11367 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
11368 style to each signal's assignment type, bug381.
11369 Reported by Thomas Esposito.
6288f0ca
WS
11370 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11371 (verilog-uvm-statement-re): Support UVM indentation and
11372 highlighting, with old OVM keywords only.
a1beca85 11373 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
11374 Support AUTOTIEOFF creating non-wire data types.
11375 Suggested by Jonathan Greenlaw.
6288f0ca
WS
11376 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11377 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11378 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
11379 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11380 Fix mismatching parenthesis inside commented out code when deleting
382c953b 11381 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
11382 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11383 non-numeric vector width. Reported by Alex Reed.
11384 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 11385 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
11386 (verilog-auto-delete-trailing-whitespace):
11387 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
11388 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11389 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11390 Fix verilog-scan-cache corruption when running user AUTO expansion
11391 hooks that call indentation routines.
11392 (verilog-simplify-range-expression): Fix typo ignoring lower case
11393 identifiers.
11394 (verilog-delete-auto): Fix delete-autos to also remove user created
11395 automatics, as long as they start with AUTO.
11396 (verilog-batch-diff-auto, verilog-diff-auto)
11397 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11398 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11399 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11400 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
11401 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11402 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
11403 is disabled and its cache will get corrupt, causing AUTOS not to
11404 expand. Instead use only -quick functions.
11405 (verilog-scan-region): Fix scanning over escaped quotes.
11406 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11407 (verilog-re-search-backward-quick)
11408 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11409 related functions now ignore strings, to fix misparsing of strings
11410 with magic comments embedded in them.
a1beca85
SM
11411 (verilog-read-auto-template):
11412 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11413 Reported by Brad Dobbie.
11414 (verilog-read-auto-template):
11415 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 11416 Reported by Brad Dobbie.
6288f0ca
WS
11417 (verilog-auto-inst, verilog-auto-inst-param)
11418 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11419 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11420 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
11421 debugging templates without merge conflicts, bug357.
11422 Reported by Brad Dobbie.
11423 (verilog-read-auto-template):
11424 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
11425 Reported by Brad Dobbie.
11426 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11427 abbrevs so user won't be asked to save.
11428 (verilog-read-auto-lisp-present): Fix to start at beginning of
11429 buffer in case called outside of verilog-auto.
11430 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11431 to "X-2". Reported by Matthew Myers.
11432 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11433 all inputs from module templates. Reported by Leith Johnson.
11434 (verilog-module-inside-filename-p): Fix locating programs as with
11435 modules.
11436 (verilog-auto-inst-port): Fix vl-width expressions when using
11437 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11438 (verilog-decls-get-regs, verilog-decls-get-signals,
11439 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11440 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11441 verilog-read-decls): Combine reg and wire structures into one var
11442 structure to represent SystemVerilog concepts.
11443 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11444 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
11445 (verilog-auto-wire-type, verilog-insert-definition):
11446 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
11447 SystemVerilog "logic" keyword instead of "wire"/"reg".
11448 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11449 to declares outputs that also have assignments (presumably in an
a1beca85
SM
11450 ifdef or generate if so there's not a driver conflict).
11451 Reported by Matthew Myers.
11452 (verilog-auto-declare-nettype, verilog-insert-definition):
11453 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
11454 `default_nettype none. Reported by Julian Gorfajn.
11455 (verilog-read-always-signals-recurse, verilog-read-decls)
11456 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11457 malformed end statement, bug325. Reported by Joshua Wise and
11458 Andrew Drake.
11459 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11460 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
11461 when expanding .* in interfaces, bug320.
11462 Reported by Pierre-David Pfister.
6288f0ca 11463 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
11464 name and open parenthesis, bug317.
11465 Reported by Pierre-David Pfister.
6288f0ca
WS
11466 (verilog-simplify-range-expression): Fix simplification of
11467 multiplications inside AUTOWIRE connections, bug303.
11468 (verilog-auto-inst-port): Support parameter expansion in
11469 multidimensional arrays.
11470 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11471 after "assert property". Reported by Julian Gorfajn.
11472 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11473 with multiplication, bug303.
11474 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11475 Reported by Jan Frode Lonnum.
11476
1bbe96b2
GM
114772011-11-30 Juanma Barranquero <lekktu@gmail.com>
11478
11479 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11480 (hfy-shell-file-name, hfy-shell):
11481 * international/fontset.el (x-decompose-font-name): Fix typos.
11482
114832011-11-29 Ken Brown <kbrown@cornell.edu>
11484
11485 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11486 (gdb-version): Remove defvar.
11487 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11488 (gdb-gud-context-command, gdb-non-stop-handler)
11489 (gdb-current-context-command, gdb-stopped): Use it.
11490 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
11491 (gdb-non-stop-handler): Don't enable pretty-printing here.
11492 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
11493 non-stop mode. Use the following.
11494 (gdb-check-target-async): New defun.
11495 (gud-watch, gdb-stopped): Fix whitespace.
11496 (gdb-get-source-file): Don't try to display the source file if
11497 `gdb-main-file' is nil.
11498
114992011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11500
11501 * align.el: Try to generate fewer markers (bug#10047).
11502 (align--set-marker): New macro.
11503 (align-region): Use it.
11504
c935221f
SM
115052011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11506
11507 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11508
e70b5064
CY
115092011-11-29 Chong Yidong <cyd@gnu.org>
11510
11511 * indent.el (indent-for-tab-command, indent-according-to-mode):
11512 Doc fix.
11513 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11514
f3af92b7
MA
115152011-11-29 Michael Albinus <michael.albinus@gmx.de>
11516
11517 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11518 aware of remote file names. (Bug#10124)
11519
ed472be9
CY
115202011-11-29 Chong Yidong <cyd@gnu.org>
11521
11522 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11523
24510c22
SM
115242011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11525
11526 * files.el (find-file): Don't use force-same-window (bug#10144).
11527 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11528 use pop-to-buffer if the selected window can't be used.
11529 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11530
c60c3703
EZ
115312011-11-28 Eli Zaretskii <eliz@gnu.org>
11532
11533 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11534 special-mode-map.
11535
e95def75
CY
115362011-11-28 Chong Yidong <cyd@gnu.org>
11537
11538 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11539
c3f1c606
NR
115402011-11-27 Nick Roberts <nickrob@snap.net.nz>
11541
11542 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11543 gdb-get-source-file-list on gdb-create-source-file-list.
11544
00db469c
EZ
115452011-11-26 Eli Zaretskii <eliz@gnu.org>
11546
11547 * whitespace.el (whitespace-newline): Use a different foreground
11548 color for 16-color light-background displays.
11549
4ad3bc2a
CY
115502011-11-24 Chong Yidong <cyd@gnu.org>
11551
11552 * window.el (display-buffer--special-action): Doc fix.
11553
e9fce1ac
JB
115542011-11-25 Juanma Barranquero <lekktu@gmail.com>
11555
11556 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11557 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11558 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11559 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11560 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11561 (avl-tree-stack-first):
11562 * emacs-lisp/cconv.el (cconv--analyse-use):
11563 * net/gnutls.el (gnutls-negotiate): Fix typos.
11564
cb825e5d
GM
115652011-11-24 Glenn Morris <rgm@gnu.org>
11566
3adbe224
GM
11567 * lpr.el (lpr-windows-system, lpr-lp-system):
11568 * mail/binhex.el (binhex-begin-line):
11569 * progmodes/grep.el (grep-history, grep-find-history):
11570 * textmodes/flyspell.el:
11571 * vc/pcvs-defs.el (cvs-global-menu):
11572 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11573 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11574 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11575
321decc8
GM
11576 * net/tls.el: Fix case of "GnuTLS".
11577
420b63ad
GM
11578 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11579
cb825e5d
GM
11580 * version.el (emacs-build-system): Give it a doc-string.
11581
a0649f08
JL
115822011-11-24 Juri Linkov <juri@jurta.org>
11583
11584 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11585
c0bc0fd4
GM
115862011-11-24 Glenn Morris <rgm@gnu.org>
11587
11588 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11589 if called on a non-mime message just toggle the headers. (Bug#8006)
11590
20db1522
JB
115912011-11-24 Juanma Barranquero <lekktu@gmail.com>
11592
11593 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11594 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11595 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11596 (allout-rebullet-heading, allout-open-sibtopic)
11597 (allout-toggle-current-subtree-encryption)
11598 (allout-toggle-subtree-encryption, allout-encrypt-string)
11599 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11600 (allout-distinctive-bullets-string, allout-auto-activation):
11601 * window.el (window-normalize-buffer-to-display):
11602 * progmodes/verilog-mode.el (verilog-batch-indent):
11603 * textmodes/bibtex.el (bibtex-field-braces-opt)
11604 (bibtex-field-strings-opt):
11605 * vc/cvs-status.el (cvs-tree-merge):
11606 Fix typos.
11607
7262a87c
MA
116082011-11-23 Michael Albinus <michael.albinus@gmx.de>
11609
11610 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11611 `non-essential' to t, in order to avoid remote connections.
11612
283430a1
EZ
116132011-11-23 Eli Zaretskii <eliz@gnu.org>
11614
a1beca85
SM
11615 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11616 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
11617 case-insensitively.
11618
d2992a38
ML
116192011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11620
11621 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11622
50419064
GM
116232011-11-23 Glenn Morris <rgm@gnu.org>
11624
da94eca1
GM
11625 * paths.el (rmail-file-name): Reformat the doc-string so that it
11626 is picked up.
11627
9aac4de2
GM
11628 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11629 (rmail-auto-file): Ignore case in the "special" field names,
11630 as mail-fetch-field does for all others.
11631
8038d2d2
GM
11632 * mail/rmail.el (rmail-forward):
11633 * mail/rmailkwd.el (rmail-set-label):
11634 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11635 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11636
f3fe222a
GM
11637 * mail/rmail.el (rmail-current-message): Doc fix.
11638
50419064
GM
11639 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11640
28109f49
SM
116412011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11642
11643 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11644
394c65f1
GM
116452011-11-22 Glenn Morris <rgm@gnu.org>
11646
11647 * mail/rmailmm.el (test-rmail-mime-handler)
11648 (test-rmail-mime-bulk-handler)
11649 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11650
f2a0aa3a
JL
116512011-11-21 Juri Linkov <juri@jurta.org>
11652
1154d12e
JB
11653 * calc/calc.el (calc-read-key-sequence):
11654 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 11655
9c34a344
LMI
116562011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11657
11658 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11659 Tell the caller that the next line needs recomputation, even
11660 though it doesn't start a sexp (bug#10094).
11661
f04a3be9
SM
116622011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11663
11664 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11665
7978747f
SM
116662011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11667
f04a3be9
SM
11668 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11669 Use force-same-window.
7978747f 11670
fe7a3057
JB
116712011-11-20 Juanma Barranquero <lekktu@gmail.com>
11672
11673 * descr-text.el (describe-char-unicode-data):
11674 * json.el (json-string-escape):
11675 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11676 (Footnote-unicode, Footnote-style-p):
11677 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11678
24901d61
CY
116792011-11-20 Chong Yidong <cyd@gnu.org>
11680
11681 * window.el (replace-buffer-in-windows): Restore interactive spec.
11682
bac7ff22
SM
116832011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11684
24f3d7b9
SM
11685 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11686
bac7ff22
SM
11687 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11688 (byte-compile-global-not-obsolete-vars): New var.
11689 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11690 Use it.
11691 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11692
cd1181db
JB
116932011-11-20 Juanma Barranquero <lekktu@gmail.com>
11694
11695 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11696 * progmodes/pascal.el (electric-pascal-equal):
11697 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11698 * xml.el (xml-substitute-special): Fix typos.
11699
7fb18e9e
GM
117002011-11-20 Glenn Morris <rgm@gnu.org>
11701
11702 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11703 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11704 Doc fixes.
11705 (rmail-decode-mime-charset): Mark as obsolete.
11706
11707 * mail/rmailsum.el (rmail-message-regexp-p-1):
11708 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11709 Before using mime functions, check they are set. (Bug#10077)
11710
d5a6b3ba
JL
117112011-11-19 Juri Linkov <juri@jurta.org>
11712
11713 * info.el (Info-finder-find-node): Use `package--builtins' instead
11714 of `package-alist'. Use node names formed by the pattern "Keyword "
11715 and the keyword name.
11716
e981b61f
AS
117172011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11718
1d00653d 11719 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 11720
3ffbc301
JL
117212011-11-19 Juri Linkov <juri@jurta.org>
11722
11723 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11724 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11725 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11726 `old-history', `old-history-forward'. Add let-binding
11727 `window-selected'. Remove calls to `kill-buffer',
11728 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11729 before calling `Info-find-node', so `Info-find-node-2' will reread
11730 the Info file. Restore window positions only when `window-selected'
11731 is non-nil.
11732
30c62133
JL
117332011-11-19 Juri Linkov <juri@jurta.org>
11734
11735 * isearch.el (isearch-lazy-highlight-new-loop):
11736 Remove condition `(not isearch-error)'. (Bug#9918)
11737
11738 * misearch.el (multi-isearch-search-fun): Add condition
11739 `(not bound)' to ignore lazy-highlighting search.
11740 Add the search-failed message "end of multi" when the end of
11741 multi-sequence is reached. Uncapitalize the search-failed
11742 message "Repeat for next buffer".
11743
11744 * info.el (Info-search): Add the search-failed message
11745 "end of the manual" when the end of the manual is reached
11746 in Isearch mode.
11747
645ca9cf
JL
117482011-11-19 Juri Linkov <juri@jurta.org>
11749
11750 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11751 Use non-destructive `remove' instead of `delete' because
11752 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11753 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11754
df754f66
JL
117552011-11-19 Juri Linkov <juri@jurta.org>
11756
11757 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11758 to nil instead of binding `search-ring' and `regexp-search-ring'.
11759 (Bug#9185)
11760
0e23d96a
EZ
117612011-11-19 Eli Zaretskii <eliz@gnu.org>
11762
11763 * simple.el (line-move): Force movement by logical lines for any
11764 hscrolled window, not only when auto-hscroll-mode is on.
11765 (line-move-visual): Update doc string to that effect. (Bug#10076)
11766
8a6ccb66
AS
117672011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11768
11769 * language/european.el (macintosh): Define as alias for mac-roman.
11770
49ae5b39
EZ
117712011-11-19 Eli Zaretskii <eliz@gnu.org>
11772
11773 * mail/rmailmm.el (rmail-mime-display-header)
11774 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11775 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11776 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11777 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11778 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11779 of a raw aref.
11780 (rmail-mime-entity-segment): To get past the tagline, move forward
11781 2 more lines, to account for the 2 empty lines that precede and
11782 follow the line with the buttons.
11783 (rmail-mime-update-tagline): Move one more line, to get past the
11784 empty line that follows the buttons in the tagline. (Bug#9520)
11785
c56cad4a
MR
117862011-11-19 Martin Rudalics <rudalics@gmx.at>
11787
11788 * window.el (window-max-delta-1, window-min-delta-1)
11789 (window-min-size-1, window-state-get-1, window-state-put-1)
11790 (window-state-put-2): Use "window--" prefix.
11791
cbe71af3
SM
117922011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11793
2ad52c60
SM
11794 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11795 (smie-warning-count): New var.
11796 (smie-set-prec2tab): Use it.
11797 (smie-bnf->prec2): Improve warnings. Add docstring.
11798 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11799 (smie-bnf--set-class): New function.
11800 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11801 corner case.
11802
6944dbc1
SM
11803 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11804 (compilation-error-properties, compilation-move-to-column):
11805 Handle compilation-first-column while in the target buffer.
11806
c400c4d7
SM
11807 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11808 Don't hardcode point-min==1.
11809
6dbe3e96
SM
11810 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11811 (eshell-rewrite-for-command): Remove workaround.
11812 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11813 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11814 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11815
cbe71af3
SM
11816 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11817
a8e1496d
GM
118182011-11-17 Glenn Morris <rgm@gnu.org>
11819
11820 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11821 Ignore buffer-local generated-autoload-file if it is the same
11822 as the global value. (Bug#10049)
11823
df85d315
JB
118242011-11-17 Juanma Barranquero <lekktu@gmail.com>
11825
11826 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11827 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11828 (reftex-toc-previous-heading, reftex-toc-max-level)
11829 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11830 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11831 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11832 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11833 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11834 (reftex-toc-rename-label, reftex-toc-visit-location)
11835 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11836 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11837 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11838 leaving "*toc*" only for references to the buffer.
11839
a0c2d0ae
MR
118402011-11-17 Martin Rudalics <rudalics@gmx.at>
11841
11842 * window.el (window-resize, delete-window, split-window):
11843 Replace window-splits by window-combination-resize.
1d00653d 11844 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 11845
35c0bac8
GM
118462011-11-17 Glenn Morris <rgm@gnu.org>
11847
11848 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11849 Make bash entry derive from sh entry, not shell entry.
11850
d0c8fc8a
MA
118512011-11-16 Michael Albinus <michael.albinus@gmx.de>
11852
7262a87c
MA
11853 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11854 local file name.
11855
7877f373
JB
118562011-11-16 Juanma Barranquero <lekktu@gmail.com>
11857
11858 * menu-bar.el (menu-bar-file-menu):
11859 * printing.el (pr-ps-utility):
11860 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11861 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11862 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11863 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11864 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11865 (icalendar--convert-cyclic-to-ical)
11866 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11867 (icalendar--convert-ical-to-diary)
11868 (icalendar--convert-recurring-to-diary)
11869 (icalendar--convert-non-recurring-all-day-to-diary)
11870 (icalendar-import-format-sample):
11871 * progmodes/idlw-shell.el (idlwave-shell-mode):
11872 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11873 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11874 (vhdl-ps-print-init): Fix typos.
11875
10649b82
KM
118762011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11877
9d0cfcd6
GM
11878 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11879 FSF and collapse date sequence, obscure author/maintainer email address
11880 better, remove extra version line, track relocation of author's webpage.
10649b82 11881
9d0cfcd6
GM
11882 * progmodes/python.el (python-pdbtrack-input-prompt)
11883 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11884 regular python pdb prompts. Adjustments shamelessly taken exactly as
11885 suggested in EmacsWiki page (tiny change):
11886 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 11887
58179cce
JB
118882011-11-16 Juanma Barranquero <lekktu@gmail.com>
11889
11890 * expand.el (expand-pos, expand-index, expand-point):
11891 Remove redundant info from docstring.
11892 (expand-add-abbrevs): Doc fix.
11893 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11894 (expand-sample-perl-mode-expand-list): Fix typos.
11895
11896 * net/dbus.el (dbus-event-member-name):
11897 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11898 * term/pc-win.el (msdos-create-frame-with-faces):
11899 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11900
b6f67890
MR
119012011-11-16 Martin Rudalics <rudalics@gmx.at>
11902
11903 * window.el (split-window, window-state-get-1)
11904 (window-state-put-1, window-state-put-2): Rename occurrences of
11905 window-nest to window-combination-limit.
1d00653d 11906 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 11907
ce7ddba0
CY
119082011-11-16 Chong Yidong <cyd@gnu.org>
11909
11910 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11911 regexp (Bug#10033).
11912
3ae704f4
SM
119132011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11914
11915 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11916 `completing-read' will remove *Completions* and will preserve
11917 current-buffer for us.
11918 (tmm-add-prompt): Users of *Completions* will always (re)set its
11919 major mode.
11920 (tmm-old-comp-map): Remove.
11921
6ad1cdde
GM
119222011-11-16 Glenn Morris <rgm@gnu.org>
11923
11924 * mail/rmailedit.el: Require rmailmm when compiling.
11925 (rmail-old-mime-state): New declaration.
11926 (rmail-edit-current-message): If editing a mime message,
11927 edit the "raw" message from the mbox buffer.
11928 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11929
d20faa20
GM
119302011-11-15 Glenn Morris <rgm@gnu.org>
11931
11932 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11933 which wasn't being used. Add optional arg to force given state.
11934 (rmail-mime): Add optional arg to force given state.
11935
c7015153
JB
119362011-11-15 Juanma Barranquero <lekktu@gmail.com>
11937
11938 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11939 * frame.el (display-mm-dimensions-alist):
11940 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11941 (outline-move-subtree-down):
11942 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11943 (newsticker--treeview-do-get-node):
11944 * net/quickurl.el (quickurl-list-buffer-name):
11945 * progmodes/dcl-mode.el (dcl-mode):
11946 * progmodes/gdb-mi.el (gdb-mapcar*):
11947 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11948
45261b50
GM
119492011-11-15 Glenn Morris <rgm@gnu.org>
11950
11951 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11952 in a boolean sense, so just make it a boolean, and fix the doc.
11953 (rmail-show-mime-function, rmail-mime-feature)
11954 (rmail-require-mime-maybe): Doc fixes.
11955 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11956
11957 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11958
0d26e0b6
JB
119592011-11-15 Juanma Barranquero <lekktu@gmail.com>
11960
11961 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11962 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11963 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11964 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11965
447f30f6
GM
119662011-11-15 Glenn Morris <rgm@gnu.org>
11967
672b871d
GM
11968 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11969 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11970 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11971 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11972 (rmail-mime, rmail-show-mime): Doc fixes.
11973
f6aa5bb1
GM
11974 * term/ns-win.el (mode-line-frame-identification):
11975 Leave it alone. (Bug#10051)
11976
947cd66b
GM
11977 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11978
447f30f6
GM
11979 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11980 Handle empty buffers. (Bug#9978)
11981
0b381c7e
JB
119822011-11-14 Juanma Barranquero <lekktu@gmail.com>
11983
11984 * international/mule.el (define-charset):
11985 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11986 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11987 * progmodes/verilog-mode.el (verilog-backward-token):
11988 * textmodes/ispell.el (lookup-words):
11989 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11990
71e027ac
GM
119912011-11-14 Glenn Morris <rgm@gnu.org>
11992
56632ce4
GM
11993 * progmodes/executable.el
11994 (executable-make-buffer-file-executable-if-script-p):
11995 Handle file-modes returning nil.
11996
40500957
GM
11997 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11998 message - not necessary, and causes problems. (Bug#9831)
11999
071c2340
GM
12000 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12001
d3cfca60
GM
12002 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12003
71e027ac
GM
12004 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12005 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12006 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12007
89d61221
MR
120082011-11-12 Martin Rudalics <rudalics@gmx.at>
12009
12010 * window.el (window-resize, delete-window): Use window-splits
12011 variable instead of function.
12012 (window-state-get-1, window-state-put-2, window-state-put):
12013 Don't deal with windows' splits status.
12014
98282f6f
GM
120152011-11-12 Glenn Morris <rgm@gnu.org>
12016
12017 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12018 (apropos-documentation): Doc fixes.
12019
40a8bdf6
JB
120202011-11-11 Juanma Barranquero <lekktu@gmail.com>
12021
12022 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12023 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12024
65bd19ff
SM
120252011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12026
12027 * electric.el (electric-indent-post-self-insert-function): Make it
12028 possible for a char to only indent in some circumstances.
12029 (electric-indent-mode): Simplify.
12030
54f9154c
MR
120312011-11-11 Martin Rudalics <rudalics@gmx.at>
12032
12033 * window.el (windows-with-parameter): Remove unused function.
12034 (windows-at-side): Rename to window-at-side-list.
12035 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
12036 (window-side-check, window-size-ignore, window-size-fixed-1)
12037 (window-in-direction-2): Prefix with "window--".
12038 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 12039
68cbc58b
GM
120402011-11-11 Glenn Morris <rgm@gnu.org>
12041
12042 * subr.el (eval-after-load): If FILE is already loaded,
12043 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12044
b2621720
GM
120452011-11-10 Glenn Morris <rgm@gnu.org>
12046
9a4de110
GM
12047 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12048 Call svn via vc-svn-command rather than vc-do-command.
12049 (vc-svn-command): Add --non-interactive. (Bug#9993)
12050 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12051
b2621720
GM
12052 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12053 Add toggle-read-only. (Bug#7292)
12054 * files.el (toggle-read-only): Mention that it should only
12055 be used interactively. (Bug#10006)
12056
1dce7193
SM
120572011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12058
d9ac1a1e
SM
12059 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12060 Adjust regexp for OCaml warnings.
12061
0c325082
SM
12062 * electric.el (electric-pair-post-self-insert-function): Let user
12063 turn it off buffer-locally (bug#9932).
12064
90132c14
SM
12065 * progmodes/python.el (python-beginning-of-statement):
12066 Rewrite (bug#2703).
12067
1dce7193
SM
12068 * progmodes/compile.el: Better handle TABs (bug#9749).
12069 (compilation-internal-error-properties)
12070 (compilation-next-error-function): Obey the target buffer's
12071 compilation-error-screen-columns.
12072
c4e7c63a
JB
120732011-11-09 Juanma Barranquero <lekktu@gmail.com>
12074
12075 * progmodes/meta-mode.el: Remove obsolete comments.
12076 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12077 Fix typos in docstrings.
12078
2cffd681
MR
120792011-11-09 Martin Rudalics <rudalics@gmx.at>
12080
12081 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 12082 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
12083 (window--resizable): New function. Make all callers of
12084 window-resizable call window--resizable instead.
12085 (window-resizable): Rewrite in terms of window--resizable.
12086
0edcba87
GM
120872011-11-08 Glenn Morris <rgm@gnu.org>
12088
12089 * progmodes/delphi.el (delphi-mode-syntax-table):
12090 Let define-derived-mode define a proper syntax table. (Bug#9994)
12091
4b0d61e3
SM
120922011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12093
12094 * window.el: Stay away from defsubst.
12095 (window-list-no-nils): Remove.
12096 (window-state-get-1, window-state-get): Use backquote instead.
12097
cd394be1 120982011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 12099
4b0d61e3 12100 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 12101 Fix incorrect use of default argument in `completing-read'.
12102
e1c2c6f2
MR
121032011-11-08 Martin Rudalics <rudalics@gmx.at>
12104
12105 * window.el (display-buffer-function, special-display-function):
12106 Mention display-buffer-record-window but do not mention
12107 help-setup parameter in doc-strings.
b3f4a882 12108 (window-min-delta): Fix doc-string typo.
e1c2c6f2 12109
105216ed
CY
121102011-11-08 Chong Yidong <cyd@gnu.org>
12111
12112 * window.el (window-total-height, window-total-width): Doc fix.
12113 (window-body-size): Move from C.
12114 (window-body-height, window-body-width): Move to C.
12115
0a9f9ab5
SM
121162011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12117
12118 * window.el: Make special-display like display-buffer-alist (bug#9532).
12119 (display-buffer--special-action): New function, morphed
12120 from display-buffer--special.
12121 (display-buffer): Use it to handle special-display-buffers at higher
12122 priority (just after display-buffer-alist).
12123 (display-buffer-fallback-action, display-buffer--other-frame-action)
12124 (pop-to-buffer-same-window): Remove display-buffer--special.
12125
a769dd15
GM
121262011-11-07 Glenn Morris <rgm@gnu.org>
12127
12128 * calendar/cal-menu.el (cal-menu-set-date-title):
12129 Do nothing if not in a calendar. (Bug#9976)
12130
05a61ee3
SM
121312011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12132
12133 * files.el (find-file): Always use selected-window.
12134
be7f5545
MR
121352011-11-07 Martin Rudalics <rudalics@gmx.at>
12136
12137 * window.el (window-combinations): Make WINDOW argument
12138 mandatory. Rewrite doc-string.
12139 (walk-window-subtree, window-atom-check, window-min-delta)
12140 (window-max-delta, window--resize-this-window)
12141 (window--resize-root-window-vertically, window-tree)
12142 (balance-windows, window-state-put): Rewrite doc-strings as to
12143 not mention the term "subwindow".
12144 (window--resize-subwindows-skip-p): Rename to
12145 window--resize-child-windows-skip-p.
12146 (window--resize-subwindows-normal): Rename to
12147 window--resize-child-windows-normal.
12148 (window--resize-subwindows): Rename to
12149 window--resize-child-windows.
12150 (window-or-subwindow-p): Rename to window--in-subtree-p.
12151
3c6702ef
ML
121522011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12153
12154 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12155 Ensure that mbox format messages end in two newlines (Bug#9974).
12156
49745b39
CY
121572011-11-06 Chong Yidong <cyd@gnu.org>
12158
12159 * window.el (window-combination-p): Function deleted; its
12160 side-effect is not used in any existing code.
12161 (window-combinations, window-combined-p): Call window-*-child
12162 directly.
12163
24300f5f
CY
121642011-11-05 Chong Yidong <cyd@gnu.org>
12165
12166 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
12167 (window-size-ignore, window-state-get): Callers changed.
12168 (window-normalize-window): Rename from window-normalize-any-window.
12169 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 12170 (window-normalize-live-window): Delete.
447f16b8
CY
12171 (window-combination-p, window-combined-p, window-combinations)
12172 (walk-window-subtree, window-atom-root, window-min-size)
12173 (window-sizable, window-sizable-p, window-size-fixed-p)
12174 (window-min-delta, window-max-delta, window-resizable)
12175 (window-resizable-p, window-full-height-p, window-full-width-p)
12176 (window-current-scroll-bars, window-point-1, set-window-point-1)
12177 (window-at-side-p, window-in-direction, window-resize)
12178 (adjust-window-trailing-edge, maximize-window, minimize-window)
12179 (window-deletable-p, delete-window, delete-other-windows)
12180 (record-window-buffer, unrecord-window-buffer)
12181 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12182 (quit-window, split-window, window-state-put)
12183 (set-window-text-height, fit-window-to-buffer)
12184 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 12185
89bd5ee1
EZ
121862011-11-04 Eli Zaretskii <eliz@gnu.org>
12187
53479029
EZ
12188 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12189 rfc2047-decode-string.
12190 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12191 warnings.
12192
89bd5ee1
EZ
12193 * window.el (window-body-height, window-body-width): Mention in
12194 the doc string that the return values are in frame's canonical
12195 units. (Bug#9949)
12196
bd17fdee
AM
121972011-11-03 Alan Mackenzie <acm@muc.de>
12198
12199 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12200 change in cc-engine.el.
12201
acc825c5
SM
122022011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12203
12204 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12205
1885e5b8
MR
122062011-11-02 Martin Rudalics <rudalics@gmx.at>
12207
12208 * window.el (quit-window): Call unrecord-window-buffer after
12209 showing another buffer in the window. (Bug#9937)
acc825c5 12210 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 12211
ebe06da9
JB
122122011-11-02 Juanma Barranquero <lekktu@gmail.com>
12213
12214 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12215 Accept status with more than 9 shelves. (Bug#9935)
12216 Reported by Colin D Bennett <colin@gibibit.com>.
12217
4ee88440
MR
122182011-11-01 Martin Rudalics <rudalics@gmx.at>
12219
12220 * help.el (with-help-window): Don't reference
12221 temp-buffer-show-specifiers in doc-string.
12222
08e1d82c
AS
122232011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12224
12225 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12226 menu-item.
12227
84bd6e9e
VJL
122282011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12229
12230 * whitespace.el: New version 13.2.2.
12231 (whitespace-newline-mode): Disable properly. Reported by Sarah
12232 <EmacsWiki>.
12233
dba0634a
UJ
122342011-10-30 Ulf Jasper <ulf.jasper@web.de>
12235
12236 * net/newst-treeview.el: Remove "Time-stamp".
12237 (newsticker--group-manage-orphan-feeds): Do not call
12238 newsticker--treeview-tree-update.
db22a3c2
JB
12239 (newsticker-treeview-update, newsticker-treeview):
12240 Call newsticker--treeview-tree-update if necessary.
dba0634a 12241
3d8daefe
MR
122422011-10-30 Martin Rudalics <rudalics@gmx.at>
12243
12244 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
12245 (window-iso-combinations): Remove "iso-" infix.
12246 Suggested by Chong Yidong.
3d8daefe
MR
12247 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12248 (window-max-delta-1, window-resize, window--resize-siblings)
12249 (window--resize-this-window, adjust-window-trailing-edge)
12250 (split-window, balance-windows-1)
12251 (shrink-window-if-larger-than-buffer):
12252 * calendar/calendar.el (calendar-generate-window):
db22a3c2 12253 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 12254
1bc4c3ae
SM
122552011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12256
12257 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12258 in place (bug#9907).
12259 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12260 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12261 (eshell-structure-basic-command, eshell-rewrite-while-command)
12262 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12263 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12264 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12265 (eshell-do-pipelines-synchronously, eshell-eval-command):
12266 Use backquotes and prefer setq to set.
12267 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12268 (eshell-macrop): Use functionp.
c1e2f5fa 12269 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 12270
30b65d9c
CY
122712011-10-30 Chong Yidong <cyd@gnu.org>
12272
12273 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12274 instead of set-mark (Bug#9810).
12275
2d197ffb
CY
122762011-10-30 Chong Yidong <cyd@gnu.org>
12277
12278 * window.el (split-window-below, split-window-right): Rename from
12279 split-window-above-each-other and split-window-side-by-side
12280 respectively. All callers changed.
12281 (split-window-sensibly, split-window-sensibly): Use them.
12282 (split-window-keep-point): Doc fix.
12283
12284 * isearch.el: Add isearch-scroll property to split-window-below
12285 and split-window-right.
12286
12287 * follow.el (follow-mode):
12288 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12289 * progmodes/ada-xref.el (ada-gdb-application):
12290 * emulation/vip.el (vip-buffer-in-two-windows):
12291 * image-dired.el (image-dired-dired-with-window-configuration):
12292 * dired-x.el (dired-do-find-marked-files):
12293 * dired.el (dired-pop-to-buffer):
12294 * bs.el (bs--show-with-configuration):
12295 * vc/emerge.el (emerge-setup-windows):
12296 * textmodes/two-column.el (2C-two-columns):
12297 * textmodes/reftex-toc.el (reftex-toc):
12298 * progmodes/gdb-mi.el (gdb-setup-windows):
12299 * progmodes/fortran.el (fortran-window-create):
12300 * net/newst-treeview.el (newsticker--treeview-window-init):
12301 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12302 * emulation/tpu-edt.el (tpu-gold-map):
12303 * emulation/crisp.el (crisp-mode-map):
12304 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12305
38bb2ca8
CY
123062011-10-29 Chong Yidong <cyd@gnu.org>
12307
aa4de341
CY
12308 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12309
e1eb5385
CY
12310 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12311
5d2ece3c
CY
12312 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12313 forged Ispell output (Bug#7904).
12314
38bb2ca8
CY
12315 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12316
d0af9f77
SM
123172011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12318
12319 * doc-view.el: Avoid ugly errors about not finding nil.
12320 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12321 (doc-view-dvipdf-program, doc-view-unoconv-program)
12322 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12323 Avoid nil or absolute file name as default value.
12324 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12325
52bedd34
AM
123262011-10-28 Alan Mackenzie <acm@muc.de>
12327
db22a3c2 12328 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 12329
7e43cfa5
AM
123302011-10-28 Alan Mackenzie <acm@muc.de>
12331
12332 Amend the handling of c-beginning/end-of-defun in nested declaration
12333 scopes.
12334
52bedd34
AM
12335 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12336 cc-langs.el. Change it to a defcustom.
7e43cfa5 12337
52bedd34
AM
12338 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12339 cc-vars.el.
7e43cfa5 12340
d0af9f77
SM
12341 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12342 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 12343
52bedd34 12344 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 12345 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
12346 (c-widen-to-enclosing-decl-scope): New function.
12347 (c-while-widening-to-decl-block): New macro.
12348 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12349 outward for defun boundaries, and correspondingly change symbol
12350 `respect-enclosure' to `go-outward'.
12351 (c-declaration-limits): Change algorithm to report only the "innermost"
12352 defun's boundaries.
12353
1a2ce9ee
DD
123542011-10-28 Deniz Dogan <deniz@dogan.se>
12355
12356 * net/rcirc.el (rcirc-mode): Use hard newlines.
12357
bc97a826
AM
123582011-10-28 Alan Mackenzie <acm@muc.de>
12359
12360 Amend to indent and fontify macros "which include their own semicolon"
12361 correctly, using the "virtual semicolon" mechanism.
12362
52bedd34 12363 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 12364
d0af9f77 12365 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 12366 Recode to scan one line at a time rather than having \n and \r
58179cce 12367 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 12368 (c-forward-label): Amend for virtual semicolons.
58179cce 12369 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 12370
52bedd34
AM
12371 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12372 of the new C macros.
bc97a826 12373
52bedd34 12374 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
12375 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12376 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
12377 (c-opt-cpp-macro-define): Make into a full language variable.
12378 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12379 AWK Mode (including \n, \r) removed, no longer needed.
12380
d0af9f77
SM
12381 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12382 Invoke c-make-macro-with-semi-re.
bc97a826 12383
52bedd34
AM
12384 * progmodes/cc-vars.el (c-macro-with-semi-re):
12385 (c-macro-names-with-semicolon): New variables.
58179cce 12386 (c-make-macro-with-semi-re): New function.
bc97a826 12387
7a6c0941
SM
123882011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12389
12390 * vc/log-edit.el: Fill empty field rather than adding new one.
12391 (log-edit-add-field): New function.
12392 (log-edit-insert-changelog): Use it.
12393
b0c4cdcf
ML
123942011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12395
12396 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12397
ee1f1da9
SM
123982011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12399
12400 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12401 (gdb--check-interpreter): New function.
12402 (gdb): Use it.
12403
51bc5f8b
GM
124042011-10-27 Glenn Morris <rgm@gnu.org>
12405
416a2c45
GM
12406 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12407 (least-positive-float, least-negative-float)
12408 (least-positive-normalized-float, least-negative-normalized-float)
12409 (float-epsilon, float-negative-epsilon):
12410 Remove unnecessary declarations.
12411
12412 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12413 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12414 (least-positive-float, least-negative-float)
12415 (least-positive-normalized-float, least-negative-normalized-float)
12416 (float-epsilon, float-negative-epsilon): Add doc-strings,
12417 based on those in cl.texi.
12418
51bc5f8b
GM
12419 * files.el (set-visited-file-name): If the major-mode changed,
12420 reload the local variables. (Bug#9796)
12421
15de15c6
CY
124222011-10-27 Chong Yidong <cyd@gnu.org>
12423
12424 * subr.el (change-major-mode-after-body-hook): New hook.
12425 (run-mode-hooks): Run it.
12426
ee1f1da9
SM
12427 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12428 Use change-major-mode-before-body-hook.
15de15c6
CY
12429
12430 * simple.el (fundamental-mode):
12431 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12432 change introducing fundamental-mode-hook.
12433
5430d399
JB
124342011-10-26 Juanma Barranquero <lekktu@gmail.com>
12435
acc825c5 12436 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 12437
ad74a69e
MA
124382011-10-26 Michael Albinus <michael.albinus@gmx.de>
12439
12440 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 12441 tramp.el explicitly. (Bug#7583)
ad74a69e 12442
71d4c2a5
SM
124432011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12444
12445 * progmodes/octave-mod.el:
12446 * progmodes/octave-inf.el: Update maintainer.
12447
b1f6fa26
CY
124482011-10-26 Chong Yidong <cyd@gnu.org>
12449
12450 * subr.el (with-wrapper-hook): Rewrite doc.
12451
3f04efd6
MA
124522011-10-25 Michael Albinus <michael.albinus@gmx.de>
12453
12454 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 12455 filenames "/method:foo:". (Bug#9793)
3f04efd6 12456
410488d3
SM
124572011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12458
12459 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12460 (bug#9865).
12461
c1ebb47e
GM
124622011-10-24 Glenn Morris <rgm@gnu.org>
12463
12464 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12465
7f5c46c7
MA
124662011-10-24 Michael Albinus <michael.albinus@gmx.de>
12467
12468 * notifications.el: Add the requirement of a running D-Bus session
12469 bus to the Commentary.
12470
db2440b6
JL
124712011-10-24 Juri Linkov <juri@jurta.org>
12472
12473 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12474 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12475 (Bug#9364)
12476
feecf435
JL
124772011-10-24 Juri Linkov <juri@jurta.org>
12478
12479 * info.el (Info-following-node-name-re): Add newline to the list
12480 of allowed characters for leading space. (Bug#9824)
12481
a3839de2
SM
124822011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12483
acc825c5
SM
12484 * progmodes/octave-inf.el (inferior-octave-mode-map):
12485 Fix C-c C-h binding.
a3839de2
SM
12486 * progmodes/octave-mod.el (octave-help): Remove.
12487
09388e76
MA
124882011-10-23 Michael Albinus <michael.albinus@gmx.de>
12489
12490 Sync with Tramp 2.2.3.
12491
12492 * net/tramp-cache.el (top): Pacify byte-compiler using
12493 `init-file-user' and `site-run-file'.
12494
12495 * net/trampver.el: Update release number.
12496
86c60681
CY
124972011-10-23 Chong Yidong <cyd@gnu.org>
12498
12499 * files.el (toggle-read-only): Remove obsolete comment about
12500 version control.
12501
12502 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12503 for toggle-read-only. Note that this hasn't called vc-next-action
12504 since 2008-05-02, though it wasn't documented at the time.
12505
a3839de2
SM
12506 * vc/ediff-init.el (ediff-toggle-read-only-function):
12507 Use toggle-read-only.
86c60681 12508
cd5495ff
AM
125092011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12510
12511 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12512 of c-parse-state.
12513
00b77525 12514 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 12515 correct faulty logical expression.
cd5495ff
AM
12516 (c-parse-state-state, c-record-parse-state-state):
12517 (c-replay-parse-state-state): New defvar/defuns.
12518 (c-debug-parse-state): Use new functions.
12519
42ee24ed
MR
125202011-10-22 Martin Rudalics <rudalics@gmx.at>
12521
12522 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 12523 last fix. Use window-in-direction correctly.
42ee24ed 12524
a7dee7e7
CY
125252011-10-21 Chong Yidong <cyd@gnu.org>
12526
12527 * progmodes/idlwave.el (idlwave-mode):
12528 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
12529 require-final-newline; that's done in prog-mode.
12530 Suggested by Stefan Monnier.
a7dee7e7 12531
e07b9a6d
MR
125322011-10-21 Martin Rudalics <rudalics@gmx.at>
12533
12534 * mouse.el (mouse-drag-window-above)
12535 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12536 (mouse-drag-mode-line-1, mouse-drag-header-line)
12537 (mouse-drag-vertical-line-rightward-window): Remove.
12538 (mouse-drag-line): New function.
12539 (mouse-drag-mode-line, mouse-drag-header-line)
12540 (mouse-drag-vertical-line): Call mouse-drag-line.
12541 * window.el (window-at-side-p, windows-at-side): New functions.
12542
7e1361d9
UM
125432011-10-21 Ulrich Mueller <ulm@gentoo.org>
12544
12545 * tar-mode.el (tar-grind-file-mode):
12546 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12547
30fcaf3a
CY
125482011-10-21 Chong Yidong <cyd@gnu.org>
12549
12550 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
12551 * progmodes/vera-mode.el (vera-mode):
12552 Use mode-require-final-newline.
30fcaf3a 12553
516eddb0
GM
125542011-10-20 Glenn Morris <rgm@gnu.org>
12555
db22a3c2 12556 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 12557
10d5f513
CS
125582011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12559
12560 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12561
ac6c8639
CY
125622011-10-20 Chong Yidong <cyd@gnu.org>
12563
12564 * emulation/cua-base.el (cua-mode):
12565 * mail/footnote.el (footnote-mode):
12566 * mail/mailabbrev.el (mail-abbrevs-mode):
12567 * net/xesam.el (xesam-minor-mode):
12568 * progmodes/bug-reference.el (bug-reference-mode):
12569 * progmodes/cap-words.el (capitalized-words-mode):
12570 * progmodes/compile.el (compilation-minor-mode)
12571 (compilation-shell-minor-mode):
12572 * progmodes/gud.el (gud-tooltip-mode):
12573 * progmodes/hideif.el (hide-ifdef-mode):
12574 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12575 * progmodes/subword.el (subword-mode):
12576 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12577 * progmodes/which-func.el (which-function-mode):
12578 * term/tvi970.el (tvi970-set-keypad-mode):
12579 * term/vt100.el (vt100-wide-mode):
12580 * textmodes/flyspell.el (flyspell-mode):
12581 * textmodes/ispell.el (ispell-minor-mode):
12582 * textmodes/nroff-mode.el (nroff-electric-mode):
12583 * textmodes/paragraphs.el (use-hard-newlines):
12584 * textmodes/refill.el (refill-mode):
12585 * textmodes/reftex.el (reftex-mode):
12586 * textmodes/rst.el (rst-minor-mode):
12587 * textmodes/sgml-mode.el (html-autoview-mode)
12588 (sgml-electric-tag-pair-mode):
12589 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12590 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12591 * emulation/crisp.el (crisp-mode):
12592 * emacs-lisp/eldoc.el (eldoc-mode):
12593 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12594 minor mode behavior.
12595
aa42ab43
JL
125962011-10-19 Juri Linkov <juri@jurta.org>
12597
12598 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12599 the list of hard-coded chars with escape-glyph face.
12600
89400f1d
SM
126012011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12602
12603 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12604
305c07f6
MA
126052011-10-19 Michael Albinus <michael.albinus@gmx.de>
12606
12607 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12608 running process.
12609
13754b54
GM
126102011-10-19 Glenn Morris <rgm@gnu.org>
12611
12612 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12613 Ignore ignored files. (Bug#9726)
12614
06e21633
CY
126152011-10-19 Chong Yidong <cyd@gnu.org>
12616
12617 Doc fix for minor modes, stating that an omitted argument enables
12618 the mode unconditionally when called from Lisp.
12619
12620 * abbrev.el (abbrev-mode):
12621 * allout.el (allout-mode):
12622 * autoinsert.el (auto-insert-mode):
12623 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12624 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12625 (global-auto-revert-mode):
12626 * battery.el (display-battery-mode):
12627 * composite.el (global-auto-composition-mode)
12628 (auto-composition-mode):
12629 * delsel.el (delete-selection-mode):
12630 * desktop.el (desktop-save-mode):
12631 * dired-x.el (dired-omit-mode):
12632 * dirtrack.el (dirtrack-mode):
12633 * doc-view.el (doc-view-minor-mode):
12634 * double.el (double-mode):
12635 * electric.el (electric-indent-mode, electric-pair-mode):
12636 * emacs-lock.el (emacs-lock-mode):
12637 * epa-hook.el (auto-encryption-mode):
12638 * follow.el (follow-mode):
12639 * font-core.el (font-lock-mode):
12640 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12641 * help.el (temp-buffer-resize-mode):
12642 * hilit-chg.el (highlight-changes-mode)
12643 (highlight-changes-visible-mode):
12644 * hi-lock.el (hi-lock-mode):
12645 * hl-line.el (hl-line-mode, global-hl-line-mode):
12646 * icomplete.el (icomplete-mode):
12647 * ido.el (ido-everywhere):
12648 * image-file.el (auto-image-file-mode):
12649 * image-mode.el (image-minor-mode):
12650 * iswitchb.el (iswitchb-mode):
12651 * jka-cmpr-hook.el (auto-compression-mode):
12652 * linum.el (linum-mode):
12653 * longlines.el (longlines-mode):
12654 * master.el (master-mode):
12655 * mb-depth.el (minibuffer-depth-indicate-mode):
12656 * menu-bar.el (menu-bar-mode):
12657 * minibuf-eldef.el (minibuffer-electric-default-mode):
12658 * mouse-sel.el (mouse-sel-mode):
12659 * msb.el (msb-mode):
12660 * mwheel.el (mouse-wheel-mode):
12661 * outline.el (outline-minor-mode):
12662 * paren.el (show-paren-mode):
12663 * recentf.el (recentf-mode):
12664 * reveal.el (reveal-mode, global-reveal-mode):
12665 * rfn-eshadow.el (file-name-shadow-mode):
12666 * ruler-mode.el (ruler-mode):
12667 * savehist.el (savehist-mode):
12668 * scroll-all.el (scroll-all-mode):
12669 * scroll-bar.el (scroll-bar-mode):
12670 * server.el (server-mode):
12671 * shell.el (shell-dirtrack-mode):
12672 * simple.el (auto-fill-mode, transient-mark-mode)
12673 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12674 (line-number-mode, column-number-mode, size-indication-mode)
12675 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12676 * strokes.el (strokes-mode):
12677 * time.el (display-time-mode):
12678 * t-mouse.el (gpm-mouse-mode):
12679 * tool-bar.el (tool-bar-mode):
12680 * tooltip.el (tooltip-mode):
12681 * type-break.el (type-break-mode-line-message-mode)
12682 (type-break-query-mode):
12683 * view.el (view-mode):
12684 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12685 (global-whitespace-mode, global-whitespace-newline-mode):
12686 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12687
a3839de2
SM
12688 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12689 Fix autogenerated docstring.
06e21633 12690
5214e501
JL
126912011-10-19 Juri Linkov <juri@jurta.org>
12692
12693 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12694 by checking environment variables "DESKTOP_SESSION" and
12695 "XDG_CURRENT_DESKTOP". (Bug#9779)
12696
195f8db9
JL
126972011-10-19 Juri Linkov <juri@jurta.org>
12698
12699 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12700 (browse-url-chromium-program, browse-url-chromium-arguments):
12701 New defcustoms.
12702 (browse-url-default-browser): Check for `browse-url-chromium' and
12703 call `browse-url-chromium-program'.
12704 (browse-url-chromium): New command. (Bug#9779)
12705
343a34ff
JB
127062011-10-18 Juanma Barranquero <lekktu@gmail.com>
12707
12708 * facemenu.el (list-colors-duplicates): On Windows, detect more
12709 duplicates by assuming that only colors matching "^System" are
12710 special "system colors". (Bug#9722)
12711
6978a151
SM
127122011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12713
12714 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12715 to distinguish the author from the committer.
12716
6a80b297
MA
127172011-10-18 Michael Albinus <michael.albinus@gmx.de>
12718
12719 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12720
b31a5677
JK
127212011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12722
12723 * international/mule.el (sgml-html-meta-auto-coding-function):
12724 Add support for detecting encoding in HTML5 specified only as
12725 <meta charset="UTF-8">. Implementation just makes http-equiv and
12726 content-type parts from HTML4 encoding string optional. (Bug#9716)
12727
80c6d77f
GM
127282011-10-18 Glenn Morris <rgm@gnu.org>
12729
12730 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12731
08b0fee8
CY
127322011-10-18 Chong Yidong <cyd@gnu.org>
12733
12734 * faces.el (cursor): Doc fix.
12735
67e729a5
CY
127362011-10-17 Chong Yidong <cyd@gnu.org>
12737
12738 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12739
343a34ff 127402011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
12741
12742 * dirtrack.el (dirtrack): Support shell buffers with path
12743 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12744
0bc06380
TZ
127452011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12746
12747 * json.el: Bump version to 1.3 and note change in History.
12748 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12749
8b79f3e0
SM
127502011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12751
5a7c536b
SM
12752 * comint.el (comint-insert-input, comint-send-input)
12753 (comint-get-old-input-default, comint-backward-matching-input)
12754 (comint-next-prompt): Use nil instead of `input' for field property of
12755 past user input (bug#114).
12756
96a8a0df
SM
12757 * minibuffer.el (completion--replace): Inherit surrounding properties
12758 (bug#114).
12759 (minibuffer-complete-and-exit): Use it.
12760
8b79f3e0
SM
12761 * comint.el (comint--table-subvert): Quote the all-completions output
12762 (bug#9160).
12763
b8f7ff0d
MR
127642011-10-17 Martin Rudalics <rudalics@gmx.at>
12765
8b79f3e0 12766 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 12767
b8f7ff0d 12768 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 12769 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
12770 entries and separate them from frame entries.
12771
c235b555
GM
127722011-10-15 Glenn Morris <rgm@gnu.org>
12773
12774 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12775 Doc fixes.
12776
6bbfa6e1
CY
127772011-10-15 Chong Yidong <cyd@stupidchicken.com>
12778
8b79f3e0
SM
12779 * net/network-stream.el (network-stream-open-starttls):
12780 Improve detection of failure due to lack of TLS support.
ec5c990d 12781
6bbfa6e1
CY
12782 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12783 putting the input text in front and in bold.
12784
98488977
SM
127852011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12786
3d1337be
SM
12787 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12788
ee0b45e4
SM
12789 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12790 empty buffer.
12791
98488977
SM
12792 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12793 unread-command-events rather than pushing yet-another event.
12794
186f4720
EZ
127952011-10-14 Eli Zaretskii <eliz@gnu.org>
12796
12797 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12798 the explanation of the possible choices. Make the options passed
12799 to completing-read shorter.
12800
8b7a997c
AM
128012011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12802
12803 * textmodes/flyspell.el (flyspell-large-region): Make sure
12804 extended character mode is used if defined (Bug#1339).
12805
12587bbb
EZ
128062011-10-13 Eli Zaretskii <eliz@gnu.org>
12807
12808 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
12809 character info for LRE, LRO, RLE, and RLO characters by appending
12810 an invisible PDF.
12587bbb 12811
bad41229
SM
128122011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12813
12814 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12815 even in case of error; add debug spec; simplify data flow.
12816 (with-timeout-handler): Remove.
12817
28dbc92f
MA
128182011-10-12 Michael Albinus <michael.albinus@gmx.de>
12819
12820 Fix Bug#6019, Bug#9315.
12821
12822 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12823 complete `buffer-file-name', the local file name part could look
12824 remotely (for example on VMS).
12825
12826 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12827 `tramp-run-real-handler'.
12828 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12829 already quoted by '"'.
12830
12831 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12832 Let `file-name-handler-alist' be nil, the local file name part
12833 could look remotely (for example on VMS).
12834
e1b0b23a
SM
128352011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12836
12837 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12838 from here...
12839 (flyspell-post-command-hook): ...to here.
12840
a120bde9
SM
128412011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12842
12843 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12844 if not needed.
12845 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12846 using completion. Protect against "slow" callers.
12847 Remove the "message hack".
12848
7ce7717b
JL
128492011-10-11 Juri Linkov <juri@jurta.org>
12850
12851 * isearch.el (isearch-lazy-highlight-word): New variable.
12852 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12853 Use it. (Bug#9727)
12854
c02ee9d6
GM
128552011-10-11 Glenn Morris <rgm@gnu.org>
12856
12857 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12858 like f90-previous-statement does.
12859
93e616fd 128602011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12861
1f190e73 12862 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
12863 only in interactive use, to avoid error.
12864
af7b6078
SM
128652011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12866
12867 * minibuffer.el (completion-file-name-table): Fix last change,
12868 i.e. ignore normal errors but not the other ones.
12869
0563dae9
MR
128702011-10-10 Martin Rudalics <rudalics@gmx.at>
12871
12872 * window.el (special-display-buffer-names)
12873 (special-display-regexps): Remove some remnants of earlier
12874 changes from doc-strings.
366ca7f3
MR
12875 (quit-windows-on): New function.
12876
12877 * vc/vc.el (vc-revert, vc-rollback):
12878 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12879 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 12880 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 12881
49677495
MR
128822011-10-09 Martin Rudalics <rudalics@gmx.at>
12883
12884 * window.el (frame-auto-hide-function): Add version tag.
12885 (Bug#9699)
12886
56f2d1e1
MA
128872011-10-09 Michael Albinus <michael.albinus@gmx.de>
12888
12889 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12890 condition.
12891
112a6592
LL
128922011-10-09 Leo Liu <sdl.web@gmail.com>
12893
12894 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12895 (Bug#9701)
12896
0812589b
GM
128972011-10-08 Glenn Morris <rgm@gnu.org>
12898
12899 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12900 before the first code statement zero indent. (Bug#9690)
12901
b2b0776e
CY
129022011-10-08 Chong Yidong <cyd@stupidchicken.com>
12903
12904 * simple.el (count-words-region): Always count in the region.
12905 Report the number of lines and characters too.
12906 (count-words): New command, which counts in the buffer if the
12907 region is inactive, as count-words-region used to.
12908 (count-words--message): New function. Handle plurals.
12909 (count-lines-region): Make it an alias for count-words-region.
12910
12911 * bindings.el (esc-map): Replace count-lines-region with
12912 count-words-region.
12913
c557cd6b
MR
129142011-10-08 Martin Rudalics <rudalics@gmx.at>
12915
12916 * window.el (window--delete): Delete dedicated frame
12917 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 12918 (switch-to-buffer): Fix doc-string typo.
c557cd6b 12919
61a57ef4 129202011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12921
3a7d293b 12922 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 12923
c3833279
CY
129242011-10-07 Chong Yidong <cyd@stupidchicken.com>
12925
12926 * bindings.el ([M-left],[M-right]): Bind to left-word and
12927 right-word respectively.
12928
21ce8245
GM
129292011-10-07 Glenn Morris <rgm@gnu.org>
12930
12931 * cus-start.el (debug-on-quit): Fix custom type.
12932
6d823bb2
LMI
129332011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12934
0181e193
LMI
12935 * subr.el (define-key-after): Clarify that the function is not
12936 useful for non-menu keymaps.
12937
6d823bb2
LMI
12938 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12939
8e3459ce 129402011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12941
21ce8245 12942 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 12943 in current minibuffer (Fix bug with recursive minibuffers).
12944
a1c2d21e
CY
129452011-10-06 Chong Yidong <cyd@stupidchicken.com>
12946
12947 * progmodes/gdb-mi.el (gdb): Doc fix.
12948
5a4cf282
MR
129492011-10-05 Martin Rudalics <rudalics@gmx.at>
12950
12951 * window.el (frame-auto-hide-function): New option replacing
12952 frame-auto-delete. Suggested by Stefan Monnier.
12953 (window--delete): Call frame-auto-hide-function instead of
12954 investigating frame-auto-delete.
c96111ea
MR
12955 (window-point-1, set-window-point-1): New functions.
12956 (window-in-direction, record-window-buffer, window-state-get-1)
12957 (display-buffer-record-window): Use window-point-1 instead of
12958 window-point.
12959 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 12960
9854542e
SM
129612011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12962
12963 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12964
8943cfb0
GM
129652011-10-05 Glenn Morris <rgm@gnu.org>
12966
12967 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12968 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12969
647ab967
LL
129702011-10-05 Leo Liu <sdl.web@gmail.com>
12971
12972 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12973 works with buffer object.
12974
3ddfbced
SM
129752011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12976
12977 * mpc.el (mpc-tool-bar-map): Add labels.
12978
bdfa5dd2
GM
129792011-10-04 Glenn Morris <rgm@gnu.org>
12980
12981 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12982
0e2070b5
MR
129832011-10-04 Martin Rudalics <rudalics@gmx.at>
12984
12985 * window.el (window--delete): New function.
12986 (frame-auto-delete): Resuscitate option.
12987 (bury-buffer, replace-buffer-in-windows)
12988 (quit-window): Rewrite using window--delete.
12989 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12990 Pass display-buffer-mark-dedicated to window--display-buffer-2
12991 (Bug#9639).
12992
3dc61a09
SM
129932011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12994
915a9b64
SM
12995 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12996 returns a list (bug#9554). Add remote file name completion.
12997 * comint.el (comint--table-subvert): Curry and get quote&unquote
12998 functions as arguments.
12999 (comint--complete-file-name-data): Adjust call accordingly.
13000 * pcomplete.el (pcomplete--table-subvert): Remove.
13001 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13002
3dc61a09
SM
13003 * minibuffer.el (completion-table-case-fold): Use currying.
13004 (completion--styles-type, completion--cycling-threshold-type):
13005 New constants.
13006 (completion-styles, completion-category-overrides)
13007 (completion-cycle-threshold): Use them.
13008 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13009 completion-table-case-fold.
13010
8ea0a993
SB
130112011-10-03 Stephen Berman <stephen.berman@gmx.net>
13012
13013 * minibuffer.el (completion-category-overrides): Fix type of styles
13014 and add more user friendly tags (bug#9660).
13015
8c24b7f6
SM
130162011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13017
13018 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13019 (mule-input-method-string): New widget.
13020 (default-input-method, language-info-custom-alist): Use it.
13021
428fe61a
SM
130222011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13023
32c1fffd
SM
13024 * pcomplete.el: Require comint.
13025 (pcomplete--common-suffix): Remove.
13026 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13027 (pcomplete--table-subvert): Sync with comint--table-subvert.
13028 (pcomplete--entries): Use comint-completion-file-name-table.
13029 * comint.el (comint-unquote-filename): Simplify.
13030 (comint-completion-file-name-table): New function (bug#9616).
13031 (comint--complete-file-name-data): Use it.
13032
428fe61a
SM
13033 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13034 (pcmpl-gnu-tar-buffer): Remove.
13035 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
13036 around. Make sure pcomplete-suffix-list is only changed temporarily.
13037 Don't look inside the tar's file if it's too large.
428fe61a 13038
04c52e2f
CY
130392011-10-01 Chong Yidong <cyd@stupidchicken.com>
13040
ce3cefcc
CY
13041 * cus-edit.el (custom-mode-map):
13042 * epa.el (epa-key-list-mode-map):
13043 * man.el (Man-mode-map):
13044 * startup.el (splash-screen-keymap):
13045 * simple.el (special-mode-map): Use scroll-up-command and
13046 scroll-down-command.
13047
13048 * progmodes/idlw-help.el (idlwave-help-mode-map):
13049 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13050 * net/newst-plainview.el (newsticker-mode-map):
13051 * emulation/ws-mode.el (wordstar-mode-map):
13052 * emulation/vi.el (vi-com-map):
13053 * calc/calc-graph.el (calc-graph-show-dumb):
13054 * term/sun.el (terminal-init-sun):
13055 * term/ns-win.el (global-map):
13056 * progmodes/grep.el (grep-mode-map):
13057 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13058 * mail/rmail.el (rmail-mode-map):
13059 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13060
04c52e2f
CY
13061 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13062 custom-safe-themes as special.
13063
79adf8c8
JD
130642011-10-01 Julien Danjou <julien@danjou.info>
13065
13066 * notifications.el (notifications-notify): Fix docstring.
13067
63bd50d3
PS
130682011-10-01 Per Starbäck <per@starback.se>
13069
13070 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13071
199e4c7e
MR
130722011-09-30 Martin Rudalics <rudalics@gmx.at>
13073
13074 * startup.el (command-line-1): Fix last fix by inserting
13075 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 13076 (Bug#9605) and (Bug#9636)
199e4c7e 13077
fe5f08dd
EZ
130782011-09-29 Eli Zaretskii <eliz@gnu.org>
13079
13080 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13081 window is hscrolled, move by logical lines. (Bug#9607)
13082 (line-move-visual): Update the doc string to the above effect.
13083
b5516bbd
MR
130842011-09-29 Martin Rudalics <rudalics@gmx.at>
13085
ccee00c0
MR
13086 * window.el (display-buffer-record-window): When WINDOW is the
13087 selected window use `point' instead of `window-point'. (Bug#9626)
13088
b5516bbd
MR
13089 * startup.el (command-line-1): Use insert-before-markers when
13090 inserting initial-scratch-message. (Bug#9605)
ccee00c0 13091
b5516bbd
MR
13092 * help.el (help-window): Remove variable.
13093
52aa0014
GM
130942011-09-29 Glenn Morris <rgm@gnu.org>
13095
13096 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13097
df9a7357
JB
130982011-09-29 Juanma Barranquero <lekktu@gmail.com>
13099
13100 * descr-text.el (describe-char-categories): Accept category
13101 descriptions more than one line long.
13102
a8406c20
SM
131032011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13104
88d9610c
SM
13105 * simple.el (delete-trailing-whitespace): Fix last change.
13106
a5daf810
SM
13107 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13108 Don't confuse "y => 3" as the beginning of a `y' operation.
13109
a8406c20
SM
13110 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13111 object has more than 4 slots (bug#9613).
13112
a239d4e9
JB
131132011-09-28 Juanma Barranquero <lekktu@gmail.com>
13114
13115 * subr.el (with-output-to-temp-buffer):
13116 * net/quickurl.el (quickurl, quickurl-browse-url):
13117 Fix typos in docstrings.
13118
693fbdb6
EZ
131192011-09-27 Eli Zaretskii <eliz@gnu.org>
13120
13121 * minibuffer.el (completion-styles)
13122 (completion-category-overrides): Cross reference each other in doc
13123 strings.
13124
8b457e28
GM
131252011-09-27 Glenn Morris <rgm@gnu.org>
13126
13127 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13128 to split-string. (Bug#9606)
13129
85a16208
LMI
131302011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13131
13132 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13133 (bug#9615).
13134
502f9ebd
CY
131352011-09-27 Chong Yidong <cyd@stupidchicken.com>
13136
13137 * emacs-lisp/package.el (list-packages): Fix echo area message.
13138
7690bdea
LL
131392011-09-27 Leo Liu <sdl.web@gmail.com>
13140
13141 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13142
e2ee6f30
MA
131432011-09-25 Michael Albinus <michael.albinus@gmx.de>
13144
13145 * net/dbus.el (dbus-unregister-object): Don't release services for
13146 registered signals. (Bug#9581)
13147
f3f98342
TZ
131482011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13149
13150 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13151 function that picks between cfengine 2 and 3 support
13152 automatically. Update docs accordingly.
13153
dd7aa8dd
KH
131542011-09-22 Kenichi Handa <handa@m17n.org>
13155
13156 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13157 ZERO.
13158 (indian-itrans-v5-table-for-tamil): New variable.
13159 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13160
3f2b07f8
KM
131612011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13162
13163 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13164 that's true if the current command involved collapsing of text.
13165 It's reset to false at the beginning of the next command.
13166 (allout-post-command-business): Move the cursor to the beginning
13167 of entry if the cursor is hidden and collapsing activity just
13168 happened.
13169
371d6a61
CY
131702011-09-24 Chong Yidong <cyd@stupidchicken.com>
13171
13172 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13173 tracking (Bug#9541).
13174
2ac2721a
UJ
131752011-09-24 Ulf Jasper <ulf.jasper@web.de>
13176
13177 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
13178 (newsticker-show-news): Automatically load html rendering package
13179 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13180 because w3m-fill-column is let-bound" and the error "Symbol's value
13181 as variable is void: w3m-fill-column".
2ac2721a 13182
fac7ae53
MA
131832011-09-24 Michael Albinus <michael.albinus@gmx.de>
13184
13185 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13186 Release services only if they are defined. (Bug#9581)
13187
e08b633b
RS
131882011-09-23 Richard Stallman <rms@gnu.org>
13189
e488d29c
RS
13190 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13191 distinguish start of paragraph from start of its text.
13192
19c38752
RS
13193 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13194
e08b633b
RS
13195 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13196 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13197 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13198
0a39f27e
AS
131992011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13200
13201 * international/mule-diag.el (mule-diag): Insert a newline after
13202 each fontset description.
13203
db4e950d
SM
132042011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13205
13206 * simple.el (delete-trailing-whitespace):
13207 Document last change; simplify.
13208
eca3f3ea
PW
132092011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13210
d68e189a
PW
13211 * simple.el (delete-trailing-whitespace): Also delete
13212 extra newlines at the end of the buffer.
13213
eca3f3ea
PW
13214 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13215 (picture-newline): Use forward-line so as to ignore fields.
13216
01c157cc
SM
132172011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13218
13219 * subr.el (with-wrapper-hook): Fix edebug spec.
13220
022de23e
LMI
132212011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13222
13223 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13224 (bug#4538).
13225
91683089
MA
132262011-09-23 Michael Albinus <michael.albinus@gmx.de>
13227
eca3f3ea
PW
13228 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13229 Fix nasty bug using wrong cached values.
91683089 13230
5bdd6fa4
AM
132312011-09-23 Alan Mackenzie <acm@muc.de>
13232
13233 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13234
97adfb97
CY
132352011-09-23 Chong Yidong <cyd@stupidchicken.com>
13236
13237 * window.el (pop-to-buffer): Ensure right window is selected if we
13238 chose another frame.
13239
d4ef2b50
EZ
132402011-09-22 Eli Zaretskii <eliz@gnu.org>
13241
13242 * simple.el (what-cursor-position): Use get-char-property-change
13243 and next-single-char-property-change, to be able to show display
13244 properties that come from overlays as well as text properties.
13245
72258fe5
CY
132462011-09-22 Chong Yidong <cyd@stupidchicken.com>
13247
13248 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13249
13250 * cmuscheme.el (run-scheme, switch-to-scheme):
13251 * cus-edit.el (customize-group, custom-buffer-create)
13252 (customize-browse):
13253 * info.el (info):
13254 * shell.el (shell):
13255 * mail/sendmail.el (mail):
13256 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13257
8f098516
RS
132582011-09-22 Richard Stallman <rms@gnu.org>
13259
13260 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13261 move back only to line beg, don't move back over blank lines.
13262
e74f1bb6
MA
132632011-09-22 Michael Albinus <michael.albinus@gmx.de>
13264
13265 * files.el (copy-directory): Set directory attributes only in case
13266 they could be retrieved from the source directory. (Bug#9565)
13267
bfeef8b6
DK
132682011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13269
13270 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13271 (hs-find-block-beginning, hs-hide-level-recursive):
13272 Ignore strings as well as comments. (Bug#9502)
13273
7e423bb8
AS
132742011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13275
13276 * progmodes/sql.el (sql-comint-postgres):
13277 Convert port number to a string. (Bug#9566)
13278
b4d72fcf
MR
132792011-09-22 Martin Rudalics <rudalics@gmx.at>
13280
13281 * window.el (quit-window): Undedicate window when switching to
13282 previous buffer. Reported by Thierry Volpiatto
13283 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
13284 (special-display-popup-frame): When popping up a new frame reset
13285 its previous buffers to nil. Simplify code.
b4d72fcf 13286
a7b88dc6
MA
132872011-09-21 Michael Albinus <michael.albinus@gmx.de>
13288
13289 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13290 and process filter, as done also in `shell-command'.
13291
cf4eacfd
MR
132922011-09-21 Martin Rudalics <rudalics@gmx.at>
13293
eca3f3ea 13294 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
13295 Call set-window-start with NOFORCE argument t.
13296 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
13297 (quit-window): Reword doc-string. Handle new format of
13298 quit-restore parameter. Don't delete window if it has a
13299 previous buffer we can show instead of the present one.
13300 (display-buffer-record-window): Rewrite using a new format for
13301 the quit-restore window parameter
13302 (special-display-popup-frame, display-buffer-same-window)
13303 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13304 (display-buffer-pop-up-window, display-buffer-use-some-window):
13305 Adapt symbol passed to display-buffer-record-window.
13306 * help.el (help-window-setup): Handle new format of quit-restore
13307 parameter.
13308
8d28cb95
SM
133092011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13310
94ab793f
SM
13311 * faces.el (face-list): Fix docstring (bug#9564).
13312
8d28cb95
SM
13313 * window.el (display-buffer--action-function-custom-type):
13314 Don't include internal functions in the Custom interface.
13315
3820edeb
JL
133162011-09-20 Juri Linkov <juri@jurta.org>
13317
13318 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13319 (Info-forward-node, Info-backward-node, Info-next-preorder)
13320 (Info-last-preorder): Use it. (Bug#9528)
13321
5147931d
JL
133222011-09-20 Juri Linkov <juri@jurta.org>
13323
13324 * info.el (Info-last-preorder): Visit last menu item only when
13325 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13326
cf499a1a
JD
133272011-09-20 Julien Danjou <julien@danjou.info>
13328
13329 * password-cache.el (password-cache-remove): Remove entries even if the
13330 value is nil, so that password with a nil value (negative caching) is
13331 possible to invalidate.
13332
f84e2fe2
LM
133332011-09-20 Lawrence Mitchell <wence@gmx.li>
13334
13335 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13336 all whitespace around breakpoint. (Bug#9553)
13337 (f90-find-breakpoint): Only break at whitespace inside a comment.
13338
78054a46
SM
133392011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13340
13341 * minibuffer.el (completion-file-name-table): Keep track of errors.
13342 (completion-table-with-predicate): Handle the case where pred1 is nil.
13343 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13344
345083b2
SM
133452011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13346
e24e27be
SM
13347 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13348 (debugger-return-value): Signal an error if the debugging context does
13349 not await any return value.
13350
345083b2
SM
13351 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13352 * image-mode.el (image-toggle-display-text)
13353 (image-toggle-display-image): Stay away from evil `intangible'.
13354
08d355e3
LL
133552011-09-19 Leo Liu <sdl.web@gmail.com>
13356
13357 * replace.el (occur-revert-arguments): Make it permanent-local.
13358 (occur-mode): Don't call font-lock-defontify.
13359
f01da43f
CY
133602011-09-19 Chong Yidong <cyd@stupidchicken.com>
13361
13362 * net/ldap.el (ldap-search-internal): Don't push empty search
13363 result (Bug#9508).
13364
b6072fa6
SM
133652011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13366
13367 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13368
443d6696
MA
133692011-09-19 Michael Albinus <michael.albinus@gmx.de>
13370
13371 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13372 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13373
7cc6e154
JL
133742011-09-18 Juri Linkov <juri@jurta.org>
13375
13376 * buff-menu.el (Buffer-menu-mode-map):
13377 * dired.el (dired-mode-map):
13378 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13379 (lisp-interaction-mode-map):
13380 * emacs-lisp/package.el (package-menu-mode-map):
13381 * epa.el (epa-key-list-mode-map):
13382 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13383 (menu-bar-options-menu):
13384 * outline.el (outline-mode-menu-bar-map):
13385 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13386 * vc/vc-dir.el (vc-dir-menu-map):
13387 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13388 Capitalize non-function content words in menu item strings.
13389
13390 * dired.el (dired-mode-map): Add menu item for
13391 `image-dired-dired-toggle-marked-thumbs'.
13392
80302a81
JL
133932011-09-18 Juri Linkov <juri@jurta.org>
13394
13395 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13396 to `isearch-case-fold-search' and restore its original value
13397 after the `isearch-mode' call.
13398
46c5cf66
JL
133992011-09-18 Juri Linkov <juri@jurta.org>
13400
13401 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13402 because `zgrep' returns 1 for successful matches (bug#9226).
13403
d18b513b
JL
134042011-09-18 Juri Linkov <juri@jurta.org>
13405
13406 * info.el (Info-extract-menu-node-name): Check the second match
13407 for empty string (second test-case of bug#9528).
13408 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13409 intermediate nodes to the history (first test-case of bug#9528).
13410
72753f87
JL
134112011-09-18 Juri Linkov <juri@jurta.org>
13412
13413 * info.el (Info-mode-syntax-table): New variable.
1154d12e 13414 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 13415
c9384295
JL
134162011-09-18 Juri Linkov <juri@jurta.org>
13417
1154d12e
JB
13418 * info.el (Info-file-supports-index-cookies):
13419 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13420 outputs one more line for long file names (bug#4142).
c9384295 13421
d473dce8
CY
134222011-09-18 Chong Yidong <cyd@stupidchicken.com>
13423
13424 * newcomment.el (comment-normalize-vars): If prompting for
13425 comment-start, set comment-start-skip too (Bug#8424).
13426
2176854d
JB
134272011-09-18 Johan Bockgård <bojohan@gnu.org>
13428
13429 * icomplete.el: Fix previous fix of Bug#5849.
13430 (icomplete-mode): Don't set completion-show-inline-help.
13431 (icomplete-minibuffer-setup): Set completion-show-inline-help
13432 locally during icompletion.
13433
3aace4e4
CY
134342011-09-18 Chong Yidong <cyd@stupidchicken.com>
13435
c940224f
CY
13436 * woman.el (woman2-process-escapes): Don't delete unrecognized
13437 escapes (Bug#7843).
13438
3aace4e4
CY
13439 * files.el (inhibit-first-line-modes-regexps): Add image files.
13440 (hack-local-variables-prop-line): Return nil for malformed
13441 prop-lines (Bug#9044).
13442
710dec63
MA
134432011-09-18 Michael Albinus <michael.albinus@gmx.de>
13444
13445 * net/tramp.el (top): Don't require 'shell.
13446 (tramp-methods): Fix docstring.
13447 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
13448 Return complete remote file name. Handle "smb" case.
13449 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
13450 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13451
13452 * net/tramp-compat.el (top): Require 'shell.
13453
13454 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13455 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13456 `tramp-current-host'.
13457 (tramp-get-remote-tmpdir): Remove.
13458
13459 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13460 `tramp-tmpdir' entries.
13461 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13462 (tramp-smb-handle-file-attributes): Ignore errors.
13463 (tramp-smb-wait-for-output): Check also for process end.
13464
5d5ac8ec
LMI
134652011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13466
13467 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13468 when sending QUIT (bug#9312).
13469
8c0f49f0
CY
134702011-09-17 Chong Yidong <cyd@stupidchicken.com>
13471
13472 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13473 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13474 occur-mode-display-occurrence.
13475 (occur-edit-mode): Add usage message.
13476 (occur-cease-edit): New command.
13477 (occur-after-change-function): Use text properties to find the
13478 position of the prefix text.
13479 (occur-engine): Set stickiness of prefix text properties.
13480
8f1383f7
GM
134812011-09-17 Glenn Morris <rgm@gnu.org>
13482
13483 * progmodes/etags.el (complete-tag):
13484 Fix call to completion-in-region. (Bug#9526)
13485
744ba0e3
JL
134862011-09-17 Juri Linkov <juri@jurta.org>
13487
13488 * textmodes/ispell.el (ispell-word): Add to the error message
13489 the word, ispell program name and current dictionary (bug#9121).
13490 (ispell-tex-arg-end): Capitalize "error" in the error message.
13491
d9bbf400
AS
134922011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13493
13494 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13495 check. (Bug#4251)
13496
8da11505
JL
134972011-09-17 Juri Linkov <juri@jurta.org>
13498
13499 * window.el (window-safe-min-height, window-safe-min-width):
13500 Fix typos (followup to bug#9522).
13501
a91adc7e
SJ
135022011-09-17 Sven Joachim <svenjoac@gmx.de>
13503
13504 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13505
064f328a
EZ
135062011-09-16 Eli Zaretskii <eliz@gnu.org>
13507
13508 * simple.el (line-move): If goal-column is set, move by logical
13509 lines, not by display lines. (Bug#971)
13510 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13511 to reflect the above change.
13512
e69df516
SM
135132011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13514
13515 * image.el (imagemagick-register-types): Use regexp-opt.
13516
cbb0f9ab
CY
135172011-09-15 Chong Yidong <cyd@stupidchicken.com>
13518
13519 * window.el (display-buffer-base-action): Rename from
13520 display-buffer-default-action. Make default value empty.
13521 (display-buffer-overriding-action): Convert to defvar.
13522 (display-buffer-fallback-action): New var.
13523
25322144
CY
135242011-09-15 Chong Yidong <cyd@stupidchicken.com>
13525
13526 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13527 declaration.
13528 (package--add-to-archive-contents): If there is a duplicate entry
13529 with an older version, remove it.
13530 (package-menu-mark-delete, package-menu-mark-install)
13531 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
13532 (package-menu-mark-obsolete-for-deletion):
13533 Use package-menu-get-status instead of a regexp search.
25322144
CY
13534 (package-menu-get-status): Use tabulated-list-entry.
13535 (package-menu-mark-upgrades): New command.
d770725a 13536 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
13537 (package-menu-execute): Do installation before deletion.
13538 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13539 instead of checking major-mode.
13540 (package-menu--find-upgrades): New function.
13541
7520339c
LMI
135422011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13543
13544 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13545 passwords in the log buffer.
65a046c4
LMI
13546 (smtpmail-process-filter): Update the process marker so that the
13547 "broken by peer" status message is inserted in the right place.
7520339c 13548
d3c30954
SM
135492011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13550
3fe48822
SM
13551 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13552 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13553 bibtex-completion-at-point-function.
13554 (bibtex-completion-at-point-function): Use them.
13555
1b8b3954
SM
13556 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13557
d3c30954
SM
13558 * mpc.el (mpc-constraints-tag-lookup): New function.
13559 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13560 also to browser "album|playlist".
13561
72779976
JL
135622011-09-14 Juri Linkov <juri@jurta.org>
13563
13564 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13565 (isearch-edit-string): Use length of `isearch-string' when
13566 `isearch-fail-pos' returns nil.
13567 (isearch-message): Remove duplicate code and call
13568 `isearch-fail-pos' with arg `t'.
13569
a0bf2bcd
CY
135702011-09-14 Chong Yidong <cyd@stupidchicken.com>
13571
17bb0a2d
CY
13572 * replace.el (occur-mode-goto-occurrence): Don't force using other
13573 window (Bug#9499).
13574
a0bf2bcd
CY
13575 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13576
f678e0b6
MR
135772011-09-14 Martin Rudalics <rudalics@gmx.at>
13578
13579 * window.el (display-buffer-window): Remove.
13580 (display-buffer-record-window): Use help-setup window parameter
13581 instead of variable display-buffer-window.
13582 (display-buffer-function, special-display-buffer-names)
13583 (special-display-function): Mention help-setup parameter instead
13584 of display-buffer-window in doc-string.
d3c30954
SM
13585 * help.el (help-window-setup): New argument help-window.
13586 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
13587 Reword some messages.
13588 (with-help-window): Pass window used for displaying the buffer
13589 to help-window-setup. Don't set display-buffer-window.
13590
8e39b2e8
GM
135912011-09-13 Glenn Morris <rgm@gnu.org>
13592
13593 * emacs-lisp/debug.el (debugger-make-xrefs):
13594 Preserve point. (Bug#9462)
13595
85e9c04b
CY
135962011-09-13 Chong Yidong <cyd@stupidchicken.com>
13597
13598 * window.el (window-deletable-p): Use next-frame.
13599
1b36ed6a
MR
136002011-09-13 Martin Rudalics <rudalics@gmx.at>
13601
13602 * window.el (window-auto-delete): Remove.
13603 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 13604 dedication and previous buffers.
1b36ed6a
MR
13605 (switch-to-prev-buffer): Don't delete window.
13606 (delete-windows-on): Delete a window's frame if and only if the
13607 window is dedicated.
13608 (replace-buffer-in-windows): Delete buffer's window or frame if
13609 and only if window is dedicated.
13610 (quit-window): Handle quit-restore as before last change.
4d61f28d 13611 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 13612
ef8ef9fb
CY
136132011-09-13 Chong Yidong <cyd@stupidchicken.com>
13614
13615 * window.el (window-deletable-p): Never delete the last frame on a
13616 given terminal.
13617
b2cba41e
GM
136182011-09-13 Glenn Morris <rgm@gnu.org>
13619
13620 * help.el (describe-key-briefly): Copy previous standard-output change.
13621
51553db6 136222011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
13623
13624 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13625
b7556719
GM
136262011-09-13 Glenn Morris <rgm@gnu.org>
13627
13628 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13629 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13630
64b51947
CY
136312011-09-12 Chong Yidong <cyd@stupidchicken.com>
13632
13633 * dired-aux.el (dired-mark-read-string): Don't return default
13634 value on empty input (Bug#9361).
13635 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13636 Omit initial minibuffer contents.
13637 (dired-do-chmod): Signal an error on empty input.
13638 (dired-mark-read-string): Don't return default on empty input.
13639
13640 * files.el (file-modes-symbolic-to-number): Doc fix.
13641
393a301e
SM
136422011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13643
13644 * international/mule-cmds.el (ucs-completions): Remove.
13645 (read-char-by-name): Use complete-with-action instead; add metadata.
13646
fa5660f9
CY
136472011-09-11 Chong Yidong <cyd@stupidchicken.com>
13648
13649 * window.el (display-buffer--action-function-custom-type)
13650 (display-buffer--action-custom-type): New vars.
13651 (display-buffer-alist, display-buffer-default-action)
13652 (display-buffer-overriding-action): Add defcustom types.
13653
4a592f66
CY
13654 * frame.el (delete-other-frames): Doc fix (Bug#276).
13655
73d56dbd
LMI
136562011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13657
13658 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13659
37ac18a3
CY
136602011-09-11 Chong Yidong <cyd@stupidchicken.com>
13661
13662 Change modes that used same-window-* vars to use switch-to-buffer.
13663
13664 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13665 Use switch-to-buffer.
13666
13667 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
13668 (customize-browse, custom-buffer-create-other-window):
13669 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
13670
13671 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13672 (Info-prev, Info-up, Info-speedbar-goto-node)
13673 (info-display-manual): Use switch-to-buffer.
13674 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13675
13676 * mail/sendmail.el (mail): Use switch-to-buffer.
13677 (mail-recover): Use switch-to-buffer-other-window.
13678
13679 * cmuscheme.el (run-scheme, switch-to-scheme):
13680 * ielm.el (ielm):
13681 * shell.el (shell):
13682 * net/rlogin.el (rlogin):
13683 * net/telnet.el (telnet, rsh):
13684 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13685
10195bd6
AS
136862011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13687
13688 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13689
b322f63a
LMI
136902011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13691
39d7fed6
LMI
13692 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13693 so don't mention it (bug#9301).
ba5a81f1 13694 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 13695
ee0e9f11
LMI
13696 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13697 match `x', `w32' and `ns', like the manual says (bug#9029).
13698
0b1c89c1 13699 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
13700 (process-kill-buffer-query-function): Mention the buffer name in
13701 the query.
0b1c89c1 13702
77549ea8
LMI
13703 * image-mode.el (image-next-line): The line parameter is mandatory
13704 (bug#9258).
13705
803ef892
LMI
13706 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13707 which can be useful (bug#9301).
13708
12980837
LMI
13709 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13710
91054f8f
LMI
13711 * subr.el (match-string): Mention that the current buffer should
13712 be the same as the search was done in (bug#9282).
13713
b322f63a
LMI
13714 * facemenu.el: Disable the remove-* commands if the mark isn't
13715 active (bug#9162).
13716
3199b96f
CY
137172011-09-10 Chong Yidong <cyd@stupidchicken.com>
13718
13719 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13720 of display-buffer.
13721 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13722
13723 * replace.el (occur-mode-goto-occurrence)
13724 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13725 and display-buffer.
13726
13727 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13728 display-buffer.
13729
13730 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13731 special-display and same-window variables.
13732 (mail-other-window): Use switch-to-buffer-other-window.
13733 (mail-other-frame): USe switch-to-buffer-other-frame.
13734
393a301e
SM
13735 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13736 Use display-buffer-other-frame.
3199b96f
CY
13737 (gdb-display-gdb-buffer): Use pop-to-buffer.
13738
13739 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13740
13741 * progmodes/python.el: Don't set same-window-buffer-names.
13742
13743 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13744
13745 * window.el (display-buffer-alist): Add *Python*.
13746
8319e0bf
CY
137472011-09-10 Chong Yidong <cyd@stupidchicken.com>
13748
13749 * window.el (display-buffer-alist): Add entry for buffers
13750 previously handled same-window-*.
13751 (display-buffer-alist, display-buffer-default-action)
13752 (display-buffer-overriding-action): Mark as risky.
13753 (display-buffer-alist): Document action function changes.
13754 (display-buffer--same-window-action)
13755 (display-buffer--other-frame-action): New variables.
13756 (switch-to-buffer, display-buffer-other-frame): Use them.
13757 (display-buffer): Rename reuse-frame entry to reusable-frames.
13758 (display-buffer-reuse-selected-window): Function deleted.
13759 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13760 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13761 (display-buffer-special): New function.
13762 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13763 display-buffer-reuse-or-pop-window. Split off special-display
13764 part into display-buffer-special.
13765 (display-buffer-use-some-window): Don't perform any special
13766 pop-up-frames handling.
13767 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 13768 (display-buffer--maybe-same-window): Rename from
0d3ff375 13769 display-buffer-maybe-same-window.
8319e0bf 13770
919a69aa
CY
13771 * info.el: Don't set same-window-regexps.
13772 (info-setup): New function.
13773 (info-other-window, info): Call it.
13774
13775 * cus-edit.el: Don't set same-window-regexps.
13776 (customize-group): New argument.
13777 (customize-group-other-window): Use it.
13778 (customize-face, customize-face-other-window): Likewise.
13779 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13780
8319e0bf
CY
13781 * net/rlogin.el:
13782 * net/telnet.el:
13783 * progmodes/gud.el: Don't set same-window-regexps.
13784
13785 * cmuscheme.el:
13786 * ielm.el:
13787 * shell.el:
13788 * mail/sendmail.el:
13789 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13790
25173000
JL
137912011-09-10 Juri Linkov <juri@jurta.org>
13792
13793 * isearch.el (isearch-edit-string): Remove obsolete mention of
13794 `C-w' (`isearch-yank-word-or-char') from docstring.
13795 (isearch-query-replace): Fix typo in docstring (bug#9466).
13796
056e44ef
JL
137972011-09-10 Juri Linkov <juri@jurta.org>
13798
13799 * paren.el (show-paren-function): Don't show escaped parens.
13800 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13801
c3760c17
EZ
138022011-09-10 Eli Zaretskii <eliz@gnu.org>
13803
13804 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13805 (mm-default-file-encoding): Remove autoload forms, they are
13806 replaced with autoload cookies in mml.el and mm-encode.el.
13807 (mail-add-attachment): New command.
13808 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13809 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13810 the doc string.
13811 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13812
fece895e
RT
138132011-09-10 Reuben Thomas <rrt@sc3d.org>
13814
e69df516
SM
13815 * simple.el (count-words-region): Use buffer if there's no region
13816 (bug#9429).
fece895e 13817
5e68ce4a
JL
138182011-09-09 Juri Linkov <juri@jurta.org>
13819
13820 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13821 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13822 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13823
0a6b9622
AM
138242011-09-09 Alan Mackenzie <acm@muc.de>
13825
13826 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13827 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13828
14a29deb
EZ
138292011-09-09 Eli Zaretskii <eliz@gnu.org>
13830
13831 Fix for Savannah bug#9392.
13832 * simple.el (mail-encode-mml): New defvar.
13833
13834 * mail/rmail.el (mail-encode-mml): Add a defvar.
13835 (rmail-enable-mime-composing): Default to t.
13836 (rmail-forward): Use MIME method of forwarding only if both
13837 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13838 Set mail-encode-mml non-nil if the MIME method was used.
13839
13840 * mail/sendmail.el (mml-to-mime): Add autoload form.
13841 (mail-encode-mml): Add a defvar.
13842 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13843 to nil.
13844 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13845 message through mml-to-mime, and reset mail-encode-mml to nil.
13846
28c45130
GM
138472011-09-09 Glenn Morris <rgm@gnu.org>
13848
13849 * woman.el (woman-if-body): When processing an .el block,
13850 do not delete the next .el block as well. (Bug#9447)
69f4b618 13851 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 13852
9b1c252e
MR
138532011-09-08 Martin Rudalics <rudalics@gmx.at>
13854
13855 * window.el (window-deletable-p): Make sure window is live before
13856 invoking window-prev-buffers.
13857
567457e3
LL
138582011-09-08 Leo Liu <sdl.web@gmail.com>
13859
13860 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13861
97f05794
JL
138622011-09-08 Juri Linkov <juri@jurta.org>
13863
13864 * progmodes/compile.el (compilation-environment): Make it
13865 a defcustom (bug#8340).
13866
8b0874b5
MR
138672011-09-08 Martin Rudalics <rudalics@gmx.at>
13868
13869 * window.el (frame-auto-delete): Rename to window-auto-delete.
13870 Make it control auto-deletion of windows and/or frames.
13871 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 13872 for deleting window/frame. (Bug#9419)
8b0874b5
MR
13873 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13874 Rewrite handling of case when window/frame can be deleted.
13875 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 13876 argument t. (Bug#9456)
8b0874b5 13877
4feb6e73
CY
138782011-09-07 Chong Yidong <cyd@stupidchicken.com>
13879
13880 * help-mode.el (help-mode): Restore autoload.
13881
91ab9c13
JL
138822011-09-07 Juri Linkov <juri@jurta.org>
13883
13884 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13885 `compilation-environment'. Set buffer-local
13886 `compilation-environment' to `thisenv' later after (funcall mode).
13887 (Bug#8340)
13888
13889 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13890 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13891 instead of replacing its value. (Bug#8340)
13892
0527e251
JL
138932011-09-07 Juri Linkov <juri@jurta.org>
13894
13895 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13896 based on text properties put by `grep-filter' instead of matching
13897 escape sequences.
13898 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13899 to the value of `grep-error-screen-columns' (bug#9438).
13900
249f792c
JL
139012011-09-07 Juri Linkov <juri@jurta.org>
13902
13903 * simple.el (next-error-highlight, next-error-highlight-no-select):
13904 Doc fix (bug#9432).
13905
ff7271b9
OT
139062011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13907
13908 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13909 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13910
183fc730
LL
139112011-09-07 Leo Liu <sdl.web@gmail.com>
13912
13913 * net/rcirc.el (rcirc-mode): Conditionally initialize
13914 rcirc-input-ring.
13915
77694924
SM
139162011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13917
13918 * emacs-lisp/find-func.el (find-function-C-source): Only set
13919 find-function-C-source-directory after checking that we found a source
13920 file there (bug#9440).
13921
d809b8eb
AM
139222011-09-06 Alan Mackenzie <acm@muc.de>
13923
13924 * isearch.el (isearch-other-meta-char): Wherever a key list is
13925 unread, "unread" the prefix arg, too. This fixes bug #8901.
13926
453de99f
OG
139272011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13928
13929 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13930
90439906
JL
139312011-09-05 Juri Linkov <juri@jurta.org>
13932
13933 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13934
f62bd846
JL
139352011-09-05 Juri Linkov <juri@jurta.org>
13936
13937 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13938 keeping point where processing of grep matches begins, and
13939 continue to delete remaining escape sequences from the same point.
13940 (grep-filter): Make leading zero optional in "0?1;31m" because
13941 git-grep emits "\033[1;31m" escape sequences unlike expected
13942 "\033[01;31m" as GNU Grep does (bug#9408).
13943 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13944
045820ec
JL
139452011-09-05 Juri Linkov <juri@jurta.org>
13946
13947 * subr.el (y-or-n-p): Capitalize "yes".
13948
f5e29b9b
MA
139492011-09-04 Michael Albinus <michael.albinus@gmx.de>
13950
13951 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13952 `tramp-cache-unload-hook' where appropriate.
13953 (tramp-methods): Rename `tramp-remote-sh' to
13954 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13955 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13956
13957 * net/tramp-sh.el (top): Don't require 'shell.
13958 (tramp-methods): Add `tramp-remote-shell' and
13959 `tramp-remote-shell-args' entries.
13960 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13961 (tramp-sh-handle-shell-command): Remove.
13962 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13963 Use `tramp-remote-shell'.
13964
2784c434
CY
139652011-09-03 Chong Yidong <cyd@stupidchicken.com>
13966
393a301e 13967 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
13968 (sendmail-query-once): Save directly to send-mail-function.
13969 Update message-send-mail-function too.
13970
13971 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13972
464cdf56
CS
139732011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13974
13975 * progmodes/python.el (python-mode-map): Use correct function to
13976 start python interpreter from menu-bar (as reported by Geert
13977 Kloosterman).
13978 (inferior-python-mode-map): Fix typo.
393a301e 13979 (python-shell-map): Remove.
464cdf56 13980
d37e5c87
DD
139812011-09-03 Deniz Dogan <deniz@dogan.se>
13982
13983 * net/rcirc.el (rcirc-print): Simplify code for
13984 rcirc-scroll-show-maximum-output. There is no need to walk
13985 through all windows to find the right one.
13986
f3ada0ee
CS
139872011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13988
13989 * help.el (help-return-method): Doc fix.
13990
1f3c99ca
MR
139912011-09-03 Martin Rudalics <rudalics@gmx.at>
13992
13993 * window.el (window-deletable-p): Don't return a non-nil value
13994 when there's a buffer that was shown in the window before.
13995 (Bug#9419)
393a301e
SM
13996 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13997 Set window's previous buffers to nil.
1f3c99ca 13998
a3cf097f
EZ
139992011-09-03 Eli Zaretskii <eliz@gnu.org>
14000
14001 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14002 newline before and after the tag line, so it doesn't interfere
14003 with determining the paragraph direction of bidirectional text.
14004
3d03de90
LL
140052011-09-03 Leo Liu <sdl.web@gmail.com>
14006
14007 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14008
c3313451
CY
140092011-09-02 Chong Yidong <cyd@stupidchicken.com>
14010
393a301e 14011 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
14012 (pop-to-buffer): Change interactive spec. Pass second argument
14013 directly to display-buffer.
14014 (display-buffer): Fix interactive spec. Use functionp to
14015 distinguish between a function and a list of functions.
14016
14017 * abbrev.el (edit-abbrevs):
14018 * arc-mode.el (archive-extract):
14019 * autoinsert.el (auto-insert):
14020 * bookmark.el (bookmark-bmenu-list):
14021 * files.el (find-file):
14022 * view.el (view-buffer):
14023 * progmodes/compile.el (compilation-goto-locus):
14024 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14025
89894cd8
CY
140262011-09-02 Chong Yidong <cyd@stupidchicken.com>
14027
14028 * window.el (display-buffer-alist): Doc fix.
14029 (display-buffer): Add docstring. Don't treat
14030 display-buffer-default specially.
14031 (display-buffer-reuse-selected-window)
14032 (display-buffer-same-window, display-buffer-maybe-same-window)
14033 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14034 (display-buffer-pop-up-window)
14035 (display-buffer-reuse-or-pop-window)
14036 (display-buffer-use-some-window): New functions.
14037 (display-buffer-default-action): Use them.
393a301e 14038 (display-buffer-default): Delete.
89894cd8
CY
14039 (pop-to-buffer-1): Fix choice of actions.
14040
ae0bc9fb
SM
140412011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14042
14043 * minibuffer.el (completion--insert-strings): Don't get confused by
14044 completion entries that end with an LF char.
14045
e9d90883
EZ
140462011-09-01 Eli Zaretskii <eliz@gnu.org>
14047
14048 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14049
437014c8
CY
140502011-09-01 Chong Yidong <cyd@stupidchicken.com>
14051
14052 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
14053 (display-buffer-same-window, display-buffer-other-window):
14054 New functions.
437014c8
CY
14055 (pop-to-buffer-1): New function. Use the above.
14056 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 14057 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
14058
14059 * view.el (view-buffer-other-window, view-buffer-other-frame):
14060 Just use pop-to-buffer.
14061
a5e063d5
TV
140622011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14063
14064 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14065
793d32bb
WH
140662011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14067
14068 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14069
d65e4c15
RS
140702011-08-31 Richard Stallman <rms@gnu.org>
14071
14072 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14073 of the separation of rmail-view-buffer from rmail-buffer.
14074 If you say no to "replace original", the decrypt is in the
14075 view buffer. If you say yes, the decrypt goes into the
14076 rmail buffer also.
14077
f818cd2a
MR
140782011-08-31 Martin Rudalics <rudalics@gmx.at>
14079
14080 * window.el (display-buffer-window): Rewrite doc-string.
14081 (display-buffer-record-window): New function.
14082 (display-buffer-macro-specifiers)
14083 (display-buffer-even-window-sizes, display-buffer-set-height)
14084 (display-buffer-set-width, display-buffer-in-window)
14085 (display-buffer-reuse-window, display-buffer-split-specifiers)
14086 (display-buffer-side-specifiers, display-buffer-split-window-1)
14087 (display-buffer-split-window, display-buffer-split-atom-window)
14088 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14089 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14090 (display-buffer-other-window-means-other-frame)
14091 (display-buffer-normalize-special)
14092 (display-buffer-normalize-default)
14093 (display-buffer-normalize-argument)
14094 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14095 (display-buffer-normalize-specifiers, display-buffer-frame)
14096 (display-buffer-same-window, display-buffer-same-frame)
14097 (display-buffer-other-window)
14098 (display-buffer-same-frame-other-window)
14099 (display-buffer-other-frame, pop-to-buffer-same-window)
14100 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14101 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14102 (switch-to-buffer-same-frame)
14103 (switch-to-buffer-other-window-same-frame)
14104 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14105 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14106 (display-buffer-alist-set): Remove.
14107 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
14108 (special-display-regexps, special-display-function):
14109 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
14110 parameter.
14111 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14112 (special-display-frame-alist, special-display-popup-frame)
14113 (same-window-buffer-names, same-window-regexps, same-window-p)
14114 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14115 (split-window-preferred-function, split-height-threshold)
14116 (split-width-threshold, window-splittable-p)
14117 (split-window-sensibly, window--try-to-split-window)
14118 (window--frame-usable-p, even-window-heights)
14119 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
14120 (window--display-buffer-2, display-buffer-other-frame):
14121 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
14122 (display-buffer-default, display-buffer-assq-regexp): New functions.
14123 (display-buffer-alist): Rewrite doc-string.
14124 (display-buffer-default-action)
14125 (display-buffer-overriding-action): New variables.
14126 (display-buffer, switch-to-buffer): Rewrite.
14127 (pop-to-buffer): Restore Emacs 23 behavior but use
14128 window-normalize-buffer-to-display.
14129 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14130 Restore Emacs 23 behavior but use
14131 window-normalize-buffer-to-switch-to.
14132 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
14133 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14134 Rewrite using Emacs 23 options.
f818cd2a 14135
5bc3b51d
MA
141362011-08-31 Michael Albinus <michael.albinus@gmx.de>
14137
14138 * net/tramp.el (tramp-root-regexp): Remove.
14139 (tramp-completion-file-name-regexp-unified)
14140 (tramp-completion-file-name-regexp-separate)
14141 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 14142 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
14143 (tramp-drop-volume-letter): Simplify definition.
14144 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 14145
b1a4f8e1
SM
141462011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14147
14148 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14149 (bug#9356).
14150
5664fa7b
RT
141512011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14152
b1a4f8e1 14153 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 14154
9a45d6c3
JL
141552011-08-29 Juri Linkov <juri@jurta.org>
14156
14157 * isearch.el (isearch-done): Don't display message "Mark saved"
14158 when arg `edit' is non-nil to prevent its flicker in the echo area.
14159
fb87e0fb
CY
141602011-08-28 Chong Yidong <cyd@stupidchicken.com>
14161
14162 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14163 obsolete packages for deletion.
14164
09ac1c2a
CS
141652011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14166
14167 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 14168 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
14169 view-mode from help-mode.
14170 (help-xref-override-view-map): Remove.
14171 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14172 view-mode is not used anymore.
14173
7a1ff57f
CY
141742011-08-28 Chong Yidong <cyd@stupidchicken.com>
14175
14176 * server.el (server-port): Doc fix.
14177
b9696605
CY
14178 * cus-theme.el (custom-theme-choose-mode): Inherit from
14179 special-mode (Bug#9124).
14180 (custom-theme-choose-mode-map): Add special-mode to parent.
14181
ef8cdf8c
AM
141822011-08-28 Alan Mackenzie <acm@muc.de>
14183
14184 * progmodes/cc-fonts.el
14185 (c-make-font-lock-BO-decl-search-function): New function.
14186 (c-basic-matchers-after - "Fontify the clauses after various
14187 keywords"): Extract the three keyword lists for the 3 erroneous
14188 constructs from the list of four, and use the new function above
14189 in place of an old one.
14190
27de4e20
DD
141912011-08-28 Deniz Dogan <deniz@dogan.se>
14192
14193 * net/rcirc.el (rcirc-insert-prev-input)
14194 (rcirc-insert-next-input): Remove unused argument.
14195
356a3681
SM
141962011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14197
14198 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14199
3fc9b218
AM
142002011-08-27 Alan Mackenzie <acm@muc.de>
14201
14202 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14203 handle function pointer parameters properly.
14204
538a061c
MR
142052011-08-27 Martin Rudalics <rudalics@gmx.at>
14206
14207 * window.el (display-buffer-reuse-window): Fix case where
14208 selected window was reused with non-nil OTHER-WINDOW argument.
14209 (Bug#9381)
14210
35b1c40c
DD
142112011-08-27 Deniz Dogan <deniz@dogan.se>
14212
14213 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14214 oftc's NickServ messages.
14215
2f6a3e79
GM
142162011-08-27 Glenn Morris <rgm@gnu.org>
14217
14218 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14219
7254299e
CY
142202011-08-26 Chong Yidong <cyd@stupidchicken.com>
14221
14222 * emacs-lisp/package.el (package-install): Call package-initialize
14223 if called interactively.
14224
f8ccf167
LL
142252011-08-26 Leo Liu <sdl.web@gmail.com>
14226
14227 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14228
3e8cd5ce
JL
142292011-08-25 Juri Linkov <juri@jurta.org>
14230
14231 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14232 `search-whitespace-regexp' (bug#9364).
14233
93eb7113
JL
142342011-08-25 Juri Linkov <juri@jurta.org>
14235
14236 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14237 `regexp-search-ring' to their global values to protect from
14238 updating by `read-from-minibuffer' (bug#9185).
14239
f65d1611
JL
142402011-08-25 Juri Linkov <juri@jurta.org>
14241
14242 * textmodes/ispell.el (ispell-command-loop): Add newline
14243 at the end of the "Use option `i'..." line.
14244
f1cf7a31
JL
142452011-08-25 Juri Linkov <juri@jurta.org>
14246
14247 * battery.el (display-battery-mode): If `battery-status-function'
14248 or `battery-mode-line-format' is nil, display the message and set
14249 `display-battery-mode' to nil (bug#9363).
14250
0c95fcf7
EZ
142512011-08-25 Eli Zaretskii <eliz@gnu.org>
14252
14253 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14254 bidi-string-mark-left-to-right; they are unnecessary now.
14255
a2ebe600
DD
142562011-08-25 Deniz Dogan <deniz@dogan.se>
14257
14258 * net/quickurl.el: Documentation typo fixes.
14259
e4ed06f1
CY
142602011-08-25 Chong Yidong <cyd@stupidchicken.com>
14261
14262 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14263
e5f1c99e
GM
142642011-08-25 Glenn Morris <rgm@gnu.org>
14265
b2948976
GM
14266 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14267
e5f1c99e
GM
14268 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14269 (smtpmail-via-smtp): Handle nil response from smtp.
14270
f22f4808
JL
142712011-08-24 Juri Linkov <juri@jurta.org>
14272
14273 * proced.el (proced-marked): Inherit from `error' instead of
14274 `font-lock-warning-face'.
14275
14276 * ibuffer.el (ibuffer-marked-face): Change default face from
14277 `font-lock-warning-face' to `warning'.
14278 (ibuffer-deletion-face): Change default face from
14279 `font-lock-type-face' to `error'.
14280
14281 * battery.el (battery-update): Use the face `error' instead of
14282 `font-lock-warning-face' (bug#6117).
14283
6a93965e
JL
142842011-08-24 Juri Linkov <juri@jurta.org>
14285
14286 * faces.el (success): Change face color from "Green3" to
14287 "ForestGreen" on light background (bug#9353).
14288
1ed43b09
CY
142892011-08-24 Chong Yidong <cyd@stupidchicken.com>
14290
5664fa7b
RT
14291 * window.el (quit-window): Rename from quit-restore-window.
14292 Use same arglist as old quit-window.
1ed43b09
CY
14293 (frame-auto-delete): Doc fix.
14294
14295 * view.el (view-mode-exit): Use quit-window.
14296
11dcdbb2
JL
142972011-08-24 Juri Linkov <juri@jurta.org>
14298
14299 * isearch.el (isearch-ring-adjust1): Start visiting previous
14300 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14301 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14302 for empty search string (when the last search string is reused
14303 automatically) to adjust the isearch ring to the last element and
14304 prepare the correct index for further M-p commands (bug#9185).
14305
de62b4df
KH
143062011-08-24 Kenichi Handa <handa@m17n.org>
14307
14308 * international/ucs-normalize.el: If decomposition property of
14309 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14310 nil.
14311 (nfd, nfkd): Likewise.
14312
963b492b
SM
143132011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14314
14315 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14316 from process filters aren't reliably transmitted to the surrounding
14317 accept-process-output.
14318 (mpc-proc-check): New function.
14319 (mpc-proc-sync): Use it (bug#8293)
14320
93b6b5e1
SM
143212011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14322
14323 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14324 Add compatibility functions (bug#9313).
14325
bca633fb
EZ
143262011-08-23 Eli Zaretskii <eliz@gnu.org>
14327
b177498a
EZ
14328 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14329
6df6ae42 14330 * international/uni-bidi.el: Regenerate.
bca633fb 14331
0902a04e
KH
143322011-08-23 Kenichi Handa <handa@m17n.org>
14333
14334 * international/charprop.el:
14335 * international/uni-bidi.el:
14336 * international/uni-category.el:
14337 * international/uni-combining.el:
14338 * international/uni-comment.el:
14339 * international/uni-decimal.el:
14340 * international/uni-decomposition.el:
14341 * international/uni-digit.el:
14342 * international/uni-lowercase.el:
14343 * international/uni-mirrored.el:
14344 * international/uni-name.el:
14345 * international/uni-numeric.el:
14346 * international/uni-old-name.el:
14347 * international/uni-titlecase.el:
14348 * international/uni-uppercase.el: Regenerate.
14349
3bbf23bc
MR
143502011-08-23 Martin Rudalics <rudalics@gmx.at>
14351
14352 * help.el (help-window-setup): Fix message displayed when other
14353 window is reused. (Bug#9341)
14354
b3fd59bd
SM
143552011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14356
1802e444
SM
14357 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14358 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14359
b3fd59bd
SM
14360 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14361 Mark obsolete.
14362 * shell.el (shell-parse-pcomplete-arguments): New function.
14363 (shell-completion-vars): Use it instead (bug#9160).
14364
4eb61348
SM
143652011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14366
867cab74
SM
14367 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14368 strings and comments (bug#9333).
14369
4eb61348
SM
14370 * emacs-lisp/debug.el (debug-arglist): New function.
14371 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14372 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14373
262a1439
JL
143742011-08-22 Juri Linkov <juri@jurta.org>
14375
56ee679c
JL
14376 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14377 Revert regexp that highlights output switches to its old
14378 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14379
262a1439
JL
14380 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14381 to check for empty output (bug#9226).
14382
f13f86fb
CY
143832011-08-22 Chong Yidong <cyd@stupidchicken.com>
14384
14385 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14386 symbol-constituent as the default, as that stops font-lock from
14387 working properly (Bug#8843).
14388
c65c9622
LMI
143892011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14390
14391 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14392 `coding-system-for-*' around the process open call to avoid
14393 auth-source side effects.
e7f2c178 14394 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
14395 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14396 probe hangs.
c65c9622 14397
23a8a5ab
CY
143982011-08-21 Chong Yidong <cyd@stupidchicken.com>
14399
ff98b2dd
CY
14400 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14401
23a8a5ab
CY
14402 * emacs-lisp/find-func.el (find-function-noselect): New arg
14403 lisp-only.
14404
14405 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14406 signal an error for built-in functions (Bug#6664).
14407
f5e3c598
LMI
144082011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14409
14410 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14411 (smtpmail-try-auth-methods): Use it.
14412
a3f2468a
CY
144132011-08-21 Chong Yidong <cyd@stupidchicken.com>
14414
2c34e8da
CY
14415 * font-lock.el (font-lock-fontify-region)
14416 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14417 (font-lock-default-unfontify-buffer)
14418 (font-lock-default-fontify-region)
14419 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14420
b3fd59bd
SM
14421 * progmodes/compile.el (compilation-error-properties):
14422 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
14423 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14424 `ant' regexp.
ee31aabc 14425
a3f2468a
CY
14426 * net/browse-url.el (browse-url-firefox): Don't call
14427 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14428
8e999f70
GM
144292011-08-20 Glenn Morris <rgm@gnu.org>
14430
c21a496a
GM
14431 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14432
59ee0542
GM
14433 * tutorial.el (tutorial--default-keys): Update some default bindings.
14434
8e999f70
GM
14435 * files.el (hack-local-variables): Fully ignore case for "mode:".
14436
e3715033
AM
144372011-08-20 Alan Mackenzie <acm@muc.de>
14438
14439 Resolve invalid use of a regexp in regexp-opt.
14440
4d61f28d
JB
14441 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14442 detection for a java annotation.
e3715033 14443
4d61f28d 14444 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
14445 detection for a java annotation.
14446
4d61f28d
JB
14447 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14448 handling for java.
e3715033
AM
14449 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14450
04ed2e9c
CY
144512011-08-20 Chong Yidong <cyd@stupidchicken.com>
14452
14453 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14454 (Bug#9274).
14455
826cee64
AM
144562011-08-20 Alan Mackenzie <acm@muc.de>
14457
58179cce 14458 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
14459 such a construct. Mainly for when jit-lock etc. starts a chunk
14460 here.
14461
58179cce 14462 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 14463 variable.
58179cce 14464 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
14465 c-make-font-lock-search-function.
14466 (c-make-font-lock-search-function): Use the above function.
14467 (c-make-font-lock-context-search-function): New function.
14468 (c-cpp-matchers): Enhance the preprocessor expression case with
14469 the above function
14470 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14471 which takes an expression.
14472
14473 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14474
13009bd8
MR
144752011-08-20 Martin Rudalics <rudalics@gmx.at>
14476
14477 * window.el (display-buffer-reuse-window)
14478 (display-buffer-pop-up-window): Don't reuse or split a side
14479 window.
14480
9234ff7f
GM
144812011-08-19 Glenn Morris <rgm@gnu.org>
14482
14483 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 14484 Downcase "Mode:". (Bug#9331)
9234ff7f 14485
f635daa1
CY
144862011-08-18 Chong Yidong <cyd@stupidchicken.com>
14487
14488 * international/characters.el: Add L and R categories.
14489
14490 * subr.el (bidi-string-mark-left-to-right): Rename from
14491 string-mark-left-to-right. Use category search.
14492
14493 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14494
bc987f8b
JL
144952011-08-18 Juri Linkov <juri@jurta.org>
14496
14497 * faces.el (error, warning, success): New faces with definitions
14498 copied from old default values of `font-lock-warning-face',
14499 `compilation-warning', `compilation-info' (bug#6117).
14500
14501 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14502
14503 * progmodes/compile.el (compilation-error): Inherit from `error'.
14504 (compilation-warning): Inherit from `warning'.
14505 (compilation-info): Inherit from `success'.
14506
14507 * dired.el (dired-marked): Inherit from `warning'.
14508 (dired-flagged): Inherit from `error'.
14509
57173b96
LMI
145102011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14511
3e79eb87
LMI
14512 * mail/smtpmail.el (auth-source): Require to avoid problems with
14513 binding variables (bug#9298). Also clean up some unused
14514 autoloads.
14515
b3fd59bd
SM
14516 * net/network-stream.el (network-stream-open-starttls):
14517 Support using starttls.el without using gnutls-cli.
57173b96 14518
02b404de
JL
145192011-08-17 Juri Linkov <juri@jurta.org>
14520
14521 * progmodes/grep.el (rgrep): Handle the case when
14522 `grep-find-command' is a cons cell (bug#9278).
14523
8c9177f2
MR
145242011-08-17 Martin Rudalics <rudalics@gmx.at>
14525
14526 * window.el (display-buffer-pop-up-frame): Run frame creation
14527 function with BUFFER current (as special-display-popup-frame
14528 does). Reported by Drew Adams.
14529
3644a0ab
DU
145302011-08-17 Daiki Ueno <ueno@unixuser.org>
14531
14532 * epa-mail.el: Simplify GnuPG group expansion using
14533 epg-expand-group.
14534 (epa-mail-group-alist, epa-mail-group-modtime)
14535 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14536 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14537 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14538 Remove.
14539
5e617bc2 145402011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
14541
14542 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14543
9c4aeabf
AM
145442011-08-16 Alan Mackenzie <acm@muc.de>
14545
14546 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14547 Correct, to avoid the inside of macros.
14548
3a99bf64
RS
145492011-08-16 Richard Stallman <rms@gnu.org>
14550
04963aa8
RS
14551 * epa-mail.el: Handle GnuPG group definitions.
14552 (epa-mail-group-alist, epa-mail-group-modtime)
14553 (epa-mail-gnupg-conf-file): New variables.
14554 (epa-mail-parse-groups, epa-mail-sync-groups)
14555 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14556 (epa-mail-expand-recipients): New functions.
14557 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14558
177549d0
RS
14559 * mail/rmail.el (rmail-epa-decrypt): New command.
14560
fe38beef
RS
14561 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14562 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
14563 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14564 (epa-decrypt-armor-in-region): Make error message clearer.
14565
934eacb9
SM
145662011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14567
14568 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14569 and "a2b" to "ab" for `prefix'.
14570
d024fb4e
CY
145712011-08-14 Chong Yidong <cyd@stupidchicken.com>
14572
14573 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14574 filter groups.
de148fee
CY
14575 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14576 Fourquet (Bug#8804).
d024fb4e 14577
62f1ca49
JB
145782011-08-12 Juanma Barranquero <lekktu@gmail.com>
14579
14580 * startup.el (argi): Declare as global variable (bug#9275).
14581
9ccaaa4b
CY
145822011-08-12 Chong Yidong <cyd@stupidchicken.com>
14583
14584 * subr.el (string-mark-left-to-right): Search the entire string
14585 for RTL script, not just the terminating character. Doc fix.
14586
a3dae87a
SM
145872011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14588
6cd18349
SM
14589 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14590 New function.
14591 (js--regexp-literal, js-syntax-propertize-function): Remove.
14592 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14593 (js-mode-map): Don't rebind electric keys.
14594 (js-insert-and-indent): Remove.
14595 (js-mode): Setup electric-layout and electric-indent instead.
14596
a3dae87a
SM
14597 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14598
9d5cb631
DU
145992011-08-12 Daiki Ueno <ueno@unixuser.org>
14600
14601 * epa.el (epa-progress-callback-function): Fix the logic of
14602 displaying progress.
14603 * epa-file.el (epa-file-insert-file-contents): Make progress
14604 display more user-friendly.
14605 (epa-file-write-region): Ditto.
14606
3e26a4a2
CY
146072011-08-10 Chong Yidong <cyd@stupidchicken.com>
14608
14609 * subr.el (string-mark-left-to-right): New function.
14610
14611 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14612 Use string-mark-left-to-right.
14613 (list-buffers-noselect): Caller changed.
14614
a3dae87a
SM
14615 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14616 Use string-mark-left-to-right.
3e26a4a2
CY
14617 (tabulated-list-print): Recenter after moving point.
14618
ac8cf6e6
JL
146192011-08-10 Juri Linkov <juri@jurta.org>
14620
14621 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14622 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14623 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14624
8d96c9a4
CY
146252011-08-09 Chong Yidong <cyd@stupidchicken.com>
14626
14627 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14628 (Bug#7554).
14629
7be1c708 146302011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
14631
14632 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14633 character. (Bug#6594)
14634
37e11a63
CY
146352011-08-08 Chong Yidong <cyd@stupidchicken.com>
14636
839dde57
CY
14637 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14638 (image-dired--with-db-file): New macro.
14639 (image-dired-write-tags, image-dired-remove-tag)
14640 (image-dired-create-gallery-lists, image-dired-write-comments)
14641 (image-dired-get-comment, image-dired-mark-tagged-files)
14642 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14643 (image-dired-gallery-generate): Use insert-file-contents.
14644
37e11a63
CY
14645 * time.el (display-time-world-list, display-time-world-display):
14646 * time-stamp.el (time-stamp-string):
14647 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14648 set-time-zone-rule (Bug#7337).
14649
0b4946c4
DU
146502011-08-08 Daiki Ueno <ueno@unixuser.org>
14651
14652 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14653 (epg-error-to-string, epg-errors-to-string): New function.
14654 (epg-wait-for-completion): Reverse errors list.
14655 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14656 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14657 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14658 (epg-sign-keys, epg-generate-key-from-file)
14659 (epg-generate-key-from-string): Format errors by using
14660 epg-errors-to-string (bug#9255).
14661 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14662
75bfc667
JL
146632011-08-07 Juri Linkov <juri@jurta.org>
14664
14665 * faces.el (list-faces-display): Remove extra angle bracket
14666 from `help-mode-map'.
14667
14668 * info.el (Info-history-toc-nodes): Doc fix.
14669
14670 * longlines.el (longlines-mode): Doc fix.
14671
673e08bb
SM
146722011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14673
4640dd88
SM
14674 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14675 of statements and in a few more cases (bug#9183).
14676
673e08bb
SM
14677 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14678 New functions.
14679 (cl-transform-lambda): Use them (bug#9239).
14680
89b3f019
MR
146812011-08-05 Martin Rudalics <rudalics@gmx.at>
14682
14683 * window.el (display-buffer-same-window)
14684 (display-buffer-same-frame, display-buffer-other-window)
14685 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14686 (pop-to-buffer-other-window)
14687 (pop-to-buffer-same-frame-other-window)
14688 (pop-to-buffer-other-frame): Make them defuns.
14689 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14690
640c8776
SM
146912011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14692
14693 * subr.el (make-composed-keymap): Move from C. Change calling
14694 convention, and improve docstring to bring attention to a subtle point.
14695 * minibuffer.el (completing-read-default): Adjust accordingly.
14696
63648a95
MA
146972011-08-03 Michael Albinus <michael.albinus@gmx.de>
14698
14699 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14700 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14701
14702 * net/trampver.el: Update release number.
14703
b796c9b7
SM
147042011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14705
14706 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14707 "in" (bug#9190).
14708
2239d7d5
LMI
147092011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14710
e07dd7c3
LMI
14711 * mail/sendmail.el (sendmail-query-once): Restore the current
14712 buffer after querying (bug#9074).
14713
0e6a2bd7
LMI
14714 * dired.el (dired-flagged): Use different faces for marked and
14715 flagged files (bug#6117).
14716
ce887515
LMI
14717 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14718 (bug#4433).
14719
92f2affc
LMI
14720 * ido.el (ido-mode): Switch off the message if called
14721 non-interactively.
14722
57d5aff0
LMI
14723 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14724 before 587, since it appears that that's more likely to work for
14725 more people.
14726
98cd6c18 14727 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 14728 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
14729 exist.
14730
b96dec83
LMI
14731 * info.el: Remove the `Info-beginning-of-buffer' function
14732 (bug#8325).
14733
b796c9b7
SM
14734 * net/network-stream.el (network-stream-open-starttls):
14735 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 14736
d90e2ea0
MR
147372011-08-01 Martin Rudalics <rudalics@gmx.at>
14738
14739 * window.el (display-buffer-in-window): Don't set dedicated status
14740 of window here (Bug#9215).
14741 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14742 (display-buffer-pop-up-side-window)
b796c9b7 14743 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 14744
cca09170
SM
147452011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14746
14747 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14748 before binding generated-autoload-file.
14749
027b979c
DD
147502011-08-01 Deniz Dogan <deniz@dogan.se>
14751
14752 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14753
3c7ee4f3
MA
147542011-07-30 Michael Albinus <michael.albinus@gmx.de>
14755
14756 Sync with Tramp 2.2.2.
14757
14758 * net/trampver.el: Update release number.
14759
2cc8e51a
JL
147602011-07-30 Juri Linkov <juri@jurta.org>
14761
14762 * dired-aux.el (dired-touch-initial): Remove function.
14763 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14764 current time, and `default' to the last modification time of the
14765 current marked file (bug#6887).
14766
a514d856
JM
147672011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14768
14769 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 14770 numeric argument to read-number (bug#9163).
a514d856 14771
8a7eddd7
MA
147722011-07-27 Michael Albinus <michael.albinus@gmx.de>
14773
14774 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14775 connection process, it could be nil.
14776
1ddd96f5
LL
147772011-07-27 Leo Liu <sdl.web@gmail.com>
14778
14779 Simplify url handling in rcirc-mode.
14780
14781 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14782 (rcirc-browse-url-at-mouse): Remove.
14783 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14784
b248a85d
AM
147852011-07-26 Alan Mackenzie <acm@muc.de>
14786
14787 Fontify bitfield declarations properly.
14788
14789 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14790 (c-symbol-chars): Now exported as a lang variable.
14791 (c-not-primitive-type-keywords): New lang variable.
14792
14793 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14794 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 14795 parsed as a bitfield declaration.
b248a85d 14796
b796c9b7
SM
14797 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14798 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
14799 (c-punctuation-in): New function.
14800 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14801 declarations properly.
14802
68575ab0
UJ
148032011-07-26 Ulf Jasper <ulf.jasper@web.de>
14804
14805 * calendar/icalendar.el (icalendar--all-events): Take care of
14806 multiple vcalendars in a single file.
b796c9b7 14807 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 14808
0f0a88b9
DD
148092011-07-25 Deniz Dogan <deniz@dogan.se>
14810
14811 * image.el (insert-image): Clarifying docstring.
14812
0b3f36df
MA
148132011-07-24 Michael Albinus <michael.albinus@gmx.de>
14814
14815 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14816 `tramp-send-command-and-check' if there is no error.
14817 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14818
a9901f61
AM
148192011-07-22 Alan Mackenzie <acm@muc.de>
14820
14821 Prevent cc-langs.elc being loaded at run time.
14822
14823 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14824 cc-langs.
14825
4d61f28d 14826 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
14827 "(require 'cc-langs)". Quote a form so it will evaluate at
14828 (cc-mode's) compilation time.
14829
11d074b2
MA
148302011-07-22 Michael Albinus <michael.albinus@gmx.de>
14831
14832 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14833 loading. (Bug#9114)
14834
938b94c8
MR
148352011-07-21 Martin Rudalics <rudalics@gmx.at>
14836
14837 * window.el (display-buffer-pop-up-window)
14838 (display-buffer-pop-up-side-window)
14839 (display-buffer-in-side-window): Call display-buffer-set-height
14840 and display-buffer-set-width after setting the new window's
b796c9b7 14841 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 14842
bfa4f190
SS
148432011-07-20 Sam Steingold <sds@gnu.org>
14844
14845 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14846 (etags-tags-included-tables): Call `convert-standard-filename' on
14847 the file names contained in TAGS so that windows Emacs can handle
14848 TAGS files created by cygwin ctags.
14849
8ca42262
LMI
148502011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14851
14852 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14853 which apparently didn't work.
14854
5db2afd2 148552011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 14856
5db2afd2
RW
14857 * proced.el (proced-send-signal): For *Marked Processes* buffer
14858 put point at beginning of buffer.
14859
92e15d10
SB
148602011-07-19 Stephen Berman <stephen.berman@gmx.net>
14861
14862 * proced.el (proced-format): Make header lines align with the text
14863 (bug#1779).
14864
1bfd59e5
LMI
148652011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14866
14867 * view.el (view-buffer): Allow running in `special' modes if we're
14868 visiting a file (bug#8615).
14869
f5aae37c
MR
148702011-07-19 Martin Rudalics <rudalics@gmx.at>
14871
14872 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
14873 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14874 New functions.
f5aae37c
MR
14875 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14876 more accurately.
14877
bf2c1571
AM
148782011-07-18 Alan Mackenzie <acm@muc.de>
14879
14880 Fontify declarators properly when, e.g., a jit-lock chunk begins
14881 inside a declaration.
14882
14883 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14884
b796c9b7
SM
14885 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14886 New function.
bf2c1571
AM
14887 (c-complex-decl-matchers): Insert reference to
14888 c-font-lock-enclosing-decls.
14889
14890 * progmodes/cc-engine.el (c-backward-single-comment):
14891 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14892 to nil around calls to (forward-comment -1).
14893
4e190b80
LMI
148942011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14895
12dc863d
LMI
14896 * image.el (put-image): Doc typo fix.
14897
a762e966
LMI
14898 * progmodes/etags.el (tags-search): Doc typo fix.
14899
4e190b80
LMI
14900 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14901 password if we get errors 550 to 554.
14902
f019fb21
LMI
149032011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14904
b796c9b7 14905 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 14906
81746738
LMI
14907 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14908 indentation character (bug#6380).
14909
3ee3a1b5
LMI
14910 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14911
c82f64de
LMI
14912 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14913 to clarify what the problem is (bug#4291).
14914
f019fb21
LMI
14915 * simple.el (current-kill): Clarify what
14916 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
14917 (auto-fill-mode): Document `auto-fill-function' in relation to
14918 `auto-fill-mode' (bug#2470).
f019fb21 14919
0794775d
LM
149202011-07-16 Lawrence Mitchell <wence@gmx.li>
14921
14922 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14923 method if slot is read-only (bug#9035).
14924
be39b8cc
MR
149252011-07-16 Martin Rudalics <rudalics@gmx.at>
14926
b796c9b7 14927 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 14928 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
14929 selected before, see discussion of (Bug#8615), (Bug#6954).
14930 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 14931
6ccf7859
GM
149322011-07-15 Glenn Morris <rgm@gnu.org>
14933
14934 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 14935 Respect help-form.
6ccf7859 14936
87e86684
LM
149372011-07-09 Lawrence Mitchell <wence@gmx.li>
14938
14939 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14940 (gnutls-negotiate): Use it.
14941
d6066239
LMI
149422011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14943
b796c9b7
SM
14944 * net/gnutls.el (gnutls-negotiate):
14945 Upcase `gnutls-algorithm-priority'.
d6066239 14946
bd23ebc0
GM
149472011-07-15 Glenn Morris <rgm@gnu.org>
14948
c65bca65
GM
14949 * jka-compr.el (jka-compr-verbose): Move from here...
14950 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14951 Add missing :version tag.
14952 * info.el: No need to require jka-compr when compiling.
bd23ebc0 14953
478615cc
LMI
149542011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14955
7b41decb
LMI
14956 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14957 (gnutls-negotiate): Use it.
14958
dbc44fcd
LMI
14959 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14960
06789f97
LMI
14961 * info.el (Info-beginning-of-buffer): New command.
14962 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14963 announcing `b' as the key (bug#8325).
ab896c37 14964 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 14965
c39da690
LMI
14966 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14967
3aa5f34b
LMI
14968 * international/mule-cmds.el
14969 (describe-specified-language-support): Make the error message
14970 clearer (bug#8905).
14971
4bf0979f
LMI
14972 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14973
478615cc
LMI
14974 * isearch.el (isearch-barrier): Add a doc string, since it's
14975 mentioned in a function doc string (bug#8678).
14976
75c68aa1
MR
149772011-07-15 Martin Rudalics <rudalics@gmx.at>
14978
14979 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14980 buffer argument (Bug#9083) and self-identifying label argument.
14981
a7c33da2
GM
149822011-07-15 Glenn Morris <rgm@gnu.org>
14983
14984 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14985
2f5c6024
LMI
149862011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14987
14988 * man.el (Man-fontify-manpage): Fix message when formatting the
14989 man page (bug#7929).
14990
0bb23927 149912011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
14992
14993 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14994 argument LRM; if non-nil, append an invisible LRM character to the
14995 buffer name.
14996 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14997 last argument non-nil, when formatting buffer names.
0bb23927
EZ
14998 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14999 paragraph direction.
cce4b0a7 15000
621ef9ab
LMI
150012011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15002
d1583c48
LMI
15003 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15004 the man page name (bug#7929).
15005
6a57fb5f
LMI
15006 * image.el (put-image): Mention the `put-image' overlay property
15007 (bug#7834).
15008
d7956b14
LMI
15009 * scroll-bar.el (set-scroll-bar-mode): Mention that
15010 `scroll-bar-mode' lists the values (bug#7772).
15011
5b2d4a66
LMI
15012 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15013 command (bug#7729).
15014
7509a874
LMI
15015 * rect.el (apply-on-rectangle): Return the point after the last
15016 operation.
15017 (string-rectangle): Go to the point after the last operation
15018 (bug#7522).
15019
4fe74b19
LMI
15020 * printing.el (pr-toggle-region): Clarify the documentation
15021 slightly (bug#7493).
15022
b796c9b7
SM
15023 * time.el (display-time-update):
15024 Allow `display-time-mail-function' to return nil (bug#7158).
15025 Fix suggested by Detlev Zundel.
ab283561 15026
fc233c9d
LMI
15027 * vc/diff.el (diff): Clarify the order the file names are read
15028 (bug#7111).
15029
43f5740b
LMI
15030 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15031 the doc string (bug#7015).
15032
f2182a76
LMI
15033 * font-lock.el (font-lock-maximum-decoration): Mention what
15034 numeric levels mean (bug#6935).
15035
621ef9ab
LMI
15036 * startup.el (initial-buffer-choice): Don't mention the `none'
15037 selection, which is against policy.
15038
adc47434
MR
150392011-07-14 Martin Rudalics <rudalics@gmx.at>
15040
b796c9b7
SM
15041 * window.el (display-buffer-normalize-special):
15042 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 15043
7e5bfb8f
EZ
150442011-07-14 Eli Zaretskii <eliz@gnu.org>
15045
15046 * subr.el (version<, version<=, version=): Mention "-CVS" and
15047 "-12345" alpha version numbers.
15048
27fa387a
CY
150492011-07-14 Chong Yidong <cyd@stupidchicken.com>
15050
15051 * bindings.el: Add advertised binding for set-mark-command
15052 (Bug#5772).
15053
8bdfa064
CY
150542011-07-14 Chong Yidong <cyd@stupidchicken.com>
15055
15056 * bindings.el (mode-line-other-buffer):
15057 * bookmark.el (bookmark-bmenu-2-window):
15058 * bs.el (bs-cycle-next, bs-cycle-previous):
15059 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15060 switch-to-buffer.
15061
15062 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 15063 Delete.
8bdfa064 15064
5eba16a3
JB
150652011-07-14 Juanma Barranquero <lekktu@gmail.com>
15066
15067 * follow.el (follow-debug-message, follow-redisplay):
15068 * jka-cmpr-hook.el (with-auto-compression-mode):
15069 Fix typos in docstrings.
15070
15853710
LMI
150712011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15072
a28e4607
LMI
15073 * subr.el (with-silent-modifications): Clarify somewhat what the
15074 macro inhibits (bug#6525).
15075
15853710
LMI
15076 * simple.el (eval-expression): Note what it does if called
15077 interactively (bug#6495).
15078
bee0fcef
CY
150792011-07-13 Chong Yidong <cyd@stupidchicken.com>
15080
b796c9b7
SM
15081 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15082 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
15083
15084 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15085 Remove switch-to-buffer.
15086
58274504
LMI
150872011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15088
bd2fcc8d
LMI
15089 * files.el (make-directory): Clarify that an error will be raised
15090 if there's an error (bug#6397).
15091
0f04b32c
LMI
15092 * startup.el (initial-buffer-choice): Add `none' as a choice
15093 (bug#6234).
15094
465c5fc8
LMI
15095 * subr.el (add-hook): Clarify section about buffer-local hooks
15096 (bug#6218).
15097
58274504
LMI
15098 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15099
bead9a43
JB
151002011-07-13 Juanma Barranquero <lekktu@gmail.com>
15101
15102 * tabify.el (untabify): Preserve the current column so that point
15103 doesn't move (bug#6032).
15104
3af98a7b
LMI
151052011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15106
b796c9b7
SM
15107 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15108 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 15109
6240145a
GM
151102011-07-13 Glenn Morris <rgm@gnu.org>
15111
15112 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15113 (dired-insert-directory): Give a message the first time
15114 if ls is found not to support --dired.
15115
1d8c2ccc
LMI
151162011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15117
15118 * simple.el (toggle-truncate-lines): Clarify what is toggled
15119 (bug#5580). Text by Drew Adams.
15120
5fc4038e
CY
151212011-07-13 Chong Yidong <cyd@stupidchicken.com>
15122
15123 * simple.el (blink-matching-open): Make the error message from the
15124 last change less verbose.
15125
bf6012e5
DN
151262011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15127
15128 * font-lock.el (font-lock-comment-face): Use the high contrast
15129 "yellow" color for font-lock-comment-face on low color terminals
15130 using a dark background color (bug#4221).
15131
343c3b5a
LMI
151322011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15133
7e9505c5
LMI
15134 * dired.el (dired-insert-set-properties): Make the doc string
15135 reflect what it does now (bug#5325).
15136
c26fdcf5
LMI
15137 * simple.el (blink-matching-open): Say that we were unable to find
15138 the match within the limit, if we're limited (bug#5122).
15139
bb388cc5
LMI
15140 * international/mule-cmds.el (prefer-coding-system): Add an
15141 example (bug#4869).
15142
343c3b5a
LMI
15143 * progmodes/etags.el (tags-search): Document `file-list-form'
15144 (bug#4731).
15145
2a517d45
LM
151462011-07-13 Lawrence Mitchell <wence@gmx.li>
15147
15148 * net/browse-url.el (browse-url-default-browser)
15149 (browse-url-browser-function): Make the default browser choice a
15150 bit more logical (bug#4300). Also clean up the doc string.
15151
b6c78ef2
JB
151522011-07-13 Juanma Barranquero <lekktu@gmail.com>
15153
15154 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15155 binary endings (bug#4440).
15156
1c4dd947
LMI
151572011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15158
a2014063
LMI
15159 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15160 which can be pretty annoying (bug#8971).
15161
9c9c2d88
LMI
15162 * jka-compr.el (jka-compr-verbose): New variable, and use
15163 throughout (bug#8971).
15164
1c4dd947
LMI
15165 * info.el (Info-find-file): Fall back on the installation
15166 directory if we can't find the info node anywhere else.
15167
a1c9f41b
SO
151682011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15169
15170 * vc/vc.el (vc-revert-file):
15171 Don't set file time-stamp in the past. (Bug#5181)
15172
536f3d36
LMI
151732011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15174
7152b011
LMI
15175 * files.el (after-find-file): Give a better error message when
15176 trying to find a symlink that points to a file that doesn't exist
15177 (bug#4398).
15178
536f3d36
LMI
15179 * progmodes/cc-vars.el: Remove (probably) misleading comment
15180 (bug#4396).
15181
460c0fba
JB
151822011-07-12 Johan Bockgård <bojohan@gnu.org>
15183
15184 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15185
7a6bda45
CY
151862011-07-12 Chong Yidong <cyd@stupidchicken.com>
15187
15188 * mouse-sel.el: Hack restoring functionality, while keeping
15189 compatibility with 2010-07-03 changes to mouse selection.
15190 (mouse-sel-primary-overlay): New var.
15191 (mouse-sel-selection-alist): Use it.
15192 (mouse-sel-mode): Doc fix; remove points that are default features
15193 of mouse.el.
15194
c79598ef
JB
151952011-07-12 Johan Bockgård <bojohan@gnu.org>
15196
15197 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15198 Fix previous fix (bug#2490).
15199
ff8be6ef
RW
152002011-07-12 Roland Winkler <winkler@gnu.org>
15201
b796c9b7
SM
15202 * textmodes/bibtex.el (bibtex-initialize):
15203 Use pop-to-buffer-same-window.
ff8be6ef
RW
15204 (bibtex-search-entries): Fix interactive call.
15205
296ba3ee
LMI
152062011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15207
f5242a02 15208 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
15209 Fontise bytecomp Error lines more correctly (bug#2490).
15210 Fix suggested by Johan Bockgård.
f5242a02 15211
296ba3ee
LMI
15212 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15213
15214 * dired-x.el (dired-guess-default): Use `delete-dups'.
15215
f69fd0d2
CY
152162011-07-12 Chong Yidong <cyd@stupidchicken.com>
15217
15218 * dired.el (dired-mark-prompt):
15219 * dired-aux.el (dired-read-shell-command): Doc fix.
15220
eab5dc07
LMI
152212011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15222
b796c9b7
SM
15223 * mail/sendmail.el (sendmail-query-once):
15224 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
15225 emacs -Q.
15226
15227 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15228
eab5dc07
LMI
15229 * cus-edit.el (custom-file): Take an optional no-error variable.
15230 (customize-save-variable): Set the variable, and give a warning if
15231 running under "emacs -q".
15232
a1e65d42
JB
152332011-07-11 Juanma Barranquero <lekktu@gmail.com>
15234
15235 * loadhist.el (unload-feature-special-hooks):
15236 Add `auto-coding-functions', `fill-nobreak-predicate' and
15237 `find-directory-functions' (bug#5327).
15238
1d52da10
LMI
152392011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15240
be958f1d
LMI
15241 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15242
5bedb26c
LMI
15243 * cus-edit.el (custom-guess-name-alist): -alist variables should
15244 use the `alist' type (bug#3120). Suggested by Drew Adams.
15245
1d52da10
LMI
15246 * printing.el: Add documentation to all the `pr-toggle-' commands.
15247
cd394be1 152482011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
15249
15250 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15251 backends where it makes sense (bug#2623).
15252
dcc88d8a
LMI
152532011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15254
c3de9feb
LMI
15255 * dired-x.el (dired-guess-default): Remove duplicate shell command
15256 entries (bug#2028).
8a93078b 15257 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 15258 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 15259
dcc88d8a
LMI
15260 * subr.el (remove-duplicates): New conveniency function.
15261
505e3645
LMI
152622011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15263
15264 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15265 (bug#1526).
15266
152672011-07-10 Martin Rudalics <rudalics@gmx.at>
15268
15269 * window.el (display-buffer-normalize-default): Don't invert
15270 meaning of even-window-heights. Reported by Eli Zaretskii
15271 <eliz@gnu.org>.
15272
455e4fa1
BR
152732011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15274
15275 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15276
8e0bc3e9
CY
152772011-07-10 Chong Yidong <cyd@stupidchicken.com>
15278
15279 * window.el (display-buffer): Fix arguments to
15280 display-buffer-reuse-window in last change.
15281
fa7c3228
CY
15282 * faces.el (link): Use a less saturated blue on light backgrounds.
15283
15284 * startup.el (fancy-startup-text, fancy-about-text)
15285 (fancy-startup-tail): Use font-lock faces, for background safety.
15286
c0a7f300
BN
152872011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15288
b796c9b7
SM
15289 * emulation/viper-cmd.el (viper-change-state-to-vi):
15290 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 15291
4dc2a129
MR
152922011-07-09 Martin Rudalics <rudalics@gmx.at>
15293
15294 * window.el (display-buffer-default-specifiers): Remove.
15295 (display-buffer-macro-specifiers): Remove default specifiers.
15296 (display-buffer-alist): Default to nil.
b796c9b7 15297 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
15298 (display-buffer-pop-up-window): Allow splitting internal
15299 windows. Check whether a live window was created.
15300 (display-buffer-other-window-means-other-frame)
15301 (display-buffer-normalize-arguments): Rename to
15302 display-buffer-normalize-argument and rewrite. Set the
15303 other-window specifier.
15304 (display-buffer-normalize-special): New function.
15305 (display-buffer-normalize-options): Rename to
15306 display-buffer-normalize-default and rewrite.
15307 (display-buffer-normalize-options-inhibit): Remove.
15308 (display-buffer-normalize-specifiers): Rewrite.
15309 (display-buffer): Process other-window specifier and call
15310 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15311 more faithfully.
b796c9b7 15312 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 15313 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
15314 (display-buffer-in-window, display-buffer-alist-set):
15315 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
15316 <tassilo@member.fsf.org>.
15317
2d43b8c9
LL
153182011-07-09 Leo Liu <sdl.web@gmail.com>
15319
15320 * register.el (insert-register): Restore accidental change on
15321 2011-06-26. (Bug#9028)
15322
7f9b7c53
GM
153232011-07-09 Glenn Morris <rgm@gnu.org>
15324
15325 * subr.el (remq): Handle the empty list. (Bug#9024)
15326
f042cfd8
AS
153272011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15328
15329 * mail/sendmail.el (send-mail-function): No longer delay custom
15330 initialization.
15331 * custom.el (custom-initialize-delay): Doc fix.
15332
856b2f11
SM
153332011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15334
15335 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15336
afae1d68
MA
153372011-07-08 Michael Albinus <michael.albinus@gmx.de>
15338
15339 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15340 human-friendly prompt.
15341
0757af94
SM
153422011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15343
15344 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15345 provided by a particular plugin.
15346
d760b731
LMI
153472011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15348
15349 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15350 save customizations (with "emacs -Q"), just set the variable
15351 instead of erroring out.
15352
15353 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15354
cd79ce90
JL
153552011-07-08 Juri Linkov <juri@jurta.org>
15356
15357 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15358 (archive-zip-update-case): Use 7z if found by `executable-find'.
15359 The order of searching the available programs is the same as in
15360 `archive-zip-extract' (bug#8968).
15361
14cc04aa
CY
153622011-07-07 Chong Yidong <cyd@stupidchicken.com>
15363
15364 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15365 (menu-bar-options-menu): Tweak descriptions.
15366
0a1848ec
LMI
153672011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15368
15369 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15370 menu items into verb phrases (bug#1421). Also refill to fit under
15371 80 columns.
15372
f5bd0689
CY
153732011-07-07 Chong Yidong <cyd@stupidchicken.com>
15374
538e85c6
CY
15375 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15376 (Info-read-node-name): Doc fix (Bug#1084).
15377
f5bd0689
CY
15378 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15379 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15380 (end-of-sexp, beginning-of-sexp)
15381 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15382 (forward-symbol, forward-same-syntax, word-at-point)
15383 (sentence-at-point): Doc fix (Bug#1144).
15384
56ec5115
LMI
153852011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15386
f3f8e37f
LMI
15387 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15388 should cover it (bug#1281).
15389
0757af94 15390 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 15391
e9fce1ac 15392 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
15393 negotiation fails, then possibly try again with a non-encrypted
15394 connection (bug#9017).
15395
56ec5115
LMI
15396 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15397 be used.
15398
c2f9aec8
RS
153992011-07-07 Richard Stallman <rms@gnu.org>
15400
15401 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15402 property, and handle its changed format.
15403 Look for the correct line number.
15404 Use file's line contents (but not past first =) to find
15405 correct line in message.
15406
ef7b981d 154072011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
15408
15409 * international/characters.el (build-unicode-category-table):
15410 Delete it.
0757af94 15411 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 15412
0757af94 15413 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
15414 to src/chartab.c.
15415 (get-char-code-property): Call unicode-property-table-internal to
15416 load a file. Call get-unicode-property-internal where necessary.
15417 (put-char-code-property): Call unicode-property-table-internal to
15418 load a file. Call put-unicode-property-internal where necessary.
15419 put-unicode-property-internal where necessary.
0757af94
SM
15420 (char-code-property-description):
15421 Call unicode-property-table-internal to load a file.
c805dec0
KH
15422
15423 * international/charprop.el:
15424 * international/uni-bidi.el:
15425 * international/uni-category.el:
15426 * international/uni-combining.el:
15427 * international/uni-comment.el:
15428 * international/uni-decimal.el:
15429 * international/uni-decomposition.el:
15430 * international/uni-digit.el:
15431 * international/uni-lowercase.el:
15432 * international/uni-mirrored.el:
15433 * international/uni-name.el:
15434 * international/uni-numeric.el:
15435 * international/uni-old-name.el:
15436 * international/uni-titlecase.el:
15437 * international/uni-uppercase.el: Regenerate.
15438
15439 * loadup.el: Load international/charprop.el before
15440 international/characters.
15441
e14b388a
CY
154422011-07-07 Chong Yidong <cyd@stupidchicken.com>
15443
15444 * window.el (next-buffer, previous-buffer): Signal an error if
15445 called from a minibuffer window.
15446
15447 * bindings.el: Revert 2011-07-04 change.
15448
354cf0ba
RS
154492011-07-06 Richard Stallman <rms@gnu.org>
15450
15451 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15452 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15453 Treat markers like ints.
15454 (rmail-mime-entity): Doc fix.
15455
a48868a7
LMI
154562011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15457
4906cd3d
LMI
15458 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15459 defcustom again for backwards compatibility.
15460
e0457abe
LMI
15461 * simple.el (shell-command-on-region): Fill.
15462
d67f7e1f
LMI
15463 * dired-aux.el (dired-kill-line): Add a doc string.
15464
fe204702
LMI
15465 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15466 to "\\sw\\|\\s_" (bug#358).
15467
a48868a7
LMI
15468 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15469 (dired-unmark-backward): Ditto.
15470 (dired-flag-backup-files): Ditto.
15471
15472 * dired-x.el (dired-mark-sexp): Ditto.
15473
aa8a705c
RS
154742011-07-06 Richard Stallman <rms@gnu.org>
15475
15476 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15477 (rmail-mime-entity): New arg TRUNCATED.
15478 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15479 New functions.
15480 (rmail-mime-save): Warn if entity is truncated.
15481 (rmail-mime-toggle-hidden): Likewise, for showing.
15482 (rmail-mime-process-multipart): Record when an entity is truncated.
15483
a9a936b9
RS
15484 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15485 if ENTITY is a string.
15486
1f2b92cb
LMI
154872011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15488
f4f73198 15489 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
15490 of faces when `M-C-x'-ing their definitions (bug#8378).
15491 Also clean up the code slightly.
f4f73198 15492
12b16734 15493 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 15494 because that makes the colors go away.
12b16734 15495
f0691d22
LMI
15496 * mail/sendmail.el (send-mail-function): Change the default to
15497 `sendmail-query-once'.
9e87df06 15498 (sendmail-query-once): Add an autoload cookie.
f0691d22 15499
1f2b92cb
LMI
15500 * net/network-stream.el (network-stream-open-starttls): Try using
15501 a plain connection even if the server offered STARTTLS, and we
15502 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15503 capability. This should make smtpmail.el work in slightly more
15504 configurations.
15505
1cdd2a1b
MA
155062011-07-06 Michael Albinus <michael.albinus@gmx.de>
15507
15508 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15509 New defun.
15510 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15511
fbcc67e2
MM
155122011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15513
15514 * progmodes/sql.el: Version 3.0
0757af94 15515 (sql-product-alist): Add product :completion-object,
fbcc67e2 15516 :completion-column, and :statement attributes.
0757af94 15517 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 15518 (sql-mode-syntax-table): Mark all punctuation.
0757af94 15519 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
15520 ansi keywords.
15521 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 15522 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
15523 (sql-oracle-show-reserved-words): New function for development.
15524 (sql-product-font-lock): Simplify for source code buffers.
15525 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15526 New functions.
15527 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
15528 (sql-mode-map): Add statement movement functions.
15529 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15530 New variable.
fbcc67e2
MM
15531 (sql-statement-regexp, sql-beginning-of-statement)
15532 (sql-end-of-statement, sql-signum): New functions.
0757af94 15533 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
15534 (sql-show-sqli-buffer): Bug fix.
15535 (sql-interactive-mode): Store connection data as buffer local.
0757af94 15536 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
15537 with sql-interactive-mode.
15538 (sql-save-connection): Save buffer local settings.
0757af94 15539 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
15540 (sql-product-interactive): Bug fix.
15541 (sql-preoutput-hold): New variable.
15542 (sql-interactive-remove-continuation-prompt): Bug fixes.
15543 (sql-debug-redirect): New variable.
15544 (sql-str-literal): New function.
15545 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 15546 Redesign.
fbcc67e2
MM
15547 (sql-oracle-save-settings, sql-oracle-restore-settings)
15548 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15549 (sql-completion-object, sql-completion-column)
15550 (sql-completion-sqlbuf): New variables.
15551 (sql-build-completions-1, sql-build-completions)
15552 (sql-try-completion): New functions.
15553 (sql-read-table-name): Use them.
15554 (sql-contains-names): New buffer local variable.
15555 (sql-list-all, sql-list-table): Use it.
15556 (sql-oracle-completion-types): New variable.
15557 (sql-oracle-completion-object, sql-sqlite-completion-object)
15558 (sql-postgres-completion-object): New functions.
15559
d4eaeab1
GM
155602011-07-06 Glenn Morris <rgm@gnu.org>
15561
15562 * window.el (pop-to-buffer): Doc fix.
15563
322b7dab 155642011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
15565
15566 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15567
322b7dab 155682011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 15569
322b7dab 15570 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 15571
322b7dab 15572 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 15573
605dd5bf
CY
155742011-07-05 Chong Yidong <cyd@stupidchicken.com>
15575
15576 * button.el (button): Inherit from link face. Suggested by Dan
15577 Nicolaescu.
15578
7dbfa719
SM
155792011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15580
3db614b0
SM
15581 * progmodes/gdb-mi.el: Fit in 80 columns.
15582 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15583 switch-to-buffer.
15584
7dbfa719
SM
15585 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15586 if imenu is simply not configured (bug#8941).
15587
919d884a
KM
155882011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15589
15590 * allout.el (allout-post-undo-hook): New allout outline-change
15591 event hook to signal undo activity.
15592 (allout-post-command-business): Run allout-post-undo-hook if an
15593 undo just occurred.
7dbfa719
SM
15594 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15595 * allout-widgets.el (allout-widgets-after-undo-function):
15596 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
15597 in the vicinity of an undo.
15598 (allout-widgets-mode): Include allout-widgets-after-undo-function
15599 on the new allout-post-undo-hook.
15600
450a0f09
SM
156012011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15602
15603 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15604 Let define-derived-mode define it.
15605 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15606 cycles of abbrev-table inheritance (bug#8998).
15607
2de69e00
RW
156082011-07-05 Roland Winkler <winkler@gnu.org>
15609
15610 * textmodes/bibtex.el: Add support for biblatex.
15611 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15612 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15613 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15614 (bibtex-entry-alist, bibtex-field-alist): New variables.
15615 (bibtex-entry-field-alist): Obsolete alias for
15616 bibtex-BibTeX-entry-alist.
15617 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15618 (bibtex-set-dialect): New command.
15619 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
15620 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15621 Bind via bibtex-set-dialect.
2de69e00
RW
15622 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15623 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15624 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15625 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15626 Define via bibtex-set-dialect.
450a0f09
SM
15627 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15628 Obey bibtex-no-opt-remove-re.
2de69e00
RW
15629 (bibtex-vec-push, bibtex-vec-incr): New functions.
15630 (bibtex-format-entry, bibtex-field-list)
15631 (bibtex-print-help-message, bibtex-validate)
15632 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15633
2dcdbdd9
SM
156342011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15635
15636 * progmodes/compile.el (compilation-goto-locus):
15637 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15638 * bs.el (bs-cycle-next, bs-cycle-previous):
15639 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15640 * bindings.el (mode-line-other-buffer):
15641 * autoinsert.el (auto-insert):
15642 * arc-mode.el (archive-extract):
15643 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15644
b27640fe
JB
156452011-07-05 Juanma Barranquero <lekktu@gmail.com>
15646
15647 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15648 Fix check of `emacs-lock-unlockable-modes'.
15649 Coerce true values of `emacs-lock--try-unlocking' to t.
15650
53bbe3ad
JB
156512011-07-05 Juanma Barranquero <lekktu@gmail.com>
15652
15653 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15654 * emacs-lock.el: New file.
15655
1d3cdbc7
JD
156562011-07-05 Julien Danjou <julien@danjou.info>
15657
15658 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15659 than `boundp' to check if face is set.
15660
9173deec
JB
156612011-07-05 Juanma Barranquero <lekktu@gmail.com>
15662
15663 * register.el (registerv-make):
15664 * window.el (window-min-height): Fix typos in docstrings.
15665
869795d6
JD
156662011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15667
9173deec 15668 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
15669 Update doc string.
15670
b768cdcd
JB
156712011-07-04 Juanma Barranquero <lekktu@gmail.com>
15672
15673 * server.el (server-execute): Catch quit and call
15674 `server-return-error' to pass the error back to emacsclient and
15675 close the connection (bug#8942).
15676
13aa217b
KM
156772011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15678
15679 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15680 insecure exception for current topic. Also note that auto-saves
15681 are handled differently.
15682
5d3385a0 15683 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
15684 State variables for tracking auto-save inhibition situation.
15685
15686 (allout-write-contents-hook-handler): Rename from
15687 'allout-write-file-hook-handler', and describe how it depends on
15688 write-contents-functions sensitivity to non-nil value to prevent
15689 file write.
15690
15691 (allout-auto-save-hook-handler): Remove. auto-save does not check
15692 this in individual buffers, only in the starting buffer, so this
15693 is not the right way for us to inhibit auto-save in a buffer
15694 according to its condition.
15695
15696 (allout-mode): Use new allout-write-contents-hook-handler, and
15697 only with write-contents-functions. Remove auto-save provisions -
15698 they're implemented elsewhere.
15699
15700 (allout-before-change-handler): If undo is in progress, note that
15701 for attention of allout-post-command-business.
15702
15703 (allout-post-command-business): If the command we're following was
15704 an undo, check for change in the status of encrypted items and
15705 adjust auto-save inhibitions accordingly.
15706
15707 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15708 according to whether there are or aren't any plain-text topics
15709 pending encryption.
15710
2dcdbdd9 15711 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
15712 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15713 if there are plain-text topics pending encryption.
13aa217b
KM
15714
15715 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15716 buffer-saved-size and some allout state to not inhibit auto-saves
15717 if there are no longer any plain-text topics pending encryption.
15718
0757af94
SM
15719 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15720 No longer provide for exemption of the current topic.
13aa217b 15721
ac89b32c
JL
157222011-07-04 Juri Linkov <juri@jurta.org>
15723
15724 Add 7z operations to delete and save changed members (bug#8968).
15725 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15726 New defcustoms.
15727 (archive-7z-write-file-member): New function.
15728 (archive-7z-summarize): Fix the number of dashes in the
15729 listing output.
15730
8fa39615
SM
157312011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15732
15733 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15734 (bug#8958).
15735
2f11b3f1
CY
157362011-07-04 Chong Yidong <cyd@stupidchicken.com>
15737
d66fef2b
CY
15738 * bindings.el: Ignore next-buffer and previous-buffer in
15739 minibuffer-local-map.
15740
2f11b3f1
CY
15741 * font-lock.el (font-lock-builtin-face): Change light background
15742 color to dark slate blue (Bug#6693).
15743
f932a347
WD
157442011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15745
15746 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15747
c8af70e1
SM
157482011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15749
15750 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15751 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15752 Add switch-to-buffer.
15753
f158badc
LMI
157542011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15755
15756 * isearch.el (isearch-search-fun-function): Clarify further the
15757 meaning of the function returned.
15758
6d95bd46
MA
157592011-07-04 Michael Albinus <michael.albinus@gmx.de>
15760
15761 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15762
15763 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15764 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15765 Use it.
15766 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15767 `tramp-default-remote-path' does not exist.
15768 (tramp-send-command-and-read): New optional argument NOERROR.
15769 (tramp-open-connection-setup-interactive-shell)
15770 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15771 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15772 (tramp-process-sentinel): Flush also process' connection property.
15773 (tramp-sh-handle-start-file-process): Do not set process
15774 sentinel. It is done now ...
15775 (tramp-maybe-open-connection): ... here. (Bug#8929)
15776
909e6b67
MK
157772011-07-04 MON KEY <monkey@sandpframing.com>
15778
15779 * play/animate.el (animate-string): Doc fixes and allow changing
15780 the buffer name (bug#5417).
15781
157822011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15783
c8af70e1 15784 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 15785
f34755dc
PE
157862011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15787
396cec72
PE
15788 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15789 This is simpler and helps future-proof the code.
15790 (timer-until): Use time-subtract and float-time.
08235028 15791 (timer--time-less-p): Use time-less-p.
f34755dc 15792
56e6cc31
JB
157932011-07-04 Juanma Barranquero <lekktu@gmail.com>
15794
3abb79e5
JB
15795 * type-break.el (timep): Use the value of `float-time' to avoid a
15796 byte-compiler warning.
15797
56e6cc31
JB
15798 * server.el (server-eval-and-print): Return any result, even nil.
15799
7b9430b4
PE
158002011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15801
15802 * type-break.el: Accept time formats that the builtins accept.
15803 (timep, type-break-time-difference): Accept any format that
15804 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15805 This is simpler and helps future-proof the code.
15806 (type-break-time-difference): Round rather than ignoring
15807 subseconds components.
15808
3034e9e7
LMI
158092011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15810
15811 * info.el (Info-apropos-matches): Make non-interactive, since it
15812 doesn't seem to do anything useful as a command (bug#8829).
15813
1485f4c0
CY
158142011-07-03 Chong Yidong <cyd@stupidchicken.com>
15815
15816 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 15817 Move from faces.el.
1485f4c0
CY
15818 (frame-default-terminal-background): New function.
15819
15820 * custom.el (custom-push-theme): Don't record faces in `changed'
15821 theme; this doesn't work correctly for per-frame face settings.
15822 (disable-theme): Use face-set-after-frame-default to reset faces.
15823 (custom--frame-color-default): New function.
15824
9fa3dd45
LMI
158252011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15826
c8af70e1 15827 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
15828 (bug#8769).
15829
6cbbc20c
KR
158302011-03-29 Kevin Ryde <user42@zip.com.au>
15831
15832 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15833 `perl-Test2' extend to match possible "fail #N" rep count
15834 (bug#8377).
15835
c7f98048
LMI
158362011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15837
65676592
LMI
15838 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15839 `smtpmail-via-smtp' now returns the error instead of nil.
15840
c7f98048
LMI
15841 * isearch.el (isearch-search-fun-function): Clarify the doc string
15842 (bug#8101).
15843
56e6cc31 158442011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
15845
15846 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15847 unnecessary spaces (bug#8987).
15848
2b216704
LMI
158492011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15850
15851 * net/network-stream.el (open-network-stream): Use the
15852 :end-of-capability command thoughout.
15853
158542011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15855
15856 * net/network-stream.el (open-network-stream): Add the
15857 :end-of-capability command parameter, used by pop3.el.
15858
36adf6ce
LMI
158592011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15860
1ca0da0e
LMI
15861 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15862
fc00f69c
LMI
15863 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15864 for list)" (bug#6475).
15865
28fd8759 15866 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 15867 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
15868 an error (bug#6297).
15869
0dd8b6da
LMI
15870 * man.el (Man-reference-regexp): Allow matching possible
15871 word-wrapped references (bug#6289).
15872
ce1438d6
LMI
15873 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15874 for consistency with the other vc buffers (bug#6197).
15875 (vc-checkin): Ditto.
15876
15877 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15878
36adf6ce
LMI
15879 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15880
e83cc1f7
LMI
158812011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15882
8a20ca4c
LMI
15883 * custom.el (defcustom): Clarify that :set is only used in the
15884 Customize user interface (bug#6089).
15885
83319045
LMI
15886 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15887 associated with a file, refuse to run instead of erroring out
15888 (bug#6084).
15889
a8392169
LMI
15890 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15891 the doc string, since it appears that using `fill-column' always
15892 controls the width (bug#7845).
15893
e83cc1f7
LMI
15894 * simple.el (shell-command-on-region): Say where the error output
15895 went if `shell-command-default-error-buffer' is set (bug#6857).
15896
e47ca23b
KM
158972011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15898
15899 * allout.el (allout-yank-processing): Adjust cursor position for
15900 backwards-deleted space.
15901
15902 (allout-rebullet-heading): Register changes with
15903 allout-exposure-changed-hook, so the modified topic is properly
15904 decorated.
15905
5cf56143
LMI
159062011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15907
08549772
LMI
15908 * minibuffer.el (completion-in-region): Document PREDICATE
15909 (bug#7136).
15910
48e96771
LMI
15911 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15912 of keyword/argument pairs (bug#6904).
15913
c8af70e1
SM
15914 * replace.el (multi-occur):
15915 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 15916
e17d05e2
LMI
159172011-07-02 Drew Adams <drew.adams@oracle.com>
15918
15919 * dired.el (dired-mark-if): Make the message about whether it's
15920 marking or unmarking clearer (bug#8523).
15921
063b0e45
LMI
159222011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15923
15924 * disp-table.el (display-table-print-array): New function.
15925 (describe-display-table): Use it to print the vectors more pretty
15926 (Bug#8859).
15927
28545e04
MR
159282011-07-02 Martin Rudalics <rudalics@gmx.at>
15929
15930 * window.el (window-state-get-1): Don't assign clone numbers.
15931 Add clone-of item to list of window parameters.
15932 (window-state-put-2): Don't process clone numbers.
15933 (display-buffer-alist): Fix doc-string.
15934
3349e122
SM
159352011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15936
15937 * subr.el (remq): Don't allocate if it's not needed.
15938 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15939 (keymap--merge-bindings): New functions.
15940 (keymap-canonicalize): Use them to refine the canonicalization.
15941 * minibuffer.el (minibuffer-local-completion-map)
15942 (minibuffer-local-must-match-map): Move initialization from C.
15943 (minibuffer-local-filename-completion-map): Move initialization from C;
15944 don't inherit from anything here.
15945 (minibuffer-local-filename-must-match-map): Make obsolete.
15946 (completing-read-default): Use make-composed-keymap to combine
15947 minibuffer-local-filename-completion-map with either
15948 minibuffer-local-must-match-map or
15949 minibuffer-local-filename-completion-map.
15950
d224ac83
GM
159512011-07-01 Glenn Morris <rgm@gnu.org>
15952
3de63bf8
GM
15953 * type-break.el (type-break-time-sum): Use dolist.
15954
d224ac83
GM
15955 * textmodes/flyspell.el (flyspell-word-search-backward):
15956 Replace CL function.
15957
1a1e3f32
SM
159582011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15959
fe3f64d5
SM
15960 * mouse.el (mouse--strip-first-event): New function.
15961 (function-key-map): Use it to map fringe clicks to normal clicks
15962 by default.
15963
eb604e34
SM
15964 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15965 (vc-bzr-revision-completion-table): Add support for annotate and date.
15966
1a1e3f32
SM
15967 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15968 inherit from parent.
15969
5bd35902
LMI
159702011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15971
ace6c69c 15972 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 15973 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 15974
191e2bed
LMI
15975 * dired.el (dired-mode): Fix up the doc string as suggested by
15976 Drew Adams (bug#8817).
15977
5bd35902
LMI
15978 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15979 cookie, since the manual says that it should be possible to add
15980 this function to `find-file-hook' (bug#8709).
15981
eee8207a
TZ
159822011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15983
15984 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15985 here. Noted Ted Zlatanov as the maintainer.
15986 (cfengine-common-settings, cfengine-common-syntax): New functions
15987 to set up common things between `cfengine-mode' and
15988 `cfengine3-mode'.
15989 (cfengine3-mode): New mode.
15990 (cfengine3-defuns cfengine3-defuns-regex
15991 (cfengine3-class-selector-regex cfengine3-category-regex)
15992 (cfengine3-vartypes cfengine3-font-lock-keywords)
15993 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 15994 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 15995
36b148cf
MA
159962011-07-01 Michael Albinus <michael.albinus@gmx.de>
15997
15998 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15999
16000 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16001
0bf4ba9a
MR
160022011-07-01 Martin Rudalics <rudalics@gmx.at>
16003
16004 * window.el (same-window-buffer-names, same-window-regexps)
16005 (same-window-p, special-display-frame-alist)
16006 (special-display-popup-frame, special-display-function)
16007 (special-display-buffer-names, special-display-regexps)
16008 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16009 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16010 (split-window-preferred-function, split-height-threshold)
16011 (split-width-threshold, even-window-heights)
16012 (display-buffer-mark-dedicated, window-splittable-p)
16013 (split-window-sensibly, window-safely-shrinkable-p):
16014 Un-obsolete.
16015 (display-buffer): Don't spread args with function specifier
16016 because special-display-popup-frame won't like it.
16017
35837f51
PE
160182011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16019
d0672f86
PE
16020 Time-stamp simplifications and fixes.
16021 These improve accuracy slightly, and future-proof the code
16022 against some potential changes to current-time format.
16023
b9444d97
PE
16024 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16025 by using time-since and float-time.
16026
0ef923dc
PE
16027 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16028 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16029 + NNN microseconds".
16030
2f81380d
PE
16031 * type-break.el (type-break-time-sum): Rewrite using time-add.
16032
845b5c3e
PE
16033 * play/hanoi.el (hanoi-current-time-float): Remove.
16034 All uses replaced by float-time.
16035
ee6f1be0
PE
16036 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16037 This yields a more-accurate answer.
16038 (rng-time-to-float): Remove; no longer needed.
16039
fe955043
PE
16040 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16041
5777162a
PE
16042 * calendar/timeclock.el (timeclock-seconds-to-time):
16043 Defalias to seconds-to-time, since they're the same thing.
16044
3103f8b6 16045 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 16046 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
16047 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16048
0e61a35f
SM
160492011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16050
16051 * window.el (bury-buffer): Don't iconify the only frame.
16052 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16053 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16054
ddd63a1e
CY
160552011-07-01 Chong Yidong <cyd@stupidchicken.com>
16056
0e61a35f
SM
16057 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16058 Add mouse-yank-primary.
ddd63a1e 16059
055f4923
TZ
160602011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16061
16062 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16063
6a2fb145
SM
160642011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16065
16066 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16067 (find-library-name): Use it to find relative load names when provided
16068 absolute file name (bug#8803).
16069
fd4983f2
LMI
160702011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16071
887d14ad
LMI
16072 * textmodes/flyspell.el (flyspell-word): Consider words that
16073 differ only in case as potential doublons (bug#5687).
16074
c53dc7fc
LMI
16075 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16076 Remove two rather uninteresting debugging-like messages to make
16077 debbugs.el more silent.
16078
fd4983f2
LMI
16079 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16080 a password-like phrase.
16081
7a71b18d 160822011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
16083
16084 * progmodes/cc-guess.el: New file.
16085
6a2fb145 16086 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
16087
16088 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16089 derived from `c-basic-common-init'.
16090
16091 * progmodes/cc-mode.el (top-level): Require cc-guess.
16092 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16093
1fa280a3
LM
160942011-06-30 Lawrence Mitchell <wence@gmx.li>
16095
16096 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16097
e6597158
AM
160982011-06-30 Alan Mackenzie <acm@muc.de>
16099
1fa280a3
LM
16100 * progmodes/cc-engine.el (c-guess-continued-construct):
16101 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
16102 lock is disabled. Name this case as "CASE G".
16103
68ba37fb
KM
161042011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16105
16106 * allout.el (allout-yank-processing): Fix injection of extra space
16107 between bullet and non-whitespace character in first topic when
16108 pasting, ensuring that the actual spacing in the pasted topic
16109 following the bullet char is preserved. This extra space was
16110 causing pasted encrypted topics to get a decrypted status even
16111 when the content was actually still encrypted. Now the decryption
16112 status from before the paste is preserved.
16113
16114 (allout-flag-region): Set all allout overlays so they evaporate
16115 when reduced to zero length (evanescent), to prevent overlay
16116 leakage.
16117
887a0b34
GM
161182011-06-30 Glenn Morris <rgm@gnu.org>
16119
94b9acce
GM
16120 * w32-fns.el (w32-charset-info-alist): Declare.
16121
1d9b46d4
GM
16122 * find-dired.el (find-grep-options): Simplify.
16123
cc232200
GM
16124 * term/ns-win.el (ns-set-resource): Declare.
16125
28e77c46
GM
16126 * ses.el (row, col): Declare dynamic variables honestly.
16127
887a0b34
GM
16128 * textmodes/reftex-parse.el (index-tags): Declare.
16129
658d8eb8
CY
161302011-06-30 Chong Yidong <cyd@stupidchicken.com>
16131
16132 * cus-edit.el (customize-push-and-save): New function.
16133
16134 * files.el (hack-local-variables-confirm): Use it.
16135
1fa280a3
LM
16136 * custom.el (load-theme): New arg NO-CONFIRM.
16137 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
16138 (custom-enabled-themes): Doc fix.
16139
16140 * cus-theme.el (customize-create-theme)
16141 (custom-theme-merge-theme): Callers to load-theme changed.
16142
bb617717
LMI
161432011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16144
d61bdd5d
LMI
16145 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16146 short URLs have at least one dot in them (bug #7614).
16147
bb617717
LMI
16148 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16149 nil, because using a pty is apparently too slow (bug #895).
16150
2f31f37a
LMI
161512011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16152
16153 * mail/sendmail.el (sendmail-query-once): New function.
16154 (sendmail-query-once-function): New variable.
16155
3076b24e
GM
161562011-06-29 Glenn Morris <rgm@gnu.org>
16157
faf2a174
GM
16158 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16159
3076b24e
GM
16160 * ses.el (top-level): Require cl when compiling.
16161 (ses-set-localvars): Fix error statement.
16162 Call it at compile time to silence a storm of warnings.
16163
5386012d
MR
161642011-06-29 Martin Rudalics <rudalics@gmx.at>
16165
16166 * window.el (normalize-live-buffer): Rename to
16167 window-normalize-buffer.
16168 (normalize-live-frame): Rename to window-normalize-frame.
16169 (normalize-any-window): Rename to window-normalize-any-window.
16170 (normalize-live-window): Rename to window-normalize-live-window.
16171 (make-window-atom): Rename to window-make-atom.
16172 (window-resize-reset): Rename to window--resize-reset.
16173 (window-resize-reset-1): Rename to window--resize-reset-1.
16174 (resize-mini-window): Rename to window--resize-mini-window.
16175 (resize-subwindows-skip-p): Rename to
16176 window--resize-subwindows-skip-p.
16177 (resize-subwindows-normal): Rename to
16178 window--resize-subwindows-normal.
16179 (resize-subwindows): Rename to window--resize-subwindows.
16180 (resize-other-windows): Rename to window--resize-siblings.
16181 (resize-this-window): Rename to window--resize-this-window.
16182 (resize-root-window): Rename to window--resize-root-window.
16183 (resize-root-window-vertically): Rename to
16184 window--resize-root-window-vertically.
16185 (normalize-buffer-to-display): Rename to
16186 window-normalize-buffer-to-display.
16187 (normalize-buffer-to-switch-to): Rename to
16188 window-normalize-buffer-to-switch-to.
16189 Correspondingly update all callers of the functions listed
16190 above.
16191 (display-buffer-alist, display-buffer-normalize-arguments)
16192 (display-buffer-normalize-options, display-buffer)
16193 (display-buffer-alist-set): Use "function" instead of
16194 "fun-with-args".
16195
1176868d
CY
161962011-06-28 Chong Yidong <cyd@stupidchicken.com>
16197
16198 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16199 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16200 debbugs.gnu.org. Mention acknowledgment email.
16201
20a7a65f
LMI
162022011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16203
16204 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16205 buffer multibyteness, since it shouldn't matter.
16206
5f45cca5
MR
162072011-06-28 Martin Rudalics <rudalics@gmx.at>
16208
16209 * window.el (display-buffer-in-side-window): Handle dedicated
16210 windows as in display-buffer-reuse-window.
16211 (display-buffer-normalize-alist): Use value of override
16212 specifier.
16213 (display-buffer-normalize-specifiers): Use value of
16214 other-window-means-other-frame specifier.
16215 (display-buffer-alist): Rewrite some texts in widgets.
16216 (display-buffer): Spread arguments when calling function
16217 specified by fun-with-args.
16218
ad85fe1f
DD
162192011-06-28 Deniz Dogan <deniz@dogan.se>
16220
1fa280a3
LM
16221 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16222 Unnest `let'.
da68c4c8 16223
ad85fe1f
DD
16224 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16225 selectors (Bug#5732).
ec49bd31 16226 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 16227
a08cc025
JA
162282011-06-27 Jari Aalto <jari.aalto@cante.net>
16229
16230 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16231 (eshell-ls-date-format): New defcustom.
16232 (eshell-ls-file): Use it.
16233
e2b551c5
SM
162342011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16235
16236 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16237
8982b231
KY
162382011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16239
16240 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16241 (ange-ftp-make-tmp-name): New arg.
16242 (ange-ftp-file-local-copy): Use it.
16243
36c9fa27
J
162442011-06-27 Jambunathan K <kjambunathan@gmail.com>
16245
16246 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16247 no-conversion (Bug#8870).
16248
d68443dc
MR
162492011-06-27 Martin Rudalics <rudalics@gmx.at>
16250
16251 * window.el (window-right, window-left, window-child)
16252 (window-child-count, window-last-child)
16253 (window-iso-combination-p, walk-window-tree-1)
16254 (window-atom-check-1, window-tree-1, delete-window)
16255 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16256 new naming conventions - window-vchild, window-hchild,
16257 window-next and window-prev are now called window-top-child,
16258 window-left-child, window-next-sibling and window-prev-sibling
16259 respectively.
d615d6d2
MR
16260 (resize-window-reset): Rename to window-resize-reset.
16261 (resize-window-reset-1): Rename to window-resize-reset-1.
16262 (resize-window): Rename to window-resize.
16263 (window-min-height, window-min-width)
16264 (resize-mini-window, resize-this-window, resize-root-window)
16265 (resize-root-window-vertically, adjust-window-trailing-edge)
16266 (enlarge-window, shrink-window, maximize-window)
16267 (minimize-window, delete-window, quit-restore-window)
16268 (split-window, balance-windows, balance-windows-area-adjust)
16269 (balance-windows-area, window-state-put-2)
16270 (display-buffer-even-window-sizes, display-buffer-set-height)
16271 (display-buffer-set-width, set-window-text-height)
16272 (fit-window-to-buffer): Rename all "resize-window" prefixed
16273 calls to use the "window-resize" prefix convention.
16274 (display-buffer-alist): Fix symbol for label specifier.
16275 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16276 corresponding specifier.
16277 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 16278
b6458526
VB
162792011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16280
16281 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16282 convention.
16283 (ses-call-printer): Does not pass an empty string to formatter when the
16284 cell is empty to keep from barking printer Calc math-format-value.
16285
d31fd9ac
RS
162862011-06-27 Richard Stallman <rms@gnu.org>
16287
43d5bf84
RS
16288 * battery.el (battery-mode-line-limit): New variable.
16289 (battery-update): Handle it.
16290
d31fd9ac
RS
16291 * mail/rmailmm.el (rmail-mime-process-multipart):
16292 Handle truncated messages.
16293
819a6054
GM
162942011-06-27 Glenn Morris <rgm@gnu.org>
16295
16296 * progmodes/flymake.el (flymake-err-line-patterns):
16297 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16298
cedc73f2
VB
162992011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16300
819a6054 16301 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
16302 (ses--clean-!, ses--clean-_): New functions.
16303 (ses-range): Add configurability of readout order, and conversion
16304 to Calc vector.
16305
5e5d49b6
VB
16306 * ses.el (ses-repair-cell-reference-all): New function.
16307 (ses-cell-symbol): Set macro as safe, so that it can be used in
16308 formulas.
16309
56e6cc31 16310 * ses.el: Update cycle detection algorithm.
90ca8b49 16311 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 16312 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
16313 (ses-set-localvars): New function.
16314 (ses-make-cell): Add property-list as a cell element.
16315 (ses-cell-property-get-fun, ses-cell-property-get)
16316 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
16317 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16318 New functions.
90ca8b49
VB
16319 (ses-cell-property-set, ses-cell-property-pop)
16320 (ses-cell-property-get-handle): New macro.
16321 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16322 New aliases, used for code readability.
16323 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16324 cycle detection.
16325 (ses-self-reference-early-detection): New defcustom.
fac916bf 16326 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
16327 (ses-mode): Use ses-set-localvars.
16328 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16329 before lauching the update processing.
16330 (ses-initialize-Dijkstra-attempt): New function.
16331 (ses-recalculate-cell): Update for cycle detection based on
16332 Dijkstra algorithm.
16333
2bb63e81
VB
16334 * ses.el: Fix commenting and indenting convention.
16335
c9d29fb8
SM
163362011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16337
16338 * bs.el (bs-cycle-next): Complete last change.
16339
d8e4b68b
JB
163402011-06-27 Drew Adams <drew.adams@oracle.com>
16341
16342 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16343
40098786
LMI
163442011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16345
c9d29fb8
SM
16346 * net/network-stream.el (network-stream-open-starttls):
16347 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
16348 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16349
40098786
LMI
16350 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16351 to binary to possibly avoid line encoding issues on Windows (among
16352 other things).
16353
468d09d4
LMI
163542011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16355
16356 * net/network-stream.el (open-network-stream): Return an :error
16357 saying what the problem was, if possible.
16358
16359 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16360 server.
16361
16362 * net/network-stream.el (network-stream-open-starttls): If we
16363 wanted to use STARTTLS, and the server offered it, but we weren't
16364 able to because we had no STARTTLS support, then close the connection.
16365 (open-network-stream): Return an :error element, if present.
16366
16f07dd7
CY
163672011-06-26 Chong Yidong <cyd@stupidchicken.com>
16368
88821ca0
CY
16369 * hl-line.el (hl-line-sticky-flag): Doc fix.
16370 (global-hl-line-sticky-flag): New option (Bug#8323).
16371 (global-hl-line-highlight): Obey it.
16372
16f07dd7
CY
16373 * vc/vc.el (vc-revert-show-diff): Default to t.
16374
6b5ccddf
KM
163752011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16376
c9d29fb8
SM
16377 * allout-widgets.el (allout-widgets-post-command-business):
16378 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
16379 undecorated when an isearch is continued past, and isearch
16380 automatically collapses them. This leads to "widget leaks", where
16381 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
16382 hidden widgets can slow down cursor travel, substantially.
16383 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
16384 so we're doing without this nicety.
16385
16386 (allout-widgets-tally-string): Don't try to do a hash-table-count
16387 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16388 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16389 *Messages* when allout-widgets-maintain-tally is t.
16390
355f2e07
MR
163912011-06-26 Martin Rudalics <rudalics@gmx.at>
16392
16393 * window.el (display-buffer-normalize-argument): Rename to
16394 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
16395 LABEL argument. Respect special-display-function when popping up
16396 a new frame. Fix code searching for a window showing the buffer
16397 on another frame.
c9d29fb8
SM
16398 (display-buffer-normalize-specifiers):
16399 Call display-buffer-normalize-arguments.
355f2e07
MR
16400 (display-buffer-in-window): Don't undedicate the window if its
16401 buffer remains the same.
16402 Reported by Drew Adams <drew.adams@oracle.com>.
16403 (display-buffer-alist): Add choice for same-window macro
16404 specfier.
16405 (display-buffer): Mention special meaning of LABEL argument in
16406 doc-string. Fix quoting. Don't pop up a new frame even as
16407 fallback.
16408
7ca8fc42
JB
164092011-06-26 Juanma Barranquero <lekktu@gmail.com>
16410
16411 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16412 avoid deleting the current window in some cases (bug#8911).
16413
bc312254
AS
164142011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16415
16416 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16417 (Bug#8934)
16418
2db18f3f
LMI
164192011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16420
c9d29fb8
SM
16421 * net/network-stream.el (network-stream-open-starttls):
16422 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
16423 (network-stream-open-tls): Ditto.
16424
6302e0d3
LL
164252011-06-26 Leo Liu <sdl.web@gmail.com>
16426
16427 * register.el (registerv): New struct.
16428 (registerv-make): New function.
c9d29fb8
SM
16429 (jump-to-register, describe-register-1, insert-register):
16430 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
16431 struct. (Bug#8415)
16432
5fdd4046
CY
164332011-06-26 Chong Yidong <cyd@stupidchicken.com>
16434
2afef60a
CY
16435 * vc/vc.el (vc-revert-show-diff): New defcustom.
16436 (vc-diff-internal): New arg specifying diff buffer.
16437 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16438 reuse an existing *vc-diff* buffer (Bug#8927).
16439
5fdd4046
CY
16440 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16441
e93db24a
GM
164422011-06-26 Glenn Morris <rgm@gnu.org>
16443
16444 * progmodes/f90.el (f90-critical-indent): New option.
16445 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16446 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16447 (f90-mode): Doc fix.
16448 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16449 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16450 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16451 (f90-match-end): Handle block, critical.
16452
eefff499
GM
164532011-06-25 Glenn Morris <rgm@gnu.org>
16454
f6ba4cc9
GM
16455 * calendar/diary-lib.el (diary-included-files): Doc fix.
16456 (diary-include-files): New function, extracted from
16457 diary-include-other-diary-files and diary-mark-included-diary-files.
16458 (diary-include-other-diary-files, diary-mark-included-diary-files):
16459 Just call diary-include-files.
16460 (diary-mark-entries): Reset diary-included-files on first call.
16461
16712304
GM
16462 * calendar/diary-lib.el (diary-mark-entries)
16463 (diary-mark-included-diary-files):
16464 Visit included diary-files in temp buffers.
16465
5d8e0d43
GM
16466 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16467 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16468 (f90-start-block-re, f90-imenu-generic-expression)
16469 (f90-looking-at-program-block-start, f90-no-block-limit):
16470 Add support for submodules.
16471
ccf7a5d5
GM
16472 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16473 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 16474
11fdef7d 164752011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
16476
16477 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16478 buffer-file-type before setting its value, to avoid disastrous
eefff499 16479 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 16480
74f53697
JB
164812011-06-25 Juanma Barranquero <lekktu@gmail.com>
16482
16483 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16484
16485 * ses.el (ses-unload-function):
16486 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16487
16488 * proced.el (proced-unload-function):
16489 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16490
18a4ce5e
AR
164912011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16492
16493 * server.el (server-create-window-system-frame): Add parameters arg.
16494 (server-process-filter): Doc fix. Handle frame-parameters.
16495
519d22cc
JB
164962011-06-25 Juanma Barranquero <lekktu@gmail.com>
16497
16498 Fix bug#8730, bug#8781.
16499
16500 * loadhist.el (unload--set-major-mode): New function.
16501 (unload-feature): Use it.
16502
16503 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16504 (python-unload-function): New function.
16505
c206f5b0
SM
165062011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16507
16508 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16509
f9ad64f3
GS
165102011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16511
16512 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16513 the candidates list.
16514
7d0da90e
JB
165152011-06-24 Juanma Barranquero <lekktu@gmail.com>
16516
16517 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16518
14b4e83d
RS
165192011-06-23 Richard Stallman <rms@gnu.org>
16520
16521 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16522 (rmail-variables): Set next-error-move-function.
16523 (rmail-what-message): Take argument POS.
16524 (rmail-next-error-move): New function.
16525
273d2baf
SM
165262011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16527
16528 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16529 messages for adjacent non-terminals.
16530
56c2cc9a
RS
165312011-06-23 Richard Stallman <rms@gnu.org>
16532
16533 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 16534 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
16535 (rmail-start-mail): Don't specify use of rmail-mail-return;
16536 that's done by mail-bury now.
16537 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 16538
d59eb518
MA
165392011-06-23 Michael Albinus <michael.albinus@gmx.de>
16540
16541 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16542 SIZE is a number.
16543
02cfc6d6
MR
165442011-06-23 Martin Rudalics <rudalics@gmx.at>
16545
16546 * window.el (get-lru-window, get-mru-window)
16547 (get-largest-window): Never return a minibuffer window.
16548 (display-buffer-pop-up-window): Fix a bug that could lead to
16549 reusing the minibuffer window.
16550 (display-buffer): Pass original specifier argument to
16551 display-buffer-function instead of the normalized one.
16552 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16553
4e323265
LL
165542011-06-22 Leo Liu <sdl.web@gmail.com>
16555
16556 * minibuffer.el (completing-read-function)
1f9f395d 16557 (completing-read-default): Move from minibuf.c.
4e323265 16558
7a70468f
RS
165592011-06-22 Richard Stallman <rms@gnu.org>
16560
50718fc2
RS
16561 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16562 to Rmail even if not started by a special Rmail command.
16563
7a70468f
RS
16564 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16565 Copy the buffer currently showing just one message.
16566
297dde5a
RW
165672011-06-22 Roland Winkler <winkler@gnu.org>
16568
16569 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16570 (bibtex-clean-entry): First delete the old key so that a
16571 customized algorithm for generating the new key does not get
16572 confused by the old key.
16573 (bibtex-url): Obey regexp of first step.
16574 (bibtex-search-entries): Do not use add-to-list with local
16575 list-var.
16576
97bb1093
LMI
165772011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16578
16579 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16580 stored a user name, then query for the password first, instead of
16581 waiting for SMTP to give an error message and the trying again.
16582
1c0f1a19
JD
165832011-06-22 Lawrence Mitchell <wence@gmx.li>
16584
16585 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16586 BUFFER in call-process.
16587
396f7c9d
LMI
165882011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16589
16590 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16591 QUIT twice.
ddb7ffee
LMI
16592 (smtpmail-try-auth-methods): Require user name and password from
16593 auth-source.
396f7c9d 16594
8998d1b3
MR
165952011-06-22 Martin Rudalics <rudalics@gmx.at>
16596
16597 * window.el (display-buffer-default-specifiers)
16598 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16599 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 16600 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
16601
16602 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16603 (special-display-frame-alist, special-display-popup-frame):
16604 Remove duplicate declarations. These are now in window.el.
16605
4ea31e07
LMI
166062011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16607
c9d29fb8
SM
16608 * mail/smtpmail.el (smtpmail-via-smtp):
16609 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
16610 server supports it. SMTP servers that support STARTTLS commonly
16611 require it.
16612
16613 * net/network-stream.el (network-stream-open-starttls): Support
16614 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 16615 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 16616
95f41d9a
LMI
16617 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16618 upgrades with `open-network-stream', and rely solely on
16619 auth-source for all credentials. Big changes throughout the file,
16620 but in particular:
c9d29fb8
SM
16621 (smtpmail-auth-credentials): Remove.
16622 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
16623 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16624 MAIL FROM, too.
95f41d9a 16625
c9d29fb8
SM
16626 * net/network-stream.el (network-stream-open-starttls):
16627 Provide support for client certificates both for external and built-in
4ea31e07
LMI
16628 STARTTLS.
16629 (auth-source): Require.
16630 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
16631 (network-stream-certificate): Change cert-cert to cert and
16632 cert-key to key.
4ea31e07 16633
065ec2c7
MA
166342011-06-21 Michael Albinus <michael.albinus@gmx.de>
16635
16636 * net/tramp-cache.el (top): Don't load the persistency file when
16637 "emacs -Q" has been called.
16638
cd93b359
DR
166392011-06-21 Tim Harper <timcharper@gmail.com>
16640
d8e4b68b
JB
16641 * term/ns-win.el (ns-initialize-window-system):
16642 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
16643 resource to NO as it is not yet supported by the NS port.
16644
ae9c0411
JB
166452011-06-21 Juanma Barranquero <lekktu@gmail.com>
16646
16647 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16648 (list-dynamic-libraries): ...not here.
16649
7f3f739f
LL
166502011-06-21 Leo Liu <sdl.web@gmail.com>
16651
16652 * subr.el (sha1): Implement sha1 using secure-hash.
16653
327c8fb1
MR
166542011-06-21 Martin Rudalics <rudalics@gmx.at>
16655
16656 * window.el (display-buffer-alist): In default value do not
16657 enforce searching a window on any but the selected frame.
16658 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16659 (display-buffer-select-window): Remove function.
16660 (display-buffer-in-window): When a window on another frame gets
16661 reused, do not select it any more but just raise its frame if
16662 necessary (Bug#8851) and (Bug#8856).
16663 (display-buffer-normalize-options): Handle pop-up-frames related
16664 options more faithfully.
16665 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16666 window if it is on another frame.
c9d29fb8
SM
16667 (display-buffer-alist, display-buffer-default-specifiers):
16668 Don't make new frame unsplittable by default.
9e9de014
MR
16669 (display-buffer-normalize-argument): Fix doc-string typo and use
16670 'same-frame-other-window instead of 'other-window when associating
16671 with display-buffer-macro-specifiers.
327c8fb1 16672
7cf3f556
VB
166732011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16674
16675 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16676 New functions.
16677 (5x5-mode-map, 5x5-mode-menu): Bind them.
16678 (5x5-draw-grid): Tweak the solver's rendering.
16679
60a406cf
SM
166802011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16681
16682 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16683 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16684
d8e4b68b 166852011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
16686
16687 * menu-bar.el: Use function variable instead of switch-to-buffer.
16688 (menu-bar-select-buffer-function): New variable.
60a406cf 16689 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 16690
478d6f95
SM
166912011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16692
16693 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16694 variable's status.
16695
ca530739
JD
166962011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16697
16698 * x-dnd.el (x-dnd-version-from-flags)
16699 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16700 and long as number (Bug#8899).
16701 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16702
bcd70d97
SM
167032011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16704
60a406cf 16705 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
16706 (completion-try-completion, completion-all-completions): Compute the
16707 metadata argument if it's missing; make it optional (bug#8795).
16708
60a406cf 16709 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
16710 (widget-complete): Use new :completion-function property.
16711 (widget-completions-at-point): New function.
16712 (default): Use :completion-function instead of :complete.
60a406cf
SM
16713 (widget-default-completions): Rename from widget-default-complete;
16714 Rewrite.
bcd70d97
SM
16715 (widget-string-complete, widget-file-complete, widget-color-complete):
16716 Remove functions.
16717 (file, symbol, function, variable, coding-system, color):
16718 * international/mule-cmds.el (default-input-method, charset)
16719 (language-info-custom-alist):
16720 * cus-edit.el (face): Use new property :completions.
16721
16722 * progmodes/pascal.el (pascal-completions-at-point): New function.
16723 (pascal-mode): Use it.
16724 (pascal-mode-map): Use completion-at-point.
16725 (pascal-toggle-completions): Make obsolete.
16726 (pascal-complete-word, pascal-show-completions):
16727 * progmodes/octave-mod.el (octave-complete-symbol):
16728 Redefine as obsolete alias.
16729 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16730 Signal absence of completion info for old Octave,
16731 (inferior-octave-complete): Redefine as obsolete alias.
16732 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16733 (meta-completions-at-point): Rename from meta-complete-symbol and
16734 adapt it for use on completion-at-point-functions.
16735 (meta-common-mode): Use it.
16736 (meta-looking-at-backward, meta-match-buffer): Remove.
16737 (meta-complete-symbol): Redefine as obsolete alias.
16738 (meta-common-mode-map): Use completion-at-point.
16739 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16740 (makefile-mode-map): Use completion-at-point.
16741 (makefile-completions-at-point): Rename from makefile-complete and
16742 adapt it for use on completion-at-point-functions.
16743 (makefile-mode): Use it.
16744 (makefile-complete): Redefine as obsolete alias.
16745
aebf69c8
DD
167462011-06-20 Deniz Dogan <deniz@dogan.se>
16747
16748 * net/rcirc.el: Delete trailing whitespaces once and for all.
16749
bfbbb27d
DC
167502011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16751
16752 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16753
d264a46b
CY
167542011-06-19 Chong Yidong <cyd@stupidchicken.com>
16755
4ca009e5
CY
16756 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16757
d264a46b
CY
16758 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16759
fbf5b3ce
MR
167602011-06-19 Martin Rudalics <rudalics@gmx.at>
16761
16762 * window.el (display-buffer-other-window-means-other-frame):
16763 Call display-buffer-normalize-alist.
16764 (display-buffer-normalize-specifiers-1): Rename to
16765 display-buffer-normalize-argument. New argument other-frame.
16766 Rewrite.
16767 (display-buffer-normalize-specifiers-2): Rename to
16768 display-buffer-normalize-options.
16769 (display-buffer-normalize-alist-1): New function.
16770 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
16771 display-buffer-normalize-alist.
16772 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
16773 (display-buffer-normalize-options-inhibit): New variable.
16774 (display-buffer-normalize-specifiers): Rewrite calling
16775 display-buffer-normalize-alist,
16776 display-buffer-normalize-argument, and
16777 display-buffer-normalize-options. Don't call the latter if
16778 display-buffer-normalize-options-inhibit is non-nil.
16779 (frame-auto-delete): New option.
16780 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
16781 (window-list-no-nils, window-state-ignored-parameters)
16782 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
16783 (window-state-put-1, window-state-put-2, window-state-put):
16784 New functions.
9a028c23
MR
16785 (display-buffer-normalize-options): Move special-display-p group
16786 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 16787
6d10d800
CY
167882011-06-18 Chong Yidong <cyd@stupidchicken.com>
16789
6420d28b
CY
16790 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16791 groups (Bug#8776).
16792 (rx-submatch-n): New function.
16793 (rx): Document it.
16794
ddb8b596
CY
16795 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16796 (Bug#8768).
16797
16798 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16799
77080289
CY
16800 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16801
61dfb316
CY
16802 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16803 anytime existing face settings are present (Bug#8889).
16804
6d10d800
CY
16805 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16806 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16807 Remove unused argument.
16808
be3fb2b8
MR
168092011-06-18 Martin Rudalics <rudalics@gmx.at>
16810
bcd70d97
SM
16811 * window.el (display-buffer-default-specifiers):
16812 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
16813 pop-up-window-min-width, and another reuse-window specifier
16814 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
16815 (display-buffer-normalize-specifiers-2):
16816 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
16817 pop-up-windows is unset. Add a reuse-window specifier for the
16818 case popping up a new window fails.
16819 (special-display-popup-frame): Remove double quoting.
28dec25a 16820 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 16821
1c6d8c76
SM
168222011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16823
16824 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16825 according to comint-completion-addsuffix.
16826
16827 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16828 (pcomplete-suffix-list): Mark as obsolete.
16829 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16830 pcomplete-seen in the closure.
16831 (pcomplete-comint-setup): Setup completion-at-point as well.
16832 (pcomplete--entries): New function.
16833 (pcomplete--env-regexp): New var.
16834 (pcomplete-entries): Rewrite to work with partial-completion and
16835 without relying on pcomplete-suffix-list.
16836 (pcomplete-pare-list): Remove, unused.
16837
25aef8b8
MR
168382011-06-17 Martin Rudalics <rudalics@gmx.at>
16839
16840 * window.el (display-buffer-alist): Set pop-up-window-min-height
16841 and pop-up-window-min-width in default value. Reported by
16842 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16843 other-window-means-other-frame.
16844 (display-buffer-macro-specifiers): Comment out entry for
16845 other-window specifier.
16846 (display-buffer-other-window-means-other-frame): New function.
16847 (display-buffer-normalize-specifiers-1): New arguments
16848 buffer-name and label. Treat other-window case specially.
16849 (display-buffer-normalize-specifiers-2): Treat other-window case
16850 specially.
16851 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
16852 (display-buffer-normalize-specifiers):
16853 Call display-buffer-normalize-specifiers-3.
25aef8b8 16854
dbad4f69
MR
168552011-06-17 Martin Rudalics <rudalics@gmx.at>
16856
16857 * window.el (same-window-p): Fix two typos introduced when
16858 adding with-no-warnings.
d1067961
MR
16859 (display-buffer-normalize-specifiers-1): Don't check
16860 pop-up-frames for 'unset initialization.
16861 (display-buffer-normalize-specifiers-2): Major rewrite using
16862 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16863 (pop-up-frames, display-buffer-reuse-frames)
16864 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16865 Suggested by David Engster <deng@randomsample.de>.
16866 (even-window-heights): Initialize to 'unset.
16867 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
16868 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16869 other window case.
dbad4f69 16870
9b9c9e3a
MR
168712011-06-16 Martin Rudalics <rudalics@gmx.at>
16872
bcd70d97
SM
16873 * window.el (display-buffer-normalize-specifiers-1):
16874 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 16875 second argument of display-buffer (Bug#8865).
981d5c09
MR
16876 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16877 (switch-to-buffer-other-window-same-frame)
16878 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16879 Adams (Bug#8875).
9c2755e9
MR
16880 (display-buffer): Don't check noninteractive when calling
16881 display-buffer-pop-up-frame.
16882 (display-buffer-pop-up-frame): Never pop up a frame in
16883 noninteractive mode (Bug#8857).
67222e1d
MR
16884 (enlarge-window, shrink-window): Don't report an error when the
16885 window can't be resized as requested (Bug#8862).
9b9c9e3a 16886
2b75be67
SM
168872011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16888
9ffdd3ba
SM
16889 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16890
cb581a67
SM
16891 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16892
2b75be67
SM
16893 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16894
8c0e3589
AM
168952011-06-15 Alan Mackenzie <acm@muc.de>
16896
cb581a67
SM
16897 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16898 for declarators, disable knr checking to speed up for normal files.
16899 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 16900
b96e6cde
LMI
169012011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16902
4bba86e6
LMI
16903 * net/network-stream.el (open-network-stream): Add the keyword
16904 :always-query-capabilities for the case where you want to force a
16905 `plain' network connection, but the protocol still requires the
16906 capabilitiy command (i.e., SMTP and EHLO).
16907
2b75be67 16908 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
16909 consistency with other `-live-p' functions.
16910
efdcdbf8
SM
169112011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16912
16913 * window.el (same-window-buffer-names, same-window-regexps)
16914 (special-display-frame-alist, special-display-popup-frame)
16915 (special-display-function, special-display-buffer-names)
16916 (special-display-regexps, pop-up-frame-alist)
16917 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16918 (pop-up-windows, split-window-preferred-function)
16919 (split-height-threshold, split-width-threshold, even-window-heights)
16920 (display-buffer-mark-dedicated): Don't encourage the use of
16921 display-buffer-alist from Elisp code.
16922
c5cde042
DN
169232011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16924
16925 * progmodes/python.el (python-mode): Derive from prog-mode.
16926 * progmodes/ps-mode.el (ps-mode):
16927 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 16928 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
16929 * progmodes/ld-script.el (ld-script-mode): Likewise.
16930
baa1c9ab
MR
169312011-06-15 Martin Rudalics <rudalics@gmx.at>
16932
16933 * window.el (display-buffer-alist): Trim default value to avoid
16934 popping up a new frame (Bug#8857) or reusing an arbitrary window
16935 on another frame.
16936 (display-buffer): Do not fall back on popping up a new frame in
16937 batch mode (Bug#8857).
16938
c5dd5a51
CY
169392011-06-14 Chong Yidong <cyd@stupidchicken.com>
16940
16941 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16942 (custom-theme-summary): New function.
16943 (customize-themes): Use it.
16944
d647b7c4
GM
169452011-06-13 Glenn Morris <rgm@gnu.org>
16946
16947 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16948
9481c002
MR
169492011-06-13 Martin Rudalics <rudalics@gmx.at>
16950
357f93d2
MR
16951 * help.el (help-window): Remove variable.
16952 (help-window-point-marker, temp-buffer-max-height)
16953 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16954 (help-print-return-message): Don't set help-window.
16955 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16956 (help-window-setup-finish): Remove.
16957 (help-window-display-message, help-window-setup)
16958 (with-help-window): Major rewrite based on new
16959 display-buffer-window variable.
16960
16961 * help-mode.el (help-mode-finish): Remove help-window related
16962 code.
16963
16964 * view.el (view-exits-all-viewing-windows): Remove reference to
16965 view-return-to-alist in doc-string.
16966 (view-return-to-alist): Make obsolete.
16967 (view-buffer): Call pop-to-buffer-same-window and remove
16968 undo-window code.
16969 (view-buffer-other-window): Call pop-to-buffer-other-window and
16970 simplify code. Ignore second argument.
16971 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16972 simplify code. Ignore second argument.
16973 (view-return-to-alist-update): Make obsolete.
16974 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16975 Rewrite using quit-restore window parameters.
2b75be67
SM
16976 (view-mode-exit): Rename second argument to EXIT-ONLY.
16977 Rewrite using quit-restore-window.
357f93d2
MR
16978 (View-exit, View-exit-and-edit, View-leave, View-quit)
16979 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16980 appropriate arguments.
16981 (view-end-message): Use quit-restore window parameter.
16982
9481c002
MR
16983 * window.el (display-buffer-function): Rewrite doc-string.
16984 (display-buffer-window, display-buffer-alist): New variables.
16985 (display-buffer-split-specifiers)
16986 (display-buffer-side-specifiers)
16987 (display-buffer-macro-specifiers): New constants.
16988 (display-buffer-even-window-sizes, display-buffer-set-height)
16989 (display-buffer-set-width, display-buffer-select-window)
16990 (display-buffer-in-window, display-buffer-reuse-window)
16991 (display-buffer-split-window-1, display-buffer-split-window)
16992 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16993 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16994 (display-buffer-in-side-window, normalize-buffer-to-display)
16995 (display-buffer-normalize-specifiers-1)
16996 (display-buffer-normalize-specifiers-2)
2b75be67
SM
16997 (display-buffer-normalize-specifiers, display-buffer-frame):
16998 New functions.
9481c002
MR
16999 (display-buffer): Major rewrite.
17000 (display-buffer-other-window, display-buffer-other-frame)
17001 (pop-to-buffer, switch-to-buffer-other-window)
17002 (switch-to-buffer-other-frame): Rewrite.
17003 (display-buffer-same-window, display-buffer-same-frame)
17004 (display-buffer-same-frame-other-window)
17005 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17006 (pop-to-buffer-other-window)
17007 (pop-to-buffer-same-frame-other-window)
17008 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17009 (switch-to-buffer-other-window-same-frame): New functions.
17010 (same-window-p, special-display-p): Rewrite disabling warnings.
17011 Make obsolete.
17012 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17013 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17014 Make obsolete
17015 (same-window-buffer-names, same-window-regexps)
17016 (special-display-frame-alist, special-display-popup-frame)
17017 (special-display-function, special-display-buffer-names)
17018 (special-display-regexps, pop-up-frame-alist)
17019 (pop-up-frame-function, split-window-preferred-function)
17020 (split-height-threshold, split-width-threshold)
17021 (even-window-heights): Make obsolete.
17022
9db51aca
GM
170232011-06-12 Glenn Morris <rgm@gnu.org>
17024
17025 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 17026 Misc simplifications.
9db51aca 17027
39cffb44
MR
170282011-06-12 Martin Rudalics <rudalics@gmx.at>
17029
17030 * window.el (window-safely-shrinkable-p): Restore function which
17031 was inadvertently removed in change from 2011-06-11. Declare as
17032 obsolete.
17033
2b75be67
SM
17034 * calendar/calendar.el (calendar-generate-window):
17035 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
17036 window-safely-shrinkable-p.
17037
a8955be7
GM
170382011-06-12 Glenn Morris <rgm@gnu.org>
17039
17040 * progmodes/fortran.el (fortran-mode-syntax-table):
17041 * progmodes/f90.el (f90-mode-syntax-table):
17042 Set % to punctuation. (Bug#8820)
17043 (f90-find-tag-default): Remove, no longer needed.
17044
f0d4059d
DC
170452011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17046
17047 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17048
1100a63c
CY
170492011-06-11 Chong Yidong <cyd@stupidchicken.com>
17050
17051 * image.el (image-animated-p): Return animation delay in seconds.
17052 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17053 (image-animate-timeout): Remove DELAY argument. Don't assume
17054 every subimage has the same delay; get it from image-animated-p.
17055 (image-animate): Caller changed.
17056
def722bf
MA
170572011-06-11 Michael Albinus <michael.albinus@gmx.de>
17058
17059 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17060 to ignored backtrace functions.
17061
0a2bb1a9
GM
170622011-06-11 Glenn Morris <rgm@gnu.org>
17063
17064 * calendar/appt.el (appt-disp-window-function): Doc fix.
17065 (appt-check): Handle overlapping appointments. (Bug#8337)
17066
6198ccd0
MR
170672011-06-11 Martin Rudalics <rudalics@gmx.at>
17068
17069 * window.el (window-tree-1, window-tree): New functions, moving
17070 the latter to window.el.
17071 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17072 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17073 (bw-refresh-edges): Remove.
17074 (balance-windows-1, balance-windows-2): New functions.
17075 (balance-windows): Rewrite in terms of window tree functions,
17076 balance-windows-1 and balance-windows-2.
17077 (bw-adjust-window): Remove.
17078 (balance-windows-area-adjust): New function with functionality of
17079 bw-adjust-window but using resize-window.
2b75be67
SM
17080 (set-window-text-height): Rewrite doc-string.
17081 Use normalize-live-window and resize-window.
17082 (enlarge-window-horizontally, shrink-window-horizontally):
17083 Rename argument to DELTA.
6198ccd0
MR
17084 (window-buffer-height): New function.
17085 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17086 Rewrite using new window resize routines.
2b75be67
SM
17087 (kill-buffer-and-window, mouse-autoselect-window-select):
17088 Use ignore-errors instead of condition-case.
6198ccd0
MR
17089 (quit-window): Call delete-frame instead of delete-windows-on
17090 for the only buffer on frame.
17091
9397e56f
MR
170922011-06-10 Martin Rudalics <rudalics@gmx.at>
17093
17094 * loadup.el (top-level): Load window before files for the sake
17095 of replace-buffer-in-windows.
17096
17097 * files.el (read-buffer-to-switch)
17098 (switch-to-buffer-other-window)
2b75be67
SM
17099 (switch-to-buffer-other-frame, display-buffer-other-frame):
17100 Move to window.el.
9397e56f
MR
17101
17102 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17103 (previous-buffer): Move to window.el.
17104
17105 * bindings.el (unbury-buffer): Move to window.el.
17106
17107 * window.el (delete-other-windows-vertically): Move after
17108 definition of delete-other-windows.
17109 (other-window, delete-windows-on, replace-buffer-in-windows):
17110 Move here from window.c.
17111 (record-window-buffer, unrecord-window-buffer)
17112 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17113 (switch-to-next-buffer): New functions.
17114 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17115 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
17116 (previous-buffer): Move here from simple.el.
17117 Call switch-to-prev-buffer.
9397e56f
MR
17118 (bury-buffer): Move here from buffer.c. Switch to previous
17119 buffer when window cannot be deleted.
17120 (unbury-buffer): Move here from bindings.el.
17121 (ctl-x-map): Move binding for other-window from window.c to
17122 here.
17123 (read-buffer-to-switch, switch-to-buffer-other-window)
17124 (switch-to-buffer-other-frame): Move here from files.el.
17125 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
17126 (switch-to-buffer): Move here from buffer.c.
17127 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 17128
562dd5e9
MR
171292011-06-10 Martin Rudalics <rudalics@gmx.at>
17130
17131 * window.el (window-min-height, window-min-width): Move here
17132 from window.c. Add defcustoms and rewrite doc-strings.
17133 (resize-mini-window, resize-window): New functions.
17134 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17135 Move here from window.c.
17136 (maximize-window, minimize-window): New functions.
17137 (delete-window, delete-other-windows, split-window): Move here
17138 from window.c.
17139 (window-split-min-size): New function.
17140 (split-window-keep-point): Mention split-window-above-each-other
17141 instead of split-window-vertically.
2b75be67 17142 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
17143 Rename split-window-vertically to split-window-above-each-other
17144 and provide defalias for old definition.
17145 (split-window-side-by-side, split-window-horizontally):
17146 Rename split-window-horizontally to split-window-side-by-side
17147 and provide defalias for the old definition.
562dd5e9
MR
17148 (ctl-x-map): Move bindings for delete-window,
17149 delete-other-windows and enlarge-window here from window.c.
17150 Replace bindings for split-window-vertically and
17151 split-window-horizontally by bindings for
17152 split-window-above-each-other and split-window-side-by-side.
17153
17154 * cus-start.el (all): Remove entries for window-min-height and
17155 window-min-width. Add entries for window-splits and
17156 window-nest.
17157
f0da764a
GM
171582011-06-09 Glenn Morris <rgm@gnu.org>
17159
80675c21
GM
17160 * calendar/appt.el (appt-mode-line): New function.
17161 (appt-check, appt-disp-window): Use it.
17162
f0da764a
GM
17163 * files.el (hack-one-local-variable-eval-safep):
17164 Allow minor-modes with explicit +/-1 arguments.
17165
59f623b7
TZ
171662011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17167
17168 * term/xterm.el (xterm): Add defgroup.
17169 (xterm-extra-capabilities): Add defcustom to supply known xterm
17170 capabilities, skip querying them, or query them (default).
17171 (terminal-init-xterm): Use it.
17172 (terminal-init-xterm-modify-other-keys): New function to set up
17173 modifyOtherKeys support to simplify `terminal-init-xterm'.
17174
9aab8e0d
MR
171752011-06-09 Martin Rudalics <rudalics@gmx.at>
17176
17177 * window.el (resize-window-reset, resize-window-reset-1)
17178 (resize-subwindows-skip-p, resize-subwindows-normal)
17179 (resize-subwindows, resize-other-windows, resize-this-window)
17180 (resize-root-window, resize-root-window-vertically)
17181 (window-deletable-p, window-or-subwindow-p)
17182 (frame-root-window-p): New functions.
17183
e8b08aee
GM
171842011-06-09 Glenn Morris <rgm@gnu.org>
17185
17186 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17187 (ange-ftp-get-files): Use it.
17188
254c37a5
AK
171892011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17190
17191 * mail/sendmail.el (mail-recover-1, mail-recover):
17192 * files.el (recover-file, recover-session):
17193 Handle dired-listing-switches not being just a single short option.
17194
35d7dbd3
GM
171952011-06-09 Glenn Morris <rgm@gnu.org>
17196
17197 * calendar/appt.el (appt-display-message, appt-disp-window):
17198 Handle lists of appointments.
17199
387522b2
MR
172002011-06-08 Martin Rudalics <rudalics@gmx.at>
17201
2b75be67
SM
17202 * window.el (one-window-p): Move down in code.
17203 Rewrite doc-string.
17204 (window-current-scroll-bars): Rewrite doc-string.
17205 Normalize live window argument.
387522b2
MR
17206 (walk-windows, get-window-with-predicate, count-windows):
17207 Rewrite doc-string. Use window-list-1.
17208 (window-in-direction-2, window-in-direction, get-mru-window):
17209 New functions.
17210
d8e4b68b 172112011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
17212
17213 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17214 Doc fix (Bug#8713).
17215
172162011-06-08 Chong Yidong <cyd@stupidchicken.com>
17217
17218 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17219
172202011-06-08 Juanma Barranquero <lekktu@gmail.com>
17221
17222 * loadhist.el (unload-feature-special-hooks):
17223 Add `comint-output-filter-functions'.
17224
0de12c52
IK
172252011-06-08 Ivan Kanis <gnu@kanis.fr>
17226
17227 * calendar/appt.el (appt-check): Move some initializations into the let.
17228
f3d1777e
MR
172292011-06-08 Martin Rudalics <rudalics@gmx.at>
17230
17231 * window.el (window-height): Defalias to window-total-height.
17232 (window-width): Defalias to window-body-width.
17233
18af70d0
CY
172342011-06-07 Chong Yidong <cyd@stupidchicken.com>
17235
17236 * image-mode.el (image-toggle-animation): New command.
17237 (image-mode-map): Bind it to RET.
17238 (image-mode): Update message.
17239 (image-toggle-display-image): Avoid a spurious cache flush.
17240 (image-transform-rotation): Doc fix.
17241 (image-transform-properties): Return quickly in the normal case.
17242 (image-animate-loop): Rename from image-animate-max-time.
17243
2b75be67 17244 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
17245 (create-animated-image): Remove unnecessary function.
17246 (image-animate): Rename from image-animate-start. New arg.
2b75be67 17247 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
17248 (image-animate-timer): Use car-safe.
17249 (image-animate-timeout): Rename argument.
17250
190b47e6
MR
172512011-06-07 Martin Rudalics <rudalics@gmx.at>
17252
17253 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
17254 window.c. Rename first argument to ALL-FRAMES.
17255 Rephrase doc-strings.
17256 (get-buffer-window-list): Rewrite using window-list-1.
17257 Rephrase doc-string.
a1511caf
MR
17258 (window-safe-min-height, window-safe-min-width): New constants.
17259 (window-size-ignore, window-min-size, window-min-size-1)
17260 (window-sizable, window-sizable-p, window-size-fixed-1)
17261 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17262 (window-max-delta-1, window-max-delta, window-resizable)
17263 (window-resizable-p, window-total-height, window-total-width)
17264 (window-body-width): New functions.
17265 (window-full-height-p, window-full-width-p): Rewrite using
17266 window-total-size.
17267 (window-body-height): Rewrite using window-body-size.
190b47e6 17268
85cc1f11
MR
172692011-06-06 Martin Rudalics <rudalics@gmx.at>
17270
17271 * window.el (window-right, window-left, window-child)
17272 (window-child-count, window-last-child, window-any-p)
17273 (normalize-live-buffer, normalize-live-frame)
17274 (normalize-any-window, normalize-live-window)
17275 (window-iso-combination-p, window-iso-combined-p)
17276 (window-iso-combinations)
17277 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17278 (windows-with-parameter, window-with-parameter)
17279 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
17280 (window-atom-check, window-side-check, window-check):
17281 New functions.
85cc1f11
MR
17282 (ignore-window-parameters, window-sides, window-sides-vertical)
17283 (window-sides-slots): New variables.
17284 (window-size-fixed): Move down in code. Minor doc-string fix.
17285
e7156492
AS
172862011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17287
17288 * comint.el (comint-dynamic-complete-as-filename)
17289 (comint-dynamic-complete-filename): Correctly call
17290 completion-in-region.
17291
7e821d0d
DD
172922011-06-05 Deniz Dogan <deniz@dogan.se>
17293
17294 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17295 in last change.
17296
ac09b8a1
DD
172972011-06-05 Deniz Dogan <deniz@dogan.se>
17298
17299 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17300 (rcirc): Use it to prompt for encryption.
17301
34699b85
RW
173022011-06-05 Roland Winkler <winkler@gnu.org>
17303
17304 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17305 (bibtex-search-entries): New command bound to C-c C-a.
17306 (bibtex-display-entries): New function.
17307
004dedd3
RW
173082011-06-05 Roland Winkler <winkler@gnu.org>
17309
17310 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17311 (bibtex-insert-kill): After yanking insert newline if necessary.
17312 (bibtex-initialize): Call bibtex-string-files-init only once.
17313 (bibtex-mode): Do not call easy-menu-add.
17314 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17315 (bibtex-yank): Set arg properly if nil.
17316
022fe7ce
RW
173172011-06-05 Roland Winkler <winkler@gnu.org>
17318
2b75be67
SM
17319 * textmodes/bibtex.el (bibtex-search-entry-globally):
17320 New variable.
022fe7ce
RW
17321 (bibtex-search-entry): Use it.
17322
b7c3692a
RW
173232011-06-05 Roland Winkler <winkler@gnu.org>
17324
17325 * textmodes/bibtex.el (bibtex-entry-format): New option
17326 sort-fields.
17327 (bibtex-format-entry, bibtex-reformat): Honor this option.
17328 (bibtex-parse-entry): Return fields in proper order.
17329
8eda563d
JB
173302011-06-05 Juanma Barranquero <lekktu@gmail.com>
17331
17332 * doc-view.el (doc-view-remove-if): Move computation of result out
17333 of `dolist' to silence misleading lexical-binding warning.
17334
7dbe3dbc
CY
173352011-06-04 Chong Yidong <cyd@stupidchicken.com>
17336
17337 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17338 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17339
0c33dd17
MA
173402011-06-04 Michael Albinus <michael.albinus@gmx.de>
17341
17342 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17343 "SunOS 5.10".
17344
f8f91c2b
MA
173452011-06-04 Michael Albinus <michael.albinus@gmx.de>
17346
17347 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17348 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17349 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17350 (tramp-parse-putty):
17351 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17352 (tramp-completion-function-alist-ssh)
17353 (tramp-completion-function-alist-telnet)
17354 (tramp-completion-function-alist-su)
17355 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17356 cookie.
17357
17358 * net/tramp-ftp.el:
17359 * net/tramp-sh.el:
17360 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17361 load "tramp.el" `tramp-set-completion-function'.
17362
e17d9003
SM
173632011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17364
17365 * shell.el: Require and use pcomplete.
17366 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17367 (shell-completion-vars): Set pcomplete-default-completion-function.
17368
6c4cab03
DD
173692011-06-04 Deniz Dogan <deniz@dogan.se>
17370
17371 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17372 `memq' (Bug#8799).
17373
ea9fafe0
SM
173742011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17375
17376 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17377
b3e945d3
JB
173782011-06-02 Juanma Barranquero <lekktu@gmail.com>
17379
17380 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17381 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17382 * vc/log-view.el (log-view-beginning-of-defun):
17383 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17384 (smerge-refine-forward, smerge-refine-chopup-region):
17385 Silence warning for unused `dotimes' counter variables.
17386
7d520089
SM
173872011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17388
17389 * net/tramp.el (tramp-with-progress-reporter): Rename from
17390 with-progress-reporter. Use `declare'.
17391 * net/tramp-smb.el:
17392 * net/tramp-sh.el:
17393 * net/tramp-gvfs.el: Update all uses.
17394
a1c2400f
JB
173952011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17396
17397 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17398 buffer isn't killed before making it current.
17399
2403c841
SM
174002011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17401
17402 Silence various byte-compiler warnings.
17403 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17404 `access-type' and new obsolescence format.
17405 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17406 new format.
17407 (byte-compile-check-variable): New `access-type' argument.
17408 Only warn if the access-type is obsolete.
17409 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17410 (byte-compile-variable-set): Adjust callers.
17411 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17412 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17413 setting it as obsolete.
17414 * simple.el (minibuffer-completing-symbol):
17415 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17416 access as obsolete.
17417 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17418 obsolete yet.
17419 * international/quail.el (quail-mouse-choose-completion): Remove unused
17420 code referring to obsolete var.
17421 (quail-choose-completion-string): Remove.
17422 * server.el (server-clients-with, server-kill-buffer-query-function)
17423 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17424 * proced.el (proced-send-signal):
17425 * emacs-lisp/lisp.el (lisp-complete-symbol):
17426 Replace completion-annotate-function with completion-extra-properties.
17427
2462470b
SM
174282011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17429
fb5b2591
SM
17430 * simple.el (goto-line): Use read-number.
17431 (overriding-map-is-bound): Remove.
17432 (saved-overriding-map): Change default.
17433 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17434 Take the map as argument.
17435 (universal-argument, negative-argument, digit-argument): Use it.
17436 (restore-overriding-map): Adjust.
17437 (do-auto-fill): Use fill-forward-paragraph.
17438 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17439
fd6fa53f
SM
17440 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17441 (minibuffer-inactive-mode): New major mode.
17442 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17443 the *Messages* buffer" hack.
17444 (mouse-popup-menubar): Don't burp if the event is a normal key.
17445
2462470b
SM
17446 Miscellaneous tweaks.
17447 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17448 lexical scoping as in subr.el's dolist and dotimes.
17449 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17450 Silence compiler warning.
17451 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17452 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17453 * international/ccl.el (ccl-compile): Trivial simplification.
17454 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17455 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17456 `printflag' argument.
17457 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17458 Purecopy the whole obsolescence data.
17459
108bf785
LL
174602011-06-01 Leo Liu <sdl.web@gmail.com>
17461
17462 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17463 improve doc-string as suggested by Marco Pessotto
17464 <melmothx@gmail.com>.
17465 (rcirc-print): Fix last change.
17466
30a23501
SM
174672011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17468
17469 * minibuffer.el (complete-with-action): Return nil for the metadata and
17470 boundaries of non-functional tables.
17471 (completion-table-dynamic): Return nil for the metadata.
17472 (completion-table-with-terminator): Add default case, using
17473 complete-with-action.
17474 (completion--metadata): New function.
17475 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17476 to try and avoid pathological performance problems.
17477 (completion--embedded-envvar-table): Return `category' metadata.
17478
bcd54f83
LMI
174792011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17480
17481 * subr.el (process-alive-p): New tiny convenience function.
17482
e227544d
SM
174832011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17484
17485 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17486 content but also its previous major mode.
17487
e8296fdc
HE
174882011-05-31 Helmut Eller <eller.helmut@gmail.com>
17489
4d61f28d 17490 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
17491 *Backtrace* buffer when we exit with C-M-c.
17492
620c53a6
SM
174932011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17494
17495 * minibuffer.el: Add metadata method to completion tables.
17496 (completion-category-overrides): New defcustom.
17497 (completion-metadata, completion--field-metadata)
17498 (completion-metadata-get, completion--styles)
17499 (completion--cycle-threshold): New functions.
17500 (completion-try-completion, completion-all-completions):
17501 Add `metadata' argument to choose completion-styles.
17502 (completion--do-completion): Use metadata to choose cycling.
17503 (completion-all-sorted-completions): Use metadata for sorting.
17504 Remove :completion-cycle-penalty which is not needed any more.
17505 (completion--try-word-completion): Add `metadata' argument.
17506 (minibuffer-completion-help): Check metadata for annotation function
17507 and sorting.
17508 (completion-file-name-table): Return `category' metadata.
17509 (minibuffer-completing-file-name): Make obsolete.
17510 * simple.el (minibuffer-completing-symbol): Make obsolete.
17511 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17512 completion-try-completion.
17513
1257e755
SM
175142011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17515
17516 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17517
3767e706
LL
175182011-05-30 Leo Liu <sdl.web@gmail.com>
17519
17520 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
17521 (rcirc-print): Decode all incoming messages (bug#8744).
17522 (rcirc-decode-coding-system): Allow value nil for automatic coding
17523 system detection.
3767e706 17524
d1a5d56a
GM
175252011-06-01 Glenn Morris <rgm@gnu.org>
17526
17527 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17528
e8cbec34
CY
175292011-05-29 Chong Yidong <cyd@stupidchicken.com>
17530
17531 * image.el (image-animate-max-time): Allow nil and t values.
17532 Default to nil.
17533 (create-animated-image): Doc fix.
17534 (image-animate-start): Remove second arg; just use
17535 image-animate-max-time.
17536 (image-animate-timeout): Doc fix. Args changed.
17537
17538 * image-mode.el (image-toggle-display-image): Ensure that the
17539 image spec passed to the animate timer is the same object as in
58179cce 17540 the buffer's display property (Bug#6981).
e8cbec34
CY
17541 (image-transform-properties): Doc fix.
17542
17543 * image.el (image-animate-max-time): Default to nil.
17544
159daf87
MR
175452011-05-29 Martin Rudalics <rudalics@gmx.at>
17546
17547 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17548 entire buffer list (Bug#8184).
17549
d66c4c7c
CY
175502011-05-29 Chong Yidong <cyd@stupidchicken.com>
17551
17552 * image.el (imagemagick-types-inhibit)
17553 (imagemagick-register-types): Doc fix.
17554
80aec780
DD
175552011-05-29 Deniz Dogan <deniz@dogan.se>
17556
17557 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17558 default.
17559
1dd3c2d9
CY
175602011-05-29 Chong Yidong <cyd@stupidchicken.com>
17561
17562 * select.el: Don't perform clipboard-manager saving in hooks;
17563 leave the hooks empty.
17564
60e56523
LL
175652011-05-28 Leo Liu <sdl.web@gmail.com>
17566
17567 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17568 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17569 (occur-edit-mode): New major mode (Bug#8463).
17570 (occur-after-change-function): New function.
17571 (occur-engine): Give Occur tags a read-only property.
17572
2b1e1a22
KR
175732011-05-28 Kevin Ryde <user42@zip.com.au>
17574
17575 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17576
5d344e88
CY
175772011-05-28 Chong Yidong <cyd@stupidchicken.com>
17578
8e6ca83d
CY
17579 * bindings.el (help-echo): Make the initial non-indicator dash
17580 empty on graphical terminals (Bug#7295).
17581
5d344e88
CY
17582 * files.el (auto-mode-alist): Move config rule after the
17583 in-stripping one (Bug#8547).
17584
bfbbace7
CY
17585 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17586
fbeba6e2
CY
17587 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17588 setting (Bug#8740).
17589
60ed8c72
AA
175902011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17591
4ac619f0
AA
17592 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17593 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17594 (Bug#8539).
60ed8c72 17595
23db196e
CY
175962011-05-28 Chong Yidong <cyd@stupidchicken.com>
17597
17598 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17599
5012f24c
DK
176002011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17601
17602 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17603 (hs-hide-block-at-point, hs-find-block-beginning)
17604 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17605 (Bug#8279).
17606
6a639b16
GM
176072011-05-28 Glenn Morris <rgm@gnu.org>
17608
17609 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17610
d43eaf2c
CY
176112011-05-28 Chong Yidong <cyd@stupidchicken.com>
17612
5199bde1
CY
17613 * help-fns.el (describe-function-1): If the function is a derived
17614 major mode, print the parent mode.
17615
d43eaf2c
CY
17616 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17617 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17618
423428a8
SM
176192011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17620
0ff8e1ba 17621 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 17622 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
17623 * progmodes/etags.el (tags-completion-at-point-function):
17624 * info-look.el (info-lookup-completions-at-point): Mark as
17625 non-exclusive.
17626 (info-complete): Adjust accordingly.
17627
423428a8
SM
17628 * info-look.el: Convert to lexical-binding and completion-at-point.
17629 (info-lookup-completions-at-point): New function.
17630 (info-complete): Use it and completion-in-region.
17631
b74aa22b
DA
176322011-05-28 Drew Adams <drew.adams@oracle.com>
17633
17634 * isearch.el: Let M-e start with point at the first mismatched char.
17635 (isearch-fail-pos): New function.
17636 (isearch-edit-string): Use it.
17637
66e2e71d
DK
176382011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17639
17640 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17641
b1890b0f 176422011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
17643
17644 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17645 traversal functions for avl-trees.
17646 (avl-tree--stack): New struct.
17647 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17648 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
17649 (avl-tree--do-enter): Add optional `updatefun' arg.
17650 Change return value.
eb95d01d 17651 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
17652 (avl-tree--do-delete): Add `test' and `nilflag' args.
17653 Change return value.
eb95d01d
TC
17654 (avl-tree-member): Add optional `nilflag'
17655 (avl-tree-member-p): New function.
17656 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17657 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17658 (avl-tree-stack-empty-p): New functions.
17659
3769ddcf
TC
17660 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17661 avl-tree--del-balance1 and make it work both ways.
17662 (avl-tree--del-balance2): Remove.
17663 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17664 make it work both ways.
17665 (avl-tree--enter-balance2): Remove.
17666 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17667 New macros.
17668 (avl-tree--mapc, avl-tree-map): Add direction argument.
17669
eb95d01d 176702011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
17671
17672 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17673
a9f737ee
CY
176742011-05-27 Chong Yidong <cyd@stupidchicken.com>
17675
17676 * select.el: Support clipboard managers with built-in function
17677 x-clipboard-manager-save, via delete-frame-functions and
17678 kill-emacs-hook.
17679 (xselect-convert-to-targets): Add MULTIPLE target to list.
17680 (xselect-convert-to-save-targets): New function.
17681
c92a1e54
KH
176822011-05-27 Kenichi Handa <handa@m17n.org>
17683
17684 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17685 let-binding rfc2047-encode-encoded-words to nil.
17686
e145f188
GM
176872011-05-27 Glenn Morris <rgm@gnu.org>
17688
5ec8a862
GM
17689 * mail/emacsbug.el: Don't require url-util.
17690
4b29d9fb
GM
17691 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17692
e145f188
GM
17693 * files.el (set-auto-mode):
17694 Also respect mode: entries at the end of the file. (Bug#8586)
17695
7d15102b
GM
176962011-05-26 Glenn Morris <rgm@gnu.org>
17697
98f593b8
GM
17698 * files.el (hack-local-variables-prop-line, hack-local-variables):
17699 Downcase mode names, as seems to be traditional.
27b48e63 17700 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 17701
7d15102b
GM
17702 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17703 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17704
51d5b4ec
JD
177052011-05-25 Julien Danjou <julien@danjou.info>
17706
17707 * textmodes/rst.el (rst-define-level-faces): Do not define face
17708 symbol if it is already defined.
17709
91513f63
VB
177102011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17711
17712 * play/5x5.el (5x5-new-game, 5x5-randomize):
17713 Reset 5x5-solver-output to nil when a new grid is cast.
17714 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17715 these debugging traces, as defmacro breaks the compiled code.
17716
4d90d6d0
DK
177172011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17718
17719 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17720
e1b90ef6
LL
177212011-05-24 Leo Liu <sdl.web@gmail.com>
17722
17723 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17724 (vc-bzr-sha1): Adapt.
17725
d8e4b68b 17726 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
17727
17728 * bindings.el: Provide sha1 feature.
17729
db0406bb 177302011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
17731
17732 * mail/sendmail.el: Require `rfc2047'.
17733 (mail-insert-from-field): Do not perform RFC2047 encoding.
17734 (mail-encode-header): New function.
17735 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
17736 buffer to the return value of select-message-coding-system.
17737 Call mail-encode-header.
b8d747b9
KH
17738
17739 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17740
db0406bb 177412011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 17742
4d90d6d0
DK
17743 * mail/supercite.el (sc-default-cite-frame):
17744 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 17745
eb8a5e9b
GM
177462011-05-24 Glenn Morris <rgm@gnu.org>
17747
f8630703
GM
17748 * progmodes/python.el (brm-menu): Declare.
17749
8831bbed
GM
17750 * emulation/viper.el (viper-set-hooks): Declare.
17751
eb8a5e9b
GM
17752 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17753 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17754 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17755 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17756 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17757 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17758
a2a25d24
SM
177592011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17760
17761 Add an :exit-function for completion-at-point.
17762
17763 * minibuffer.el (completion--done): New fun.
17764 (completion--do-completion): Use it. New arg `expect-exact'.
17765 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17766 since completion--do-completion does it for us now.
17767 (minibuffer-force-complete): Use completion--done and
17768 completion--replace. Handle sole-completion case with more care.
17769 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17770 (completion-extra-properties): New var.
17771 (completion-annotate-function): Make obsolete.
17772 (minibuffer-completion-help): Adjust accordingly.
17773 Use completion-list-insert-choice-function.
17774 (completion-at-point, completion-help-at-point):
17775 Bind completion-extra-properties.
17776 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17777 * simple.el (completion-list-insert-choice-function): New var.
17778 (completion-setup-function): Preserve it.
17779 (choose-completion): Pay attention to it, shuffle the code a bit.
17780 (choose-completion-string): New arg `insert-function'.
17781
17782 * textmodes/bibtex.el: Convert to lexical binding.
17783 (bibtex-mode-map): Use completion-at-point.
17784 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17785 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17786 (bibtex-complete): Define as obsolete alias.
17787 (bibtex-complete-internal): Remove.
17788 (bibtex-format-entry): Remove unused sub-group in regexp.
17789 * shell.el (shell--command-completion-data)
17790 (shell-environment-variable-completion):
17791 * pcomplete.el (pcomplete-completions-at-point):
17792 * comint.el (comint--complete-file-name-data): Use :exit-function
17793 instead of completion-table-with-terminator so it also works for
17794 choose-completion.
17795
e44e373d
SM
177962011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17797
4f91a816
SM
17798 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17799
782fc819
SM
17800 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17801 (bug#8710).
17802
e44e373d
SM
17803 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17804
381987c3
KM
178052011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17806
17807 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17808 customization variable and implement: If non-nil, auto-fill will
17809 be inhibited while on topic's header line.
17810
b776bc70
VB
178112011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17812
17813 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 17814 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
17815 always have a solution in grid size = 5 cases.
17816 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17817 (5x5-solver-output, 5x5-log-buffer): New vars.
17818 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17819 Make these variables buffer local to achieve 5x5 multi-session-ness.
17820 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17821 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17822 (5x5-solve-suggest): New funs.
17823 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17824 randomize a grid so that we ensure that there is always a solution.
17825 (5x5-make-random-grid): Allow other movement than flipping.
17826
7de88b6e
KR
178272011-05-23 Kevin Ryde <user42@zip.com.au>
17828
17829 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 17830 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
17831 advice and passes PREDICATE.
17832
b1ef1257
SM
178332011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17834
bbca48fe
SM
17835 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17836 byte-compile-lambda if it's actually a lambda.
17837
b1ef1257
SM
17838 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17839 Fix function quoting. Use backquote better.
17840
92a9cc65
YS
178412011-05-22 Yuanle Song <sylecn@gmail.com>
17842
17843 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17844 matching (Bug#8516).
17845
f0fb8059
JA
178462011-01-22 Jari Aalto <jari.aalto@cante.net>
17847
17848 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17849 different face (Bug#8178).
17850
d5b44c93
CY
178512011-05-22 Chong Yidong <cyd@stupidchicken.com>
17852
17853 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17854 defface (Bug#8144).
17855
79106a44
SM
178562011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17857
9c848d8a
SM
17858 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17859 funcall as well (bug#8712). Warn when performing those conversions.
17860 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17861
79106a44
SM
17862 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17863
88dfa756
GM
178642011-05-22 Glenn Morris <rgm@gnu.org>
17865
17866 * files.el (hack-local-variables-prop-line): Small simplifications.
17867 (hack-local-variables, hack-local-variables-prop-line):
17868 If MODE-ONLY, return the mode, rather than just `t'.
17869
b7cf2c79
SM
178702011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17871
17872 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17873
3f1a8558
GM
178742011-05-21 Glenn Morris <rgm@gnu.org>
17875
7e4ccca3
GM
17876 * files.el (hack-local-variables-prop-line, hack-local-variables):
17877 If only interested in the mode, don't bother doing the other stuff.
17878
637d46ca
GM
17879 * image-mode.el (image-after-revert-hook):
17880 Redraw all frames on which the image is visible. (Bug#8567)
17881
973d955b
GM
17882 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17883
3f1a8558
GM
17884 * wid-edit.el (widget-checklist-match-inline):
17885 Fix 2011-04-19 change. (Bug#8649)
17886
96479927
SM
178872011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17888
1dcf791f
SM
17889 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17890 Also allow singlespace after single-letter capitals followed by a dot.
17891
96479927
SM
17892 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17893 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17894
35fd0881
N
178952011-05-20 Nix <nix@esperi.org.uk>
17896
17897 * files.el (basic-save-buffer-2):
17898 Fix handling of break-hardlink-on-save with non-existent files.
17899
82745640
DD
179002011-05-19 Deniz Dogan <deniz@dogan.se>
17901
17902 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 17903 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 17904
4a720484
GM
179052011-05-19 Glenn Morris <rgm@gnu.org>
17906
d1f21341
GM
17907 * progmodes/f90.el (f90-type-def-re):
17908 Handle "type, bind(c)". (Bug#8691)
17909
4a720484
GM
17910 * emacs-lisp/autoload.el (batch-update-autoloads):
17911 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17912
2fb0a219
MA
179132011-05-18 Michael Albinus <michael.albinus@gmx.de>
17914
17915 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17916 property for the correct connection in case of multihops.
17917
e565dd37
GM
179182011-05-18 Glenn Morris <rgm@gnu.org>
17919
c2571358 17920 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
17921 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17922
e565dd37
GM
17923 Rationalize calendar handling of day and month abbrev-arrays.
17924 * calendar/calendar.el (calendar-customized-p): New function.
17925 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17926 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17927 Add :set function.
17928 (calendar-abbrev-length, calendar-day-abbrev-array)
17929 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17930 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17931 Elements may no longer be nil.
17932 (calendar-day-name, calendar-month-name):
17933 Update for changed nature of abbrev arrays.
17934 * calendar/diary-lib.el (diary-name-pattern):
17935 Update for changed nature of abbrev arrays.
17936 (diary-mark-entries-1): Update calendar-make-alist calls.
17937 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17938 * calendar/cal-html.el (cal-html-day-abbrev-array):
17939 Simply inherit from calendar-day-abbrev-array.
17940
1d99a745
SM
179412011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17942
17943 * progmodes/grep.el (grep-mode): Disable default
17944 compilation-directory-matcher setting (bug#8684).
17945
7c1d9aa0
MA
179462011-05-17 Michael Albinus <michael.albinus@gmx.de>
17947
17948 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17949 instead of "head" and "tail". There were problems with SunOS 5.9,
17950 and it performs better.
17951
3952e9d8
GM
179522011-05-17 Glenn Morris <rgm@gnu.org>
17953
2dd12e7f
GM
17954 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17955
e4157b9c
GM
17956 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17957 Replace obsolete function.
17958
8e249bbd
GM
17959 * shell.el (pcomplete-parse-arguments-function): Declare.
17960
3952e9d8
GM
17961 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17962 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17963 (appt-check): Doc fixes.
17964 (appt-disp-window-function, appt-delete-window-function):
17965 Remove needless special case in custom :type.
17966 (appt-display-count): Default to 0, not nil.
17967 (appt-check): Reset appt-display-count to 0, not nil.
17968
c71a0d48 179692011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 17970
c71a0d48
GM
17971 * progmodes/python.el (python-font-lock-keywords):
17972 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 17973
31d55be9
SM
179742011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17975
17976 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17977
3bfacb2f
KR
179782011-05-16 Kevin Ryde <user42@zip.com.au>
17979
17980 * info-look.el (makefile-automake-mode): New setups, looking in
17981 automake manual, then makefile-mode.
17982 (makefile-mode): Remove automake manual, have it just in
17983 makefile-automake-mode since there's various things different or
17984 not relevant to plain make.
17985 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17986 believe a hypothetical automake-mode would go to makefile-mode,
17987 not the other way around.
17988
c8e83751
CY
179892011-05-15 Chong Yidong <cyd@stupidchicken.com>
17990
5e9e35cd
CY
17991 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17992 hunk-end tags (Bug#8672).
17993
c8e83751
CY
17994 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17995 vc-annotate-show-diff-revision-at-line (Bug#8671).
17996
50b23e5a
GM
179972011-05-14 Glenn Morris <rgm@gnu.org>
17998
7210a739
GM
17999 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18000 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
18001 (change-log-font-lock-keywords): Also handle multiple author lines
18002 with leading tabs. (Bug#8644)
7210a739 18003
4691905a
GM
18004 * calendar/appt.el (appt-check): Rename some local variables.
18005 Some simplification/reordering.
18006
50b23e5a
GM
18007 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18008 (feedmail-sendmail-f-doesnt-sell-me-out)
18009 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18010 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18011 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
18012 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18013 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
18014 (feedmail-binmail-gnulinuxish-template):
18015 Rename from feedmail-binmail-linuxish-template.
18016 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18017 Use insert-buffer-substring.
18018
215cda7c
BC
180192011-05-14 Bill Carpenter <bill@carpenter.org>
18020
18021 * mail/feedmail.el (feedmail-patch-level): Increase.
18022 (feedmail-debug): New custom group.
18023 (feedmail-confirm-outgoing-timeout)
18024 (feedmail-sendmail-f-doesnt-sell-me-out)
18025 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18026 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18027 (feedmail-sender-line, feedmail-from-line)
18028 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 18029 (feedmail-spray-this-address)
215cda7c
BC
18030 (feedmail-spray-address-fiddle-plex-list)
18031 (feedmail-queue-use-send-time-for-date)
18032 (feedmail-queue-use-send-time-for-message-id)
18033 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18034 (feedmail-buffer-eating-function):
18035 Doc fixes.
18036 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18037 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18038 (feedmail-message-action-scroll-down): New functions.
18039 (feedmail-queue-directory, feedmail-queue-draft-directory):
18040 Use expand-file-name.
18041 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18042 Remove C-v help entry.
18043 (feedmail-queue-buffer-file-name): New variable.
18044 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18045 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18046 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18047 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18048 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18049 (feedmail-message-action-toggle-spray)
18050 (feedmail-run-the-queue-no-prompts)
18051 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18052 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18053 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18054 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18055 (feedmail-envelope-deducer, feedmail-fiddle-from)
18056 (feedmail-fiddle-sender, feedmail-default-date-generator)
18057 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18058 (feedmail-fiddle-spray-address)
18059 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18060 (feedmail-fiddle-list-of-fiddle-plexes)
18061 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18062 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18063 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18064 Change default. Doc fix.
18065 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18066 (feedmail-binmail-linuxish-template): New constant.
18067 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18068 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18069 (feedmail-send-it): Add debug call.
18070 Use feedmail-queue-buffer-file-name, and
18071 feedmail-send-it-immediately-wrapper.
18072 (feedmail-message-action-send): Add debug call.
18073 Use feedmail-send-it-immediately-wrapper.
18074 (feedmail-queue-express-to-queue): Add debug call.
18075 Run feedmail-queue-express-hook.
18076 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18077 (feedmail-message-action-help-blat):
18078 Rename from feedmail-queue-send-edit-prompt-help-first.
18079 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18080 Check line-endings. Handle errors better.
18081 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18082 Doc fix. Add debug call.
18083 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18084 Use feedmail-queue-send-edit-prompt-inner.
18085 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18086 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18087 from feedmail-queue-send-edit-prompt.
18088 (feedmail-queue-send-edit-prompt-help)
18089 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18090 (feedmail-tidy-up-slug): Add debug call.
18091 Respect feedmail-queue-slug-suspect-regexp.
18092 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18093 (feedmail-dump-message-to-queue): Add debug call.
18094 Expand queue-directory.
18095 (feedmail-dump-message-to-queue): Change message slightly.
18096 Use feedmail-say-chatter.
18097 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18098 (feedmail-send-it-immediately-wrapper): New function.
18099 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18100 Insert empty string rather than newline. Handle full-frame case.
18101 Use catch/throw. Use feedmail-say-chatter.
18102 (feedmail-fiddle-from): Try mail-host-address.
18103 (feedmail-default-message-id-generator): Doc fix.
18104 Bind system-time-locale. Handle missing end.
18105 (feedmail-fiddle-x-mailer): Add debug call.
18106 Handle feedmail-x-mailer-line being nil.
18107 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18108 Add debug call. Use buffer-substring-no-properties.
18109 (feedmail-say-debug, feedmail-say-chatter): New functions.
18110 (feedmail-find-eoh): Give an explicit error.
18111
42c7e61e
UJ
181122011-05-13 Ulf Jasper <ulf.jasper@web.de>
18113
c2571358 18114 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 18115 family from helvetica to sans.
c2571358 18116 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18117 etc/images/newsticker.
18118
c2571358 18119 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
18120 family from helvetica to sans.
18121
18122 * net/newst-plainview.el (newsticker-new-item-face)
18123 (newsticker-old-item-face, newsticker-immortal-item-face)
18124 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 18125 (newsticker-statistics-face): Change default family from
42c7e61e 18126 helvetica to sans.
c2571358 18127 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18128 etc/images/newsticker.
18129
5d3385a0
JB
18130 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18131 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
18132 auto-marking.
18133
8497a297
DV
181342011-05-13 Didier Verna <didier@xemacs.org>
18135
18136 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
18137 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18138 TODO entries.
8497a297
DV
18139 (lisp-lambda-list-keyword-parameter-indentation)
18140 (lisp-lambda-list-keyword-parameter-alignment)
18141 (lisp-lambda-list-keyword-alignment): New customizable user options.
18142 (lisp-indent-defun-method): Improve docstring.
18143 (extended-loop-p): Fix comment.
18144 (lisp-indent-lambda-list-keywords-regexp): New variable.
18145 (lisp-indent-lambda-list): New function.
18146 (lisp-indent-259): Use it.
18147 (lisp-indent-defmethod): Support for more than one
18148 method qualifier and properly indent methods lambda-lists.
18149 (defgeneric): Provide a missing common-lisp-indent-function property.
18150
f278f87f
SM
181512011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18152
18153 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18154 bounds for the empty string (bug#8667).
18155
5233edd7
GM
181562011-05-13 Glenn Morris <rgm@gnu.org>
18157
5237a44f
GM
18158 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18159
8340026c 18160 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 18161 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 18162
5233edd7 18163 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 18164 (appt-time-msg-list): Doc fix.
a5464014 18165 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 18166
92d10796
AS
181672011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18168
18169 * progmodes/ld-script.el (ld-script-keywords)
18170 (ld-script-builtins): Update keywords list.
18171
914a0ae1
SM
181722011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18173
c89be45f
SM
18174 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18175
914a0ae1
SM
18176 * shell.el (shell-completion-vars): New function.
18177 (shell-mode):
18178 * simple.el (read-shell-command): Use it.
18179 (blink-matching-open): No need for " [...]" in minibuffer-message.
18180
98dc3df3
GM
181812011-05-12 Glenn Morris <rgm@gnu.org>
18182
18183 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18184 (appt-check): Simplify.
18185
d2fc7e3d 181862011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 18187
4d61f28d 18188 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
18189 literal "/dev/null".
18190
d2fc7e3d 181912011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
18192
18193 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18194 Fix typo.
18195
d2fc7e3d 181962011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 18197
3f254caa
SM
18198 * progmodes/which-func.el (which-function):
18199 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
18200 which might not be defined (Bug#8260).
18201
d45885f7
GM
182022011-05-12 Glenn Morris <rgm@gnu.org>
18203
18204 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18205 Let byte-compile-initial-macro-environment always take precedence.
18206
488086f4
SM
182072011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18208
18209 * net/rcirc.el: Add support for SSL/TLS connections.
18210 (rcirc-server-alist): New field `encryption'.
18211 (rcirc): Check `encryption' settings.
18212 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18213 Merge make-local-variable into `set'.
18214 (rcirc--connection-open-p): New function.
18215 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18216 the process is not a network process (e.g. running gnutls-cli).
18217 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18218 Make rcirc-(en|de)code-coding-system local here.
18219 (rcirc-mode): Merge make-local-variable into `set'.
18220 (rcirc-parent-buffer): Make permanent buffer-local.
18221 (rcirc-multiline-minor-mode): Don't do it here.
18222 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18223 there's no server buffer.
18224
7d3b9d44
GM
182252011-05-11 Glenn Morris <rgm@gnu.org>
18226
f64049c6
GM
18227 * newcomment.el (comment-kill): Prefix "unused" local.
18228
93c9df73
GM
18229 * term/w32console.el (get-screen-color): Declare.
18230
7d3b9d44
GM
18231 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18232 Handle symbol elements of byte-compile-initial-macro-environment.
18233
9e2dd53f
LL
182342011-05-10 Leo Liu <sdl.web@gmail.com>
18235
488086f4
SM
18236 * bookmark.el (bookmark-bmenu-mode-map):
18237 Bind bookmark-bmenu-search to `/'.
8b340240 18238
9e2dd53f 18239 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
18240 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18241 (Footnote-unicode): New function.
18242 (footnote-style-alist): Add unicode style to the list.
18243 (footnote-style): Doc fix.
9e2dd53f 18244
79b70037
GM
182452011-05-10 Jim Meyering <meyering@redhat.com>
18246
18247 Fix doubled-word typos.
18248 * international/quail.el (quail-insert-kbd-layout): and and -> and
18249 * kermit.el: and and -> and
18250 * net/ldap.el (ldap-search-internal): to to -> to
18251 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18252 * progmodes/js.el (js-mode): and and -> and
18253 * textmodes/artist.el (artist-move-to-xy): at at -> at
18254 (artist-draw-region-trim-line-endings): if if -> if
18255 And Safetyc -> Safety.
18256 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18257
b8f82dc1 182582011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 18259 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
18260
18261 * files.el (hack-one-local-variable-eval-safep):
18262 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18263
4f99f44b
GM
182642011-05-10 Glenn Morris <rgm@gnu.org>
18265
18266 * calendar/diary-lib.el (diary-list-entries-hook)
18267 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18268 (diary-nongregorian-marking-hook, diary-list-entries)
18269 (diary-include-other-diary-files, diary-mark-entries)
18270 (diary-mark-included-diary-files): Doc fixes.
18271
84f29e6b
JB
182722011-05-09 Juanma Barranquero <lekktu@gmail.com>
18273
18274 * misc.el: Require tabulated-list.el during compilation.
18275
9bedd73a
CY
182762011-05-09 Chong Yidong <cyd@stupidchicken.com>
18277
488086f4
SM
18278 * progmodes/compile.el (compilation-start):
18279 Run compilation-filter-hook for the async case too.
9bedd73a
CY
18280 (compilation-filter-hook): Doc fix.
18281
797c735c
DD
182822011-05-09 Deniz Dogan <deniz@dogan.se>
18283
18284 * wdired.el: Remove outdated installation comment. Fix usage
18285 comment.
18286
5f4b1dfe
JB
182872011-05-09 Juanma Barranquero <lekktu@gmail.com>
18288
18289 * misc.el: Implement new command `list-dynamic-libraries'.
18290 (list-dynamic-libraries--loaded-only-p): New variable.
18291 (list-dynamic-libraries--refresh): New function.
18292 (list-dynamic-libraries): New command.
18293
4c44026c
CY
182942011-05-09 Chong Yidong <cyd@stupidchicken.com>
18295
488086f4
SM
18296 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18297 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
18298 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18299 higher priority to avoid clobbering by gnu.
18300
027f966d
CY
183012011-05-08 Chong Yidong <cyd@stupidchicken.com>
18302
18303 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18304 if the face has existing theme settings (Bug#8454).
18305
085f5d7d
CY
183062011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18307
488086f4
SM
18308 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18309 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 18310
2a86a00c
RS
18311 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18312 special file names `.' and `..' (Bug#8259).
18313
d9c54a06
CY
183142011-05-08 Chong Yidong <cyd@stupidchicken.com>
18315
488086f4
SM
18316 * progmodes/grep.el (grep-mode-font-lock-keywords):
18317 Remove buffer-changing entries.
d9c54a06
CY
18318 (grep-filter): New function.
18319 (grep-mode): Add it to compilation-filter-hook.
18320
18321 * progmodes/compile.el (compilation-filter-hook)
18322 (compilation-filter-start): New defvars.
18323 (compilation-filter): Call compilation-filter-hook prior to
18324 updating the process mark.
18325
c4662635
SM
183262011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18327
18328 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18329
b0512a1d
EZ
183302011-05-07 Eli Zaretskii <eliz@gnu.org>
18331
605c9376
EZ
18332 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18333 mailclient-send-it even if window-system is nil. (Bug#8595)
18334
c4662635
SM
18335 * term/w32console.el (terminal-init-w32console):
18336 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
18337 background-mode. (Bug#8597)
18338
d1dc2cc2
SM
183392011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18340
18341 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18342 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18343 New functions.
18344 (defgeneric, eieio--defmethod): Use them.
18345 (eieio-defgeneric): Remove.
18346 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18347
915d1300
GM
183482011-05-07 Glenn Morris <rgm@gnu.org>
18349
a3961c3e
GM
18350 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18351 Use let rather than let*.
18352 (timeclock-find-discrep): Remove unused local.
18353
314347b9
GM
18354 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18355
915d1300
GM
18356 * calendar/appt.el (appt-time-msg-list): Doc fix.
18357
275b59b0
NF
183582011-05-06 Noah Friedman <friedman@splode.com>
18359
18360 * apropos.el (apropos-print-doc): Only use
18361 emacs-lisp-docstring-fill-column when it is bound to an integer,
18362 per that variable's documentation.
18363
6c19f744
SM
183642011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18365
18366 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 18367 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 18368
60f884b2
GM
183692011-05-06 Glenn Morris <rgm@gnu.org>
18370
5006e634
GM
18371 * calendar/appt.el (appt-message-warning-time): Doc fix.
18372 (appt-warning-time-regexp): New option.
18373 (appt-make-list): Respect appt-message-warning-time.
18374
548d0a63
GM
18375 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18376 New options.
18377 (diary-add-to-list): Strip comments from the displayed string.
18378 (diary-mode): Set comment-start and comment-end.
18379
60f884b2
GM
18380 * vc/diff-mode.el (smerge-refine-subst): Declare.
18381 (diff-refine-hunk): Don't require smerge-mode when compiling.
18382
989681bb
JB
183832011-05-06 Juanma Barranquero <lekktu@gmail.com>
18384
18385 * simple.el (list-processes): Return nil as the docstring says.
18386
a6bc05e1
MA
183872011-05-05 Michael Albinus <michael.albinus@gmx.de>
18388
18389 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18390 to "".
18391 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18392 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18393 determining of binary transfer. (Bug#7383)
18394
23c22e9a
MA
183952011-05-05 Michael Albinus <michael.albinus@gmx.de>
18396
c4662635
SM
18397 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18398 Fix port computation bug. (Bug#8618)
23c22e9a 18399
0bff894f
GM
184002011-05-05 Glenn Morris <rgm@gnu.org>
18401
b8296902
GM
18402 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18403
1f522ce8
GM
18404 * simple.el (shell-dynamic-complete-functions)
18405 (comint-dynamic-complete-functions): Declare.
18406
cf5bee67
GM
18407 * net/network-stream.el (gnutls-negotiate):
18408 * simple.el (tabulated-list-print): Fix declarations.
18409
18410 * progmodes/gud.el (syntax-symbol, syntax-point):
18411 Remove unnecessary and incorrect declarations.
18412
0bff894f 18413 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 18414 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 18415
9869b3ae
SM
184162011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18417
18418 Fix earlier half-done eieio-defmethod change (bug#8338).
18419 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18420 Streamline and change calling convention.
18421 (defmethod): Adjust accordingly and simplify.
18422 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18423 new eieio--defmethod.
18424 (slot-boundp): Minor CSE simplification.
18425
9c1d5ac5
MZ
184262011-05-05 Milan Zamazal <pdm@zamazal.org>
18427
18428 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18429 (glasses-make-readable): Use glasses-separate-capital-groups.
18430
455c834e
JB
184312011-05-05 Juanma Barranquero <lekktu@gmail.com>
18432
18433 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18434 (warning-series): Doc fix.
18435 (display-warning): Don't try to create the buffer if we just found it.
18436
9ed7c8cb
CY
184372011-05-04 Chong Yidong <cyd@stupidchicken.com>
18438
18439 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18440 (autoload-find-generated-file): New function.
18441 (generate-file-autoloads): Bind generated-autoload-file to
18442 buffer-file-name.
9869b3ae
SM
18443 (update-file-autoloads, update-directory-autoloads):
18444 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
18445 output file (Bug#7989).
18446 (batch-update-autoloads): Doc fix.
18447
0898ca10
JB
184482011-05-04 Juanma Barranquero <lekktu@gmail.com>
18449
18450 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18451
31dfb76c
GM
184522011-05-04 Glenn Morris <rgm@gnu.org>
18453
f330b642
GM
18454 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18455 function, so it follows changes in calendar-date-style.
18456 (diary-fancy-date-matcher): New function.
18457 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18458 (diary-fancy-font-lock-fontify-region-function):
18459 Use diary-fancy-date-pattern as a function.
18460
31dfb76c
GM
18461 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18462 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18463
48e79d6a
TZ
184642011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18465
18466 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18467 instead of positional arguments. Allow :keylist and :crlfiles
18468 arguments.
18469 (open-gnutls-stream): Call it.
18470
18471 * net/network-stream.el (network-stream-open-starttls): Adjust to
18472 call `gnutls-negotiate' with :process and :hostname arguments.
18473
dd5a5ee0
SM
184742011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18475
ef80fc09
SM
18476 * minibuffer.el (completion--message): New function.
18477 (completion--do-completion, minibuffer-complete)
18478 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18479 (completion--do-completion): Don't ignore completion-auto-help when in
18480 icomplete-mode.
18481
dd5a5ee0
SM
18482 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18483 internal encoding (e.g. tibetan zero is not whitespace).
18484 (global-whitespace-mode): Prefer save-current-buffer.
18485 (whitespace-trailing-regexp): Remove useless save-match-data.
18486 (whitespace-empty-at-bob-regexp): Minor simplification.
18487
b7d22a83
CY
184882011-05-03 Chong Yidong <cyd@stupidchicken.com>
18489
18490 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18491
5192af46
AM
184922011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18493
18494 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 18495 Use `concat' to create string for insertion.
5192af46 18496
5767d190
SM
184972011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18498
18499 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18500 Avoid open-line which runs post-self-insert-hook.
18501 (bibtex-fill-entry): Remove unused `end' var.
18502
bf242939
AM
185032011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18504
5767d190
SM
18505 * textmodes/ispell.el (ispell-add-per-file-word-list):
18506 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 18507
25666126
LL
185082011-05-03 Leo Liu <sdl.web@gmail.com>
18509
18510 * isearch.el (isearch-yank-pop): New command.
5767d190 18511 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
18512 (isearch-forward): Mention it.
18513
52d3c2d0
SM
185142011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18515
1bcace58
SM
18516 * simple.el (minibuffer-complete-shell-command): Remove.
18517 (minibuffer-local-shell-command-map): Use completion-at-point.
18518 (read-shell-command): Setup completion vars here instead.
18519 (read-expression-map): Bind TAB to symbol completion.
18520
52d3c2d0
SM
18521 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18522 error directly rather via storing it into `results'.
18523
35813471
LL
185242011-05-02 Leo Liu <sdl.web@gmail.com>
18525
18526 * vc/diff.el: Fix description.
18527
e793a940
LMI
185282011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18529
18530 * server.el (server-eval-at): New function.
18531
8de66e05
LMI
185322011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18533
18534 * net/network-stream.el (open-network-stream): Take a :nowait
18535 parameter and pass it on to `make-network-process'.
18536 (network-stream-open-plain): Ditto.
18537
dcb79f20
AS
185382011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18539
18540 * faces.el (face-spec-set-match-display): Don't match toolkit
18541 options on terminal frames.
18542
14a7fbd8
SM
185432011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18544
7eabc1be
SM
18545 * progmodes/pascal.el: Use lexical binding.
18546 (pascal-mode-map): Remove author preferences.
18547
14a7fbd8
SM
18548 * pcomplete.el (pcomplete-std-complete): Don't abuse
18549 completion-at-point.
18550
50f84510
JB
185512011-04-28 Juanma Barranquero <lekktu@gmail.com>
18552
6e087a44
JB
18553 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18554 removing code that has been dead since 1991 or so.
18555
50f84510
JB
18556 * startup.el (command-line): When warning about "_emacs", use a
18557 delayed warning to allow the user to filter it out.
18558
0ba690bd
DD
185592011-04-28 Deniz Dogan <deniz@dogan.se>
18560
18561 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18562 user has not joined.
18563
08abfaad
SM
185642011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18565
18566 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18567 aren't any completions at point.
18568
638f053a
JB
185692011-04-28 Juanma Barranquero <lekktu@gmail.com>
18570
18571 * subr.el (display-delayed-warnings): New function.
18572 (delayed-warnings-hook): New variable.
18573
8fff8daa
SM
185742011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18575
08abfaad
SM
18576 * minibuffer.el (completion-at-point, completion-help-at-point):
18577 Don't presume that a given completion-at-point-function will always
18578 use the same calling convention.
18579
8fff8daa
SM
18580 * pcomplete.el (pcomplete-completions-at-point):
18581 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18582 pcomplete-seen is non-nil.
18583 (pcomplete-comint-setup): Also recognize the new comint/shell
18584 completion functions.
18585 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18586 pcomplete-seen is non-nil.
18587
841a1577 185882011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 18589
841a1577 18590 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 18591 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 18592 the first character in the entry. This allows for code to add its
211ec907
UJ
18593 own uid to the entry.
18594 (icalendar--convert-float-to-ical): Add export of
18595 `diary-float'-entries save for those with the optional DAY
18596 argument.
18597
2a782793
DC
185982011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18599
18600 * subr.el (shell-quote-argument): Use alternate escaping strategy
18601 when we spot a variable reference in a string.
18602
0438ce91
DC
186032011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18604
18605 * cus-start.el (all): Define customization for debug-on-event.
18606
841a1577 186072011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
18608
18609 * subr.el (shell-quote-argument): Escape correctly under Windows.
18610
d090ed6c
SM
186112011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18612
18613 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18614
bfd31217
MA
186152011-04-25 Michael Albinus <michael.albinus@gmx.de>
18616
d090ed6c
SM
18617 * net/tramp.el (tramp-process-actions): Add POS argument.
18618 Delete region between POS and (pos).
bfd31217 18619
d090ed6c
SM
18620 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18621 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
18622 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18623
18624 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18625 position in `tramp-process-actions' call.
18626
18627 * net/trampver.el: Update release number.
18628
e92f3bd3
SM
186292011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18630
850256b5
SM
18631 * custom.el (defcustom): Obey lexical-binding.
18632
e92f3bd3
SM
18633 Fix octave-inf completion problems reported by Alexander Klimov.
18634 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18635 Inherit from octave-mode-syntax-table.
18636 (inferior-octave-mode): Set info-lookup-mode.
18637 (inferior-octave-completion-at-point): New function.
18638 (inferior-octave-complete): Use it and completion-in-region.
18639 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18640 comint-filename-completion.
18641 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18642 symbol elements which shouldn't be word elements.
18643 (octave-font-lock-keywords, octave-beginning-of-defun)
18644 (octave-function-header-regexp): Adjust regexps accordingly.
18645 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18646
cd22b309
JB
186472011-04-25 Juanma Barranquero <lekktu@gmail.com>
18648
18649 * net/gnutls.el (gnutls-errorp): Declare before first use.
18650
8b492194
TZ
186512011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18652
18653 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18654 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 18655 default trustfile exists before going to use it. Add missing
5a5fa834 18656 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
18657 Reported by Claudio Bley <claudio.bley@gmail.com>.
18658 (open-gnutls-stream): Add usage example.
18659
18660 * net/network-stream.el (network-stream-open-starttls): Give host
18661 parameter to `gnutls-negotiate'.
18662 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 18663 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 18664
841a1577 186652011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 18666
cd22b309
JB
18667 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18668 Use correct match group (bug#8438).
05842630 18669
3ba7869c
CY
186702011-04-24 Chong Yidong <cyd@stupidchicken.com>
18671
512e3ae1
CY
18672 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18673 (package-menu--generate): New arg specifying packages to show.
18674 (package-menu-refresh, package-menu-execute, list-packages):
18675 Callers changed.
18676 (package-show-package-list): New function, replacing deleted
18677 package--list-packages (renamed because it is non-internal).
18678
18679 * finder.el (finder-list-matches): Use package-show-package-list
18680 instead of deleted package--list-packages.
18681
e92f3bd3
SM
18682 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18683 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
18684 (vc-annotate-mode-map): Bind it to RET.
18685
7031be6d
UR
186862011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18687
18688 * progmodes/etags.el (next-file): Don't use set-buffer to change
18689 buffers (Bug#8478).
18690
4ef177aa
CY
186912011-04-24 Chong Yidong <cyd@stupidchicken.com>
18692
c8d173eb
CY
18693 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18694
4ef177aa
CY
18695 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18696 (apropos-accumulator): Doc fix.
18697 (apropos-function, apropos-macro, apropos-command)
18698 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18699 (apropos-plist): Add face property.
18700 (apropos-symbols-internal): Fix indentation.
18701 (apropos-print): Simplify help, and recognize apropos-multi-type.
18702 (apropos-print-doc): Use button-type-get to extract the button's
18703 face property. Fill docstring (Bug#8352).
18704
4ffd0d6b 187052011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
18706
18707 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18708
c6c32125 18709 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 18710 (mpuz-mode-map): Use mapc.
c6c32125
JB
18711 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18712 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18713 Fix typos in docstrings.
18714
58d468b4
JB
18715 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18716 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18717
6470c3c6
JB
18718 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18719
4ffd0d6b 187202011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
18721
18722 * minibuffer.el (completion--do-completion): Avoid the "Next char
18723 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18724
3ad8bad0
CY
18725 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18726 mouse-2 into unread-command-events, it is interpreted correctly.
18727
71d73c9c 18728 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 18729 (image-toggle-display): Doc fix.
71d73c9c 18730
841a1577 187312011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 18732
4ffd0d6b
GM
18733 * textmodes/page.el (what-page): Use line-number-at-pos to
18734 calculate line number (Bug#6825).
6e1dbaa9 18735
c2fb1b60
JB
187362011-04-22 Juanma Barranquero <lekktu@gmail.com>
18737
18738 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18739 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18740 Pass argument NO-DEFAULT to `find-tag-interactive'.
18741
e02f48d7
JB
187422011-04-22 Juanma Barranquero <lekktu@gmail.com>
18743
18744 Lexical-binding cleanup.
18745
18746 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18747 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18748 * progmodes/ada-prj.el (ada-prj-initialize-values)
18749 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18750 (ada-prj-show-value):
18751 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18752 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18753 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18754 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18755 * progmodes/bug-reference.el (bug-reference-push-button):
18756 * progmodes/fortran.el (fortran-line-length):
18757 * progmodes/glasses.el (glasses-change):
18758 * progmodes/octave-mod.el (octave-fill-paragraph):
18759 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18760 (python-pdbtrack-grub-for-buffer, python-sentinel):
18761 * progmodes/sql.el (sql-save-connection):
18762 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18763 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18764 Mark unused parameters.
18765
18766 * progmodes/compile.el (compilation--flush-directory-cache)
18767 (compilation--flush-parse, compile-internal): Mark unused parameters.
18768 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18769 (compilation-next-error-function): Remove unused variable `timestamp'.
18770
18771 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18772 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18773
18774 * progmodes/dcl-mode.el (dcl-end-of-command):
18775 Remove unused variable `start'.
18776 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18777 (dcl-option-value-basic, dcl-option-value-offset)
18778 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18779 Mark unused parameters.
18780 (dcl-save-local-variable): Remove unused variable `val'.
18781 (mode): Declare.
18782
18783 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18784 Mark unused parameters.
18785 (delphi-ignore-changes): Move before first use.
18786 (delphi-charset-token-at): Remove unused variable `start'.
18787 (delphi-else-start): Remove unused variable `if-count'.
18788 (delphi-comment-block-start, delphi-comment-block-end):
18789 Remove unused variable `kind'.
18790 (delphi-indent-line): Remove unused variable `new-point'.
18791
18792 * progmodes/ebrowse.el (ebrowse-files-list)
18793 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18794 Mark unused parameters. Don't quote `lambda'.
18795 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18796 Don't quote `lambda'.
18797 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18798 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18799 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18800 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18801 Use `ignore-errors'.
18802 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18803 (ebrowse-view/find-file-and-search-pattern)
18804 (ebrowse-view/find-member-declaration/definition):
18805 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18806 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18807 Rename parameter PREFIX-ARG to PREFIX.
18808 (ebrowse-tags-read-name): Remove unused variables `start' and
18809 `member-info'.
18810 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18811 to `tags-file'.
18812
18813 * progmodes/etags.el (local-find-tag-hook): Declare.
18814 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18815 Mark unused parameters.
18816
18817 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18818 (executable-interpret): Mark unused parameter.
18819
18820 * progmodes/flymake.el (flymake-process-sentinel)
18821 (flymake-after-change-function)
18822 (flymake-create-temp-with-folder-structure)
18823 (flymake-get-include-dirs-dot): Mark unused parameters.
18824 (flymake-safe-delete-directory): Remove unused variable `err'.
18825
18826 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18827 (speedbar-timer-fn, speedbar-line-text)
18828 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18829 (speedbar-center-buffer-smartly): Declare functions.
18830 (gdb-find-watch-expression): Remove unused variable `array'.
18831 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18832 (gdb-starting): Mark unused parameters.
18833 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18834 (gdb-table-string): Remove unused variable `res'.
18835 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18836 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18837 (gdb-display-buffer): Remove unused variable `cur-size'.
18838
18839 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18840 allow lexical-binding compilation.
18841 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18842 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18843 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18844 Mark unused parameters.
18845 (gud-gdb-marker-filter): Remove unused variable `match'.
18846 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18847 lambda expressions and funcall them, instead of using `fset'.
18848
18849 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18850 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18851
18852 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18853 variable `header-beg'; use `let'.
18854
18855 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18856 `restart', `last-sexp' and `at-do'.
18857
18858 * progmodes/js.el (js--debug): Mark unused parameter.
18859 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18860 (js--splice-into-items): Remove unused variable `item'.
18861 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18862
18863 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18864 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18865 (makefile-complete): Remove unused variable `try'.
18866 (makefile-fill-paragraph, makefile-match-function-end):
18867 Mark unused parameters.
18868
18869 * progmodes/octave-inf.el (inferior-octave-complete):
18870 Remove unused variable `proc'.
18871 (inferior-octave-output-digest): Mark unused parameter.
18872
18873 * progmodes/perl-mode.el (perl-calculate-indent):
18874 Remove unused variable `err'.
18875
18876 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18877 (prolog-indent-line): Mark unused parameters.
18878 (prolog-indent-line): Remove unused variable `beg'.
18879
18880 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18881 (reporter-dont-compact-list): Declare.
18882
18883 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18884 Remove unused variable `char'.
18885 (sh-debug): Mark unused parameter.
18886 (sh-get-indent-info): Remove unused variable `start'.
18887 (sh-calculate-indent): Remove unused variable `var'.
18888
18889 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18890 (simula-electric-keyword): Remove unused variable `null'.
18891 (simula-search-backward, simula-search-forward): Remove unused
18892 variables `begin' and `end'.
18893
18894 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18895 Remove unused variable `pos'.
18896 (vera-electric-tab, vera-comment-uncomment-region):
18897 Mark unused parameters.
18898 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18899
7ede3b65
CY
189002011-04-22 Chong Yidong <cyd@stupidchicken.com>
18901
18902 * emacs-lisp/package.el (package--builtins, package-alist)
18903 (package-load-descriptor, package-built-in-p, package-activate)
18904 (define-package, package-installed-p)
18905 (package-compute-transaction, package-buffer-info)
18906 (package--push): Doc fix. Distinguish more clearly between
18907 version strings and version lists.
18908
121656e9
JB
189092011-04-21 Juanma Barranquero <lekktu@gmail.com>
18910
18911 Lexical-binding cleanup.
18912
18913 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18914 (5x5-make-mutate-best):
18915 * play/fortune.el (fortune-in-buffer):
18916 * play/gomoku.el (gomoku-init-display):
18917 * play/solitaire.el (solitaire, solitaire-do-check):
18918 * play/tetris.el (tetris-default-update-speed-function):
18919 Mark unused parameters.
18920
18921 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18922 (bubbles--shift): Remove unused variable `char-org'.
18923 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18924 (bubbles--show-images): Remove unused variable `char'.
18925
18926 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18927 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18928 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18929 (decipher-analyze-buffer): Use ?\s.
18930 (decipher-make-checkpoint): Remove unused variable `mapping'.
18931
18932 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18933
18934 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18935 Remove unused variable `result'; use `let'.
18936
18937 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18938 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18939 (gametree-children-shown-p, gametree-compute-reduced-score):
18940 Use `ignore-errors'.
18941
18942 * play/handwrite.el (ps-lpr-switches): Declare.
18943 (handwrite): Remove unused variables `pmin' and `lastp'.
18944
18945 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18946
18947 * play/landmark.el (landmark-init-display)
18948 (landmark-update-naught-weights): Mark unused parameters.
18949 (landmark-y): Remove unused variable `noise'. Simplify.
18950 (landmark-human-plays): Remove unused variable `score'.
18951
18952 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18953 (mpuz-try-proposal): Remove unused variable `game'.
18954
18955 * play/zone.el (life-patterns): Declare.
18956
80f499c7
JB
189572011-04-20 Juanma Barranquero <lekktu@gmail.com>
18958
18959 * vc/vc.el (ediff-vc-internal): Declare function.
18960
024ff170
SM
189612011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18962
c0a193ea
SM
18963 * shell.el: Use lexical-binding and std completion UI.
18964 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18965 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18966 comint-preoutput-filter-functions rather than on
18967 comint-output-filter-functions.
18968 (shell-command-completion, shell--command-completion-data)
18969 (shell-filename-completion, shell-environment-variable-completion)
18970 (shell-c-a-p-replace-by-expanded-directory): New functions.
18971 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18972 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18973 (shell-dynamic-complete-environment-variable): Use them.
18974 (shell-dynamic-complete-as-environment-variable)
18975 (shell-dynamic-complete-as-command): Remove.
18976 (shell-match-partial-variable): Match past point.
18977 * comint.el: Clean up use of completion-at-point-functions.
18978 (comint-completion-at-point): New function.
18979 (comint-mode): Use it completion-at-point-functions.
18980 (comint-dynamic-complete): Make it obsolete.
18981 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18982 (comint-c-a-p-replace-by-expanded-history): New function.
18983 (comint-dynamic-complete-functions)
18984 (comint-replace-by-expanded-history): Use it.
18985 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18986 termination strings. Try harder to avoid second try-completion.
18987 (completion-in-region-mode-map): Disable bindings that don't work yet.
18988
2dbaa080
SM
18989 * comint.el: Use lexical-binding. Require CL.
18990 (comint-dynamic-complete-functions): Use comint-filename-completion.
18991 (comint-completion-addsuffix): Tweak custom type.
18992 (comint-filename-completion, comint--common-suffix)
18993 (comint--common-quoted-suffix, comint--table-subvert)
18994 (comint--complete-file-name-data): New functions.
18995 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18996 (comint-dynamic-list-filename-completions): Use them.
18997 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 18998
2dbaa080
SM
18999 * minibuffer.el (completion-in-region-mode):
19000 Keep completion-in-region-mode--predicate global.
19001 (completion-in-region--postch):
19002 Assume completion-in-region-mode--predicate is not null.
19003
c79a6f38
SM
19004 * progmodes/flymake.el (flymake-start-syntax-check-process):
19005 Obey `dir'. Simplify.
19006
024ff170
SM
19007 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19008 we're in VC after all.
19009
1c6c854e
CS
190102011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19011
19012 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 19013 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
19014 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19015
bed7f140
SM
190162011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19017
332e62ab
SM
19018 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19019 add sanity check.
19020
bed7f140
SM
19021 * obsolete/erc-hecomplete.el: Make obsolete.
19022 * obsolete/: Standardize obsolescence info in the header.
19023
f195c582
GM
190242011-04-20 Glenn Morris <rgm@gnu.org>
19025
19026 * calendar/solar.el (solar-horizontal-coordinates):
19027 Use the longitude argument rather than `calendar-longitude'.
19028 (solar-date-next-longitude): Remove unused locals.
19029
cb79b8c0
VJL
190302011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19031
19032 * whitespace.el: New version 13.2.1.
19033
190342011-04-20 felix <EmacsWiki> (tiny change)
19035
d8e4b68b 19036 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
19037 switching between major modes on a file.
19038
602ea69d
SM
190392011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19040
19041 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19042 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19043 multi-line comments as well.
19044
06b60517
JB
190452011-04-19 Juanma Barranquero <lekktu@gmail.com>
19046
19047 Lexical-binding cleanup.
19048
19049 * arc-mode.el (archive-mode-revert):
19050 * cmuscheme.el (scheme-interactively-start-process):
19051 * custom.el (custom-initialize-delay):
19052 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19053 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19054 * emacs-lock.el (emacs-lock-clear-sentinel):
19055 * ezimage.el (defezimage):
19056 * follow.el (follow-avoid-tail-recenter):
19057 * fringe.el (set-fringe-mode-1):
19058 * generic-x.el (bat-generic-mode-compile):
19059 * help-mode.el (help-info-variable, help-do-xref)
19060 (help-mode-revert-buffer):
19061 * help.el (view-emacs-todo):
19062 * iswitchb.el (iswitchb-completion-help):
19063 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19064 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19065 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19066 * locate.el (locate-update):
19067 * longlines.el (longlines-encode-region)
19068 (longlines-after-change-function):
19069 * outline.el (outline-isearch-open-invisible):
19070 * ps-def.el (declare-function, charset-dimension, char-width)
19071 (encode-char):
19072 * ps-mule.el (ps-mule-plot-string):
19073 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19074 (recentf-edit-list-select, recentf-edit-list-validate)
19075 (recentf-open-files-action):
19076 * rect.el (delete-whitespace-rectangle-line)
19077 (rectangle-number-line-callback):
19078 * register.el (window-configuration-to-register)
19079 (frame-configuration-to-register):
19080 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19081 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19082 (xselect-convert-to-targets, xselect-convert-to-delete)
19083 (xselect-convert-to-filename, xselect-convert-to-charpos)
19084 (xselect-convert-to-lineno, xselect-convert-to-colno)
19085 (xselect-convert-to-os, xselect-convert-to-host)
19086 (xselect-convert-to-user, xselect-convert-to-class)
19087 (xselect-convert-to-name, xselect-convert-to-integer)
19088 (xselect-convert-to-atom, xselect-convert-to-identity):
19089 * subr.el (declare, ignore, process-kill-without-query)
19090 (text-clone-maintain):
19091 * terminal.el (te-get-char, te-tic-sentinel):
19092 * tool-bar.el (tool-bar-make-keymap):
19093 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19094 * type-break.el (type-break-mode, type-break-noninteractive-query):
19095 * view.el (View-back-to-mark):
19096 * wid-browse.el (widget-browse-action, widget-browse-widget)
19097 (widget-browse-widgets, widget-browse-sexp):
19098 * widget.el (define-widget-keywords):
19099 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19100 Mark unused parameters.
19101
19102 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19103 (align-areas): Remove unused variable `look'.
19104 (align-region): Remove unused variables `real-end' and `pos-list'.
19105
19106 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19107
19108 * bindings.el (mode-line-modified, mode-line-remote):
19109 Mark unused parameters.
19110 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19111
19112 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19113 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19114
19115 * comint.el (comint-history-isearch-pop-state)
19116 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19117 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19118 (comint-substitute-in-file-name): Doc fix.
19119
19120 * completion.el (cmpl-statistics-block): Mark unused parameter.
19121 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19122 (save-completions-to-file, load-completions-from-file):
19123 Remove unused local variable `e'.
19124
19125 * composite.el (compose-chars): Remove unused variable `len'.
19126 (lgstring-insert-glyph): Remove unused variable `g'.
19127 (compose-glyph-string): Remove unused variables `ascent',
19128 `descent', `lbearing' and `rbearing'.
19129 (compose-glyph-string-relative): Remove unused variables
19130 `lbearing', `rbearing' and `wadjust'.
19131 (compose-gstring-for-graphic): Remove unused variables `header',
19132 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19133 (compose-gstring-for-terminal): Remove unused variables `header'
19134 and `nchars'. Use `let', not `let*'.
19135
19136 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19137 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19138 (Custom-buffer-done, custom-buffer-create-internal)
19139 (custom-browse-visibility-action, custom-browse-group-tag-action)
19140 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19141 (widget-magic-mouse-down-action, custom-toggle-parent)
19142 (custom-add-parent-links, custom-toggle-hide-variable)
19143 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19144 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19145 (custom-face-menu-create, custom-variable-menu-create, get)
19146 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19147 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19148 (customize-apropos): Remove unused variable `tests'.
19149 (custom-group-value-create): Remove unused variable `hidden-p'.
19150 (sort-fold-case): Declare.
19151
19152 * cus-theme.el (custom-reset-standard-faces-list)
19153 (custom-reset-standard-variables-list): Declare.
19154 (customize-create-theme, custom-theme-revert, custom-theme-write)
19155 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19156 Mark unused parameters.
19157
19158 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19159
19160 * delim-col.el (delimit-columns-max): Move defvar before first use.
19161
19162 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 19163 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
19164
19165 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19166 (auto-insert): Declare.
19167 (desktop-restore-file-buffer): Rename desktop-* parameters;
19168 mark unused ones.
19169 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19170 (desktop-buffer): Rename desktop-* parameters.
19171
19172 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19173 (dframe-reposition-frame-xemacs, dframe-help-echo)
19174 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19175 Mark unused parameters.
19176
19177 * dired-aux.el (backup-extract-version-start, overwrite-query)
19178 (overwrite-backup-query, rename-regexp-query)
19179 (rename-non-directory-query): Declare.
19180 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19181 (dired-add-entry): Remove unused variable `orig-file-name'.
19182 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19183 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19184 `dired-copy-preserve-time' directly.
19185 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19186 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19187
19188 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19189 (dired-virtual-revert, dired-make-relative-symlink):
19190 Mark unused parameters.
19191 (manual-program): Declare.
19192 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19193 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19194 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19195
19196 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19197
19198 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19199
19200 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19201 Declare.
19202
19203 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19204
19205 * electric.el (Electric-command-loop): Rename parameter
19206 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19207
19208 * expand.el (expand-in-literal): Remove unused variable `here'.
19209
19210 * facemenu.el (facemenu-add-new-color):
19211 Remove unused variable `docstring'.
19212
19213 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19214 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19215 (face-attr-construct): Mark unused parameter. Doc fix.
19216 (read-color): Remove unused variable `hex-string'.
19217
19218 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19219 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19220 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19221 (display-buffer-other-frame): Remove unused variable `old-window'.
19222 (kill-buffer-hook): Declare.
19223 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19224 Mark unused parameters.
19225 (after-find-file): Pass 1 to `auto-save-mode', not t.
19226
19227 * files-x.el (auto-insert): Declare.
19228 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19229
19230 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 19231 variable `buf'. Mark unused parameter.
06b60517
JB
19232 (find-lisp-insert-directory): Mark unused parameter.
19233
19234 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19235 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19236 (format-common-tail): Remove, unused.
19237 (format-deannotate-region): Remove unused variable `loc'.
19238 (format-annotate-region): Remove unused variable `p'.
19239 (format-annotate-single-property-change): Remove unused variables
19240 `default' and `tail'.
19241
19242 * forms.el (read-file-filter): Declare.
19243 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19244
19245 * frame.el (frame-creation-function-alist): Mark unused parameter.
19246 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19247
19248 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19249 Remove unused parameters.
19250 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19251 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19252
19253 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19254 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19255 (hfy-prepare-tag-map): Mark unused parameters.
19256 (htmlfontify-buffer): Use `called-interactively-p'.
19257
19258 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19259 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19260 (ibuffer-do-occur): Mark unused parameters.
19261 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19262 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19263
19264 * ibuffer.el: Don't quote `lambda'.
19265 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19266 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19267 Mark unused parameters.
19268
19269 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19270 (ido-completing-read): Mark unused parameters.
19271 (ido-copy-current-word): Mark unused parameters;
19272 remove unused variable `name'.
19273 (ido-sort-merged-list): Remove unused parameter `dirs'.
19274
19275 * ielm.el (ielm-input-sender): Mark unused parameter.
19276 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19277 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19278 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19279 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19280 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19281
19282 * image-dired.el (image-dired-display-thumbs): Remove unused
19283 variables `curr-file' and `count'.
19284 (image-dired-remove-tag): Remove unused variable `start'.
19285 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19286 variable `curr-file'
19287 (image-dired-rotate-original): Remove unused variable `temp-file'.
19288 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19289 Remove unused variable `file'.
19290 (image-dired-gallery-generate): Remove unused variable `curr'.
19291 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19292
19293 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19294
19295 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19296
19297 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19298
19299 * isearch.el (minibuffer-history-symbol): Declare.
19300 (isearch-edit-string): Remove unused variable `err'.
19301 (isearch-message-prefix, isearch-message-suffix):
19302 Mark unused parameters.
19303
19304 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19305
19306 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19307
19308 * makesum.el (double-column): Remove unused variable `cnt'.
19309
19310 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19311 (ido-ignore-item-temp-list): Declare.
19312
19313 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19314 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19315 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19316 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19317 `mouse-col-delta'.
19318
19319 * mouse-sel.el (mouse-extend-internal):
19320 Remove unused variable `orig-window-frame'.
19321
19322 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19323 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19324 Move declarations before first use.
19325 (pcomplete-opt): Mark unused parameters; doc fix.
19326
19327 * proced.el (proced-revert): Mark unused parameter.
19328 (proced-send-signal): Remove unused variable `err'.
19329
19330 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19331 Rename parameter PREFIX-ARG to ARG.
19332 (ps-basic-plot-string, ps-basic-plot-whitespace):
19333 Mark unused parameters.
19334
19335 * replace.el (replace-count): Define.
19336 (occur-revert-function): Mark unused parameters.
19337 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19338 (isearch-case-fold-search, isearch-string): Declare.
19339 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19340 bind `case-fold-search'. Remove unused variables `beg' and `end',
19341 and simplify.
19342 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19343 COUNT and bind `replace-count'.
19344 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19345 to COUNT.
19346
19347 * savehist.el (print-readably, print-string-length): Declare.
19348
19349 * shadowfile.el (shadow-expand-cluster-in-file-name):
19350 Remove unused variable `cluster'.
19351 (shadow-copy-file): Remove unused variable `i'.
19352 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19353 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19354 (shadow-define-literal-group, shadow-define-regexp-group)
19355 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19356
19357 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19358 (shell): Use `called-interactively-p'.
19359 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19360
19361 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19362 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19363 (delete-backward-char): Remove unused variable `ocol'.
19364 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19365 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19366 (event-apply-hyper-modifier, event-apply-shift-modifier)
19367 (event-apply-control-modifier, event-apply-meta-modifier):
19368 Mark unused parameters.
19369 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19370 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19371
19372 * speedbar.el (speedbar-ignored-directory-expressions)
19373 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19374 (speedbar-find-file, speedbar-dir-follow)
19375 (speedbar-directory-buttons-follow, speedbar-tag-find)
19376 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19377 (speedbar-buffers-line-directory, speedbar-buffer-click):
19378 Mark unused parameters.
19379 (speedbar-tag-file): Remove unused variable `mode'.
19380 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19381
19382 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19383
19384 * talk.el (talk): Remove unused variable `display'.
19385
19386 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19387 (tar-write-region-annotate): Mark unused parameter.
19388
19389 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19390 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19391 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19392 warning by another.
19393
19394 * time-stamp.el (time-stamp-string-preprocess):
19395 Remove unused variable `require-padding'.
19396
19397 * tree-widget.el (widget-glyph-enable): Declare.
19398 (tree-widget-action): Mark unused parameter.
19399
19400 * w32-fns.el (x-get-selection): Mark unused parameter.
19401 (autoload-make-program, generated-autoload-file): Declare.
19402
19403 * wdired.el (wdired-revert): Mark unused parameters.
19404 (wdired-xcase-word): Remove unused variable `err'.
19405
19406 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19407 (whitespace-help-scroll): Remove unused variable `data-help'.
19408
19409 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19410 (widget-image-insert, widget-after-change, default)
19411 (widget-default-format-handler, widget-default-notify)
19412 (widget-default-prompt-value, widget-info-link-action)
19413 (widget-url-link-action, widget-function-link-action)
19414 (widget-variable-link-action, widget-file-link-action)
19415 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19416 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19417 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19418 (widget-insert-button-action, widget-delete-button-action, visibility)
19419 (widget-documentation-link-action, widget-documentation-string-action)
19420 (widget-const-prompt-value, widget-regexp-match, symbol)
19421 (widget-coding-system-prompt-value)
19422 (widget-key-sequence-value-to-external, sexp)
19423 (widget-sexp-value-to-internal, character, vector, cons)
19424 (widget-choice-prompt-value, widget-boolean-prompt-value)
19425 (widget-color--choose-action): Mark unused parameters.
19426 (widget-item-match-inline, widget-choice-match-inline)
19427 (widget-checklist-match, widget-checklist-match-inline)
19428 (widget-group-match): Rename parameter VALUES to VALS.
19429 (widget-field-value-set): Remove unused variable `size'.
19430 (widget-color-action): Remove unused variables `value' and `start'.
19431
19432 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 19433 variable `dir'. Doc fix.
06b60517
JB
19434 (windmove-find-other-window): Don't pass it.
19435
19436 * window.el (count-windows): Mark unused parameter.
19437 (bw-adjust-window): Remove unused variable `err'.
19438
19439 * woman.el (woman-file-name): Remove unused variable `default'.
19440 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19441 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19442 (global-font-lock-mode): Declare.
19443 (woman-decode-region): Mark unused parameter.
19444 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19445
19446 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19447 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19448 (x-dnd-handle-moz-url): Remove unused variable `title'.
19449 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19450
19451 * xml.el (xml-parse-tag, xml-parse-attlist):
19452 Remove unused variable `pos'.
19453
bc4f7f3d
GM
194542011-04-19 Glenn Morris <rgm@gnu.org>
19455
19456 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19457 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19458 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19459 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19460 * calendar/cal-html.el (cal-html-insert-minical):
19461 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19462 (calendar-mark-date-pattern):
19463 Prefix "unused" locals.
19464
19465 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19466 optional argument `style'.
19467
19468 * calendar/appt.el (appt-make-list):
19469 * calendar/cal-china.el (calendar-chinese-date-string):
19470 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19471 (diary-hebrew-yahrzeit):
19472 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19473 * calendar/calendar.el (calendar-generate-window):
19474 * calendar/time-date.el (time-to-days):
19475 Remove unused local variables.
19476
16a43933
CY
194772011-04-18 Chong Yidong <cyd@stupidchicken.com>
19478
19479 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19480 glyphless-char-display table.
19481 (tabulated-list-glyphless-char-display): New var.
19482
7eed1860
SS
194832011-04-18 Sam Steingold <sds@gnu.org>
19484
19485 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19486 to acknowledgments.
19487
4d2d1ccd
GM
194882011-04-17 Glenn Morris <rgm@gnu.org>
19489
19490 * calendar/diary-lib.el (diary-sexp-entry):
19491 * calendar/holidays.el (holiday-sexp):
19492 Set debug-on-error rather than the removed stack-trace-on-error.
19493
239da61d
GM
194942011-04-16 Glenn Morris <rgm@gnu.org>
19495
19496 * progmodes/f90.el: Use lexical-binding.
19497 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19498
8b05752a
SM
194992011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19500
daca8ba5
SM
19501 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19502 (mail-mode): Setup mailalias completion here instead.
19503 * mail/mailalias.el: Use lexical-binding.
19504 (pattern, mailalias-done): Declare dynamic.
19505 (mail-completion-at-point-function): New function, from mail-complete.
19506 (mail-complete): Use it.
19507 (mail-completion-expand): New function.
19508 (mail-get-names): Use it.
19509 (mail-directory, mail-directory-process, mail-directory-stream):
19510 Don't use `pattern' for lexically bound arg.
19511
6f542485
SM
19512 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19513
037e7c3f
SM
19514 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19515 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19516 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19517
8b05752a
SM
19518 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19519 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19520 (byte-interactive-p): Define them again, for use when inlining
19521 old code.
19522
49093f60
JB
195232011-04-15 Juanma Barranquero <lekktu@gmail.com>
19524
19525 * loadup.el: Use `string-to-number', not `string-to-int'.
19526
b5b8e7de
SM
195272011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19528
19529 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19530 gud-gdb-complete-command.
19531 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19532 (gud-gdb-completion-at-point): New function.
19533 (gud-gdb-completions): Remove.
19534
f42efeb5
MA
195352011-04-14 Michael Albinus <michael.albinus@gmx.de>
19536
49093f60
JB
19537 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19538 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19539 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19540 whether `executable-find' is bound.
f42efeb5
MA
19541
19542 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19543
e240cc21
SM
195442011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19545
19546 * minibuffer.el (completion-in-region-mode-predicate)
19547 (completion-in-region-mode--predicate): New vars.
19548 (completion-in-region, completion-in-region--postch)
19549 (completion-in-region-mode): Use them.
19550 (completion--capf-wrapper): Also return the hook function.
19551 (completion-at-point, completion-help-at-point):
19552 Adjust and provide a predicate.
c2bd2ab0
SM
19553
19554 Preserve arg names for advice of subr and lexical functions (bug#8457).
19555 * help-fns.el (help-function-arglist): Consolidate the subr and
19556 new-byte-code cases. Add argument `preserve-names' to extract names
19557 from the docstring when needed.
19558 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19559 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19560 (ad-arglist): Use help-function-arglist's new arg.
19561 (ad-definition-type): Use cond.
19562
c183f693
JB
195632011-04-13 Juanma Barranquero <lekktu@gmail.com>
19564
06641a47
JB
19565 * autorevert.el (auto-revert-handler):
19566 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19567 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19568 Don't quote lambda.
19569
c183f693
JB
19570 * image-mode.el (image-transform-set-scale):
19571 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19572
1e3b6001
G
195732011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19574
19575 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 19576 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
19577 Upgrades via gnutls-cli are too slow to be done opportunistically.
19578
2d6af8dd
JB
195792011-04-12 Juanma Barranquero <lekktu@gmail.com>
19580
19581 * dframe.el (dframe-current-frame): Remove spurious quote.
19582
c0749a51
GM
195832011-04-12 Glenn Morris <rgm@gnu.org>
19584
088d0d61
GM
19585 * calendar/cal-tex.el (cal-tex-end-document):
19586 Try to automatically use latin1 input if needed.
19587
c0749a51
GM
19588 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19589 Don't try to cons a mark onto an empty element.
19590
5c90fde0
LL
195912011-04-11 Leo Liu <sdl.web@gmail.com>
19592
19593 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19594 buffers.
19595 (ido-kill-buffer-at-head): Support killing virtual buffers.
19596
369e974d
CY
195972011-04-10 Chong Yidong <cyd@stupidchicken.com>
19598
19599 * minibuffer.el (completion-show-inline-help): New var.
19600 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
19601 (minibuffer-force-complete, minibuffer-complete-word):
19602 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
19603
19604 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19605 to avoid interference from inline help (Bug#5849).
19606
37f1c930
LL
196072011-04-10 Leo Liu <sdl.web@gmail.com>
19608
099c39a4
JB
19609 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19610 Fix typo.
37f1c930 19611
a32d4040
CY
196122011-04-09 Chong Yidong <cyd@stupidchicken.com>
19613
19614 * image-mode.el (image-toggle-display-image): Signal an error if
19615 not in Image mode.
19616 (image-transform-mode, image-transform-resize)
19617 (image-transform-set-rotation): Doc fix.
daca8ba5 19618 (image-transform-set-resize): Delete.
a32d4040
CY
19619 (image-transform-set-scale, image-transform-fit-to-height)
19620 (image-transform-fit-to-width): Handle image-toggle-display-image
19621 and image-transform-resize directly.
19622
099c39a4 196232011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
19624
19625 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
19626 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19627 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
19628 (doc-view-mode-map): Add bindings for the new functions.
19629
099c39a4 196302011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 19631
4d61f28d 19632 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
19633 Fix typo in docstring.
19634
3726838a
EZ
196352011-04-08 Eli Zaretskii <eliz@gnu.org>
19636
04f33f1e
EZ
19637 * files.el (file-size-human-readable): Produce one digit after
19638 decimal, like "ls -lh" does.
19639
19640 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19641 the file size representation.
19642
3726838a
EZ
19643 * simple.el (list-processes): If async subprocesses are not
19644 available, error out with a clear error message.
19645
cbb59342
CY
196462011-04-08 Chong Yidong <cyd@stupidchicken.com>
19647
19648 * help.el (help-form-show): New function, to be called from C.
19649 Put help-form output in a buffer named differently than *Help*.
19650
e3971c44
EZ
196512011-04-08 Eli Zaretskii <eliz@gnu.org>
19652
19653 * files.el (file-size-human-readable): New function.
19654
19655 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19656 computing the representation inline. Don't require `cl'.
19657
12544bbe
GM
196582011-04-08 Glenn Morris <rgm@gnu.org>
19659
a1de6c6a
GM
19660 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19661
3c4671f4
GM
19662 * net/browse-url.el (browse-url-firefox):
19663 Test system-type, not system-configuration.
19664
b605679c
GM
19665 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19666 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19667 Use log-edit-empty-buffer-p. (Bug#7598)
19668
56442f0c
GM
19669 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19670 (rlogin-mode-map): Initialize in the defvar.
19671 (rlogin): Use ignore-errors.
19672
12544bbe
GM
19673 * replace.el (occur-mode-map): Some fixes for menu items.
19674
eb237b0f
AH
196752011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19676
19677 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19678
7d668f2c
CY
196792011-04-06 Chong Yidong <cyd@stupidchicken.com>
19680
e67a13ab
CY
19681 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19682 issuing unused warnings.
19683
19684 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19685 macro directly.
19686
7d668f2c
CY
19687 * simple.el: Lisp reimplement of list-processes. Based on an
19688 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19689 (process-menu-mode): New major mode.
19690 (list-processes--refresh, list-processes):
19691 (process-menu-visit-buffer): New functions.
19692
19693 * files.el (save-buffers-kill-emacs): Don't assume any return
19694 value of list-processes, which is undocumented anyway.
19695
a83ec3c9
CY
196962011-04-06 Chong Yidong <cyd@stupidchicken.com>
19697
19698 * emacs-lisp/tabulated-list.el: New file.
19699
e91a96fe
CY
19700 * emacs-lisp/package.el: Use Tabulated List mode.
19701 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19702 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19703 table format using Tabulated List mode variables.
19704 (package--push): New macro, replacing package-list-maybe-add.
19705 (package-menu--generate): Use package--push. Renamed from
19706 package--generate-package-list.
19707 (package-menu-refresh, list-packages): Use it.
daca8ba5 19708 (package-menu--print-info): Rename from package-print-package.
e91a96fe 19709 Return insertion data instead of inserting it directly.
099c39a4
JB
19710 (package-menu-describe-package, package-menu-execute):
19711 Use tabulated-list-get-id.
e91a96fe
CY
19712 (package-menu-mark-delete, package-menu-mark-install)
19713 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
19714 (package-menu-mark-obsolete-for-deletion):
19715 Use tabulated-list-put-tag.
e91a96fe
CY
19716 (package--list-packages, package-menu-revert)
19717 (package-menu-get-package, package-menu-get-version)
19718 (package-menu-sort-by-column): Functions deleted.
19719 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19720 (package-menu--status-predicate, package-menu--version-predicate)
19721 (package-menu--name-predicate)
19722 (package-menu--description-predicate): Handle arguments in the
19723 Tabulated List format.
19724 (package-list-packages-no-fetch): Call list-packages.
19725
3e214b50
JB
197262011-04-06 Juanma Barranquero <lekktu@gmail.com>
19727
19728 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 19729 (after-find-file): Don't bind it.
3e214b50
JB
19730 (revert-buffer-in-progress-p): New variable.
19731 (revert-buffer): Bind it.
19732 Pass nil for `after-find-file-from-revert-buffer'.
19733
19734 * saveplace.el (save-place-find-file-hook): Use new variable
19735 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19736
3f0f1700
GM
197372011-04-06 Glenn Morris <rgm@gnu.org>
19738
c0274801
GM
19739 * Makefile.in (AUTOGEN_VCS): New variable.
19740 (autoloads): Use $AUTOGEN_VCS.
19741
3f0f1700
GM
19742 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19743 * calendar/calendar.el (calendar-mode-map):
19744 Check for toolkit scroll bars. (Bug#8305)
19745
41ea9e48
CY
197462011-04-05 Chong Yidong <cyd@stupidchicken.com>
19747
19748 * minibuffer.el (completion-in-region--postch)
19749 (completion-in-region-mode): Remove unnecessary messages.
19750
6194c800
JB
197512011-04-05 Juanma Barranquero <lekktu@gmail.com>
19752
33256f14
JB
19753 * font-lock.el (font-lock-refresh-defaults):
19754 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19755 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19756
6194c800
JB
19757 * info.el (Info-directory-list, Info-read-node-name-2)
19758 (Info-split-parameter-string): Doc fixes.
19759 (Info-virtual-nodes): Reflow docstring.
19760 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19761 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19762 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19763 Fix typos in docstrings.
19764 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19765 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19766 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19767 (Info-restore-desktop-buffer): Mark unused parameters.
19768 (Info-directory-find-file, Info-directory-find-node)
19769 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19770 (Info-virtual-index-find-node, Info-apropos-find-file)
19771 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 19772 Mark unused parameters; fix typos in docstrings.
6194c800
JB
19773 (Info-virtual-index): Remove unused local variable `nodename'.
19774
b87a8200 197752011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 19776
b87a8200
DD
19777 * net/rcirc.el: Update my e-mail address.
19778 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 19779
3b2ff876
CY
197802011-04-05 Chong Yidong <cyd@stupidchicken.com>
19781
19782 * startup.el (command-line): Save the cursor's theme-face
19783 directly, instead of using face-override-spec.
19784
19785 * custom.el (load-theme): Minor optimization in assigning faces.
19786
8d17e7ca
JB
197872011-04-04 Juanma Barranquero <lekktu@gmail.com>
19788
19789 * help-fns.el (describe-variable): Complete all variables having
19790 documentation, including keywords.
19791 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19792
2fbc1934
JB
197932011-04-04 Juanma Barranquero <lekktu@gmail.com>
19794
19795 Convert to lexical-binding.
19796
19797 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19798 (bs--get-marked-string, bs--get-modified-string)
19799 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19800 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19801 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19802
19803 * ehelp.el (electric-help-execute-extended)
19804 (electric-help-ctrl-x-prefix):
19805 * hexl.el (hexl-revert-buffer-function):
19806 * linum.el (linum-after-change, linum-after-scroll):
19807 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19808
19809 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19810
74f50695
DU
198112011-04-04 Daiki Ueno <ueno@unixuser.org>
19812
19813 * epa-dired.el:
19814 * epa-mail.el:
19815 * epa-hook.el:
19816 * epa-file.el:
19817 * epa.el:
19818 * epg.el: Use lexical binding.
19819
c11325f7
CY
198202011-04-03 Chong Yidong <cyd@stupidchicken.com>
19821
0d9e9a12
CY
19822 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19823
c11325f7 19824 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
19825 dictionary case for flyspell-mark-duplications-exceptions.
19826 Use regexp matching for languages.
c11325f7
CY
19827 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19828 default dictionary (Bug#7926).
19829
da91b5f2
CY
198302011-04-02 Chong Yidong <cyd@stupidchicken.com>
19831
099c39a4
JB
19832 * emacs-lisp/package.el (package--with-work-buffer):
19833 Recognize https URLs.
da91b5f2 19834
099c39a4
JB
19835 * net/network-stream.el: Move from gnus/proto-stream.el.
19836 Change prefix to network-stream throughout.
da91b5f2
CY
19837 (open-protocol-stream): Merge into open-network-stream, leaving
19838 open-protocol-stream as an alias. Handle nil BUFFER args.
19839
19840 * subr.el (open-network-stream): Move to net/network-stream.el.
19841
afa8e9f6
GM
198422011-04-02 Glenn Morris <rgm@gnu.org>
19843
1d2e369d
GM
19844 * find-dired.el (find-exec-terminator): New option.
19845 (find-ls-option): Test for -ls support.
19846 (find-ls-subdir-switches): Test for -b in find-ls-option.
19847 (find-dired, find-grep-dired): Doc fixes.
19848 (find-dired): Use find-exec-terminator.
19849
8abb7da8 19850 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
19851 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19852 (find-name-arg): Remove purecopy.
8abb7da8 19853
f3ca7378
GM
19854 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19855 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19856 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19857 accordingly. Don't add the null-device if not needed.
19858
afa8e9f6
GM
19859 * files.el (save-some-buffers): Doc fix.
19860
35eae264
EZ
198612011-04-02 Eli Zaretskii <eliz@gnu.org>
19862
19863 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19864
26b51db5
JB
198652011-04-01 Juanma Barranquero <lekktu@gmail.com>
19866
19867 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19868 Use `dolist' rather than `mapcar'.
19869
7200d79c
SM
198702011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19871
03408648 19872 Add lexical binding.
7200d79c 19873
03408648
SM
19874 * subr.el (apply-partially): Use new closures rather than CL.
19875 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19876 (dolist, dotimes): Use slightly different expansion for lexical code.
19877 (functionp): Move to C.
19878 (letrec): New macro.
19879 (with-wrapper-hook): Use it and apply-partially instead of CL.
19880 (eval-after-load): Preserve lexical-binding.
19881 (save-window-excursion, with-output-to-temp-buffer): Turn them
19882 into macros.
7200d79c 19883
03408648
SM
19884 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19885
19886 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19887 than the arglist.
19888 (help-add-fundoc-usage): Don't add `Not documented'.
19889 (help-function-arglist): Handle closures, subroutines, and new
19890 byte-code-functions.
19891 (help-make-usage): Remove leading underscores.
19892 (describe-function-1): Handle closures.
19893 (describe-variable): Use special-variable-p for completion.
19894
19895 * files.el (lexical-binding): Declare safe.
f488fb65 19896
03408648
SM
19897 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19898 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19899 (pcase): Add `let' pattern.
19900 Change memoization so it actually works.
19901 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19902 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19903 <let>: New case.
f488fb65 19904
03408648
SM
19905 * emacs-lisp/macroexp.el: Use lexical binding.
19906 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19907 Don't convert ' to #' without checking that it's indeed quoting
19908 a lambda.
19909
19910 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 19911 Use eval-sexp-add-defvars.
03408648
SM
19912 (eval-sexp-add-defvars): New fun.
19913
19914 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19915
19916 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19917 Don't autoload.
19918 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19919 than the internal `byte-compile-lambda'.
19920 (defmethod): Don't hide code under quotes.
19921 (eieio-defmethod): New `code' argument.
19922
19923 * emacs-lisp/eieio-comp.el: Remove.
19924
19925 * emacs-lisp/edebug.el (edebug-eval-defun)
19926 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19927 (edebug-toggle): Avoid `eval'.
19928
19929 * emacs-lisp/disass.el (disassemble-internal): Handle new
19930 `closure' objects.
19931 (disassemble-1): Handle new byte codes.
19932
19933 * emacs-lisp/cl.el (pushnew): Silence warning.
19934
19935 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19936 (cl-byte-compile-throw): Remove.
19937 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19938
19939 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19940 closures.
19941
19942 * emacs-lisp/cconv.el: New file.
19943
19944 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19945 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19946 (byte-compile-initial-macro-environment):
19947 Handle declare-function here.
19948 (byte-compile--lexical-environment): New var.
19949 (byte-stack-ref, byte-stack-set, byte-discardN)
19950 (byte-discardN-preserve-tos): New lap codes.
19951 (byte-interactive-p): Don't use any more.
19952 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19953 New macros.
19954 (byte-compile-lapcode): Use them and handle new lap codes.
19955 (byte-compile-obsolete): Remove.
19956 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19957 (byte-compile-arglist-warn): Check late def of inlinable funs.
19958 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19959 since they should have been expanded by now.
19960 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19961 (byte-compile-from-buffer): Remove unused second arg.
19962 (byte-compile-preprocess): New function.
19963 (byte-compile-toplevel-file-form): New function to distinguish
19964 file-form calls from outside from file-form calls from hunk-handlers.
19965 (byte-compile-file-form): Simplify.
19966 (byte-compile-file-form-defsubst): Remove.
19967 (byte-compile-file-form-defmumble): Simplify now that
19968 byte-compile-lambda always returns a byte-code-function.
19969 (byte-compile): Preprocess.
19970 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19971 Remove, not used any more.
19972 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19973 (byte-compile-make-args-desc): New funs.
19974 (byte-compile-lambda): Handle lexical functions. Always return
19975 a byte-code-function.
19976 (byte-compile-reserved-constants): New var, to make up room for
19977 closed-over variables.
19978 (byte-compile-constants-vector): Obey it.
19979 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19980 (byte-compile-macroexpand-declare-function): New function.
19981 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19982 byte-code-functions.
19983 (byte-compile-form): Check obsolescence here.
19984 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19985 (byte-compile-variable-ref): Remove.
19986 (byte-compile-dynamic-variable-op): New fun.
19987 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19988 (byte-compile-variable-set): New funs.
19989 (byte-compile-discard): Add 2 args.
19990 (byte-compile-stack-ref, byte-compile-stack-set)
19991 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19992 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19993 macroexpand-all instead.
19994 (byte-compile-quote-form): Remove.
19995 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19996 (byte-compile-bind, byte-compile-unbind): New funs.
19997 (byte-compile-let): Handle let* and lexical binding.
19998 (byte-compile-let*): Remove.
19999 (byte-compile-catch, byte-compile-unwind-protect)
20000 (byte-compile-track-mouse, byte-compile-condition-case):
20001 Handle a new :fun-body form, used for lexical scoping.
20002 (byte-compile-save-window-excursion)
20003 (byte-compile-with-output-to-temp-buffer): Remove.
20004 (byte-compile-defun): Simplify.
20005 (byte-compile-stack-adjustment): New fun.
20006 (byte-compile-out): Use it.
20007 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20008
20009 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20010 handler any more.
20011
20012 * emacs-lisp/byte-opt.el: Use lexical binding.
20013 (byte-inline-lapcode): Remove (to bytecomp).
20014 (byte-compile-inline-expand): Pay attention to inlining to/from
20015 lexically bound code.
20016 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20017 any more.
20018 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20019 any more and don't call compiler-macros.
20020 (byte-compile-splice-in-already-compiled-code): Remove.
20021 (byte-code): Don't inline any more.
20022 (disassemble-offset): Receive `bytes' as argument rather than via
20023 dynamic scoping.
20024 (byte-compile-tag-number): Declare before first use.
20025 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20026 `return' even if make-spliceable.
20027 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20028 obsolete interactive-p.
20029 (byte-optimize-lapcode): Optimize new lap-codes.
20030 Don't trip up on new form of `byte-constant' lap code.
20031
20032 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20033
20034 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20035
20036 * custom.el (custom-initialize-default, custom-declare-variable):
20037 Use `defvar'.
20038
20039 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20040 New variables.
20041 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20042 (COMPILE_FIRST): Add macroexp and cconv.
20043 * makefile.w32-in: Mirror changes in Makefile.in.
20044
20045 * vc/cvs-status.el:
20046 * vc/diff-mode.el:
20047 * vc/log-edit.el:
20048 * vc/log-view.el:
20049 * vc/smerge-mode.el:
20050 * textmodes/bibtex-style.el:
090bd7cb 20051 * textmodes/css-mode.el:
03408648
SM
20052 * startup.el:
20053 * uniquify.el:
da91b5f2
CY
20054 * minibuffer.el:
20055 * newcomment.el:
20056 * reveal.el:
20057 * server.el:
20058 * mpc.el:
20059 * emacs-lisp/smie.el:
20060 * doc-view.el:
20061 * dired.el:
03408648
SM
20062 * abbrev.el: Use lexical binding.
20063
0f0c1f27
EZ
200642011-04-01 Eli Zaretskii <eliz@gnu.org>
20065
20066 * info.el (info-display-manual): New function.
20067
c82b2579
SM
200682011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20069
20070 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20071
221ddf68
TH
200722011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20073
20074 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 20075 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 20076
cba6e77e
GM
200772011-03-31 Glenn Morris <rgm@gnu.org>
20078
e040639f
GM
20079 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20080
cba6e77e
GM
20081 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20082
6d0f1c9e
CS
200832011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20084
20085 * progmodes/python.el (python-default-interpreter)
20086 (python-python-command-args, python-jython-command-args)
20087 (python-which-shell, python-which-args, python-which-bufname)
20088 (python-file-queue, python-comint-output-filter-function)
20089 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20090 variables and functions.
20091
3e2d70fd
SM
200922011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20093
20094 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20095 (completion-in-region-mode): New minor mode.
20096 (completion-in-region): Use it.
20097 (completion-in-region--data, completion-in-region-mode-map): New vars.
20098 (completion-in-region--postch): New function.
20099 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20100 New vars.
20101 (completion--capf-wrapper): New function.
20102 (completion-at-point): Use it to track well-behavedness of
20103 hook functions.
20104 (completion-help-at-point): New command.
20105
f3e4086c
JM
201062011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20107
20108 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20109 syntax class to search for whitespace on a single line
20110 (Message-ID: <4D938140.4030905@redhat.com>).
20111
eb7ffc14
LL
201122011-03-30 Leo Liu <sdl.web@gmail.com>
20113
20114 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20115 New commands.
20116 (edit-abbrevs-map): Bind them here.
20117 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20118
d806ab68
KM
201192011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20120
20121 * allout.el (allout-hide-by-annotation, allout-flag-region):
20122 Reduce possibility of overlay leakage by making them volatile.
20123
20124 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20125 hash is not shared between buffers. Mode initialization is
20126 responsible for giving it a useful starting value.
20127 (allout-item-span): Reduce possibility of overlay leakage by
20128 making them volatile.
20129 (allout-widgets-count-buttons-in-region): Add diagnostic function
20130 for tracking down button overlay leaks.
20131
ea622834
LL
201322011-03-29 Leo Liu <sdl.web@gmail.com>
20133
20134 * ido.el (ido-read-internal): Use the default history var
20135 minibuffer-history if no HISTORY is specified.
20136
b62f8267
G
201372011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20138
03408648
SM
20139 * net/imap.el (imap-shell-open, imap-process-connection-type):
20140 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
20141 Kerberos, SSL, other subprocesses.
20142
947b6566
LL
201432011-03-28 Leo Liu <sdl.web@gmail.com>
20144
20145 * abbrev.el (abbrev-table-empty-p): New function.
20146 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20147 nonempty ones. (Bug#5937)
20148
5ffb62aa
JD
201492011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20150
20151 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20152
7a097943
LL
201532011-03-27 Leo Liu <sdl.web@gmail.com>
20154
20155 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20156 for foreground and background colors.
20157 (ansi-color-make-color-map): Adapt.
20158
c5b40130
LL
201592011-03-25 Leo Liu <sdl.web@gmail.com>
20160
1f48f7d2
LL
20161 * midnight.el (midnight-time-float): Remove. Note it calculates
20162 the microsecond component incorrectly and seconds-to-time does the
20163 same job.
625897ec 20164 Remove redundant (require 'timer).
1f48f7d2 20165
c5b40130
LL
20166 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20167 (ido-completions): Remove unused arguments. (Bug#8329)
20168
d86d2721
SM
201692011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20170
20171 * minibuffer.el (completion--flush-all-sorted-completions):
20172 Remove itself from hook.
20173 (completion-at-point): Let the functions perform the completion
20174 immediately and return nil or t.
20175 * comint.el (comint-dynamic-complete-functions): Now identical to
20176 completion-at-point-functions.
20177 (comint-dynamic-list-input-ring): Remove unused var `index'.
20178 (comint--match-partial-filename, comint--unquote&expand-filename):
20179 New funs, split from comint-match-partial-filename.
20180 (comint-dynamic-complete): Use completion-at-point.
20181 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20182
e8974c48
DA
201832011-03-24 Drew Adams <drew.adams@oracle.com>
20184
20185 * thingatpt.el: Support `defun'.
20186
def71b5e
LL
201872011-03-23 Leo Liu <sdl.web@gmail.com>
20188
cb5af48e
LL
20189 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20190
def71b5e
LL
20191 * help-mode.el (help-mode-finish): Tweak regexp.
20192
927c53e7
GM
201932011-03-23 Glenn Morris <rgm@gnu.org>
20194
18d05bed
GM
20195 * eshell/esh-opt.el (eshell-eval-using-options):
20196 Do not bind unused local variable `eshell-option-stub'.
20197
927c53e7
GM
20198 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20199
9d0da923
JB
202002011-03-22 Juanma Barranquero <lekktu@gmail.com>
20201
20202 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20203 keymap variable in `with-no-warnings' to avoid a warning when the
20204 keymap has been already `defconst'ed.
20205
4b978a67
LL
202062011-03-22 Leo Liu <sdl.web@gmail.com>
20207
20208 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20209 encode all chars in abbrevs; otherwise use emacs-mule or
20210 utf-8-emacs. (Bug#8308)
20211
5fd62452
JB
202122011-03-22 Juanma Barranquero <lekktu@gmail.com>
20213
0b1596c6
JB
20214 * simple.el (backward-delete-char-untabify):
20215 Avoid warning about using `delete-backward-char'.
20216
5fd62452
JB
20217 * image.el (image-type-file-name-regexps): Make it variable.
20218 `imagemagick-register-types' modifies it, and the user may want
20219 to add new extensions for known image types.
20220 (imagemagick-register-types): Throw error if not using ImageMagick.
20221
0b4e93f1
LL
202222011-03-22 Leo Liu <sdl.web@gmail.com>
20223
20224 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20225 located before rcirc-prompt-end-marker.
20226 (rcirc-complete): Error if point is not after rcirc prompt.
20227 Handle the case when table is nil.
9882e214 20228 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 20229
fccee4ab
CY
202302011-03-22 Chong Yidong <cyd@stupidchicken.com>
20231
20232 * custom.el (custom--inhibit-theme-enable): Make it affect only
20233 custom-theme-set-variables and custom-theme-set-faces.
20234 (provide-theme): Ignore custom--inhibit-theme-enable.
20235 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20236 (custom-enabling-themes): Delete variable.
d86d2721
SM
20237 (enable-theme): Accept only loaded themes as arguments.
20238 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
20239 (custom-enabled-themes): Forbid themes from setting this.
20240 Eliminate use of custom-enabling-themes.
20241 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 20242
af896da6
LL
202432011-03-21 Leo Liu <sdl.web@gmail.com>
20244
20245 * ido.el (ido-read-internal): Add ido-selected to history instead
20246 of user input.
20247
78f64af0
SM
202482011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20249
20250 * subr.el (deferred-action-list, deferred-action-function):
20251 Mark obsolete.
20252
b16ac1ec
LL
202532011-03-21 Leo Liu <sdl.web@gmail.com>
20254
810f7698
LL
20255 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20256 change on 2011-02-13 (bug#8309).
20257
b16ac1ec
LL
20258 * minibuffer.el (read-file-name-function): Change default value.
20259 (read-file-name--defaults): Rename from read-file-name-defaults.
20260 (read-file-name-default): Rename from read-file-name.
20261 (read-file-name): Call read-file-name-function.
20262
4e05e67e
GM
202632011-03-21 Glenn Morris <rgm@gnu.org>
20264
20265 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20266 Doc fixes.
20267
4359915b
CY
202682011-03-21 Chong Yidong <cyd@stupidchicken.com>
20269
20270 * cus-theme.el: Add missing provide statement.
20271 (customize-create-theme): Extract theme value correctly.
20272 (custom-theme-visit-theme): Autoload.
20273 (customize-create-theme): Prompt before inserting default faces.
20274
1fe275ee
JB
202752011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20276
20277 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20278 units and musical notes.
20279
cd394be1 202802011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
20281
20282 * ido.el (ido-read-internal): Use completing-read-default.
20283 (ido-completing-read): Fix compatibility with completing-read.
20284
7d476bde
CO
202852011-03-20 Christian Ohler <ohler@gnu.org>
20286
20287 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20288 (ert-delete-all-tests): Use `called-interactively-p' rather than
20289 `interactive-p'.
20290 (ert--make-xrefs-region): Respect END.
20291
fe0fb33e
CY
202922011-03-19 Chong Yidong <cyd@stupidchicken.com>
20293
ff854b0b
CY
20294 * dired-aux.el (dired-create-directory): Signal an error if the
20295 directory already exists (Bug#8246).
20296
fe0fb33e
CY
20297 * facemenu.el (list-colors-display): Call list-faces-display
20298 inside with-help-window.
20299 (list-colors-print): Use display property to align the final
20300 column, instead of checking window-width.
20301
576bce32
EZ
203022011-03-19 Eli Zaretskii <eliz@gnu.org>
20303
4d61f28d 20304 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
20305 windows-nt systems.
20306 (emerge-protect-metachars): Quote correctly for ms-dos and
20307 windows-nt systems.
20308
89c41d68 203092011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
20310
20311 * info.el (info-initialize): Replace all uses of `:' with
20312 path-separator for compatibility with non-Unix systems.
20313 Cache quoting of path-separator. (Bug#8258)
20314
b14e3e21 203152011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
20316
20317 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20318 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20319 (mouse-avoidance-mode): Fix typos in docstrings.
20320
4525ce3e
CY
203212011-03-19 Chong Yidong <cyd@stupidchicken.com>
20322
20323 * startup.el (package-subdirectory-regexp): Move from package.el.
20324 Omit \\` and \\', and let callers add them.
20325
20326 * emacs-lisp/package.el (package-strip-version)
20327 (package-load-all-descriptors): Add \\` and \\' to
20328 package-subdirectory-regexp before using it.
20329 (package-untar-buffer): New arg DIR; ensure that file untars only
20330 into this expected directory. Remove superfluous delete-region.
20331 (package-unpack): Caller changed.
20332 (package-tar-file-info): Use package-subdirectory-regexp.
20333
a904a09a 203342011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 20335
a904a09a
SM
20336 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20337 diff-mode-shared-map (bug#8284).
20338 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
20339
203402011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20341
20342 * calendar/time-date.el (format-seconds): Use assoc instead of
20343 assoc-string, since assoc-string doesn't exist in XEmacs.
20344
171fc304
JB
203452011-03-17 Juanma Barranquero <lekktu@gmail.com>
20346
20347 * custom.el (custom-known-themes): Reflow docstring.
20348 (custom-theme-load-path): Fix typo in docstring.
20349 (load-theme): Fix typo in error message.
20350 (custom-available-themes, custom-variable-theme-value):
20351 Use `let', not `let*'.
20352
d71990a1
JB
203532011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20354
20355 * calc/README: Mention inclusion of musical notes.
20356
20357 * calc/calc-units.el (calc-lu-quant): Rename from
20358 `calc-logunits-quantity'.
20359 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20360 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20361 (calc-db): Rename from `calc-dblevel'.
20362 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20363 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20364 (calc-np): Rename from `calc-nplevel'.
20365 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20366 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20367 (calc-lu-plus): Rename from `calc-logunits-add'.
20368 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20369 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20370 (calc-lu-minus): Rename from `calc-logunits-sub'.
20371 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20372 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20373 (calc-lu-times): Rename from `calc-logunits-mul'.
20374 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20375 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20376 (calc-lu-divide): Rename from `calc-logunits-div'.
20377 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20378 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20379
20380 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20381 functions being autoloaded.
20382
20383 * calc/calc.el (calc-lu-power-reference): Rename from
20384 `calc-logunits-power-reference'.
20385 (calc-lu-field-reference): Rename from
20386 `calc-logunits-field-reference'.
20387
7a71b18d
GM
20388 * calc/calc-help.el (calc-l-prefix-help):
20389 Mention musical note functions.
d71990a1 20390
40c2934b
SM
203912011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20392
20393 * minibuffer.el (completion-all-sorted-completions):
20394 Use :completion-cycle-penalty text property if present.
20395
b0911414
KM
203962011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20397
20398 * allout.el (allout-yank-processing): Adjust for new rebulleting
20399 regime so bullet being yanked is used without prompting the user
20400 for a choice.
20401
8a05b668
JB
204022011-03-16 Juanma Barranquero <lekktu@gmail.com>
20403
20404 * startup.el (command-line): Warn the user that _emacs is deprecated.
20405
5ba5fb81
JB
204062011-03-16 Juanma Barranquero <lekktu@gmail.com>
20407
20408 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20409 (delphi-verbose, delphi-comment-face, delphi-string-face)
20410 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20411 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20412 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20413 (delphi-new-comment-line, delphi-font-lock-defaults)
20414 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20415 Fix typos in docstrings.
20416
2dab465b
KM
204172011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20418
5ba5fb81 20419 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
20420 Invert the roles of character and string values for INSTEAD, so a
20421 string is used for the more common case of a defaulting prompt.
20422
0adf5618
SM
204232011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20424
20425 * progmodes/ruby-mode.el (ruby-backward-sexp):
20426 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20427 * play/gamegrid.el (gamegrid-make-face):
20428 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20429 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20430 * notifications.el (notifications-notify):
20431 * net/xesam.el (xesam-search-engines):
20432 * net/quickurl.el (quickurl-list-insert):
20433 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20434
d72700e5
CY
204352011-03-15 Chong Yidong <cyd@stupidchicken.com>
20436
20437 * startup.el (command-line): Update package subdirectory regexp.
20438
49c5410a
SM
204392011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20440
c6eee9aa
SM
20441 * allout.el (allout-abbreviate-flattened-numbering)
20442 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20443
49c5410a
SM
20444 * subr.el (read-char-choice): Only show the cursor after the prompt,
20445 not after the answer.
20446
047b2bb9
KR
204472011-03-15 Kevin Ryde <user42@zip.com.au>
20448
20449 * help-fns.el (variable-at-point): Skip leading quotes, if any
20450 (bug#8253).
20451
0a57d256
SM
204522011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20453
20454 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20455 warning message.
20456
77c992bc
MA
204572011-03-14 Michael Albinus <michael.albinus@gmx.de>
20458
20459 * shell.el (shell): When called interactively, offer to change the
20460 shell file name on remote hosts.
20461
eebc475d
TZ
204622011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20463
20464 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20465 integration for LDAP parameters. The host, base, user or binddn,
20466 and secret tokens can be specified in a netrc file, for instance.
20467 This is optional because an `auth-source' parameter must be
20468 specified in the search attributes.
20469
9d05d1ba
JB
204702011-03-13 Juanma Barranquero <lekktu@gmail.com>
20471
20472 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20473
09d9db2c
GM
204742011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20475
20476 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20477 into declaration. Remove redundant and harmful binding.
20478
204792011-03-12 Eli Zaretskii <eliz@gnu.org>
20480
20481 * files.el (file-ownership-preserved-p): Pass `integer' as an
20482 explicit 2nd argument to `file-attributes'. If the file's owner
20483 is the Administrators group on Windows, and the current user is
20484 Administrator, consider that a match.
20485
20486 * server.el (server-ensure-safe-dir): Consider server directory
20487 safe on MS-Windows if its owner is the Administrators group while
20488 the current Emacs user is Administrator. Use `=' to compare
20489 numerical UIDs, since they could be integers or floats.
20490
219bd536
JB
204912011-03-12 Juanma Barranquero <lekktu@gmail.com>
20492
20493 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20494
f3afd36b
MA
204952011-03-12 Michael Albinus <michael.albinus@gmx.de>
20496
20497 Sync with Tramp 2.2.1.
20498
20499 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20500
20501 * net/trampver.el: Update release number.
20502
3aaaa6f1
SM
205032011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20504
94642599
SM
20505 * progmodes/compile.el (compilation--previous-directory): Fix up
20506 various nil/dead-marker mismatches (bug#8014).
20507 (compilation-directory-properties, compilation-error-properties):
20508 Don't call it at a position past the one we're about to change.
20509
3aaaa6f1
SM
20510 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20511 Disable obsolescence warnings in the file that declares it.
20512
14239447
KM
205132011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20514
099c39a4
JB
20515 * allout-widgets.el (allout-widgets-tally):
20516 Initialize allout-widgets-tally as a hash table rather than nil to
20517 prevent mode-line redisplay warnings. Also, clarify the module
20518 description and fix a comment typo.
14239447 20519
135e287c
JB
205202011-03-11 Juanma Barranquero <lekktu@gmail.com>
20521
20522 * help-fns.el (describe-variable): Don't complete keywords.
20523 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20524
ffbf300e
CY
205252011-03-10 Chong Yidong <cyd@stupidchicken.com>
20526
ba08b241
CY
20527 * emacs-lisp/package.el (package-version-join): Impose a standard
20528 string representation for pre/alpha/beta version lists.
20529 (package-unpack-single): Standardize the directory name by passing
20530 it through package-version-join.
20531 (package-strip-rcs-id): Accept any version string that does not
20532 signal an error in version-to-list.
ffbf300e 20533
f346fd6b
MA
205342011-03-10 Michael Albinus <michael.albinus@gmx.de>
20535
20536 * simple.el (delete-trailing-whitespace): Return nil for the
20537 benefit of `write-file-functions'.
20538
ccb55d27
GM
205392011-03-10 Glenn Morris <rgm@gnu.org>
20540
5ceaac0c
GM
20541 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20542
02da65ff
GM
20543 * vc/vc-git.el (vc-git-program): New option.
20544 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20545 (vc-git--call): Use it.
20546
b2f603cc
GM
20547 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20548
5772caab
GM
20549 * cus-edit.el (Custom-newline): If no button at point, look
20550 for a subgroup button at start-of-line. (Bug#2298)
20551
ccb55d27
GM
20552 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20553
ec6ecaed
JD
205542011-03-10 Julien Danjou <julien@danjou.info>
20555
20556 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20557 `cursor-type' is nil.
20558
9d5aa01d
JB
205592011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20560
20561 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20562
b6a5875b
KM
205632011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20564
7a71b18d 20565 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
20566 preserves the existing header prefix, rebulleting it if necessary,
20567 rather than replacing it. This is necessary for proper operation
20568 of cooperative addons like allout-widgets.
1154d12e
JB
20569 (allout-make-topic-prefix, allout-rebullet-heading):
20570 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20571 value as alternate bullet to be used, instead of prompting the user
20572 for a bullet character.
b6a5875b 20573
ee545c35
MA
205742011-03-09 Michael Albinus <michael.albinus@gmx.de>
20575
d86d2721
SM
20576 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20577 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
20578 `tramp-default-port'.
20579
c47971d7
DD
205802011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20581
20582 * net/rcirc.el (rcirc-handler-001): Remove useless
20583 with-rcirc-process-buffer.
20584 (rcirc-check-auth-status): Swap arguments to string-match.
20585
13522cb4
GM
205862011-03-09 Glenn Morris <rgm@gnu.org>
20587
0be6f4f1
GM
20588 * shell.el (shell-mode):
20589 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20590
13522cb4
GM
20591 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20592 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20593
515de2e3
CY
205942011-03-08 Chong Yidong <cyd@stupidchicken.com>
20595
20596 * emacs-lisp/package.el (package-refresh-contents)
20597 (package-menu-execute): Use condition-case-no-debug.
20598
b511b994
MA
205992011-03-08 Michael Albinus <michael.albinus@gmx.de>
20600
20601 * simple.el (shell-command-to-string): Use `process-file'.
20602
20603 * emacs-lisp/package.el (package-tar-file-info): Handle also
20604 remote files.
20605
d86d2721
SM
20606 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20607 Use `equal' for upload base check.
b511b994 20608
25bbfb31
AM
206092011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20610
20611 * textmodes/texinfo.el (texinfo-environments):
20612 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20613
be996521
GM
206142011-03-08 Glenn Morris <rgm@gnu.org>
20615
e9c8529f
GM
20616 * cus-start.el (cursor-in-non-selected-windows):
20617 Fix :set quoting oddness. (Bug#8192)
20618
be996521
GM
20619 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20620 in some setf expressions. (Bug#2159)
20621
2bb5649e
CY
206222011-03-08 Chong Yidong <cyd@stupidchicken.com>
20623
20624 * custom.el (custom-available-themes): Return themes in
20625 alphabetical order.
20626
33383987 20627See ChangeLog.15 for earlier changes.
e3d51b27
MR
20628
20629;; Local Variables:
20630;; coding: utf-8
e3d51b27
MR
20631;; End:
20632
acaf905b 20633 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
20634
20635 This file is part of GNU Emacs.
20636
20637 GNU Emacs is free software: you can redistribute it and/or modify
20638 it under the terms of the GNU General Public License as published by
20639 the Free Software Foundation, either version 3 of the License, or
20640 (at your option) any later version.
20641
20642 GNU Emacs is distributed in the hope that it will be useful,
20643 but WITHOUT ANY WARRANTY; without even the implied warranty of
20644 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20645 GNU General Public License for more details.
20646
20647 You should have received a copy of the GNU General Public License
20648 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.