Revert 2012-10-21 Makefile.in change (bug#12713)
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
d1069532
SM
12012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2
d20d69c0
SM
3 * repeat.el (repeat): Set real-this-command (bug#12232).
4
d1069532
SM
5 * htmlfontify.el (hfy-post-html-hook):
6 * filesets.el (filesets-cache-fill-content-hook):
7 * arc-mode.el (archive-extract-hook):
8 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
9 * net/rcirc.el (rcirc-sentinel-functions)
10 (rcirc-receive-message-functions, rcirc-activity-functions)
11 (rcirc-print-functions):
12 * net/dbus.el (dbus-event-error-functions):
13 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
14 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
15 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
16 * term/sun.el (sun-raw-prefix-hooks):
17 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
18
f7eac6d8
MA
192012-10-23 Michael Albinus <michael.albinus@gmx.de>
20
d1069532
SM
21 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
22 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
23 (tramp-smb-wait-for-output): Add timeout to
24 `tramp-accept-process-output' calls.
25
608d9d7c
CY
262012-10-23 Chong Yidong <cyd@gnu.org>
27
49238e7f
CY
28 * faces.el (font-list-limit): Define as an obsolete variable.
29
30 * startup.el (command-line):
31 * cus-start.el: Don't refer to font-list-limit.
32
608d9d7c
CY
33 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
34
4ff5b1b2
SM
352012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
36
37 * subr.el (internal-temp-output-buffer-show): Rename from
38 temp-output-buffer-show, since previously compiled files expect this name.
39
ea1d4aac
GM
402012-10-23 Glenn Morris <rgm@gnu.org>
41
42 * image.el (image-type-from-file-name): If multiple types match,
43 return the first one that is supported. (Bug#9045)
44
eda82a31
GM
452012-10-22 Glenn Morris <rgm@gnu.org>
46
47 * image.el (imagemagick-enabled-types): Doc fix.
48
4f020bec
TA
492012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
50
51 * progmodes/which-func.el (which-func-current): The hash-table may have
52 an explicit nil (bug#12338).
53
c77d37e2
SM
542012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
55
56 * electric.el (electric-pair-delete-selection-self-insert-function):
57 Rename to electric-pair-will-use-region, return a boolean.
58 (electric-pair-mode): Adjust accordingly. Don't require delsel.
59
60 * delsel.el (delete-selection-helper): Use a function instead of a hook.
61 (delete-selection-pre-hook): Use use-region-p.
62 (delete-selection-self-insert-function): Remove.
63 (self-insert-command): Obey self-insert-uses-region-functions.
64 (self-insert-iso): Revert to previous setting, since we don't actually
65 know what that command does.
66 (delete-selection-self-insert-hooks): Remove.
67
b1d39ccc
SL
682012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
69
70 * delsel.el (delete-selection-helper): New function, extracted from
71 delete-selection-pre-hook.
72 (delete-selection-pre-hook): Use it.
73 (delete-selection-self-insert-function): New function.
74 (delete-selection-self-insert-hooks): New hook.
75 (self-insert-command, self-insert-iso): Use it.
76 * electric.el (electric-pair-syntax): New function, extracted from
77 electric-pair-post-self-insert-function.
78 (electric-pair-post-self-insert-function): Use it.
79 (electric-pair-delete-selection-self-insert-function): New function.
80 (electric-pair-mode): Require delsel and setup
81 delete-selection-self-insert-hooks (bug#11520).
82
045ef729
CY
832012-10-20 Chong Yidong <cyd@gnu.org>
84
4c5d08a8
CY
85 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
86 no changes to show (Bug#12586).
87
045ef729
CY
88 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
89 list explicitly (Bug#12571).
90
3503c798 912012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 92
b1d39ccc
SL
93 * progmodes/flymake.el (flymake-create-temp-inplace):
94 Use file-truename.
79e1997a 95
2068905b
EZ
962012-10-20 Eli Zaretskii <eliz@gnu.org>
97
98 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
99
4c9e9550
JB
1002012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
101
102 * calc/calc-units.el (math-extract-units): Properly extract powers
103 of units.
104
1a6e7e38
DC
1052012-10-20 Daniel Colascione <dancol@dancol.org>
106
107 * frame.el (make-frame): Set x-display-name as we used to in order
108 to unbreak creating an X11 frame from an Emacs daemon started
109 without a display.
110
8e808318
SM
1112012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
112
113 * minibuffer.el (minibuffer-force-complete): Make the next completion use
114 the same completion-field (bug@12221).
115
fb0104da
MR
1162012-10-19 Martin Rudalics <rudalics@gmx.at>
117
118 * emacs-lisp/debug.el (debug): Record height of debugger window
119 also when debugger will be back (Bug#8789).
120
8c27235e
CY
1212012-10-18 Chong Yidong <cyd@gnu.org>
122
123 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
124 Convert to defcustom.
125 (gdb-get-source-file): Don't bind pop-up-windows.
126
127 * progmodes/gud.el (gud-display-line): Don't specially re-use
128 other frames for the gdb-mi case (Bug#12648).
129
90eacf99
SM
1302012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
131
aaf0c300
SM
132 * emacs-lisp/advice.el: Clean up commentary a bit.
133 (ad-do-advised-functions, ad-with-originals): Use `declare'.
134 (byte-code-function-p): Never redefine.
135
90eacf99
SM
136 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
137
281c9d2b
GM
1382012-10-18 Glenn Morris <rgm@gnu.org>
139
40714e3d
GM
140 * dired.el (dired-sort-toggle): Some ls implementations only allow
141 a single option string. (Bug#12666)
142
281c9d2b
GM
143 * minibuffer.el (completion-cycle-threshold): Doc fix.
144
b278604e
KH
1452012-10-17 Kenichi Handa <handa@gnu.org>
146
90eacf99
SM
147 * international/mule.el (set-keyboard-coding-system):
148 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
149 Supply TERMINAL arg to set-input-meta-mode.
150
7ebc5f5a
MH
1512012-10-17 Michael Heerdegen <michael_heerdegen@web.de> (tiny change)
152
153 * wdired.el (wdired-old-marks): New variable.
154 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
155 (wdired-do-renames): Move point with renamed file and don't lose
156 mark status (Bug#11795).
157
e5a94ec4
JL
1582012-10-16 Juri Linkov <juri@jurta.org>
159
160 * replace.el (query-replace-help): Mention multi-buffer replacement
161 keys in the Help message. (Bug#12655)
162
d18a0d24
CY
1632012-10-15 Chong Yidong <cyd@gnu.org>
164
165 * emacs-lisp/byte-run.el (defsubst): Doc fix.
166
8111f5e6
EZ
1672012-10-14 Eli Zaretskii <eliz@gnu.org>
168
7b9abf24
EZ
169 * window.el (display-buffer): Doc fix.
170
8111f5e6
EZ
171 * progmodes/compile.el (compilation-error-regexp-alist-alist):
172 Adjust the msft regexp to the output of Studio 2010, and move msft
173 before edg-1. See the discussion on emacs-devel,
174 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
175 for the details.
176
5046ef67
SM
1772012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
178
9760c73c
SM
179 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
180 (oset): Move uses of object-class-fast macro after its definition.
181
5046ef67
SM
182 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
183
0d11ff1c
CY
1842012-10-13 Chong Yidong <cyd@gnu.org>
185
186 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
187 enabled, re-enable it (Bug#11963).
188
88ded8ac
MR
1892012-10-13 Martin Rudalics <rudalics@gmx.at>
190
191 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
192 non-nil, restore window configuration (Bug#12623).
193
bd0ffffd
SM
1942012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
195
06485aa8
SM
196 * help-fns.el (describe-variable, describe-function-1):
197 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
198
bd0ffffd
SM
199 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
200
3a989246
GM
2012012-10-12 Glenn Morris <rgm@gnu.org>
202
203 * mail/rmailsum.el (rmail-header-summary):
204 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
205
55cd00c8
FEG
2062012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
207
bd0ffffd
SM
208 * progmodes/python.el (python-mode-map):
209 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
210 (python-nav--up-list): Fix behavior for blocks on the same level.
211
ac9fc2c7
SM
2122012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
213
d8cc4c00 214 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 215
5253a5fd
SM
216 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
217 changes to the format of load-history.
218
ac9fc2c7
SM
219 * international/mule-cmds.el (read-char-by-name): Move let-binding of
220 completion-ignore-case in case that var is buffer-local (bug#12615).
221
cde44a77
KH
2222012-10-11 Kenichi Handa <handa@gnu.org>
223
224 * international/eucjp-ms.el: Re-generated.
225
4ef4a10d
KH
2262012-10-10 Kenichi Handa <handa@gnu.org>
227
228 * select.el (xselect--encode-string): If a coding is specified for
229 selection, and that is compatible with COMPOUND_TEXT, use it.
230
9d7f027b
MR
2312012-10-10 Martin Rudalics <rudalics@gmx.at>
232
233 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
234 (switch-to-buffer):
235 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 236
238f3a58
SM
2372012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
238
239 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
240 Don't document nil as a useful value (bug#12583).
241
1d51f99c
MA
2422012-10-09 Michael Albinus <michael.albinus@gmx.de>
243
238f3a58
SM
244 * net/tramp.el (tramp-debug-message):
245 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
246 (with-tramp-progress-reporter): Rename from
247 `tramp-with-progress-reporter'.
238f3a58
SM
248 (with-tramp-file-property, with-tramp-connection-property):
249 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
250 `with-connection-property', respectively.
251
252 * net/tramp-cache.el: Remove `with-file-property' and
253 `with-connection-property'.
254
255 * net/tramp.el:
256 * net/tramp-gvfs.el:
257 * net/tramp-sh.el:
258 * net/tramp-smb.el: Adapt callees.
259
260 * net/trampver.el: Update release number.
261
26b77251
GM
2622012-10-09 Glenn Morris <rgm@gnu.org>
263
9a5f296f
GM
264 * w32-fns.el (set-message-beep):
265 * term/w32-win.el (set-message-beep): Update declarations.
266
94c66ce5
SM
2672012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
268
10766e9e
SM
269 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
270 (mode-line-widen, mode-line-input-method-map)
271 (mode-line-coding-system-map, mode-line-remote)
272 (mode-line-unbury-buffer, mode-line-bury-buffer)
273 (mode-line-next-buffer, mode-line-previous-buffer):
274 Replace save-selected-window+select-window => with-selected-window.
275
f754db08
SM
276 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
277 * progmodes/cc-vars.el (bq-process): Remove, unused.
278
94c66ce5
SM
279 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
280
a4ff7fe1
FEG
2812012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
282
283 Implemented `backward-up-list'-like navigation.
284 * progmodes/python.el (python-nav-up-list)
285 (python-nav-backward-up-list): New functions.
286 (python-mode-map): Define substitute key for backward-up-list to
287 python-nav-backward-up-list.
288
24517d82
FEG
2892012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
290
291 * progmodes/python.el (python-fill-paragraph): Rename from
292 python-fill-paragraph-function. Fixed fill-paragraph for
293 decorators (Bug#12605).
294
51867ae2
FEG
2952012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
296
297 * progmodes/python.el (python-shell-output-filter): Handle extra
298 carriage return in OSX (Bug#12409).
299
a5b773c4
FEG
3002012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
301
302 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 303 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
304 (python-syntax-propertize-function): Use it.
305 (python-shell-output-syntax-table): New var.
306 (inferior-python-mode): Prevent unbalanced parens/quotes from
307 previous output mess with current input context.
308
13373538
JB
3092012-10-08 Juanma Barranquero <lekktu@gmail.com>
310
311 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
312 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
313
775a132d
MA
3142012-10-08 Michael Albinus <michael.albinus@gmx.de>
315
316 * ffap.el (ffap-replace-file-component): Support Tramp file name
317 syntax, not only ange-ftp's one.
318
3ab44929
GM
3192012-10-08 Glenn Morris <rgm@gnu.org>
320
57f1dee4
GM
321 * cus-start.el (message-log-max): Set :version.
322
3ab44929
GM
323 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
324
6a088630
MR
3252012-10-08 Martin Rudalics <rudalics@gmx.at>
326
327 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
328 the minibuffer window (Bug#10851).
329
8dbce54c
FEG
3302012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
331
332 Enhancements on forward-sexp movement.
333 * progmodes/python.el (python-nav-beginning-of-statement)
334 (python-nav-end-of-statement): Return point-marker.
335 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
336 (python-info-current-symbol)
337 (python-info-statement-starts-block-p): Rename from
338 python-info-beginning-of-block-p.
339 (python-info-statement-ends-block-p): Rename from
340 python-info-end-of-block-p.
341 (python-info-beginning-of-statement-p)
342 (python-info-end-of-statement-p)
343 (python-info-beginning-of-block-p, python-info-end-of-block-p):
344 New functions.
345
5acd2b3e
SM
3462012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
347
348 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
349 frame-selected-windows.
350
e08348a0
DC
3512012-10-08 Daniel Colascione <dancol@dancol.org>
352
353 * battery.el (battery-status-function): Check for
354 w32-battery-status itself, not system-time windows-nt.
355
356 * frame.el: Require cl-lib.
357 (display-format-alist): New variable mapping frame types to
358 functions that initialize them.
359 (window-system-for-display): New function: interprets
360 display-format-alist.
361 (make-frame-on-display): Remove existing display-selection logic
362 and just forward to make-frame, which will now DTRT.
363 (make-frame): Restructure to use window-system-for-display to
364 figure out how to create a frame on a given display.
365 (display-mouse-p): Look for frame-type w32, not a particular
366 system-type.
367
368 * loadup.el: Load w32 lisp code when we have the w32 feature.
369
370 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
371 system-type windows-nt.
372
373 * server.el (server-create-window-system-frame): Look for window
374 type.
375 (server-proces-filter): Only force a window system when windows-nt
376 _and_ w32. Explain why.
377
378 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
379 of window systems we configure for the mode.
380
381 * startup.el (command-line): Mark window system is initialized
382 after we've done it.
383
384 * common-win.el (x-select-text): Look for w32, not windows-nt.
385
386 * ns-win.el: Require cl-lib. Add ourselves to
387 display-format-alist.
388 (ns-initialize-window-system): Assert we're not initialized twice.
389
390 * w32-win.el: Enable lexical binding; require cl-lib; add
391 ourselves to display-format-alist.
392 (w32-handle-dropped-file): Convert incoming dropped files from
393 Windows paths to Cygwin ones before passing them on to the rest of
394 Emacs.
395 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
396 (w32-initialize-window-system): Assert we're not initialized twice.
397
398 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
399 (x-initialize-window-system): Assert we're not initialized twice.
400
401 * w32-common-fns.el: New File.
402 (w32-version, w32-using-nt, w32-get-clipboard-data)
403 (w32-set-clipboard-data, x-set-selection, x-get-selection)
404 (w32-charset-info-alist, x-last-selected, text)
405 (x-get-selection-value, x-selection-value): Move here.
406
407 * w32-fns.el: Require w32-common-fns.
408 (w32-version, w32-using-nt, w32-get-clipboard-data)
409 (w32-set-clipboard-data, x-set-selection, x-get-selection)
410 (w32-charset-info-alist, x-last-selected, text)
411 (x-get-selection-value, x-selection-value): Move to
412 w32-common-fns.
413
414 * w32-vars.el:
415 (w32-allow-system-shell, w32-system-shells): Define only in
416 non-cygwin case.
417
795b1482
SM
4182012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
419
420 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
421 (read-passwd): Remove a few more potential sources of leaks.
422
f27c99dc
FEG
4232012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
424
425 * progmodes/python.el (inferior-python-mode)
795b1482 426 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
427 variables copied from parent buffer.
428
fcacb558
JD
4292012-10-07 Jan Djärv <jan.h.d@swipnet.se>
430
431 * term/ns-win.el (ns-read-file-name): Update declaration to match
432 nsfns.m.
433 (ns-respond-to-change-font): Change fontsize separatly so we are sure
434 it is set when font is acted upon.
435
be0d5bae
FEG
4362012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
437
438 Enhancements to indentation.
439 * progmodes/python.el (python-indent-context): Give priority to
440 inside-string context. Make comments indentation markers.
441 (python-indent-region): Do not mess with strings, unless it's the
442 enclosing set of quotes.
443
13af0d10
SM
4442012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
445
662a9d0e
SM
446 * window.el (internal--before-save-selected-window)
447 (internal--after-save-selected-window): New functions extracted from
448 save-selected-window. Make sure we return the `alist' we construct.
449 (save-selected-window): Use them.
450
451 * textmodes/tex-mode.el (tex-recenter-output-buffer):
452 Use with-selected-window.
453
13af0d10
SM
454 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
455 forms that define macros (bug#12593).
456
6aa75fb6
KH
4572012-10-07 Kenichi Handa <handa@gnu.org>
458
13af0d10
SM
459 * international/mule-conf.el (compound-text-with-extensions):
460 Add :mime-charset property as x-ctext.
6aa75fb6 461
78d876b9
SM
4622012-10-07 Stefan Merten <smerten@oekonux.de>
463
464 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
465 (rst-indent-literal-normal, rst-indent-literal-minimized)
466 (rst-indent-comment): Correct :version tag.
557337e9 467 (rst-official-cvs-rev): Correct version string.
78d876b9 468
99a1e701
GM
4692012-10-07 Glenn Morris <rgm@gnu.org>
470
471 * mail/rmailmm.el (rmail-mime-process-multipart):
472 Do not confuse a multipart message with an epilogue
473 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
474
08f18c3d
FEG
4752012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
476
477 Fix shell output retrieval and comint-prompt-regexp init.
478 * progmodes/python.el (inferior-python-mode):
479 (python-shell-make-comint): Fix initialization of
480 comint-prompt-regexp from copied file local variables.
481 (python-shell-fetched-lines): Remove var.
482 (python-shell-output-filter-in-progress): Rename from
483 python-shell-fetch-lines-in-progress.
484 (python-shell-output-filter-buffer): Rename from
485 python-shell-fetch-lines-string.
486 (python-shell-fetch-lines-filter): Delete function.
487 (python-shell-output-filter): New function.
488 (python-shell-send-string-no-output): Use them.
489
82ed3ab4
GM
4902012-10-07 Glenn Morris <rgm@gnu.org>
491
1595ecfa
GM
492 * hi-lock.el (hi-lock-process-phrase):
493 Try to make it less fragile. (Bug#7161)
494
82ed3ab4
GM
495 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
496
f1f4dba0
GM
4972012-10-06 Glenn Morris <rgm@gnu.org>
498
addc11ed 499 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
500 non-existent mode `help'.
501 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 502
460042b8
GM
503 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
504 (reftex-create-bibtex-footer): Fix custom types.
505
67667c70
GM
506 * progmodes/sh-script.el (sh-indent-after-continuation):
507 Add explicit :group.
508
18dec750
GM
509 * textmodes/rst.el (rst-preferred-decorations)
510 (rst-shift-basic-offset): Clarify obsolescence versions.
511
d1a1c7e6
GM
512 * profiler.el (profiler): Add missing group :version tag.
513 * avoid.el (mouse-avoidance-banish-position):
514 * proced.el (proced-renice-command):
515 * calc/calc.el (calc-ensure-consistent-units):
516 * calendar/icalendar.el (icalendar-import-format-uid):
517 * net/tramp.el (tramp-save-ad-hoc-proxies):
518 * progmodes/bug-reference.el (bug-reference-bug-regexp):
519 * progmodes/flymake.el (flymake-error-bitmap)
520 (flymake-warning-bitmap, flymake-fringe-indicator-position):
521 * progmodes/sh-script.el (sh-indent-after-continuation):
522 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
523 (verilog-before-save-font-hook, verilog-after-save-font-hook):
524 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
525 (vhdl-array-index-record-field-in-sensitivity-list)
526 (vhdl-indent-comment-like-next-code-line):
527 * textmodes/reftex-vars.el (reftex-ref-style-alist)
528 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
529 (reftex-cite-key-separator, reftex-create-bibtex-header)
530 (reftex-create-bibtex-footer):
531 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
532 (rst-indent-literal-normal, rst-indent-literal-minimized)
533 (rst-indent-comment): Add missing custom :version tags.
534
ef35abb4
GM
535 * calendar/timeclock.el (timeclock-modeline-display):
536 Add missing obsolete alias for renamed user option.
537
d1aae614
GM
538 * strokes.el (strokes-modeline-string):
539 * emulation/crisp.el (crisp-mode-modeline-string):
540 * eshell/esh-mode.el (eshell-status-in-modeline):
541 Aliases to defcustoms must come before the defcustom.
542
f1f4dba0
GM
543 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
544 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
545 (cal-tex-cursor-week-monday): Doc fixes.
546 (cal-tex-cursor-week2-summary): Doc fix.
547 Rename from cal-tex-cursor-week-at-a-glance.
548
549 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
550 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
551
552 * calendar/calendar.el (calendar-mode-map):
553 Add cal-tex-cursor-week2-summary.
554
d39109c3
SM
5552012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
556
685f87b0
SM
557 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
558
d39109c3
SM
559 * subr.el (read-passwd-map): New var.
560 (read-passwd): Use `read-string' again.
561 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
562
5694896d
J
5632012-10-06 Jambunathan K <kjambunathan@gmail.com>
564
565 * register.el (append-to-register, prepend-to-register):
566 Deactivate mark, as does `copy-to-register' (bug#12389).
567
9414dd8d
CY
5682012-10-06 Chong Yidong <cyd@gnu.org>
569
570 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
571
2b89bca4
KH
5722012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
573
574 * international/characters.el: Fix simple mistake ((car chars) ->
575 elt), delete duplicated code.
576
d5acb99a
GM
5772012-10-06 Glenn Morris <rgm@gnu.org>
578
579 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
580
123ec157
JS
5812012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
582
583 * color.el (color-hsl-to-rgb): Fix incorrect results for
584 small and large hue values. (Bug#12559)
585
7fa36ccb
FEG
5862012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
587
588 Enhancements to docstring formatting when filling paragraphs.
589 * progmodes/python.el (python-fill-docstring-style): Rename from
590 python-fill-string-style. Added new style.
591 (python-fill-string): Use new style. Better checks for
592 docstrings.
593
d8788e1e
GM
5942012-10-05 Glenn Morris <rgm@gnu.org>
595
204f3953
GM
596 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
597
d8788e1e
GM
598 * color.el (color-name-to-rgb, color-rgb-to-hex)
599 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
600 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
601 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
602 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
603
8d956cef
GM
604 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
605
e8757f09 6062012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
607
608 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
609 to get the correct size across symlinks.
610
e8757f09
GM
611 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
612
0e2ae83d
JL
6132012-10-04 Juri Linkov <juri@jurta.org>
614
615 * replace.el (query-replace-interactive): Declare obsolete.
616 (query-replace-read-from): Add the last incremental search string
617 to the list of default values accessible via M-n.
618 (map-query-replace-regexp): Use `read-regexp'.
619 (query-replace, query-replace-regexp, query-replace-regexp-eval)
620 (map-query-replace-regexp, replace-string, replace-regexp):
621 Fix docstrings to replace mentions of `query-replace-interactive'
622 with alternatives. (Bug#12526)
623
93cacb6d
JL
6242012-10-04 Juri Linkov <juri@jurta.org>
625
626 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
627 (dired-pop-to-buffer): Declare obsolete.
628 (dired-mark-pop-up): Doc fix.
629
fc345011
FEG
6302012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
631
632 Allow user to set docstring style for fill-paragraph.
633 * progmodes/python.el
634 (python-fill-comment-function, python-fill-string-function)
635 (python-fill-decorator-function, python-fill-paren-function):
636 Remove :safe for defcustoms.
637 (python-fill-string-style): New defcustom
5694896d 638 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
639 (python-fill-string): Honor python-fill-string-style settings.
640
6bab5d8b
MR
6412012-10-04 Martin Rudalics <rudalics@gmx.at>
642
643 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
644 after setting its buffer (Bug#10805).
645
a1a9f411
FEG
6462012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
647
648 Fix cornercase for string syntax.
649 * progmodes/python.el (python-syntax-propertize-function):
650 Simplify and enhance the regexp for unescaped quotes. Now it also
651 matches quotes in weird situations like the single quote in
652 "something\"'".
653 (python-syntax-stringify): Simplify num-quotes detecting code.
654
05e153a6
GM
6552012-10-03 Glenn Morris <rgm@gnu.org>
656
657 * help-macro.el (three-step-help):
658 Revert 2012-09-29 change. (Bug#12567)
659
2e566ecb
MR
6602012-10-03 Martin Rudalics <rudalics@gmx.at>
661
96ef9ccd
MR
662 * menu-bar.el (kill-this-buffer): Don't do anything when
663 `menu-frame' is not alive or visible (Bug#8184).
664
2e566ecb
MR
665 * emacs-lisp/debug.el (debug): When quitting the debugger window
666 restore current buffer (Bug#12502).
667
a96e1cb7
CY
6682012-10-02 Chong Yidong <cyd@gnu.org>
669
5694896d
J
670 * progmodes/hideif.el (hif-lookup, hif-defined):
671 Handle semantic-c-takeover-hideif.
a96e1cb7 672
b3ecad33
PE
6732012-10-02 Paul Eggert <eggert@cs.ucla.edu>
674
675 Change sampling interval units from ms to ns.
676 * profiler.el (profiler-sampling-interval): Change units
677 from ms to ns, multiplying the default by 1000000 so that
678 it remains 1 ms.
679 (profiler-report-cpu-line-format): Give enough room for
680 the maximum counters on 64-bit hosts.
681 (profiler-report-render-calltree-1): Call them "CPU samples",
682 not "Time (ms)", since they are not milliseconds now (and
683 never really were).
684
8cb51b66 6852012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 686
5694896d
J
687 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
688 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 689
fd795bf4
CY
6902012-10-02 Chong Yidong <cyd@gnu.org>
691
692 * emacs-lisp/eieio.el: Restore Version header.
693
fe0a74f9
SM
6942012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
695
6be9197e
SM
696 * vc/diff-mode.el (diff--auto-refine-data): New var.
697 (diff-hunk): Use it to delay refinement.
698 (diff-mode): Remove overlays when we turn off font-lock.
699
18486139
SM
700 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
701 (table-initialize-table-fixed-width-mode)
702 (table-set-table-fixed-width-mode): Remove functions.
703 (table-command-list): Move initialization into declaration.
704 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
705 (table-with-cache-buffer): Use `declare'.
706 (table-span-cell): Simplify via CSE.
707 (table-fixed-width-mode): Use define-minor-mode.
708 (table-call-interactively, table-funcall, table-apply): Remove.
709 (table-function): New function, to replace them.
710
d83ef976
SM
711 * bookmark.el (bookmark-search-pattern): Remove var.
712 (bookmark-read-search-input): Remove function.
713 (bookmark-bmenu-search): Reimplement using a minibuffer.
714
cd386662
SM
715 * faces.el (modeline): Remove obsolete face name.
716
fe0a74f9
SM
717 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
718 and give a non-nil default value.
719 (add-change-log-entry): Simplify accordingly.
720
9f7b98f8
DG
7212012-10-01 Dmitry Gutov <dgutov@yandex.ru>
722
723 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
724 (vc-git-log-edit-toggle-amend): New function.
725 (vc-git-log-edit-toggle-signoff): New function.
726 (vc-git-log-edit-mode): New major mode.
727 (vc-git-log-edit-mode-map): Keymap for it.
728 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
729
730 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
731 header names.
732 (log-edit-toggle-header): New function.
733 (log-edit-extract-headers): Accept function values in HEADERS alist.
734
62a81506
CY
7352012-10-01 David Engster <deng@randomsample.de>
736
737 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
738 from symbol property and change message to be more consistent with
739 Emacs proper.
740 (eieio-describe-generic): Add filename for each implementation.
741 Fix indices for generic and normal methods.
742 (eieio-method-def, eieio-class-def): New buttons.
743 (eieio-help-find-method-definition)
744 (eieio-help-find-class-definition): New functions.
745 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
746 class, constructor and method definitions.
747
748 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
749 information in symbol property.
750 (scoped-class): Remove.
751 (eieio-slot-name-index, call-next-method): Check if it is bound.
752
7532012-10-01 Leo P. White <lpw25@cam.ac.uk>
754
755 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
756 (eieio-custom-mode): New major mode.
757 (eieio-customize-object): Use it.
758
7592012-10-01 Eric Ludlam <zappo@gnu.org>
760
761 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
762 specifying the expected class, and whether subclassing is allowed.
763 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
764 (eieio-persistent-validate/fix-slot-value)
765 (eieio-persistent-slot-type-is-class-p): New functions.
766 (eieio-named::slot-missing): Doc fix.
62a81506
CY
767
768 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
769 Stop using unused publd variable.
770
771 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
772 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
773 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
774 (eieio-speedbar-handle-click): Do not specify a class for the
775 method. Fixes method invocation order problems with EDE.
776
375e49d4
SM
7772012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
778
779 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
780 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
781
16ce6ccd
KF
7822012-10-01 Karl Fogel <kfogel@red-bean.com>
783
784 * bookmark.el (bookmark-version-control): Give tags in the
785 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
786 (bookmark-write-file): Bind `print-circle' to `t' to allow
787 circular custom bookmark types. (Bug#12503)
16ce6ccd 788
19e54a4d
PE
7892012-10-01 Paul Eggert <eggert@cs.ucla.edu>
790
86ec63ba
PE
791 Revert the FOLLOW-SYMLINKS change for file-attributes.
792 * files.el (remote-file-name-inhibit-cache, after-find-file):
793 * time.el (display-time-file-nonempty-p): Undo last change.
794
19e54a4d
PE
795 * profiler.el (profiler-sampling-interval): Change default back to 1.
796 See Stefan Monnier in
797 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
798
0478776b
FEG
7992012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
800
801 Shell output catching a la gud-gdb.
802 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
803 (python-shell-fetch-lines-string, python-shell-fetched-lines):
804 New Vars.
0478776b
FEG
805 (python-shell-fetch-lines-filter): New function.
806 (python-shell-send-string-no-output): Use them.
807
c22bac2c
TM
8082012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
809
810 * profiler.el (profiler-sampling-interval): Rename from
811 profiler-sample-interval.
812 (profiler-sampling-interval): Default to 10.
813 (profiler-find-profile): New command (was profiler-find-log).
814 (profiler-find-profile-other-window): New command.
815 (profiler-find-profile-other-frame): New command.
816 (profiler-profile): Introduce API-level data structure.
817
e7a2937b
PE
8182012-09-30 Paul Eggert <eggert@cs.ucla.edu>
819
820 file-attributes has a new optional arg FOLLOW-SYMLINKS.
821 * files.el (remote-file-name-inhibit-cache):
822 * time.el (display-time-file-nonempty-p): Use it.
823 * files.el (after-find-file): Don't chase links before calling
824 file-exists-p, as file-exists-p already does the right thing.
825
4f595e15
RA
8262012-09-30 Ralf Angeli <angeli@caeruleus.net>
827
828 Merge from standalone RefTeX repository.
829
830 The following ChangeLog entries are shortened versions of the
831 original ones with file paths adapted. A not so strongly edited
832 version of the original ChangeLog can be found in the commit log.
833
834 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
835 (reftex-arg-cite): Use `reftex-cite-key-separator'.
836 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
837
838 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
839 that entries with whitespace at various places are found.
840 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
841 Include @String definitions in the resulting bib file. Add header
842 and footer defined in `reftex-create-bibtex-header' and
843 `reftex-create-bibtex-footer'.
844 (reftex-do-citation): Make it possible again to insert
845 non-existent entries. Save match data when asking for optional
846 arguments. Return all keys, not just the first one.
847 (reftex-all-used-citation-keys): Fix regexp to correctly extract
848 all citations in the same line.
849 (reftex-parse-bibtex-entry): Accept additional optional argument
850 `raw' and keep quotes or braces if it is non-nil. Match fields
851 containing hyphens besides word constituents.
852 (reftex-get-string-refs): New function.
853 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
854 and ask if it should be reread in case it did.
855 (reftex-pop-to-bibtex-entry)
856 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
857 entries with spaces or tabs in front of arguments.
858 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
859 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
860 Match entries containing numbers and symbol constituents.
861 (reftex-do-citation, reftex-figure-out-cite-format):
862 Use `reftex-cite-key-separator'.
4f595e15
RA
863
864 * textmodes/reftex-dcr.el: Move provide statement to end of file.
865 (reftex-mouse-view-crossref): Explain why point is set.
866
867 * textmodes/reftex-global.el: Whitespace changes.
868
869 * textmodes/reftex-index.el: Move provide statement to end of
870 file.
871 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
872 (reftex-index-visit-phrases-buffer): Set marker when visiting
873 buffer. This allows for returning from the phrases file to the
874 file one was just editing instead of the file where the last
875 phrases was added from.
876 (reftex-index-phrases-syntax-table): New variable. Give ?\"
877 punctuation syntax as it usually is not used as string quote in
878 TeX-related modes and may occur unmatched. The change also
879 prevents fontification of quoted content.
880 (reftex-index-phrases-mode): Use it.
881
375e49d4
SM
882 * textmodes/reftex-parse.el (reftex-parse-from-file):
883 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
884 (reftex-parse-from-file): Use beginning of match instead of end as
885 bound.
886
887 * textmodes/reftex-ref.el: Adapt creation of
888 `reftex-<package>-<macro>' functions to new structure of
889 `reftex-ref-style-alist'.
375e49d4
SM
890 (reftex-reference): Use `reftex-ref-style-list' function.
891 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
892 reference macro if `reftex-ref-macro-prompt' is non-nil.
893 (reftex-reference): Pass refstyle to `reftex-format-special'.
894 Determine reference macro by looking at
375e49d4
SM
895 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
896 Use only one special format function.
4f595e15
RA
897 (reftex-varioref-vref, reftex-fancyref-fref)
898 (reftex-fancyref-Fref): Remove definitions. The functions are now
899 generated from `reftex-ref-style-alist'.
900 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
901 Remove.
902 (reftex-format-special): New function.
903
904 * textmodes/reftex-sel.el
905 (reftex-select-cycle-ref-style-internal): Adapt to new structure
906 of `reftex-ref-style-alist'. Remove code for testing macro type.
907 (reftex-select-toggle-varioref)
908 (reftex-select-toggle-fancyref): Remove.
909 (reftex-select-cycle-ref-style-internal)
910 (reftex-select-cycle-ref-style-forward)
911 (reftex-select-cycle-ref-style-backward): New functions.
912 (reftex-select-label-map): Use `v' and `V' for general cycling
913 through reference styles. Add `p' for switching between number
914 and page reference types.
915
375e49d4
SM
916 * textmodes/reftex-toc.el (reftex-re-enlarge):
917 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
918 the horizontal version throws an error even if the parameter is 0.
919
920 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
921 (reftex-plug-into-AUCTeX): Doc fix.
922 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
923 string. Adapt to new name.
924 (reftex-ref-style-alist): Change structure so that it is not
925 possible to use multiple different package names within a style.
375e49d4
SM
926 Remove the symbols for symbols for macro type distinction.
927 Add characters for macro selection.
4f595e15
RA
928 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
929 (reftex-create-bibtex-footer): New variables.
930 (reftex-format-ref-function): Mention third argument of special
931 format function.
375e49d4
SM
932 (reftex-ref-style-alist, reftex-ref-style-default-list):
933 New variables.
4f595e15
RA
934 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
935 to new implementation. Mark as obsolete. Add compatibility code
936 for honoring the variable values in case they are set.
375e49d4
SM
937 (reftex-cite-format-builtin, reftex-bibliography-commands):
938 Add support for ConTeXt.
939 (reftex-format-ref-function, reftex-format-cite-function):
940 Fix custom type.
4f595e15
RA
941 (reftex-cite-key-separator): New variable.
942
943 * textmodes/reftex.el (reftex-syntax-table-for-bib)
944 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
945 `reftex-syntax-table' because parens have to retain their paren
946 syntax in order for parsing of BibTeX entries like @book(...) to
947 work.
948 (reftex-in-comment): Do not error out if `comment-start-skip' is
949 not set. Deal correctly with escaped comment characters.
375e49d4
SM
950 (reftex-tie-multifile-symbols): Add doc string.
951 Initialize `reftex-ref-style-list'.
4f595e15
RA
952 (reftex-untie-multifile-symbols): Add doc string.
953 (reftex-add-index-macros): Doc fix.
954 (reftex-ref-style-activate, reftex-ref-style-toggle)
955 (reftex-ref-style-list): New functions.
956 (reftex-mode-menu): Use them. Adapt to new structure of
957 `reftex-ref-style-alist'.
958 (reftex-select-with-char): Kill the RefTeX Select buffer when
959 done.
960 (reftex-remove-if): New function.
961 (reftex-erase-all-selection-and-index-buffers)
962 (reftex-mode-menu): Reference styles are now computed from
963 `reftex-ref-style-alist'. Fix typo.
964 (reftex-report-bug): New function.
965 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
966 algorithms with O(n log n). Introduce optional argument SORT (not
967 yet used).
968
440ba395
FEG
9692012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
970
971 Enhancements for triple-quote string syntax.
375e49d4
SM
972 * progmodes/python.el (python-syntax-propertize-function):
973 Match both quote cases in one regexp.
440ba395
FEG
974 (python-syntax-stringify): Handle matches properly.
975
4c478e6b
JL
9762012-09-30 Juri Linkov <juri@jurta.org>
977
978 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 979 to nil around the call to `insert' to prevent
4c478e6b
JL
980 directory time modification by lock_file. (Bug#2295)
981 * tar-mode.el (tar-summarize-buffer): Idem.
982
d80d54b2
JL
9832012-09-30 Juri Linkov <juri@jurta.org>
984
985 * facemenu.el (list-colors-sort): Add option "Luminance".
986 (list-colors-sort-key): Implement it.
987
988 * vc/diff-mode.el (diff-refine-removed):
989 * vc/ediff-init.el (ediff-fine-diff-A):
990 * vc/smerge-mode.el (smerge-refined-removed):
991 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
992
d7e642cc
JD
9932012-09-30 Jan Djärv <jan.h.d@swipnet.se>
994
995 * term/ns-win.el (x-file-dialog): New function.
996
ee41332b
JB
9972012-09-30 Juanma Barranquero <lekktu@gmail.com>
998
999 * ido.el (ido-max-directory-size): Default to nil; the current
1000 default is small for POSIX systems, and impractical on Windows 7
1001 now that lstat returns directory sizes for NTFS.
1002
5938d519
MR
10032012-09-30 Martin Rudalics <rudalics@gmx.at>
1004
1005 In buffer display functions handle window-height/window-width
1006 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
1007 * window.el (window--display-buffer): New argument ALIST.
1008 Obey window-height and window-width alist entries.
1009 (window--try-to-split-window): New argument ALIST.
1010 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
1011 changed and window-combination-limit equals `window-size'.
1012 (display-buffer-in-atom-window)
1013 (display-buffer-in-major-side-window)
1014 (display-buffer-in-side-window, display-buffer-same-window)
1015 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1016 (display-buffer-pop-up-window, display-buffer-below-selected)
1017 (display-buffer-at-bottom, display-buffer-in-previous-window)
1018 (display-buffer-use-some-window): Adjust all callers of
1019 window--display-buffer and window--try-to-split-window.
1020 (fit-frame-to-buffer): New option.
1021 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1022 is non-nil.
1023 (display-buffer-in-major-side-window): Evaluate window-height /
1024 window-width alist entries.
1025
1026 * help.el (temp-buffer-resize-frames)
1027 (temp-buffer-resize-regexps): Remove options.
1028 (temp-buffer-resize-mode): Adjust doc-string.
1029 (resize-temp-buffer-window): Don't consult
1030 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1031 temp-buffer-resize-frames.
1032
375e49d4
SM
1033 * dired.el (dired-mark-pop-up):
1034 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
1035 entry.
1036
c4c0c2df
CY
10372012-09-30 Chong Yidong <cyd@gnu.org>
1038
48de8b12
CY
1039 * server.el (server-host): Document the security implications.
1040 (server-auth-key): Doc fix.
1041
1042 * startup.el (initial-buffer-choice): Doc fix.
1043
1044 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1045
a97dc380
CY
1046 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1047 restriction change.
1048
d39d3c8e
CY
1049 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1050
c4c0c2df
CY
1051 * help-fns.el (help-fns--obsolete): Fix last change.
1052
98a5e33b
SM
10532012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1054
34cf6f39
SM
1055 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1056 (minor-mode-map-alist): Remove redundant code.
1057
e01c13fe
SM
1058 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1059 visited in a buffer.
1060 (cvs-insert-visited-file): New function.
1061 (find-file-hook): Use it.
1062
1063 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1064
02661b3a
SM
1065 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1066 chose face.
1067 (log-edit-empty-buffer-p): Don't require a space after a header.
1068
43711d4b
SM
1069 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1070
38a30d64
SM
1071 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1072
4ffb41a9
SM
1073 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1074 a proper minor-mode.
1075
98a5e33b
SM
1076 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1077
de82e29b
GM
10782012-09-29 Glenn Morris <rgm@gnu.org>
1079
5cc2e639
GM
1080 * winner.el (winner-mode): Remove variable (let define-minor-mode
1081 handle it).
1082 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1083 Doc fixes.
1084 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1085 (winner-mode): Use define-minor-mode.
1086
7bd302eb
GM
1087 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1088 the full definition in loaddefs, rather than duplicating it.
1089
2923922f 1090 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 1091
0e3e4156
GM
1092 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1093 (inferior-lisp-program, inferior-lisp-load-command)
1094 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 1095 No need to autoload defcustoms.
0e3e4156 1096
de82e29b
GM
1097 * hippie-exp.el (hippie-expand-try-functions-list)
1098 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1099 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1100 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 1101 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
1102 * progmodes/vhdl-mode.el (vhdl-line-expand):
1103 Explicitly load hippie-exp, so it does not get autoloaded
1104 while hippie-expand-try-functions-list is let-bound.
1105
e60b51ab
GM
11062012-09-28 Glenn Morris <rgm@gnu.org>
1107
277f0cfa
GM
1108 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1109
e60b51ab
GM
1110 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1111 Only "cl.el" counts as cl these days.
1112
53baf48a
JL
11132012-09-28 Juri Linkov <juri@jurta.org>
1114
1115 Display archive errors in the echo area instead of inserting
1116 to the file buffer.
1117
1118 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1119 to STDERR-TEST that can be a regexp matching a successful output.
1120 Create a temporary file and redirect stderr to it. Search for
1121 STDERR-TEST in the stderr output and display it in the echo area
1122 if no match is found.
1123 (archive-extract-by-file): New function like
1124 `archive-extract-by-stdout' but extracting archives to files
1125 and looking for successful matches in stdout. Function body is
1126 mostly copied from `archive-rar-extract'.
1127 (archive-rar-extract): Use `archive-extract-by-file'.
1128 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1129
9c1228c3
LL
11302012-09-28 Leo Liu <sdl.web@gmail.com>
1131
375e49d4
SM
1132 * pcomplete.el (pcomplete-show-completions):
1133 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 1134
9c1228c3
LL
1135 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1136
7f457c06
SM
11372012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1138
3df749b0
SM
1139 * type-break.el: Use lexical-binding.
1140 (type-break-mode): Use define-minor-mode.
1141
7f457c06
SM
1142 * emacs-lisp/pcase.el (pcase--mark-used): New.
1143 (pcase--u1): Use it (bug#12512).
1144
1145 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1146 in load-history with the right file name.
1147
c00ebc98
TH
11482012-09-28 Tassilo Horn <tsdh@gnu.org>
1149
1150 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1151 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1152 (doc-view-get-bounding-box): Make bounding box slicing work for
1153 ODF and DVI documents.
1154
96fb7170
GM
11552012-09-28 Glenn Morris <rgm@gnu.org>
1156
1157 * type-break.el (type-break-mode, type-break-interval)
1158 (type-break-good-rest-interval, type-break-keystroke-threshold):
1159 No need to autoload.
1160 (type-break-good-rest-interval, type-break-keystroke-threshold):
1161 Add :set-after.
1162
5bc93c67
CY
11632012-09-28 Chong Yidong <cyd@gnu.org>
1164
1165 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1166 Add :version tag.
1167
9cad61d6
SM
11682012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1169
e28e67b3 1170 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 1171
daee954c
GM
11722012-09-27 Glenn Morris <rgm@gnu.org>
1173
a88324d4
GM
1174 * faces.el (x-display-name): Declare (for without-x builds).
1175
8e5064e5
GM
1176 * linum.el (linum-format): Don't autoload it. Improve :type.
1177
cc1783c2
GM
1178 * progmodes/tcl.el: Don't require outline when compiling.
1179 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
1180 * textmodes/sgml-mode.el: Don't require outline when compiling.
1181 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1182
48c339f2
GM
1183 * term.el (term-ansi-reset):
1184 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1185
daee954c
GM
1186 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1187 files for RCS and SCCS. (Bug#9781)
1188
b7f42161
CY
11892012-09-27 Chong Yidong <cyd@gnu.org>
1190
1191 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1192 change; value should be t.
1193
a2e770db
SM
11942012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1195
83600dc8
SM
1196 * image-mode.el: Use lexical-binding.
1197 (image-mode-winprops): Use t to stand for the window of
1198 a buffer that's not displayed.
1199 * doc-view.el (doc-view-new-window-function): Handle the new
1200 t in winprops.
1201 (doc-view-enlarge): Make it a real nop if the size is not changed.
1202 (doc-view-display): Handle the case where the buffer is not (yet?)
1203 displayed in any window.
1204 (doc-view-saved-settings): New var.
1205 (doc-view-mode): Use it.
1206 (doc-view-fallback-mode): Set it.
1207
a2e770db
SM
1208 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1209 Set lexical-binding.
1210 (minibuffer-eldef-shorten-default): New var.
1211 (minibuffer-default-in-prompt-regexps): Use it for new default.
1212 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1213
e3b60857
JB
12142012-09-26 Juanma Barranquero <lekktu@gmail.com>
1215
1216 * international/uni-bidi.el:
1217 * international/uni-category.el:
1218 * international/uni-name.el:
1219 * international/uni-numeric.el: Regenerate.
1220
3a880af4
SM
12212012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1222 Stefan Monnier <monnier@iro.umontreal.ca>
1223
1224 * profiler.el: New file.
1225
07b1a5fb
SM
12262012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1227
1228 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1229 (testcover-reinstrument): Simplify with CSE.
1230
42019c2e
JB
12312012-09-26 Juanma Barranquero <lekktu@gmail.com>
1232
1233 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1234
179f044b
WS
12352012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1236
1237 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1238 (verilog-auto-input, verilog-auto-insert-lisp)
1239 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1240 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1241 (verilog-auto-unused, verilog-auto-wire)
1242 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1243 newline. Reported by Andrew Jones.
1244 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1245 Reported by Brad Dobbie.
07b1a5fb
SM
1246 (verilog-batch-delete-trailing-whitespace):
1247 Create verilog-batch-delete-trailing-whitespace.
1248 Reported by Brad Dobbie.
179f044b
WS
1249 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1250 parameters from another module. Reported by Dan Katz.
1251 (verilog-auto, verilog-auto-assign-modport)
1252 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1253 AUTOINOUTMODPORT for UVM interface module shell generation.
1254 Reported by Brad Dobbie.
1255 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1256 standard behavior.
1257 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1258 Reported by Matt Martin.
1259
9c52dd5a
MR
12602012-09-25 Martin Rudalics <rudalics@gmx.at>
1261
1262 * window.el (window--resize-child-windows): When resizing child
1263 windows proportionally, process them in reverse order to
1264 preserve the "when splitting a window the new one gets the odd
1265 line" behavior.
1266 (window--resize-root-window-vertically): When resizing the
1267 minibuffer window try to affect only windows at the bottom of the
1268 frame. (Bug#12419)
1269
863666eb
CY
12702012-09-25 Chong Yidong <cyd@gnu.org>
1271
1272 * subr.el (declare): Doc fix.
1273
1274 * help-fns.el (help-fns--obsolete): Handle macros properly.
1275
59f7af81
CY
12762012-09-25 Chong Yidong <cyd@gnu.org>
1277
1278 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1279 this function obsolete.
1280
1281 * calendar/cal-x.el (calendar-two-frame-setup)
1282 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1283 * calendar/calendar.el (american-calendar, european-calendar)
1284 (calendar-for-loop):
1285 * comint.el (comint-dynamic-simple-complete)
1286 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1287 * desktop.el (desktop-load-default):
1288 * dired-x.el (dired-omit-here-always)
1289 (dired-hack-local-variables, dired-default-directory):
1290 * emacs-lisp/derived.el (derived-mode-class):
1291 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1292 * emacs-lock.el (toggle-emacs-lock):
1293 * epa.el (epa-display-verify-result):
1294 * epg.el (epg-sign-keys, epg-start-sign-keys)
1295 (epg-passphrase-callback-function):
1296 * eshell/esh-util.el (eshell-for):
1297 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1298 (eshell-add-to-window-buffer-names):
1299 * files.el (locate-file-completion):
1300 * imenu.el (imenu-example--create-c-index)
1301 (imenu-example--create-lisp-index)
1302 (imenu-example--lisp-extract-index-name)
1303 (imenu-example--name-and-position):
1304 * international/mule-cmds.el (princ-list):
1305 * international/mule-diag.el (decode-codepage-char):
1306 * international/mule-util.el (detect-coding-with-priority):
1307 * iswitchb.el (iswitchb-read-buffer):
1308 * mail/mailalias.el (mail-complete):
1309 * mail/sendmail.el (mail-sent-via):
1310 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1311 (mouse-major-mode-menu):
1312 * password-cache.el (password-read-and-add):
1313 * pcomplete.el (pcomplete-parse-comint-arguments):
1314 * progmodes/sh-script.el (sh-maybe-here-document):
1315 * replace.el (query-replace-regexp-eval):
1316 * savehist.el (savehist-load):
1317 * simple.el (choose-completion-delete-max-match):
1318 * term.el (term-dynamic-simple-complete):
1319 * vc/ediff-init.el (ediff-check-version):
1320 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1321 * vc/vc.el (vc-diff-switches-list):
1322 * view.el (view-return-to-alist-update): Likewise.
1323
1324 * subr.el (eval-next-after-load, makehash, insert-string)
1325 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1326 mark obsolete.
1327 (mode-line-inverse-video): Variable deleted.
1328
1329 * international/mule-util.el (string-to-sequence): Remove.
1330
1331 * calendar/calendar.el (calendar-version):
1332 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1333 (icalendar-convert-diary-to-ical):
1334 * cus-edit.el (custom-mode):
1335 * ansi-color.el (ansi-color-unfontify-region):
1336 * international/latin1-disp.el (latin1-char-displayable-p):
1337 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
1338 * progmodes/which-func.el (which-func-update-1):
1339 Use define-obsolete-function-alias.
59f7af81
CY
1340
1341 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
1342 * net/newst-treeview.el (newsticker-groups-filename):
1343 Fix incorrect obsolescence declaration.
59f7af81
CY
1344
1345 * allout.el (allout-passphrase-hint-string): Likewise.
1346 (allout-init): Use a declare form to mark obsolete.
1347
1348 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1349 this applies to functions.
1350
1351 * iswitchb.el (iswitchb-read-buffer): Move code of
1352 iswitchb-define-mode-map here, and delete that obsolete function.
1353
1354 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1355 font-lock-reference-face.
1356
cca96c97
GM
13572012-09-25 Glenn Morris <rgm@gnu.org>
1358
b06eeda8
GM
1359 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1360 Doc fixes.
1361
cca96c97
GM
1362 * eshell/em-term.el (eshell-term-name):
1363 Default to term-term-name. (Bug#12485)
1364
dc4f818b
FEG
13652012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1366
cca96c97
GM
1367 * progmodes/python.el (python-shell-send-buffer): Better handling
1368 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 1369
289c24bd
GM
13702012-09-24 Glenn Morris <rgm@gnu.org>
1371
1372 * eshell/esh-cmd.el (eshell-find-alias-function):
1373 Tighten up file-name regexp. (Bug#12499)
1374
8fb8b88f
FEG
13752012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1376
1377 Enhancements for triple-quote string syntax.
1378 * progmodes/python.el (python-quote-syntax): Remove.
1379 (python-syntax-propertize-function): New value.
07b1a5fb
SM
1380 (python-syntax-count-quotes, python-syntax-stringify):
1381 New functions.
8fb8b88f 1382
6c27f0f8
CY
13832012-09-24 Chong Yidong <cyd@gnu.org>
1384
a5f2b6ec
CY
1385 * mail/supercite.el (sc-version): Remove obsolete function.
1386 (sc-describe): Don't mark as obsolete, since it is bound.
1387 (sc-submit-bug-report): Remove.
1388
1389 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1390 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
1391 (log-edit-require-final-newline)
1392 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
1393
1394 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1395 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1396 * vc/vc.el (vc-checkout-carefully): Likewise.
1397
1398 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1399 (emerge-version): Remove.
1400
1401 * progmodes/compile.el (compile-internal): Remove.
1402 (compilation-parse-errors-function): Fix typo.
1403
1404 * international/mule.el (set-char-table-default): Remove.
1405 (set-coding-priority, make-coding-system, generic-char-p)
1406 (charset-list, charset-bytes, charset-id): Use declare to mark
1407 functions as obsolete.
1408
1409 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1410 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1411 * vc/vc-hooks.el (vc-default-registered): Don't use
1412 vc-master-templates.
1413
07b1a5fb
SM
1414 * font-lock.el (font-lock-reference-face):
1415 Use define-obsolete-variable-alias.
6c27f0f8
CY
1416
1417 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1418 * calendar/calendar.el (calendar-font-lock-keywords):
1419 * calendar/diary-lib.el (diary-font-lock-keywords)
1420 (diary-fancy-font-lock-keywords):
1421 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1422 * textmodes/reftex-index.el (reftex-insert-index):
1423 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1424 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1425 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1426 * progmodes/prolog.el (prolog-font-lock-keywords):
1427 * progmodes/idlwave.el (idlwave-idl-keywords):
1428 * progmodes/ada-mode.el (ada-font-lock-keywords):
1429 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1430
bcc0adbf
GM
14312012-09-24 Glenn Morris <rgm@gnu.org>
1432
1433 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1434
095bb823
FEG
14352012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1436
1437 * progmodes/python.el (python-indent-line): More consistent cursor
1438 movement behavior.
1439
70efc5c9
SM
14402012-09-23 Stefan Merten <smerten@oekonux.de>
1441
1442 * textmodes/rst.el: Fix compiler warning.
1443
2f438239
RW
14442012-09-23 Roland Winkler <winkler@gnu.org>
1445
07b1a5fb
SM
1446 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1447 Transcribe also LaTeX hyphenation.
2f438239
RW
1448 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1449 bibtex-reformat-previous-options.
1450
936ad041
RW
14512012-09-23 Roland Winkler <winkler@gnu.org>
1452
1453 * proced.el (proced-renice-command): New variable.
1454 (proced-marked-processes): New function.
1455 (proced-with-processes-buffer): New macro.
1456 (proced-send-signal): Use them.
1457 (proced-renice): New command bound to r.
1458
6fab0274
RW
14592012-09-23 Roland Winkler <winkler@gnu.org>
1460
1461 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1462 ibuffer-saved-filter-groups has one element, shortcut the call of
1463 completing-read. (Bug#12331)
1464
9a930676
CY
14652012-09-23 Chong Yidong <cyd@gnu.org>
1466
1467 * bindings.el (mode-line-toggle-read-only):
1468 * bs.el (bs-toggle-readonly):
1469 * buff-menu.el (Buffer-menu-toggle-read-only):
1470 * dired.el (dired-toggle-read-only):
1471 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1472
d07ff9db
CY
14732012-09-23 Chong Yidong <cyd@gnu.org>
1474
1475 * image.el (image-type-available-p): Adapt to init-image-library
1476 argument changes.
1477
51c4474e
JL
14782012-09-22 Juri Linkov <juri@jurta.org>
1479
1480 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1481 `dired-toggle-read-only'. (Bug#12462)
1482
43bf5e8e
MR
14832012-09-22 Martin Rudalics <rudalics@gmx.at>
1484
1485 * subr.el (temp-output-buffer-show): New function.
1486 (with-output-to-temp-buffer): Call temp-output-buffer-show
1487 instead of internal-temp-output-buffer-show.
1488
c88b867f
CY
14892012-09-22 Chong Yidong <cyd@gnu.org>
1490
3df47cd5
CY
1491 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1492 (Bug#12462).
1493
c88b867f
CY
1494 * repeat.el (repeat): Doc fix (Bug#12348).
1495
1496 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1497 (Bug#10909).
1498
1499 * simple.el (shell-command-on-region): Doc fix.
3171e303 1500 (read-only-mode): Doc fix.
c88b867f 1501
df9685f3
EZ
15022012-09-22 Eli Zaretskii <eliz@gnu.org>
1503
1504 * emacs-lisp/timer.el (run-with-idle-timer)
1505 (timer-activate-when-idle): Warn against reinvoking an idle timer
1506 from within its own timer action. (Bug#12447)
1507
8e17c9ba
MR
15082012-09-22 Martin Rudalics <rudalics@gmx.at>
1509
1510 * cus-start.el (window-combination-limit): Add new optional
1511 values.
1512 * window.el (temp-buffer-window-show)
1513 (window--try-to-split-window): Handle new values of
1514 window-combination-limit (Bug#1806).
1515 (split-window): Test window-combination-limit for t instead of
1516 non-nil.
1517 (display-buffer-at-bottom): New buffer display action function.
1518 * help.el (temp-buffer-resize-regexps): New option.
1519 (temp-buffer-resize-mode): Rewrite doc-string.
1520 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 1521 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 1522
48a24920
SM
15232012-09-22 Stefan Merten <smerten@oekonux.de>
1524
70efc5c9 1525 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
1526 (rst-official-version)
1527 (rst-package-emacs-version-alist): Sync with official version
1528 V1.4.0.
1529 (rst-faces-defaults, rst-set-level-default)
1530 (rst-level-face-max, rst-level-face-base-color)
1531 (rst-level-face-base-light, rst-level-face-format-light)
1532 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1533 (rst-adornment-faces-alist): Match new setup.
1534 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1535 (rst-level-5, rst-level-6): New faces.
1536
82f8cd94
CY
15372012-09-22 Chong Yidong <cyd@gnu.org>
1538
1539 * simple.el (undo): Handle indirect buffers (Bug#8207).
1540
acfa068f 15412012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
1542
1543 IDO: Disable match re-ordering for buffer switching.
2bc9406c 1544 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
1545 (ido-set-matches-1): Use it. (Bug#2042)
1546
acfa068f 15472012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
1548
1549 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1550 Fix 2011-05-17 change. (Bug#12418)
1551
acfa068f 15522012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
1553
1554 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1555
acfa068f 15562012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
1557
1558 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1559 Be more robust about locating simple.el.
1560
acfa068f 15612012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
1562
1563 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1564
acfa068f
CY
15652012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1566
1567 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1568
41a97e6f
JL
15692012-09-20 Juri Linkov <juri@jurta.org>
1570
eb2deaff
JL
1571 * replace.el (query-replace-read-from): Use `read-regexp' instead
1572 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1573 (occur-read-primary-args): Use `read-regexp' instead of
1574 `read-string'.
1575 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1576 `read-from-minibuffer'.
1577 * isearch.el (isearch-occur): Use `read-regexp' instead of
1578 `read-string'.
1579 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1580 `read-from-minibuffer'.
1581 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1582 of `read-string'. (Bug#7567)
1583
5825610b
JL
1584 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1585 and allow accepting a list of strings prepended to a list of
1586 standard default values. Doc fix. (Bug#12321)
1587
eebbf404
JL
1588 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1589
41a97e6f
JL
1590 * replace.el (read-regexp): Don't add ": " when PROMPT already
1591 ends with a colon and space. (Bug#12321)
1592
c9e452d3
TH
15932012-09-20 Tassilo Horn <tsdh@gnu.org>
1594
1595 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1596 error.
1597
ee97deee
SM
15982012-09-20 Stefan Merten <smerten@oekonux.de>
1599
70efc5c9 1600 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
1601 Fixes feature request bug#11711.
1602 (rst-mode): Create `imenu-create-index-function'.
1603 (rst-get-stripped-line): Delete after refactoring.
1604 (rst-section-tree, rst-section-tree-rec)
1605 (rst-section-tree-point): Refactor and document properly.
1606 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
1607 (rst-imenu-convert-cell, rst-imenu-create-index):
1608 New function.
ee97deee 1609
f490dab9
SM
16102012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1611
95b9712e
SM
1612 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1613 (macroexp--expand-all): Use it.
1614 (macroexp--funcall-and-return): Remove by folding it into its sole
1615 caller (macroexp--warn-and-return).
1616 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1617 Use macroexp--obsolete-warning.
1618
f490dab9
SM
1619 * calc/calc.el: Fix last change by removing the whole chunk, since it
1620 was only needed back when Calc was not bundled.
1621
96e8d411
MR
16222012-09-20 Martin Rudalics <rudalics@gmx.at>
1623
1624 * emacs-lisp/debug.el (debug): Restore assignment to
1625 debugger-old-buffer removed on 2012-09-08.
1626
0876a82d
JL
16272012-09-20 Juri Linkov <juri@jurta.org>
1628
1629 * dired-aux.el (dired-diff): Remove (require 'diff) since
1630 `diff-latest-backup-file' is now autoloaded.
1631
9f7c28f0
CY
16322012-09-20 Chong Yidong <cyd@gnu.org>
1633
1634 * vc/diff.el (diff-latest-backup-file): Autoload.
1635
7a04bee9
SM
16362012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1637
e6f0a80d
SM
1638 * calc/calc.el: Remove redundant autoload shape check.
1639 (sel-mode): Don't defvar.
1640 (calc-get-stack-element): Add `sel-mode' arg instead.
1641 (calc-top, calc-top-list): Pass it this additional argument.
1642 * calc/calc-store.el (calc-store-map):
1643 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1644 (calc-map-equation, calc-outer-product, calc-inner-product):
1645 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1646
7a04bee9
SM
1647 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1648
12734222
JL
16492012-09-19 Juri Linkov <juri@jurta.org>
1650
1651 * dired-aux.el (dired-diff): Add (require 'diff) because
1652 `diff-latest-backup-file' is not autoloaded.
1653 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1654 of `dired-get-filename' to t to not report error when there is
1655 no default file on the current line.
1656
46624b4f
SM
16572012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1658
ce97595b
SM
1659 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1660 macroexp--eval-if-compile.
1661 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1662 (macroexp--expand-all): Use them (bug#12371).
1663
46624b4f
SM
1664 * doc-view.el (doc-view-guess-paper-size)
1665 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1666
db8a5a18
TH
16672012-09-19 Tassilo Horn <tsdh@gnu.org>
1668
1669 New feature: set optimal slice from BoundingBox information.
1670 * doc-view.el (doc-view-mode-map): Add keybinding.
1671 (doc-view-menu): Add menu entry.
1672 (doc-view-set-slice): Adapt docstring.
1673 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1674 (doc-view-scale-bounding-box)
1675 (doc-view-set-slice-from-bounding-box): New functions.
1676 (doc-view-paper-sizes): New defvar.
1677
69f6644c
GM
16782012-09-19 Glenn Morris <rgm@gnu.org>
1679
35f5b19d
GM
1680 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1681 (byte-compile-log-warning): Autoload. (Bug#12371)
1682
69f6644c
GM
1683 * calendar/calendar.el (calendar-american-month-header)
1684 (calendar-european-month-header, calendar-iso-month-header)
1685 (calendar-month-header): New options.
1686 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1687 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1688
e543ae91
JD
16892012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1690
1691 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1692
2fd5e67d
JL
16932012-09-18 Juri Linkov <juri@jurta.org>
1694
1695 * dired-aux.el (dired-diff): Restore original functionality of
1696 getting the default value, but keep new feature of using the
1697 latest existing backup file (`diff-latest-backup-file').
1698
42917e79
JL
16992012-09-18 Juri Linkov <juri@jurta.org>
1700
1701 * dired.el (dired-mark): If the region is active in Transient Mark
1702 mode, mark all files in the active region. Doc fix.
1703 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1704 Doc fix. (Bug#10624)
1705
20f70ede
JL
17062012-09-18 Juri Linkov <juri@jurta.org>
1707
1708 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1709 attributes for M-n are pulled from the file at point.
1710 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1711 Suggested by Drew Adams. (Bug#10624)
1712
32fb8162
DG
17132012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1714
1715 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1716 whitespace after "end".
1717 (ruby-do-end-to-brace): Collapse block to one line if it fits
1718 within fill-column.
1719
37ab5092
MR
17202012-09-18 Martin Rudalics <rudalics@gmx.at>
1721
1722 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1723 value.
1724 (debug): Don't remove debugger window when debugger is expected
1725 to be back.
1726
ed1f0bd3
CY
17272012-09-18 Chong Yidong <cyd@gnu.org>
1728
1729 * custom.el (defface): Doc fix.
1730
1731 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1732
a11035b8
MB
17332012-09-18 Martin Blais <blais@furius.ca> (tiny change)
1734
1735 * progmodes/compile.el (compilation-start): Use compilation-always-kill
1736 to initialize query-on-exit; then test that instead (bug#12288).
1737
64f6a736
SM
17382012-09-17 Stefan Merten <smerten@oekonux.de>
1739
70efc5c9 1740 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
1741 (rst-defcustom-testcover, rst-testcover-add-compose)
1742 (rst-testcover-add-1value): New functions.
1743 (rst-portable-mark-active-p): Replace by `use-region-p'.
1744 (rst-update-section, rst-classify-adornment)
1745 (rst-find-title-line): Mark `1value' forms.
1746 (rst-classify-adornment): Remove superfluous form.
1747 (rst-update-section, rst-get-adornments-around)
1748 (rst-adornment-complete-p, rst-get-next-adornment)
1749 (rst-adjust, rst-promote-region)
1750 (rst-display-adornments-hierarchy, rst-straighten-adornments)
1751 (rst-find-pfx-in-region, rst-section-tree-rec)
1752 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1753 (rst-toc-node, rst-toc, rst-forward-section)
1754 (rst-iterate-leftmost-paragraphs)
1755 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1756 (rst-bullet-list-region)
1757 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1758 (rst-compile-find-conf, rst-compile)
1759 (rst-repeat-last-character): Fix style.
1760
580bd868
CY
17612012-09-17 Chong Yidong <cyd@gnu.org>
1762
1763 * comint.el (comint--complete-file-name-data): Don't add a space
1764 if the status is `sole'; that adds a gratuitous space in the
1765 completion-cycling case (Bug#12092).
1766
1767 * pcomplete.el (pcomplete-completions-at-point): Likewise.
1768
69de3ec6
RS
17692012-09-17 Richard Stallman <rms@gnu.org>
1770
0dee970c
RS
1771 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
1772 only in the mime-shown mode, not in raw mode.
1773 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 1774 mime processing. (Bug#12305)
0dee970c 1775
6b250df6
GM
1776 * mail/rmail.el (rmail-retry-failure):
1777 Turn off mime processing first. (Bug#12037)
acb1c47b 1778
69de3ec6
RS
1779 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1780
d079ee5f
CY
17812012-09-17 Chong Yidong <cyd@gnu.org>
1782
1783 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1784 (shell-dynamic-complete-functions): Convert to defcustom.
1785 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1786
865fe16f
CY
1787 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1788 * comint.el (comint-prompt-read-only):
1789 * custom.el (defcustom):
1790 * hi-lock.el (hi-lock-mode):
1791 * ibuffer.el (ibuffer-formats):
1792 * ielm.el (ielm-prompt-read-only):
1793 * novice.el (disable-command):
1794 * saveplace.el (toggle-save-place):
1795 * speedbar.el (speedbar-supported-extension-expressions):
1796 * startup.el (auto-save-list-file-prefix, init-file-user)
1797 (after-init-hook, inhibit-startup-echo-area-message):
1798 * strokes.el (strokes-help):
1799 * time-stamp.el (time-stamp):
1800 * calendar/calendar.el (calendar, diary-file):
1801 * calendar/diary-lib.el (diary-mail-entries, diary)
1802 (diary-list-entries-hook):
1803 * calendar/holidays.el (holidays, calendar-holidays):
1804 * calendar/lunar.el (lunar-phases):
1805 * calendar/solar.el (sunrise-sunset):
1806 * emulation/edt.el (edt-load-keys):
1807 * emulation/viper.el (viper-mode):
1808 * eshell/em-alias.el (eshell-command-aliases-list):
1809 * eshell/esh-util.el (eshell-convert-numeric-arguments):
1810 * international/ogonek.el (ogonek-information):
1811 * net/tramp-cmds.el (tramp-bug):
1812 * net/quickurl.el (quickurl-reread-hook-postfix):
1813 * play/decipher.el (decipher-font-lock-keywords):
1814 * progmodes/cc-styles.el (c-set-style):
1815 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
1816 * progmodes/inf-lisp.el (inferior-lisp-prompt):
1817 * progmodes/octave-mod.el (octave-mode):
1818 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
1819 * progmodes/verilog-mode.el (verilog-read-defines):
1820 * textmodes/two-column.el (2C-mode): Likewise.
1821
48093eb9
KY
18222012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
1823
1824 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
1825 that holds many addresses.
1826
c584eaf9
CY
18272012-09-16 Chong Yidong <cyd@gnu.org>
1828
40d70ecb
CY
1829 * align.el (align-areas): Call the indication function with
1830 positions instead of markers for arguments (Bug#12343).
1831
1667e065
CY
1832 * files.el (parse-colon-path): Use split-string (Bug#12351).
1833
fdc2806d 1834 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 1835 (display-buffer-function): Mark as obsolete.
fdc2806d 1836
f1be615c 1837 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
1838 values similar to font-lock-keywords (Bug#12136).
1839 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
1840 (compilation-error-regexp-alist): Doc fix.
1841
f40a9709
GM
18422012-09-15 Glenn Morris <rgm@gnu.org>
1843
72aa16e1
GM
1844 * version.el (emacs-bzr-version-bzr): New function.
1845 (emacs-bzr-get-version): Add optional EXTERNAL argument.
1846
82375160
GM
1847 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
1848 checkouts, check the parent dirstate matches the branch.
1849 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
1850 empty string.
1851
f40a9709
GM
1852 * version.el (emacs-bzr-version): Doc fix.
1853 (emacs-bzr-version-dirstate): New function.
1854 (emacs-bzr-get-version): For lightweight checkouts, if the parent
1855 is local try and check that it matches the branch. If not, just
1856 use dirstate information. (Bug#12441)
1857
cb26b7f5
JL
18582012-09-14 Juri Linkov <juri@jurta.org>
1859
1860 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
1861 (Bug#12399)
1862
2de39f08
SM
18632012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1864
0fb3cb7c
SM
1865 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
1866
2de39f08
SM
1867 * emacs-lisp/edebug.el: Miscellaneous cleanup.
1868 Remove obsolete byte-compiler hack that tried to silence some warnings.
1869 (edebug-submit-bug-report): Remove.
1870 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
1871 Remove aliases, use the un-prefixed name instead.
1872 (edebug-pop-to-buffer): Consider other frames.
1873 (edebug-original-read):: Make it more obvious that it's always defined.
1874 (edebug--make-form-data-entry, edebug--form-data-name)
1875 (edebug--form-data-begin, edebug--form-data-end): Rename from the
1876 single-dashed name, and implement with cl-defstruct.
1877 (edebug-set-form-data-entry): Use the standard accessors.
1878 (edebug-make-top-form-data-entry): Use push.
1879 (edebug-no-match): Drop useless `funcall'.
1880 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
1881 to functions.
1882 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
1883 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
1884 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
1885 (easy-menu-define, with-custom-print): Remove redundant specs.
1886 (edebug-outside-overriding-local-map)
1887 (edebug-outside-overriding-terminal-local-map): Remove, unused.
1888 (edebug--display): Bind unread-command-events directly to nil rather
1889 than binding it to unread-command-events and later setting it to nil.
1890 (edebug--display): Kill edebug-eval-buffer here...
1891 (edebug--recursive-edit): ...rather than here.
1892 Bind standard-output and standard-input.
1893 (edebug-eval): Check cl-macroexpand-all is fboundp.
1894 (edebug-temp-display-freq-count): Fix last change.
1895
1896 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
1897 * subr.el (noreturn, 1value): Add `debug' spec.
1898 * emacs-lisp/advice.el: Require cl-lib.
1899 (ad-copy-tree): Remove, use copy-tree instead.
1900 (ad-dolist): Remove use dolist or cl-dolist instead.
1901 (ad-do-return): Remove, use cl-return instead.
1902 (defadvice): Add `debug' spec.
1903
5b68b333
JL
19042012-09-13 Juri Linkov <juri@jurta.org>
1905
1906 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
1907 (Bug#12399)
1908
b9800ec4
GM
19092012-09-13 Glenn Morris <rgm@gnu.org>
1910
6a2e6868
GM
1911 * calc/calc.el (math-compose-expr):
1912 * calc/calc-ext.el (math-compose-expr):
1913 * progmodes/cc-defs.el (cl-macroexpand-all):
1914 * progmodes/cc-langs.el (delete-duplicates, mapcan)
1915 (cl-macroexpand-all): Update declarations.
1916
b9800ec4
GM
1917 * vc/vc.el: No need to require ediff.
1918 (ediff-load-version-control): Declare.
1919 (ediff-vc-internal): Fix declaration.
1920 (vc-version-ediff): Require ediff.
1921
c18e885b
PE
19222012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1923
1924 Use a more backwards-compatible timer format (Bug#12430).
1925 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
1926 being right after USECS, as that better supports old code that
1927 inadvisedly looked directly at the timer vector.
1928
d607d303
KH
19292012-09-13 Kenichi Handa <handa@gnu.org>
1930
1931 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
1932 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
1933 `coding-priority' property of these language environment.
1934
72eac303
PE
19352012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1936
1937 Fix glitches caused by addition of psec to timers (Bug#12430).
1938 * image.el (image-animate-timer):
1939 * time.el (display-time-world-timer):
1940 Use timer--function and timer--args rather than raw access to
1941 timer vector.
1942
2168fe4f
GM
19432012-09-13 Glenn Morris <rgm@gnu.org>
1944
1945 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
1946 If not compiling a file, try using load-file-name.
1947
bd8d6108
SM
19482012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1949
c0c54fbd
SM
1950 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
1951 Fix last change.
1952 (edebug-update-eval-list): Use `push'.
1953
bd8d6108
SM
1954 * emacs-lisp/edebug.el: Use lexical-binding.
1955 Remove the "edebug-" prefix from non-dynamically-scoped variables.
1956 Mark unused args with underscore.
1957 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
1958 (edebug-form-data): Use defvar-local.
1959 (edebug-make-before-and-after-form, edebug-make-after-form):
1960 Use backquote.
1961 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
1962 Not dynamically scoped any more.
1963 (edebug--enter-trace): Add arguments `function' and `args'.
1964 Rename from edebug-enter-trace.
1965 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
1966 (edebug--update-coverage): Add `after-index' and `value' args.
1967 Rename from edebug-update-coverage.
1968 (edebug-slow-after): Call it accordingly.
1969 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
1970 edebug-recursive-edit.
1971 (edebug--display): Call it accordingly. Add args `value',
1972 `offset-index', and `arg-mode'. Rename from edebug-display.
1973 (edebug-debugger, edebug): Call it accordingly.
1974 (edebug-eval-display-list): Use dolist.
1975
a9f9d9de
JL
19762012-09-12 Juri Linkov <juri@jurta.org>
1977
1978 * info.el (Info-search): Don't check for isearch-mode and
1979 isearch-regexp before let-binding search-spaces-regexp to
1980 Info-search-whitespace-regexp.
1981 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
1982 search-whitespace-regexp if isearch-lax-whitespace or
1983 isearch-regexp-lax-whitespace is non-nil.
1984 (Info-mode): Don't set local variable search-whitespace-regexp.
1985 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
1986
bfeae2cf
SM
19872012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1988
1989 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
1990 (debugger-env-macro): Remove support for unread-command-char.
1991
1992 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
1993 the temporary map re-appearing on emulation-mode-map-alists.
1994
1995 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
1996 since 22.1.
1997
1998 * ehelp.el (with-electric-help): Accept functions in
1999 electric-help-form-to-execute.
2000 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2001 And replace unread-command-char -> unread-command-events.
2002
fbbcaf1b
MA
20032012-09-12 Michael Albinus <michael.albinus@gmx.de>
2004
2005 Sync with Tramp 2.2.6.
2006
2007 * net/tramp.el (tramp-accept-process-output): Don't use
2008 JUST-THIS-ONE in the XEmacs case.
2009
2010 * net/trampver.el: Update release number.
2011
4dece104
MR
20122012-09-12 Martin Rudalics <rudalics@gmx.at>
2013
bfeae2cf
SM
2014 * emacs-lisp/debug.el (debugger-previous-window-height):
2015 New variable.
4dece104
MR
2016 (debug): When debugger-jumping-flag is non-nil try to restore
2017 height of debugger window. (Bug#8789)
2018
45b82ad0
SM
20192012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2020
60c49c0f
SM
2021 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2022 overriding-local-map and pre/post-command-hook here.
2023 (edebug-recursive-edit): Do it here instead (bug#12345).
2024 (edebug-outside-unread-command-char): Remove all uses of
2025 unread-command-char.
2026
45b82ad0
SM
2027 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2028 inhibit-debugger is bound instead.
2029
baa26ea0
BG
20302012-09-11 Bastien Guerry <bzg@gnu.org>
2031
2032 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 2033 (Bug#12346)
baa26ea0 2034
04e8abfa
BG
20352012-09-11 Bastien Guerry <bzg@gnu.org>
2036
96d03571 2037 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 2038 (Bug#12347)
96d03571
BG
2039
20402012-09-11 Bastien Guerry <bzg@gnu.org>
2041
fc0c31f8 2042 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 2043
04e082b0
MM
20442012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2045
2046 * progmodes/sql.el: Version 3.1
2047 (sql-db2-escape-newlines): New variable.
2048 (sql-escape-newlines-filter): Use it.
2049
399a361b
JB
20502012-09-10 Juanma Barranquero <lekktu@gmail.com>
2051
2052 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2053
0780c517
DN
20542012-09-10 Dan Nicolaescu <dann@gnu.org>
2055
45b82ad0
SM
2056 * vc/diff-mode.el (diff-mode-menu):
2057 Bind diff-remove-trailing-whitespace.
0780c517 2058
9b851e25
SM
20592012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2060
2061 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
2062 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2063 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
2064 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2065 (eval-defun-2): Remove bogus interactive spec.
2066 (lisp-indent-line): Remove redundant whole-exp code, now done in
2067 indent-according-to-mode.
2068 (save-match-data): Remove redundant indent data.
2069
2070 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2071 Use `declare'.
2072
3231d532
JL
20732012-09-09 Juri Linkov <juri@jurta.org>
2074
2075 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2076 (replace-lax-whitespace, query-replace-regexp)
2077 (query-replace-regexp-eval, replace-regexp): Doc fix.
2078 (perform-replace, replace-highlight): Let-bind
2079 isearch-lax-whitespace to replace-lax-whitespace and
2080 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2081
2082 * isearch.el (isearch-query-replace): Let-bind
2083 replace-lax-whitespace to isearch-lax-whitespace and
2084 replace-regexp-lax-whitespace to
2085 isearch-regexp-lax-whitespace. (Bug#10885)
2086
70fe8236
SM
20872012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2088
2089 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2090
8ed43f15
AM
20912012-09-09 Alan Mackenzie <acm@muc.de>
2092
70fe8236
SM
2093 * progmodes/cc-engine.el (c-state-cache-init):
2094 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2095 (c-record-parse-state-state):
2096 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 2097
bfabf70a
AS
20982012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2099
2100 * register.el (register-separator): Rename from
2101 separator-register. All uses changed. Doc fix.
2102 (register): Fix version.
2103
011474aa
CY
21042012-09-09 Chong Yidong <cyd@gnu.org>
2105
2106 * replace.el (query-replace-map): Bind four new symbols for
2107 requesting window scrolling.
2108
2109 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2110 query-replace-map (Bug#8948).
2111
2112 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2113
2114 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2115 since they are now in query-replace-map.
2116
2117 * window.el (scroll-other-window-down): Make the arg optional.
2118
a8b7cd8d
CY
21192012-09-09 Chong Yidong <cyd@gnu.org>
2120
2121 * files.el (hack-local-variables-confirm): Use quit-window to kill
2122 the *Local Variables* buffer.
2123
c3268831
DG
21242012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2125
2126 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2127 not just expect to be at its beginning. Adjust callees.
2128 Succeed when do-end block has no space before the pipe character.
2129 (ruby-brace-to-do-end): When the original block is one-liner,
2130 convert to multiline. Reindent the result.
2131
0979429b
J
21322012-09-08 Jambunathan K <kjambunathan@gmail.com>
2133
2134 * register.el (register): New group.
27359e99 2135 (separator-register): New user option.
0979429b
J
2136 (increment-register): Route it to `append-to-register', if
2137 register contains text. Implication is that `C-x r +' can now be
2138 used for appending to a text register (bug#12217).
2139 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 2140 `separator-register'.
0979429b 2141
ace2989a
AM
21422012-09-08 Alan Mackenzie <acm@muc.de>
2143
2144 AWK Mode: make auto-newline work when there's "==" in the pattern.
2145 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2146 correctly.
0979429b
J
2147 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2148 Test more rigorously for "=" token.
ace2989a 2149
616c6c36
DG
21502012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2151
0979429b
J
2152 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2153 Only fail when reached LIMIT.
616c6c36 2154
35d98877
CY
21552012-09-08 Chong Yidong <cyd@gnu.org>
2156
2157 * dired.el (dired-mode-map): Don't bind M-=.
2158
2159 * dired-aux.el (dired-diff): Use backup file as default.
2160
1715f2db
DA
21612012-09-08 Drew Adams <drew.adams@oracle.com>
2162
2163 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2164
6dcef6ec
CY
21652012-09-08 Chong Yidong <cyd@gnu.org>
2166
2167 * subr.el (syntax-after, syntax-class): Doc fix.
2168
fa2bcf43
MR
21692012-09-08 Martin Rudalics <rudalics@gmx.at>
2170
2171 * window.el (display-buffer-in-previous-window): New buffer
2172 display action function.
2173
2174 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2175 (debugger-previous-window): New variable.
2176 (debug): Rewrite using display-buffer-in-previous-window,
2177 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2178
daac280a
SM
21792012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2180
2181 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2182
9dd40b00
MM
21832012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2184
daac280a
SM
2185 * progmodes/python.el (python-shell-send-string):
2186 When default-directory is remote, create temp file on remote
9dd40b00
MM
2187 filesystem.
2188 (python-shell-send-file): When file is remote, pass local view of
2189 file paths to remote Python interpreter. (Bug#12340)
2190
145823ec
CY
21912012-09-07 Chong Yidong <cyd@gnu.org>
2192
cee2e90d
CY
2193 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2194
0d7eb2ea
CY
2195 * files.el (after-find-file): Don't fail on a read-only buffer if
2196 require-final-newline is `visit' or `visit-save' (Bug#11156).
2197
145823ec
CY
2198 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2199
daac280a
SM
2200 * userlock.el (ask-user-about-supersession-threat):
2201 Use read-char-choice (Bug#12093).
145823ec 2202
74c582e6
CY
22032012-09-07 Chong Yidong <cyd@gnu.org>
2204
e5c2edf7
CY
2205 * subr.el (buffer-narrowed-p): New function.
2206
2207 * ses.el (ses-widen):
2208 * simple.el (count-words--buffer-message):
1f9f395d 2209 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
2210
2211 * simple.el (count-words-region): Don't signal an error if there
2212 is a non-nil prefix arg and the mark is not set.
c640e87d 2213
74c582e6
CY
2214 * help.el (describe-key-briefly): Allow the message to be seen
2215 when invoked from the minibuffer (Bug#7014).
2216
d81ceaaf
DG
22172012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2218
2219 * progmodes/ruby-mode.el (ruby-end-of-defun)
2220 (ruby-beginning-of-defun): Simplify, allow indentation before
2221 block beginning and end keywords.
8f06acce
DG
2222 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2223 (ruby-end-of-defun): Expect that the point is at the beginning of
2224 the defun.
d81ceaaf 2225
d458ef98
SM
22262012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2227
2228 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2229 (bug#12367).
2230 (cl--make-usage-args): Strip _ from argument names.
2231
20367d28
RS
22322012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2233
2234 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2235 obsolete alias speedbar-key-map.
2236 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2237 (vhdl-index-menu-init): Don't use obsolete variable
2238 font-lock-maximum-size.
2239
3424a4f6
CY
22402012-09-06 Chong Yidong <cyd@gnu.org>
2241
2242 * frame.el (window-system-version): Mark as obsolete.
2243
fcbfbdea
CY
2244 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2245 of obsolete variable speedbar-key-map.
2246
826b3235
JL
22472012-09-06 Juri Linkov <juri@jurta.org>
2248
2249 * replace.el (replace-lax-whitespace): New defcustom.
2250 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2251 (replace-string, replace-regexp): Mention it in docstrings.
2252 (perform-replace, replace-highlight): Let-bind
2253 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2254 to the values of replace-lax-whitespace and regexp-flag.
2255 Don't let-bind search-whitespace-regexp. (Bug#10885)
2256
2257 * isearch.el (isearch-query-replace): Let-bind
2258 replace-lax-whitespace instead of let-binding
2259 replace-search-function and replace-re-search-function.
2260 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2261 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2262 (isearch-toggle-symbol): Set isearch-regexp to nil
2263 in isearch-word mode (like in isearch-toggle-word).
2264
1ec5e41d
JL
22652012-09-06 Juri Linkov <juri@jurta.org>
2266
2267 * replace.el (replace-search-function)
2268 (replace-re-search-function): Set default values to nil.
2269 (perform-replace): Let-bind isearch-related variables based on
2270 replace-related values, call `isearch-search-fun' and let-bind
2271 the result to `search-function'. Remove code that sets
2272 `search-function' and `search-string' separately for
2273 `delimited-flag'.
2274 (replace-highlight): Add new argument `delimited-flag' and
2275 rename other arguments to the names used in `perform-replace'.
2276 Let-bind `isearch-word' to the argument `delimited-flag'.
2277 (Bug#10885, bug#10887)
2278
0ba2d4b6
DG
22792012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2280
2281 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2282 ruby-beginning-of-indent, simplify, allow all keywords to have
2283 indentation before them.
2284 (ruby-beginning-of-indent): Adjust for above. Search until the
2285 found point is not inside a string or comment.
2286 (ruby-font-lock-keywords): Allow symbols to start with "@"
2287 character, give them higher priority than variables.
2288 (ruby-syntax-propertize-function)
2289 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2290 matchers. Expression expansions are not comments when inside a
2291 string, and there comment syntax status is irrelevant.
2292 (ruby-match-expression-expansion): New function. Check that
2293 expression expansion is inside a string, and it's not escaped.
2294 (ruby-font-lock-keywords): Use it.
2295
ef654460
MR
22962012-09-05 Martin Rudalics <rudalics@gmx.at>
2297
2298 * help.el (temp-buffer-max-height): New default value.
2299 (temp-buffer-resize-frames): New option.
2300 (resize-temp-buffer-window): Optionally resize frame.
2301
2302 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2303 (fit-frame-to-buffer): New function.
2304
7e570fbf 23052012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
2306
2307 * emulation/cua-rect.el (cua--init-rectangles):
2308 * textmodes/picture.el (picture-mode-map):
2309 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2310 like forward-char and backward-char. (Bug#12317)
2311
7e570fbf 23122012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
2313
2314 * progmodes/flymake.el (flymake-warning-re): New variable.
2315 (flymake-parse-line): Use it.
2316
7e570fbf 23172012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
2318
2319 * calendar/holidays.el (holiday-christian-holidays):
2320 Rename an entry. (Bug#12289)
2321
7e570fbf 23222012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
2323
2324 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2325 (bug#12222).
2326
972debf2
SM
23272012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2328
2329 * loadup.el: Load macroexp. Remove hack.
2330 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2331 (macroexp--expand-all): Use it to get better warnings.
2332 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2333 (internal-macroexpand-for-load): New functions.
2334 (macroexp--pending-eager-loads): New var.
2335 (emacs-startup-hook): New hack to replace one in loadup.el.
2336 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2337 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2338 (cl-psetf): Simplify.
2339 (cl-defstruct): Add indent rule.
2340
8ce192e3
LI
23412012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2342
2343 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2344 over `user-mail-address' for the SMTP MAIL FROM envelope.
2345 (smtpmail-via-smtp): Ditto.
2346
6578b4d8
DG
23472012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2348
2349 * progmodes/ruby-mode.el: Clean up keybindings.
2350 (ruby-mode-map): Don't bind ruby-electric-brace,
2351 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2352 backward-kill-word, reindent-then-newline-and-indent.
2353 (ruby-mark-defun): Remove.
2354 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2355 (ruby-mode): Set local beginning-of-defun-function and
2356 end-of-defun-function values.
2357
c5e28e39
MR
23582012-09-03 Martin Rudalics <rudalics@gmx.at>
2359
2360 * window.el (temp-buffer-window-setup-hook)
2361 (temp-buffer-window-show-hook): New hooks.
2362 (temp-buffer-window-setup, temp-buffer-window-show)
2363 (with-temp-buffer-window): New functions.
972debf2
SM
2364 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2365 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
2366
2367 * help.el (temp-buffer-resize-mode): Fix doc-string.
2368 (resize-temp-buffer-window): New optional argument WINDOW.
2369
2370 * files.el (recover-file, save-buffers-kill-emacs):
2371 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2372
73406194
MA
23732012-09-02 Michael Albinus <michael.albinus@gmx.de>
2374
2375 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2376 remote definition of `default-directory', ensure we can connect.
2377
63dd1c6f
JL
23782012-09-02 Juri Linkov <juri@jurta.org>
2379
2380 Toggle whitespace matching mode with M-s SPC.
2381 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2382
2383 * isearch.el (search-whitespace-regexp): Doc fix.
2384 Remove cons cell customization.
2385 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2386 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2387 New variables.
2388 (isearch-forward, isearch-forward-regexp): Doc fix.
2389 (isearch-toggle-lax-whitespace): New command.
2390 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2391 (re-search-forward-lax-whitespace)
2392 (re-search-backward-lax-whitespace): New functions.
2393 (isearch-whitespace-regexp): Remove function.
2394 (isearch-query-replace): Let-bind replace-search-function and
2395 replace-re-search-function.
2396 (isearch-occur): Let-bind search-spaces-regexp according to the
2397 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2398 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2399 condition for C-q SPC.
2400 (isearch-search-fun-default): Use new functions mentioned above.
2401 (isearch-search-forward, isearch-search-backward): Remove functions.
2402 (isearch-search): Don't let-bind search-spaces-regexp.
2403 (isearch-lazy-highlight-space-regexp): Remove variable.
2404 (isearch-lazy-highlight-lax-whitespace)
2405 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2406 (isearch-lazy-highlight-new-loop): Use them.
2407 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2408
af7dda05
CY
24092012-09-02 Chong Yidong <cyd@gnu.org>
2410
2411 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2412
d67d3afd
GM
24132012-09-02 Glenn Morris <rgm@gnu.org>
2414
2415 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2416
69678719
GM
24172012-09-01 Glenn Morris <rgm@gnu.org>
2418
2419 * term.el: Tidy up menu definitions.
2420 (term-mode-map): Use easymenu for In/Out, Complete menus.
2421 (term-pager-break-map): Initialize in the defvar.
2422 (term-terminal-menu, term-signals-menu): Define with easymenu.
2423 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2424 (term-pager-menu): New, extracted from term-process-pager.
2425 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2426 (term-update-mode-line): Propertize line/char and page items.
2427 (term-process-pager): Move keymap initialization elsewhere.
2428
78dd6ab1
MR
24292012-09-01 Martin Rudalics <rudalics@gmx.at>
2430
2431 * window.el (switch-to-prev-buffer): Handle additional values of
2432 BURY-OR-KILL argument. Don't switch in minibuffer window.
2433 (switch-to-next-buffer): Don't switch in minibuffer window.
2434 (quit-restore-window): New function based on quit-window.
2435 Handle additional values of former KILL argument.
2436 (quit-window): Call quit-restore-window with appropriate
2437 interpretation of KILL argument.
2438 (display-buffer-below-selected): New buffer display action
2439 function.
2440
3d10e134
SM
24412012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2442
2443 * minibuffer.el (completion-at-point-functions): Complete docstring
2444 (bug#12254).
2445
0e23ef9d
PE
24462012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2447
2448 Better seed support for (random).
2449 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2450 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2451 * play/mpuz.el, play/tetris.el, play/zone.el:
2452 * calc/calc-comb.el (math-init-random-base):
2453 * play/blackbox.el (bb-init-board):
2454 * play/life.el (life):
2455 * server.el (server-use-tcp):
2456 * type-break.el (type-break):
2457 Remove unnecessary call to (random t).
2458 * net/sasl.el (sasl-unique-id-function):
2459 Change (random t) to (random), now that the latter is more random.
2460 * play/life.el (life-initialized): Remove no-longer-needed var.
2461
862382df
MR
24622012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2463
2464 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2465 Consider frame's buffer predicate when choosing the buffer.
2466 (Bug#12081)
2467
262a66e1
RS
24682012-08-30 Richard Stallman <rms@gnu.org>
2469
2470 * simple.el (special-mode-map): Delete binding for `z'.
2471
f17e1d00
AS
24722012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2473
2474 * progmodes/compile.el (compilation-always-kill): Doc fix.
2475
24777832
CY
24762012-08-30 Chong Yidong <cyd@gnu.org>
2477
2478 * window.el (display-buffer-reuse-frames): Make the obsolescence
2479 message more informative.
2480
69ba1f04
GM
24812012-08-30 Glenn Morris <rgm@gnu.org>
2482
2483 * paren.el (show-paren-delay):
2484 Add a :set function. Doc fix. (Bug#12297)
2485
f0019ede
MB
24862012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2487
2488 * progmodes/compile.el (compilation-always-kill): New var.
2489 (compilation-start): Use it.
2490
35e62fc9
SM
24912012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2492
af070a1c
SM
2493 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2494 * files.el (read-only-mode): Move to simple.el.
2495
35e62fc9
SM
2496 * files.el (read-only-mode): New minor mode.
2497 (toggle-read-only): Use it and mark obsolete.
2498 (find-file--read-only):
2499 * vc/vc.el (vc-next-action, vc-checkout):
2500 * vc/vc-cvs.el (vc-cvs-checkout):
2501 * obsolete/vc-mcvs.el (vc-mcvs-update):
2502 * ffap.el (ffap--toggle-read-only): Update callers.
2503
c2c43c23
MA
25042012-08-29 Michael Albinus <michael.albinus@gmx.de>
2505
2506 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
2507 remote shell scripts.
2508 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
2509
2510 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2511 "/usr/local/sbin".
2512
9fba804b
SM
25132012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2514
2515 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2516
eada0861 25172012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 2518
806f0cc7
LL
2519 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2520 completion-at-point. (Bug#12220)
2521
3bb213b9
LL
2522 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2523
22ab32ef
LL
2524 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2525
eada0861 25262012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 2527
19c17fc1
CY
2528 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2529 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 2530
eada0861 25312012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
2532
2533 * progmodes/hideif.el (hif-compress-define-list):
2534 Fix typo. (Bug#11951)
2535
eada0861 25362012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
2537
2538 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2539 buffer local setting.
2540
27d6c5a8
LL
2541 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2542 rcirc-encode-coding-system.
2543
eada0861 25442012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
2545
2546 * net/rcirc.el (rcirc-split-message): New function.
2547 (rcirc-send-message): Use it. (Bug#12051)
2548
d44688e4
JL
25492012-08-28 Juri Linkov <juri@jurta.org>
2550
2551 * info.el (Info-fontify-node): Hide empty lines at the end of
2552 the node. (Bug#12272)
2553
34f10d41
MR
25542012-08-27 Drew Adams <drew.adams@oracle.com>
2555
2556 * dired.el (dired-pop-to-buffer): Make window start at beginning
2557 of buffer (Bug#12281).
2558
77f1f99c
CY
25592012-08-26 Chong Yidong <cyd@gnu.org>
2560
2561 * window.el (special-display-regexps, special-display-frame-alist)
2562 (special-display-buffer-names, special-display-function)
2563 (display-buffer-reuse-frames): Mark as obsolete.
2564
2565 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2566
2567 * help.el (help-print-return-message): Don't treat
2568 display-buffer-reuse-frames specially.
2569
d97af5a0
CY
25702012-08-26 Chong Yidong <cyd@gnu.org>
2571
9fba804b
SM
2572 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2573 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
2574 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2575 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2576 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2577 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2578 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2579 the functions directly with gdb-display-buffer-other-frame-action.
2580 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2581 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2582 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2583 (gdb-display-registers-buffer): Define directly.
2584 (def-gdb-display-buffer): Macro deleted.
2585 (gdb-display-buffer): Remove second and third args, callers don't
2586 use them. Defer to the default display-buffer behavior, apart
2587 from making windows dedicated.
2588 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2589
2590 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2591
2592 * window.el (display-buffer-pop-up-frame): Handle a
2593 pop-up-frame-parameters alist entry.
2594 (display-buffer): Document it.
2595
dd7ffad6
CY
25962012-08-26 Chong Yidong <cyd@gnu.org>
2597
2598 * isearch.el (search-whitespace-regexp): Make string and nil
2599 values apply to both ordinary and regexp search. Allow a cons
2600 cell value to distinguish between the two.
2601 (isearch-whitespace-regexp, isearch-search-forward)
2602 (isearch-search-backward): New functions.
2603 (isearch-occur, isearch-search-fun-default, isearch-search)
2604 (isearch-lazy-highlight-new-loop): Use them.
2605 (isearch-forward, isearch-forward-regexp): Doc fix.
2606
4c47bd1e
CY
26072012-08-26 Chong Yidong <cyd@gnu.org>
2608
2609 * faces.el (help-argument-name): Always inherit from italic
2610 (Bug#12213).
2611
9aba119d
MR
26122012-08-25 Martin Rudalics <rudalics@gmx.at>
2613
2614 * window.el (window--even-window-heights): Even heights when
2615 WINDOW and the selected window form a vertical combination.
2616 (display-buffer-use-some-window): Provide that window used gets
2617 sized back by quit-window. (Bug#11880) and (Bug#12091)
2618
ca5256ad
PE
26192012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2620
2621 Fix file time stamp problem with bzr and CVS (Bug#12001).
2622 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2623 in the file's time stamp, since the version control system loses
2624 that information.
2625
d1c0d176
JL
26262012-08-22 Juri Linkov <juri@jurta.org>
2627
2628 * info.el (Info-fontify-node): Hide the suffix of the
2629 Info file name in the header line. (Bug#12187)
2630
141562ff
GM
26312012-08-22 Glenn Morris <rgm@gnu.org>
2632
2633 * calendar/cal-tex.el (cal-tex-weekly-common):
2634 Restore leading blank page.
2635
61a48e19 26362012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
2637
2638 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
2639 the region under `shift-select-mode'. (Bug#12231)
2640
26412012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
2642
2643 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2644 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2645 gives details on why the space is never needed.
2646
ea95074e
MR
26472012-08-22 Martin Rudalics <rudalics@gmx.at>
2648
9fba804b
SM
2649 * window.el (walk-window-tree, window-with-parameter):
2650 New optional argument MINIBUF to control whether these functions
ea95074e
MR
2651 should run on the minibuffer window.
2652 (window-at-side-list): Don't operate on minibuffer window.
2653 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
2654 (window--size-ignore): Rename to window--size-ignore-p.
2655 Update callers.
caceae25
MR
2656 (display-buffer-in-atom-window, window--major-non-side-window)
2657 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
2658 (delete-side-window, display-buffer-in-side-window):
2659 New functions.
caceae25
MR
2660 (window--side-check, window-deletable-p, delete-window)
2661 (delete-other-windows, split-window): Handle side windows and
2662 atomic windows appropriately.
2663 (window--display-buffer): Call display-buffer-record-window also
2664 when the window buffer did not change.
ea95074e 2665
80a51fa0
CS
26662012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2667
2668 * help-fns.el (help-fns--key-bindings):
2669 Abbreviate non-symbol remap targets. (Bug#12174)
2670
fbb6300b
MR
26712012-08-22 Martin Rudalics <rudalics@gmx.at>
2672
2673 * dired.el (dired-mark-remembered): Don't clobber point.
2674 (Bug#11795)
2675
2b2c0794
GM
26762012-08-22 Glenn Morris <rgm@gnu.org>
2677
2678 * progmodes/bug-reference.el (bug-reference): New custom group.
2679 (bug-reference-bug-regexp): Make it a defcustom.
2680
37219830
DU
26812012-08-22 Daiki Ueno <ueno@unixuser.org>
2682
2683 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2684 (js-paren-indent-offset, js-square-indent-offset)
2685 (js-curly-indent-offset): Add :safe (Bug#12257).
2686
94e0e559
EC
26872012-08-22 Edward O'Connor <hober0@gmail.com>
2688
2689 * json.el (json-key-format): Add error properties.
2690 (json-encode-key): New function.
2691 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2692 Use json-encode-key.
2693
da485f5e
GM
26942012-08-22 Glenn Morris <rgm@gnu.org>
2695
2696 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2697 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2698 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2699 Update for above change.
2700
c6cc78b8
AS
27012012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2702
2703 * cus-face.el (custom-face-attributes): Fix customize type for the
2704 :underline attribute. (Bug#11805)
2705
5481664a
MR
27062012-08-21 Martin Rudalics <rudalics@gmx.at>
2707
2708 * window.el (window-point-1, set-window-point-1): Remove.
2709 (window-in-direction, record-window-buffer)
2710 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
2711 (window--state-get-1, display-buffer-record-window):
2712 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
2713 window-point and set-window-point respectively.
2714
6d74698e
GM
27152012-08-21 Glenn Morris <rgm@gnu.org>
2716
b7fa2691
GM
2717 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2718 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2719 Use it.
2720
52f56d5a
GM
2721 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2722 (cal-tex-shortday): New function.
2723 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2724 (cal-tex-cursor-filofax-daily): Use the above.
2725
9f1ee09e
GM
2726 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2727 New functions.
2728 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2729 (cal-tex-cursor-filofax-week): Use them.
2730
79858159
GM
2731 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2732 New constants.
2733 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2734 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2735
d346b2b4
GM
2736 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2737 (cal-tex-end-document): Don't rely on buffer name.
2738
b2403709
GM
2739 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2740 Use cal-tex-vspace.
2741 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2742 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
2743 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2744 Use cal-tex-arg.
b2403709 2745
1cebb5c0
GM
2746 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2747 (cal-tex-cursor-week, cal-tex-cursor-week2)
2748 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2749 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2750 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2751 (cal-tex-insert-preamble, cal-tex-b-document)
2752 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2753 Improve cal-tex-cmd usage.
2754
c68cd5d4
GM
2755 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2756 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2757 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2758 (cal-tex-weekly-paper): New function.
2759 (cal-tex-cursor-week, cal-tex-cursor-week2)
2760 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2761 (cal-tex-cursor-day): Use it.
2762
9dca4801
GM
2763 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2764 (cal-tex-cursor-filofax-week): Remove leading blank page.
2765
1941e134
GM
2766 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2767 Add autoload cookie. For now at least, don't use color, since
2768 no other cal-tex function does.
2769
6d74698e
GM
2770 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2771 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2772 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2773
64cde199
JL
27742012-08-21 Juri Linkov <juri@jurta.org>
2775
2776 * info.el (Info-file-attributes): New variable.
2777 (info-insert-file-contents): Add file attributes to
2778 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2779 `Info-toc-nodes' when previous modtime of the Info file is less
2780 than new modtime.
2781 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2782 of info.el. (Bug#12230)
2783
32757648
GM
27842012-08-20 Glenn Morris <rgm@gnu.org>
2785
2786 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2787 * calendar/holidays.el (calendar-holiday-list):
2788 Report errors with display-warning rather than beep'n'sleep.
2789
a32fbbcf
MA
27902012-08-20 Michael Albinus <michael.albinus@gmx.de>
2791
2792 * net/tramp.el (tramp-accept-process-output): Accept only output
2793 from PROC. Otherwise, process filters and sentinels might be
2794 confused. (Bug#12145)
2795
a05731a0
CY
27962012-08-20 Chong Yidong <cyd@gnu.org>
2797
2798 * descr-text.el (describe-text-properties-1): Use overlays-in to
2799 report on empty overlays (Bug#3322).
2800
36e8d1eb
GM
28012012-08-20 Glenn Morris <rgm@gnu.org>
2802
3d300447
GM
2803 * mail/rmailout.el (rmail-output-read-file-name):
2804 Trap and report errors in rmail-output-file-alist elements.
2805
36e8d1eb
GM
2806 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2807 since most non-font-lock faces are not also variables).
2808
b96e5814
ER
28092012-08-20 Edward Reingold <reingold@iit.edu>
2810
2811 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2812 New function. (Bug12160)
2813
7cef3569
GM
28142012-08-19 Glenn Morris <rgm@gnu.org>
2815
2816 * mail/rmailout.el (rmail-output-read-file-name):
2817 Fix previous change (when the alist is nil or does not match).
2818
17975d7f
CY
28192012-08-19 Chong Yidong <cyd@gnu.org>
2820
2821 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2822 (Bug#12228).
2823
2170b1bd
CY
28242012-08-18 Chong Yidong <cyd@gnu.org>
2825
2826 * simple.el (yank-handled-properties): New defcustom.
2827 (yank-excluded-properties): Add font-lock-face and category.
2828 (yank): Doc fix.
2829
9fba804b
SM
2830 * subr.el (remove-yank-excluded-properties):
2831 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
2832 and category is now done this way, instead of being hard-coded.
2833 (insert-for-yank-1): Remove font-lock-face handling.
2834 (yank-handle-font-lock-face-property)
2835 (yank-handle-category-property): New function.
2836
ee218151
GM
28372012-08-17 Glenn Morris <rgm@gnu.org>
2838
2839 * mail/rmailout.el (rmail-output-read-file-name):
2840 Check rmail-output-file-alist against the full message body
2841 in the correct rmail buffer. (Bug#12214)
2842
4a6bc3fd
MA
28432012-08-17 Michael Albinus <michael.albinus@gmx.de>
2844
9fba804b
SM
2845 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2846 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 2847
383dcbf9
CY
28482012-08-17 Chong Yidong <cyd@gnu.org>
2849
2850 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2851 font spec, set the font directly (Bug#3228).
2852
998c4a6a
MR
28532012-08-17 Martin Rudalics <rudalics@gmx.at>
2854
2855 * window.el (delete-window): Fix last fix.
2856
52162052
MR
28572012-08-16 Martin Rudalics <rudalics@gmx.at>
2858
2859 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
2860 (window-child, window-child-count, window-last-child)
2861 (window-normalize-window, window-combined-p)
2862 (window-combinations, window-atom-root, window-min-size)
2863 (window-sizable, window-sizable-p, window-size-fixed-p)
2864 (window-min-delta, window-max-delta, window--resizable)
2865 (window--resizable-p, window-resizable, window-total-size)
2866 (window-full-height-p, window-full-width-p, window-body-size)
2867 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2868 (minimize-window, window-deletable-p, delete-window)
2869 (delete-other-windows, set-window-buffer-start-and-point)
2870 (next-buffer, previous-buffer, split-window, balance-windows-2)
2871 (set-window-text-height, window-buffer-height)
2872 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
2873 (truncated-partial-width-window-p): Minor code adjustments.
2874 In doc-strings state whether the argument window has to denote a
85c2386b 2875 live, valid or any window.
52162052 2876
1c308380
PS
28772012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2878
2879 * progmodes/subword.el (subword-forward-function)
2880 (subword-backward-function, subword-forward-regexp)
2881 (subword-backward-regexp): New variables.
2882 (subword-forward, subword-forward-internal, subword-backward-internal):
2883 Use new variables, eg so that different "word" definitions
2884 can be easily used. (Bug#11411)
2885
94c9ece1
SM
28862012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2887
2888 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2889 for composite selectors.
2890 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2891 operation just because we can't find a previous revision.
2892
f2045622
CY
28932012-08-15 Chong Yidong <cyd@gnu.org>
2894
2895 * frame.el (set-frame-font): Accept font objects.
2896
582db660
SM
28972012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2898
2899 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2900
2f29c200
WJ
29012012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2902
456e62c2
WJ
2903 * man.el (Man-overstrike-face, Man-underline-face)
2904 (Man-reverse-face): Remove variables.
2905 (Man-overstrike, Man-underline, Man-reverse): New faces.
2906 (Man-fontify-manpage): Use them instead of the variables.
2907 (Man-cleanup-manpage): Comment change.
2908 (Man-ansi-color-map): New variable.
2909 (Man-fontify-manpage): Use it.
2910 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2911
2f29c200
WJ
2912 Implement ANSI SGR parameters 22-27 (bug#12146).
2913 * ansi-color.el (ansi-colors): Doc fix.
2914 (ansi-color-context, ansi-color-context-region): Doc fix.
2915 (ansi-color--find-face): New function.
2916 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2917 Rename the local variable `face' to `codes' since it is now a list of
2918 ansi codes. Doc fix.
2919 (ansi-color-get-face): Remove.
2920 (ansi-color-parse-sequence): New function, derived from
2921 ansi-color-get-face.
2922 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2923 codes 22-27.
2924
b4f5e9df
SM
29252012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2926
2927 * subr.el (read-passwd): Allow use from a minibuffer.
2928
ba025fbd
EZ
29292012-08-14 Eli Zaretskii <eliz@gnu.org>
2930
2931 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2932 inside comments and strings as identifiers.
2933
2934 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2935 expression to evaluate. This allows to evaluate expressions with
2936 embedded whitespace.
2937 (gud-tooltip-tips): Add a blank before the newline in the
2938 message-box text, for the benefit of message-box emulation on
2939 MS-Windows.
2940
2941 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2942 messages from GDB, pop them up in a tooltip to give feedback to
2943 user.
b4f5e9df
SM
2944 (gdb-tooltip-print-1): Quote the expression to evaluate.
2945 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
2946 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2947 if the TTY name is nil or empty (which happens when communicating
2948 with the inferior via pipes, e.g. on MS-Windows).
2949 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2950 don't send that to the GUD buffer.
2951
c548f821
GM
29522012-08-14 Glenn Morris <rgm@gnu.org>
2953
2954 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2955 Optimize away setq-default with no args, as for setq. (Bug#12195)
2956
55802e4a
CY
29572012-08-14 Chong Yidong <cyd@gnu.org>
2958
4abcdac8
CY
2959 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2960
55802e4a
CY
2961 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2962 (Bug#12085).
2963
3c3cda1a
GM
29642012-08-14 Glenn Morris <rgm@gnu.org>
2965
2966 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2967
e1873bd0
MA
29682012-08-14 Michael Albinus <michael.albinus@gmx.de>
2969
2970 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2971 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2972 Use cached shell name.
2973
925411b4
FEG
29742012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2975
2976 * progmodes/python.el (python-shell-send-string):
3c3cda1a 2977 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 2978
e636fafe
DG
29792012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2980
2981 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2982 (ruby-percent-literal-beg-re): New constant.
2983 (ruby-syntax-general-delimiters-goto-beg): Rename to
2984 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2985 (ruby-syntax-propertize-general-delimiters): Rename to
2986 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2987 popular term. Adjust comments everywhere.
2988 (ruby-syntax-propertize-percent-literal): Only propertize when not
2989 inside a simple string or comment. When the literal is unclosed,
2990 leave the text after it unpropertized.
f063063a
DG
2991 (ruby-syntax-methods-before-regexp): New constant.
2992 (ruby-syntax-propertize-function): Use it to recognize regexps.
2993 Don't look at the text after regexp, just use the whitelist.
e636fafe 2994
e5b19827
AS
29952012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2996
2997 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2998 non-nil always load the compiled file if it exists. (Bug#12197)
2999
a9f6f311
CY
30002012-08-14 Chong Yidong <cyd@gnu.org>
3001
3002 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3003 (hi-lock-set-pattern): When deciding whether to use font lock or
3004 overlays, look at font-lock-mode instead of font-lock-fontified
3005 (Bug#12168).
3006 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3007 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3008
7d806b1e
DU
30092012-08-14 Daiki Ueno <ueno@unixuser.org>
3010
3011 * subr.el (internal--after-with-selected-window): Fix typo
3012 (Bug#12193).
3013
5beed586
FEG
30142012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3015
3016 Use `completion-table-dynamic' for completion functions.
3017 * progmodes/python.el
3018 (python-shell-completion--do-completion-at-point)
e636fafe
DG
3019 (python-shell-completion--get-completions):
3020 Remove functions.
5beed586
FEG
3021 (python-shell-completion-complete-at-point): New function.
3022 (python-completion-complete-at-point): Use it.
3023
92cb3b04
J
30242012-08-13 Jambunathan K <kjambunathan@gmail.com>
3025
3026 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3027 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3028
89660017
SM
30292012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3030
3c98c962
SM
3031 * subr.el (function-get): Refine `autoload' arg so it can also
3032 autoload functions for gv.el (bug#12191).
3033 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3034 autoloads macros.
3035
aa7c6dbe
SM
3036 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3037 Prefer pcase-let over destructuring-bind.
3038 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3039 Also, remove whitespace as we go, rather than after accumulating the
3040 various places.
3041
89660017
SM
3042 * subr.el (internal--before-with-selected-window)
3043 (internal--after-with-selected-window): Fix typo seleted->selected.
3044 (with-selected-window): Adjust callers.
3045 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3046
31cd32c9
BG
30472012-08-13 Bastien Guerry <bzg@gnu.org>
3048
0fcd3d9f 3049 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
3050 enhancement. (Bug#12172)
3051
1b15d8ad
AS
30522012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3053
31e54db0
AS
3054 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3055 type 1-6.
3056 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3057 extended headers.
3058
1b15d8ad
AS
3059 * files.el (hack-local-variables-filter): Remove useless eval.
3060
35cb9c06
MR
30612012-08-13 Martin Rudalics <rudalics@gmx.at>
3062
3063 * subr.el (with-selected-window): Fix last change.
3064
1439443b
SM
30652012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3066
3067 * subr.el (internal--before-with-seleted-window)
3068 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
3069 (with-selected-window): Use them, to replace dependency on
3070 tty-top-frame.
1439443b 3071
0d9e2599
NN
30722012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3073
3074 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3075 binding for `newline'.
3076 (ruby-move-to-block): When moving backward, stop at block opening,
3077 not indentation.
3078 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3079 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3080 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3081 `ruby-toggle-block'.
3082
ba10c48c
SM
30832012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3084
3085 * ibuffer.el (ibuffer-do-toggle-read-only):
3086 * dired.el (dired-toggle-read-only):
3087 * buff-menu.el (Buffer-menu-toggle-read-only):
3088 * bindings.el (mode-line-toggle-read-only):
3089 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3090
9229c658
AS
30912012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3092
3093 * descr-text.el (describe-char): Put the overlays over the
3094 "displayed as" character.
3095
0fd09128
JB
30962012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3097
3098 * calc/calc-units.el (math-default-units-table): Give an
3099 initial value.
3100 (math-put-default-units): Add options to put composite units and
3101 unit systems in the default units table.
3102 (calc-convert-units): Send composite units to
3103 `math-put-default-units' when appropriate.
3104
9ff9402d 31052012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 3106
fbb5e336
GM
3107 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3108
7aacaf15
GM
3109 * tutorial.el (help-with-tutorial):
3110 * emacs-lisp/copyright.el (copyright-update-directory):
3111 * emacs-lisp/autoload.el (autoload-find-generated-file)
3112 (autoload-find-file): Disable local eval: (for insurance).
3113
f40b9f10
GM
3114 * files.el (hack-local-variables-filter): If an eval: form is not
3115 known to be safe, and enable-local-variables is :safe, then ignore
3116 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 3117 This is CVE-2012-3479.
f40b9f10 3118
daa9f1a6
SM
31192012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3120
3121 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3122 (rx-form): Simplify.
3123
9cd80478
DG
31242012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3125
0d9e2599
NN
3126 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3127 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3128 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3129 (ruby-syntax-propertize-function): Adjust for changes in
3130 `ruby-syntax-propertize-heredoc'.
3131
31322012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3133
9cd80478
DG
3134 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3135 binding (use `M-;' instead).
9cd80478 3136 (ruby-singleton-class-p): New function.
0d9e2599 3137 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 3138
d301b413
SM
31392012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3140
3141 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3142
1530c98e
CY
31432012-08-10 Chong Yidong <cyd@gnu.org>
3144
3145 * progmodes/python.el (python-shell-get-process-name): Don't mess
3146 with same-window-buffer-names.
3147
3148 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3149 (eshell-remove-from-window-buffer-names): Make obsolete.
3150 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3151 (eshell): Just use pop-to-buffer-same-window instead.
3152
e1293765
CY
31532012-08-10 Chong Yidong <cyd@gnu.org>
3154
3155 * bindings.el: Bind M-= back to count-words-region.
3156
3157 * simple.el (count-words-region): Accept a prefix arg for acting
3158 on the entire buffer.
3159 (count-words--buffer-message): New helper function.
3160
e1894109
SM
31612012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3162
3163 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3164 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3165 (event-start, event-end): Use posn-at-point to return a more
3166 informative posn.
3167 (posnp): New function.
3168 * mouse.el (popup-menu-normalize-position): Use it.
3169
c69f56a2
MY
31702012-08-10 Masatake YAMATO <yamato@redhat.com>
3171
3172 * mouse.el (popup-menu-normalize-position): New function.
3173 (popup-menu): Use `popup-menu-normalize-position' to normalize
3174 the form for POSITION argument.
3175
3176 * term/x-win.el (x-menu-bar-open):
3177 Use the value returend from (posn-at-point) as position
3178 passed to `popup-menu'.
3179
31673780
JB
31802012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3181
3182 * calc/calccomp.el (math-compose-expr): Add extra argument
3183 indicating that parentheses should be put around products in
3184 denominators. Give multiplication precedence over division during
3185 composition.
3186
dab7711b
CY
31872012-08-09 Chong Yidong <cyd@gnu.org>
3188
dee4ef93
CY
3189 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3190 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3191 (Man-untabify-command, manual-program): Convert to defcustom
3192 (Bug#10429).
3193
73e2bbc5
CY
3194 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3195
3e861c8a
CY
3196 * descr-text.el (describe-char): Don't insert extra newlines
3197 (Bug#10127).
3198
a9f5a649
CY
3199 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3200 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3201
dab7711b
CY
3202 * align.el (align-region): Delete temporary markers (Bug#10047).
3203 Plus some code cleanups.
3204
e0cc4efa
FEG
32052012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3206
3207 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3208 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3209 (python-shell-internal-last-output): Use make-local-variable
3210 instead of make-variable-buffer-local.
3211
489af14f
FEG
32122012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3213
3214 * progmodes/python.el: Enhancements to forward-sexp.
3215 (python-nav-forward-sexp): Rename from
3216 python-nav-forward-sexp-function.
c69f56a2
MY
3217 (python-nav--forward-sexp, python-nav--backward-sexp):
3218 New functions.
489af14f 3219
0fc50303
JB
32202012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3221
3222 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3223 modes and simplification modes.
3224
5d65606a
SM
32252012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3226
3227 * delsel.el (delete-selection-pre-hook): Don't propagate the
3228 file-supersession signals (bug#12161).
3229
4250fdf5
SM
32302012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3231
3232 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3233 (cl-map-extents): Add compatibility aliases (bug#12135).
3234
d9f9b465
MA
32352012-08-08 Michael Albinus <michael.albinus@gmx.de>
3236
3237 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3238 tests by `ignore-error'.
3239 (tramp-find-shell): Open also a new shell, when cache is already
3240 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3241
ce0fcefa
JL
32422012-08-08 Juri Linkov <juri@jurta.org>
3243
3244 * bookmark.el: Add `defaults' property to the bookmark record.
3245 (bookmark-current-buffer): Doc fix.
3246 (bookmark-make-record): Add `defaults' property with default values
3247 to the bookmark record.
3248 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3249 with `bookmark-insert-current-bookmark'.
3250 (bookmark-set): Get `defaults' property from the bookmark record
3251 and use it in `read-from-minibuffer'.
3252 (bookmark-insert-current-bookmark): Remove function.
3253
3254 * info.el (Info-bookmark-make-record): Add `defaults' property
3255 with values of canonical Info node name, the current Info file
3256 name and the current Info node name. (Bug#12107)
3257
53fa8652
JL
32582012-08-08 Juri Linkov <juri@jurta.org>
3259
3260 * files.el (basic-save-buffer): Use `buffer-name' as the default
3261 of `read-file-name' when buffer is not visiting a file (bug#12128).
3262
242c0a95
JL
32632012-08-08 Juri Linkov <juri@jurta.org>
3264
3265 * info.el (Info-isearch-search): Doc fix.
3266 (Info-search): Change search-failed message from "initial node" to
3267 "end of node" (bug#12078).
3268 (Info-isearch-search): Change `isearch-string-state' to
3269 `isearch--state-string'.
3270
32ac3a6b
GM
32712012-08-08 Glenn Morris <rgm@gnu.org>
3272
3273 * language/persian.el: Remove file.
f8c1afd5 3274 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
3275 * loadup.el: Remove language/persian.
3276
2c2d9c9c
OF
32772012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3278
3279 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3280
2d79ec42
FEG
32812012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3282
3283 * progmodes/python.el Fixed defsubst warning.
3284 (python-syntax-context) Rename from python-info-ppss-context.
3285 (python-syntax-context-type): Rename from
3286 python-info-ppss-context-type.
3287 (python-syntax-comment-or-string-p): Rename from
3288 python-info-ppss-comment-or-string-p.
3289
2bd255dd
JB
32902012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3291
3292 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3293
c395097f
AS
32942012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3295
6125983e
AS
3296 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3297 a defcustom that is quoted with backquote.
3298
4250fdf5
SM
3299 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3300 Fix handling of interactive spec when the body uses return.
651eaf36
AS
3301 (math-do-arg-check, math-define-function-body): Use backquote forms.
3302 * calc/calc-ext.el (math-defcache): Likewise.
3303 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3304 * allout.el (allout-new-exposure): Likewise.
3305 * calc/calcalg2.el (math-tracing-integral): Likewise.
3306 * info.el (Info-last-menu-item): Likewise.
3307 * emulation/vip.el (vip-loop): Likewise.
3308 * textmodes/artist.el (artist-funcall): Likewise.
3309 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3310 Construct menu-item directly.
3311
4250fdf5
SM
3312 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3313 Don't declare.
c395097f 3314
5fb50dd3
CY
33152012-08-07 Chong Yidong <cyd@gnu.org>
3316
3317 * simple.el (deactivate-mark): Preserve text properties when
3318 saving the primary selection (Bug#8384).
3319
54eea618
KR
33202012-08-07 Kevin Ryde <user42@zip.com.au>
3321
3322 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3323 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3324 and continue processing (Bug#12110).
3325
638eaeb9
SM
33262012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3327
3328 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3329 syntax-propertize-function (bug#10095).
3330
ea376861
SM
33312012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3332
f91b35be
SM
3333 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3334 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3335 describe-function-1.
3336 (describe-function-1): Use them. Move compiler macro after sig.
3337 (help-fns--compiler-macro): Use function-get. Assume we're already in
3338 standard-output. Adjust layout to new call order.
3339
ea376861
SM
3340 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3341 re-binding a symbol that has a symbol-macro (bug#12119).
3342
d5be7bd0
MB
33432012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3344
3345 * language/persian.el: New file. (Bug#11812)
3346 * loadup.el: Add language/persian.el.
3347
90749b53
CY
33482012-08-06 Chong Yidong <cyd@gnu.org>
3349
3350 * window.el (window--maybe-raise-frame): New function.
3351 (window--display-buffer): Split off from here.
3352 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3353 (display-buffer-pop-up-window, display-buffer-use-some-window):
3354 Obey an inhibit-switch-frame action alist entry.
3355 (display-buffer): Update doc.
3356
3357 * replace.el (occur-after-change-function): Avoid losing focus by
3358 using the inhibit-switch-frame display parameter (Bug#12139).
3359
ba7b0154
FEG
33602012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3361
3362 Make internal shell process buffer names start with space.
3363 * progmodes/python.el (python-shell-make-comint): Add optional
3364 argument INTERNAL.
3365 (run-python-internal): Use it.
3366 (python-shell-internal-get-or-create-process): Check for new
3367 internal buffer names.
3368
5eaeacb5
GM
33692012-08-06 Glenn Morris <rgm@gnu.org>
3370
e296d94b 3371 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
3372 Do less getting and setting of environment variables.
3373
b7ccbdc2
CY
33742012-08-05 Chong Yidong <cyd@gnu.org>
3375
777fe95e
CY
3376 * proced.el (proced): Add substitution string to docstring to
3377 trigger autoloading of the proced library on C-h f (Bug#1768).
3378
4250fdf5
SM
3379 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3380 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
3381
3382 * imenu.el (imenu-generic-expression): Move documentation here
3383 from imenu--generic-function.
3384 (imenu--generic-function): Refer to imenu-generic-expression.
3385
9e3b7800 33862012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
3387
3388 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3389 indentation declaration.
3390 (viper-loop): Add indentation declaration (Bug#7025).
3391
e5d9c0d1
CY
33922012-08-05 Chong Yidong <cyd@gnu.org>
3393
f0422feb
CY
3394 * help-fns.el (describe-variable): Add hyperlink for
3395 directory-local variables files. Improve buffer-local and
3396 permanent-local reporting; suggested by MON KEY (Bug#6644).
3397
3398 * help-mode.el (help-dir-local-var-def): New button type.
3399
e5d9c0d1
CY
3400 * files.el (kill-buffer-hook): Provide a defvar.
3401
a4f2deaa
GM
34022012-08-05 Glenn Morris <rgm@gnu.org>
3403
3404 * eshell/esh-ext.el (eshell/addpath):
3405 Also update eshell-path-env. (Bug#12013)
3406
a9dd5754
CY
34072012-08-05 Chong Yidong <cyd@gnu.org>
3408
a4f2deaa 3409 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 3410
d014c740
CY
3411 * fringe.el (fringe-styles): Add docstring.
3412 (fringe--check-mode): New function.
3413 (set-fringe-mode, set-fringe-style): Use it.
3414 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3415
a9dd5754
CY
3416 * files.el (set-auto-mode): Fix invalid setq call.
3417
7c2dc8bd
SM
34182012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3419
3420 * isearch.el: Misc simplification; use defstruct.
3421 (isearch-mode-map): Dense maps now work like sparse ones.
3422 (isearch--state): New defstruct.
3423 (isearch-string-state, isearch-message-state, isearch-point-state)
3424 (isearch-success-state, isearch-forward-state)
3425 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3426 (isearch-wrapped-state, isearch-barrier-state)
3427 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3428 replaced by defstruct's accessors.
3429 (isearch--set-state): Rename from isearch-top-state and change
3430 calling convention.
3431 (isearch-push-state): Use new isearch--get-state.
3432 (isearch-toggle-word): Disable regexp when enabling word.
3433 (isearch-message-prefix): Remove unused arg _c-q-hack.
3434 (isearch-message-suffix): Remove unused arg _ellipsis.
3435
7fcc0070
AS
34362012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3437
3438 * simple.el (list-processes--refresh): For a server use :host or
3439 :local as the address.
97ad0769 3440 (list-processes): Doc fix.
7fcc0070 3441
a11035b8 34422012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
3443
3444 * lisp/mpc.el: Support password in host argument.
3445 (mpc--proc-connect): Parse and use new password element.
3446 Set mpc-proc variable instead of returning process.
3447 (mpc-proc): Adjust accordingly.
3448
6dad7178
EZ
34492012-08-03 Eli Zaretskii <eliz@gnu.org>
3450
18949c2f
EZ
3451 * whitespace.el (whitespace-display-mappings): Use Unicode
3452 codepoints, instead of emacs-mule codepoints. See
3453 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3454 for the details.
3455
6dad7178
EZ
3456 * files.el (file-truename): Don't skip symlink-chasing part on
3457 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
3458 Windows into the loop that recursively chases symlinks.
3459 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
3460 MS-DOS.
3461
385b0198
CY
34622012-08-03 Chong Yidong <cyd@gnu.org>
3463
6200f3c4
CY
3464 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3465
385b0198
CY
3466 * sort.el (sort-regexp-fields): Doc fix.
3467
b9e74744
TH
34682012-08-03 Tassilo Horn <tsdh@gnu.org>
3469
3470 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3471 labels regex position point at the expected place.
3472
41013cb4
MK
34732012-08-03 MON KEY <monkey@sandpframing.com>
3474
3475 * net/imap.el (imap-interactive-login, imap-authenticate)
3476 (imap-mailbox-lsub, imap-mailbox-list)
3477 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3478 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3479 (imap-parse-response): Doc fix.
3480
0ffee616
JT
34812012-08-03 João Távora <joaotavora@gmail.com>
3482
3483 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3484 if sexp scanning does not move point (Bug#5734).
3485
cfcc9cc8
TH
34862012-08-02 Tassilo Horn <tsdh@gnu.org>
3487
3488 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3489 Add listings, minted, and ctable packages.
3490 (reftex-label-alist-builtin): Move listings, minted, and ctable
3491 entries before LaTeX.
a01bbb84 3492 (reftex-label-alist): Docfix.
cfcc9cc8 3493
66ec2442
BG
34942012-08-02 Bastien Guerry <bzg@gnu.org>
3495
3496 * replace.el (occur): Fix docstring (bug#12122).
3497
837b365b
GM
34982012-08-02 Glenn Morris <rgm@gnu.org>
3499
3500 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3501
e098de97
PE
35022012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3503
3504 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3505 * international/mule-cmds.el: Create
3506 inactivate-current-input-method-function as an obsolete alias for
3507 deactivate-current-input-method-function. See Katsumi Yamaoka in
3508 <http://bugs.gnu.org/10150#46>.
3509
a0f95636
JB
35102012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3511
3512 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3513 of nested `if's.
3514
0d26d7c4
GM
35152012-08-01 Glenn Morris <rgm@gnu.org>
3516
3517 * progmodes/autoconf.el (autoconf-definition-regexp):
3518 Add AH_TEMPLATE, adjust submatch numbering.
3519 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3520 (autoconf-current-defun-function): Update for above change.
3521 (autoconf-current-defun-function): First skip to end of current word.
3522
b686ba06
RS
35232012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3524
3525 * calendar/cal-html.el (cal-html-insert-agenda-days):
3526 Fix typo. (Bug#12018)
3527
0d49da68
FEG
35282012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3529
3530 Shell processes: enhancements to startup and CEDET compatibility.
3531 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3532 (python-shell-make-comint): accept-process-output at startup.
3533 (run-python-internal): Set inferior-python-mode-hook to nil.
3534 (python-shell-internal-get-or-create-process): call sit-for.
3535 (python-preoutput-result): Add obsolete alias.
3536 (python-shell-internal-send-string): Use it.
3537 (python-shell-send-setup-code): Remove call to
3538 accept-process-output.
3539
f1a71c6e
AS
35402012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3541
3542 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3543 (Bug#12108)
3544
d2605269
JB
35452012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3546
3547 * calc-mode.el (calc-basic-simplification-mode): Rename from
3548 `calc-limited-simplification-mode'.
3549 (calc-alg-simplification-mode): New function.
fc0c31f8 3550 (calc-set-simplify-mode): Adjust message.
f1a71c6e 3551
d2605269
JB
3552 * calc.el (calc-set-mode-line): Adjust mode line display for
3553 basic simplification mode.
3554
3555 * calc-help.el (calc-m-prefix-help): Update help message.
3556
3557 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3558 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3559
a3827a43
BG
35602012-07-31 Bastien Guerry <bzg@gnu.org>
3561
3562 * man.el (man): Fix comment. (bug#12101)
3563
502e3f89
MR
35642012-07-31 Martin Rudalics <rudalics@gmx.at>
3565
3566 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3567 Don't return a non-nil value when no suitable buffer was found.
3568
d7714961
FEG
35692012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3570
3571 * progmodes/python.el (run-python-internal): Disable font lock for
3572 internal shells.
3573
1f45e27e
SM
35742012-07-30 Stefan Merten <smerten@oekonux.de>
3575
70efc5c9 3576 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
3577 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3578 (rst-official-version, rst-official-cvs-rev)
3579 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3580 (rst-mode-map): New key binding.
3581
0aee6912
PE
35822012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3583
3584 Update .PHONY listings in makefiles.
3585 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3586 autoloads, update-subdirs, updates, bzr-update, update-authors,
3587 compile-onefile, compile-calc, backup-compiled-files,
3588 compile-after-backup, compile-one-process, mh-autoloads,
3589 bootstrap-clean, distclean, maintainer-clean.
3590
9052f9f0
JB
35912012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3592
1823ac5a
JB
3593 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3594 (calc-set-mode-line): Don't display "AlgSimp ".
3595
3596 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3597 (calc-lim-simplify-mode): New function.
3598 (calc-set-simplify-mode): Default to 'alg.
3599 (calc-default-simplify-mode): Make algebraic simplifications
3600 the default.
3601
3602 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3603 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3604
8d7c7eed 3605 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
3606 indicate new simplification modes.
3607
1823ac5a
JB
3608 * calc/README: Mention new default simplification mode.
3609
9052f9f0
JB
3610 * calc/calc.el (math-normalize-error): New variable.
3611 (math-normalize): Set `math-normalize-error' to t
3612 when there's an error.
3613
3614 * calc/calc-alg.el (math-simplify): Don't simplify when
3615 `math-normalize' returns an error.
3616
20ba0cb4
EZ
36172012-07-29 Eli Zaretskii <eliz@gnu.org>
3618
3619 * international/mule-cmds.el (set-locale-environment): Revert last
3620 change, since display-graphic-p returns nil when this function is
3621 called during startup. Instead...
3622
3623 * term/w32console.el (terminal-init-w32console): ...setup the
3624 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3625
a5dcc929
JL
36262012-07-29 Juri Linkov <juri@jurta.org>
3627
3628 * simple.el (goto-line): Don't display default line number in the
3629 prompt because it should be displayed by `read-number' (bug#9952).
3630 Add the current line number to the defaults of `goto-line' to
3631 allow its easier modification by users with `M-n' (bug#9201).
3632
3633 * subr.el (read-number): Support multiple default values like in
3634 other minibuffer reading functions. Replace `read' with
3635 `string-to-number' for consistency with `number-to-string'.
3636
72b255c7
PE
36372012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3638
3639 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3640 * emulation/viper-init.el (viper-deactivate-input-method-action):
3641 Rename from viper-inactivate-input-method-action.
3642 (viper-deactivate-input-method):
3643 Rename from viper-inactivate-input-method.
3644 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3645 * international/mule-cmds.el (deactivate-input-method):
3646 Rename from inactivate-input-method.
3647 Also run input-method-deactivate-hook.
3648 (deactivate-current-input-method-function):
3649 Rename from inactivate-current-input-method-function.
3650 (input-method-deactivate-hook): New hook.
3651 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
3652 (inactivate-input-method): Mark obsolete.
3653
72b255c7
PE
3654 * international/quail.el (quail-activate):
3655 Also run quail-deactivate-hook.
3656 (quail-deactivate): Rename from quail-inactivate.
3657 * international/robin.el (robin-activate):
3658 Also run robin-deactivate-hook.
3659 (robin-deactivate): Rename from robin-inactivate.
3660
2549c068
CY
36612012-07-29 Chong Yidong <cyd@gnu.org>
3662
3663 * simple.el (indicate-copied-region): New function.
3664 (kill-ring-save): Split off from here.
3665
3666 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3667 (kill-rectangle): Set deactivate-mark to t on read-only error.
3668
3669 * register.el (copy-to-register, copy-rectangle-to-register):
3670 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
3671 (append-to-register, prepend-to-register): Call indicate-copied-region.
3672
36732012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
3674
3675 * simple.el (async-shell-command-buffer): New defcustom.
3676 (shell-command): Use it. (Bug#4719)
3677
01bd1b0d
EZ
36782012-07-28 Eli Zaretskii <eliz@gnu.org>
3679
3680 * international/mule-cmds.el (set-locale-environment): In a
3681 console session on MS-Windows, set up keyboard and terminal
3682 encoding from the OEM codepage, not the ANSI codepage.
3683 (Bug#12055)
3684
a55739d3
CY
36852012-07-28 Chong Yidong <cyd@gnu.org>
3686
3687 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3688 gdb-get-location.
3689
0e1a094f 36902012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
3691
3692 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3693 the alist (bug#12029).
3694
20329d73
EZ
36952012-07-28 Eli Zaretskii <eliz@gnu.org>
3696
3697 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3698 (compile-always, compile-first)
3699 ($(lisp)/calendar/cal-loaddefs.el)
3700 ($(lisp)/calendar/diary-loaddefs.el)
3701 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3702 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3703 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3704 instead of on update-subdirs.
3705 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3706
345a2258
CY
37072012-07-28 Chong Yidong <cyd@gnu.org>
3708
1eee6341
CY
3709 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3710 directory if vc-deduce-backend returns nil (Bug#7350).
3711
345a2258
CY
3712 * simple.el (delete-trailing-lines): New option.
3713 (delete-trailing-whitespace): Obey it (Bug#11879).
3714
049a0936
DE
37152012-07-28 David Engster <deng@randomsample.de>
3716
3717 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3718 Explanation of new 'symbol-qnames feature in doc-strings.
3719 (xml-maybe-do-ns): Return expanded names as plain symbols if
3720 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3721 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3722
aa81af71
FEG
37232012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3724
3725 Consistent completion in inferior python with emacs -nw.
3726 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3727 binding in inferior-python-mode-map with "\t".
3728 (python-shell-completion-complete-at-point)
3729 (python-completion-complete-at-point): Remove interactive spec.
3730
e827b1eb
JB
37312012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3732
3733 * calc/calccomp.el (math-compose-expr): Undo previous change.
3734
a90dfb95
FEG
37352012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3736
4250fdf5 3737 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
3738 run-python.
3739 (python-shell-make-comint): Fix pop-to-buffer call.
3740 (run-python): Autoload. New arg SHOW.
3741 (python-shell-get-or-create-process): Do not pop python process
3742 buffer.
3743
32770973 37442012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
3745
3746 * notifications.el (notifications-on-action-signal)
3747 (notifications-on-closed-signal): Use also the bus address for the map.
3748 (notifications-notify, notifications-close-notification)
fc0c31f8 3749 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 3750
86332df2
TH
37512012-07-27 Tassilo Horn <tsdh@gnu.org>
3752
4250fdf5
SM
3753 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3754 Add support for the lstlisting and minted environments, and for the
86332df2
TH
3755 ctable macro.
3756 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3757 labels written in keyvals syntax.
3758
ca1302a4
JB
37592012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3760
3761 * calc/calccomp.el (math-compose-expr): Use parentheses when
3762 there is a product in the denominator of a fraction.
3763
f8b91036
EZ
37642012-07-26 Eli Zaretskii <eliz@gnu.org>
3765
3766 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3767 ($(lisp)/calendar/diary-loaddefs.el)
3768 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
3769 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3770 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
3771 rewritten while the autoload files are built at the same time,
3772 which needs to load subdirs.el.
3773
c8e5a42c
MR
37742012-07-26 Martin Rudalics <rudalics@gmx.at>
3775
3776 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3777 (mouse-drag-line): Don't exit tracking when a switch-frame or
3778 switch-window event occurs (Bug#12006).
3779
670d85ea
SM
37802012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3781
3782 * mouse.el (popup-menu): Fix last change.
3783
7abaf5cc
SM
37842012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3785
3786 Autoload from Lisp with more care. Follow aliases when looking for
3787 function properties.
3788 * subr.el (autoloadp): New function.
3789 (symbol-file): Use it.
3790 (function-get): New function.
3791 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3792 autoload-do-load.
3793 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3794 (lisp-indent-function):
3795 * emacs-lisp/gv.el (gv-get):
3796 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3797 * emacs-lisp/byte-opt.el (byte-optimize-form):
3798 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3799 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3800 Use function-get.
3801 * emacs-lisp/cl.el: Don't propagate function properties any more.
3802
3803 * speedbar.el (speedbar-add-localized-speedbar-support):
3804 * emacs-lisp/disass.el (disassemble-internal):
3805 * desktop.el (desktop-load-file):
3806 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3807 (describe-function-1):
3808 * emacs-lisp/find-func.el (find-function-noselect):
3809 * emacs-lisp/elp.el (elp-instrument-function):
3810 * emacs-lisp/advice.el (ad-has-proper-definition):
3811 * apropos.el (apropos-safe-documentation, apropos-macrop):
3812 * emacs-lisp/debug.el (debug-on-entry):
3813 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3814 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3815 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3816
b1364986
AA
38172012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3818
3819 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3820 function, not an obsolete variable (Bug#12046).
3821
67ada220
AS
38222012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3823
3824 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3825
f08088e3
CS
38262012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3827
3828 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3829 window only if it is still live (Bug#12034).
3830
8137e7b3
MR
38312012-07-25 Martin Rudalics <rudalics@gmx.at>
3832
3833 * subr.el (redirect-frame-focus): Add advertised calling
3834 convention (Bug#12030).
3835
09ae5da1
PE
38362012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3837
3838 Prefer typical American spelling for "acknowledgment".
3839 * vc/add-log.el (change-log-acknowledgment): Rename from
3840 change-log-acknowledgement, with an alias for the old name.
3841
3cc5a3a8
JB
38422012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3843
3844 * calc-alg.el (math-simplify-divide): Don't cross multiply
3845 in an equation when the lhs is a variable.
3846
b7af7f62
JD
38472012-07-24 Julien Danjou <julien@danjou.info>
3848
3849 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3850 Remove, unused.
3851
ec1b09b1
EZ
38522012-07-23 Eli Zaretskii <eliz@gnu.org>
3853
3854 * startup.el (command-line): Don't display an empty user name in
3855 the error message about non-existent home directory, when
3856 init-file-user was set to an empty string. See
3857 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3858 for the details and context.
3859
b525fd8a
VB
38602012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3861
3862 * ses.el (ses-cell-formula-aset): New macro.
3863 (ses-cell-references-aset): New macro.
3864 (ses-cell-p): New function.
3865 (ses-rename-cell): Do no longer rely on complex operations like
3866 ses-cell-set-formula or ses-set-cell to change the cell and handle
3867 the undo at the same time, but rather use lower level new macros
3868 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 3869 the undo directly. Refresh the mode line.
b525fd8a 3870
2c73e345
LL
38712012-07-21 Leo Liu <sdl.web@gmail.com>
3872
670d85ea
SM
3873 * progmodes/cc-cmds.el (c-defun-name):
3874 Use match-string-no-properties instead for consistency.
2c73e345 3875
542dfbde
LL
38762012-07-20 Leo Liu <sdl.web@gmail.com>
3877
3646bcd6
LL
3878 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3879 (Bug#7879)
3880
542dfbde
LL
3881 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3882
25721031
CY
38832012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3884
3885 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3886 * progmodes/bug-reference.el, misearch.el: Provide themselves
3887 (bug#11915).
3888
3889 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3890 of narrowed buffer (bug#11966).
3891
316e68a7
VB
38922012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3893
3894 * ses.el (ses-rename-cell): Set new name also in reference list of
3895 cells of which the renamed cell depends.
3896
bbf0e7d9
MY
38972012-07-20 Masatake YAMATO <yamato@redhat.com>
3898
3899 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3900 to check whether menu-bar is shown or not. If not shown,
3901 show the menu-bar as a popup menu instead of using tmm.
3902 * mouse.el (popup-menu): Accept `point' as `position' argument.
3903
c28662a8
DG
39042012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3905
3906 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3907 up inside string symbol literal (bug#11923).
3908
87ab808f
EZ
39092012-07-20 Eli Zaretskii <eliz@gnu.org>
3910
3911 * startup.el (fancy-startup-text): Read the whole tutorial, not
3912 just its first 256 bytes. Prevents gibberish in display of the
3913 tutorial title.
3914
89dea803
DA
39152012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3916
3917 Drop idle buffer compaction due to an absence of the
3918 proved efficiency.
3919 * compact.el: Remove.
3920
8a4e6db8
SS
39212012-07-19 Sam Steingold <sds@gnu.org>
3922
3923 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3924 vc-bzr-pull & vc-bzr-merge-branch.
3925 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3926 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3927 for consistency with compilation-error-regexp-alist.
3928 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3929 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3930 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3931 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3932
5db81e33
SM
39332012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3934
3935 * emacs-lisp/chart.el: Use lexical-binding.
3936 (chart-emacs-storage): Don't hardcode the list of entries.
3937
5b835e1d
DA
39382012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3939
3940 Next round of tweaks caused by Fgarbage_collect changes.
3941 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3942
9cd47b72
DA
39432012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3944
3945 Compact buffers when idle.
3946 * compact.el: New file.
3947
1d6fc0df
SM
39482012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3949
3950 * subr.el (eventp): Presume that if it looks vaguely like an event,
3951 it's an event (bug#10190).
3952
1d29cc7d
FEG
39532012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3954
3955 Enhancements to ppss related code (thanks Stefan).
3956 * progmodes/python.el (python-indent-context)
3957 (python-indent-calculate-indentation, python-indent-dedent-line)
3958 (python-indent-electric-colon, python-nav-forward-block)
3959 (python-mode-abbrev-table)
1d6fc0df 3960 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
3961 for ppss context.
3962 (python-info-continuation-line-p): Cleanup.
3963 (python-info-ppss-context): Do not catch 'quote.
3964 (python-info-ppss-context-type)
3965 (python-info-ppss-comment-or-string-p): Simplify.
3966
d583cbe6
FEG
39672012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3968
3969 * progmodes/python.el: Enhancements to eldoc support.
3970 (python-info-current-symbol): New function.
3971 (python-eldoc-at-point): Use python-info-current-symbol.
3972 (python-info-current-defun): Fix cornercase on first defun scan.
3973 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3974 and signal error when no inferior python process is available.
3975
eceb6feb
DG
39762012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3977
3978 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3979 assume it's always t.
3980 (vc-git-registered): Remove caching, the function is only called
3981 once.
3982 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3983
4c8ff0fe
CY
39842012-07-18 Chong Yidong <cyd@gnu.org>
3985
19fb7186
CY
3986 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3987
9587c688
CY
3988 * simple.el (count-words): Report on narrowing (Bug#9959).
3989
0fe776a1
CY
3990 * bindings.el: Bind M-= to count-words.
3991
4c8ff0fe
CY
3992 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3993
7f5331cc
MY
39942012-07-18 Masatake YAMATO <yamato@redhat.com>
3995
3996 * progmodes/sh-script.el (sh-imenu-generic-expression):
3997 Capture a function with `function' keyword and without parentheses
3998 like "function FOO" (bug#11856).
3999
2dc2a609
TH
40002012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4001
4002 * window.el (split-window-sensibly): Make WINDOW argument
4003 optional.
4004
439f7677
CY
40052012-07-18 Chong Yidong <cyd@gnu.org>
4006
9aeb25a6
CY
4007 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4008
439f7677
CY
4009 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4010 and make C-x 8 RET exit isearch (Bug#11439).
4011
4012 * international/iso-transl.el: Move isearch-mode-map key
4013 definitions to isearch.el.
4014
12999ea8
SM
40152012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4016
4017 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4018 (eieio-defclass): Use gv-define-setter when possible.
4019
3ab6e069
DA
40202012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4021
4022 Reflect recent changes in Fgarbage_collect.
4023 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4024 reflect new format of data returned by Fgarbage_collect.
4025
0a60bc10
FEG
40262012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4027
4028 New utility functions + python-info-ppss-context fix (Bug#11910).
4029 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4030 (python-info-ppss-comment-or-string-p): New functions.
4031 (python-info-ppss-context): Small fix for string check.
4032
6dafa0d5
JL
40332012-07-17 Juri Linkov <juri@jurta.org>
4034
4035 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4036 (dired-do-async-shell-command): Don't add `*' at the end of the
4037 command (Bug#11815).
4038 (dired-do-shell-command): Doc fix.
4039 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4040 Join the individual commands using either "&" or ";" as the
4041 separator depending on the values of these trailing characters.
4042 At the end re-add the trailing "&". (Bug#10598)
4043
4044 * simple.el (async-shell-command): Sync the interactive spec with
4045 `shell-command'. Doc fix.
4046 (shell-command): Doc fix.
4047
b19dd9d1
JL
40482012-07-17 Juri Linkov <juri@jurta.org>
4049
4050 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4051
bcdc27d7 40522012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 4053
bcdc27d7 4054 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
4055 * progmodes/python.el (python-nav-beginning-of-statement):
4056 Rename from python-nav-statement-start.
bcdc27d7
FEG
4057 (python-nav-end-of-statement): Rename from
4058 python-nav-statement-end.
4059 (python-nav-beginning-of-block): Rename from
4060 python-nav-block-start.
4061 (python-nav-end-of-block): Rename from python-nav-block-end.
4062
191da00e
FEG
40632012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4064
7f5331cc
MY
4065 * progmodes/python.el (python-shell-send-string-no-output):
4066 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
4067 future interactions (Bug#11868).
4068
4dc7c8d5 40692012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 4070
88ecaf8f
SM
4071 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4072
ef501ef0
SM
4073 * emacs-lisp/elint.el (elint-find-args-in-code):
4074 Use help-function-arglist, so as to handle lexical byte-code.
4075
aa7aaf8f
SM
4076 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4077 change (bug#11826).
4078
45fd731c
SM
40792012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4080
2143fa32
SM
4081 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4082 Avoid spuriously marking the buffer as modified because of c-is-sws.
4083
efc26dbe
SM
4084 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4085 as not-a-comment (bug#11946).
4086
f5695c9a
SM
4087 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4088 for uninterned vars.
4089
4090 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4091 Use read-event since we don't really want to read chars but bytes.
4092
45fd731c
SM
4093 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4094 $$..$$ but also $..$ using regexps (bug#11953).
4095 Use tex-verbatim for \url and \path.
4096 (tex-font-lock-keywords): Define as defconst like the others.
4097 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4098
ddfc8813
RK
40992012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4100
4101 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4102 alias for insert-char.
4103
758e556a
FEG
41042012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4105
4106 * progmodes/python.el: Simplified imenu implementation.
4107 (python-nav-jump-to-defun): Remove command.
4108 (python-mode-map): Use `imenu' instead.
4109 (python-nav-list-defun-positions-cache)
4110 (python-imenu-include-defun-type, python-imenu-make-tree)
4111 (python-imenu-subtree-root-label, python-imenu-index-alist):
4112 Remove vars.
4113 (python-nav-list-defun-positions, python-nav-read-defun)
4114 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
4115 (python-imenu-make-tree, python-imenu-create-index):
4116 Remove functions.
758e556a
FEG
4117 (python-mode): Update to interact with imenu by setting
4118 `imenu-extract-index-name-function' only.
4119
032d23ab
FEG
41202012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4121
4122 * progmodes/python.el: Enhancements to navigation commands.
4123 (python-nav-backward-sentence)
4124 (python-nav-forward-sentence): Remove.
4125 (python-nav-backward-statement, python-nav-forward-statement)
4126 (python-nav-statement-start, python-nav-statement-end)
4127 (python-nav-backward-block, python-nav-forward-block)
4128 (python-nav-block-start, python-nav-block-end)
4129 (python-nav-forward-sexp-function)
4130 (python-info-current-line-comment-p)
4131 (python-info-current-line-empty-p): New functions.
4132 (python-indent-context): Use `python-nav-statement-start'.
4133
01795a1b
MA
41342012-07-16 Michael Albinus <michael.albinus@gmx.de>
4135
9328d9aa
MA
4136 * eshell/em-ls.el (eshell/ls): Use `apply'.
4137
4138 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4139 multi-hops, instead of Tramp internals.
4140
01795a1b
MA
4141 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4142
4143 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4144 when F1 and F2 are located on different hosts.
4145
63408057
CY
41462012-07-14 Chong Yidong <cyd@gnu.org>
4147
4148 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4149 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4150 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4151 (xterm-mouse--read-event-sequence-1000)
4152 (xterm-mouse--read-event-sequence-1006): New functions. For old
4153 mouse protocol, handle M-mouse-X events correctly.
4154 (xterm-mouse-event): New arg specifying mouse protocol.
4155 (turn-on-xterm-mouse-tracking-on-terminal)
4156 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
4157 sequence to toggle extended coordinates on newer XTerms.
4158 This appears to be harmless on terminals which do not support this.
63408057 4159
cd276f6e
LL
41602012-07-14 Leo Liu <sdl.web@gmail.com>
4161
28ca98ac
LL
4162 Add fringe bitmap indicators for flymake. (Bug#11253)
4163 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4164 (flymake-make-overlay): New arg BITMAP.
4165 (flymake-error-bitmap, flymake-warning-bitmap)
4166 (flymake-fringe-indicator-position): New user variables.
4167
cd276f6e
LL
4168 * fringe.el: New bitmap exclamation-mark.
4169
04408072
JD
41702012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4171
4172 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4173 also (Bug#7879).
4174
b5cf7fc4
CY
41752012-07-14 Chong Yidong <cyd@gnu.org>
4176
4177 * electric.el (electric-pair-post-self-insert-function): Fix pair
4178 insertion in empty-region case (Bug#11520).
4179
be755c79
RT
41802012-07-14 Chong Yidong <cyd@gnu.org>
4181
45fd731c
SM
4182 * bindings.el: Consolidate ctl-x-r-map bindings.
4183 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
4184
4185 * rect.el, register.el: Move bindings to bindings.el.
4186
41872012-07-14 Reuben Thomas <rrt@sc3d.org>
4188
4189 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4190
7f5b3198
AS
41912012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4192
4193 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4194
97662200
JB
41952012-07-13 Juanma Barranquero <lekktu@gmail.com>
4196
80185fed
JB
4197 * bindings.el (top): Use `mapc' instead of `mapcar'.
4198
97662200
JB
4199 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4200
2bb1ae55
MA
42012012-07-13 Michael Albinus <michael.albinus@gmx.de>
4202
4203 * progmodes/sql.el (sql-comint): Suppress the check for program on
4204 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4205 (Bug#11908)
4206
dea31bd3
CY
42072012-07-13 Chong Yidong <cyd@gnu.org>
4208
4209 * bindings.el: Assign a non-nil permanent-local property to
4210 per-buffer variables which lack a default value (Bug#11930).
4211
4212 * help-fns.el (describe-variable): In the "automatically becomes
4213 local" notice, take note of permanent-local variables.
4214
b68b3337
CY
42152012-07-13 Chong Yidong <cyd@gnu.org>
4216
4217 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4218 to allow printing the message when called from Lisp.
4219
4220 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4221 Remove toggle-read-only.
4222
4223 * bs.el (bs-toggle-readonly):
45fd731c
SM
4224 * buff-menu.el (Buffer-menu-toggle-read-only):
4225 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
4226
4227 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4228 Remove with-no-warnings around toggle-read-only.
4229 (ffap-read-only, ffap-read-only-other-window)
4230 (ffap-read-only-other-frame): Callers changed.
4231
4232 * help-mode.el: Don't require view package.
4233 (help-mode-finish): Set buffer-read-only instead of calling
4234 toggle-read-only.
4235
4236 * bindings.el (mode-line-toggle-read-only):
4237 * dired.el (dired-toggle-read-only):
4238 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4239 with non-nil second arg.
4240
4241 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4242 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4243 directly.
4244
56bc1586
EZ
42452012-07-12 Eli Zaretskii <eliz@gnu.org>
4246
4247 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4248 not incf.
4249
a464a6c7
SM
42502012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4251
4252 More CL cleanups and reduction of use of cl.el.
4253 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4254 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4255 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4256 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4257 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4258 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4259 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4260 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4261 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4262 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4263 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4264 * eshell/em-cmpl.el, eshell/em-banner.el:
4265 * calendar/parse-time.el: Use cl-lib.
4266 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4267 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4268 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4269 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4270 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4271 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4272 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4273 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4274 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4275 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4276 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4277 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4278 `lambda' rather than with `quote'.
4279 (eshell-do-opt): Adjust accordingly.
4280 (eshell-process-option): Simplify.
4281 * eshell/esh-var.el:
4282 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4283 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4284 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4285 to `pcase--dontcare'.
4286 * emacs-lisp/cl.el (labels): Mark obsolete.
4287 (cl--letf, letf): Move to cl-lib.
4288 (cl--letf*, letf*): Remove.
4289 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4290 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4291 (cl-progv): Rewrite.
4292 (cl--letf, cl-letf): Move from cl.el.
4293 (cl-letf*): New macro.
4294 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4295
7ad4afe1
MA
42962012-07-11 Michael Albinus <michael.albinus@gmx.de>
4297
4298 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4299
9af57756
CY
43002012-07-11 Chong Yidong <cyd@gnu.org>
4301
4302 * vc/log-edit.el (log-edit-vc-backend): New variable.
4303 (log-edit): Doc fix.
4304
4305 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4306 argument of log-edit to set up all local variables.
4307 (vc-start-logentry): New optional arg specifying VC backend.
4308
4309 * vc/vc.el (vc-checkin): Use it.
4310 (vc-deduce-fileset): Handle Log Edit buffers.
4311 (vc-diff): Make first argument optional too.
4312
4313 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4314
8477cc7a
MA
43152012-07-10 Michael Albinus <michael.albinus@gmx.de>
4316
4317 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4318 command, just in case. The function is not needed anymore.
4319 (eshell-external-command): Do not call `eshell-remote-command'.
4320
19faa8e8
SM
43212012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4322
f58e0fd5
SM
4323 Reduce use of (require 'cl).
4324 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4325 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4326 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4327 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4328 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4329 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4330 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4331 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4332 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4333 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4334 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4335 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4336 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4337 (byte-compile-unfold-bcf, byte-compile-check-variable):
4338 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4339 (byte-compile-nilconstp):
4340 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4341 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4342
2519d43a
SM
4343 * emacs-lisp/gv.el (cond): Make it a valid place.
4344 (if): Simplify slightly.
4345
19faa8e8
SM
4346 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4347 (pcase--self-quoting-p): New function.
4348 (pcase--u1): Use it.
4349
c4907a5e
GM
43502012-07-10 Glenn Morris <rgm@gnu.org>
4351
4352 * emacs-lisp/authors.el (authors-fixed-entries):
4353 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4354
c4444d16
PE
43552012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4356
4357 Rename configure.in to configure.ac (Bug#11603).
4358 * emacs-lisp/authors.el (authors-canonical-file-name):
4359 * progmodes/autoconf.el (autoconf-mode):
4360 Prefer configure.ac to configure.in.
4361
d75be97d
CY
43622012-07-08 Chong Yidong <cyd@gnu.org>
4363
01ac65bd
CY
4364 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4365 Implement the mouse-1-click-follows-link handling properly.
4366
4367 * info.el (Info-link-keymap): Use follow-link mechanism for
4368 header-line links (Bug#374).
4369
d75be97d
CY
4370 * simple.el (deactivate-mark): Do not set the primary selection
4371 if another program has acquired it (Bug#11772).
4372
87a92845 43732012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
4374
4375 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4376 (woman-decode-region): Replace escaped-escapes without destroying
4377 bold or underline (Bug#11552).
87a92845 4378 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 4379
621b9d6c
CY
43802012-07-07 Chong Yidong <cyd@gnu.org>
4381
4382 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
4383 (interprogram-cut-function, interprogram-paste-function):
4384 Mention that we typically mean the clipboard.
621b9d6c 4385
133a11fc
GM
43862012-07-06 Glenn Morris <rgm@gnu.org>
4387
0d27a45e
GM
4388 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4389
133a11fc
GM
4390 * files.el (toggle-read-only): Restrict message to interactive use.
4391
07b151f1
MA
43922012-07-06 Michael Albinus <michael.albinus@gmx.de>
4393
4394 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4395
4396 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4397
211b896b
GM
43982012-07-06 Glenn Morris <rgm@gnu.org>
4399
50394322
GM
4400 * Makefile.in (compile-one-process): Rename from "recompile".
4401
211b896b
GM
4402 * Makefile.in (bzr-update): "compile" is the same as "recompile
4403 autoloads", but parallelizable, so use that instead.
4404
4737eec9
DG
44052012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4406
4407 * window.el (quit-window): Always restore window height when
8137e7b3 4408 it's saved in quit-restore parameter (Bug#11810).
4737eec9 4409
226c3633 44102012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
4411
4412 * simple.el (kill-whole-line): Doc tweak.
4413
226c3633 44142012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
4415
4416 * files.el (file-relative-name): Compare file names
4417 case-insensitively if on MS-Windows or MS-DOS, or if
4418 read-file-name-completion-ignore-case is non-nil. Don't use
4419 case-fold-search for this purpose. (Bug#11827)
4420
4dc7c8d5
SM
44212012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4422
4423 * calendar/cal-dst.el (calendar-current-time-zone):
4424 Return calendar-current-time-zone-cache if non-nil.
4425
44262012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 44272012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4428
19faa8e8
SM
4429 * calendar/cal-dst.el (calendar-current-time-zone):
4430 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4431
60198fc9
GM
44322012-07-06 Glenn Morris <rgm@gnu.org>
4433
4434 * Makefile.in (cvs-update): Remove old alias.
4435
957b3189
MA
44362012-07-05 Michael Albinus <michael.albinus@gmx.de>
4437
4438 Sync with Tramp 2.2.6-pre.
4439
4440 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4441 compatible declaration.
4442
19faa8e8
SM
4443 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4444 Protect `list-load-path-shadows' call.
957b3189
MA
4445
4446 * net/tramp-compat.el (top): Require packages, which aren't
4447 autoloaded anymore for XEmacs. Protect call of
4448 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4449 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4450 it hurts at least for SXEmacs.
4451 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4452 standard-value for `temporary-file-directory'.
4453
4454 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4455 Redirect stderr to /dev/null.
4456 (tramp-sh-handle-write-region): uid and gid can be floats.
4457 Reported by Russell Sim <russell.sim@gmail.com>.
4458 (tramp-sh-handle-vc-registered): Hide errors.
4459 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4460 and `start-file-process'.
4461 (tramp-maybe-open-connection): Check also whether `non-essential'
4462 is bound.
4463
566df3fc
CY
44642012-07-04 Chong Yidong <cyd@gnu.org>
4465
4466 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4467 (xml-parse-tag): Likewise, and avoid changing entity tables.
4468 (xml-syntax-table): Define from scratch, making sure not to give
4469 x2000 and other Unicode spaces whitespace syntax, since those are
4470 not spaces in XML.
4471 (xml-parse-fragment): Delete unused function.
4472 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4473 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4474 (xml-entity-ref, xml-pe-reference-re)
4475 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4476 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4477 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4478 (xml-entity-value-re): Use syntax references in regexps where
4479 possible; no need to define inside a let-binding.
4480 (xml-parse-dtd): Use xml-pe-reference-re.
4481 (xml-entity-or-char-ref-re): New defconst.
4482 (xml-parse-string, xml-substitute-special): Use it.
4483
30eabd7a
SM
44842012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4485
0781098a
SM
4486 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4487 (find-file--read-only): New function.
4488 (find-file-read-only, find-file-read-only-other-window)
4489 (find-file-read-only-other-frame): Use it.
4490 (insert-file-contents-literally): Don't `fset'.
4491 (get-free-disk-space): Use locate-dominating-file.
4492
b5771c0d
SM
4493 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4494 function is already compiled.
4495
30eabd7a
SM
4496 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4497
b4886f6e
MA
44982012-07-03 Michael Albinus <michael.albinus@gmx.de>
4499
4500 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4501 files on the same host.
4502
b9d82339
AS
45032012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4504
4505 * help-fns.el (describe-function-1): Only call
4506 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4507
a76e6535
CY
45082012-07-03 Chong Yidong <cyd@gnu.org>
4509
4510 * xml.el: Protect parser against XML bombs.
4511 (xml-entity-expansion-limit): New variable.
4512 (xml-parse-string, xml-substitute-special): Use it.
4513 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4514
b544fef2
GM
45152012-07-03 Glenn Morris <rgm@gnu.org>
4516
4517 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4518 Allow linking to specific messages in debbugs reports (eg 123#5).
4519
a7aef6f5
CY
45202012-07-02 Chong Yidong <cyd@gnu.org>
4521
4522 * xml.el: Fix entity and character reference expansion, allowing
4523 them to expand into markup as per XML spec.
4524 (xml-default-ns): New variable.
4525 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
4526 (xml-parse-region): Make first two arguments optional.
4527 Discard text properties.
4528 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4529 All callers changed.
a7aef6f5
CY
4530 (xml-parse-tag): Call xml-parse-tag-1. For backward
4531 compatibility, this function should not modify buffer contents.
4532 (xml-parse-tag-1): Fix opening-tag regexp.
4533 (xml-parse-string): Rewrite, handling entity and character
4534 references properly.
4535 (xml--entity-replacement-text): Signal an error if a parameter
4536 entity is undefined.
4537
3df31c9f
SM
45382012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4539
2b5208f1
SM
4540 * comint.el (comint-output-filter): Filter out repeated prompts.
4541
3df31c9f
SM
4542 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4543 and file-name-absolute-p.
4544 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4545 internal calls.
4546
e3ac1281
PE
45472012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4548
4549 Spelling fixes.
4550 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4551 Rename from byte-compile--refiy-function. All uses changed.
4552
fbf2e7ad
CY
45532012-07-01 Chong Yidong <cyd@gnu.org>
4554
4555 * xml.el (xml--parse-buffer): New function. Move most of
4556 xml-parse-region here.
4557 (xml-parse-region): Copy region into a temporary buffer, since
4558 parameter entity substitution requires changing buffer contents.
4559 Use xml--parse-buffer.
4560 (xml-parse-file): Use xml--parse-buffer.
4561 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 4562 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 4563
9bf0aa15
GM
45642012-06-30 Glenn Morris <rgm@gnu.org>
4565
bbce2853
GM
4566 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4567
9bf0aa15
GM
4568 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4569 Remove outdated and unnecessary dbus declarations.
4570
0d23c240
EZ
45712012-06-30 Eli Zaretskii <eliz@gnu.org>
4572
4573 * emacs-lisp/timer.el (timer-until): Subtract results of
4574 float-time, instead of taking float-time of the result of
4575 time-subtract, since float-time signals an error for negative time
4576 arguments.
4577
b3218de1
CY
45782012-06-30 Chong Yidong <cyd@gnu.org>
4579
4580 * xml.el (xml-*-re): Convert defvars into defconsts, and
4581 eval-and-compile them so eval-and-compile works on derivatives.
4582 (xml--entity-replacement-text): Use eval-and-comple.
4583
a40c87a0
MA
45842012-06-30 Michael Albinus <michael.albinus@gmx.de>
4585
4586 * vc/vc-git.el (vc-git-registered): Use cache property
4587 `git-registered'.
4588 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4589 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 4590 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 4591
ac87de97
DG
45922012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4593
4594 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 4595 removed (likely outside Emacs). (Bug#11757)
ac87de97 4596
ac10fe06
SM
45972012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4598
3df31c9f 4599 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 4600
7f3fbd5d
CY
46012012-06-30 Chong Yidong <cyd@gnu.org>
4602
4603 * xml.el: Implement XML parameter entities.
4604 (xml-parameter-entity-alist): New variable.
4605 (xml-parse-region, xml-parse-fragment): Preserve previous values
4606 of xml-entity-alist and xml-parameter-entity-alist, so that
4607 repeated calls on different documents do not change them.
4608 (xml-parse-tag): Fix doctype regexp.
4609 (xml--entity-replacement-text): New function.
4610 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4611 properly requires url retrieval which is unimplemented.
4612 (xml-escape-string): Doc fix.
4613
3cfbebba
SM
46142012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4615
4616 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4617
2af3565e
DA
46182012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4619
4620 * fringe.el (fringe-mode): Doc fix.
4621
929df0e7
MA
46222012-06-29 Michael Albinus <michael.albinus@gmx.de>
4623
4624 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4625 is non-nil.
4626 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4627 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4628
c8d3a25c 46292012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4630
c8d3a25c
GM
4631 * calendar/cal-dst.el (calendar-current-time-zone):
4632 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4633
c8d3a25c 46342012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
4635
4636 * progmodes/which-func.el (which-func-format):
4637 Add mouse-face. (Bug#11698)
4638
c8d3a25c
GM
46392012-06-29 Leo Liu <sdl.web@gmail.com>
4640
4641 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4642
46432012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4644
4645 * minibuffer.el (minibuffer-confirm-exit-commands):
4646 Add completion-at-point (bug#11725).
4647
46482012-06-29 Glenn Morris <rgm@gnu.org>
4649
4650 * progmodes/f90.el (f90-font-lock-keywords-2):
4651 Add some preprocessor elements. (Bug#10499)
4652
46532012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4654
4655 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4656 Use syntax-propertize (bug#11739).
4657
2badeec4
JB
46582012-06-28 Juanma Barranquero <lekktu@gmail.com>
4659
4660 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4661
ae4969c2
JD
46622012-06-28 Julien Danjou <julien@danjou.info>
4663
4664 * term.el (term-handle-colors-array): Use a set of new faces to
4665 color the terminal. Also uses :inverse-video property.
4666 (term-default-fg-color): Set to nil by default, deprecate in favor
4667 of `term-face'.
4668 (term-default-bg-color): Set to nil by default, deprecate in favor
4669 of `term-face'.
4670 (term-current-face): Use `term-face' by default.
4671 (term-bold-attribute): Variable deleted.
4672
1c9bd870
GM
46732012-06-28 Glenn Morris <rgm@gnu.org>
4674
4675 * simple.el (completion-list-mode-finish):
4676 Don't use toggle-read-only. (Since completion-list-mode has
4677 a special mode-class, it wasn't doing anything extra anyway.)
4678
c207708c
SM
46792012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4680
4681 Make inlining of other-mode interpreted functions work (bug#11799).
4682 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4683 (byte-compile): Use it to fix compilation of lexical-binding closures.
4684 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4685 function, if needed.
4686
3fd56834
SM
46872012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4688
04901786
SM
4689 * help-mode.el (help-make-xrefs): Don't just withstand
4690 cyclic-variable-indirection but any error in documentation-property.
4691
1ec4b7b2
SM
4692 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4693 memory use.
4694 * bindings.el (bindings--define-key): New function.
4695 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4696 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4697 * bindings.el: Use it to purecopy define-key bindings.
4698
e309e2a5
SM
4699 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4700
d5c6faf9
SM
4701 * emacs-lisp/cl.el (flet): Mark obsolete.
4702 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4703 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4704 * progmodes/js.el (js-c-fill-paragraph):
4705 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4706 (ebrowse-switch-member-buffer-to-derived-class):
4707 * play/5x5.el (5x5-solver): Use cl-flet.
4708
6e9590e2
SM
4709 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4710 (cl--symbol-function): New macro.
4711 (cl--letf, cl--letf*): Use it.
4712
3fd56834
SM
4713 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4714 Strip "toggle-" if any.
4715
35ff222c
GM
47162012-06-27 Glenn Morris <rgm@gnu.org>
4717
1ba6038a
GM
4718 * info.el (Info-default-directory-list): Move here from paths.el.
4719 * paths.el: Remove file, which is now empty.
4720 * loadup.el: No longer load "paths".
4721
0ea0e51b
GM
4722 * custom.el (custom-initialize-delay): Doc fix.
4723
35ff222c
GM
4724 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4725 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4726 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4727 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4728 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4729 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4730 * eshell/eshell.el (eshell-defgroup): Remove alias.
4731
c89926a5
CY
47322012-06-27 Chong Yidong <cyd@gnu.org>
4733
4734 * help.el (help-enable-auto-load): New variable.
4735
4736 * help-fns.el (help-fns--autoloaded-p): New function.
4737 (describe-function-1): Refer to a function as "autoloaded" if it
4738 was autoloaded at any time in the past. Perform autoloading if
4739 help-enable-auto-load is non-nil.
4740
cc06e7e7
EZ
47412012-06-26 Eli Zaretskii <eliz@gnu.org>
4742
4743 * makefile.w32-in (compile, compile-always): Depend on
4744 update-subdirs, not on subdirs.el. Otherwise, several different
4745 sub-targets of 'bootstrap' running in parallel could
4746 simultaneously write to subdirs.el, producing a garbled file.
4747
d2c32364
SS
47482012-06-26 Sam Steingold <sds@gnu.org>
4749
4750 * files.el (file-name-base): New convenience function.
0d14cc21
GM
4751 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4752 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4753 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4754 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4755 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
4756 * textmodes/tex-mode.el: Use it.
4757 Did not touch cedet and org because they are maintained elsewhere.
4758
5cf983b2
MR
47592012-06-26 Martin Rudalics <rudalics@gmx.at>
4760
4761 * calendar/calendar.el (calendar-exit): Don't try to delete or
4762 iconify last frame. See:
4763 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4764
8c4f2952
JD
47652012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4766
4767 * server.el (server-process-filter): Remember dir in the
4768 process's `server-client-directory' properties.
4769
772b2e2c
CY
47702012-06-24 Chong Yidong <cyd@gnu.org>
4771
4772 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4773 non-tag text.
4774
711b11e1
JB
47752012-06-23 Juanma Barranquero <lekktu@gmail.com>
4776
4777 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4778
dc5d230c
SM
47792012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4780
4781 * help-fns.el (describe-variable): Don't croak when doc is not found.
4782 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4783 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4784 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4785 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4786 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4787 ((lambda ..) ..).
4788 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4789
136e1c1d
CY
47902012-06-23 Chong Yidong <cyd@gnu.org>
4791
e8c1cabf
CY
4792 * info.el (Info-mouse-follow-link): Accept symbol values of
4793 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
4794 (Info-fontify-node): Use Info-link-keymap for all navigation
4795 buttons, with link-args property to perform the desired action.
4796 (Info-link-keymap): Doc fix.
4797 (Info-next-link-keymap, Info-prev-link-keymap)
4798 (Info-up-link-keymap): Delete now-unused keymaps.
4799
0e9e6c6a
CY
48002012-06-23 Chong Yidong <cyd@gnu.org>
4801
05e89fea
CY
4802 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4803
0e9e6c6a
CY
4804 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4805 system abbrevs.
4806
4807 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4808
e33c6771
SM
48092012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4810
b68581e2
SM
4811 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4812 (bug#11719).
4813
e33c6771
SM
4814 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4815 the requote function doesn't work properly (bug#11714).
4816
7117e105
GM
48172012-06-23 Glenn Morris <rgm@gnu.org>
4818
4819 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4820
36cec983
SM
48212012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4822
4823 Further GV/CL cleanups.
4824 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4825 gv-expander.
4826 (gv--defun-declaration): New function.
4827 (defun-declarations-alist): Use it.
4828 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4829 (gv-place): Autoload.
4830 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4831 original definition of dotimes and dolist.
4832 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4833 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4834 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4835 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4836 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4837 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4838 to the function's definition.
4839 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4840 * window.el:
4841 * files.el:
4842 * faces.el:
4843 * env.el: Don't use CL.
4844
d35af63c
PE
48452012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4846
4847 Support higher-resolution time stamps (Bug#9000).
4848
4849 * calendar/time-date.el (with-decoded-time-value): New arg
4850 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4851 (encode-time-value): New optional arg PICO. New type 3.
4852 (time-to-seconds) [!float-time]: Support the new picoseconds
4853 component if it's used.
4854 (seconds-to-time, time-subtract, time-add):
4855 Support ps-resolution time stamps as well.
4856
4857 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4858 (timerp): Timer vectors now have length 9, not 8.
4859 (timer--time): Support new-style (4-part) time stamps.
4860 (timer-next-integral-multiple-of-time): Time stamps now have
4861 picosecond resolution, so take a bit more care about rounding.
4862 (timer-relative-time, timer-inc-time): New optional arg psecs.
4863 (timer-set-time-with-usecs): Set psecs to 0.
4864 (timer--activate): Check psecs component, too.
4865
4866 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4867
ac77b21a
SM
48682012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4869
f143bfe3
SM
4870 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4871 Move the non-essential binding to the post/pre-command-hook where it is
4872 more obviously correct.
4873
ac77b21a
SM
4874 * subr.el (read-passwd): Don't use a history at all.
4875 * savehist.el (savehist-save): Remove password saved accidentally
4876 because of the above bug.
4877
76386c5a
BG
48782012-06-22 Bastien Guerry <bzg@gnu.org>
4879
4880 * files.el (toggle-read-only): Display a message telling whether
4881 the buffer is read-only or not (bug#11726).
4882
2ee3d7f0
SM
48832012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4884
4885 * emacs-lisp/gv.el: New file.
4886 * subr.el (push, pop): Extend to generalized variables.
4887 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4888 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4889 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4890 gv-define-simple-setter, and gv-define-expander.
4891 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4892 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4893 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4894 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4895 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4896 gv-letplace.
4897 (cl-defstruct): Don't define setf-method any more.
4898 * emacs-lisp/cl.el (flet): Don't autoload.
4899 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4900 (define-setf-expander, defsetf, define-modify-macro)
4901 (cl-struct-setf-expander): Move from cl-lib.el.
4902 * emacs-lisp/syntax.el:
4903 * emacs-lisp/ewoc.el:
4904 * emacs-lisp/smie.el:
4905 * emacs-lisp/cconv.el:
4906 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4907 (timer--time): Use gv-define-simple-setter.
4908 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4909 to avoid coding-system problems in subr.el. Adjust all users.
4910 (macroexp--maxsize, macroexp-small-p): New functions.
4911 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4912 * scroll-bar.el (scroll-bar-mode):
4913 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4914 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4915 * winner.el (winner-configuration, winner-make-point-alist)
4916 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4917 * files.el (locate-file-completion-table): Avoid list*.
4918
c5695d1d
CY
49192012-06-22 Chong Yidong <cyd@gnu.org>
4920
4921 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4922 (dired-create-files): Doc fix (Bug#11329).
4923 (dired-do-copy): Doc fix (Bug#11334).
4924 (dired-mark-read-string): Doc fix (Bug#11553).
4925
2ee3d7f0
SM
4926 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4927 Doc fix (Bug#11326).
c5695d1d
CY
4928 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4929 (dired-dwim-target): Doc fix.
4930
4931 * wdired.el (wdired-mode): Doc fix.
4932
89b5595a
GM
49332012-06-22 Glenn Morris <rgm@gnu.org>
4934
575db3f1
GM
4935 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4936 (pcmpl-rpm-cache-stamp-file): New constant.
4937 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4938 (pcmpl-rpm-packages): Optionally cache list of packages.
4939
a4c8dd51
GM
4940 * pcmpl-rpm.el (pcmpl-rpm): New group.
4941 (pcmpl-rpm-query-options): New option.
4942 (pcmpl-rpm-packages): No need to inline it.
4943 Use pcmpl-rpm-query-options.
4944
89b5595a
GM
4945 * calendar/calendar.el (calendar-in-read-only-buffer):
4946 Avoid some needless mode changes.
4947
e76f0800
CY
49482012-06-21 Chong Yidong <cyd@gnu.org>
4949
4950 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4951 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 4952 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 4953
297a8f1d
CY
49542012-06-20 Chong Yidong <cyd@gnu.org>
4955
4956 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4957
d34c18b1
DR
49582012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
4959
4960 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4961 (bug#11201).
4962
32f7f28e
CY
49632012-06-20 Chong Yidong <cyd@gnu.org>
4964
4965 * term.el (term-window-width): Handle the case of a missing right
4966 fringe (Bug#8837).
4967 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
4968 (term-mode): Use define-derived-mode. Minor cleanups.
4969 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
4970 (term-move-columns, term-insert-char, term-emulate-terminal)
4971 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 4972
493c6688
MA
49732012-06-20 Michael Albinus <michael.albinus@gmx.de>
4974
d34c18b1
DR
4975 * net/ange-ftp.el (ange-ftp-get-passwd):
4976 Bind `enable-recursive-minibuffers'.
493c6688
MA
4977 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4978
3f06ecf4
DR
49792012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4980
4981 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4982
68f12411
GM
49832012-06-19 Glenn Morris <rgm@gnu.org>
4984
4985 * progmodes/python.el (python-mode): Derive from prog-mode.
4986
b3820318
KG
49872012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4988
4989 * emulation/edt.el (edt-default-menu-bar-update-buffers)
4990 (edt-user-menu-bar-update-buffers): New functions.
4991 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4992
c6bf3022
CY
49932012-06-19 Chong Yidong <cyd@gnu.org>
4994
4995 * subr.el (with-selected-window): Preserve the selected window's
4996 terminal's top-frame (Bug#4702).
4997
4998 * window.el (save-selected-window): Likewise.
4999
25f09295
SM
50002012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5001
5002 * progmodes/python.el (python-rx-constituents): Move backquote.
5003 (python-skeleton-define, python-define-auxiliary-skeleton):
5004 Use `declare'.
5005
6b11952a
MA
50062012-06-18 Michael Albinus <michael.albinus@gmx.de>
5007
5008 * minibuffer.el (read-file-name-default): Revert the patch from
5009 2012-06-17.
5010
ee4b1330
SM
50112012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5012
5013 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5014 (pcase--u1, pcase--q1): Don't use apply-partially.
5015
35647f79
GM
50162012-06-18 Glenn Morris <rgm@gnu.org>
5017
5018 * progmodes/python.el (python-proc, python-buffer)
5019 (python-send-receive, python-send-string): Fix obsolete versions.
5020
24b0cff0
MR
50212012-06-18 Martin Rudalics <rudalics@gmx.at>
5022
5023 * window.el (special-display-p): Completely remove stringp
5024 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5025
29855149
MA
50262012-06-17 Michael Albinus <michael.albinus@gmx.de>
5027
5028 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5029
5030 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5031
5032 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5033 * net/tramp-sh.el (tramp-maybe-open-connection):
5034 Throw if `non-essential' is non-nil.
5035
07463363
MR
50362012-06-17 Martin Rudalics <rudalics@gmx.at>
5037
5038 * window.el (special-display-p): Signal an error if BUFFER-NAME
5039 is not a string (Bug#11713).
5040
48d1354e
PE
50412012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5042
5043 * progmodes/python.el (python-info-beginning-of-backslash):
5044 Rename from python-info-beginning-of-backlash, as a spelling fix.
5045
eb4a8a9a
CY
50462012-06-17 Chong Yidong <cyd@gnu.org>
5047
5048 * term.el (term-emulate-terminal): If term-check-size is called,
5049 move point to the process mark without resetting point (Bug#4635).
5050
ddfbf826 50512012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
5052
5053 * international/mule-cmds.el (mule-menu-keymap)
5054 (set-language-environment, set-locale-environment): Doc tweaks.
5055
9b0e3eba
AA
50562012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5057
5058 * cus-face.el (custom-face-attributes): Add wave-style underline
5059 attribute.
5060 * faces.el (set-face-attribute): Update docstring to describe
5061 wave-style underline attribute.
5062
771e3eae
CY
50632012-06-16 Chong Yidong <cyd@gnu.org>
5064
5065 * term/xterm.el (terminal-init-xterm): Discard input before
5066 querying background mode (Bug#10959).
5067
7ae2ea10
SM
50682012-06-16 Stefan Merten <smerten@oekonux.de>
5069
5070 * textmodes/rst.el: Added and corrected some comments.
5071 (rst-re-alist-def): Improve symbol syntax.
5072 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
5073 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5074 (rst-official-version, rst-official-cvs-rev): Update version
5075 information.
7ae2ea10 5076
b6974efa
JB
50772012-06-15 Juanma Barranquero <lekktu@gmail.com>
5078
5079 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5080 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5081
8826d473
GM
50822012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5083
5084 * progmodes/python.el: New python.el merge.
5085 (python-guess-indent): Obsolete var.
5086 (python-indent-guess-indent-offset): New defcustom.
5087 (python-indent): Obsolete var.
5088 (python-indent-offset): New defcustom.
5089 (python-python-command, python-jython-command): Delete var.
5090 (python-shell-interpreter): New defcustom.
5091 (python-pdbtrack-do-tracking-p): Delete var.
5092 (python-pdbtrack-activate): New defcustom.
5093 (python-use-skeletons): Obsolete var.
5094 (python-skeleton-autoinsert): New defcustom.
5095 (inferior-python-filter-regexp, python-continuation-offset)
5096 (python-honour-comment-indentation, python-indent-string-contents)
5097 (python-jython-packages, python-mode-hook)
5098 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5099 (python-shell-prompt-alist)
5100 (python-source-modes): Delete defcustoms.
5101 (python-check-buffer-name, python-eldoc-setup-code)
5102 (python-eldoc-string-code, python-ffap-setup-code)
5103 (python-ffap-string-code, python-fill-comment-function)
5104 (python-fill-decorator-function, python-fill-paren-function)
5105 (python-fill-string-function, python-imenu-include-defun-type)
5106 (python-imenu-make-tree, python-imenu-subtree-root-label)
5107 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5108 (python-shell-compilation-regexp-alist)
5109 (python-shell-completion-module-string-code)
5110 (python-shell-completion-pdb-string-code)
5111 (python-shell-completion-setup-code)
5112 (python-shell-completion-string-code)
5113 (python-shell-enable-font-lock, python-shell-exec-path)
5114 (python-shell-extra-pythonpaths)
5115 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5116 (python-shell-process-environment)
5117 (python-shell-prompt-block-regexp)
5118 (python-shell-prompt-output-regexp)
5119 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5120 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5121 (python-shell-virtualenv-path): New defcustoms.
5122 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5123 (inferior-python-mode-syntax-table, python--prompt-regexp)
5124 (python-buffer, python-command python-python-command)
5125 (python-default-template, python-imports, python-indent-index)
5126 (python-indent-list, python-indent-list-length)
5127 (python-mode-running, python-pdbtrack-is-tracking-p)
5128 (python-preoutput-continuation, python-preoutput-leftover)
5129 (python-preoutput-result, python-preoutput-skip-next-prompt)
5130 (python-prev-dir/file, python-recursing)
5131 (python-saved-check-command, python-version-checked)
5132 (python-which-func-length-limit)
5133 (view-return-to-alist): Delete vars.
5134 (python-check-custom-command, python-dotty-syntax-table)
5135 (python-imenu-index-alist, python-indent-current-level)
5136 (python-indent-dedenters, python-indent-levels)
5137 (python-nav-beginning-of-defun-regexp)
5138 (python-nav-list-defun-positions-cache)
5139 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5140 (python-shell-internal-buffer)
5141 (python-skeleton-available): New vars.
5142 (def-python-skeleton): Delete macro.
5143 (python-skeleton-define): New macro.
5144 (python-define-auxiliary-skeleton, python-rx): New macros.
5145 (python-insert-class): Delete command.
5146 (python-skeleton-class): New command.
5147 (python-insert-def): Delete command.
5148 (python-skeleton-def): New command.
5149 (python-insert-for): Delete command.
5150 (python-skeleton-for): New command.
5151 (python-insert-if): Delete command.
5152 (python-skeleton-if): New command.
5153 (python-insert-try/except, python-insert-try/finally): Delete commands.
5154 (python-skeleton-try): New command.
5155 (python-insert-while): Delete command.
5156 (python-skeleton-while): New command.
5157 (python-backspace): Delete command.
5158 (python-indent-dedent-line-backspace): New command.
5159 (python-electric-colon): Delete command.
5160 (python-indent-electric-colon): New command.
5161 (python-guess-indent): Delete command.
5162 (python-indent-guess-indent-offset): New command.
5163 (python-shift-left): Delete command.
5164 (python-indent-shift-left): New command.
5165 (python-shift-right): Delete command.
5166 (python-indent-shift-right): New command.
5167 (python-find-function): Delete command.
5168 (python-nav-jump-to-defun): New command.
5169 (python-next-statement): Delete command.
5170 (python-nav-forward-sentence): New command.
5171 (python-previous-statement): Delete command.
5172 (python-nav-backward-sentence): New command.
5173 (python-fill-paragraph): Delete command.
5174 (python-fill-paragraph-function): New command.
5175 (python-send-buffer): Delete command.
5176 (python-shell-send-buffer): New command.
5177 (python-send-defun): Delete command.
5178 (python-shell-send-defun): New command.
5179 (python-send-region, python-send-region-and-go): Delete commands.
5180 (python-shell-send-region)
5181 (python-shell-switch-to-shell): New commands.
5182 (python-send-string): Delete command.
5183 (python-shell-send-string): New command.
5184 (python-switch-to-python): Delete command.
5185 (python-shell-switch-to-shell): New command.
5186 (python-describe-symbol): Delete command.
5187 (python-eldoc-at-point): New command.
5188 (python--set-prompt-regexp, python-args-to-list)
5189 (python-after-info-look, python-check-version)
5190 (python-check-comint-prompt, python-find-imports)
5191 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5192 (python-unload-function, python-expand-template)
5193 (python-maybe-jython, python-preoutput-filter)
5194 (python-pdbtrack-get-source-buffer)
5195 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5196 (python-pdbtrack-toggle-stack-tracking)
5197 (python-pdbtrack-track-stack-file, python-initial-text)
5198 (python-first-word, python-comment-line-p, python-send-command)
5199 (python-setup-brm, python-sentinel, python-set-proc)
5200 (python-skip-out, python-input-filter, python-outdent-p)
5201 (python-outline-level, python-backslash-continuation-line-p)
5202 (python-end-of-block, python-end-of-statement, python-mark-block)
5203 (python-beginning-of-block, python-beginning-of-statement)
5204 (python-blank-line-p, python-beginning-of-string)
5205 (python-open-block-statement-p): Delete functions.
5206 (python-indent-line, python-indent-line-1): Delete functions.
5207 (python-indent-line): New function.
5208 (python-indentation-levels): Delete function.
5209 (python-indent-calculate-levels): New function.
5210 (python-proc): Delete function.
5211 (python-shell-get-process): New function.
5212 (python-send-receive): Delete function.
5213 (python-shell-send-string-no-output): New function.
5214 (python-module-path): Delete function.
5215 (python-ffap-module-path): New function.
5216 (python-completion-at-point)
5217 (python-symbol-completions): Delete functions.
5218 (python-completion-complete-at-point): New function.
5219 (python-load-file): Delete function.
5220 (python-shell-send-file): New function.
5221 (python-calculate-indentation): Delete function.
5222 (python-indent-calculate-indentation): New function.
5223 (python-skip-comments/blanks): Delete function.
5224 (python-util-forward-comment): New function.
5225 (python-continuation-line-p): Delete function.
5226 (python-info-continuation-line-p): New function.
5227 (python-which-func, python-current-defun): Delete function.
5228 (python-info-current-defun): New function.
5229 (python-beginning-of-defun): Delete function.
5230 (python-nav-beginning-of-defun): New function.
5231 (python-close-block-statement-p)
5232 (python-block-end-p): Delete function.
5233 (python-info-closing-block): New function.
5234 (python-comint-output-filter-function)
5235 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5236 (python-fill-comment, python-fill-decorator, python-fill-paren)
5237 (python-fill-string, python-imenu-make-element-tree)
5238 (python-imenu-make-tree, python-imenu-tree-assoc)
5239 (python-indent-context, python-indent-dedent-line)
5240 (python-indent-line-function)
5241 (python-indent-post-self-insert-function)
5242 (python-indent-toggle-levels)
5243 (python-info-assignment-continuation-line-p)
5244 (python-info-beginning-of-backlash)
5245 (python-info-block-continuation-line-p)
5246 (python-info-closing-block-message)
5247 (python-info-line-ends-backslash-p)
5248 (python-info-looking-at-beginning-of-defun)
5249 (python-info-ppss-context, python-info-ppss-context-type)
5250 (python-nav-list-defun-positions, python-nav-read-defun)
5251 (python-nav-sentence-end, python-nav-sentence-start)
5252 (python-pdbtrack-comint-output-filter-function)
5253 (python-pdbtrack-set-tracked-buffer)
5254 (python-shell-calculate-exec-path)
5255 (python-shell-calculate-process-environment)
5256 (python-shell-completion--do-completion-at-point)
5257 (python-shell-completion--get-completions)
5258 (python-shell-completion-complete-at-point)
5259 (python-shell-completion-complete-or-indent)
5260 (python-shell-get-or-create-process)
5261 (python-shell-get-process-name)
5262 (python-shell-internal-get-or-create-process)
5263 (python-shell-internal-get-process-name)
5264 (python-shell-internal-send-string, python-shell-make-comint)
5265 (python-shell-parse-command, python-shell-send-setup-code)
5266 (python-skeleton-add-menu-items)
5267 (python-util-clone-local-variables, python-util-position)
5268 (run-python-internal, python-indentation-levels)
5269 (python-nav-beginning-of-defun)
5270 (python-completion-complete-at-point): New functions.
5271 (run-python): Change arguments. New API requirements.
5272
4302f5ba
SM
52732012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5274
f38ea36d
SM
5275 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5276 (bug#11649).
5277
5278 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5279 (macroexp--expand-all): Use it.
5280
4302f5ba
SM
5281 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5282 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5283 Use `cl-function' instead.
5284
33377562
JB
52852012-06-14 Juanma Barranquero <lekktu@gmail.com>
5286
5287 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5288 Suggested by Stefan Monnier while discussing bug#11657.
5289
54c5ba1a
SS
52902012-06-14 Sam Steingold <sds@gnu.org>
5291
5292 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5293
f9f1b1fe
AS
52942012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5295
5296 * play/doctor.el (doctor-doc): Remove parameter and use
5297 doctor-sent instead of sent.
5298 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5299
a81068ba
SM
53002012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5301
5a315f9c
SM
5302 * files.el: Require cl-lib.
5303 (file-name-non-special): Replace case -> cl-case.
5304
5305 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5306
a81068ba
SM
5307 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5308 mapping from #' to function*.
5309
8cca9703
CY
53102012-06-13 Chong Yidong <cyd@gnu.org>
5311
5312 * mouse.el (mouse-drag-track): Do not set the mark if the user
5313 releases the mouse without selecting anything (Bug#11588).
5314
a12ac9d7
SM
53152012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5316
ccf1dc18
SM
5317 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5318 as well (bug#11646).
5319
ef62b23d
SM
5320 * loadup.el: Count byte-code functions as well.
5321
c4c8444a
SM
5322 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5323 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5324
a12ac9d7
SM
5325 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5326 (bug#11649). Add cl-defun and cl-defmacro.
5327
87e6e64f
DA
53282012-06-13 Drew Adams <drew.adams@oracle.com>
5329
5330 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5331 Fix last change.
5332
682cefaf
MA
53332012-06-13 Michael Albinus <michael.albinus@gmx.de>
5334
5335 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5336 Otherwise, it blocks in batch mode.
5337
773e1f08
JB
53382012-06-13 Juanma Barranquero <lekktu@gmail.com>
5339
5340 * help-mode.el (bookmark-make-record-default): Declare.
5341
60057926
CY
53422012-06-13 Chong Yidong <cyd@gnu.org>
5343
5344 * emacs-lisp/package.el (list-packages): Compute a list of
5345 packages that are newly-available since the last list-packages
5346 invocation.
5347 (package-menu--new-package-list): New var.
5348 (package-menu--generate, package-menu--print-info)
5349 (package-menu--status-predicate, package-menu-mark-install):
5350 Handle new status label "new".
5351
ad4d226c
SM
53522012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5353
5354 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5355 conversion to backquotes.
5356
f1a4e679
CY
53572012-06-12 Chong Yidong <cyd@gnu.org>
5358
5359 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5360 Rename from gud-inhibit-global-bindings.
5361
5362 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5363
5364 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5365 hook from nxml-glyph-set-hook.
5366
5367 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5368 declaration.
5369
5370 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5371
5372 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5373 Convert to defcustom.
5374
0c9e42b5
DA
53752012-06-12 Drew Adams <drew.adams@oracle.com>
5376
5377 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5378 New functions.
5379 (help-mode): Use them.
5380
09e06855
GM
53812012-06-11 Glenn Morris <rgm@gnu.org>
5382
5383 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5384 Use preprocessor face for directives.
5385 (fortran-directive-re): Doc fix.
5386
71adb94b
SM
53872012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5388
2eb87922
SM
5389 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5390 conversion to backquotes (bug#11652).
5391
71adb94b
SM
5392 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5393 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5394 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5395 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5396 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5397 (cl-ninth, cl-tenth): Mark them as inlinable.
5398 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5399 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5400 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5401 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5402 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5403 (cl-list*, cl-adjoin): Don't put an autoload manually.
5404 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5405 (cl--compiler-macro-list*): Add autoload cookie.
5406 (cl--compiler-macro-cXXr): New function.
2eb87922 5407
71adb94b
SM
5408 * help-fns.el (help-fns--compiler-macro): New function extracted from
5409 describe-function-1; follow aliases and use `compiler-macro' property.
5410 (describe-function-1): Use it.
5411
a6674402
CY
54122012-06-11 Chong Yidong <cyd@gnu.org>
5413
5414 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5415 is uninstalled, if imagemagick is installed.
5416
bb3faf5b
SM
54172012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5418
5419 * emacs-lisp/cl-lib.el: Use lexical-binding.
5420 (cl-map-extents, cl-maclisp-member): Remove.
5421 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5422 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5423 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5424 * emacs-lisp/cl-extra.el: Use lexical-binding.
5425 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5426 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5427 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5428 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5429 * emacs-lisp/cl-seq.el: Use lexical-binding.
5430 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5431 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5432 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5433 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5434 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5435 CL's internals.
5436
2fe4b125
MA
54372012-06-11 Michael Albinus <michael.albinus@gmx.de>
5438
5439 Sync with Tramp 2.2.6-pre.
5440
5441 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5442 `print-length' and `print-level' to nil, in order to avoid
5443 truncation. Reported by Christopher Schmidt
5444 <christopher@ristopher.com>.
5445
5446 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5447
5448 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5449 New defmacro.
5450 (tramp-compat-copy-directory): Add optional argument
5451 COPY-CONTENTS. It is not handled yet.
5452
5453 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5454 (tramp-ftp-file-name-p): Simplify.
5455
5456 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5457 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5458 connection vector.
5459
5460 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5461 (tramp-methods): Do not use `tramp-password-end-of-line'.
5462 (tramp-completion-function-alist-putty): Handle UNIX case.
5463 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5464 (tramp-do-file-attributes-with-stat)
5465 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5466 gid as real numbers. They could run out of integer range on cygwin.
5467 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5468 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
5469 (tramp-open-connection-setup-interactive-shell):
5470 Use `tramp-cleanup'. Move check for busyboxes ...
5471 (tramp-find-shell): ... here. Simplify implementation.
5472 Set "remote-shell" property also for alternative shells.
5473 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5474 If failing, a regular file would be written otherwise.
5475 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
5476 (tramp-find-inline-encoding): Cache the coding commands in the
5477 process cache. Apply test command on the remote side, if defined.
5478 (tramp-find-inline-compress): Cache the compress commands in the
5479 process cache.
5480 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5481 when requested. Handle hops.
5482 (tramp-current-connection): New defvar.
87e6e64f
DA
5483 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5484 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 5485 Handle user interrupt. (Bug#10187)
87e6e64f
DA
5486 (tramp-get-inline-compress, tramp-get-inline-coding):
5487 Read connection properties from the process cache.
2fe4b125
MA
5488
5489 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
5490 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5491 New defconsts.
2fe4b125
MA
5492 (tramp-smb-prompt): Extend for powershell prompt.
5493 (tramp-smb-file-name-handler-alist): Add handlers for
5494 `process-file', `shell-command' and `start-file-process'.
5495 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5496 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5497 (tramp-smb-file-name-p): Simplify.
5498 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5499 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5500 (tramp-smb-shell-quote-argument): New defuns.
5501 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5502 Implement using "tar". By this, time-stamps are preserved.
5503 (tramp-smb-handle-copy-file): Handle also the case of directories.
5504 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
5505 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5506 Use `tramp-get-connection-buffer').
2fe4b125
MA
5507 (tramp-smb-handle-rename-file): Use "rename", when source and
5508 target are on the same share.
87e6e64f
DA
5509 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5510 Use `tramp-smb-server-version'.
2fe4b125
MA
5511 (tramp-smb-wait-for-output): Remove prompt.
5512
5513 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
5514 (tramp-methods, tramp-rsh-end-of-line):
5515 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
5516 (tramp-save-ad-hoc-proxies): New defcustom.
5517 (tramp-completion-function-alist): Adapt docstring.
5518 (tramp-default-password-end-of-line): Remove defcustom.
5519 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5520 (tramp-user-regexp, tramp-file-name-regexp-unified)
5521 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5522 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5523 (tramp-remote-file-name-spec-regexp): New defconst.
5524 (tramp-file-name-structure): Extend structure for hops.
5525 (tramp-get-method-parameter): Move up.
5526 (tramp-file-name-p, tramp-dissect-file-name)
5527 (with-parsed-tramp-file-name): Handle hops.
5528 (tramp-file-name-hop): New defun.
5529 (tramp-make-tramp-file-name): New optional arg HOP.
5530 (tramp-message-show-progress-reporter-message): New defvar.
5531 (tramp-with-progress-reporter): Use it. We cannot use
5532 `tramp-message-show-message' here, because this suppresses also
5533 error buffers.
5534 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
5535 `tramp-message-show-message' is nil.
5536 Use `tramp-get-connection-buffer'.
2fe4b125
MA
5537 (tramp-cleanup): New defun.
5538 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5539 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5540 an error unchanged.
5541 (tramp-completion-handle-file-name-all-completions): Handle hops.
5542 Fix an error when called from ido.
5543 (tramp-completion-dissect-file-name): Use better local variable
5544 name. Add hop to the vector.
5545 (tramp-handle-insert-file-contents): Use progress-reporter for the
5546 whole scenario.
5547 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5548 to `t'.
5549 (tramp-check-for-regexp): Simplify search.
5550 (tramp-enter-password): Remove it. Move implementation ...
5551 (tramp-action-password): ... here.
5552 (tramp-mode-string-to-int, tramp-local-host-p)
5553 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
5554 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5555 Set tramp-autoload cookie.
2fe4b125
MA
5556
5557 * net/trampver.el: Update release number.
5558
55592012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5560 Michael Albinus <michael.albinus@gmx.de>
5561
5562 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5563 (tramp-parse-group, tramp-parse-file)
5564 (tramp-parse-shostkeys-sknownhosts): New defuns.
5565 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5566 (tramp-parse-shosts-group, tramp-parse-sconfig)
5567 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5568 (tramp-parse-sknownhosts, tramp-parse-hosts)
5569 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5570 Use them.
5571 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5572 (tramp-parse-putty-group): Don't narrow.
5573 (tramp-parse-putty): Make a loop.
5574 (tramp-file-name-handler): Catch the `suppress' signal.
5575
72834e10
CY
55762012-06-11 Chong Yidong <cyd@gnu.org>
5577
5578 * image.el (imagemagick-register-types): Put the ImageMagick entry
5579 at the end of image-type-file-name-regexps.
5580
a4712e11
JB
55812012-06-11 Johan Bockgård <bojohan@gnu.org>
5582
5583 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5584 (pcase, pcase-let*, pcase-dolist): Use them.
5585
82ad98e3
SM
55862012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5587
5588 * emacs-lisp/pcase.el (pcase--let*): New function.
5589 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5590 (pcase--expand): Use macroexp-let².
5591
f80efb86
SM
55922012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5593
5594 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5595 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5596 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5597 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5598 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5599 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5600
31ca4639 56012012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 5602
31ca4639
CY
5603 * mail/rmail.el (rmail-yank-current-message): Leave point at
5604 correct position. (Bug#11660)
94f0aa34 5605
31ca4639 56062012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 5607
31ca4639 5608 * allout-widgets.el: Fix code header.
9e1b8ec4 5609
31ca4639 56102012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 5611
f80efb86
SM
5612 * cus-edit.el (customize-changed-options-previous-release):
5613 Bump to 24.1.
31ca4639 5614
642b6d30
AS
56152012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5616
5617 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5618
4f5d2ba1
CY
56192012-06-09 Chong Yidong <cyd@gnu.org>
5620
5621 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5622
e75852fd
MR
56232012-06-09 Martin Rudalics <rudalics@gmx.at>
5624
5625 * window.el (special-display-popup-frame): Don't use
5626 window--display-buffer (Bug#11651).
5627
1e48e282
EZ
56282012-06-09 Eli Zaretskii <eliz@gnu.org>
5629
8a26b487
EZ
5630 Fix parallel builds: make sure loaddefs.el is not being written
5631 while Lisp files are compiled.
5632 (compile): Don't depend on 'mh-autoloads'.
5633 (compile-CMD, compile-SH): Depend on 'autoloads'.
5634 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5635
1e48e282
EZ
5636 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5637
6175e34b
CY
56382012-06-09 Chong Yidong <cyd@gnu.org>
5639
5640 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5641 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5642 Doc fixes (Bug#11225).
5643
d9857e53
SM
56442012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5645
5646 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5647 a function if there's a clear indication that it has a compiler-macro.
5648 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5649 (macro-declarations-alist): Add arglist to declaration functions.
5650 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5651 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5652 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5653 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5654 Also add autoload to find the compiler macro.
5655 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5656 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5657 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5658 (cl--compiler-macro-get): New functions, replacing calls to
5659 cl-define-compiler-macro.
5660 (cl-typep) [compiler-macro]: Use macroexp-let².
5661
f81298f8 56622012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
5663
5664 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5665 string properly, fixes Bug#11473.
5666
4b56d0fe
CY
56672012-06-08 Chong Yidong <cyd@gnu.org>
5668
5669 * faces.el (set-face-attribute): Doc fix.
5670 (modify-face): Don't use :bold and :italic.
5671 (error, warning, success): Tweak definitions.
5672
5673 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5674 (custom-modified, custom-set, custom-changed, custom-themed)
5675 (custom-saved, custom-button, custom-button-mouse)
5676 (custom-button-pressed, custom-state, custom-comment-tag)
5677 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5678 (custom-group-subtitle): Use new-style face specs.
5679 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5680 (custom-set-face, custom-changed-face, custom-saved-face)
5681 (custom-button-face, custom-button-pressed-face)
5682 (custom-documentation-face, custom-state-face)
5683 (custom-comment-face, custom-comment-tag-face)
5684 (custom-variable-tag-face, custom-variable-button-face)
5685 (custom-face-tag-face, custom-group-tag-face-1)
5686 (custom-group-tag-face): Remove obsolete face alias.
5687
5688 * epa.el (epa-validity-high, epa-validity-medium)
5689 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5690 (epa-field-name, epa-field-body):
5691 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5692 (font-lock-keyword-face, font-lock-builtin-face)
5693 (font-lock-function-name-face, font-lock-variable-name-face)
5694 (font-lock-type-face, font-lock-constant-face):
5695 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5696 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5697 * speedbar.el (speedbar-button-face, speedbar-file-face)
5698 (speedbar-directory-face, speedbar-tag-face)
5699 (speedbar-selected-face, speedbar-highlight-face)
5700 (speedbar-separator-face):
5701 * whitespace.el (whitespace-newline, whitespace-space)
5702 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5703 (whitespace-line, whitespace-space-before-tab)
5704 (whitespace-space-after-tab, whitespace-indentation)
5705 (whitespace-empty):
5706 * emulation/cua-base.el (cua-global-mark):
5707 * eshell/em-prompt.el (eshell-prompt):
5708 * net/newst-plainview.el (newsticker-new-item-face)
5709 (newsticker-old-item-face, newsticker-immortal-item-face)
5710 (newsticker-obsolete-item-face, newsticker-date-face)
5711 (newsticker-statistics-face, newsticker-default-face):
5712 * net/newst-reader.el (newsticker-feed-face)
5713 (newsticker-extra-face, newsticker-enclosure-face):
5714 * net/newst-treeview.el (newsticker-treeview-face)
5715 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5716 (newsticker-treeview-immortal-face)
5717 (newsticker-treeview-obsolete-face)
5718 (newsticker-treeview-selection-face):
5719 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5720 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5721 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5722 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5723 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5724 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5725 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5726 (mpuz-text):
5727 * progmodes/vera-mode.el (vera-font-lock-number)
5728 (vera-font-lock-function, vera-font-lock-interface):
5729 * textmodes/table.el (table-cell): Use new-style face specs, and
5730 don't use the old :bold and :italic attributes.
5731
5732 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5733 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5734 (ebrowse-member-class, ebrowse-progress): Likewise.
5735 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5736 (ebrowse-file-name-face, ebrowse-default-face)
5737 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5738 (ebrowse-progress-face): Remove obsolete faces.
5739
5740 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5741 Inherit from error and warning faces respectively.
5742
5743 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5744 Likewise.
f80efb86
SM
5745 (flyspell-incorrect-face, flyspell-duplicate-face):
5746 Remove obsolete aliases.
4b56d0fe 5747
03310646
MA
57482012-06-08 Michael Albinus <michael.albinus@gmx.de>
5749
5750 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5751 Avoid infloop.
5752
513749ee
SM
57532012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5754
5755 * startup.el (argv, argi): Make lexically scoped.
5756 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5757 * emacs-lisp/cl-macs.el: Use lexical-binding.
5758 Rename cl-bind-* to cl--bind-*.
5759 * files.el: Don't require `cl' since it doesn't use it.
5760 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5761
595ef4ad
JB
57622012-06-08 Juanma Barranquero <lekktu@gmail.com>
5763
5764 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5765 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5766 instead of calling external sort utility.
5767 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5768
e9f66fcb
EZ
57692012-06-08 Eli Zaretskii <eliz@gnu.org>
5770
5771 * descr-text.el (describe-char): Mention how to insert the
5772 character, if the current input method doesn't support it.
5773 See the discussion in this thread for the details:
5774 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5775
3d10db47
SS
57762012-06-08 Sam Steingold <sds@gnu.org>
5777
5778 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5779 XF86Back to previous-buffer.
5780 (minibuffer-local-map): Bind them to next-history-element and
5781 previous-history-element respectively.
5782 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5783 help-go-back respectively.
5784 * info.el (Info-mode-map): Bind them to Info-history-forward and
5785 Info-history-back respectively.
5786 These are the keys next to Up on the ThinkPad keyboard.
5787
de7e2b36
SM
57882012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5789
5790 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5791 * emacs-lisp/cl-macs.el: Provide itself.
5792 (cl--labels-convert-cache): New var.
5793 (cl--labels-convert): New function.
5794 (cl-flet, cl-labels): New implementation with new semantics, relying on
5795 lexical-binding.
5796 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5797 (cl-closure-vars, cl--function-convert-cache)
5798 (cl--function-convert): Move from cl-macs.el.
5799 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5800 rename by removing the "cl-" prefix.
5801 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5802
6fa6c4ae
SM
58032012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5804
5805 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5806 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5807 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5808 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5809 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5810 (cl-hash-table-count): Add old compatibility aliases.
5811
5812 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5813 Use macroexpand-all-environment instead.
5814 (cl--old-macroexpand): New var.
5815 (cl--sm-macroexpand): New function.
5816 (cl-symbol-macrolet): Use it during macro expansion.
5817 (cl--function-convert-cache): New var.
5818 (cl--function-convert): New function, extracted from
5819 cl-macroexpand-all.
5820 (cl-lexical-let): Use it.
5821
5822 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5823 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5824 (cl-member): Remove old alias.
5825
5826 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5827 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5828 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5829 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5830 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5831 (cl-macroexpand-cmacs): Remove var.
5832 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5833 Use macroexpand-all instead.
5834
4dd1c416
SM
58352012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5836
5837 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5838 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5839 (macroexp-copyable-p): New functions and macros.
5840 * emacs-lisp/edebug.el (edebug-unwrap):
5841 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5842 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5843 (pcase--let*): Remove.
5844 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5845 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5846 macroexp-const-p instead.
5847 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5848
5849 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5850 instead of "cl-" for internal definitions. Use macroexp-const-p.
5851 (cl-old-bc-file-form): Remove var.
5852 (cl-const-exprs-p): Remove fun.
5853 (cl-labels, cl-macrolet): Use backquote.
5854 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5855 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5856 (cl-define-setf-expander): Rename from cl-define-setf-method.
5857 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5858
5859 * international/mule-cmds.el: Don't require CL.
5860 (view-hello-file): Don't use `letf'.
5861
ed8bd4d7
SM
58622012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5863
7287f2f3
SM
5864 * tmm.el (tmm-prompt): Use string-prefix-p.
5865 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5866 (tmm-add-prompt): Use minibuffer-completion-help.
5867 (tmm-delete-map): Remove.
5868
ed8bd4d7
SM
5869 * subr.el (kbd): Make it its own function.
5870
7b4cdbf4
SM
58712012-06-07 Stefan Merten <smerten@oekonux.de>
5872
5873 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5874 Silence compiler warnings. Fix versions.
ed8bd4d7 5875 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 5876 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 5877 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
5878 (rst-package-emacs-version-alist): Correct Emacs version to
5879 represent major merge with upstream.
ed8bd4d7 5880 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 5881
2b48d721
GM
58822012-06-06 Glenn Morris <rgm@gnu.org>
5883
5884 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5885 Only print environment variables if set.
5886
fa779ab0
SM
58872012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5888
5889 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5890 (macroexp--cons): Rename from maybe-cons.
5891 (macroexp--accumulate): Rename from macroexp-accumulate.
5892 (macroexp--all-forms): Rename from macroexpand-all-forms.
5893 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5894 (macroexp--expand-all): Rename from macroexpand-all-1.
5895
628299e0
SS
58962012-06-06 Sam Steingold <sds@gnu.org>
5897
5898 * calendar/calendar.el (calendar-in-read-only-buffer):
5899 Call `special-mode' to enable the standard read-only keybindings.
5900
b7bb5838
SM
59012012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5902
5903 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5904 with "loading" messages (bug#11635).
5905
dfb308ba
MA
59062012-06-06 Michael Albinus <michael.albinus@gmx.de>
5907
5908 * files.el (enable-remote-dir-locals): New option.
5909 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5910
0372ee92
MA
5911 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5912 Ensure, that the temp directory is local.
5913
5914 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5915 `temporary-file-directory'.
5916
eed0bb91
MA
5917 * progmodes/python.el (python-send-region): Ensure, that the
5918 temporary file is created also in the remote case.
5919
7a58f64d
GM
59202012-06-06 Glenn Morris <rgm@gnu.org>
5921
f7dd4e98
GM
5922 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5923 (vc-rcs-update-changelog): Use it.
5924
090bd7cb 5925 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 5926
7a58f64d
GM
5927 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5928 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5929 (vc-sccs-diff): Replace use of the external vcdiff script.
5930
daed4003
GM
59312012-06-05 Glenn Morris <rgm@gnu.org>
5932
5933 * ledit.el: Move to obsolete/.
5934
48c455c7
SS
59352012-06-05 Sam Steingold <sds@gnu.org>
5936
ed9265fc 5937 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
5938 patch (Bug#11140).
5939
57a7d507
SM
59402012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5941
090bd7cb 5942 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 5943
53aacf21
SM
5944 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5945 compiler-macro expansion.
5946
57a7d507
SM
5947 Add native compiler-macro support.
5948 * emacs-lisp/macroexp.el (macroexpand-all-1):
5949 Support compiler-macros directly. Properly follow aliases and apply
5950 the compiler macros more thoroughly.
5951 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5952 macroexpand now properly follows aliases.
5953 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5954 (cl-compiler-macroexpand): Use new prop.
5955 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5956
5957 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5958
51a5f9d8
MR
59592012-06-05 Martin Rudalics <rudalics@gmx.at>
5960
5961 * window.el (get-lru-window, get-mru-window, get-largest-window):
5962 New argument NOT-SELECTED to avoid picking the selected window.
5963 (window--display-buffer-1, window--display-buffer-2): Replace by
5964 new function window--display-buffer
5965 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
5966 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5967 Use window--display-buffer.
51a5f9d8
MR
5968 (display-buffer-use-some-window): Remove temporary dedication
5969 hack by calling get-lru-window and get-largest-window with
5970 NOT-SELECTED argument non-nil. Call window--display-buffer.
5971
08f9f738
GM
59722012-06-05 Glenn Morris <rgm@gnu.org>
5973
5974 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5975 Replace external vcdiff script.
5976
e364a2b7
SM
59772012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5978
5979 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5980
041df390
CY
59812012-06-04 Chong Yidong <cyd@gnu.org>
5982
e364a2b7
SM
5983 * image.el (imagemagick-types-inhibit): Revert last change.
5984 Add INFO and M.
47b36b94 5985 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 5986
7c1898a7
SM
59872012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5988
5989 * emacs-lisp/cl-lib.el: Rename from cl.el.
5990 * emacs-lisp/cl.el: New compatibility file.
5991 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5992 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5993 to obey the "cl-" prefix.
5994 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5995
0c3461de
GM
59962012-06-03 Glenn Morris <rgm@gnu.org>
5997
1e266c88
GM
5998 * emacs-lisp/authors.el (authors-aliases): Addition.
5999
0c3461de
GM
6000 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6001 Fix :version.
6002
d8a52e15
SM
60032012-06-03 Stefan Merten <smerten@oekonux.de>
6004
6005 * textmodes/rst.el: Add comments.
6006 (rst-transition, rst-adornment): New faces.
6007 (rst-adornment-faces-alist): Make default safe to reevaluate.
6008 Fixes
6009 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6010 Improve customization tags.
6011 (rst-define-level-faces): Clarify meaning.
6012
5205d6f6
CY
60132012-06-03 Chong Yidong <cyd@gnu.org>
6014
6015 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
6016 (compilation-mode-line-run, compilation-mode-line-exit):
6017 New faces.
5205d6f6
CY
6018 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6019
757ee657
JD
60202012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6021
7c1898a7
SM
6022 * progmodes/which-func.el (which-func-update-ediff-windows):
6023 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 6024
5f2c76c6
CY
60252012-06-03 Chong Yidong <cyd@gnu.org>
6026
6027 * bindings.el: Remove explicit help text from format-mode-line.
6028 It is now supplied by mode-line-default-help-echo.
6029 (mode-line-front-space, mode-line-end-spaces)
6030 (mode-line-misc-info): New variables.
6031 (mode-line-modes, mode-line-position): Move the default value to
6032 the variable definition.
6033 (mode-line-default-help-echo): New defcustom.
383f7350
CY
6034 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6035 (mode-line-modified-help-echo): New functions.
6036 (mode-line-mule-info, mode-line-modified): Use them.
6037 (mode-line-eol-desc, propertized-buffer-identification):
6038 Consistency fixes for help text.
cbe46e5f
CY
6039 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6040 set-buffer-file-coding-system (Bug#289).
6041 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 6042
f2d6a3df
SM
60432012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6044
6045 * simple.el (execute-extended-command): Set real-this-command
6046 (bug#11506).
6047
37269466
CY
60482012-06-02 Chong Yidong <cyd@gnu.org>
6049
6050 Remove incorrect uses of "modeline" in comments, docstrings, and
6051 function/variable names (Bug#10329).
6052
6053 * cus-edit.el (mode-line):
6054 * dframe.el (dframe-mouse-hscroll):
6055 * emacs-lisp/re-builder.el:
6056 * emacs-lisp/easy-mmode.el (define-minor-mode):
6057 * frame.el (set-frame-name):
6058 * help.el (lookup-minor-mode-from-indicator):
6059 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6060 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6061 (c-toggle-hungry-state):
6062 * progmodes/antlr-mode.el (antlr-language-alist):
6063 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6064 * progmodes/vhdl-mode.el (vhdl-mode):
6065 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6066 * term/ns-win.el (ns-face-at-pos):
6067 * term/sup-mouse.el (sup-mouse-report):
6068 * textmodes/flyspell.el (flyspell-mode-line-string):
6069 * textmodes/ispell.el (ispell-highlight-face):
6070 * textmodes/reftex-global.el:
6071 * vc/vc-arch.el (vc-arch-mode-line-string):
6072 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6073 * vc/vc-git.el (vc-git-mode-line-string):
6074 * vc/vc-hooks.el (vc-display-status)
6075 (vc-default-mode-line-string):
6076 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6077
6078 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6079
6080 * dired.el (dired-sort-set-mode-line): Rename from
6081 dired-sort-set-modeline. All callers changed.
6082
6083 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6084 eshell-status-in-modeline.
6085
6086 * foldout.el (foldout-mode-line-string): Rename from
6087 foldout-modeline-string. All callers changed.
6088 (foldout-update-mode-line): Rename from foldout-update-modeline.
6089
6090 * subr.el (redraw-modeline): Make into obsolete alias.
6091
6092 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6093 timeclock-modeline-display. Make old name an alias.
6094 (timeclock-update-mode-line): Likewise. All callers changed.
6095 (timeclock-mode-line-display): No need to check before using
6096 add-hook.
6097 (timeclock-relative, timeclock-day-over-hook)
6098 (timeclock-use-elapsed, timeclock-mode-string)
6099 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6100
6101 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6102 crisp-mode-modeline-string.
6103
6104 * play/solitaire.el (solitaire-build-mode-line): Rename from
6105 solitaire-build-modeline. All callers changed.
6106
6107 * play/zone.el (zone-hiding-mode-line): Rename from
6108 zone-hiding-modeline. All callers changed.
6109 (zone): Remove unusued `modeline-hidden-level' property.
6110
6111 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6112 xscheme-modeline-initialize. All callers changed.
6113
6114 * strokes.el (strokes-lighter): Rename from
6115 strokes-modeline-string.
6116
6117 * textmodes/sgml-mode.el (html-face-tag-alist)
6118 (html-tag-face-alist): Use mode-line face instead of obsolete
6119 alias modeline.
6120
42152ee4
SM
61212012-06-02 Stefan Merten <smerten@oekonux.de>
6122
6123 * textmodes/rst.el: Always require `cl'.
4cf9b38d 6124 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 6125
95f520b5
CY
61262012-06-02 Chong Yidong <cyd@gnu.org>
6127
6128 * image.el (imagemagick-enabled-types): Rename from
6129 imagemagick-types-enable. Add many more types.
6130 (imagemagick-types-inhibit): Change default to nil.
6131 (imagemagick-filter-types): Caller changed.
6132
4a5f187a
SM
61332012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6134
03fef3e6
SM
6135 * emacs-lisp/cl-macs.el: Use backquotes.
6136 (cl-transform-function-property): Use eval-and-compile rather than
6137 abusing `require'.
6138 (defstruct): Use declare-function instead of with-no-warnings.
6139
4a5f187a
SM
6140 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6141 (byte-compile-output-docform): Re-add the print-circle bindings.
6142 (byte-compile-fix-header): Use #$ just because it's shorter.
6143 (byte-compile-output-file-form): Remove defun/defmacro.
6144
bd56924f
MR
61452012-06-01 Martin Rudalics <rudalics@gmx.at>
6146
6147 * simple.el (choose-completion): Remove now obsolete binding for
6148 owindow.
6149
046e38ce
MA
61502012-06-01 Michael Albinus <michael.albinus@gmx.de>
6151
6152 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6153 in order to avoid "Stack overflow in regexp matcher".
6154
32d72c2f
GM
61552012-05-31 Glenn Morris <rgm@gnu.org>
6156
6157 * image.el: For clarity, call imagemagick-register-types at
6158 top-level, rather than relying on a custom :initialize.
6159 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
6160 (imagemagick-filter-types): New function. (Bug#7406)
6161 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
6162 If disabling support, remove elements altogether rather
6163 than using an impossible regexp.
6164 (imagemagick-types-inhibit): Give it the default init function.
6165
dd41169b
SM
61662012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6167
4a5f187a
SM
6168 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6169 Handle arbitrary file name lengths (Bug#11585).
dd41169b 6170
efc00ab1 61712012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
6172
6173 * desktop.el (desktop-read): Clear previous and next buffers for
6174 all windows and bury *Messages* buffer (bug#11556).
6175
500fcedc
SM
61762012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6177
6178 Add `declare' for `defun'. Align `defmacro's with it.
6179 * emacs-lisp/easy-mmode.el (define-minor-mode)
6180 (define-globalized-minor-mode): Don't autoload the var definitions.
6181 * emacs-lisp/byte-run.el: Use lexical-binding.
6182 (defun-declarations-alist, macro-declarations-alist): New vars.
6183 (defmacro, defun): Use them.
6184 (make-obsolete, define-obsolete-function-alias)
6185 (make-obsolete-variable, define-obsolete-variable-alias):
6186 Use `declare'.
6187 (macro-declaration-function): Mark obsolete.
6188 * emacs-lisp/autoload.el: Use lexical-binding.
6189 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6190
6e8a1786
AM
61912012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6192
6193 * textmodes/ispell.el (ispell-with-no-warnings):
6194 Define as a macro.
500fcedc
SM
6195 (ispell-kill-ispell, ispell-change-dictionary):
6196 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
6197 `interactive-p'.
6198
61b108cc
SM
61992012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6200
6201 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6202 (macro-declaration-function): Move var from C code.
6203 (macro-declaration-function): Define function with defalias.
6204 * emacs-lisp/macroexp.el (macroexpand-all-1):
6205 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6206 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6207 defun/defmacro any more.
6208 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6209 Provide fallback for unknown arglist.
6210 (byte-compile-arglist-warn): Change calling convention.
6211 (byte-compile-output-file-form): Move print-vars binding.
6212 (byte-compile-output-docform): Simplify accordingly.
6213 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6214 (byte-compile-defmacro-declaration): Remove.
6215 (byte-compile-file-form-defmumble): Generalize to defalias.
6216 (byte-compile-output-as-comment): Return byte-positions.
6217 Simplify callers accordingly.
6218 (byte-compile-lambda): Use `assert'.
6219 (byte-compile-defun, byte-compile-defmacro): Remove.
6220 (byte-compile-file-form-defalias):
6221 Use byte-compile-file-form-defmumble.
6222 (byte-compile-defalias-warn): Remove.
6223
6d3f7c2f
SM
62242012-05-29 Stefan Merten <smerten@oekonux.de>
6225
6226 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 6227 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
6228
6229 (rst-mode-abbrev-table): Merge definition.
6230 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6231 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6232
6dbaa1c7
UJ
62332012-05-29 Ulf Jasper <ulf.jasper@web.de>
6234
6235 * calendar/icalendar.el
6236 (icalendar-export-region): Export UID properly.
6237
d209e2fb 62382012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
6239 * calendar/icalendar.el (icalendar-import-format):
6240 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
6241 (icalendar-import-format-uid): New.
6242 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6243 Export UID.
6244
6876a58d
SM
62452012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6246
6247 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6248 different alternative patterns.
6249 (pcase-codegen): Be more careful to preserve identity.
6250 (pcase--u1): Don't forget to mark vars as used.
6251
6252 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6253 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6254 (byte-compile-from-buffer): ...rather than here.
6255
6256 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6257 functions from byte-compile-function-environment.
6258
46b7967e
TN
62592012-05-29 Troels Nielsen <bn.troels@gmail.com>
6260
6261 * window.el (window-deletable-p): Avoid deleting the root window
6262 of a frame with an active minibuffer.
6263
69d565e2
MR
62642012-05-29 Martin Rudalics <rudalics@gmx.at>
6265
6266 * simple.el (choose-completion): Use quit-window (Bug#11567).
6267
a149fa51
CY
62682012-05-29 Chong Yidong <cyd@gnu.org>
6269
6270 * whitespace.el (whitespace-cleanup): Fix usage of
6271 whitespace-empty-at-bob-regexp (Bug#11492).
6272
2b311310
AH
62732012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6274
6275 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6276 revert (Bug#11488).
6277
b9cb2387
JL
62782012-05-29 Juri Linkov <juri@jurta.org>
6279
6280 * isearch.el (isearch-mode-map): Bind `M-s _' to
6281 `isearch-toggle-symbol'. Bind `M-s c' to
6282 `isearch-toggle-case-fold'.
6283 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6284 (isearch-forward): Add `M-s _' to the docstring.
6285 (isearch-forward-symbol, isearch-toggle-case-fold)
6286 (isearch-symbol-regexp): New functions. (Bug#11381)
6287
d5e61c1c
JL
62882012-05-29 Juri Linkov <juri@jurta.org>
6289
6290 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6291 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6292 a function, call it to get the regexp.
6293 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6294 property `isearch-message-prefix' instead of the string "word ".
6295 (isearch-search-fun-default): For the case of `isearch-word',
6296 return a lambda that calls re-search-forward/re-search-backward
6297 with a regexp returned by `word-search-regexp' or by the function
6298 in `isearch-word'.
6299
8cbd80f7
JL
63002012-05-29 Juri Linkov <juri@jurta.org>
6301
6302 * isearch.el (isearch-search-fun-default): New function.
6303 (isearch-search-fun): Move default part to the new function
6304 `isearch-search-fun-default'.
6305 (isearch-search-fun-function): Set the default value to
6306 `isearch-search-fun-default'. (Bug#11381)
6307
6308 * comint.el (comint-history-isearch-end):
6309 Use `isearch-search-fun-default'.
6310 (comint-history-isearch-search): Use `isearch-search-fun-default'
6311 and remove spacial case for `isearch-word'.
6312 (comint-history-isearch-wrap): Remove spacial case for
6313 `isearch-word'.
6314
6315 * hexl.el (hexl-isearch-search-function):
6316 Use `isearch-search-fun-default'.
6317
6318 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6319 Use `word-search-regexp' for `isearch-word'.
6320
6321 * misearch.el (multi-isearch-search-fun):
6322 Use `isearch-search-fun-default'.
6323
6324 * simple.el (minibuffer-history-isearch-search):
6325 Use `isearch-search-fun-default' and remove spacial case for
6326 `isearch-word'.
6327 (minibuffer-history-isearch-wrap): Remove spacial case for
6328 `isearch-word'.
6329
6330 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6331 Remove spacial case for `isearch-word'.
6332 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6333
85c8c5b6
AM
63342012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6335
6336 Decrease XEmacs incompatibilities.
6337 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6338 Use `string-match'.
6339 (flyspell-delete-region-overlays): Use alternative definition for
6340 XEmacs.
6341 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6342 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6343 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6344 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6345 `define-obsolete-face-alias' under XEmacs, but old method.
6346
6347 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6348 `with-no-warnings' definition or Emacs alias.
6349 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6350 (ispell-word): Do not use `region-p' if XEmacs.
6351
8cab9efc
AM
63522012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6353
6354 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6355 Check for `ispell-dictionary-base-alist' instead of full
6356 `ispell-dictionary-alist'.
6357 (ispell-init-process): Show spellchecker when starting new Ispell
6358 process.
6359
fda91268
RZ
63602012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6361
6362 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6363 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6364
694ea8e3
JB
63652012-05-27 Juanma Barranquero <lekktu@gmail.com>
6366
6367 * version.el (motif-version-string, gtk-version-string)
6368 (ns-version-string): Declare.
6369
e4d4f539
JL
63702012-05-27 Juri Linkov <juri@jurta.org>
6371
6372 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6373 after the `eval-defun-1' specialcaseing
6374 like in `edebug-eval-defun' (bug#10181).
6375
6376 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6377 like in `eval-defun-1'.
6378
33017faf 63792012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 6380
fda91268
RZ
6381 * mail/sendmail.el (mail-yank-region):
6382 Recognize rmail-yank-current-message in addition to insert-buffer.
6383 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
6384 a *mail* buffer created through rmail-start-mail with sendmail as
6385 mail-user-agent.
6386
33017faf
GM
63872012-05-27 Chong Yidong <cyd@gnu.org>
6388
6389 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6390 Default to 256 (Bug#11267).
6391
6392 * help.el (describe-mode): Doc fix.
6393
04188bb9
GM
63942012-05-26 Glenn Morris <rgm@gnu.org>
6395
38264cc9
GM
6396 * w32-fns.el (w32-init-info): Remove.
6397 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6398
eb7afdad
GM
6399 * info.el (info-initialize): For self-contained NS builds, put the
6400 included info/ directory at the front. (Bug#2791)
6401
04188bb9
GM
6402 * paths.el (Info-default-directory-list): Make it a defcustom,
6403 mainly so that we can use custom-initialize-delay.
6404
a179e3f7
SM
64052012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6406
43416392
SM
6407 * subr.el (buffer-has-markers-at): Mark obsolete.
6408
a179e3f7 6409 * subr.el (lambda): Use declare.
43416392 6410
a179e3f7
SM
6411 * emacs-lisp/lisp-mode.el (lambda):
6412 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6413
34a008d9
AH
64142012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6415
6416 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6417
0a3b289f
GM
64182012-05-26 Glenn Morris <rgm@gnu.org>
6419
6420 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6421
758c81e8
GM
64222012-05-25 Glenn Morris <rgm@gnu.org>
6423
f9f334f0
GM
6424 * paths.el: Remove no-byte-compile.
6425 * loadup.el: No need to load paths.el uncompiled.
6426
87eb79c2
GM
6427 * image.el (imagemagick-types-inhibit): Doc fix.
6428
758c81e8
GM
6429 * version.el: Remove no-byte-compile and associated formatting.
6430 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6431 is ancient code from when there was an "inc-vers.el".
6432
e7e85dc0
SM
64332012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6434
6435 * progmodes/gdb-mi.el: Minor style changes.
6436 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6437 Turn into minor modes.
6438 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6439 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6440 (gdb-shell): Remove unneeded let-binding.
6441 (gdb-get-many-fields): Eliminate O(n²) behavior.
6442
f31237a4
EZ
64432012-05-25 Eli Zaretskii <eliz@gnu.org>
6444
6445 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6446 platforms that don't link in fontset.c.
6447
bc1b21bb
JL
64482012-05-25 Juri Linkov <juri@jurta.org>
6449
6450 Use the same diff color scheme as in modern VCSes (bug#10181).
6451
6452 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6453 to avoid confusion with `diff-added' that now uses green colors.
6454 (diff-removed): Use shades of red.
6455 (diff-added): Use shades of green.
6456 (diff-changed): Leave just the yellow color.
6457 (diff-use-changed-face): New variable.
6458 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6459 how to highlight context diff changes.
6460 (diff-refine-change): Use shades of yellow.
6461 (diff-refine-removed): New face that uses shades of red.
6462 (diff-refine-added): New face that uses shades of green.
6463 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6464 `diff-refine-removed' in the call to `smerge-refine-subst'
6465 depending on the value of `diff-use-changed-face'.
6466
6467 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6468 (smerge-other): Use shades of green.
6469 (smerge-base): Use shades of yellow.
6470 (smerge-refined-change): Empty face.
6471 (smerge-refined-removed): New face that uses shades of red.
6472 (smerge-refined-added): New face that uses shades of green.
6473 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6474 args `props-r' and `props-a', and use them. Doc fix.
6475 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6476 on its value use different faces `smerge-refined-change',
6477 `smerge-refined-removed', `smerge-refined-added' in the call to
6478 `smerge-refine-subst'.
6479
6480 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6481 Add face condition `min-colors 88' with shades of red.
6482 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6483 `min-colors 88' with shades of green.
6484 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6485 `min-colors 88' with shades of yellow.
6486
6df9112c
GM
64872012-05-24 Glenn Morris <rgm@gnu.org>
6488
ead5edc0
GM
6489 * paths.el (prune-directory-list, remote-shell-program): Move to...
6490 * files.el (prune-directory-list, remote-shell-program): ...here.
6491 For the latter, delay initialization, prefer ssh, just search PATH.
6492
f18b81e6
GM
6493 * paths.el (term-file-prefix): Move to faces.el (the only user).
6494 * faces.el (term-file-prefix): Move here, make it a defcustom.
6495
ee2f89a6
GM
6496 * paths.el (news-directory, news-path, news-inews-program):
6497 Move to gnus/nnspool.el.
61a583ca 6498
f8815e4c
GM
6499 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6500
c8f3b42c
GM
6501 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6502 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6503 Make the latter a defcustom, with a delayed initialization.
6504
6df9112c
GM
6505 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6506 These were deleted from Gnus itself late 2010.
6507
5dadff36
JB
65082012-05-22 Juanma Barranquero <lekktu@gmail.com>
6509
9e1701c6
JB
6510 * progmodes/which-func.el (which-func-ff-hook):
6511 Check against user-error, not error.
6512
bd7239f5 6513 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
6514 cl-specs.el, which no longer exists.
6515
3290526d
GM
65162012-05-22 Glenn Morris <rgm@gnu.org>
6517
6518 * info.el (info-emacs-bug): New command.
6519 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6520 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6521
ff0c3cfb
GM
65222012-05-21 Glenn Morris <rgm@gnu.org>
6523
6524 * makefile.w32-in (update-subdirs-SH):
6525 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6526
5814f126
SM
65272012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6528
a52c0aa0
SM
6529 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6530
5814f126
SM
6531 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6532 Simplify Maven regexp, and make sure the file can't start with a space
6533 (bug#11517).
6534
b847032c
GM
65352012-05-21 Glenn Morris <rgm@gnu.org>
6536
6537 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6538 Scrap superfluous subshells.
6539
3858bfe7
SM
65402012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6541
6542 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6543 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6544
d14b0029
JB
65452012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6546
6547 * calc/calc.el (calc-ensure-consistent-units): New variable.
6548
a52c0aa0
SM
6549 * calc/calc-units.el (math-consistent-units-p)
6550 (math-check-unit-consistency): New functions.
6551 (calc-quick-units, calc-convert-units):
6552 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6553 is non-nil.
d14b0029
JB
6554 (calc-extract-units): Fix typo.
6555
60c4db3a
SM
65562012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6557
77f3b62e
SM
6558 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6559
60c4db3a
SM
6560 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6561 (flyspell-default-deplacement-commands): Don't spell check after
6562 repeated window/frame switches (e.g. triggered by mouse-movement).
6563 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6564 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6565 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6566 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6567 Remove unused vars.
6568 (flyspell-get-casechars, flyspell-get-not-casechars):
6569 Simplify; Don't bother removing a ] just to add it back.
6570 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6571
d209e2fb 65722012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
6573
6574 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6575 New functions.
bd7239f5 6576 (math-function-table): Add support for more C functions.
b1a10716 6577
3f1b25b5
AM
65782012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6579
090bd7cb
JB
6580 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6581 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6582 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 6583
b581bb5c
SM
65842012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6585
6586 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6587 their respective macro declarations.
6588 * skeleton.el (define-skeleton):
6589 * progmodes/compile.el (define-compilation-mode):
6590 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6591 (define-ibuffer-filter):
6592 * emacs-lisp/generic.el (define-generic-mode):
6593 * emacs-lisp/easy-mmode.el (define-minor-mode)
6594 (define-globalized-minor-mode):
6595 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6596 * emacs-lisp/byte-run.el (defsubst):
6597 * custom.el (deftheme): Add doc-string metadata.
6598
70b8ef8f
SM
65992012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6600
6601 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6602
b1198e17
SM
66032012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6604
9abdc45d
SM
6605 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6606
b1198e17
SM
6607 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6608 * emacs-lisp/cl-macs.el: Idem.
6609 * emacs-lisp/cl-specs.el: Remove.
6610
4735906a
SM
66112012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6612
6613 Minor renaming of internal CL functions and variables.
6614 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6615 (cl--position): Rename from cl-position.
6616 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6617 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6618 (cl--random-state): Rename from *random-state*.
6619
ac348012
SM
66202012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6621
6622 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6623 parens around the arg list (bug#11499).
6624
a0a79cde
JL
66252012-05-17 Juri Linkov <juri@jurta.org>
6626
6627 * isearch.el (word-search-regexp, word-search-backward)
6628 (word-search-forward, word-search-backward-lax)
6629 (word-search-forward-lax): Move functions from search.c
6630 (bug#10145, bug#11381).
6631
65034a51
AM
66322012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6633
090bd7cb
JB
6634 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6635 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6636 Delay for otherchars as for normal word components.
65034a51 6637
1a72a195
SM
66382012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6639
6640 * minibuffer.el (completion--sifn-requote): Fix last change.
6641 (minibuffer-local-must-match-filename-map):
6642 Move define-obsolete-variable-alias before its var.
6643
fdb058c2
SM
66442012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6645
c41045e6
SM
6646 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6647
036dfb8b
SM
6648 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6649 behavior.
6650 (completion--string-equal-p): New function.
6651 (completion--twq-all): Use it to get better assertion failure data.
6652
2473256d
SM
6653 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6654 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6655 (shell--requote-argument): New functions.
6656 (shell-completion-vars): Use them.
6657 (shell--parse-pcomplete-arguments): Rename from
6658 shell-parse-pcomplete-arguments.
6659 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6660 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6661 Obey comint-file-name-quote-list.
6662
fdb058c2
SM
6663 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6664 (smie-indent-keyword): Use it.
6665
51fa99f1
SM
66662012-05-14 Stefan Merten <smerten@oekonux.de>
6667
6668 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6669
e18afed7 66702012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
6671
6672 * net/rlogin.el (rlogin-mode-map): Fix last change.
6673
e18afed7 66742012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
6675
6676 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6677 the following \r\n using a single `process-send-string', since the
6678 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 6679 with two `process-send-string's (Bug#11444).
8633b1f4 6680
e18afed7 66812012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 6682
fdb058c2
SM
6683 * shell.el (shell-parse-pcomplete-arguments):
6684 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 6685
2d21d7f6
WJ
66862012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6687
e18afed7 6688 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
6689 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6690 (image-transform-width, image-transform-fit-width): New functions.
6691 (image-transform-properties): Use them.
6692 (image-transform-check-size): New function.
6693 (image-toggle-display-image): Use it (for testing).
6694 (image-transform-set-rotation): Reduce angle mod 360.
6695 Delete obsolete comment.
6696
7102e6d0
WJ
66972012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6698
6699 * image-mode.el: Fix scaling (bug#11399).
6700 (image-transform-resize): Doc fix.
6701 (image-transform-properties): Default scale is 1 and height should
6702 be an integer.
6703
06bc5e6e
SM
67042012-05-13 Johan Bockgård <bojohan@gnu.org>
6705
6706 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6707 than hard-coding `car', to fix misbehavior when moving forward.
6708
0ae03b6a
CY
67092012-05-13 Chong Yidong <cyd@gnu.org>
6710
6711 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6712 (tabulated-list-entries, tabulated-list-padding)
6713 (tabulated-list-sort-key): Make permanent-local.
6714
6715 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6716 (electric-buffer-list): Put electric buffer menu
6717 command descriptions in this docstring, instead of the docstring
6718 of electric-buffer-menu-mode. Code cleanups.
6719 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6720 Electric-buffer-menu-mode.
6721 (electric-buffer-update-highlight): Minor code cleanup.
6722
205a7391
MA
67232012-05-13 Michael Albinus <michael.albinus@gmx.de>
6724
6725 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6726 (Bug#11447)
6727
e5bd0a28
SM
67282012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6729
6730 Move define-obsolete-variable-alias before the var's definition.
6731 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6732 * tooltip.el (tooltip-hook):
6733 * textmodes/reftex-toc.el (reftex-toc-map):
6734 * textmodes/reftex-sel.el (reftex-select-label-map)
6735 (reftex-select-bib-map):
6736 * textmodes/reftex-index.el (reftex-index-map)
6737 (reftex-index-phrases-map):
6738 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6739 * progmodes/meta-mode.el (meta-mode-map):
6740 * novice.el (disabled-command-hook):
6741 * loadhist.el (unload-hook-features-list):
6742 * frame.el (blink-cursor):
6743 * files.el (find-file-not-found-hooks, write-file-hooks)
6744 (write-contents-hooks):
6745 * emulation/tpu-edt.el (GOLD-map):
6746 * emacs-lock.el (emacs-lock-from-exiting):
6747 * emacs-lisp/generic.el (generic-font-lock-defaults):
6748 * emacs-lisp/chart.el (chart-map):
6749 * dos-fns.el (register-name-alist):
6750 * dired-x.el (dired-omit-files-p):
6751 * desktop.el (desktop-enable):
6752 * cus-edit.el (custom-mode-hook):
6753 * buff-menu.el (buffer-menu-mode-hook):
6754 * bookmark.el (bookmark-read-annotation-text-func)
6755 (bookmark-exit-hooks):
6756 * allout.el (allout-mode-deactivate-hook)
6757 (allout-exposure-change-hook, allout-structure-added-hook)
6758 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6759 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6760 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6761 comes before the corresponding variable's definition.
6762
ac59c2f6
CY
67632012-05-12 Chong Yidong <cyd@gnu.org>
6764
6765 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
6766 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6767 (Buffer-menu-mode-map): Bind it.
6768 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 6769
dee6c9a3
SM
67702012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6771
2171cea5
SM
6772 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6773 (prolog-upper-case-string, prolog-lower-case-string)
6774 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6775 (prolog-use-smie, prolog-smie-grammar): New vars.
6776 (prolog-smie-forward-token, prolog-smie-backward-token)
6777 (prolog-smie-rules): New funs.
6778 (prolog-comment-indent): Remove.
6779 (prolog-mode-variables): Use default comment indentation instead.
6780 Setup SMIE.
6781 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6782 (prolog-mode): Don't call them any more.
6783 (prolog-electric-colon, prolog-electric-dash)
6784 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6785
aa0382bd
SM
6786 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6787
dbacb4bd
SM
6788 * minibuffer.el (completion--twq-all): Again, allow case differences.
6789
13bdd94c
SM
6790 * term.el: Move keymap initialization code to be more idiomatic.
6791 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6792 (term-terminal-menu): Move initialization into declaration.
6793 (term-escape-char): Let the user set it in her .emacs.
6794
ff46c759
SM
6795 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6796 Provide SMIE-based indentation (not enabled by default yet).
6797 (sh-mode-map): Don't bind electric keys.
6798 Use electric-pair-mode instead of skeleton-pair.
6799 (sh-assignment-regexp): Fit within 80 columns.
6800 (sh-indent-supported): Specify actual shell name instead of boolean.
6801 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6802 (sh-maybe-here-document): Use it. Make obsolete.
6803 (sh-electric-here-document-mode) New minor mode.
6804 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6805 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6806 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6807 (sh-smie-rc-grammar, sh-use-smie): New vars.
6808 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6809 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6810 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6811 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6812 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6813 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6814 (sh-set-shell): Use smie-setup if requested.
6815
dee6c9a3
SM
6816 * term.el (term-set-escape-char): Properly set term-escape-char.
6817 See http://stackoverflow.com/questions/10524656.
6818
9f9aa044
CY
68192012-05-10 Chong Yidong <cyd@gnu.org>
6820
6821 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6822 Use url-generic-parse-url, and handle host names and Windows
6823 filenames properly.
6824 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6825 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6826 URL schemes to work on.
6827 (ffap--toggle-read-only): New function.
6828 (ffap-read-only, ffap-read-only-other-window)
6829 (ffap-read-only-other-frame): Use it.
6830 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6831 necessary for ffap-url-unwrap-remote.
6832
836d29b3
DA
68332012-05-10 Dave Abrahams <dave@boostpro.com>
6834
6835 * cus-start.el (create-lockfiles): Add it.
6836
00fd78ed
CY
68372012-05-09 Chong Yidong <cyd@gnu.org>
6838
6839 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6840 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6841
666b903b 68422012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
6843
6844 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6845
666b903b 68462012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
6847
6848 * ansi-color.el (ansi-color-process-output): Check for validity of
6849 comint-last-output-start before using it. This avoids a bad
6850 interaction with gdb-mi's input/output buffer.
6851
666b903b 68522012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
6853
6854 * files.el (dir-locals-read-from-file):
6855 Mention dir-locals in any error message.
6856
666b903b 68572012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
6858
6859 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6860 package (Bug#11410).
6861
f677562b
CY
6862 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6863 variables into description.
6864
666b903b 68652012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
6866
6867 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6868 shell-delimiter-argument-list (bug#11348).
6869 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6870
b499d8d0
JB
68712012-05-09 Juanma Barranquero <lekktu@gmail.com>
6872
8f6b6da8
JB
6873 * textmodes/rst.el: Silence byte-compiler warnings.
6874 (rst-re-alist, rst-reset-section-caches): Move around.
6875 (rst-re): Use `characterp', not `char-valid-p'.
6876 (font-lock-beg, font-lock-end): Declare.
6877
4824146a
JB
6878 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6879 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6880
b499d8d0
JB
6881 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6882
ad89bb83
GM
68832012-05-08 Glenn Morris <rgm@gnu.org>
6884
6885 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6886
8bba5a75
SM
68872012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6888
49ed9c8e
SM
6889 * vc/log-edit.el: Add GNU coding standards highlighting.
6890 (log-edit-font-lock-gnu-style)
6891 (log-edit-font-lock-gnu-keywords): New vars.
6892 (log-edit-font-lock-keywords): New fun.
6893 (log-edit-mode): Don't fold case in font-lock.
6894 (log-edit-font-lock-keywords): Do not assume case-folding.
6895
07d00b56
SM
6896 * imenu.el: Misc cleanup. Make docstrings out of comments.
6897 Use lexical-binding.
6898 (imenu--index-alist, imenu--last-menubar-index-alist)
6899 (imenu-menubar-modified-tick): Use defvar-local.
6900 (imenu--split-menu): Remove unused var.
6901 (imenu--cleanup-seen): Declare as global.
6902 (imenu--cleanup): Use dolist.
6903
8bba5a75
SM
6904 * subr.el (defvar-local): Add debug spec and doc-string position.
6905
5075bdb5
GM
69062012-05-08 Glenn Morris <rgm@gnu.org>
6907
090bd7cb 6908 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
6909 * language/english.el, language/georgian.el, language/greek.el:
6910 * language/japanese.el, language/khmer.el, language/korean.el:
6911 * language/lao.el, language/misc-lang.el, language/romanian.el:
6912 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6913 * language/thai.el, language/utf-8-lang.el:
6914 Remove no-byte-compile setting.
6915
5075bdb5
GM
6916 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6917
06f679a7
AH
69182012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6919
6920 * progmodes/make-mode.el (makefile-browse):
6921 Remove unnecessary interactive. (Bug#11324)
6922
03794570
GM
69232012-05-07 Glenn Morris <rgm@gnu.org>
6924
af8630f4
GM
6925 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6926
03794570
GM
6927 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6928
f0809a9d
SM
69292012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6930
28be5ce7
SM
6931 * loadup.el: Preload newcomment.el.
6932 * newcomment.el: Move autoload-only code to toplevel.
6933
f0809a9d
SM
6934 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6935 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6936 Handle new :right-align column property.
6937 (tabulated-list-print-col): Idem, plus use `display' text-property to
6938 try and preserve alignment for variable pitch fonts.
6939
1241b724
CY
69402012-05-07 Chong Yidong <cyd@gnu.org>
6941
6942 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6943 (tabulated-list-use-header-line): New var.
6944 (tabulated-list-init-header): Use it.
6945 (tabulated-list-print-fake-header): New function.
6946 (tabulated-list-print): Use it.
6947 (tabulated-list-sort-button-map): Add non-header-line commands.
6948 (tabulated-list-init-header): Add column name property to basic
6949 labels as well.
6950 (tabulated-list-col-sort): Handle non-header-line button case.
6951 (tabulated-list--sort-by-column-name): Fix a corner case.
6952
f0809a9d
SM
6953 * buff-menu.el (list-buffers--refresh):
6954 Handle Buffer-menu-use-header-line.
1241b724 6955
e5f9458f
CY
69562012-05-06 Chong Yidong <cyd@gnu.org>
6957
6958 * buff-menu.el: Convert to Tabulated List mode.
6959 (Buffer-menu-buffer+size-width): Make obsolete.
6960 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6961 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6962 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
6963 documentation into docstring of buffer-menu.
6964 (Buffer-menu-toggle-files-only): Add an informative message.
6965 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6966 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6967 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6968 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6969 (Buffer-menu-execute, Buffer-menu-select)
6970 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6971 (Buffer-menu-bury): Use Tabulated List machinery.
6972 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6973 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 6974 Delete.
e5f9458f
CY
6975 (list-buffers--refresh): New function.
6976 (list-buffers-noselect): Use it.
6977 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6978 (Buffer-menu--pretty-file-name): New helper functions.
6979
6980 * loadup.el: Preload tabulated-list.
6981
6982 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6983 tabulated-list-sort-column.
6984 (tabulated-list-init-header): Add the initial aligning space even
6985 if tabulated-list-padding is zero.
6986
e129292c
CS
69872012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6988
6989 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6990 whose cdr is not a cons cell correctly (bug#11038).
6991
6632d361
CY
69922012-05-06 Chong Yidong <cyd@gnu.org>
6993
e129292c
CS
6994 * emacs-lisp/tabulated-list.el (tabulated-list-format):
6995 Accept additional plist in column descriptors.
6632d361
CY
6996 (tabulated-list-init-header): Obey it.
6997 (tabulated-list-get-entry): New function.
6998 (tabulated-list-put-tag): Use it. Use string-width instead of
6999 length.
7000 (tabulated-list--column-number): New function.
7001 (tabulated-list-print): Use it.
e129292c
CS
7002 (tabulated-list-print-col): New function.
7003 Set `tabulated-list-column-name' property on each column's text.
6632d361 7004 (tabulated-list-print-entry): Use it.
e129292c
CS
7005 (tabulated-list-delete-entry, tabulated-list-set-col):
7006 New functions.
6632d361
CY
7007 (tabulated-list-sort-column): New command (Bug#11337).
7008
3cc99f68
CY
7009 * buff-menu.el (list-buffers): Move C-x C-b binding from
7010 buff-menu.el to bindings.el.
7011
7012 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7013 :advertised-binding feature.
7014
52b61776
TN
70152012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7016
7017 * progmodes/compile.el (compilation-internal-error-properties):
7018 Calculate start position correctly when end-col is set but
7019 end-line is not (Bug#11382).
7020
ebfe2597
WJ
70212012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7022
7023 * man.el (Man-unindent): Use text-property-default-nonsticky to
7024 prevent untabify from inheriting face properties (Bug#11408).
7025
6d3f7c2f
SM
70262012-05-05 Stefan Merten <smerten@oekonux.de>
7027
7028 * textmodes/rst.el: Major merge with upstream development up to
7029 Docutils SVN r7399 / rst.el V1.2.1.
7030
7031 Clarify maintainership and authors.
7032
7033 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7034 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7035 (rst-official-version, rst-official-cvs-rev, rst-version)
7036 (rst-package-emacs-version-alist): New functions and variables
7037 for version information.
7038
7039 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7040 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7041 (rst-mode-syntax-table, rst-mode): New and corrected functions
7042 and variables representing reStructuredText features.
7043
7044 (rst-re): New function for reStructuredText regexes. Use in
7045 many places.
7046
7047 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7048 (rst-mode-map): Rebind keys.
7049
7050 (rst-mode-lazy, rst-font-lock-keywords)
7051 (rst-font-lock-extend-region)
7052 (rst-font-lock-extend-region-internal)
7053 (rst-font-lock-extend-region-extend)
7054 (rst-font-lock-find-unindented-line-limit)
7055 (rst-font-lock-find-unindented-line-match)
7056 (rst-adornment-level, rst-font-lock-adornment-level)
7057 (rst-font-lock-adornment-match)
7058 (rst-font-lock-handle-adornment-pre-match-form)
7059 (rst-font-lock-handle-adornment-matcher): Major revision of
7060 font-locking. Integrate with other code. Use `jit-lock-mode'.
7061
7062 (rst-preferred-adornments, rst-adjust-hook)
7063 (rst-new-adornment-down, rst-preferred-bullets)
7064 (rst-preferred-bullets, rst-indent, rst-indent-width)
7065 (rst-indent-field, rst-indent-literal-normal)
7066 (rst-indent-literal-minimized, rst-indent-comment): Change,
7067 extend and improve customization.
7068
7069 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7070 (rst-normalize-cursor-position, rst-get-decoration)
7071 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7072 (rst-rstrip, rst-toc-insert-find-delete-contents)
7073 (rst-shift-fill-region, rst-compute-bullet-tabs)
7074 (rst-debug-print-tabs, rst-debug-mark-found)
7075 (rst-shift-region-guts, rst-shift-region-right)
7076 (rst-shift-region-left, rst-use-char-classes)
7077 (rst-font-lock-keywords-function)
7078 (rst-font-lock-indentation-point)
7079 (rst-font-lock-find-unindented-line-begin)
7080 (rst-font-lock-find-unindented-line-end)
7081 (rst-font-lock-find-unindented-line)
7082 (rst-font-lock-adornment-point, rst-font-lock-level)
7083 (rst-adornment-level-alist): Remove functions and variables.
7084
7085 (rst-compare-adornments, rst-get-adornment-match)
7086 (rst-suggest-new-adornment, rst-get-adornments-around)
7087 (rst-adornment-complete-p, rst-get-next-adornment)
7088 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7089 (rst-straighten-adornments): Standardize function names to
7090 use "adornment" instead of "decoration". Correct callers.
7091 Similar standardizing in many places.
7092
7093 (rst-update-section, rst-adjust, rst-promote-region)
7094 (rst-enumerate-region, rst-bullet-list-region)
7095 (rst-repeat-last-character): Correct use of `interactive'.
7096
7097 (rst-classify-adornment, rst-find-all-adornments)
7098 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7099 (rst-find-leftmost-column, rst-repeat-last-character):
7100 Refactor functions.
7101
7102 (rst-find-title-line, rst-reset-section-caches)
7103 (rst-get-adornments-around, rst-adjust-adornment-work)
7104 (rst-arabic-to-roman, rst-roman-to-arabic)
7105 (rst-insert-list-pos, rst-insert-list-new-item)
7106 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7107 New functions.
7108
7109 (rst-all-sections, rst-section-hierarchy)
7110 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7111 New variables.
7112
7113 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7114 configuration instead of only buffer. Change where necessary.
7115
7116 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7117 (rst-shift-region, rst-adaptive-fill): New functions for
7118 indentation and filling.
7119
7120 (rst-comment-line-break, rst-comment-indent)
7121 (rst-comment-insert-comment, rst-comment-region)
7122 (rst-uncomment-region): New functions for handling comments.
7123
7124 (rst-compile): Quote shell arguments.
7125
7126 (rst-compile-pdf-preview, rst-compile-slides-preview):
7127 Delete temporary files after use.
7128
a43f98b3
GM
71292012-05-05 Glenn Morris <rgm@gnu.org>
7130
48176e8b
GM
7131 * calendar/cal-html.el: Optionally include holidays in the output.
7132 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7133 (cal-html-holidays): New option.
7134 (cal-html-css-default): Add holiday entry.
7135 (holiday-in-range): Autoload it.
7136 (cal-html-htmlify-entry): Add optional class argument.
7137 (cal-html-htmlify-list): Add optional holidays argument.
7138 (cal-html-insert-agenda-days): Include holidays in the output.
7139 (cal-html-one-month): Maybe include holidays.
7140
a43f98b3
GM
7141 * calendar/holidays.el (holiday-in-range):
7142 Move here from cal-tex-list-holidays.
7143 * calendar/cal-tex.el (cal-tex-list-holidays):
7144 Make it an obsolete alias for holiday-in-range. Update all callers.
7145
fef9d149 71462012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
7147
7148 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7149 Nextstep.
7150
248da2f4
RW
71512012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7152
7153 * files.el (file-auto-mode-skip): New var.
7154 (set-auto-mode-1): Use it.
7155
f95e9344
SM
71562012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7157
df96ab1e
SM
7158 * repeat.el: Use lexical-binding.
7159 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7160 (repeat-undo-count): Remove.
7161 (repeat):
7162 * progmodes/octave-mod.el (octave-abbrev-start):
7163 * progmodes/f90.el (f90-abbrev-start):
7164 * face-remap.el (text-scale-adjust):
7165 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7166
5342bb06
SM
7167 * emacs-lisp/pcase.el (pcase--let*): New function.
7168 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7169 a bit more.
7170 (pcase--split-pred): Be more clever about ruling out overlap between
7171 a predicate and some constant pattern.
7172 (pcase--q1): Use `null' instead of (eq foo nil).
7173
f95e9344
SM
7174 * subr.el (setq-local, defvar-local): New macros.
7175 (kbd): Redefine as an alias.
7176 (with-selected-window): Leave unrelated frames alone.
7177 (set-temporary-overlay-map): New function.
7178
71873e2b
SM
71792012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7180
7181 * subr.el (user-error): New function.
7182 * window.el (switch-to-buffer):
7183 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7184 (smerge-match-conflict):
7185 * simple.el (previous-matching-history-element)
7186 (next-matching-history-element, goto-history-element, undo-more)
7187 (undo-start):
7188 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7189 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7190 (next-file, tags-loop-scan, list-tags, complete-tag):
7191 * progmodes/compile.el (compilation-loop):
7192 * mouse.el (mouse-minibuffer-check):
7193 * man.el (Man-bgproc-sentinel, Man-goto-page):
7194 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7195 (Info-history-forward, Info-follow-reference, Info-menu)
7196 (Info-extract-menu-item, Info-extract-menu-counting)
7197 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7198 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7199 (Info-next-reference, Info-prev-reference, Info-index)
7200 (Info-index-next, Info-follow-nearest-node)
7201 (Info-copy-current-node-name):
7202 * imenu.el (imenu--make-index-alist)
7203 (imenu-default-create-index-function, imenu-add-to-menubar):
7204 * files.el (basic-save-buffer, recover-file):
7205 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7206 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7207 (checkdoc-message-text, checkdoc-defun):
7208 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7209 * cus-edit.el (customize-changed-options, customize-rogue)
7210 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7211 (custom-variable-mark-to-reset-standard)
7212 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7213 (custom-file):
7214 * completion.el (check-completion-length):
7215 * comint.el (comint-search-arg)
7216 (comint-previous-matching-input-string-position)
7217 (comint-previous-matching-input)
7218 (comint-replace-by-expanded-history-before-point, comint-send-input)
7219 (comint-copy-old-input, comint-backward-matching-input)
7220 (comint-goto-process-mark, comint-set-process-mark):
7221 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7222 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7223
8a61ee22
SM
72242012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7225
66408d1e
SM
7226 * dabbrev.el (dabbrev--ignore-case-p): New function.
7227 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7228 Use it.
7229
8a61ee22
SM
7230 * files.el (automount-dir-prefix): Mark as obsolete.
7231
3c74813a
GM
72322012-05-04 Glenn Morris <rgm@gnu.org>
7233
7234 * patcomp.el, play/bruce.el: Move to obsolete/.
7235
0bfcf5c5
PE
72362012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7237
7238 Fix minor Y10k bugs.
7239 * arc-mode.el (archive-unixdate):
7240 * autoinsert.el (auto-insert-alist):
7241 * calc/calc-forms.el (math-this-year):
7242 * emacs-lisp/copyright.el (copyright-current-year)
7243 (copyright-update-year, copyright):
7244 * tar-mode.el (tar-clip-time-string):
7245 * time.el (display-time-update):
7246 Don't assume years have 4 digits.
7247
78f3273a
CY
72482012-05-04 Chong Yidong <cyd@gnu.org>
7249
7250 * dos-w32.el (file-name-buffer-file-type-alist)
7251 (direct-print-region-use-command-dot-com):
7252 * ffap.el (ffap-menu-regexp):
7253 * find-file.el (ff-special-constructs):
7254 * follow.el (follow-debug):
7255 * forms.el (forms--debug):
7256 * iswitchb.el (iswitchb-all-frames):
7257 * ido.el (ido-all-frames):
7258 * emacs-lisp/timer.el (timer-max-repeats):
7259 * mail/feedmail.el (feedmail-mail-send-hook)
7260 (feedmail-mail-send-hook-queued):
7261 * mail/footnote.el (footnote-signature-separator):
7262 * mail/mailabbrev.el (mail-alias-separator-string)
7263 (mail-abbrev-mode-regexp):
7264 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7265 * progmodes/idlwave.el (idlwave-libinfo-file)
7266 (idlwave-default-completion-case-is-down)
7267 (idlwave-library-routines): Convert defvars to defcustoms.
7268
7269 * mail/rmail.el (rmail-decode-mime-charset):
7270 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7271 (idlwave-shell-fix-inserted-breaks)
7272 (idlwave-shell-activate-alt-keybindings)
7273 (idlwave-shell-use-breakpoint-glyph):
7274 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7275
f7ae6719
SM
72762012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7277
7278 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7279
47086495
WS
72802012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7281
7282 * progmodes/verilog-mode.el (font-lock-keywords):
7283 Fix mis-highligting auto. Reported by Craig Barner.
7284 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 7285 defines from global name space. Reported by Dan Dever.
47086495
WS
7286 (verilog-auto-reset, verilog-auto-reset-widths)
7287 (verilog-auto-tieoff): Support using unbased numbers for
7288 AUTORESET and AUTOTIEOFF.
7289 (verilog-submit-bug-report): Update variable list.
7290 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 7291 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
7292 (verilog-auto-template-lint): Fix hash error when linting modules
7293 with no used templates.
7294 (verilog-warn, verilog-warn-error)
7295 (verilog-warn-fatal): When non-interactive report multiple
7296 warnings before exiting. Suggested by Brad Dobbie.
7297 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7298 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7299 to report unused template errors. Reported by Brad Dobbie.
7300 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 7301 nets, bug438. Reported by Vns Blore.
47086495
WS
7302 (verilog-auto-inout-module, verilog-auto-reg)
7303 (verilog-read-decls, verilog-read-sub-decls-sig)
7304 (verilog-signals-edit-wire-reg, verilog-signals-with):
7305 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 7306 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
7307 "reg" for backwards compatibility presuming Verilog 2001.
7308 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7309 (verilog-preprocess): Fix replication of preprocess output.
7310 Reported by Brad Dobbie.
7311 (verilog-auto-inst-interfaced-ports):
7312 Create verilog-auto-inst-interfaced-ports, bug429.
7313 Reported by Julian Gorfajn.
7314 (verilog-after-save-font-hook)
7315 (verilog-before-save-font-hook): New variable.
7316 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7317 (verilog-save-font-mods): Wrap disabling fontification, reported
7318 by David Rogoff.
7319 (verilog-do-indent, verilog-pretty-declarations-auto)
7320 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7321 Reported by Pierre-David Pfister.
7322 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7323 of class declarations, bug292. Reported by Kevin Heilman.
7324 (verilog-read-decls): Fix 'parameter type' not appearing in
7325 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7326 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 7327 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
7328 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7329 Reported by David Kravitz.
7330
73312012-05-03 Michael McNamara <mac@mail.brushroad.com>
7332
7333 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7334 assignment with tests in ifs and for loops.
7335 (verilog-extended-complete-re, verilog-complete-reg): Change so
7336 that DPI inport functions don't look like fuction declarations.
7337 (verilog-pretty-expr): Don't line up assignment
7338 operations to the test and increment in if and for loops
7339 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 7340 that DPI inport functions don't look like fuction declarations.
47086495 7341
2e51d4b5
KH
73422012-05-03 Kenichi Handa <handa@m17n.org>
7343
7344 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 7345 decoding, and show a warning message without signaling an error
2e51d4b5
KH
7346 (Bug#11282).
7347
2bd785a2
SM
73482012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7349
7350 * emacs-lisp/bytecomp.el
7351 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7352 since cconv.el might have introduced :fun-body, internal-make-closure,
7353 and friends for bytecomp to handle (bug#11391).
7354 * custom.el (defcustom): Avoid ((λ ..) ..).
7355
99d27583
SM
73562012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7357
7358 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7359
55a71479
JB
73602012-05-02 Juanma Barranquero <lekktu@gmail.com>
7361
7362 * notifications.el (dbus-debug):
7363 * term/linux.el (gpm-mouse-enable):
7364 * term/screen.el (xterm-register-default-colors): Declare.
7365
7b97c764
CY
73662012-05-02 Chong Yidong <cyd@gnu.org>
7367
2bc356d7
CY
7368 * cus-start.el (gc-cons-percentage, exec-suffixes)
7369 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7370 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7371 (make-cursor-line-fully-visible, void-text-area-pointer)
7372 (font-list-limit): Add customization data.
7373
7b97c764
CY
7374 * allout.el (allout-exposure-change-functions)
7375 (allout-structure-added-functions)
7376 (allout-structure-deleted-functions)
7377 (allout-structure-shifted-functions): Rename abnormal hooks from
7378 *-hook, and convert to defcustoms.
5d3385a0
JB
7379 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7380 Convert to defcustoms.
7b97c764
CY
7381 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7382
7383 * allout-widgets.el: Hook callers changed.
7384
90207a15 73852012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
7386
7387 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7388 the yanked message in preference to the default value of
7389 buffer-file-coding-system.
7390
90207a15 73912012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 7392
5d3385a0
JB
7393 * window.el (display-buffer--action-function-custom-type):
7394 Fix entry.
d9558cad 7395
90207a15 73962012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
7397
7398 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7399
d80ac57b
GM
74002012-05-01 Glenn Morris <rgm@gnu.org>
7401
976f7668
GM
7402 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7403
beb83b5a
GM
7404 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7405
d80ac57b
GM
7406 * cus-edit.el (custom-variable-documentation): Simplify with format.
7407
b593d6a9 74082012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 7409 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
7410
7411 * simple.el (suggest-key-bindings, execute-extended-command):
7412 Move from keyboard.c.
7413
782fbf2a
CY
74142012-05-01 Chong Yidong <cyd@gnu.org>
7415
7416 * follow.el: Eliminate advice.
7417 (set-process-filter, process-filter, sit-for): Advice deleted.
7418 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
7419 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7420 Vars deleted.
782fbf2a
CY
7421 (follow-auto): Use a :set function.
7422 (follow-mode): Rewritten. Don't advise process filters.
7423 (follow-switch-to-current-buffer-all, follow-scroll-up)
7424 (follow-scroll-down): Assume follow-mode is bound.
7425 (follow-comint-scroll-to-bottom)
7426 (follow-align-compilation-windows): New functions.
7427 (follow--window-sorter): New function.
7428 (follow-all-followers): Use it to explicitly sort windows by their
7429 positions; don't make assumptions about next-window order.
7430 (follow-windows-start-end, follow-delete-other-windows-and-split)
7431 (follow-calc-win-start): Doc fix.
7432 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7433 vertical-motion unnecessarily.
7434 (follow-adjust-window): New function.
7435 (follow-post-command-hook): Use it.
7436 (follow-call-set-process-filter, follow-call-process-filter)
7437 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7438 (follow-stop-intercept-process-output, follow-generic-filter):
7439 Functions deleted.
7440 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
7441 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7442 New functions, replacing advice on scroll-bar-* commands.
87233a14 7443 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
7444
7445 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
7446 (comint-postoutput-scroll-to-bottom): Use it.
7447 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 7448
290af740
GM
74492012-05-01 Glenn Morris <rgm@gnu.org>
7450
7451 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7452 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7453 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7454 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7455 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7456 Remove no-byte-compile setting.
7457
6eac8dc9
SM
74582012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7459
7460 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7461 all-completions code to not return a number in the last cdr.
7462
9cc7819c
LL
74632012-04-30 Leo Liu <sdl.web@gmail.com>
7464
7465 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7466 read-only error.
7467
c93b886f
CY
74682012-04-29 Chong Yidong <cyd@gnu.org>
7469
7470 * follow.el (follow-calc-win-end): Rewrite to handle partial
7471 screen lines correctly (Bug#8390).
7472 (follow-avoid-tail-recenter): Minor cleanup.
7473
8b6c19f4
SM
74742012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7475
7476 Avoid the obsolete `assoc' package.
7477 * speedbar.el (speedbar-refresh): Avoid adelete.
7478 (speedbar-file-lists): Simplify and avoid aput.
7479 * man.el (Man--sections, Man--refpages): New vars, replacing
7480 Man-sections-alist and Man-refpages-alist.
7481 (Man-build-section-alist, Man-build-references-alist):
7482 Use them; avoid aput.
7483 (Man--last-section, Man--last-refpage): New vars.
7484 (Man-follow-manual-reference): Use them.
7485 Use the `default' arg of completing-read.
7486 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7487
c5bb7569
CY
74882012-04-27 Chong Yidong <cyd@gnu.org>
7489
d1d2e2e8
CY
7490 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7491
15cd8efd
CY
7492 * startup.el (x-apply-session-resources): New function.
7493
7494 * term/ns-win.el (ns-initialize-window-system):
7495 * term/w32-win.el (w32-initialize-window-system):
7496 * term/x-win.el (x-initialize-window-system): Use it to properly
7497 set menu-bar-mode and other vars from X resources, even if the
7498 initial frame is not a window-system frame (Bug#2299).
7499
c5bb7569
CY
7500 * subr.el (read-key): Avoid running filter function when setting
7501 up temporary tool bar entries (Bug#9922).
7502
a8e7d6d7 75032012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
7504
7505 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7506 (Bug#11344)
7507
a8e7d6d7 75082012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
7509
7510 * select.el (xselect--encode-string): New function, split from
7511 xselect-convert-to-string.
7512 (xselect-convert-to-string): Use it.
7513 (xselect-convert-to-filename, xselect-convert-to-os)
7514 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7515 returned strings are properly encoded (Bug#11315).
7516
a8e7d6d7 75172012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
7518
7519 * simple.el (delete-active-region): Move to killing custom group.
7520
a8e7d6d7 75212012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
7522
7523 * progmodes/which-func.el (which-func-current): Quote %
7524 characters for mode-line processing.
7525
578c1d4b 75262012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
7527
7528 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7529 reaching eob (Bug#11286).
7530
a8e7d6d7 75312012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
7532
7533 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7534 (gdb): Make it buffer-local and init to zero.
7535 (gdb-control-commands-regexp): New variable.
7536 (gdb-send): Don't wrap in "-interpreter-exec console" if
7537 gdb-control-level is positive. Increment gdb-control-level
7538 whenever the command matches gdb-control-commands-regexp, and
7539 decrement it each time the command is "end". (Bug#11279)
7540
a8e7d6d7 75412012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
7542
7543 * window.el (adjust-window-trailing-edge, enlarge-window)
7544 (shrink-window, window-resize):
7545 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7546 windows (Bug#11276).
7547
b3608390
CY
75482012-04-27 Chong Yidong <cyd@gnu.org>
7549
7550 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 7551 fix "missing prefix" warning. All callers changed.
b3608390 7552
797e6e88
SM
75532012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7554
7555 * emacs-lisp/assoc.el: Move to obsolete/.
7556
e95a67dc
SM
75572012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7558
657c21e4 7559 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
7560
7561 * term/ns-win.el (ns-define-service):
7562 * progmodes/pascal.el (pascal-goto-defun):
7563 * progmodes/js.el (js--read-tab):
7564 * progmodes/etags.el (tags-lazy-completion-table):
7565 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7566 * emacs-lisp/ewoc.el (ewoc--wrap):
7567 * emacs-lisp/assoc.el (aput, adelete, amake):
7568 * doc-view.el (doc-view-convert-current-doc):
7569 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7570
cb3e7ae0
CY
75712012-04-26 Chong Yidong <cyd@gnu.org>
7572
dce04f7f
CY
7573 * image.el (image-type-from-buffer): Only return supported image
7574 type (Bug#9045).
7575
cb3e7ae0
CY
7576 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7577 value, for symmetry with diff-end-of-hunk.
7578 (diff-split-hunk, diff-find-source-location)
7579 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7580 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7581 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7582 compute the relevant hunk or file properly (Bug#6005).
7583 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7584
0d42eb3e
SM
75852012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7586
7587 * vc/vc-mtn.el:
7588 * vc/vc-hg.el:
7589 * vc/vc-git.el:
7590 * vc/vc-dir.el:
7591 * vc/vc-cvs.el:
7592 * vc/vc-bzr.el:
7593 * vc/vc-arch.el:
7594 * vc/vc.el: Replace lexical-let by lexical-binding.
7595 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7596 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7597 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7598
f08ae1c9
CY
75992012-04-26 Chong Yidong <cyd@gnu.org>
7600
8b71081d
CY
7601 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7602 (diff-mode-shared-map): Bind it to / and [remap undo].
7603
f08ae1c9
CY
7604 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7605 (ediff-window-setup-function): Use it as the default, to set up
7606 windows based on whether the current frame is graphical (Bug#2138).
7607 (ediff-choose-window-setup-function-automatically): Make obsolete.
7608
7609 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7610
ef24141c
SM
76112012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7612
cc356a5d
SM
7613 * ffap.el: Remove old code for obsolete package.
7614 (ffap-complete-as-file-p): Remove.
7615
b4ff4f1f
SM
7616 Use completion-table-with-quoting for comint and pcomplete.
7617 * comint.el (comint--unquote&requote-argument)
7618 (comint--unquote-argument, comint--requote-argument): New functions.
7619 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7620 (comint-quote-filename): Use regexp-opt-charset.
7621 (comint--common-suffix, comint--common-quoted-suffix)
7622 (comint--table-subvert): Remove.
7623 (comint-unquote-function, comint-requote-function): New vars.
7624 (comint--complete-file-name-data): Use them with
7625 completion-table-with-quoting.
7626 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7627 * pcomplete.el (pcomplete-arg-quote-list)
7628 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7629 (pcomplete-unquote-argument-function): Default to non-nil.
7630 (pcomplete-unquote-argument): Simplify.
7631 (pcomplete--common-quoted-suffix): Remove.
7632 (pcomplete-requote-argument-function): New var.
7633 (pcomplete--common-suffix): New function.
7634 (pcomplete-completions-at-point): Use completion-table-with-quoting
7635 and completion-table-subvert.
7636
79c4eeb4
SM
7637 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7638 (minibuffer--double-dollars): Preserve properties.
7639 (completion--sifn-requote): New function.
7640 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7641
ef24141c
SM
7642 * minibuffer.el: Add support for completion of quoted/escaped data.
7643 (completion-table-with-quoting, completion-table-subvert): New funs.
7644 (completion--twq-try, completion--twq-all): New functions.
7645 (completion--nth-completion): New function.
7646 (completion-try-completion, completion-all-completions): Use it.
7647
784e7d6e
LL
76482012-04-25 Leo Liu <sdl.web@gmail.com>
7649
dd2ac746
SM
7650 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7651 Use compilation-message if available to find real filename.
784e7d6e 7652
07875ee7
CY
76532012-04-25 Chong Yidong <cyd@gnu.org>
7654
7655 * vc/diff-mode.el (diff-setup-whitespace): New function.
7656 (diff-mode): Use it.
7657
7658 * vc/diff.el (diff-sentinel):
7659 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7660 Whitespace mode variables based on diff style (Bug#8612).
7661
5055880d
LL
76622012-04-25 Leo Liu <sdl.web@gmail.com>
7663
daf75653
LL
7664 * progmodes/python.el (python-send-region): Add suffix .py to the
7665 temp file.
7666
5055880d
LL
7667 * files.el (auto-mode-alist): Use javascript-mode instead.
7668
db9b177b
AH
76692012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7670
ef24141c 7671 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 7672
090bd7cb 7673 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 7674 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 7675 references, see Bug#9.
ef24141c 7676 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 7677 when receiving a fault reply.
ef24141c 7678 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 7679
090bd7cb 7680 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 7681 (soap-inspect-simple-type): New function.
db9b177b 7682
090bd7cb 7683 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 7684 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
7685 (soap-decode-basic-type, soap-encode-basic-type):
7686 support unsignedInt and double basic types.
db9b177b 7687 (soap-resolve-references-for-simple-type)
ef24141c
SM
7688 (soap-parse-simple-type, soap-encode-simple-type): New function.
7689 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 7690
090bd7cb 7691 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
7692 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7693 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7694 the local name of "soapenc:Array".
7695 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
7696 decoding integer, byte and anyURI xsd types.
7697
1fc6097b
CY
76982012-04-25 Chong Yidong <cyd@gnu.org>
7699
7700 * cus-edit.el (custom-buffer-create-internal): Update header text.
7701
afc6df87
EZ
77022012-04-25 Eli Zaretskii <eliz@gnu.org>
7703
7704 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7705 settings on 'system-type', not on 'window-system'. On MS-Windows,
7706 set interactive-mode on in GDB.
7707
dfbd787f
SM
77082012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7709
7710 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7711 (ruby-syntax-propertize-regexp): Remove.
7712 (ruby-syntax-propertize-function): Split regexp into chunks.
7713 Match following code directly.
7714
85222d44
DG
77152012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7716
51a8ea2a
DG
7717 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7718 (ruby-syntax-propertize-regexp): New function.
7719 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7720 by a special keyword.
7721
85222d44
DG
7722 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7723 (ruby-syntax-general-delimiters-goto-beg)
7724 (ruby-syntax-propertize-general-delimiters): New functions.
7725 (ruby-syntax-propertize-function): Use them to handle GDL.
7726 (ruby-font-lock-keywords): Move old handling of GDL...
7727 (ruby-font-lock-syntactic-keywords): .. to here.
7728 (ruby-calculate-indent): Adjust indentation for GDL.
7729
b613912b
MA
77302012-04-24 Michael Albinus <michael.albinus@gmx.de>
7731
b5380639
MA
7732 * notifications.el (top): Remove unneeded declarations.
7733 (notifications-specification-version): Change to "1.2".
e43042fe 7734 (notifications-interface, notifications-notify-method)
b613912b
MA
7735 (notifications-close-notification-method): Fix docstring.
7736 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
7737 (notifications-notify): Add :action-items, :resident and
7738 :transient hints. Change "image_data" to "image-data" and
7739 "image_path" to "image-path".
b613912b
MA
7740 (notifications-get-capabilities): New defun.
7741
257440aa
LL
77422012-04-24 Leo Liu <sdl.web@gmail.com>
7743
7744 * progmodes/python.el: Move hideshow setup to the end.
7745
b1bac16e
MR
77462012-04-24 Martin Rudalics <rudalics@gmx.at>
7747
7748 * window.el (handle-select-window): Clear echo area since this is
7749 no more done by read_char (Bug#11304).
7750
d81bd059
SM
77512012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7752
7753 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7754 and `/ M' to filter-derived-mode.
7755 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7756 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7757 (ibuffer-mark-by-mode): Use default rather than initial-input.
7758 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7759
c4cf6d91
IA
77602012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7761
7762 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7763 (ibuffer-filter-by-derived-mode): New filter.
7764 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7765
7511ded8
CY
77662012-04-23 Andreas Politz <politza@fh-trier.de>
7767
7768 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7769
775c916b
CY
77702012-04-23 Chong Yidong <cyd@gnu.org>
7771
7772 * cus-edit.el (customize-apropos, customize-apropos-options):
7773 Disable matching of non-option variables (Bug#11176).
7774 (customize-option, customize-option-other-window)
7775 (customize-changed-options): Doc fix.
7776 (customize-apropos-options, customize-apropos-faces)
7777 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7778
7779 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 7780 Fix word list splitting (Bug#11132).
46c71e23
CY
7781 (apropos-symbol, apropos-keybinding, apropos-label)
7782 (apropos-property, apropos-function-button)
7783 (apropos-variable-button, apropos-misc-button): New faces.
7784 (apropos-symbol-face, apropos-keybinding-face)
7785 (apropos-label-face, apropos-property-face, apropos-match-face):
7786 Variables removed (Bug#8396).
7787 (apropos-library-button, apropos-format-plist, apropos-print)
7788 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 7789
2df41f9c
MA
77902012-04-23 Michael Albinus <michael.albinus@gmx.de>
7791
7792 * net/xesam.el (xesam-mode-map): Use let-bound map in
7793 initialization. (Bug#11292)
7794
da00640a
AM
77952012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7796
7797 Preserve ispell session localwords when switching back to
7798 original buffer.
7799
090bd7cb
JB
7800 * textmodes/ispell.el (ispell-buffer-session-localwords):
7801 New buffer-local variable to hold buffer session localwords.
ed9265fc 7802 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
7803 localwords.
7804 (ispell-command-loop, ispell-change-dictionary)
7805 (ispell-buffer-local-words): Preserve session localwords when
7806 needed.
7807
090bd7cb
JB
7808 * textmodes/flyspell.el (flyspell-process-localwords)
7809 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 7810
f621ccf5
AM
78112012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7812
090bd7cb
JB
7813 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7814 using obsolete `translation-table-for-input'.
ef24141c
SM
7815 (ispell-word, ispell-process-line, ispell-complete-word):
7816 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 7817
c2d1019e
CY
78182012-04-22 Chong Yidong <cyd@gnu.org>
7819
7820 * cus-edit.el (custom-variable-menu)
7821 (custom-variable-reset-saved, custom-face-menu)
7822 (custom-face-reset-saved): If there is no saved value, make the
7823 "reset-saved" operation bring back the default (Bug#9509).
7824 (custom-face-state): Properly detect themed faces.
7825
eeddc531
CY
7826 * faces.el (face-spec-set): Stop supporting deprecated form of
7827 third arg.
7828
dcbf5805
MA
78292012-04-22 Michael Albinus <michael.albinus@gmx.de>
7830
7831 Move functions from C to Lisp. Make non-blocking method calls
7832 the default. Implement further D-Bus standard interfaces.
7833
ef24141c
SM
7834 * net/dbus.el (dbus-message-internal): Declare function.
7835 Remove unneeded function declarations.
dcbf5805
MA
7836 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7837 (dbus-message-type-method-return, dbus-message-type-error)
7838 (dbus-message-type-signal): Declare variables. Remove local
7839 definitions.
7840 (dbus-interface-dbus, dbus-interface-peer)
7841 (dbus-interface-introspectable, dbus-interface-properties)
7842 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7843 Adapt docstring.
7844 (dbus-interface-objectmanager): New defconst.
7845 (dbus-call-method, dbus-call-method-asynchronously)
7846 (dbus-send-signal, dbus-method-return-internal)
7847 (dbus-method-error-internal, dbus-register-service)
7848 (dbus-register-signal, dbus-register-method): New defuns, moved
7849 from dbusbind.c
7850 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
7851 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7852 New defuns.
dcbf5805
MA
7853 (dbus-call-method-non-blocking): Make it an obsolete function.
7854 (dbus-unregister-object, dbus-unregister-service)
7855 (dbus-handle-event, dbus-register-property)
7856 (dbus-property-handler): Obey the new structure of
7857 `bus-registered-objects'.
7858 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7859 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7860 Use `dbus-call-method'.
7861
cf20dee0
CY
78622012-04-22 Chong Yidong <cyd@gnu.org>
7863
7864 * cus-edit.el (custom-commands, custom-reset-menu)
7865 (Custom-reset-standard): Tweak labels.
7866 (custom-reset-button-menu): Change default to t.
7867 (custom-buffer-create-internal): For the custom-reset-button-menu
7868 case, put the revert button first.
7869 (custom-group-subtitle): New face.
7870 (custom-group-value-create): Align docstring to a specific column.
7871
7872 * wid-edit.el (widget-documentation-link-add): Don't handle
7873 indentation in this function.
7874 (widget-documentation-string-indent-to): New function.
7875 (widget-documentation-string-value-create): Use it.
7876
7877 * autorevert.el (auto-revert):
7878 * epg-config.el (epg):
7879 * ibuffer.el (ibuffer):
7880 * mpc.el (mpc):
7881 * ses.el (ses):
7882 * eshell/eshell.el (eshell):
7883 * net/ange-ftp.el (ange-ftp):
7884 * progmodes/ebnf2ps.el (postscript):
7885 * progmodes/flymake.el (flymake):
7886 * progmodes/prolog.el (prolog):
7887 * progmodes/verilog-mode.el (verilog-mode):
7888 * progmodes/which-func.el (which-func):
7889 * term/xterm.el (xterm):
7890 * textmodes/picture.el (picture):
7891 * textmodes/tildify.el (tildify):
7892 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7893 customization buffers.
7894
583e23bd
AM
78952012-04-22 Alan Mackenzie <acm@muc.de>
7896
7897 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7898 Adding a ) can hide the resulting (..) from searches. Fix it.
7899 Bound the backward search to the position of the existing (.
7900
7dd51bf1
JB
79012012-04-21 Juanma Barranquero <lekktu@gmail.com>
7902
7903 * progmodes/verilog-mode.el (verilog-mode): Check whether
7904 which-func-modes is t before adding verilog-mode.
7905 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7906
d64a438f
LL
79072012-04-21 Leo Liu <sdl.web@gmail.com>
7908
7dd51bf1 7909 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 7910
081e8d65
MV
79112012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7912
7913 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7914 filling of the last column of a table (Bug#5635).
7915 (woman-find-next-control-line): New arg, specifying an additional
7916 regexp component for the control line.
7917 (woman2-roff-buffer): Use it.
7918 (woman-break-table): New function.
7919 (woman2-TS): Use it.
7920
79212012-04-21 Chong Yidong <cyd@gnu.org>
7922
7923 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7924 (woman-horizontal-escapes, woman-negative-vertical-space)
7925 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7926 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7927
ed571ccb
SM
79282012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7929
7930 * minibuffer.el (completion-file-name-table): Complete user names.
7931
39773899
LL
79322012-04-20 Leo Liu <sdl.web@gmail.com>
7933
7934 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7935 and pcase-let*.
7936
de6ff46d
CY
79372012-04-20 Chong Yidong <cyd@gnu.org>
7938
7939 * server.el (server-execute): Respect initial-buffer-choice if it
7940 is a string and there are no files to open (Bug#2825).
7941 (server-create-window-system-frame, server-create-tty-frame):
7942 Don't switch buffers here.
2d0e8e61
CY
7943 (server-process-filter): Only try to open a window system frame if
7944 compiled with graphical support (Bug#8314).
de6ff46d 7945
54071013
DN
79462012-04-20 Dan Nicolaescu <dann@gnu.org>
7947
7948 * battery.el (battery-echo-area-format): Display remaining time
7949 for sysfs backend too (Bug#11269).
7950 (battery-linux-sysfs): Fix conditional for the charge.
7951
f30d612a
CY
79522012-04-20 Chong Yidong <cyd@gnu.org>
7953
c07a4c0b 7954 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
7955 (gdb-inferior-io--init-proc): New function.
7956 (gdb-init-1): Use it.
7957 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7958 responsible for allocating a new pty and hooking it to gdb when
7959 the old pty gets an EIO due to process exit.
7960 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
7961 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7962 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7963
2116e93c
EZ
79642012-04-20 Eli Zaretskii <eliz@gnu.org>
7965
7966 * window.el (window-min-size, window-sizable, window-min-delta)
7967 (window-max-delta, window--resizable, window-resizable)
7968 (window-total-size, window-full-height-p, window-full-width-p)
7969 (window-in-direction, window--resize-mini-window, window-resize)
7970 (window--resize-child-windows-normal)
7971 (window--resize-child-windows, window--resize-siblings)
7972 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 7973 (enlarge-window, shrink-window): Doc fixes.
2116e93c 7974
c07a4c0b 79752012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 7976
ef24141c
SM
7977 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7978 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
7979 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7980 pty process (Bug#11273).
7981 (gdb-update): New arg to suppress talking to the gdb process.
7982 (gdb-done-or-error): Use it.
7983 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7984 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7985 sentinel not being called.
7986
7987 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7988
d02766ab
CY
7989 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7990
c07a4c0b 79912012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
7992
7993 * net/network-stream.el (open-network-stream): Doc fix.
7994
c07a4c0b 79952012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
7996
7997 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7998
c07a4c0b 79992012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
8000
8001 Ensure searching for keywords is case sensitive.
8002
8003 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8004 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8005 (c-defun-name, c-mark-function, c-cpp-define-name)
8006 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 8007 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 8008
ef24141c
SM
8009 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8010 Bind case-fold-search to nil.
f0f6bc35 8011
c07a4c0b 80122012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
8013
8014 * mail/sendmail.el (mail-bury): Call return action with the right
8015 Rmail buffer (Bug#11242).
8016
9a864fa2
CY
8017 * server.el (server-process-filter): Handle corner case where both
8018 tty and nowait options are present (Bug#11102).
8019
539aa513
EZ
80202012-04-20 Eli Zaretskii <eliz@gnu.org>
8021
8022 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
8023 (top level): Put into the executable the ident-style '$Id:' tag on
8024 windows-nt as well.
539aa513 8025
cfc7d5da
SM
80262012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8027
8028 * electric.el (electric-indent-post-self-insert-function): Check that
8029 electric-indent-mode is enabled in current buffer.
8030
5b01685c
JB
80312012-04-19 Juanma Barranquero <lekktu@gmail.com>
8032
8033 * imenu.el (imenu-progress-message): Restore; it is "used" in
8034 erc/erc-imenu.el and net/snmp-mode.el.
8035
4d6769e1
JB
80362012-04-19 Juanma Barranquero <lekktu@gmail.com>
8037
8038 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8039 (mouse-avoidance-nudge-mouse): Remove unused binding.
8040
8041 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8042
8043 * descr-text.el (describe-char):
8044 * progmodes/python.el (python-describe-symbol):
8045 Don't call `toggle-read-only', set `buffer-read-only'.
8046
8047 * imenu.el (imenu-default-goto-function): Mark unused args.
8048 (imenu-progress-message): Remove obsolete macro; all callers changed.
8049
8050 * subr.el (keymap-canonicalize): Remove unused binding.
8051 (read-passwd): Mark unused arg.
8052
8053 * tutorial.el (tutorial--display-changes): Remove unused binding.
8054 (tutorial--save-tutorial-to): Remove unused variable.
8055
8056 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8057 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8058 (package-generate-autoloads, package-menu--generate)
8059 (package-menu--find-upgrades): Remove unused bindings.
8060
8061 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8062 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8063 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8064 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8065 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8066 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8067 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8068 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8069 (cua-delete-char-rectangle): Mark unused args.
8070 (cua-align-rectangle): Remove unused binding.
8071
8072 * mail/rmail.el (compilation--message->loc)
8073 (epa--find-coding-system-for-mime-charset): Declare.
8074
8075 * net/dbus.el (dbus-register-service): Declare.
8076 (dbus-name-owner-changed-handler): Remove unused binding.
8077
8078 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8079 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8080 (nxml-scan-backward-within): Mark unused arg.
8081 (nxml-dynamic-markup-word): Remove unused binding.
8082
8083 * mouse.el (mouse-menu-major-mode-map):
8084 * emacs-lisp/authors.el (authors-scan-change-log)
8085 (authors-add-to-author-list):
8086 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8087 * emacs-lisp/smie.el (smie-auto-fill):
8088 * mail/sendmail.el (mail-bury):
8089 * mail/unrmail.el (unrmail):
8090 * net/tls.el (open-tls-stream):
8091 * textmodes/picture.el (picture-mouse-set-point):
8092 Remove unused bindings.
8093
8c8fc5df
MA
80942012-04-19 Michael Albinus <michael.albinus@gmx.de>
8095
8096 * net/tramp.el (tramp-action-password): Let-bind
8097 `enable-recursive-minibuffers' to t.
8098
a77b0ac9
SS
80992012-04-18 Sam Steingold <sds@gnu.org>
8100
8101 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8102 instead of 'string to accommodate values like [f11].
8103 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8104 * progmodes/gdb-mi.el: Likewise.
8105
12a106a9
LL
81062012-04-18 Leo Liu <sdl.web@gmail.com>
8107
8108 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8109 current buffer.
8110 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8111 LOCAL is nil.
8112
bc6494ef
CY
81132012-04-18 Chong Yidong <cyd@gnu.org>
8114
8115 * simple.el (line-move): Use forward-line if in batch mode
8116 (Bug#11053).
8117
c09c46b2
CS
81182012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8119
8120 * files.el (after-find-file): Do not try to add a final newline if
8121 the buffer is read-only (Bug#11156).
8122
5f6530ea
RS
81232012-04-17 Richard Stallman <rms@gnu.org>
8124
8125 * mail/rmail.el (rmail-start-mail):
8126 Pass (rmail-mail-return...) for the return-action.
8127 Pass (rmail-yank-current-message...) for the yank-action.
8128 (rmail-yank-current-message): New function.
8129 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8130 (rmail-reply): Likewise.
8131 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8132
8133 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 8134 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
8135 buffer, not newbuf.
8136
197b6f3c
JB
81372012-04-17 Juanma Barranquero <lekktu@gmail.com>
8138
8139 * server.el (server-ensure-safe-dir): Simplify.
8140
2311d8e5 81412012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 8142
2311d8e5
GM
8143 * emacs-lisp/smie.el: Provide smarter auto-filling.
8144 (smie-auto-fill): New function.
8145 (smie-setup): Use it.
98fb480e 8146
2311d8e5
GM
8147 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8148
81492012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
8150
8151 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8152 (comment-indent): Use it.
8153
2311d8e5 81542012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
8155
8156 * ses.el: The overall change is to add cell renaming, that is
8157 setting fancy names for cell symbols other than name matching
8158 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 8159 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 8160 (ses-create-cell-variable): New defun.
2311d8e5 8161 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
8162 (ses-relocate-formula): Relocate formulas only for cells the
8163 symbols of which are not renamed, i.e. symbols whose names do not
8164 match regexp "\\`[A-Z]+[0-9]+\\'".
8165 (ses-relocate-all): Relocate values only for cells the symbols of
8166 which are not renamed.
8167 (ses-load): Create cells variables as the (ses-cell ...) are read,
8168 in order to check row col consistency with cell symbol name only
8169 for cells that are not renamed.
8170 (ses-replace-name-in-formula): New defun.
8171 (ses-rename-cell): New defun.
4bdf2ad2 8172
fc72b15c
PO
81732012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8174
8175 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8176 New option (bug#11118).
8177 (perl-calculate-indent): Respect it.
8178
12e10e61
GM
81792012-04-17 Glenn Morris <rgm@gnu.org>
8180
8181 * dired-aux.el (dired-mark-read-string): Doc fix.
8182
30009afd
DA
81832012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8184
8185 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8186 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8187
41f03f4d
GM
81882012-04-17 Glenn Morris <rgm@gnu.org>
8189
8190 * mouse.el (mouse-drag-track):
8191 * speedbar.el (speedbar-frame-mode):
8192 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8193
f45f90f3
LL
81942012-04-16 Leo Liu <sdl.web@gmail.com>
8195
8196 * progmodes/python.el: Trivial cleanup.
8197
94ee8db5
GM
81982012-04-16 Glenn Morris <rgm@gnu.org>
8199
121b8917
GM
8200 * vc/vc.el (vc-string-prefix-p):
8201 * vc/pcvs-util.el (cvs-string-prefix-p):
8202 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8203 * mpc.el (mpc-string-prefix-p):
8204 Make all of these into obsolete aliases for string-prefix-p.
8205 Update callers.
8206 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8207
1197ecfa
GM
8208 * textmodes/two-column.el: Move custom options to the start.
8209 (frame-width): Remove compat definition.
8210 (2C-associate-buffer, 2C-dissociate):
8211 Use with-current-buffer rather than save-excursion.
8212 (2C-dissociate): Force a mode-line update.
8213 (2C-autoscroll): Use ignore-errors.
8214
099e7202
GM
8215 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8216 Autoload trivia.
8217
bf350d6a
GM
8218 * emacs-lisp/cl-extra.el (*random-state*):
8219 Remove unnecessary declaration.
8220
0e829eab
GM
8221 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8222
e3ad7552
GM
8223 * play/cookie1.el (cookie-snarf):
8224 Give an explicit error if input file cannot be read.
8225
68892d27
GM
8226 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8227
20f0c46d
GM
8228 * progmodes/perl-mode.el (c-macro-expand):
8229 Remove unnecessary autoload (it is in loaddefs.el).
8230
5a0978ce
GM
8231 * textmodes/picture.el (picture-desired-column)
8232 (picture-update-desired-column): Convert comments to doc-strings.
8233 (picture-substitute): Remove function.
8234 (picture-mode-map): Initialize in the defvar.
8235
6b955486
GM
8236 * woman.el: Remove eval-after-load for tar-mode.
8237 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8238 (woman-tar-extract-file): Autoload it.
8239
94ee8db5
GM
8240 * frame.el (automatic-hscrolling): Make this alias obsolete.
8241
177eca34
AM
82422012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8243
090bd7cb 8244 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 8245 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
8246 (ispell-dictionary-base-alist): Revert to original XEmacs
8247 friendly version for default. [:alpha:] will be added in
090bd7cb 8248 `ispell-set-spellchecker-params' if needed.
177eca34 8249
c505aaeb
CY
82502012-04-16 Chong Yidong <cyd@gnu.org>
8251
b19dd9d1 8252 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
8253 (imagemagick-register-types): Use it.
8254 (imagemagick-types-inhibit): Add :set function. Allow new value
8255 of t to inhibit all types.
8256
8257 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8258 so we can preload it.
8259
8260 * loadup.el (fboundp): Preload regexp-opt, needed by
8261 imagemagick-register-types.
8262
60efac0f
CY
82632012-04-15 Chong Yidong <cyd@gnu.org>
8264
8265 * frame.el (scrolling): Remove nearly unused customization group.
8266
8267 * scroll-all.el (scroll-all-mode): Move to windows group.
8268
5dd1713e
CY
82692012-04-15 Chong Yidong <cyd@gnu.org>
8270
8271 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8272
e6fd457e
CY
82732012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8274
8275 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 8276 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 8277
e153c136
GM
82782012-04-15 Glenn Morris <rgm@gnu.org>
8279
8280 * simple.el (process-file-side-effects): Doc fix.
8281
e6fd457e 82822012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
8283
8284 * international/mule-cmds.el (set-language-environment): Doc fix.
8285
3603c3b1
JB
82862012-04-14 Juanma Barranquero <lekktu@gmail.com>
8287
8288 * server.el (server-auth-key, server-generate-key): Doc fixes.
8289 (server-get-auth-key): Doc fix. Use `string-match-p'.
8290 (server-start): Reflow docstring.
8291
e6de100c
LI
82922012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8293
8294 * server.el (server-generate-key): `called-interactively-p'
8295 requires a parameter.
8296
29734c21
MN
82972012-04-14 Michal Nazarewicz <mina86@mina86.com>
8298
8299 * server.el (server-auth-key): New variable.
75f1671a 8300 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
8301 (server-start): Use the new variable and functions to allow
8302 setting a permanent server key (bug#9423).
8303
d65c9521
LL
83042012-04-14 Leo Liu <sdl.web@gmail.com>
8305
8306 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8307
5ae255c7
PE
83082012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8309
8310 Spelling fixes.
8311 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8312 Emacs uses American spelling.
8313
d5e6342e
JB
83142012-04-14 Juanma Barranquero <lekktu@gmail.com>
8315
8316 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8317 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8318 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8319 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8320
ab036cd7
SM
83212012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8322
8323 * progmodes/which-func.el (which-func-modes): Change default.
8324
35dc09a1 83252012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
8326
8327 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8328 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8329
35dc09a1 83302012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
8331
8332 * custom.el (custom-theme-set-variables): Doc fix.
8333
35dc09a1 83342012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
8335
8336 * international/mule.el (set-auto-coding-for-load): Doc fix.
8337
35dc09a1 83382012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 8339
35dc09a1
GM
8340 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8341 imenu work again for Objective C Mode. Correct the *-index values,
8342 these having been disturbed by a previous change in 2011-08.
57f845ee 8343
0de3da9f
AM
8344 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8345 Correct two search limits.
8346
35dc09a1 83472012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
8348
8349 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8350
35dc09a1 83512012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
8352
8353 * international/characters.el: Fix sorting.
8354
35dc09a1 83552012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
8356
8357 * international/characters.el: Add more missing Latin case pairs.
8358
35dc09a1 83592012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
8360
8361 * files.el (dir-locals-set-class-variables): Doc fix.
8362
35dc09a1 83632012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 8364
3f1b5bf8
EZ
8365 * international/characters.el: Add set-case-syntax-pair call for
8366 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8367 counterpart. (Bug#11209)
8368
9f847f41
EZ
8369 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8370
35dc09a1 83712012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
8372
8373 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8374
35dc09a1 83752012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 8376
35dc09a1
GM
8377 * textmodes/ispell.el (ispell-dictionary-base-alist):
8378 Add data for Hebrew.
e2627d21 8379
35dc09a1 83802012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 8381
35dc09a1
GM
8382 * net/rcirc.el (rcirc-cmd-quit):
8383 Revert 2012-03-18 change (Bug#11192).
5c14e333 8384
35dc09a1 83852012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
8386
8387 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8388
35dc09a1 83892012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 8390
4517fe3a
SM
8391 * minibuffer.el (completion-in-region-mode-map):
8392 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 8393
b472a594
VD
83942012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8395
8396 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8397
09b95ce3
MY
83982012-04-13 Masatake YAMATO <yamato@redhat.com>
8399
8400 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8401 to allow `C-M-f' and `C-M-b' to move to the nearest path
8402 separator (bug#9511).
8403
4b63a9ca
LI
84042012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8405
8406 * avoid.el: Require cl when compiling. And also move the
8407 `provide' to the end.
8408
7b55b8bf
TV
84092012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8410
8411 * avoid.el (mouse-avoidance-banish-position): New variable.
8412 (mouse-avoidance-banish-destination): Use it (bug#10165).
8413
adedaa1f
LL
84142012-04-13 Leo Liu <sdl.web@gmail.com>
8415
8416 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8417
70e74021
KB
84182012-04-13 Ken Brown <kbrown@cornell.edu>
8419
8420 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 8421 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
8422 (browse-url-filename-alist): For the same reason, don't modify
8423 file:// URLs on Cygwin.
8424
e75e89ba
SM
84252012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8426
8427 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8428 the region on shift if the binding is already shifted (bug#11221).
8429
82f289a4
GM
84302012-04-12 Glenn Morris <rgm@gnu.org>
8431
8432 * mail/mailpost.el: Move to obsolete/.
8433
d333dc4c
DA
84342012-04-12 Drew Adams <drew.adams@oracle.com>
8435
8436 * imenu.el (imenu--generic-function): Ignore invisible definitions
8437 (bug#10123).
8438
0d15b5ba
VD
84392012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8440
8441 * hexl.el (hexl-bits): New variable.
8442 (hexl-options): Mention the variable in the doc string.
75f1671a 8443 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 8444 (hexl-mode): Mention the new variable.
75f1671a
JB
8445 (hexl-mode, hexl-current-address, hexl-current-address):
8446 Use the displen.
0d15b5ba
VD
8447 (hexl-ascii-start-column): New function.
8448 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8449 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8450
64a440db
AM
84512012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8452
8453 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8454 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8455 the encoding, as expected by hunspell.
8456
6decb6c2
SM
84572012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8458
8459 * battery.el (battery--linux-sysfs-regexp): New const.
8460 (battery-status-function): Use it. Remove yeeloong special case.
8461 (battery-yeeloong-sysfs): Remove.
8462 (battery-echo-area-format): Remove yeeloong special case.
8463
088be6fb
SM
84642012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8465
6622e416
SM
8466 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8467 Reported by Noah Friedman.
8468
088be6fb
SM
8469 * subr.el (read-passwd): Use read-string.
8470
b49f886e
LMI
84712012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8472
8473 * vcursor.el (vcursor-move): Increase the priority of the overlay
8474 (bug#9663).
8475
a63067fc
DD
84762012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8477
8478 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8479 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8480
ac3cf14a
WS
84812012-04-11 William Stevenson <yhvh2000@gmail.com>
8482
8483 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8484 define-minor-mode (bug#10760).
8485
c4fc691b 84862012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 8487
4d6769e1 8488 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
8489 that directories matching `grep-find-ignored-files' won't be
8490 pruned (bug#10351).
8491
af23e2e5
CY
84922012-04-11 Chong Yidong <cyd@gnu.org>
8493
8494 * startup.el (command-line): Remove support for long-obsolete
8495 variable font-lock-face-attributes.
8496
ab7ce8c1
GM
84972012-04-11 Glenn Morris <rgm@gnu.org>
8498
8499 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8500
de8c03dc
SM
85012012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8502
8503 * window.el (window--state-get-1): Obey window-point-insertion-type.
8504
050cc68b
LB
85052012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8506
8507 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8508 to previous function when point is on the first character of a
75f1671a 8509 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 8510
a38c310c
GM
85112012-04-11 Glenn Morris <rgm@gnu.org>
8512
effed0c2
GM
8513 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8514 not just file-errors.
8515
a38c310c
GM
8516 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8517 (vc-bzr-sha1): Use internal sha1.
8518
0221e323
SM
85192012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8520
8521 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8522
43956923
SG
85232012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8524
8525 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8526 that start in the middle of the line (bug#10496).
8527
6a8c9eaf
DN
85282012-04-10 Dan Nicolaescu <dann@gnu.org>
8529
8530 * battery.el (battery-linux-proc-acpi): Only one battery is
8531 discharged at a time, but that seems to confuse battery.el when
8532 computing `rate-type' for the battery not being discharged
8533 (bug#10332).
8534
1930bf5d
SM
85352012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8536
2a718f6f
SM
8537 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8538
599430d0
SM
8539 * international/quail.el: Use dolist and simplify.
8540 (quail-define-package, quail-update-keyboard-layout)
8541 (quail-define-rules): Use dolist.
8542 (quail-insert-kbd-layout, quail-get-translation): CSE.
8543
a2754b6c
SM
8544 * tmm.el: Use dolist, remove left over hook.
8545 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8546 Use dolist.
8547 (calendar-load-hook): Don't mess with it.
8548
1930bf5d
SM
8549 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8550 Use derived-mode-p. Run the diff asynchronously.
8551
9f67961c
LMI
85522012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8553
8554 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8555
2a8ce227
JB
85562012-04-10 Juanma Barranquero <lekktu@gmail.com>
8557
8558 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8559 (list-dynamic-libraries--loaded): New function.
8560 (list-dynamic-libraries--refresh): Use it.
8561
8f33b5f8
NW
85622012-04-10 Nathan Weizenbaum <nweiz@google.com>
8563
1930bf5d
SM
8564 * progmodes/python.el (python-fill-paragraph):
8565 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
8566 disabled (bug#7018).
8567
b12f0439
L
85682012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8569
1930bf5d 8570 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
8571 DOS/MS Windows for the Baltic languages. There are still plenty
8572 of texts written in this encoding/codepage (bug#6519).
b12f0439 8573
57c3bd01
GM
85742012-04-10 Glenn Morris <rgm@gnu.org>
8575
8576 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8577 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8578
6c3eab30
FA
85792012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8580
1930bf5d 8581 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
8582 next-line "n" and previous-line "p" in order to make recentf more
8583 consistent with ibuffer, dired or org-mode (bug#9387).
8584
24d78a88
LMI
85852012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8586
bc72b5d9
LMI
8587 * image.el (put-image): Return the overlay created instead of the
8588 optional input string (bug#7834). Note that this may break code
8589 that is (for some reason or other) depending on `put-image'
8590 returning the string.
8591
bd2dba5a
LMI
8592 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8593
74beb59f
LMI
8594 * simple.el (zap-to-char): Allow zapping using input methods
8595 (bug#1580).
8596
24d78a88
LMI
8597 * textmodes/fill.el (fill-region): Leave point and mark where they
8598 were before filling (bug#5399).
8599
263f20cd
GM
86002012-04-09 Glenn Morris <rgm@gnu.org>
8601
8602 * version.el (emacs-bzr-get-version):
8603 Handle lightweight checkouts of local branches.
8604
58d1f797
AS
86052012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8606
263f20cd 8607 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 8608
b4d3bc10
CY
86092012-04-09 Chong Yidong <cyd@gnu.org>
8610
8611 * custom.el (custom-variable-p): Return nil for non-symbol
8612 arguments instead of signaling an error.
8613 (user-variable-p): Obsolete alias for custom-variable-p.
8614
8615 * apropos.el (apropos-variable):
8616 * files-x.el (read-file-local-variable):
8617 * simple.el (set-variable):
8618 * woman.el (woman-mini-help):
8619 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8620
fd06db5d
GM
86212012-04-09 Glenn Morris <rgm@gnu.org>
8622
e5fcdb5e
GM
8623 * startup.el (normal-top-level): Don't look for leim-list.el
8624 in places where it will not be found. (Bug#910)
8625
fd06db5d
GM
8626 * international/mule-cmds.el (set-default-coding-systems):
8627 * files.el (normal-mode):
8628 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8629 This function was removed with ucs-tables.el in 2008.
8630
b39bb7e1
EZ
86312012-04-08 Eli Zaretskii <eliz@gnu.org>
8632
8633 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8634 ispell-encoding8-command to "-i", without a trailing space.
8635 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8636 separate command-line arguments, to specify the encoding, since
8637 that's how hunspell expects it.
8638
5c5b8e23
GM
86392012-04-08 Glenn Morris <rgm@gnu.org>
8640
8641 * loadup.el: Load bindings before cus-start.
8642 This reduces somewhat the number of "rogue" settings in emacs -Q.
8643
a1ed8b05
GM
86442012-04-07 Glenn Morris <rgm@gnu.org>
8645
8646 * version.el (emacs-bzr-get-version): New function.
dfae128a 8647 (emacs-bzr-version): New variable.
a1ed8b05
GM
8648 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8649 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8650
b142f158
EZ
86512012-04-07 Eli Zaretskii <eliz@gnu.org>
8652
dfae128a
GM
8653 * international/uni-bidi.el, international/uni-category.el:
8654 * international/uni-combining.el, international/uni-decimal.el:
8655 * international/uni-decomposition.el, international/uni-digit.el:
8656 * international/uni-lowercase.el, international/uni-mirrored.el:
8657 * international/uni-name.el, international/uni-numeric.el:
8658 * international/uni-titlecase.el, international/uni-uppercase.el:
8659 Update for Unicode 6.1.
b142f158 8660
9078ead6
EZ
86612012-04-07 Eli Zaretskii <eliz@gnu.org>
8662
8663 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8664
f23d2c7d
LMI
86652012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8666
8667 * window.el (shrink-window): Mention the `window-min-height'
8668 variable in the doc string.
8669
0a0a3573
BG
86702012-04-05 Bastien Guerry <bzg@altern.org>
8671
8672 * color.el (color-lighten-name): Fix typo.
8673
e5248ac9
SM
86742012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8675
8676 * server.el (server--on-display-p): New function.
8677 (server--on-display-p): Use it.
8678
b4243e22
GV
86792012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8680
8681 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8682 (bug#11145).
8683
305d9f44
SM
86842012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8685
8686 * comint.el (comint--common-quoted-suffix): Check string boundary
8687 before comparing (bug#11158).
8688 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8689
3d439cd1
CY
86902012-04-04 Chong Yidong <cyd@gnu.org>
8691
321cc491
CY
8692 * minibuffer.el (completion-extra-properties): Doc fix.
8693
3d439cd1
CY
8694 * subr.el (delayed-warnings-hook): Doc fix.
8695
2d562c0f
DU
86962012-04-04 Daiki Ueno <ueno@unixuser.org>
8697
8698 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8699 selection (Bug#11159).
8700 (epa-insert-keys): Inform that the default public key will be
8701 exported if no key is selected.
8702
4443f204
RS
87032012-04-04 Richard Stallman <rms@gnu.org>
8704
8705 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8706
529c06b6
CY
87072012-04-03 Chong Yidong <cyd@gnu.org>
8708
8709 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8710 mail-insert-file, not its obsolete alias mail-attach-file.
8711
66b907dc
MA
87122012-04-03 Michael Albinus <michael.albinus@gmx.de>
8713
8714 * notifications.el (notifications-notify): Fix docstring.
8715
c0ea195d
GM
87162012-04-02 Glenn Morris <rgm@gnu.org>
8717
8718 * emacs-lisp/authors.el (authors-aliases): Another addition.
8719
5ca64e00
MA
87202012-04-02 Michael Albinus <michael.albinus@gmx.de>
8721
8722 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8723 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8724 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8725
42ee526b
CY
87262012-04-01 Chong Yidong <cyd@gnu.org>
8727
8728 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8729 Handle root directory properly.
8730 (copy-directory): Caller changed.
8731
8732 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8733 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8734
0b021094
GM
87352012-03-31 Glenn Morris <rgm@gnu.org>
8736
40f86458
GM
8737 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8738
7019c177
GM
8739 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8740
a1daddd6
GM
8741 * calendar/calendar.el (calendar-window-list)
8742 (calendar-hide-window): Restore. (Bug#11140)
8743 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8744
0b021094
GM
8745 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8746
40311efc
TV
87472012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8748
8749 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8750 Check if file is a symlink (Bug#10489).
8751
8752 * files.el (copy-directory): Likewise.
8753
5319014e
CY
87542012-03-30 Chong Yidong <cyd@gnu.org>
8755
8756 * image.el (imagemagick-types-inhibit)
8757 (imagemagick-register-types): Doc fix.
8758
935d1290
AM
87592012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8760
090bd7cb 8761 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 8762 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 8763 and treats ~word as ordinary words in pipe mode.
935d1290 8764
61c6e8fd
GM
87652012-03-30 Glenn Morris <rgm@gnu.org>
8766
8767 * tutorial.el (help-with-tutorial): Ensure local variables don't
8768 happen to make the buffer read-only. (Bug#11127)
8769
81fdff00
SM
87702012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8771
8772 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8773 (perl-calculate-indent): Return `noindent' in strings.
8774
6e7a6ec0
SS
87752012-03-28 Sam Steingold <sds@gnu.org>
8776
8777 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8778 instead of the broken adhockery which does not prevent calendar
8779 buffers from being displayed at random after exit.
8780 (calendar-window-list, calendar-hide-window): Remove the broken
8781 adhockery.
8782
fee88ca0
GM
87832012-03-28 Glenn Morris <rgm@gnu.org>
8784
8785 * replace.el (query-replace-map): Doc fix.
8786
38de3354
AS
87872012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8788
8789 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8790 contents. (Bug#11109)
8791
b973155e
SM
87922012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8793
8794 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8795 (bug#11077).
8796 (avl-tree--check, avl-tree--check-node): New funs.
8797
dcb6e7b3
MR
87982012-03-27 Martin Rudalics <rudalics@gmx.at>
8799
8800 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
8801 (switch-to-prev-buffer, switch-to-next-buffer):
8802 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
8803 showing a buffer already is done on the same frame.
8804
b4fa35fa
GM
88052012-03-27 Glenn Morris <rgm@gnu.org>
8806
8807 * startup.el (mail-host-address): Doc fix.
8808
f9210e18
SM
88092012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8810
8811 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8812 than 197 variables.
8813
c0bf7753
AF
88142012-03-26 Ami Fischman <ami@fischman.org>
8815
8816 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8817
33da7b16
GM
88182012-03-26 Glenn Morris <rgm@gnu.org>
8819
02243d9d
GM
8820 * files.el (save-buffers-kill-emacs): Doc fix.
8821
33da7b16
GM
8822 * startup.el (normal-top-level, command-line, command-line-1):
8823 Give them doc strings.
8824
e5a69fd0
EZ
88252012-03-25 Eli Zaretskii <eliz@gnu.org>
8826
8827 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 8828 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 8829
9a69676a
CY
88302012-03-25 Chong Yidong <cyd@gnu.org>
8831
4125cb8b
CY
8832 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8833 theme if it was previously enabled before (Bug#11031).
8834
dd470960
CY
8835 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8836 spec with custom-face-get-current-spec if its :shown-value is not
8837 determined yet (Bug#9337).
4125cb8b 8838 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 8839
9a69676a
CY
8840 * button.el (button-at): Minor addition to docstring.
8841
6e7e90fa
SL
88422012-03-24 Simon Leinen <simon.leinen@gmail.com>
8843
8844 * vc/vc.el (vc-merge): Fix a prompt.
8845
f06e2758
CY
88462012-03-24 Chong Yidong <cyd@gnu.org>
8847
8848 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8849 point (Bug#9623).
8850
6e7e90fa
SL
8851 * button.el (button-at): Minor addition to docstring.
8852
b9d0879b
SM
88532012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8854
8855 * newcomment.el (comment-choose-indent): No space after BOL.
8856
e71cebb3
SS
88572012-03-22 Sam Steingold <sds@gnu.org>
8858
8859 * window.el (switch-to-prev-buffer): Revert last patch because the
8860 bug turned out to be an advertised feature (Elisp manual 28.14).
8861
335aff35
GM
88622012-03-22 Glenn Morris <rgm@gnu.org>
8863
8864 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8865 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8866
c676576a
LMI
88672012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8868
8869 * net/network-stream.el (network-stream-open-starttls): Make error
8870 message under Windows be less misleading.
8871
126f3d39
LW
88722012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8873
8874 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8875 understands (bug#9942).
8876
64fee311
CY
88772012-03-22 Chong Yidong <cyd@gnu.org>
8878
8879 * simple.el (end-of-visible-line): Handle return value of
8880 next-single-property-change properly (Bug#9371).
8881
a640d29a
KH
88822012-03-22 Kenichi Handa <handa@m17n.org>
8883
8884 * international/quail.el (quail-insert-kbd-layout): Fix previous
8885 change. To avoid unwanted bidi reordering, use
8886 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8887
39675016
DG
88882012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8889
8890 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8891 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8892 (ruby-beginning-of-indent): Be more careful with the difference
8893 between word-boundary and symbol boundary.
8894 (ruby-mode-syntax-table): Make : a symbol constituent.
8895
0a6934fc 88962012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 8897
3d008e4f
SM
8898 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8899
0a6934fc
SM
89002012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8901
af67c9d7
SM
8902 * progmodes/etags.el (tags-completion-at-point-function):
8903 Improve last fix.
8904
1acad97c
SM
8905 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8906
e298b5da
SS
89072012-03-21 Sam Steingold <sds@gnu.org>
8908
8909 * progmodes/etags.el (tags-completion-at-point-function):
8910 Avoid the error when point is inside the pattern.
8911
91d82a70
JY
89122012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8913
8914 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8915 line (Bug#10855).
8916
69188b79
CY
89172012-03-21 Drew Adams <drew.adams@oracle.com>
8918
8919 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8920
99fc91fe
AK
89212012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8922
8923 * ido.el (ido-set-current-directory, ido-read-internal)
8924 (ido-choose-completion-string, ido-completion-help): Handle nil
8925 value of ido-completion-buffer (Bug#11008).
8926
087bbb4c
SS
89272012-03-21 Sam Steingold <sds@gnu.org>
8928
8929 * window.el (switch-to-prev-buffer): Do not switch to a visible
8930 window previous buffer, just like with the frame previous buffers.
8931
fb5b8aca
CY
89322012-03-21 Chong Yidong <cyd@gnu.org>
8933
8934 * faces.el (make-face, make-empty-face, copy-face):
8935 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8936 Doc fixes.
8937
dc9924b8
SM
89382012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8939
8940 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8941 (widget-complete): Remove broken use of it.
8942
f0bcceb9
CY
89432012-03-20 Chong Yidong <cyd@gnu.org>
8944
dc9924b8
SM
8945 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8946 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
8947 characters.
8948
ee52ebf3
TH
89492012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8950
8951 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8952 to draw rectangles, not squares. (Regression introduced by revno
8953 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8954
4c5779ab
CY
89552012-03-18 Chong Yidong <cyd@gnu.org>
8956
8957 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8958 it is not yet defined (for temacs).
8959
15360934
LL
89602012-03-18 Leo Liu <sdl.web@gmail.com>
8961
735135f9
PE
8962 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
8963 prefix.
15360934 8964
d9a8eb66
EZ
89652012-03-17 Eli Zaretskii <eliz@gnu.org>
8966
8967 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8968 (ispell-choices-win-default-height, ispell-silently-savep)
8969 (ispell-dictionary-alist, ispell-encoding8-command)
8970 (ispell-check-version, ispell-aspell-find-dictionary)
8971 (ispell-valid-dictionary-list, ispell-words-keyword)
8972 (ispell-get-word, ispell-internal-change-dictionary)
8973 (ispell-region, ispell-skip-region-list)
8974 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8975 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8976 (ispell-message-text-end, ispell-message)
8977 (ispell-buffer-local-parsing): Doc fix.
8978
f02ff80d
J
89792012-03-13 Jambunathan K <kjambunathan@gmail.com>
8980
8981 * htmlfontify.el: Add support for code block fontification for ODT
8982 export (Bug #9914).
8983 (hfy-optimisations): Define new option
8984 `body-text-only'
8985 (hfy-fontify-buffer): Honor above setting.
8986 (hfy-begin-span, hfy-end-span): New routines factored out form
8987 `hfy-fontify-buffer'.
8988 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8989 that permit insertion of custom tags.
8990 (hfy-fontify-buffer): Use above handlers.
8991 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8992 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 8993 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 8994 over multiple runs. This is made possible by having the caller let
f02ff80d
J
8995 bind a special variable `hfy-user-sheet-assoc'.
8996 (htmlfontify-string): New defun.
8997 (hfy-compile-face-map): Make sure that the last char in the
8998 buffer is correctly fontified.
8999 (hfy-face-resolve-face): Whitespace only change.
9000
9ac7a13f
EZ
90012012-03-17 Eli Zaretskii <eliz@gnu.org>
9002
9003 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9004 message more clear.
9005
e2b5bdd7
LL
90062012-03-16 Leo Liu <sdl.web@gmail.com>
9007
9008 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9009
2e492df3
AM
90102012-03-16 Alan Mackenzie <acm@muc.de>
9011
9012 Further optimise the handling of large macros.
9013
9014 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9015 limit to a call of `c-literal-limits'.
9016 (c-determine-+ve-limit): New function.
dc9924b8
SM
9017 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9018 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
9019 In CASE 5B, restrict a search limit to 500.
9020 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9021
9022 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9023 Restrict macro bounds to +-500 from after-change's BEG END.
9024
50e94f0c
LL
90252012-03-16 Leo Liu <sdl.web@gmail.com>
9026
9027 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9028
6f09f6ed
AH
90292012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9030
9031 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 9032 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 9033
c7e73d51
GM
90342012-03-16 Glenn Morris <rgm@gnu.org>
9035
da986230
GM
9036 * view.el (view-buffer, view-buffer-other-window)
9037 (view-buffer-other-frame): Doc fixes re special mode-class.
9038
0835f01e
GM
9039 * subr.el (eval-after-load): If named feature is provided not from
9040 a file, run after-load forms. (Bug#10946)
9041
c7e73d51
GM
9042 * calendar/calendar.el (calendar-insert-at-column):
9043 Handle non-unit-width characters a bit better. (Bug#10978)
9044
3f2eafd1
CY
90452012-03-15 Chong Yidong <cyd@gnu.org>
9046
9047 * emacs-lisp/ring.el (ring-extend): New function.
9048 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9049
9050 * comint.el (comint-read-input-ring)
9051 (comint-add-to-input-history): Grow comint-input-ring lazily.
9052
103af3fe
SM
90532012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9054
663b1677
SM
9055 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9056 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9057
103af3fe
SM
9058 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9059 (imenu-add-to-menubar): Don't add a redundant index.
9060 (imenu-update-menubar): Handle a dynamically composed keymap.
9061
899cb7cb
KY
90622012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9063
9064 * mail/sendmail.el (mail-encode-header):
9065 Bind rfc2047-encode-encoded-words to nil.
9066
3809f91d
GM
90672012-03-13 Glenn Morris <rgm@gnu.org>
9068
9069 * calendar/calendar.el (calendar-string-spread):
9070 Handle non-unit-width characters a bit better. (Bug#10978)
9071
9e345a01
LL
90722012-03-13 Leo Liu <sdl.web@gmail.com>
9073
9074 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9075 directory and file as argument (Bug#10822).
9076
4a07df36
KS
90772012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9078
9079 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9080 For dynamically generated code, follow $PC.
9081 (gdb-disassembly-handler-custom): Handle no function name case.
9082
4aaa9356
TL
90832012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9084
9085 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9086 * emulation/ws-mode.el (ws-query-replace):
9087 * sort.el (sort-regexp-fields):
9088 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9089
225979da
SM
90902012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9091
9092 * dabbrev.el: Fix cycle completion order (bug#10963).
9093 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9094 (dabbrev-completion): Don't use an obarray; provide
9095 a cycle-sort-function.
9096
e2f1fdab
LL
90972012-03-12 Leo Liu <sdl.web@gmail.com>
9098
dc9924b8 9099 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
9100 (kill-do-not-save-duplicates): Doc fix.
9101
b19490ed
SM
91022012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9103
9104 * dabbrev.el: Fix cycle completion (bug#10963).
9105 Use lexical binding and wrap to 80 columns.
9106 (dabbrev-completion): Delay computing the list of completions.
9107
4b05d722
KH
91082012-03-12 Kenichi Handa <handa@m17n.org>
9109
9110 * international/quail.el (quail-insert-kbd-layout): Surround each
9111 row by LRO and PDF instead of inserting many LRMs. Pad the left
9112 and right of each non-spacing marks. Insert invisible space
9113 between lower and upper characters to prevent composition.
9114
dbbc2e69
SM
91152012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9116
9117 * minibuffer.el (minibuffer-complete): Don't get confused when the
9118 function is run twice via different commands (bug#10958).
9119 (complete-with-action): Fix docstring.
9120
292112ed
CY
91212012-03-12 Chong Yidong <cyd@gnu.org>
9122
5d1ac394
CY
9123 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9124 (nxml-completion-at-point-function): New function.
9125 (nxml-mode): Use it.
9126 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9127
292112ed
CY
9128 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9129 Load generated autoloads file before byte compiling (Bug#10970).
9130 (package--make-autoloads-and-compile): New helper fun.
9131
4098f8f7
CS
91322012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9133
9134 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9135
8f754691
MA
91362012-03-11 Michael Albinus <michael.albinus@gmx.de>
9137
9138 * autorevert.el (auto-revert-handler): Ensure, that
9139 file-readable-p is applied only for local files or in
9140 auto-revert-tail-mode.
9141
e29ab36b
AS
91422012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9143
dbbc2e69
SM
9144 * server.el (server-eval-at): Handle non-tcp connections.
9145 Decode result string.
ad0bf5b6 9146
e29ab36b
AS
9147 * server.el (server-msg-size): New constant.
9148 (server-reply-print): New function.
9149 (server-eval-and-print): Use it.
9150 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9151 Handle -print-nonl.
9152
de5939ba
CS
91532012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9154
9155 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9156 (Bug#10987).
9157
0c93eabf
CY
91582012-03-11 Chong Yidong <cyd@gnu.org>
9159
397a688f
CY
9160 * simple.el (goto-line): Doc fix (Bug#9938).
9161
2cc775f9
CY
9162 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9163
0c93eabf
CY
9164 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9165 when finished (Bug#10963).
9166
c491fa41
MR
91672012-03-11 Martin Rudalics <rudalics@gmx.at>
9168
9169 * window.el (split-window-below): Fix bug in case where
9170 split-window-keep-point is nil (Bug#10971).
9171
300e8fa5
JL
91722012-03-11 Juri Linkov <juri@jurta.org>
9173
9174 * replace.el (replace-highlight): Set isearch-word to nil
9175 unconditionally. (Bug#10887)
9176
dbf6c5a1
EZ
91772012-03-10 Eli Zaretskii <eliz@gnu.org>
9178
9179 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9180 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 9181 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
9182 (mairix-widget-create-query): Add usage information about mairix
9183 search forms: negating words, searching for substrings, etc.
9184
b9e501de
JP
91852012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9186
9187 * international/fontset.el (font-encoding-alist): Add an entry for
9188 ksx1001 (Bug#5667).
9189
92795c91
RS
91902012-03-10 Richard Stallman <rms@gnu.org>
9191
1694e6c1
RS
9192 * mail/sendmail.el (mail-encode-header):
9193 Set rfc2047-encode-encoded-words.
9194
607e8555
RS
9195 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9196
de3bc99a
RS
9197 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9198 view buffer means not swapped.
9199 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9200 (rmail-write-region-annotate): Error if real text has disappeared.
9201
92795c91
RS
9202 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9203
699bd04e
CY
92042012-03-10 Chong Yidong <cyd@gnu.org>
9205
9206 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
9207 * emulation/cua-base.el (cua--init-keymaps):
9208 Add delete-forward-char to remappings (Bug#9666).
699bd04e 9209
570a1714
MR
92102012-03-10 Martin Rudalics <rudalics@gmx.at>
9211
dbbc2e69
SM
9212 * speedbar.el (speedbar-unhighlight-one-tag-line):
9213 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 9214
82dcf4e4
CY
92152012-03-10 Chong Yidong <cyd@gnu.org>
9216
7a2c7ca7
CY
9217 * minibuffer.el (completion-in-region, completion-help-at-point):
9218 Give the completion field overlay a high priority (Bug#6830).
9219
82dcf4e4
CY
9220 * dired.el (dired-goto-file): Recognize absolute file name
9221 listings (Bug#7126).
9222 (dired-goto-file-1): New helper function.
9223 (dired-toggle-read-only): Inhibit warnings.
9224
052e28ac
MA
92252012-03-09 Michael Albinus <michael.albinus@gmx.de>
9226
75f1671a 9227 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
9228 there are no properties.
9229
95d5e396
LL
92302012-03-09 Leo Liu <sdl.web@gmail.com>
9231
9232 * savehist.el (savehist-printable): Stricter check for string
9233 value (Bug#10937).
9234
3f018d6d
EZ
92352012-03-09 Eli Zaretskii <eliz@gnu.org>
9236
dbbc2e69
SM
9237 * mail/smtpmail.el (smtpmail-send-it):
9238 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
9239 valid mbox format.
9240
f7fd3d79
GM
92412012-03-09 Glenn Morris <rgm@gnu.org>
9242
9243 * files.el (dir-locals-find-file):
9244 Don't check result is regular, readable.
9245 (dir-locals-read-from-file): Demote errors.
9246
6ff6e72f
EZ
92472012-03-08 Eli Zaretskii <eliz@gnu.org>
9248
dbbc2e69
SM
9249 * international/quail.el (quail-insert-kbd-layout):
9250 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
9251 layout cell, to prevent their reordering by bidi display engine.
9252 For details, see the discussion in
9253 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9254
9cec7834
AM
92552012-03-08 Alan Mackenzie <acm@muc.de>
9256
9257 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9258 the starting position; make it extend the marked region when
9259 invoked repeatedly - all under appropriate circumstances.
9260 Fixes bugs #5525, #10906.
9261
9a40b8d4
GM
92622012-03-08 Glenn Morris <rgm@gnu.org>
9263
9264 * files.el (locate-dominating-file, dir-locals-find-file):
9265 Undo 2012-03-06 change.
9266
7a08ed35
EZ
92672012-03-07 Eli Zaretskii <eliz@gnu.org>
9268
dbbc2e69
SM
9269 * international/quail.el (quail-help):
9270 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
9271 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9272 for the reason.
9273
5aca4f71 92742012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
9275
9276 Avoid superfluous registering of signals. (Bug#10807)
9277
9278 * notifications.el (notifications-on-action-object)
9279 (notifications-on-close-object): New defvars.
9280 (notifications-on-action-signal, notifications-on-closed-signal):
9281 Unregister the signal if not needed any longer.
9282 (notifications-notify): Register `notifications-action-signal' or
9283 `notifications-closed-signal', if :on-action or :on-close has been
9284 passed as argument.
9285
78e8b10a
CY
92862012-03-07 Chong Yidong <cyd@gnu.org>
9287
9288 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9289 non-X platforms.
9290
69481eb8
GM
92912012-03-06 Glenn Morris <rgm@gnu.org>
9292
9293 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9294 (x-disown-selection-internal, x-get-selection-internal):
9295 Doc fix (add arglist signatures). (Bug#10783)
9296
133b8e11
KS
92972012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9298
9299 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9300 Handle breakpoints with no "type".
9301
99a83064
GM
93022012-03-06 Glenn Morris <rgm@gnu.org>
9303
9304 * files.el (locate-dominating-file): Add optional predicate argument.
9305 (dir-locals-find-file): Make use of above change.
9306
17798e78
TTN
93072012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9308
9309 * info.el (Info-insert-dir): Also try "dir.gz".
9310
eb182446
GM
93112012-03-06 Glenn Morris <rgm@gnu.org>
9312
8f2114ee
GM
9313 * files.el (dir-locals-find-file):
9314 Ignore non-readable or non-regular files. (Bug#10928)
9315
eb182446
GM
9316 * files.el (locate-dominating-file): Doc fix.
9317
24679323
AS
93182012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9319
9320 * calendar/calendar.el (calendar-set-mode-line):
9321 `getenv' returns a string. (Bug#10951)
9322
01d972a9
LL
93232012-03-05 Leo Liu <sdl.web@gmail.com>
9324
109aa8a9
LL
9325 * simple.el (backward-delete-char-untabify): Constrain point to
9326 field (Bug#10939).
9327
01d972a9
LL
9328 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9329
10607bea
CY
93302012-03-05 Chong Yidong <cyd@gnu.org>
9331
9332 * simple.el (count-words): If called from Lisp, return the word
9333 count, for symmetry with `count-lines'. Arglist changed.
9334 (count-words--message): Args changed. Consolidate counting code
9335 from count-words and count-words-region.
9336 (count-words-region): Caller changed.
9337 (count-lines-region): Make it an obsolete alias.
9338
5dd11cfe
TH
93392012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9340
9341 * saveplace.el (save-place-to-alist)
9342 (save-place-ignore-files-regexp): Allow value nil to disable this
9343 feature.
9344
c349f4e6
CY
93452012-03-04 Chong Yidong <cyd@gnu.org>
9346
9347 * faces.el (face-spec-reset-face): For the default face, reset the
9348 attributes to default values (Bug#10748).
9349
e627be4c
LMI
93502012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9351
9352 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9353 previous patch: Check `message-send-mail-function', and not the
9354 default function (bug#10897).
9355
ebeabff4
MA
93562012-03-04 Michael Albinus <michael.albinus@gmx.de>
9357
a41a6cf4
MA
9358 * notifications.el (notifications-on-action-signal)
9359 (notifications-on-closed-signal): Check for unique service name of
9360 incoming event. Fix error in removing entry.
ebeabff4 9361 (top): Register for signals with wildcard service name.
a41a6cf4 9362 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 9363
c1ca42b4
CY
93642012-03-04 Chong Yidong <cyd@gnu.org>
9365
dc9924b8 9366 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 9367
ea16568d
GM
93682012-03-04 Glenn Morris <rgm@gnu.org>
9369
9370 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9371 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9372 (expand-abbrev, define-abbrev-table): Doc fixes.
9373
fbae4637
LMI
93742012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9375
9376 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9377 `message-default-send-mail-function' and not `send-mail-function'
9378 when doing the prompting for `sendmail-query-once' before sending
9379 in Message buffers (bug#10897).
9380
a1e7225c
LMI
9381 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9382 This is inconsistent with all the other stream functions, which leave
9383 the setting up to the higher levels (if so wanted) (bug#10931).
9384
56d093a9
AM
93852012-03-02 Alan Mackenzie <acm@muc.de>
9386
9387 Depessimize the handling of very large macros.
9388
9389 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9390 (c-macro-cache-syntactic): New variables to implement a one
9391 element macro cache.
9392 (c-invalidate-macro-cache): New function.
9393 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9394 Adapt to use the new cache.
9395 (c-state-safe-place): Use better the cache of safe positions.
9396 (c-state-semi-nonlit-pos-cache)
9397 (c-state-semi-nonlit-pos-cache-limit):
9398 New variables for...
9399 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9400 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
9401 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9402 Use c-state-semi-safe-place.
56d093a9 9403
dbbc2e69
SM
9404 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9405 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 9406
817e5c3d
MA
94072012-03-02 Michael Albinus <michael.albinus@gmx.de>
9408
dbbc2e69
SM
9409 * jka-compr.el (jka-compr-call-process):
9410 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
9411 not remote.
9412
a032a702
MA
94132012-03-01 Michael Albinus <michael.albinus@gmx.de>
9414
9415 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9416 access of FILE2, if FILE1 does not exist.
9417
99a54f21
MA
9418 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9419 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9420
9421 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9422 Add "PAGER=" to `process-environment'.
9423
f6561e1f
MM
94242012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9425
9426 * progmodes/sql.el: Bug fix
9427 (sql-get-login-ext): Save login values in globals.
9428 (sql-get-login): Use new version of `sql-get-login-ext'.
9429 (sql-interactive-mode): Set global `sql-connection' to nil.
9430 (sql-connect): Set global values for connection.
9431 (sql-product-interactive): Save global values as buffer local.
9432
2d44d9cc
LL
94332012-02-29 Leo Liu <sdl.web@gmail.com>
9434
9435 * abbrev.el (define-abbrevs): Reset sys to nil.
9436
96b49301 94372012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9438
bf7f9bc5
JB
9439 * files.el (file-equal-p): Rename from `files-equal-p'.
9440 Return nil when one or both files don't exist.
96b49301 9441 (file-subdir-of-p): Now only top directory must exists,
9442 return nil if it doesn't.
bf7f9bc5
JB
9443 (copy-directory): No need to test with `file-subdir-of-p' after
9444 creating dir.
9445 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9446 to `file-equal-p'.
96b49301 9447
44e97401
GM
94482012-02-28 Glenn Morris <rgm@gnu.org>
9449
9450 * shell.el (shell-mode):
9451 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9452 * play/landmark.el (landmark-font-lock-face-O):
9453 * play/handwrite.el (handwrite):
9454 * play/gomoku.el (gomoku-O):
9455 * net/browse-url.el (browse-url-browser-display):
9456 * international/mule.el (define-charset):
9457 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9458 * filesets.el (filesets-find-file-delay):
9459 * eshell/em-xtra.el (eshell-xtra):
9460 * eshell/em-unix.el (eshell-grep):
9461 * emulation/viper.el (viper-mode):
9462 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9463 * emacs-lisp/easymenu.el (easy-menu-define):
9464 * calendar/timeclock.el (timeclock-use-display-time):
9465 * bs.el (bs-mode):
9466 * bookmark.el (bookmark-save-flag):
9467 Doc fix (standardize possessive apostrophe usage).
9468
c98c6276
CY
94692012-02-27 Chong Yidong <cyd@gnu.org>
9470
bf7f9bc5
JB
9471 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9472 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 9473
c98c6276
CY
9474 * font-lock.el (font-lock-specified-p): Rename from
9475 font-lock-spec-present. Callers changed.
9476
9c62cd04 94772012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 9478
bf7f9bc5
JB
9479 * emacs-lisp/package.el (package-compute-transaction):
9480 Handle holding a package version to t in package-load-list.
8ac9e529 9481
530739c9
MA
94822012-02-26 Michael Albinus <michael.albinus@gmx.de>
9483
9484 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9485 (tramp-get-inode, tramp-get-device): Use cached values.
9486
487915d7
AM
94872012-02-26 Alan Mackenzie <acm@muc.de>
9488
9489 Check there is a font-lock specification before doing initial
9490 fontification.
9491
9492 * font-core.el (font-lock-mode): Move the conditional from
9493 :after-hook to font-lock-initial-fontify.
9494 (font-lock-default-function): Move the check for a specification
9495 to font-lock-spec-present.
9496
dc9924b8 9497 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
9498 (font-lock-spec-present): New function.
9499
4fd96557
JB
95002012-02-26 Jim Blandy <jimb@red-bean.com>
9501
9502 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9503 (gdb-send): Apply it to the operand of the '-interpreter-exec
9504 console' command, so that we can pass arguments with (say) quotes
9505 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9506
9a4888c0
CY
95072012-02-26 Chong Yidong <cyd@gnu.org>
9508
07498861
CY
9509 * help-fns.el (describe-function-1): Clarify description of
9510 remapping (Bug#10844).
9511
9a4888c0
CY
9512 * files.el (files-equal-p): Doc fix.
9513 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9514 and quit the loop once a mismatch is found.
9515
ea8fb88d
JB
95162012-02-25 Juanma Barranquero <lekktu@gmail.com>
9517
9518 * bs.el (bs--show-with-configuration): Don't throw an error
9519 if the window cannot be split; otherwise, subsequent calls to
9520 bs-show fail, restoring a stale window config. (Bug#10882)
9521
525795c1
JD
95222012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9523
9524 * term/ns-win.el (global-map): Bind ns-drag-file to
9525 ns-find-file (Bug#5855, Bug#10050).
9526
f008086f
AS
95272012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9528
9529 * calendar/parse-time.el (parse-time-string): Allow extractor to
9530 return nil.
9531
a3fcfa99
MA
95322012-02-25 Michael Albinus <michael.albinus@gmx.de>
9533
91027d08
JB
9534 * net/tramp.el (tramp-file-name-for-operation):
9535 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
9536
9537 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
9538 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9539 Add COPY-CONTENTS argument.
a3fcfa99 9540
67b0de11
CY
95412012-02-25 Chong Yidong <cyd@gnu.org>
9542
9543 Add custom groups for VC backends, for consistency with vc-bzr.
9544
9545 * vc/vc-arch.el (vc-arch):
9546 * vc/vc-cvs.el (vc-cvs):
9547 * vc/vc-git.el (vc-git):
9548 * vc/vc-hg.el (vc-hg):
9549 * vc/vc-mtn.el (vc-mtn):
9550 * vc/vc-rcs.el (vc-rcs):
9551 * vc/vc-sccs.el (vc-sccs):
9552 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9553 All relevant defcustoms reassigned.
9554
3c9dfce6
CY
95552012-02-25 Chong Yidong <cyd@gnu.org>
9556
1339bf43
CY
9557 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9558
3c9dfce6
CY
9559 * term/x-win.el (x-initialize-window-system): Reduce default for
9560 x-selection-timeout to 5 seconds (Bug#8869).
9561
25b2e303 95622012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9563
ec70a47d
GM
9564 * files.el (files-equal-p, file-subdir-of-p): New functions.
9565 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 9566 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
9567 * dired-aux.el (dired-copy-file-recursive): Same.
9568 (dired-create-files): Modify destination when source is equal to
9569 dest when copying files.
53a46cd0 9570 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 9571
914260cd
MA
95722012-02-24 Michael Albinus <michael.albinus@gmx.de>
9573
9574 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9575 (Bug#10874)
9576
2cb228f7
AM
95772012-02-23 Alan Mackenzie <acm@muc.de>
9578
9579 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9580 parameter "after-hook:" to allow the expansion to run code after
9581 the execution of the mode hooks.
9582
9583 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 9584 from font-lock-mode-internal.
2cb228f7 9585
91027d08 9586 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
9587 :after-hook.
9588
8f0fde21
SM
95892012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9590
3e88618b
SM
9591 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9592 (completion--cache-all-sorted-completions): New function.
9593 (completion-all-sorted-completions): Use it.
9594 (completion--do-completion, minibuffer-force-complete):
9595 Use it to re-instate the flush hook.
9596
8f0fde21
SM
9597 * icomplete.el (icomplete-completions): Replace last fix with a better
9598 one (bug#10850).
9599
8e911f6f
DG
96002012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9601
9602 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9603 when it might call us back infinitely (bug#10797).
9604
49fe4321
GM
96052012-02-23 Glenn Morris <rgm@gnu.org>
9606
9607 * minibuffer.el (completion-category-overrides): Doc fix.
9608
b291b572
SM
96092012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9610
9611 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9612 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9613
31a9ef2e
GM
96142012-02-23 Glenn Morris <rgm@gnu.org>
9615
5e6e6794 9616 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
9617 (authors-obsolete-files-regexps, authors-ignored-files)
9618 (authors-ambiguous-files, authors-renamed-files-alist):
9619 Add more entries.
9620
0bd1e074
JL
96212012-02-23 Juri Linkov <juri@jurta.org>
9622
9623 * isearch.el (isearch-occur): Sync interactive spec with occur's
9624 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9625
b617673c
JL
9626 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9627
19e9789e
JL
96282012-02-22 Juri Linkov <juri@jurta.org>
9629
9630 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9631 (ucs-insert): Doc fix. Check for hex digits in the string.
9632 Don't display `nil' in the error message. (Bug#10857)
9633
f41ce09d
AM
96342012-02-22 Alan Mackenzie <acm@muc.de>
9635
7a71b18d 9636 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 9637
ac2eceee
GM
96382012-02-22 Glenn Morris <rgm@gnu.org>
9639
9640 * ffap.el (ffap-c-path):
9641 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9642
abd1f678
CY
96432012-02-22 Chong Yidong <cyd@gnu.org>
9644
9645 * custom.el (load-theme): Doc fix.
9646
f25aef2e
GM
96472012-02-22 Glenn Morris <rgm@gnu.org>
9648
9649 * dired-x.el (dired-guess-shell-alist-default):
9650 Remove escape sequences from nroff output. (Bug#172)
9651
5f8dc2ca
GM
96522012-02-21 Glenn Morris <rgm@gnu.org>
9653
6ff86ec4
GM
9654 * vc/emerge.el (emerge-defvar-local):
9655 Set `permanent-local' property rather than unused `preserved'.
9656
be3223a3 9657 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
9658 (picture-mode-map): Use it. (Bug#10860)
9659 (picture-mode): Doc fix.
9660
3fe58f4f
JB
96612012-02-21 Juanma Barranquero <lekktu@gmail.com>
9662
9663 * newcomment.el (uncomment-region-default): Remove unused binding.
9664
f9a998c3
GM
96652012-02-21 Glenn Morris <rgm@gnu.org>
9666
9667 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9668 (picture-self-insert, picture-tab-chars): Doc fix.
9669 (picture-mode-map): Fix C-a, C-e.
9670
c6029348
GM
96712012-02-20 Glenn Morris <rgm@gnu.org>
9672
9673 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9674
ab1ce9d7
LL
96752012-02-20 Leo Liu <sdl.web@gmail.com>
9676
9677 * icomplete.el (icomplete-completions): Check FROM arg before
9678 passing to substring (Bug#10850).
9679
0fd40f89
CY
96802012-02-19 Chong Yidong <cyd@gnu.org>
9681
9682 * comint.el: Require ansi-color.
9683 (comint-output-filter-functions): Add ansi-color-process-output.
9684
9685 * ansi-color.el: Don't set comint-output-filter-functions; it is
9686 now in the initial value defined in comint.el.
9687 (ansi-color-apply-face-function): New variable.
9688 (ansi-color-apply-on-region): Use it.
9689 (ansi-color-apply-overlay-face): New function.
9690
9691 * shell.el (shell): No need to require ansi-color.
9692 (shell-mode): Use ansi-color-apply-face-function to highlight
9693 color escapes using font-lock-face property (Bug#10835).
9694
20af2394
CY
96952012-02-19 Chong Yidong <cyd@gnu.org>
9696
9697 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9698 mode-line formats (Bug#10839).
9699
e23a3fbe
GM
97002012-02-18 Glenn Morris <rgm@gnu.org>
9701
b474519e
GM
9702 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9703
9704 * mail/undigest.el (unforward-rmail-message): Doc fix.
9705
e23a3fbe
GM
9706 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9707
57939ff4
EZ
97082012-02-18 Eli Zaretskii <eliz@gnu.org>
9709
9710 * international/characters.el (script-list): Sync with the latest
9711 Unicode Character Database.
9712
0c23686e
AS
97132012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9714
9715 * international/titdic-cnv.el: Remove duplicate coding tag.
9716 * language/cham.el: Likewise.
9717 * language/tai-viet.el: Likewise.
9718
6818b449
GM
97192012-02-18 Glenn Morris <rgm@gnu.org>
9720
9721 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9722 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9723 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9724 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9725 * calendar/holidays.el (holiday-bahai-holidays)
9726 (calendar-holidays, list-holidays):
9727 Use utf-8 Bahá'í in doc-strings, menus, etc.
9728
0311a3fc
TH
97292012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9730
9731 * saveplace.el (save-place-ignore-files-regexp): New variable
9732 allowing for excluding files from saving their location of point.
9733 The default value matches the temporary commit message editing
9734 files from Git, SVN, Bazaar, and Mercurial.
9735 (save-place-to-alist): Use it.
9736
d209e2fb 97372012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 9738 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
9739
9740 * newcomment.el (uncomment-region-default): Don't leave extra space
9741 when an arg is provided (bug#8150).
9742
ee0ce425
TZ
97432012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9744
eb864a71 9745 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 9746
95ddf442
GM
97472012-02-17 Glenn Morris <rgm@gnu.org>
9748
9749 * net/socks.el: Require network-stream. (Bug#10599)
9750
48dd1e39 97512012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
9752
9753 * international/charprop.el:
9754 * international/uni-name.el:
9755 * international/uni-old-name.el:
9756 * international/uni-comment.el: Regenerate.
9757
d68cd087
GM
97582012-02-16 Glenn Morris <rgm@gnu.org>
9759
9760 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9761 Interactively in calendar buffer, give an error if not on a date.
9762
13932042
GM
97632012-02-15 Glenn Morris <rgm@gnu.org>
9764
9765 * shell.el (shell-delimiter-argument-list):
9766 Revert 2011-02-17 change. (Bug#8027)
9767
c3a70e2b
CY
97682012-02-15 Chong Yidong <cyd@gnu.org>
9769
60236b0d
CY
9770 * minibuffer.el (completion-at-point-functions): Doc fix.
9771
c3a70e2b
CY
9772 * custom.el (defcustom): Doc fix; note use of defvar.
9773
9f26dc24
GM
97742012-02-15 Glenn Morris <rgm@gnu.org>
9775
9776 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9777 Doc fixes.
9778
6546b134
GM
97792012-02-14 Glenn Morris <rgm@gnu.org>
9780
9781 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9782
d29b2b4c
LI
97832012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9784
9785 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9786 way the ports list is computed.
835bdcba
LI
9787 (smtpmail-query-smtp-server): Prompt the user for a port number if
9788 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 9789
08dcdbc9
TZ
97902012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9791
9792 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9793
2605051a
GM
97942012-02-13 Glenn Morris <rgm@gnu.org>
9795
9796 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9797
7ee99f32
TZ
97982012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9799
9800 * net/gnutls.el (gnutls-trustfiles): New variable.
9801 (gnutls-negotiate): Use it.
9802
5f0af64f
LI
98032012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9804
9805 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9806 does its stuff if Gnus is running.
9807
c14fcc95
AM
98082012-02-13 Alan Mackenzie <acm@muc.de>
9809
9810 Fix a loop in c-set-fl-decl-start.
9811
7a71b18d 9812 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
9813 c-backward-syntactic-ws actually moves backwards.
9814
142b4d90
LL
98152012-02-13 Leo Liu <sdl.web@gmail.com>
9816
9817 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9818 beginning so that all \C-o chars are removed.
9819
fa9958a6
TZ
98202012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9821
dc9924b8 9822 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 9823
0bc5886a
AM
98242012-02-12 Alan Mackenzie <acm@muc.de>
9825
9826 Fix infinite loop with long macros.
4d6769e1 9827 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 9828
d4bd55e7
CY
98292012-02-12 Chong Yidong <cyd@gnu.org>
9830
9831 * window.el (display-buffer): Doc fix (Bug#10785).
9832
66f3fe22
GM
98332012-02-12 Glenn Morris <rgm@gnu.org>
9834
bd7da63e
GM
9835 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9836 (x-disown-selection-internal, x-get-selection-internal):
9837 Sync docs with the xselect.c versions.
9838
66f3fe22
GM
9839 * allout-widgets.el: Add missing license notice.
9840
3e0d2fa7
GM
98412012-02-11 Glenn Morris <rgm@gnu.org>
9842
cfecdf09
GM
9843 * select.el (x-get-selection-internal, x-own-selection-internal)
9844 (x-disown-selection-internal):
9845 * x-dnd.el (x-get-selection-internal): Update declarations.
9846
6d216d7f
GM
9847 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9848
2bed3f04
GM
9849 * window.el (window-sides-slots):
9850 * tool-bar.el (tool-bar-position):
9851 * term/xterm.el (xterm-extra-capabilities):
9852 * ses.el (ses-self-reference-early-detection):
9853 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9854 (verilog-auto-wire-type)
9855 (verilog-auto-delete-trailing-whitespace)
9856 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9857 (verilog-auto-tieoff-declaration):
9858 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9859 (sql-oracle-statement-starters, sql-oracle-scan-on):
9860 * progmodes/prolog.el (prolog-align-comments-flag)
9861 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9862 (prolog-left-indent-regexp, prolog-paren-indent-p)
9863 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9864 (prolog-types, prolog-mode-specificators)
9865 (prolog-determinism-specificators, prolog-directives)
9866 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9867 (prolog-electric-dot-flag)
9868 (prolog-electric-dot-full-predicate-template)
9869 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9870 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9871 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9872 (prolog-program-switches, prolog-prompt-regexp)
9873 (prolog-debug-on-string, prolog-debug-off-string)
9874 (prolog-trace-on-string, prolog-trace-off-string)
9875 (prolog-zip-on-string, prolog-zip-off-string)
9876 (prolog-use-standard-consult-compile-method-flag)
9877 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9878 (prolog-imenu-max-lines, prolog-info-predicate-index)
9879 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9880 (prolog-char-quote-workaround):
9881 * progmodes/cc-vars.el (c-defun-tactic):
9882 * net/tramp.el (tramp-encoding-command-interactive)
9883 (tramp-local-end-of-line):
9884 * net/soap-client.el (soap-client):
9885 * net/netrc.el (netrc-file):
9886 * net/gnutls.el (gnutls):
9887 * minibuffer.el (completion-category-overrides)
9888 (completion-cycle-threshold)
9889 (completion-pcm-complete-word-inserts-delimiters):
9890 * man.el (Man-name-local-regexp):
9891 * mail/feedmail.el (feedmail-display-full-frame):
9892 * international/characters.el (glyphless-char-display-control):
9893 * eshell/em-ls.el (eshell-ls-date-format):
9894 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9895 (lisp-lambda-list-keyword-parameter-indentation)
9896 (lisp-lambda-list-keyword-parameter-alignment):
9897 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9898 * dired-x.el (dired-omit-verbose):
9899 * cus-theme.el (custom-theme-allow-multiple-selections):
9900 * calc/calc.el (calc-highlight-selections-with-faces)
9901 (calc-lu-field-reference, calc-lu-power-reference)
9902 (calc-note-threshold):
9903 * battery.el (battery-mode-line-limit):
9904 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9905 (archive-7z-update):
9906 * allout.el (allout-prefixed-keybindings)
9907 (allout-unprefixed-keybindings)
9908 (allout-inhibit-auto-fill-on-headline)
9909 (allout-flattened-numbering-abbreviation):
9910 * allout-widgets.el (allout-widgets-auto-activation)
9911 (allout-widgets-icons-dark-subdir)
9912 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9913 (allout-widgets-theme-dark-background)
9914 (allout-widgets-theme-light-background)
9915 (allout-widgets-item-image-properties-emacs)
9916 (allout-widgets-item-image-properties-xemacs)
9917 (allout-widgets-run-unit-tests-on-load)
9918 (allout-widgets-time-decoration-activity)
9919 (allout-widgets-hook-error-post-time)
9920 (allout-widgets-track-decoration):
9921 Add missing :version tags to new defcustoms and defgroups.
9922
5fec1b8e
GM
9923 * progmodes/sql.el (sql-ansi-statement-starters)
9924 (sql-oracle-statement-starters): Add custom type.
9925
3e0d2fa7
GM
9926 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9927 (prolog-system-version): Give it a type.
9928
90b671e2
EZ
99292012-02-11 Eli Zaretskii <eliz@gnu.org>
9930
9931 * term/pc-win.el (x-select-text, x-selection-owner-p)
9932 (x-own-selection-internal, x-disown-selection-internal)
9933 (x-get-selection-internal): Sync doc strings and argument lists
9934 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9935
5eac0c02
LL
99362012-02-11 Leo Liu <sdl.web@gmail.com>
9937
9938 * progmodes/python.el (python-end-of-statement): Fix infinite
9939 loop. (Bug#10788)
9940
f82cb659
GM
99412012-02-10 Glenn Morris <rgm@gnu.org>
9942
9943 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9944 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9945
cc26d239
LI
99462012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9947
9948 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9949 about SMTP before checking the From header.
9950
91027d08 9951 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
9952 into own function for reuse by emacsbug.el.
9953
1be3ca5a
LL
99542012-02-10 Leo Liu <sdl.web@gmail.com>
9955
9956 * subr.el (condition-case-unless-debug): Rename from
9957 condition-case-no-debug. All callers changed.
9958 (with-demoted-errors): Fix caller.
9959
9960 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9961 * nxml/rng-valid.el (rng-do-some-validation):
9962 * emacs-lisp/package.el (package-refresh-contents)
9963 (package-menu-execute):
9964 * desktop.el (desktop-create-buffer):
91027d08 9965 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 9966
b011fbfe
GM
99672012-02-10 Glenn Morris <rgm@gnu.org>
9968
b2096d72
GM
9969 * textmodes/bibtex.el:
9970 Add missing :version tags for new/changed defcustoms.
9971
b011fbfe
GM
9972 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9973
4c7e65bf
LI
99742012-02-09 Lars Ingebrigtsen <larsi@rusty>
9975
9976 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9977 (smtpmail-via-smtp): Use it, or fall back on the From address.
9978 (smtpmail-send-it): Ditto.
9979
f3934f6f
SM
99802012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9981
9982 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9983 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9984 (byte-compile-tmp-var): New const.
9985 (byte-compile-defvar): Use it to minimize .elc size.
9986 Just use `defvar' rather than simulate it (bug#10761).
9987
a075a2c5
GM
99882012-02-09 Glenn Morris <rgm@gnu.org>
9989
cf3aa21b
GM
9990 * files.el (rename-uniquely): Doc fix. (Bug#3806)
9991
354998cd
GM
9992 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9993 Add :version tags.
9994
dc9924b8
SM
9995 * progmodes/compile.el (compilation-error-screen-columns)
9996 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 9997
dab3703d
GM
9998 * vc/log-view.el (log-view-toggle-entry-display):
9999 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10000
3f88cd72
GM
10001 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10002 (report-emacs-bug-can-use-xdg-email):
10003 (report-emacs-bug-insert-to-mailer): Doc fixes.
10004 (report-emacs-bug): Message fix.
10005
d95b247d
GM
10006 * net/browse-url.el (browse-url-can-use-xdg-open)
10007 (browse-url-xdg-open): Doc fixes.
10008
a075a2c5
GM
10009 * electric.el (electric-indent-mode, electric-pair-mode)
10010 (electric-layout-rules, electric-layout-mode): Doc fixes.
10011 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10012
ffb6157e
MR
100132012-02-08 Martin Rudalics <rudalics@gmx.at>
10014
10015 * server.el (server-unselect-display): Don't inadvertently kill
10016 the current buffer. (Bug#10729)
10017
e1ac4066
GM
100182012-02-08 Glenn Morris <rgm@gnu.org>
10019
34e8a2da
GM
10020 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10021 (sql-list-table): Doc fixes.
10022
b4ac6e8c
GM
10023 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10024 Comment out (does nothing).
10025
e1ac4066
GM
10026 * completion.el (dynamic-completion-mode):
10027 * dirtrack.el (dirtrack-debug-mode):
10028 * electric.el (electric-layout-mode):
10029 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10030 * face-remap.el (text-scale-mode, buffer-face-mode):
10031 * iimage.el (iimage-mode):
10032 * image-mode.el (image-transform-mode):
10033 * minibuffer.el (completion-in-region-mode):
10034 * scroll-lock.el (scroll-lock-mode):
10035 * simple.el (next-error-follow-minor-mode):
10036 * tar-mode.el (tar-subfile-mode):
10037 * tooltip.el (tooltip-mode):
10038 * vcursor.el (vcursor-use-vcursor-map):
10039 * wid-browse.el (widget-minor-mode):
10040 * emulation/tpu-edt.el (tpu-edt-mode):
10041 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10042 * international/iso-ascii.el (iso-ascii-mode):
10043 * language/thai-util.el (thai-word-mode):
10044 * mail/supercite.el (sc-minor-mode):
10045 * net/goto-addr.el (goto-address-mode):
10046 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10047 * progmodes/cwarn.el (cwarn-mode):
10048 * progmodes/flymake.el (flymake-mode):
10049 * progmodes/glasses.el (glasses-mode):
10050 * progmodes/hideshow.el (hs-minor-mode):
10051 * progmodes/pascal.el (pascal-outline-mode):
10052 * textmodes/enriched.el (enriched-mode):
10053 * vc/smerge-mode.el (smerge-mode):
10054 Doc fixes (minor mode argument).
10055
5e0d957f
EZ
100562012-02-07 Eli Zaretskii <eliz@gnu.org>
10057
10058 * ls-lisp.el (ls-lisp-sanitize): New function.
10059 (ls-lisp-insert-directory): Use it to fix or remove any elements
10060 in file-alist with missing attributes. (Bug#4673)
10061
98d7371e
AM
100622012-02-07 Alan Mackenzie <acm@muc.de>
10063
10064 Fix spurious recognition of c-in-knr-argdecl.
10065
10066 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10067 putative K&R region.
10068
667ced3a
AM
100692012-02-07 Alan Mackenzie <acm@muc.de>
10070
eb864a71
LM
10071 * progmodes/cc-engine.el (c-forward-objc-directive):
10072 Prevent looping in "#pragma mark @implementation".
667ced3a 10073
5b77774d
MA
100742012-02-07 Michael Albinus <michael.albinus@gmx.de>
10075
10076 * notifications.el (notifications-on-closed-signal): Make `reason'
10077 optional. (Bug#10744)
10078
af008560
GM
100792012-02-07 Glenn Morris <rgm@gnu.org>
10080
60d47423
GM
10081 * emacs-lisp/easy-mmode.el (define-minor-mode):
10082 Doc fixes for the macro and the mode it defines.
10083
dd605cc4
GM
10084 * image.el (imagemagick-types-inhibit): Doc fix.
10085
af008560
GM
10086 * cus-start.el (imagemagick-render-type): Add it.
10087
5cc59a37
LI
100882012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10089
4d6769e1
JB
10090 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10091 Set the default at load time, too, so that `font-lock-fontify-buffer'
10092 can be called without setting up the entire mode first. This fixes
10093 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 10094
9a6dd747
CY
100952012-02-06 Chong Yidong <cyd@gnu.org>
10096
2d16b285
CY
10097 * simple.el (list-processes--refresh): Delete exited processes
10098 (Bug#8094).
10099
171e9b6e
CY
10100 * comint.el (comint-next-prompt): next-single-char-property-change
10101 and prev-single-char-property-change never return nil (Bug#8657).
10102
9a6dd747
CY
10103 * custom.el (defcustom): Doc fix (Bug#9711).
10104
aa4589a7
CY
101052012-02-05 Chong Yidong <cyd@gnu.org>
10106
5c2a252f
CY
10107 * cus-edit.el (custom-variable-reset-backup): Quote the value
10108 before storing it in the customized-value property (Bug#6712).
4aab9006 10109 (custom-display): Add a customization type tag.
983b9602 10110 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 10111
aa4589a7
CY
10112 * wid-edit.el (widget-field-value-get): New optional arg to
10113 suppress trailing whitespace truncation.
10114 (character): Use it (Bug#2689).
10115
1ff980ae
AS
101162012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10117
10118 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10119 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10120
03988c98
CY
101212012-02-05 Chong Yidong <cyd@gnu.org>
10122
eeb6cc88
CY
10123 * cus-edit.el (custom-variable-value-create): For mismatched
10124 types, show the current value (Bug#7600).
10125
03988c98
CY
10126 * custom.el (defcustom): Doc fix.
10127
f8cdeef0
GM
101282012-02-05 Glenn Morris <rgm@gnu.org>
10129
10130 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10131
0696d255
JB
101322012-02-05 Juanma Barranquero <lekktu@gmail.com>
10133
10134 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10135 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10136 (pp-last-sexp): Use `looking-at-p'.
10137
34c99998
GM
101382012-02-04 Glenn Morris <rgm@gnu.org>
10139
8f05da42
GM
10140 * files.el (revert-buffer):
10141 Doc fix (mention revert-buffer-in-progress-p).
10142
f160676e
GM
10143 * emacs-lisp/ert-x.el (ert-simulate-command):
10144 Check deferred-action-list (which is obsolete) is bound.
10145
c7291ad9
GM
10146 * subr.el (with-wrapper-hook): Doc fixes.
10147
34c99998
GM
10148 * simple.el (filter-buffer-substring-functions)
10149 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10150
6283a7d3
LL
101512012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10152
10153 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10154 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10155
e96e3013
LL
101562012-02-04 Leo Liu <sdl.web@gmail.com>
10157
10158 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10159
8ded50f2
GM
101602012-02-04 Glenn Morris <rgm@gnu.org>
10161
82ff1d13
GM
10162 * image.el (image-extension-data): Add obsolete alias.
10163
987a0a16
GM
10164 * isearch.el (isearch-update): Doc fix.
10165
ea32ef46
GM
10166 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10167
8ded50f2
GM
10168 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10169
eea14f31
GM
101702012-02-03 Glenn Morris <rgm@gnu.org>
10171
10172 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10173 (image-animate-timeout): Doc fix.
10174
10175 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10176
12f381b7
GM
101772012-02-02 Glenn Morris <rgm@gnu.org>
10178
953cebf5
GM
10179 * server.el (server-auth-dir): Doc fix.
10180 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10181
12f381b7
GM
10182 * subr.el (run-mode-hooks): Doc fix.
10183
953a8c3b
JL
101842012-02-02 Juri Linkov <juri@jurta.org>
10185
10186 * image-mode.el (image-toggle-display-image): Remove tautological
10187 `major-mode' from the `derived-mode-p' test.
10188
c5d3843c
KH
101892012-02-02 Kenichi Handa <handa@m17n.org>
10190
9f6e692e 10191 * composite.el (compose-region): Cancel previous change.
c5d3843c 10192
159462d4 101932012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
10194
10195 * composite.el (compose-region, compose-string): Signal error for
10196 a null string component (Bug#6988).
10197
9f562668
CY
101982012-02-01 Chong Yidong <cyd@gnu.org>
10199
e2cef717
CY
10200 * view.el (view-buffer-other-window, view-buffer-other-frame):
10201 Handle special modes like view-buffer (Bug#10650).
10202 (view-buffer): Simplify.
10203
9f562668
CY
10204 * frame.el (set-frame-font): Tweak meaning of third argument.
10205
9f6e692e
JB
10206 * dynamic-setting.el (font-setting-change-default-font):
10207 Use set-frame-font (Bug#9982).
9f562668 10208
781acb9f
GM
102092012-02-01 Glenn Morris <rgm@gnu.org>
10210
6035be52
GM
10211 * progmodes/compile.el (compilation-internal-error-properties):
10212 Respect compilation-first-column in the "*compilation*" buffer.
10213
781acb9f
GM
10214 * emacs-lisp/easy-mmode.el (define-minor-mode):
10215 Relax :variable's test for a named function.
10216
abbceb00
AM
102172012-01-31 Alan Mackenzie <acm@muc.de>
10218
10219 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10220 off by one error.
10221
fce3fdeb
CY
102222012-01-31 Chong Yidong <cyd@gnu.org>
10223
10224 * frame.el (set-frame-font): New arg ALL-FRAMES.
10225
10226 * menu-bar.el (menu-set-font): Use set-frame-font.
10227
10228 * faces.el (face-spec-reset-face): Don't apply unspecified
10229 attribute values to the default face.
10230
47893581
JB
102312012-01-31 Juanma Barranquero <lekktu@gmail.com>
10232
10233 * progmodes/cwarn.el (cwarn): Remove dead link.
10234 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10235 Remove * from defcustom docstrings.
10236 (turn-on-cwarn-mode): Make obsolete.
10237 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10238 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10239
e58e988a
GM
102402012-01-31 Glenn Morris <rgm@gnu.org>
10241
60dc2671 10242 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 10243 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 10244 Allow named functions to be used as the cdr of :variable.
e58e988a 10245
7a3f511d
GM
102462012-01-30 Glenn Morris <rgm@gnu.org>
10247
10248 * emacs-lisp/authors.el (authors-fixed-entries):
10249 Remove reference to deleted file rnewspost.el.
10250
cb882333
JB
102512012-01-29 Juanma Barranquero <lekktu@gmail.com>
10252
10253 * window.el (window-with-parameter): Remove unused variable `windows'.
10254 (window--side-check): Remove unused variable `code'.
10255 (window--resize-siblings): Remove unused variable `first'.
10256 (adjust-window-trailing-edge): Remove unused variable `failed'.
10257 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10258 Use `let', not `let*'.
10259 (balance-windows-2): Remove unused variable `found'.
10260 (window--state-put-2): Remove unused variable `splits'.
10261 (window-state-put): Remove unused variable `selected'.
10262 (same-window-p): Use `string-match-p'.
10263 (display-buffer-assq-regexp): Remove unused variable `value'.
10264 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10265 Mark argument ALIST as ignored.
10266 (pop-to-buffer): Remove unused variable `old-window'.
10267
907201af
EZ
102682012-01-29 Eli Zaretskii <eliz@gnu.org>
10269
10270 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10271 and .lzma compressed files.
10272
ea162670
CY
102732012-01-29 Chong Yidong <cyd@gnu.org>
10274
5b95ee8a
CY
10275 * frame.el (window-system-default-frame-alist): Doc fix.
10276
ea162670
CY
10277 * dynamic-setting.el (font-setting-change-default-font): Don't
10278 change the default face if SET-FONT argument is non-nil (Bug#9982).
10279
d6e6f4b1
SB
102802012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10281
10282 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10283
0f29fa41 102842012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
10285
10286 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10287 breakpoints in files outside current directory (Bug#6098).
10288
db174434
CY
102892012-01-29 Chong Yidong <cyd@gnu.org>
10290
6b25e4e2
SE
10291 * progmodes/python.el: Require ansi-color at top-level.
10292
6df6ae42
JB
10293 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10294 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
10295 (lisp-mode-abbrev-table): Add doc.
10296 (lisp-mode-variables): Don't set local-abbrev-table.
10297 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10298
e70ee681
RW
102992012-01-28 Roland Winkler <winkler@gnu.org>
10300
10301 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10302
ace88aa2
RW
103032012-01-28 Roland Winkler <winkler@gnu.org>
10304
10305 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10306 (bibtex-set-dialect): Use it. Either set global values of
10307 dialect-dependent variables or bind these variables buffer-locally
10308 (Bug#10254).
10309 (bibtex-mode): Call bibtex-set-dialect via
10310 hack-local-variables-hook.
eb864a71
LM
10311 (bibtex-dialect): Update docstring.
10312 Add safe-local-variable predicate.
ace88aa2
RW
10313 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10314 bibtex-set-dialect.
10315 (bibtex-mode-map): Define menu for each dialect.
10316 (bibtex-entry): Fix docstring.
10317
93376c5b
CY
103182012-01-28 Chong Yidong <cyd@gnu.org>
10319
10320 * eshell/esh-arg.el (eshell-quote-argument): New function.
10321
10322 * eshell/esh-ext.el (eshell-invoke-batch-file):
10323 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10324 first arg to eshell-parse-command (Bug#10523).
10325
4372494f
DA
103262012-01-28 Drew Adams <drew.adams@oracle.com>
10327
10328 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10329 `default-directory' is non-nil.
10330
4d4ec1f8
EZ
103312012-01-28 Eli Zaretskii <eliz@gnu.org>
10332
10333 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10334 line that displays system-configuration-options. (Bug#9924)
10335
7c188927
DA
103362012-01-28 Drew Adams <drew.adams@oracle.com>
10337
10338 * descr-text.el (describe-char): Show information about POS, in
10339 addition to information about the character at POS. Improve and
10340 update the doc string. Change "code point" to "code point in
10341 charset", to avoid confusion with the character's Unicode code
10342 point shown above that. (Bug#10129)
10343
e0da685a
EZ
103442012-01-28 Eli Zaretskii <eliz@gnu.org>
10345
10346 * descr-text.el (describe-char): Show the raw character, not only
10347 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10348 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10349 for the reasons.
10350
70550acf
PH
103512012-01-28 Phil Hagelberg <phil@hagelb.org>
10352
eb864a71
LM
10353 * emacs-lisp/package.el (package-install):
10354 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 10355
0ce8e868
CY
103562012-01-28 Chong Yidong <cyd@gnu.org>
10357
cb882333
JB
10358 * emacs-lisp/package.el (package-maybe-load-descriptor):
10359 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
10360 (package-maybe-load-descriptor): Use it.
10361 (package-download-transaction): Fully load required packages
10362 inside the loop, so that `require' calls work (Bug#10593).
10363 (package-install): No need to call package-initialize now.
10364
2e7f3bea
CY
103652012-01-28 Chong Yidong <cyd@gnu.org>
10366
6e9bad14
CY
10367 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10368
f823b8ca
CY
10369 * tooltip.el (tooltip-mode): Doc fix.
10370 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10371
2680c309
CY
10372 * frame.el (set-cursor-color): Doc fix (Bug#352).
10373
d7a9e63b
CY
10374 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10375 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10376
2e7f3bea
CY
10377 * cus-edit.el (custom-buffer-create-internal): Fix search button
10378 action (Bug#10542).
2ae01800 10379 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 10380
fc4f7a23
EW
103812012-01-27 Eduard Wiebe <usenet@pusto.de>
10382
10383 * dired.el (dired-mark-files-regexp):
10384 Include any subdirectory components. (Bug#10445)
10385
7dd37071
ML
103862012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10387
10388 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10389 Handle [host]:port syntax. (Bug#10533)
10390
a268160b
AH
103912012-01-27 Alex Harsanyi <harsanyi@mac.com>
10392
10393 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10394
e43273ef
GM
103952012-01-26 Glenn Morris <rgm@gnu.org>
10396
10397 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10398 * term.el (term-raw-escape-map): Use Control-X-prefix.
10399 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10400
1edf595d
MR
104012012-01-25 Martin Rudalics <rudalics@gmx.at>
10402
10403 * window.el (window-state-get, window--state-get-1): Don't deal
10404 with fixed-sizeness of windows. Simplify code.
10405
fa8eafef
JC
104062012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10407
6df6ae42
JB
10408 * window.el (window--state-get-1, window--state-put-2):
10409 Don't save and restore the mark.
fa8eafef 10410
0b21c100
CY
104112012-01-25 Chong Yidong <cyd@gnu.org>
10412
10413 * custom.el (custom-variable-p): Doc fix.
10414
5ae1a6c8
GM
104152012-01-25 Glenn Morris <rgm@gnu.org>
10416
40047858
GM
10417 * dired.el (dired-goto-file): Handle some of the more common
10418 characters that `ls -b' escapes. (Bug#10596)
10419
5ddce96c
GM
10420 * progmodes/compile.el (compilation-next-error-function):
10421 Respect compilation-first-column in the "*compilation*" buffer.
10422 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10423
5ae1a6c8
GM
10424 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10425
b559f1a9
GM
104262012-01-24 Glenn Morris <rgm@gnu.org>
10427
10428 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10429
6725d21a
JD
104302012-01-24 Julien Danjou <julien@danjou.info>
10431
10432 * color.el (color-rgb-to-hsl): Fix value computing.
10433 (color-hue-to-rgb): New function.
10434 (color-hsl-to-rgb): New function.
10435 (color-clamp, color-saturate-hsl, color-saturate-name)
10436 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10437 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10438
70df4bbe
GM
104392012-01-24 Glenn Morris <rgm@gnu.org>
10440
10441 * vc/vc-rcs.el (vc-rcs-create-tag):
10442 * vc/vc-sccs.el (vc-sccs-create-tag):
10443 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10444
802a2ae2
ML
104452012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10446
10447 * eshell/esh-util.el (eshell-read-hosts-file):
10448 Skip comment lines. (Bug#10549)
10449
d7128bb1
ML
10450 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10451
d1a5c3b4
JB
104522012-01-23 Juanma Barranquero <lekktu@gmail.com>
10453
2724d9c7
JB
10454 * subr.el (display-delayed-warnings): Doc fix.
10455 (collapse-delayed-warnings): New function to collapse identical
10456 adjacent warnings.
10457 (delayed-warnings-hook): Add it.
d1a5c3b4 10458
a5509865
MA
104592012-01-22 Michael Albinus <michael.albinus@gmx.de>
10460
10461 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10462
a5509865
MA
10463 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10464 (tramp-default-user-alist): Don't add "pscp".
10465 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10466 property "login-as", if set. (Bug#10530)
10467
cc6d5805
MA
104682012-01-21 Michael Albinus <michael.albinus@gmx.de>
10469
10470 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10471 "plink1" and "psftp". (Bug#10530)
10472
104732012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
10474
10475 * international/mule-cmds.el (prefer-coding-system): Show a
10476 warning message if the default value of file-name-coding-system
10477 was not changed.
10478
f0960428
JC
104792012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10480
cb882333
JB
10481 * windmove.el (windmove-reference-loc):
10482 Fix windmove-reference-loc miscalculation.
f0960428 10483
dd6f2a63
JB
104842012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10485
10486 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10487 default unit.
10488
7b447e9b
GM
104892012-01-21 Glenn Morris <rgm@gnu.org>
10490
117a9ea1
GM
10491 * international/mule.el (auto-coding-alist): Add .tbz.
10492
7b447e9b
GM
10493 * files.el (local-enable-local-variables): Doc fix.
10494 (inhibit-local-variables-regexps): Rename from
10495 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10496 Doc fix. Add some extensions from auto-coding-alist.
10497 (inhibit-local-variables-suffixes):
10498 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10499 (inhibit-local-variables-p):
10500 New function, extracted from set-auto-mode-1.
10501 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10502 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10503 (hack-local-variables): Doc fix. Make the mode-only case
10504 respect enable-local-variables and friends.
10505 Respect inhibit-local-variables-regexps for file-locals, but
10506 not for directory-locals.
10507 (set-visited-file-name):
10508 Take account of inhibit-local-variables-regexps.
10509 Whether it applies may change as the file name is changed.
10510 * jka-cmpr-hook.el (jka-compr-install):
10511 * jka-compr.el (jka-compr-uninstall):
10512 Update for inhibit-first-line-modes-suffixes name change.
10513
dd6e3cdd
MR
105142012-01-20 Martin Rudalics <rudalics@gmx.at>
10515
10516 * help-macro.el (make-help-screen): Temporarily restore original
10517 binding for minor-mode-map-alist (Bug#10454).
10518
0d0deb38
JD
105192012-01-19 Julien Danjou <julien@danjou.info>
10520
10521 * color.el (color-name-to-rgb): Use the white color to find the max
10522 color component value and return correctly computed values.
10523 (color-name-to-rgb): Add missing float conversion for max value.
10524
34a02f46
MR
105252012-01-19 Martin Rudalics <rudalics@gmx.at>
10526
10527 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
10528 special state value for window-persistent-parameters.
10529 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
10530 (window--state-put-2): Reset all window parameters to nil before
10531 assigning values of persistent parameters.
10532
606c44c4
AM
105332012-01-18 Alan Mackenzie <acm@muc.de>
10534
10535 Eliminate sluggishness and hangs in fontification of "semicolon
10536 deserts".
10537
cb882333
JB
10538 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10539 Change value 10000 -> 3000.
606c44c4
AM
10540 (c-state-safe-place): Reformulate so it doesn't stack up an
10541 infinite number of wrong entries in c-state-nonlit-pos-cache.
10542 (c-determine-limit-get-base, c-determine-limit): New functions to
10543 determine backward search limits disregarding literals.
10544 (c-find-decl-spots): Amend commenting.
10545 (c-cheap-inside-bracelist-p): New function which detects "={".
10546
10547 * progmodes/cc-fonts.el
10548 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10549 backward search.
10550 (c-font-lock-declarations): Fix an occurrence of point being
10551 undefined. Check additionally for point being in a bracelist or
10552 near a macro invocation without a semicolon so as to avoid a
10553 fruitless time consuming search for a declarator. Give a more
10554 precise search limit for declarators using the new
10555 c-determine-limit.
10556
f3860cea
GM
105572012-01-18 Glenn Morris <rgm@gnu.org>
10558
10559 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10560 (set-auto-mode): Doc fixes.
10561
1db03b16
GM
105622012-01-17 Glenn Morris <rgm@gnu.org>
10563
0e6038be
GM
10564 * isearch.el (search-nonincremental-instead): Fix doc typo.
10565
1db03b16
GM
10566 * dired.el (dired-insert-directory): Handle newlines in directory name.
10567 (dired-build-subdir-alist): Unescape newlines in directory name.
10568
4cb0aa75
MA
105692012-01-17 Michael Albinus <michael.albinus@gmx.de>
10570
10571 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10572 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10573 (tramp-action-terminal): Use it. (Bug#10530)
10574
1d00653d
SM
105752012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10576
10577 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10578
6a6ee00d
MR
105792012-01-16 Martin Rudalics <rudalics@gmx.at>
10580
10581 * window.el (window-state-ignored-parameters): Remove variable.
10582 (window--state-get-1): Rename argument MARKERS to IGNORE.
10583 Handle persistent window parameters. Make copy of clone-of
10584 parameter only if requested. (Bug#10348)
10585 (window--state-put-2): Install a window parameter only if it has
10586 a non-nil value or an existing parameter shall be overwritten.
10587
97912def
MA
105882012-01-15 Michael Albinus <michael.albinus@gmx.de>
10589
10590 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10591
688070a5
EZ
105922012-01-14 Eli Zaretskii <eliz@gnu.org>
10593
10594 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10595 don't pass the (nil) value of `upnode' to string-match.
10596
301afadc
CY
105972012-01-14 Chong Yidong <cyd@gnu.org>
10598
10599 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 10600 Fix values recognized by the cursorBlink resource.
301afadc 10601
9e5788aa
PE
106022012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10603
10604 * epg.el (epg--make-temp-file): Avoid permission race condition
10605 when running on old Emacs versions (bug#10403).
10606
3cdb7f5a
GM
106072012-01-14 Glenn Morris <rgm@gnu.org>
10608
10609 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10610
8c82b1b4
AM
106112012-01-13 Alan Mackenzie <acm@muc.de>
10612
10613 Fix filling for when filladapt mode is enabled.
10614
10615 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10616 c-mask-paragraph, pass in `fill-paragraph' rather than
10617 `fill-region-as-paragraph'. (This is a reversion of a previous
10618 change.)
eb864a71
LM
10619 * progmodes/cc-mode.el (c-basic-common-init):
10620 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 10621
e517eda4
GM
106222012-01-13 Glenn Morris <rgm@gnu.org>
10623
1498536e
GM
10624 * dired.el (dired-switches-escape-p): New function.
10625 (dired-insert-directory): Use dired-switches-escape-p.
10626 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10627
e517eda4
GM
10628 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10629
328f984d
GM
106302012-01-12 Glenn Morris <rgm@gnu.org>
10631
10632 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10633 changes in adaptive-fill-regexp. (Bug#10276)
10634
2cc769a8
AM
106352012-01-11 Alan Mackenzie <acm@muc.de>
10636
10637 Fix Emacs bug #10463 - put `widen's around the critical spots.
10638
1d00653d 10639 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
10640 widen around each invocation of c-state-pp-to-literal. Remove an
10641 unused let variable.
10642
e52c37fa
GM
106432012-01-11 Glenn Morris <rgm@gnu.org>
10644
10645 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 10646 Doc fix.
e52c37fa 10647
96f8741e
CY
106482012-01-10 Chong Yidong <cyd@gnu.org>
10649
1d00653d
SM
10650 * net/network-stream.el (network-stream-open-starttls):
10651 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
10652 response to the capability command.
10653
b09a806e
GM
106542012-01-10 Glenn Morris <rgm@gnu.org>
10655
10656 * mail/unrmail.el (unrmail): Tweak previous change.
10657
7655cb66
CY
106582012-01-09 Chong Yidong <cyd@gnu.org>
10659
10660 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10661
9d5a8f0b
AM
106622012-01-08 Alan Mackenzie <acm@muc.de>
10663
10664 Optimise font locking in long enum definitions.
10665
10666 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10667 arm to a cond form to handle enums.
10668 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10669 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10670
9a0115ab 106712012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
10672
10673 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 10674 (Bug#10401)
6bb72cbd 10675
f186bb95
LMI
106762012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10677
29232a68
LMI
10678 * faces.el (set-face-attribute): Clarify the meaning of the nil
10679 frame (bug#10294).
10680
4e5d086d
LMI
10681 * subr.el (with-selected-frame): Mention that the selected frame
10682 is restored (bug#9980).
10683
8e66aebe
LMI
10684 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10685 (bug#9759).
10686
cd394be1 10687 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
10688 (password-read): Don't autoload unused function.
10689
adf4e762
JB
106902012-01-07 Juanma Barranquero <lekktu@gmail.com>
10691
10692 * progmodes/which-func.el (which-func-mode): Turn into a
10693 non-interactive function and mark as obsolete (bug#10428).
10694
89bd9ccd
CY
106952012-01-06 Chong Yidong <cyd@gnu.org>
10696
10697 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10698 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10699 functions, along with 1 and -1.
10700
4afee9d5
EZ
107012012-01-06 Eli Zaretskii <eliz@gnu.org>
10702
10703 * time.el (display-time-load-average)
10704 (display-time-default-load-average): Doc fixes. See the thread
10705 starting at
10706 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10707 for the details.
10708
536aea70
GM
107092012-01-06 Glenn Morris <rgm@gnu.org>
10710
665ae865
GM
10711 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10712 has no messages. (Bug#10377)
10713
c869783d
GM
10714 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10715 than Info-edit. (Bug#10385)
10716
2bb4227e
GM
10717 * time.el (display-time-load-average, display-time-next-load-average):
10718 Doc fixes.
10719
7d5944b9
GM
10720 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10721 local setting of buffer-read-only to the input buffer. (Bug#10419)
10722
536aea70
GM
10723 * calendar/calendar.el (calendar-mode):
10724 Locally set scroll-margin to 0. (Bug#10379)
10725
7dccca16
UM
107262012-01-06 Ulrich Mueller <ulm@gentoo.org>
10727
10728 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10729
afbb7930
GM
107302012-01-05 Glenn Morris <rgm@gnu.org>
10731
10732 * eshell/em-unix.el (diff-no-select): Autoload it.
10733 (eshell/diff): Use diff-no-select. (Bug#10420)
10734
04482335
CY
107352012-01-05 Chong Yidong <cyd@gnu.org>
10736
7baca3bc
CY
10737 * shell.el (shell-dynamic-complete-functions): Revert last change.
10738 (shell-command-completion-function): New function.
10739 (shell-completion-vars): Use it to implement
10740 shell-completion-execonly (Bug#10417).
10741
04482335
CY
10742 * custom.el (enable-theme): Don't set custom-safe-themes.
10743
1d00653d
SM
10744 * cus-theme.el (custom-theme-merge-theme):
10745 Ignore custom-enabled-themes and custom-safe-themes.
04482335 10746
bb5aa5d6
MM
107472012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10748
10749 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10750 first prompt in `sql-interacive-mode'.
10751 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 10752 keywords.
6df6ae42 10753 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
10754 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10755 context of original buffer. Invoke `sql-login-hook'.
10756
a7183d7c
EZ
107572012-01-04 Eli Zaretskii <eliz@gnu.org>
10758
10759 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10760 letters in cite-prefix.
10761
a1eacd1e
LMI
107622012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10763
10764 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10765
787cdb34
CY
107662012-01-03 Chong Yidong <cyd@gnu.org>
10767
1d00653d
SM
10768 * shell.el (shell-dynamic-complete-functions):
10769 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
10770 comint-filename-completion first (Bug#10417).
10771
30710442
RS
107722012-01-02 Richard Stallman <rms@gnu.org>
10773
10774 * battery.el (battery-status-function):
10775 Detect when to use battery-yeeloong-sysfs.
10776 (battery-echo-area-format): Add string for Yeeloong.
10777 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10778 (battery-yeeloong-sysfs): New function.
10779
f75bfc33
CY
107802012-01-02 Chong Yidong <cyd@gnu.org>
10781
10782 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10783 (dirtrack): Merge code for handling relative filenames in prompt
10784 from shell-dir-cookie-watcher.
10785 (dirtrack-debug-message): New arg to avoid excess format calls.
10786
10787 * shell.el (shell-dir-cookie-re): Variable deleted.
10788 (shell-dir-cookie-watcher): Function deleted.
10789 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10790 with dirtrack-mode.
10791
651e947e
EZ
107922012-01-01 Eli Zaretskii <eliz@gnu.org>
10793
1d00653d
SM
10794 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10795 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
10796 libgnutls-26.dll.
10797
94d4c7dc
AS
107982011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10799
10800 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10801
8d43f3cd
EZ
108022011-12-31 Eli Zaretskii <eliz@gnu.org>
10803
10804 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10805 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10806
98c8795a
MA
108072011-12-29 Michael Albinus <michael.albinus@gmx.de>
10808
10809 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10810 also for alternative shells.
10811 (tramp-open-connection-setup-interactive-shell): Check, whether
10812 the shell is a busybox.
10813 (tramp-send-command): Don't suppress multiple prompts for
10814 busyboxes, it hurts.
10815
51281b32
CY
108162011-12-28 Chong Yidong <cyd@gnu.org>
10817
10818 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10819 (gdb-get-source-file): Move mode line update to
10820 gdb-get-source-file (Bug#10087).
10821
2170cb53
CY
108222011-12-25 Chong Yidong <cyd@gnu.org>
10823
10824 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10825 gud-gdb-marker-filter without taking it as an argument.
10826 (gud-gdb-run-command-fetch-lines): Caller changed.
10827 (gud-gdb-completion-function): New variable.
10828 (gud-gdb-completion-at-point): Use it.
10829 (gud-gdb-completions-1): Split from gud-gdb-completions.
10830
10831 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10832 function as separate arguments.
10833 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10834 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10835 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10836 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10837 (gdb-stopped, def-gdb-auto-update-trigger)
10838 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
10839 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10840 Callers changed.
2170cb53
CY
10841 (gud-gdbmi-completions): New function.
10842 (gdb): Use it for generating the completion table.
10843
be8b11bb
AM
108442011-12-24 Alan Mackenzie <acm@muc.de>
10845
10846 Introduce a mechanism to widen the region used in context font
1d00653d 10847 locking. Use this to protect declarations from losing their contexts.
be8b11bb 10848
1d00653d
SM
10849 * progmodes/cc-langs.el (c-before-font-lock-functions):
10850 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 10851 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
10852 functions to be run just before context (etc.) font locking.
10853
10854 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 10855 New, functionality extracted from
be8b11bb 10856 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 10857 (c-in-after-change-fontification): New variable.
be8b11bb
AM
10858 (c-after-change): Set c-in-after-change-fontification.
10859 (c-set-fl-decl-start): Rejig its interface, so it can be called
10860 from both after-change and context fontifying.
b81d40f0
JB
10861 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10862 New functions.
10863 (c-standard-font-lock-fontify-region-function): New variable.
10864 (c-font-lock-fontify-region): New function.
be8b11bb 10865
341cf6ac
JL
108662011-12-24 Juri Linkov <juri@jurta.org>
10867
10868 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10869 (Bug#10348)
10870
bffcee0a
MA
108712011-12-23 Michael Albinus <michael.albinus@gmx.de>
10872
10873 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10874 existence of source file. (Bug#10325)
10875
cb5e207c
AM
108762011-12-23 Alan Mackenzie <acm@muc.de>
10877
10878 Fix unstable fontification inside templates.
10879
b81d40f0
JB
10880 * progmodes/cc-langs.el (c-before-font-lock-functions):
10881 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
10882 additionally has c-set-fl-decl-start. The other languages (apart
10883 from AWK) have that as a single entry.
10884
b81d40f0
JB
10885 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10886 The functionality for "local" declarations has been extracted to
cb5e207c
AM
10887 c-set-fl-decl-start.
10888
b81d40f0
JB
10889 * progmodes/cc-mode.el (c-common-init, c-after-change):
10890 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
10891 (c-set-fl-decl-start): New function, extracted from
10892 c-font-lock-enclosing-decls and enhanced.
10893
60ff536c
JB
108942011-12-23 Juanma Barranquero <lekktu@gmail.com>
10895
10896 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10897
1c4757d6
JL
108982011-12-22 Juri Linkov <juri@jurta.org>
10899
10900 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10901
d031f2c7
CY
109022011-12-22 Chong Yidong <cyd@gnu.org>
10903
10904 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10905
bace743a
DA
109062011-12-21 Drew Adams <drew.adams@oracle.com>
10907
10908 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10909
728a1f2b
JC
109102011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10911
10912 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10913
0d373f73
TZ
109142011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10915
fec0aaa4
TZ
10916 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10917 highlighting and support. Fix up comments for capitalization.
10918 (cfengine-mode-debug): New var.
10919 (cfengine3-mode): Change the modeline indicator to "CFE3".
10920 (cfengine3-font-lock-keywords): Improve defun highlighting.
10921 (cfengine2-actions): Rename from `cfengine-actions'.
10922 (cfengine2-font-lock-keywords): Rename from
10923 `cfengine-font-lock-keywords'.
10924 (cfengine2-imenu-expression): Rename from
10925 `cfengine-imenu-expression'.
10926 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10927 (cfengine2-beginning-of-defun): Rename from
10928 `cfengine-beginning-of-defun'.
10929 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10930 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10931 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10932 modeline indicator to "CFE2".
10933 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10934 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 10935
bc86f573
CY
109362011-12-21 Chong Yidong <cyd@gnu.org>
10937
10938 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10939 filename argument.
10940
d45ba96b
MR
109412011-12-20 Martin Rudalics <rudalics@gmx.at>
10942
10943 * window.el (window-normalize-buffer-to-display): Remove.
10944 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10945
a6198c90
CY
109462011-12-19 Chong Yidong <cyd@gnu.org>
10947
10948 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10949 Don't signal an error in a predicate function; return non-nil.
10950 (vc-dir-mark-file): Move the error here.
10951 (vc-dir-mark-unmark): If acting on the region, keep going if one
10952 of the entries cannot be marked/unmarked.
10953 (vc-dir-mark-all-files): If current entry is a directory, mark
10954 only child files, as documented.
10955
34c5fb55
VB
109562011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10957
10958 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10959 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10960 addition.
10961
c803b2b7
JD
109622011-12-18 Jan Djärv <jan.h.d@swipnet.se>
10963
10964 * term/ns-win.el (ns-get-selection-internal)
10965 (ns-store-selection-internal): Declare.
1154d12e
JB
10966 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10967 Declare as obsolete.
10968 (ns-get-pasteboard, ns-paste-secondary):
10969 Use ns-get-selection-internal.
41e9b956 10970 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 10971 Use ns-store-selection-internal.
c803b2b7 10972
9cff91f8 109732011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
10974
10975 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 10976 (vc-deduce-fileset): Doc fix.
99a289d9 10977
f16c898a
AS
109782011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10979
10980 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10981
763237c4
SS
109822011-12-13 Sam Steingold <sds@gnu.org>
10983
10984 * man.el (Man-getpage-in-background): When running under a
10985 window-system, ignore $MANWIDTH and $COLUMNS.
10986
5fc1c122
KH
109872011-12-15 Kenichi Handa <handa@m17n.org>
10988
10989 * language/ethio-util.el: Change coding tag to utf-8-emacs.
10990 (setup-ethiopic-environment-internal): Comment out key-binding for
10991 ethio-toggle-punctuation.
10992
13d49cbb
AM
109932011-12-13 Alan Mackenzie <acm@muc.de>
10994
898169a2
AM
10995 Add the switch statement to AWK Mode.
10996
7a71b18d 10997 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
10998 "default" to the keywords regexp.
10999
7a71b18d 11000 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 11001 expression as the rest.
1d00653d
SM
11002 (c-nonlabel-token-key): Allow string literals for AWK.
11003 Refactor for the other modes.
898169a2 11004
13d49cbb 11005 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 11006 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
11007 routines. Limit backward searching in c-font-lock-enclosing.decl.
11008
11009 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11010 pp-state and literal type in addition to the limits.
1d00653d 11011 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 11012 (c-state-literal-at): Use the above new defun.
1d00653d
SM
11013 (c-slow-in-literal, c-fast-in-literal): Remove.
11014 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
11015
11016 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11017 being in a literal. Add a limit for backward searching.
11018
11019 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11020 c-slow-in-literal.
11021
15e0efc7
SM
110222011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11023
11024 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11025
454592a6
MR
110262011-12-13 Martin Rudalics <rudalics@gmx.at>
11027
11028 * window.el (delete-other-windows): Use correct frame in call to
11029 window-with-parameter.
11030
87393f26
DP
110312011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11032
11033 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11034 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11035 (makefile-gmake-statements, makefile-makepp-statements):
11036 Use it and add new makepp keywords.
11037 (makefile-makepp-font-lock-keywords): Add new patterns.
11038 (makefile-match-function-end): Match new [...] and [[...]].
11039
11636b22
JB
110402011-12-11 Juanma Barranquero <lekktu@gmail.com>
11041
11042 * ses.el (ses-call-printer-return, ses-cell-property-get)
11043 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11044 (ses-create-cell-variable, ses-reset-header-string)
11045 (ses-cell-set-formula, ses-repair-cell-reference-all)
11046 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11047 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11048 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11049 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11050 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11051 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11052 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11053 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11054 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11055 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11056 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11057 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11058
cf018193
VB
110592011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11060
11061 * ses.el: The overall change is to add cell renaming, that is
11062 setting fancy names for cell symbols other than name matching
11063 "\\`[A-Z]+[0-9]+\\'" regexp .
11064 (ses-create-cell-variable): New defun.
11065 (ses-relocate-formula): Relocate formulas only for cells the
11066 symbols of which are not renamed, i.e. symbols whose names do not
11067 match regexp "\\`[A-Z]+[0-9]+\\'".
11068 (ses-relocate-all): Relocate values only for cells the symbols of
11069 which are not renamed.
11070 (ses-load): Create cells variables as the (ses-cell ...) are read,
11071 in order to check row col consistency with cell symbol name only
11072 for cells that are not renamed.
11073 (ses-replace-name-in-formula): New defun.
11074 (ses-rename-cell): New defun.
11075
ee957461
CY
110762011-12-11 Chong Yidong <cyd@gnu.org>
11077
11078 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11079 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11080
9a9e9ef0
MR
110812011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11082
11083 * window.el (other-window): Fix docstring.
11084
92a8eba5
EZ
110852011-12-10 Eli Zaretskii <eliz@gnu.org>
11086
11087 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
11088 `from' or `to' address before taking its substring.
11089 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
11090 encoded name is chopped in the middle of the encoded string, and
11091 thus displayed encoded.
11092
e152e577
JB
110932011-12-10 Juanma Barranquero <lekktu@gmail.com>
11094
11095 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11096
e5d84bfe
EZ
110972011-12-10 Eli Zaretskii <eliz@gnu.org>
11098
11099 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11100 to use texinfo-update-node and commands that call it if the
11101 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 11102 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
11103 (texinfo-all-menus-update, texinfo-master-menu)
11104 (texinfo-update-node, texinfo-every-node-update)
11105 (texinfo-multiple-files-update): Doc fix. Warn against updating
11106 all the @node lines.
11107 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
11108 argument is numeric. Explain better in the doc string what the
11109 function really does.
11110 (texinfo-insert-master-menu-list): Improve the error message
11111 displayed if there's no menu in the Top node.
11112 (Bug#2975) See also this thread:
e5d84bfe
EZ
11113 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11114
1d84e9bb
MG
111152011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11116
11117 * speedbar.el (speedbar-supported-extension-expressions):
11118 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11119
382c953b
JB
111202011-12-09 Juanma Barranquero <lekktu@gmail.com>
11121
11122 * printing.el (pr-mode-alist):
11123 * simple.el (filter-buffer-substring-functions)
11124 (completion-list-insert-choice-function):
11125 * window.el (window-with-parameter, window-atom-root)
11126 (window-sides-slots, window-size-fixed, window-min-delta)
11127 (window-max-delta, window--resize-mini-window)
11128 (window--resize-child-windows-normal, window-tree)
11129 (delete-other-windows, quit-window, split-window)
11130 (display-buffer-record-window, special-display-buffer-names)
11131 (special-display-regexps, special-display-popup-frame)
11132 (same-window-p, split-window-sensibly)
11133 (display-buffer-overriding-action, display-buffer-alist)
11134 (display-buffer-base-action, display-buffer, switch-to-buffer)
11135 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11136 (fit-window-to-buffer, recenter-positions)
11137 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11138 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11139 and remove unneeded backslashes in docstrings.
11140
39c9faef
SM
111412011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11142
98449af8
SM
11143 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11144
39c9faef
SM
11145 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11146 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11147 end in ".mk".
11148 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11149 when reading the makefile (bug#10116).
11150
86ed9fdc
SM
111512011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11152
11153 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11154 (bug#10116).
11155
5580f89d
GM
111562011-12-06 Glenn Morris <rgm@gnu.org>
11157
11158 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11159
28d3917c
CY
111602011-12-06 Chong Yidong <cyd@gnu.org>
11161
11162 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11163
a98edce9
JB
111642011-12-06 Juanma Barranquero <lekktu@gmail.com>
11165
11166 * textmodes/table.el (table-shorten-cell): Fix typo.
11167
e65adfac
CG
111682011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11169
11170 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11171
71cc0b74
EZ
111722011-12-05 Eli Zaretskii <eliz@gnu.org>
11173
11174 * descr-text.el (describe-char): Fix display of strong
11175 right-to-left characters and directional embeddings and overrides.
11176
11177 * simple.el (what-cursor-position): Fix display of codepoints of
11178 strong right-to-left characters.
11179
315bc30d
CY
111802011-12-05 Chong Yidong <cyd@gnu.org>
11181
11182 * faces.el (read-color): Doc fix.
11183
58a70b94
GM
111842011-12-05 Glenn Morris <rgm@gnu.org>
11185
11186 * align.el (align--set-marker): Add doc-string.
11187 Don't try to move something that is not a marker. (Bug#10216)
11188
5158face
GM
111892011-12-04 Glenn Morris <rgm@gnu.org>
11190
11191 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11192 overly zealous deletion of trailing whitespace.
11193
520fca41
JB
111942011-12-04 Juanma Barranquero <lekktu@gmail.com>
11195
11196 * server.el (server-delete-client): On Windows, do not try to delete
11197 the only terminal.
11198 (server-process-filter): On Windows, treat requests for a tty frame as
11199 if they were for a GUI frame if the running server is in GUI mode.
11200
5e605a2e
GM
112012011-12-03 Glenn Morris <rgm@gnu.org>
11202
11203 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11204
5c3fe83f
SM
112052011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11206
6f5e57e7
SM
11207 * electric.el: Streamline electric-indent's hook.
11208 (electric-indent-chars): Revert to simple list.
11209 (electric-indent-functions): New var.
11210 (electric-indent-post-self-insert-function): Use it.
11211
5c3fe83f
SM
11212 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11213 there's no inferior buffer (bug#10196).
11214 (prolog-consult-compile): Don't use toggle-read-only.
11215
6bdac736
MA
112162011-12-02 Michael Albinus <michael.albinus@gmx.de>
11217
11218 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11219 interrupt. (Bug#10187)
11220
6131ba7f
SM
112212011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11222
99c79fee
SM
11223 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11224 (bug#9160).
11225
6131ba7f
SM
11226 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11227 (bug#10191).
11228
cb0a02ea
JL
112292011-12-02 Juri Linkov <juri@jurta.org>
11230
11231 * info.el (Info-search): Display "end of manual" when Isearch
11232 reaches the end of single-file Info manual. (Bug#9918)
11233
66e0570c
EZ
112342011-12-02 Eli Zaretskii <eliz@gnu.org>
11235
11236 * isearch.el (isearch-message-prefix): Run the input method part
11237 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11238
02b16839
JL
112392011-12-02 Juri Linkov <juri@jurta.org>
11240
11241 * isearch.el (isearch-occur): Use `word-search-regexp' for
11242 `isearch-word'.
11243 (isearch-search-and-update): Add condition for `isearch-word' and
11244 call `word-search-regexp'. (Bug#10145)
11245
0b950688
GM
112462011-12-01 Glenn Morris <rgm@gnu.org>
11247
11248 * eshell/em-hist.el (eshell-hist-initialize):
11249 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 11250 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 11251
9505c3c7
SM
112522011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11253
11254 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11255
1bbe96b2 112562011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 11257
a1beca85
SM
11258 * progmodes/verilog-mode.el (verilog-pretty-expr):
11259 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
11260 verilog, such as += *= and the like.
11261 (verilog-assignment-operator-re): Regular expression to find the
11262 assigment operator in a verilog assignment.
11263 (verilog-assignment-operation-re): Regular expression to find an
11264 assignment statement for pretty-expr.
11265 (verilog-in-attribute-p): Query returns true if point is in an
11266 attribute context; used to skip these for expression line up from
11267 pretty-expr.
11268 (verilog-in-parameter-p): Query returns true if point is in an
11269 parameter definition context; used to skip these for expression
11270 line up from pretty-expr.
11271 (verilog-in-parenthesis-p): Query returns true if point is in a
11272 parenthetical expression, specifically ( ) but not [ ] or { };
11273 used by pretty-expr.
11274 (verilog-just-one-space): If there is no space, don't add one.
11275 (verilog-get-lineup-indent-2): Specifically skip just attribute
11276 contexts for expression lineup, rather than skipping all
11277 parenthetical expressions.
11278 (verilog-calculate-indent): Fix comment, and fix indent.
11279 (verilog-do-indent): Indent declarations in lists (suggested by
11280 Joachim Lechner).
11281 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11282 skeleton items.
11283 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11284 by Alain Mellan).
11285
1bbe96b2 112862011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
11287
11288 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11289 parameters with embedded comments. Reported by Ray Stevens.
11290 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11291 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11292 Reported by Tim Holt.
11293 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11294 instantiated by upper module causing wrong expansion until AUTOed a
11295 second time. Reported by K C Buckenmaier.
11296 (verilog-diff-auto): Fix showing .* as a difference when
11297 `verilog-auto-star-save' off. Reported by Dan Dever.
11298 (verilog-auto-reset, verilog-read-always-signals)
11299 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11300 temporary signals in reset list if
11301 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
11302 style to each signal's assignment type, bug381.
11303 Reported by Thomas Esposito.
6288f0ca
WS
11304 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11305 (verilog-uvm-statement-re): Support UVM indentation and
11306 highlighting, with old OVM keywords only.
a1beca85 11307 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
11308 Support AUTOTIEOFF creating non-wire data types.
11309 Suggested by Jonathan Greenlaw.
6288f0ca
WS
11310 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11311 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11312 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
11313 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11314 Fix mismatching parenthesis inside commented out code when deleting
382c953b 11315 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
11316 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11317 non-numeric vector width. Reported by Alex Reed.
11318 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 11319 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
11320 (verilog-auto-delete-trailing-whitespace):
11321 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
11322 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11323 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11324 Fix verilog-scan-cache corruption when running user AUTO expansion
11325 hooks that call indentation routines.
11326 (verilog-simplify-range-expression): Fix typo ignoring lower case
11327 identifiers.
11328 (verilog-delete-auto): Fix delete-autos to also remove user created
11329 automatics, as long as they start with AUTO.
11330 (verilog-batch-diff-auto, verilog-diff-auto)
11331 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11332 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11333 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11334 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
11335 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11336 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
11337 is disabled and its cache will get corrupt, causing AUTOS not to
11338 expand. Instead use only -quick functions.
11339 (verilog-scan-region): Fix scanning over escaped quotes.
11340 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11341 (verilog-re-search-backward-quick)
11342 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11343 related functions now ignore strings, to fix misparsing of strings
11344 with magic comments embedded in them.
a1beca85
SM
11345 (verilog-read-auto-template):
11346 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11347 Reported by Brad Dobbie.
11348 (verilog-read-auto-template):
11349 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 11350 Reported by Brad Dobbie.
6288f0ca
WS
11351 (verilog-auto-inst, verilog-auto-inst-param)
11352 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11353 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11354 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
11355 debugging templates without merge conflicts, bug357.
11356 Reported by Brad Dobbie.
11357 (verilog-read-auto-template):
11358 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
11359 Reported by Brad Dobbie.
11360 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11361 abbrevs so user won't be asked to save.
11362 (verilog-read-auto-lisp-present): Fix to start at beginning of
11363 buffer in case called outside of verilog-auto.
11364 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11365 to "X-2". Reported by Matthew Myers.
11366 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11367 all inputs from module templates. Reported by Leith Johnson.
11368 (verilog-module-inside-filename-p): Fix locating programs as with
11369 modules.
11370 (verilog-auto-inst-port): Fix vl-width expressions when using
11371 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11372 (verilog-decls-get-regs, verilog-decls-get-signals,
11373 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11374 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11375 verilog-read-decls): Combine reg and wire structures into one var
11376 structure to represent SystemVerilog concepts.
11377 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11378 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
11379 (verilog-auto-wire-type, verilog-insert-definition):
11380 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
11381 SystemVerilog "logic" keyword instead of "wire"/"reg".
11382 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11383 to declares outputs that also have assignments (presumably in an
a1beca85
SM
11384 ifdef or generate if so there's not a driver conflict).
11385 Reported by Matthew Myers.
11386 (verilog-auto-declare-nettype, verilog-insert-definition):
11387 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
11388 `default_nettype none. Reported by Julian Gorfajn.
11389 (verilog-read-always-signals-recurse, verilog-read-decls)
11390 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11391 malformed end statement, bug325. Reported by Joshua Wise and
11392 Andrew Drake.
11393 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11394 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
11395 when expanding .* in interfaces, bug320.
11396 Reported by Pierre-David Pfister.
6288f0ca 11397 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
11398 name and open parenthesis, bug317.
11399 Reported by Pierre-David Pfister.
6288f0ca
WS
11400 (verilog-simplify-range-expression): Fix simplification of
11401 multiplications inside AUTOWIRE connections, bug303.
11402 (verilog-auto-inst-port): Support parameter expansion in
11403 multidimensional arrays.
11404 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11405 after "assert property". Reported by Julian Gorfajn.
11406 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11407 with multiplication, bug303.
11408 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11409 Reported by Jan Frode Lonnum.
11410
1bbe96b2
GM
114112011-11-30 Juanma Barranquero <lekktu@gmail.com>
11412
11413 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11414 (hfy-shell-file-name, hfy-shell):
11415 * international/fontset.el (x-decompose-font-name): Fix typos.
11416
114172011-11-29 Ken Brown <kbrown@cornell.edu>
11418
11419 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11420 (gdb-version): Remove defvar.
11421 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11422 (gdb-gud-context-command, gdb-non-stop-handler)
11423 (gdb-current-context-command, gdb-stopped): Use it.
11424 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
11425 (gdb-non-stop-handler): Don't enable pretty-printing here.
11426 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
11427 non-stop mode. Use the following.
11428 (gdb-check-target-async): New defun.
11429 (gud-watch, gdb-stopped): Fix whitespace.
11430 (gdb-get-source-file): Don't try to display the source file if
11431 `gdb-main-file' is nil.
11432
114332011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11434
11435 * align.el: Try to generate fewer markers (bug#10047).
11436 (align--set-marker): New macro.
11437 (align-region): Use it.
11438
c935221f
SM
114392011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11440
11441 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11442
e70b5064
CY
114432011-11-29 Chong Yidong <cyd@gnu.org>
11444
11445 * indent.el (indent-for-tab-command, indent-according-to-mode):
11446 Doc fix.
11447 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11448
f3af92b7
MA
114492011-11-29 Michael Albinus <michael.albinus@gmx.de>
11450
11451 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11452 aware of remote file names. (Bug#10124)
11453
ed472be9
CY
114542011-11-29 Chong Yidong <cyd@gnu.org>
11455
11456 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11457
24510c22
SM
114582011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11459
11460 * files.el (find-file): Don't use force-same-window (bug#10144).
11461 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11462 use pop-to-buffer if the selected window can't be used.
11463 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11464
c60c3703
EZ
114652011-11-28 Eli Zaretskii <eliz@gnu.org>
11466
11467 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11468 special-mode-map.
11469
e95def75
CY
114702011-11-28 Chong Yidong <cyd@gnu.org>
11471
11472 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11473
c3f1c606
NR
114742011-11-27 Nick Roberts <nickrob@snap.net.nz>
11475
11476 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11477 gdb-get-source-file-list on gdb-create-source-file-list.
11478
00db469c
EZ
114792011-11-26 Eli Zaretskii <eliz@gnu.org>
11480
11481 * whitespace.el (whitespace-newline): Use a different foreground
11482 color for 16-color light-background displays.
11483
4ad3bc2a
CY
114842011-11-24 Chong Yidong <cyd@gnu.org>
11485
11486 * window.el (display-buffer--special-action): Doc fix.
11487
e9fce1ac
JB
114882011-11-25 Juanma Barranquero <lekktu@gmail.com>
11489
11490 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11491 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11492 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11493 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11494 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11495 (avl-tree-stack-first):
11496 * emacs-lisp/cconv.el (cconv--analyse-use):
11497 * net/gnutls.el (gnutls-negotiate): Fix typos.
11498
cb825e5d
GM
114992011-11-24 Glenn Morris <rgm@gnu.org>
11500
3adbe224
GM
11501 * lpr.el (lpr-windows-system, lpr-lp-system):
11502 * mail/binhex.el (binhex-begin-line):
11503 * progmodes/grep.el (grep-history, grep-find-history):
11504 * textmodes/flyspell.el:
11505 * vc/pcvs-defs.el (cvs-global-menu):
11506 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11507 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11508 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11509
321decc8
GM
11510 * net/tls.el: Fix case of "GnuTLS".
11511
420b63ad
GM
11512 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11513
cb825e5d
GM
11514 * version.el (emacs-build-system): Give it a doc-string.
11515
a0649f08
JL
115162011-11-24 Juri Linkov <juri@jurta.org>
11517
11518 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11519
c0bc0fd4
GM
115202011-11-24 Glenn Morris <rgm@gnu.org>
11521
11522 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11523 if called on a non-mime message just toggle the headers. (Bug#8006)
11524
20db1522
JB
115252011-11-24 Juanma Barranquero <lekktu@gmail.com>
11526
11527 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11528 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11529 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11530 (allout-rebullet-heading, allout-open-sibtopic)
11531 (allout-toggle-current-subtree-encryption)
11532 (allout-toggle-subtree-encryption, allout-encrypt-string)
11533 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11534 (allout-distinctive-bullets-string, allout-auto-activation):
11535 * window.el (window-normalize-buffer-to-display):
11536 * progmodes/verilog-mode.el (verilog-batch-indent):
11537 * textmodes/bibtex.el (bibtex-field-braces-opt)
11538 (bibtex-field-strings-opt):
11539 * vc/cvs-status.el (cvs-tree-merge):
11540 Fix typos.
11541
7262a87c
MA
115422011-11-23 Michael Albinus <michael.albinus@gmx.de>
11543
11544 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11545 `non-essential' to t, in order to avoid remote connections.
11546
283430a1
EZ
115472011-11-23 Eli Zaretskii <eliz@gnu.org>
11548
a1beca85
SM
11549 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11550 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
11551 case-insensitively.
11552
d2992a38
ML
115532011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11554
11555 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11556
50419064
GM
115572011-11-23 Glenn Morris <rgm@gnu.org>
11558
da94eca1
GM
11559 * paths.el (rmail-file-name): Reformat the doc-string so that it
11560 is picked up.
11561
9aac4de2
GM
11562 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11563 (rmail-auto-file): Ignore case in the "special" field names,
11564 as mail-fetch-field does for all others.
11565
8038d2d2
GM
11566 * mail/rmail.el (rmail-forward):
11567 * mail/rmailkwd.el (rmail-set-label):
11568 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11569 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11570
f3fe222a
GM
11571 * mail/rmail.el (rmail-current-message): Doc fix.
11572
50419064
GM
11573 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11574
28109f49
SM
115752011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11576
11577 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11578
394c65f1
GM
115792011-11-22 Glenn Morris <rgm@gnu.org>
11580
11581 * mail/rmailmm.el (test-rmail-mime-handler)
11582 (test-rmail-mime-bulk-handler)
11583 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11584
f2a0aa3a
JL
115852011-11-21 Juri Linkov <juri@jurta.org>
11586
1154d12e
JB
11587 * calc/calc.el (calc-read-key-sequence):
11588 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 11589
9c34a344
LMI
115902011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11591
11592 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11593 Tell the caller that the next line needs recomputation, even
11594 though it doesn't start a sexp (bug#10094).
11595
f04a3be9
SM
115962011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11597
11598 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11599
7978747f
SM
116002011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11601
f04a3be9
SM
11602 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11603 Use force-same-window.
7978747f 11604
fe7a3057
JB
116052011-11-20 Juanma Barranquero <lekktu@gmail.com>
11606
11607 * descr-text.el (describe-char-unicode-data):
11608 * json.el (json-string-escape):
11609 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11610 (Footnote-unicode, Footnote-style-p):
11611 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11612
24901d61
CY
116132011-11-20 Chong Yidong <cyd@gnu.org>
11614
11615 * window.el (replace-buffer-in-windows): Restore interactive spec.
11616
bac7ff22
SM
116172011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11618
24f3d7b9
SM
11619 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11620
bac7ff22
SM
11621 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11622 (byte-compile-global-not-obsolete-vars): New var.
11623 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11624 Use it.
11625 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11626
cd1181db
JB
116272011-11-20 Juanma Barranquero <lekktu@gmail.com>
11628
11629 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11630 * progmodes/pascal.el (electric-pascal-equal):
11631 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11632 * xml.el (xml-substitute-special): Fix typos.
11633
7fb18e9e
GM
116342011-11-20 Glenn Morris <rgm@gnu.org>
11635
11636 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11637 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11638 Doc fixes.
11639 (rmail-decode-mime-charset): Mark as obsolete.
11640
11641 * mail/rmailsum.el (rmail-message-regexp-p-1):
11642 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11643 Before using mime functions, check they are set. (Bug#10077)
11644
d5a6b3ba
JL
116452011-11-19 Juri Linkov <juri@jurta.org>
11646
11647 * info.el (Info-finder-find-node): Use `package--builtins' instead
11648 of `package-alist'. Use node names formed by the pattern "Keyword "
11649 and the keyword name.
11650
e981b61f
AS
116512011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11652
1d00653d 11653 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 11654
3ffbc301
JL
116552011-11-19 Juri Linkov <juri@jurta.org>
11656
11657 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11658 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11659 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11660 `old-history', `old-history-forward'. Add let-binding
11661 `window-selected'. Remove calls to `kill-buffer',
11662 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11663 before calling `Info-find-node', so `Info-find-node-2' will reread
11664 the Info file. Restore window positions only when `window-selected'
11665 is non-nil.
11666
30c62133
JL
116672011-11-19 Juri Linkov <juri@jurta.org>
11668
11669 * isearch.el (isearch-lazy-highlight-new-loop):
11670 Remove condition `(not isearch-error)'. (Bug#9918)
11671
11672 * misearch.el (multi-isearch-search-fun): Add condition
11673 `(not bound)' to ignore lazy-highlighting search.
11674 Add the search-failed message "end of multi" when the end of
11675 multi-sequence is reached. Uncapitalize the search-failed
11676 message "Repeat for next buffer".
11677
11678 * info.el (Info-search): Add the search-failed message
11679 "end of the manual" when the end of the manual is reached
11680 in Isearch mode.
11681
645ca9cf
JL
116822011-11-19 Juri Linkov <juri@jurta.org>
11683
11684 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11685 Use non-destructive `remove' instead of `delete' because
11686 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11687 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11688
df754f66
JL
116892011-11-19 Juri Linkov <juri@jurta.org>
11690
11691 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11692 to nil instead of binding `search-ring' and `regexp-search-ring'.
11693 (Bug#9185)
11694
0e23d96a
EZ
116952011-11-19 Eli Zaretskii <eliz@gnu.org>
11696
11697 * simple.el (line-move): Force movement by logical lines for any
11698 hscrolled window, not only when auto-hscroll-mode is on.
11699 (line-move-visual): Update doc string to that effect. (Bug#10076)
11700
8a6ccb66
AS
117012011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11702
11703 * language/european.el (macintosh): Define as alias for mac-roman.
11704
49ae5b39
EZ
117052011-11-19 Eli Zaretskii <eliz@gnu.org>
11706
11707 * mail/rmailmm.el (rmail-mime-display-header)
11708 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11709 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11710 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11711 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11712 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11713 of a raw aref.
11714 (rmail-mime-entity-segment): To get past the tagline, move forward
11715 2 more lines, to account for the 2 empty lines that precede and
11716 follow the line with the buttons.
11717 (rmail-mime-update-tagline): Move one more line, to get past the
11718 empty line that follows the buttons in the tagline. (Bug#9520)
11719
c56cad4a
MR
117202011-11-19 Martin Rudalics <rudalics@gmx.at>
11721
11722 * window.el (window-max-delta-1, window-min-delta-1)
11723 (window-min-size-1, window-state-get-1, window-state-put-1)
11724 (window-state-put-2): Use "window--" prefix.
11725
cbe71af3
SM
117262011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11727
2ad52c60
SM
11728 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11729 (smie-warning-count): New var.
11730 (smie-set-prec2tab): Use it.
11731 (smie-bnf->prec2): Improve warnings. Add docstring.
11732 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11733 (smie-bnf--set-class): New function.
11734 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11735 corner case.
11736
6944dbc1
SM
11737 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11738 (compilation-error-properties, compilation-move-to-column):
11739 Handle compilation-first-column while in the target buffer.
11740
c400c4d7
SM
11741 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11742 Don't hardcode point-min==1.
11743
6dbe3e96
SM
11744 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11745 (eshell-rewrite-for-command): Remove workaround.
11746 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11747 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11748 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11749
cbe71af3
SM
11750 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11751
a8e1496d
GM
117522011-11-17 Glenn Morris <rgm@gnu.org>
11753
11754 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11755 Ignore buffer-local generated-autoload-file if it is the same
11756 as the global value. (Bug#10049)
11757
df85d315
JB
117582011-11-17 Juanma Barranquero <lekktu@gmail.com>
11759
11760 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11761 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11762 (reftex-toc-previous-heading, reftex-toc-max-level)
11763 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11764 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11765 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11766 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11767 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11768 (reftex-toc-rename-label, reftex-toc-visit-location)
11769 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11770 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11771 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11772 leaving "*toc*" only for references to the buffer.
11773
a0c2d0ae
MR
117742011-11-17 Martin Rudalics <rudalics@gmx.at>
11775
11776 * window.el (window-resize, delete-window, split-window):
11777 Replace window-splits by window-combination-resize.
1d00653d 11778 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 11779
35c0bac8
GM
117802011-11-17 Glenn Morris <rgm@gnu.org>
11781
11782 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11783 Make bash entry derive from sh entry, not shell entry.
11784
d0c8fc8a
MA
117852011-11-16 Michael Albinus <michael.albinus@gmx.de>
11786
7262a87c
MA
11787 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11788 local file name.
11789
7877f373
JB
117902011-11-16 Juanma Barranquero <lekktu@gmail.com>
11791
11792 * menu-bar.el (menu-bar-file-menu):
11793 * printing.el (pr-ps-utility):
11794 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11795 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11796 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11797 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11798 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11799 (icalendar--convert-cyclic-to-ical)
11800 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11801 (icalendar--convert-ical-to-diary)
11802 (icalendar--convert-recurring-to-diary)
11803 (icalendar--convert-non-recurring-all-day-to-diary)
11804 (icalendar-import-format-sample):
11805 * progmodes/idlw-shell.el (idlwave-shell-mode):
11806 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11807 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11808 (vhdl-ps-print-init): Fix typos.
11809
10649b82
KM
118102011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11811
9d0cfcd6
GM
11812 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11813 FSF and collapse date sequence, obscure author/maintainer email address
11814 better, remove extra version line, track relocation of author's webpage.
10649b82 11815
9d0cfcd6
GM
11816 * progmodes/python.el (python-pdbtrack-input-prompt)
11817 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11818 regular python pdb prompts. Adjustments shamelessly taken exactly as
11819 suggested in EmacsWiki page (tiny change):
11820 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 11821
58179cce
JB
118222011-11-16 Juanma Barranquero <lekktu@gmail.com>
11823
11824 * expand.el (expand-pos, expand-index, expand-point):
11825 Remove redundant info from docstring.
11826 (expand-add-abbrevs): Doc fix.
11827 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11828 (expand-sample-perl-mode-expand-list): Fix typos.
11829
11830 * net/dbus.el (dbus-event-member-name):
11831 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11832 * term/pc-win.el (msdos-create-frame-with-faces):
11833 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11834
b6f67890
MR
118352011-11-16 Martin Rudalics <rudalics@gmx.at>
11836
11837 * window.el (split-window, window-state-get-1)
11838 (window-state-put-1, window-state-put-2): Rename occurrences of
11839 window-nest to window-combination-limit.
1d00653d 11840 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 11841
ce7ddba0
CY
118422011-11-16 Chong Yidong <cyd@gnu.org>
11843
11844 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11845 regexp (Bug#10033).
11846
3ae704f4
SM
118472011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11848
11849 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11850 `completing-read' will remove *Completions* and will preserve
11851 current-buffer for us.
11852 (tmm-add-prompt): Users of *Completions* will always (re)set its
11853 major mode.
11854 (tmm-old-comp-map): Remove.
11855
6ad1cdde
GM
118562011-11-16 Glenn Morris <rgm@gnu.org>
11857
11858 * mail/rmailedit.el: Require rmailmm when compiling.
11859 (rmail-old-mime-state): New declaration.
11860 (rmail-edit-current-message): If editing a mime message,
11861 edit the "raw" message from the mbox buffer.
11862 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11863
d20faa20
GM
118642011-11-15 Glenn Morris <rgm@gnu.org>
11865
11866 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11867 which wasn't being used. Add optional arg to force given state.
11868 (rmail-mime): Add optional arg to force given state.
11869
c7015153
JB
118702011-11-15 Juanma Barranquero <lekktu@gmail.com>
11871
11872 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11873 * frame.el (display-mm-dimensions-alist):
11874 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11875 (outline-move-subtree-down):
11876 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11877 (newsticker--treeview-do-get-node):
11878 * net/quickurl.el (quickurl-list-buffer-name):
11879 * progmodes/dcl-mode.el (dcl-mode):
11880 * progmodes/gdb-mi.el (gdb-mapcar*):
11881 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11882
45261b50
GM
118832011-11-15 Glenn Morris <rgm@gnu.org>
11884
11885 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11886 in a boolean sense, so just make it a boolean, and fix the doc.
11887 (rmail-show-mime-function, rmail-mime-feature)
11888 (rmail-require-mime-maybe): Doc fixes.
11889 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11890
11891 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11892
0d26e0b6
JB
118932011-11-15 Juanma Barranquero <lekktu@gmail.com>
11894
11895 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11896 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11897 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11898 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11899
447f30f6
GM
119002011-11-15 Glenn Morris <rgm@gnu.org>
11901
672b871d
GM
11902 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11903 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11904 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11905 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11906 (rmail-mime, rmail-show-mime): Doc fixes.
11907
f6aa5bb1
GM
11908 * term/ns-win.el (mode-line-frame-identification):
11909 Leave it alone. (Bug#10051)
11910
947cd66b
GM
11911 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11912
447f30f6
GM
11913 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11914 Handle empty buffers. (Bug#9978)
11915
0b381c7e
JB
119162011-11-14 Juanma Barranquero <lekktu@gmail.com>
11917
11918 * international/mule.el (define-charset):
11919 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11920 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11921 * progmodes/verilog-mode.el (verilog-backward-token):
11922 * textmodes/ispell.el (lookup-words):
11923 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11924
71e027ac
GM
119252011-11-14 Glenn Morris <rgm@gnu.org>
11926
56632ce4
GM
11927 * progmodes/executable.el
11928 (executable-make-buffer-file-executable-if-script-p):
11929 Handle file-modes returning nil.
11930
40500957
GM
11931 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11932 message - not necessary, and causes problems. (Bug#9831)
11933
071c2340
GM
11934 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11935
d3cfca60
GM
11936 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11937
71e027ac
GM
11938 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11939 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11940 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11941
89d61221
MR
119422011-11-12 Martin Rudalics <rudalics@gmx.at>
11943
11944 * window.el (window-resize, delete-window): Use window-splits
11945 variable instead of function.
11946 (window-state-get-1, window-state-put-2, window-state-put):
11947 Don't deal with windows' splits status.
11948
98282f6f
GM
119492011-11-12 Glenn Morris <rgm@gnu.org>
11950
11951 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11952 (apropos-documentation): Doc fixes.
11953
40a8bdf6
JB
119542011-11-11 Juanma Barranquero <lekktu@gmail.com>
11955
11956 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11957 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11958
65bd19ff
SM
119592011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11960
11961 * electric.el (electric-indent-post-self-insert-function): Make it
11962 possible for a char to only indent in some circumstances.
11963 (electric-indent-mode): Simplify.
11964
54f9154c
MR
119652011-11-11 Martin Rudalics <rudalics@gmx.at>
11966
11967 * window.el (windows-with-parameter): Remove unused function.
11968 (windows-at-side): Rename to window-at-side-list.
11969 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
11970 (window-side-check, window-size-ignore, window-size-fixed-1)
11971 (window-in-direction-2): Prefix with "window--".
11972 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 11973
68cbc58b
GM
119742011-11-11 Glenn Morris <rgm@gnu.org>
11975
11976 * subr.el (eval-after-load): If FILE is already loaded,
11977 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11978
b2621720
GM
119792011-11-10 Glenn Morris <rgm@gnu.org>
11980
9a4de110
GM
11981 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11982 Call svn via vc-svn-command rather than vc-do-command.
11983 (vc-svn-command): Add --non-interactive. (Bug#9993)
11984 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11985
b2621720
GM
11986 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11987 Add toggle-read-only. (Bug#7292)
11988 * files.el (toggle-read-only): Mention that it should only
11989 be used interactively. (Bug#10006)
11990
1dce7193
SM
119912011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
11992
d9ac1a1e
SM
11993 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11994 Adjust regexp for OCaml warnings.
11995
0c325082
SM
11996 * electric.el (electric-pair-post-self-insert-function): Let user
11997 turn it off buffer-locally (bug#9932).
11998
90132c14
SM
11999 * progmodes/python.el (python-beginning-of-statement):
12000 Rewrite (bug#2703).
12001
1dce7193
SM
12002 * progmodes/compile.el: Better handle TABs (bug#9749).
12003 (compilation-internal-error-properties)
12004 (compilation-next-error-function): Obey the target buffer's
12005 compilation-error-screen-columns.
12006
c4e7c63a
JB
120072011-11-09 Juanma Barranquero <lekktu@gmail.com>
12008
12009 * progmodes/meta-mode.el: Remove obsolete comments.
12010 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12011 Fix typos in docstrings.
12012
2cffd681
MR
120132011-11-09 Martin Rudalics <rudalics@gmx.at>
12014
12015 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 12016 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
12017 (window--resizable): New function. Make all callers of
12018 window-resizable call window--resizable instead.
12019 (window-resizable): Rewrite in terms of window--resizable.
12020
0edcba87
GM
120212011-11-08 Glenn Morris <rgm@gnu.org>
12022
12023 * progmodes/delphi.el (delphi-mode-syntax-table):
12024 Let define-derived-mode define a proper syntax table. (Bug#9994)
12025
4b0d61e3
SM
120262011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12027
12028 * window.el: Stay away from defsubst.
12029 (window-list-no-nils): Remove.
12030 (window-state-get-1, window-state-get): Use backquote instead.
12031
cd394be1 120322011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 12033
4b0d61e3 12034 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 12035 Fix incorrect use of default argument in `completing-read'.
12036
e1c2c6f2
MR
120372011-11-08 Martin Rudalics <rudalics@gmx.at>
12038
12039 * window.el (display-buffer-function, special-display-function):
12040 Mention display-buffer-record-window but do not mention
12041 help-setup parameter in doc-strings.
b3f4a882 12042 (window-min-delta): Fix doc-string typo.
e1c2c6f2 12043
105216ed
CY
120442011-11-08 Chong Yidong <cyd@gnu.org>
12045
12046 * window.el (window-total-height, window-total-width): Doc fix.
12047 (window-body-size): Move from C.
12048 (window-body-height, window-body-width): Move to C.
12049
0a9f9ab5
SM
120502011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12051
12052 * window.el: Make special-display like display-buffer-alist (bug#9532).
12053 (display-buffer--special-action): New function, morphed
12054 from display-buffer--special.
12055 (display-buffer): Use it to handle special-display-buffers at higher
12056 priority (just after display-buffer-alist).
12057 (display-buffer-fallback-action, display-buffer--other-frame-action)
12058 (pop-to-buffer-same-window): Remove display-buffer--special.
12059
a769dd15
GM
120602011-11-07 Glenn Morris <rgm@gnu.org>
12061
12062 * calendar/cal-menu.el (cal-menu-set-date-title):
12063 Do nothing if not in a calendar. (Bug#9976)
12064
05a61ee3
SM
120652011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12066
12067 * files.el (find-file): Always use selected-window.
12068
be7f5545
MR
120692011-11-07 Martin Rudalics <rudalics@gmx.at>
12070
12071 * window.el (window-combinations): Make WINDOW argument
12072 mandatory. Rewrite doc-string.
12073 (walk-window-subtree, window-atom-check, window-min-delta)
12074 (window-max-delta, window--resize-this-window)
12075 (window--resize-root-window-vertically, window-tree)
12076 (balance-windows, window-state-put): Rewrite doc-strings as to
12077 not mention the term "subwindow".
12078 (window--resize-subwindows-skip-p): Rename to
12079 window--resize-child-windows-skip-p.
12080 (window--resize-subwindows-normal): Rename to
12081 window--resize-child-windows-normal.
12082 (window--resize-subwindows): Rename to
12083 window--resize-child-windows.
12084 (window-or-subwindow-p): Rename to window--in-subtree-p.
12085
3c6702ef
ML
120862011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12087
12088 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12089 Ensure that mbox format messages end in two newlines (Bug#9974).
12090
49745b39
CY
120912011-11-06 Chong Yidong <cyd@gnu.org>
12092
12093 * window.el (window-combination-p): Function deleted; its
12094 side-effect is not used in any existing code.
12095 (window-combinations, window-combined-p): Call window-*-child
12096 directly.
12097
24300f5f
CY
120982011-11-05 Chong Yidong <cyd@gnu.org>
12099
12100 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
12101 (window-size-ignore, window-state-get): Callers changed.
12102 (window-normalize-window): Rename from window-normalize-any-window.
12103 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 12104 (window-normalize-live-window): Delete.
447f16b8
CY
12105 (window-combination-p, window-combined-p, window-combinations)
12106 (walk-window-subtree, window-atom-root, window-min-size)
12107 (window-sizable, window-sizable-p, window-size-fixed-p)
12108 (window-min-delta, window-max-delta, window-resizable)
12109 (window-resizable-p, window-full-height-p, window-full-width-p)
12110 (window-current-scroll-bars, window-point-1, set-window-point-1)
12111 (window-at-side-p, window-in-direction, window-resize)
12112 (adjust-window-trailing-edge, maximize-window, minimize-window)
12113 (window-deletable-p, delete-window, delete-other-windows)
12114 (record-window-buffer, unrecord-window-buffer)
12115 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12116 (quit-window, split-window, window-state-put)
12117 (set-window-text-height, fit-window-to-buffer)
12118 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 12119
89bd5ee1
EZ
121202011-11-04 Eli Zaretskii <eliz@gnu.org>
12121
53479029
EZ
12122 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12123 rfc2047-decode-string.
12124 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12125 warnings.
12126
89bd5ee1
EZ
12127 * window.el (window-body-height, window-body-width): Mention in
12128 the doc string that the return values are in frame's canonical
12129 units. (Bug#9949)
12130
bd17fdee
AM
121312011-11-03 Alan Mackenzie <acm@muc.de>
12132
12133 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12134 change in cc-engine.el.
12135
acc825c5
SM
121362011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12137
12138 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12139
1885e5b8
MR
121402011-11-02 Martin Rudalics <rudalics@gmx.at>
12141
12142 * window.el (quit-window): Call unrecord-window-buffer after
12143 showing another buffer in the window. (Bug#9937)
acc825c5 12144 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 12145
ebe06da9
JB
121462011-11-02 Juanma Barranquero <lekktu@gmail.com>
12147
12148 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12149 Accept status with more than 9 shelves. (Bug#9935)
12150 Reported by Colin D Bennett <colin@gibibit.com>.
12151
4ee88440
MR
121522011-11-01 Martin Rudalics <rudalics@gmx.at>
12153
12154 * help.el (with-help-window): Don't reference
12155 temp-buffer-show-specifiers in doc-string.
12156
08e1d82c
AS
121572011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12158
12159 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12160 menu-item.
12161
84bd6e9e
VJL
121622011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12163
12164 * whitespace.el: New version 13.2.2.
12165 (whitespace-newline-mode): Disable properly. Reported by Sarah
12166 <EmacsWiki>.
12167
dba0634a
UJ
121682011-10-30 Ulf Jasper <ulf.jasper@web.de>
12169
12170 * net/newst-treeview.el: Remove "Time-stamp".
12171 (newsticker--group-manage-orphan-feeds): Do not call
12172 newsticker--treeview-tree-update.
db22a3c2
JB
12173 (newsticker-treeview-update, newsticker-treeview):
12174 Call newsticker--treeview-tree-update if necessary.
dba0634a 12175
3d8daefe
MR
121762011-10-30 Martin Rudalics <rudalics@gmx.at>
12177
12178 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
12179 (window-iso-combinations): Remove "iso-" infix.
12180 Suggested by Chong Yidong.
3d8daefe
MR
12181 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12182 (window-max-delta-1, window-resize, window--resize-siblings)
12183 (window--resize-this-window, adjust-window-trailing-edge)
12184 (split-window, balance-windows-1)
12185 (shrink-window-if-larger-than-buffer):
12186 * calendar/calendar.el (calendar-generate-window):
db22a3c2 12187 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 12188
1bc4c3ae
SM
121892011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12190
12191 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12192 in place (bug#9907).
12193 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12194 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12195 (eshell-structure-basic-command, eshell-rewrite-while-command)
12196 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12197 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12198 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12199 (eshell-do-pipelines-synchronously, eshell-eval-command):
12200 Use backquotes and prefer setq to set.
12201 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12202 (eshell-macrop): Use functionp.
c1e2f5fa 12203 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 12204
30b65d9c
CY
122052011-10-30 Chong Yidong <cyd@gnu.org>
12206
12207 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12208 instead of set-mark (Bug#9810).
12209
2d197ffb
CY
122102011-10-30 Chong Yidong <cyd@gnu.org>
12211
12212 * window.el (split-window-below, split-window-right): Rename from
12213 split-window-above-each-other and split-window-side-by-side
12214 respectively. All callers changed.
12215 (split-window-sensibly, split-window-sensibly): Use them.
12216 (split-window-keep-point): Doc fix.
12217
12218 * isearch.el: Add isearch-scroll property to split-window-below
12219 and split-window-right.
12220
12221 * follow.el (follow-mode):
12222 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12223 * progmodes/ada-xref.el (ada-gdb-application):
12224 * emulation/vip.el (vip-buffer-in-two-windows):
12225 * image-dired.el (image-dired-dired-with-window-configuration):
12226 * dired-x.el (dired-do-find-marked-files):
12227 * dired.el (dired-pop-to-buffer):
12228 * bs.el (bs--show-with-configuration):
12229 * vc/emerge.el (emerge-setup-windows):
12230 * textmodes/two-column.el (2C-two-columns):
12231 * textmodes/reftex-toc.el (reftex-toc):
12232 * progmodes/gdb-mi.el (gdb-setup-windows):
12233 * progmodes/fortran.el (fortran-window-create):
12234 * net/newst-treeview.el (newsticker--treeview-window-init):
12235 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12236 * emulation/tpu-edt.el (tpu-gold-map):
12237 * emulation/crisp.el (crisp-mode-map):
12238 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12239
38bb2ca8
CY
122402011-10-29 Chong Yidong <cyd@gnu.org>
12241
aa4de341
CY
12242 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12243
e1eb5385
CY
12244 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12245
5d2ece3c
CY
12246 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12247 forged Ispell output (Bug#7904).
12248
38bb2ca8
CY
12249 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12250
d0af9f77
SM
122512011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12252
12253 * doc-view.el: Avoid ugly errors about not finding nil.
12254 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12255 (doc-view-dvipdf-program, doc-view-unoconv-program)
12256 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12257 Avoid nil or absolute file name as default value.
12258 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12259
52bedd34
AM
122602011-10-28 Alan Mackenzie <acm@muc.de>
12261
db22a3c2 12262 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 12263
7e43cfa5
AM
122642011-10-28 Alan Mackenzie <acm@muc.de>
12265
12266 Amend the handling of c-beginning/end-of-defun in nested declaration
12267 scopes.
12268
52bedd34
AM
12269 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12270 cc-langs.el. Change it to a defcustom.
7e43cfa5 12271
52bedd34
AM
12272 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12273 cc-vars.el.
7e43cfa5 12274
d0af9f77
SM
12275 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12276 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 12277
52bedd34 12278 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 12279 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
12280 (c-widen-to-enclosing-decl-scope): New function.
12281 (c-while-widening-to-decl-block): New macro.
12282 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12283 outward for defun boundaries, and correspondingly change symbol
12284 `respect-enclosure' to `go-outward'.
12285 (c-declaration-limits): Change algorithm to report only the "innermost"
12286 defun's boundaries.
12287
1a2ce9ee
DD
122882011-10-28 Deniz Dogan <deniz@dogan.se>
12289
12290 * net/rcirc.el (rcirc-mode): Use hard newlines.
12291
bc97a826
AM
122922011-10-28 Alan Mackenzie <acm@muc.de>
12293
12294 Amend to indent and fontify macros "which include their own semicolon"
12295 correctly, using the "virtual semicolon" mechanism.
12296
52bedd34 12297 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 12298
d0af9f77 12299 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 12300 Recode to scan one line at a time rather than having \n and \r
58179cce 12301 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 12302 (c-forward-label): Amend for virtual semicolons.
58179cce 12303 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 12304
52bedd34
AM
12305 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12306 of the new C macros.
bc97a826 12307
52bedd34 12308 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
12309 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12310 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
12311 (c-opt-cpp-macro-define): Make into a full language variable.
12312 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12313 AWK Mode (including \n, \r) removed, no longer needed.
12314
d0af9f77
SM
12315 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12316 Invoke c-make-macro-with-semi-re.
bc97a826 12317
52bedd34
AM
12318 * progmodes/cc-vars.el (c-macro-with-semi-re):
12319 (c-macro-names-with-semicolon): New variables.
58179cce 12320 (c-make-macro-with-semi-re): New function.
bc97a826 12321
7a6c0941
SM
123222011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12323
12324 * vc/log-edit.el: Fill empty field rather than adding new one.
12325 (log-edit-add-field): New function.
12326 (log-edit-insert-changelog): Use it.
12327
b0c4cdcf
ML
123282011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12329
12330 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12331
ee1f1da9
SM
123322011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12333
12334 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12335 (gdb--check-interpreter): New function.
12336 (gdb): Use it.
12337
51bc5f8b
GM
123382011-10-27 Glenn Morris <rgm@gnu.org>
12339
416a2c45
GM
12340 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12341 (least-positive-float, least-negative-float)
12342 (least-positive-normalized-float, least-negative-normalized-float)
12343 (float-epsilon, float-negative-epsilon):
12344 Remove unnecessary declarations.
12345
12346 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12347 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12348 (least-positive-float, least-negative-float)
12349 (least-positive-normalized-float, least-negative-normalized-float)
12350 (float-epsilon, float-negative-epsilon): Add doc-strings,
12351 based on those in cl.texi.
12352
51bc5f8b
GM
12353 * files.el (set-visited-file-name): If the major-mode changed,
12354 reload the local variables. (Bug#9796)
12355
15de15c6
CY
123562011-10-27 Chong Yidong <cyd@gnu.org>
12357
12358 * subr.el (change-major-mode-after-body-hook): New hook.
12359 (run-mode-hooks): Run it.
12360
ee1f1da9
SM
12361 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12362 Use change-major-mode-before-body-hook.
15de15c6
CY
12363
12364 * simple.el (fundamental-mode):
12365 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12366 change introducing fundamental-mode-hook.
12367
5430d399
JB
123682011-10-26 Juanma Barranquero <lekktu@gmail.com>
12369
acc825c5 12370 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 12371
ad74a69e
MA
123722011-10-26 Michael Albinus <michael.albinus@gmx.de>
12373
12374 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 12375 tramp.el explicitly. (Bug#7583)
ad74a69e 12376
71d4c2a5
SM
123772011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12378
12379 * progmodes/octave-mod.el:
12380 * progmodes/octave-inf.el: Update maintainer.
12381
b1f6fa26
CY
123822011-10-26 Chong Yidong <cyd@gnu.org>
12383
12384 * subr.el (with-wrapper-hook): Rewrite doc.
12385
3f04efd6
MA
123862011-10-25 Michael Albinus <michael.albinus@gmx.de>
12387
12388 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 12389 filenames "/method:foo:". (Bug#9793)
3f04efd6 12390
410488d3
SM
123912011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12392
12393 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12394 (bug#9865).
12395
c1ebb47e
GM
123962011-10-24 Glenn Morris <rgm@gnu.org>
12397
12398 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12399
7f5c46c7
MA
124002011-10-24 Michael Albinus <michael.albinus@gmx.de>
12401
12402 * notifications.el: Add the requirement of a running D-Bus session
12403 bus to the Commentary.
12404
db2440b6
JL
124052011-10-24 Juri Linkov <juri@jurta.org>
12406
12407 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12408 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12409 (Bug#9364)
12410
feecf435
JL
124112011-10-24 Juri Linkov <juri@jurta.org>
12412
12413 * info.el (Info-following-node-name-re): Add newline to the list
12414 of allowed characters for leading space. (Bug#9824)
12415
a3839de2
SM
124162011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12417
acc825c5
SM
12418 * progmodes/octave-inf.el (inferior-octave-mode-map):
12419 Fix C-c C-h binding.
a3839de2
SM
12420 * progmodes/octave-mod.el (octave-help): Remove.
12421
09388e76
MA
124222011-10-23 Michael Albinus <michael.albinus@gmx.de>
12423
12424 Sync with Tramp 2.2.3.
12425
12426 * net/tramp-cache.el (top): Pacify byte-compiler using
12427 `init-file-user' and `site-run-file'.
12428
12429 * net/trampver.el: Update release number.
12430
86c60681
CY
124312011-10-23 Chong Yidong <cyd@gnu.org>
12432
12433 * files.el (toggle-read-only): Remove obsolete comment about
12434 version control.
12435
12436 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12437 for toggle-read-only. Note that this hasn't called vc-next-action
12438 since 2008-05-02, though it wasn't documented at the time.
12439
a3839de2
SM
12440 * vc/ediff-init.el (ediff-toggle-read-only-function):
12441 Use toggle-read-only.
86c60681 12442
cd5495ff
AM
124432011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12444
12445 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12446 of c-parse-state.
12447
00b77525 12448 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 12449 correct faulty logical expression.
cd5495ff
AM
12450 (c-parse-state-state, c-record-parse-state-state):
12451 (c-replay-parse-state-state): New defvar/defuns.
12452 (c-debug-parse-state): Use new functions.
12453
42ee24ed
MR
124542011-10-22 Martin Rudalics <rudalics@gmx.at>
12455
12456 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 12457 last fix. Use window-in-direction correctly.
42ee24ed 12458
a7dee7e7
CY
124592011-10-21 Chong Yidong <cyd@gnu.org>
12460
12461 * progmodes/idlwave.el (idlwave-mode):
12462 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
12463 require-final-newline; that's done in prog-mode.
12464 Suggested by Stefan Monnier.
a7dee7e7 12465
e07b9a6d
MR
124662011-10-21 Martin Rudalics <rudalics@gmx.at>
12467
12468 * mouse.el (mouse-drag-window-above)
12469 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12470 (mouse-drag-mode-line-1, mouse-drag-header-line)
12471 (mouse-drag-vertical-line-rightward-window): Remove.
12472 (mouse-drag-line): New function.
12473 (mouse-drag-mode-line, mouse-drag-header-line)
12474 (mouse-drag-vertical-line): Call mouse-drag-line.
12475 * window.el (window-at-side-p, windows-at-side): New functions.
12476
7e1361d9
UM
124772011-10-21 Ulrich Mueller <ulm@gentoo.org>
12478
12479 * tar-mode.el (tar-grind-file-mode):
12480 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12481
30fcaf3a
CY
124822011-10-21 Chong Yidong <cyd@gnu.org>
12483
12484 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
12485 * progmodes/vera-mode.el (vera-mode):
12486 Use mode-require-final-newline.
30fcaf3a 12487
516eddb0
GM
124882011-10-20 Glenn Morris <rgm@gnu.org>
12489
db22a3c2 12490 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 12491
10d5f513
CS
124922011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12493
12494 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12495
ac6c8639
CY
124962011-10-20 Chong Yidong <cyd@gnu.org>
12497
12498 * emulation/cua-base.el (cua-mode):
12499 * mail/footnote.el (footnote-mode):
12500 * mail/mailabbrev.el (mail-abbrevs-mode):
12501 * net/xesam.el (xesam-minor-mode):
12502 * progmodes/bug-reference.el (bug-reference-mode):
12503 * progmodes/cap-words.el (capitalized-words-mode):
12504 * progmodes/compile.el (compilation-minor-mode)
12505 (compilation-shell-minor-mode):
12506 * progmodes/gud.el (gud-tooltip-mode):
12507 * progmodes/hideif.el (hide-ifdef-mode):
12508 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12509 * progmodes/subword.el (subword-mode):
12510 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12511 * progmodes/which-func.el (which-function-mode):
12512 * term/tvi970.el (tvi970-set-keypad-mode):
12513 * term/vt100.el (vt100-wide-mode):
12514 * textmodes/flyspell.el (flyspell-mode):
12515 * textmodes/ispell.el (ispell-minor-mode):
12516 * textmodes/nroff-mode.el (nroff-electric-mode):
12517 * textmodes/paragraphs.el (use-hard-newlines):
12518 * textmodes/refill.el (refill-mode):
12519 * textmodes/reftex.el (reftex-mode):
12520 * textmodes/rst.el (rst-minor-mode):
12521 * textmodes/sgml-mode.el (html-autoview-mode)
12522 (sgml-electric-tag-pair-mode):
12523 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12524 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12525 * emulation/crisp.el (crisp-mode):
12526 * emacs-lisp/eldoc.el (eldoc-mode):
12527 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12528 minor mode behavior.
12529
aa42ab43
JL
125302011-10-19 Juri Linkov <juri@jurta.org>
12531
12532 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12533 the list of hard-coded chars with escape-glyph face.
12534
89400f1d
SM
125352011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12536
12537 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12538
305c07f6
MA
125392011-10-19 Michael Albinus <michael.albinus@gmx.de>
12540
12541 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12542 running process.
12543
13754b54
GM
125442011-10-19 Glenn Morris <rgm@gnu.org>
12545
12546 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12547 Ignore ignored files. (Bug#9726)
12548
06e21633
CY
125492011-10-19 Chong Yidong <cyd@gnu.org>
12550
12551 Doc fix for minor modes, stating that an omitted argument enables
12552 the mode unconditionally when called from Lisp.
12553
12554 * abbrev.el (abbrev-mode):
12555 * allout.el (allout-mode):
12556 * autoinsert.el (auto-insert-mode):
12557 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12558 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12559 (global-auto-revert-mode):
12560 * battery.el (display-battery-mode):
12561 * composite.el (global-auto-composition-mode)
12562 (auto-composition-mode):
12563 * delsel.el (delete-selection-mode):
12564 * desktop.el (desktop-save-mode):
12565 * dired-x.el (dired-omit-mode):
12566 * dirtrack.el (dirtrack-mode):
12567 * doc-view.el (doc-view-minor-mode):
12568 * double.el (double-mode):
12569 * electric.el (electric-indent-mode, electric-pair-mode):
12570 * emacs-lock.el (emacs-lock-mode):
12571 * epa-hook.el (auto-encryption-mode):
12572 * follow.el (follow-mode):
12573 * font-core.el (font-lock-mode):
12574 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12575 * help.el (temp-buffer-resize-mode):
12576 * hilit-chg.el (highlight-changes-mode)
12577 (highlight-changes-visible-mode):
12578 * hi-lock.el (hi-lock-mode):
12579 * hl-line.el (hl-line-mode, global-hl-line-mode):
12580 * icomplete.el (icomplete-mode):
12581 * ido.el (ido-everywhere):
12582 * image-file.el (auto-image-file-mode):
12583 * image-mode.el (image-minor-mode):
12584 * iswitchb.el (iswitchb-mode):
12585 * jka-cmpr-hook.el (auto-compression-mode):
12586 * linum.el (linum-mode):
12587 * longlines.el (longlines-mode):
12588 * master.el (master-mode):
12589 * mb-depth.el (minibuffer-depth-indicate-mode):
12590 * menu-bar.el (menu-bar-mode):
12591 * minibuf-eldef.el (minibuffer-electric-default-mode):
12592 * mouse-sel.el (mouse-sel-mode):
12593 * msb.el (msb-mode):
12594 * mwheel.el (mouse-wheel-mode):
12595 * outline.el (outline-minor-mode):
12596 * paren.el (show-paren-mode):
12597 * recentf.el (recentf-mode):
12598 * reveal.el (reveal-mode, global-reveal-mode):
12599 * rfn-eshadow.el (file-name-shadow-mode):
12600 * ruler-mode.el (ruler-mode):
12601 * savehist.el (savehist-mode):
12602 * scroll-all.el (scroll-all-mode):
12603 * scroll-bar.el (scroll-bar-mode):
12604 * server.el (server-mode):
12605 * shell.el (shell-dirtrack-mode):
12606 * simple.el (auto-fill-mode, transient-mark-mode)
12607 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12608 (line-number-mode, column-number-mode, size-indication-mode)
12609 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12610 * strokes.el (strokes-mode):
12611 * time.el (display-time-mode):
12612 * t-mouse.el (gpm-mouse-mode):
12613 * tool-bar.el (tool-bar-mode):
12614 * tooltip.el (tooltip-mode):
12615 * type-break.el (type-break-mode-line-message-mode)
12616 (type-break-query-mode):
12617 * view.el (view-mode):
12618 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12619 (global-whitespace-mode, global-whitespace-newline-mode):
12620 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12621
a3839de2
SM
12622 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12623 Fix autogenerated docstring.
06e21633 12624
5214e501
JL
126252011-10-19 Juri Linkov <juri@jurta.org>
12626
12627 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12628 by checking environment variables "DESKTOP_SESSION" and
12629 "XDG_CURRENT_DESKTOP". (Bug#9779)
12630
195f8db9
JL
126312011-10-19 Juri Linkov <juri@jurta.org>
12632
12633 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12634 (browse-url-chromium-program, browse-url-chromium-arguments):
12635 New defcustoms.
12636 (browse-url-default-browser): Check for `browse-url-chromium' and
12637 call `browse-url-chromium-program'.
12638 (browse-url-chromium): New command. (Bug#9779)
12639
343a34ff
JB
126402011-10-18 Juanma Barranquero <lekktu@gmail.com>
12641
12642 * facemenu.el (list-colors-duplicates): On Windows, detect more
12643 duplicates by assuming that only colors matching "^System" are
12644 special "system colors". (Bug#9722)
12645
6978a151
SM
126462011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12647
12648 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12649 to distinguish the author from the committer.
12650
6a80b297
MA
126512011-10-18 Michael Albinus <michael.albinus@gmx.de>
12652
12653 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12654
b31a5677
JK
126552011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12656
12657 * international/mule.el (sgml-html-meta-auto-coding-function):
12658 Add support for detecting encoding in HTML5 specified only as
12659 <meta charset="UTF-8">. Implementation just makes http-equiv and
12660 content-type parts from HTML4 encoding string optional. (Bug#9716)
12661
80c6d77f
GM
126622011-10-18 Glenn Morris <rgm@gnu.org>
12663
12664 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12665
08b0fee8
CY
126662011-10-18 Chong Yidong <cyd@gnu.org>
12667
12668 * faces.el (cursor): Doc fix.
12669
67e729a5
CY
126702011-10-17 Chong Yidong <cyd@gnu.org>
12671
12672 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12673
343a34ff 126742011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
12675
12676 * dirtrack.el (dirtrack): Support shell buffers with path
12677 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12678
0bc06380
TZ
126792011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12680
12681 * json.el: Bump version to 1.3 and note change in History.
12682 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12683
8b79f3e0
SM
126842011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12685
5a7c536b
SM
12686 * comint.el (comint-insert-input, comint-send-input)
12687 (comint-get-old-input-default, comint-backward-matching-input)
12688 (comint-next-prompt): Use nil instead of `input' for field property of
12689 past user input (bug#114).
12690
96a8a0df
SM
12691 * minibuffer.el (completion--replace): Inherit surrounding properties
12692 (bug#114).
12693 (minibuffer-complete-and-exit): Use it.
12694
8b79f3e0
SM
12695 * comint.el (comint--table-subvert): Quote the all-completions output
12696 (bug#9160).
12697
b8f7ff0d
MR
126982011-10-17 Martin Rudalics <rudalics@gmx.at>
12699
8b79f3e0 12700 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 12701
b8f7ff0d 12702 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 12703 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
12704 entries and separate them from frame entries.
12705
c235b555
GM
127062011-10-15 Glenn Morris <rgm@gnu.org>
12707
12708 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12709 Doc fixes.
12710
6bbfa6e1
CY
127112011-10-15 Chong Yidong <cyd@stupidchicken.com>
12712
8b79f3e0
SM
12713 * net/network-stream.el (network-stream-open-starttls):
12714 Improve detection of failure due to lack of TLS support.
ec5c990d 12715
6bbfa6e1
CY
12716 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12717 putting the input text in front and in bold.
12718
98488977
SM
127192011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12720
3d1337be
SM
12721 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12722
ee0b45e4
SM
12723 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12724 empty buffer.
12725
98488977
SM
12726 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12727 unread-command-events rather than pushing yet-another event.
12728
186f4720
EZ
127292011-10-14 Eli Zaretskii <eliz@gnu.org>
12730
12731 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12732 the explanation of the possible choices. Make the options passed
12733 to completing-read shorter.
12734
8b7a997c
AM
127352011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12736
12737 * textmodes/flyspell.el (flyspell-large-region): Make sure
12738 extended character mode is used if defined (Bug#1339).
12739
12587bbb
EZ
127402011-10-13 Eli Zaretskii <eliz@gnu.org>
12741
12742 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
12743 character info for LRE, LRO, RLE, and RLO characters by appending
12744 an invisible PDF.
12587bbb 12745
bad41229
SM
127462011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12747
12748 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12749 even in case of error; add debug spec; simplify data flow.
12750 (with-timeout-handler): Remove.
12751
28dbc92f
MA
127522011-10-12 Michael Albinus <michael.albinus@gmx.de>
12753
12754 Fix Bug#6019, Bug#9315.
12755
12756 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12757 complete `buffer-file-name', the local file name part could look
12758 remotely (for example on VMS).
12759
12760 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12761 `tramp-run-real-handler'.
12762 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12763 already quoted by '"'.
12764
12765 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12766 Let `file-name-handler-alist' be nil, the local file name part
12767 could look remotely (for example on VMS).
12768
e1b0b23a
SM
127692011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12770
12771 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12772 from here...
12773 (flyspell-post-command-hook): ...to here.
12774
a120bde9
SM
127752011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12776
12777 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12778 if not needed.
12779 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12780 using completion. Protect against "slow" callers.
12781 Remove the "message hack".
12782
7ce7717b
JL
127832011-10-11 Juri Linkov <juri@jurta.org>
12784
12785 * isearch.el (isearch-lazy-highlight-word): New variable.
12786 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12787 Use it. (Bug#9727)
12788
c02ee9d6
GM
127892011-10-11 Glenn Morris <rgm@gnu.org>
12790
12791 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12792 like f90-previous-statement does.
12793
93e616fd 127942011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12795
1f190e73 12796 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
12797 only in interactive use, to avoid error.
12798
af7b6078
SM
127992011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12800
12801 * minibuffer.el (completion-file-name-table): Fix last change,
12802 i.e. ignore normal errors but not the other ones.
12803
0563dae9
MR
128042011-10-10 Martin Rudalics <rudalics@gmx.at>
12805
12806 * window.el (special-display-buffer-names)
12807 (special-display-regexps): Remove some remnants of earlier
12808 changes from doc-strings.
366ca7f3
MR
12809 (quit-windows-on): New function.
12810
12811 * vc/vc.el (vc-revert, vc-rollback):
12812 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12813 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 12814 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 12815
49677495
MR
128162011-10-09 Martin Rudalics <rudalics@gmx.at>
12817
12818 * window.el (frame-auto-hide-function): Add version tag.
12819 (Bug#9699)
12820
56f2d1e1
MA
128212011-10-09 Michael Albinus <michael.albinus@gmx.de>
12822
12823 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12824 condition.
12825
112a6592
LL
128262011-10-09 Leo Liu <sdl.web@gmail.com>
12827
12828 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12829 (Bug#9701)
12830
0812589b
GM
128312011-10-08 Glenn Morris <rgm@gnu.org>
12832
12833 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12834 before the first code statement zero indent. (Bug#9690)
12835
b2b0776e
CY
128362011-10-08 Chong Yidong <cyd@stupidchicken.com>
12837
12838 * simple.el (count-words-region): Always count in the region.
12839 Report the number of lines and characters too.
12840 (count-words): New command, which counts in the buffer if the
12841 region is inactive, as count-words-region used to.
12842 (count-words--message): New function. Handle plurals.
12843 (count-lines-region): Make it an alias for count-words-region.
12844
12845 * bindings.el (esc-map): Replace count-lines-region with
12846 count-words-region.
12847
c557cd6b
MR
128482011-10-08 Martin Rudalics <rudalics@gmx.at>
12849
12850 * window.el (window--delete): Delete dedicated frame
12851 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 12852 (switch-to-buffer): Fix doc-string typo.
c557cd6b 12853
61a57ef4 128542011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12855
3a7d293b 12856 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 12857
c3833279
CY
128582011-10-07 Chong Yidong <cyd@stupidchicken.com>
12859
12860 * bindings.el ([M-left],[M-right]): Bind to left-word and
12861 right-word respectively.
12862
21ce8245
GM
128632011-10-07 Glenn Morris <rgm@gnu.org>
12864
12865 * cus-start.el (debug-on-quit): Fix custom type.
12866
6d823bb2
LMI
128672011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12868
0181e193
LMI
12869 * subr.el (define-key-after): Clarify that the function is not
12870 useful for non-menu keymaps.
12871
6d823bb2
LMI
12872 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12873
8e3459ce 128742011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12875
21ce8245 12876 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 12877 in current minibuffer (Fix bug with recursive minibuffers).
12878
a1c2d21e
CY
128792011-10-06 Chong Yidong <cyd@stupidchicken.com>
12880
12881 * progmodes/gdb-mi.el (gdb): Doc fix.
12882
5a4cf282
MR
128832011-10-05 Martin Rudalics <rudalics@gmx.at>
12884
12885 * window.el (frame-auto-hide-function): New option replacing
12886 frame-auto-delete. Suggested by Stefan Monnier.
12887 (window--delete): Call frame-auto-hide-function instead of
12888 investigating frame-auto-delete.
c96111ea
MR
12889 (window-point-1, set-window-point-1): New functions.
12890 (window-in-direction, record-window-buffer, window-state-get-1)
12891 (display-buffer-record-window): Use window-point-1 instead of
12892 window-point.
12893 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 12894
9854542e
SM
128952011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12896
12897 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12898
8943cfb0
GM
128992011-10-05 Glenn Morris <rgm@gnu.org>
12900
12901 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12902 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12903
647ab967
LL
129042011-10-05 Leo Liu <sdl.web@gmail.com>
12905
12906 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12907 works with buffer object.
12908
3ddfbced
SM
129092011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12910
12911 * mpc.el (mpc-tool-bar-map): Add labels.
12912
bdfa5dd2
GM
129132011-10-04 Glenn Morris <rgm@gnu.org>
12914
12915 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12916
0e2070b5
MR
129172011-10-04 Martin Rudalics <rudalics@gmx.at>
12918
12919 * window.el (window--delete): New function.
12920 (frame-auto-delete): Resuscitate option.
12921 (bury-buffer, replace-buffer-in-windows)
12922 (quit-window): Rewrite using window--delete.
12923 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12924 Pass display-buffer-mark-dedicated to window--display-buffer-2
12925 (Bug#9639).
12926
3dc61a09
SM
129272011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12928
915a9b64
SM
12929 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12930 returns a list (bug#9554). Add remote file name completion.
12931 * comint.el (comint--table-subvert): Curry and get quote&unquote
12932 functions as arguments.
12933 (comint--complete-file-name-data): Adjust call accordingly.
12934 * pcomplete.el (pcomplete--table-subvert): Remove.
12935 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12936
3dc61a09
SM
12937 * minibuffer.el (completion-table-case-fold): Use currying.
12938 (completion--styles-type, completion--cycling-threshold-type):
12939 New constants.
12940 (completion-styles, completion-category-overrides)
12941 (completion-cycle-threshold): Use them.
12942 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12943 completion-table-case-fold.
12944
8ea0a993
SB
129452011-10-03 Stephen Berman <stephen.berman@gmx.net>
12946
12947 * minibuffer.el (completion-category-overrides): Fix type of styles
12948 and add more user friendly tags (bug#9660).
12949
8c24b7f6
SM
129502011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12951
12952 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12953 (mule-input-method-string): New widget.
12954 (default-input-method, language-info-custom-alist): Use it.
12955
428fe61a
SM
129562011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12957
32c1fffd
SM
12958 * pcomplete.el: Require comint.
12959 (pcomplete--common-suffix): Remove.
12960 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12961 (pcomplete--table-subvert): Sync with comint--table-subvert.
12962 (pcomplete--entries): Use comint-completion-file-name-table.
12963 * comint.el (comint-unquote-filename): Simplify.
12964 (comint-completion-file-name-table): New function (bug#9616).
12965 (comint--complete-file-name-data): Use it.
12966
428fe61a
SM
12967 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12968 (pcmpl-gnu-tar-buffer): Remove.
12969 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
12970 around. Make sure pcomplete-suffix-list is only changed temporarily.
12971 Don't look inside the tar's file if it's too large.
428fe61a 12972
04c52e2f
CY
129732011-10-01 Chong Yidong <cyd@stupidchicken.com>
12974
ce3cefcc
CY
12975 * cus-edit.el (custom-mode-map):
12976 * epa.el (epa-key-list-mode-map):
12977 * man.el (Man-mode-map):
12978 * startup.el (splash-screen-keymap):
12979 * simple.el (special-mode-map): Use scroll-up-command and
12980 scroll-down-command.
12981
12982 * progmodes/idlw-help.el (idlwave-help-mode-map):
12983 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12984 * net/newst-plainview.el (newsticker-mode-map):
12985 * emulation/ws-mode.el (wordstar-mode-map):
12986 * emulation/vi.el (vi-com-map):
12987 * calc/calc-graph.el (calc-graph-show-dumb):
12988 * term/sun.el (terminal-init-sun):
12989 * term/ns-win.el (global-map):
12990 * progmodes/grep.el (grep-mode-map):
12991 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12992 * mail/rmail.el (rmail-mode-map):
12993 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12994
04c52e2f
CY
12995 * custom.el (custom-safe-themes, load-theme): Treat value of t for
12996 custom-safe-themes as special.
12997
79adf8c8
JD
129982011-10-01 Julien Danjou <julien@danjou.info>
12999
13000 * notifications.el (notifications-notify): Fix docstring.
13001
63bd50d3
PS
130022011-10-01 Per Starbäck <per@starback.se>
13003
13004 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13005
199e4c7e
MR
130062011-09-30 Martin Rudalics <rudalics@gmx.at>
13007
13008 * startup.el (command-line-1): Fix last fix by inserting
13009 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 13010 (Bug#9605) and (Bug#9636)
199e4c7e 13011
fe5f08dd
EZ
130122011-09-29 Eli Zaretskii <eliz@gnu.org>
13013
13014 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13015 window is hscrolled, move by logical lines. (Bug#9607)
13016 (line-move-visual): Update the doc string to the above effect.
13017
b5516bbd
MR
130182011-09-29 Martin Rudalics <rudalics@gmx.at>
13019
ccee00c0
MR
13020 * window.el (display-buffer-record-window): When WINDOW is the
13021 selected window use `point' instead of `window-point'. (Bug#9626)
13022
b5516bbd
MR
13023 * startup.el (command-line-1): Use insert-before-markers when
13024 inserting initial-scratch-message. (Bug#9605)
ccee00c0 13025
b5516bbd
MR
13026 * help.el (help-window): Remove variable.
13027
52aa0014
GM
130282011-09-29 Glenn Morris <rgm@gnu.org>
13029
13030 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13031
df9a7357
JB
130322011-09-29 Juanma Barranquero <lekktu@gmail.com>
13033
13034 * descr-text.el (describe-char-categories): Accept category
13035 descriptions more than one line long.
13036
a8406c20
SM
130372011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13038
88d9610c
SM
13039 * simple.el (delete-trailing-whitespace): Fix last change.
13040
a5daf810
SM
13041 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13042 Don't confuse "y => 3" as the beginning of a `y' operation.
13043
a8406c20
SM
13044 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13045 object has more than 4 slots (bug#9613).
13046
a239d4e9
JB
130472011-09-28 Juanma Barranquero <lekktu@gmail.com>
13048
13049 * subr.el (with-output-to-temp-buffer):
13050 * net/quickurl.el (quickurl, quickurl-browse-url):
13051 Fix typos in docstrings.
13052
693fbdb6
EZ
130532011-09-27 Eli Zaretskii <eliz@gnu.org>
13054
13055 * minibuffer.el (completion-styles)
13056 (completion-category-overrides): Cross reference each other in doc
13057 strings.
13058
8b457e28
GM
130592011-09-27 Glenn Morris <rgm@gnu.org>
13060
13061 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13062 to split-string. (Bug#9606)
13063
85a16208
LMI
130642011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13065
13066 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13067 (bug#9615).
13068
502f9ebd
CY
130692011-09-27 Chong Yidong <cyd@stupidchicken.com>
13070
13071 * emacs-lisp/package.el (list-packages): Fix echo area message.
13072
7690bdea
LL
130732011-09-27 Leo Liu <sdl.web@gmail.com>
13074
13075 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13076
e2ee6f30
MA
130772011-09-25 Michael Albinus <michael.albinus@gmx.de>
13078
13079 * net/dbus.el (dbus-unregister-object): Don't release services for
13080 registered signals. (Bug#9581)
13081
f3f98342
TZ
130822011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13083
13084 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13085 function that picks between cfengine 2 and 3 support
13086 automatically. Update docs accordingly.
13087
dd7aa8dd
KH
130882011-09-22 Kenichi Handa <handa@m17n.org>
13089
13090 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13091 ZERO.
13092 (indian-itrans-v5-table-for-tamil): New variable.
13093 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13094
3f2b07f8
KM
130952011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13096
13097 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13098 that's true if the current command involved collapsing of text.
13099 It's reset to false at the beginning of the next command.
13100 (allout-post-command-business): Move the cursor to the beginning
13101 of entry if the cursor is hidden and collapsing activity just
13102 happened.
13103
371d6a61
CY
131042011-09-24 Chong Yidong <cyd@stupidchicken.com>
13105
13106 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13107 tracking (Bug#9541).
13108
2ac2721a
UJ
131092011-09-24 Ulf Jasper <ulf.jasper@web.de>
13110
13111 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
13112 (newsticker-show-news): Automatically load html rendering package
13113 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13114 because w3m-fill-column is let-bound" and the error "Symbol's value
13115 as variable is void: w3m-fill-column".
2ac2721a 13116
fac7ae53
MA
131172011-09-24 Michael Albinus <michael.albinus@gmx.de>
13118
13119 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13120 Release services only if they are defined. (Bug#9581)
13121
e08b633b
RS
131222011-09-23 Richard Stallman <rms@gnu.org>
13123
e488d29c
RS
13124 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13125 distinguish start of paragraph from start of its text.
13126
19c38752
RS
13127 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13128
e08b633b
RS
13129 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13130 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13131 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13132
0a39f27e
AS
131332011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13134
13135 * international/mule-diag.el (mule-diag): Insert a newline after
13136 each fontset description.
13137
db4e950d
SM
131382011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13139
13140 * simple.el (delete-trailing-whitespace):
13141 Document last change; simplify.
13142
eca3f3ea
PW
131432011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13144
d68e189a
PW
13145 * simple.el (delete-trailing-whitespace): Also delete
13146 extra newlines at the end of the buffer.
13147
eca3f3ea
PW
13148 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13149 (picture-newline): Use forward-line so as to ignore fields.
13150
01c157cc
SM
131512011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13152
13153 * subr.el (with-wrapper-hook): Fix edebug spec.
13154
022de23e
LMI
131552011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13156
13157 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13158 (bug#4538).
13159
91683089
MA
131602011-09-23 Michael Albinus <michael.albinus@gmx.de>
13161
eca3f3ea
PW
13162 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13163 Fix nasty bug using wrong cached values.
91683089 13164
5bdd6fa4
AM
131652011-09-23 Alan Mackenzie <acm@muc.de>
13166
13167 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13168
97adfb97
CY
131692011-09-23 Chong Yidong <cyd@stupidchicken.com>
13170
13171 * window.el (pop-to-buffer): Ensure right window is selected if we
13172 chose another frame.
13173
d4ef2b50
EZ
131742011-09-22 Eli Zaretskii <eliz@gnu.org>
13175
13176 * simple.el (what-cursor-position): Use get-char-property-change
13177 and next-single-char-property-change, to be able to show display
13178 properties that come from overlays as well as text properties.
13179
72258fe5
CY
131802011-09-22 Chong Yidong <cyd@stupidchicken.com>
13181
13182 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13183
13184 * cmuscheme.el (run-scheme, switch-to-scheme):
13185 * cus-edit.el (customize-group, custom-buffer-create)
13186 (customize-browse):
13187 * info.el (info):
13188 * shell.el (shell):
13189 * mail/sendmail.el (mail):
13190 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13191
8f098516
RS
131922011-09-22 Richard Stallman <rms@gnu.org>
13193
13194 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13195 move back only to line beg, don't move back over blank lines.
13196
e74f1bb6
MA
131972011-09-22 Michael Albinus <michael.albinus@gmx.de>
13198
13199 * files.el (copy-directory): Set directory attributes only in case
13200 they could be retrieved from the source directory. (Bug#9565)
13201
bfeef8b6
DK
132022011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13203
13204 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13205 (hs-find-block-beginning, hs-hide-level-recursive):
13206 Ignore strings as well as comments. (Bug#9502)
13207
7e423bb8
AS
132082011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13209
13210 * progmodes/sql.el (sql-comint-postgres):
13211 Convert port number to a string. (Bug#9566)
13212
b4d72fcf
MR
132132011-09-22 Martin Rudalics <rudalics@gmx.at>
13214
13215 * window.el (quit-window): Undedicate window when switching to
13216 previous buffer. Reported by Thierry Volpiatto
13217 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
13218 (special-display-popup-frame): When popping up a new frame reset
13219 its previous buffers to nil. Simplify code.
b4d72fcf 13220
a7b88dc6
MA
132212011-09-21 Michael Albinus <michael.albinus@gmx.de>
13222
13223 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13224 and process filter, as done also in `shell-command'.
13225
cf4eacfd
MR
132262011-09-21 Martin Rudalics <rudalics@gmx.at>
13227
eca3f3ea 13228 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
13229 Call set-window-start with NOFORCE argument t.
13230 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
13231 (quit-window): Reword doc-string. Handle new format of
13232 quit-restore parameter. Don't delete window if it has a
13233 previous buffer we can show instead of the present one.
13234 (display-buffer-record-window): Rewrite using a new format for
13235 the quit-restore window parameter
13236 (special-display-popup-frame, display-buffer-same-window)
13237 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13238 (display-buffer-pop-up-window, display-buffer-use-some-window):
13239 Adapt symbol passed to display-buffer-record-window.
13240 * help.el (help-window-setup): Handle new format of quit-restore
13241 parameter.
13242
8d28cb95
SM
132432011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13244
94ab793f
SM
13245 * faces.el (face-list): Fix docstring (bug#9564).
13246
8d28cb95
SM
13247 * window.el (display-buffer--action-function-custom-type):
13248 Don't include internal functions in the Custom interface.
13249
3820edeb
JL
132502011-09-20 Juri Linkov <juri@jurta.org>
13251
13252 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13253 (Info-forward-node, Info-backward-node, Info-next-preorder)
13254 (Info-last-preorder): Use it. (Bug#9528)
13255
5147931d
JL
132562011-09-20 Juri Linkov <juri@jurta.org>
13257
13258 * info.el (Info-last-preorder): Visit last menu item only when
13259 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13260
cf499a1a
JD
132612011-09-20 Julien Danjou <julien@danjou.info>
13262
13263 * password-cache.el (password-cache-remove): Remove entries even if the
13264 value is nil, so that password with a nil value (negative caching) is
13265 possible to invalidate.
13266
f84e2fe2
LM
132672011-09-20 Lawrence Mitchell <wence@gmx.li>
13268
13269 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13270 all whitespace around breakpoint. (Bug#9553)
13271 (f90-find-breakpoint): Only break at whitespace inside a comment.
13272
78054a46
SM
132732011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13274
13275 * minibuffer.el (completion-file-name-table): Keep track of errors.
13276 (completion-table-with-predicate): Handle the case where pred1 is nil.
13277 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13278
345083b2
SM
132792011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13280
e24e27be
SM
13281 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13282 (debugger-return-value): Signal an error if the debugging context does
13283 not await any return value.
13284
345083b2
SM
13285 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13286 * image-mode.el (image-toggle-display-text)
13287 (image-toggle-display-image): Stay away from evil `intangible'.
13288
08d355e3
LL
132892011-09-19 Leo Liu <sdl.web@gmail.com>
13290
13291 * replace.el (occur-revert-arguments): Make it permanent-local.
13292 (occur-mode): Don't call font-lock-defontify.
13293
f01da43f
CY
132942011-09-19 Chong Yidong <cyd@stupidchicken.com>
13295
13296 * net/ldap.el (ldap-search-internal): Don't push empty search
13297 result (Bug#9508).
13298
b6072fa6
SM
132992011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13300
13301 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13302
443d6696
MA
133032011-09-19 Michael Albinus <michael.albinus@gmx.de>
13304
13305 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13306 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13307
7cc6e154
JL
133082011-09-18 Juri Linkov <juri@jurta.org>
13309
13310 * buff-menu.el (Buffer-menu-mode-map):
13311 * dired.el (dired-mode-map):
13312 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13313 (lisp-interaction-mode-map):
13314 * emacs-lisp/package.el (package-menu-mode-map):
13315 * epa.el (epa-key-list-mode-map):
13316 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13317 (menu-bar-options-menu):
13318 * outline.el (outline-mode-menu-bar-map):
13319 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13320 * vc/vc-dir.el (vc-dir-menu-map):
13321 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13322 Capitalize non-function content words in menu item strings.
13323
13324 * dired.el (dired-mode-map): Add menu item for
13325 `image-dired-dired-toggle-marked-thumbs'.
13326
80302a81
JL
133272011-09-18 Juri Linkov <juri@jurta.org>
13328
13329 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13330 to `isearch-case-fold-search' and restore its original value
13331 after the `isearch-mode' call.
13332
46c5cf66
JL
133332011-09-18 Juri Linkov <juri@jurta.org>
13334
13335 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13336 because `zgrep' returns 1 for successful matches (bug#9226).
13337
d18b513b
JL
133382011-09-18 Juri Linkov <juri@jurta.org>
13339
13340 * info.el (Info-extract-menu-node-name): Check the second match
13341 for empty string (second test-case of bug#9528).
13342 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13343 intermediate nodes to the history (first test-case of bug#9528).
13344
72753f87
JL
133452011-09-18 Juri Linkov <juri@jurta.org>
13346
13347 * info.el (Info-mode-syntax-table): New variable.
1154d12e 13348 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 13349
c9384295
JL
133502011-09-18 Juri Linkov <juri@jurta.org>
13351
1154d12e
JB
13352 * info.el (Info-file-supports-index-cookies):
13353 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13354 outputs one more line for long file names (bug#4142).
c9384295 13355
d473dce8
CY
133562011-09-18 Chong Yidong <cyd@stupidchicken.com>
13357
13358 * newcomment.el (comment-normalize-vars): If prompting for
13359 comment-start, set comment-start-skip too (Bug#8424).
13360
2176854d
JB
133612011-09-18 Johan Bockgård <bojohan@gnu.org>
13362
13363 * icomplete.el: Fix previous fix of Bug#5849.
13364 (icomplete-mode): Don't set completion-show-inline-help.
13365 (icomplete-minibuffer-setup): Set completion-show-inline-help
13366 locally during icompletion.
13367
3aace4e4
CY
133682011-09-18 Chong Yidong <cyd@stupidchicken.com>
13369
c940224f
CY
13370 * woman.el (woman2-process-escapes): Don't delete unrecognized
13371 escapes (Bug#7843).
13372
3aace4e4
CY
13373 * files.el (inhibit-first-line-modes-regexps): Add image files.
13374 (hack-local-variables-prop-line): Return nil for malformed
13375 prop-lines (Bug#9044).
13376
710dec63
MA
133772011-09-18 Michael Albinus <michael.albinus@gmx.de>
13378
13379 * net/tramp.el (top): Don't require 'shell.
13380 (tramp-methods): Fix docstring.
13381 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
13382 Return complete remote file name. Handle "smb" case.
13383 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
13384 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13385
13386 * net/tramp-compat.el (top): Require 'shell.
13387
13388 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13389 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13390 `tramp-current-host'.
13391 (tramp-get-remote-tmpdir): Remove.
13392
13393 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13394 `tramp-tmpdir' entries.
13395 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13396 (tramp-smb-handle-file-attributes): Ignore errors.
13397 (tramp-smb-wait-for-output): Check also for process end.
13398
5d5ac8ec
LMI
133992011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13400
13401 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13402 when sending QUIT (bug#9312).
13403
8c0f49f0
CY
134042011-09-17 Chong Yidong <cyd@stupidchicken.com>
13405
13406 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13407 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13408 occur-mode-display-occurrence.
13409 (occur-edit-mode): Add usage message.
13410 (occur-cease-edit): New command.
13411 (occur-after-change-function): Use text properties to find the
13412 position of the prefix text.
13413 (occur-engine): Set stickiness of prefix text properties.
13414
8f1383f7
GM
134152011-09-17 Glenn Morris <rgm@gnu.org>
13416
13417 * progmodes/etags.el (complete-tag):
13418 Fix call to completion-in-region. (Bug#9526)
13419
744ba0e3
JL
134202011-09-17 Juri Linkov <juri@jurta.org>
13421
13422 * textmodes/ispell.el (ispell-word): Add to the error message
13423 the word, ispell program name and current dictionary (bug#9121).
13424 (ispell-tex-arg-end): Capitalize "error" in the error message.
13425
d9bbf400
AS
134262011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13427
13428 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13429 check. (Bug#4251)
13430
8da11505
JL
134312011-09-17 Juri Linkov <juri@jurta.org>
13432
13433 * window.el (window-safe-min-height, window-safe-min-width):
13434 Fix typos (followup to bug#9522).
13435
a91adc7e
SJ
134362011-09-17 Sven Joachim <svenjoac@gmx.de>
13437
13438 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13439
064f328a
EZ
134402011-09-16 Eli Zaretskii <eliz@gnu.org>
13441
13442 * simple.el (line-move): If goal-column is set, move by logical
13443 lines, not by display lines. (Bug#971)
13444 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13445 to reflect the above change.
13446
e69df516
SM
134472011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13448
13449 * image.el (imagemagick-register-types): Use regexp-opt.
13450
cbb0f9ab
CY
134512011-09-15 Chong Yidong <cyd@stupidchicken.com>
13452
13453 * window.el (display-buffer-base-action): Rename from
13454 display-buffer-default-action. Make default value empty.
13455 (display-buffer-overriding-action): Convert to defvar.
13456 (display-buffer-fallback-action): New var.
13457
25322144
CY
134582011-09-15 Chong Yidong <cyd@stupidchicken.com>
13459
13460 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13461 declaration.
13462 (package--add-to-archive-contents): If there is a duplicate entry
13463 with an older version, remove it.
13464 (package-menu-mark-delete, package-menu-mark-install)
13465 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
13466 (package-menu-mark-obsolete-for-deletion):
13467 Use package-menu-get-status instead of a regexp search.
25322144
CY
13468 (package-menu-get-status): Use tabulated-list-entry.
13469 (package-menu-mark-upgrades): New command.
d770725a 13470 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
13471 (package-menu-execute): Do installation before deletion.
13472 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13473 instead of checking major-mode.
13474 (package-menu--find-upgrades): New function.
13475
7520339c
LMI
134762011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13477
13478 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13479 passwords in the log buffer.
65a046c4
LMI
13480 (smtpmail-process-filter): Update the process marker so that the
13481 "broken by peer" status message is inserted in the right place.
7520339c 13482
d3c30954
SM
134832011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13484
3fe48822
SM
13485 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13486 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13487 bibtex-completion-at-point-function.
13488 (bibtex-completion-at-point-function): Use them.
13489
1b8b3954
SM
13490 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13491
d3c30954
SM
13492 * mpc.el (mpc-constraints-tag-lookup): New function.
13493 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13494 also to browser "album|playlist".
13495
72779976
JL
134962011-09-14 Juri Linkov <juri@jurta.org>
13497
13498 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13499 (isearch-edit-string): Use length of `isearch-string' when
13500 `isearch-fail-pos' returns nil.
13501 (isearch-message): Remove duplicate code and call
13502 `isearch-fail-pos' with arg `t'.
13503
a0bf2bcd
CY
135042011-09-14 Chong Yidong <cyd@stupidchicken.com>
13505
17bb0a2d
CY
13506 * replace.el (occur-mode-goto-occurrence): Don't force using other
13507 window (Bug#9499).
13508
a0bf2bcd
CY
13509 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13510
f678e0b6
MR
135112011-09-14 Martin Rudalics <rudalics@gmx.at>
13512
13513 * window.el (display-buffer-window): Remove.
13514 (display-buffer-record-window): Use help-setup window parameter
13515 instead of variable display-buffer-window.
13516 (display-buffer-function, special-display-buffer-names)
13517 (special-display-function): Mention help-setup parameter instead
13518 of display-buffer-window in doc-string.
d3c30954
SM
13519 * help.el (help-window-setup): New argument help-window.
13520 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
13521 Reword some messages.
13522 (with-help-window): Pass window used for displaying the buffer
13523 to help-window-setup. Don't set display-buffer-window.
13524
8e39b2e8
GM
135252011-09-13 Glenn Morris <rgm@gnu.org>
13526
13527 * emacs-lisp/debug.el (debugger-make-xrefs):
13528 Preserve point. (Bug#9462)
13529
85e9c04b
CY
135302011-09-13 Chong Yidong <cyd@stupidchicken.com>
13531
13532 * window.el (window-deletable-p): Use next-frame.
13533
1b36ed6a
MR
135342011-09-13 Martin Rudalics <rudalics@gmx.at>
13535
13536 * window.el (window-auto-delete): Remove.
13537 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 13538 dedication and previous buffers.
1b36ed6a
MR
13539 (switch-to-prev-buffer): Don't delete window.
13540 (delete-windows-on): Delete a window's frame if and only if the
13541 window is dedicated.
13542 (replace-buffer-in-windows): Delete buffer's window or frame if
13543 and only if window is dedicated.
13544 (quit-window): Handle quit-restore as before last change.
4d61f28d 13545 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 13546
ef8ef9fb
CY
135472011-09-13 Chong Yidong <cyd@stupidchicken.com>
13548
13549 * window.el (window-deletable-p): Never delete the last frame on a
13550 given terminal.
13551
b2cba41e
GM
135522011-09-13 Glenn Morris <rgm@gnu.org>
13553
13554 * help.el (describe-key-briefly): Copy previous standard-output change.
13555
51553db6 135562011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
13557
13558 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13559
b7556719
GM
135602011-09-13 Glenn Morris <rgm@gnu.org>
13561
13562 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13563 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13564
64b51947
CY
135652011-09-12 Chong Yidong <cyd@stupidchicken.com>
13566
13567 * dired-aux.el (dired-mark-read-string): Don't return default
13568 value on empty input (Bug#9361).
13569 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13570 Omit initial minibuffer contents.
13571 (dired-do-chmod): Signal an error on empty input.
13572 (dired-mark-read-string): Don't return default on empty input.
13573
13574 * files.el (file-modes-symbolic-to-number): Doc fix.
13575
393a301e
SM
135762011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13577
13578 * international/mule-cmds.el (ucs-completions): Remove.
13579 (read-char-by-name): Use complete-with-action instead; add metadata.
13580
fa5660f9
CY
135812011-09-11 Chong Yidong <cyd@stupidchicken.com>
13582
13583 * window.el (display-buffer--action-function-custom-type)
13584 (display-buffer--action-custom-type): New vars.
13585 (display-buffer-alist, display-buffer-default-action)
13586 (display-buffer-overriding-action): Add defcustom types.
13587
4a592f66
CY
13588 * frame.el (delete-other-frames): Doc fix (Bug#276).
13589
73d56dbd
LMI
135902011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13591
13592 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13593
37ac18a3
CY
135942011-09-11 Chong Yidong <cyd@stupidchicken.com>
13595
13596 Change modes that used same-window-* vars to use switch-to-buffer.
13597
13598 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13599 Use switch-to-buffer.
13600
13601 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
13602 (customize-browse, custom-buffer-create-other-window):
13603 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
13604
13605 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13606 (Info-prev, Info-up, Info-speedbar-goto-node)
13607 (info-display-manual): Use switch-to-buffer.
13608 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13609
13610 * mail/sendmail.el (mail): Use switch-to-buffer.
13611 (mail-recover): Use switch-to-buffer-other-window.
13612
13613 * cmuscheme.el (run-scheme, switch-to-scheme):
13614 * ielm.el (ielm):
13615 * shell.el (shell):
13616 * net/rlogin.el (rlogin):
13617 * net/telnet.el (telnet, rsh):
13618 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13619
10195bd6
AS
136202011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13621
13622 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13623
b322f63a
LMI
136242011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13625
39d7fed6
LMI
13626 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13627 so don't mention it (bug#9301).
ba5a81f1 13628 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 13629
ee0e9f11
LMI
13630 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13631 match `x', `w32' and `ns', like the manual says (bug#9029).
13632
0b1c89c1 13633 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
13634 (process-kill-buffer-query-function): Mention the buffer name in
13635 the query.
0b1c89c1 13636
77549ea8
LMI
13637 * image-mode.el (image-next-line): The line parameter is mandatory
13638 (bug#9258).
13639
803ef892
LMI
13640 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13641 which can be useful (bug#9301).
13642
12980837
LMI
13643 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13644
91054f8f
LMI
13645 * subr.el (match-string): Mention that the current buffer should
13646 be the same as the search was done in (bug#9282).
13647
b322f63a
LMI
13648 * facemenu.el: Disable the remove-* commands if the mark isn't
13649 active (bug#9162).
13650
3199b96f
CY
136512011-09-10 Chong Yidong <cyd@stupidchicken.com>
13652
13653 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13654 of display-buffer.
13655 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13656
13657 * replace.el (occur-mode-goto-occurrence)
13658 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13659 and display-buffer.
13660
13661 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13662 display-buffer.
13663
13664 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13665 special-display and same-window variables.
13666 (mail-other-window): Use switch-to-buffer-other-window.
13667 (mail-other-frame): USe switch-to-buffer-other-frame.
13668
393a301e
SM
13669 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13670 Use display-buffer-other-frame.
3199b96f
CY
13671 (gdb-display-gdb-buffer): Use pop-to-buffer.
13672
13673 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13674
13675 * progmodes/python.el: Don't set same-window-buffer-names.
13676
13677 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13678
13679 * window.el (display-buffer-alist): Add *Python*.
13680
8319e0bf
CY
136812011-09-10 Chong Yidong <cyd@stupidchicken.com>
13682
13683 * window.el (display-buffer-alist): Add entry for buffers
13684 previously handled same-window-*.
13685 (display-buffer-alist, display-buffer-default-action)
13686 (display-buffer-overriding-action): Mark as risky.
13687 (display-buffer-alist): Document action function changes.
13688 (display-buffer--same-window-action)
13689 (display-buffer--other-frame-action): New variables.
13690 (switch-to-buffer, display-buffer-other-frame): Use them.
13691 (display-buffer): Rename reuse-frame entry to reusable-frames.
13692 (display-buffer-reuse-selected-window): Function deleted.
13693 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13694 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13695 (display-buffer-special): New function.
13696 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13697 display-buffer-reuse-or-pop-window. Split off special-display
13698 part into display-buffer-special.
13699 (display-buffer-use-some-window): Don't perform any special
13700 pop-up-frames handling.
13701 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 13702 (display-buffer--maybe-same-window): Rename from
0d3ff375 13703 display-buffer-maybe-same-window.
8319e0bf 13704
919a69aa
CY
13705 * info.el: Don't set same-window-regexps.
13706 (info-setup): New function.
13707 (info-other-window, info): Call it.
13708
13709 * cus-edit.el: Don't set same-window-regexps.
13710 (customize-group): New argument.
13711 (customize-group-other-window): Use it.
13712 (customize-face, customize-face-other-window): Likewise.
13713 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13714
8319e0bf
CY
13715 * net/rlogin.el:
13716 * net/telnet.el:
13717 * progmodes/gud.el: Don't set same-window-regexps.
13718
13719 * cmuscheme.el:
13720 * ielm.el:
13721 * shell.el:
13722 * mail/sendmail.el:
13723 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13724
25173000
JL
137252011-09-10 Juri Linkov <juri@jurta.org>
13726
13727 * isearch.el (isearch-edit-string): Remove obsolete mention of
13728 `C-w' (`isearch-yank-word-or-char') from docstring.
13729 (isearch-query-replace): Fix typo in docstring (bug#9466).
13730
056e44ef
JL
137312011-09-10 Juri Linkov <juri@jurta.org>
13732
13733 * paren.el (show-paren-function): Don't show escaped parens.
13734 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13735
c3760c17
EZ
137362011-09-10 Eli Zaretskii <eliz@gnu.org>
13737
13738 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13739 (mm-default-file-encoding): Remove autoload forms, they are
13740 replaced with autoload cookies in mml.el and mm-encode.el.
13741 (mail-add-attachment): New command.
13742 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13743 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13744 the doc string.
13745 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13746
fece895e
RT
137472011-09-10 Reuben Thomas <rrt@sc3d.org>
13748
e69df516
SM
13749 * simple.el (count-words-region): Use buffer if there's no region
13750 (bug#9429).
fece895e 13751
5e68ce4a
JL
137522011-09-09 Juri Linkov <juri@jurta.org>
13753
13754 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13755 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13756 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13757
0a6b9622
AM
137582011-09-09 Alan Mackenzie <acm@muc.de>
13759
13760 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13761 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13762
14a29deb
EZ
137632011-09-09 Eli Zaretskii <eliz@gnu.org>
13764
13765 Fix for Savannah bug#9392.
13766 * simple.el (mail-encode-mml): New defvar.
13767
13768 * mail/rmail.el (mail-encode-mml): Add a defvar.
13769 (rmail-enable-mime-composing): Default to t.
13770 (rmail-forward): Use MIME method of forwarding only if both
13771 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13772 Set mail-encode-mml non-nil if the MIME method was used.
13773
13774 * mail/sendmail.el (mml-to-mime): Add autoload form.
13775 (mail-encode-mml): Add a defvar.
13776 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13777 to nil.
13778 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13779 message through mml-to-mime, and reset mail-encode-mml to nil.
13780
28c45130
GM
137812011-09-09 Glenn Morris <rgm@gnu.org>
13782
13783 * woman.el (woman-if-body): When processing an .el block,
13784 do not delete the next .el block as well. (Bug#9447)
69f4b618 13785 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 13786
9b1c252e
MR
137872011-09-08 Martin Rudalics <rudalics@gmx.at>
13788
13789 * window.el (window-deletable-p): Make sure window is live before
13790 invoking window-prev-buffers.
13791
567457e3
LL
137922011-09-08 Leo Liu <sdl.web@gmail.com>
13793
13794 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13795
97f05794
JL
137962011-09-08 Juri Linkov <juri@jurta.org>
13797
13798 * progmodes/compile.el (compilation-environment): Make it
13799 a defcustom (bug#8340).
13800
8b0874b5
MR
138012011-09-08 Martin Rudalics <rudalics@gmx.at>
13802
13803 * window.el (frame-auto-delete): Rename to window-auto-delete.
13804 Make it control auto-deletion of windows and/or frames.
13805 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 13806 for deleting window/frame. (Bug#9419)
8b0874b5
MR
13807 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13808 Rewrite handling of case when window/frame can be deleted.
13809 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 13810 argument t. (Bug#9456)
8b0874b5 13811
4feb6e73
CY
138122011-09-07 Chong Yidong <cyd@stupidchicken.com>
13813
13814 * help-mode.el (help-mode): Restore autoload.
13815
91ab9c13
JL
138162011-09-07 Juri Linkov <juri@jurta.org>
13817
13818 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13819 `compilation-environment'. Set buffer-local
13820 `compilation-environment' to `thisenv' later after (funcall mode).
13821 (Bug#8340)
13822
13823 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13824 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13825 instead of replacing its value. (Bug#8340)
13826
0527e251
JL
138272011-09-07 Juri Linkov <juri@jurta.org>
13828
13829 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13830 based on text properties put by `grep-filter' instead of matching
13831 escape sequences.
13832 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13833 to the value of `grep-error-screen-columns' (bug#9438).
13834
249f792c
JL
138352011-09-07 Juri Linkov <juri@jurta.org>
13836
13837 * simple.el (next-error-highlight, next-error-highlight-no-select):
13838 Doc fix (bug#9432).
13839
ff7271b9
OT
138402011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13841
13842 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13843 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13844
183fc730
LL
138452011-09-07 Leo Liu <sdl.web@gmail.com>
13846
13847 * net/rcirc.el (rcirc-mode): Conditionally initialize
13848 rcirc-input-ring.
13849
77694924
SM
138502011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13851
13852 * emacs-lisp/find-func.el (find-function-C-source): Only set
13853 find-function-C-source-directory after checking that we found a source
13854 file there (bug#9440).
13855
d809b8eb
AM
138562011-09-06 Alan Mackenzie <acm@muc.de>
13857
13858 * isearch.el (isearch-other-meta-char): Wherever a key list is
13859 unread, "unread" the prefix arg, too. This fixes bug #8901.
13860
453de99f
OG
138612011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13862
13863 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13864
90439906
JL
138652011-09-05 Juri Linkov <juri@jurta.org>
13866
13867 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13868
f62bd846
JL
138692011-09-05 Juri Linkov <juri@jurta.org>
13870
13871 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13872 keeping point where processing of grep matches begins, and
13873 continue to delete remaining escape sequences from the same point.
13874 (grep-filter): Make leading zero optional in "0?1;31m" because
13875 git-grep emits "\033[1;31m" escape sequences unlike expected
13876 "\033[01;31m" as GNU Grep does (bug#9408).
13877 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13878
045820ec
JL
138792011-09-05 Juri Linkov <juri@jurta.org>
13880
13881 * subr.el (y-or-n-p): Capitalize "yes".
13882
f5e29b9b
MA
138832011-09-04 Michael Albinus <michael.albinus@gmx.de>
13884
13885 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13886 `tramp-cache-unload-hook' where appropriate.
13887 (tramp-methods): Rename `tramp-remote-sh' to
13888 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13889 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13890
13891 * net/tramp-sh.el (top): Don't require 'shell.
13892 (tramp-methods): Add `tramp-remote-shell' and
13893 `tramp-remote-shell-args' entries.
13894 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13895 (tramp-sh-handle-shell-command): Remove.
13896 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13897 Use `tramp-remote-shell'.
13898
2784c434
CY
138992011-09-03 Chong Yidong <cyd@stupidchicken.com>
13900
393a301e 13901 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
13902 (sendmail-query-once): Save directly to send-mail-function.
13903 Update message-send-mail-function too.
13904
13905 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13906
464cdf56
CS
139072011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13908
13909 * progmodes/python.el (python-mode-map): Use correct function to
13910 start python interpreter from menu-bar (as reported by Geert
13911 Kloosterman).
13912 (inferior-python-mode-map): Fix typo.
393a301e 13913 (python-shell-map): Remove.
464cdf56 13914
d37e5c87
DD
139152011-09-03 Deniz Dogan <deniz@dogan.se>
13916
13917 * net/rcirc.el (rcirc-print): Simplify code for
13918 rcirc-scroll-show-maximum-output. There is no need to walk
13919 through all windows to find the right one.
13920
f3ada0ee
CS
139212011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13922
13923 * help.el (help-return-method): Doc fix.
13924
1f3c99ca
MR
139252011-09-03 Martin Rudalics <rudalics@gmx.at>
13926
13927 * window.el (window-deletable-p): Don't return a non-nil value
13928 when there's a buffer that was shown in the window before.
13929 (Bug#9419)
393a301e
SM
13930 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13931 Set window's previous buffers to nil.
1f3c99ca 13932
a3cf097f
EZ
139332011-09-03 Eli Zaretskii <eliz@gnu.org>
13934
13935 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13936 newline before and after the tag line, so it doesn't interfere
13937 with determining the paragraph direction of bidirectional text.
13938
3d03de90
LL
139392011-09-03 Leo Liu <sdl.web@gmail.com>
13940
13941 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13942
c3313451
CY
139432011-09-02 Chong Yidong <cyd@stupidchicken.com>
13944
393a301e 13945 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
13946 (pop-to-buffer): Change interactive spec. Pass second argument
13947 directly to display-buffer.
13948 (display-buffer): Fix interactive spec. Use functionp to
13949 distinguish between a function and a list of functions.
13950
13951 * abbrev.el (edit-abbrevs):
13952 * arc-mode.el (archive-extract):
13953 * autoinsert.el (auto-insert):
13954 * bookmark.el (bookmark-bmenu-list):
13955 * files.el (find-file):
13956 * view.el (view-buffer):
13957 * progmodes/compile.el (compilation-goto-locus):
13958 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13959
89894cd8
CY
139602011-09-02 Chong Yidong <cyd@stupidchicken.com>
13961
13962 * window.el (display-buffer-alist): Doc fix.
13963 (display-buffer): Add docstring. Don't treat
13964 display-buffer-default specially.
13965 (display-buffer-reuse-selected-window)
13966 (display-buffer-same-window, display-buffer-maybe-same-window)
13967 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13968 (display-buffer-pop-up-window)
13969 (display-buffer-reuse-or-pop-window)
13970 (display-buffer-use-some-window): New functions.
13971 (display-buffer-default-action): Use them.
393a301e 13972 (display-buffer-default): Delete.
89894cd8
CY
13973 (pop-to-buffer-1): Fix choice of actions.
13974
ae0bc9fb
SM
139752011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13976
13977 * minibuffer.el (completion--insert-strings): Don't get confused by
13978 completion entries that end with an LF char.
13979
e9d90883
EZ
139802011-09-01 Eli Zaretskii <eliz@gnu.org>
13981
13982 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13983
437014c8
CY
139842011-09-01 Chong Yidong <cyd@stupidchicken.com>
13985
13986 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
13987 (display-buffer-same-window, display-buffer-other-window):
13988 New functions.
437014c8
CY
13989 (pop-to-buffer-1): New function. Use the above.
13990 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 13991 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
13992
13993 * view.el (view-buffer-other-window, view-buffer-other-frame):
13994 Just use pop-to-buffer.
13995
a5e063d5
TV
139962011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13997
13998 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
13999
793d32bb
WH
140002011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14001
14002 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14003
d65e4c15
RS
140042011-08-31 Richard Stallman <rms@gnu.org>
14005
14006 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14007 of the separation of rmail-view-buffer from rmail-buffer.
14008 If you say no to "replace original", the decrypt is in the
14009 view buffer. If you say yes, the decrypt goes into the
14010 rmail buffer also.
14011
f818cd2a
MR
140122011-08-31 Martin Rudalics <rudalics@gmx.at>
14013
14014 * window.el (display-buffer-window): Rewrite doc-string.
14015 (display-buffer-record-window): New function.
14016 (display-buffer-macro-specifiers)
14017 (display-buffer-even-window-sizes, display-buffer-set-height)
14018 (display-buffer-set-width, display-buffer-in-window)
14019 (display-buffer-reuse-window, display-buffer-split-specifiers)
14020 (display-buffer-side-specifiers, display-buffer-split-window-1)
14021 (display-buffer-split-window, display-buffer-split-atom-window)
14022 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14023 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14024 (display-buffer-other-window-means-other-frame)
14025 (display-buffer-normalize-special)
14026 (display-buffer-normalize-default)
14027 (display-buffer-normalize-argument)
14028 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14029 (display-buffer-normalize-specifiers, display-buffer-frame)
14030 (display-buffer-same-window, display-buffer-same-frame)
14031 (display-buffer-other-window)
14032 (display-buffer-same-frame-other-window)
14033 (display-buffer-other-frame, pop-to-buffer-same-window)
14034 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14035 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14036 (switch-to-buffer-same-frame)
14037 (switch-to-buffer-other-window-same-frame)
14038 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14039 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14040 (display-buffer-alist-set): Remove.
14041 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
14042 (special-display-regexps, special-display-function):
14043 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
14044 parameter.
14045 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14046 (special-display-frame-alist, special-display-popup-frame)
14047 (same-window-buffer-names, same-window-regexps, same-window-p)
14048 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14049 (split-window-preferred-function, split-height-threshold)
14050 (split-width-threshold, window-splittable-p)
14051 (split-window-sensibly, window--try-to-split-window)
14052 (window--frame-usable-p, even-window-heights)
14053 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
14054 (window--display-buffer-2, display-buffer-other-frame):
14055 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
14056 (display-buffer-default, display-buffer-assq-regexp): New functions.
14057 (display-buffer-alist): Rewrite doc-string.
14058 (display-buffer-default-action)
14059 (display-buffer-overriding-action): New variables.
14060 (display-buffer, switch-to-buffer): Rewrite.
14061 (pop-to-buffer): Restore Emacs 23 behavior but use
14062 window-normalize-buffer-to-display.
14063 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14064 Restore Emacs 23 behavior but use
14065 window-normalize-buffer-to-switch-to.
14066 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
14067 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14068 Rewrite using Emacs 23 options.
f818cd2a 14069
5bc3b51d
MA
140702011-08-31 Michael Albinus <michael.albinus@gmx.de>
14071
14072 * net/tramp.el (tramp-root-regexp): Remove.
14073 (tramp-completion-file-name-regexp-unified)
14074 (tramp-completion-file-name-regexp-separate)
14075 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 14076 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
14077 (tramp-drop-volume-letter): Simplify definition.
14078 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 14079
b1a4f8e1
SM
140802011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14081
14082 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14083 (bug#9356).
14084
5664fa7b
RT
140852011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14086
b1a4f8e1 14087 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 14088
9a45d6c3
JL
140892011-08-29 Juri Linkov <juri@jurta.org>
14090
14091 * isearch.el (isearch-done): Don't display message "Mark saved"
14092 when arg `edit' is non-nil to prevent its flicker in the echo area.
14093
fb87e0fb
CY
140942011-08-28 Chong Yidong <cyd@stupidchicken.com>
14095
14096 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14097 obsolete packages for deletion.
14098
09ac1c2a
CS
140992011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14100
14101 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 14102 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
14103 view-mode from help-mode.
14104 (help-xref-override-view-map): Remove.
14105 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14106 view-mode is not used anymore.
14107
7a1ff57f
CY
141082011-08-28 Chong Yidong <cyd@stupidchicken.com>
14109
14110 * server.el (server-port): Doc fix.
14111
b9696605
CY
14112 * cus-theme.el (custom-theme-choose-mode): Inherit from
14113 special-mode (Bug#9124).
14114 (custom-theme-choose-mode-map): Add special-mode to parent.
14115
ef8cdf8c
AM
141162011-08-28 Alan Mackenzie <acm@muc.de>
14117
14118 * progmodes/cc-fonts.el
14119 (c-make-font-lock-BO-decl-search-function): New function.
14120 (c-basic-matchers-after - "Fontify the clauses after various
14121 keywords"): Extract the three keyword lists for the 3 erroneous
14122 constructs from the list of four, and use the new function above
14123 in place of an old one.
14124
27de4e20
DD
141252011-08-28 Deniz Dogan <deniz@dogan.se>
14126
14127 * net/rcirc.el (rcirc-insert-prev-input)
14128 (rcirc-insert-next-input): Remove unused argument.
14129
356a3681
SM
141302011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14131
14132 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14133
3fc9b218
AM
141342011-08-27 Alan Mackenzie <acm@muc.de>
14135
14136 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14137 handle function pointer parameters properly.
14138
538a061c
MR
141392011-08-27 Martin Rudalics <rudalics@gmx.at>
14140
14141 * window.el (display-buffer-reuse-window): Fix case where
14142 selected window was reused with non-nil OTHER-WINDOW argument.
14143 (Bug#9381)
14144
35b1c40c
DD
141452011-08-27 Deniz Dogan <deniz@dogan.se>
14146
14147 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14148 oftc's NickServ messages.
14149
2f6a3e79
GM
141502011-08-27 Glenn Morris <rgm@gnu.org>
14151
14152 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14153
7254299e
CY
141542011-08-26 Chong Yidong <cyd@stupidchicken.com>
14155
14156 * emacs-lisp/package.el (package-install): Call package-initialize
14157 if called interactively.
14158
f8ccf167
LL
141592011-08-26 Leo Liu <sdl.web@gmail.com>
14160
14161 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14162
3e8cd5ce
JL
141632011-08-25 Juri Linkov <juri@jurta.org>
14164
14165 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14166 `search-whitespace-regexp' (bug#9364).
14167
93eb7113
JL
141682011-08-25 Juri Linkov <juri@jurta.org>
14169
14170 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14171 `regexp-search-ring' to their global values to protect from
14172 updating by `read-from-minibuffer' (bug#9185).
14173
f65d1611
JL
141742011-08-25 Juri Linkov <juri@jurta.org>
14175
14176 * textmodes/ispell.el (ispell-command-loop): Add newline
14177 at the end of the "Use option `i'..." line.
14178
f1cf7a31
JL
141792011-08-25 Juri Linkov <juri@jurta.org>
14180
14181 * battery.el (display-battery-mode): If `battery-status-function'
14182 or `battery-mode-line-format' is nil, display the message and set
14183 `display-battery-mode' to nil (bug#9363).
14184
0c95fcf7
EZ
141852011-08-25 Eli Zaretskii <eliz@gnu.org>
14186
14187 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14188 bidi-string-mark-left-to-right; they are unnecessary now.
14189
a2ebe600
DD
141902011-08-25 Deniz Dogan <deniz@dogan.se>
14191
14192 * net/quickurl.el: Documentation typo fixes.
14193
e4ed06f1
CY
141942011-08-25 Chong Yidong <cyd@stupidchicken.com>
14195
14196 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14197
e5f1c99e
GM
141982011-08-25 Glenn Morris <rgm@gnu.org>
14199
b2948976
GM
14200 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14201
e5f1c99e
GM
14202 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14203 (smtpmail-via-smtp): Handle nil response from smtp.
14204
f22f4808
JL
142052011-08-24 Juri Linkov <juri@jurta.org>
14206
14207 * proced.el (proced-marked): Inherit from `error' instead of
14208 `font-lock-warning-face'.
14209
14210 * ibuffer.el (ibuffer-marked-face): Change default face from
14211 `font-lock-warning-face' to `warning'.
14212 (ibuffer-deletion-face): Change default face from
14213 `font-lock-type-face' to `error'.
14214
14215 * battery.el (battery-update): Use the face `error' instead of
14216 `font-lock-warning-face' (bug#6117).
14217
6a93965e
JL
142182011-08-24 Juri Linkov <juri@jurta.org>
14219
14220 * faces.el (success): Change face color from "Green3" to
14221 "ForestGreen" on light background (bug#9353).
14222
1ed43b09
CY
142232011-08-24 Chong Yidong <cyd@stupidchicken.com>
14224
5664fa7b
RT
14225 * window.el (quit-window): Rename from quit-restore-window.
14226 Use same arglist as old quit-window.
1ed43b09
CY
14227 (frame-auto-delete): Doc fix.
14228
14229 * view.el (view-mode-exit): Use quit-window.
14230
11dcdbb2
JL
142312011-08-24 Juri Linkov <juri@jurta.org>
14232
14233 * isearch.el (isearch-ring-adjust1): Start visiting previous
14234 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14235 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14236 for empty search string (when the last search string is reused
14237 automatically) to adjust the isearch ring to the last element and
14238 prepare the correct index for further M-p commands (bug#9185).
14239
de62b4df
KH
142402011-08-24 Kenichi Handa <handa@m17n.org>
14241
14242 * international/ucs-normalize.el: If decomposition property of
14243 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14244 nil.
14245 (nfd, nfkd): Likewise.
14246
963b492b
SM
142472011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14248
14249 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14250 from process filters aren't reliably transmitted to the surrounding
14251 accept-process-output.
14252 (mpc-proc-check): New function.
14253 (mpc-proc-sync): Use it (bug#8293)
14254
93b6b5e1
SM
142552011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14256
14257 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14258 Add compatibility functions (bug#9313).
14259
bca633fb
EZ
142602011-08-23 Eli Zaretskii <eliz@gnu.org>
14261
b177498a
EZ
14262 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14263
6df6ae42 14264 * international/uni-bidi.el: Regenerate.
bca633fb 14265
0902a04e
KH
142662011-08-23 Kenichi Handa <handa@m17n.org>
14267
14268 * international/charprop.el:
14269 * international/uni-bidi.el:
14270 * international/uni-category.el:
14271 * international/uni-combining.el:
14272 * international/uni-comment.el:
14273 * international/uni-decimal.el:
14274 * international/uni-decomposition.el:
14275 * international/uni-digit.el:
14276 * international/uni-lowercase.el:
14277 * international/uni-mirrored.el:
14278 * international/uni-name.el:
14279 * international/uni-numeric.el:
14280 * international/uni-old-name.el:
14281 * international/uni-titlecase.el:
14282 * international/uni-uppercase.el: Regenerate.
14283
3bbf23bc
MR
142842011-08-23 Martin Rudalics <rudalics@gmx.at>
14285
14286 * help.el (help-window-setup): Fix message displayed when other
14287 window is reused. (Bug#9341)
14288
b3fd59bd
SM
142892011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14290
1802e444
SM
14291 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14292 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14293
b3fd59bd
SM
14294 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14295 Mark obsolete.
14296 * shell.el (shell-parse-pcomplete-arguments): New function.
14297 (shell-completion-vars): Use it instead (bug#9160).
14298
4eb61348
SM
142992011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14300
867cab74
SM
14301 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14302 strings and comments (bug#9333).
14303
4eb61348
SM
14304 * emacs-lisp/debug.el (debug-arglist): New function.
14305 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14306 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14307
262a1439
JL
143082011-08-22 Juri Linkov <juri@jurta.org>
14309
56ee679c
JL
14310 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14311 Revert regexp that highlights output switches to its old
14312 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14313
262a1439
JL
14314 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14315 to check for empty output (bug#9226).
14316
f13f86fb
CY
143172011-08-22 Chong Yidong <cyd@stupidchicken.com>
14318
14319 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14320 symbol-constituent as the default, as that stops font-lock from
14321 working properly (Bug#8843).
14322
c65c9622
LMI
143232011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14324
14325 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14326 `coding-system-for-*' around the process open call to avoid
14327 auth-source side effects.
e7f2c178 14328 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
14329 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14330 probe hangs.
c65c9622 14331
23a8a5ab
CY
143322011-08-21 Chong Yidong <cyd@stupidchicken.com>
14333
ff98b2dd
CY
14334 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14335
23a8a5ab
CY
14336 * emacs-lisp/find-func.el (find-function-noselect): New arg
14337 lisp-only.
14338
14339 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14340 signal an error for built-in functions (Bug#6664).
14341
f5e3c598
LMI
143422011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14343
14344 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14345 (smtpmail-try-auth-methods): Use it.
14346
a3f2468a
CY
143472011-08-21 Chong Yidong <cyd@stupidchicken.com>
14348
2c34e8da
CY
14349 * font-lock.el (font-lock-fontify-region)
14350 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14351 (font-lock-default-unfontify-buffer)
14352 (font-lock-default-fontify-region)
14353 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14354
b3fd59bd
SM
14355 * progmodes/compile.el (compilation-error-properties):
14356 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
14357 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14358 `ant' regexp.
ee31aabc 14359
a3f2468a
CY
14360 * net/browse-url.el (browse-url-firefox): Don't call
14361 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14362
8e999f70
GM
143632011-08-20 Glenn Morris <rgm@gnu.org>
14364
c21a496a
GM
14365 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14366
59ee0542
GM
14367 * tutorial.el (tutorial--default-keys): Update some default bindings.
14368
8e999f70
GM
14369 * files.el (hack-local-variables): Fully ignore case for "mode:".
14370
e3715033
AM
143712011-08-20 Alan Mackenzie <acm@muc.de>
14372
14373 Resolve invalid use of a regexp in regexp-opt.
14374
4d61f28d
JB
14375 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14376 detection for a java annotation.
e3715033 14377
4d61f28d 14378 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
14379 detection for a java annotation.
14380
4d61f28d
JB
14381 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14382 handling for java.
e3715033
AM
14383 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14384
04ed2e9c
CY
143852011-08-20 Chong Yidong <cyd@stupidchicken.com>
14386
14387 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14388 (Bug#9274).
14389
826cee64
AM
143902011-08-20 Alan Mackenzie <acm@muc.de>
14391
58179cce 14392 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
14393 such a construct. Mainly for when jit-lock etc. starts a chunk
14394 here.
14395
58179cce 14396 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 14397 variable.
58179cce 14398 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
14399 c-make-font-lock-search-function.
14400 (c-make-font-lock-search-function): Use the above function.
14401 (c-make-font-lock-context-search-function): New function.
14402 (c-cpp-matchers): Enhance the preprocessor expression case with
14403 the above function
14404 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14405 which takes an expression.
14406
14407 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14408
13009bd8
MR
144092011-08-20 Martin Rudalics <rudalics@gmx.at>
14410
14411 * window.el (display-buffer-reuse-window)
14412 (display-buffer-pop-up-window): Don't reuse or split a side
14413 window.
14414
9234ff7f
GM
144152011-08-19 Glenn Morris <rgm@gnu.org>
14416
14417 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 14418 Downcase "Mode:". (Bug#9331)
9234ff7f 14419
f635daa1
CY
144202011-08-18 Chong Yidong <cyd@stupidchicken.com>
14421
14422 * international/characters.el: Add L and R categories.
14423
14424 * subr.el (bidi-string-mark-left-to-right): Rename from
14425 string-mark-left-to-right. Use category search.
14426
14427 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14428
bc987f8b
JL
144292011-08-18 Juri Linkov <juri@jurta.org>
14430
14431 * faces.el (error, warning, success): New faces with definitions
14432 copied from old default values of `font-lock-warning-face',
14433 `compilation-warning', `compilation-info' (bug#6117).
14434
14435 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14436
14437 * progmodes/compile.el (compilation-error): Inherit from `error'.
14438 (compilation-warning): Inherit from `warning'.
14439 (compilation-info): Inherit from `success'.
14440
14441 * dired.el (dired-marked): Inherit from `warning'.
14442 (dired-flagged): Inherit from `error'.
14443
57173b96
LMI
144442011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14445
3e79eb87
LMI
14446 * mail/smtpmail.el (auth-source): Require to avoid problems with
14447 binding variables (bug#9298). Also clean up some unused
14448 autoloads.
14449
b3fd59bd
SM
14450 * net/network-stream.el (network-stream-open-starttls):
14451 Support using starttls.el without using gnutls-cli.
57173b96 14452
02b404de
JL
144532011-08-17 Juri Linkov <juri@jurta.org>
14454
14455 * progmodes/grep.el (rgrep): Handle the case when
14456 `grep-find-command' is a cons cell (bug#9278).
14457
8c9177f2
MR
144582011-08-17 Martin Rudalics <rudalics@gmx.at>
14459
14460 * window.el (display-buffer-pop-up-frame): Run frame creation
14461 function with BUFFER current (as special-display-popup-frame
14462 does). Reported by Drew Adams.
14463
3644a0ab
DU
144642011-08-17 Daiki Ueno <ueno@unixuser.org>
14465
14466 * epa-mail.el: Simplify GnuPG group expansion using
14467 epg-expand-group.
14468 (epa-mail-group-alist, epa-mail-group-modtime)
14469 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14470 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14471 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14472 Remove.
14473
5e617bc2 144742011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
14475
14476 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14477
9c4aeabf
AM
144782011-08-16 Alan Mackenzie <acm@muc.de>
14479
14480 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14481 Correct, to avoid the inside of macros.
14482
3a99bf64
RS
144832011-08-16 Richard Stallman <rms@gnu.org>
14484
04963aa8
RS
14485 * epa-mail.el: Handle GnuPG group definitions.
14486 (epa-mail-group-alist, epa-mail-group-modtime)
14487 (epa-mail-gnupg-conf-file): New variables.
14488 (epa-mail-parse-groups, epa-mail-sync-groups)
14489 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14490 (epa-mail-expand-recipients): New functions.
14491 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14492
177549d0
RS
14493 * mail/rmail.el (rmail-epa-decrypt): New command.
14494
fe38beef
RS
14495 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14496 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
14497 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14498 (epa-decrypt-armor-in-region): Make error message clearer.
14499
934eacb9
SM
145002011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14501
14502 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14503 and "a2b" to "ab" for `prefix'.
14504
d024fb4e
CY
145052011-08-14 Chong Yidong <cyd@stupidchicken.com>
14506
14507 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14508 filter groups.
de148fee
CY
14509 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14510 Fourquet (Bug#8804).
d024fb4e 14511
62f1ca49
JB
145122011-08-12 Juanma Barranquero <lekktu@gmail.com>
14513
14514 * startup.el (argi): Declare as global variable (bug#9275).
14515
9ccaaa4b
CY
145162011-08-12 Chong Yidong <cyd@stupidchicken.com>
14517
14518 * subr.el (string-mark-left-to-right): Search the entire string
14519 for RTL script, not just the terminating character. Doc fix.
14520
a3dae87a
SM
145212011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14522
6cd18349
SM
14523 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14524 New function.
14525 (js--regexp-literal, js-syntax-propertize-function): Remove.
14526 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14527 (js-mode-map): Don't rebind electric keys.
14528 (js-insert-and-indent): Remove.
14529 (js-mode): Setup electric-layout and electric-indent instead.
14530
a3dae87a
SM
14531 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14532
9d5cb631
DU
145332011-08-12 Daiki Ueno <ueno@unixuser.org>
14534
14535 * epa.el (epa-progress-callback-function): Fix the logic of
14536 displaying progress.
14537 * epa-file.el (epa-file-insert-file-contents): Make progress
14538 display more user-friendly.
14539 (epa-file-write-region): Ditto.
14540
3e26a4a2
CY
145412011-08-10 Chong Yidong <cyd@stupidchicken.com>
14542
14543 * subr.el (string-mark-left-to-right): New function.
14544
14545 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14546 Use string-mark-left-to-right.
14547 (list-buffers-noselect): Caller changed.
14548
a3dae87a
SM
14549 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14550 Use string-mark-left-to-right.
3e26a4a2
CY
14551 (tabulated-list-print): Recenter after moving point.
14552
ac8cf6e6
JL
145532011-08-10 Juri Linkov <juri@jurta.org>
14554
14555 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14556 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14557 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14558
8d96c9a4
CY
145592011-08-09 Chong Yidong <cyd@stupidchicken.com>
14560
14561 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14562 (Bug#7554).
14563
7be1c708 145642011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
14565
14566 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14567 character. (Bug#6594)
14568
37e11a63
CY
145692011-08-08 Chong Yidong <cyd@stupidchicken.com>
14570
839dde57
CY
14571 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14572 (image-dired--with-db-file): New macro.
14573 (image-dired-write-tags, image-dired-remove-tag)
14574 (image-dired-create-gallery-lists, image-dired-write-comments)
14575 (image-dired-get-comment, image-dired-mark-tagged-files)
14576 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14577 (image-dired-gallery-generate): Use insert-file-contents.
14578
37e11a63
CY
14579 * time.el (display-time-world-list, display-time-world-display):
14580 * time-stamp.el (time-stamp-string):
14581 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14582 set-time-zone-rule (Bug#7337).
14583
0b4946c4
DU
145842011-08-08 Daiki Ueno <ueno@unixuser.org>
14585
14586 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14587 (epg-error-to-string, epg-errors-to-string): New function.
14588 (epg-wait-for-completion): Reverse errors list.
14589 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14590 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14591 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14592 (epg-sign-keys, epg-generate-key-from-file)
14593 (epg-generate-key-from-string): Format errors by using
14594 epg-errors-to-string (bug#9255).
14595 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14596
75bfc667
JL
145972011-08-07 Juri Linkov <juri@jurta.org>
14598
14599 * faces.el (list-faces-display): Remove extra angle bracket
14600 from `help-mode-map'.
14601
14602 * info.el (Info-history-toc-nodes): Doc fix.
14603
14604 * longlines.el (longlines-mode): Doc fix.
14605
673e08bb
SM
146062011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14607
4640dd88
SM
14608 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14609 of statements and in a few more cases (bug#9183).
14610
673e08bb
SM
14611 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14612 New functions.
14613 (cl-transform-lambda): Use them (bug#9239).
14614
89b3f019
MR
146152011-08-05 Martin Rudalics <rudalics@gmx.at>
14616
14617 * window.el (display-buffer-same-window)
14618 (display-buffer-same-frame, display-buffer-other-window)
14619 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14620 (pop-to-buffer-other-window)
14621 (pop-to-buffer-same-frame-other-window)
14622 (pop-to-buffer-other-frame): Make them defuns.
14623 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14624
640c8776
SM
146252011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14626
14627 * subr.el (make-composed-keymap): Move from C. Change calling
14628 convention, and improve docstring to bring attention to a subtle point.
14629 * minibuffer.el (completing-read-default): Adjust accordingly.
14630
63648a95
MA
146312011-08-03 Michael Albinus <michael.albinus@gmx.de>
14632
14633 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14634 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14635
14636 * net/trampver.el: Update release number.
14637
b796c9b7
SM
146382011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14639
14640 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14641 "in" (bug#9190).
14642
2239d7d5
LMI
146432011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14644
e07dd7c3
LMI
14645 * mail/sendmail.el (sendmail-query-once): Restore the current
14646 buffer after querying (bug#9074).
14647
0e6a2bd7
LMI
14648 * dired.el (dired-flagged): Use different faces for marked and
14649 flagged files (bug#6117).
14650
ce887515
LMI
14651 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14652 (bug#4433).
14653
92f2affc
LMI
14654 * ido.el (ido-mode): Switch off the message if called
14655 non-interactively.
14656
57d5aff0
LMI
14657 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14658 before 587, since it appears that that's more likely to work for
14659 more people.
14660
98cd6c18 14661 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 14662 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
14663 exist.
14664
b96dec83
LMI
14665 * info.el: Remove the `Info-beginning-of-buffer' function
14666 (bug#8325).
14667
b796c9b7
SM
14668 * net/network-stream.el (network-stream-open-starttls):
14669 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 14670
d90e2ea0
MR
146712011-08-01 Martin Rudalics <rudalics@gmx.at>
14672
14673 * window.el (display-buffer-in-window): Don't set dedicated status
14674 of window here (Bug#9215).
14675 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14676 (display-buffer-pop-up-side-window)
b796c9b7 14677 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 14678
cca09170
SM
146792011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14680
14681 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14682 before binding generated-autoload-file.
14683
027b979c
DD
146842011-08-01 Deniz Dogan <deniz@dogan.se>
14685
14686 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14687
3c7ee4f3
MA
146882011-07-30 Michael Albinus <michael.albinus@gmx.de>
14689
14690 Sync with Tramp 2.2.2.
14691
14692 * net/trampver.el: Update release number.
14693
2cc8e51a
JL
146942011-07-30 Juri Linkov <juri@jurta.org>
14695
14696 * dired-aux.el (dired-touch-initial): Remove function.
14697 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14698 current time, and `default' to the last modification time of the
14699 current marked file (bug#6887).
14700
a514d856
JM
147012011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14702
14703 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 14704 numeric argument to read-number (bug#9163).
a514d856 14705
8a7eddd7
MA
147062011-07-27 Michael Albinus <michael.albinus@gmx.de>
14707
14708 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14709 connection process, it could be nil.
14710
1ddd96f5
LL
147112011-07-27 Leo Liu <sdl.web@gmail.com>
14712
14713 Simplify url handling in rcirc-mode.
14714
14715 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14716 (rcirc-browse-url-at-mouse): Remove.
14717 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14718
b248a85d
AM
147192011-07-26 Alan Mackenzie <acm@muc.de>
14720
14721 Fontify bitfield declarations properly.
14722
14723 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14724 (c-symbol-chars): Now exported as a lang variable.
14725 (c-not-primitive-type-keywords): New lang variable.
14726
14727 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14728 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 14729 parsed as a bitfield declaration.
b248a85d 14730
b796c9b7
SM
14731 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14732 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
14733 (c-punctuation-in): New function.
14734 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14735 declarations properly.
14736
68575ab0
UJ
147372011-07-26 Ulf Jasper <ulf.jasper@web.de>
14738
14739 * calendar/icalendar.el (icalendar--all-events): Take care of
14740 multiple vcalendars in a single file.
b796c9b7 14741 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 14742
0f0a88b9
DD
147432011-07-25 Deniz Dogan <deniz@dogan.se>
14744
14745 * image.el (insert-image): Clarifying docstring.
14746
0b3f36df
MA
147472011-07-24 Michael Albinus <michael.albinus@gmx.de>
14748
14749 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14750 `tramp-send-command-and-check' if there is no error.
14751 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14752
a9901f61
AM
147532011-07-22 Alan Mackenzie <acm@muc.de>
14754
14755 Prevent cc-langs.elc being loaded at run time.
14756
14757 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14758 cc-langs.
14759
4d61f28d 14760 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
14761 "(require 'cc-langs)". Quote a form so it will evaluate at
14762 (cc-mode's) compilation time.
14763
11d074b2
MA
147642011-07-22 Michael Albinus <michael.albinus@gmx.de>
14765
14766 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14767 loading. (Bug#9114)
14768
938b94c8
MR
147692011-07-21 Martin Rudalics <rudalics@gmx.at>
14770
14771 * window.el (display-buffer-pop-up-window)
14772 (display-buffer-pop-up-side-window)
14773 (display-buffer-in-side-window): Call display-buffer-set-height
14774 and display-buffer-set-width after setting the new window's
b796c9b7 14775 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 14776
bfa4f190
SS
147772011-07-20 Sam Steingold <sds@gnu.org>
14778
14779 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14780 (etags-tags-included-tables): Call `convert-standard-filename' on
14781 the file names contained in TAGS so that windows Emacs can handle
14782 TAGS files created by cygwin ctags.
14783
8ca42262
LMI
147842011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14785
14786 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14787 which apparently didn't work.
14788
5db2afd2 147892011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 14790
5db2afd2
RW
14791 * proced.el (proced-send-signal): For *Marked Processes* buffer
14792 put point at beginning of buffer.
14793
92e15d10
SB
147942011-07-19 Stephen Berman <stephen.berman@gmx.net>
14795
14796 * proced.el (proced-format): Make header lines align with the text
14797 (bug#1779).
14798
1bfd59e5
LMI
147992011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14800
14801 * view.el (view-buffer): Allow running in `special' modes if we're
14802 visiting a file (bug#8615).
14803
f5aae37c
MR
148042011-07-19 Martin Rudalics <rudalics@gmx.at>
14805
14806 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
14807 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14808 New functions.
f5aae37c
MR
14809 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14810 more accurately.
14811
bf2c1571
AM
148122011-07-18 Alan Mackenzie <acm@muc.de>
14813
14814 Fontify declarators properly when, e.g., a jit-lock chunk begins
14815 inside a declaration.
14816
14817 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14818
b796c9b7
SM
14819 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14820 New function.
bf2c1571
AM
14821 (c-complex-decl-matchers): Insert reference to
14822 c-font-lock-enclosing-decls.
14823
14824 * progmodes/cc-engine.el (c-backward-single-comment):
14825 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14826 to nil around calls to (forward-comment -1).
14827
4e190b80
LMI
148282011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14829
12dc863d
LMI
14830 * image.el (put-image): Doc typo fix.
14831
a762e966
LMI
14832 * progmodes/etags.el (tags-search): Doc typo fix.
14833
4e190b80
LMI
14834 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14835 password if we get errors 550 to 554.
14836
f019fb21
LMI
148372011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14838
b796c9b7 14839 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 14840
81746738
LMI
14841 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14842 indentation character (bug#6380).
14843
3ee3a1b5
LMI
14844 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14845
c82f64de
LMI
14846 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14847 to clarify what the problem is (bug#4291).
14848
f019fb21
LMI
14849 * simple.el (current-kill): Clarify what
14850 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
14851 (auto-fill-mode): Document `auto-fill-function' in relation to
14852 `auto-fill-mode' (bug#2470).
f019fb21 14853
0794775d
LM
148542011-07-16 Lawrence Mitchell <wence@gmx.li>
14855
14856 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14857 method if slot is read-only (bug#9035).
14858
be39b8cc
MR
148592011-07-16 Martin Rudalics <rudalics@gmx.at>
14860
b796c9b7 14861 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 14862 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
14863 selected before, see discussion of (Bug#8615), (Bug#6954).
14864 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 14865
6ccf7859
GM
148662011-07-15 Glenn Morris <rgm@gnu.org>
14867
14868 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 14869 Respect help-form.
6ccf7859 14870
87e86684
LM
148712011-07-09 Lawrence Mitchell <wence@gmx.li>
14872
14873 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14874 (gnutls-negotiate): Use it.
14875
d6066239
LMI
148762011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14877
b796c9b7
SM
14878 * net/gnutls.el (gnutls-negotiate):
14879 Upcase `gnutls-algorithm-priority'.
d6066239 14880
bd23ebc0
GM
148812011-07-15 Glenn Morris <rgm@gnu.org>
14882
c65bca65
GM
14883 * jka-compr.el (jka-compr-verbose): Move from here...
14884 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14885 Add missing :version tag.
14886 * info.el: No need to require jka-compr when compiling.
bd23ebc0 14887
478615cc
LMI
148882011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14889
7b41decb
LMI
14890 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14891 (gnutls-negotiate): Use it.
14892
dbc44fcd
LMI
14893 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14894
06789f97
LMI
14895 * info.el (Info-beginning-of-buffer): New command.
14896 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14897 announcing `b' as the key (bug#8325).
ab896c37 14898 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 14899
c39da690
LMI
14900 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14901
3aa5f34b
LMI
14902 * international/mule-cmds.el
14903 (describe-specified-language-support): Make the error message
14904 clearer (bug#8905).
14905
4bf0979f
LMI
14906 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14907
478615cc
LMI
14908 * isearch.el (isearch-barrier): Add a doc string, since it's
14909 mentioned in a function doc string (bug#8678).
14910
75c68aa1
MR
149112011-07-15 Martin Rudalics <rudalics@gmx.at>
14912
14913 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14914 buffer argument (Bug#9083) and self-identifying label argument.
14915
a7c33da2
GM
149162011-07-15 Glenn Morris <rgm@gnu.org>
14917
14918 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14919
2f5c6024
LMI
149202011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14921
14922 * man.el (Man-fontify-manpage): Fix message when formatting the
14923 man page (bug#7929).
14924
0bb23927 149252011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
14926
14927 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14928 argument LRM; if non-nil, append an invisible LRM character to the
14929 buffer name.
14930 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14931 last argument non-nil, when formatting buffer names.
0bb23927
EZ
14932 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14933 paragraph direction.
cce4b0a7 14934
621ef9ab
LMI
149352011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14936
d1583c48
LMI
14937 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14938 the man page name (bug#7929).
14939
6a57fb5f
LMI
14940 * image.el (put-image): Mention the `put-image' overlay property
14941 (bug#7834).
14942
d7956b14
LMI
14943 * scroll-bar.el (set-scroll-bar-mode): Mention that
14944 `scroll-bar-mode' lists the values (bug#7772).
14945
5b2d4a66
LMI
14946 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14947 command (bug#7729).
14948
7509a874
LMI
14949 * rect.el (apply-on-rectangle): Return the point after the last
14950 operation.
14951 (string-rectangle): Go to the point after the last operation
14952 (bug#7522).
14953
4fe74b19
LMI
14954 * printing.el (pr-toggle-region): Clarify the documentation
14955 slightly (bug#7493).
14956
b796c9b7
SM
14957 * time.el (display-time-update):
14958 Allow `display-time-mail-function' to return nil (bug#7158).
14959 Fix suggested by Detlev Zundel.
ab283561 14960
fc233c9d
LMI
14961 * vc/diff.el (diff): Clarify the order the file names are read
14962 (bug#7111).
14963
43f5740b
LMI
14964 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14965 the doc string (bug#7015).
14966
f2182a76
LMI
14967 * font-lock.el (font-lock-maximum-decoration): Mention what
14968 numeric levels mean (bug#6935).
14969
621ef9ab
LMI
14970 * startup.el (initial-buffer-choice): Don't mention the `none'
14971 selection, which is against policy.
14972
adc47434
MR
149732011-07-14 Martin Rudalics <rudalics@gmx.at>
14974
b796c9b7
SM
14975 * window.el (display-buffer-normalize-special):
14976 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 14977
7e5bfb8f
EZ
149782011-07-14 Eli Zaretskii <eliz@gnu.org>
14979
14980 * subr.el (version<, version<=, version=): Mention "-CVS" and
14981 "-12345" alpha version numbers.
14982
27fa387a
CY
149832011-07-14 Chong Yidong <cyd@stupidchicken.com>
14984
14985 * bindings.el: Add advertised binding for set-mark-command
14986 (Bug#5772).
14987
8bdfa064
CY
149882011-07-14 Chong Yidong <cyd@stupidchicken.com>
14989
14990 * bindings.el (mode-line-other-buffer):
14991 * bookmark.el (bookmark-bmenu-2-window):
14992 * bs.el (bs-cycle-next, bs-cycle-previous):
14993 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14994 switch-to-buffer.
14995
14996 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 14997 Delete.
8bdfa064 14998
5eba16a3
JB
149992011-07-14 Juanma Barranquero <lekktu@gmail.com>
15000
15001 * follow.el (follow-debug-message, follow-redisplay):
15002 * jka-cmpr-hook.el (with-auto-compression-mode):
15003 Fix typos in docstrings.
15004
15853710
LMI
150052011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15006
a28e4607
LMI
15007 * subr.el (with-silent-modifications): Clarify somewhat what the
15008 macro inhibits (bug#6525).
15009
15853710
LMI
15010 * simple.el (eval-expression): Note what it does if called
15011 interactively (bug#6495).
15012
bee0fcef
CY
150132011-07-13 Chong Yidong <cyd@stupidchicken.com>
15014
b796c9b7
SM
15015 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15016 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
15017
15018 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15019 Remove switch-to-buffer.
15020
58274504
LMI
150212011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15022
bd2fcc8d
LMI
15023 * files.el (make-directory): Clarify that an error will be raised
15024 if there's an error (bug#6397).
15025
0f04b32c
LMI
15026 * startup.el (initial-buffer-choice): Add `none' as a choice
15027 (bug#6234).
15028
465c5fc8
LMI
15029 * subr.el (add-hook): Clarify section about buffer-local hooks
15030 (bug#6218).
15031
58274504
LMI
15032 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15033
bead9a43
JB
150342011-07-13 Juanma Barranquero <lekktu@gmail.com>
15035
15036 * tabify.el (untabify): Preserve the current column so that point
15037 doesn't move (bug#6032).
15038
3af98a7b
LMI
150392011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15040
b796c9b7
SM
15041 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15042 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 15043
6240145a
GM
150442011-07-13 Glenn Morris <rgm@gnu.org>
15045
15046 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15047 (dired-insert-directory): Give a message the first time
15048 if ls is found not to support --dired.
15049
1d8c2ccc
LMI
150502011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15051
15052 * simple.el (toggle-truncate-lines): Clarify what is toggled
15053 (bug#5580). Text by Drew Adams.
15054
5fc4038e
CY
150552011-07-13 Chong Yidong <cyd@stupidchicken.com>
15056
15057 * simple.el (blink-matching-open): Make the error message from the
15058 last change less verbose.
15059
bf6012e5
DN
150602011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15061
15062 * font-lock.el (font-lock-comment-face): Use the high contrast
15063 "yellow" color for font-lock-comment-face on low color terminals
15064 using a dark background color (bug#4221).
15065
343c3b5a
LMI
150662011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15067
7e9505c5
LMI
15068 * dired.el (dired-insert-set-properties): Make the doc string
15069 reflect what it does now (bug#5325).
15070
c26fdcf5
LMI
15071 * simple.el (blink-matching-open): Say that we were unable to find
15072 the match within the limit, if we're limited (bug#5122).
15073
bb388cc5
LMI
15074 * international/mule-cmds.el (prefer-coding-system): Add an
15075 example (bug#4869).
15076
343c3b5a
LMI
15077 * progmodes/etags.el (tags-search): Document `file-list-form'
15078 (bug#4731).
15079
2a517d45
LM
150802011-07-13 Lawrence Mitchell <wence@gmx.li>
15081
15082 * net/browse-url.el (browse-url-default-browser)
15083 (browse-url-browser-function): Make the default browser choice a
15084 bit more logical (bug#4300). Also clean up the doc string.
15085
b6c78ef2
JB
150862011-07-13 Juanma Barranquero <lekktu@gmail.com>
15087
15088 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15089 binary endings (bug#4440).
15090
1c4dd947
LMI
150912011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15092
a2014063
LMI
15093 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15094 which can be pretty annoying (bug#8971).
15095
9c9c2d88
LMI
15096 * jka-compr.el (jka-compr-verbose): New variable, and use
15097 throughout (bug#8971).
15098
1c4dd947
LMI
15099 * info.el (Info-find-file): Fall back on the installation
15100 directory if we can't find the info node anywhere else.
15101
a1c9f41b
SO
151022011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15103
15104 * vc/vc.el (vc-revert-file):
15105 Don't set file time-stamp in the past. (Bug#5181)
15106
536f3d36
LMI
151072011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15108
7152b011
LMI
15109 * files.el (after-find-file): Give a better error message when
15110 trying to find a symlink that points to a file that doesn't exist
15111 (bug#4398).
15112
536f3d36
LMI
15113 * progmodes/cc-vars.el: Remove (probably) misleading comment
15114 (bug#4396).
15115
460c0fba
JB
151162011-07-12 Johan Bockgård <bojohan@gnu.org>
15117
15118 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15119
7a6bda45
CY
151202011-07-12 Chong Yidong <cyd@stupidchicken.com>
15121
15122 * mouse-sel.el: Hack restoring functionality, while keeping
15123 compatibility with 2010-07-03 changes to mouse selection.
15124 (mouse-sel-primary-overlay): New var.
15125 (mouse-sel-selection-alist): Use it.
15126 (mouse-sel-mode): Doc fix; remove points that are default features
15127 of mouse.el.
15128
c79598ef
JB
151292011-07-12 Johan Bockgård <bojohan@gnu.org>
15130
15131 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15132 Fix previous fix (bug#2490).
15133
ff8be6ef
RW
151342011-07-12 Roland Winkler <winkler@gnu.org>
15135
b796c9b7
SM
15136 * textmodes/bibtex.el (bibtex-initialize):
15137 Use pop-to-buffer-same-window.
ff8be6ef
RW
15138 (bibtex-search-entries): Fix interactive call.
15139
296ba3ee
LMI
151402011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15141
f5242a02 15142 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
15143 Fontise bytecomp Error lines more correctly (bug#2490).
15144 Fix suggested by Johan Bockgård.
f5242a02 15145
296ba3ee
LMI
15146 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15147
15148 * dired-x.el (dired-guess-default): Use `delete-dups'.
15149
f69fd0d2
CY
151502011-07-12 Chong Yidong <cyd@stupidchicken.com>
15151
15152 * dired.el (dired-mark-prompt):
15153 * dired-aux.el (dired-read-shell-command): Doc fix.
15154
eab5dc07
LMI
151552011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15156
b796c9b7
SM
15157 * mail/sendmail.el (sendmail-query-once):
15158 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
15159 emacs -Q.
15160
15161 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15162
eab5dc07
LMI
15163 * cus-edit.el (custom-file): Take an optional no-error variable.
15164 (customize-save-variable): Set the variable, and give a warning if
15165 running under "emacs -q".
15166
a1e65d42
JB
151672011-07-11 Juanma Barranquero <lekktu@gmail.com>
15168
15169 * loadhist.el (unload-feature-special-hooks):
15170 Add `auto-coding-functions', `fill-nobreak-predicate' and
15171 `find-directory-functions' (bug#5327).
15172
1d52da10
LMI
151732011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15174
be958f1d
LMI
15175 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15176
5bedb26c
LMI
15177 * cus-edit.el (custom-guess-name-alist): -alist variables should
15178 use the `alist' type (bug#3120). Suggested by Drew Adams.
15179
1d52da10
LMI
15180 * printing.el: Add documentation to all the `pr-toggle-' commands.
15181
cd394be1 151822011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
15183
15184 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15185 backends where it makes sense (bug#2623).
15186
dcc88d8a
LMI
151872011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15188
c3de9feb
LMI
15189 * dired-x.el (dired-guess-default): Remove duplicate shell command
15190 entries (bug#2028).
8a93078b 15191 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 15192 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 15193
dcc88d8a
LMI
15194 * subr.el (remove-duplicates): New conveniency function.
15195
505e3645
LMI
151962011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15197
15198 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15199 (bug#1526).
15200
152012011-07-10 Martin Rudalics <rudalics@gmx.at>
15202
15203 * window.el (display-buffer-normalize-default): Don't invert
15204 meaning of even-window-heights. Reported by Eli Zaretskii
15205 <eliz@gnu.org>.
15206
455e4fa1
BR
152072011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15208
15209 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15210
8e0bc3e9
CY
152112011-07-10 Chong Yidong <cyd@stupidchicken.com>
15212
15213 * window.el (display-buffer): Fix arguments to
15214 display-buffer-reuse-window in last change.
15215
fa7c3228
CY
15216 * faces.el (link): Use a less saturated blue on light backgrounds.
15217
15218 * startup.el (fancy-startup-text, fancy-about-text)
15219 (fancy-startup-tail): Use font-lock faces, for background safety.
15220
c0a7f300
BN
152212011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15222
b796c9b7
SM
15223 * emulation/viper-cmd.el (viper-change-state-to-vi):
15224 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 15225
4dc2a129
MR
152262011-07-09 Martin Rudalics <rudalics@gmx.at>
15227
15228 * window.el (display-buffer-default-specifiers): Remove.
15229 (display-buffer-macro-specifiers): Remove default specifiers.
15230 (display-buffer-alist): Default to nil.
b796c9b7 15231 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
15232 (display-buffer-pop-up-window): Allow splitting internal
15233 windows. Check whether a live window was created.
15234 (display-buffer-other-window-means-other-frame)
15235 (display-buffer-normalize-arguments): Rename to
15236 display-buffer-normalize-argument and rewrite. Set the
15237 other-window specifier.
15238 (display-buffer-normalize-special): New function.
15239 (display-buffer-normalize-options): Rename to
15240 display-buffer-normalize-default and rewrite.
15241 (display-buffer-normalize-options-inhibit): Remove.
15242 (display-buffer-normalize-specifiers): Rewrite.
15243 (display-buffer): Process other-window specifier and call
15244 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15245 more faithfully.
b796c9b7 15246 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 15247 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
15248 (display-buffer-in-window, display-buffer-alist-set):
15249 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
15250 <tassilo@member.fsf.org>.
15251
2d43b8c9
LL
152522011-07-09 Leo Liu <sdl.web@gmail.com>
15253
15254 * register.el (insert-register): Restore accidental change on
15255 2011-06-26. (Bug#9028)
15256
7f9b7c53
GM
152572011-07-09 Glenn Morris <rgm@gnu.org>
15258
15259 * subr.el (remq): Handle the empty list. (Bug#9024)
15260
f042cfd8
AS
152612011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15262
15263 * mail/sendmail.el (send-mail-function): No longer delay custom
15264 initialization.
15265 * custom.el (custom-initialize-delay): Doc fix.
15266
856b2f11
SM
152672011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15268
15269 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15270
afae1d68
MA
152712011-07-08 Michael Albinus <michael.albinus@gmx.de>
15272
15273 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15274 human-friendly prompt.
15275
0757af94
SM
152762011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15277
15278 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15279 provided by a particular plugin.
15280
d760b731
LMI
152812011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15282
15283 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15284 save customizations (with "emacs -Q"), just set the variable
15285 instead of erroring out.
15286
15287 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15288
cd79ce90
JL
152892011-07-08 Juri Linkov <juri@jurta.org>
15290
15291 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15292 (archive-zip-update-case): Use 7z if found by `executable-find'.
15293 The order of searching the available programs is the same as in
15294 `archive-zip-extract' (bug#8968).
15295
14cc04aa
CY
152962011-07-07 Chong Yidong <cyd@stupidchicken.com>
15297
15298 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15299 (menu-bar-options-menu): Tweak descriptions.
15300
0a1848ec
LMI
153012011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15302
15303 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15304 menu items into verb phrases (bug#1421). Also refill to fit under
15305 80 columns.
15306
f5bd0689
CY
153072011-07-07 Chong Yidong <cyd@stupidchicken.com>
15308
538e85c6
CY
15309 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15310 (Info-read-node-name): Doc fix (Bug#1084).
15311
f5bd0689
CY
15312 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15313 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15314 (end-of-sexp, beginning-of-sexp)
15315 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15316 (forward-symbol, forward-same-syntax, word-at-point)
15317 (sentence-at-point): Doc fix (Bug#1144).
15318
56ec5115
LMI
153192011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15320
f3f8e37f
LMI
15321 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15322 should cover it (bug#1281).
15323
0757af94 15324 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 15325
e9fce1ac 15326 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
15327 negotiation fails, then possibly try again with a non-encrypted
15328 connection (bug#9017).
15329
56ec5115
LMI
15330 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15331 be used.
15332
c2f9aec8
RS
153332011-07-07 Richard Stallman <rms@gnu.org>
15334
15335 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15336 property, and handle its changed format.
15337 Look for the correct line number.
15338 Use file's line contents (but not past first =) to find
15339 correct line in message.
15340
ef7b981d 153412011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
15342
15343 * international/characters.el (build-unicode-category-table):
15344 Delete it.
0757af94 15345 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 15346
0757af94 15347 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
15348 to src/chartab.c.
15349 (get-char-code-property): Call unicode-property-table-internal to
15350 load a file. Call get-unicode-property-internal where necessary.
15351 (put-char-code-property): Call unicode-property-table-internal to
15352 load a file. Call put-unicode-property-internal where necessary.
15353 put-unicode-property-internal where necessary.
0757af94
SM
15354 (char-code-property-description):
15355 Call unicode-property-table-internal to load a file.
c805dec0
KH
15356
15357 * international/charprop.el:
15358 * international/uni-bidi.el:
15359 * international/uni-category.el:
15360 * international/uni-combining.el:
15361 * international/uni-comment.el:
15362 * international/uni-decimal.el:
15363 * international/uni-decomposition.el:
15364 * international/uni-digit.el:
15365 * international/uni-lowercase.el:
15366 * international/uni-mirrored.el:
15367 * international/uni-name.el:
15368 * international/uni-numeric.el:
15369 * international/uni-old-name.el:
15370 * international/uni-titlecase.el:
15371 * international/uni-uppercase.el: Regenerate.
15372
15373 * loadup.el: Load international/charprop.el before
15374 international/characters.
15375
e14b388a
CY
153762011-07-07 Chong Yidong <cyd@stupidchicken.com>
15377
15378 * window.el (next-buffer, previous-buffer): Signal an error if
15379 called from a minibuffer window.
15380
15381 * bindings.el: Revert 2011-07-04 change.
15382
354cf0ba
RS
153832011-07-06 Richard Stallman <rms@gnu.org>
15384
15385 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15386 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15387 Treat markers like ints.
15388 (rmail-mime-entity): Doc fix.
15389
a48868a7
LMI
153902011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15391
4906cd3d
LMI
15392 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15393 defcustom again for backwards compatibility.
15394
e0457abe
LMI
15395 * simple.el (shell-command-on-region): Fill.
15396
d67f7e1f
LMI
15397 * dired-aux.el (dired-kill-line): Add a doc string.
15398
fe204702
LMI
15399 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15400 to "\\sw\\|\\s_" (bug#358).
15401
a48868a7
LMI
15402 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15403 (dired-unmark-backward): Ditto.
15404 (dired-flag-backup-files): Ditto.
15405
15406 * dired-x.el (dired-mark-sexp): Ditto.
15407
aa8a705c
RS
154082011-07-06 Richard Stallman <rms@gnu.org>
15409
15410 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15411 (rmail-mime-entity): New arg TRUNCATED.
15412 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15413 New functions.
15414 (rmail-mime-save): Warn if entity is truncated.
15415 (rmail-mime-toggle-hidden): Likewise, for showing.
15416 (rmail-mime-process-multipart): Record when an entity is truncated.
15417
a9a936b9
RS
15418 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15419 if ENTITY is a string.
15420
1f2b92cb
LMI
154212011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15422
f4f73198 15423 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
15424 of faces when `M-C-x'-ing their definitions (bug#8378).
15425 Also clean up the code slightly.
f4f73198 15426
12b16734 15427 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 15428 because that makes the colors go away.
12b16734 15429
f0691d22
LMI
15430 * mail/sendmail.el (send-mail-function): Change the default to
15431 `sendmail-query-once'.
9e87df06 15432 (sendmail-query-once): Add an autoload cookie.
f0691d22 15433
1f2b92cb
LMI
15434 * net/network-stream.el (network-stream-open-starttls): Try using
15435 a plain connection even if the server offered STARTTLS, and we
15436 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15437 capability. This should make smtpmail.el work in slightly more
15438 configurations.
15439
1cdd2a1b
MA
154402011-07-06 Michael Albinus <michael.albinus@gmx.de>
15441
15442 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15443 New defun.
15444 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15445
fbcc67e2
MM
154462011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15447
15448 * progmodes/sql.el: Version 3.0
0757af94 15449 (sql-product-alist): Add product :completion-object,
fbcc67e2 15450 :completion-column, and :statement attributes.
0757af94 15451 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 15452 (sql-mode-syntax-table): Mark all punctuation.
0757af94 15453 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
15454 ansi keywords.
15455 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 15456 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
15457 (sql-oracle-show-reserved-words): New function for development.
15458 (sql-product-font-lock): Simplify for source code buffers.
15459 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15460 New functions.
15461 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
15462 (sql-mode-map): Add statement movement functions.
15463 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15464 New variable.
fbcc67e2
MM
15465 (sql-statement-regexp, sql-beginning-of-statement)
15466 (sql-end-of-statement, sql-signum): New functions.
0757af94 15467 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
15468 (sql-show-sqli-buffer): Bug fix.
15469 (sql-interactive-mode): Store connection data as buffer local.
0757af94 15470 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
15471 with sql-interactive-mode.
15472 (sql-save-connection): Save buffer local settings.
0757af94 15473 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
15474 (sql-product-interactive): Bug fix.
15475 (sql-preoutput-hold): New variable.
15476 (sql-interactive-remove-continuation-prompt): Bug fixes.
15477 (sql-debug-redirect): New variable.
15478 (sql-str-literal): New function.
15479 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 15480 Redesign.
fbcc67e2
MM
15481 (sql-oracle-save-settings, sql-oracle-restore-settings)
15482 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15483 (sql-completion-object, sql-completion-column)
15484 (sql-completion-sqlbuf): New variables.
15485 (sql-build-completions-1, sql-build-completions)
15486 (sql-try-completion): New functions.
15487 (sql-read-table-name): Use them.
15488 (sql-contains-names): New buffer local variable.
15489 (sql-list-all, sql-list-table): Use it.
15490 (sql-oracle-completion-types): New variable.
15491 (sql-oracle-completion-object, sql-sqlite-completion-object)
15492 (sql-postgres-completion-object): New functions.
15493
d4eaeab1
GM
154942011-07-06 Glenn Morris <rgm@gnu.org>
15495
15496 * window.el (pop-to-buffer): Doc fix.
15497
322b7dab 154982011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
15499
15500 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15501
322b7dab 155022011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 15503
322b7dab 15504 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 15505
322b7dab 15506 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 15507
605dd5bf
CY
155082011-07-05 Chong Yidong <cyd@stupidchicken.com>
15509
15510 * button.el (button): Inherit from link face. Suggested by Dan
15511 Nicolaescu.
15512
7dbfa719
SM
155132011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15514
3db614b0
SM
15515 * progmodes/gdb-mi.el: Fit in 80 columns.
15516 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15517 switch-to-buffer.
15518
7dbfa719
SM
15519 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15520 if imenu is simply not configured (bug#8941).
15521
919d884a
KM
155222011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15523
15524 * allout.el (allout-post-undo-hook): New allout outline-change
15525 event hook to signal undo activity.
15526 (allout-post-command-business): Run allout-post-undo-hook if an
15527 undo just occurred.
7dbfa719
SM
15528 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15529 * allout-widgets.el (allout-widgets-after-undo-function):
15530 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
15531 in the vicinity of an undo.
15532 (allout-widgets-mode): Include allout-widgets-after-undo-function
15533 on the new allout-post-undo-hook.
15534
450a0f09
SM
155352011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15536
15537 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15538 Let define-derived-mode define it.
15539 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15540 cycles of abbrev-table inheritance (bug#8998).
15541
2de69e00
RW
155422011-07-05 Roland Winkler <winkler@gnu.org>
15543
15544 * textmodes/bibtex.el: Add support for biblatex.
15545 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15546 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15547 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15548 (bibtex-entry-alist, bibtex-field-alist): New variables.
15549 (bibtex-entry-field-alist): Obsolete alias for
15550 bibtex-BibTeX-entry-alist.
15551 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15552 (bibtex-set-dialect): New command.
15553 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
15554 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15555 Bind via bibtex-set-dialect.
2de69e00
RW
15556 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15557 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15558 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15559 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15560 Define via bibtex-set-dialect.
450a0f09
SM
15561 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15562 Obey bibtex-no-opt-remove-re.
2de69e00
RW
15563 (bibtex-vec-push, bibtex-vec-incr): New functions.
15564 (bibtex-format-entry, bibtex-field-list)
15565 (bibtex-print-help-message, bibtex-validate)
15566 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15567
2dcdbdd9
SM
155682011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15569
15570 * progmodes/compile.el (compilation-goto-locus):
15571 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15572 * bs.el (bs-cycle-next, bs-cycle-previous):
15573 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15574 * bindings.el (mode-line-other-buffer):
15575 * autoinsert.el (auto-insert):
15576 * arc-mode.el (archive-extract):
15577 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15578
b27640fe
JB
155792011-07-05 Juanma Barranquero <lekktu@gmail.com>
15580
15581 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15582 Fix check of `emacs-lock-unlockable-modes'.
15583 Coerce true values of `emacs-lock--try-unlocking' to t.
15584
53bbe3ad
JB
155852011-07-05 Juanma Barranquero <lekktu@gmail.com>
15586
15587 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15588 * emacs-lock.el: New file.
15589
1d3cdbc7
JD
155902011-07-05 Julien Danjou <julien@danjou.info>
15591
15592 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15593 than `boundp' to check if face is set.
15594
9173deec
JB
155952011-07-05 Juanma Barranquero <lekktu@gmail.com>
15596
15597 * register.el (registerv-make):
15598 * window.el (window-min-height): Fix typos in docstrings.
15599
869795d6
JD
156002011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15601
9173deec 15602 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
15603 Update doc string.
15604
b768cdcd
JB
156052011-07-04 Juanma Barranquero <lekktu@gmail.com>
15606
15607 * server.el (server-execute): Catch quit and call
15608 `server-return-error' to pass the error back to emacsclient and
15609 close the connection (bug#8942).
15610
13aa217b
KM
156112011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15612
15613 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15614 insecure exception for current topic. Also note that auto-saves
15615 are handled differently.
15616
5d3385a0 15617 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
15618 State variables for tracking auto-save inhibition situation.
15619
15620 (allout-write-contents-hook-handler): Rename from
15621 'allout-write-file-hook-handler', and describe how it depends on
15622 write-contents-functions sensitivity to non-nil value to prevent
15623 file write.
15624
15625 (allout-auto-save-hook-handler): Remove. auto-save does not check
15626 this in individual buffers, only in the starting buffer, so this
15627 is not the right way for us to inhibit auto-save in a buffer
15628 according to its condition.
15629
15630 (allout-mode): Use new allout-write-contents-hook-handler, and
15631 only with write-contents-functions. Remove auto-save provisions -
15632 they're implemented elsewhere.
15633
15634 (allout-before-change-handler): If undo is in progress, note that
15635 for attention of allout-post-command-business.
15636
15637 (allout-post-command-business): If the command we're following was
15638 an undo, check for change in the status of encrypted items and
15639 adjust auto-save inhibitions accordingly.
15640
15641 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15642 according to whether there are or aren't any plain-text topics
15643 pending encryption.
15644
2dcdbdd9 15645 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
15646 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15647 if there are plain-text topics pending encryption.
13aa217b
KM
15648
15649 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15650 buffer-saved-size and some allout state to not inhibit auto-saves
15651 if there are no longer any plain-text topics pending encryption.
15652
0757af94
SM
15653 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15654 No longer provide for exemption of the current topic.
13aa217b 15655
ac89b32c
JL
156562011-07-04 Juri Linkov <juri@jurta.org>
15657
15658 Add 7z operations to delete and save changed members (bug#8968).
15659 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15660 New defcustoms.
15661 (archive-7z-write-file-member): New function.
15662 (archive-7z-summarize): Fix the number of dashes in the
15663 listing output.
15664
8fa39615
SM
156652011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15666
15667 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15668 (bug#8958).
15669
2f11b3f1
CY
156702011-07-04 Chong Yidong <cyd@stupidchicken.com>
15671
d66fef2b
CY
15672 * bindings.el: Ignore next-buffer and previous-buffer in
15673 minibuffer-local-map.
15674
2f11b3f1
CY
15675 * font-lock.el (font-lock-builtin-face): Change light background
15676 color to dark slate blue (Bug#6693).
15677
f932a347
WD
156782011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15679
15680 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15681
c8af70e1
SM
156822011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15683
15684 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15685 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15686 Add switch-to-buffer.
15687
f158badc
LMI
156882011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15689
15690 * isearch.el (isearch-search-fun-function): Clarify further the
15691 meaning of the function returned.
15692
6d95bd46
MA
156932011-07-04 Michael Albinus <michael.albinus@gmx.de>
15694
15695 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15696
15697 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15698 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15699 Use it.
15700 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15701 `tramp-default-remote-path' does not exist.
15702 (tramp-send-command-and-read): New optional argument NOERROR.
15703 (tramp-open-connection-setup-interactive-shell)
15704 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15705 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15706 (tramp-process-sentinel): Flush also process' connection property.
15707 (tramp-sh-handle-start-file-process): Do not set process
15708 sentinel. It is done now ...
15709 (tramp-maybe-open-connection): ... here. (Bug#8929)
15710
909e6b67
MK
157112011-07-04 MON KEY <monkey@sandpframing.com>
15712
15713 * play/animate.el (animate-string): Doc fixes and allow changing
15714 the buffer name (bug#5417).
15715
157162011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15717
c8af70e1 15718 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 15719
f34755dc
PE
157202011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15721
396cec72
PE
15722 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15723 This is simpler and helps future-proof the code.
15724 (timer-until): Use time-subtract and float-time.
08235028 15725 (timer--time-less-p): Use time-less-p.
f34755dc 15726
56e6cc31
JB
157272011-07-04 Juanma Barranquero <lekktu@gmail.com>
15728
3abb79e5
JB
15729 * type-break.el (timep): Use the value of `float-time' to avoid a
15730 byte-compiler warning.
15731
56e6cc31
JB
15732 * server.el (server-eval-and-print): Return any result, even nil.
15733
7b9430b4
PE
157342011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15735
15736 * type-break.el: Accept time formats that the builtins accept.
15737 (timep, type-break-time-difference): Accept any format that
15738 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15739 This is simpler and helps future-proof the code.
15740 (type-break-time-difference): Round rather than ignoring
15741 subseconds components.
15742
3034e9e7
LMI
157432011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15744
15745 * info.el (Info-apropos-matches): Make non-interactive, since it
15746 doesn't seem to do anything useful as a command (bug#8829).
15747
1485f4c0
CY
157482011-07-03 Chong Yidong <cyd@stupidchicken.com>
15749
15750 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 15751 Move from faces.el.
1485f4c0
CY
15752 (frame-default-terminal-background): New function.
15753
15754 * custom.el (custom-push-theme): Don't record faces in `changed'
15755 theme; this doesn't work correctly for per-frame face settings.
15756 (disable-theme): Use face-set-after-frame-default to reset faces.
15757 (custom--frame-color-default): New function.
15758
9fa3dd45
LMI
157592011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15760
c8af70e1 15761 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
15762 (bug#8769).
15763
6cbbc20c
KR
157642011-03-29 Kevin Ryde <user42@zip.com.au>
15765
15766 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15767 `perl-Test2' extend to match possible "fail #N" rep count
15768 (bug#8377).
15769
c7f98048
LMI
157702011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15771
65676592
LMI
15772 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15773 `smtpmail-via-smtp' now returns the error instead of nil.
15774
c7f98048
LMI
15775 * isearch.el (isearch-search-fun-function): Clarify the doc string
15776 (bug#8101).
15777
56e6cc31 157782011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
15779
15780 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15781 unnecessary spaces (bug#8987).
15782
2b216704
LMI
157832011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15784
15785 * net/network-stream.el (open-network-stream): Use the
15786 :end-of-capability command thoughout.
15787
157882011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15789
15790 * net/network-stream.el (open-network-stream): Add the
15791 :end-of-capability command parameter, used by pop3.el.
15792
36adf6ce
LMI
157932011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15794
1ca0da0e
LMI
15795 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15796
fc00f69c
LMI
15797 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15798 for list)" (bug#6475).
15799
28fd8759 15800 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 15801 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
15802 an error (bug#6297).
15803
0dd8b6da
LMI
15804 * man.el (Man-reference-regexp): Allow matching possible
15805 word-wrapped references (bug#6289).
15806
ce1438d6
LMI
15807 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15808 for consistency with the other vc buffers (bug#6197).
15809 (vc-checkin): Ditto.
15810
15811 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15812
36adf6ce
LMI
15813 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15814
e83cc1f7
LMI
158152011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15816
8a20ca4c
LMI
15817 * custom.el (defcustom): Clarify that :set is only used in the
15818 Customize user interface (bug#6089).
15819
83319045
LMI
15820 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15821 associated with a file, refuse to run instead of erroring out
15822 (bug#6084).
15823
a8392169
LMI
15824 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15825 the doc string, since it appears that using `fill-column' always
15826 controls the width (bug#7845).
15827
e83cc1f7
LMI
15828 * simple.el (shell-command-on-region): Say where the error output
15829 went if `shell-command-default-error-buffer' is set (bug#6857).
15830
e47ca23b
KM
158312011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15832
15833 * allout.el (allout-yank-processing): Adjust cursor position for
15834 backwards-deleted space.
15835
15836 (allout-rebullet-heading): Register changes with
15837 allout-exposure-changed-hook, so the modified topic is properly
15838 decorated.
15839
5cf56143
LMI
158402011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15841
08549772
LMI
15842 * minibuffer.el (completion-in-region): Document PREDICATE
15843 (bug#7136).
15844
48e96771
LMI
15845 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15846 of keyword/argument pairs (bug#6904).
15847
c8af70e1
SM
15848 * replace.el (multi-occur):
15849 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 15850
e17d05e2
LMI
158512011-07-02 Drew Adams <drew.adams@oracle.com>
15852
15853 * dired.el (dired-mark-if): Make the message about whether it's
15854 marking or unmarking clearer (bug#8523).
15855
063b0e45
LMI
158562011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15857
15858 * disp-table.el (display-table-print-array): New function.
15859 (describe-display-table): Use it to print the vectors more pretty
15860 (Bug#8859).
15861
28545e04
MR
158622011-07-02 Martin Rudalics <rudalics@gmx.at>
15863
15864 * window.el (window-state-get-1): Don't assign clone numbers.
15865 Add clone-of item to list of window parameters.
15866 (window-state-put-2): Don't process clone numbers.
15867 (display-buffer-alist): Fix doc-string.
15868
3349e122
SM
158692011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15870
15871 * subr.el (remq): Don't allocate if it's not needed.
15872 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15873 (keymap--merge-bindings): New functions.
15874 (keymap-canonicalize): Use them to refine the canonicalization.
15875 * minibuffer.el (minibuffer-local-completion-map)
15876 (minibuffer-local-must-match-map): Move initialization from C.
15877 (minibuffer-local-filename-completion-map): Move initialization from C;
15878 don't inherit from anything here.
15879 (minibuffer-local-filename-must-match-map): Make obsolete.
15880 (completing-read-default): Use make-composed-keymap to combine
15881 minibuffer-local-filename-completion-map with either
15882 minibuffer-local-must-match-map or
15883 minibuffer-local-filename-completion-map.
15884
d224ac83
GM
158852011-07-01 Glenn Morris <rgm@gnu.org>
15886
3de63bf8
GM
15887 * type-break.el (type-break-time-sum): Use dolist.
15888
d224ac83
GM
15889 * textmodes/flyspell.el (flyspell-word-search-backward):
15890 Replace CL function.
15891
1a1e3f32
SM
158922011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15893
fe3f64d5
SM
15894 * mouse.el (mouse--strip-first-event): New function.
15895 (function-key-map): Use it to map fringe clicks to normal clicks
15896 by default.
15897
eb604e34
SM
15898 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15899 (vc-bzr-revision-completion-table): Add support for annotate and date.
15900
1a1e3f32
SM
15901 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15902 inherit from parent.
15903
5bd35902
LMI
159042011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15905
ace6c69c 15906 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 15907 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 15908
191e2bed
LMI
15909 * dired.el (dired-mode): Fix up the doc string as suggested by
15910 Drew Adams (bug#8817).
15911
5bd35902
LMI
15912 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15913 cookie, since the manual says that it should be possible to add
15914 this function to `find-file-hook' (bug#8709).
15915
eee8207a
TZ
159162011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15917
15918 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15919 here. Noted Ted Zlatanov as the maintainer.
15920 (cfengine-common-settings, cfengine-common-syntax): New functions
15921 to set up common things between `cfengine-mode' and
15922 `cfengine3-mode'.
15923 (cfengine3-mode): New mode.
15924 (cfengine3-defuns cfengine3-defuns-regex
15925 (cfengine3-class-selector-regex cfengine3-category-regex)
15926 (cfengine3-vartypes cfengine3-font-lock-keywords)
15927 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 15928 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 15929
36b148cf
MA
159302011-07-01 Michael Albinus <michael.albinus@gmx.de>
15931
15932 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15933
15934 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15935
0bf4ba9a
MR
159362011-07-01 Martin Rudalics <rudalics@gmx.at>
15937
15938 * window.el (same-window-buffer-names, same-window-regexps)
15939 (same-window-p, special-display-frame-alist)
15940 (special-display-popup-frame, special-display-function)
15941 (special-display-buffer-names, special-display-regexps)
15942 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15943 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15944 (split-window-preferred-function, split-height-threshold)
15945 (split-width-threshold, even-window-heights)
15946 (display-buffer-mark-dedicated, window-splittable-p)
15947 (split-window-sensibly, window-safely-shrinkable-p):
15948 Un-obsolete.
15949 (display-buffer): Don't spread args with function specifier
15950 because special-display-popup-frame won't like it.
15951
35837f51
PE
159522011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15953
d0672f86
PE
15954 Time-stamp simplifications and fixes.
15955 These improve accuracy slightly, and future-proof the code
15956 against some potential changes to current-time format.
15957
b9444d97
PE
15958 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15959 by using time-since and float-time.
15960
0ef923dc
PE
15961 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15962 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
15963 + NNN microseconds".
15964
2f81380d
PE
15965 * type-break.el (type-break-time-sum): Rewrite using time-add.
15966
845b5c3e
PE
15967 * play/hanoi.el (hanoi-current-time-float): Remove.
15968 All uses replaced by float-time.
15969
ee6f1be0
PE
15970 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15971 This yields a more-accurate answer.
15972 (rng-time-to-float): Remove; no longer needed.
15973
fe955043
PE
15974 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15975
5777162a
PE
15976 * calendar/timeclock.el (timeclock-seconds-to-time):
15977 Defalias to seconds-to-time, since they're the same thing.
15978
3103f8b6 15979 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 15980 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
15981 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15982
0e61a35f
SM
159832011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15984
15985 * window.el (bury-buffer): Don't iconify the only frame.
15986 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15987 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15988
ddd63a1e
CY
159892011-07-01 Chong Yidong <cyd@stupidchicken.com>
15990
0e61a35f
SM
15991 * eshell/em-smart.el (eshell-smart-display-navigate-list):
15992 Add mouse-yank-primary.
ddd63a1e 15993
055f4923
TZ
159942011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15995
15996 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15997
6a2fb145
SM
159982011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15999
16000 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16001 (find-library-name): Use it to find relative load names when provided
16002 absolute file name (bug#8803).
16003
fd4983f2
LMI
160042011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16005
887d14ad
LMI
16006 * textmodes/flyspell.el (flyspell-word): Consider words that
16007 differ only in case as potential doublons (bug#5687).
16008
c53dc7fc
LMI
16009 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16010 Remove two rather uninteresting debugging-like messages to make
16011 debbugs.el more silent.
16012
fd4983f2
LMI
16013 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16014 a password-like phrase.
16015
7a71b18d 160162011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
16017
16018 * progmodes/cc-guess.el: New file.
16019
6a2fb145 16020 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
16021
16022 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16023 derived from `c-basic-common-init'.
16024
16025 * progmodes/cc-mode.el (top-level): Require cc-guess.
16026 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16027
1fa280a3
LM
160282011-06-30 Lawrence Mitchell <wence@gmx.li>
16029
16030 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16031
e6597158
AM
160322011-06-30 Alan Mackenzie <acm@muc.de>
16033
1fa280a3
LM
16034 * progmodes/cc-engine.el (c-guess-continued-construct):
16035 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
16036 lock is disabled. Name this case as "CASE G".
16037
68ba37fb
KM
160382011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16039
16040 * allout.el (allout-yank-processing): Fix injection of extra space
16041 between bullet and non-whitespace character in first topic when
16042 pasting, ensuring that the actual spacing in the pasted topic
16043 following the bullet char is preserved. This extra space was
16044 causing pasted encrypted topics to get a decrypted status even
16045 when the content was actually still encrypted. Now the decryption
16046 status from before the paste is preserved.
16047
16048 (allout-flag-region): Set all allout overlays so they evaporate
16049 when reduced to zero length (evanescent), to prevent overlay
16050 leakage.
16051
887a0b34
GM
160522011-06-30 Glenn Morris <rgm@gnu.org>
16053
94b9acce
GM
16054 * w32-fns.el (w32-charset-info-alist): Declare.
16055
1d9b46d4
GM
16056 * find-dired.el (find-grep-options): Simplify.
16057
cc232200
GM
16058 * term/ns-win.el (ns-set-resource): Declare.
16059
28e77c46
GM
16060 * ses.el (row, col): Declare dynamic variables honestly.
16061
887a0b34
GM
16062 * textmodes/reftex-parse.el (index-tags): Declare.
16063
658d8eb8
CY
160642011-06-30 Chong Yidong <cyd@stupidchicken.com>
16065
16066 * cus-edit.el (customize-push-and-save): New function.
16067
16068 * files.el (hack-local-variables-confirm): Use it.
16069
1fa280a3
LM
16070 * custom.el (load-theme): New arg NO-CONFIRM.
16071 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
16072 (custom-enabled-themes): Doc fix.
16073
16074 * cus-theme.el (customize-create-theme)
16075 (custom-theme-merge-theme): Callers to load-theme changed.
16076
bb617717
LMI
160772011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16078
d61bdd5d
LMI
16079 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16080 short URLs have at least one dot in them (bug #7614).
16081
bb617717
LMI
16082 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16083 nil, because using a pty is apparently too slow (bug #895).
16084
2f31f37a
LMI
160852011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16086
16087 * mail/sendmail.el (sendmail-query-once): New function.
16088 (sendmail-query-once-function): New variable.
16089
3076b24e
GM
160902011-06-29 Glenn Morris <rgm@gnu.org>
16091
faf2a174
GM
16092 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16093
3076b24e
GM
16094 * ses.el (top-level): Require cl when compiling.
16095 (ses-set-localvars): Fix error statement.
16096 Call it at compile time to silence a storm of warnings.
16097
5386012d
MR
160982011-06-29 Martin Rudalics <rudalics@gmx.at>
16099
16100 * window.el (normalize-live-buffer): Rename to
16101 window-normalize-buffer.
16102 (normalize-live-frame): Rename to window-normalize-frame.
16103 (normalize-any-window): Rename to window-normalize-any-window.
16104 (normalize-live-window): Rename to window-normalize-live-window.
16105 (make-window-atom): Rename to window-make-atom.
16106 (window-resize-reset): Rename to window--resize-reset.
16107 (window-resize-reset-1): Rename to window--resize-reset-1.
16108 (resize-mini-window): Rename to window--resize-mini-window.
16109 (resize-subwindows-skip-p): Rename to
16110 window--resize-subwindows-skip-p.
16111 (resize-subwindows-normal): Rename to
16112 window--resize-subwindows-normal.
16113 (resize-subwindows): Rename to window--resize-subwindows.
16114 (resize-other-windows): Rename to window--resize-siblings.
16115 (resize-this-window): Rename to window--resize-this-window.
16116 (resize-root-window): Rename to window--resize-root-window.
16117 (resize-root-window-vertically): Rename to
16118 window--resize-root-window-vertically.
16119 (normalize-buffer-to-display): Rename to
16120 window-normalize-buffer-to-display.
16121 (normalize-buffer-to-switch-to): Rename to
16122 window-normalize-buffer-to-switch-to.
16123 Correspondingly update all callers of the functions listed
16124 above.
16125 (display-buffer-alist, display-buffer-normalize-arguments)
16126 (display-buffer-normalize-options, display-buffer)
16127 (display-buffer-alist-set): Use "function" instead of
16128 "fun-with-args".
16129
1176868d
CY
161302011-06-28 Chong Yidong <cyd@stupidchicken.com>
16131
16132 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16133 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16134 debbugs.gnu.org. Mention acknowledgment email.
16135
20a7a65f
LMI
161362011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16137
16138 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16139 buffer multibyteness, since it shouldn't matter.
16140
5f45cca5
MR
161412011-06-28 Martin Rudalics <rudalics@gmx.at>
16142
16143 * window.el (display-buffer-in-side-window): Handle dedicated
16144 windows as in display-buffer-reuse-window.
16145 (display-buffer-normalize-alist): Use value of override
16146 specifier.
16147 (display-buffer-normalize-specifiers): Use value of
16148 other-window-means-other-frame specifier.
16149 (display-buffer-alist): Rewrite some texts in widgets.
16150 (display-buffer): Spread arguments when calling function
16151 specified by fun-with-args.
16152
ad85fe1f
DD
161532011-06-28 Deniz Dogan <deniz@dogan.se>
16154
1fa280a3
LM
16155 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16156 Unnest `let'.
da68c4c8 16157
ad85fe1f
DD
16158 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16159 selectors (Bug#5732).
ec49bd31 16160 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 16161
a08cc025
JA
161622011-06-27 Jari Aalto <jari.aalto@cante.net>
16163
16164 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16165 (eshell-ls-date-format): New defcustom.
16166 (eshell-ls-file): Use it.
16167
e2b551c5
SM
161682011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16169
16170 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16171
8982b231
KY
161722011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16173
16174 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16175 (ange-ftp-make-tmp-name): New arg.
16176 (ange-ftp-file-local-copy): Use it.
16177
36c9fa27
J
161782011-06-27 Jambunathan K <kjambunathan@gmail.com>
16179
16180 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16181 no-conversion (Bug#8870).
16182
d68443dc
MR
161832011-06-27 Martin Rudalics <rudalics@gmx.at>
16184
16185 * window.el (window-right, window-left, window-child)
16186 (window-child-count, window-last-child)
16187 (window-iso-combination-p, walk-window-tree-1)
16188 (window-atom-check-1, window-tree-1, delete-window)
16189 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16190 new naming conventions - window-vchild, window-hchild,
16191 window-next and window-prev are now called window-top-child,
16192 window-left-child, window-next-sibling and window-prev-sibling
16193 respectively.
d615d6d2
MR
16194 (resize-window-reset): Rename to window-resize-reset.
16195 (resize-window-reset-1): Rename to window-resize-reset-1.
16196 (resize-window): Rename to window-resize.
16197 (window-min-height, window-min-width)
16198 (resize-mini-window, resize-this-window, resize-root-window)
16199 (resize-root-window-vertically, adjust-window-trailing-edge)
16200 (enlarge-window, shrink-window, maximize-window)
16201 (minimize-window, delete-window, quit-restore-window)
16202 (split-window, balance-windows, balance-windows-area-adjust)
16203 (balance-windows-area, window-state-put-2)
16204 (display-buffer-even-window-sizes, display-buffer-set-height)
16205 (display-buffer-set-width, set-window-text-height)
16206 (fit-window-to-buffer): Rename all "resize-window" prefixed
16207 calls to use the "window-resize" prefix convention.
16208 (display-buffer-alist): Fix symbol for label specifier.
16209 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16210 corresponding specifier.
16211 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 16212
b6458526
VB
162132011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16214
16215 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16216 convention.
16217 (ses-call-printer): Does not pass an empty string to formatter when the
16218 cell is empty to keep from barking printer Calc math-format-value.
16219
d31fd9ac
RS
162202011-06-27 Richard Stallman <rms@gnu.org>
16221
43d5bf84
RS
16222 * battery.el (battery-mode-line-limit): New variable.
16223 (battery-update): Handle it.
16224
d31fd9ac
RS
16225 * mail/rmailmm.el (rmail-mime-process-multipart):
16226 Handle truncated messages.
16227
819a6054
GM
162282011-06-27 Glenn Morris <rgm@gnu.org>
16229
16230 * progmodes/flymake.el (flymake-err-line-patterns):
16231 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16232
cedc73f2
VB
162332011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16234
819a6054 16235 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
16236 (ses--clean-!, ses--clean-_): New functions.
16237 (ses-range): Add configurability of readout order, and conversion
16238 to Calc vector.
16239
5e5d49b6
VB
16240 * ses.el (ses-repair-cell-reference-all): New function.
16241 (ses-cell-symbol): Set macro as safe, so that it can be used in
16242 formulas.
16243
56e6cc31 16244 * ses.el: Update cycle detection algorithm.
90ca8b49 16245 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 16246 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
16247 (ses-set-localvars): New function.
16248 (ses-make-cell): Add property-list as a cell element.
16249 (ses-cell-property-get-fun, ses-cell-property-get)
16250 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
16251 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16252 New functions.
90ca8b49
VB
16253 (ses-cell-property-set, ses-cell-property-pop)
16254 (ses-cell-property-get-handle): New macro.
16255 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16256 New aliases, used for code readability.
16257 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16258 cycle detection.
16259 (ses-self-reference-early-detection): New defcustom.
fac916bf 16260 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
16261 (ses-mode): Use ses-set-localvars.
16262 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16263 before lauching the update processing.
16264 (ses-initialize-Dijkstra-attempt): New function.
16265 (ses-recalculate-cell): Update for cycle detection based on
16266 Dijkstra algorithm.
16267
2bb63e81
VB
16268 * ses.el: Fix commenting and indenting convention.
16269
c9d29fb8
SM
162702011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16271
16272 * bs.el (bs-cycle-next): Complete last change.
16273
d8e4b68b
JB
162742011-06-27 Drew Adams <drew.adams@oracle.com>
16275
16276 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16277
40098786
LMI
162782011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16279
c9d29fb8
SM
16280 * net/network-stream.el (network-stream-open-starttls):
16281 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
16282 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16283
40098786
LMI
16284 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16285 to binary to possibly avoid line encoding issues on Windows (among
16286 other things).
16287
468d09d4
LMI
162882011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16289
16290 * net/network-stream.el (open-network-stream): Return an :error
16291 saying what the problem was, if possible.
16292
16293 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16294 server.
16295
16296 * net/network-stream.el (network-stream-open-starttls): If we
16297 wanted to use STARTTLS, and the server offered it, but we weren't
16298 able to because we had no STARTTLS support, then close the connection.
16299 (open-network-stream): Return an :error element, if present.
16300
16f07dd7
CY
163012011-06-26 Chong Yidong <cyd@stupidchicken.com>
16302
88821ca0
CY
16303 * hl-line.el (hl-line-sticky-flag): Doc fix.
16304 (global-hl-line-sticky-flag): New option (Bug#8323).
16305 (global-hl-line-highlight): Obey it.
16306
16f07dd7
CY
16307 * vc/vc.el (vc-revert-show-diff): Default to t.
16308
6b5ccddf
KM
163092011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16310
c9d29fb8
SM
16311 * allout-widgets.el (allout-widgets-post-command-business):
16312 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
16313 undecorated when an isearch is continued past, and isearch
16314 automatically collapses them. This leads to "widget leaks", where
16315 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
16316 hidden widgets can slow down cursor travel, substantially.
16317 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
16318 so we're doing without this nicety.
16319
16320 (allout-widgets-tally-string): Don't try to do a hash-table-count
16321 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16322 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16323 *Messages* when allout-widgets-maintain-tally is t.
16324
355f2e07
MR
163252011-06-26 Martin Rudalics <rudalics@gmx.at>
16326
16327 * window.el (display-buffer-normalize-argument): Rename to
16328 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
16329 LABEL argument. Respect special-display-function when popping up
16330 a new frame. Fix code searching for a window showing the buffer
16331 on another frame.
c9d29fb8
SM
16332 (display-buffer-normalize-specifiers):
16333 Call display-buffer-normalize-arguments.
355f2e07
MR
16334 (display-buffer-in-window): Don't undedicate the window if its
16335 buffer remains the same.
16336 Reported by Drew Adams <drew.adams@oracle.com>.
16337 (display-buffer-alist): Add choice for same-window macro
16338 specfier.
16339 (display-buffer): Mention special meaning of LABEL argument in
16340 doc-string. Fix quoting. Don't pop up a new frame even as
16341 fallback.
16342
7ca8fc42
JB
163432011-06-26 Juanma Barranquero <lekktu@gmail.com>
16344
16345 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16346 avoid deleting the current window in some cases (bug#8911).
16347
bc312254
AS
163482011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16349
16350 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16351 (Bug#8934)
16352
2db18f3f
LMI
163532011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16354
c9d29fb8
SM
16355 * net/network-stream.el (network-stream-open-starttls):
16356 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
16357 (network-stream-open-tls): Ditto.
16358
6302e0d3
LL
163592011-06-26 Leo Liu <sdl.web@gmail.com>
16360
16361 * register.el (registerv): New struct.
16362 (registerv-make): New function.
c9d29fb8
SM
16363 (jump-to-register, describe-register-1, insert-register):
16364 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
16365 struct. (Bug#8415)
16366
5fdd4046
CY
163672011-06-26 Chong Yidong <cyd@stupidchicken.com>
16368
2afef60a
CY
16369 * vc/vc.el (vc-revert-show-diff): New defcustom.
16370 (vc-diff-internal): New arg specifying diff buffer.
16371 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16372 reuse an existing *vc-diff* buffer (Bug#8927).
16373
5fdd4046
CY
16374 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16375
e93db24a
GM
163762011-06-26 Glenn Morris <rgm@gnu.org>
16377
16378 * progmodes/f90.el (f90-critical-indent): New option.
16379 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16380 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16381 (f90-mode): Doc fix.
16382 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16383 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16384 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16385 (f90-match-end): Handle block, critical.
16386
eefff499
GM
163872011-06-25 Glenn Morris <rgm@gnu.org>
16388
f6ba4cc9
GM
16389 * calendar/diary-lib.el (diary-included-files): Doc fix.
16390 (diary-include-files): New function, extracted from
16391 diary-include-other-diary-files and diary-mark-included-diary-files.
16392 (diary-include-other-diary-files, diary-mark-included-diary-files):
16393 Just call diary-include-files.
16394 (diary-mark-entries): Reset diary-included-files on first call.
16395
16712304
GM
16396 * calendar/diary-lib.el (diary-mark-entries)
16397 (diary-mark-included-diary-files):
16398 Visit included diary-files in temp buffers.
16399
5d8e0d43
GM
16400 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16401 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16402 (f90-start-block-re, f90-imenu-generic-expression)
16403 (f90-looking-at-program-block-start, f90-no-block-limit):
16404 Add support for submodules.
16405
ccf7a5d5
GM
16406 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16407 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 16408
11fdef7d 164092011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
16410
16411 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16412 buffer-file-type before setting its value, to avoid disastrous
eefff499 16413 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 16414
74f53697
JB
164152011-06-25 Juanma Barranquero <lekktu@gmail.com>
16416
16417 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16418
16419 * ses.el (ses-unload-function):
16420 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16421
16422 * proced.el (proced-unload-function):
16423 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16424
18a4ce5e
AR
164252011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16426
16427 * server.el (server-create-window-system-frame): Add parameters arg.
16428 (server-process-filter): Doc fix. Handle frame-parameters.
16429
519d22cc
JB
164302011-06-25 Juanma Barranquero <lekktu@gmail.com>
16431
16432 Fix bug#8730, bug#8781.
16433
16434 * loadhist.el (unload--set-major-mode): New function.
16435 (unload-feature): Use it.
16436
16437 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16438 (python-unload-function): New function.
16439
c206f5b0
SM
164402011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16441
16442 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16443
f9ad64f3
GS
164442011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16445
16446 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16447 the candidates list.
16448
7d0da90e
JB
164492011-06-24 Juanma Barranquero <lekktu@gmail.com>
16450
16451 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16452
14b4e83d
RS
164532011-06-23 Richard Stallman <rms@gnu.org>
16454
16455 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16456 (rmail-variables): Set next-error-move-function.
16457 (rmail-what-message): Take argument POS.
16458 (rmail-next-error-move): New function.
16459
273d2baf
SM
164602011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16461
16462 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16463 messages for adjacent non-terminals.
16464
56c2cc9a
RS
164652011-06-23 Richard Stallman <rms@gnu.org>
16466
16467 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 16468 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
16469 (rmail-start-mail): Don't specify use of rmail-mail-return;
16470 that's done by mail-bury now.
16471 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 16472
d59eb518
MA
164732011-06-23 Michael Albinus <michael.albinus@gmx.de>
16474
16475 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16476 SIZE is a number.
16477
02cfc6d6
MR
164782011-06-23 Martin Rudalics <rudalics@gmx.at>
16479
16480 * window.el (get-lru-window, get-mru-window)
16481 (get-largest-window): Never return a minibuffer window.
16482 (display-buffer-pop-up-window): Fix a bug that could lead to
16483 reusing the minibuffer window.
16484 (display-buffer): Pass original specifier argument to
16485 display-buffer-function instead of the normalized one.
16486 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16487
4e323265
LL
164882011-06-22 Leo Liu <sdl.web@gmail.com>
16489
16490 * minibuffer.el (completing-read-function)
1f9f395d 16491 (completing-read-default): Move from minibuf.c.
4e323265 16492
7a70468f
RS
164932011-06-22 Richard Stallman <rms@gnu.org>
16494
50718fc2
RS
16495 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16496 to Rmail even if not started by a special Rmail command.
16497
7a70468f
RS
16498 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16499 Copy the buffer currently showing just one message.
16500
297dde5a
RW
165012011-06-22 Roland Winkler <winkler@gnu.org>
16502
16503 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16504 (bibtex-clean-entry): First delete the old key so that a
16505 customized algorithm for generating the new key does not get
16506 confused by the old key.
16507 (bibtex-url): Obey regexp of first step.
16508 (bibtex-search-entries): Do not use add-to-list with local
16509 list-var.
16510
97bb1093
LMI
165112011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16512
16513 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16514 stored a user name, then query for the password first, instead of
16515 waiting for SMTP to give an error message and the trying again.
16516
1c0f1a19
JD
165172011-06-22 Lawrence Mitchell <wence@gmx.li>
16518
16519 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16520 BUFFER in call-process.
16521
396f7c9d
LMI
165222011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16523
16524 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16525 QUIT twice.
ddb7ffee
LMI
16526 (smtpmail-try-auth-methods): Require user name and password from
16527 auth-source.
396f7c9d 16528
8998d1b3
MR
165292011-06-22 Martin Rudalics <rudalics@gmx.at>
16530
16531 * window.el (display-buffer-default-specifiers)
16532 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16533 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 16534 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
16535
16536 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16537 (special-display-frame-alist, special-display-popup-frame):
16538 Remove duplicate declarations. These are now in window.el.
16539
4ea31e07
LMI
165402011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16541
c9d29fb8
SM
16542 * mail/smtpmail.el (smtpmail-via-smtp):
16543 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
16544 server supports it. SMTP servers that support STARTTLS commonly
16545 require it.
16546
16547 * net/network-stream.el (network-stream-open-starttls): Support
16548 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 16549 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 16550
95f41d9a
LMI
16551 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16552 upgrades with `open-network-stream', and rely solely on
16553 auth-source for all credentials. Big changes throughout the file,
16554 but in particular:
c9d29fb8
SM
16555 (smtpmail-auth-credentials): Remove.
16556 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
16557 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16558 MAIL FROM, too.
95f41d9a 16559
c9d29fb8
SM
16560 * net/network-stream.el (network-stream-open-starttls):
16561 Provide support for client certificates both for external and built-in
4ea31e07
LMI
16562 STARTTLS.
16563 (auth-source): Require.
16564 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
16565 (network-stream-certificate): Change cert-cert to cert and
16566 cert-key to key.
4ea31e07 16567
065ec2c7
MA
165682011-06-21 Michael Albinus <michael.albinus@gmx.de>
16569
16570 * net/tramp-cache.el (top): Don't load the persistency file when
16571 "emacs -Q" has been called.
16572
cd93b359
DR
165732011-06-21 Tim Harper <timcharper@gmail.com>
16574
d8e4b68b
JB
16575 * term/ns-win.el (ns-initialize-window-system):
16576 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
16577 resource to NO as it is not yet supported by the NS port.
16578
ae9c0411
JB
165792011-06-21 Juanma Barranquero <lekktu@gmail.com>
16580
16581 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16582 (list-dynamic-libraries): ...not here.
16583
7f3f739f
LL
165842011-06-21 Leo Liu <sdl.web@gmail.com>
16585
16586 * subr.el (sha1): Implement sha1 using secure-hash.
16587
327c8fb1
MR
165882011-06-21 Martin Rudalics <rudalics@gmx.at>
16589
16590 * window.el (display-buffer-alist): In default value do not
16591 enforce searching a window on any but the selected frame.
16592 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16593 (display-buffer-select-window): Remove function.
16594 (display-buffer-in-window): When a window on another frame gets
16595 reused, do not select it any more but just raise its frame if
16596 necessary (Bug#8851) and (Bug#8856).
16597 (display-buffer-normalize-options): Handle pop-up-frames related
16598 options more faithfully.
16599 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16600 window if it is on another frame.
c9d29fb8
SM
16601 (display-buffer-alist, display-buffer-default-specifiers):
16602 Don't make new frame unsplittable by default.
9e9de014
MR
16603 (display-buffer-normalize-argument): Fix doc-string typo and use
16604 'same-frame-other-window instead of 'other-window when associating
16605 with display-buffer-macro-specifiers.
327c8fb1 16606
7cf3f556
VB
166072011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16608
16609 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16610 New functions.
16611 (5x5-mode-map, 5x5-mode-menu): Bind them.
16612 (5x5-draw-grid): Tweak the solver's rendering.
16613
60a406cf
SM
166142011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16615
16616 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16617 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16618
d8e4b68b 166192011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
16620
16621 * menu-bar.el: Use function variable instead of switch-to-buffer.
16622 (menu-bar-select-buffer-function): New variable.
60a406cf 16623 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 16624
478d6f95
SM
166252011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16626
16627 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16628 variable's status.
16629
ca530739
JD
166302011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16631
16632 * x-dnd.el (x-dnd-version-from-flags)
16633 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16634 and long as number (Bug#8899).
16635 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16636
bcd70d97
SM
166372011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16638
60a406cf 16639 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
16640 (completion-try-completion, completion-all-completions): Compute the
16641 metadata argument if it's missing; make it optional (bug#8795).
16642
60a406cf 16643 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
16644 (widget-complete): Use new :completion-function property.
16645 (widget-completions-at-point): New function.
16646 (default): Use :completion-function instead of :complete.
60a406cf
SM
16647 (widget-default-completions): Rename from widget-default-complete;
16648 Rewrite.
bcd70d97
SM
16649 (widget-string-complete, widget-file-complete, widget-color-complete):
16650 Remove functions.
16651 (file, symbol, function, variable, coding-system, color):
16652 * international/mule-cmds.el (default-input-method, charset)
16653 (language-info-custom-alist):
16654 * cus-edit.el (face): Use new property :completions.
16655
16656 * progmodes/pascal.el (pascal-completions-at-point): New function.
16657 (pascal-mode): Use it.
16658 (pascal-mode-map): Use completion-at-point.
16659 (pascal-toggle-completions): Make obsolete.
16660 (pascal-complete-word, pascal-show-completions):
16661 * progmodes/octave-mod.el (octave-complete-symbol):
16662 Redefine as obsolete alias.
16663 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16664 Signal absence of completion info for old Octave,
16665 (inferior-octave-complete): Redefine as obsolete alias.
16666 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16667 (meta-completions-at-point): Rename from meta-complete-symbol and
16668 adapt it for use on completion-at-point-functions.
16669 (meta-common-mode): Use it.
16670 (meta-looking-at-backward, meta-match-buffer): Remove.
16671 (meta-complete-symbol): Redefine as obsolete alias.
16672 (meta-common-mode-map): Use completion-at-point.
16673 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16674 (makefile-mode-map): Use completion-at-point.
16675 (makefile-completions-at-point): Rename from makefile-complete and
16676 adapt it for use on completion-at-point-functions.
16677 (makefile-mode): Use it.
16678 (makefile-complete): Redefine as obsolete alias.
16679
aebf69c8
DD
166802011-06-20 Deniz Dogan <deniz@dogan.se>
16681
16682 * net/rcirc.el: Delete trailing whitespaces once and for all.
16683
bfbbb27d
DC
166842011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16685
16686 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16687
d264a46b
CY
166882011-06-19 Chong Yidong <cyd@stupidchicken.com>
16689
4ca009e5
CY
16690 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16691
d264a46b
CY
16692 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16693
fbf5b3ce
MR
166942011-06-19 Martin Rudalics <rudalics@gmx.at>
16695
16696 * window.el (display-buffer-other-window-means-other-frame):
16697 Call display-buffer-normalize-alist.
16698 (display-buffer-normalize-specifiers-1): Rename to
16699 display-buffer-normalize-argument. New argument other-frame.
16700 Rewrite.
16701 (display-buffer-normalize-specifiers-2): Rename to
16702 display-buffer-normalize-options.
16703 (display-buffer-normalize-alist-1): New function.
16704 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
16705 display-buffer-normalize-alist.
16706 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
16707 (display-buffer-normalize-options-inhibit): New variable.
16708 (display-buffer-normalize-specifiers): Rewrite calling
16709 display-buffer-normalize-alist,
16710 display-buffer-normalize-argument, and
16711 display-buffer-normalize-options. Don't call the latter if
16712 display-buffer-normalize-options-inhibit is non-nil.
16713 (frame-auto-delete): New option.
16714 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
16715 (window-list-no-nils, window-state-ignored-parameters)
16716 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
16717 (window-state-put-1, window-state-put-2, window-state-put):
16718 New functions.
9a028c23
MR
16719 (display-buffer-normalize-options): Move special-display-p group
16720 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 16721
6d10d800
CY
167222011-06-18 Chong Yidong <cyd@stupidchicken.com>
16723
6420d28b
CY
16724 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16725 groups (Bug#8776).
16726 (rx-submatch-n): New function.
16727 (rx): Document it.
16728
ddb8b596
CY
16729 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16730 (Bug#8768).
16731
16732 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16733
77080289
CY
16734 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16735
61dfb316
CY
16736 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16737 anytime existing face settings are present (Bug#8889).
16738
6d10d800
CY
16739 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16740 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16741 Remove unused argument.
16742
be3fb2b8
MR
167432011-06-18 Martin Rudalics <rudalics@gmx.at>
16744
bcd70d97
SM
16745 * window.el (display-buffer-default-specifiers):
16746 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
16747 pop-up-window-min-width, and another reuse-window specifier
16748 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
16749 (display-buffer-normalize-specifiers-2):
16750 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
16751 pop-up-windows is unset. Add a reuse-window specifier for the
16752 case popping up a new window fails.
16753 (special-display-popup-frame): Remove double quoting.
28dec25a 16754 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 16755
1c6d8c76
SM
167562011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16757
16758 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16759 according to comint-completion-addsuffix.
16760
16761 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16762 (pcomplete-suffix-list): Mark as obsolete.
16763 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16764 pcomplete-seen in the closure.
16765 (pcomplete-comint-setup): Setup completion-at-point as well.
16766 (pcomplete--entries): New function.
16767 (pcomplete--env-regexp): New var.
16768 (pcomplete-entries): Rewrite to work with partial-completion and
16769 without relying on pcomplete-suffix-list.
16770 (pcomplete-pare-list): Remove, unused.
16771
25aef8b8
MR
167722011-06-17 Martin Rudalics <rudalics@gmx.at>
16773
16774 * window.el (display-buffer-alist): Set pop-up-window-min-height
16775 and pop-up-window-min-width in default value. Reported by
16776 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16777 other-window-means-other-frame.
16778 (display-buffer-macro-specifiers): Comment out entry for
16779 other-window specifier.
16780 (display-buffer-other-window-means-other-frame): New function.
16781 (display-buffer-normalize-specifiers-1): New arguments
16782 buffer-name and label. Treat other-window case specially.
16783 (display-buffer-normalize-specifiers-2): Treat other-window case
16784 specially.
16785 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
16786 (display-buffer-normalize-specifiers):
16787 Call display-buffer-normalize-specifiers-3.
25aef8b8 16788
dbad4f69
MR
167892011-06-17 Martin Rudalics <rudalics@gmx.at>
16790
16791 * window.el (same-window-p): Fix two typos introduced when
16792 adding with-no-warnings.
d1067961
MR
16793 (display-buffer-normalize-specifiers-1): Don't check
16794 pop-up-frames for 'unset initialization.
16795 (display-buffer-normalize-specifiers-2): Major rewrite using
16796 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16797 (pop-up-frames, display-buffer-reuse-frames)
16798 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16799 Suggested by David Engster <deng@randomsample.de>.
16800 (even-window-heights): Initialize to 'unset.
16801 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
16802 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16803 other window case.
dbad4f69 16804
9b9c9e3a
MR
168052011-06-16 Martin Rudalics <rudalics@gmx.at>
16806
bcd70d97
SM
16807 * window.el (display-buffer-normalize-specifiers-1):
16808 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 16809 second argument of display-buffer (Bug#8865).
981d5c09
MR
16810 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16811 (switch-to-buffer-other-window-same-frame)
16812 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16813 Adams (Bug#8875).
9c2755e9
MR
16814 (display-buffer): Don't check noninteractive when calling
16815 display-buffer-pop-up-frame.
16816 (display-buffer-pop-up-frame): Never pop up a frame in
16817 noninteractive mode (Bug#8857).
67222e1d
MR
16818 (enlarge-window, shrink-window): Don't report an error when the
16819 window can't be resized as requested (Bug#8862).
9b9c9e3a 16820
2b75be67
SM
168212011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16822
9ffdd3ba
SM
16823 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16824
cb581a67
SM
16825 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16826
2b75be67
SM
16827 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16828
8c0e3589
AM
168292011-06-15 Alan Mackenzie <acm@muc.de>
16830
cb581a67
SM
16831 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16832 for declarators, disable knr checking to speed up for normal files.
16833 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 16834
b96e6cde
LMI
168352011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16836
4bba86e6
LMI
16837 * net/network-stream.el (open-network-stream): Add the keyword
16838 :always-query-capabilities for the case where you want to force a
16839 `plain' network connection, but the protocol still requires the
16840 capabilitiy command (i.e., SMTP and EHLO).
16841
2b75be67 16842 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
16843 consistency with other `-live-p' functions.
16844
efdcdbf8
SM
168452011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16846
16847 * window.el (same-window-buffer-names, same-window-regexps)
16848 (special-display-frame-alist, special-display-popup-frame)
16849 (special-display-function, special-display-buffer-names)
16850 (special-display-regexps, pop-up-frame-alist)
16851 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16852 (pop-up-windows, split-window-preferred-function)
16853 (split-height-threshold, split-width-threshold, even-window-heights)
16854 (display-buffer-mark-dedicated): Don't encourage the use of
16855 display-buffer-alist from Elisp code.
16856
c5cde042
DN
168572011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16858
16859 * progmodes/python.el (python-mode): Derive from prog-mode.
16860 * progmodes/ps-mode.el (ps-mode):
16861 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 16862 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
16863 * progmodes/ld-script.el (ld-script-mode): Likewise.
16864
baa1c9ab
MR
168652011-06-15 Martin Rudalics <rudalics@gmx.at>
16866
16867 * window.el (display-buffer-alist): Trim default value to avoid
16868 popping up a new frame (Bug#8857) or reusing an arbitrary window
16869 on another frame.
16870 (display-buffer): Do not fall back on popping up a new frame in
16871 batch mode (Bug#8857).
16872
c5dd5a51
CY
168732011-06-14 Chong Yidong <cyd@stupidchicken.com>
16874
16875 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16876 (custom-theme-summary): New function.
16877 (customize-themes): Use it.
16878
d647b7c4
GM
168792011-06-13 Glenn Morris <rgm@gnu.org>
16880
16881 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16882
9481c002
MR
168832011-06-13 Martin Rudalics <rudalics@gmx.at>
16884
357f93d2
MR
16885 * help.el (help-window): Remove variable.
16886 (help-window-point-marker, temp-buffer-max-height)
16887 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16888 (help-print-return-message): Don't set help-window.
16889 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16890 (help-window-setup-finish): Remove.
16891 (help-window-display-message, help-window-setup)
16892 (with-help-window): Major rewrite based on new
16893 display-buffer-window variable.
16894
16895 * help-mode.el (help-mode-finish): Remove help-window related
16896 code.
16897
16898 * view.el (view-exits-all-viewing-windows): Remove reference to
16899 view-return-to-alist in doc-string.
16900 (view-return-to-alist): Make obsolete.
16901 (view-buffer): Call pop-to-buffer-same-window and remove
16902 undo-window code.
16903 (view-buffer-other-window): Call pop-to-buffer-other-window and
16904 simplify code. Ignore second argument.
16905 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16906 simplify code. Ignore second argument.
16907 (view-return-to-alist-update): Make obsolete.
16908 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16909 Rewrite using quit-restore window parameters.
2b75be67
SM
16910 (view-mode-exit): Rename second argument to EXIT-ONLY.
16911 Rewrite using quit-restore-window.
357f93d2
MR
16912 (View-exit, View-exit-and-edit, View-leave, View-quit)
16913 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16914 appropriate arguments.
16915 (view-end-message): Use quit-restore window parameter.
16916
9481c002
MR
16917 * window.el (display-buffer-function): Rewrite doc-string.
16918 (display-buffer-window, display-buffer-alist): New variables.
16919 (display-buffer-split-specifiers)
16920 (display-buffer-side-specifiers)
16921 (display-buffer-macro-specifiers): New constants.
16922 (display-buffer-even-window-sizes, display-buffer-set-height)
16923 (display-buffer-set-width, display-buffer-select-window)
16924 (display-buffer-in-window, display-buffer-reuse-window)
16925 (display-buffer-split-window-1, display-buffer-split-window)
16926 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16927 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16928 (display-buffer-in-side-window, normalize-buffer-to-display)
16929 (display-buffer-normalize-specifiers-1)
16930 (display-buffer-normalize-specifiers-2)
2b75be67
SM
16931 (display-buffer-normalize-specifiers, display-buffer-frame):
16932 New functions.
9481c002
MR
16933 (display-buffer): Major rewrite.
16934 (display-buffer-other-window, display-buffer-other-frame)
16935 (pop-to-buffer, switch-to-buffer-other-window)
16936 (switch-to-buffer-other-frame): Rewrite.
16937 (display-buffer-same-window, display-buffer-same-frame)
16938 (display-buffer-same-frame-other-window)
16939 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16940 (pop-to-buffer-other-window)
16941 (pop-to-buffer-same-frame-other-window)
16942 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16943 (switch-to-buffer-other-window-same-frame): New functions.
16944 (same-window-p, special-display-p): Rewrite disabling warnings.
16945 Make obsolete.
16946 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16947 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16948 Make obsolete
16949 (same-window-buffer-names, same-window-regexps)
16950 (special-display-frame-alist, special-display-popup-frame)
16951 (special-display-function, special-display-buffer-names)
16952 (special-display-regexps, pop-up-frame-alist)
16953 (pop-up-frame-function, split-window-preferred-function)
16954 (split-height-threshold, split-width-threshold)
16955 (even-window-heights): Make obsolete.
16956
9db51aca
GM
169572011-06-12 Glenn Morris <rgm@gnu.org>
16958
16959 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 16960 Misc simplifications.
9db51aca 16961
39cffb44
MR
169622011-06-12 Martin Rudalics <rudalics@gmx.at>
16963
16964 * window.el (window-safely-shrinkable-p): Restore function which
16965 was inadvertently removed in change from 2011-06-11. Declare as
16966 obsolete.
16967
2b75be67
SM
16968 * calendar/calendar.el (calendar-generate-window):
16969 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
16970 window-safely-shrinkable-p.
16971
a8955be7
GM
169722011-06-12 Glenn Morris <rgm@gnu.org>
16973
16974 * progmodes/fortran.el (fortran-mode-syntax-table):
16975 * progmodes/f90.el (f90-mode-syntax-table):
16976 Set % to punctuation. (Bug#8820)
16977 (f90-find-tag-default): Remove, no longer needed.
16978
f0d4059d
DC
169792011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16980
16981 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16982
1100a63c
CY
169832011-06-11 Chong Yidong <cyd@stupidchicken.com>
16984
16985 * image.el (image-animated-p): Return animation delay in seconds.
16986 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16987 (image-animate-timeout): Remove DELAY argument. Don't assume
16988 every subimage has the same delay; get it from image-animated-p.
16989 (image-animate): Caller changed.
16990
def722bf
MA
169912011-06-11 Michael Albinus <michael.albinus@gmx.de>
16992
16993 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16994 to ignored backtrace functions.
16995
0a2bb1a9
GM
169962011-06-11 Glenn Morris <rgm@gnu.org>
16997
16998 * calendar/appt.el (appt-disp-window-function): Doc fix.
16999 (appt-check): Handle overlapping appointments. (Bug#8337)
17000
6198ccd0
MR
170012011-06-11 Martin Rudalics <rudalics@gmx.at>
17002
17003 * window.el (window-tree-1, window-tree): New functions, moving
17004 the latter to window.el.
17005 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17006 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17007 (bw-refresh-edges): Remove.
17008 (balance-windows-1, balance-windows-2): New functions.
17009 (balance-windows): Rewrite in terms of window tree functions,
17010 balance-windows-1 and balance-windows-2.
17011 (bw-adjust-window): Remove.
17012 (balance-windows-area-adjust): New function with functionality of
17013 bw-adjust-window but using resize-window.
2b75be67
SM
17014 (set-window-text-height): Rewrite doc-string.
17015 Use normalize-live-window and resize-window.
17016 (enlarge-window-horizontally, shrink-window-horizontally):
17017 Rename argument to DELTA.
6198ccd0
MR
17018 (window-buffer-height): New function.
17019 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17020 Rewrite using new window resize routines.
2b75be67
SM
17021 (kill-buffer-and-window, mouse-autoselect-window-select):
17022 Use ignore-errors instead of condition-case.
6198ccd0
MR
17023 (quit-window): Call delete-frame instead of delete-windows-on
17024 for the only buffer on frame.
17025
9397e56f
MR
170262011-06-10 Martin Rudalics <rudalics@gmx.at>
17027
17028 * loadup.el (top-level): Load window before files for the sake
17029 of replace-buffer-in-windows.
17030
17031 * files.el (read-buffer-to-switch)
17032 (switch-to-buffer-other-window)
2b75be67
SM
17033 (switch-to-buffer-other-frame, display-buffer-other-frame):
17034 Move to window.el.
9397e56f
MR
17035
17036 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17037 (previous-buffer): Move to window.el.
17038
17039 * bindings.el (unbury-buffer): Move to window.el.
17040
17041 * window.el (delete-other-windows-vertically): Move after
17042 definition of delete-other-windows.
17043 (other-window, delete-windows-on, replace-buffer-in-windows):
17044 Move here from window.c.
17045 (record-window-buffer, unrecord-window-buffer)
17046 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17047 (switch-to-next-buffer): New functions.
17048 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17049 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
17050 (previous-buffer): Move here from simple.el.
17051 Call switch-to-prev-buffer.
9397e56f
MR
17052 (bury-buffer): Move here from buffer.c. Switch to previous
17053 buffer when window cannot be deleted.
17054 (unbury-buffer): Move here from bindings.el.
17055 (ctl-x-map): Move binding for other-window from window.c to
17056 here.
17057 (read-buffer-to-switch, switch-to-buffer-other-window)
17058 (switch-to-buffer-other-frame): Move here from files.el.
17059 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
17060 (switch-to-buffer): Move here from buffer.c.
17061 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 17062
562dd5e9
MR
170632011-06-10 Martin Rudalics <rudalics@gmx.at>
17064
17065 * window.el (window-min-height, window-min-width): Move here
17066 from window.c. Add defcustoms and rewrite doc-strings.
17067 (resize-mini-window, resize-window): New functions.
17068 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17069 Move here from window.c.
17070 (maximize-window, minimize-window): New functions.
17071 (delete-window, delete-other-windows, split-window): Move here
17072 from window.c.
17073 (window-split-min-size): New function.
17074 (split-window-keep-point): Mention split-window-above-each-other
17075 instead of split-window-vertically.
2b75be67 17076 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
17077 Rename split-window-vertically to split-window-above-each-other
17078 and provide defalias for old definition.
17079 (split-window-side-by-side, split-window-horizontally):
17080 Rename split-window-horizontally to split-window-side-by-side
17081 and provide defalias for the old definition.
562dd5e9
MR
17082 (ctl-x-map): Move bindings for delete-window,
17083 delete-other-windows and enlarge-window here from window.c.
17084 Replace bindings for split-window-vertically and
17085 split-window-horizontally by bindings for
17086 split-window-above-each-other and split-window-side-by-side.
17087
17088 * cus-start.el (all): Remove entries for window-min-height and
17089 window-min-width. Add entries for window-splits and
17090 window-nest.
17091
f0da764a
GM
170922011-06-09 Glenn Morris <rgm@gnu.org>
17093
80675c21
GM
17094 * calendar/appt.el (appt-mode-line): New function.
17095 (appt-check, appt-disp-window): Use it.
17096
f0da764a
GM
17097 * files.el (hack-one-local-variable-eval-safep):
17098 Allow minor-modes with explicit +/-1 arguments.
17099
59f623b7
TZ
171002011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17101
17102 * term/xterm.el (xterm): Add defgroup.
17103 (xterm-extra-capabilities): Add defcustom to supply known xterm
17104 capabilities, skip querying them, or query them (default).
17105 (terminal-init-xterm): Use it.
17106 (terminal-init-xterm-modify-other-keys): New function to set up
17107 modifyOtherKeys support to simplify `terminal-init-xterm'.
17108
9aab8e0d
MR
171092011-06-09 Martin Rudalics <rudalics@gmx.at>
17110
17111 * window.el (resize-window-reset, resize-window-reset-1)
17112 (resize-subwindows-skip-p, resize-subwindows-normal)
17113 (resize-subwindows, resize-other-windows, resize-this-window)
17114 (resize-root-window, resize-root-window-vertically)
17115 (window-deletable-p, window-or-subwindow-p)
17116 (frame-root-window-p): New functions.
17117
e8b08aee
GM
171182011-06-09 Glenn Morris <rgm@gnu.org>
17119
17120 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17121 (ange-ftp-get-files): Use it.
17122
254c37a5
AK
171232011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17124
17125 * mail/sendmail.el (mail-recover-1, mail-recover):
17126 * files.el (recover-file, recover-session):
17127 Handle dired-listing-switches not being just a single short option.
17128
35d7dbd3
GM
171292011-06-09 Glenn Morris <rgm@gnu.org>
17130
17131 * calendar/appt.el (appt-display-message, appt-disp-window):
17132 Handle lists of appointments.
17133
387522b2
MR
171342011-06-08 Martin Rudalics <rudalics@gmx.at>
17135
2b75be67
SM
17136 * window.el (one-window-p): Move down in code.
17137 Rewrite doc-string.
17138 (window-current-scroll-bars): Rewrite doc-string.
17139 Normalize live window argument.
387522b2
MR
17140 (walk-windows, get-window-with-predicate, count-windows):
17141 Rewrite doc-string. Use window-list-1.
17142 (window-in-direction-2, window-in-direction, get-mru-window):
17143 New functions.
17144
d8e4b68b 171452011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
17146
17147 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17148 Doc fix (Bug#8713).
17149
171502011-06-08 Chong Yidong <cyd@stupidchicken.com>
17151
17152 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17153
171542011-06-08 Juanma Barranquero <lekktu@gmail.com>
17155
17156 * loadhist.el (unload-feature-special-hooks):
17157 Add `comint-output-filter-functions'.
17158
0de12c52
IK
171592011-06-08 Ivan Kanis <gnu@kanis.fr>
17160
17161 * calendar/appt.el (appt-check): Move some initializations into the let.
17162
f3d1777e
MR
171632011-06-08 Martin Rudalics <rudalics@gmx.at>
17164
17165 * window.el (window-height): Defalias to window-total-height.
17166 (window-width): Defalias to window-body-width.
17167
18af70d0
CY
171682011-06-07 Chong Yidong <cyd@stupidchicken.com>
17169
17170 * image-mode.el (image-toggle-animation): New command.
17171 (image-mode-map): Bind it to RET.
17172 (image-mode): Update message.
17173 (image-toggle-display-image): Avoid a spurious cache flush.
17174 (image-transform-rotation): Doc fix.
17175 (image-transform-properties): Return quickly in the normal case.
17176 (image-animate-loop): Rename from image-animate-max-time.
17177
2b75be67 17178 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
17179 (create-animated-image): Remove unnecessary function.
17180 (image-animate): Rename from image-animate-start. New arg.
2b75be67 17181 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
17182 (image-animate-timer): Use car-safe.
17183 (image-animate-timeout): Rename argument.
17184
190b47e6
MR
171852011-06-07 Martin Rudalics <rudalics@gmx.at>
17186
17187 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
17188 window.c. Rename first argument to ALL-FRAMES.
17189 Rephrase doc-strings.
17190 (get-buffer-window-list): Rewrite using window-list-1.
17191 Rephrase doc-string.
a1511caf
MR
17192 (window-safe-min-height, window-safe-min-width): New constants.
17193 (window-size-ignore, window-min-size, window-min-size-1)
17194 (window-sizable, window-sizable-p, window-size-fixed-1)
17195 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17196 (window-max-delta-1, window-max-delta, window-resizable)
17197 (window-resizable-p, window-total-height, window-total-width)
17198 (window-body-width): New functions.
17199 (window-full-height-p, window-full-width-p): Rewrite using
17200 window-total-size.
17201 (window-body-height): Rewrite using window-body-size.
190b47e6 17202
85cc1f11
MR
172032011-06-06 Martin Rudalics <rudalics@gmx.at>
17204
17205 * window.el (window-right, window-left, window-child)
17206 (window-child-count, window-last-child, window-any-p)
17207 (normalize-live-buffer, normalize-live-frame)
17208 (normalize-any-window, normalize-live-window)
17209 (window-iso-combination-p, window-iso-combined-p)
17210 (window-iso-combinations)
17211 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17212 (windows-with-parameter, window-with-parameter)
17213 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
17214 (window-atom-check, window-side-check, window-check):
17215 New functions.
85cc1f11
MR
17216 (ignore-window-parameters, window-sides, window-sides-vertical)
17217 (window-sides-slots): New variables.
17218 (window-size-fixed): Move down in code. Minor doc-string fix.
17219
e7156492
AS
172202011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17221
17222 * comint.el (comint-dynamic-complete-as-filename)
17223 (comint-dynamic-complete-filename): Correctly call
17224 completion-in-region.
17225
7e821d0d
DD
172262011-06-05 Deniz Dogan <deniz@dogan.se>
17227
17228 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17229 in last change.
17230
ac09b8a1
DD
172312011-06-05 Deniz Dogan <deniz@dogan.se>
17232
17233 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17234 (rcirc): Use it to prompt for encryption.
17235
34699b85
RW
172362011-06-05 Roland Winkler <winkler@gnu.org>
17237
17238 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17239 (bibtex-search-entries): New command bound to C-c C-a.
17240 (bibtex-display-entries): New function.
17241
004dedd3
RW
172422011-06-05 Roland Winkler <winkler@gnu.org>
17243
17244 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17245 (bibtex-insert-kill): After yanking insert newline if necessary.
17246 (bibtex-initialize): Call bibtex-string-files-init only once.
17247 (bibtex-mode): Do not call easy-menu-add.
17248 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17249 (bibtex-yank): Set arg properly if nil.
17250
022fe7ce
RW
172512011-06-05 Roland Winkler <winkler@gnu.org>
17252
2b75be67
SM
17253 * textmodes/bibtex.el (bibtex-search-entry-globally):
17254 New variable.
022fe7ce
RW
17255 (bibtex-search-entry): Use it.
17256
b7c3692a
RW
172572011-06-05 Roland Winkler <winkler@gnu.org>
17258
17259 * textmodes/bibtex.el (bibtex-entry-format): New option
17260 sort-fields.
17261 (bibtex-format-entry, bibtex-reformat): Honor this option.
17262 (bibtex-parse-entry): Return fields in proper order.
17263
8eda563d
JB
172642011-06-05 Juanma Barranquero <lekktu@gmail.com>
17265
17266 * doc-view.el (doc-view-remove-if): Move computation of result out
17267 of `dolist' to silence misleading lexical-binding warning.
17268
7dbe3dbc
CY
172692011-06-04 Chong Yidong <cyd@stupidchicken.com>
17270
17271 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17272 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17273
0c33dd17
MA
172742011-06-04 Michael Albinus <michael.albinus@gmx.de>
17275
17276 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17277 "SunOS 5.10".
17278
f8f91c2b
MA
172792011-06-04 Michael Albinus <michael.albinus@gmx.de>
17280
17281 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17282 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17283 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17284 (tramp-parse-putty):
17285 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17286 (tramp-completion-function-alist-ssh)
17287 (tramp-completion-function-alist-telnet)
17288 (tramp-completion-function-alist-su)
17289 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17290 cookie.
17291
17292 * net/tramp-ftp.el:
17293 * net/tramp-sh.el:
17294 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17295 load "tramp.el" `tramp-set-completion-function'.
17296
e17d9003
SM
172972011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17298
17299 * shell.el: Require and use pcomplete.
17300 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17301 (shell-completion-vars): Set pcomplete-default-completion-function.
17302
6c4cab03
DD
173032011-06-04 Deniz Dogan <deniz@dogan.se>
17304
17305 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17306 `memq' (Bug#8799).
17307
ea9fafe0
SM
173082011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17309
17310 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17311
b3e945d3
JB
173122011-06-02 Juanma Barranquero <lekktu@gmail.com>
17313
17314 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17315 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17316 * vc/log-view.el (log-view-beginning-of-defun):
17317 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17318 (smerge-refine-forward, smerge-refine-chopup-region):
17319 Silence warning for unused `dotimes' counter variables.
17320
7d520089
SM
173212011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17322
17323 * net/tramp.el (tramp-with-progress-reporter): Rename from
17324 with-progress-reporter. Use `declare'.
17325 * net/tramp-smb.el:
17326 * net/tramp-sh.el:
17327 * net/tramp-gvfs.el: Update all uses.
17328
a1c2400f
JB
173292011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17330
17331 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17332 buffer isn't killed before making it current.
17333
2403c841
SM
173342011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17335
17336 Silence various byte-compiler warnings.
17337 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17338 `access-type' and new obsolescence format.
17339 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17340 new format.
17341 (byte-compile-check-variable): New `access-type' argument.
17342 Only warn if the access-type is obsolete.
17343 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17344 (byte-compile-variable-set): Adjust callers.
17345 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17346 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17347 setting it as obsolete.
17348 * simple.el (minibuffer-completing-symbol):
17349 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17350 access as obsolete.
17351 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17352 obsolete yet.
17353 * international/quail.el (quail-mouse-choose-completion): Remove unused
17354 code referring to obsolete var.
17355 (quail-choose-completion-string): Remove.
17356 * server.el (server-clients-with, server-kill-buffer-query-function)
17357 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17358 * proced.el (proced-send-signal):
17359 * emacs-lisp/lisp.el (lisp-complete-symbol):
17360 Replace completion-annotate-function with completion-extra-properties.
17361
2462470b
SM
173622011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17363
fb5b2591
SM
17364 * simple.el (goto-line): Use read-number.
17365 (overriding-map-is-bound): Remove.
17366 (saved-overriding-map): Change default.
17367 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17368 Take the map as argument.
17369 (universal-argument, negative-argument, digit-argument): Use it.
17370 (restore-overriding-map): Adjust.
17371 (do-auto-fill): Use fill-forward-paragraph.
17372 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17373
fd6fa53f
SM
17374 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17375 (minibuffer-inactive-mode): New major mode.
17376 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17377 the *Messages* buffer" hack.
17378 (mouse-popup-menubar): Don't burp if the event is a normal key.
17379
2462470b
SM
17380 Miscellaneous tweaks.
17381 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17382 lexical scoping as in subr.el's dolist and dotimes.
17383 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17384 Silence compiler warning.
17385 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17386 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17387 * international/ccl.el (ccl-compile): Trivial simplification.
17388 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17389 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17390 `printflag' argument.
17391 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17392 Purecopy the whole obsolescence data.
17393
108bf785
LL
173942011-06-01 Leo Liu <sdl.web@gmail.com>
17395
17396 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17397 improve doc-string as suggested by Marco Pessotto
17398 <melmothx@gmail.com>.
17399 (rcirc-print): Fix last change.
17400
30a23501
SM
174012011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17402
17403 * minibuffer.el (complete-with-action): Return nil for the metadata and
17404 boundaries of non-functional tables.
17405 (completion-table-dynamic): Return nil for the metadata.
17406 (completion-table-with-terminator): Add default case, using
17407 complete-with-action.
17408 (completion--metadata): New function.
17409 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17410 to try and avoid pathological performance problems.
17411 (completion--embedded-envvar-table): Return `category' metadata.
17412
bcd54f83
LMI
174132011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17414
17415 * subr.el (process-alive-p): New tiny convenience function.
17416
e227544d
SM
174172011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17418
17419 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17420 content but also its previous major mode.
17421
e8296fdc
HE
174222011-05-31 Helmut Eller <eller.helmut@gmail.com>
17423
4d61f28d 17424 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
17425 *Backtrace* buffer when we exit with C-M-c.
17426
620c53a6
SM
174272011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17428
17429 * minibuffer.el: Add metadata method to completion tables.
17430 (completion-category-overrides): New defcustom.
17431 (completion-metadata, completion--field-metadata)
17432 (completion-metadata-get, completion--styles)
17433 (completion--cycle-threshold): New functions.
17434 (completion-try-completion, completion-all-completions):
17435 Add `metadata' argument to choose completion-styles.
17436 (completion--do-completion): Use metadata to choose cycling.
17437 (completion-all-sorted-completions): Use metadata for sorting.
17438 Remove :completion-cycle-penalty which is not needed any more.
17439 (completion--try-word-completion): Add `metadata' argument.
17440 (minibuffer-completion-help): Check metadata for annotation function
17441 and sorting.
17442 (completion-file-name-table): Return `category' metadata.
17443 (minibuffer-completing-file-name): Make obsolete.
17444 * simple.el (minibuffer-completing-symbol): Make obsolete.
17445 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17446 completion-try-completion.
17447
1257e755
SM
174482011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17449
17450 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17451
3767e706
LL
174522011-05-30 Leo Liu <sdl.web@gmail.com>
17453
17454 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
17455 (rcirc-print): Decode all incoming messages (bug#8744).
17456 (rcirc-decode-coding-system): Allow value nil for automatic coding
17457 system detection.
3767e706 17458
d1a5d56a
GM
174592011-06-01 Glenn Morris <rgm@gnu.org>
17460
17461 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17462
e8cbec34
CY
174632011-05-29 Chong Yidong <cyd@stupidchicken.com>
17464
17465 * image.el (image-animate-max-time): Allow nil and t values.
17466 Default to nil.
17467 (create-animated-image): Doc fix.
17468 (image-animate-start): Remove second arg; just use
17469 image-animate-max-time.
17470 (image-animate-timeout): Doc fix. Args changed.
17471
17472 * image-mode.el (image-toggle-display-image): Ensure that the
17473 image spec passed to the animate timer is the same object as in
58179cce 17474 the buffer's display property (Bug#6981).
e8cbec34
CY
17475 (image-transform-properties): Doc fix.
17476
17477 * image.el (image-animate-max-time): Default to nil.
17478
159daf87
MR
174792011-05-29 Martin Rudalics <rudalics@gmx.at>
17480
17481 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17482 entire buffer list (Bug#8184).
17483
d66c4c7c
CY
174842011-05-29 Chong Yidong <cyd@stupidchicken.com>
17485
17486 * image.el (imagemagick-types-inhibit)
17487 (imagemagick-register-types): Doc fix.
17488
80aec780
DD
174892011-05-29 Deniz Dogan <deniz@dogan.se>
17490
17491 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17492 default.
17493
1dd3c2d9
CY
174942011-05-29 Chong Yidong <cyd@stupidchicken.com>
17495
17496 * select.el: Don't perform clipboard-manager saving in hooks;
17497 leave the hooks empty.
17498
60e56523
LL
174992011-05-28 Leo Liu <sdl.web@gmail.com>
17500
17501 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17502 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17503 (occur-edit-mode): New major mode (Bug#8463).
17504 (occur-after-change-function): New function.
17505 (occur-engine): Give Occur tags a read-only property.
17506
2b1e1a22
KR
175072011-05-28 Kevin Ryde <user42@zip.com.au>
17508
17509 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17510
5d344e88
CY
175112011-05-28 Chong Yidong <cyd@stupidchicken.com>
17512
8e6ca83d
CY
17513 * bindings.el (help-echo): Make the initial non-indicator dash
17514 empty on graphical terminals (Bug#7295).
17515
5d344e88
CY
17516 * files.el (auto-mode-alist): Move config rule after the
17517 in-stripping one (Bug#8547).
17518
bfbbace7
CY
17519 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17520
fbeba6e2
CY
17521 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17522 setting (Bug#8740).
17523
60ed8c72
AA
175242011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17525
4ac619f0
AA
17526 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17527 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17528 (Bug#8539).
60ed8c72 17529
23db196e
CY
175302011-05-28 Chong Yidong <cyd@stupidchicken.com>
17531
17532 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17533
5012f24c
DK
175342011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17535
17536 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17537 (hs-hide-block-at-point, hs-find-block-beginning)
17538 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17539 (Bug#8279).
17540
6a639b16
GM
175412011-05-28 Glenn Morris <rgm@gnu.org>
17542
17543 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17544
d43eaf2c
CY
175452011-05-28 Chong Yidong <cyd@stupidchicken.com>
17546
5199bde1
CY
17547 * help-fns.el (describe-function-1): If the function is a derived
17548 major mode, print the parent mode.
17549
d43eaf2c
CY
17550 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17551 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17552
423428a8
SM
175532011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17554
0ff8e1ba 17555 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 17556 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
17557 * progmodes/etags.el (tags-completion-at-point-function):
17558 * info-look.el (info-lookup-completions-at-point): Mark as
17559 non-exclusive.
17560 (info-complete): Adjust accordingly.
17561
423428a8
SM
17562 * info-look.el: Convert to lexical-binding and completion-at-point.
17563 (info-lookup-completions-at-point): New function.
17564 (info-complete): Use it and completion-in-region.
17565
b74aa22b
DA
175662011-05-28 Drew Adams <drew.adams@oracle.com>
17567
17568 * isearch.el: Let M-e start with point at the first mismatched char.
17569 (isearch-fail-pos): New function.
17570 (isearch-edit-string): Use it.
17571
66e2e71d
DK
175722011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17573
17574 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17575
b1890b0f 175762011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
17577
17578 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17579 traversal functions for avl-trees.
17580 (avl-tree--stack): New struct.
17581 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17582 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
17583 (avl-tree--do-enter): Add optional `updatefun' arg.
17584 Change return value.
eb95d01d 17585 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
17586 (avl-tree--do-delete): Add `test' and `nilflag' args.
17587 Change return value.
eb95d01d
TC
17588 (avl-tree-member): Add optional `nilflag'
17589 (avl-tree-member-p): New function.
17590 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17591 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17592 (avl-tree-stack-empty-p): New functions.
17593
3769ddcf
TC
17594 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17595 avl-tree--del-balance1 and make it work both ways.
17596 (avl-tree--del-balance2): Remove.
17597 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17598 make it work both ways.
17599 (avl-tree--enter-balance2): Remove.
17600 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17601 New macros.
17602 (avl-tree--mapc, avl-tree-map): Add direction argument.
17603
eb95d01d 176042011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
17605
17606 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17607
a9f737ee
CY
176082011-05-27 Chong Yidong <cyd@stupidchicken.com>
17609
17610 * select.el: Support clipboard managers with built-in function
17611 x-clipboard-manager-save, via delete-frame-functions and
17612 kill-emacs-hook.
17613 (xselect-convert-to-targets): Add MULTIPLE target to list.
17614 (xselect-convert-to-save-targets): New function.
17615
c92a1e54
KH
176162011-05-27 Kenichi Handa <handa@m17n.org>
17617
17618 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17619 let-binding rfc2047-encode-encoded-words to nil.
17620
e145f188
GM
176212011-05-27 Glenn Morris <rgm@gnu.org>
17622
5ec8a862
GM
17623 * mail/emacsbug.el: Don't require url-util.
17624
4b29d9fb
GM
17625 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17626
e145f188
GM
17627 * files.el (set-auto-mode):
17628 Also respect mode: entries at the end of the file. (Bug#8586)
17629
7d15102b
GM
176302011-05-26 Glenn Morris <rgm@gnu.org>
17631
98f593b8
GM
17632 * files.el (hack-local-variables-prop-line, hack-local-variables):
17633 Downcase mode names, as seems to be traditional.
27b48e63 17634 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 17635
7d15102b
GM
17636 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17637 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17638
51d5b4ec
JD
176392011-05-25 Julien Danjou <julien@danjou.info>
17640
17641 * textmodes/rst.el (rst-define-level-faces): Do not define face
17642 symbol if it is already defined.
17643
91513f63
VB
176442011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17645
17646 * play/5x5.el (5x5-new-game, 5x5-randomize):
17647 Reset 5x5-solver-output to nil when a new grid is cast.
17648 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17649 these debugging traces, as defmacro breaks the compiled code.
17650
4d90d6d0
DK
176512011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17652
17653 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17654
e1b90ef6
LL
176552011-05-24 Leo Liu <sdl.web@gmail.com>
17656
17657 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17658 (vc-bzr-sha1): Adapt.
17659
d8e4b68b 17660 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
17661
17662 * bindings.el: Provide sha1 feature.
17663
db0406bb 176642011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
17665
17666 * mail/sendmail.el: Require `rfc2047'.
17667 (mail-insert-from-field): Do not perform RFC2047 encoding.
17668 (mail-encode-header): New function.
17669 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
17670 buffer to the return value of select-message-coding-system.
17671 Call mail-encode-header.
b8d747b9
KH
17672
17673 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17674
db0406bb 176752011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 17676
4d90d6d0
DK
17677 * mail/supercite.el (sc-default-cite-frame):
17678 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 17679
eb8a5e9b
GM
176802011-05-24 Glenn Morris <rgm@gnu.org>
17681
f8630703
GM
17682 * progmodes/python.el (brm-menu): Declare.
17683
8831bbed
GM
17684 * emulation/viper.el (viper-set-hooks): Declare.
17685
eb8a5e9b
GM
17686 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17687 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17688 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17689 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17690 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17691 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17692
a2a25d24
SM
176932011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17694
17695 Add an :exit-function for completion-at-point.
17696
17697 * minibuffer.el (completion--done): New fun.
17698 (completion--do-completion): Use it. New arg `expect-exact'.
17699 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17700 since completion--do-completion does it for us now.
17701 (minibuffer-force-complete): Use completion--done and
17702 completion--replace. Handle sole-completion case with more care.
17703 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17704 (completion-extra-properties): New var.
17705 (completion-annotate-function): Make obsolete.
17706 (minibuffer-completion-help): Adjust accordingly.
17707 Use completion-list-insert-choice-function.
17708 (completion-at-point, completion-help-at-point):
17709 Bind completion-extra-properties.
17710 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17711 * simple.el (completion-list-insert-choice-function): New var.
17712 (completion-setup-function): Preserve it.
17713 (choose-completion): Pay attention to it, shuffle the code a bit.
17714 (choose-completion-string): New arg `insert-function'.
17715
17716 * textmodes/bibtex.el: Convert to lexical binding.
17717 (bibtex-mode-map): Use completion-at-point.
17718 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17719 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17720 (bibtex-complete): Define as obsolete alias.
17721 (bibtex-complete-internal): Remove.
17722 (bibtex-format-entry): Remove unused sub-group in regexp.
17723 * shell.el (shell--command-completion-data)
17724 (shell-environment-variable-completion):
17725 * pcomplete.el (pcomplete-completions-at-point):
17726 * comint.el (comint--complete-file-name-data): Use :exit-function
17727 instead of completion-table-with-terminator so it also works for
17728 choose-completion.
17729
e44e373d
SM
177302011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17731
4f91a816
SM
17732 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17733
782fc819
SM
17734 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17735 (bug#8710).
17736
e44e373d
SM
17737 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17738
381987c3
KM
177392011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17740
17741 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17742 customization variable and implement: If non-nil, auto-fill will
17743 be inhibited while on topic's header line.
17744
b776bc70
VB
177452011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17746
17747 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 17748 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
17749 always have a solution in grid size = 5 cases.
17750 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17751 (5x5-solver-output, 5x5-log-buffer): New vars.
17752 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17753 Make these variables buffer local to achieve 5x5 multi-session-ness.
17754 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17755 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17756 (5x5-solve-suggest): New funs.
17757 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17758 randomize a grid so that we ensure that there is always a solution.
17759 (5x5-make-random-grid): Allow other movement than flipping.
17760
7de88b6e
KR
177612011-05-23 Kevin Ryde <user42@zip.com.au>
17762
17763 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 17764 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
17765 advice and passes PREDICATE.
17766
b1ef1257
SM
177672011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17768
bbca48fe
SM
17769 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17770 byte-compile-lambda if it's actually a lambda.
17771
b1ef1257
SM
17772 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17773 Fix function quoting. Use backquote better.
17774
92a9cc65
YS
177752011-05-22 Yuanle Song <sylecn@gmail.com>
17776
17777 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17778 matching (Bug#8516).
17779
f0fb8059
JA
177802011-01-22 Jari Aalto <jari.aalto@cante.net>
17781
17782 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17783 different face (Bug#8178).
17784
d5b44c93
CY
177852011-05-22 Chong Yidong <cyd@stupidchicken.com>
17786
17787 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17788 defface (Bug#8144).
17789
79106a44
SM
177902011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17791
9c848d8a
SM
17792 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17793 funcall as well (bug#8712). Warn when performing those conversions.
17794 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17795
79106a44
SM
17796 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17797
88dfa756
GM
177982011-05-22 Glenn Morris <rgm@gnu.org>
17799
17800 * files.el (hack-local-variables-prop-line): Small simplifications.
17801 (hack-local-variables, hack-local-variables-prop-line):
17802 If MODE-ONLY, return the mode, rather than just `t'.
17803
b7cf2c79
SM
178042011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17805
17806 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17807
3f1a8558
GM
178082011-05-21 Glenn Morris <rgm@gnu.org>
17809
7e4ccca3
GM
17810 * files.el (hack-local-variables-prop-line, hack-local-variables):
17811 If only interested in the mode, don't bother doing the other stuff.
17812
637d46ca
GM
17813 * image-mode.el (image-after-revert-hook):
17814 Redraw all frames on which the image is visible. (Bug#8567)
17815
973d955b
GM
17816 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17817
3f1a8558
GM
17818 * wid-edit.el (widget-checklist-match-inline):
17819 Fix 2011-04-19 change. (Bug#8649)
17820
96479927
SM
178212011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17822
1dcf791f
SM
17823 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17824 Also allow singlespace after single-letter capitals followed by a dot.
17825
96479927
SM
17826 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17827 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17828
35fd0881
N
178292011-05-20 Nix <nix@esperi.org.uk>
17830
17831 * files.el (basic-save-buffer-2):
17832 Fix handling of break-hardlink-on-save with non-existent files.
17833
82745640
DD
178342011-05-19 Deniz Dogan <deniz@dogan.se>
17835
17836 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 17837 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 17838
4a720484
GM
178392011-05-19 Glenn Morris <rgm@gnu.org>
17840
d1f21341
GM
17841 * progmodes/f90.el (f90-type-def-re):
17842 Handle "type, bind(c)". (Bug#8691)
17843
4a720484
GM
17844 * emacs-lisp/autoload.el (batch-update-autoloads):
17845 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17846
2fb0a219
MA
178472011-05-18 Michael Albinus <michael.albinus@gmx.de>
17848
17849 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17850 property for the correct connection in case of multihops.
17851
e565dd37
GM
178522011-05-18 Glenn Morris <rgm@gnu.org>
17853
c2571358 17854 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
17855 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17856
e565dd37
GM
17857 Rationalize calendar handling of day and month abbrev-arrays.
17858 * calendar/calendar.el (calendar-customized-p): New function.
17859 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17860 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17861 Add :set function.
17862 (calendar-abbrev-length, calendar-day-abbrev-array)
17863 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17864 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17865 Elements may no longer be nil.
17866 (calendar-day-name, calendar-month-name):
17867 Update for changed nature of abbrev arrays.
17868 * calendar/diary-lib.el (diary-name-pattern):
17869 Update for changed nature of abbrev arrays.
17870 (diary-mark-entries-1): Update calendar-make-alist calls.
17871 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17872 * calendar/cal-html.el (cal-html-day-abbrev-array):
17873 Simply inherit from calendar-day-abbrev-array.
17874
1d99a745
SM
178752011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17876
17877 * progmodes/grep.el (grep-mode): Disable default
17878 compilation-directory-matcher setting (bug#8684).
17879
7c1d9aa0
MA
178802011-05-17 Michael Albinus <michael.albinus@gmx.de>
17881
17882 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17883 instead of "head" and "tail". There were problems with SunOS 5.9,
17884 and it performs better.
17885
3952e9d8
GM
178862011-05-17 Glenn Morris <rgm@gnu.org>
17887
2dd12e7f
GM
17888 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17889
e4157b9c
GM
17890 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17891 Replace obsolete function.
17892
8e249bbd
GM
17893 * shell.el (pcomplete-parse-arguments-function): Declare.
17894
3952e9d8
GM
17895 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17896 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17897 (appt-check): Doc fixes.
17898 (appt-disp-window-function, appt-delete-window-function):
17899 Remove needless special case in custom :type.
17900 (appt-display-count): Default to 0, not nil.
17901 (appt-check): Reset appt-display-count to 0, not nil.
17902
c71a0d48 179032011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 17904
c71a0d48
GM
17905 * progmodes/python.el (python-font-lock-keywords):
17906 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 17907
31d55be9
SM
179082011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17909
17910 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17911
3bfacb2f
KR
179122011-05-16 Kevin Ryde <user42@zip.com.au>
17913
17914 * info-look.el (makefile-automake-mode): New setups, looking in
17915 automake manual, then makefile-mode.
17916 (makefile-mode): Remove automake manual, have it just in
17917 makefile-automake-mode since there's various things different or
17918 not relevant to plain make.
17919 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17920 believe a hypothetical automake-mode would go to makefile-mode,
17921 not the other way around.
17922
c8e83751
CY
179232011-05-15 Chong Yidong <cyd@stupidchicken.com>
17924
5e9e35cd
CY
17925 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17926 hunk-end tags (Bug#8672).
17927
c8e83751
CY
17928 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17929 vc-annotate-show-diff-revision-at-line (Bug#8671).
17930
50b23e5a
GM
179312011-05-14 Glenn Morris <rgm@gnu.org>
17932
7210a739
GM
17933 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17934 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
17935 (change-log-font-lock-keywords): Also handle multiple author lines
17936 with leading tabs. (Bug#8644)
7210a739 17937
4691905a
GM
17938 * calendar/appt.el (appt-check): Rename some local variables.
17939 Some simplification/reordering.
17940
50b23e5a
GM
17941 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17942 (feedmail-sendmail-f-doesnt-sell-me-out)
17943 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17944 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17945 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
17946 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17947 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
17948 (feedmail-binmail-gnulinuxish-template):
17949 Rename from feedmail-binmail-linuxish-template.
17950 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17951 Use insert-buffer-substring.
17952
215cda7c
BC
179532011-05-14 Bill Carpenter <bill@carpenter.org>
17954
17955 * mail/feedmail.el (feedmail-patch-level): Increase.
17956 (feedmail-debug): New custom group.
17957 (feedmail-confirm-outgoing-timeout)
17958 (feedmail-sendmail-f-doesnt-sell-me-out)
17959 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17960 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17961 (feedmail-sender-line, feedmail-from-line)
17962 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 17963 (feedmail-spray-this-address)
215cda7c
BC
17964 (feedmail-spray-address-fiddle-plex-list)
17965 (feedmail-queue-use-send-time-for-date)
17966 (feedmail-queue-use-send-time-for-message-id)
17967 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17968 (feedmail-buffer-eating-function):
17969 Doc fixes.
17970 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17971 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17972 (feedmail-message-action-scroll-down): New functions.
17973 (feedmail-queue-directory, feedmail-queue-draft-directory):
17974 Use expand-file-name.
17975 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17976 Remove C-v help entry.
17977 (feedmail-queue-buffer-file-name): New variable.
17978 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17979 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17980 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17981 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17982 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17983 (feedmail-message-action-toggle-spray)
17984 (feedmail-run-the-queue-no-prompts)
17985 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17986 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17987 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17988 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17989 (feedmail-envelope-deducer, feedmail-fiddle-from)
17990 (feedmail-fiddle-sender, feedmail-default-date-generator)
17991 (feedmail-fiddle-date, feedmail-fiddle-message-id)
17992 (feedmail-fiddle-spray-address)
17993 (feedmail-fiddle-list-of-spray-fiddle-plexes)
17994 (feedmail-fiddle-list-of-fiddle-plexes)
17995 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17996 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17997 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17998 Change default. Doc fix.
17999 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18000 (feedmail-binmail-linuxish-template): New constant.
18001 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18002 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18003 (feedmail-send-it): Add debug call.
18004 Use feedmail-queue-buffer-file-name, and
18005 feedmail-send-it-immediately-wrapper.
18006 (feedmail-message-action-send): Add debug call.
18007 Use feedmail-send-it-immediately-wrapper.
18008 (feedmail-queue-express-to-queue): Add debug call.
18009 Run feedmail-queue-express-hook.
18010 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18011 (feedmail-message-action-help-blat):
18012 Rename from feedmail-queue-send-edit-prompt-help-first.
18013 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18014 Check line-endings. Handle errors better.
18015 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18016 Doc fix. Add debug call.
18017 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18018 Use feedmail-queue-send-edit-prompt-inner.
18019 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18020 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18021 from feedmail-queue-send-edit-prompt.
18022 (feedmail-queue-send-edit-prompt-help)
18023 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18024 (feedmail-tidy-up-slug): Add debug call.
18025 Respect feedmail-queue-slug-suspect-regexp.
18026 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18027 (feedmail-dump-message-to-queue): Add debug call.
18028 Expand queue-directory.
18029 (feedmail-dump-message-to-queue): Change message slightly.
18030 Use feedmail-say-chatter.
18031 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18032 (feedmail-send-it-immediately-wrapper): New function.
18033 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18034 Insert empty string rather than newline. Handle full-frame case.
18035 Use catch/throw. Use feedmail-say-chatter.
18036 (feedmail-fiddle-from): Try mail-host-address.
18037 (feedmail-default-message-id-generator): Doc fix.
18038 Bind system-time-locale. Handle missing end.
18039 (feedmail-fiddle-x-mailer): Add debug call.
18040 Handle feedmail-x-mailer-line being nil.
18041 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18042 Add debug call. Use buffer-substring-no-properties.
18043 (feedmail-say-debug, feedmail-say-chatter): New functions.
18044 (feedmail-find-eoh): Give an explicit error.
18045
42c7e61e
UJ
180462011-05-13 Ulf Jasper <ulf.jasper@web.de>
18047
c2571358 18048 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 18049 family from helvetica to sans.
c2571358 18050 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18051 etc/images/newsticker.
18052
c2571358 18053 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
18054 family from helvetica to sans.
18055
18056 * net/newst-plainview.el (newsticker-new-item-face)
18057 (newsticker-old-item-face, newsticker-immortal-item-face)
18058 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 18059 (newsticker-statistics-face): Change default family from
42c7e61e 18060 helvetica to sans.
c2571358 18061 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18062 etc/images/newsticker.
18063
5d3385a0
JB
18064 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18065 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
18066 auto-marking.
18067
8497a297
DV
180682011-05-13 Didier Verna <didier@xemacs.org>
18069
18070 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
18071 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18072 TODO entries.
8497a297
DV
18073 (lisp-lambda-list-keyword-parameter-indentation)
18074 (lisp-lambda-list-keyword-parameter-alignment)
18075 (lisp-lambda-list-keyword-alignment): New customizable user options.
18076 (lisp-indent-defun-method): Improve docstring.
18077 (extended-loop-p): Fix comment.
18078 (lisp-indent-lambda-list-keywords-regexp): New variable.
18079 (lisp-indent-lambda-list): New function.
18080 (lisp-indent-259): Use it.
18081 (lisp-indent-defmethod): Support for more than one
18082 method qualifier and properly indent methods lambda-lists.
18083 (defgeneric): Provide a missing common-lisp-indent-function property.
18084
f278f87f
SM
180852011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18086
18087 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18088 bounds for the empty string (bug#8667).
18089
5233edd7
GM
180902011-05-13 Glenn Morris <rgm@gnu.org>
18091
5237a44f
GM
18092 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18093
8340026c 18094 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 18095 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 18096
5233edd7 18097 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 18098 (appt-time-msg-list): Doc fix.
a5464014 18099 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 18100
92d10796
AS
181012011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18102
18103 * progmodes/ld-script.el (ld-script-keywords)
18104 (ld-script-builtins): Update keywords list.
18105
914a0ae1
SM
181062011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18107
c89be45f
SM
18108 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18109
914a0ae1
SM
18110 * shell.el (shell-completion-vars): New function.
18111 (shell-mode):
18112 * simple.el (read-shell-command): Use it.
18113 (blink-matching-open): No need for " [...]" in minibuffer-message.
18114
98dc3df3
GM
181152011-05-12 Glenn Morris <rgm@gnu.org>
18116
18117 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18118 (appt-check): Simplify.
18119
d2fc7e3d 181202011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 18121
4d61f28d 18122 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
18123 literal "/dev/null".
18124
d2fc7e3d 181252011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
18126
18127 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18128 Fix typo.
18129
d2fc7e3d 181302011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 18131
3f254caa
SM
18132 * progmodes/which-func.el (which-function):
18133 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
18134 which might not be defined (Bug#8260).
18135
d45885f7
GM
181362011-05-12 Glenn Morris <rgm@gnu.org>
18137
18138 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18139 Let byte-compile-initial-macro-environment always take precedence.
18140
488086f4
SM
181412011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18142
18143 * net/rcirc.el: Add support for SSL/TLS connections.
18144 (rcirc-server-alist): New field `encryption'.
18145 (rcirc): Check `encryption' settings.
18146 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18147 Merge make-local-variable into `set'.
18148 (rcirc--connection-open-p): New function.
18149 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18150 the process is not a network process (e.g. running gnutls-cli).
18151 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18152 Make rcirc-(en|de)code-coding-system local here.
18153 (rcirc-mode): Merge make-local-variable into `set'.
18154 (rcirc-parent-buffer): Make permanent buffer-local.
18155 (rcirc-multiline-minor-mode): Don't do it here.
18156 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18157 there's no server buffer.
18158
7d3b9d44
GM
181592011-05-11 Glenn Morris <rgm@gnu.org>
18160
f64049c6
GM
18161 * newcomment.el (comment-kill): Prefix "unused" local.
18162
93c9df73
GM
18163 * term/w32console.el (get-screen-color): Declare.
18164
7d3b9d44
GM
18165 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18166 Handle symbol elements of byte-compile-initial-macro-environment.
18167
9e2dd53f
LL
181682011-05-10 Leo Liu <sdl.web@gmail.com>
18169
488086f4
SM
18170 * bookmark.el (bookmark-bmenu-mode-map):
18171 Bind bookmark-bmenu-search to `/'.
8b340240 18172
9e2dd53f 18173 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
18174 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18175 (Footnote-unicode): New function.
18176 (footnote-style-alist): Add unicode style to the list.
18177 (footnote-style): Doc fix.
9e2dd53f 18178
79b70037
GM
181792011-05-10 Jim Meyering <meyering@redhat.com>
18180
18181 Fix doubled-word typos.
18182 * international/quail.el (quail-insert-kbd-layout): and and -> and
18183 * kermit.el: and and -> and
18184 * net/ldap.el (ldap-search-internal): to to -> to
18185 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18186 * progmodes/js.el (js-mode): and and -> and
18187 * textmodes/artist.el (artist-move-to-xy): at at -> at
18188 (artist-draw-region-trim-line-endings): if if -> if
18189 And Safetyc -> Safety.
18190 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18191
b8f82dc1 181922011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 18193 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
18194
18195 * files.el (hack-one-local-variable-eval-safep):
18196 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18197
4f99f44b
GM
181982011-05-10 Glenn Morris <rgm@gnu.org>
18199
18200 * calendar/diary-lib.el (diary-list-entries-hook)
18201 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18202 (diary-nongregorian-marking-hook, diary-list-entries)
18203 (diary-include-other-diary-files, diary-mark-entries)
18204 (diary-mark-included-diary-files): Doc fixes.
18205
84f29e6b
JB
182062011-05-09 Juanma Barranquero <lekktu@gmail.com>
18207
18208 * misc.el: Require tabulated-list.el during compilation.
18209
9bedd73a
CY
182102011-05-09 Chong Yidong <cyd@stupidchicken.com>
18211
488086f4
SM
18212 * progmodes/compile.el (compilation-start):
18213 Run compilation-filter-hook for the async case too.
9bedd73a
CY
18214 (compilation-filter-hook): Doc fix.
18215
797c735c
DD
182162011-05-09 Deniz Dogan <deniz@dogan.se>
18217
18218 * wdired.el: Remove outdated installation comment. Fix usage
18219 comment.
18220
5f4b1dfe
JB
182212011-05-09 Juanma Barranquero <lekktu@gmail.com>
18222
18223 * misc.el: Implement new command `list-dynamic-libraries'.
18224 (list-dynamic-libraries--loaded-only-p): New variable.
18225 (list-dynamic-libraries--refresh): New function.
18226 (list-dynamic-libraries): New command.
18227
4c44026c
CY
182282011-05-09 Chong Yidong <cyd@stupidchicken.com>
18229
488086f4
SM
18230 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18231 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
18232 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18233 higher priority to avoid clobbering by gnu.
18234
027f966d
CY
182352011-05-08 Chong Yidong <cyd@stupidchicken.com>
18236
18237 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18238 if the face has existing theme settings (Bug#8454).
18239
085f5d7d
CY
182402011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18241
488086f4
SM
18242 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18243 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 18244
2a86a00c
RS
18245 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18246 special file names `.' and `..' (Bug#8259).
18247
d9c54a06
CY
182482011-05-08 Chong Yidong <cyd@stupidchicken.com>
18249
488086f4
SM
18250 * progmodes/grep.el (grep-mode-font-lock-keywords):
18251 Remove buffer-changing entries.
d9c54a06
CY
18252 (grep-filter): New function.
18253 (grep-mode): Add it to compilation-filter-hook.
18254
18255 * progmodes/compile.el (compilation-filter-hook)
18256 (compilation-filter-start): New defvars.
18257 (compilation-filter): Call compilation-filter-hook prior to
18258 updating the process mark.
18259
c4662635
SM
182602011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18261
18262 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18263
b0512a1d
EZ
182642011-05-07 Eli Zaretskii <eliz@gnu.org>
18265
605c9376
EZ
18266 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18267 mailclient-send-it even if window-system is nil. (Bug#8595)
18268
c4662635
SM
18269 * term/w32console.el (terminal-init-w32console):
18270 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
18271 background-mode. (Bug#8597)
18272
d1dc2cc2
SM
182732011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18274
18275 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18276 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18277 New functions.
18278 (defgeneric, eieio--defmethod): Use them.
18279 (eieio-defgeneric): Remove.
18280 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18281
915d1300
GM
182822011-05-07 Glenn Morris <rgm@gnu.org>
18283
a3961c3e
GM
18284 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18285 Use let rather than let*.
18286 (timeclock-find-discrep): Remove unused local.
18287
314347b9
GM
18288 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18289
915d1300
GM
18290 * calendar/appt.el (appt-time-msg-list): Doc fix.
18291
275b59b0
NF
182922011-05-06 Noah Friedman <friedman@splode.com>
18293
18294 * apropos.el (apropos-print-doc): Only use
18295 emacs-lisp-docstring-fill-column when it is bound to an integer,
18296 per that variable's documentation.
18297
6c19f744
SM
182982011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18299
18300 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 18301 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 18302
60f884b2
GM
183032011-05-06 Glenn Morris <rgm@gnu.org>
18304
5006e634
GM
18305 * calendar/appt.el (appt-message-warning-time): Doc fix.
18306 (appt-warning-time-regexp): New option.
18307 (appt-make-list): Respect appt-message-warning-time.
18308
548d0a63
GM
18309 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18310 New options.
18311 (diary-add-to-list): Strip comments from the displayed string.
18312 (diary-mode): Set comment-start and comment-end.
18313
60f884b2
GM
18314 * vc/diff-mode.el (smerge-refine-subst): Declare.
18315 (diff-refine-hunk): Don't require smerge-mode when compiling.
18316
989681bb
JB
183172011-05-06 Juanma Barranquero <lekktu@gmail.com>
18318
18319 * simple.el (list-processes): Return nil as the docstring says.
18320
a6bc05e1
MA
183212011-05-05 Michael Albinus <michael.albinus@gmx.de>
18322
18323 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18324 to "".
18325 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18326 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18327 determining of binary transfer. (Bug#7383)
18328
23c22e9a
MA
183292011-05-05 Michael Albinus <michael.albinus@gmx.de>
18330
c4662635
SM
18331 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18332 Fix port computation bug. (Bug#8618)
23c22e9a 18333
0bff894f
GM
183342011-05-05 Glenn Morris <rgm@gnu.org>
18335
b8296902
GM
18336 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18337
1f522ce8
GM
18338 * simple.el (shell-dynamic-complete-functions)
18339 (comint-dynamic-complete-functions): Declare.
18340
cf5bee67
GM
18341 * net/network-stream.el (gnutls-negotiate):
18342 * simple.el (tabulated-list-print): Fix declarations.
18343
18344 * progmodes/gud.el (syntax-symbol, syntax-point):
18345 Remove unnecessary and incorrect declarations.
18346
0bff894f 18347 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 18348 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 18349
9869b3ae
SM
183502011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18351
18352 Fix earlier half-done eieio-defmethod change (bug#8338).
18353 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18354 Streamline and change calling convention.
18355 (defmethod): Adjust accordingly and simplify.
18356 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18357 new eieio--defmethod.
18358 (slot-boundp): Minor CSE simplification.
18359
9c1d5ac5
MZ
183602011-05-05 Milan Zamazal <pdm@zamazal.org>
18361
18362 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18363 (glasses-make-readable): Use glasses-separate-capital-groups.
18364
455c834e
JB
183652011-05-05 Juanma Barranquero <lekktu@gmail.com>
18366
18367 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18368 (warning-series): Doc fix.
18369 (display-warning): Don't try to create the buffer if we just found it.
18370
9ed7c8cb
CY
183712011-05-04 Chong Yidong <cyd@stupidchicken.com>
18372
18373 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18374 (autoload-find-generated-file): New function.
18375 (generate-file-autoloads): Bind generated-autoload-file to
18376 buffer-file-name.
9869b3ae
SM
18377 (update-file-autoloads, update-directory-autoloads):
18378 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
18379 output file (Bug#7989).
18380 (batch-update-autoloads): Doc fix.
18381
0898ca10
JB
183822011-05-04 Juanma Barranquero <lekktu@gmail.com>
18383
18384 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18385
31dfb76c
GM
183862011-05-04 Glenn Morris <rgm@gnu.org>
18387
f330b642
GM
18388 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18389 function, so it follows changes in calendar-date-style.
18390 (diary-fancy-date-matcher): New function.
18391 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18392 (diary-fancy-font-lock-fontify-region-function):
18393 Use diary-fancy-date-pattern as a function.
18394
31dfb76c
GM
18395 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18396 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18397
48e79d6a
TZ
183982011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18399
18400 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18401 instead of positional arguments. Allow :keylist and :crlfiles
18402 arguments.
18403 (open-gnutls-stream): Call it.
18404
18405 * net/network-stream.el (network-stream-open-starttls): Adjust to
18406 call `gnutls-negotiate' with :process and :hostname arguments.
18407
dd5a5ee0
SM
184082011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18409
ef80fc09
SM
18410 * minibuffer.el (completion--message): New function.
18411 (completion--do-completion, minibuffer-complete)
18412 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18413 (completion--do-completion): Don't ignore completion-auto-help when in
18414 icomplete-mode.
18415
dd5a5ee0
SM
18416 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18417 internal encoding (e.g. tibetan zero is not whitespace).
18418 (global-whitespace-mode): Prefer save-current-buffer.
18419 (whitespace-trailing-regexp): Remove useless save-match-data.
18420 (whitespace-empty-at-bob-regexp): Minor simplification.
18421
b7d22a83
CY
184222011-05-03 Chong Yidong <cyd@stupidchicken.com>
18423
18424 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18425
5192af46
AM
184262011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18427
18428 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 18429 Use `concat' to create string for insertion.
5192af46 18430
5767d190
SM
184312011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18432
18433 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18434 Avoid open-line which runs post-self-insert-hook.
18435 (bibtex-fill-entry): Remove unused `end' var.
18436
bf242939
AM
184372011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18438
5767d190
SM
18439 * textmodes/ispell.el (ispell-add-per-file-word-list):
18440 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 18441
25666126
LL
184422011-05-03 Leo Liu <sdl.web@gmail.com>
18443
18444 * isearch.el (isearch-yank-pop): New command.
5767d190 18445 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
18446 (isearch-forward): Mention it.
18447
52d3c2d0
SM
184482011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18449
1bcace58
SM
18450 * simple.el (minibuffer-complete-shell-command): Remove.
18451 (minibuffer-local-shell-command-map): Use completion-at-point.
18452 (read-shell-command): Setup completion vars here instead.
18453 (read-expression-map): Bind TAB to symbol completion.
18454
52d3c2d0
SM
18455 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18456 error directly rather via storing it into `results'.
18457
35813471
LL
184582011-05-02 Leo Liu <sdl.web@gmail.com>
18459
18460 * vc/diff.el: Fix description.
18461
e793a940
LMI
184622011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18463
18464 * server.el (server-eval-at): New function.
18465
8de66e05
LMI
184662011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18467
18468 * net/network-stream.el (open-network-stream): Take a :nowait
18469 parameter and pass it on to `make-network-process'.
18470 (network-stream-open-plain): Ditto.
18471
dcb79f20
AS
184722011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18473
18474 * faces.el (face-spec-set-match-display): Don't match toolkit
18475 options on terminal frames.
18476
14a7fbd8
SM
184772011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18478
7eabc1be
SM
18479 * progmodes/pascal.el: Use lexical binding.
18480 (pascal-mode-map): Remove author preferences.
18481
14a7fbd8
SM
18482 * pcomplete.el (pcomplete-std-complete): Don't abuse
18483 completion-at-point.
18484
50f84510
JB
184852011-04-28 Juanma Barranquero <lekktu@gmail.com>
18486
6e087a44
JB
18487 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18488 removing code that has been dead since 1991 or so.
18489
50f84510
JB
18490 * startup.el (command-line): When warning about "_emacs", use a
18491 delayed warning to allow the user to filter it out.
18492
0ba690bd
DD
184932011-04-28 Deniz Dogan <deniz@dogan.se>
18494
18495 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18496 user has not joined.
18497
08abfaad
SM
184982011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18499
18500 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18501 aren't any completions at point.
18502
638f053a
JB
185032011-04-28 Juanma Barranquero <lekktu@gmail.com>
18504
18505 * subr.el (display-delayed-warnings): New function.
18506 (delayed-warnings-hook): New variable.
18507
8fff8daa
SM
185082011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18509
08abfaad
SM
18510 * minibuffer.el (completion-at-point, completion-help-at-point):
18511 Don't presume that a given completion-at-point-function will always
18512 use the same calling convention.
18513
8fff8daa
SM
18514 * pcomplete.el (pcomplete-completions-at-point):
18515 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18516 pcomplete-seen is non-nil.
18517 (pcomplete-comint-setup): Also recognize the new comint/shell
18518 completion functions.
18519 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18520 pcomplete-seen is non-nil.
18521
841a1577 185222011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 18523
841a1577 18524 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 18525 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 18526 the first character in the entry. This allows for code to add its
211ec907
UJ
18527 own uid to the entry.
18528 (icalendar--convert-float-to-ical): Add export of
18529 `diary-float'-entries save for those with the optional DAY
18530 argument.
18531
2a782793
DC
185322011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18533
18534 * subr.el (shell-quote-argument): Use alternate escaping strategy
18535 when we spot a variable reference in a string.
18536
0438ce91
DC
185372011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18538
18539 * cus-start.el (all): Define customization for debug-on-event.
18540
841a1577 185412011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
18542
18543 * subr.el (shell-quote-argument): Escape correctly under Windows.
18544
d090ed6c
SM
185452011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18546
18547 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18548
bfd31217
MA
185492011-04-25 Michael Albinus <michael.albinus@gmx.de>
18550
d090ed6c
SM
18551 * net/tramp.el (tramp-process-actions): Add POS argument.
18552 Delete region between POS and (pos).
bfd31217 18553
d090ed6c
SM
18554 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18555 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
18556 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18557
18558 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18559 position in `tramp-process-actions' call.
18560
18561 * net/trampver.el: Update release number.
18562
e92f3bd3
SM
185632011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18564
850256b5
SM
18565 * custom.el (defcustom): Obey lexical-binding.
18566
e92f3bd3
SM
18567 Fix octave-inf completion problems reported by Alexander Klimov.
18568 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18569 Inherit from octave-mode-syntax-table.
18570 (inferior-octave-mode): Set info-lookup-mode.
18571 (inferior-octave-completion-at-point): New function.
18572 (inferior-octave-complete): Use it and completion-in-region.
18573 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18574 comint-filename-completion.
18575 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18576 symbol elements which shouldn't be word elements.
18577 (octave-font-lock-keywords, octave-beginning-of-defun)
18578 (octave-function-header-regexp): Adjust regexps accordingly.
18579 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18580
cd22b309
JB
185812011-04-25 Juanma Barranquero <lekktu@gmail.com>
18582
18583 * net/gnutls.el (gnutls-errorp): Declare before first use.
18584
8b492194
TZ
185852011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18586
18587 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18588 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 18589 default trustfile exists before going to use it. Add missing
5a5fa834 18590 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
18591 Reported by Claudio Bley <claudio.bley@gmail.com>.
18592 (open-gnutls-stream): Add usage example.
18593
18594 * net/network-stream.el (network-stream-open-starttls): Give host
18595 parameter to `gnutls-negotiate'.
18596 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 18597 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 18598
841a1577 185992011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 18600
cd22b309
JB
18601 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18602 Use correct match group (bug#8438).
05842630 18603
3ba7869c
CY
186042011-04-24 Chong Yidong <cyd@stupidchicken.com>
18605
512e3ae1
CY
18606 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18607 (package-menu--generate): New arg specifying packages to show.
18608 (package-menu-refresh, package-menu-execute, list-packages):
18609 Callers changed.
18610 (package-show-package-list): New function, replacing deleted
18611 package--list-packages (renamed because it is non-internal).
18612
18613 * finder.el (finder-list-matches): Use package-show-package-list
18614 instead of deleted package--list-packages.
18615
e92f3bd3
SM
18616 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18617 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
18618 (vc-annotate-mode-map): Bind it to RET.
18619
7031be6d
UR
186202011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18621
18622 * progmodes/etags.el (next-file): Don't use set-buffer to change
18623 buffers (Bug#8478).
18624
4ef177aa
CY
186252011-04-24 Chong Yidong <cyd@stupidchicken.com>
18626
c8d173eb
CY
18627 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18628
4ef177aa
CY
18629 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18630 (apropos-accumulator): Doc fix.
18631 (apropos-function, apropos-macro, apropos-command)
18632 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18633 (apropos-plist): Add face property.
18634 (apropos-symbols-internal): Fix indentation.
18635 (apropos-print): Simplify help, and recognize apropos-multi-type.
18636 (apropos-print-doc): Use button-type-get to extract the button's
18637 face property. Fill docstring (Bug#8352).
18638
4ffd0d6b 186392011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
18640
18641 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18642
c6c32125 18643 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 18644 (mpuz-mode-map): Use mapc.
c6c32125
JB
18645 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18646 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18647 Fix typos in docstrings.
18648
58d468b4
JB
18649 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18650 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18651
6470c3c6
JB
18652 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18653
4ffd0d6b 186542011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
18655
18656 * minibuffer.el (completion--do-completion): Avoid the "Next char
18657 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18658
3ad8bad0
CY
18659 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18660 mouse-2 into unread-command-events, it is interpreted correctly.
18661
71d73c9c 18662 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 18663 (image-toggle-display): Doc fix.
71d73c9c 18664
841a1577 186652011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 18666
4ffd0d6b
GM
18667 * textmodes/page.el (what-page): Use line-number-at-pos to
18668 calculate line number (Bug#6825).
6e1dbaa9 18669
c2fb1b60
JB
186702011-04-22 Juanma Barranquero <lekktu@gmail.com>
18671
18672 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18673 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18674 Pass argument NO-DEFAULT to `find-tag-interactive'.
18675
e02f48d7
JB
186762011-04-22 Juanma Barranquero <lekktu@gmail.com>
18677
18678 Lexical-binding cleanup.
18679
18680 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18681 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18682 * progmodes/ada-prj.el (ada-prj-initialize-values)
18683 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18684 (ada-prj-show-value):
18685 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18686 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18687 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18688 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18689 * progmodes/bug-reference.el (bug-reference-push-button):
18690 * progmodes/fortran.el (fortran-line-length):
18691 * progmodes/glasses.el (glasses-change):
18692 * progmodes/octave-mod.el (octave-fill-paragraph):
18693 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18694 (python-pdbtrack-grub-for-buffer, python-sentinel):
18695 * progmodes/sql.el (sql-save-connection):
18696 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18697 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18698 Mark unused parameters.
18699
18700 * progmodes/compile.el (compilation--flush-directory-cache)
18701 (compilation--flush-parse, compile-internal): Mark unused parameters.
18702 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18703 (compilation-next-error-function): Remove unused variable `timestamp'.
18704
18705 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18706 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18707
18708 * progmodes/dcl-mode.el (dcl-end-of-command):
18709 Remove unused variable `start'.
18710 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18711 (dcl-option-value-basic, dcl-option-value-offset)
18712 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18713 Mark unused parameters.
18714 (dcl-save-local-variable): Remove unused variable `val'.
18715 (mode): Declare.
18716
18717 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18718 Mark unused parameters.
18719 (delphi-ignore-changes): Move before first use.
18720 (delphi-charset-token-at): Remove unused variable `start'.
18721 (delphi-else-start): Remove unused variable `if-count'.
18722 (delphi-comment-block-start, delphi-comment-block-end):
18723 Remove unused variable `kind'.
18724 (delphi-indent-line): Remove unused variable `new-point'.
18725
18726 * progmodes/ebrowse.el (ebrowse-files-list)
18727 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18728 Mark unused parameters. Don't quote `lambda'.
18729 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18730 Don't quote `lambda'.
18731 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18732 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18733 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18734 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18735 Use `ignore-errors'.
18736 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18737 (ebrowse-view/find-file-and-search-pattern)
18738 (ebrowse-view/find-member-declaration/definition):
18739 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18740 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18741 Rename parameter PREFIX-ARG to PREFIX.
18742 (ebrowse-tags-read-name): Remove unused variables `start' and
18743 `member-info'.
18744 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18745 to `tags-file'.
18746
18747 * progmodes/etags.el (local-find-tag-hook): Declare.
18748 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18749 Mark unused parameters.
18750
18751 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18752 (executable-interpret): Mark unused parameter.
18753
18754 * progmodes/flymake.el (flymake-process-sentinel)
18755 (flymake-after-change-function)
18756 (flymake-create-temp-with-folder-structure)
18757 (flymake-get-include-dirs-dot): Mark unused parameters.
18758 (flymake-safe-delete-directory): Remove unused variable `err'.
18759
18760 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18761 (speedbar-timer-fn, speedbar-line-text)
18762 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18763 (speedbar-center-buffer-smartly): Declare functions.
18764 (gdb-find-watch-expression): Remove unused variable `array'.
18765 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18766 (gdb-starting): Mark unused parameters.
18767 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18768 (gdb-table-string): Remove unused variable `res'.
18769 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18770 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18771 (gdb-display-buffer): Remove unused variable `cur-size'.
18772
18773 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18774 allow lexical-binding compilation.
18775 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18776 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18777 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18778 Mark unused parameters.
18779 (gud-gdb-marker-filter): Remove unused variable `match'.
18780 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18781 lambda expressions and funcall them, instead of using `fset'.
18782
18783 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18784 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18785
18786 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18787 variable `header-beg'; use `let'.
18788
18789 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18790 `restart', `last-sexp' and `at-do'.
18791
18792 * progmodes/js.el (js--debug): Mark unused parameter.
18793 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18794 (js--splice-into-items): Remove unused variable `item'.
18795 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18796
18797 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18798 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18799 (makefile-complete): Remove unused variable `try'.
18800 (makefile-fill-paragraph, makefile-match-function-end):
18801 Mark unused parameters.
18802
18803 * progmodes/octave-inf.el (inferior-octave-complete):
18804 Remove unused variable `proc'.
18805 (inferior-octave-output-digest): Mark unused parameter.
18806
18807 * progmodes/perl-mode.el (perl-calculate-indent):
18808 Remove unused variable `err'.
18809
18810 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18811 (prolog-indent-line): Mark unused parameters.
18812 (prolog-indent-line): Remove unused variable `beg'.
18813
18814 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18815 (reporter-dont-compact-list): Declare.
18816
18817 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18818 Remove unused variable `char'.
18819 (sh-debug): Mark unused parameter.
18820 (sh-get-indent-info): Remove unused variable `start'.
18821 (sh-calculate-indent): Remove unused variable `var'.
18822
18823 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18824 (simula-electric-keyword): Remove unused variable `null'.
18825 (simula-search-backward, simula-search-forward): Remove unused
18826 variables `begin' and `end'.
18827
18828 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18829 Remove unused variable `pos'.
18830 (vera-electric-tab, vera-comment-uncomment-region):
18831 Mark unused parameters.
18832 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18833
7ede3b65
CY
188342011-04-22 Chong Yidong <cyd@stupidchicken.com>
18835
18836 * emacs-lisp/package.el (package--builtins, package-alist)
18837 (package-load-descriptor, package-built-in-p, package-activate)
18838 (define-package, package-installed-p)
18839 (package-compute-transaction, package-buffer-info)
18840 (package--push): Doc fix. Distinguish more clearly between
18841 version strings and version lists.
18842
121656e9
JB
188432011-04-21 Juanma Barranquero <lekktu@gmail.com>
18844
18845 Lexical-binding cleanup.
18846
18847 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18848 (5x5-make-mutate-best):
18849 * play/fortune.el (fortune-in-buffer):
18850 * play/gomoku.el (gomoku-init-display):
18851 * play/solitaire.el (solitaire, solitaire-do-check):
18852 * play/tetris.el (tetris-default-update-speed-function):
18853 Mark unused parameters.
18854
18855 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18856 (bubbles--shift): Remove unused variable `char-org'.
18857 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18858 (bubbles--show-images): Remove unused variable `char'.
18859
18860 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18861 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18862 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18863 (decipher-analyze-buffer): Use ?\s.
18864 (decipher-make-checkpoint): Remove unused variable `mapping'.
18865
18866 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18867
18868 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18869 Remove unused variable `result'; use `let'.
18870
18871 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18872 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18873 (gametree-children-shown-p, gametree-compute-reduced-score):
18874 Use `ignore-errors'.
18875
18876 * play/handwrite.el (ps-lpr-switches): Declare.
18877 (handwrite): Remove unused variables `pmin' and `lastp'.
18878
18879 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18880
18881 * play/landmark.el (landmark-init-display)
18882 (landmark-update-naught-weights): Mark unused parameters.
18883 (landmark-y): Remove unused variable `noise'. Simplify.
18884 (landmark-human-plays): Remove unused variable `score'.
18885
18886 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18887 (mpuz-try-proposal): Remove unused variable `game'.
18888
18889 * play/zone.el (life-patterns): Declare.
18890
80f499c7
JB
188912011-04-20 Juanma Barranquero <lekktu@gmail.com>
18892
18893 * vc/vc.el (ediff-vc-internal): Declare function.
18894
024ff170
SM
188952011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18896
c0a193ea
SM
18897 * shell.el: Use lexical-binding and std completion UI.
18898 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18899 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18900 comint-preoutput-filter-functions rather than on
18901 comint-output-filter-functions.
18902 (shell-command-completion, shell--command-completion-data)
18903 (shell-filename-completion, shell-environment-variable-completion)
18904 (shell-c-a-p-replace-by-expanded-directory): New functions.
18905 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18906 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18907 (shell-dynamic-complete-environment-variable): Use them.
18908 (shell-dynamic-complete-as-environment-variable)
18909 (shell-dynamic-complete-as-command): Remove.
18910 (shell-match-partial-variable): Match past point.
18911 * comint.el: Clean up use of completion-at-point-functions.
18912 (comint-completion-at-point): New function.
18913 (comint-mode): Use it completion-at-point-functions.
18914 (comint-dynamic-complete): Make it obsolete.
18915 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18916 (comint-c-a-p-replace-by-expanded-history): New function.
18917 (comint-dynamic-complete-functions)
18918 (comint-replace-by-expanded-history): Use it.
18919 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18920 termination strings. Try harder to avoid second try-completion.
18921 (completion-in-region-mode-map): Disable bindings that don't work yet.
18922
2dbaa080
SM
18923 * comint.el: Use lexical-binding. Require CL.
18924 (comint-dynamic-complete-functions): Use comint-filename-completion.
18925 (comint-completion-addsuffix): Tweak custom type.
18926 (comint-filename-completion, comint--common-suffix)
18927 (comint--common-quoted-suffix, comint--table-subvert)
18928 (comint--complete-file-name-data): New functions.
18929 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18930 (comint-dynamic-list-filename-completions): Use them.
18931 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 18932
2dbaa080
SM
18933 * minibuffer.el (completion-in-region-mode):
18934 Keep completion-in-region-mode--predicate global.
18935 (completion-in-region--postch):
18936 Assume completion-in-region-mode--predicate is not null.
18937
c79a6f38
SM
18938 * progmodes/flymake.el (flymake-start-syntax-check-process):
18939 Obey `dir'. Simplify.
18940
024ff170
SM
18941 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18942 we're in VC after all.
18943
1c6c854e
CS
189442011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18945
18946 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 18947 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
18948 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18949
bed7f140
SM
189502011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18951
332e62ab
SM
18952 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18953 add sanity check.
18954
bed7f140
SM
18955 * obsolete/erc-hecomplete.el: Make obsolete.
18956 * obsolete/: Standardize obsolescence info in the header.
18957
f195c582
GM
189582011-04-20 Glenn Morris <rgm@gnu.org>
18959
18960 * calendar/solar.el (solar-horizontal-coordinates):
18961 Use the longitude argument rather than `calendar-longitude'.
18962 (solar-date-next-longitude): Remove unused locals.
18963
cb79b8c0
VJL
189642011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18965
18966 * whitespace.el: New version 13.2.1.
18967
189682011-04-20 felix <EmacsWiki> (tiny change)
18969
d8e4b68b 18970 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
18971 switching between major modes on a file.
18972
602ea69d
SM
189732011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18974
18975 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18976 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18977 multi-line comments as well.
18978
06b60517
JB
189792011-04-19 Juanma Barranquero <lekktu@gmail.com>
18980
18981 Lexical-binding cleanup.
18982
18983 * arc-mode.el (archive-mode-revert):
18984 * cmuscheme.el (scheme-interactively-start-process):
18985 * custom.el (custom-initialize-delay):
18986 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18987 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18988 * emacs-lock.el (emacs-lock-clear-sentinel):
18989 * ezimage.el (defezimage):
18990 * follow.el (follow-avoid-tail-recenter):
18991 * fringe.el (set-fringe-mode-1):
18992 * generic-x.el (bat-generic-mode-compile):
18993 * help-mode.el (help-info-variable, help-do-xref)
18994 (help-mode-revert-buffer):
18995 * help.el (view-emacs-todo):
18996 * iswitchb.el (iswitchb-completion-help):
18997 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18998 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18999 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19000 * locate.el (locate-update):
19001 * longlines.el (longlines-encode-region)
19002 (longlines-after-change-function):
19003 * outline.el (outline-isearch-open-invisible):
19004 * ps-def.el (declare-function, charset-dimension, char-width)
19005 (encode-char):
19006 * ps-mule.el (ps-mule-plot-string):
19007 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19008 (recentf-edit-list-select, recentf-edit-list-validate)
19009 (recentf-open-files-action):
19010 * rect.el (delete-whitespace-rectangle-line)
19011 (rectangle-number-line-callback):
19012 * register.el (window-configuration-to-register)
19013 (frame-configuration-to-register):
19014 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19015 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19016 (xselect-convert-to-targets, xselect-convert-to-delete)
19017 (xselect-convert-to-filename, xselect-convert-to-charpos)
19018 (xselect-convert-to-lineno, xselect-convert-to-colno)
19019 (xselect-convert-to-os, xselect-convert-to-host)
19020 (xselect-convert-to-user, xselect-convert-to-class)
19021 (xselect-convert-to-name, xselect-convert-to-integer)
19022 (xselect-convert-to-atom, xselect-convert-to-identity):
19023 * subr.el (declare, ignore, process-kill-without-query)
19024 (text-clone-maintain):
19025 * terminal.el (te-get-char, te-tic-sentinel):
19026 * tool-bar.el (tool-bar-make-keymap):
19027 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19028 * type-break.el (type-break-mode, type-break-noninteractive-query):
19029 * view.el (View-back-to-mark):
19030 * wid-browse.el (widget-browse-action, widget-browse-widget)
19031 (widget-browse-widgets, widget-browse-sexp):
19032 * widget.el (define-widget-keywords):
19033 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19034 Mark unused parameters.
19035
19036 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19037 (align-areas): Remove unused variable `look'.
19038 (align-region): Remove unused variables `real-end' and `pos-list'.
19039
19040 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19041
19042 * bindings.el (mode-line-modified, mode-line-remote):
19043 Mark unused parameters.
19044 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19045
19046 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19047 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19048
19049 * comint.el (comint-history-isearch-pop-state)
19050 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19051 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19052 (comint-substitute-in-file-name): Doc fix.
19053
19054 * completion.el (cmpl-statistics-block): Mark unused parameter.
19055 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19056 (save-completions-to-file, load-completions-from-file):
19057 Remove unused local variable `e'.
19058
19059 * composite.el (compose-chars): Remove unused variable `len'.
19060 (lgstring-insert-glyph): Remove unused variable `g'.
19061 (compose-glyph-string): Remove unused variables `ascent',
19062 `descent', `lbearing' and `rbearing'.
19063 (compose-glyph-string-relative): Remove unused variables
19064 `lbearing', `rbearing' and `wadjust'.
19065 (compose-gstring-for-graphic): Remove unused variables `header',
19066 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19067 (compose-gstring-for-terminal): Remove unused variables `header'
19068 and `nchars'. Use `let', not `let*'.
19069
19070 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19071 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19072 (Custom-buffer-done, custom-buffer-create-internal)
19073 (custom-browse-visibility-action, custom-browse-group-tag-action)
19074 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19075 (widget-magic-mouse-down-action, custom-toggle-parent)
19076 (custom-add-parent-links, custom-toggle-hide-variable)
19077 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19078 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19079 (custom-face-menu-create, custom-variable-menu-create, get)
19080 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19081 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19082 (customize-apropos): Remove unused variable `tests'.
19083 (custom-group-value-create): Remove unused variable `hidden-p'.
19084 (sort-fold-case): Declare.
19085
19086 * cus-theme.el (custom-reset-standard-faces-list)
19087 (custom-reset-standard-variables-list): Declare.
19088 (customize-create-theme, custom-theme-revert, custom-theme-write)
19089 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19090 Mark unused parameters.
19091
19092 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19093
19094 * delim-col.el (delimit-columns-max): Move defvar before first use.
19095
19096 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 19097 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
19098
19099 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19100 (auto-insert): Declare.
19101 (desktop-restore-file-buffer): Rename desktop-* parameters;
19102 mark unused ones.
19103 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19104 (desktop-buffer): Rename desktop-* parameters.
19105
19106 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19107 (dframe-reposition-frame-xemacs, dframe-help-echo)
19108 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19109 Mark unused parameters.
19110
19111 * dired-aux.el (backup-extract-version-start, overwrite-query)
19112 (overwrite-backup-query, rename-regexp-query)
19113 (rename-non-directory-query): Declare.
19114 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19115 (dired-add-entry): Remove unused variable `orig-file-name'.
19116 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19117 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19118 `dired-copy-preserve-time' directly.
19119 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19120 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19121
19122 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19123 (dired-virtual-revert, dired-make-relative-symlink):
19124 Mark unused parameters.
19125 (manual-program): Declare.
19126 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19127 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19128 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19129
19130 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19131
19132 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19133
19134 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19135 Declare.
19136
19137 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19138
19139 * electric.el (Electric-command-loop): Rename parameter
19140 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19141
19142 * expand.el (expand-in-literal): Remove unused variable `here'.
19143
19144 * facemenu.el (facemenu-add-new-color):
19145 Remove unused variable `docstring'.
19146
19147 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19148 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19149 (face-attr-construct): Mark unused parameter. Doc fix.
19150 (read-color): Remove unused variable `hex-string'.
19151
19152 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19153 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19154 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19155 (display-buffer-other-frame): Remove unused variable `old-window'.
19156 (kill-buffer-hook): Declare.
19157 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19158 Mark unused parameters.
19159 (after-find-file): Pass 1 to `auto-save-mode', not t.
19160
19161 * files-x.el (auto-insert): Declare.
19162 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19163
19164 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 19165 variable `buf'. Mark unused parameter.
06b60517
JB
19166 (find-lisp-insert-directory): Mark unused parameter.
19167
19168 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19169 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19170 (format-common-tail): Remove, unused.
19171 (format-deannotate-region): Remove unused variable `loc'.
19172 (format-annotate-region): Remove unused variable `p'.
19173 (format-annotate-single-property-change): Remove unused variables
19174 `default' and `tail'.
19175
19176 * forms.el (read-file-filter): Declare.
19177 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19178
19179 * frame.el (frame-creation-function-alist): Mark unused parameter.
19180 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19181
19182 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19183 Remove unused parameters.
19184 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19185 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19186
19187 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19188 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19189 (hfy-prepare-tag-map): Mark unused parameters.
19190 (htmlfontify-buffer): Use `called-interactively-p'.
19191
19192 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19193 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19194 (ibuffer-do-occur): Mark unused parameters.
19195 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19196 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19197
19198 * ibuffer.el: Don't quote `lambda'.
19199 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19200 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19201 Mark unused parameters.
19202
19203 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19204 (ido-completing-read): Mark unused parameters.
19205 (ido-copy-current-word): Mark unused parameters;
19206 remove unused variable `name'.
19207 (ido-sort-merged-list): Remove unused parameter `dirs'.
19208
19209 * ielm.el (ielm-input-sender): Mark unused parameter.
19210 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19211 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19212 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19213 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19214 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19215
19216 * image-dired.el (image-dired-display-thumbs): Remove unused
19217 variables `curr-file' and `count'.
19218 (image-dired-remove-tag): Remove unused variable `start'.
19219 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19220 variable `curr-file'
19221 (image-dired-rotate-original): Remove unused variable `temp-file'.
19222 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19223 Remove unused variable `file'.
19224 (image-dired-gallery-generate): Remove unused variable `curr'.
19225 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19226
19227 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19228
19229 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19230
19231 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19232
19233 * isearch.el (minibuffer-history-symbol): Declare.
19234 (isearch-edit-string): Remove unused variable `err'.
19235 (isearch-message-prefix, isearch-message-suffix):
19236 Mark unused parameters.
19237
19238 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19239
19240 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19241
19242 * makesum.el (double-column): Remove unused variable `cnt'.
19243
19244 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19245 (ido-ignore-item-temp-list): Declare.
19246
19247 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19248 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19249 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19250 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19251 `mouse-col-delta'.
19252
19253 * mouse-sel.el (mouse-extend-internal):
19254 Remove unused variable `orig-window-frame'.
19255
19256 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19257 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19258 Move declarations before first use.
19259 (pcomplete-opt): Mark unused parameters; doc fix.
19260
19261 * proced.el (proced-revert): Mark unused parameter.
19262 (proced-send-signal): Remove unused variable `err'.
19263
19264 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19265 Rename parameter PREFIX-ARG to ARG.
19266 (ps-basic-plot-string, ps-basic-plot-whitespace):
19267 Mark unused parameters.
19268
19269 * replace.el (replace-count): Define.
19270 (occur-revert-function): Mark unused parameters.
19271 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19272 (isearch-case-fold-search, isearch-string): Declare.
19273 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19274 bind `case-fold-search'. Remove unused variables `beg' and `end',
19275 and simplify.
19276 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19277 COUNT and bind `replace-count'.
19278 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19279 to COUNT.
19280
19281 * savehist.el (print-readably, print-string-length): Declare.
19282
19283 * shadowfile.el (shadow-expand-cluster-in-file-name):
19284 Remove unused variable `cluster'.
19285 (shadow-copy-file): Remove unused variable `i'.
19286 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19287 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19288 (shadow-define-literal-group, shadow-define-regexp-group)
19289 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19290
19291 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19292 (shell): Use `called-interactively-p'.
19293 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19294
19295 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19296 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19297 (delete-backward-char): Remove unused variable `ocol'.
19298 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19299 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19300 (event-apply-hyper-modifier, event-apply-shift-modifier)
19301 (event-apply-control-modifier, event-apply-meta-modifier):
19302 Mark unused parameters.
19303 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19304 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19305
19306 * speedbar.el (speedbar-ignored-directory-expressions)
19307 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19308 (speedbar-find-file, speedbar-dir-follow)
19309 (speedbar-directory-buttons-follow, speedbar-tag-find)
19310 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19311 (speedbar-buffers-line-directory, speedbar-buffer-click):
19312 Mark unused parameters.
19313 (speedbar-tag-file): Remove unused variable `mode'.
19314 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19315
19316 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19317
19318 * talk.el (talk): Remove unused variable `display'.
19319
19320 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19321 (tar-write-region-annotate): Mark unused parameter.
19322
19323 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19324 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19325 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19326 warning by another.
19327
19328 * time-stamp.el (time-stamp-string-preprocess):
19329 Remove unused variable `require-padding'.
19330
19331 * tree-widget.el (widget-glyph-enable): Declare.
19332 (tree-widget-action): Mark unused parameter.
19333
19334 * w32-fns.el (x-get-selection): Mark unused parameter.
19335 (autoload-make-program, generated-autoload-file): Declare.
19336
19337 * wdired.el (wdired-revert): Mark unused parameters.
19338 (wdired-xcase-word): Remove unused variable `err'.
19339
19340 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19341 (whitespace-help-scroll): Remove unused variable `data-help'.
19342
19343 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19344 (widget-image-insert, widget-after-change, default)
19345 (widget-default-format-handler, widget-default-notify)
19346 (widget-default-prompt-value, widget-info-link-action)
19347 (widget-url-link-action, widget-function-link-action)
19348 (widget-variable-link-action, widget-file-link-action)
19349 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19350 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19351 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19352 (widget-insert-button-action, widget-delete-button-action, visibility)
19353 (widget-documentation-link-action, widget-documentation-string-action)
19354 (widget-const-prompt-value, widget-regexp-match, symbol)
19355 (widget-coding-system-prompt-value)
19356 (widget-key-sequence-value-to-external, sexp)
19357 (widget-sexp-value-to-internal, character, vector, cons)
19358 (widget-choice-prompt-value, widget-boolean-prompt-value)
19359 (widget-color--choose-action): Mark unused parameters.
19360 (widget-item-match-inline, widget-choice-match-inline)
19361 (widget-checklist-match, widget-checklist-match-inline)
19362 (widget-group-match): Rename parameter VALUES to VALS.
19363 (widget-field-value-set): Remove unused variable `size'.
19364 (widget-color-action): Remove unused variables `value' and `start'.
19365
19366 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 19367 variable `dir'. Doc fix.
06b60517
JB
19368 (windmove-find-other-window): Don't pass it.
19369
19370 * window.el (count-windows): Mark unused parameter.
19371 (bw-adjust-window): Remove unused variable `err'.
19372
19373 * woman.el (woman-file-name): Remove unused variable `default'.
19374 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19375 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19376 (global-font-lock-mode): Declare.
19377 (woman-decode-region): Mark unused parameter.
19378 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19379
19380 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19381 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19382 (x-dnd-handle-moz-url): Remove unused variable `title'.
19383 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19384
19385 * xml.el (xml-parse-tag, xml-parse-attlist):
19386 Remove unused variable `pos'.
19387
bc4f7f3d
GM
193882011-04-19 Glenn Morris <rgm@gnu.org>
19389
19390 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19391 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19392 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19393 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19394 * calendar/cal-html.el (cal-html-insert-minical):
19395 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19396 (calendar-mark-date-pattern):
19397 Prefix "unused" locals.
19398
19399 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19400 optional argument `style'.
19401
19402 * calendar/appt.el (appt-make-list):
19403 * calendar/cal-china.el (calendar-chinese-date-string):
19404 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19405 (diary-hebrew-yahrzeit):
19406 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19407 * calendar/calendar.el (calendar-generate-window):
19408 * calendar/time-date.el (time-to-days):
19409 Remove unused local variables.
19410
16a43933
CY
194112011-04-18 Chong Yidong <cyd@stupidchicken.com>
19412
19413 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19414 glyphless-char-display table.
19415 (tabulated-list-glyphless-char-display): New var.
19416
7eed1860
SS
194172011-04-18 Sam Steingold <sds@gnu.org>
19418
19419 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19420 to acknowledgments.
19421
4d2d1ccd
GM
194222011-04-17 Glenn Morris <rgm@gnu.org>
19423
19424 * calendar/diary-lib.el (diary-sexp-entry):
19425 * calendar/holidays.el (holiday-sexp):
19426 Set debug-on-error rather than the removed stack-trace-on-error.
19427
239da61d
GM
194282011-04-16 Glenn Morris <rgm@gnu.org>
19429
19430 * progmodes/f90.el: Use lexical-binding.
19431 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19432
8b05752a
SM
194332011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19434
daca8ba5
SM
19435 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19436 (mail-mode): Setup mailalias completion here instead.
19437 * mail/mailalias.el: Use lexical-binding.
19438 (pattern, mailalias-done): Declare dynamic.
19439 (mail-completion-at-point-function): New function, from mail-complete.
19440 (mail-complete): Use it.
19441 (mail-completion-expand): New function.
19442 (mail-get-names): Use it.
19443 (mail-directory, mail-directory-process, mail-directory-stream):
19444 Don't use `pattern' for lexically bound arg.
19445
6f542485
SM
19446 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19447
037e7c3f
SM
19448 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19449 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19450 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19451
8b05752a
SM
19452 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19453 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19454 (byte-interactive-p): Define them again, for use when inlining
19455 old code.
19456
49093f60
JB
194572011-04-15 Juanma Barranquero <lekktu@gmail.com>
19458
19459 * loadup.el: Use `string-to-number', not `string-to-int'.
19460
b5b8e7de
SM
194612011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19462
19463 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19464 gud-gdb-complete-command.
19465 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19466 (gud-gdb-completion-at-point): New function.
19467 (gud-gdb-completions): Remove.
19468
f42efeb5
MA
194692011-04-14 Michael Albinus <michael.albinus@gmx.de>
19470
49093f60
JB
19471 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19472 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19473 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19474 whether `executable-find' is bound.
f42efeb5
MA
19475
19476 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19477
e240cc21
SM
194782011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19479
19480 * minibuffer.el (completion-in-region-mode-predicate)
19481 (completion-in-region-mode--predicate): New vars.
19482 (completion-in-region, completion-in-region--postch)
19483 (completion-in-region-mode): Use them.
19484 (completion--capf-wrapper): Also return the hook function.
19485 (completion-at-point, completion-help-at-point):
19486 Adjust and provide a predicate.
c2bd2ab0
SM
19487
19488 Preserve arg names for advice of subr and lexical functions (bug#8457).
19489 * help-fns.el (help-function-arglist): Consolidate the subr and
19490 new-byte-code cases. Add argument `preserve-names' to extract names
19491 from the docstring when needed.
19492 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19493 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19494 (ad-arglist): Use help-function-arglist's new arg.
19495 (ad-definition-type): Use cond.
19496
c183f693
JB
194972011-04-13 Juanma Barranquero <lekktu@gmail.com>
19498
06641a47
JB
19499 * autorevert.el (auto-revert-handler):
19500 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19501 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19502 Don't quote lambda.
19503
c183f693
JB
19504 * image-mode.el (image-transform-set-scale):
19505 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19506
1e3b6001
G
195072011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19508
19509 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 19510 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
19511 Upgrades via gnutls-cli are too slow to be done opportunistically.
19512
2d6af8dd
JB
195132011-04-12 Juanma Barranquero <lekktu@gmail.com>
19514
19515 * dframe.el (dframe-current-frame): Remove spurious quote.
19516
c0749a51
GM
195172011-04-12 Glenn Morris <rgm@gnu.org>
19518
088d0d61
GM
19519 * calendar/cal-tex.el (cal-tex-end-document):
19520 Try to automatically use latin1 input if needed.
19521
c0749a51
GM
19522 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19523 Don't try to cons a mark onto an empty element.
19524
5c90fde0
LL
195252011-04-11 Leo Liu <sdl.web@gmail.com>
19526
19527 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19528 buffers.
19529 (ido-kill-buffer-at-head): Support killing virtual buffers.
19530
369e974d
CY
195312011-04-10 Chong Yidong <cyd@stupidchicken.com>
19532
19533 * minibuffer.el (completion-show-inline-help): New var.
19534 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
19535 (minibuffer-force-complete, minibuffer-complete-word):
19536 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
19537
19538 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19539 to avoid interference from inline help (Bug#5849).
19540
37f1c930
LL
195412011-04-10 Leo Liu <sdl.web@gmail.com>
19542
099c39a4
JB
19543 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19544 Fix typo.
37f1c930 19545
a32d4040
CY
195462011-04-09 Chong Yidong <cyd@stupidchicken.com>
19547
19548 * image-mode.el (image-toggle-display-image): Signal an error if
19549 not in Image mode.
19550 (image-transform-mode, image-transform-resize)
19551 (image-transform-set-rotation): Doc fix.
daca8ba5 19552 (image-transform-set-resize): Delete.
a32d4040
CY
19553 (image-transform-set-scale, image-transform-fit-to-height)
19554 (image-transform-fit-to-width): Handle image-toggle-display-image
19555 and image-transform-resize directly.
19556
099c39a4 195572011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
19558
19559 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
19560 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19561 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
19562 (doc-view-mode-map): Add bindings for the new functions.
19563
099c39a4 195642011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 19565
4d61f28d 19566 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
19567 Fix typo in docstring.
19568
3726838a
EZ
195692011-04-08 Eli Zaretskii <eliz@gnu.org>
19570
04f33f1e
EZ
19571 * files.el (file-size-human-readable): Produce one digit after
19572 decimal, like "ls -lh" does.
19573
19574 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19575 the file size representation.
19576
3726838a
EZ
19577 * simple.el (list-processes): If async subprocesses are not
19578 available, error out with a clear error message.
19579
cbb59342
CY
195802011-04-08 Chong Yidong <cyd@stupidchicken.com>
19581
19582 * help.el (help-form-show): New function, to be called from C.
19583 Put help-form output in a buffer named differently than *Help*.
19584
e3971c44
EZ
195852011-04-08 Eli Zaretskii <eliz@gnu.org>
19586
19587 * files.el (file-size-human-readable): New function.
19588
19589 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19590 computing the representation inline. Don't require `cl'.
19591
12544bbe
GM
195922011-04-08 Glenn Morris <rgm@gnu.org>
19593
a1de6c6a
GM
19594 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19595
3c4671f4
GM
19596 * net/browse-url.el (browse-url-firefox):
19597 Test system-type, not system-configuration.
19598
b605679c
GM
19599 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19600 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19601 Use log-edit-empty-buffer-p. (Bug#7598)
19602
56442f0c
GM
19603 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19604 (rlogin-mode-map): Initialize in the defvar.
19605 (rlogin): Use ignore-errors.
19606
12544bbe
GM
19607 * replace.el (occur-mode-map): Some fixes for menu items.
19608
eb237b0f
AH
196092011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19610
19611 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19612
7d668f2c
CY
196132011-04-06 Chong Yidong <cyd@stupidchicken.com>
19614
e67a13ab
CY
19615 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19616 issuing unused warnings.
19617
19618 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19619 macro directly.
19620
7d668f2c
CY
19621 * simple.el: Lisp reimplement of list-processes. Based on an
19622 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19623 (process-menu-mode): New major mode.
19624 (list-processes--refresh, list-processes):
19625 (process-menu-visit-buffer): New functions.
19626
19627 * files.el (save-buffers-kill-emacs): Don't assume any return
19628 value of list-processes, which is undocumented anyway.
19629
a83ec3c9
CY
196302011-04-06 Chong Yidong <cyd@stupidchicken.com>
19631
19632 * emacs-lisp/tabulated-list.el: New file.
19633
e91a96fe
CY
19634 * emacs-lisp/package.el: Use Tabulated List mode.
19635 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19636 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19637 table format using Tabulated List mode variables.
19638 (package--push): New macro, replacing package-list-maybe-add.
19639 (package-menu--generate): Use package--push. Renamed from
19640 package--generate-package-list.
19641 (package-menu-refresh, list-packages): Use it.
daca8ba5 19642 (package-menu--print-info): Rename from package-print-package.
e91a96fe 19643 Return insertion data instead of inserting it directly.
099c39a4
JB
19644 (package-menu-describe-package, package-menu-execute):
19645 Use tabulated-list-get-id.
e91a96fe
CY
19646 (package-menu-mark-delete, package-menu-mark-install)
19647 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
19648 (package-menu-mark-obsolete-for-deletion):
19649 Use tabulated-list-put-tag.
e91a96fe
CY
19650 (package--list-packages, package-menu-revert)
19651 (package-menu-get-package, package-menu-get-version)
19652 (package-menu-sort-by-column): Functions deleted.
19653 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19654 (package-menu--status-predicate, package-menu--version-predicate)
19655 (package-menu--name-predicate)
19656 (package-menu--description-predicate): Handle arguments in the
19657 Tabulated List format.
19658 (package-list-packages-no-fetch): Call list-packages.
19659
3e214b50
JB
196602011-04-06 Juanma Barranquero <lekktu@gmail.com>
19661
19662 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 19663 (after-find-file): Don't bind it.
3e214b50
JB
19664 (revert-buffer-in-progress-p): New variable.
19665 (revert-buffer): Bind it.
19666 Pass nil for `after-find-file-from-revert-buffer'.
19667
19668 * saveplace.el (save-place-find-file-hook): Use new variable
19669 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19670
3f0f1700
GM
196712011-04-06 Glenn Morris <rgm@gnu.org>
19672
c0274801
GM
19673 * Makefile.in (AUTOGEN_VCS): New variable.
19674 (autoloads): Use $AUTOGEN_VCS.
19675
3f0f1700
GM
19676 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19677 * calendar/calendar.el (calendar-mode-map):
19678 Check for toolkit scroll bars. (Bug#8305)
19679
41ea9e48
CY
196802011-04-05 Chong Yidong <cyd@stupidchicken.com>
19681
19682 * minibuffer.el (completion-in-region--postch)
19683 (completion-in-region-mode): Remove unnecessary messages.
19684
6194c800
JB
196852011-04-05 Juanma Barranquero <lekktu@gmail.com>
19686
33256f14
JB
19687 * font-lock.el (font-lock-refresh-defaults):
19688 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19689 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19690
6194c800
JB
19691 * info.el (Info-directory-list, Info-read-node-name-2)
19692 (Info-split-parameter-string): Doc fixes.
19693 (Info-virtual-nodes): Reflow docstring.
19694 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19695 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19696 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19697 Fix typos in docstrings.
19698 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19699 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19700 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19701 (Info-restore-desktop-buffer): Mark unused parameters.
19702 (Info-directory-find-file, Info-directory-find-node)
19703 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19704 (Info-virtual-index-find-node, Info-apropos-find-file)
19705 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 19706 Mark unused parameters; fix typos in docstrings.
6194c800
JB
19707 (Info-virtual-index): Remove unused local variable `nodename'.
19708
b87a8200 197092011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 19710
b87a8200
DD
19711 * net/rcirc.el: Update my e-mail address.
19712 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 19713
3b2ff876
CY
197142011-04-05 Chong Yidong <cyd@stupidchicken.com>
19715
19716 * startup.el (command-line): Save the cursor's theme-face
19717 directly, instead of using face-override-spec.
19718
19719 * custom.el (load-theme): Minor optimization in assigning faces.
19720
8d17e7ca
JB
197212011-04-04 Juanma Barranquero <lekktu@gmail.com>
19722
19723 * help-fns.el (describe-variable): Complete all variables having
19724 documentation, including keywords.
19725 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19726
2fbc1934
JB
197272011-04-04 Juanma Barranquero <lekktu@gmail.com>
19728
19729 Convert to lexical-binding.
19730
19731 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19732 (bs--get-marked-string, bs--get-modified-string)
19733 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19734 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19735 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19736
19737 * ehelp.el (electric-help-execute-extended)
19738 (electric-help-ctrl-x-prefix):
19739 * hexl.el (hexl-revert-buffer-function):
19740 * linum.el (linum-after-change, linum-after-scroll):
19741 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19742
19743 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19744
74f50695
DU
197452011-04-04 Daiki Ueno <ueno@unixuser.org>
19746
19747 * epa-dired.el:
19748 * epa-mail.el:
19749 * epa-hook.el:
19750 * epa-file.el:
19751 * epa.el:
19752 * epg.el: Use lexical binding.
19753
c11325f7
CY
197542011-04-03 Chong Yidong <cyd@stupidchicken.com>
19755
0d9e9a12
CY
19756 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19757
c11325f7 19758 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
19759 dictionary case for flyspell-mark-duplications-exceptions.
19760 Use regexp matching for languages.
c11325f7
CY
19761 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19762 default dictionary (Bug#7926).
19763
da91b5f2
CY
197642011-04-02 Chong Yidong <cyd@stupidchicken.com>
19765
099c39a4
JB
19766 * emacs-lisp/package.el (package--with-work-buffer):
19767 Recognize https URLs.
da91b5f2 19768
099c39a4
JB
19769 * net/network-stream.el: Move from gnus/proto-stream.el.
19770 Change prefix to network-stream throughout.
da91b5f2
CY
19771 (open-protocol-stream): Merge into open-network-stream, leaving
19772 open-protocol-stream as an alias. Handle nil BUFFER args.
19773
19774 * subr.el (open-network-stream): Move to net/network-stream.el.
19775
afa8e9f6
GM
197762011-04-02 Glenn Morris <rgm@gnu.org>
19777
1d2e369d
GM
19778 * find-dired.el (find-exec-terminator): New option.
19779 (find-ls-option): Test for -ls support.
19780 (find-ls-subdir-switches): Test for -b in find-ls-option.
19781 (find-dired, find-grep-dired): Doc fixes.
19782 (find-dired): Use find-exec-terminator.
19783
8abb7da8 19784 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
19785 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19786 (find-name-arg): Remove purecopy.
8abb7da8 19787
f3ca7378
GM
19788 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19789 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19790 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19791 accordingly. Don't add the null-device if not needed.
19792
afa8e9f6
GM
19793 * files.el (save-some-buffers): Doc fix.
19794
35eae264
EZ
197952011-04-02 Eli Zaretskii <eliz@gnu.org>
19796
19797 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19798
26b51db5
JB
197992011-04-01 Juanma Barranquero <lekktu@gmail.com>
19800
19801 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19802 Use `dolist' rather than `mapcar'.
19803
7200d79c
SM
198042011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19805
03408648 19806 Add lexical binding.
7200d79c 19807
03408648
SM
19808 * subr.el (apply-partially): Use new closures rather than CL.
19809 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19810 (dolist, dotimes): Use slightly different expansion for lexical code.
19811 (functionp): Move to C.
19812 (letrec): New macro.
19813 (with-wrapper-hook): Use it and apply-partially instead of CL.
19814 (eval-after-load): Preserve lexical-binding.
19815 (save-window-excursion, with-output-to-temp-buffer): Turn them
19816 into macros.
7200d79c 19817
03408648
SM
19818 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19819
19820 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19821 than the arglist.
19822 (help-add-fundoc-usage): Don't add `Not documented'.
19823 (help-function-arglist): Handle closures, subroutines, and new
19824 byte-code-functions.
19825 (help-make-usage): Remove leading underscores.
19826 (describe-function-1): Handle closures.
19827 (describe-variable): Use special-variable-p for completion.
19828
19829 * files.el (lexical-binding): Declare safe.
f488fb65 19830
03408648
SM
19831 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19832 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19833 (pcase): Add `let' pattern.
19834 Change memoization so it actually works.
19835 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19836 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19837 <let>: New case.
f488fb65 19838
03408648
SM
19839 * emacs-lisp/macroexp.el: Use lexical binding.
19840 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19841 Don't convert ' to #' without checking that it's indeed quoting
19842 a lambda.
19843
19844 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 19845 Use eval-sexp-add-defvars.
03408648
SM
19846 (eval-sexp-add-defvars): New fun.
19847
19848 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19849
19850 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19851 Don't autoload.
19852 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19853 than the internal `byte-compile-lambda'.
19854 (defmethod): Don't hide code under quotes.
19855 (eieio-defmethod): New `code' argument.
19856
19857 * emacs-lisp/eieio-comp.el: Remove.
19858
19859 * emacs-lisp/edebug.el (edebug-eval-defun)
19860 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19861 (edebug-toggle): Avoid `eval'.
19862
19863 * emacs-lisp/disass.el (disassemble-internal): Handle new
19864 `closure' objects.
19865 (disassemble-1): Handle new byte codes.
19866
19867 * emacs-lisp/cl.el (pushnew): Silence warning.
19868
19869 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19870 (cl-byte-compile-throw): Remove.
19871 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19872
19873 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19874 closures.
19875
19876 * emacs-lisp/cconv.el: New file.
19877
19878 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19879 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19880 (byte-compile-initial-macro-environment):
19881 Handle declare-function here.
19882 (byte-compile--lexical-environment): New var.
19883 (byte-stack-ref, byte-stack-set, byte-discardN)
19884 (byte-discardN-preserve-tos): New lap codes.
19885 (byte-interactive-p): Don't use any more.
19886 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19887 New macros.
19888 (byte-compile-lapcode): Use them and handle new lap codes.
19889 (byte-compile-obsolete): Remove.
19890 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19891 (byte-compile-arglist-warn): Check late def of inlinable funs.
19892 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19893 since they should have been expanded by now.
19894 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19895 (byte-compile-from-buffer): Remove unused second arg.
19896 (byte-compile-preprocess): New function.
19897 (byte-compile-toplevel-file-form): New function to distinguish
19898 file-form calls from outside from file-form calls from hunk-handlers.
19899 (byte-compile-file-form): Simplify.
19900 (byte-compile-file-form-defsubst): Remove.
19901 (byte-compile-file-form-defmumble): Simplify now that
19902 byte-compile-lambda always returns a byte-code-function.
19903 (byte-compile): Preprocess.
19904 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19905 Remove, not used any more.
19906 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19907 (byte-compile-make-args-desc): New funs.
19908 (byte-compile-lambda): Handle lexical functions. Always return
19909 a byte-code-function.
19910 (byte-compile-reserved-constants): New var, to make up room for
19911 closed-over variables.
19912 (byte-compile-constants-vector): Obey it.
19913 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19914 (byte-compile-macroexpand-declare-function): New function.
19915 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19916 byte-code-functions.
19917 (byte-compile-form): Check obsolescence here.
19918 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19919 (byte-compile-variable-ref): Remove.
19920 (byte-compile-dynamic-variable-op): New fun.
19921 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19922 (byte-compile-variable-set): New funs.
19923 (byte-compile-discard): Add 2 args.
19924 (byte-compile-stack-ref, byte-compile-stack-set)
19925 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19926 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19927 macroexpand-all instead.
19928 (byte-compile-quote-form): Remove.
19929 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19930 (byte-compile-bind, byte-compile-unbind): New funs.
19931 (byte-compile-let): Handle let* and lexical binding.
19932 (byte-compile-let*): Remove.
19933 (byte-compile-catch, byte-compile-unwind-protect)
19934 (byte-compile-track-mouse, byte-compile-condition-case):
19935 Handle a new :fun-body form, used for lexical scoping.
19936 (byte-compile-save-window-excursion)
19937 (byte-compile-with-output-to-temp-buffer): Remove.
19938 (byte-compile-defun): Simplify.
19939 (byte-compile-stack-adjustment): New fun.
19940 (byte-compile-out): Use it.
19941 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19942
19943 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19944 handler any more.
19945
19946 * emacs-lisp/byte-opt.el: Use lexical binding.
19947 (byte-inline-lapcode): Remove (to bytecomp).
19948 (byte-compile-inline-expand): Pay attention to inlining to/from
19949 lexically bound code.
19950 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19951 any more.
19952 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19953 any more and don't call compiler-macros.
19954 (byte-compile-splice-in-already-compiled-code): Remove.
19955 (byte-code): Don't inline any more.
19956 (disassemble-offset): Receive `bytes' as argument rather than via
19957 dynamic scoping.
19958 (byte-compile-tag-number): Declare before first use.
19959 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19960 `return' even if make-spliceable.
19961 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19962 obsolete interactive-p.
19963 (byte-optimize-lapcode): Optimize new lap-codes.
19964 Don't trip up on new form of `byte-constant' lap code.
19965
19966 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19967
19968 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19969
19970 * custom.el (custom-initialize-default, custom-declare-variable):
19971 Use `defvar'.
19972
19973 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19974 New variables.
19975 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19976 (COMPILE_FIRST): Add macroexp and cconv.
19977 * makefile.w32-in: Mirror changes in Makefile.in.
19978
19979 * vc/cvs-status.el:
19980 * vc/diff-mode.el:
19981 * vc/log-edit.el:
19982 * vc/log-view.el:
19983 * vc/smerge-mode.el:
19984 * textmodes/bibtex-style.el:
090bd7cb 19985 * textmodes/css-mode.el:
03408648
SM
19986 * startup.el:
19987 * uniquify.el:
da91b5f2
CY
19988 * minibuffer.el:
19989 * newcomment.el:
19990 * reveal.el:
19991 * server.el:
19992 * mpc.el:
19993 * emacs-lisp/smie.el:
19994 * doc-view.el:
19995 * dired.el:
03408648
SM
19996 * abbrev.el: Use lexical binding.
19997
0f0c1f27
EZ
199982011-04-01 Eli Zaretskii <eliz@gnu.org>
19999
20000 * info.el (info-display-manual): New function.
20001
c82b2579
SM
200022011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20003
20004 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20005
221ddf68
TH
200062011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20007
20008 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 20009 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 20010
cba6e77e
GM
200112011-03-31 Glenn Morris <rgm@gnu.org>
20012
e040639f
GM
20013 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20014
cba6e77e
GM
20015 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20016
6d0f1c9e
CS
200172011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20018
20019 * progmodes/python.el (python-default-interpreter)
20020 (python-python-command-args, python-jython-command-args)
20021 (python-which-shell, python-which-args, python-which-bufname)
20022 (python-file-queue, python-comint-output-filter-function)
20023 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20024 variables and functions.
20025
3e2d70fd
SM
200262011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20027
20028 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20029 (completion-in-region-mode): New minor mode.
20030 (completion-in-region): Use it.
20031 (completion-in-region--data, completion-in-region-mode-map): New vars.
20032 (completion-in-region--postch): New function.
20033 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20034 New vars.
20035 (completion--capf-wrapper): New function.
20036 (completion-at-point): Use it to track well-behavedness of
20037 hook functions.
20038 (completion-help-at-point): New command.
20039
f3e4086c
JM
200402011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20041
20042 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20043 syntax class to search for whitespace on a single line
20044 (Message-ID: <4D938140.4030905@redhat.com>).
20045
eb7ffc14
LL
200462011-03-30 Leo Liu <sdl.web@gmail.com>
20047
20048 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20049 New commands.
20050 (edit-abbrevs-map): Bind them here.
20051 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20052
d806ab68
KM
200532011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20054
20055 * allout.el (allout-hide-by-annotation, allout-flag-region):
20056 Reduce possibility of overlay leakage by making them volatile.
20057
20058 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20059 hash is not shared between buffers. Mode initialization is
20060 responsible for giving it a useful starting value.
20061 (allout-item-span): Reduce possibility of overlay leakage by
20062 making them volatile.
20063 (allout-widgets-count-buttons-in-region): Add diagnostic function
20064 for tracking down button overlay leaks.
20065
ea622834
LL
200662011-03-29 Leo Liu <sdl.web@gmail.com>
20067
20068 * ido.el (ido-read-internal): Use the default history var
20069 minibuffer-history if no HISTORY is specified.
20070
b62f8267
G
200712011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20072
03408648
SM
20073 * net/imap.el (imap-shell-open, imap-process-connection-type):
20074 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
20075 Kerberos, SSL, other subprocesses.
20076
947b6566
LL
200772011-03-28 Leo Liu <sdl.web@gmail.com>
20078
20079 * abbrev.el (abbrev-table-empty-p): New function.
20080 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20081 nonempty ones. (Bug#5937)
20082
5ffb62aa
JD
200832011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20084
20085 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20086
7a097943
LL
200872011-03-27 Leo Liu <sdl.web@gmail.com>
20088
20089 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20090 for foreground and background colors.
20091 (ansi-color-make-color-map): Adapt.
20092
c5b40130
LL
200932011-03-25 Leo Liu <sdl.web@gmail.com>
20094
1f48f7d2
LL
20095 * midnight.el (midnight-time-float): Remove. Note it calculates
20096 the microsecond component incorrectly and seconds-to-time does the
20097 same job.
625897ec 20098 Remove redundant (require 'timer).
1f48f7d2 20099
c5b40130
LL
20100 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20101 (ido-completions): Remove unused arguments. (Bug#8329)
20102
d86d2721
SM
201032011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20104
20105 * minibuffer.el (completion--flush-all-sorted-completions):
20106 Remove itself from hook.
20107 (completion-at-point): Let the functions perform the completion
20108 immediately and return nil or t.
20109 * comint.el (comint-dynamic-complete-functions): Now identical to
20110 completion-at-point-functions.
20111 (comint-dynamic-list-input-ring): Remove unused var `index'.
20112 (comint--match-partial-filename, comint--unquote&expand-filename):
20113 New funs, split from comint-match-partial-filename.
20114 (comint-dynamic-complete): Use completion-at-point.
20115 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20116
e8974c48
DA
201172011-03-24 Drew Adams <drew.adams@oracle.com>
20118
20119 * thingatpt.el: Support `defun'.
20120
def71b5e
LL
201212011-03-23 Leo Liu <sdl.web@gmail.com>
20122
cb5af48e
LL
20123 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20124
def71b5e
LL
20125 * help-mode.el (help-mode-finish): Tweak regexp.
20126
927c53e7
GM
201272011-03-23 Glenn Morris <rgm@gnu.org>
20128
18d05bed
GM
20129 * eshell/esh-opt.el (eshell-eval-using-options):
20130 Do not bind unused local variable `eshell-option-stub'.
20131
927c53e7
GM
20132 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20133
9d0da923
JB
201342011-03-22 Juanma Barranquero <lekktu@gmail.com>
20135
20136 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20137 keymap variable in `with-no-warnings' to avoid a warning when the
20138 keymap has been already `defconst'ed.
20139
4b978a67
LL
201402011-03-22 Leo Liu <sdl.web@gmail.com>
20141
20142 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20143 encode all chars in abbrevs; otherwise use emacs-mule or
20144 utf-8-emacs. (Bug#8308)
20145
5fd62452
JB
201462011-03-22 Juanma Barranquero <lekktu@gmail.com>
20147
0b1596c6
JB
20148 * simple.el (backward-delete-char-untabify):
20149 Avoid warning about using `delete-backward-char'.
20150
5fd62452
JB
20151 * image.el (image-type-file-name-regexps): Make it variable.
20152 `imagemagick-register-types' modifies it, and the user may want
20153 to add new extensions for known image types.
20154 (imagemagick-register-types): Throw error if not using ImageMagick.
20155
0b4e93f1
LL
201562011-03-22 Leo Liu <sdl.web@gmail.com>
20157
20158 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20159 located before rcirc-prompt-end-marker.
20160 (rcirc-complete): Error if point is not after rcirc prompt.
20161 Handle the case when table is nil.
9882e214 20162 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 20163
fccee4ab
CY
201642011-03-22 Chong Yidong <cyd@stupidchicken.com>
20165
20166 * custom.el (custom--inhibit-theme-enable): Make it affect only
20167 custom-theme-set-variables and custom-theme-set-faces.
20168 (provide-theme): Ignore custom--inhibit-theme-enable.
20169 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20170 (custom-enabling-themes): Delete variable.
d86d2721
SM
20171 (enable-theme): Accept only loaded themes as arguments.
20172 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
20173 (custom-enabled-themes): Forbid themes from setting this.
20174 Eliminate use of custom-enabling-themes.
20175 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 20176
af896da6
LL
201772011-03-21 Leo Liu <sdl.web@gmail.com>
20178
20179 * ido.el (ido-read-internal): Add ido-selected to history instead
20180 of user input.
20181
78f64af0
SM
201822011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20183
20184 * subr.el (deferred-action-list, deferred-action-function):
20185 Mark obsolete.
20186
b16ac1ec
LL
201872011-03-21 Leo Liu <sdl.web@gmail.com>
20188
810f7698
LL
20189 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20190 change on 2011-02-13 (bug#8309).
20191
b16ac1ec
LL
20192 * minibuffer.el (read-file-name-function): Change default value.
20193 (read-file-name--defaults): Rename from read-file-name-defaults.
20194 (read-file-name-default): Rename from read-file-name.
20195 (read-file-name): Call read-file-name-function.
20196
4e05e67e
GM
201972011-03-21 Glenn Morris <rgm@gnu.org>
20198
20199 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20200 Doc fixes.
20201
4359915b
CY
202022011-03-21 Chong Yidong <cyd@stupidchicken.com>
20203
20204 * cus-theme.el: Add missing provide statement.
20205 (customize-create-theme): Extract theme value correctly.
20206 (custom-theme-visit-theme): Autoload.
20207 (customize-create-theme): Prompt before inserting default faces.
20208
1fe275ee
JB
202092011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20210
20211 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20212 units and musical notes.
20213
cd394be1 202142011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
20215
20216 * ido.el (ido-read-internal): Use completing-read-default.
20217 (ido-completing-read): Fix compatibility with completing-read.
20218
7d476bde
CO
202192011-03-20 Christian Ohler <ohler@gnu.org>
20220
20221 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20222 (ert-delete-all-tests): Use `called-interactively-p' rather than
20223 `interactive-p'.
20224 (ert--make-xrefs-region): Respect END.
20225
fe0fb33e
CY
202262011-03-19 Chong Yidong <cyd@stupidchicken.com>
20227
ff854b0b
CY
20228 * dired-aux.el (dired-create-directory): Signal an error if the
20229 directory already exists (Bug#8246).
20230
fe0fb33e
CY
20231 * facemenu.el (list-colors-display): Call list-faces-display
20232 inside with-help-window.
20233 (list-colors-print): Use display property to align the final
20234 column, instead of checking window-width.
20235
576bce32
EZ
202362011-03-19 Eli Zaretskii <eliz@gnu.org>
20237
4d61f28d 20238 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
20239 windows-nt systems.
20240 (emerge-protect-metachars): Quote correctly for ms-dos and
20241 windows-nt systems.
20242
89c41d68 202432011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
20244
20245 * info.el (info-initialize): Replace all uses of `:' with
20246 path-separator for compatibility with non-Unix systems.
20247 Cache quoting of path-separator. (Bug#8258)
20248
b14e3e21 202492011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
20250
20251 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20252 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20253 (mouse-avoidance-mode): Fix typos in docstrings.
20254
4525ce3e
CY
202552011-03-19 Chong Yidong <cyd@stupidchicken.com>
20256
20257 * startup.el (package-subdirectory-regexp): Move from package.el.
20258 Omit \\` and \\', and let callers add them.
20259
20260 * emacs-lisp/package.el (package-strip-version)
20261 (package-load-all-descriptors): Add \\` and \\' to
20262 package-subdirectory-regexp before using it.
20263 (package-untar-buffer): New arg DIR; ensure that file untars only
20264 into this expected directory. Remove superfluous delete-region.
20265 (package-unpack): Caller changed.
20266 (package-tar-file-info): Use package-subdirectory-regexp.
20267
a904a09a 202682011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 20269
a904a09a
SM
20270 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20271 diff-mode-shared-map (bug#8284).
20272 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
20273
202742011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20275
20276 * calendar/time-date.el (format-seconds): Use assoc instead of
20277 assoc-string, since assoc-string doesn't exist in XEmacs.
20278
171fc304
JB
202792011-03-17 Juanma Barranquero <lekktu@gmail.com>
20280
20281 * custom.el (custom-known-themes): Reflow docstring.
20282 (custom-theme-load-path): Fix typo in docstring.
20283 (load-theme): Fix typo in error message.
20284 (custom-available-themes, custom-variable-theme-value):
20285 Use `let', not `let*'.
20286
d71990a1
JB
202872011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20288
20289 * calc/README: Mention inclusion of musical notes.
20290
20291 * calc/calc-units.el (calc-lu-quant): Rename from
20292 `calc-logunits-quantity'.
20293 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20294 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20295 (calc-db): Rename from `calc-dblevel'.
20296 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20297 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20298 (calc-np): Rename from `calc-nplevel'.
20299 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20300 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20301 (calc-lu-plus): Rename from `calc-logunits-add'.
20302 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20303 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20304 (calc-lu-minus): Rename from `calc-logunits-sub'.
20305 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20306 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20307 (calc-lu-times): Rename from `calc-logunits-mul'.
20308 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20309 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20310 (calc-lu-divide): Rename from `calc-logunits-div'.
20311 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20312 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20313
20314 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20315 functions being autoloaded.
20316
20317 * calc/calc.el (calc-lu-power-reference): Rename from
20318 `calc-logunits-power-reference'.
20319 (calc-lu-field-reference): Rename from
20320 `calc-logunits-field-reference'.
20321
7a71b18d
GM
20322 * calc/calc-help.el (calc-l-prefix-help):
20323 Mention musical note functions.
d71990a1 20324
40c2934b
SM
203252011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20326
20327 * minibuffer.el (completion-all-sorted-completions):
20328 Use :completion-cycle-penalty text property if present.
20329
b0911414
KM
203302011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20331
20332 * allout.el (allout-yank-processing): Adjust for new rebulleting
20333 regime so bullet being yanked is used without prompting the user
20334 for a choice.
20335
8a05b668
JB
203362011-03-16 Juanma Barranquero <lekktu@gmail.com>
20337
20338 * startup.el (command-line): Warn the user that _emacs is deprecated.
20339
5ba5fb81
JB
203402011-03-16 Juanma Barranquero <lekktu@gmail.com>
20341
20342 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20343 (delphi-verbose, delphi-comment-face, delphi-string-face)
20344 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20345 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20346 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20347 (delphi-new-comment-line, delphi-font-lock-defaults)
20348 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20349 Fix typos in docstrings.
20350
2dab465b
KM
203512011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20352
5ba5fb81 20353 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
20354 Invert the roles of character and string values for INSTEAD, so a
20355 string is used for the more common case of a defaulting prompt.
20356
0adf5618
SM
203572011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20358
20359 * progmodes/ruby-mode.el (ruby-backward-sexp):
20360 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20361 * play/gamegrid.el (gamegrid-make-face):
20362 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20363 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20364 * notifications.el (notifications-notify):
20365 * net/xesam.el (xesam-search-engines):
20366 * net/quickurl.el (quickurl-list-insert):
20367 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20368
d72700e5
CY
203692011-03-15 Chong Yidong <cyd@stupidchicken.com>
20370
20371 * startup.el (command-line): Update package subdirectory regexp.
20372
49c5410a
SM
203732011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20374
c6eee9aa
SM
20375 * allout.el (allout-abbreviate-flattened-numbering)
20376 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20377
49c5410a
SM
20378 * subr.el (read-char-choice): Only show the cursor after the prompt,
20379 not after the answer.
20380
047b2bb9
KR
203812011-03-15 Kevin Ryde <user42@zip.com.au>
20382
20383 * help-fns.el (variable-at-point): Skip leading quotes, if any
20384 (bug#8253).
20385
0a57d256
SM
203862011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20387
20388 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20389 warning message.
20390
77c992bc
MA
203912011-03-14 Michael Albinus <michael.albinus@gmx.de>
20392
20393 * shell.el (shell): When called interactively, offer to change the
20394 shell file name on remote hosts.
20395
eebc475d
TZ
203962011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20397
20398 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20399 integration for LDAP parameters. The host, base, user or binddn,
20400 and secret tokens can be specified in a netrc file, for instance.
20401 This is optional because an `auth-source' parameter must be
20402 specified in the search attributes.
20403
9d05d1ba
JB
204042011-03-13 Juanma Barranquero <lekktu@gmail.com>
20405
20406 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20407
09d9db2c
GM
204082011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20409
20410 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20411 into declaration. Remove redundant and harmful binding.
20412
204132011-03-12 Eli Zaretskii <eliz@gnu.org>
20414
20415 * files.el (file-ownership-preserved-p): Pass `integer' as an
20416 explicit 2nd argument to `file-attributes'. If the file's owner
20417 is the Administrators group on Windows, and the current user is
20418 Administrator, consider that a match.
20419
20420 * server.el (server-ensure-safe-dir): Consider server directory
20421 safe on MS-Windows if its owner is the Administrators group while
20422 the current Emacs user is Administrator. Use `=' to compare
20423 numerical UIDs, since they could be integers or floats.
20424
219bd536
JB
204252011-03-12 Juanma Barranquero <lekktu@gmail.com>
20426
20427 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20428
f3afd36b
MA
204292011-03-12 Michael Albinus <michael.albinus@gmx.de>
20430
20431 Sync with Tramp 2.2.1.
20432
20433 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20434
20435 * net/trampver.el: Update release number.
20436
3aaaa6f1
SM
204372011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20438
94642599
SM
20439 * progmodes/compile.el (compilation--previous-directory): Fix up
20440 various nil/dead-marker mismatches (bug#8014).
20441 (compilation-directory-properties, compilation-error-properties):
20442 Don't call it at a position past the one we're about to change.
20443
3aaaa6f1
SM
20444 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20445 Disable obsolescence warnings in the file that declares it.
20446
14239447
KM
204472011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20448
099c39a4
JB
20449 * allout-widgets.el (allout-widgets-tally):
20450 Initialize allout-widgets-tally as a hash table rather than nil to
20451 prevent mode-line redisplay warnings. Also, clarify the module
20452 description and fix a comment typo.
14239447 20453
135e287c
JB
204542011-03-11 Juanma Barranquero <lekktu@gmail.com>
20455
20456 * help-fns.el (describe-variable): Don't complete keywords.
20457 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20458
ffbf300e
CY
204592011-03-10 Chong Yidong <cyd@stupidchicken.com>
20460
ba08b241
CY
20461 * emacs-lisp/package.el (package-version-join): Impose a standard
20462 string representation for pre/alpha/beta version lists.
20463 (package-unpack-single): Standardize the directory name by passing
20464 it through package-version-join.
20465 (package-strip-rcs-id): Accept any version string that does not
20466 signal an error in version-to-list.
ffbf300e 20467
f346fd6b
MA
204682011-03-10 Michael Albinus <michael.albinus@gmx.de>
20469
20470 * simple.el (delete-trailing-whitespace): Return nil for the
20471 benefit of `write-file-functions'.
20472
ccb55d27
GM
204732011-03-10 Glenn Morris <rgm@gnu.org>
20474
5ceaac0c
GM
20475 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20476
02da65ff
GM
20477 * vc/vc-git.el (vc-git-program): New option.
20478 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20479 (vc-git--call): Use it.
20480
b2f603cc
GM
20481 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20482
5772caab
GM
20483 * cus-edit.el (Custom-newline): If no button at point, look
20484 for a subgroup button at start-of-line. (Bug#2298)
20485
ccb55d27
GM
20486 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20487
ec6ecaed
JD
204882011-03-10 Julien Danjou <julien@danjou.info>
20489
20490 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20491 `cursor-type' is nil.
20492
9d5aa01d
JB
204932011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20494
20495 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20496
b6a5875b
KM
204972011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20498
7a71b18d 20499 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
20500 preserves the existing header prefix, rebulleting it if necessary,
20501 rather than replacing it. This is necessary for proper operation
20502 of cooperative addons like allout-widgets.
1154d12e
JB
20503 (allout-make-topic-prefix, allout-rebullet-heading):
20504 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20505 value as alternate bullet to be used, instead of prompting the user
20506 for a bullet character.
b6a5875b 20507
ee545c35
MA
205082011-03-09 Michael Albinus <michael.albinus@gmx.de>
20509
d86d2721
SM
20510 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20511 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
20512 `tramp-default-port'.
20513
c47971d7
DD
205142011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20515
20516 * net/rcirc.el (rcirc-handler-001): Remove useless
20517 with-rcirc-process-buffer.
20518 (rcirc-check-auth-status): Swap arguments to string-match.
20519
13522cb4
GM
205202011-03-09 Glenn Morris <rgm@gnu.org>
20521
0be6f4f1
GM
20522 * shell.el (shell-mode):
20523 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20524
13522cb4
GM
20525 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20526 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20527
515de2e3
CY
205282011-03-08 Chong Yidong <cyd@stupidchicken.com>
20529
20530 * emacs-lisp/package.el (package-refresh-contents)
20531 (package-menu-execute): Use condition-case-no-debug.
20532
b511b994
MA
205332011-03-08 Michael Albinus <michael.albinus@gmx.de>
20534
20535 * simple.el (shell-command-to-string): Use `process-file'.
20536
20537 * emacs-lisp/package.el (package-tar-file-info): Handle also
20538 remote files.
20539
d86d2721
SM
20540 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20541 Use `equal' for upload base check.
b511b994 20542
25bbfb31
AM
205432011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20544
20545 * textmodes/texinfo.el (texinfo-environments):
20546 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20547
be996521
GM
205482011-03-08 Glenn Morris <rgm@gnu.org>
20549
e9c8529f
GM
20550 * cus-start.el (cursor-in-non-selected-windows):
20551 Fix :set quoting oddness. (Bug#8192)
20552
be996521
GM
20553 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20554 in some setf expressions. (Bug#2159)
20555
2bb5649e
CY
205562011-03-08 Chong Yidong <cyd@stupidchicken.com>
20557
20558 * custom.el (custom-available-themes): Return themes in
20559 alphabetical order.
20560
33383987 20561See ChangeLog.15 for earlier changes.
e3d51b27
MR
20562
20563;; Local Variables:
20564;; coding: utf-8
e3d51b27
MR
20565;; End:
20566
acaf905b 20567 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
20568
20569 This file is part of GNU Emacs.
20570
20571 GNU Emacs is free software: you can redistribute it and/or modify
20572 it under the terms of the GNU General Public License as published by
20573 the Free Software Foundation, either version 3 of the License, or
20574 (at your option) any later version.
20575
20576 GNU Emacs is distributed in the hope that it will be useful,
20577 but WITHOUT ANY WARRANTY; without even the implied warranty of
20578 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20579 GNU General Public License for more details.
20580
20581 You should have received a copy of the GNU General Public License
20582 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.