Undo faccessat change.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
8e808318
SM
12012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * minibuffer.el (minibuffer-force-complete): Make the next completion use
4 the same completion-field (bug@12221).
5
fb0104da
MR
62012-10-19 Martin Rudalics <rudalics@gmx.at>
7
8 * emacs-lisp/debug.el (debug): Record height of debugger window
9 also when debugger will be back (Bug#8789).
10
8c27235e
CY
112012-10-18 Chong Yidong <cyd@gnu.org>
12
13 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
14 Convert to defcustom.
15 (gdb-get-source-file): Don't bind pop-up-windows.
16
17 * progmodes/gud.el (gud-display-line): Don't specially re-use
18 other frames for the gdb-mi case (Bug#12648).
19
90eacf99
SM
202012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
21
aaf0c300
SM
22 * emacs-lisp/advice.el: Clean up commentary a bit.
23 (ad-do-advised-functions, ad-with-originals): Use `declare'.
24 (byte-code-function-p): Never redefine.
25
90eacf99
SM
26 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
27
281c9d2b
GM
282012-10-18 Glenn Morris <rgm@gnu.org>
29
40714e3d
GM
30 * dired.el (dired-sort-toggle): Some ls implementations only allow
31 a single option string. (Bug#12666)
32
281c9d2b
GM
33 * minibuffer.el (completion-cycle-threshold): Doc fix.
34
b278604e
KH
352012-10-17 Kenichi Handa <handa@gnu.org>
36
90eacf99
SM
37 * international/mule.el (set-keyboard-coding-system):
38 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
39 Supply TERMINAL arg to set-input-meta-mode.
40
7ebc5f5a
MH
412012-10-17 Michael Heerdegen <michael_heerdegen@web.de> (tiny change)
42
43 * wdired.el (wdired-old-marks): New variable.
44 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
45 (wdired-do-renames): Move point with renamed file and don't lose
46 mark status (Bug#11795).
47
e5a94ec4
JL
482012-10-16 Juri Linkov <juri@jurta.org>
49
50 * replace.el (query-replace-help): Mention multi-buffer replacement
51 keys in the Help message. (Bug#12655)
52
d18a0d24
CY
532012-10-15 Chong Yidong <cyd@gnu.org>
54
55 * emacs-lisp/byte-run.el (defsubst): Doc fix.
56
8111f5e6
EZ
572012-10-14 Eli Zaretskii <eliz@gnu.org>
58
7b9abf24
EZ
59 * window.el (display-buffer): Doc fix.
60
8111f5e6
EZ
61 * progmodes/compile.el (compilation-error-regexp-alist-alist):
62 Adjust the msft regexp to the output of Studio 2010, and move msft
63 before edg-1. See the discussion on emacs-devel,
64 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
65 for the details.
66
5046ef67
SM
672012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
68
9760c73c
SM
69 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
70 (oset): Move uses of object-class-fast macro after its definition.
71
5046ef67
SM
72 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
73
0d11ff1c
CY
742012-10-13 Chong Yidong <cyd@gnu.org>
75
76 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
77 enabled, re-enable it (Bug#11963).
78
88ded8ac
MR
792012-10-13 Martin Rudalics <rudalics@gmx.at>
80
81 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
82 non-nil, restore window configuration (Bug#12623).
83
bd0ffffd
SM
842012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
85
06485aa8
SM
86 * help-fns.el (describe-variable, describe-function-1):
87 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
88
bd0ffffd
SM
89 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
90
3a989246
GM
912012-10-12 Glenn Morris <rgm@gnu.org>
92
93 * mail/rmailsum.el (rmail-header-summary):
94 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
95
55cd00c8
FEG
962012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
97
bd0ffffd
SM
98 * progmodes/python.el (python-mode-map):
99 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
100 (python-nav--up-list): Fix behavior for blocks on the same level.
101
ac9fc2c7
SM
1022012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
103
d8cc4c00 104 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 105
5253a5fd
SM
106 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
107 changes to the format of load-history.
108
ac9fc2c7
SM
109 * international/mule-cmds.el (read-char-by-name): Move let-binding of
110 completion-ignore-case in case that var is buffer-local (bug#12615).
111
cde44a77
KH
1122012-10-11 Kenichi Handa <handa@gnu.org>
113
114 * international/eucjp-ms.el: Re-generated.
115
4ef4a10d
KH
1162012-10-10 Kenichi Handa <handa@gnu.org>
117
118 * select.el (xselect--encode-string): If a coding is specified for
119 selection, and that is compatible with COMPOUND_TEXT, use it.
120
9d7f027b
MR
1212012-10-10 Martin Rudalics <rudalics@gmx.at>
122
123 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
124 (switch-to-buffer):
125 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 126
238f3a58
SM
1272012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
128
129 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
130 Don't document nil as a useful value (bug#12583).
131
1d51f99c
MA
1322012-10-09 Michael Albinus <michael.albinus@gmx.de>
133
238f3a58
SM
134 * net/tramp.el (tramp-debug-message):
135 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
136 (with-tramp-progress-reporter): Rename from
137 `tramp-with-progress-reporter'.
238f3a58
SM
138 (with-tramp-file-property, with-tramp-connection-property):
139 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
140 `with-connection-property', respectively.
141
142 * net/tramp-cache.el: Remove `with-file-property' and
143 `with-connection-property'.
144
145 * net/tramp.el:
146 * net/tramp-gvfs.el:
147 * net/tramp-sh.el:
148 * net/tramp-smb.el: Adapt callees.
149
150 * net/trampver.el: Update release number.
151
26b77251
GM
1522012-10-09 Glenn Morris <rgm@gnu.org>
153
9a5f296f
GM
154 * w32-fns.el (set-message-beep):
155 * term/w32-win.el (set-message-beep): Update declarations.
156
94c66ce5
SM
1572012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
158
10766e9e
SM
159 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
160 (mode-line-widen, mode-line-input-method-map)
161 (mode-line-coding-system-map, mode-line-remote)
162 (mode-line-unbury-buffer, mode-line-bury-buffer)
163 (mode-line-next-buffer, mode-line-previous-buffer):
164 Replace save-selected-window+select-window => with-selected-window.
165
f754db08
SM
166 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
167 * progmodes/cc-vars.el (bq-process): Remove, unused.
168
94c66ce5
SM
169 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
170
a4ff7fe1
FEG
1712012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
172
173 Implemented `backward-up-list'-like navigation.
174 * progmodes/python.el (python-nav-up-list)
175 (python-nav-backward-up-list): New functions.
176 (python-mode-map): Define substitute key for backward-up-list to
177 python-nav-backward-up-list.
178
24517d82
FEG
1792012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
180
181 * progmodes/python.el (python-fill-paragraph): Rename from
182 python-fill-paragraph-function. Fixed fill-paragraph for
183 decorators (Bug#12605).
184
51867ae2
FEG
1852012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
186
187 * progmodes/python.el (python-shell-output-filter): Handle extra
188 carriage return in OSX (Bug#12409).
189
a5b773c4
FEG
1902012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
191
192 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 193 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
194 (python-syntax-propertize-function): Use it.
195 (python-shell-output-syntax-table): New var.
196 (inferior-python-mode): Prevent unbalanced parens/quotes from
197 previous output mess with current input context.
198
13373538
JB
1992012-10-08 Juanma Barranquero <lekktu@gmail.com>
200
201 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
202 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
203
775a132d
MA
2042012-10-08 Michael Albinus <michael.albinus@gmx.de>
205
206 * ffap.el (ffap-replace-file-component): Support Tramp file name
207 syntax, not only ange-ftp's one.
208
3ab44929
GM
2092012-10-08 Glenn Morris <rgm@gnu.org>
210
57f1dee4
GM
211 * cus-start.el (message-log-max): Set :version.
212
3ab44929
GM
213 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
214
6a088630
MR
2152012-10-08 Martin Rudalics <rudalics@gmx.at>
216
217 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
218 the minibuffer window (Bug#10851).
219
8dbce54c
FEG
2202012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
221
222 Enhancements on forward-sexp movement.
223 * progmodes/python.el (python-nav-beginning-of-statement)
224 (python-nav-end-of-statement): Return point-marker.
225 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
226 (python-info-current-symbol)
227 (python-info-statement-starts-block-p): Rename from
228 python-info-beginning-of-block-p.
229 (python-info-statement-ends-block-p): Rename from
230 python-info-end-of-block-p.
231 (python-info-beginning-of-statement-p)
232 (python-info-end-of-statement-p)
233 (python-info-beginning-of-block-p, python-info-end-of-block-p):
234 New functions.
235
5acd2b3e
SM
2362012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
237
238 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
239 frame-selected-windows.
240
e08348a0
DC
2412012-10-08 Daniel Colascione <dancol@dancol.org>
242
243 * battery.el (battery-status-function): Check for
244 w32-battery-status itself, not system-time windows-nt.
245
246 * frame.el: Require cl-lib.
247 (display-format-alist): New variable mapping frame types to
248 functions that initialize them.
249 (window-system-for-display): New function: interprets
250 display-format-alist.
251 (make-frame-on-display): Remove existing display-selection logic
252 and just forward to make-frame, which will now DTRT.
253 (make-frame): Restructure to use window-system-for-display to
254 figure out how to create a frame on a given display.
255 (display-mouse-p): Look for frame-type w32, not a particular
256 system-type.
257
258 * loadup.el: Load w32 lisp code when we have the w32 feature.
259
260 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
261 system-type windows-nt.
262
263 * server.el (server-create-window-system-frame): Look for window
264 type.
265 (server-proces-filter): Only force a window system when windows-nt
266 _and_ w32. Explain why.
267
268 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
269 of window systems we configure for the mode.
270
271 * startup.el (command-line): Mark window system is initialized
272 after we've done it.
273
274 * common-win.el (x-select-text): Look for w32, not windows-nt.
275
276 * ns-win.el: Require cl-lib. Add ourselves to
277 display-format-alist.
278 (ns-initialize-window-system): Assert we're not initialized twice.
279
280 * w32-win.el: Enable lexical binding; require cl-lib; add
281 ourselves to display-format-alist.
282 (w32-handle-dropped-file): Convert incoming dropped files from
283 Windows paths to Cygwin ones before passing them on to the rest of
284 Emacs.
285 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
286 (w32-initialize-window-system): Assert we're not initialized twice.
287
288 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
289 (x-initialize-window-system): Assert we're not initialized twice.
290
291 * w32-common-fns.el: New File.
292 (w32-version, w32-using-nt, w32-get-clipboard-data)
293 (w32-set-clipboard-data, x-set-selection, x-get-selection)
294 (w32-charset-info-alist, x-last-selected, text)
295 (x-get-selection-value, x-selection-value): Move here.
296
297 * w32-fns.el: Require w32-common-fns.
298 (w32-version, w32-using-nt, w32-get-clipboard-data)
299 (w32-set-clipboard-data, x-set-selection, x-get-selection)
300 (w32-charset-info-alist, x-last-selected, text)
301 (x-get-selection-value, x-selection-value): Move to
302 w32-common-fns.
303
304 * w32-vars.el:
305 (w32-allow-system-shell, w32-system-shells): Define only in
306 non-cygwin case.
307
795b1482
SM
3082012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
309
310 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
311 (read-passwd): Remove a few more potential sources of leaks.
312
f27c99dc
FEG
3132012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
314
315 * progmodes/python.el (inferior-python-mode)
795b1482 316 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
317 variables copied from parent buffer.
318
fcacb558
JD
3192012-10-07 Jan Djärv <jan.h.d@swipnet.se>
320
321 * term/ns-win.el (ns-read-file-name): Update declaration to match
322 nsfns.m.
323 (ns-respond-to-change-font): Change fontsize separatly so we are sure
324 it is set when font is acted upon.
325
be0d5bae
FEG
3262012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
327
328 Enhancements to indentation.
329 * progmodes/python.el (python-indent-context): Give priority to
330 inside-string context. Make comments indentation markers.
331 (python-indent-region): Do not mess with strings, unless it's the
332 enclosing set of quotes.
333
13af0d10
SM
3342012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
335
662a9d0e
SM
336 * window.el (internal--before-save-selected-window)
337 (internal--after-save-selected-window): New functions extracted from
338 save-selected-window. Make sure we return the `alist' we construct.
339 (save-selected-window): Use them.
340
341 * textmodes/tex-mode.el (tex-recenter-output-buffer):
342 Use with-selected-window.
343
13af0d10
SM
344 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
345 forms that define macros (bug#12593).
346
6aa75fb6
KH
3472012-10-07 Kenichi Handa <handa@gnu.org>
348
13af0d10
SM
349 * international/mule-conf.el (compound-text-with-extensions):
350 Add :mime-charset property as x-ctext.
6aa75fb6 351
78d876b9
SM
3522012-10-07 Stefan Merten <smerten@oekonux.de>
353
354 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
355 (rst-indent-literal-normal, rst-indent-literal-minimized)
356 (rst-indent-comment): Correct :version tag.
557337e9 357 (rst-official-cvs-rev): Correct version string.
78d876b9 358
99a1e701
GM
3592012-10-07 Glenn Morris <rgm@gnu.org>
360
361 * mail/rmailmm.el (rmail-mime-process-multipart):
362 Do not confuse a multipart message with an epilogue
363 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
364
08f18c3d
FEG
3652012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
366
367 Fix shell output retrieval and comint-prompt-regexp init.
368 * progmodes/python.el (inferior-python-mode):
369 (python-shell-make-comint): Fix initialization of
370 comint-prompt-regexp from copied file local variables.
371 (python-shell-fetched-lines): Remove var.
372 (python-shell-output-filter-in-progress): Rename from
373 python-shell-fetch-lines-in-progress.
374 (python-shell-output-filter-buffer): Rename from
375 python-shell-fetch-lines-string.
376 (python-shell-fetch-lines-filter): Delete function.
377 (python-shell-output-filter): New function.
378 (python-shell-send-string-no-output): Use them.
379
82ed3ab4
GM
3802012-10-07 Glenn Morris <rgm@gnu.org>
381
1595ecfa
GM
382 * hi-lock.el (hi-lock-process-phrase):
383 Try to make it less fragile. (Bug#7161)
384
82ed3ab4
GM
385 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
386
f1f4dba0
GM
3872012-10-06 Glenn Morris <rgm@gnu.org>
388
addc11ed 389 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
390 non-existent mode `help'.
391 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 392
460042b8
GM
393 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
394 (reftex-create-bibtex-footer): Fix custom types.
395
67667c70
GM
396 * progmodes/sh-script.el (sh-indent-after-continuation):
397 Add explicit :group.
398
18dec750
GM
399 * textmodes/rst.el (rst-preferred-decorations)
400 (rst-shift-basic-offset): Clarify obsolescence versions.
401
d1a1c7e6
GM
402 * profiler.el (profiler): Add missing group :version tag.
403 * avoid.el (mouse-avoidance-banish-position):
404 * proced.el (proced-renice-command):
405 * calc/calc.el (calc-ensure-consistent-units):
406 * calendar/icalendar.el (icalendar-import-format-uid):
407 * net/tramp.el (tramp-save-ad-hoc-proxies):
408 * progmodes/bug-reference.el (bug-reference-bug-regexp):
409 * progmodes/flymake.el (flymake-error-bitmap)
410 (flymake-warning-bitmap, flymake-fringe-indicator-position):
411 * progmodes/sh-script.el (sh-indent-after-continuation):
412 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
413 (verilog-before-save-font-hook, verilog-after-save-font-hook):
414 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
415 (vhdl-array-index-record-field-in-sensitivity-list)
416 (vhdl-indent-comment-like-next-code-line):
417 * textmodes/reftex-vars.el (reftex-ref-style-alist)
418 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
419 (reftex-cite-key-separator, reftex-create-bibtex-header)
420 (reftex-create-bibtex-footer):
421 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
422 (rst-indent-literal-normal, rst-indent-literal-minimized)
423 (rst-indent-comment): Add missing custom :version tags.
424
ef35abb4
GM
425 * calendar/timeclock.el (timeclock-modeline-display):
426 Add missing obsolete alias for renamed user option.
427
d1aae614
GM
428 * strokes.el (strokes-modeline-string):
429 * emulation/crisp.el (crisp-mode-modeline-string):
430 * eshell/esh-mode.el (eshell-status-in-modeline):
431 Aliases to defcustoms must come before the defcustom.
432
f1f4dba0
GM
433 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
434 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
435 (cal-tex-cursor-week-monday): Doc fixes.
436 (cal-tex-cursor-week2-summary): Doc fix.
437 Rename from cal-tex-cursor-week-at-a-glance.
438
439 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
440 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
441
442 * calendar/calendar.el (calendar-mode-map):
443 Add cal-tex-cursor-week2-summary.
444
d39109c3
SM
4452012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
446
685f87b0
SM
447 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
448
d39109c3
SM
449 * subr.el (read-passwd-map): New var.
450 (read-passwd): Use `read-string' again.
451 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
452
5694896d
J
4532012-10-06 Jambunathan K <kjambunathan@gmail.com>
454
455 * register.el (append-to-register, prepend-to-register):
456 Deactivate mark, as does `copy-to-register' (bug#12389).
457
9414dd8d
CY
4582012-10-06 Chong Yidong <cyd@gnu.org>
459
460 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
461
2b89bca4
KH
4622012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
463
464 * international/characters.el: Fix simple mistake ((car chars) ->
465 elt), delete duplicated code.
466
d5acb99a
GM
4672012-10-06 Glenn Morris <rgm@gnu.org>
468
469 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
470
123ec157
JS
4712012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
472
473 * color.el (color-hsl-to-rgb): Fix incorrect results for
474 small and large hue values. (Bug#12559)
475
7fa36ccb
FEG
4762012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
477
478 Enhancements to docstring formatting when filling paragraphs.
479 * progmodes/python.el (python-fill-docstring-style): Rename from
480 python-fill-string-style. Added new style.
481 (python-fill-string): Use new style. Better checks for
482 docstrings.
483
d8788e1e
GM
4842012-10-05 Glenn Morris <rgm@gnu.org>
485
204f3953
GM
486 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
487
d8788e1e
GM
488 * color.el (color-name-to-rgb, color-rgb-to-hex)
489 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
490 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
491 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
492 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
493
8d956cef
GM
494 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
495
e8757f09 4962012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
497
498 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
499 to get the correct size across symlinks.
500
e8757f09
GM
501 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
502
0e2ae83d
JL
5032012-10-04 Juri Linkov <juri@jurta.org>
504
505 * replace.el (query-replace-interactive): Declare obsolete.
506 (query-replace-read-from): Add the last incremental search string
507 to the list of default values accessible via M-n.
508 (map-query-replace-regexp): Use `read-regexp'.
509 (query-replace, query-replace-regexp, query-replace-regexp-eval)
510 (map-query-replace-regexp, replace-string, replace-regexp):
511 Fix docstrings to replace mentions of `query-replace-interactive'
512 with alternatives. (Bug#12526)
513
93cacb6d
JL
5142012-10-04 Juri Linkov <juri@jurta.org>
515
516 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
517 (dired-pop-to-buffer): Declare obsolete.
518 (dired-mark-pop-up): Doc fix.
519
fc345011
FEG
5202012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
521
522 Allow user to set docstring style for fill-paragraph.
523 * progmodes/python.el
524 (python-fill-comment-function, python-fill-string-function)
525 (python-fill-decorator-function, python-fill-paren-function):
526 Remove :safe for defcustoms.
527 (python-fill-string-style): New defcustom
5694896d 528 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
529 (python-fill-string): Honor python-fill-string-style settings.
530
6bab5d8b
MR
5312012-10-04 Martin Rudalics <rudalics@gmx.at>
532
533 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
534 after setting its buffer (Bug#10805).
535
a1a9f411
FEG
5362012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
537
538 Fix cornercase for string syntax.
539 * progmodes/python.el (python-syntax-propertize-function):
540 Simplify and enhance the regexp for unescaped quotes. Now it also
541 matches quotes in weird situations like the single quote in
542 "something\"'".
543 (python-syntax-stringify): Simplify num-quotes detecting code.
544
05e153a6
GM
5452012-10-03 Glenn Morris <rgm@gnu.org>
546
547 * help-macro.el (three-step-help):
548 Revert 2012-09-29 change. (Bug#12567)
549
2e566ecb
MR
5502012-10-03 Martin Rudalics <rudalics@gmx.at>
551
96ef9ccd
MR
552 * menu-bar.el (kill-this-buffer): Don't do anything when
553 `menu-frame' is not alive or visible (Bug#8184).
554
2e566ecb
MR
555 * emacs-lisp/debug.el (debug): When quitting the debugger window
556 restore current buffer (Bug#12502).
557
a96e1cb7
CY
5582012-10-02 Chong Yidong <cyd@gnu.org>
559
5694896d
J
560 * progmodes/hideif.el (hif-lookup, hif-defined):
561 Handle semantic-c-takeover-hideif.
a96e1cb7 562
b3ecad33
PE
5632012-10-02 Paul Eggert <eggert@cs.ucla.edu>
564
565 Change sampling interval units from ms to ns.
566 * profiler.el (profiler-sampling-interval): Change units
567 from ms to ns, multiplying the default by 1000000 so that
568 it remains 1 ms.
569 (profiler-report-cpu-line-format): Give enough room for
570 the maximum counters on 64-bit hosts.
571 (profiler-report-render-calltree-1): Call them "CPU samples",
572 not "Time (ms)", since they are not milliseconds now (and
573 never really were).
574
8cb51b66 5752012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 576
5694896d
J
577 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
578 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 579
fd795bf4
CY
5802012-10-02 Chong Yidong <cyd@gnu.org>
581
582 * emacs-lisp/eieio.el: Restore Version header.
583
fe0a74f9
SM
5842012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
585
6be9197e
SM
586 * vc/diff-mode.el (diff--auto-refine-data): New var.
587 (diff-hunk): Use it to delay refinement.
588 (diff-mode): Remove overlays when we turn off font-lock.
589
18486139
SM
590 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
591 (table-initialize-table-fixed-width-mode)
592 (table-set-table-fixed-width-mode): Remove functions.
593 (table-command-list): Move initialization into declaration.
594 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
595 (table-with-cache-buffer): Use `declare'.
596 (table-span-cell): Simplify via CSE.
597 (table-fixed-width-mode): Use define-minor-mode.
598 (table-call-interactively, table-funcall, table-apply): Remove.
599 (table-function): New function, to replace them.
600
d83ef976
SM
601 * bookmark.el (bookmark-search-pattern): Remove var.
602 (bookmark-read-search-input): Remove function.
603 (bookmark-bmenu-search): Reimplement using a minibuffer.
604
cd386662
SM
605 * faces.el (modeline): Remove obsolete face name.
606
fe0a74f9
SM
607 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
608 and give a non-nil default value.
609 (add-change-log-entry): Simplify accordingly.
610
9f7b98f8
DG
6112012-10-01 Dmitry Gutov <dgutov@yandex.ru>
612
613 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
614 (vc-git-log-edit-toggle-amend): New function.
615 (vc-git-log-edit-toggle-signoff): New function.
616 (vc-git-log-edit-mode): New major mode.
617 (vc-git-log-edit-mode-map): Keymap for it.
618 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
619
620 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
621 header names.
622 (log-edit-toggle-header): New function.
623 (log-edit-extract-headers): Accept function values in HEADERS alist.
624
62a81506
CY
6252012-10-01 David Engster <deng@randomsample.de>
626
627 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
628 from symbol property and change message to be more consistent with
629 Emacs proper.
630 (eieio-describe-generic): Add filename for each implementation.
631 Fix indices for generic and normal methods.
632 (eieio-method-def, eieio-class-def): New buttons.
633 (eieio-help-find-method-definition)
634 (eieio-help-find-class-definition): New functions.
635 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
636 class, constructor and method definitions.
637
638 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
639 information in symbol property.
640 (scoped-class): Remove.
641 (eieio-slot-name-index, call-next-method): Check if it is bound.
642
6432012-10-01 Leo P. White <lpw25@cam.ac.uk>
644
645 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
646 (eieio-custom-mode): New major mode.
647 (eieio-customize-object): Use it.
648
6492012-10-01 Eric Ludlam <zappo@gnu.org>
650
651 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
652 specifying the expected class, and whether subclassing is allowed.
653 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
654 (eieio-persistent-validate/fix-slot-value)
655 (eieio-persistent-slot-type-is-class-p): New functions.
656 (eieio-named::slot-missing): Doc fix.
62a81506
CY
657
658 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
659 Stop using unused publd variable.
660
661 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
662 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
663 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
664 (eieio-speedbar-handle-click): Do not specify a class for the
665 method. Fixes method invocation order problems with EDE.
666
375e49d4
SM
6672012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
668
669 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
670 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
671
16ce6ccd
KF
6722012-10-01 Karl Fogel <kfogel@red-bean.com>
673
674 * bookmark.el (bookmark-version-control): Give tags in the
675 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
676 (bookmark-write-file): Bind `print-circle' to `t' to allow
677 circular custom bookmark types. (Bug#12503)
16ce6ccd 678
19e54a4d
PE
6792012-10-01 Paul Eggert <eggert@cs.ucla.edu>
680
86ec63ba
PE
681 Revert the FOLLOW-SYMLINKS change for file-attributes.
682 * files.el (remote-file-name-inhibit-cache, after-find-file):
683 * time.el (display-time-file-nonempty-p): Undo last change.
684
19e54a4d
PE
685 * profiler.el (profiler-sampling-interval): Change default back to 1.
686 See Stefan Monnier in
687 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
688
0478776b
FEG
6892012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
690
691 Shell output catching a la gud-gdb.
692 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
693 (python-shell-fetch-lines-string, python-shell-fetched-lines):
694 New Vars.
0478776b
FEG
695 (python-shell-fetch-lines-filter): New function.
696 (python-shell-send-string-no-output): Use them.
697
c22bac2c
TM
6982012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
699
700 * profiler.el (profiler-sampling-interval): Rename from
701 profiler-sample-interval.
702 (profiler-sampling-interval): Default to 10.
703 (profiler-find-profile): New command (was profiler-find-log).
704 (profiler-find-profile-other-window): New command.
705 (profiler-find-profile-other-frame): New command.
706 (profiler-profile): Introduce API-level data structure.
707
e7a2937b
PE
7082012-09-30 Paul Eggert <eggert@cs.ucla.edu>
709
710 file-attributes has a new optional arg FOLLOW-SYMLINKS.
711 * files.el (remote-file-name-inhibit-cache):
712 * time.el (display-time-file-nonempty-p): Use it.
713 * files.el (after-find-file): Don't chase links before calling
714 file-exists-p, as file-exists-p already does the right thing.
715
4f595e15
RA
7162012-09-30 Ralf Angeli <angeli@caeruleus.net>
717
718 Merge from standalone RefTeX repository.
719
720 The following ChangeLog entries are shortened versions of the
721 original ones with file paths adapted. A not so strongly edited
722 version of the original ChangeLog can be found in the commit log.
723
724 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
725 (reftex-arg-cite): Use `reftex-cite-key-separator'.
726 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
727
728 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
729 that entries with whitespace at various places are found.
730 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
731 Include @String definitions in the resulting bib file. Add header
732 and footer defined in `reftex-create-bibtex-header' and
733 `reftex-create-bibtex-footer'.
734 (reftex-do-citation): Make it possible again to insert
735 non-existent entries. Save match data when asking for optional
736 arguments. Return all keys, not just the first one.
737 (reftex-all-used-citation-keys): Fix regexp to correctly extract
738 all citations in the same line.
739 (reftex-parse-bibtex-entry): Accept additional optional argument
740 `raw' and keep quotes or braces if it is non-nil. Match fields
741 containing hyphens besides word constituents.
742 (reftex-get-string-refs): New function.
743 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
744 and ask if it should be reread in case it did.
745 (reftex-pop-to-bibtex-entry)
746 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
747 entries with spaces or tabs in front of arguments.
748 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
749 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
750 Match entries containing numbers and symbol constituents.
751 (reftex-do-citation, reftex-figure-out-cite-format):
752 Use `reftex-cite-key-separator'.
4f595e15
RA
753
754 * textmodes/reftex-dcr.el: Move provide statement to end of file.
755 (reftex-mouse-view-crossref): Explain why point is set.
756
757 * textmodes/reftex-global.el: Whitespace changes.
758
759 * textmodes/reftex-index.el: Move provide statement to end of
760 file.
761 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
762 (reftex-index-visit-phrases-buffer): Set marker when visiting
763 buffer. This allows for returning from the phrases file to the
764 file one was just editing instead of the file where the last
765 phrases was added from.
766 (reftex-index-phrases-syntax-table): New variable. Give ?\"
767 punctuation syntax as it usually is not used as string quote in
768 TeX-related modes and may occur unmatched. The change also
769 prevents fontification of quoted content.
770 (reftex-index-phrases-mode): Use it.
771
375e49d4
SM
772 * textmodes/reftex-parse.el (reftex-parse-from-file):
773 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
774 (reftex-parse-from-file): Use beginning of match instead of end as
775 bound.
776
777 * textmodes/reftex-ref.el: Adapt creation of
778 `reftex-<package>-<macro>' functions to new structure of
779 `reftex-ref-style-alist'.
375e49d4
SM
780 (reftex-reference): Use `reftex-ref-style-list' function.
781 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
782 reference macro if `reftex-ref-macro-prompt' is non-nil.
783 (reftex-reference): Pass refstyle to `reftex-format-special'.
784 Determine reference macro by looking at
375e49d4
SM
785 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
786 Use only one special format function.
4f595e15
RA
787 (reftex-varioref-vref, reftex-fancyref-fref)
788 (reftex-fancyref-Fref): Remove definitions. The functions are now
789 generated from `reftex-ref-style-alist'.
790 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
791 Remove.
792 (reftex-format-special): New function.
793
794 * textmodes/reftex-sel.el
795 (reftex-select-cycle-ref-style-internal): Adapt to new structure
796 of `reftex-ref-style-alist'. Remove code for testing macro type.
797 (reftex-select-toggle-varioref)
798 (reftex-select-toggle-fancyref): Remove.
799 (reftex-select-cycle-ref-style-internal)
800 (reftex-select-cycle-ref-style-forward)
801 (reftex-select-cycle-ref-style-backward): New functions.
802 (reftex-select-label-map): Use `v' and `V' for general cycling
803 through reference styles. Add `p' for switching between number
804 and page reference types.
805
375e49d4
SM
806 * textmodes/reftex-toc.el (reftex-re-enlarge):
807 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
808 the horizontal version throws an error even if the parameter is 0.
809
810 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
811 (reftex-plug-into-AUCTeX): Doc fix.
812 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
813 string. Adapt to new name.
814 (reftex-ref-style-alist): Change structure so that it is not
815 possible to use multiple different package names within a style.
375e49d4
SM
816 Remove the symbols for symbols for macro type distinction.
817 Add characters for macro selection.
4f595e15
RA
818 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
819 (reftex-create-bibtex-footer): New variables.
820 (reftex-format-ref-function): Mention third argument of special
821 format function.
375e49d4
SM
822 (reftex-ref-style-alist, reftex-ref-style-default-list):
823 New variables.
4f595e15
RA
824 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
825 to new implementation. Mark as obsolete. Add compatibility code
826 for honoring the variable values in case they are set.
375e49d4
SM
827 (reftex-cite-format-builtin, reftex-bibliography-commands):
828 Add support for ConTeXt.
829 (reftex-format-ref-function, reftex-format-cite-function):
830 Fix custom type.
4f595e15
RA
831 (reftex-cite-key-separator): New variable.
832
833 * textmodes/reftex.el (reftex-syntax-table-for-bib)
834 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
835 `reftex-syntax-table' because parens have to retain their paren
836 syntax in order for parsing of BibTeX entries like @book(...) to
837 work.
838 (reftex-in-comment): Do not error out if `comment-start-skip' is
839 not set. Deal correctly with escaped comment characters.
375e49d4
SM
840 (reftex-tie-multifile-symbols): Add doc string.
841 Initialize `reftex-ref-style-list'.
4f595e15
RA
842 (reftex-untie-multifile-symbols): Add doc string.
843 (reftex-add-index-macros): Doc fix.
844 (reftex-ref-style-activate, reftex-ref-style-toggle)
845 (reftex-ref-style-list): New functions.
846 (reftex-mode-menu): Use them. Adapt to new structure of
847 `reftex-ref-style-alist'.
848 (reftex-select-with-char): Kill the RefTeX Select buffer when
849 done.
850 (reftex-remove-if): New function.
851 (reftex-erase-all-selection-and-index-buffers)
852 (reftex-mode-menu): Reference styles are now computed from
853 `reftex-ref-style-alist'. Fix typo.
854 (reftex-report-bug): New function.
855 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
856 algorithms with O(n log n). Introduce optional argument SORT (not
857 yet used).
858
440ba395
FEG
8592012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
860
861 Enhancements for triple-quote string syntax.
375e49d4
SM
862 * progmodes/python.el (python-syntax-propertize-function):
863 Match both quote cases in one regexp.
440ba395
FEG
864 (python-syntax-stringify): Handle matches properly.
865
4c478e6b
JL
8662012-09-30 Juri Linkov <juri@jurta.org>
867
868 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 869 to nil around the call to `insert' to prevent
4c478e6b
JL
870 directory time modification by lock_file. (Bug#2295)
871 * tar-mode.el (tar-summarize-buffer): Idem.
872
d80d54b2
JL
8732012-09-30 Juri Linkov <juri@jurta.org>
874
875 * facemenu.el (list-colors-sort): Add option "Luminance".
876 (list-colors-sort-key): Implement it.
877
878 * vc/diff-mode.el (diff-refine-removed):
879 * vc/ediff-init.el (ediff-fine-diff-A):
880 * vc/smerge-mode.el (smerge-refined-removed):
881 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
882
d7e642cc
JD
8832012-09-30 Jan Djärv <jan.h.d@swipnet.se>
884
885 * term/ns-win.el (x-file-dialog): New function.
886
ee41332b
JB
8872012-09-30 Juanma Barranquero <lekktu@gmail.com>
888
889 * ido.el (ido-max-directory-size): Default to nil; the current
890 default is small for POSIX systems, and impractical on Windows 7
891 now that lstat returns directory sizes for NTFS.
892
5938d519
MR
8932012-09-30 Martin Rudalics <rudalics@gmx.at>
894
895 In buffer display functions handle window-height/window-width
896 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
897 * window.el (window--display-buffer): New argument ALIST.
898 Obey window-height and window-width alist entries.
899 (window--try-to-split-window): New argument ALIST.
900 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
901 changed and window-combination-limit equals `window-size'.
902 (display-buffer-in-atom-window)
903 (display-buffer-in-major-side-window)
904 (display-buffer-in-side-window, display-buffer-same-window)
905 (display-buffer-reuse-window, display-buffer-pop-up-frame)
906 (display-buffer-pop-up-window, display-buffer-below-selected)
907 (display-buffer-at-bottom, display-buffer-in-previous-window)
908 (display-buffer-use-some-window): Adjust all callers of
909 window--display-buffer and window--try-to-split-window.
910 (fit-frame-to-buffer): New option.
911 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
912 is non-nil.
913 (display-buffer-in-major-side-window): Evaluate window-height /
914 window-width alist entries.
915
916 * help.el (temp-buffer-resize-frames)
917 (temp-buffer-resize-regexps): Remove options.
918 (temp-buffer-resize-mode): Adjust doc-string.
919 (resize-temp-buffer-window): Don't consult
920 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
921 temp-buffer-resize-frames.
922
375e49d4
SM
923 * dired.el (dired-mark-pop-up):
924 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
925 entry.
926
c4c0c2df
CY
9272012-09-30 Chong Yidong <cyd@gnu.org>
928
48de8b12
CY
929 * server.el (server-host): Document the security implications.
930 (server-auth-key): Doc fix.
931
932 * startup.el (initial-buffer-choice): Doc fix.
933
934 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
935
a97dc380
CY
936 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
937 restriction change.
938
d39d3c8e
CY
939 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
940
c4c0c2df
CY
941 * help-fns.el (help-fns--obsolete): Fix last change.
942
98a5e33b
SM
9432012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
944
34cf6f39
SM
945 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
946 (minor-mode-map-alist): Remove redundant code.
947
e01c13fe
SM
948 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
949 visited in a buffer.
950 (cvs-insert-visited-file): New function.
951 (find-file-hook): Use it.
952
953 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
954
02661b3a
SM
955 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
956 chose face.
957 (log-edit-empty-buffer-p): Don't require a space after a header.
958
43711d4b
SM
959 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
960
38a30d64
SM
961 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
962
4ffb41a9
SM
963 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
964 a proper minor-mode.
965
98a5e33b
SM
966 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
967
de82e29b
GM
9682012-09-29 Glenn Morris <rgm@gnu.org>
969
5cc2e639
GM
970 * winner.el (winner-mode): Remove variable (let define-minor-mode
971 handle it).
972 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
973 Doc fixes.
974 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
975 (winner-mode): Use define-minor-mode.
976
7bd302eb
GM
977 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
978 the full definition in loaddefs, rather than duplicating it.
979
2923922f 980 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 981
0e3e4156
GM
982 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
983 (inferior-lisp-program, inferior-lisp-load-command)
984 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 985 No need to autoload defcustoms.
0e3e4156 986
de82e29b
GM
987 * hippie-exp.el (hippie-expand-try-functions-list)
988 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
989 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
990 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 991 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
992 * progmodes/vhdl-mode.el (vhdl-line-expand):
993 Explicitly load hippie-exp, so it does not get autoloaded
994 while hippie-expand-try-functions-list is let-bound.
995
e60b51ab
GM
9962012-09-28 Glenn Morris <rgm@gnu.org>
997
277f0cfa
GM
998 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
999
e60b51ab
GM
1000 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1001 Only "cl.el" counts as cl these days.
1002
53baf48a
JL
10032012-09-28 Juri Linkov <juri@jurta.org>
1004
1005 Display archive errors in the echo area instead of inserting
1006 to the file buffer.
1007
1008 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1009 to STDERR-TEST that can be a regexp matching a successful output.
1010 Create a temporary file and redirect stderr to it. Search for
1011 STDERR-TEST in the stderr output and display it in the echo area
1012 if no match is found.
1013 (archive-extract-by-file): New function like
1014 `archive-extract-by-stdout' but extracting archives to files
1015 and looking for successful matches in stdout. Function body is
1016 mostly copied from `archive-rar-extract'.
1017 (archive-rar-extract): Use `archive-extract-by-file'.
1018 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1019
9c1228c3
LL
10202012-09-28 Leo Liu <sdl.web@gmail.com>
1021
375e49d4
SM
1022 * pcomplete.el (pcomplete-show-completions):
1023 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 1024
9c1228c3
LL
1025 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1026
7f457c06
SM
10272012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1028
3df749b0
SM
1029 * type-break.el: Use lexical-binding.
1030 (type-break-mode): Use define-minor-mode.
1031
7f457c06
SM
1032 * emacs-lisp/pcase.el (pcase--mark-used): New.
1033 (pcase--u1): Use it (bug#12512).
1034
1035 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1036 in load-history with the right file name.
1037
c00ebc98
TH
10382012-09-28 Tassilo Horn <tsdh@gnu.org>
1039
1040 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1041 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1042 (doc-view-get-bounding-box): Make bounding box slicing work for
1043 ODF and DVI documents.
1044
96fb7170
GM
10452012-09-28 Glenn Morris <rgm@gnu.org>
1046
1047 * type-break.el (type-break-mode, type-break-interval)
1048 (type-break-good-rest-interval, type-break-keystroke-threshold):
1049 No need to autoload.
1050 (type-break-good-rest-interval, type-break-keystroke-threshold):
1051 Add :set-after.
1052
5bc93c67
CY
10532012-09-28 Chong Yidong <cyd@gnu.org>
1054
1055 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1056 Add :version tag.
1057
9cad61d6
SM
10582012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1059
e28e67b3 1060 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 1061
daee954c
GM
10622012-09-27 Glenn Morris <rgm@gnu.org>
1063
a88324d4
GM
1064 * faces.el (x-display-name): Declare (for without-x builds).
1065
8e5064e5
GM
1066 * linum.el (linum-format): Don't autoload it. Improve :type.
1067
cc1783c2
GM
1068 * progmodes/tcl.el: Don't require outline when compiling.
1069 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
1070 * textmodes/sgml-mode.el: Don't require outline when compiling.
1071 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1072
48c339f2
GM
1073 * term.el (term-ansi-reset):
1074 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1075
daee954c
GM
1076 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1077 files for RCS and SCCS. (Bug#9781)
1078
b7f42161
CY
10792012-09-27 Chong Yidong <cyd@gnu.org>
1080
1081 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1082 change; value should be t.
1083
a2e770db
SM
10842012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1085
83600dc8
SM
1086 * image-mode.el: Use lexical-binding.
1087 (image-mode-winprops): Use t to stand for the window of
1088 a buffer that's not displayed.
1089 * doc-view.el (doc-view-new-window-function): Handle the new
1090 t in winprops.
1091 (doc-view-enlarge): Make it a real nop if the size is not changed.
1092 (doc-view-display): Handle the case where the buffer is not (yet?)
1093 displayed in any window.
1094 (doc-view-saved-settings): New var.
1095 (doc-view-mode): Use it.
1096 (doc-view-fallback-mode): Set it.
1097
a2e770db
SM
1098 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1099 Set lexical-binding.
1100 (minibuffer-eldef-shorten-default): New var.
1101 (minibuffer-default-in-prompt-regexps): Use it for new default.
1102 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1103
e3b60857
JB
11042012-09-26 Juanma Barranquero <lekktu@gmail.com>
1105
1106 * international/uni-bidi.el:
1107 * international/uni-category.el:
1108 * international/uni-name.el:
1109 * international/uni-numeric.el: Regenerate.
1110
3a880af4
SM
11112012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1112 Stefan Monnier <monnier@iro.umontreal.ca>
1113
1114 * profiler.el: New file.
1115
07b1a5fb
SM
11162012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1117
1118 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1119 (testcover-reinstrument): Simplify with CSE.
1120
42019c2e
JB
11212012-09-26 Juanma Barranquero <lekktu@gmail.com>
1122
1123 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1124
179f044b
WS
11252012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1126
1127 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1128 (verilog-auto-input, verilog-auto-insert-lisp)
1129 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1130 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1131 (verilog-auto-unused, verilog-auto-wire)
1132 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1133 newline. Reported by Andrew Jones.
1134 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1135 Reported by Brad Dobbie.
07b1a5fb
SM
1136 (verilog-batch-delete-trailing-whitespace):
1137 Create verilog-batch-delete-trailing-whitespace.
1138 Reported by Brad Dobbie.
179f044b
WS
1139 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1140 parameters from another module. Reported by Dan Katz.
1141 (verilog-auto, verilog-auto-assign-modport)
1142 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1143 AUTOINOUTMODPORT for UVM interface module shell generation.
1144 Reported by Brad Dobbie.
1145 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1146 standard behavior.
1147 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1148 Reported by Matt Martin.
1149
9c52dd5a
MR
11502012-09-25 Martin Rudalics <rudalics@gmx.at>
1151
1152 * window.el (window--resize-child-windows): When resizing child
1153 windows proportionally, process them in reverse order to
1154 preserve the "when splitting a window the new one gets the odd
1155 line" behavior.
1156 (window--resize-root-window-vertically): When resizing the
1157 minibuffer window try to affect only windows at the bottom of the
1158 frame. (Bug#12419)
1159
863666eb
CY
11602012-09-25 Chong Yidong <cyd@gnu.org>
1161
1162 * subr.el (declare): Doc fix.
1163
1164 * help-fns.el (help-fns--obsolete): Handle macros properly.
1165
59f7af81
CY
11662012-09-25 Chong Yidong <cyd@gnu.org>
1167
1168 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1169 this function obsolete.
1170
1171 * calendar/cal-x.el (calendar-two-frame-setup)
1172 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1173 * calendar/calendar.el (american-calendar, european-calendar)
1174 (calendar-for-loop):
1175 * comint.el (comint-dynamic-simple-complete)
1176 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1177 * desktop.el (desktop-load-default):
1178 * dired-x.el (dired-omit-here-always)
1179 (dired-hack-local-variables, dired-default-directory):
1180 * emacs-lisp/derived.el (derived-mode-class):
1181 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1182 * emacs-lock.el (toggle-emacs-lock):
1183 * epa.el (epa-display-verify-result):
1184 * epg.el (epg-sign-keys, epg-start-sign-keys)
1185 (epg-passphrase-callback-function):
1186 * eshell/esh-util.el (eshell-for):
1187 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1188 (eshell-add-to-window-buffer-names):
1189 * files.el (locate-file-completion):
1190 * imenu.el (imenu-example--create-c-index)
1191 (imenu-example--create-lisp-index)
1192 (imenu-example--lisp-extract-index-name)
1193 (imenu-example--name-and-position):
1194 * international/mule-cmds.el (princ-list):
1195 * international/mule-diag.el (decode-codepage-char):
1196 * international/mule-util.el (detect-coding-with-priority):
1197 * iswitchb.el (iswitchb-read-buffer):
1198 * mail/mailalias.el (mail-complete):
1199 * mail/sendmail.el (mail-sent-via):
1200 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1201 (mouse-major-mode-menu):
1202 * password-cache.el (password-read-and-add):
1203 * pcomplete.el (pcomplete-parse-comint-arguments):
1204 * progmodes/sh-script.el (sh-maybe-here-document):
1205 * replace.el (query-replace-regexp-eval):
1206 * savehist.el (savehist-load):
1207 * simple.el (choose-completion-delete-max-match):
1208 * term.el (term-dynamic-simple-complete):
1209 * vc/ediff-init.el (ediff-check-version):
1210 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1211 * vc/vc.el (vc-diff-switches-list):
1212 * view.el (view-return-to-alist-update): Likewise.
1213
1214 * subr.el (eval-next-after-load, makehash, insert-string)
1215 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1216 mark obsolete.
1217 (mode-line-inverse-video): Variable deleted.
1218
1219 * international/mule-util.el (string-to-sequence): Remove.
1220
1221 * calendar/calendar.el (calendar-version):
1222 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1223 (icalendar-convert-diary-to-ical):
1224 * cus-edit.el (custom-mode):
1225 * ansi-color.el (ansi-color-unfontify-region):
1226 * international/latin1-disp.el (latin1-char-displayable-p):
1227 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
1228 * progmodes/which-func.el (which-func-update-1):
1229 Use define-obsolete-function-alias.
59f7af81
CY
1230
1231 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
1232 * net/newst-treeview.el (newsticker-groups-filename):
1233 Fix incorrect obsolescence declaration.
59f7af81
CY
1234
1235 * allout.el (allout-passphrase-hint-string): Likewise.
1236 (allout-init): Use a declare form to mark obsolete.
1237
1238 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1239 this applies to functions.
1240
1241 * iswitchb.el (iswitchb-read-buffer): Move code of
1242 iswitchb-define-mode-map here, and delete that obsolete function.
1243
1244 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1245 font-lock-reference-face.
1246
cca96c97
GM
12472012-09-25 Glenn Morris <rgm@gnu.org>
1248
b06eeda8
GM
1249 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1250 Doc fixes.
1251
cca96c97
GM
1252 * eshell/em-term.el (eshell-term-name):
1253 Default to term-term-name. (Bug#12485)
1254
dc4f818b
FEG
12552012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1256
cca96c97
GM
1257 * progmodes/python.el (python-shell-send-buffer): Better handling
1258 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 1259
289c24bd
GM
12602012-09-24 Glenn Morris <rgm@gnu.org>
1261
1262 * eshell/esh-cmd.el (eshell-find-alias-function):
1263 Tighten up file-name regexp. (Bug#12499)
1264
8fb8b88f
FEG
12652012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1266
1267 Enhancements for triple-quote string syntax.
1268 * progmodes/python.el (python-quote-syntax): Remove.
1269 (python-syntax-propertize-function): New value.
07b1a5fb
SM
1270 (python-syntax-count-quotes, python-syntax-stringify):
1271 New functions.
8fb8b88f 1272
6c27f0f8
CY
12732012-09-24 Chong Yidong <cyd@gnu.org>
1274
a5f2b6ec
CY
1275 * mail/supercite.el (sc-version): Remove obsolete function.
1276 (sc-describe): Don't mark as obsolete, since it is bound.
1277 (sc-submit-bug-report): Remove.
1278
1279 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1280 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
1281 (log-edit-require-final-newline)
1282 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
1283
1284 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1285 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1286 * vc/vc.el (vc-checkout-carefully): Likewise.
1287
1288 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1289 (emerge-version): Remove.
1290
1291 * progmodes/compile.el (compile-internal): Remove.
1292 (compilation-parse-errors-function): Fix typo.
1293
1294 * international/mule.el (set-char-table-default): Remove.
1295 (set-coding-priority, make-coding-system, generic-char-p)
1296 (charset-list, charset-bytes, charset-id): Use declare to mark
1297 functions as obsolete.
1298
1299 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1300 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1301 * vc/vc-hooks.el (vc-default-registered): Don't use
1302 vc-master-templates.
1303
07b1a5fb
SM
1304 * font-lock.el (font-lock-reference-face):
1305 Use define-obsolete-variable-alias.
6c27f0f8
CY
1306
1307 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1308 * calendar/calendar.el (calendar-font-lock-keywords):
1309 * calendar/diary-lib.el (diary-font-lock-keywords)
1310 (diary-fancy-font-lock-keywords):
1311 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1312 * textmodes/reftex-index.el (reftex-insert-index):
1313 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1314 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1315 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1316 * progmodes/prolog.el (prolog-font-lock-keywords):
1317 * progmodes/idlwave.el (idlwave-idl-keywords):
1318 * progmodes/ada-mode.el (ada-font-lock-keywords):
1319 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1320
bcc0adbf
GM
13212012-09-24 Glenn Morris <rgm@gnu.org>
1322
1323 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1324
095bb823
FEG
13252012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1326
1327 * progmodes/python.el (python-indent-line): More consistent cursor
1328 movement behavior.
1329
70efc5c9
SM
13302012-09-23 Stefan Merten <smerten@oekonux.de>
1331
1332 * textmodes/rst.el: Fix compiler warning.
1333
2f438239
RW
13342012-09-23 Roland Winkler <winkler@gnu.org>
1335
07b1a5fb
SM
1336 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1337 Transcribe also LaTeX hyphenation.
2f438239
RW
1338 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1339 bibtex-reformat-previous-options.
1340
936ad041
RW
13412012-09-23 Roland Winkler <winkler@gnu.org>
1342
1343 * proced.el (proced-renice-command): New variable.
1344 (proced-marked-processes): New function.
1345 (proced-with-processes-buffer): New macro.
1346 (proced-send-signal): Use them.
1347 (proced-renice): New command bound to r.
1348
6fab0274
RW
13492012-09-23 Roland Winkler <winkler@gnu.org>
1350
1351 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1352 ibuffer-saved-filter-groups has one element, shortcut the call of
1353 completing-read. (Bug#12331)
1354
9a930676
CY
13552012-09-23 Chong Yidong <cyd@gnu.org>
1356
1357 * bindings.el (mode-line-toggle-read-only):
1358 * bs.el (bs-toggle-readonly):
1359 * buff-menu.el (Buffer-menu-toggle-read-only):
1360 * dired.el (dired-toggle-read-only):
1361 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1362
d07ff9db
CY
13632012-09-23 Chong Yidong <cyd@gnu.org>
1364
1365 * image.el (image-type-available-p): Adapt to init-image-library
1366 argument changes.
1367
51c4474e
JL
13682012-09-22 Juri Linkov <juri@jurta.org>
1369
1370 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1371 `dired-toggle-read-only'. (Bug#12462)
1372
43bf5e8e
MR
13732012-09-22 Martin Rudalics <rudalics@gmx.at>
1374
1375 * subr.el (temp-output-buffer-show): New function.
1376 (with-output-to-temp-buffer): Call temp-output-buffer-show
1377 instead of internal-temp-output-buffer-show.
1378
c88b867f
CY
13792012-09-22 Chong Yidong <cyd@gnu.org>
1380
3df47cd5
CY
1381 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1382 (Bug#12462).
1383
c88b867f
CY
1384 * repeat.el (repeat): Doc fix (Bug#12348).
1385
1386 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1387 (Bug#10909).
1388
1389 * simple.el (shell-command-on-region): Doc fix.
3171e303 1390 (read-only-mode): Doc fix.
c88b867f 1391
df9685f3
EZ
13922012-09-22 Eli Zaretskii <eliz@gnu.org>
1393
1394 * emacs-lisp/timer.el (run-with-idle-timer)
1395 (timer-activate-when-idle): Warn against reinvoking an idle timer
1396 from within its own timer action. (Bug#12447)
1397
8e17c9ba
MR
13982012-09-22 Martin Rudalics <rudalics@gmx.at>
1399
1400 * cus-start.el (window-combination-limit): Add new optional
1401 values.
1402 * window.el (temp-buffer-window-show)
1403 (window--try-to-split-window): Handle new values of
1404 window-combination-limit (Bug#1806).
1405 (split-window): Test window-combination-limit for t instead of
1406 non-nil.
1407 (display-buffer-at-bottom): New buffer display action function.
1408 * help.el (temp-buffer-resize-regexps): New option.
1409 (temp-buffer-resize-mode): Rewrite doc-string.
1410 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 1411 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 1412
48a24920
SM
14132012-09-22 Stefan Merten <smerten@oekonux.de>
1414
70efc5c9 1415 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
1416 (rst-official-version)
1417 (rst-package-emacs-version-alist): Sync with official version
1418 V1.4.0.
1419 (rst-faces-defaults, rst-set-level-default)
1420 (rst-level-face-max, rst-level-face-base-color)
1421 (rst-level-face-base-light, rst-level-face-format-light)
1422 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1423 (rst-adornment-faces-alist): Match new setup.
1424 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1425 (rst-level-5, rst-level-6): New faces.
1426
82f8cd94
CY
14272012-09-22 Chong Yidong <cyd@gnu.org>
1428
1429 * simple.el (undo): Handle indirect buffers (Bug#8207).
1430
acfa068f 14312012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
1432
1433 IDO: Disable match re-ordering for buffer switching.
2bc9406c 1434 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
1435 (ido-set-matches-1): Use it. (Bug#2042)
1436
acfa068f 14372012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
1438
1439 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1440 Fix 2011-05-17 change. (Bug#12418)
1441
acfa068f 14422012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
1443
1444 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1445
acfa068f 14462012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
1447
1448 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1449 Be more robust about locating simple.el.
1450
acfa068f 14512012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
1452
1453 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1454
acfa068f
CY
14552012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1456
1457 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1458
41a97e6f
JL
14592012-09-20 Juri Linkov <juri@jurta.org>
1460
eb2deaff
JL
1461 * replace.el (query-replace-read-from): Use `read-regexp' instead
1462 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1463 (occur-read-primary-args): Use `read-regexp' instead of
1464 `read-string'.
1465 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1466 `read-from-minibuffer'.
1467 * isearch.el (isearch-occur): Use `read-regexp' instead of
1468 `read-string'.
1469 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1470 `read-from-minibuffer'.
1471 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1472 of `read-string'. (Bug#7567)
1473
5825610b
JL
1474 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1475 and allow accepting a list of strings prepended to a list of
1476 standard default values. Doc fix. (Bug#12321)
1477
eebbf404
JL
1478 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1479
41a97e6f
JL
1480 * replace.el (read-regexp): Don't add ": " when PROMPT already
1481 ends with a colon and space. (Bug#12321)
1482
c9e452d3
TH
14832012-09-20 Tassilo Horn <tsdh@gnu.org>
1484
1485 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1486 error.
1487
ee97deee
SM
14882012-09-20 Stefan Merten <smerten@oekonux.de>
1489
70efc5c9 1490 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
1491 Fixes feature request bug#11711.
1492 (rst-mode): Create `imenu-create-index-function'.
1493 (rst-get-stripped-line): Delete after refactoring.
1494 (rst-section-tree, rst-section-tree-rec)
1495 (rst-section-tree-point): Refactor and document properly.
1496 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
1497 (rst-imenu-convert-cell, rst-imenu-create-index):
1498 New function.
ee97deee 1499
f490dab9
SM
15002012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1501
95b9712e
SM
1502 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1503 (macroexp--expand-all): Use it.
1504 (macroexp--funcall-and-return): Remove by folding it into its sole
1505 caller (macroexp--warn-and-return).
1506 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1507 Use macroexp--obsolete-warning.
1508
f490dab9
SM
1509 * calc/calc.el: Fix last change by removing the whole chunk, since it
1510 was only needed back when Calc was not bundled.
1511
96e8d411
MR
15122012-09-20 Martin Rudalics <rudalics@gmx.at>
1513
1514 * emacs-lisp/debug.el (debug): Restore assignment to
1515 debugger-old-buffer removed on 2012-09-08.
1516
0876a82d
JL
15172012-09-20 Juri Linkov <juri@jurta.org>
1518
1519 * dired-aux.el (dired-diff): Remove (require 'diff) since
1520 `diff-latest-backup-file' is now autoloaded.
1521
9f7c28f0
CY
15222012-09-20 Chong Yidong <cyd@gnu.org>
1523
1524 * vc/diff.el (diff-latest-backup-file): Autoload.
1525
7a04bee9
SM
15262012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1527
e6f0a80d
SM
1528 * calc/calc.el: Remove redundant autoload shape check.
1529 (sel-mode): Don't defvar.
1530 (calc-get-stack-element): Add `sel-mode' arg instead.
1531 (calc-top, calc-top-list): Pass it this additional argument.
1532 * calc/calc-store.el (calc-store-map):
1533 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1534 (calc-map-equation, calc-outer-product, calc-inner-product):
1535 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1536
7a04bee9
SM
1537 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1538
12734222
JL
15392012-09-19 Juri Linkov <juri@jurta.org>
1540
1541 * dired-aux.el (dired-diff): Add (require 'diff) because
1542 `diff-latest-backup-file' is not autoloaded.
1543 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1544 of `dired-get-filename' to t to not report error when there is
1545 no default file on the current line.
1546
46624b4f
SM
15472012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1548
ce97595b
SM
1549 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1550 macroexp--eval-if-compile.
1551 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1552 (macroexp--expand-all): Use them (bug#12371).
1553
46624b4f
SM
1554 * doc-view.el (doc-view-guess-paper-size)
1555 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1556
db8a5a18
TH
15572012-09-19 Tassilo Horn <tsdh@gnu.org>
1558
1559 New feature: set optimal slice from BoundingBox information.
1560 * doc-view.el (doc-view-mode-map): Add keybinding.
1561 (doc-view-menu): Add menu entry.
1562 (doc-view-set-slice): Adapt docstring.
1563 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1564 (doc-view-scale-bounding-box)
1565 (doc-view-set-slice-from-bounding-box): New functions.
1566 (doc-view-paper-sizes): New defvar.
1567
69f6644c
GM
15682012-09-19 Glenn Morris <rgm@gnu.org>
1569
35f5b19d
GM
1570 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1571 (byte-compile-log-warning): Autoload. (Bug#12371)
1572
69f6644c
GM
1573 * calendar/calendar.el (calendar-american-month-header)
1574 (calendar-european-month-header, calendar-iso-month-header)
1575 (calendar-month-header): New options.
1576 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1577 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1578
e543ae91
JD
15792012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1580
1581 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1582
2fd5e67d
JL
15832012-09-18 Juri Linkov <juri@jurta.org>
1584
1585 * dired-aux.el (dired-diff): Restore original functionality of
1586 getting the default value, but keep new feature of using the
1587 latest existing backup file (`diff-latest-backup-file').
1588
42917e79
JL
15892012-09-18 Juri Linkov <juri@jurta.org>
1590
1591 * dired.el (dired-mark): If the region is active in Transient Mark
1592 mode, mark all files in the active region. Doc fix.
1593 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1594 Doc fix. (Bug#10624)
1595
20f70ede
JL
15962012-09-18 Juri Linkov <juri@jurta.org>
1597
1598 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1599 attributes for M-n are pulled from the file at point.
1600 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1601 Suggested by Drew Adams. (Bug#10624)
1602
32fb8162
DG
16032012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1604
1605 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1606 whitespace after "end".
1607 (ruby-do-end-to-brace): Collapse block to one line if it fits
1608 within fill-column.
1609
37ab5092
MR
16102012-09-18 Martin Rudalics <rudalics@gmx.at>
1611
1612 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1613 value.
1614 (debug): Don't remove debugger window when debugger is expected
1615 to be back.
1616
ed1f0bd3
CY
16172012-09-18 Chong Yidong <cyd@gnu.org>
1618
1619 * custom.el (defface): Doc fix.
1620
1621 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1622
a11035b8
MB
16232012-09-18 Martin Blais <blais@furius.ca> (tiny change)
1624
1625 * progmodes/compile.el (compilation-start): Use compilation-always-kill
1626 to initialize query-on-exit; then test that instead (bug#12288).
1627
64f6a736
SM
16282012-09-17 Stefan Merten <smerten@oekonux.de>
1629
70efc5c9 1630 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
1631 (rst-defcustom-testcover, rst-testcover-add-compose)
1632 (rst-testcover-add-1value): New functions.
1633 (rst-portable-mark-active-p): Replace by `use-region-p'.
1634 (rst-update-section, rst-classify-adornment)
1635 (rst-find-title-line): Mark `1value' forms.
1636 (rst-classify-adornment): Remove superfluous form.
1637 (rst-update-section, rst-get-adornments-around)
1638 (rst-adornment-complete-p, rst-get-next-adornment)
1639 (rst-adjust, rst-promote-region)
1640 (rst-display-adornments-hierarchy, rst-straighten-adornments)
1641 (rst-find-pfx-in-region, rst-section-tree-rec)
1642 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1643 (rst-toc-node, rst-toc, rst-forward-section)
1644 (rst-iterate-leftmost-paragraphs)
1645 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1646 (rst-bullet-list-region)
1647 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1648 (rst-compile-find-conf, rst-compile)
1649 (rst-repeat-last-character): Fix style.
1650
580bd868
CY
16512012-09-17 Chong Yidong <cyd@gnu.org>
1652
1653 * comint.el (comint--complete-file-name-data): Don't add a space
1654 if the status is `sole'; that adds a gratuitous space in the
1655 completion-cycling case (Bug#12092).
1656
1657 * pcomplete.el (pcomplete-completions-at-point): Likewise.
1658
69de3ec6
RS
16592012-09-17 Richard Stallman <rms@gnu.org>
1660
0dee970c
RS
1661 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
1662 only in the mime-shown mode, not in raw mode.
1663 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 1664 mime processing. (Bug#12305)
0dee970c 1665
6b250df6
GM
1666 * mail/rmail.el (rmail-retry-failure):
1667 Turn off mime processing first. (Bug#12037)
acb1c47b 1668
69de3ec6
RS
1669 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1670
d079ee5f
CY
16712012-09-17 Chong Yidong <cyd@gnu.org>
1672
1673 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1674 (shell-dynamic-complete-functions): Convert to defcustom.
1675 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1676
865fe16f
CY
1677 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1678 * comint.el (comint-prompt-read-only):
1679 * custom.el (defcustom):
1680 * hi-lock.el (hi-lock-mode):
1681 * ibuffer.el (ibuffer-formats):
1682 * ielm.el (ielm-prompt-read-only):
1683 * novice.el (disable-command):
1684 * saveplace.el (toggle-save-place):
1685 * speedbar.el (speedbar-supported-extension-expressions):
1686 * startup.el (auto-save-list-file-prefix, init-file-user)
1687 (after-init-hook, inhibit-startup-echo-area-message):
1688 * strokes.el (strokes-help):
1689 * time-stamp.el (time-stamp):
1690 * calendar/calendar.el (calendar, diary-file):
1691 * calendar/diary-lib.el (diary-mail-entries, diary)
1692 (diary-list-entries-hook):
1693 * calendar/holidays.el (holidays, calendar-holidays):
1694 * calendar/lunar.el (lunar-phases):
1695 * calendar/solar.el (sunrise-sunset):
1696 * emulation/edt.el (edt-load-keys):
1697 * emulation/viper.el (viper-mode):
1698 * eshell/em-alias.el (eshell-command-aliases-list):
1699 * eshell/esh-util.el (eshell-convert-numeric-arguments):
1700 * international/ogonek.el (ogonek-information):
1701 * net/tramp-cmds.el (tramp-bug):
1702 * net/quickurl.el (quickurl-reread-hook-postfix):
1703 * play/decipher.el (decipher-font-lock-keywords):
1704 * progmodes/cc-styles.el (c-set-style):
1705 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
1706 * progmodes/inf-lisp.el (inferior-lisp-prompt):
1707 * progmodes/octave-mod.el (octave-mode):
1708 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
1709 * progmodes/verilog-mode.el (verilog-read-defines):
1710 * textmodes/two-column.el (2C-mode): Likewise.
1711
48093eb9
KY
17122012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
1713
1714 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
1715 that holds many addresses.
1716
c584eaf9
CY
17172012-09-16 Chong Yidong <cyd@gnu.org>
1718
40d70ecb
CY
1719 * align.el (align-areas): Call the indication function with
1720 positions instead of markers for arguments (Bug#12343).
1721
1667e065
CY
1722 * files.el (parse-colon-path): Use split-string (Bug#12351).
1723
fdc2806d 1724 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 1725 (display-buffer-function): Mark as obsolete.
fdc2806d 1726
f1be615c 1727 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
1728 values similar to font-lock-keywords (Bug#12136).
1729 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
1730 (compilation-error-regexp-alist): Doc fix.
1731
f40a9709
GM
17322012-09-15 Glenn Morris <rgm@gnu.org>
1733
72aa16e1
GM
1734 * version.el (emacs-bzr-version-bzr): New function.
1735 (emacs-bzr-get-version): Add optional EXTERNAL argument.
1736
82375160
GM
1737 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
1738 checkouts, check the parent dirstate matches the branch.
1739 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
1740 empty string.
1741
f40a9709
GM
1742 * version.el (emacs-bzr-version): Doc fix.
1743 (emacs-bzr-version-dirstate): New function.
1744 (emacs-bzr-get-version): For lightweight checkouts, if the parent
1745 is local try and check that it matches the branch. If not, just
1746 use dirstate information. (Bug#12441)
1747
cb26b7f5
JL
17482012-09-14 Juri Linkov <juri@jurta.org>
1749
1750 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
1751 (Bug#12399)
1752
2de39f08
SM
17532012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1754
0fb3cb7c
SM
1755 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
1756
2de39f08
SM
1757 * emacs-lisp/edebug.el: Miscellaneous cleanup.
1758 Remove obsolete byte-compiler hack that tried to silence some warnings.
1759 (edebug-submit-bug-report): Remove.
1760 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
1761 Remove aliases, use the un-prefixed name instead.
1762 (edebug-pop-to-buffer): Consider other frames.
1763 (edebug-original-read):: Make it more obvious that it's always defined.
1764 (edebug--make-form-data-entry, edebug--form-data-name)
1765 (edebug--form-data-begin, edebug--form-data-end): Rename from the
1766 single-dashed name, and implement with cl-defstruct.
1767 (edebug-set-form-data-entry): Use the standard accessors.
1768 (edebug-make-top-form-data-entry): Use push.
1769 (edebug-no-match): Drop useless `funcall'.
1770 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
1771 to functions.
1772 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
1773 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
1774 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
1775 (easy-menu-define, with-custom-print): Remove redundant specs.
1776 (edebug-outside-overriding-local-map)
1777 (edebug-outside-overriding-terminal-local-map): Remove, unused.
1778 (edebug--display): Bind unread-command-events directly to nil rather
1779 than binding it to unread-command-events and later setting it to nil.
1780 (edebug--display): Kill edebug-eval-buffer here...
1781 (edebug--recursive-edit): ...rather than here.
1782 Bind standard-output and standard-input.
1783 (edebug-eval): Check cl-macroexpand-all is fboundp.
1784 (edebug-temp-display-freq-count): Fix last change.
1785
1786 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
1787 * subr.el (noreturn, 1value): Add `debug' spec.
1788 * emacs-lisp/advice.el: Require cl-lib.
1789 (ad-copy-tree): Remove, use copy-tree instead.
1790 (ad-dolist): Remove use dolist or cl-dolist instead.
1791 (ad-do-return): Remove, use cl-return instead.
1792 (defadvice): Add `debug' spec.
1793
5b68b333
JL
17942012-09-13 Juri Linkov <juri@jurta.org>
1795
1796 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
1797 (Bug#12399)
1798
b9800ec4
GM
17992012-09-13 Glenn Morris <rgm@gnu.org>
1800
6a2e6868
GM
1801 * calc/calc.el (math-compose-expr):
1802 * calc/calc-ext.el (math-compose-expr):
1803 * progmodes/cc-defs.el (cl-macroexpand-all):
1804 * progmodes/cc-langs.el (delete-duplicates, mapcan)
1805 (cl-macroexpand-all): Update declarations.
1806
b9800ec4
GM
1807 * vc/vc.el: No need to require ediff.
1808 (ediff-load-version-control): Declare.
1809 (ediff-vc-internal): Fix declaration.
1810 (vc-version-ediff): Require ediff.
1811
c18e885b
PE
18122012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1813
1814 Use a more backwards-compatible timer format (Bug#12430).
1815 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
1816 being right after USECS, as that better supports old code that
1817 inadvisedly looked directly at the timer vector.
1818
d607d303
KH
18192012-09-13 Kenichi Handa <handa@gnu.org>
1820
1821 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
1822 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
1823 `coding-priority' property of these language environment.
1824
72eac303
PE
18252012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1826
1827 Fix glitches caused by addition of psec to timers (Bug#12430).
1828 * image.el (image-animate-timer):
1829 * time.el (display-time-world-timer):
1830 Use timer--function and timer--args rather than raw access to
1831 timer vector.
1832
2168fe4f
GM
18332012-09-13 Glenn Morris <rgm@gnu.org>
1834
1835 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
1836 If not compiling a file, try using load-file-name.
1837
bd8d6108
SM
18382012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1839
c0c54fbd
SM
1840 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
1841 Fix last change.
1842 (edebug-update-eval-list): Use `push'.
1843
bd8d6108
SM
1844 * emacs-lisp/edebug.el: Use lexical-binding.
1845 Remove the "edebug-" prefix from non-dynamically-scoped variables.
1846 Mark unused args with underscore.
1847 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
1848 (edebug-form-data): Use defvar-local.
1849 (edebug-make-before-and-after-form, edebug-make-after-form):
1850 Use backquote.
1851 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
1852 Not dynamically scoped any more.
1853 (edebug--enter-trace): Add arguments `function' and `args'.
1854 Rename from edebug-enter-trace.
1855 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
1856 (edebug--update-coverage): Add `after-index' and `value' args.
1857 Rename from edebug-update-coverage.
1858 (edebug-slow-after): Call it accordingly.
1859 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
1860 edebug-recursive-edit.
1861 (edebug--display): Call it accordingly. Add args `value',
1862 `offset-index', and `arg-mode'. Rename from edebug-display.
1863 (edebug-debugger, edebug): Call it accordingly.
1864 (edebug-eval-display-list): Use dolist.
1865
a9f9d9de
JL
18662012-09-12 Juri Linkov <juri@jurta.org>
1867
1868 * info.el (Info-search): Don't check for isearch-mode and
1869 isearch-regexp before let-binding search-spaces-regexp to
1870 Info-search-whitespace-regexp.
1871 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
1872 search-whitespace-regexp if isearch-lax-whitespace or
1873 isearch-regexp-lax-whitespace is non-nil.
1874 (Info-mode): Don't set local variable search-whitespace-regexp.
1875 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
1876
bfeae2cf
SM
18772012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1878
1879 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
1880 (debugger-env-macro): Remove support for unread-command-char.
1881
1882 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
1883 the temporary map re-appearing on emulation-mode-map-alists.
1884
1885 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
1886 since 22.1.
1887
1888 * ehelp.el (with-electric-help): Accept functions in
1889 electric-help-form-to-execute.
1890 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
1891 And replace unread-command-char -> unread-command-events.
1892
fbbcaf1b
MA
18932012-09-12 Michael Albinus <michael.albinus@gmx.de>
1894
1895 Sync with Tramp 2.2.6.
1896
1897 * net/tramp.el (tramp-accept-process-output): Don't use
1898 JUST-THIS-ONE in the XEmacs case.
1899
1900 * net/trampver.el: Update release number.
1901
4dece104
MR
19022012-09-12 Martin Rudalics <rudalics@gmx.at>
1903
bfeae2cf
SM
1904 * emacs-lisp/debug.el (debugger-previous-window-height):
1905 New variable.
4dece104
MR
1906 (debug): When debugger-jumping-flag is non-nil try to restore
1907 height of debugger window. (Bug#8789)
1908
45b82ad0
SM
19092012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1910
60c49c0f
SM
1911 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
1912 overriding-local-map and pre/post-command-hook here.
1913 (edebug-recursive-edit): Do it here instead (bug#12345).
1914 (edebug-outside-unread-command-char): Remove all uses of
1915 unread-command-char.
1916
45b82ad0
SM
1917 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
1918 inhibit-debugger is bound instead.
1919
baa26ea0
BG
19202012-09-11 Bastien Guerry <bzg@gnu.org>
1921
1922 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 1923 (Bug#12346)
baa26ea0 1924
04e8abfa
BG
19252012-09-11 Bastien Guerry <bzg@gnu.org>
1926
96d03571 1927 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 1928 (Bug#12347)
96d03571
BG
1929
19302012-09-11 Bastien Guerry <bzg@gnu.org>
1931
fc0c31f8 1932 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 1933
04e082b0
MM
19342012-09-10 Michael R. Mauger <mmaug@yahoo.com>
1935
1936 * progmodes/sql.el: Version 3.1
1937 (sql-db2-escape-newlines): New variable.
1938 (sql-escape-newlines-filter): Use it.
1939
399a361b
JB
19402012-09-10 Juanma Barranquero <lekktu@gmail.com>
1941
1942 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1943
0780c517
DN
19442012-09-10 Dan Nicolaescu <dann@gnu.org>
1945
45b82ad0
SM
1946 * vc/diff-mode.el (diff-mode-menu):
1947 Bind diff-remove-trailing-whitespace.
0780c517 1948
9b851e25
SM
19492012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1950
1951 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
1952 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
1953 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
1954 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1955 (eval-defun-2): Remove bogus interactive spec.
1956 (lisp-indent-line): Remove redundant whole-exp code, now done in
1957 indent-according-to-mode.
1958 (save-match-data): Remove redundant indent data.
1959
1960 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1961 Use `declare'.
1962
3231d532
JL
19632012-09-09 Juri Linkov <juri@jurta.org>
1964
1965 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1966 (replace-lax-whitespace, query-replace-regexp)
1967 (query-replace-regexp-eval, replace-regexp): Doc fix.
1968 (perform-replace, replace-highlight): Let-bind
1969 isearch-lax-whitespace to replace-lax-whitespace and
1970 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1971
1972 * isearch.el (isearch-query-replace): Let-bind
1973 replace-lax-whitespace to isearch-lax-whitespace and
1974 replace-regexp-lax-whitespace to
1975 isearch-regexp-lax-whitespace. (Bug#10885)
1976
70fe8236
SM
19772012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1978
1979 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1980
8ed43f15
AM
19812012-09-09 Alan Mackenzie <acm@muc.de>
1982
70fe8236
SM
1983 * progmodes/cc-engine.el (c-state-cache-init):
1984 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1985 (c-record-parse-state-state):
1986 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 1987
bfabf70a
AS
19882012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1989
1990 * register.el (register-separator): Rename from
1991 separator-register. All uses changed. Doc fix.
1992 (register): Fix version.
1993
011474aa
CY
19942012-09-09 Chong Yidong <cyd@gnu.org>
1995
1996 * replace.el (query-replace-map): Bind four new symbols for
1997 requesting window scrolling.
1998
1999 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2000 query-replace-map (Bug#8948).
2001
2002 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2003
2004 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2005 since they are now in query-replace-map.
2006
2007 * window.el (scroll-other-window-down): Make the arg optional.
2008
a8b7cd8d
CY
20092012-09-09 Chong Yidong <cyd@gnu.org>
2010
2011 * files.el (hack-local-variables-confirm): Use quit-window to kill
2012 the *Local Variables* buffer.
2013
c3268831
DG
20142012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2015
2016 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2017 not just expect to be at its beginning. Adjust callees.
2018 Succeed when do-end block has no space before the pipe character.
2019 (ruby-brace-to-do-end): When the original block is one-liner,
2020 convert to multiline. Reindent the result.
2021
0979429b
J
20222012-09-08 Jambunathan K <kjambunathan@gmail.com>
2023
2024 * register.el (register): New group.
27359e99 2025 (separator-register): New user option.
0979429b
J
2026 (increment-register): Route it to `append-to-register', if
2027 register contains text. Implication is that `C-x r +' can now be
2028 used for appending to a text register (bug#12217).
2029 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 2030 `separator-register'.
0979429b 2031
ace2989a
AM
20322012-09-08 Alan Mackenzie <acm@muc.de>
2033
2034 AWK Mode: make auto-newline work when there's "==" in the pattern.
2035 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2036 correctly.
0979429b
J
2037 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2038 Test more rigorously for "=" token.
ace2989a 2039
616c6c36
DG
20402012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2041
0979429b
J
2042 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2043 Only fail when reached LIMIT.
616c6c36 2044
35d98877
CY
20452012-09-08 Chong Yidong <cyd@gnu.org>
2046
2047 * dired.el (dired-mode-map): Don't bind M-=.
2048
2049 * dired-aux.el (dired-diff): Use backup file as default.
2050
1715f2db
DA
20512012-09-08 Drew Adams <drew.adams@oracle.com>
2052
2053 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2054
6dcef6ec
CY
20552012-09-08 Chong Yidong <cyd@gnu.org>
2056
2057 * subr.el (syntax-after, syntax-class): Doc fix.
2058
fa2bcf43
MR
20592012-09-08 Martin Rudalics <rudalics@gmx.at>
2060
2061 * window.el (display-buffer-in-previous-window): New buffer
2062 display action function.
2063
2064 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2065 (debugger-previous-window): New variable.
2066 (debug): Rewrite using display-buffer-in-previous-window,
2067 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2068
daac280a
SM
20692012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2070
2071 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2072
9dd40b00
MM
20732012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2074
daac280a
SM
2075 * progmodes/python.el (python-shell-send-string):
2076 When default-directory is remote, create temp file on remote
9dd40b00
MM
2077 filesystem.
2078 (python-shell-send-file): When file is remote, pass local view of
2079 file paths to remote Python interpreter. (Bug#12340)
2080
145823ec
CY
20812012-09-07 Chong Yidong <cyd@gnu.org>
2082
cee2e90d
CY
2083 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2084
0d7eb2ea
CY
2085 * files.el (after-find-file): Don't fail on a read-only buffer if
2086 require-final-newline is `visit' or `visit-save' (Bug#11156).
2087
145823ec
CY
2088 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2089
daac280a
SM
2090 * userlock.el (ask-user-about-supersession-threat):
2091 Use read-char-choice (Bug#12093).
145823ec 2092
74c582e6
CY
20932012-09-07 Chong Yidong <cyd@gnu.org>
2094
e5c2edf7
CY
2095 * subr.el (buffer-narrowed-p): New function.
2096
2097 * ses.el (ses-widen):
2098 * simple.el (count-words--buffer-message):
1f9f395d 2099 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
2100
2101 * simple.el (count-words-region): Don't signal an error if there
2102 is a non-nil prefix arg and the mark is not set.
c640e87d 2103
74c582e6
CY
2104 * help.el (describe-key-briefly): Allow the message to be seen
2105 when invoked from the minibuffer (Bug#7014).
2106
d81ceaaf
DG
21072012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2108
2109 * progmodes/ruby-mode.el (ruby-end-of-defun)
2110 (ruby-beginning-of-defun): Simplify, allow indentation before
2111 block beginning and end keywords.
8f06acce
DG
2112 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2113 (ruby-end-of-defun): Expect that the point is at the beginning of
2114 the defun.
d81ceaaf 2115
d458ef98
SM
21162012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2117
2118 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2119 (bug#12367).
2120 (cl--make-usage-args): Strip _ from argument names.
2121
20367d28
RS
21222012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2123
2124 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2125 obsolete alias speedbar-key-map.
2126 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2127 (vhdl-index-menu-init): Don't use obsolete variable
2128 font-lock-maximum-size.
2129
3424a4f6
CY
21302012-09-06 Chong Yidong <cyd@gnu.org>
2131
2132 * frame.el (window-system-version): Mark as obsolete.
2133
fcbfbdea
CY
2134 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2135 of obsolete variable speedbar-key-map.
2136
826b3235
JL
21372012-09-06 Juri Linkov <juri@jurta.org>
2138
2139 * replace.el (replace-lax-whitespace): New defcustom.
2140 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2141 (replace-string, replace-regexp): Mention it in docstrings.
2142 (perform-replace, replace-highlight): Let-bind
2143 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2144 to the values of replace-lax-whitespace and regexp-flag.
2145 Don't let-bind search-whitespace-regexp. (Bug#10885)
2146
2147 * isearch.el (isearch-query-replace): Let-bind
2148 replace-lax-whitespace instead of let-binding
2149 replace-search-function and replace-re-search-function.
2150 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2151 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2152 (isearch-toggle-symbol): Set isearch-regexp to nil
2153 in isearch-word mode (like in isearch-toggle-word).
2154
1ec5e41d
JL
21552012-09-06 Juri Linkov <juri@jurta.org>
2156
2157 * replace.el (replace-search-function)
2158 (replace-re-search-function): Set default values to nil.
2159 (perform-replace): Let-bind isearch-related variables based on
2160 replace-related values, call `isearch-search-fun' and let-bind
2161 the result to `search-function'. Remove code that sets
2162 `search-function' and `search-string' separately for
2163 `delimited-flag'.
2164 (replace-highlight): Add new argument `delimited-flag' and
2165 rename other arguments to the names used in `perform-replace'.
2166 Let-bind `isearch-word' to the argument `delimited-flag'.
2167 (Bug#10885, bug#10887)
2168
0ba2d4b6
DG
21692012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2170
2171 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2172 ruby-beginning-of-indent, simplify, allow all keywords to have
2173 indentation before them.
2174 (ruby-beginning-of-indent): Adjust for above. Search until the
2175 found point is not inside a string or comment.
2176 (ruby-font-lock-keywords): Allow symbols to start with "@"
2177 character, give them higher priority than variables.
2178 (ruby-syntax-propertize-function)
2179 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2180 matchers. Expression expansions are not comments when inside a
2181 string, and there comment syntax status is irrelevant.
2182 (ruby-match-expression-expansion): New function. Check that
2183 expression expansion is inside a string, and it's not escaped.
2184 (ruby-font-lock-keywords): Use it.
2185
ef654460
MR
21862012-09-05 Martin Rudalics <rudalics@gmx.at>
2187
2188 * help.el (temp-buffer-max-height): New default value.
2189 (temp-buffer-resize-frames): New option.
2190 (resize-temp-buffer-window): Optionally resize frame.
2191
2192 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2193 (fit-frame-to-buffer): New function.
2194
7e570fbf 21952012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
2196
2197 * emulation/cua-rect.el (cua--init-rectangles):
2198 * textmodes/picture.el (picture-mode-map):
2199 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2200 like forward-char and backward-char. (Bug#12317)
2201
7e570fbf 22022012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
2203
2204 * progmodes/flymake.el (flymake-warning-re): New variable.
2205 (flymake-parse-line): Use it.
2206
7e570fbf 22072012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
2208
2209 * calendar/holidays.el (holiday-christian-holidays):
2210 Rename an entry. (Bug#12289)
2211
7e570fbf 22122012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
2213
2214 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2215 (bug#12222).
2216
972debf2
SM
22172012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2218
2219 * loadup.el: Load macroexp. Remove hack.
2220 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2221 (macroexp--expand-all): Use it to get better warnings.
2222 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2223 (internal-macroexpand-for-load): New functions.
2224 (macroexp--pending-eager-loads): New var.
2225 (emacs-startup-hook): New hack to replace one in loadup.el.
2226 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2227 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2228 (cl-psetf): Simplify.
2229 (cl-defstruct): Add indent rule.
2230
8ce192e3
LI
22312012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2232
2233 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2234 over `user-mail-address' for the SMTP MAIL FROM envelope.
2235 (smtpmail-via-smtp): Ditto.
2236
6578b4d8
DG
22372012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2238
2239 * progmodes/ruby-mode.el: Clean up keybindings.
2240 (ruby-mode-map): Don't bind ruby-electric-brace,
2241 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2242 backward-kill-word, reindent-then-newline-and-indent.
2243 (ruby-mark-defun): Remove.
2244 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2245 (ruby-mode): Set local beginning-of-defun-function and
2246 end-of-defun-function values.
2247
c5e28e39
MR
22482012-09-03 Martin Rudalics <rudalics@gmx.at>
2249
2250 * window.el (temp-buffer-window-setup-hook)
2251 (temp-buffer-window-show-hook): New hooks.
2252 (temp-buffer-window-setup, temp-buffer-window-show)
2253 (with-temp-buffer-window): New functions.
972debf2
SM
2254 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2255 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
2256
2257 * help.el (temp-buffer-resize-mode): Fix doc-string.
2258 (resize-temp-buffer-window): New optional argument WINDOW.
2259
2260 * files.el (recover-file, save-buffers-kill-emacs):
2261 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2262
73406194
MA
22632012-09-02 Michael Albinus <michael.albinus@gmx.de>
2264
2265 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2266 remote definition of `default-directory', ensure we can connect.
2267
63dd1c6f
JL
22682012-09-02 Juri Linkov <juri@jurta.org>
2269
2270 Toggle whitespace matching mode with M-s SPC.
2271 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2272
2273 * isearch.el (search-whitespace-regexp): Doc fix.
2274 Remove cons cell customization.
2275 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2276 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2277 New variables.
2278 (isearch-forward, isearch-forward-regexp): Doc fix.
2279 (isearch-toggle-lax-whitespace): New command.
2280 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2281 (re-search-forward-lax-whitespace)
2282 (re-search-backward-lax-whitespace): New functions.
2283 (isearch-whitespace-regexp): Remove function.
2284 (isearch-query-replace): Let-bind replace-search-function and
2285 replace-re-search-function.
2286 (isearch-occur): Let-bind search-spaces-regexp according to the
2287 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2288 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2289 condition for C-q SPC.
2290 (isearch-search-fun-default): Use new functions mentioned above.
2291 (isearch-search-forward, isearch-search-backward): Remove functions.
2292 (isearch-search): Don't let-bind search-spaces-regexp.
2293 (isearch-lazy-highlight-space-regexp): Remove variable.
2294 (isearch-lazy-highlight-lax-whitespace)
2295 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2296 (isearch-lazy-highlight-new-loop): Use them.
2297 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2298
af7dda05
CY
22992012-09-02 Chong Yidong <cyd@gnu.org>
2300
2301 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2302
d67d3afd
GM
23032012-09-02 Glenn Morris <rgm@gnu.org>
2304
2305 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2306
69678719
GM
23072012-09-01 Glenn Morris <rgm@gnu.org>
2308
2309 * term.el: Tidy up menu definitions.
2310 (term-mode-map): Use easymenu for In/Out, Complete menus.
2311 (term-pager-break-map): Initialize in the defvar.
2312 (term-terminal-menu, term-signals-menu): Define with easymenu.
2313 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2314 (term-pager-menu): New, extracted from term-process-pager.
2315 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2316 (term-update-mode-line): Propertize line/char and page items.
2317 (term-process-pager): Move keymap initialization elsewhere.
2318
78dd6ab1
MR
23192012-09-01 Martin Rudalics <rudalics@gmx.at>
2320
2321 * window.el (switch-to-prev-buffer): Handle additional values of
2322 BURY-OR-KILL argument. Don't switch in minibuffer window.
2323 (switch-to-next-buffer): Don't switch in minibuffer window.
2324 (quit-restore-window): New function based on quit-window.
2325 Handle additional values of former KILL argument.
2326 (quit-window): Call quit-restore-window with appropriate
2327 interpretation of KILL argument.
2328 (display-buffer-below-selected): New buffer display action
2329 function.
2330
3d10e134
SM
23312012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2332
2333 * minibuffer.el (completion-at-point-functions): Complete docstring
2334 (bug#12254).
2335
0e23ef9d
PE
23362012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2337
2338 Better seed support for (random).
2339 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2340 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2341 * play/mpuz.el, play/tetris.el, play/zone.el:
2342 * calc/calc-comb.el (math-init-random-base):
2343 * play/blackbox.el (bb-init-board):
2344 * play/life.el (life):
2345 * server.el (server-use-tcp):
2346 * type-break.el (type-break):
2347 Remove unnecessary call to (random t).
2348 * net/sasl.el (sasl-unique-id-function):
2349 Change (random t) to (random), now that the latter is more random.
2350 * play/life.el (life-initialized): Remove no-longer-needed var.
2351
862382df
MR
23522012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2353
2354 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2355 Consider frame's buffer predicate when choosing the buffer.
2356 (Bug#12081)
2357
262a66e1
RS
23582012-08-30 Richard Stallman <rms@gnu.org>
2359
2360 * simple.el (special-mode-map): Delete binding for `z'.
2361
f17e1d00
AS
23622012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2363
2364 * progmodes/compile.el (compilation-always-kill): Doc fix.
2365
24777832
CY
23662012-08-30 Chong Yidong <cyd@gnu.org>
2367
2368 * window.el (display-buffer-reuse-frames): Make the obsolescence
2369 message more informative.
2370
69ba1f04
GM
23712012-08-30 Glenn Morris <rgm@gnu.org>
2372
2373 * paren.el (show-paren-delay):
2374 Add a :set function. Doc fix. (Bug#12297)
2375
f0019ede
MB
23762012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2377
2378 * progmodes/compile.el (compilation-always-kill): New var.
2379 (compilation-start): Use it.
2380
35e62fc9
SM
23812012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2382
af070a1c
SM
2383 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2384 * files.el (read-only-mode): Move to simple.el.
2385
35e62fc9
SM
2386 * files.el (read-only-mode): New minor mode.
2387 (toggle-read-only): Use it and mark obsolete.
2388 (find-file--read-only):
2389 * vc/vc.el (vc-next-action, vc-checkout):
2390 * vc/vc-cvs.el (vc-cvs-checkout):
2391 * obsolete/vc-mcvs.el (vc-mcvs-update):
2392 * ffap.el (ffap--toggle-read-only): Update callers.
2393
c2c43c23
MA
23942012-08-29 Michael Albinus <michael.albinus@gmx.de>
2395
2396 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
2397 remote shell scripts.
2398 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
2399
2400 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2401 "/usr/local/sbin".
2402
9fba804b
SM
24032012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2404
2405 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2406
eada0861 24072012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 2408
806f0cc7
LL
2409 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2410 completion-at-point. (Bug#12220)
2411
3bb213b9
LL
2412 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2413
22ab32ef
LL
2414 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2415
eada0861 24162012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 2417
19c17fc1
CY
2418 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2419 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 2420
eada0861 24212012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
2422
2423 * progmodes/hideif.el (hif-compress-define-list):
2424 Fix typo. (Bug#11951)
2425
eada0861 24262012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
2427
2428 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2429 buffer local setting.
2430
27d6c5a8
LL
2431 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2432 rcirc-encode-coding-system.
2433
eada0861 24342012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
2435
2436 * net/rcirc.el (rcirc-split-message): New function.
2437 (rcirc-send-message): Use it. (Bug#12051)
2438
d44688e4
JL
24392012-08-28 Juri Linkov <juri@jurta.org>
2440
2441 * info.el (Info-fontify-node): Hide empty lines at the end of
2442 the node. (Bug#12272)
2443
34f10d41
MR
24442012-08-27 Drew Adams <drew.adams@oracle.com>
2445
2446 * dired.el (dired-pop-to-buffer): Make window start at beginning
2447 of buffer (Bug#12281).
2448
77f1f99c
CY
24492012-08-26 Chong Yidong <cyd@gnu.org>
2450
2451 * window.el (special-display-regexps, special-display-frame-alist)
2452 (special-display-buffer-names, special-display-function)
2453 (display-buffer-reuse-frames): Mark as obsolete.
2454
2455 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2456
2457 * help.el (help-print-return-message): Don't treat
2458 display-buffer-reuse-frames specially.
2459
d97af5a0
CY
24602012-08-26 Chong Yidong <cyd@gnu.org>
2461
9fba804b
SM
2462 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2463 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
2464 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2465 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2466 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2467 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2468 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2469 the functions directly with gdb-display-buffer-other-frame-action.
2470 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2471 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2472 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2473 (gdb-display-registers-buffer): Define directly.
2474 (def-gdb-display-buffer): Macro deleted.
2475 (gdb-display-buffer): Remove second and third args, callers don't
2476 use them. Defer to the default display-buffer behavior, apart
2477 from making windows dedicated.
2478 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2479
2480 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2481
2482 * window.el (display-buffer-pop-up-frame): Handle a
2483 pop-up-frame-parameters alist entry.
2484 (display-buffer): Document it.
2485
dd7ffad6
CY
24862012-08-26 Chong Yidong <cyd@gnu.org>
2487
2488 * isearch.el (search-whitespace-regexp): Make string and nil
2489 values apply to both ordinary and regexp search. Allow a cons
2490 cell value to distinguish between the two.
2491 (isearch-whitespace-regexp, isearch-search-forward)
2492 (isearch-search-backward): New functions.
2493 (isearch-occur, isearch-search-fun-default, isearch-search)
2494 (isearch-lazy-highlight-new-loop): Use them.
2495 (isearch-forward, isearch-forward-regexp): Doc fix.
2496
4c47bd1e
CY
24972012-08-26 Chong Yidong <cyd@gnu.org>
2498
2499 * faces.el (help-argument-name): Always inherit from italic
2500 (Bug#12213).
2501
9aba119d
MR
25022012-08-25 Martin Rudalics <rudalics@gmx.at>
2503
2504 * window.el (window--even-window-heights): Even heights when
2505 WINDOW and the selected window form a vertical combination.
2506 (display-buffer-use-some-window): Provide that window used gets
2507 sized back by quit-window. (Bug#11880) and (Bug#12091)
2508
ca5256ad
PE
25092012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2510
2511 Fix file time stamp problem with bzr and CVS (Bug#12001).
2512 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2513 in the file's time stamp, since the version control system loses
2514 that information.
2515
d1c0d176
JL
25162012-08-22 Juri Linkov <juri@jurta.org>
2517
2518 * info.el (Info-fontify-node): Hide the suffix of the
2519 Info file name in the header line. (Bug#12187)
2520
141562ff
GM
25212012-08-22 Glenn Morris <rgm@gnu.org>
2522
2523 * calendar/cal-tex.el (cal-tex-weekly-common):
2524 Restore leading blank page.
2525
61a48e19 25262012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
2527
2528 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
2529 the region under `shift-select-mode'. (Bug#12231)
2530
25312012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
2532
2533 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2534 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2535 gives details on why the space is never needed.
2536
ea95074e
MR
25372012-08-22 Martin Rudalics <rudalics@gmx.at>
2538
9fba804b
SM
2539 * window.el (walk-window-tree, window-with-parameter):
2540 New optional argument MINIBUF to control whether these functions
ea95074e
MR
2541 should run on the minibuffer window.
2542 (window-at-side-list): Don't operate on minibuffer window.
2543 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
2544 (window--size-ignore): Rename to window--size-ignore-p.
2545 Update callers.
caceae25
MR
2546 (display-buffer-in-atom-window, window--major-non-side-window)
2547 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
2548 (delete-side-window, display-buffer-in-side-window):
2549 New functions.
caceae25
MR
2550 (window--side-check, window-deletable-p, delete-window)
2551 (delete-other-windows, split-window): Handle side windows and
2552 atomic windows appropriately.
2553 (window--display-buffer): Call display-buffer-record-window also
2554 when the window buffer did not change.
ea95074e 2555
80a51fa0
CS
25562012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2557
2558 * help-fns.el (help-fns--key-bindings):
2559 Abbreviate non-symbol remap targets. (Bug#12174)
2560
fbb6300b
MR
25612012-08-22 Martin Rudalics <rudalics@gmx.at>
2562
2563 * dired.el (dired-mark-remembered): Don't clobber point.
2564 (Bug#11795)
2565
2b2c0794
GM
25662012-08-22 Glenn Morris <rgm@gnu.org>
2567
2568 * progmodes/bug-reference.el (bug-reference): New custom group.
2569 (bug-reference-bug-regexp): Make it a defcustom.
2570
37219830
DU
25712012-08-22 Daiki Ueno <ueno@unixuser.org>
2572
2573 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2574 (js-paren-indent-offset, js-square-indent-offset)
2575 (js-curly-indent-offset): Add :safe (Bug#12257).
2576
94e0e559
EC
25772012-08-22 Edward O'Connor <hober0@gmail.com>
2578
2579 * json.el (json-key-format): Add error properties.
2580 (json-encode-key): New function.
2581 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2582 Use json-encode-key.
2583
da485f5e
GM
25842012-08-22 Glenn Morris <rgm@gnu.org>
2585
2586 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2587 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2588 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2589 Update for above change.
2590
c6cc78b8
AS
25912012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2592
2593 * cus-face.el (custom-face-attributes): Fix customize type for the
2594 :underline attribute. (Bug#11805)
2595
5481664a
MR
25962012-08-21 Martin Rudalics <rudalics@gmx.at>
2597
2598 * window.el (window-point-1, set-window-point-1): Remove.
2599 (window-in-direction, record-window-buffer)
2600 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
2601 (window--state-get-1, display-buffer-record-window):
2602 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
2603 window-point and set-window-point respectively.
2604
6d74698e
GM
26052012-08-21 Glenn Morris <rgm@gnu.org>
2606
b7fa2691
GM
2607 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2608 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2609 Use it.
2610
52f56d5a
GM
2611 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2612 (cal-tex-shortday): New function.
2613 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2614 (cal-tex-cursor-filofax-daily): Use the above.
2615
9f1ee09e
GM
2616 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2617 New functions.
2618 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2619 (cal-tex-cursor-filofax-week): Use them.
2620
79858159
GM
2621 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2622 New constants.
2623 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2624 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2625
d346b2b4
GM
2626 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2627 (cal-tex-end-document): Don't rely on buffer name.
2628
b2403709
GM
2629 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2630 Use cal-tex-vspace.
2631 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2632 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
2633 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2634 Use cal-tex-arg.
b2403709 2635
1cebb5c0
GM
2636 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2637 (cal-tex-cursor-week, cal-tex-cursor-week2)
2638 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2639 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2640 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2641 (cal-tex-insert-preamble, cal-tex-b-document)
2642 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2643 Improve cal-tex-cmd usage.
2644
c68cd5d4
GM
2645 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2646 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2647 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2648 (cal-tex-weekly-paper): New function.
2649 (cal-tex-cursor-week, cal-tex-cursor-week2)
2650 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2651 (cal-tex-cursor-day): Use it.
2652
9dca4801
GM
2653 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2654 (cal-tex-cursor-filofax-week): Remove leading blank page.
2655
1941e134
GM
2656 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2657 Add autoload cookie. For now at least, don't use color, since
2658 no other cal-tex function does.
2659
6d74698e
GM
2660 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2661 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2662 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2663
64cde199
JL
26642012-08-21 Juri Linkov <juri@jurta.org>
2665
2666 * info.el (Info-file-attributes): New variable.
2667 (info-insert-file-contents): Add file attributes to
2668 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2669 `Info-toc-nodes' when previous modtime of the Info file is less
2670 than new modtime.
2671 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2672 of info.el. (Bug#12230)
2673
32757648
GM
26742012-08-20 Glenn Morris <rgm@gnu.org>
2675
2676 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2677 * calendar/holidays.el (calendar-holiday-list):
2678 Report errors with display-warning rather than beep'n'sleep.
2679
a32fbbcf
MA
26802012-08-20 Michael Albinus <michael.albinus@gmx.de>
2681
2682 * net/tramp.el (tramp-accept-process-output): Accept only output
2683 from PROC. Otherwise, process filters and sentinels might be
2684 confused. (Bug#12145)
2685
a05731a0
CY
26862012-08-20 Chong Yidong <cyd@gnu.org>
2687
2688 * descr-text.el (describe-text-properties-1): Use overlays-in to
2689 report on empty overlays (Bug#3322).
2690
36e8d1eb
GM
26912012-08-20 Glenn Morris <rgm@gnu.org>
2692
3d300447
GM
2693 * mail/rmailout.el (rmail-output-read-file-name):
2694 Trap and report errors in rmail-output-file-alist elements.
2695
36e8d1eb
GM
2696 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2697 since most non-font-lock faces are not also variables).
2698
b96e5814
ER
26992012-08-20 Edward Reingold <reingold@iit.edu>
2700
2701 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2702 New function. (Bug12160)
2703
7cef3569
GM
27042012-08-19 Glenn Morris <rgm@gnu.org>
2705
2706 * mail/rmailout.el (rmail-output-read-file-name):
2707 Fix previous change (when the alist is nil or does not match).
2708
17975d7f
CY
27092012-08-19 Chong Yidong <cyd@gnu.org>
2710
2711 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2712 (Bug#12228).
2713
2170b1bd
CY
27142012-08-18 Chong Yidong <cyd@gnu.org>
2715
2716 * simple.el (yank-handled-properties): New defcustom.
2717 (yank-excluded-properties): Add font-lock-face and category.
2718 (yank): Doc fix.
2719
9fba804b
SM
2720 * subr.el (remove-yank-excluded-properties):
2721 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
2722 and category is now done this way, instead of being hard-coded.
2723 (insert-for-yank-1): Remove font-lock-face handling.
2724 (yank-handle-font-lock-face-property)
2725 (yank-handle-category-property): New function.
2726
ee218151
GM
27272012-08-17 Glenn Morris <rgm@gnu.org>
2728
2729 * mail/rmailout.el (rmail-output-read-file-name):
2730 Check rmail-output-file-alist against the full message body
2731 in the correct rmail buffer. (Bug#12214)
2732
4a6bc3fd
MA
27332012-08-17 Michael Albinus <michael.albinus@gmx.de>
2734
9fba804b
SM
2735 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2736 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 2737
383dcbf9
CY
27382012-08-17 Chong Yidong <cyd@gnu.org>
2739
2740 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2741 font spec, set the font directly (Bug#3228).
2742
998c4a6a
MR
27432012-08-17 Martin Rudalics <rudalics@gmx.at>
2744
2745 * window.el (delete-window): Fix last fix.
2746
52162052
MR
27472012-08-16 Martin Rudalics <rudalics@gmx.at>
2748
2749 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
2750 (window-child, window-child-count, window-last-child)
2751 (window-normalize-window, window-combined-p)
2752 (window-combinations, window-atom-root, window-min-size)
2753 (window-sizable, window-sizable-p, window-size-fixed-p)
2754 (window-min-delta, window-max-delta, window--resizable)
2755 (window--resizable-p, window-resizable, window-total-size)
2756 (window-full-height-p, window-full-width-p, window-body-size)
2757 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2758 (minimize-window, window-deletable-p, delete-window)
2759 (delete-other-windows, set-window-buffer-start-and-point)
2760 (next-buffer, previous-buffer, split-window, balance-windows-2)
2761 (set-window-text-height, window-buffer-height)
2762 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
2763 (truncated-partial-width-window-p): Minor code adjustments.
2764 In doc-strings state whether the argument window has to denote a
85c2386b 2765 live, valid or any window.
52162052 2766
1c308380
PS
27672012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2768
2769 * progmodes/subword.el (subword-forward-function)
2770 (subword-backward-function, subword-forward-regexp)
2771 (subword-backward-regexp): New variables.
2772 (subword-forward, subword-forward-internal, subword-backward-internal):
2773 Use new variables, eg so that different "word" definitions
2774 can be easily used. (Bug#11411)
2775
94c9ece1
SM
27762012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2777
2778 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2779 for composite selectors.
2780 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2781 operation just because we can't find a previous revision.
2782
f2045622
CY
27832012-08-15 Chong Yidong <cyd@gnu.org>
2784
2785 * frame.el (set-frame-font): Accept font objects.
2786
582db660
SM
27872012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2788
2789 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2790
2f29c200
WJ
27912012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2792
456e62c2
WJ
2793 * man.el (Man-overstrike-face, Man-underline-face)
2794 (Man-reverse-face): Remove variables.
2795 (Man-overstrike, Man-underline, Man-reverse): New faces.
2796 (Man-fontify-manpage): Use them instead of the variables.
2797 (Man-cleanup-manpage): Comment change.
2798 (Man-ansi-color-map): New variable.
2799 (Man-fontify-manpage): Use it.
2800 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2801
2f29c200
WJ
2802 Implement ANSI SGR parameters 22-27 (bug#12146).
2803 * ansi-color.el (ansi-colors): Doc fix.
2804 (ansi-color-context, ansi-color-context-region): Doc fix.
2805 (ansi-color--find-face): New function.
2806 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2807 Rename the local variable `face' to `codes' since it is now a list of
2808 ansi codes. Doc fix.
2809 (ansi-color-get-face): Remove.
2810 (ansi-color-parse-sequence): New function, derived from
2811 ansi-color-get-face.
2812 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2813 codes 22-27.
2814
b4f5e9df
SM
28152012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2816
2817 * subr.el (read-passwd): Allow use from a minibuffer.
2818
ba025fbd
EZ
28192012-08-14 Eli Zaretskii <eliz@gnu.org>
2820
2821 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2822 inside comments and strings as identifiers.
2823
2824 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2825 expression to evaluate. This allows to evaluate expressions with
2826 embedded whitespace.
2827 (gud-tooltip-tips): Add a blank before the newline in the
2828 message-box text, for the benefit of message-box emulation on
2829 MS-Windows.
2830
2831 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2832 messages from GDB, pop them up in a tooltip to give feedback to
2833 user.
b4f5e9df
SM
2834 (gdb-tooltip-print-1): Quote the expression to evaluate.
2835 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
2836 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2837 if the TTY name is nil or empty (which happens when communicating
2838 with the inferior via pipes, e.g. on MS-Windows).
2839 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2840 don't send that to the GUD buffer.
2841
c548f821
GM
28422012-08-14 Glenn Morris <rgm@gnu.org>
2843
2844 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2845 Optimize away setq-default with no args, as for setq. (Bug#12195)
2846
55802e4a
CY
28472012-08-14 Chong Yidong <cyd@gnu.org>
2848
4abcdac8
CY
2849 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2850
55802e4a
CY
2851 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2852 (Bug#12085).
2853
3c3cda1a
GM
28542012-08-14 Glenn Morris <rgm@gnu.org>
2855
2856 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2857
e1873bd0
MA
28582012-08-14 Michael Albinus <michael.albinus@gmx.de>
2859
2860 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2861 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2862 Use cached shell name.
2863
925411b4
FEG
28642012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2865
2866 * progmodes/python.el (python-shell-send-string):
3c3cda1a 2867 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 2868
e636fafe
DG
28692012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2870
2871 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2872 (ruby-percent-literal-beg-re): New constant.
2873 (ruby-syntax-general-delimiters-goto-beg): Rename to
2874 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2875 (ruby-syntax-propertize-general-delimiters): Rename to
2876 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2877 popular term. Adjust comments everywhere.
2878 (ruby-syntax-propertize-percent-literal): Only propertize when not
2879 inside a simple string or comment. When the literal is unclosed,
2880 leave the text after it unpropertized.
f063063a
DG
2881 (ruby-syntax-methods-before-regexp): New constant.
2882 (ruby-syntax-propertize-function): Use it to recognize regexps.
2883 Don't look at the text after regexp, just use the whitelist.
e636fafe 2884
e5b19827
AS
28852012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2886
2887 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2888 non-nil always load the compiled file if it exists. (Bug#12197)
2889
a9f6f311
CY
28902012-08-14 Chong Yidong <cyd@gnu.org>
2891
2892 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2893 (hi-lock-set-pattern): When deciding whether to use font lock or
2894 overlays, look at font-lock-mode instead of font-lock-fontified
2895 (Bug#12168).
2896 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2897 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2898
7d806b1e
DU
28992012-08-14 Daiki Ueno <ueno@unixuser.org>
2900
2901 * subr.el (internal--after-with-selected-window): Fix typo
2902 (Bug#12193).
2903
5beed586
FEG
29042012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2905
2906 Use `completion-table-dynamic' for completion functions.
2907 * progmodes/python.el
2908 (python-shell-completion--do-completion-at-point)
e636fafe
DG
2909 (python-shell-completion--get-completions):
2910 Remove functions.
5beed586
FEG
2911 (python-shell-completion-complete-at-point): New function.
2912 (python-completion-complete-at-point): Use it.
2913
92cb3b04
J
29142012-08-13 Jambunathan K <kjambunathan@gmail.com>
2915
2916 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2917 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2918
89660017
SM
29192012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2920
3c98c962
SM
2921 * subr.el (function-get): Refine `autoload' arg so it can also
2922 autoload functions for gv.el (bug#12191).
2923 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2924 autoloads macros.
2925
aa7c6dbe
SM
2926 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2927 Prefer pcase-let over destructuring-bind.
2928 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2929 Also, remove whitespace as we go, rather than after accumulating the
2930 various places.
2931
89660017
SM
2932 * subr.el (internal--before-with-selected-window)
2933 (internal--after-with-selected-window): Fix typo seleted->selected.
2934 (with-selected-window): Adjust callers.
2935 Reported by Dmitry Gutov <dgutov@yandex.ru>.
2936
31cd32c9
BG
29372012-08-13 Bastien Guerry <bzg@gnu.org>
2938
0fcd3d9f 2939 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
2940 enhancement. (Bug#12172)
2941
1b15d8ad
AS
29422012-08-13 Andreas Schwab <schwab@linux-m68k.org>
2943
31e54db0
AS
2944 * tar-mode.el (tar-header-data-end): Only ignore size for files of
2945 type 1-6.
2946 (tar-header-block-summarize, tar-get-descriptor): Handle pax
2947 extended headers.
2948
1b15d8ad
AS
2949 * files.el (hack-local-variables-filter): Remove useless eval.
2950
35cb9c06
MR
29512012-08-13 Martin Rudalics <rudalics@gmx.at>
2952
2953 * subr.el (with-selected-window): Fix last change.
2954
1439443b
SM
29552012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2956
2957 * subr.el (internal--before-with-seleted-window)
2958 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
2959 (with-selected-window): Use them, to replace dependency on
2960 tty-top-frame.
1439443b 2961
0d9e2599
NN
29622012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2963
2964 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2965 binding for `newline'.
2966 (ruby-move-to-block): When moving backward, stop at block opening,
2967 not indentation.
2968 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2969 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2970 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2971 `ruby-toggle-block'.
2972
ba10c48c
SM
29732012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2974
2975 * ibuffer.el (ibuffer-do-toggle-read-only):
2976 * dired.el (dired-toggle-read-only):
2977 * buff-menu.el (Buffer-menu-toggle-read-only):
2978 * bindings.el (mode-line-toggle-read-only):
2979 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2980
9229c658
AS
29812012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2982
2983 * descr-text.el (describe-char): Put the overlays over the
2984 "displayed as" character.
2985
0fd09128
JB
29862012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2987
2988 * calc/calc-units.el (math-default-units-table): Give an
2989 initial value.
2990 (math-put-default-units): Add options to put composite units and
2991 unit systems in the default units table.
2992 (calc-convert-units): Send composite units to
2993 `math-put-default-units' when appropriate.
2994
9ff9402d 29952012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 2996
fbb5e336
GM
2997 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2998
7aacaf15
GM
2999 * tutorial.el (help-with-tutorial):
3000 * emacs-lisp/copyright.el (copyright-update-directory):
3001 * emacs-lisp/autoload.el (autoload-find-generated-file)
3002 (autoload-find-file): Disable local eval: (for insurance).
3003
f40b9f10
GM
3004 * files.el (hack-local-variables-filter): If an eval: form is not
3005 known to be safe, and enable-local-variables is :safe, then ignore
3006 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 3007 This is CVE-2012-3479.
f40b9f10 3008
daa9f1a6
SM
30092012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3010
3011 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3012 (rx-form): Simplify.
3013
9cd80478
DG
30142012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3015
0d9e2599
NN
3016 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3017 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3018 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3019 (ruby-syntax-propertize-function): Adjust for changes in
3020 `ruby-syntax-propertize-heredoc'.
3021
30222012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3023
9cd80478
DG
3024 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3025 binding (use `M-;' instead).
9cd80478 3026 (ruby-singleton-class-p): New function.
0d9e2599 3027 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 3028
d301b413
SM
30292012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3030
3031 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3032
1530c98e
CY
30332012-08-10 Chong Yidong <cyd@gnu.org>
3034
3035 * progmodes/python.el (python-shell-get-process-name): Don't mess
3036 with same-window-buffer-names.
3037
3038 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3039 (eshell-remove-from-window-buffer-names): Make obsolete.
3040 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3041 (eshell): Just use pop-to-buffer-same-window instead.
3042
e1293765
CY
30432012-08-10 Chong Yidong <cyd@gnu.org>
3044
3045 * bindings.el: Bind M-= back to count-words-region.
3046
3047 * simple.el (count-words-region): Accept a prefix arg for acting
3048 on the entire buffer.
3049 (count-words--buffer-message): New helper function.
3050
e1894109
SM
30512012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3052
3053 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3054 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3055 (event-start, event-end): Use posn-at-point to return a more
3056 informative posn.
3057 (posnp): New function.
3058 * mouse.el (popup-menu-normalize-position): Use it.
3059
c69f56a2
MY
30602012-08-10 Masatake YAMATO <yamato@redhat.com>
3061
3062 * mouse.el (popup-menu-normalize-position): New function.
3063 (popup-menu): Use `popup-menu-normalize-position' to normalize
3064 the form for POSITION argument.
3065
3066 * term/x-win.el (x-menu-bar-open):
3067 Use the value returend from (posn-at-point) as position
3068 passed to `popup-menu'.
3069
31673780
JB
30702012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3071
3072 * calc/calccomp.el (math-compose-expr): Add extra argument
3073 indicating that parentheses should be put around products in
3074 denominators. Give multiplication precedence over division during
3075 composition.
3076
dab7711b
CY
30772012-08-09 Chong Yidong <cyd@gnu.org>
3078
dee4ef93
CY
3079 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3080 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3081 (Man-untabify-command, manual-program): Convert to defcustom
3082 (Bug#10429).
3083
73e2bbc5
CY
3084 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3085
3e861c8a
CY
3086 * descr-text.el (describe-char): Don't insert extra newlines
3087 (Bug#10127).
3088
a9f5a649
CY
3089 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3090 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3091
dab7711b
CY
3092 * align.el (align-region): Delete temporary markers (Bug#10047).
3093 Plus some code cleanups.
3094
e0cc4efa
FEG
30952012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3096
3097 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3098 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3099 (python-shell-internal-last-output): Use make-local-variable
3100 instead of make-variable-buffer-local.
3101
489af14f
FEG
31022012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3103
3104 * progmodes/python.el: Enhancements to forward-sexp.
3105 (python-nav-forward-sexp): Rename from
3106 python-nav-forward-sexp-function.
c69f56a2
MY
3107 (python-nav--forward-sexp, python-nav--backward-sexp):
3108 New functions.
489af14f 3109
0fc50303
JB
31102012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3111
3112 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3113 modes and simplification modes.
3114
5d65606a
SM
31152012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3116
3117 * delsel.el (delete-selection-pre-hook): Don't propagate the
3118 file-supersession signals (bug#12161).
3119
4250fdf5
SM
31202012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3121
3122 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3123 (cl-map-extents): Add compatibility aliases (bug#12135).
3124
d9f9b465
MA
31252012-08-08 Michael Albinus <michael.albinus@gmx.de>
3126
3127 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3128 tests by `ignore-error'.
3129 (tramp-find-shell): Open also a new shell, when cache is already
3130 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3131
ce0fcefa
JL
31322012-08-08 Juri Linkov <juri@jurta.org>
3133
3134 * bookmark.el: Add `defaults' property to the bookmark record.
3135 (bookmark-current-buffer): Doc fix.
3136 (bookmark-make-record): Add `defaults' property with default values
3137 to the bookmark record.
3138 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3139 with `bookmark-insert-current-bookmark'.
3140 (bookmark-set): Get `defaults' property from the bookmark record
3141 and use it in `read-from-minibuffer'.
3142 (bookmark-insert-current-bookmark): Remove function.
3143
3144 * info.el (Info-bookmark-make-record): Add `defaults' property
3145 with values of canonical Info node name, the current Info file
3146 name and the current Info node name. (Bug#12107)
3147
53fa8652
JL
31482012-08-08 Juri Linkov <juri@jurta.org>
3149
3150 * files.el (basic-save-buffer): Use `buffer-name' as the default
3151 of `read-file-name' when buffer is not visiting a file (bug#12128).
3152
242c0a95
JL
31532012-08-08 Juri Linkov <juri@jurta.org>
3154
3155 * info.el (Info-isearch-search): Doc fix.
3156 (Info-search): Change search-failed message from "initial node" to
3157 "end of node" (bug#12078).
3158 (Info-isearch-search): Change `isearch-string-state' to
3159 `isearch--state-string'.
3160
32ac3a6b
GM
31612012-08-08 Glenn Morris <rgm@gnu.org>
3162
3163 * language/persian.el: Remove file.
f8c1afd5 3164 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
3165 * loadup.el: Remove language/persian.
3166
2c2d9c9c
OF
31672012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3168
3169 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3170
2d79ec42
FEG
31712012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3172
3173 * progmodes/python.el Fixed defsubst warning.
3174 (python-syntax-context) Rename from python-info-ppss-context.
3175 (python-syntax-context-type): Rename from
3176 python-info-ppss-context-type.
3177 (python-syntax-comment-or-string-p): Rename from
3178 python-info-ppss-comment-or-string-p.
3179
2bd255dd
JB
31802012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3181
3182 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3183
c395097f
AS
31842012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3185
6125983e
AS
3186 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3187 a defcustom that is quoted with backquote.
3188
4250fdf5
SM
3189 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3190 Fix handling of interactive spec when the body uses return.
651eaf36
AS
3191 (math-do-arg-check, math-define-function-body): Use backquote forms.
3192 * calc/calc-ext.el (math-defcache): Likewise.
3193 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3194 * allout.el (allout-new-exposure): Likewise.
3195 * calc/calcalg2.el (math-tracing-integral): Likewise.
3196 * info.el (Info-last-menu-item): Likewise.
3197 * emulation/vip.el (vip-loop): Likewise.
3198 * textmodes/artist.el (artist-funcall): Likewise.
3199 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3200 Construct menu-item directly.
3201
4250fdf5
SM
3202 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3203 Don't declare.
c395097f 3204
5fb50dd3
CY
32052012-08-07 Chong Yidong <cyd@gnu.org>
3206
3207 * simple.el (deactivate-mark): Preserve text properties when
3208 saving the primary selection (Bug#8384).
3209
54eea618
KR
32102012-08-07 Kevin Ryde <user42@zip.com.au>
3211
3212 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3213 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3214 and continue processing (Bug#12110).
3215
638eaeb9
SM
32162012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3217
3218 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3219 syntax-propertize-function (bug#10095).
3220
ea376861
SM
32212012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3222
f91b35be
SM
3223 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3224 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3225 describe-function-1.
3226 (describe-function-1): Use them. Move compiler macro after sig.
3227 (help-fns--compiler-macro): Use function-get. Assume we're already in
3228 standard-output. Adjust layout to new call order.
3229
ea376861
SM
3230 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3231 re-binding a symbol that has a symbol-macro (bug#12119).
3232
d5be7bd0
MB
32332012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3234
3235 * language/persian.el: New file. (Bug#11812)
3236 * loadup.el: Add language/persian.el.
3237
90749b53
CY
32382012-08-06 Chong Yidong <cyd@gnu.org>
3239
3240 * window.el (window--maybe-raise-frame): New function.
3241 (window--display-buffer): Split off from here.
3242 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3243 (display-buffer-pop-up-window, display-buffer-use-some-window):
3244 Obey an inhibit-switch-frame action alist entry.
3245 (display-buffer): Update doc.
3246
3247 * replace.el (occur-after-change-function): Avoid losing focus by
3248 using the inhibit-switch-frame display parameter (Bug#12139).
3249
ba7b0154
FEG
32502012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3251
3252 Make internal shell process buffer names start with space.
3253 * progmodes/python.el (python-shell-make-comint): Add optional
3254 argument INTERNAL.
3255 (run-python-internal): Use it.
3256 (python-shell-internal-get-or-create-process): Check for new
3257 internal buffer names.
3258
5eaeacb5
GM
32592012-08-06 Glenn Morris <rgm@gnu.org>
3260
e296d94b 3261 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
3262 Do less getting and setting of environment variables.
3263
b7ccbdc2
CY
32642012-08-05 Chong Yidong <cyd@gnu.org>
3265
777fe95e
CY
3266 * proced.el (proced): Add substitution string to docstring to
3267 trigger autoloading of the proced library on C-h f (Bug#1768).
3268
4250fdf5
SM
3269 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3270 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
3271
3272 * imenu.el (imenu-generic-expression): Move documentation here
3273 from imenu--generic-function.
3274 (imenu--generic-function): Refer to imenu-generic-expression.
3275
9e3b7800 32762012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
3277
3278 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3279 indentation declaration.
3280 (viper-loop): Add indentation declaration (Bug#7025).
3281
e5d9c0d1
CY
32822012-08-05 Chong Yidong <cyd@gnu.org>
3283
f0422feb
CY
3284 * help-fns.el (describe-variable): Add hyperlink for
3285 directory-local variables files. Improve buffer-local and
3286 permanent-local reporting; suggested by MON KEY (Bug#6644).
3287
3288 * help-mode.el (help-dir-local-var-def): New button type.
3289
e5d9c0d1
CY
3290 * files.el (kill-buffer-hook): Provide a defvar.
3291
a4f2deaa
GM
32922012-08-05 Glenn Morris <rgm@gnu.org>
3293
3294 * eshell/esh-ext.el (eshell/addpath):
3295 Also update eshell-path-env. (Bug#12013)
3296
a9dd5754
CY
32972012-08-05 Chong Yidong <cyd@gnu.org>
3298
a4f2deaa 3299 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 3300
d014c740
CY
3301 * fringe.el (fringe-styles): Add docstring.
3302 (fringe--check-mode): New function.
3303 (set-fringe-mode, set-fringe-style): Use it.
3304 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3305
a9dd5754
CY
3306 * files.el (set-auto-mode): Fix invalid setq call.
3307
7c2dc8bd
SM
33082012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3309
3310 * isearch.el: Misc simplification; use defstruct.
3311 (isearch-mode-map): Dense maps now work like sparse ones.
3312 (isearch--state): New defstruct.
3313 (isearch-string-state, isearch-message-state, isearch-point-state)
3314 (isearch-success-state, isearch-forward-state)
3315 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3316 (isearch-wrapped-state, isearch-barrier-state)
3317 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3318 replaced by defstruct's accessors.
3319 (isearch--set-state): Rename from isearch-top-state and change
3320 calling convention.
3321 (isearch-push-state): Use new isearch--get-state.
3322 (isearch-toggle-word): Disable regexp when enabling word.
3323 (isearch-message-prefix): Remove unused arg _c-q-hack.
3324 (isearch-message-suffix): Remove unused arg _ellipsis.
3325
7fcc0070
AS
33262012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3327
3328 * simple.el (list-processes--refresh): For a server use :host or
3329 :local as the address.
97ad0769 3330 (list-processes): Doc fix.
7fcc0070 3331
a11035b8 33322012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
3333
3334 * lisp/mpc.el: Support password in host argument.
3335 (mpc--proc-connect): Parse and use new password element.
3336 Set mpc-proc variable instead of returning process.
3337 (mpc-proc): Adjust accordingly.
3338
6dad7178
EZ
33392012-08-03 Eli Zaretskii <eliz@gnu.org>
3340
18949c2f
EZ
3341 * whitespace.el (whitespace-display-mappings): Use Unicode
3342 codepoints, instead of emacs-mule codepoints. See
3343 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3344 for the details.
3345
6dad7178
EZ
3346 * files.el (file-truename): Don't skip symlink-chasing part on
3347 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
3348 Windows into the loop that recursively chases symlinks.
3349 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
3350 MS-DOS.
3351
385b0198
CY
33522012-08-03 Chong Yidong <cyd@gnu.org>
3353
6200f3c4
CY
3354 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3355
385b0198
CY
3356 * sort.el (sort-regexp-fields): Doc fix.
3357
b9e74744
TH
33582012-08-03 Tassilo Horn <tsdh@gnu.org>
3359
3360 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3361 labels regex position point at the expected place.
3362
41013cb4
MK
33632012-08-03 MON KEY <monkey@sandpframing.com>
3364
3365 * net/imap.el (imap-interactive-login, imap-authenticate)
3366 (imap-mailbox-lsub, imap-mailbox-list)
3367 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3368 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3369 (imap-parse-response): Doc fix.
3370
0ffee616
JT
33712012-08-03 João Távora <joaotavora@gmail.com>
3372
3373 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3374 if sexp scanning does not move point (Bug#5734).
3375
cfcc9cc8
TH
33762012-08-02 Tassilo Horn <tsdh@gnu.org>
3377
3378 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3379 Add listings, minted, and ctable packages.
3380 (reftex-label-alist-builtin): Move listings, minted, and ctable
3381 entries before LaTeX.
a01bbb84 3382 (reftex-label-alist): Docfix.
cfcc9cc8 3383
66ec2442
BG
33842012-08-02 Bastien Guerry <bzg@gnu.org>
3385
3386 * replace.el (occur): Fix docstring (bug#12122).
3387
837b365b
GM
33882012-08-02 Glenn Morris <rgm@gnu.org>
3389
3390 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3391
e098de97
PE
33922012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3393
3394 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3395 * international/mule-cmds.el: Create
3396 inactivate-current-input-method-function as an obsolete alias for
3397 deactivate-current-input-method-function. See Katsumi Yamaoka in
3398 <http://bugs.gnu.org/10150#46>.
3399
a0f95636
JB
34002012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3401
3402 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3403 of nested `if's.
3404
0d26d7c4
GM
34052012-08-01 Glenn Morris <rgm@gnu.org>
3406
3407 * progmodes/autoconf.el (autoconf-definition-regexp):
3408 Add AH_TEMPLATE, adjust submatch numbering.
3409 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3410 (autoconf-current-defun-function): Update for above change.
3411 (autoconf-current-defun-function): First skip to end of current word.
3412
b686ba06
RS
34132012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3414
3415 * calendar/cal-html.el (cal-html-insert-agenda-days):
3416 Fix typo. (Bug#12018)
3417
0d49da68
FEG
34182012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3419
3420 Shell processes: enhancements to startup and CEDET compatibility.
3421 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3422 (python-shell-make-comint): accept-process-output at startup.
3423 (run-python-internal): Set inferior-python-mode-hook to nil.
3424 (python-shell-internal-get-or-create-process): call sit-for.
3425 (python-preoutput-result): Add obsolete alias.
3426 (python-shell-internal-send-string): Use it.
3427 (python-shell-send-setup-code): Remove call to
3428 accept-process-output.
3429
f1a71c6e
AS
34302012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3431
3432 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3433 (Bug#12108)
3434
d2605269
JB
34352012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3436
3437 * calc-mode.el (calc-basic-simplification-mode): Rename from
3438 `calc-limited-simplification-mode'.
3439 (calc-alg-simplification-mode): New function.
fc0c31f8 3440 (calc-set-simplify-mode): Adjust message.
f1a71c6e 3441
d2605269
JB
3442 * calc.el (calc-set-mode-line): Adjust mode line display for
3443 basic simplification mode.
3444
3445 * calc-help.el (calc-m-prefix-help): Update help message.
3446
3447 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3448 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3449
a3827a43
BG
34502012-07-31 Bastien Guerry <bzg@gnu.org>
3451
3452 * man.el (man): Fix comment. (bug#12101)
3453
502e3f89
MR
34542012-07-31 Martin Rudalics <rudalics@gmx.at>
3455
3456 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3457 Don't return a non-nil value when no suitable buffer was found.
3458
d7714961
FEG
34592012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3460
3461 * progmodes/python.el (run-python-internal): Disable font lock for
3462 internal shells.
3463
1f45e27e
SM
34642012-07-30 Stefan Merten <smerten@oekonux.de>
3465
70efc5c9 3466 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
3467 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3468 (rst-official-version, rst-official-cvs-rev)
3469 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3470 (rst-mode-map): New key binding.
3471
0aee6912
PE
34722012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3473
3474 Update .PHONY listings in makefiles.
3475 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3476 autoloads, update-subdirs, updates, bzr-update, update-authors,
3477 compile-onefile, compile-calc, backup-compiled-files,
3478 compile-after-backup, compile-one-process, mh-autoloads,
3479 bootstrap-clean, distclean, maintainer-clean.
3480
9052f9f0
JB
34812012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3482
1823ac5a
JB
3483 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3484 (calc-set-mode-line): Don't display "AlgSimp ".
3485
3486 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3487 (calc-lim-simplify-mode): New function.
3488 (calc-set-simplify-mode): Default to 'alg.
3489 (calc-default-simplify-mode): Make algebraic simplifications
3490 the default.
3491
3492 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3493 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3494
8d7c7eed 3495 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
3496 indicate new simplification modes.
3497
1823ac5a
JB
3498 * calc/README: Mention new default simplification mode.
3499
9052f9f0
JB
3500 * calc/calc.el (math-normalize-error): New variable.
3501 (math-normalize): Set `math-normalize-error' to t
3502 when there's an error.
3503
3504 * calc/calc-alg.el (math-simplify): Don't simplify when
3505 `math-normalize' returns an error.
3506
20ba0cb4
EZ
35072012-07-29 Eli Zaretskii <eliz@gnu.org>
3508
3509 * international/mule-cmds.el (set-locale-environment): Revert last
3510 change, since display-graphic-p returns nil when this function is
3511 called during startup. Instead...
3512
3513 * term/w32console.el (terminal-init-w32console): ...setup the
3514 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3515
a5dcc929
JL
35162012-07-29 Juri Linkov <juri@jurta.org>
3517
3518 * simple.el (goto-line): Don't display default line number in the
3519 prompt because it should be displayed by `read-number' (bug#9952).
3520 Add the current line number to the defaults of `goto-line' to
3521 allow its easier modification by users with `M-n' (bug#9201).
3522
3523 * subr.el (read-number): Support multiple default values like in
3524 other minibuffer reading functions. Replace `read' with
3525 `string-to-number' for consistency with `number-to-string'.
3526
72b255c7
PE
35272012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3528
3529 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3530 * emulation/viper-init.el (viper-deactivate-input-method-action):
3531 Rename from viper-inactivate-input-method-action.
3532 (viper-deactivate-input-method):
3533 Rename from viper-inactivate-input-method.
3534 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3535 * international/mule-cmds.el (deactivate-input-method):
3536 Rename from inactivate-input-method.
3537 Also run input-method-deactivate-hook.
3538 (deactivate-current-input-method-function):
3539 Rename from inactivate-current-input-method-function.
3540 (input-method-deactivate-hook): New hook.
3541 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
3542 (inactivate-input-method): Mark obsolete.
3543
72b255c7
PE
3544 * international/quail.el (quail-activate):
3545 Also run quail-deactivate-hook.
3546 (quail-deactivate): Rename from quail-inactivate.
3547 * international/robin.el (robin-activate):
3548 Also run robin-deactivate-hook.
3549 (robin-deactivate): Rename from robin-inactivate.
3550
2549c068
CY
35512012-07-29 Chong Yidong <cyd@gnu.org>
3552
3553 * simple.el (indicate-copied-region): New function.
3554 (kill-ring-save): Split off from here.
3555
3556 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3557 (kill-rectangle): Set deactivate-mark to t on read-only error.
3558
3559 * register.el (copy-to-register, copy-rectangle-to-register):
3560 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
3561 (append-to-register, prepend-to-register): Call indicate-copied-region.
3562
35632012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
3564
3565 * simple.el (async-shell-command-buffer): New defcustom.
3566 (shell-command): Use it. (Bug#4719)
3567
01bd1b0d
EZ
35682012-07-28 Eli Zaretskii <eliz@gnu.org>
3569
3570 * international/mule-cmds.el (set-locale-environment): In a
3571 console session on MS-Windows, set up keyboard and terminal
3572 encoding from the OEM codepage, not the ANSI codepage.
3573 (Bug#12055)
3574
a55739d3
CY
35752012-07-28 Chong Yidong <cyd@gnu.org>
3576
3577 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3578 gdb-get-location.
3579
0e1a094f 35802012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
3581
3582 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3583 the alist (bug#12029).
3584
20329d73
EZ
35852012-07-28 Eli Zaretskii <eliz@gnu.org>
3586
3587 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3588 (compile-always, compile-first)
3589 ($(lisp)/calendar/cal-loaddefs.el)
3590 ($(lisp)/calendar/diary-loaddefs.el)
3591 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3592 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3593 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3594 instead of on update-subdirs.
3595 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3596
345a2258
CY
35972012-07-28 Chong Yidong <cyd@gnu.org>
3598
1eee6341
CY
3599 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3600 directory if vc-deduce-backend returns nil (Bug#7350).
3601
345a2258
CY
3602 * simple.el (delete-trailing-lines): New option.
3603 (delete-trailing-whitespace): Obey it (Bug#11879).
3604
049a0936
DE
36052012-07-28 David Engster <deng@randomsample.de>
3606
3607 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3608 Explanation of new 'symbol-qnames feature in doc-strings.
3609 (xml-maybe-do-ns): Return expanded names as plain symbols if
3610 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3611 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3612
aa81af71
FEG
36132012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3614
3615 Consistent completion in inferior python with emacs -nw.
3616 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3617 binding in inferior-python-mode-map with "\t".
3618 (python-shell-completion-complete-at-point)
3619 (python-completion-complete-at-point): Remove interactive spec.
3620
e827b1eb
JB
36212012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3622
3623 * calc/calccomp.el (math-compose-expr): Undo previous change.
3624
a90dfb95
FEG
36252012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3626
4250fdf5 3627 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
3628 run-python.
3629 (python-shell-make-comint): Fix pop-to-buffer call.
3630 (run-python): Autoload. New arg SHOW.
3631 (python-shell-get-or-create-process): Do not pop python process
3632 buffer.
3633
32770973 36342012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
3635
3636 * notifications.el (notifications-on-action-signal)
3637 (notifications-on-closed-signal): Use also the bus address for the map.
3638 (notifications-notify, notifications-close-notification)
fc0c31f8 3639 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 3640
86332df2
TH
36412012-07-27 Tassilo Horn <tsdh@gnu.org>
3642
4250fdf5
SM
3643 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3644 Add support for the lstlisting and minted environments, and for the
86332df2
TH
3645 ctable macro.
3646 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3647 labels written in keyvals syntax.
3648
ca1302a4
JB
36492012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3650
3651 * calc/calccomp.el (math-compose-expr): Use parentheses when
3652 there is a product in the denominator of a fraction.
3653
f8b91036
EZ
36542012-07-26 Eli Zaretskii <eliz@gnu.org>
3655
3656 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3657 ($(lisp)/calendar/diary-loaddefs.el)
3658 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
3659 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3660 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
3661 rewritten while the autoload files are built at the same time,
3662 which needs to load subdirs.el.
3663
c8e5a42c
MR
36642012-07-26 Martin Rudalics <rudalics@gmx.at>
3665
3666 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3667 (mouse-drag-line): Don't exit tracking when a switch-frame or
3668 switch-window event occurs (Bug#12006).
3669
670d85ea
SM
36702012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3671
3672 * mouse.el (popup-menu): Fix last change.
3673
7abaf5cc
SM
36742012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3675
3676 Autoload from Lisp with more care. Follow aliases when looking for
3677 function properties.
3678 * subr.el (autoloadp): New function.
3679 (symbol-file): Use it.
3680 (function-get): New function.
3681 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3682 autoload-do-load.
3683 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3684 (lisp-indent-function):
3685 * emacs-lisp/gv.el (gv-get):
3686 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3687 * emacs-lisp/byte-opt.el (byte-optimize-form):
3688 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3689 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3690 Use function-get.
3691 * emacs-lisp/cl.el: Don't propagate function properties any more.
3692
3693 * speedbar.el (speedbar-add-localized-speedbar-support):
3694 * emacs-lisp/disass.el (disassemble-internal):
3695 * desktop.el (desktop-load-file):
3696 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3697 (describe-function-1):
3698 * emacs-lisp/find-func.el (find-function-noselect):
3699 * emacs-lisp/elp.el (elp-instrument-function):
3700 * emacs-lisp/advice.el (ad-has-proper-definition):
3701 * apropos.el (apropos-safe-documentation, apropos-macrop):
3702 * emacs-lisp/debug.el (debug-on-entry):
3703 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3704 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3705 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3706
b1364986
AA
37072012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3708
3709 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3710 function, not an obsolete variable (Bug#12046).
3711
67ada220
AS
37122012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3713
3714 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3715
f08088e3
CS
37162012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3717
3718 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3719 window only if it is still live (Bug#12034).
3720
8137e7b3
MR
37212012-07-25 Martin Rudalics <rudalics@gmx.at>
3722
3723 * subr.el (redirect-frame-focus): Add advertised calling
3724 convention (Bug#12030).
3725
09ae5da1
PE
37262012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3727
3728 Prefer typical American spelling for "acknowledgment".
3729 * vc/add-log.el (change-log-acknowledgment): Rename from
3730 change-log-acknowledgement, with an alias for the old name.
3731
3cc5a3a8
JB
37322012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3733
3734 * calc-alg.el (math-simplify-divide): Don't cross multiply
3735 in an equation when the lhs is a variable.
3736
b7af7f62
JD
37372012-07-24 Julien Danjou <julien@danjou.info>
3738
3739 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3740 Remove, unused.
3741
ec1b09b1
EZ
37422012-07-23 Eli Zaretskii <eliz@gnu.org>
3743
3744 * startup.el (command-line): Don't display an empty user name in
3745 the error message about non-existent home directory, when
3746 init-file-user was set to an empty string. See
3747 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3748 for the details and context.
3749
b525fd8a
VB
37502012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3751
3752 * ses.el (ses-cell-formula-aset): New macro.
3753 (ses-cell-references-aset): New macro.
3754 (ses-cell-p): New function.
3755 (ses-rename-cell): Do no longer rely on complex operations like
3756 ses-cell-set-formula or ses-set-cell to change the cell and handle
3757 the undo at the same time, but rather use lower level new macros
3758 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 3759 the undo directly. Refresh the mode line.
b525fd8a 3760
2c73e345
LL
37612012-07-21 Leo Liu <sdl.web@gmail.com>
3762
670d85ea
SM
3763 * progmodes/cc-cmds.el (c-defun-name):
3764 Use match-string-no-properties instead for consistency.
2c73e345 3765
542dfbde
LL
37662012-07-20 Leo Liu <sdl.web@gmail.com>
3767
3646bcd6
LL
3768 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3769 (Bug#7879)
3770
542dfbde
LL
3771 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3772
25721031
CY
37732012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3774
3775 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3776 * progmodes/bug-reference.el, misearch.el: Provide themselves
3777 (bug#11915).
3778
3779 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3780 of narrowed buffer (bug#11966).
3781
316e68a7
VB
37822012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3783
3784 * ses.el (ses-rename-cell): Set new name also in reference list of
3785 cells of which the renamed cell depends.
3786
bbf0e7d9
MY
37872012-07-20 Masatake YAMATO <yamato@redhat.com>
3788
3789 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3790 to check whether menu-bar is shown or not. If not shown,
3791 show the menu-bar as a popup menu instead of using tmm.
3792 * mouse.el (popup-menu): Accept `point' as `position' argument.
3793
c28662a8
DG
37942012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3795
3796 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3797 up inside string symbol literal (bug#11923).
3798
87ab808f
EZ
37992012-07-20 Eli Zaretskii <eliz@gnu.org>
3800
3801 * startup.el (fancy-startup-text): Read the whole tutorial, not
3802 just its first 256 bytes. Prevents gibberish in display of the
3803 tutorial title.
3804
89dea803
DA
38052012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3806
3807 Drop idle buffer compaction due to an absence of the
3808 proved efficiency.
3809 * compact.el: Remove.
3810
8a4e6db8
SS
38112012-07-19 Sam Steingold <sds@gnu.org>
3812
3813 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3814 vc-bzr-pull & vc-bzr-merge-branch.
3815 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3816 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3817 for consistency with compilation-error-regexp-alist.
3818 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3819 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3820 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3821 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3822
5db81e33
SM
38232012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3824
3825 * emacs-lisp/chart.el: Use lexical-binding.
3826 (chart-emacs-storage): Don't hardcode the list of entries.
3827
5b835e1d
DA
38282012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3829
3830 Next round of tweaks caused by Fgarbage_collect changes.
3831 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3832
9cd47b72
DA
38332012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3834
3835 Compact buffers when idle.
3836 * compact.el: New file.
3837
1d6fc0df
SM
38382012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3839
3840 * subr.el (eventp): Presume that if it looks vaguely like an event,
3841 it's an event (bug#10190).
3842
1d29cc7d
FEG
38432012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3844
3845 Enhancements to ppss related code (thanks Stefan).
3846 * progmodes/python.el (python-indent-context)
3847 (python-indent-calculate-indentation, python-indent-dedent-line)
3848 (python-indent-electric-colon, python-nav-forward-block)
3849 (python-mode-abbrev-table)
1d6fc0df 3850 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
3851 for ppss context.
3852 (python-info-continuation-line-p): Cleanup.
3853 (python-info-ppss-context): Do not catch 'quote.
3854 (python-info-ppss-context-type)
3855 (python-info-ppss-comment-or-string-p): Simplify.
3856
d583cbe6
FEG
38572012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3858
3859 * progmodes/python.el: Enhancements to eldoc support.
3860 (python-info-current-symbol): New function.
3861 (python-eldoc-at-point): Use python-info-current-symbol.
3862 (python-info-current-defun): Fix cornercase on first defun scan.
3863 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3864 and signal error when no inferior python process is available.
3865
eceb6feb
DG
38662012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3867
3868 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3869 assume it's always t.
3870 (vc-git-registered): Remove caching, the function is only called
3871 once.
3872 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3873
4c8ff0fe
CY
38742012-07-18 Chong Yidong <cyd@gnu.org>
3875
19fb7186
CY
3876 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3877
9587c688
CY
3878 * simple.el (count-words): Report on narrowing (Bug#9959).
3879
0fe776a1
CY
3880 * bindings.el: Bind M-= to count-words.
3881
4c8ff0fe
CY
3882 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3883
7f5331cc
MY
38842012-07-18 Masatake YAMATO <yamato@redhat.com>
3885
3886 * progmodes/sh-script.el (sh-imenu-generic-expression):
3887 Capture a function with `function' keyword and without parentheses
3888 like "function FOO" (bug#11856).
3889
2dc2a609
TH
38902012-07-18 Tassilo Horn <tassilo@member.fsf.org>
3891
3892 * window.el (split-window-sensibly): Make WINDOW argument
3893 optional.
3894
439f7677
CY
38952012-07-18 Chong Yidong <cyd@gnu.org>
3896
9aeb25a6
CY
3897 * subr.el (keyboard-translate): Doc fix (Bug#7261).
3898
439f7677
CY
3899 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3900 and make C-x 8 RET exit isearch (Bug#11439).
3901
3902 * international/iso-transl.el: Move isearch-mode-map key
3903 definitions to isearch.el.
3904
12999ea8
SM
39052012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3906
3907 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3908 (eieio-defclass): Use gv-define-setter when possible.
3909
3ab6e069
DA
39102012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
3911
3912 Reflect recent changes in Fgarbage_collect.
3913 * emacs-lisp/chart.el (chart-emacs-storage): Change to
3914 reflect new format of data returned by Fgarbage_collect.
3915
0a60bc10
FEG
39162012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3917
3918 New utility functions + python-info-ppss-context fix (Bug#11910).
3919 * progmodes/python.el (python-info-beginning-of-block-statement-p)
3920 (python-info-ppss-comment-or-string-p): New functions.
3921 (python-info-ppss-context): Small fix for string check.
3922
6dafa0d5
JL
39232012-07-17 Juri Linkov <juri@jurta.org>
3924
3925 * dired-aux.el (dired-do-async-shell-command): Doc fix.
3926 (dired-do-async-shell-command): Don't add `*' at the end of the
3927 command (Bug#11815).
3928 (dired-do-shell-command): Doc fix.
3929 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3930 Join the individual commands using either "&" or ";" as the
3931 separator depending on the values of these trailing characters.
3932 At the end re-add the trailing "&". (Bug#10598)
3933
3934 * simple.el (async-shell-command): Sync the interactive spec with
3935 `shell-command'. Doc fix.
3936 (shell-command): Doc fix.
3937
b19dd9d1
JL
39382012-07-17 Juri Linkov <juri@jurta.org>
3939
3940 * descr-text.el (describe-char): Fix format args. (Bug#10129)
3941
bcdc27d7 39422012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 3943
bcdc27d7 3944 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
3945 * progmodes/python.el (python-nav-beginning-of-statement):
3946 Rename from python-nav-statement-start.
bcdc27d7
FEG
3947 (python-nav-end-of-statement): Rename from
3948 python-nav-statement-end.
3949 (python-nav-beginning-of-block): Rename from
3950 python-nav-block-start.
3951 (python-nav-end-of-block): Rename from python-nav-block-end.
3952
191da00e
FEG
39532012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3954
7f5331cc
MY
3955 * progmodes/python.el (python-shell-send-string-no-output):
3956 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
3957 future interactions (Bug#11868).
3958
4dc7c8d5 39592012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 3960
88ecaf8f
SM
3961 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3962
ef501ef0
SM
3963 * emacs-lisp/elint.el (elint-find-args-in-code):
3964 Use help-function-arglist, so as to handle lexical byte-code.
3965
aa7aaf8f
SM
3966 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3967 change (bug#11826).
3968
45fd731c
SM
39692012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3970
2143fa32
SM
3971 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3972 Avoid spuriously marking the buffer as modified because of c-is-sws.
3973
efc26dbe
SM
3974 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3975 as not-a-comment (bug#11946).
3976
f5695c9a
SM
3977 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3978 for uninterned vars.
3979
3980 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3981 Use read-event since we don't really want to read chars but bytes.
3982
45fd731c
SM
3983 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3984 $$..$$ but also $..$ using regexps (bug#11953).
3985 Use tex-verbatim for \url and \path.
3986 (tex-font-lock-keywords): Define as defconst like the others.
3987 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3988
ddfc8813
RK
39892012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3990
3991 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3992 alias for insert-char.
3993
758e556a
FEG
39942012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3995
3996 * progmodes/python.el: Simplified imenu implementation.
3997 (python-nav-jump-to-defun): Remove command.
3998 (python-mode-map): Use `imenu' instead.
3999 (python-nav-list-defun-positions-cache)
4000 (python-imenu-include-defun-type, python-imenu-make-tree)
4001 (python-imenu-subtree-root-label, python-imenu-index-alist):
4002 Remove vars.
4003 (python-nav-list-defun-positions, python-nav-read-defun)
4004 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
4005 (python-imenu-make-tree, python-imenu-create-index):
4006 Remove functions.
758e556a
FEG
4007 (python-mode): Update to interact with imenu by setting
4008 `imenu-extract-index-name-function' only.
4009
032d23ab
FEG
40102012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4011
4012 * progmodes/python.el: Enhancements to navigation commands.
4013 (python-nav-backward-sentence)
4014 (python-nav-forward-sentence): Remove.
4015 (python-nav-backward-statement, python-nav-forward-statement)
4016 (python-nav-statement-start, python-nav-statement-end)
4017 (python-nav-backward-block, python-nav-forward-block)
4018 (python-nav-block-start, python-nav-block-end)
4019 (python-nav-forward-sexp-function)
4020 (python-info-current-line-comment-p)
4021 (python-info-current-line-empty-p): New functions.
4022 (python-indent-context): Use `python-nav-statement-start'.
4023
01795a1b
MA
40242012-07-16 Michael Albinus <michael.albinus@gmx.de>
4025
9328d9aa
MA
4026 * eshell/em-ls.el (eshell/ls): Use `apply'.
4027
4028 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4029 multi-hops, instead of Tramp internals.
4030
01795a1b
MA
4031 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4032
4033 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4034 when F1 and F2 are located on different hosts.
4035
63408057
CY
40362012-07-14 Chong Yidong <cyd@gnu.org>
4037
4038 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4039 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4040 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4041 (xterm-mouse--read-event-sequence-1000)
4042 (xterm-mouse--read-event-sequence-1006): New functions. For old
4043 mouse protocol, handle M-mouse-X events correctly.
4044 (xterm-mouse-event): New arg specifying mouse protocol.
4045 (turn-on-xterm-mouse-tracking-on-terminal)
4046 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
4047 sequence to toggle extended coordinates on newer XTerms.
4048 This appears to be harmless on terminals which do not support this.
63408057 4049
cd276f6e
LL
40502012-07-14 Leo Liu <sdl.web@gmail.com>
4051
28ca98ac
LL
4052 Add fringe bitmap indicators for flymake. (Bug#11253)
4053 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4054 (flymake-make-overlay): New arg BITMAP.
4055 (flymake-error-bitmap, flymake-warning-bitmap)
4056 (flymake-fringe-indicator-position): New user variables.
4057
cd276f6e
LL
4058 * fringe.el: New bitmap exclamation-mark.
4059
04408072
JD
40602012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4061
4062 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4063 also (Bug#7879).
4064
b5cf7fc4
CY
40652012-07-14 Chong Yidong <cyd@gnu.org>
4066
4067 * electric.el (electric-pair-post-self-insert-function): Fix pair
4068 insertion in empty-region case (Bug#11520).
4069
be755c79
RT
40702012-07-14 Chong Yidong <cyd@gnu.org>
4071
45fd731c
SM
4072 * bindings.el: Consolidate ctl-x-r-map bindings.
4073 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
4074
4075 * rect.el, register.el: Move bindings to bindings.el.
4076
40772012-07-14 Reuben Thomas <rrt@sc3d.org>
4078
4079 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4080
7f5b3198
AS
40812012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4082
4083 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4084
97662200
JB
40852012-07-13 Juanma Barranquero <lekktu@gmail.com>
4086
80185fed
JB
4087 * bindings.el (top): Use `mapc' instead of `mapcar'.
4088
97662200
JB
4089 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4090
2bb1ae55
MA
40912012-07-13 Michael Albinus <michael.albinus@gmx.de>
4092
4093 * progmodes/sql.el (sql-comint): Suppress the check for program on
4094 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4095 (Bug#11908)
4096
dea31bd3
CY
40972012-07-13 Chong Yidong <cyd@gnu.org>
4098
4099 * bindings.el: Assign a non-nil permanent-local property to
4100 per-buffer variables which lack a default value (Bug#11930).
4101
4102 * help-fns.el (describe-variable): In the "automatically becomes
4103 local" notice, take note of permanent-local variables.
4104
b68b3337
CY
41052012-07-13 Chong Yidong <cyd@gnu.org>
4106
4107 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4108 to allow printing the message when called from Lisp.
4109
4110 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4111 Remove toggle-read-only.
4112
4113 * bs.el (bs-toggle-readonly):
45fd731c
SM
4114 * buff-menu.el (Buffer-menu-toggle-read-only):
4115 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
4116
4117 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4118 Remove with-no-warnings around toggle-read-only.
4119 (ffap-read-only, ffap-read-only-other-window)
4120 (ffap-read-only-other-frame): Callers changed.
4121
4122 * help-mode.el: Don't require view package.
4123 (help-mode-finish): Set buffer-read-only instead of calling
4124 toggle-read-only.
4125
4126 * bindings.el (mode-line-toggle-read-only):
4127 * dired.el (dired-toggle-read-only):
4128 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4129 with non-nil second arg.
4130
4131 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4132 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4133 directly.
4134
56bc1586
EZ
41352012-07-12 Eli Zaretskii <eliz@gnu.org>
4136
4137 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4138 not incf.
4139
a464a6c7
SM
41402012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4141
4142 More CL cleanups and reduction of use of cl.el.
4143 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4144 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4145 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4146 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4147 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4148 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4149 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4150 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4151 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4152 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4153 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4154 * eshell/em-cmpl.el, eshell/em-banner.el:
4155 * calendar/parse-time.el: Use cl-lib.
4156 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4157 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4158 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4159 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4160 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4161 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4162 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4163 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4164 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4165 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4166 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4167 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4168 `lambda' rather than with `quote'.
4169 (eshell-do-opt): Adjust accordingly.
4170 (eshell-process-option): Simplify.
4171 * eshell/esh-var.el:
4172 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4173 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4174 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4175 to `pcase--dontcare'.
4176 * emacs-lisp/cl.el (labels): Mark obsolete.
4177 (cl--letf, letf): Move to cl-lib.
4178 (cl--letf*, letf*): Remove.
4179 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4180 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4181 (cl-progv): Rewrite.
4182 (cl--letf, cl-letf): Move from cl.el.
4183 (cl-letf*): New macro.
4184 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4185
7ad4afe1
MA
41862012-07-11 Michael Albinus <michael.albinus@gmx.de>
4187
4188 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4189
9af57756
CY
41902012-07-11 Chong Yidong <cyd@gnu.org>
4191
4192 * vc/log-edit.el (log-edit-vc-backend): New variable.
4193 (log-edit): Doc fix.
4194
4195 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4196 argument of log-edit to set up all local variables.
4197 (vc-start-logentry): New optional arg specifying VC backend.
4198
4199 * vc/vc.el (vc-checkin): Use it.
4200 (vc-deduce-fileset): Handle Log Edit buffers.
4201 (vc-diff): Make first argument optional too.
4202
4203 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4204
8477cc7a
MA
42052012-07-10 Michael Albinus <michael.albinus@gmx.de>
4206
4207 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4208 command, just in case. The function is not needed anymore.
4209 (eshell-external-command): Do not call `eshell-remote-command'.
4210
19faa8e8
SM
42112012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4212
f58e0fd5
SM
4213 Reduce use of (require 'cl).
4214 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4215 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4216 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4217 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4218 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4219 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4220 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4221 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4222 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4223 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4224 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4225 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4226 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4227 (byte-compile-unfold-bcf, byte-compile-check-variable):
4228 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4229 (byte-compile-nilconstp):
4230 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4231 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4232
2519d43a
SM
4233 * emacs-lisp/gv.el (cond): Make it a valid place.
4234 (if): Simplify slightly.
4235
19faa8e8
SM
4236 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4237 (pcase--self-quoting-p): New function.
4238 (pcase--u1): Use it.
4239
c4907a5e
GM
42402012-07-10 Glenn Morris <rgm@gnu.org>
4241
4242 * emacs-lisp/authors.el (authors-fixed-entries):
4243 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4244
c4444d16
PE
42452012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4246
4247 Rename configure.in to configure.ac (Bug#11603).
4248 * emacs-lisp/authors.el (authors-canonical-file-name):
4249 * progmodes/autoconf.el (autoconf-mode):
4250 Prefer configure.ac to configure.in.
4251
d75be97d
CY
42522012-07-08 Chong Yidong <cyd@gnu.org>
4253
01ac65bd
CY
4254 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4255 Implement the mouse-1-click-follows-link handling properly.
4256
4257 * info.el (Info-link-keymap): Use follow-link mechanism for
4258 header-line links (Bug#374).
4259
d75be97d
CY
4260 * simple.el (deactivate-mark): Do not set the primary selection
4261 if another program has acquired it (Bug#11772).
4262
87a92845 42632012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
4264
4265 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4266 (woman-decode-region): Replace escaped-escapes without destroying
4267 bold or underline (Bug#11552).
87a92845 4268 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 4269
621b9d6c
CY
42702012-07-07 Chong Yidong <cyd@gnu.org>
4271
4272 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
4273 (interprogram-cut-function, interprogram-paste-function):
4274 Mention that we typically mean the clipboard.
621b9d6c 4275
133a11fc
GM
42762012-07-06 Glenn Morris <rgm@gnu.org>
4277
0d27a45e
GM
4278 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4279
133a11fc
GM
4280 * files.el (toggle-read-only): Restrict message to interactive use.
4281
07b151f1
MA
42822012-07-06 Michael Albinus <michael.albinus@gmx.de>
4283
4284 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4285
4286 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4287
211b896b
GM
42882012-07-06 Glenn Morris <rgm@gnu.org>
4289
50394322
GM
4290 * Makefile.in (compile-one-process): Rename from "recompile".
4291
211b896b
GM
4292 * Makefile.in (bzr-update): "compile" is the same as "recompile
4293 autoloads", but parallelizable, so use that instead.
4294
4737eec9
DG
42952012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4296
4297 * window.el (quit-window): Always restore window height when
8137e7b3 4298 it's saved in quit-restore parameter (Bug#11810).
4737eec9 4299
226c3633 43002012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
4301
4302 * simple.el (kill-whole-line): Doc tweak.
4303
226c3633 43042012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
4305
4306 * files.el (file-relative-name): Compare file names
4307 case-insensitively if on MS-Windows or MS-DOS, or if
4308 read-file-name-completion-ignore-case is non-nil. Don't use
4309 case-fold-search for this purpose. (Bug#11827)
4310
4dc7c8d5
SM
43112012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4312
4313 * calendar/cal-dst.el (calendar-current-time-zone):
4314 Return calendar-current-time-zone-cache if non-nil.
4315
43162012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 43172012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4318
19faa8e8
SM
4319 * calendar/cal-dst.el (calendar-current-time-zone):
4320 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4321
60198fc9
GM
43222012-07-06 Glenn Morris <rgm@gnu.org>
4323
4324 * Makefile.in (cvs-update): Remove old alias.
4325
957b3189
MA
43262012-07-05 Michael Albinus <michael.albinus@gmx.de>
4327
4328 Sync with Tramp 2.2.6-pre.
4329
4330 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4331 compatible declaration.
4332
19faa8e8
SM
4333 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4334 Protect `list-load-path-shadows' call.
957b3189
MA
4335
4336 * net/tramp-compat.el (top): Require packages, which aren't
4337 autoloaded anymore for XEmacs. Protect call of
4338 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4339 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4340 it hurts at least for SXEmacs.
4341 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4342 standard-value for `temporary-file-directory'.
4343
4344 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4345 Redirect stderr to /dev/null.
4346 (tramp-sh-handle-write-region): uid and gid can be floats.
4347 Reported by Russell Sim <russell.sim@gmail.com>.
4348 (tramp-sh-handle-vc-registered): Hide errors.
4349 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4350 and `start-file-process'.
4351 (tramp-maybe-open-connection): Check also whether `non-essential'
4352 is bound.
4353
566df3fc
CY
43542012-07-04 Chong Yidong <cyd@gnu.org>
4355
4356 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4357 (xml-parse-tag): Likewise, and avoid changing entity tables.
4358 (xml-syntax-table): Define from scratch, making sure not to give
4359 x2000 and other Unicode spaces whitespace syntax, since those are
4360 not spaces in XML.
4361 (xml-parse-fragment): Delete unused function.
4362 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4363 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4364 (xml-entity-ref, xml-pe-reference-re)
4365 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4366 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4367 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4368 (xml-entity-value-re): Use syntax references in regexps where
4369 possible; no need to define inside a let-binding.
4370 (xml-parse-dtd): Use xml-pe-reference-re.
4371 (xml-entity-or-char-ref-re): New defconst.
4372 (xml-parse-string, xml-substitute-special): Use it.
4373
30eabd7a
SM
43742012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4375
0781098a
SM
4376 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4377 (find-file--read-only): New function.
4378 (find-file-read-only, find-file-read-only-other-window)
4379 (find-file-read-only-other-frame): Use it.
4380 (insert-file-contents-literally): Don't `fset'.
4381 (get-free-disk-space): Use locate-dominating-file.
4382
b5771c0d
SM
4383 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4384 function is already compiled.
4385
30eabd7a
SM
4386 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4387
b4886f6e
MA
43882012-07-03 Michael Albinus <michael.albinus@gmx.de>
4389
4390 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4391 files on the same host.
4392
b9d82339
AS
43932012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4394
4395 * help-fns.el (describe-function-1): Only call
4396 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4397
a76e6535
CY
43982012-07-03 Chong Yidong <cyd@gnu.org>
4399
4400 * xml.el: Protect parser against XML bombs.
4401 (xml-entity-expansion-limit): New variable.
4402 (xml-parse-string, xml-substitute-special): Use it.
4403 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4404
b544fef2
GM
44052012-07-03 Glenn Morris <rgm@gnu.org>
4406
4407 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4408 Allow linking to specific messages in debbugs reports (eg 123#5).
4409
a7aef6f5
CY
44102012-07-02 Chong Yidong <cyd@gnu.org>
4411
4412 * xml.el: Fix entity and character reference expansion, allowing
4413 them to expand into markup as per XML spec.
4414 (xml-default-ns): New variable.
4415 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
4416 (xml-parse-region): Make first two arguments optional.
4417 Discard text properties.
4418 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4419 All callers changed.
a7aef6f5
CY
4420 (xml-parse-tag): Call xml-parse-tag-1. For backward
4421 compatibility, this function should not modify buffer contents.
4422 (xml-parse-tag-1): Fix opening-tag regexp.
4423 (xml-parse-string): Rewrite, handling entity and character
4424 references properly.
4425 (xml--entity-replacement-text): Signal an error if a parameter
4426 entity is undefined.
4427
3df31c9f
SM
44282012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4429
2b5208f1
SM
4430 * comint.el (comint-output-filter): Filter out repeated prompts.
4431
3df31c9f
SM
4432 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4433 and file-name-absolute-p.
4434 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4435 internal calls.
4436
e3ac1281
PE
44372012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4438
4439 Spelling fixes.
4440 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4441 Rename from byte-compile--refiy-function. All uses changed.
4442
fbf2e7ad
CY
44432012-07-01 Chong Yidong <cyd@gnu.org>
4444
4445 * xml.el (xml--parse-buffer): New function. Move most of
4446 xml-parse-region here.
4447 (xml-parse-region): Copy region into a temporary buffer, since
4448 parameter entity substitution requires changing buffer contents.
4449 Use xml--parse-buffer.
4450 (xml-parse-file): Use xml--parse-buffer.
4451 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 4452 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 4453
9bf0aa15
GM
44542012-06-30 Glenn Morris <rgm@gnu.org>
4455
bbce2853
GM
4456 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4457
9bf0aa15
GM
4458 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4459 Remove outdated and unnecessary dbus declarations.
4460
0d23c240
EZ
44612012-06-30 Eli Zaretskii <eliz@gnu.org>
4462
4463 * emacs-lisp/timer.el (timer-until): Subtract results of
4464 float-time, instead of taking float-time of the result of
4465 time-subtract, since float-time signals an error for negative time
4466 arguments.
4467
b3218de1
CY
44682012-06-30 Chong Yidong <cyd@gnu.org>
4469
4470 * xml.el (xml-*-re): Convert defvars into defconsts, and
4471 eval-and-compile them so eval-and-compile works on derivatives.
4472 (xml--entity-replacement-text): Use eval-and-comple.
4473
a40c87a0
MA
44742012-06-30 Michael Albinus <michael.albinus@gmx.de>
4475
4476 * vc/vc-git.el (vc-git-registered): Use cache property
4477 `git-registered'.
4478 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4479 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 4480 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 4481
ac87de97
DG
44822012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4483
4484 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 4485 removed (likely outside Emacs). (Bug#11757)
ac87de97 4486
ac10fe06
SM
44872012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4488
3df31c9f 4489 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 4490
7f3fbd5d
CY
44912012-06-30 Chong Yidong <cyd@gnu.org>
4492
4493 * xml.el: Implement XML parameter entities.
4494 (xml-parameter-entity-alist): New variable.
4495 (xml-parse-region, xml-parse-fragment): Preserve previous values
4496 of xml-entity-alist and xml-parameter-entity-alist, so that
4497 repeated calls on different documents do not change them.
4498 (xml-parse-tag): Fix doctype regexp.
4499 (xml--entity-replacement-text): New function.
4500 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4501 properly requires url retrieval which is unimplemented.
4502 (xml-escape-string): Doc fix.
4503
3cfbebba
SM
45042012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4505
4506 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4507
2af3565e
DA
45082012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4509
4510 * fringe.el (fringe-mode): Doc fix.
4511
929df0e7
MA
45122012-06-29 Michael Albinus <michael.albinus@gmx.de>
4513
4514 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4515 is non-nil.
4516 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4517 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4518
c8d3a25c 45192012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4520
c8d3a25c
GM
4521 * calendar/cal-dst.el (calendar-current-time-zone):
4522 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4523
c8d3a25c 45242012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
4525
4526 * progmodes/which-func.el (which-func-format):
4527 Add mouse-face. (Bug#11698)
4528
c8d3a25c
GM
45292012-06-29 Leo Liu <sdl.web@gmail.com>
4530
4531 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4532
45332012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4534
4535 * minibuffer.el (minibuffer-confirm-exit-commands):
4536 Add completion-at-point (bug#11725).
4537
45382012-06-29 Glenn Morris <rgm@gnu.org>
4539
4540 * progmodes/f90.el (f90-font-lock-keywords-2):
4541 Add some preprocessor elements. (Bug#10499)
4542
45432012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4544
4545 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4546 Use syntax-propertize (bug#11739).
4547
2badeec4
JB
45482012-06-28 Juanma Barranquero <lekktu@gmail.com>
4549
4550 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4551
ae4969c2
JD
45522012-06-28 Julien Danjou <julien@danjou.info>
4553
4554 * term.el (term-handle-colors-array): Use a set of new faces to
4555 color the terminal. Also uses :inverse-video property.
4556 (term-default-fg-color): Set to nil by default, deprecate in favor
4557 of `term-face'.
4558 (term-default-bg-color): Set to nil by default, deprecate in favor
4559 of `term-face'.
4560 (term-current-face): Use `term-face' by default.
4561 (term-bold-attribute): Variable deleted.
4562
1c9bd870
GM
45632012-06-28 Glenn Morris <rgm@gnu.org>
4564
4565 * simple.el (completion-list-mode-finish):
4566 Don't use toggle-read-only. (Since completion-list-mode has
4567 a special mode-class, it wasn't doing anything extra anyway.)
4568
c207708c
SM
45692012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4570
4571 Make inlining of other-mode interpreted functions work (bug#11799).
4572 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4573 (byte-compile): Use it to fix compilation of lexical-binding closures.
4574 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4575 function, if needed.
4576
3fd56834
SM
45772012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4578
04901786
SM
4579 * help-mode.el (help-make-xrefs): Don't just withstand
4580 cyclic-variable-indirection but any error in documentation-property.
4581
1ec4b7b2
SM
4582 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4583 memory use.
4584 * bindings.el (bindings--define-key): New function.
4585 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4586 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4587 * bindings.el: Use it to purecopy define-key bindings.
4588
e309e2a5
SM
4589 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4590
d5c6faf9
SM
4591 * emacs-lisp/cl.el (flet): Mark obsolete.
4592 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4593 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4594 * progmodes/js.el (js-c-fill-paragraph):
4595 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4596 (ebrowse-switch-member-buffer-to-derived-class):
4597 * play/5x5.el (5x5-solver): Use cl-flet.
4598
6e9590e2
SM
4599 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4600 (cl--symbol-function): New macro.
4601 (cl--letf, cl--letf*): Use it.
4602
3fd56834
SM
4603 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4604 Strip "toggle-" if any.
4605
35ff222c
GM
46062012-06-27 Glenn Morris <rgm@gnu.org>
4607
1ba6038a
GM
4608 * info.el (Info-default-directory-list): Move here from paths.el.
4609 * paths.el: Remove file, which is now empty.
4610 * loadup.el: No longer load "paths".
4611
0ea0e51b
GM
4612 * custom.el (custom-initialize-delay): Doc fix.
4613
35ff222c
GM
4614 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4615 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4616 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4617 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4618 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4619 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4620 * eshell/eshell.el (eshell-defgroup): Remove alias.
4621
c89926a5
CY
46222012-06-27 Chong Yidong <cyd@gnu.org>
4623
4624 * help.el (help-enable-auto-load): New variable.
4625
4626 * help-fns.el (help-fns--autoloaded-p): New function.
4627 (describe-function-1): Refer to a function as "autoloaded" if it
4628 was autoloaded at any time in the past. Perform autoloading if
4629 help-enable-auto-load is non-nil.
4630
cc06e7e7
EZ
46312012-06-26 Eli Zaretskii <eliz@gnu.org>
4632
4633 * makefile.w32-in (compile, compile-always): Depend on
4634 update-subdirs, not on subdirs.el. Otherwise, several different
4635 sub-targets of 'bootstrap' running in parallel could
4636 simultaneously write to subdirs.el, producing a garbled file.
4637
d2c32364
SS
46382012-06-26 Sam Steingold <sds@gnu.org>
4639
4640 * files.el (file-name-base): New convenience function.
0d14cc21
GM
4641 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4642 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4643 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4644 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4645 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
4646 * textmodes/tex-mode.el: Use it.
4647 Did not touch cedet and org because they are maintained elsewhere.
4648
5cf983b2
MR
46492012-06-26 Martin Rudalics <rudalics@gmx.at>
4650
4651 * calendar/calendar.el (calendar-exit): Don't try to delete or
4652 iconify last frame. See:
4653 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4654
8c4f2952
JD
46552012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4656
4657 * server.el (server-process-filter): Remember dir in the
4658 process's `server-client-directory' properties.
4659
772b2e2c
CY
46602012-06-24 Chong Yidong <cyd@gnu.org>
4661
4662 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4663 non-tag text.
4664
711b11e1
JB
46652012-06-23 Juanma Barranquero <lekktu@gmail.com>
4666
4667 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4668
dc5d230c
SM
46692012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4670
4671 * help-fns.el (describe-variable): Don't croak when doc is not found.
4672 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4673 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4674 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4675 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4676 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4677 ((lambda ..) ..).
4678 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4679
136e1c1d
CY
46802012-06-23 Chong Yidong <cyd@gnu.org>
4681
e8c1cabf
CY
4682 * info.el (Info-mouse-follow-link): Accept symbol values of
4683 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
4684 (Info-fontify-node): Use Info-link-keymap for all navigation
4685 buttons, with link-args property to perform the desired action.
4686 (Info-link-keymap): Doc fix.
4687 (Info-next-link-keymap, Info-prev-link-keymap)
4688 (Info-up-link-keymap): Delete now-unused keymaps.
4689
0e9e6c6a
CY
46902012-06-23 Chong Yidong <cyd@gnu.org>
4691
05e89fea
CY
4692 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4693
0e9e6c6a
CY
4694 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4695 system abbrevs.
4696
4697 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4698
e33c6771
SM
46992012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4700
b68581e2
SM
4701 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4702 (bug#11719).
4703
e33c6771
SM
4704 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4705 the requote function doesn't work properly (bug#11714).
4706
7117e105
GM
47072012-06-23 Glenn Morris <rgm@gnu.org>
4708
4709 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4710
36cec983
SM
47112012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4712
4713 Further GV/CL cleanups.
4714 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4715 gv-expander.
4716 (gv--defun-declaration): New function.
4717 (defun-declarations-alist): Use it.
4718 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4719 (gv-place): Autoload.
4720 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4721 original definition of dotimes and dolist.
4722 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4723 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4724 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4725 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4726 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4727 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4728 to the function's definition.
4729 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4730 * window.el:
4731 * files.el:
4732 * faces.el:
4733 * env.el: Don't use CL.
4734
d35af63c
PE
47352012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4736
4737 Support higher-resolution time stamps (Bug#9000).
4738
4739 * calendar/time-date.el (with-decoded-time-value): New arg
4740 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4741 (encode-time-value): New optional arg PICO. New type 3.
4742 (time-to-seconds) [!float-time]: Support the new picoseconds
4743 component if it's used.
4744 (seconds-to-time, time-subtract, time-add):
4745 Support ps-resolution time stamps as well.
4746
4747 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4748 (timerp): Timer vectors now have length 9, not 8.
4749 (timer--time): Support new-style (4-part) time stamps.
4750 (timer-next-integral-multiple-of-time): Time stamps now have
4751 picosecond resolution, so take a bit more care about rounding.
4752 (timer-relative-time, timer-inc-time): New optional arg psecs.
4753 (timer-set-time-with-usecs): Set psecs to 0.
4754 (timer--activate): Check psecs component, too.
4755
4756 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4757
ac77b21a
SM
47582012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4759
f143bfe3
SM
4760 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4761 Move the non-essential binding to the post/pre-command-hook where it is
4762 more obviously correct.
4763
ac77b21a
SM
4764 * subr.el (read-passwd): Don't use a history at all.
4765 * savehist.el (savehist-save): Remove password saved accidentally
4766 because of the above bug.
4767
76386c5a
BG
47682012-06-22 Bastien Guerry <bzg@gnu.org>
4769
4770 * files.el (toggle-read-only): Display a message telling whether
4771 the buffer is read-only or not (bug#11726).
4772
2ee3d7f0
SM
47732012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4774
4775 * emacs-lisp/gv.el: New file.
4776 * subr.el (push, pop): Extend to generalized variables.
4777 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4778 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4779 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4780 gv-define-simple-setter, and gv-define-expander.
4781 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4782 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4783 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4784 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4785 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4786 gv-letplace.
4787 (cl-defstruct): Don't define setf-method any more.
4788 * emacs-lisp/cl.el (flet): Don't autoload.
4789 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4790 (define-setf-expander, defsetf, define-modify-macro)
4791 (cl-struct-setf-expander): Move from cl-lib.el.
4792 * emacs-lisp/syntax.el:
4793 * emacs-lisp/ewoc.el:
4794 * emacs-lisp/smie.el:
4795 * emacs-lisp/cconv.el:
4796 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4797 (timer--time): Use gv-define-simple-setter.
4798 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4799 to avoid coding-system problems in subr.el. Adjust all users.
4800 (macroexp--maxsize, macroexp-small-p): New functions.
4801 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4802 * scroll-bar.el (scroll-bar-mode):
4803 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4804 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4805 * winner.el (winner-configuration, winner-make-point-alist)
4806 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4807 * files.el (locate-file-completion-table): Avoid list*.
4808
c5695d1d
CY
48092012-06-22 Chong Yidong <cyd@gnu.org>
4810
4811 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4812 (dired-create-files): Doc fix (Bug#11329).
4813 (dired-do-copy): Doc fix (Bug#11334).
4814 (dired-mark-read-string): Doc fix (Bug#11553).
4815
2ee3d7f0
SM
4816 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4817 Doc fix (Bug#11326).
c5695d1d
CY
4818 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4819 (dired-dwim-target): Doc fix.
4820
4821 * wdired.el (wdired-mode): Doc fix.
4822
89b5595a
GM
48232012-06-22 Glenn Morris <rgm@gnu.org>
4824
575db3f1
GM
4825 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4826 (pcmpl-rpm-cache-stamp-file): New constant.
4827 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4828 (pcmpl-rpm-packages): Optionally cache list of packages.
4829
a4c8dd51
GM
4830 * pcmpl-rpm.el (pcmpl-rpm): New group.
4831 (pcmpl-rpm-query-options): New option.
4832 (pcmpl-rpm-packages): No need to inline it.
4833 Use pcmpl-rpm-query-options.
4834
89b5595a
GM
4835 * calendar/calendar.el (calendar-in-read-only-buffer):
4836 Avoid some needless mode changes.
4837
e76f0800
CY
48382012-06-21 Chong Yidong <cyd@gnu.org>
4839
4840 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4841 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 4842 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 4843
297a8f1d
CY
48442012-06-20 Chong Yidong <cyd@gnu.org>
4845
4846 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4847
d34c18b1
DR
48482012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
4849
4850 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4851 (bug#11201).
4852
32f7f28e
CY
48532012-06-20 Chong Yidong <cyd@gnu.org>
4854
4855 * term.el (term-window-width): Handle the case of a missing right
4856 fringe (Bug#8837).
4857 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
4858 (term-mode): Use define-derived-mode. Minor cleanups.
4859 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
4860 (term-move-columns, term-insert-char, term-emulate-terminal)
4861 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 4862
493c6688
MA
48632012-06-20 Michael Albinus <michael.albinus@gmx.de>
4864
d34c18b1
DR
4865 * net/ange-ftp.el (ange-ftp-get-passwd):
4866 Bind `enable-recursive-minibuffers'.
493c6688
MA
4867 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4868
3f06ecf4
DR
48692012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4870
4871 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4872
68f12411
GM
48732012-06-19 Glenn Morris <rgm@gnu.org>
4874
4875 * progmodes/python.el (python-mode): Derive from prog-mode.
4876
b3820318
KG
48772012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4878
4879 * emulation/edt.el (edt-default-menu-bar-update-buffers)
4880 (edt-user-menu-bar-update-buffers): New functions.
4881 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4882
c6bf3022
CY
48832012-06-19 Chong Yidong <cyd@gnu.org>
4884
4885 * subr.el (with-selected-window): Preserve the selected window's
4886 terminal's top-frame (Bug#4702).
4887
4888 * window.el (save-selected-window): Likewise.
4889
25f09295
SM
48902012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4891
4892 * progmodes/python.el (python-rx-constituents): Move backquote.
4893 (python-skeleton-define, python-define-auxiliary-skeleton):
4894 Use `declare'.
4895
6b11952a
MA
48962012-06-18 Michael Albinus <michael.albinus@gmx.de>
4897
4898 * minibuffer.el (read-file-name-default): Revert the patch from
4899 2012-06-17.
4900
ee4b1330
SM
49012012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4902
4903 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4904 (pcase--u1, pcase--q1): Don't use apply-partially.
4905
35647f79
GM
49062012-06-18 Glenn Morris <rgm@gnu.org>
4907
4908 * progmodes/python.el (python-proc, python-buffer)
4909 (python-send-receive, python-send-string): Fix obsolete versions.
4910
24b0cff0
MR
49112012-06-18 Martin Rudalics <rudalics@gmx.at>
4912
4913 * window.el (special-display-p): Completely remove stringp
4914 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4915
29855149
MA
49162012-06-17 Michael Albinus <michael.albinus@gmx.de>
4917
4918 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4919
4920 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4921
4922 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4923 * net/tramp-sh.el (tramp-maybe-open-connection):
4924 Throw if `non-essential' is non-nil.
4925
07463363
MR
49262012-06-17 Martin Rudalics <rudalics@gmx.at>
4927
4928 * window.el (special-display-p): Signal an error if BUFFER-NAME
4929 is not a string (Bug#11713).
4930
48d1354e
PE
49312012-06-17 Paul Eggert <eggert@cs.ucla.edu>
4932
4933 * progmodes/python.el (python-info-beginning-of-backslash):
4934 Rename from python-info-beginning-of-backlash, as a spelling fix.
4935
eb4a8a9a
CY
49362012-06-17 Chong Yidong <cyd@gnu.org>
4937
4938 * term.el (term-emulate-terminal): If term-check-size is called,
4939 move point to the process mark without resetting point (Bug#4635).
4940
ddfbf826 49412012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
4942
4943 * international/mule-cmds.el (mule-menu-keymap)
4944 (set-language-environment, set-locale-environment): Doc tweaks.
4945
9b0e3eba
AA
49462012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
4947
4948 * cus-face.el (custom-face-attributes): Add wave-style underline
4949 attribute.
4950 * faces.el (set-face-attribute): Update docstring to describe
4951 wave-style underline attribute.
4952
771e3eae
CY
49532012-06-16 Chong Yidong <cyd@gnu.org>
4954
4955 * term/xterm.el (terminal-init-xterm): Discard input before
4956 querying background mode (Bug#10959).
4957
7ae2ea10
SM
49582012-06-16 Stefan Merten <smerten@oekonux.de>
4959
4960 * textmodes/rst.el: Added and corrected some comments.
4961 (rst-re-alist-def): Improve symbol syntax.
4962 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
4963 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4964 (rst-official-version, rst-official-cvs-rev): Update version
4965 information.
7ae2ea10 4966
b6974efa
JB
49672012-06-15 Juanma Barranquero <lekktu@gmail.com>
4968
4969 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4970 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4971
8826d473
GM
49722012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4973
4974 * progmodes/python.el: New python.el merge.
4975 (python-guess-indent): Obsolete var.
4976 (python-indent-guess-indent-offset): New defcustom.
4977 (python-indent): Obsolete var.
4978 (python-indent-offset): New defcustom.
4979 (python-python-command, python-jython-command): Delete var.
4980 (python-shell-interpreter): New defcustom.
4981 (python-pdbtrack-do-tracking-p): Delete var.
4982 (python-pdbtrack-activate): New defcustom.
4983 (python-use-skeletons): Obsolete var.
4984 (python-skeleton-autoinsert): New defcustom.
4985 (inferior-python-filter-regexp, python-continuation-offset)
4986 (python-honour-comment-indentation, python-indent-string-contents)
4987 (python-jython-packages, python-mode-hook)
4988 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4989 (python-shell-prompt-alist)
4990 (python-source-modes): Delete defcustoms.
4991 (python-check-buffer-name, python-eldoc-setup-code)
4992 (python-eldoc-string-code, python-ffap-setup-code)
4993 (python-ffap-string-code, python-fill-comment-function)
4994 (python-fill-decorator-function, python-fill-paren-function)
4995 (python-fill-string-function, python-imenu-include-defun-type)
4996 (python-imenu-make-tree, python-imenu-subtree-root-label)
4997 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4998 (python-shell-compilation-regexp-alist)
4999 (python-shell-completion-module-string-code)
5000 (python-shell-completion-pdb-string-code)
5001 (python-shell-completion-setup-code)
5002 (python-shell-completion-string-code)
5003 (python-shell-enable-font-lock, python-shell-exec-path)
5004 (python-shell-extra-pythonpaths)
5005 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5006 (python-shell-process-environment)
5007 (python-shell-prompt-block-regexp)
5008 (python-shell-prompt-output-regexp)
5009 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5010 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5011 (python-shell-virtualenv-path): New defcustoms.
5012 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5013 (inferior-python-mode-syntax-table, python--prompt-regexp)
5014 (python-buffer, python-command python-python-command)
5015 (python-default-template, python-imports, python-indent-index)
5016 (python-indent-list, python-indent-list-length)
5017 (python-mode-running, python-pdbtrack-is-tracking-p)
5018 (python-preoutput-continuation, python-preoutput-leftover)
5019 (python-preoutput-result, python-preoutput-skip-next-prompt)
5020 (python-prev-dir/file, python-recursing)
5021 (python-saved-check-command, python-version-checked)
5022 (python-which-func-length-limit)
5023 (view-return-to-alist): Delete vars.
5024 (python-check-custom-command, python-dotty-syntax-table)
5025 (python-imenu-index-alist, python-indent-current-level)
5026 (python-indent-dedenters, python-indent-levels)
5027 (python-nav-beginning-of-defun-regexp)
5028 (python-nav-list-defun-positions-cache)
5029 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5030 (python-shell-internal-buffer)
5031 (python-skeleton-available): New vars.
5032 (def-python-skeleton): Delete macro.
5033 (python-skeleton-define): New macro.
5034 (python-define-auxiliary-skeleton, python-rx): New macros.
5035 (python-insert-class): Delete command.
5036 (python-skeleton-class): New command.
5037 (python-insert-def): Delete command.
5038 (python-skeleton-def): New command.
5039 (python-insert-for): Delete command.
5040 (python-skeleton-for): New command.
5041 (python-insert-if): Delete command.
5042 (python-skeleton-if): New command.
5043 (python-insert-try/except, python-insert-try/finally): Delete commands.
5044 (python-skeleton-try): New command.
5045 (python-insert-while): Delete command.
5046 (python-skeleton-while): New command.
5047 (python-backspace): Delete command.
5048 (python-indent-dedent-line-backspace): New command.
5049 (python-electric-colon): Delete command.
5050 (python-indent-electric-colon): New command.
5051 (python-guess-indent): Delete command.
5052 (python-indent-guess-indent-offset): New command.
5053 (python-shift-left): Delete command.
5054 (python-indent-shift-left): New command.
5055 (python-shift-right): Delete command.
5056 (python-indent-shift-right): New command.
5057 (python-find-function): Delete command.
5058 (python-nav-jump-to-defun): New command.
5059 (python-next-statement): Delete command.
5060 (python-nav-forward-sentence): New command.
5061 (python-previous-statement): Delete command.
5062 (python-nav-backward-sentence): New command.
5063 (python-fill-paragraph): Delete command.
5064 (python-fill-paragraph-function): New command.
5065 (python-send-buffer): Delete command.
5066 (python-shell-send-buffer): New command.
5067 (python-send-defun): Delete command.
5068 (python-shell-send-defun): New command.
5069 (python-send-region, python-send-region-and-go): Delete commands.
5070 (python-shell-send-region)
5071 (python-shell-switch-to-shell): New commands.
5072 (python-send-string): Delete command.
5073 (python-shell-send-string): New command.
5074 (python-switch-to-python): Delete command.
5075 (python-shell-switch-to-shell): New command.
5076 (python-describe-symbol): Delete command.
5077 (python-eldoc-at-point): New command.
5078 (python--set-prompt-regexp, python-args-to-list)
5079 (python-after-info-look, python-check-version)
5080 (python-check-comint-prompt, python-find-imports)
5081 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5082 (python-unload-function, python-expand-template)
5083 (python-maybe-jython, python-preoutput-filter)
5084 (python-pdbtrack-get-source-buffer)
5085 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5086 (python-pdbtrack-toggle-stack-tracking)
5087 (python-pdbtrack-track-stack-file, python-initial-text)
5088 (python-first-word, python-comment-line-p, python-send-command)
5089 (python-setup-brm, python-sentinel, python-set-proc)
5090 (python-skip-out, python-input-filter, python-outdent-p)
5091 (python-outline-level, python-backslash-continuation-line-p)
5092 (python-end-of-block, python-end-of-statement, python-mark-block)
5093 (python-beginning-of-block, python-beginning-of-statement)
5094 (python-blank-line-p, python-beginning-of-string)
5095 (python-open-block-statement-p): Delete functions.
5096 (python-indent-line, python-indent-line-1): Delete functions.
5097 (python-indent-line): New function.
5098 (python-indentation-levels): Delete function.
5099 (python-indent-calculate-levels): New function.
5100 (python-proc): Delete function.
5101 (python-shell-get-process): New function.
5102 (python-send-receive): Delete function.
5103 (python-shell-send-string-no-output): New function.
5104 (python-module-path): Delete function.
5105 (python-ffap-module-path): New function.
5106 (python-completion-at-point)
5107 (python-symbol-completions): Delete functions.
5108 (python-completion-complete-at-point): New function.
5109 (python-load-file): Delete function.
5110 (python-shell-send-file): New function.
5111 (python-calculate-indentation): Delete function.
5112 (python-indent-calculate-indentation): New function.
5113 (python-skip-comments/blanks): Delete function.
5114 (python-util-forward-comment): New function.
5115 (python-continuation-line-p): Delete function.
5116 (python-info-continuation-line-p): New function.
5117 (python-which-func, python-current-defun): Delete function.
5118 (python-info-current-defun): New function.
5119 (python-beginning-of-defun): Delete function.
5120 (python-nav-beginning-of-defun): New function.
5121 (python-close-block-statement-p)
5122 (python-block-end-p): Delete function.
5123 (python-info-closing-block): New function.
5124 (python-comint-output-filter-function)
5125 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5126 (python-fill-comment, python-fill-decorator, python-fill-paren)
5127 (python-fill-string, python-imenu-make-element-tree)
5128 (python-imenu-make-tree, python-imenu-tree-assoc)
5129 (python-indent-context, python-indent-dedent-line)
5130 (python-indent-line-function)
5131 (python-indent-post-self-insert-function)
5132 (python-indent-toggle-levels)
5133 (python-info-assignment-continuation-line-p)
5134 (python-info-beginning-of-backlash)
5135 (python-info-block-continuation-line-p)
5136 (python-info-closing-block-message)
5137 (python-info-line-ends-backslash-p)
5138 (python-info-looking-at-beginning-of-defun)
5139 (python-info-ppss-context, python-info-ppss-context-type)
5140 (python-nav-list-defun-positions, python-nav-read-defun)
5141 (python-nav-sentence-end, python-nav-sentence-start)
5142 (python-pdbtrack-comint-output-filter-function)
5143 (python-pdbtrack-set-tracked-buffer)
5144 (python-shell-calculate-exec-path)
5145 (python-shell-calculate-process-environment)
5146 (python-shell-completion--do-completion-at-point)
5147 (python-shell-completion--get-completions)
5148 (python-shell-completion-complete-at-point)
5149 (python-shell-completion-complete-or-indent)
5150 (python-shell-get-or-create-process)
5151 (python-shell-get-process-name)
5152 (python-shell-internal-get-or-create-process)
5153 (python-shell-internal-get-process-name)
5154 (python-shell-internal-send-string, python-shell-make-comint)
5155 (python-shell-parse-command, python-shell-send-setup-code)
5156 (python-skeleton-add-menu-items)
5157 (python-util-clone-local-variables, python-util-position)
5158 (run-python-internal, python-indentation-levels)
5159 (python-nav-beginning-of-defun)
5160 (python-completion-complete-at-point): New functions.
5161 (run-python): Change arguments. New API requirements.
5162
4302f5ba
SM
51632012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5164
f38ea36d
SM
5165 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5166 (bug#11649).
5167
5168 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5169 (macroexp--expand-all): Use it.
5170
4302f5ba
SM
5171 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5172 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5173 Use `cl-function' instead.
5174
33377562
JB
51752012-06-14 Juanma Barranquero <lekktu@gmail.com>
5176
5177 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5178 Suggested by Stefan Monnier while discussing bug#11657.
5179
54c5ba1a
SS
51802012-06-14 Sam Steingold <sds@gnu.org>
5181
5182 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5183
f9f1b1fe
AS
51842012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5185
5186 * play/doctor.el (doctor-doc): Remove parameter and use
5187 doctor-sent instead of sent.
5188 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5189
a81068ba
SM
51902012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5191
5a315f9c
SM
5192 * files.el: Require cl-lib.
5193 (file-name-non-special): Replace case -> cl-case.
5194
5195 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5196
a81068ba
SM
5197 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5198 mapping from #' to function*.
5199
8cca9703
CY
52002012-06-13 Chong Yidong <cyd@gnu.org>
5201
5202 * mouse.el (mouse-drag-track): Do not set the mark if the user
5203 releases the mouse without selecting anything (Bug#11588).
5204
a12ac9d7
SM
52052012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5206
ccf1dc18
SM
5207 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5208 as well (bug#11646).
5209
ef62b23d
SM
5210 * loadup.el: Count byte-code functions as well.
5211
c4c8444a
SM
5212 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5213 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5214
a12ac9d7
SM
5215 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5216 (bug#11649). Add cl-defun and cl-defmacro.
5217
87e6e64f
DA
52182012-06-13 Drew Adams <drew.adams@oracle.com>
5219
5220 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5221 Fix last change.
5222
682cefaf
MA
52232012-06-13 Michael Albinus <michael.albinus@gmx.de>
5224
5225 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5226 Otherwise, it blocks in batch mode.
5227
773e1f08
JB
52282012-06-13 Juanma Barranquero <lekktu@gmail.com>
5229
5230 * help-mode.el (bookmark-make-record-default): Declare.
5231
60057926
CY
52322012-06-13 Chong Yidong <cyd@gnu.org>
5233
5234 * emacs-lisp/package.el (list-packages): Compute a list of
5235 packages that are newly-available since the last list-packages
5236 invocation.
5237 (package-menu--new-package-list): New var.
5238 (package-menu--generate, package-menu--print-info)
5239 (package-menu--status-predicate, package-menu-mark-install):
5240 Handle new status label "new".
5241
ad4d226c
SM
52422012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5243
5244 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5245 conversion to backquotes.
5246
f1a4e679
CY
52472012-06-12 Chong Yidong <cyd@gnu.org>
5248
5249 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5250 Rename from gud-inhibit-global-bindings.
5251
5252 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5253
5254 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5255 hook from nxml-glyph-set-hook.
5256
5257 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5258 declaration.
5259
5260 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5261
5262 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5263 Convert to defcustom.
5264
0c9e42b5
DA
52652012-06-12 Drew Adams <drew.adams@oracle.com>
5266
5267 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5268 New functions.
5269 (help-mode): Use them.
5270
09e06855
GM
52712012-06-11 Glenn Morris <rgm@gnu.org>
5272
5273 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5274 Use preprocessor face for directives.
5275 (fortran-directive-re): Doc fix.
5276
71adb94b
SM
52772012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5278
2eb87922
SM
5279 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5280 conversion to backquotes (bug#11652).
5281
71adb94b
SM
5282 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5283 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5284 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5285 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5286 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5287 (cl-ninth, cl-tenth): Mark them as inlinable.
5288 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5289 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5290 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5291 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5292 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5293 (cl-list*, cl-adjoin): Don't put an autoload manually.
5294 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5295 (cl--compiler-macro-list*): Add autoload cookie.
5296 (cl--compiler-macro-cXXr): New function.
2eb87922 5297
71adb94b
SM
5298 * help-fns.el (help-fns--compiler-macro): New function extracted from
5299 describe-function-1; follow aliases and use `compiler-macro' property.
5300 (describe-function-1): Use it.
5301
a6674402
CY
53022012-06-11 Chong Yidong <cyd@gnu.org>
5303
5304 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5305 is uninstalled, if imagemagick is installed.
5306
bb3faf5b
SM
53072012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5308
5309 * emacs-lisp/cl-lib.el: Use lexical-binding.
5310 (cl-map-extents, cl-maclisp-member): Remove.
5311 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5312 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5313 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5314 * emacs-lisp/cl-extra.el: Use lexical-binding.
5315 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5316 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5317 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5318 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5319 * emacs-lisp/cl-seq.el: Use lexical-binding.
5320 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5321 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5322 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5323 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5324 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5325 CL's internals.
5326
2fe4b125
MA
53272012-06-11 Michael Albinus <michael.albinus@gmx.de>
5328
5329 Sync with Tramp 2.2.6-pre.
5330
5331 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5332 `print-length' and `print-level' to nil, in order to avoid
5333 truncation. Reported by Christopher Schmidt
5334 <christopher@ristopher.com>.
5335
5336 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5337
5338 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5339 New defmacro.
5340 (tramp-compat-copy-directory): Add optional argument
5341 COPY-CONTENTS. It is not handled yet.
5342
5343 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5344 (tramp-ftp-file-name-p): Simplify.
5345
5346 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5347 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5348 connection vector.
5349
5350 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5351 (tramp-methods): Do not use `tramp-password-end-of-line'.
5352 (tramp-completion-function-alist-putty): Handle UNIX case.
5353 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5354 (tramp-do-file-attributes-with-stat)
5355 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5356 gid as real numbers. They could run out of integer range on cygwin.
5357 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5358 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
5359 (tramp-open-connection-setup-interactive-shell):
5360 Use `tramp-cleanup'. Move check for busyboxes ...
5361 (tramp-find-shell): ... here. Simplify implementation.
5362 Set "remote-shell" property also for alternative shells.
5363 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5364 If failing, a regular file would be written otherwise.
5365 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
5366 (tramp-find-inline-encoding): Cache the coding commands in the
5367 process cache. Apply test command on the remote side, if defined.
5368 (tramp-find-inline-compress): Cache the compress commands in the
5369 process cache.
5370 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5371 when requested. Handle hops.
5372 (tramp-current-connection): New defvar.
87e6e64f
DA
5373 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5374 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 5375 Handle user interrupt. (Bug#10187)
87e6e64f
DA
5376 (tramp-get-inline-compress, tramp-get-inline-coding):
5377 Read connection properties from the process cache.
2fe4b125
MA
5378
5379 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
5380 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5381 New defconsts.
2fe4b125
MA
5382 (tramp-smb-prompt): Extend for powershell prompt.
5383 (tramp-smb-file-name-handler-alist): Add handlers for
5384 `process-file', `shell-command' and `start-file-process'.
5385 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5386 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5387 (tramp-smb-file-name-p): Simplify.
5388 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5389 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5390 (tramp-smb-shell-quote-argument): New defuns.
5391 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5392 Implement using "tar". By this, time-stamps are preserved.
5393 (tramp-smb-handle-copy-file): Handle also the case of directories.
5394 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
5395 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5396 Use `tramp-get-connection-buffer').
2fe4b125
MA
5397 (tramp-smb-handle-rename-file): Use "rename", when source and
5398 target are on the same share.
87e6e64f
DA
5399 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5400 Use `tramp-smb-server-version'.
2fe4b125
MA
5401 (tramp-smb-wait-for-output): Remove prompt.
5402
5403 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
5404 (tramp-methods, tramp-rsh-end-of-line):
5405 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
5406 (tramp-save-ad-hoc-proxies): New defcustom.
5407 (tramp-completion-function-alist): Adapt docstring.
5408 (tramp-default-password-end-of-line): Remove defcustom.
5409 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5410 (tramp-user-regexp, tramp-file-name-regexp-unified)
5411 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5412 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5413 (tramp-remote-file-name-spec-regexp): New defconst.
5414 (tramp-file-name-structure): Extend structure for hops.
5415 (tramp-get-method-parameter): Move up.
5416 (tramp-file-name-p, tramp-dissect-file-name)
5417 (with-parsed-tramp-file-name): Handle hops.
5418 (tramp-file-name-hop): New defun.
5419 (tramp-make-tramp-file-name): New optional arg HOP.
5420 (tramp-message-show-progress-reporter-message): New defvar.
5421 (tramp-with-progress-reporter): Use it. We cannot use
5422 `tramp-message-show-message' here, because this suppresses also
5423 error buffers.
5424 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
5425 `tramp-message-show-message' is nil.
5426 Use `tramp-get-connection-buffer'.
2fe4b125
MA
5427 (tramp-cleanup): New defun.
5428 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5429 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5430 an error unchanged.
5431 (tramp-completion-handle-file-name-all-completions): Handle hops.
5432 Fix an error when called from ido.
5433 (tramp-completion-dissect-file-name): Use better local variable
5434 name. Add hop to the vector.
5435 (tramp-handle-insert-file-contents): Use progress-reporter for the
5436 whole scenario.
5437 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5438 to `t'.
5439 (tramp-check-for-regexp): Simplify search.
5440 (tramp-enter-password): Remove it. Move implementation ...
5441 (tramp-action-password): ... here.
5442 (tramp-mode-string-to-int, tramp-local-host-p)
5443 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
5444 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5445 Set tramp-autoload cookie.
2fe4b125
MA
5446
5447 * net/trampver.el: Update release number.
5448
54492012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5450 Michael Albinus <michael.albinus@gmx.de>
5451
5452 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5453 (tramp-parse-group, tramp-parse-file)
5454 (tramp-parse-shostkeys-sknownhosts): New defuns.
5455 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5456 (tramp-parse-shosts-group, tramp-parse-sconfig)
5457 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5458 (tramp-parse-sknownhosts, tramp-parse-hosts)
5459 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5460 Use them.
5461 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5462 (tramp-parse-putty-group): Don't narrow.
5463 (tramp-parse-putty): Make a loop.
5464 (tramp-file-name-handler): Catch the `suppress' signal.
5465
72834e10
CY
54662012-06-11 Chong Yidong <cyd@gnu.org>
5467
5468 * image.el (imagemagick-register-types): Put the ImageMagick entry
5469 at the end of image-type-file-name-regexps.
5470
a4712e11
JB
54712012-06-11 Johan Bockgård <bojohan@gnu.org>
5472
5473 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5474 (pcase, pcase-let*, pcase-dolist): Use them.
5475
82ad98e3
SM
54762012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5477
5478 * emacs-lisp/pcase.el (pcase--let*): New function.
5479 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5480 (pcase--expand): Use macroexp-let².
5481
f80efb86
SM
54822012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5483
5484 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5485 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5486 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5487 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5488 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5489 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5490
31ca4639 54912012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 5492
31ca4639
CY
5493 * mail/rmail.el (rmail-yank-current-message): Leave point at
5494 correct position. (Bug#11660)
94f0aa34 5495
31ca4639 54962012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 5497
31ca4639 5498 * allout-widgets.el: Fix code header.
9e1b8ec4 5499
31ca4639 55002012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 5501
f80efb86
SM
5502 * cus-edit.el (customize-changed-options-previous-release):
5503 Bump to 24.1.
31ca4639 5504
642b6d30
AS
55052012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5506
5507 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5508
4f5d2ba1
CY
55092012-06-09 Chong Yidong <cyd@gnu.org>
5510
5511 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5512
e75852fd
MR
55132012-06-09 Martin Rudalics <rudalics@gmx.at>
5514
5515 * window.el (special-display-popup-frame): Don't use
5516 window--display-buffer (Bug#11651).
5517
1e48e282
EZ
55182012-06-09 Eli Zaretskii <eliz@gnu.org>
5519
8a26b487
EZ
5520 Fix parallel builds: make sure loaddefs.el is not being written
5521 while Lisp files are compiled.
5522 (compile): Don't depend on 'mh-autoloads'.
5523 (compile-CMD, compile-SH): Depend on 'autoloads'.
5524 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5525
1e48e282
EZ
5526 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5527
6175e34b
CY
55282012-06-09 Chong Yidong <cyd@gnu.org>
5529
5530 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5531 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5532 Doc fixes (Bug#11225).
5533
d9857e53
SM
55342012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5535
5536 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5537 a function if there's a clear indication that it has a compiler-macro.
5538 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5539 (macro-declarations-alist): Add arglist to declaration functions.
5540 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5541 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5542 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5543 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5544 Also add autoload to find the compiler macro.
5545 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5546 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5547 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5548 (cl--compiler-macro-get): New functions, replacing calls to
5549 cl-define-compiler-macro.
5550 (cl-typep) [compiler-macro]: Use macroexp-let².
5551
f81298f8 55522012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
5553
5554 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5555 string properly, fixes Bug#11473.
5556
4b56d0fe
CY
55572012-06-08 Chong Yidong <cyd@gnu.org>
5558
5559 * faces.el (set-face-attribute): Doc fix.
5560 (modify-face): Don't use :bold and :italic.
5561 (error, warning, success): Tweak definitions.
5562
5563 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5564 (custom-modified, custom-set, custom-changed, custom-themed)
5565 (custom-saved, custom-button, custom-button-mouse)
5566 (custom-button-pressed, custom-state, custom-comment-tag)
5567 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5568 (custom-group-subtitle): Use new-style face specs.
5569 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5570 (custom-set-face, custom-changed-face, custom-saved-face)
5571 (custom-button-face, custom-button-pressed-face)
5572 (custom-documentation-face, custom-state-face)
5573 (custom-comment-face, custom-comment-tag-face)
5574 (custom-variable-tag-face, custom-variable-button-face)
5575 (custom-face-tag-face, custom-group-tag-face-1)
5576 (custom-group-tag-face): Remove obsolete face alias.
5577
5578 * epa.el (epa-validity-high, epa-validity-medium)
5579 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5580 (epa-field-name, epa-field-body):
5581 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5582 (font-lock-keyword-face, font-lock-builtin-face)
5583 (font-lock-function-name-face, font-lock-variable-name-face)
5584 (font-lock-type-face, font-lock-constant-face):
5585 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5586 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5587 * speedbar.el (speedbar-button-face, speedbar-file-face)
5588 (speedbar-directory-face, speedbar-tag-face)
5589 (speedbar-selected-face, speedbar-highlight-face)
5590 (speedbar-separator-face):
5591 * whitespace.el (whitespace-newline, whitespace-space)
5592 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5593 (whitespace-line, whitespace-space-before-tab)
5594 (whitespace-space-after-tab, whitespace-indentation)
5595 (whitespace-empty):
5596 * emulation/cua-base.el (cua-global-mark):
5597 * eshell/em-prompt.el (eshell-prompt):
5598 * net/newst-plainview.el (newsticker-new-item-face)
5599 (newsticker-old-item-face, newsticker-immortal-item-face)
5600 (newsticker-obsolete-item-face, newsticker-date-face)
5601 (newsticker-statistics-face, newsticker-default-face):
5602 * net/newst-reader.el (newsticker-feed-face)
5603 (newsticker-extra-face, newsticker-enclosure-face):
5604 * net/newst-treeview.el (newsticker-treeview-face)
5605 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5606 (newsticker-treeview-immortal-face)
5607 (newsticker-treeview-obsolete-face)
5608 (newsticker-treeview-selection-face):
5609 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5610 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5611 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5612 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5613 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5614 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5615 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5616 (mpuz-text):
5617 * progmodes/vera-mode.el (vera-font-lock-number)
5618 (vera-font-lock-function, vera-font-lock-interface):
5619 * textmodes/table.el (table-cell): Use new-style face specs, and
5620 don't use the old :bold and :italic attributes.
5621
5622 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5623 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5624 (ebrowse-member-class, ebrowse-progress): Likewise.
5625 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5626 (ebrowse-file-name-face, ebrowse-default-face)
5627 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5628 (ebrowse-progress-face): Remove obsolete faces.
5629
5630 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5631 Inherit from error and warning faces respectively.
5632
5633 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5634 Likewise.
f80efb86
SM
5635 (flyspell-incorrect-face, flyspell-duplicate-face):
5636 Remove obsolete aliases.
4b56d0fe 5637
03310646
MA
56382012-06-08 Michael Albinus <michael.albinus@gmx.de>
5639
5640 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5641 Avoid infloop.
5642
513749ee
SM
56432012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5644
5645 * startup.el (argv, argi): Make lexically scoped.
5646 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5647 * emacs-lisp/cl-macs.el: Use lexical-binding.
5648 Rename cl-bind-* to cl--bind-*.
5649 * files.el: Don't require `cl' since it doesn't use it.
5650 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5651
595ef4ad
JB
56522012-06-08 Juanma Barranquero <lekktu@gmail.com>
5653
5654 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5655 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5656 instead of calling external sort utility.
5657 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5658
e9f66fcb
EZ
56592012-06-08 Eli Zaretskii <eliz@gnu.org>
5660
5661 * descr-text.el (describe-char): Mention how to insert the
5662 character, if the current input method doesn't support it.
5663 See the discussion in this thread for the details:
5664 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5665
3d10db47
SS
56662012-06-08 Sam Steingold <sds@gnu.org>
5667
5668 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5669 XF86Back to previous-buffer.
5670 (minibuffer-local-map): Bind them to next-history-element and
5671 previous-history-element respectively.
5672 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5673 help-go-back respectively.
5674 * info.el (Info-mode-map): Bind them to Info-history-forward and
5675 Info-history-back respectively.
5676 These are the keys next to Up on the ThinkPad keyboard.
5677
de7e2b36
SM
56782012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5679
5680 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5681 * emacs-lisp/cl-macs.el: Provide itself.
5682 (cl--labels-convert-cache): New var.
5683 (cl--labels-convert): New function.
5684 (cl-flet, cl-labels): New implementation with new semantics, relying on
5685 lexical-binding.
5686 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5687 (cl-closure-vars, cl--function-convert-cache)
5688 (cl--function-convert): Move from cl-macs.el.
5689 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5690 rename by removing the "cl-" prefix.
5691 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5692
6fa6c4ae
SM
56932012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5694
5695 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5696 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5697 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5698 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5699 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5700 (cl-hash-table-count): Add old compatibility aliases.
5701
5702 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5703 Use macroexpand-all-environment instead.
5704 (cl--old-macroexpand): New var.
5705 (cl--sm-macroexpand): New function.
5706 (cl-symbol-macrolet): Use it during macro expansion.
5707 (cl--function-convert-cache): New var.
5708 (cl--function-convert): New function, extracted from
5709 cl-macroexpand-all.
5710 (cl-lexical-let): Use it.
5711
5712 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5713 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5714 (cl-member): Remove old alias.
5715
5716 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5717 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5718 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5719 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5720 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5721 (cl-macroexpand-cmacs): Remove var.
5722 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5723 Use macroexpand-all instead.
5724
4dd1c416
SM
57252012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5726
5727 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5728 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5729 (macroexp-copyable-p): New functions and macros.
5730 * emacs-lisp/edebug.el (edebug-unwrap):
5731 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5732 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5733 (pcase--let*): Remove.
5734 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5735 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5736 macroexp-const-p instead.
5737 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5738
5739 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5740 instead of "cl-" for internal definitions. Use macroexp-const-p.
5741 (cl-old-bc-file-form): Remove var.
5742 (cl-const-exprs-p): Remove fun.
5743 (cl-labels, cl-macrolet): Use backquote.
5744 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5745 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5746 (cl-define-setf-expander): Rename from cl-define-setf-method.
5747 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5748
5749 * international/mule-cmds.el: Don't require CL.
5750 (view-hello-file): Don't use `letf'.
5751
ed8bd4d7
SM
57522012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5753
7287f2f3
SM
5754 * tmm.el (tmm-prompt): Use string-prefix-p.
5755 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5756 (tmm-add-prompt): Use minibuffer-completion-help.
5757 (tmm-delete-map): Remove.
5758
ed8bd4d7
SM
5759 * subr.el (kbd): Make it its own function.
5760
7b4cdbf4
SM
57612012-06-07 Stefan Merten <smerten@oekonux.de>
5762
5763 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5764 Silence compiler warnings. Fix versions.
ed8bd4d7 5765 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 5766 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 5767 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
5768 (rst-package-emacs-version-alist): Correct Emacs version to
5769 represent major merge with upstream.
ed8bd4d7 5770 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 5771
2b48d721
GM
57722012-06-06 Glenn Morris <rgm@gnu.org>
5773
5774 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5775 Only print environment variables if set.
5776
fa779ab0
SM
57772012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5778
5779 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5780 (macroexp--cons): Rename from maybe-cons.
5781 (macroexp--accumulate): Rename from macroexp-accumulate.
5782 (macroexp--all-forms): Rename from macroexpand-all-forms.
5783 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5784 (macroexp--expand-all): Rename from macroexpand-all-1.
5785
628299e0
SS
57862012-06-06 Sam Steingold <sds@gnu.org>
5787
5788 * calendar/calendar.el (calendar-in-read-only-buffer):
5789 Call `special-mode' to enable the standard read-only keybindings.
5790
b7bb5838
SM
57912012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5792
5793 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5794 with "loading" messages (bug#11635).
5795
dfb308ba
MA
57962012-06-06 Michael Albinus <michael.albinus@gmx.de>
5797
5798 * files.el (enable-remote-dir-locals): New option.
5799 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5800
0372ee92
MA
5801 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5802 Ensure, that the temp directory is local.
5803
5804 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5805 `temporary-file-directory'.
5806
eed0bb91
MA
5807 * progmodes/python.el (python-send-region): Ensure, that the
5808 temporary file is created also in the remote case.
5809
7a58f64d
GM
58102012-06-06 Glenn Morris <rgm@gnu.org>
5811
f7dd4e98
GM
5812 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5813 (vc-rcs-update-changelog): Use it.
5814
090bd7cb 5815 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 5816
7a58f64d
GM
5817 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5818 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5819 (vc-sccs-diff): Replace use of the external vcdiff script.
5820
daed4003
GM
58212012-06-05 Glenn Morris <rgm@gnu.org>
5822
5823 * ledit.el: Move to obsolete/.
5824
48c455c7
SS
58252012-06-05 Sam Steingold <sds@gnu.org>
5826
ed9265fc 5827 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
5828 patch (Bug#11140).
5829
57a7d507
SM
58302012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5831
090bd7cb 5832 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 5833
53aacf21
SM
5834 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5835 compiler-macro expansion.
5836
57a7d507
SM
5837 Add native compiler-macro support.
5838 * emacs-lisp/macroexp.el (macroexpand-all-1):
5839 Support compiler-macros directly. Properly follow aliases and apply
5840 the compiler macros more thoroughly.
5841 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5842 macroexpand now properly follows aliases.
5843 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5844 (cl-compiler-macroexpand): Use new prop.
5845 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5846
5847 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5848
51a5f9d8
MR
58492012-06-05 Martin Rudalics <rudalics@gmx.at>
5850
5851 * window.el (get-lru-window, get-mru-window, get-largest-window):
5852 New argument NOT-SELECTED to avoid picking the selected window.
5853 (window--display-buffer-1, window--display-buffer-2): Replace by
5854 new function window--display-buffer
5855 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
5856 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5857 Use window--display-buffer.
51a5f9d8
MR
5858 (display-buffer-use-some-window): Remove temporary dedication
5859 hack by calling get-lru-window and get-largest-window with
5860 NOT-SELECTED argument non-nil. Call window--display-buffer.
5861
08f9f738
GM
58622012-06-05 Glenn Morris <rgm@gnu.org>
5863
5864 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5865 Replace external vcdiff script.
5866
e364a2b7
SM
58672012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5868
5869 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5870
041df390
CY
58712012-06-04 Chong Yidong <cyd@gnu.org>
5872
e364a2b7
SM
5873 * image.el (imagemagick-types-inhibit): Revert last change.
5874 Add INFO and M.
47b36b94 5875 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 5876
7c1898a7
SM
58772012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5878
5879 * emacs-lisp/cl-lib.el: Rename from cl.el.
5880 * emacs-lisp/cl.el: New compatibility file.
5881 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5882 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5883 to obey the "cl-" prefix.
5884 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5885
0c3461de
GM
58862012-06-03 Glenn Morris <rgm@gnu.org>
5887
1e266c88
GM
5888 * emacs-lisp/authors.el (authors-aliases): Addition.
5889
0c3461de
GM
5890 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5891 Fix :version.
5892
d8a52e15
SM
58932012-06-03 Stefan Merten <smerten@oekonux.de>
5894
5895 * textmodes/rst.el: Add comments.
5896 (rst-transition, rst-adornment): New faces.
5897 (rst-adornment-faces-alist): Make default safe to reevaluate.
5898 Fixes
5899 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5900 Improve customization tags.
5901 (rst-define-level-faces): Clarify meaning.
5902
5205d6f6
CY
59032012-06-03 Chong Yidong <cyd@gnu.org>
5904
5905 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
5906 (compilation-mode-line-run, compilation-mode-line-exit):
5907 New faces.
5205d6f6
CY
5908 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5909
757ee657
JD
59102012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
5911
7c1898a7
SM
5912 * progmodes/which-func.el (which-func-update-ediff-windows):
5913 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 5914
5f2c76c6
CY
59152012-06-03 Chong Yidong <cyd@gnu.org>
5916
5917 * bindings.el: Remove explicit help text from format-mode-line.
5918 It is now supplied by mode-line-default-help-echo.
5919 (mode-line-front-space, mode-line-end-spaces)
5920 (mode-line-misc-info): New variables.
5921 (mode-line-modes, mode-line-position): Move the default value to
5922 the variable definition.
5923 (mode-line-default-help-echo): New defcustom.
383f7350
CY
5924 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5925 (mode-line-modified-help-echo): New functions.
5926 (mode-line-mule-info, mode-line-modified): Use them.
5927 (mode-line-eol-desc, propertized-buffer-identification):
5928 Consistency fixes for help text.
cbe46e5f
CY
5929 (mode-line-coding-system-map): Allow using mouse-3 to invoke
5930 set-buffer-file-coding-system (Bug#289).
5931 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 5932
f2d6a3df
SM
59332012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5934
5935 * simple.el (execute-extended-command): Set real-this-command
5936 (bug#11506).
5937
37269466
CY
59382012-06-02 Chong Yidong <cyd@gnu.org>
5939
5940 Remove incorrect uses of "modeline" in comments, docstrings, and
5941 function/variable names (Bug#10329).
5942
5943 * cus-edit.el (mode-line):
5944 * dframe.el (dframe-mouse-hscroll):
5945 * emacs-lisp/re-builder.el:
5946 * emacs-lisp/easy-mmode.el (define-minor-mode):
5947 * frame.el (set-frame-name):
5948 * help.el (lookup-minor-mode-from-indicator):
5949 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5950 * progmodes/cc-cmds.el (c-toggle-auto-newline)
5951 (c-toggle-hungry-state):
5952 * progmodes/antlr-mode.el (antlr-language-alist):
5953 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5954 * progmodes/vhdl-mode.el (vhdl-mode):
5955 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5956 * term/ns-win.el (ns-face-at-pos):
5957 * term/sup-mouse.el (sup-mouse-report):
5958 * textmodes/flyspell.el (flyspell-mode-line-string):
5959 * textmodes/ispell.el (ispell-highlight-face):
5960 * textmodes/reftex-global.el:
5961 * vc/vc-arch.el (vc-arch-mode-line-string):
5962 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5963 * vc/vc-git.el (vc-git-mode-line-string):
5964 * vc/vc-hooks.el (vc-display-status)
5965 (vc-default-mode-line-string):
5966 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5967
5968 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5969
5970 * dired.el (dired-sort-set-mode-line): Rename from
5971 dired-sort-set-modeline. All callers changed.
5972
5973 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5974 eshell-status-in-modeline.
5975
5976 * foldout.el (foldout-mode-line-string): Rename from
5977 foldout-modeline-string. All callers changed.
5978 (foldout-update-mode-line): Rename from foldout-update-modeline.
5979
5980 * subr.el (redraw-modeline): Make into obsolete alias.
5981
5982 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5983 timeclock-modeline-display. Make old name an alias.
5984 (timeclock-update-mode-line): Likewise. All callers changed.
5985 (timeclock-mode-line-display): No need to check before using
5986 add-hook.
5987 (timeclock-relative, timeclock-day-over-hook)
5988 (timeclock-use-elapsed, timeclock-mode-string)
5989 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5990
5991 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5992 crisp-mode-modeline-string.
5993
5994 * play/solitaire.el (solitaire-build-mode-line): Rename from
5995 solitaire-build-modeline. All callers changed.
5996
5997 * play/zone.el (zone-hiding-mode-line): Rename from
5998 zone-hiding-modeline. All callers changed.
5999 (zone): Remove unusued `modeline-hidden-level' property.
6000
6001 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6002 xscheme-modeline-initialize. All callers changed.
6003
6004 * strokes.el (strokes-lighter): Rename from
6005 strokes-modeline-string.
6006
6007 * textmodes/sgml-mode.el (html-face-tag-alist)
6008 (html-tag-face-alist): Use mode-line face instead of obsolete
6009 alias modeline.
6010
42152ee4
SM
60112012-06-02 Stefan Merten <smerten@oekonux.de>
6012
6013 * textmodes/rst.el: Always require `cl'.
4cf9b38d 6014 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 6015
95f520b5
CY
60162012-06-02 Chong Yidong <cyd@gnu.org>
6017
6018 * image.el (imagemagick-enabled-types): Rename from
6019 imagemagick-types-enable. Add many more types.
6020 (imagemagick-types-inhibit): Change default to nil.
6021 (imagemagick-filter-types): Caller changed.
6022
4a5f187a
SM
60232012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6024
03fef3e6
SM
6025 * emacs-lisp/cl-macs.el: Use backquotes.
6026 (cl-transform-function-property): Use eval-and-compile rather than
6027 abusing `require'.
6028 (defstruct): Use declare-function instead of with-no-warnings.
6029
4a5f187a
SM
6030 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6031 (byte-compile-output-docform): Re-add the print-circle bindings.
6032 (byte-compile-fix-header): Use #$ just because it's shorter.
6033 (byte-compile-output-file-form): Remove defun/defmacro.
6034
bd56924f
MR
60352012-06-01 Martin Rudalics <rudalics@gmx.at>
6036
6037 * simple.el (choose-completion): Remove now obsolete binding for
6038 owindow.
6039
046e38ce
MA
60402012-06-01 Michael Albinus <michael.albinus@gmx.de>
6041
6042 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6043 in order to avoid "Stack overflow in regexp matcher".
6044
32d72c2f
GM
60452012-05-31 Glenn Morris <rgm@gnu.org>
6046
6047 * image.el: For clarity, call imagemagick-register-types at
6048 top-level, rather than relying on a custom :initialize.
6049 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
6050 (imagemagick-filter-types): New function. (Bug#7406)
6051 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
6052 If disabling support, remove elements altogether rather
6053 than using an impossible regexp.
6054 (imagemagick-types-inhibit): Give it the default init function.
6055
dd41169b
SM
60562012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6057
4a5f187a
SM
6058 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6059 Handle arbitrary file name lengths (Bug#11585).
dd41169b 6060
efc00ab1 60612012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
6062
6063 * desktop.el (desktop-read): Clear previous and next buffers for
6064 all windows and bury *Messages* buffer (bug#11556).
6065
500fcedc
SM
60662012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6067
6068 Add `declare' for `defun'. Align `defmacro's with it.
6069 * emacs-lisp/easy-mmode.el (define-minor-mode)
6070 (define-globalized-minor-mode): Don't autoload the var definitions.
6071 * emacs-lisp/byte-run.el: Use lexical-binding.
6072 (defun-declarations-alist, macro-declarations-alist): New vars.
6073 (defmacro, defun): Use them.
6074 (make-obsolete, define-obsolete-function-alias)
6075 (make-obsolete-variable, define-obsolete-variable-alias):
6076 Use `declare'.
6077 (macro-declaration-function): Mark obsolete.
6078 * emacs-lisp/autoload.el: Use lexical-binding.
6079 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6080
6e8a1786
AM
60812012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6082
6083 * textmodes/ispell.el (ispell-with-no-warnings):
6084 Define as a macro.
500fcedc
SM
6085 (ispell-kill-ispell, ispell-change-dictionary):
6086 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
6087 `interactive-p'.
6088
61b108cc
SM
60892012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6090
6091 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6092 (macro-declaration-function): Move var from C code.
6093 (macro-declaration-function): Define function with defalias.
6094 * emacs-lisp/macroexp.el (macroexpand-all-1):
6095 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6096 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6097 defun/defmacro any more.
6098 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6099 Provide fallback for unknown arglist.
6100 (byte-compile-arglist-warn): Change calling convention.
6101 (byte-compile-output-file-form): Move print-vars binding.
6102 (byte-compile-output-docform): Simplify accordingly.
6103 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6104 (byte-compile-defmacro-declaration): Remove.
6105 (byte-compile-file-form-defmumble): Generalize to defalias.
6106 (byte-compile-output-as-comment): Return byte-positions.
6107 Simplify callers accordingly.
6108 (byte-compile-lambda): Use `assert'.
6109 (byte-compile-defun, byte-compile-defmacro): Remove.
6110 (byte-compile-file-form-defalias):
6111 Use byte-compile-file-form-defmumble.
6112 (byte-compile-defalias-warn): Remove.
6113
6d3f7c2f
SM
61142012-05-29 Stefan Merten <smerten@oekonux.de>
6115
6116 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 6117 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
6118
6119 (rst-mode-abbrev-table): Merge definition.
6120 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6121 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6122
6dbaa1c7
UJ
61232012-05-29 Ulf Jasper <ulf.jasper@web.de>
6124
6125 * calendar/icalendar.el
6126 (icalendar-export-region): Export UID properly.
6127
d209e2fb 61282012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
6129 * calendar/icalendar.el (icalendar-import-format):
6130 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
6131 (icalendar-import-format-uid): New.
6132 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6133 Export UID.
6134
6876a58d
SM
61352012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6136
6137 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6138 different alternative patterns.
6139 (pcase-codegen): Be more careful to preserve identity.
6140 (pcase--u1): Don't forget to mark vars as used.
6141
6142 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6143 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6144 (byte-compile-from-buffer): ...rather than here.
6145
6146 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6147 functions from byte-compile-function-environment.
6148
46b7967e
TN
61492012-05-29 Troels Nielsen <bn.troels@gmail.com>
6150
6151 * window.el (window-deletable-p): Avoid deleting the root window
6152 of a frame with an active minibuffer.
6153
69d565e2
MR
61542012-05-29 Martin Rudalics <rudalics@gmx.at>
6155
6156 * simple.el (choose-completion): Use quit-window (Bug#11567).
6157
a149fa51
CY
61582012-05-29 Chong Yidong <cyd@gnu.org>
6159
6160 * whitespace.el (whitespace-cleanup): Fix usage of
6161 whitespace-empty-at-bob-regexp (Bug#11492).
6162
2b311310
AH
61632012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6164
6165 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6166 revert (Bug#11488).
6167
b9cb2387
JL
61682012-05-29 Juri Linkov <juri@jurta.org>
6169
6170 * isearch.el (isearch-mode-map): Bind `M-s _' to
6171 `isearch-toggle-symbol'. Bind `M-s c' to
6172 `isearch-toggle-case-fold'.
6173 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6174 (isearch-forward): Add `M-s _' to the docstring.
6175 (isearch-forward-symbol, isearch-toggle-case-fold)
6176 (isearch-symbol-regexp): New functions. (Bug#11381)
6177
d5e61c1c
JL
61782012-05-29 Juri Linkov <juri@jurta.org>
6179
6180 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6181 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6182 a function, call it to get the regexp.
6183 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6184 property `isearch-message-prefix' instead of the string "word ".
6185 (isearch-search-fun-default): For the case of `isearch-word',
6186 return a lambda that calls re-search-forward/re-search-backward
6187 with a regexp returned by `word-search-regexp' or by the function
6188 in `isearch-word'.
6189
8cbd80f7
JL
61902012-05-29 Juri Linkov <juri@jurta.org>
6191
6192 * isearch.el (isearch-search-fun-default): New function.
6193 (isearch-search-fun): Move default part to the new function
6194 `isearch-search-fun-default'.
6195 (isearch-search-fun-function): Set the default value to
6196 `isearch-search-fun-default'. (Bug#11381)
6197
6198 * comint.el (comint-history-isearch-end):
6199 Use `isearch-search-fun-default'.
6200 (comint-history-isearch-search): Use `isearch-search-fun-default'
6201 and remove spacial case for `isearch-word'.
6202 (comint-history-isearch-wrap): Remove spacial case for
6203 `isearch-word'.
6204
6205 * hexl.el (hexl-isearch-search-function):
6206 Use `isearch-search-fun-default'.
6207
6208 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6209 Use `word-search-regexp' for `isearch-word'.
6210
6211 * misearch.el (multi-isearch-search-fun):
6212 Use `isearch-search-fun-default'.
6213
6214 * simple.el (minibuffer-history-isearch-search):
6215 Use `isearch-search-fun-default' and remove spacial case for
6216 `isearch-word'.
6217 (minibuffer-history-isearch-wrap): Remove spacial case for
6218 `isearch-word'.
6219
6220 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6221 Remove spacial case for `isearch-word'.
6222 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6223
85c8c5b6
AM
62242012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6225
6226 Decrease XEmacs incompatibilities.
6227 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6228 Use `string-match'.
6229 (flyspell-delete-region-overlays): Use alternative definition for
6230 XEmacs.
6231 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6232 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6233 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6234 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6235 `define-obsolete-face-alias' under XEmacs, but old method.
6236
6237 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6238 `with-no-warnings' definition or Emacs alias.
6239 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6240 (ispell-word): Do not use `region-p' if XEmacs.
6241
8cab9efc
AM
62422012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6243
6244 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6245 Check for `ispell-dictionary-base-alist' instead of full
6246 `ispell-dictionary-alist'.
6247 (ispell-init-process): Show spellchecker when starting new Ispell
6248 process.
6249
fda91268
RZ
62502012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6251
6252 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6253 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6254
694ea8e3
JB
62552012-05-27 Juanma Barranquero <lekktu@gmail.com>
6256
6257 * version.el (motif-version-string, gtk-version-string)
6258 (ns-version-string): Declare.
6259
e4d4f539
JL
62602012-05-27 Juri Linkov <juri@jurta.org>
6261
6262 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6263 after the `eval-defun-1' specialcaseing
6264 like in `edebug-eval-defun' (bug#10181).
6265
6266 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6267 like in `eval-defun-1'.
6268
33017faf 62692012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 6270
fda91268
RZ
6271 * mail/sendmail.el (mail-yank-region):
6272 Recognize rmail-yank-current-message in addition to insert-buffer.
6273 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
6274 a *mail* buffer created through rmail-start-mail with sendmail as
6275 mail-user-agent.
6276
33017faf
GM
62772012-05-27 Chong Yidong <cyd@gnu.org>
6278
6279 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6280 Default to 256 (Bug#11267).
6281
6282 * help.el (describe-mode): Doc fix.
6283
04188bb9
GM
62842012-05-26 Glenn Morris <rgm@gnu.org>
6285
38264cc9
GM
6286 * w32-fns.el (w32-init-info): Remove.
6287 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6288
eb7afdad
GM
6289 * info.el (info-initialize): For self-contained NS builds, put the
6290 included info/ directory at the front. (Bug#2791)
6291
04188bb9
GM
6292 * paths.el (Info-default-directory-list): Make it a defcustom,
6293 mainly so that we can use custom-initialize-delay.
6294
a179e3f7
SM
62952012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6296
43416392
SM
6297 * subr.el (buffer-has-markers-at): Mark obsolete.
6298
a179e3f7 6299 * subr.el (lambda): Use declare.
43416392 6300
a179e3f7
SM
6301 * emacs-lisp/lisp-mode.el (lambda):
6302 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6303
34a008d9
AH
63042012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6305
6306 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6307
0a3b289f
GM
63082012-05-26 Glenn Morris <rgm@gnu.org>
6309
6310 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6311
758c81e8
GM
63122012-05-25 Glenn Morris <rgm@gnu.org>
6313
f9f334f0
GM
6314 * paths.el: Remove no-byte-compile.
6315 * loadup.el: No need to load paths.el uncompiled.
6316
87eb79c2
GM
6317 * image.el (imagemagick-types-inhibit): Doc fix.
6318
758c81e8
GM
6319 * version.el: Remove no-byte-compile and associated formatting.
6320 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6321 is ancient code from when there was an "inc-vers.el".
6322
e7e85dc0
SM
63232012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6324
6325 * progmodes/gdb-mi.el: Minor style changes.
6326 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6327 Turn into minor modes.
6328 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6329 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6330 (gdb-shell): Remove unneeded let-binding.
6331 (gdb-get-many-fields): Eliminate O(n²) behavior.
6332
f31237a4
EZ
63332012-05-25 Eli Zaretskii <eliz@gnu.org>
6334
6335 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6336 platforms that don't link in fontset.c.
6337
bc1b21bb
JL
63382012-05-25 Juri Linkov <juri@jurta.org>
6339
6340 Use the same diff color scheme as in modern VCSes (bug#10181).
6341
6342 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6343 to avoid confusion with `diff-added' that now uses green colors.
6344 (diff-removed): Use shades of red.
6345 (diff-added): Use shades of green.
6346 (diff-changed): Leave just the yellow color.
6347 (diff-use-changed-face): New variable.
6348 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6349 how to highlight context diff changes.
6350 (diff-refine-change): Use shades of yellow.
6351 (diff-refine-removed): New face that uses shades of red.
6352 (diff-refine-added): New face that uses shades of green.
6353 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6354 `diff-refine-removed' in the call to `smerge-refine-subst'
6355 depending on the value of `diff-use-changed-face'.
6356
6357 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6358 (smerge-other): Use shades of green.
6359 (smerge-base): Use shades of yellow.
6360 (smerge-refined-change): Empty face.
6361 (smerge-refined-removed): New face that uses shades of red.
6362 (smerge-refined-added): New face that uses shades of green.
6363 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6364 args `props-r' and `props-a', and use them. Doc fix.
6365 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6366 on its value use different faces `smerge-refined-change',
6367 `smerge-refined-removed', `smerge-refined-added' in the call to
6368 `smerge-refine-subst'.
6369
6370 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6371 Add face condition `min-colors 88' with shades of red.
6372 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6373 `min-colors 88' with shades of green.
6374 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6375 `min-colors 88' with shades of yellow.
6376
6df9112c
GM
63772012-05-24 Glenn Morris <rgm@gnu.org>
6378
ead5edc0
GM
6379 * paths.el (prune-directory-list, remote-shell-program): Move to...
6380 * files.el (prune-directory-list, remote-shell-program): ...here.
6381 For the latter, delay initialization, prefer ssh, just search PATH.
6382
f18b81e6
GM
6383 * paths.el (term-file-prefix): Move to faces.el (the only user).
6384 * faces.el (term-file-prefix): Move here, make it a defcustom.
6385
ee2f89a6
GM
6386 * paths.el (news-directory, news-path, news-inews-program):
6387 Move to gnus/nnspool.el.
61a583ca 6388
f8815e4c
GM
6389 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6390
c8f3b42c
GM
6391 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6392 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6393 Make the latter a defcustom, with a delayed initialization.
6394
6df9112c
GM
6395 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6396 These were deleted from Gnus itself late 2010.
6397
5dadff36
JB
63982012-05-22 Juanma Barranquero <lekktu@gmail.com>
6399
9e1701c6
JB
6400 * progmodes/which-func.el (which-func-ff-hook):
6401 Check against user-error, not error.
6402
bd7239f5 6403 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
6404 cl-specs.el, which no longer exists.
6405
3290526d
GM
64062012-05-22 Glenn Morris <rgm@gnu.org>
6407
6408 * info.el (info-emacs-bug): New command.
6409 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6410 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6411
ff0c3cfb
GM
64122012-05-21 Glenn Morris <rgm@gnu.org>
6413
6414 * makefile.w32-in (update-subdirs-SH):
6415 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6416
5814f126
SM
64172012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6418
a52c0aa0
SM
6419 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6420
5814f126
SM
6421 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6422 Simplify Maven regexp, and make sure the file can't start with a space
6423 (bug#11517).
6424
b847032c
GM
64252012-05-21 Glenn Morris <rgm@gnu.org>
6426
6427 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6428 Scrap superfluous subshells.
6429
3858bfe7
SM
64302012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6431
6432 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6433 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6434
d14b0029
JB
64352012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6436
6437 * calc/calc.el (calc-ensure-consistent-units): New variable.
6438
a52c0aa0
SM
6439 * calc/calc-units.el (math-consistent-units-p)
6440 (math-check-unit-consistency): New functions.
6441 (calc-quick-units, calc-convert-units):
6442 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6443 is non-nil.
d14b0029
JB
6444 (calc-extract-units): Fix typo.
6445
60c4db3a
SM
64462012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6447
77f3b62e
SM
6448 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6449
60c4db3a
SM
6450 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6451 (flyspell-default-deplacement-commands): Don't spell check after
6452 repeated window/frame switches (e.g. triggered by mouse-movement).
6453 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6454 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6455 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6456 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6457 Remove unused vars.
6458 (flyspell-get-casechars, flyspell-get-not-casechars):
6459 Simplify; Don't bother removing a ] just to add it back.
6460 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6461
d209e2fb 64622012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
6463
6464 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6465 New functions.
bd7239f5 6466 (math-function-table): Add support for more C functions.
b1a10716 6467
3f1b25b5
AM
64682012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6469
090bd7cb
JB
6470 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6471 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6472 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 6473
b581bb5c
SM
64742012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6475
6476 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6477 their respective macro declarations.
6478 * skeleton.el (define-skeleton):
6479 * progmodes/compile.el (define-compilation-mode):
6480 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6481 (define-ibuffer-filter):
6482 * emacs-lisp/generic.el (define-generic-mode):
6483 * emacs-lisp/easy-mmode.el (define-minor-mode)
6484 (define-globalized-minor-mode):
6485 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6486 * emacs-lisp/byte-run.el (defsubst):
6487 * custom.el (deftheme): Add doc-string metadata.
6488
70b8ef8f
SM
64892012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6490
6491 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6492
b1198e17
SM
64932012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6494
9abdc45d
SM
6495 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6496
b1198e17
SM
6497 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6498 * emacs-lisp/cl-macs.el: Idem.
6499 * emacs-lisp/cl-specs.el: Remove.
6500
4735906a
SM
65012012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6502
6503 Minor renaming of internal CL functions and variables.
6504 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6505 (cl--position): Rename from cl-position.
6506 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6507 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6508 (cl--random-state): Rename from *random-state*.
6509
ac348012
SM
65102012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6511
6512 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6513 parens around the arg list (bug#11499).
6514
a0a79cde
JL
65152012-05-17 Juri Linkov <juri@jurta.org>
6516
6517 * isearch.el (word-search-regexp, word-search-backward)
6518 (word-search-forward, word-search-backward-lax)
6519 (word-search-forward-lax): Move functions from search.c
6520 (bug#10145, bug#11381).
6521
65034a51
AM
65222012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6523
090bd7cb
JB
6524 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6525 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6526 Delay for otherchars as for normal word components.
65034a51 6527
1a72a195
SM
65282012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6529
6530 * minibuffer.el (completion--sifn-requote): Fix last change.
6531 (minibuffer-local-must-match-filename-map):
6532 Move define-obsolete-variable-alias before its var.
6533
fdb058c2
SM
65342012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6535
c41045e6
SM
6536 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6537
036dfb8b
SM
6538 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6539 behavior.
6540 (completion--string-equal-p): New function.
6541 (completion--twq-all): Use it to get better assertion failure data.
6542
2473256d
SM
6543 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6544 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6545 (shell--requote-argument): New functions.
6546 (shell-completion-vars): Use them.
6547 (shell--parse-pcomplete-arguments): Rename from
6548 shell-parse-pcomplete-arguments.
6549 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6550 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6551 Obey comint-file-name-quote-list.
6552
fdb058c2
SM
6553 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6554 (smie-indent-keyword): Use it.
6555
51fa99f1
SM
65562012-05-14 Stefan Merten <smerten@oekonux.de>
6557
6558 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6559
e18afed7 65602012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
6561
6562 * net/rlogin.el (rlogin-mode-map): Fix last change.
6563
e18afed7 65642012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
6565
6566 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6567 the following \r\n using a single `process-send-string', since the
6568 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 6569 with two `process-send-string's (Bug#11444).
8633b1f4 6570
e18afed7 65712012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 6572
fdb058c2
SM
6573 * shell.el (shell-parse-pcomplete-arguments):
6574 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 6575
2d21d7f6
WJ
65762012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6577
e18afed7 6578 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
6579 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6580 (image-transform-width, image-transform-fit-width): New functions.
6581 (image-transform-properties): Use them.
6582 (image-transform-check-size): New function.
6583 (image-toggle-display-image): Use it (for testing).
6584 (image-transform-set-rotation): Reduce angle mod 360.
6585 Delete obsolete comment.
6586
7102e6d0
WJ
65872012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6588
6589 * image-mode.el: Fix scaling (bug#11399).
6590 (image-transform-resize): Doc fix.
6591 (image-transform-properties): Default scale is 1 and height should
6592 be an integer.
6593
06bc5e6e
SM
65942012-05-13 Johan Bockgård <bojohan@gnu.org>
6595
6596 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6597 than hard-coding `car', to fix misbehavior when moving forward.
6598
0ae03b6a
CY
65992012-05-13 Chong Yidong <cyd@gnu.org>
6600
6601 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6602 (tabulated-list-entries, tabulated-list-padding)
6603 (tabulated-list-sort-key): Make permanent-local.
6604
6605 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6606 (electric-buffer-list): Put electric buffer menu
6607 command descriptions in this docstring, instead of the docstring
6608 of electric-buffer-menu-mode. Code cleanups.
6609 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6610 Electric-buffer-menu-mode.
6611 (electric-buffer-update-highlight): Minor code cleanup.
6612
205a7391
MA
66132012-05-13 Michael Albinus <michael.albinus@gmx.de>
6614
6615 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6616 (Bug#11447)
6617
e5bd0a28
SM
66182012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6619
6620 Move define-obsolete-variable-alias before the var's definition.
6621 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6622 * tooltip.el (tooltip-hook):
6623 * textmodes/reftex-toc.el (reftex-toc-map):
6624 * textmodes/reftex-sel.el (reftex-select-label-map)
6625 (reftex-select-bib-map):
6626 * textmodes/reftex-index.el (reftex-index-map)
6627 (reftex-index-phrases-map):
6628 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6629 * progmodes/meta-mode.el (meta-mode-map):
6630 * novice.el (disabled-command-hook):
6631 * loadhist.el (unload-hook-features-list):
6632 * frame.el (blink-cursor):
6633 * files.el (find-file-not-found-hooks, write-file-hooks)
6634 (write-contents-hooks):
6635 * emulation/tpu-edt.el (GOLD-map):
6636 * emacs-lock.el (emacs-lock-from-exiting):
6637 * emacs-lisp/generic.el (generic-font-lock-defaults):
6638 * emacs-lisp/chart.el (chart-map):
6639 * dos-fns.el (register-name-alist):
6640 * dired-x.el (dired-omit-files-p):
6641 * desktop.el (desktop-enable):
6642 * cus-edit.el (custom-mode-hook):
6643 * buff-menu.el (buffer-menu-mode-hook):
6644 * bookmark.el (bookmark-read-annotation-text-func)
6645 (bookmark-exit-hooks):
6646 * allout.el (allout-mode-deactivate-hook)
6647 (allout-exposure-change-hook, allout-structure-added-hook)
6648 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6649 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6650 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6651 comes before the corresponding variable's definition.
6652
ac59c2f6
CY
66532012-05-12 Chong Yidong <cyd@gnu.org>
6654
6655 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
6656 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6657 (Buffer-menu-mode-map): Bind it.
6658 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 6659
dee6c9a3
SM
66602012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6661
2171cea5
SM
6662 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6663 (prolog-upper-case-string, prolog-lower-case-string)
6664 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6665 (prolog-use-smie, prolog-smie-grammar): New vars.
6666 (prolog-smie-forward-token, prolog-smie-backward-token)
6667 (prolog-smie-rules): New funs.
6668 (prolog-comment-indent): Remove.
6669 (prolog-mode-variables): Use default comment indentation instead.
6670 Setup SMIE.
6671 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6672 (prolog-mode): Don't call them any more.
6673 (prolog-electric-colon, prolog-electric-dash)
6674 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6675
aa0382bd
SM
6676 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6677
dbacb4bd
SM
6678 * minibuffer.el (completion--twq-all): Again, allow case differences.
6679
13bdd94c
SM
6680 * term.el: Move keymap initialization code to be more idiomatic.
6681 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6682 (term-terminal-menu): Move initialization into declaration.
6683 (term-escape-char): Let the user set it in her .emacs.
6684
ff46c759
SM
6685 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6686 Provide SMIE-based indentation (not enabled by default yet).
6687 (sh-mode-map): Don't bind electric keys.
6688 Use electric-pair-mode instead of skeleton-pair.
6689 (sh-assignment-regexp): Fit within 80 columns.
6690 (sh-indent-supported): Specify actual shell name instead of boolean.
6691 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6692 (sh-maybe-here-document): Use it. Make obsolete.
6693 (sh-electric-here-document-mode) New minor mode.
6694 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6695 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6696 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6697 (sh-smie-rc-grammar, sh-use-smie): New vars.
6698 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6699 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6700 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6701 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6702 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6703 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6704 (sh-set-shell): Use smie-setup if requested.
6705
dee6c9a3
SM
6706 * term.el (term-set-escape-char): Properly set term-escape-char.
6707 See http://stackoverflow.com/questions/10524656.
6708
9f9aa044
CY
67092012-05-10 Chong Yidong <cyd@gnu.org>
6710
6711 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6712 Use url-generic-parse-url, and handle host names and Windows
6713 filenames properly.
6714 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6715 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6716 URL schemes to work on.
6717 (ffap--toggle-read-only): New function.
6718 (ffap-read-only, ffap-read-only-other-window)
6719 (ffap-read-only-other-frame): Use it.
6720 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6721 necessary for ffap-url-unwrap-remote.
6722
836d29b3
DA
67232012-05-10 Dave Abrahams <dave@boostpro.com>
6724
6725 * cus-start.el (create-lockfiles): Add it.
6726
00fd78ed
CY
67272012-05-09 Chong Yidong <cyd@gnu.org>
6728
6729 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6730 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6731
666b903b 67322012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
6733
6734 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6735
666b903b 67362012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
6737
6738 * ansi-color.el (ansi-color-process-output): Check for validity of
6739 comint-last-output-start before using it. This avoids a bad
6740 interaction with gdb-mi's input/output buffer.
6741
666b903b 67422012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
6743
6744 * files.el (dir-locals-read-from-file):
6745 Mention dir-locals in any error message.
6746
666b903b 67472012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
6748
6749 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6750 package (Bug#11410).
6751
f677562b
CY
6752 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6753 variables into description.
6754
666b903b 67552012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
6756
6757 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6758 shell-delimiter-argument-list (bug#11348).
6759 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6760
b499d8d0
JB
67612012-05-09 Juanma Barranquero <lekktu@gmail.com>
6762
8f6b6da8
JB
6763 * textmodes/rst.el: Silence byte-compiler warnings.
6764 (rst-re-alist, rst-reset-section-caches): Move around.
6765 (rst-re): Use `characterp', not `char-valid-p'.
6766 (font-lock-beg, font-lock-end): Declare.
6767
4824146a
JB
6768 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6769 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6770
b499d8d0
JB
6771 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6772
ad89bb83
GM
67732012-05-08 Glenn Morris <rgm@gnu.org>
6774
6775 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6776
8bba5a75
SM
67772012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6778
49ed9c8e
SM
6779 * vc/log-edit.el: Add GNU coding standards highlighting.
6780 (log-edit-font-lock-gnu-style)
6781 (log-edit-font-lock-gnu-keywords): New vars.
6782 (log-edit-font-lock-keywords): New fun.
6783 (log-edit-mode): Don't fold case in font-lock.
6784 (log-edit-font-lock-keywords): Do not assume case-folding.
6785
07d00b56
SM
6786 * imenu.el: Misc cleanup. Make docstrings out of comments.
6787 Use lexical-binding.
6788 (imenu--index-alist, imenu--last-menubar-index-alist)
6789 (imenu-menubar-modified-tick): Use defvar-local.
6790 (imenu--split-menu): Remove unused var.
6791 (imenu--cleanup-seen): Declare as global.
6792 (imenu--cleanup): Use dolist.
6793
8bba5a75
SM
6794 * subr.el (defvar-local): Add debug spec and doc-string position.
6795
5075bdb5
GM
67962012-05-08 Glenn Morris <rgm@gnu.org>
6797
090bd7cb 6798 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
6799 * language/english.el, language/georgian.el, language/greek.el:
6800 * language/japanese.el, language/khmer.el, language/korean.el:
6801 * language/lao.el, language/misc-lang.el, language/romanian.el:
6802 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6803 * language/thai.el, language/utf-8-lang.el:
6804 Remove no-byte-compile setting.
6805
5075bdb5
GM
6806 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6807
06f679a7
AH
68082012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6809
6810 * progmodes/make-mode.el (makefile-browse):
6811 Remove unnecessary interactive. (Bug#11324)
6812
03794570
GM
68132012-05-07 Glenn Morris <rgm@gnu.org>
6814
af8630f4
GM
6815 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6816
03794570
GM
6817 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6818
f0809a9d
SM
68192012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6820
28be5ce7
SM
6821 * loadup.el: Preload newcomment.el.
6822 * newcomment.el: Move autoload-only code to toplevel.
6823
f0809a9d
SM
6824 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6825 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6826 Handle new :right-align column property.
6827 (tabulated-list-print-col): Idem, plus use `display' text-property to
6828 try and preserve alignment for variable pitch fonts.
6829
1241b724
CY
68302012-05-07 Chong Yidong <cyd@gnu.org>
6831
6832 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6833 (tabulated-list-use-header-line): New var.
6834 (tabulated-list-init-header): Use it.
6835 (tabulated-list-print-fake-header): New function.
6836 (tabulated-list-print): Use it.
6837 (tabulated-list-sort-button-map): Add non-header-line commands.
6838 (tabulated-list-init-header): Add column name property to basic
6839 labels as well.
6840 (tabulated-list-col-sort): Handle non-header-line button case.
6841 (tabulated-list--sort-by-column-name): Fix a corner case.
6842
f0809a9d
SM
6843 * buff-menu.el (list-buffers--refresh):
6844 Handle Buffer-menu-use-header-line.
1241b724 6845
e5f9458f
CY
68462012-05-06 Chong Yidong <cyd@gnu.org>
6847
6848 * buff-menu.el: Convert to Tabulated List mode.
6849 (Buffer-menu-buffer+size-width): Make obsolete.
6850 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6851 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6852 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
6853 documentation into docstring of buffer-menu.
6854 (Buffer-menu-toggle-files-only): Add an informative message.
6855 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6856 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6857 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6858 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6859 (Buffer-menu-execute, Buffer-menu-select)
6860 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6861 (Buffer-menu-bury): Use Tabulated List machinery.
6862 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6863 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 6864 Delete.
e5f9458f
CY
6865 (list-buffers--refresh): New function.
6866 (list-buffers-noselect): Use it.
6867 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6868 (Buffer-menu--pretty-file-name): New helper functions.
6869
6870 * loadup.el: Preload tabulated-list.
6871
6872 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6873 tabulated-list-sort-column.
6874 (tabulated-list-init-header): Add the initial aligning space even
6875 if tabulated-list-padding is zero.
6876
e129292c
CS
68772012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6878
6879 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6880 whose cdr is not a cons cell correctly (bug#11038).
6881
6632d361
CY
68822012-05-06 Chong Yidong <cyd@gnu.org>
6883
e129292c
CS
6884 * emacs-lisp/tabulated-list.el (tabulated-list-format):
6885 Accept additional plist in column descriptors.
6632d361
CY
6886 (tabulated-list-init-header): Obey it.
6887 (tabulated-list-get-entry): New function.
6888 (tabulated-list-put-tag): Use it. Use string-width instead of
6889 length.
6890 (tabulated-list--column-number): New function.
6891 (tabulated-list-print): Use it.
e129292c
CS
6892 (tabulated-list-print-col): New function.
6893 Set `tabulated-list-column-name' property on each column's text.
6632d361 6894 (tabulated-list-print-entry): Use it.
e129292c
CS
6895 (tabulated-list-delete-entry, tabulated-list-set-col):
6896 New functions.
6632d361
CY
6897 (tabulated-list-sort-column): New command (Bug#11337).
6898
3cc99f68
CY
6899 * buff-menu.el (list-buffers): Move C-x C-b binding from
6900 buff-menu.el to bindings.el.
6901
6902 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6903 :advertised-binding feature.
6904
52b61776
TN
69052012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
6906
6907 * progmodes/compile.el (compilation-internal-error-properties):
6908 Calculate start position correctly when end-col is set but
6909 end-line is not (Bug#11382).
6910
ebfe2597
WJ
69112012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
6912
6913 * man.el (Man-unindent): Use text-property-default-nonsticky to
6914 prevent untabify from inheriting face properties (Bug#11408).
6915
6d3f7c2f
SM
69162012-05-05 Stefan Merten <smerten@oekonux.de>
6917
6918 * textmodes/rst.el: Major merge with upstream development up to
6919 Docutils SVN r7399 / rst.el V1.2.1.
6920
6921 Clarify maintainership and authors.
6922
6923 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6924 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6925 (rst-official-version, rst-official-cvs-rev, rst-version)
6926 (rst-package-emacs-version-alist): New functions and variables
6927 for version information.
6928
6929 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6930 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6931 (rst-mode-syntax-table, rst-mode): New and corrected functions
6932 and variables representing reStructuredText features.
6933
6934 (rst-re): New function for reStructuredText regexes. Use in
6935 many places.
6936
6937 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6938 (rst-mode-map): Rebind keys.
6939
6940 (rst-mode-lazy, rst-font-lock-keywords)
6941 (rst-font-lock-extend-region)
6942 (rst-font-lock-extend-region-internal)
6943 (rst-font-lock-extend-region-extend)
6944 (rst-font-lock-find-unindented-line-limit)
6945 (rst-font-lock-find-unindented-line-match)
6946 (rst-adornment-level, rst-font-lock-adornment-level)
6947 (rst-font-lock-adornment-match)
6948 (rst-font-lock-handle-adornment-pre-match-form)
6949 (rst-font-lock-handle-adornment-matcher): Major revision of
6950 font-locking. Integrate with other code. Use `jit-lock-mode'.
6951
6952 (rst-preferred-adornments, rst-adjust-hook)
6953 (rst-new-adornment-down, rst-preferred-bullets)
6954 (rst-preferred-bullets, rst-indent, rst-indent-width)
6955 (rst-indent-field, rst-indent-literal-normal)
6956 (rst-indent-literal-minimized, rst-indent-comment): Change,
6957 extend and improve customization.
6958
6959 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6960 (rst-normalize-cursor-position, rst-get-decoration)
6961 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6962 (rst-rstrip, rst-toc-insert-find-delete-contents)
6963 (rst-shift-fill-region, rst-compute-bullet-tabs)
6964 (rst-debug-print-tabs, rst-debug-mark-found)
6965 (rst-shift-region-guts, rst-shift-region-right)
6966 (rst-shift-region-left, rst-use-char-classes)
6967 (rst-font-lock-keywords-function)
6968 (rst-font-lock-indentation-point)
6969 (rst-font-lock-find-unindented-line-begin)
6970 (rst-font-lock-find-unindented-line-end)
6971 (rst-font-lock-find-unindented-line)
6972 (rst-font-lock-adornment-point, rst-font-lock-level)
6973 (rst-adornment-level-alist): Remove functions and variables.
6974
6975 (rst-compare-adornments, rst-get-adornment-match)
6976 (rst-suggest-new-adornment, rst-get-adornments-around)
6977 (rst-adornment-complete-p, rst-get-next-adornment)
6978 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6979 (rst-straighten-adornments): Standardize function names to
6980 use "adornment" instead of "decoration". Correct callers.
6981 Similar standardizing in many places.
6982
6983 (rst-update-section, rst-adjust, rst-promote-region)
6984 (rst-enumerate-region, rst-bullet-list-region)
6985 (rst-repeat-last-character): Correct use of `interactive'.
6986
6987 (rst-classify-adornment, rst-find-all-adornments)
6988 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6989 (rst-find-leftmost-column, rst-repeat-last-character):
6990 Refactor functions.
6991
6992 (rst-find-title-line, rst-reset-section-caches)
6993 (rst-get-adornments-around, rst-adjust-adornment-work)
6994 (rst-arabic-to-roman, rst-roman-to-arabic)
6995 (rst-insert-list-pos, rst-insert-list-new-item)
6996 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6997 New functions.
6998
6999 (rst-all-sections, rst-section-hierarchy)
7000 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7001 New variables.
7002
7003 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7004 configuration instead of only buffer. Change where necessary.
7005
7006 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7007 (rst-shift-region, rst-adaptive-fill): New functions for
7008 indentation and filling.
7009
7010 (rst-comment-line-break, rst-comment-indent)
7011 (rst-comment-insert-comment, rst-comment-region)
7012 (rst-uncomment-region): New functions for handling comments.
7013
7014 (rst-compile): Quote shell arguments.
7015
7016 (rst-compile-pdf-preview, rst-compile-slides-preview):
7017 Delete temporary files after use.
7018
a43f98b3
GM
70192012-05-05 Glenn Morris <rgm@gnu.org>
7020
48176e8b
GM
7021 * calendar/cal-html.el: Optionally include holidays in the output.
7022 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7023 (cal-html-holidays): New option.
7024 (cal-html-css-default): Add holiday entry.
7025 (holiday-in-range): Autoload it.
7026 (cal-html-htmlify-entry): Add optional class argument.
7027 (cal-html-htmlify-list): Add optional holidays argument.
7028 (cal-html-insert-agenda-days): Include holidays in the output.
7029 (cal-html-one-month): Maybe include holidays.
7030
a43f98b3
GM
7031 * calendar/holidays.el (holiday-in-range):
7032 Move here from cal-tex-list-holidays.
7033 * calendar/cal-tex.el (cal-tex-list-holidays):
7034 Make it an obsolete alias for holiday-in-range. Update all callers.
7035
fef9d149 70362012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
7037
7038 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7039 Nextstep.
7040
248da2f4
RW
70412012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7042
7043 * files.el (file-auto-mode-skip): New var.
7044 (set-auto-mode-1): Use it.
7045
f95e9344
SM
70462012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7047
df96ab1e
SM
7048 * repeat.el: Use lexical-binding.
7049 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7050 (repeat-undo-count): Remove.
7051 (repeat):
7052 * progmodes/octave-mod.el (octave-abbrev-start):
7053 * progmodes/f90.el (f90-abbrev-start):
7054 * face-remap.el (text-scale-adjust):
7055 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7056
5342bb06
SM
7057 * emacs-lisp/pcase.el (pcase--let*): New function.
7058 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7059 a bit more.
7060 (pcase--split-pred): Be more clever about ruling out overlap between
7061 a predicate and some constant pattern.
7062 (pcase--q1): Use `null' instead of (eq foo nil).
7063
f95e9344
SM
7064 * subr.el (setq-local, defvar-local): New macros.
7065 (kbd): Redefine as an alias.
7066 (with-selected-window): Leave unrelated frames alone.
7067 (set-temporary-overlay-map): New function.
7068
71873e2b
SM
70692012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7070
7071 * subr.el (user-error): New function.
7072 * window.el (switch-to-buffer):
7073 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7074 (smerge-match-conflict):
7075 * simple.el (previous-matching-history-element)
7076 (next-matching-history-element, goto-history-element, undo-more)
7077 (undo-start):
7078 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7079 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7080 (next-file, tags-loop-scan, list-tags, complete-tag):
7081 * progmodes/compile.el (compilation-loop):
7082 * mouse.el (mouse-minibuffer-check):
7083 * man.el (Man-bgproc-sentinel, Man-goto-page):
7084 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7085 (Info-history-forward, Info-follow-reference, Info-menu)
7086 (Info-extract-menu-item, Info-extract-menu-counting)
7087 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7088 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7089 (Info-next-reference, Info-prev-reference, Info-index)
7090 (Info-index-next, Info-follow-nearest-node)
7091 (Info-copy-current-node-name):
7092 * imenu.el (imenu--make-index-alist)
7093 (imenu-default-create-index-function, imenu-add-to-menubar):
7094 * files.el (basic-save-buffer, recover-file):
7095 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7096 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7097 (checkdoc-message-text, checkdoc-defun):
7098 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7099 * cus-edit.el (customize-changed-options, customize-rogue)
7100 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7101 (custom-variable-mark-to-reset-standard)
7102 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7103 (custom-file):
7104 * completion.el (check-completion-length):
7105 * comint.el (comint-search-arg)
7106 (comint-previous-matching-input-string-position)
7107 (comint-previous-matching-input)
7108 (comint-replace-by-expanded-history-before-point, comint-send-input)
7109 (comint-copy-old-input, comint-backward-matching-input)
7110 (comint-goto-process-mark, comint-set-process-mark):
7111 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7112 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7113
8a61ee22
SM
71142012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7115
66408d1e
SM
7116 * dabbrev.el (dabbrev--ignore-case-p): New function.
7117 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7118 Use it.
7119
8a61ee22
SM
7120 * files.el (automount-dir-prefix): Mark as obsolete.
7121
3c74813a
GM
71222012-05-04 Glenn Morris <rgm@gnu.org>
7123
7124 * patcomp.el, play/bruce.el: Move to obsolete/.
7125
0bfcf5c5
PE
71262012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7127
7128 Fix minor Y10k bugs.
7129 * arc-mode.el (archive-unixdate):
7130 * autoinsert.el (auto-insert-alist):
7131 * calc/calc-forms.el (math-this-year):
7132 * emacs-lisp/copyright.el (copyright-current-year)
7133 (copyright-update-year, copyright):
7134 * tar-mode.el (tar-clip-time-string):
7135 * time.el (display-time-update):
7136 Don't assume years have 4 digits.
7137
78f3273a
CY
71382012-05-04 Chong Yidong <cyd@gnu.org>
7139
7140 * dos-w32.el (file-name-buffer-file-type-alist)
7141 (direct-print-region-use-command-dot-com):
7142 * ffap.el (ffap-menu-regexp):
7143 * find-file.el (ff-special-constructs):
7144 * follow.el (follow-debug):
7145 * forms.el (forms--debug):
7146 * iswitchb.el (iswitchb-all-frames):
7147 * ido.el (ido-all-frames):
7148 * emacs-lisp/timer.el (timer-max-repeats):
7149 * mail/feedmail.el (feedmail-mail-send-hook)
7150 (feedmail-mail-send-hook-queued):
7151 * mail/footnote.el (footnote-signature-separator):
7152 * mail/mailabbrev.el (mail-alias-separator-string)
7153 (mail-abbrev-mode-regexp):
7154 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7155 * progmodes/idlwave.el (idlwave-libinfo-file)
7156 (idlwave-default-completion-case-is-down)
7157 (idlwave-library-routines): Convert defvars to defcustoms.
7158
7159 * mail/rmail.el (rmail-decode-mime-charset):
7160 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7161 (idlwave-shell-fix-inserted-breaks)
7162 (idlwave-shell-activate-alt-keybindings)
7163 (idlwave-shell-use-breakpoint-glyph):
7164 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7165
f7ae6719
SM
71662012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7167
7168 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7169
47086495
WS
71702012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7171
7172 * progmodes/verilog-mode.el (font-lock-keywords):
7173 Fix mis-highligting auto. Reported by Craig Barner.
7174 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 7175 defines from global name space. Reported by Dan Dever.
47086495
WS
7176 (verilog-auto-reset, verilog-auto-reset-widths)
7177 (verilog-auto-tieoff): Support using unbased numbers for
7178 AUTORESET and AUTOTIEOFF.
7179 (verilog-submit-bug-report): Update variable list.
7180 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 7181 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
7182 (verilog-auto-template-lint): Fix hash error when linting modules
7183 with no used templates.
7184 (verilog-warn, verilog-warn-error)
7185 (verilog-warn-fatal): When non-interactive report multiple
7186 warnings before exiting. Suggested by Brad Dobbie.
7187 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7188 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7189 to report unused template errors. Reported by Brad Dobbie.
7190 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 7191 nets, bug438. Reported by Vns Blore.
47086495
WS
7192 (verilog-auto-inout-module, verilog-auto-reg)
7193 (verilog-read-decls, verilog-read-sub-decls-sig)
7194 (verilog-signals-edit-wire-reg, verilog-signals-with):
7195 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 7196 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
7197 "reg" for backwards compatibility presuming Verilog 2001.
7198 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7199 (verilog-preprocess): Fix replication of preprocess output.
7200 Reported by Brad Dobbie.
7201 (verilog-auto-inst-interfaced-ports):
7202 Create verilog-auto-inst-interfaced-ports, bug429.
7203 Reported by Julian Gorfajn.
7204 (verilog-after-save-font-hook)
7205 (verilog-before-save-font-hook): New variable.
7206 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7207 (verilog-save-font-mods): Wrap disabling fontification, reported
7208 by David Rogoff.
7209 (verilog-do-indent, verilog-pretty-declarations-auto)
7210 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7211 Reported by Pierre-David Pfister.
7212 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7213 of class declarations, bug292. Reported by Kevin Heilman.
7214 (verilog-read-decls): Fix 'parameter type' not appearing in
7215 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7216 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 7217 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
7218 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7219 Reported by David Kravitz.
7220
72212012-05-03 Michael McNamara <mac@mail.brushroad.com>
7222
7223 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7224 assignment with tests in ifs and for loops.
7225 (verilog-extended-complete-re, verilog-complete-reg): Change so
7226 that DPI inport functions don't look like fuction declarations.
7227 (verilog-pretty-expr): Don't line up assignment
7228 operations to the test and increment in if and for loops
7229 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 7230 that DPI inport functions don't look like fuction declarations.
47086495 7231
2e51d4b5
KH
72322012-05-03 Kenichi Handa <handa@m17n.org>
7233
7234 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 7235 decoding, and show a warning message without signaling an error
2e51d4b5
KH
7236 (Bug#11282).
7237
2bd785a2
SM
72382012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7239
7240 * emacs-lisp/bytecomp.el
7241 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7242 since cconv.el might have introduced :fun-body, internal-make-closure,
7243 and friends for bytecomp to handle (bug#11391).
7244 * custom.el (defcustom): Avoid ((λ ..) ..).
7245
99d27583
SM
72462012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7247
7248 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7249
55a71479
JB
72502012-05-02 Juanma Barranquero <lekktu@gmail.com>
7251
7252 * notifications.el (dbus-debug):
7253 * term/linux.el (gpm-mouse-enable):
7254 * term/screen.el (xterm-register-default-colors): Declare.
7255
7b97c764
CY
72562012-05-02 Chong Yidong <cyd@gnu.org>
7257
2bc356d7
CY
7258 * cus-start.el (gc-cons-percentage, exec-suffixes)
7259 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7260 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7261 (make-cursor-line-fully-visible, void-text-area-pointer)
7262 (font-list-limit): Add customization data.
7263
7b97c764
CY
7264 * allout.el (allout-exposure-change-functions)
7265 (allout-structure-added-functions)
7266 (allout-structure-deleted-functions)
7267 (allout-structure-shifted-functions): Rename abnormal hooks from
7268 *-hook, and convert to defcustoms.
5d3385a0
JB
7269 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7270 Convert to defcustoms.
7b97c764
CY
7271 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7272
7273 * allout-widgets.el: Hook callers changed.
7274
90207a15 72752012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
7276
7277 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7278 the yanked message in preference to the default value of
7279 buffer-file-coding-system.
7280
90207a15 72812012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 7282
5d3385a0
JB
7283 * window.el (display-buffer--action-function-custom-type):
7284 Fix entry.
d9558cad 7285
90207a15 72862012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
7287
7288 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7289
d80ac57b
GM
72902012-05-01 Glenn Morris <rgm@gnu.org>
7291
976f7668
GM
7292 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7293
beb83b5a
GM
7294 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7295
d80ac57b
GM
7296 * cus-edit.el (custom-variable-documentation): Simplify with format.
7297
b593d6a9 72982012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 7299 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
7300
7301 * simple.el (suggest-key-bindings, execute-extended-command):
7302 Move from keyboard.c.
7303
782fbf2a
CY
73042012-05-01 Chong Yidong <cyd@gnu.org>
7305
7306 * follow.el: Eliminate advice.
7307 (set-process-filter, process-filter, sit-for): Advice deleted.
7308 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
7309 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7310 Vars deleted.
782fbf2a
CY
7311 (follow-auto): Use a :set function.
7312 (follow-mode): Rewritten. Don't advise process filters.
7313 (follow-switch-to-current-buffer-all, follow-scroll-up)
7314 (follow-scroll-down): Assume follow-mode is bound.
7315 (follow-comint-scroll-to-bottom)
7316 (follow-align-compilation-windows): New functions.
7317 (follow--window-sorter): New function.
7318 (follow-all-followers): Use it to explicitly sort windows by their
7319 positions; don't make assumptions about next-window order.
7320 (follow-windows-start-end, follow-delete-other-windows-and-split)
7321 (follow-calc-win-start): Doc fix.
7322 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7323 vertical-motion unnecessarily.
7324 (follow-adjust-window): New function.
7325 (follow-post-command-hook): Use it.
7326 (follow-call-set-process-filter, follow-call-process-filter)
7327 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7328 (follow-stop-intercept-process-output, follow-generic-filter):
7329 Functions deleted.
7330 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
7331 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7332 New functions, replacing advice on scroll-bar-* commands.
87233a14 7333 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
7334
7335 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
7336 (comint-postoutput-scroll-to-bottom): Use it.
7337 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 7338
290af740
GM
73392012-05-01 Glenn Morris <rgm@gnu.org>
7340
7341 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7342 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7343 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7344 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7345 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7346 Remove no-byte-compile setting.
7347
6eac8dc9
SM
73482012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7349
7350 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7351 all-completions code to not return a number in the last cdr.
7352
9cc7819c
LL
73532012-04-30 Leo Liu <sdl.web@gmail.com>
7354
7355 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7356 read-only error.
7357
c93b886f
CY
73582012-04-29 Chong Yidong <cyd@gnu.org>
7359
7360 * follow.el (follow-calc-win-end): Rewrite to handle partial
7361 screen lines correctly (Bug#8390).
7362 (follow-avoid-tail-recenter): Minor cleanup.
7363
8b6c19f4
SM
73642012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7365
7366 Avoid the obsolete `assoc' package.
7367 * speedbar.el (speedbar-refresh): Avoid adelete.
7368 (speedbar-file-lists): Simplify and avoid aput.
7369 * man.el (Man--sections, Man--refpages): New vars, replacing
7370 Man-sections-alist and Man-refpages-alist.
7371 (Man-build-section-alist, Man-build-references-alist):
7372 Use them; avoid aput.
7373 (Man--last-section, Man--last-refpage): New vars.
7374 (Man-follow-manual-reference): Use them.
7375 Use the `default' arg of completing-read.
7376 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7377
c5bb7569
CY
73782012-04-27 Chong Yidong <cyd@gnu.org>
7379
d1d2e2e8
CY
7380 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7381
15cd8efd
CY
7382 * startup.el (x-apply-session-resources): New function.
7383
7384 * term/ns-win.el (ns-initialize-window-system):
7385 * term/w32-win.el (w32-initialize-window-system):
7386 * term/x-win.el (x-initialize-window-system): Use it to properly
7387 set menu-bar-mode and other vars from X resources, even if the
7388 initial frame is not a window-system frame (Bug#2299).
7389
c5bb7569
CY
7390 * subr.el (read-key): Avoid running filter function when setting
7391 up temporary tool bar entries (Bug#9922).
7392
a8e7d6d7 73932012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
7394
7395 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7396 (Bug#11344)
7397
a8e7d6d7 73982012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
7399
7400 * select.el (xselect--encode-string): New function, split from
7401 xselect-convert-to-string.
7402 (xselect-convert-to-string): Use it.
7403 (xselect-convert-to-filename, xselect-convert-to-os)
7404 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7405 returned strings are properly encoded (Bug#11315).
7406
a8e7d6d7 74072012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
7408
7409 * simple.el (delete-active-region): Move to killing custom group.
7410
a8e7d6d7 74112012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
7412
7413 * progmodes/which-func.el (which-func-current): Quote %
7414 characters for mode-line processing.
7415
578c1d4b 74162012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
7417
7418 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7419 reaching eob (Bug#11286).
7420
a8e7d6d7 74212012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
7422
7423 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7424 (gdb): Make it buffer-local and init to zero.
7425 (gdb-control-commands-regexp): New variable.
7426 (gdb-send): Don't wrap in "-interpreter-exec console" if
7427 gdb-control-level is positive. Increment gdb-control-level
7428 whenever the command matches gdb-control-commands-regexp, and
7429 decrement it each time the command is "end". (Bug#11279)
7430
a8e7d6d7 74312012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
7432
7433 * window.el (adjust-window-trailing-edge, enlarge-window)
7434 (shrink-window, window-resize):
7435 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7436 windows (Bug#11276).
7437
b3608390
CY
74382012-04-27 Chong Yidong <cyd@gnu.org>
7439
7440 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 7441 fix "missing prefix" warning. All callers changed.
b3608390 7442
797e6e88
SM
74432012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7444
7445 * emacs-lisp/assoc.el: Move to obsolete/.
7446
e95a67dc
SM
74472012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7448
657c21e4 7449 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
7450
7451 * term/ns-win.el (ns-define-service):
7452 * progmodes/pascal.el (pascal-goto-defun):
7453 * progmodes/js.el (js--read-tab):
7454 * progmodes/etags.el (tags-lazy-completion-table):
7455 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7456 * emacs-lisp/ewoc.el (ewoc--wrap):
7457 * emacs-lisp/assoc.el (aput, adelete, amake):
7458 * doc-view.el (doc-view-convert-current-doc):
7459 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7460
cb3e7ae0
CY
74612012-04-26 Chong Yidong <cyd@gnu.org>
7462
dce04f7f
CY
7463 * image.el (image-type-from-buffer): Only return supported image
7464 type (Bug#9045).
7465
cb3e7ae0
CY
7466 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7467 value, for symmetry with diff-end-of-hunk.
7468 (diff-split-hunk, diff-find-source-location)
7469 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7470 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7471 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7472 compute the relevant hunk or file properly (Bug#6005).
7473 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7474
0d42eb3e
SM
74752012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7476
7477 * vc/vc-mtn.el:
7478 * vc/vc-hg.el:
7479 * vc/vc-git.el:
7480 * vc/vc-dir.el:
7481 * vc/vc-cvs.el:
7482 * vc/vc-bzr.el:
7483 * vc/vc-arch.el:
7484 * vc/vc.el: Replace lexical-let by lexical-binding.
7485 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7486 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7487 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7488
f08ae1c9
CY
74892012-04-26 Chong Yidong <cyd@gnu.org>
7490
8b71081d
CY
7491 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7492 (diff-mode-shared-map): Bind it to / and [remap undo].
7493
f08ae1c9
CY
7494 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7495 (ediff-window-setup-function): Use it as the default, to set up
7496 windows based on whether the current frame is graphical (Bug#2138).
7497 (ediff-choose-window-setup-function-automatically): Make obsolete.
7498
7499 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7500
ef24141c
SM
75012012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7502
cc356a5d
SM
7503 * ffap.el: Remove old code for obsolete package.
7504 (ffap-complete-as-file-p): Remove.
7505
b4ff4f1f
SM
7506 Use completion-table-with-quoting for comint and pcomplete.
7507 * comint.el (comint--unquote&requote-argument)
7508 (comint--unquote-argument, comint--requote-argument): New functions.
7509 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7510 (comint-quote-filename): Use regexp-opt-charset.
7511 (comint--common-suffix, comint--common-quoted-suffix)
7512 (comint--table-subvert): Remove.
7513 (comint-unquote-function, comint-requote-function): New vars.
7514 (comint--complete-file-name-data): Use them with
7515 completion-table-with-quoting.
7516 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7517 * pcomplete.el (pcomplete-arg-quote-list)
7518 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7519 (pcomplete-unquote-argument-function): Default to non-nil.
7520 (pcomplete-unquote-argument): Simplify.
7521 (pcomplete--common-quoted-suffix): Remove.
7522 (pcomplete-requote-argument-function): New var.
7523 (pcomplete--common-suffix): New function.
7524 (pcomplete-completions-at-point): Use completion-table-with-quoting
7525 and completion-table-subvert.
7526
79c4eeb4
SM
7527 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7528 (minibuffer--double-dollars): Preserve properties.
7529 (completion--sifn-requote): New function.
7530 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7531
ef24141c
SM
7532 * minibuffer.el: Add support for completion of quoted/escaped data.
7533 (completion-table-with-quoting, completion-table-subvert): New funs.
7534 (completion--twq-try, completion--twq-all): New functions.
7535 (completion--nth-completion): New function.
7536 (completion-try-completion, completion-all-completions): Use it.
7537
784e7d6e
LL
75382012-04-25 Leo Liu <sdl.web@gmail.com>
7539
dd2ac746
SM
7540 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7541 Use compilation-message if available to find real filename.
784e7d6e 7542
07875ee7
CY
75432012-04-25 Chong Yidong <cyd@gnu.org>
7544
7545 * vc/diff-mode.el (diff-setup-whitespace): New function.
7546 (diff-mode): Use it.
7547
7548 * vc/diff.el (diff-sentinel):
7549 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7550 Whitespace mode variables based on diff style (Bug#8612).
7551
5055880d
LL
75522012-04-25 Leo Liu <sdl.web@gmail.com>
7553
daf75653
LL
7554 * progmodes/python.el (python-send-region): Add suffix .py to the
7555 temp file.
7556
5055880d
LL
7557 * files.el (auto-mode-alist): Use javascript-mode instead.
7558
db9b177b
AH
75592012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7560
ef24141c 7561 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 7562
090bd7cb 7563 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 7564 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 7565 references, see Bug#9.
ef24141c 7566 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 7567 when receiving a fault reply.
ef24141c 7568 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 7569
090bd7cb 7570 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 7571 (soap-inspect-simple-type): New function.
db9b177b 7572
090bd7cb 7573 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 7574 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
7575 (soap-decode-basic-type, soap-encode-basic-type):
7576 support unsignedInt and double basic types.
db9b177b 7577 (soap-resolve-references-for-simple-type)
ef24141c
SM
7578 (soap-parse-simple-type, soap-encode-simple-type): New function.
7579 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 7580
090bd7cb 7581 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
7582 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7583 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7584 the local name of "soapenc:Array".
7585 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
7586 decoding integer, byte and anyURI xsd types.
7587
1fc6097b
CY
75882012-04-25 Chong Yidong <cyd@gnu.org>
7589
7590 * cus-edit.el (custom-buffer-create-internal): Update header text.
7591
afc6df87
EZ
75922012-04-25 Eli Zaretskii <eliz@gnu.org>
7593
7594 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7595 settings on 'system-type', not on 'window-system'. On MS-Windows,
7596 set interactive-mode on in GDB.
7597
dfbd787f
SM
75982012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7599
7600 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7601 (ruby-syntax-propertize-regexp): Remove.
7602 (ruby-syntax-propertize-function): Split regexp into chunks.
7603 Match following code directly.
7604
85222d44
DG
76052012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7606
51a8ea2a
DG
7607 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7608 (ruby-syntax-propertize-regexp): New function.
7609 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7610 by a special keyword.
7611
85222d44
DG
7612 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7613 (ruby-syntax-general-delimiters-goto-beg)
7614 (ruby-syntax-propertize-general-delimiters): New functions.
7615 (ruby-syntax-propertize-function): Use them to handle GDL.
7616 (ruby-font-lock-keywords): Move old handling of GDL...
7617 (ruby-font-lock-syntactic-keywords): .. to here.
7618 (ruby-calculate-indent): Adjust indentation for GDL.
7619
b613912b
MA
76202012-04-24 Michael Albinus <michael.albinus@gmx.de>
7621
b5380639
MA
7622 * notifications.el (top): Remove unneeded declarations.
7623 (notifications-specification-version): Change to "1.2".
e43042fe 7624 (notifications-interface, notifications-notify-method)
b613912b
MA
7625 (notifications-close-notification-method): Fix docstring.
7626 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
7627 (notifications-notify): Add :action-items, :resident and
7628 :transient hints. Change "image_data" to "image-data" and
7629 "image_path" to "image-path".
b613912b
MA
7630 (notifications-get-capabilities): New defun.
7631
257440aa
LL
76322012-04-24 Leo Liu <sdl.web@gmail.com>
7633
7634 * progmodes/python.el: Move hideshow setup to the end.
7635
b1bac16e
MR
76362012-04-24 Martin Rudalics <rudalics@gmx.at>
7637
7638 * window.el (handle-select-window): Clear echo area since this is
7639 no more done by read_char (Bug#11304).
7640
d81bd059
SM
76412012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7642
7643 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7644 and `/ M' to filter-derived-mode.
7645 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7646 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7647 (ibuffer-mark-by-mode): Use default rather than initial-input.
7648 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7649
c4cf6d91
IA
76502012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7651
7652 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7653 (ibuffer-filter-by-derived-mode): New filter.
7654 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7655
7511ded8
CY
76562012-04-23 Andreas Politz <politza@fh-trier.de>
7657
7658 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7659
775c916b
CY
76602012-04-23 Chong Yidong <cyd@gnu.org>
7661
7662 * cus-edit.el (customize-apropos, customize-apropos-options):
7663 Disable matching of non-option variables (Bug#11176).
7664 (customize-option, customize-option-other-window)
7665 (customize-changed-options): Doc fix.
7666 (customize-apropos-options, customize-apropos-faces)
7667 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7668
7669 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 7670 Fix word list splitting (Bug#11132).
46c71e23
CY
7671 (apropos-symbol, apropos-keybinding, apropos-label)
7672 (apropos-property, apropos-function-button)
7673 (apropos-variable-button, apropos-misc-button): New faces.
7674 (apropos-symbol-face, apropos-keybinding-face)
7675 (apropos-label-face, apropos-property-face, apropos-match-face):
7676 Variables removed (Bug#8396).
7677 (apropos-library-button, apropos-format-plist, apropos-print)
7678 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 7679
2df41f9c
MA
76802012-04-23 Michael Albinus <michael.albinus@gmx.de>
7681
7682 * net/xesam.el (xesam-mode-map): Use let-bound map in
7683 initialization. (Bug#11292)
7684
da00640a
AM
76852012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7686
7687 Preserve ispell session localwords when switching back to
7688 original buffer.
7689
090bd7cb
JB
7690 * textmodes/ispell.el (ispell-buffer-session-localwords):
7691 New buffer-local variable to hold buffer session localwords.
ed9265fc 7692 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
7693 localwords.
7694 (ispell-command-loop, ispell-change-dictionary)
7695 (ispell-buffer-local-words): Preserve session localwords when
7696 needed.
7697
090bd7cb
JB
7698 * textmodes/flyspell.el (flyspell-process-localwords)
7699 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 7700
f621ccf5
AM
77012012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7702
090bd7cb
JB
7703 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7704 using obsolete `translation-table-for-input'.
ef24141c
SM
7705 (ispell-word, ispell-process-line, ispell-complete-word):
7706 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 7707
c2d1019e
CY
77082012-04-22 Chong Yidong <cyd@gnu.org>
7709
7710 * cus-edit.el (custom-variable-menu)
7711 (custom-variable-reset-saved, custom-face-menu)
7712 (custom-face-reset-saved): If there is no saved value, make the
7713 "reset-saved" operation bring back the default (Bug#9509).
7714 (custom-face-state): Properly detect themed faces.
7715
eeddc531
CY
7716 * faces.el (face-spec-set): Stop supporting deprecated form of
7717 third arg.
7718
dcbf5805
MA
77192012-04-22 Michael Albinus <michael.albinus@gmx.de>
7720
7721 Move functions from C to Lisp. Make non-blocking method calls
7722 the default. Implement further D-Bus standard interfaces.
7723
ef24141c
SM
7724 * net/dbus.el (dbus-message-internal): Declare function.
7725 Remove unneeded function declarations.
dcbf5805
MA
7726 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7727 (dbus-message-type-method-return, dbus-message-type-error)
7728 (dbus-message-type-signal): Declare variables. Remove local
7729 definitions.
7730 (dbus-interface-dbus, dbus-interface-peer)
7731 (dbus-interface-introspectable, dbus-interface-properties)
7732 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7733 Adapt docstring.
7734 (dbus-interface-objectmanager): New defconst.
7735 (dbus-call-method, dbus-call-method-asynchronously)
7736 (dbus-send-signal, dbus-method-return-internal)
7737 (dbus-method-error-internal, dbus-register-service)
7738 (dbus-register-signal, dbus-register-method): New defuns, moved
7739 from dbusbind.c
7740 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
7741 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7742 New defuns.
dcbf5805
MA
7743 (dbus-call-method-non-blocking): Make it an obsolete function.
7744 (dbus-unregister-object, dbus-unregister-service)
7745 (dbus-handle-event, dbus-register-property)
7746 (dbus-property-handler): Obey the new structure of
7747 `bus-registered-objects'.
7748 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7749 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7750 Use `dbus-call-method'.
7751
cf20dee0
CY
77522012-04-22 Chong Yidong <cyd@gnu.org>
7753
7754 * cus-edit.el (custom-commands, custom-reset-menu)
7755 (Custom-reset-standard): Tweak labels.
7756 (custom-reset-button-menu): Change default to t.
7757 (custom-buffer-create-internal): For the custom-reset-button-menu
7758 case, put the revert button first.
7759 (custom-group-subtitle): New face.
7760 (custom-group-value-create): Align docstring to a specific column.
7761
7762 * wid-edit.el (widget-documentation-link-add): Don't handle
7763 indentation in this function.
7764 (widget-documentation-string-indent-to): New function.
7765 (widget-documentation-string-value-create): Use it.
7766
7767 * autorevert.el (auto-revert):
7768 * epg-config.el (epg):
7769 * ibuffer.el (ibuffer):
7770 * mpc.el (mpc):
7771 * ses.el (ses):
7772 * eshell/eshell.el (eshell):
7773 * net/ange-ftp.el (ange-ftp):
7774 * progmodes/ebnf2ps.el (postscript):
7775 * progmodes/flymake.el (flymake):
7776 * progmodes/prolog.el (prolog):
7777 * progmodes/verilog-mode.el (verilog-mode):
7778 * progmodes/which-func.el (which-func):
7779 * term/xterm.el (xterm):
7780 * textmodes/picture.el (picture):
7781 * textmodes/tildify.el (tildify):
7782 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7783 customization buffers.
7784
583e23bd
AM
77852012-04-22 Alan Mackenzie <acm@muc.de>
7786
7787 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7788 Adding a ) can hide the resulting (..) from searches. Fix it.
7789 Bound the backward search to the position of the existing (.
7790
7dd51bf1
JB
77912012-04-21 Juanma Barranquero <lekktu@gmail.com>
7792
7793 * progmodes/verilog-mode.el (verilog-mode): Check whether
7794 which-func-modes is t before adding verilog-mode.
7795 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7796
d64a438f
LL
77972012-04-21 Leo Liu <sdl.web@gmail.com>
7798
7dd51bf1 7799 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 7800
081e8d65
MV
78012012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7802
7803 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7804 filling of the last column of a table (Bug#5635).
7805 (woman-find-next-control-line): New arg, specifying an additional
7806 regexp component for the control line.
7807 (woman2-roff-buffer): Use it.
7808 (woman-break-table): New function.
7809 (woman2-TS): Use it.
7810
78112012-04-21 Chong Yidong <cyd@gnu.org>
7812
7813 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7814 (woman-horizontal-escapes, woman-negative-vertical-space)
7815 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7816 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7817
ed571ccb
SM
78182012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7819
7820 * minibuffer.el (completion-file-name-table): Complete user names.
7821
39773899
LL
78222012-04-20 Leo Liu <sdl.web@gmail.com>
7823
7824 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7825 and pcase-let*.
7826
de6ff46d
CY
78272012-04-20 Chong Yidong <cyd@gnu.org>
7828
7829 * server.el (server-execute): Respect initial-buffer-choice if it
7830 is a string and there are no files to open (Bug#2825).
7831 (server-create-window-system-frame, server-create-tty-frame):
7832 Don't switch buffers here.
2d0e8e61
CY
7833 (server-process-filter): Only try to open a window system frame if
7834 compiled with graphical support (Bug#8314).
de6ff46d 7835
54071013
DN
78362012-04-20 Dan Nicolaescu <dann@gnu.org>
7837
7838 * battery.el (battery-echo-area-format): Display remaining time
7839 for sysfs backend too (Bug#11269).
7840 (battery-linux-sysfs): Fix conditional for the charge.
7841
f30d612a
CY
78422012-04-20 Chong Yidong <cyd@gnu.org>
7843
c07a4c0b 7844 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
7845 (gdb-inferior-io--init-proc): New function.
7846 (gdb-init-1): Use it.
7847 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7848 responsible for allocating a new pty and hooking it to gdb when
7849 the old pty gets an EIO due to process exit.
7850 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
7851 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7852 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7853
2116e93c
EZ
78542012-04-20 Eli Zaretskii <eliz@gnu.org>
7855
7856 * window.el (window-min-size, window-sizable, window-min-delta)
7857 (window-max-delta, window--resizable, window-resizable)
7858 (window-total-size, window-full-height-p, window-full-width-p)
7859 (window-in-direction, window--resize-mini-window, window-resize)
7860 (window--resize-child-windows-normal)
7861 (window--resize-child-windows, window--resize-siblings)
7862 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 7863 (enlarge-window, shrink-window): Doc fixes.
2116e93c 7864
c07a4c0b 78652012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 7866
ef24141c
SM
7867 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7868 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
7869 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7870 pty process (Bug#11273).
7871 (gdb-update): New arg to suppress talking to the gdb process.
7872 (gdb-done-or-error): Use it.
7873 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7874 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7875 sentinel not being called.
7876
7877 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7878
d02766ab
CY
7879 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7880
c07a4c0b 78812012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
7882
7883 * net/network-stream.el (open-network-stream): Doc fix.
7884
c07a4c0b 78852012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
7886
7887 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7888
c07a4c0b 78892012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
7890
7891 Ensure searching for keywords is case sensitive.
7892
7893 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7894 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7895 (c-defun-name, c-mark-function, c-cpp-define-name)
7896 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 7897 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 7898
ef24141c
SM
7899 * progmodes/cc-mode.el (c-font-lock-fontify-region):
7900 Bind case-fold-search to nil.
f0f6bc35 7901
c07a4c0b 79022012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
7903
7904 * mail/sendmail.el (mail-bury): Call return action with the right
7905 Rmail buffer (Bug#11242).
7906
9a864fa2
CY
7907 * server.el (server-process-filter): Handle corner case where both
7908 tty and nowait options are present (Bug#11102).
7909
539aa513
EZ
79102012-04-20 Eli Zaretskii <eliz@gnu.org>
7911
7912 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
7913 (top level): Put into the executable the ident-style '$Id:' tag on
7914 windows-nt as well.
539aa513 7915
cfc7d5da
SM
79162012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7917
7918 * electric.el (electric-indent-post-self-insert-function): Check that
7919 electric-indent-mode is enabled in current buffer.
7920
5b01685c
JB
79212012-04-19 Juanma Barranquero <lekktu@gmail.com>
7922
7923 * imenu.el (imenu-progress-message): Restore; it is "used" in
7924 erc/erc-imenu.el and net/snmp-mode.el.
7925
4d6769e1
JB
79262012-04-19 Juanma Barranquero <lekktu@gmail.com>
7927
7928 * avoid.el (mouse-avoidance-mode): Mark unused arg.
7929 (mouse-avoidance-nudge-mouse): Remove unused binding.
7930
7931 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7932
7933 * descr-text.el (describe-char):
7934 * progmodes/python.el (python-describe-symbol):
7935 Don't call `toggle-read-only', set `buffer-read-only'.
7936
7937 * imenu.el (imenu-default-goto-function): Mark unused args.
7938 (imenu-progress-message): Remove obsolete macro; all callers changed.
7939
7940 * subr.el (keymap-canonicalize): Remove unused binding.
7941 (read-passwd): Mark unused arg.
7942
7943 * tutorial.el (tutorial--display-changes): Remove unused binding.
7944 (tutorial--save-tutorial-to): Remove unused variable.
7945
7946 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7947 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7948 (package-generate-autoloads, package-menu--generate)
7949 (package-menu--find-upgrades): Remove unused bindings.
7950
7951 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7952 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7953 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7954 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7955 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7956 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7957 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7958 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7959 (cua-delete-char-rectangle): Mark unused args.
7960 (cua-align-rectangle): Remove unused binding.
7961
7962 * mail/rmail.el (compilation--message->loc)
7963 (epa--find-coding-system-for-mime-charset): Declare.
7964
7965 * net/dbus.el (dbus-register-service): Declare.
7966 (dbus-name-owner-changed-handler): Remove unused binding.
7967
7968 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7969 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7970 (nxml-scan-backward-within): Mark unused arg.
7971 (nxml-dynamic-markup-word): Remove unused binding.
7972
7973 * mouse.el (mouse-menu-major-mode-map):
7974 * emacs-lisp/authors.el (authors-scan-change-log)
7975 (authors-add-to-author-list):
7976 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7977 * emacs-lisp/smie.el (smie-auto-fill):
7978 * mail/sendmail.el (mail-bury):
7979 * mail/unrmail.el (unrmail):
7980 * net/tls.el (open-tls-stream):
7981 * textmodes/picture.el (picture-mouse-set-point):
7982 Remove unused bindings.
7983
8c8fc5df
MA
79842012-04-19 Michael Albinus <michael.albinus@gmx.de>
7985
7986 * net/tramp.el (tramp-action-password): Let-bind
7987 `enable-recursive-minibuffers' to t.
7988
a77b0ac9
SS
79892012-04-18 Sam Steingold <sds@gnu.org>
7990
7991 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7992 instead of 'string to accommodate values like [f11].
7993 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7994 * progmodes/gdb-mi.el: Likewise.
7995
12a106a9
LL
79962012-04-18 Leo Liu <sdl.web@gmail.com>
7997
7998 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7999 current buffer.
8000 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8001 LOCAL is nil.
8002
bc6494ef
CY
80032012-04-18 Chong Yidong <cyd@gnu.org>
8004
8005 * simple.el (line-move): Use forward-line if in batch mode
8006 (Bug#11053).
8007
c09c46b2
CS
80082012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8009
8010 * files.el (after-find-file): Do not try to add a final newline if
8011 the buffer is read-only (Bug#11156).
8012
5f6530ea
RS
80132012-04-17 Richard Stallman <rms@gnu.org>
8014
8015 * mail/rmail.el (rmail-start-mail):
8016 Pass (rmail-mail-return...) for the return-action.
8017 Pass (rmail-yank-current-message...) for the yank-action.
8018 (rmail-yank-current-message): New function.
8019 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8020 (rmail-reply): Likewise.
8021 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8022
8023 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 8024 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
8025 buffer, not newbuf.
8026
197b6f3c
JB
80272012-04-17 Juanma Barranquero <lekktu@gmail.com>
8028
8029 * server.el (server-ensure-safe-dir): Simplify.
8030
2311d8e5 80312012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 8032
2311d8e5
GM
8033 * emacs-lisp/smie.el: Provide smarter auto-filling.
8034 (smie-auto-fill): New function.
8035 (smie-setup): Use it.
98fb480e 8036
2311d8e5
GM
8037 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8038
80392012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
8040
8041 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8042 (comment-indent): Use it.
8043
2311d8e5 80442012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
8045
8046 * ses.el: The overall change is to add cell renaming, that is
8047 setting fancy names for cell symbols other than name matching
8048 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 8049 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 8050 (ses-create-cell-variable): New defun.
2311d8e5 8051 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
8052 (ses-relocate-formula): Relocate formulas only for cells the
8053 symbols of which are not renamed, i.e. symbols whose names do not
8054 match regexp "\\`[A-Z]+[0-9]+\\'".
8055 (ses-relocate-all): Relocate values only for cells the symbols of
8056 which are not renamed.
8057 (ses-load): Create cells variables as the (ses-cell ...) are read,
8058 in order to check row col consistency with cell symbol name only
8059 for cells that are not renamed.
8060 (ses-replace-name-in-formula): New defun.
8061 (ses-rename-cell): New defun.
4bdf2ad2 8062
fc72b15c
PO
80632012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8064
8065 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8066 New option (bug#11118).
8067 (perl-calculate-indent): Respect it.
8068
12e10e61
GM
80692012-04-17 Glenn Morris <rgm@gnu.org>
8070
8071 * dired-aux.el (dired-mark-read-string): Doc fix.
8072
30009afd
DA
80732012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8074
8075 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8076 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8077
41f03f4d
GM
80782012-04-17 Glenn Morris <rgm@gnu.org>
8079
8080 * mouse.el (mouse-drag-track):
8081 * speedbar.el (speedbar-frame-mode):
8082 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8083
f45f90f3
LL
80842012-04-16 Leo Liu <sdl.web@gmail.com>
8085
8086 * progmodes/python.el: Trivial cleanup.
8087
94ee8db5
GM
80882012-04-16 Glenn Morris <rgm@gnu.org>
8089
121b8917
GM
8090 * vc/vc.el (vc-string-prefix-p):
8091 * vc/pcvs-util.el (cvs-string-prefix-p):
8092 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8093 * mpc.el (mpc-string-prefix-p):
8094 Make all of these into obsolete aliases for string-prefix-p.
8095 Update callers.
8096 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8097
1197ecfa
GM
8098 * textmodes/two-column.el: Move custom options to the start.
8099 (frame-width): Remove compat definition.
8100 (2C-associate-buffer, 2C-dissociate):
8101 Use with-current-buffer rather than save-excursion.
8102 (2C-dissociate): Force a mode-line update.
8103 (2C-autoscroll): Use ignore-errors.
8104
099e7202
GM
8105 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8106 Autoload trivia.
8107
bf350d6a
GM
8108 * emacs-lisp/cl-extra.el (*random-state*):
8109 Remove unnecessary declaration.
8110
0e829eab
GM
8111 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8112
e3ad7552
GM
8113 * play/cookie1.el (cookie-snarf):
8114 Give an explicit error if input file cannot be read.
8115
68892d27
GM
8116 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8117
20f0c46d
GM
8118 * progmodes/perl-mode.el (c-macro-expand):
8119 Remove unnecessary autoload (it is in loaddefs.el).
8120
5a0978ce
GM
8121 * textmodes/picture.el (picture-desired-column)
8122 (picture-update-desired-column): Convert comments to doc-strings.
8123 (picture-substitute): Remove function.
8124 (picture-mode-map): Initialize in the defvar.
8125
6b955486
GM
8126 * woman.el: Remove eval-after-load for tar-mode.
8127 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8128 (woman-tar-extract-file): Autoload it.
8129
94ee8db5
GM
8130 * frame.el (automatic-hscrolling): Make this alias obsolete.
8131
177eca34
AM
81322012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8133
090bd7cb 8134 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 8135 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
8136 (ispell-dictionary-base-alist): Revert to original XEmacs
8137 friendly version for default. [:alpha:] will be added in
090bd7cb 8138 `ispell-set-spellchecker-params' if needed.
177eca34 8139
c505aaeb
CY
81402012-04-16 Chong Yidong <cyd@gnu.org>
8141
b19dd9d1 8142 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
8143 (imagemagick-register-types): Use it.
8144 (imagemagick-types-inhibit): Add :set function. Allow new value
8145 of t to inhibit all types.
8146
8147 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8148 so we can preload it.
8149
8150 * loadup.el (fboundp): Preload regexp-opt, needed by
8151 imagemagick-register-types.
8152
60efac0f
CY
81532012-04-15 Chong Yidong <cyd@gnu.org>
8154
8155 * frame.el (scrolling): Remove nearly unused customization group.
8156
8157 * scroll-all.el (scroll-all-mode): Move to windows group.
8158
5dd1713e
CY
81592012-04-15 Chong Yidong <cyd@gnu.org>
8160
8161 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8162
e6fd457e
CY
81632012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8164
8165 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 8166 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 8167
e153c136
GM
81682012-04-15 Glenn Morris <rgm@gnu.org>
8169
8170 * simple.el (process-file-side-effects): Doc fix.
8171
e6fd457e 81722012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
8173
8174 * international/mule-cmds.el (set-language-environment): Doc fix.
8175
3603c3b1
JB
81762012-04-14 Juanma Barranquero <lekktu@gmail.com>
8177
8178 * server.el (server-auth-key, server-generate-key): Doc fixes.
8179 (server-get-auth-key): Doc fix. Use `string-match-p'.
8180 (server-start): Reflow docstring.
8181
e6de100c
LI
81822012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8183
8184 * server.el (server-generate-key): `called-interactively-p'
8185 requires a parameter.
8186
29734c21
MN
81872012-04-14 Michal Nazarewicz <mina86@mina86.com>
8188
8189 * server.el (server-auth-key): New variable.
75f1671a 8190 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
8191 (server-start): Use the new variable and functions to allow
8192 setting a permanent server key (bug#9423).
8193
d65c9521
LL
81942012-04-14 Leo Liu <sdl.web@gmail.com>
8195
8196 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8197
5ae255c7
PE
81982012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8199
8200 Spelling fixes.
8201 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8202 Emacs uses American spelling.
8203
d5e6342e
JB
82042012-04-14 Juanma Barranquero <lekktu@gmail.com>
8205
8206 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8207 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8208 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8209 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8210
ab036cd7
SM
82112012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8212
8213 * progmodes/which-func.el (which-func-modes): Change default.
8214
35dc09a1 82152012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
8216
8217 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8218 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8219
35dc09a1 82202012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
8221
8222 * custom.el (custom-theme-set-variables): Doc fix.
8223
35dc09a1 82242012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
8225
8226 * international/mule.el (set-auto-coding-for-load): Doc fix.
8227
35dc09a1 82282012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 8229
35dc09a1
GM
8230 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8231 imenu work again for Objective C Mode. Correct the *-index values,
8232 these having been disturbed by a previous change in 2011-08.
57f845ee 8233
0de3da9f
AM
8234 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8235 Correct two search limits.
8236
35dc09a1 82372012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
8238
8239 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8240
35dc09a1 82412012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
8242
8243 * international/characters.el: Fix sorting.
8244
35dc09a1 82452012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
8246
8247 * international/characters.el: Add more missing Latin case pairs.
8248
35dc09a1 82492012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
8250
8251 * files.el (dir-locals-set-class-variables): Doc fix.
8252
35dc09a1 82532012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 8254
3f1b5bf8
EZ
8255 * international/characters.el: Add set-case-syntax-pair call for
8256 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8257 counterpart. (Bug#11209)
8258
9f847f41
EZ
8259 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8260
35dc09a1 82612012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
8262
8263 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8264
35dc09a1 82652012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 8266
35dc09a1
GM
8267 * textmodes/ispell.el (ispell-dictionary-base-alist):
8268 Add data for Hebrew.
e2627d21 8269
35dc09a1 82702012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 8271
35dc09a1
GM
8272 * net/rcirc.el (rcirc-cmd-quit):
8273 Revert 2012-03-18 change (Bug#11192).
5c14e333 8274
35dc09a1 82752012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
8276
8277 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8278
35dc09a1 82792012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 8280
4517fe3a
SM
8281 * minibuffer.el (completion-in-region-mode-map):
8282 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 8283
b472a594
VD
82842012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8285
8286 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8287
09b95ce3
MY
82882012-04-13 Masatake YAMATO <yamato@redhat.com>
8289
8290 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8291 to allow `C-M-f' and `C-M-b' to move to the nearest path
8292 separator (bug#9511).
8293
4b63a9ca
LI
82942012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8295
8296 * avoid.el: Require cl when compiling. And also move the
8297 `provide' to the end.
8298
7b55b8bf
TV
82992012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8300
8301 * avoid.el (mouse-avoidance-banish-position): New variable.
8302 (mouse-avoidance-banish-destination): Use it (bug#10165).
8303
adedaa1f
LL
83042012-04-13 Leo Liu <sdl.web@gmail.com>
8305
8306 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8307
70e74021
KB
83082012-04-13 Ken Brown <kbrown@cornell.edu>
8309
8310 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 8311 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
8312 (browse-url-filename-alist): For the same reason, don't modify
8313 file:// URLs on Cygwin.
8314
e75e89ba
SM
83152012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8316
8317 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8318 the region on shift if the binding is already shifted (bug#11221).
8319
82f289a4
GM
83202012-04-12 Glenn Morris <rgm@gnu.org>
8321
8322 * mail/mailpost.el: Move to obsolete/.
8323
d333dc4c
DA
83242012-04-12 Drew Adams <drew.adams@oracle.com>
8325
8326 * imenu.el (imenu--generic-function): Ignore invisible definitions
8327 (bug#10123).
8328
0d15b5ba
VD
83292012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8330
8331 * hexl.el (hexl-bits): New variable.
8332 (hexl-options): Mention the variable in the doc string.
75f1671a 8333 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 8334 (hexl-mode): Mention the new variable.
75f1671a
JB
8335 (hexl-mode, hexl-current-address, hexl-current-address):
8336 Use the displen.
0d15b5ba
VD
8337 (hexl-ascii-start-column): New function.
8338 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8339 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8340
64a440db
AM
83412012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8342
8343 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8344 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8345 the encoding, as expected by hunspell.
8346
6decb6c2
SM
83472012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8348
8349 * battery.el (battery--linux-sysfs-regexp): New const.
8350 (battery-status-function): Use it. Remove yeeloong special case.
8351 (battery-yeeloong-sysfs): Remove.
8352 (battery-echo-area-format): Remove yeeloong special case.
8353
088be6fb
SM
83542012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8355
6622e416
SM
8356 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8357 Reported by Noah Friedman.
8358
088be6fb
SM
8359 * subr.el (read-passwd): Use read-string.
8360
b49f886e
LMI
83612012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8362
8363 * vcursor.el (vcursor-move): Increase the priority of the overlay
8364 (bug#9663).
8365
a63067fc
DD
83662012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8367
8368 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8369 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8370
ac3cf14a
WS
83712012-04-11 William Stevenson <yhvh2000@gmail.com>
8372
8373 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8374 define-minor-mode (bug#10760).
8375
c4fc691b 83762012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 8377
4d6769e1 8378 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
8379 that directories matching `grep-find-ignored-files' won't be
8380 pruned (bug#10351).
8381
af23e2e5
CY
83822012-04-11 Chong Yidong <cyd@gnu.org>
8383
8384 * startup.el (command-line): Remove support for long-obsolete
8385 variable font-lock-face-attributes.
8386
ab7ce8c1
GM
83872012-04-11 Glenn Morris <rgm@gnu.org>
8388
8389 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8390
de8c03dc
SM
83912012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8392
8393 * window.el (window--state-get-1): Obey window-point-insertion-type.
8394
050cc68b
LB
83952012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8396
8397 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8398 to previous function when point is on the first character of a
75f1671a 8399 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 8400
a38c310c
GM
84012012-04-11 Glenn Morris <rgm@gnu.org>
8402
effed0c2
GM
8403 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8404 not just file-errors.
8405
a38c310c
GM
8406 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8407 (vc-bzr-sha1): Use internal sha1.
8408
0221e323
SM
84092012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8410
8411 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8412
43956923
SG
84132012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8414
8415 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8416 that start in the middle of the line (bug#10496).
8417
6a8c9eaf
DN
84182012-04-10 Dan Nicolaescu <dann@gnu.org>
8419
8420 * battery.el (battery-linux-proc-acpi): Only one battery is
8421 discharged at a time, but that seems to confuse battery.el when
8422 computing `rate-type' for the battery not being discharged
8423 (bug#10332).
8424
1930bf5d
SM
84252012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8426
2a718f6f
SM
8427 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8428
599430d0
SM
8429 * international/quail.el: Use dolist and simplify.
8430 (quail-define-package, quail-update-keyboard-layout)
8431 (quail-define-rules): Use dolist.
8432 (quail-insert-kbd-layout, quail-get-translation): CSE.
8433
a2754b6c
SM
8434 * tmm.el: Use dolist, remove left over hook.
8435 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8436 Use dolist.
8437 (calendar-load-hook): Don't mess with it.
8438
1930bf5d
SM
8439 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8440 Use derived-mode-p. Run the diff asynchronously.
8441
9f67961c
LMI
84422012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8443
8444 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8445
2a8ce227
JB
84462012-04-10 Juanma Barranquero <lekktu@gmail.com>
8447
8448 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8449 (list-dynamic-libraries--loaded): New function.
8450 (list-dynamic-libraries--refresh): Use it.
8451
8f33b5f8
NW
84522012-04-10 Nathan Weizenbaum <nweiz@google.com>
8453
1930bf5d
SM
8454 * progmodes/python.el (python-fill-paragraph):
8455 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
8456 disabled (bug#7018).
8457
b12f0439
L
84582012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8459
1930bf5d 8460 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
8461 DOS/MS Windows for the Baltic languages. There are still plenty
8462 of texts written in this encoding/codepage (bug#6519).
b12f0439 8463
57c3bd01
GM
84642012-04-10 Glenn Morris <rgm@gnu.org>
8465
8466 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8467 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8468
6c3eab30
FA
84692012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8470
1930bf5d 8471 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
8472 next-line "n" and previous-line "p" in order to make recentf more
8473 consistent with ibuffer, dired or org-mode (bug#9387).
8474
24d78a88
LMI
84752012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8476
bc72b5d9
LMI
8477 * image.el (put-image): Return the overlay created instead of the
8478 optional input string (bug#7834). Note that this may break code
8479 that is (for some reason or other) depending on `put-image'
8480 returning the string.
8481
bd2dba5a
LMI
8482 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8483
74beb59f
LMI
8484 * simple.el (zap-to-char): Allow zapping using input methods
8485 (bug#1580).
8486
24d78a88
LMI
8487 * textmodes/fill.el (fill-region): Leave point and mark where they
8488 were before filling (bug#5399).
8489
263f20cd
GM
84902012-04-09 Glenn Morris <rgm@gnu.org>
8491
8492 * version.el (emacs-bzr-get-version):
8493 Handle lightweight checkouts of local branches.
8494
58d1f797
AS
84952012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8496
263f20cd 8497 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 8498
b4d3bc10
CY
84992012-04-09 Chong Yidong <cyd@gnu.org>
8500
8501 * custom.el (custom-variable-p): Return nil for non-symbol
8502 arguments instead of signaling an error.
8503 (user-variable-p): Obsolete alias for custom-variable-p.
8504
8505 * apropos.el (apropos-variable):
8506 * files-x.el (read-file-local-variable):
8507 * simple.el (set-variable):
8508 * woman.el (woman-mini-help):
8509 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8510
fd06db5d
GM
85112012-04-09 Glenn Morris <rgm@gnu.org>
8512
e5fcdb5e
GM
8513 * startup.el (normal-top-level): Don't look for leim-list.el
8514 in places where it will not be found. (Bug#910)
8515
fd06db5d
GM
8516 * international/mule-cmds.el (set-default-coding-systems):
8517 * files.el (normal-mode):
8518 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8519 This function was removed with ucs-tables.el in 2008.
8520
b39bb7e1
EZ
85212012-04-08 Eli Zaretskii <eliz@gnu.org>
8522
8523 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8524 ispell-encoding8-command to "-i", without a trailing space.
8525 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8526 separate command-line arguments, to specify the encoding, since
8527 that's how hunspell expects it.
8528
5c5b8e23
GM
85292012-04-08 Glenn Morris <rgm@gnu.org>
8530
8531 * loadup.el: Load bindings before cus-start.
8532 This reduces somewhat the number of "rogue" settings in emacs -Q.
8533
a1ed8b05
GM
85342012-04-07 Glenn Morris <rgm@gnu.org>
8535
8536 * version.el (emacs-bzr-get-version): New function.
dfae128a 8537 (emacs-bzr-version): New variable.
a1ed8b05
GM
8538 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8539 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8540
b142f158
EZ
85412012-04-07 Eli Zaretskii <eliz@gnu.org>
8542
dfae128a
GM
8543 * international/uni-bidi.el, international/uni-category.el:
8544 * international/uni-combining.el, international/uni-decimal.el:
8545 * international/uni-decomposition.el, international/uni-digit.el:
8546 * international/uni-lowercase.el, international/uni-mirrored.el:
8547 * international/uni-name.el, international/uni-numeric.el:
8548 * international/uni-titlecase.el, international/uni-uppercase.el:
8549 Update for Unicode 6.1.
b142f158 8550
9078ead6
EZ
85512012-04-07 Eli Zaretskii <eliz@gnu.org>
8552
8553 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8554
f23d2c7d
LMI
85552012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8556
8557 * window.el (shrink-window): Mention the `window-min-height'
8558 variable in the doc string.
8559
0a0a3573
BG
85602012-04-05 Bastien Guerry <bzg@altern.org>
8561
8562 * color.el (color-lighten-name): Fix typo.
8563
e5248ac9
SM
85642012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8565
8566 * server.el (server--on-display-p): New function.
8567 (server--on-display-p): Use it.
8568
b4243e22
GV
85692012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8570
8571 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8572 (bug#11145).
8573
305d9f44
SM
85742012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8575
8576 * comint.el (comint--common-quoted-suffix): Check string boundary
8577 before comparing (bug#11158).
8578 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8579
3d439cd1
CY
85802012-04-04 Chong Yidong <cyd@gnu.org>
8581
321cc491
CY
8582 * minibuffer.el (completion-extra-properties): Doc fix.
8583
3d439cd1
CY
8584 * subr.el (delayed-warnings-hook): Doc fix.
8585
2d562c0f
DU
85862012-04-04 Daiki Ueno <ueno@unixuser.org>
8587
8588 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8589 selection (Bug#11159).
8590 (epa-insert-keys): Inform that the default public key will be
8591 exported if no key is selected.
8592
4443f204
RS
85932012-04-04 Richard Stallman <rms@gnu.org>
8594
8595 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8596
529c06b6
CY
85972012-04-03 Chong Yidong <cyd@gnu.org>
8598
8599 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8600 mail-insert-file, not its obsolete alias mail-attach-file.
8601
66b907dc
MA
86022012-04-03 Michael Albinus <michael.albinus@gmx.de>
8603
8604 * notifications.el (notifications-notify): Fix docstring.
8605
c0ea195d
GM
86062012-04-02 Glenn Morris <rgm@gnu.org>
8607
8608 * emacs-lisp/authors.el (authors-aliases): Another addition.
8609
5ca64e00
MA
86102012-04-02 Michael Albinus <michael.albinus@gmx.de>
8611
8612 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8613 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8614 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8615
42ee526b
CY
86162012-04-01 Chong Yidong <cyd@gnu.org>
8617
8618 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8619 Handle root directory properly.
8620 (copy-directory): Caller changed.
8621
8622 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8623 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8624
0b021094
GM
86252012-03-31 Glenn Morris <rgm@gnu.org>
8626
40f86458
GM
8627 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8628
7019c177
GM
8629 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8630
a1daddd6
GM
8631 * calendar/calendar.el (calendar-window-list)
8632 (calendar-hide-window): Restore. (Bug#11140)
8633 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8634
0b021094
GM
8635 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8636
40311efc
TV
86372012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8638
8639 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8640 Check if file is a symlink (Bug#10489).
8641
8642 * files.el (copy-directory): Likewise.
8643
5319014e
CY
86442012-03-30 Chong Yidong <cyd@gnu.org>
8645
8646 * image.el (imagemagick-types-inhibit)
8647 (imagemagick-register-types): Doc fix.
8648
935d1290
AM
86492012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8650
090bd7cb 8651 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 8652 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 8653 and treats ~word as ordinary words in pipe mode.
935d1290 8654
61c6e8fd
GM
86552012-03-30 Glenn Morris <rgm@gnu.org>
8656
8657 * tutorial.el (help-with-tutorial): Ensure local variables don't
8658 happen to make the buffer read-only. (Bug#11127)
8659
81fdff00
SM
86602012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8661
8662 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8663 (perl-calculate-indent): Return `noindent' in strings.
8664
6e7a6ec0
SS
86652012-03-28 Sam Steingold <sds@gnu.org>
8666
8667 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8668 instead of the broken adhockery which does not prevent calendar
8669 buffers from being displayed at random after exit.
8670 (calendar-window-list, calendar-hide-window): Remove the broken
8671 adhockery.
8672
fee88ca0
GM
86732012-03-28 Glenn Morris <rgm@gnu.org>
8674
8675 * replace.el (query-replace-map): Doc fix.
8676
38de3354
AS
86772012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8678
8679 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8680 contents. (Bug#11109)
8681
b973155e
SM
86822012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8683
8684 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8685 (bug#11077).
8686 (avl-tree--check, avl-tree--check-node): New funs.
8687
dcb6e7b3
MR
86882012-03-27 Martin Rudalics <rudalics@gmx.at>
8689
8690 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
8691 (switch-to-prev-buffer, switch-to-next-buffer):
8692 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
8693 showing a buffer already is done on the same frame.
8694
b4fa35fa
GM
86952012-03-27 Glenn Morris <rgm@gnu.org>
8696
8697 * startup.el (mail-host-address): Doc fix.
8698
f9210e18
SM
86992012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8700
8701 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8702 than 197 variables.
8703
c0bf7753
AF
87042012-03-26 Ami Fischman <ami@fischman.org>
8705
8706 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8707
33da7b16
GM
87082012-03-26 Glenn Morris <rgm@gnu.org>
8709
02243d9d
GM
8710 * files.el (save-buffers-kill-emacs): Doc fix.
8711
33da7b16
GM
8712 * startup.el (normal-top-level, command-line, command-line-1):
8713 Give them doc strings.
8714
e5a69fd0
EZ
87152012-03-25 Eli Zaretskii <eliz@gnu.org>
8716
8717 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 8718 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 8719
9a69676a
CY
87202012-03-25 Chong Yidong <cyd@gnu.org>
8721
4125cb8b
CY
8722 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8723 theme if it was previously enabled before (Bug#11031).
8724
dd470960
CY
8725 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8726 spec with custom-face-get-current-spec if its :shown-value is not
8727 determined yet (Bug#9337).
4125cb8b 8728 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 8729
9a69676a
CY
8730 * button.el (button-at): Minor addition to docstring.
8731
6e7e90fa
SL
87322012-03-24 Simon Leinen <simon.leinen@gmail.com>
8733
8734 * vc/vc.el (vc-merge): Fix a prompt.
8735
f06e2758
CY
87362012-03-24 Chong Yidong <cyd@gnu.org>
8737
8738 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8739 point (Bug#9623).
8740
6e7e90fa
SL
8741 * button.el (button-at): Minor addition to docstring.
8742
b9d0879b
SM
87432012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8744
8745 * newcomment.el (comment-choose-indent): No space after BOL.
8746
e71cebb3
SS
87472012-03-22 Sam Steingold <sds@gnu.org>
8748
8749 * window.el (switch-to-prev-buffer): Revert last patch because the
8750 bug turned out to be an advertised feature (Elisp manual 28.14).
8751
335aff35
GM
87522012-03-22 Glenn Morris <rgm@gnu.org>
8753
8754 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8755 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8756
c676576a
LMI
87572012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8758
8759 * net/network-stream.el (network-stream-open-starttls): Make error
8760 message under Windows be less misleading.
8761
126f3d39
LW
87622012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8763
8764 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8765 understands (bug#9942).
8766
64fee311
CY
87672012-03-22 Chong Yidong <cyd@gnu.org>
8768
8769 * simple.el (end-of-visible-line): Handle return value of
8770 next-single-property-change properly (Bug#9371).
8771
a640d29a
KH
87722012-03-22 Kenichi Handa <handa@m17n.org>
8773
8774 * international/quail.el (quail-insert-kbd-layout): Fix previous
8775 change. To avoid unwanted bidi reordering, use
8776 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8777
39675016
DG
87782012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8779
8780 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8781 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8782 (ruby-beginning-of-indent): Be more careful with the difference
8783 between word-boundary and symbol boundary.
8784 (ruby-mode-syntax-table): Make : a symbol constituent.
8785
0a6934fc 87862012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 8787
3d008e4f
SM
8788 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8789
0a6934fc
SM
87902012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8791
af67c9d7
SM
8792 * progmodes/etags.el (tags-completion-at-point-function):
8793 Improve last fix.
8794
1acad97c
SM
8795 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8796
e298b5da
SS
87972012-03-21 Sam Steingold <sds@gnu.org>
8798
8799 * progmodes/etags.el (tags-completion-at-point-function):
8800 Avoid the error when point is inside the pattern.
8801
91d82a70
JY
88022012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8803
8804 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8805 line (Bug#10855).
8806
69188b79
CY
88072012-03-21 Drew Adams <drew.adams@oracle.com>
8808
8809 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8810
99fc91fe
AK
88112012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8812
8813 * ido.el (ido-set-current-directory, ido-read-internal)
8814 (ido-choose-completion-string, ido-completion-help): Handle nil
8815 value of ido-completion-buffer (Bug#11008).
8816
087bbb4c
SS
88172012-03-21 Sam Steingold <sds@gnu.org>
8818
8819 * window.el (switch-to-prev-buffer): Do not switch to a visible
8820 window previous buffer, just like with the frame previous buffers.
8821
fb5b8aca
CY
88222012-03-21 Chong Yidong <cyd@gnu.org>
8823
8824 * faces.el (make-face, make-empty-face, copy-face):
8825 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8826 Doc fixes.
8827
dc9924b8
SM
88282012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8829
8830 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8831 (widget-complete): Remove broken use of it.
8832
f0bcceb9
CY
88332012-03-20 Chong Yidong <cyd@gnu.org>
8834
dc9924b8
SM
8835 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8836 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
8837 characters.
8838
ee52ebf3
TH
88392012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8840
8841 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8842 to draw rectangles, not squares. (Regression introduced by revno
8843 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8844
4c5779ab
CY
88452012-03-18 Chong Yidong <cyd@gnu.org>
8846
8847 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8848 it is not yet defined (for temacs).
8849
15360934
LL
88502012-03-18 Leo Liu <sdl.web@gmail.com>
8851
735135f9
PE
8852 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
8853 prefix.
15360934 8854
d9a8eb66
EZ
88552012-03-17 Eli Zaretskii <eliz@gnu.org>
8856
8857 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8858 (ispell-choices-win-default-height, ispell-silently-savep)
8859 (ispell-dictionary-alist, ispell-encoding8-command)
8860 (ispell-check-version, ispell-aspell-find-dictionary)
8861 (ispell-valid-dictionary-list, ispell-words-keyword)
8862 (ispell-get-word, ispell-internal-change-dictionary)
8863 (ispell-region, ispell-skip-region-list)
8864 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8865 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8866 (ispell-message-text-end, ispell-message)
8867 (ispell-buffer-local-parsing): Doc fix.
8868
f02ff80d
J
88692012-03-13 Jambunathan K <kjambunathan@gmail.com>
8870
8871 * htmlfontify.el: Add support for code block fontification for ODT
8872 export (Bug #9914).
8873 (hfy-optimisations): Define new option
8874 `body-text-only'
8875 (hfy-fontify-buffer): Honor above setting.
8876 (hfy-begin-span, hfy-end-span): New routines factored out form
8877 `hfy-fontify-buffer'.
8878 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8879 that permit insertion of custom tags.
8880 (hfy-fontify-buffer): Use above handlers.
8881 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8882 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 8883 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 8884 over multiple runs. This is made possible by having the caller let
f02ff80d
J
8885 bind a special variable `hfy-user-sheet-assoc'.
8886 (htmlfontify-string): New defun.
8887 (hfy-compile-face-map): Make sure that the last char in the
8888 buffer is correctly fontified.
8889 (hfy-face-resolve-face): Whitespace only change.
8890
9ac7a13f
EZ
88912012-03-17 Eli Zaretskii <eliz@gnu.org>
8892
8893 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8894 message more clear.
8895
e2b5bdd7
LL
88962012-03-16 Leo Liu <sdl.web@gmail.com>
8897
8898 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8899
2e492df3
AM
89002012-03-16 Alan Mackenzie <acm@muc.de>
8901
8902 Further optimise the handling of large macros.
8903
8904 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8905 limit to a call of `c-literal-limits'.
8906 (c-determine-+ve-limit): New function.
dc9924b8
SM
8907 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8908 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
8909 In CASE 5B, restrict a search limit to 500.
8910 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8911
8912 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8913 Restrict macro bounds to +-500 from after-change's BEG END.
8914
50e94f0c
LL
89152012-03-16 Leo Liu <sdl.web@gmail.com>
8916
8917 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8918
6f09f6ed
AH
89192012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
8920
8921 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 8922 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 8923
c7e73d51
GM
89242012-03-16 Glenn Morris <rgm@gnu.org>
8925
da986230
GM
8926 * view.el (view-buffer, view-buffer-other-window)
8927 (view-buffer-other-frame): Doc fixes re special mode-class.
8928
0835f01e
GM
8929 * subr.el (eval-after-load): If named feature is provided not from
8930 a file, run after-load forms. (Bug#10946)
8931
c7e73d51
GM
8932 * calendar/calendar.el (calendar-insert-at-column):
8933 Handle non-unit-width characters a bit better. (Bug#10978)
8934
3f2eafd1
CY
89352012-03-15 Chong Yidong <cyd@gnu.org>
8936
8937 * emacs-lisp/ring.el (ring-extend): New function.
8938 (ring-insert+extend): Extend the ring correctly (Bug#11019).
8939
8940 * comint.el (comint-read-input-ring)
8941 (comint-add-to-input-history): Grow comint-input-ring lazily.
8942
103af3fe
SM
89432012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8944
663b1677
SM
8945 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8946 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8947
103af3fe
SM
8948 * imenu.el: Fix multiple inheritance breakage (bug#9199).
8949 (imenu-add-to-menubar): Don't add a redundant index.
8950 (imenu-update-menubar): Handle a dynamically composed keymap.
8951
899cb7cb
KY
89522012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
8953
8954 * mail/sendmail.el (mail-encode-header):
8955 Bind rfc2047-encode-encoded-words to nil.
8956
3809f91d
GM
89572012-03-13 Glenn Morris <rgm@gnu.org>
8958
8959 * calendar/calendar.el (calendar-string-spread):
8960 Handle non-unit-width characters a bit better. (Bug#10978)
8961
9e345a01
LL
89622012-03-13 Leo Liu <sdl.web@gmail.com>
8963
8964 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8965 directory and file as argument (Bug#10822).
8966
4a07df36
KS
89672012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8968
8969 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8970 For dynamically generated code, follow $PC.
8971 (gdb-disassembly-handler-custom): Handle no function name case.
8972
4aaa9356
TL
89732012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8974
8975 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8976 * emulation/ws-mode.el (ws-query-replace):
8977 * sort.el (sort-regexp-fields):
8978 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8979
225979da
SM
89802012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8981
8982 * dabbrev.el: Fix cycle completion order (bug#10963).
8983 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8984 (dabbrev-completion): Don't use an obarray; provide
8985 a cycle-sort-function.
8986
e2f1fdab
LL
89872012-03-12 Leo Liu <sdl.web@gmail.com>
8988
dc9924b8 8989 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
8990 (kill-do-not-save-duplicates): Doc fix.
8991
b19490ed
SM
89922012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8993
8994 * dabbrev.el: Fix cycle completion (bug#10963).
8995 Use lexical binding and wrap to 80 columns.
8996 (dabbrev-completion): Delay computing the list of completions.
8997
4b05d722
KH
89982012-03-12 Kenichi Handa <handa@m17n.org>
8999
9000 * international/quail.el (quail-insert-kbd-layout): Surround each
9001 row by LRO and PDF instead of inserting many LRMs. Pad the left
9002 and right of each non-spacing marks. Insert invisible space
9003 between lower and upper characters to prevent composition.
9004
dbbc2e69
SM
90052012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9006
9007 * minibuffer.el (minibuffer-complete): Don't get confused when the
9008 function is run twice via different commands (bug#10958).
9009 (complete-with-action): Fix docstring.
9010
292112ed
CY
90112012-03-12 Chong Yidong <cyd@gnu.org>
9012
5d1ac394
CY
9013 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9014 (nxml-completion-at-point-function): New function.
9015 (nxml-mode): Use it.
9016 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9017
292112ed
CY
9018 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9019 Load generated autoloads file before byte compiling (Bug#10970).
9020 (package--make-autoloads-and-compile): New helper fun.
9021
4098f8f7
CS
90222012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9023
9024 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9025
8f754691
MA
90262012-03-11 Michael Albinus <michael.albinus@gmx.de>
9027
9028 * autorevert.el (auto-revert-handler): Ensure, that
9029 file-readable-p is applied only for local files or in
9030 auto-revert-tail-mode.
9031
e29ab36b
AS
90322012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9033
dbbc2e69
SM
9034 * server.el (server-eval-at): Handle non-tcp connections.
9035 Decode result string.
ad0bf5b6 9036
e29ab36b
AS
9037 * server.el (server-msg-size): New constant.
9038 (server-reply-print): New function.
9039 (server-eval-and-print): Use it.
9040 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9041 Handle -print-nonl.
9042
de5939ba
CS
90432012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9044
9045 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9046 (Bug#10987).
9047
0c93eabf
CY
90482012-03-11 Chong Yidong <cyd@gnu.org>
9049
397a688f
CY
9050 * simple.el (goto-line): Doc fix (Bug#9938).
9051
2cc775f9
CY
9052 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9053
0c93eabf
CY
9054 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9055 when finished (Bug#10963).
9056
c491fa41
MR
90572012-03-11 Martin Rudalics <rudalics@gmx.at>
9058
9059 * window.el (split-window-below): Fix bug in case where
9060 split-window-keep-point is nil (Bug#10971).
9061
300e8fa5
JL
90622012-03-11 Juri Linkov <juri@jurta.org>
9063
9064 * replace.el (replace-highlight): Set isearch-word to nil
9065 unconditionally. (Bug#10887)
9066
dbf6c5a1
EZ
90672012-03-10 Eli Zaretskii <eliz@gnu.org>
9068
9069 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9070 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 9071 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
9072 (mairix-widget-create-query): Add usage information about mairix
9073 search forms: negating words, searching for substrings, etc.
9074
b9e501de
JP
90752012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9076
9077 * international/fontset.el (font-encoding-alist): Add an entry for
9078 ksx1001 (Bug#5667).
9079
92795c91
RS
90802012-03-10 Richard Stallman <rms@gnu.org>
9081
1694e6c1
RS
9082 * mail/sendmail.el (mail-encode-header):
9083 Set rfc2047-encode-encoded-words.
9084
607e8555
RS
9085 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9086
de3bc99a
RS
9087 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9088 view buffer means not swapped.
9089 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9090 (rmail-write-region-annotate): Error if real text has disappeared.
9091
92795c91
RS
9092 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9093
699bd04e
CY
90942012-03-10 Chong Yidong <cyd@gnu.org>
9095
9096 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
9097 * emulation/cua-base.el (cua--init-keymaps):
9098 Add delete-forward-char to remappings (Bug#9666).
699bd04e 9099
570a1714
MR
91002012-03-10 Martin Rudalics <rudalics@gmx.at>
9101
dbbc2e69
SM
9102 * speedbar.el (speedbar-unhighlight-one-tag-line):
9103 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 9104
82dcf4e4
CY
91052012-03-10 Chong Yidong <cyd@gnu.org>
9106
7a2c7ca7
CY
9107 * minibuffer.el (completion-in-region, completion-help-at-point):
9108 Give the completion field overlay a high priority (Bug#6830).
9109
82dcf4e4
CY
9110 * dired.el (dired-goto-file): Recognize absolute file name
9111 listings (Bug#7126).
9112 (dired-goto-file-1): New helper function.
9113 (dired-toggle-read-only): Inhibit warnings.
9114
052e28ac
MA
91152012-03-09 Michael Albinus <michael.albinus@gmx.de>
9116
75f1671a 9117 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
9118 there are no properties.
9119
95d5e396
LL
91202012-03-09 Leo Liu <sdl.web@gmail.com>
9121
9122 * savehist.el (savehist-printable): Stricter check for string
9123 value (Bug#10937).
9124
3f018d6d
EZ
91252012-03-09 Eli Zaretskii <eliz@gnu.org>
9126
dbbc2e69
SM
9127 * mail/smtpmail.el (smtpmail-send-it):
9128 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
9129 valid mbox format.
9130
f7fd3d79
GM
91312012-03-09 Glenn Morris <rgm@gnu.org>
9132
9133 * files.el (dir-locals-find-file):
9134 Don't check result is regular, readable.
9135 (dir-locals-read-from-file): Demote errors.
9136
6ff6e72f
EZ
91372012-03-08 Eli Zaretskii <eliz@gnu.org>
9138
dbbc2e69
SM
9139 * international/quail.el (quail-insert-kbd-layout):
9140 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
9141 layout cell, to prevent their reordering by bidi display engine.
9142 For details, see the discussion in
9143 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9144
9cec7834
AM
91452012-03-08 Alan Mackenzie <acm@muc.de>
9146
9147 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9148 the starting position; make it extend the marked region when
9149 invoked repeatedly - all under appropriate circumstances.
9150 Fixes bugs #5525, #10906.
9151
9a40b8d4
GM
91522012-03-08 Glenn Morris <rgm@gnu.org>
9153
9154 * files.el (locate-dominating-file, dir-locals-find-file):
9155 Undo 2012-03-06 change.
9156
7a08ed35
EZ
91572012-03-07 Eli Zaretskii <eliz@gnu.org>
9158
dbbc2e69
SM
9159 * international/quail.el (quail-help):
9160 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
9161 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9162 for the reason.
9163
5aca4f71 91642012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
9165
9166 Avoid superfluous registering of signals. (Bug#10807)
9167
9168 * notifications.el (notifications-on-action-object)
9169 (notifications-on-close-object): New defvars.
9170 (notifications-on-action-signal, notifications-on-closed-signal):
9171 Unregister the signal if not needed any longer.
9172 (notifications-notify): Register `notifications-action-signal' or
9173 `notifications-closed-signal', if :on-action or :on-close has been
9174 passed as argument.
9175
78e8b10a
CY
91762012-03-07 Chong Yidong <cyd@gnu.org>
9177
9178 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9179 non-X platforms.
9180
69481eb8
GM
91812012-03-06 Glenn Morris <rgm@gnu.org>
9182
9183 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9184 (x-disown-selection-internal, x-get-selection-internal):
9185 Doc fix (add arglist signatures). (Bug#10783)
9186
133b8e11
KS
91872012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9188
9189 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9190 Handle breakpoints with no "type".
9191
99a83064
GM
91922012-03-06 Glenn Morris <rgm@gnu.org>
9193
9194 * files.el (locate-dominating-file): Add optional predicate argument.
9195 (dir-locals-find-file): Make use of above change.
9196
17798e78
TTN
91972012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9198
9199 * info.el (Info-insert-dir): Also try "dir.gz".
9200
eb182446
GM
92012012-03-06 Glenn Morris <rgm@gnu.org>
9202
8f2114ee
GM
9203 * files.el (dir-locals-find-file):
9204 Ignore non-readable or non-regular files. (Bug#10928)
9205
eb182446
GM
9206 * files.el (locate-dominating-file): Doc fix.
9207
24679323
AS
92082012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9209
9210 * calendar/calendar.el (calendar-set-mode-line):
9211 `getenv' returns a string. (Bug#10951)
9212
01d972a9
LL
92132012-03-05 Leo Liu <sdl.web@gmail.com>
9214
109aa8a9
LL
9215 * simple.el (backward-delete-char-untabify): Constrain point to
9216 field (Bug#10939).
9217
01d972a9
LL
9218 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9219
10607bea
CY
92202012-03-05 Chong Yidong <cyd@gnu.org>
9221
9222 * simple.el (count-words): If called from Lisp, return the word
9223 count, for symmetry with `count-lines'. Arglist changed.
9224 (count-words--message): Args changed. Consolidate counting code
9225 from count-words and count-words-region.
9226 (count-words-region): Caller changed.
9227 (count-lines-region): Make it an obsolete alias.
9228
5dd11cfe
TH
92292012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9230
9231 * saveplace.el (save-place-to-alist)
9232 (save-place-ignore-files-regexp): Allow value nil to disable this
9233 feature.
9234
c349f4e6
CY
92352012-03-04 Chong Yidong <cyd@gnu.org>
9236
9237 * faces.el (face-spec-reset-face): For the default face, reset the
9238 attributes to default values (Bug#10748).
9239
e627be4c
LMI
92402012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9241
9242 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9243 previous patch: Check `message-send-mail-function', and not the
9244 default function (bug#10897).
9245
ebeabff4
MA
92462012-03-04 Michael Albinus <michael.albinus@gmx.de>
9247
a41a6cf4
MA
9248 * notifications.el (notifications-on-action-signal)
9249 (notifications-on-closed-signal): Check for unique service name of
9250 incoming event. Fix error in removing entry.
ebeabff4 9251 (top): Register for signals with wildcard service name.
a41a6cf4 9252 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 9253
c1ca42b4
CY
92542012-03-04 Chong Yidong <cyd@gnu.org>
9255
dc9924b8 9256 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 9257
ea16568d
GM
92582012-03-04 Glenn Morris <rgm@gnu.org>
9259
9260 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9261 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9262 (expand-abbrev, define-abbrev-table): Doc fixes.
9263
fbae4637
LMI
92642012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9265
9266 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9267 `message-default-send-mail-function' and not `send-mail-function'
9268 when doing the prompting for `sendmail-query-once' before sending
9269 in Message buffers (bug#10897).
9270
a1e7225c
LMI
9271 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9272 This is inconsistent with all the other stream functions, which leave
9273 the setting up to the higher levels (if so wanted) (bug#10931).
9274
56d093a9
AM
92752012-03-02 Alan Mackenzie <acm@muc.de>
9276
9277 Depessimize the handling of very large macros.
9278
9279 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9280 (c-macro-cache-syntactic): New variables to implement a one
9281 element macro cache.
9282 (c-invalidate-macro-cache): New function.
9283 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9284 Adapt to use the new cache.
9285 (c-state-safe-place): Use better the cache of safe positions.
9286 (c-state-semi-nonlit-pos-cache)
9287 (c-state-semi-nonlit-pos-cache-limit):
9288 New variables for...
9289 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9290 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
9291 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9292 Use c-state-semi-safe-place.
56d093a9 9293
dbbc2e69
SM
9294 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9295 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 9296
817e5c3d
MA
92972012-03-02 Michael Albinus <michael.albinus@gmx.de>
9298
dbbc2e69
SM
9299 * jka-compr.el (jka-compr-call-process):
9300 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
9301 not remote.
9302
a032a702
MA
93032012-03-01 Michael Albinus <michael.albinus@gmx.de>
9304
9305 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9306 access of FILE2, if FILE1 does not exist.
9307
99a54f21
MA
9308 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9309 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9310
9311 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9312 Add "PAGER=" to `process-environment'.
9313
f6561e1f
MM
93142012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9315
9316 * progmodes/sql.el: Bug fix
9317 (sql-get-login-ext): Save login values in globals.
9318 (sql-get-login): Use new version of `sql-get-login-ext'.
9319 (sql-interactive-mode): Set global `sql-connection' to nil.
9320 (sql-connect): Set global values for connection.
9321 (sql-product-interactive): Save global values as buffer local.
9322
2d44d9cc
LL
93232012-02-29 Leo Liu <sdl.web@gmail.com>
9324
9325 * abbrev.el (define-abbrevs): Reset sys to nil.
9326
96b49301 93272012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9328
bf7f9bc5
JB
9329 * files.el (file-equal-p): Rename from `files-equal-p'.
9330 Return nil when one or both files don't exist.
96b49301 9331 (file-subdir-of-p): Now only top directory must exists,
9332 return nil if it doesn't.
bf7f9bc5
JB
9333 (copy-directory): No need to test with `file-subdir-of-p' after
9334 creating dir.
9335 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9336 to `file-equal-p'.
96b49301 9337
44e97401
GM
93382012-02-28 Glenn Morris <rgm@gnu.org>
9339
9340 * shell.el (shell-mode):
9341 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9342 * play/landmark.el (landmark-font-lock-face-O):
9343 * play/handwrite.el (handwrite):
9344 * play/gomoku.el (gomoku-O):
9345 * net/browse-url.el (browse-url-browser-display):
9346 * international/mule.el (define-charset):
9347 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9348 * filesets.el (filesets-find-file-delay):
9349 * eshell/em-xtra.el (eshell-xtra):
9350 * eshell/em-unix.el (eshell-grep):
9351 * emulation/viper.el (viper-mode):
9352 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9353 * emacs-lisp/easymenu.el (easy-menu-define):
9354 * calendar/timeclock.el (timeclock-use-display-time):
9355 * bs.el (bs-mode):
9356 * bookmark.el (bookmark-save-flag):
9357 Doc fix (standardize possessive apostrophe usage).
9358
c98c6276
CY
93592012-02-27 Chong Yidong <cyd@gnu.org>
9360
bf7f9bc5
JB
9361 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9362 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 9363
c98c6276
CY
9364 * font-lock.el (font-lock-specified-p): Rename from
9365 font-lock-spec-present. Callers changed.
9366
9c62cd04 93672012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 9368
bf7f9bc5
JB
9369 * emacs-lisp/package.el (package-compute-transaction):
9370 Handle holding a package version to t in package-load-list.
8ac9e529 9371
530739c9
MA
93722012-02-26 Michael Albinus <michael.albinus@gmx.de>
9373
9374 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9375 (tramp-get-inode, tramp-get-device): Use cached values.
9376
487915d7
AM
93772012-02-26 Alan Mackenzie <acm@muc.de>
9378
9379 Check there is a font-lock specification before doing initial
9380 fontification.
9381
9382 * font-core.el (font-lock-mode): Move the conditional from
9383 :after-hook to font-lock-initial-fontify.
9384 (font-lock-default-function): Move the check for a specification
9385 to font-lock-spec-present.
9386
dc9924b8 9387 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
9388 (font-lock-spec-present): New function.
9389
4fd96557
JB
93902012-02-26 Jim Blandy <jimb@red-bean.com>
9391
9392 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9393 (gdb-send): Apply it to the operand of the '-interpreter-exec
9394 console' command, so that we can pass arguments with (say) quotes
9395 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9396
9a4888c0
CY
93972012-02-26 Chong Yidong <cyd@gnu.org>
9398
07498861
CY
9399 * help-fns.el (describe-function-1): Clarify description of
9400 remapping (Bug#10844).
9401
9a4888c0
CY
9402 * files.el (files-equal-p): Doc fix.
9403 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9404 and quit the loop once a mismatch is found.
9405
ea8fb88d
JB
94062012-02-25 Juanma Barranquero <lekktu@gmail.com>
9407
9408 * bs.el (bs--show-with-configuration): Don't throw an error
9409 if the window cannot be split; otherwise, subsequent calls to
9410 bs-show fail, restoring a stale window config. (Bug#10882)
9411
525795c1
JD
94122012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9413
9414 * term/ns-win.el (global-map): Bind ns-drag-file to
9415 ns-find-file (Bug#5855, Bug#10050).
9416
f008086f
AS
94172012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9418
9419 * calendar/parse-time.el (parse-time-string): Allow extractor to
9420 return nil.
9421
a3fcfa99
MA
94222012-02-25 Michael Albinus <michael.albinus@gmx.de>
9423
91027d08
JB
9424 * net/tramp.el (tramp-file-name-for-operation):
9425 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
9426
9427 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
9428 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9429 Add COPY-CONTENTS argument.
a3fcfa99 9430
67b0de11
CY
94312012-02-25 Chong Yidong <cyd@gnu.org>
9432
9433 Add custom groups for VC backends, for consistency with vc-bzr.
9434
9435 * vc/vc-arch.el (vc-arch):
9436 * vc/vc-cvs.el (vc-cvs):
9437 * vc/vc-git.el (vc-git):
9438 * vc/vc-hg.el (vc-hg):
9439 * vc/vc-mtn.el (vc-mtn):
9440 * vc/vc-rcs.el (vc-rcs):
9441 * vc/vc-sccs.el (vc-sccs):
9442 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9443 All relevant defcustoms reassigned.
9444
3c9dfce6
CY
94452012-02-25 Chong Yidong <cyd@gnu.org>
9446
1339bf43
CY
9447 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9448
3c9dfce6
CY
9449 * term/x-win.el (x-initialize-window-system): Reduce default for
9450 x-selection-timeout to 5 seconds (Bug#8869).
9451
25b2e303 94522012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9453
ec70a47d
GM
9454 * files.el (files-equal-p, file-subdir-of-p): New functions.
9455 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 9456 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
9457 * dired-aux.el (dired-copy-file-recursive): Same.
9458 (dired-create-files): Modify destination when source is equal to
9459 dest when copying files.
53a46cd0 9460 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 9461
914260cd
MA
94622012-02-24 Michael Albinus <michael.albinus@gmx.de>
9463
9464 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9465 (Bug#10874)
9466
2cb228f7
AM
94672012-02-23 Alan Mackenzie <acm@muc.de>
9468
9469 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9470 parameter "after-hook:" to allow the expansion to run code after
9471 the execution of the mode hooks.
9472
9473 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 9474 from font-lock-mode-internal.
2cb228f7 9475
91027d08 9476 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
9477 :after-hook.
9478
8f0fde21
SM
94792012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9480
3e88618b
SM
9481 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9482 (completion--cache-all-sorted-completions): New function.
9483 (completion-all-sorted-completions): Use it.
9484 (completion--do-completion, minibuffer-force-complete):
9485 Use it to re-instate the flush hook.
9486
8f0fde21
SM
9487 * icomplete.el (icomplete-completions): Replace last fix with a better
9488 one (bug#10850).
9489
8e911f6f
DG
94902012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9491
9492 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9493 when it might call us back infinitely (bug#10797).
9494
49fe4321
GM
94952012-02-23 Glenn Morris <rgm@gnu.org>
9496
9497 * minibuffer.el (completion-category-overrides): Doc fix.
9498
b291b572
SM
94992012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9500
9501 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9502 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9503
31a9ef2e
GM
95042012-02-23 Glenn Morris <rgm@gnu.org>
9505
5e6e6794 9506 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
9507 (authors-obsolete-files-regexps, authors-ignored-files)
9508 (authors-ambiguous-files, authors-renamed-files-alist):
9509 Add more entries.
9510
0bd1e074
JL
95112012-02-23 Juri Linkov <juri@jurta.org>
9512
9513 * isearch.el (isearch-occur): Sync interactive spec with occur's
9514 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9515
b617673c
JL
9516 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9517
19e9789e
JL
95182012-02-22 Juri Linkov <juri@jurta.org>
9519
9520 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9521 (ucs-insert): Doc fix. Check for hex digits in the string.
9522 Don't display `nil' in the error message. (Bug#10857)
9523
f41ce09d
AM
95242012-02-22 Alan Mackenzie <acm@muc.de>
9525
7a71b18d 9526 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 9527
ac2eceee
GM
95282012-02-22 Glenn Morris <rgm@gnu.org>
9529
9530 * ffap.el (ffap-c-path):
9531 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9532
abd1f678
CY
95332012-02-22 Chong Yidong <cyd@gnu.org>
9534
9535 * custom.el (load-theme): Doc fix.
9536
f25aef2e
GM
95372012-02-22 Glenn Morris <rgm@gnu.org>
9538
9539 * dired-x.el (dired-guess-shell-alist-default):
9540 Remove escape sequences from nroff output. (Bug#172)
9541
5f8dc2ca
GM
95422012-02-21 Glenn Morris <rgm@gnu.org>
9543
6ff86ec4
GM
9544 * vc/emerge.el (emerge-defvar-local):
9545 Set `permanent-local' property rather than unused `preserved'.
9546
be3223a3 9547 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
9548 (picture-mode-map): Use it. (Bug#10860)
9549 (picture-mode): Doc fix.
9550
3fe58f4f
JB
95512012-02-21 Juanma Barranquero <lekktu@gmail.com>
9552
9553 * newcomment.el (uncomment-region-default): Remove unused binding.
9554
f9a998c3
GM
95552012-02-21 Glenn Morris <rgm@gnu.org>
9556
9557 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9558 (picture-self-insert, picture-tab-chars): Doc fix.
9559 (picture-mode-map): Fix C-a, C-e.
9560
c6029348
GM
95612012-02-20 Glenn Morris <rgm@gnu.org>
9562
9563 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9564
ab1ce9d7
LL
95652012-02-20 Leo Liu <sdl.web@gmail.com>
9566
9567 * icomplete.el (icomplete-completions): Check FROM arg before
9568 passing to substring (Bug#10850).
9569
0fd40f89
CY
95702012-02-19 Chong Yidong <cyd@gnu.org>
9571
9572 * comint.el: Require ansi-color.
9573 (comint-output-filter-functions): Add ansi-color-process-output.
9574
9575 * ansi-color.el: Don't set comint-output-filter-functions; it is
9576 now in the initial value defined in comint.el.
9577 (ansi-color-apply-face-function): New variable.
9578 (ansi-color-apply-on-region): Use it.
9579 (ansi-color-apply-overlay-face): New function.
9580
9581 * shell.el (shell): No need to require ansi-color.
9582 (shell-mode): Use ansi-color-apply-face-function to highlight
9583 color escapes using font-lock-face property (Bug#10835).
9584
20af2394
CY
95852012-02-19 Chong Yidong <cyd@gnu.org>
9586
9587 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9588 mode-line formats (Bug#10839).
9589
e23a3fbe
GM
95902012-02-18 Glenn Morris <rgm@gnu.org>
9591
b474519e
GM
9592 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9593
9594 * mail/undigest.el (unforward-rmail-message): Doc fix.
9595
e23a3fbe
GM
9596 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9597
57939ff4
EZ
95982012-02-18 Eli Zaretskii <eliz@gnu.org>
9599
9600 * international/characters.el (script-list): Sync with the latest
9601 Unicode Character Database.
9602
0c23686e
AS
96032012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9604
9605 * international/titdic-cnv.el: Remove duplicate coding tag.
9606 * language/cham.el: Likewise.
9607 * language/tai-viet.el: Likewise.
9608
6818b449
GM
96092012-02-18 Glenn Morris <rgm@gnu.org>
9610
9611 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9612 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9613 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9614 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9615 * calendar/holidays.el (holiday-bahai-holidays)
9616 (calendar-holidays, list-holidays):
9617 Use utf-8 Bahá'í in doc-strings, menus, etc.
9618
0311a3fc
TH
96192012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9620
9621 * saveplace.el (save-place-ignore-files-regexp): New variable
9622 allowing for excluding files from saving their location of point.
9623 The default value matches the temporary commit message editing
9624 files from Git, SVN, Bazaar, and Mercurial.
9625 (save-place-to-alist): Use it.
9626
d209e2fb 96272012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 9628 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
9629
9630 * newcomment.el (uncomment-region-default): Don't leave extra space
9631 when an arg is provided (bug#8150).
9632
ee0ce425
TZ
96332012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9634
eb864a71 9635 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 9636
95ddf442
GM
96372012-02-17 Glenn Morris <rgm@gnu.org>
9638
9639 * net/socks.el: Require network-stream. (Bug#10599)
9640
48dd1e39 96412012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
9642
9643 * international/charprop.el:
9644 * international/uni-name.el:
9645 * international/uni-old-name.el:
9646 * international/uni-comment.el: Regenerate.
9647
d68cd087
GM
96482012-02-16 Glenn Morris <rgm@gnu.org>
9649
9650 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9651 Interactively in calendar buffer, give an error if not on a date.
9652
13932042
GM
96532012-02-15 Glenn Morris <rgm@gnu.org>
9654
9655 * shell.el (shell-delimiter-argument-list):
9656 Revert 2011-02-17 change. (Bug#8027)
9657
c3a70e2b
CY
96582012-02-15 Chong Yidong <cyd@gnu.org>
9659
60236b0d
CY
9660 * minibuffer.el (completion-at-point-functions): Doc fix.
9661
c3a70e2b
CY
9662 * custom.el (defcustom): Doc fix; note use of defvar.
9663
9f26dc24
GM
96642012-02-15 Glenn Morris <rgm@gnu.org>
9665
9666 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9667 Doc fixes.
9668
6546b134
GM
96692012-02-14 Glenn Morris <rgm@gnu.org>
9670
9671 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9672
d29b2b4c
LI
96732012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9674
9675 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9676 way the ports list is computed.
835bdcba
LI
9677 (smtpmail-query-smtp-server): Prompt the user for a port number if
9678 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 9679
08dcdbc9
TZ
96802012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9681
9682 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9683
2605051a
GM
96842012-02-13 Glenn Morris <rgm@gnu.org>
9685
9686 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9687
7ee99f32
TZ
96882012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9689
9690 * net/gnutls.el (gnutls-trustfiles): New variable.
9691 (gnutls-negotiate): Use it.
9692
5f0af64f
LI
96932012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9694
9695 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9696 does its stuff if Gnus is running.
9697
c14fcc95
AM
96982012-02-13 Alan Mackenzie <acm@muc.de>
9699
9700 Fix a loop in c-set-fl-decl-start.
9701
7a71b18d 9702 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
9703 c-backward-syntactic-ws actually moves backwards.
9704
142b4d90
LL
97052012-02-13 Leo Liu <sdl.web@gmail.com>
9706
9707 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9708 beginning so that all \C-o chars are removed.
9709
fa9958a6
TZ
97102012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9711
dc9924b8 9712 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 9713
0bc5886a
AM
97142012-02-12 Alan Mackenzie <acm@muc.de>
9715
9716 Fix infinite loop with long macros.
4d6769e1 9717 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 9718
d4bd55e7
CY
97192012-02-12 Chong Yidong <cyd@gnu.org>
9720
9721 * window.el (display-buffer): Doc fix (Bug#10785).
9722
66f3fe22
GM
97232012-02-12 Glenn Morris <rgm@gnu.org>
9724
bd7da63e
GM
9725 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9726 (x-disown-selection-internal, x-get-selection-internal):
9727 Sync docs with the xselect.c versions.
9728
66f3fe22
GM
9729 * allout-widgets.el: Add missing license notice.
9730
3e0d2fa7
GM
97312012-02-11 Glenn Morris <rgm@gnu.org>
9732
cfecdf09
GM
9733 * select.el (x-get-selection-internal, x-own-selection-internal)
9734 (x-disown-selection-internal):
9735 * x-dnd.el (x-get-selection-internal): Update declarations.
9736
6d216d7f
GM
9737 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9738
2bed3f04
GM
9739 * window.el (window-sides-slots):
9740 * tool-bar.el (tool-bar-position):
9741 * term/xterm.el (xterm-extra-capabilities):
9742 * ses.el (ses-self-reference-early-detection):
9743 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9744 (verilog-auto-wire-type)
9745 (verilog-auto-delete-trailing-whitespace)
9746 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9747 (verilog-auto-tieoff-declaration):
9748 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9749 (sql-oracle-statement-starters, sql-oracle-scan-on):
9750 * progmodes/prolog.el (prolog-align-comments-flag)
9751 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9752 (prolog-left-indent-regexp, prolog-paren-indent-p)
9753 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9754 (prolog-types, prolog-mode-specificators)
9755 (prolog-determinism-specificators, prolog-directives)
9756 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9757 (prolog-electric-dot-flag)
9758 (prolog-electric-dot-full-predicate-template)
9759 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9760 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9761 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9762 (prolog-program-switches, prolog-prompt-regexp)
9763 (prolog-debug-on-string, prolog-debug-off-string)
9764 (prolog-trace-on-string, prolog-trace-off-string)
9765 (prolog-zip-on-string, prolog-zip-off-string)
9766 (prolog-use-standard-consult-compile-method-flag)
9767 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9768 (prolog-imenu-max-lines, prolog-info-predicate-index)
9769 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9770 (prolog-char-quote-workaround):
9771 * progmodes/cc-vars.el (c-defun-tactic):
9772 * net/tramp.el (tramp-encoding-command-interactive)
9773 (tramp-local-end-of-line):
9774 * net/soap-client.el (soap-client):
9775 * net/netrc.el (netrc-file):
9776 * net/gnutls.el (gnutls):
9777 * minibuffer.el (completion-category-overrides)
9778 (completion-cycle-threshold)
9779 (completion-pcm-complete-word-inserts-delimiters):
9780 * man.el (Man-name-local-regexp):
9781 * mail/feedmail.el (feedmail-display-full-frame):
9782 * international/characters.el (glyphless-char-display-control):
9783 * eshell/em-ls.el (eshell-ls-date-format):
9784 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9785 (lisp-lambda-list-keyword-parameter-indentation)
9786 (lisp-lambda-list-keyword-parameter-alignment):
9787 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9788 * dired-x.el (dired-omit-verbose):
9789 * cus-theme.el (custom-theme-allow-multiple-selections):
9790 * calc/calc.el (calc-highlight-selections-with-faces)
9791 (calc-lu-field-reference, calc-lu-power-reference)
9792 (calc-note-threshold):
9793 * battery.el (battery-mode-line-limit):
9794 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9795 (archive-7z-update):
9796 * allout.el (allout-prefixed-keybindings)
9797 (allout-unprefixed-keybindings)
9798 (allout-inhibit-auto-fill-on-headline)
9799 (allout-flattened-numbering-abbreviation):
9800 * allout-widgets.el (allout-widgets-auto-activation)
9801 (allout-widgets-icons-dark-subdir)
9802 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9803 (allout-widgets-theme-dark-background)
9804 (allout-widgets-theme-light-background)
9805 (allout-widgets-item-image-properties-emacs)
9806 (allout-widgets-item-image-properties-xemacs)
9807 (allout-widgets-run-unit-tests-on-load)
9808 (allout-widgets-time-decoration-activity)
9809 (allout-widgets-hook-error-post-time)
9810 (allout-widgets-track-decoration):
9811 Add missing :version tags to new defcustoms and defgroups.
9812
5fec1b8e
GM
9813 * progmodes/sql.el (sql-ansi-statement-starters)
9814 (sql-oracle-statement-starters): Add custom type.
9815
3e0d2fa7
GM
9816 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9817 (prolog-system-version): Give it a type.
9818
90b671e2
EZ
98192012-02-11 Eli Zaretskii <eliz@gnu.org>
9820
9821 * term/pc-win.el (x-select-text, x-selection-owner-p)
9822 (x-own-selection-internal, x-disown-selection-internal)
9823 (x-get-selection-internal): Sync doc strings and argument lists
9824 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9825
5eac0c02
LL
98262012-02-11 Leo Liu <sdl.web@gmail.com>
9827
9828 * progmodes/python.el (python-end-of-statement): Fix infinite
9829 loop. (Bug#10788)
9830
f82cb659
GM
98312012-02-10 Glenn Morris <rgm@gnu.org>
9832
9833 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9834 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9835
cc26d239
LI
98362012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9837
9838 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9839 about SMTP before checking the From header.
9840
91027d08 9841 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
9842 into own function for reuse by emacsbug.el.
9843
1be3ca5a
LL
98442012-02-10 Leo Liu <sdl.web@gmail.com>
9845
9846 * subr.el (condition-case-unless-debug): Rename from
9847 condition-case-no-debug. All callers changed.
9848 (with-demoted-errors): Fix caller.
9849
9850 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9851 * nxml/rng-valid.el (rng-do-some-validation):
9852 * emacs-lisp/package.el (package-refresh-contents)
9853 (package-menu-execute):
9854 * desktop.el (desktop-create-buffer):
91027d08 9855 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 9856
b011fbfe
GM
98572012-02-10 Glenn Morris <rgm@gnu.org>
9858
b2096d72
GM
9859 * textmodes/bibtex.el:
9860 Add missing :version tags for new/changed defcustoms.
9861
b011fbfe
GM
9862 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9863
4c7e65bf
LI
98642012-02-09 Lars Ingebrigtsen <larsi@rusty>
9865
9866 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9867 (smtpmail-via-smtp): Use it, or fall back on the From address.
9868 (smtpmail-send-it): Ditto.
9869
f3934f6f
SM
98702012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9871
9872 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9873 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9874 (byte-compile-tmp-var): New const.
9875 (byte-compile-defvar): Use it to minimize .elc size.
9876 Just use `defvar' rather than simulate it (bug#10761).
9877
a075a2c5
GM
98782012-02-09 Glenn Morris <rgm@gnu.org>
9879
cf3aa21b
GM
9880 * files.el (rename-uniquely): Doc fix. (Bug#3806)
9881
354998cd
GM
9882 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9883 Add :version tags.
9884
dc9924b8
SM
9885 * progmodes/compile.el (compilation-error-screen-columns)
9886 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 9887
dab3703d
GM
9888 * vc/log-view.el (log-view-toggle-entry-display):
9889 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9890
3f88cd72
GM
9891 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9892 (report-emacs-bug-can-use-xdg-email):
9893 (report-emacs-bug-insert-to-mailer): Doc fixes.
9894 (report-emacs-bug): Message fix.
9895
d95b247d
GM
9896 * net/browse-url.el (browse-url-can-use-xdg-open)
9897 (browse-url-xdg-open): Doc fixes.
9898
a075a2c5
GM
9899 * electric.el (electric-indent-mode, electric-pair-mode)
9900 (electric-layout-rules, electric-layout-mode): Doc fixes.
9901 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9902
ffb6157e
MR
99032012-02-08 Martin Rudalics <rudalics@gmx.at>
9904
9905 * server.el (server-unselect-display): Don't inadvertently kill
9906 the current buffer. (Bug#10729)
9907
e1ac4066
GM
99082012-02-08 Glenn Morris <rgm@gnu.org>
9909
34e8a2da
GM
9910 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9911 (sql-list-table): Doc fixes.
9912
b4ac6e8c
GM
9913 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9914 Comment out (does nothing).
9915
e1ac4066
GM
9916 * completion.el (dynamic-completion-mode):
9917 * dirtrack.el (dirtrack-debug-mode):
9918 * electric.el (electric-layout-mode):
9919 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9920 * face-remap.el (text-scale-mode, buffer-face-mode):
9921 * iimage.el (iimage-mode):
9922 * image-mode.el (image-transform-mode):
9923 * minibuffer.el (completion-in-region-mode):
9924 * scroll-lock.el (scroll-lock-mode):
9925 * simple.el (next-error-follow-minor-mode):
9926 * tar-mode.el (tar-subfile-mode):
9927 * tooltip.el (tooltip-mode):
9928 * vcursor.el (vcursor-use-vcursor-map):
9929 * wid-browse.el (widget-minor-mode):
9930 * emulation/tpu-edt.el (tpu-edt-mode):
9931 * emulation/tpu-extras.el (tpu-cursor-free-mode):
9932 * international/iso-ascii.el (iso-ascii-mode):
9933 * language/thai-util.el (thai-word-mode):
9934 * mail/supercite.el (sc-minor-mode):
9935 * net/goto-addr.el (goto-address-mode):
9936 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9937 * progmodes/cwarn.el (cwarn-mode):
9938 * progmodes/flymake.el (flymake-mode):
9939 * progmodes/glasses.el (glasses-mode):
9940 * progmodes/hideshow.el (hs-minor-mode):
9941 * progmodes/pascal.el (pascal-outline-mode):
9942 * textmodes/enriched.el (enriched-mode):
9943 * vc/smerge-mode.el (smerge-mode):
9944 Doc fixes (minor mode argument).
9945
5e0d957f
EZ
99462012-02-07 Eli Zaretskii <eliz@gnu.org>
9947
9948 * ls-lisp.el (ls-lisp-sanitize): New function.
9949 (ls-lisp-insert-directory): Use it to fix or remove any elements
9950 in file-alist with missing attributes. (Bug#4673)
9951
98d7371e
AM
99522012-02-07 Alan Mackenzie <acm@muc.de>
9953
9954 Fix spurious recognition of c-in-knr-argdecl.
9955
9956 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9957 putative K&R region.
9958
667ced3a
AM
99592012-02-07 Alan Mackenzie <acm@muc.de>
9960
eb864a71
LM
9961 * progmodes/cc-engine.el (c-forward-objc-directive):
9962 Prevent looping in "#pragma mark @implementation".
667ced3a 9963
5b77774d
MA
99642012-02-07 Michael Albinus <michael.albinus@gmx.de>
9965
9966 * notifications.el (notifications-on-closed-signal): Make `reason'
9967 optional. (Bug#10744)
9968
af008560
GM
99692012-02-07 Glenn Morris <rgm@gnu.org>
9970
60d47423
GM
9971 * emacs-lisp/easy-mmode.el (define-minor-mode):
9972 Doc fixes for the macro and the mode it defines.
9973
dd605cc4
GM
9974 * image.el (imagemagick-types-inhibit): Doc fix.
9975
af008560
GM
9976 * cus-start.el (imagemagick-render-type): Add it.
9977
5cc59a37
LI
99782012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9979
4d6769e1
JB
9980 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9981 Set the default at load time, too, so that `font-lock-fontify-buffer'
9982 can be called without setting up the entire mode first. This fixes
9983 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 9984
9a6dd747
CY
99852012-02-06 Chong Yidong <cyd@gnu.org>
9986
2d16b285
CY
9987 * simple.el (list-processes--refresh): Delete exited processes
9988 (Bug#8094).
9989
171e9b6e
CY
9990 * comint.el (comint-next-prompt): next-single-char-property-change
9991 and prev-single-char-property-change never return nil (Bug#8657).
9992
9a6dd747
CY
9993 * custom.el (defcustom): Doc fix (Bug#9711).
9994
aa4589a7
CY
99952012-02-05 Chong Yidong <cyd@gnu.org>
9996
5c2a252f
CY
9997 * cus-edit.el (custom-variable-reset-backup): Quote the value
9998 before storing it in the customized-value property (Bug#6712).
4aab9006 9999 (custom-display): Add a customization type tag.
983b9602 10000 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 10001
aa4589a7
CY
10002 * wid-edit.el (widget-field-value-get): New optional arg to
10003 suppress trailing whitespace truncation.
10004 (character): Use it (Bug#2689).
10005
1ff980ae
AS
100062012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10007
10008 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10009 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10010
03988c98
CY
100112012-02-05 Chong Yidong <cyd@gnu.org>
10012
eeb6cc88
CY
10013 * cus-edit.el (custom-variable-value-create): For mismatched
10014 types, show the current value (Bug#7600).
10015
03988c98
CY
10016 * custom.el (defcustom): Doc fix.
10017
f8cdeef0
GM
100182012-02-05 Glenn Morris <rgm@gnu.org>
10019
10020 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10021
0696d255
JB
100222012-02-05 Juanma Barranquero <lekktu@gmail.com>
10023
10024 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10025 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10026 (pp-last-sexp): Use `looking-at-p'.
10027
34c99998
GM
100282012-02-04 Glenn Morris <rgm@gnu.org>
10029
8f05da42
GM
10030 * files.el (revert-buffer):
10031 Doc fix (mention revert-buffer-in-progress-p).
10032
f160676e
GM
10033 * emacs-lisp/ert-x.el (ert-simulate-command):
10034 Check deferred-action-list (which is obsolete) is bound.
10035
c7291ad9
GM
10036 * subr.el (with-wrapper-hook): Doc fixes.
10037
34c99998
GM
10038 * simple.el (filter-buffer-substring-functions)
10039 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10040
6283a7d3
LL
100412012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10042
10043 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10044 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10045
e96e3013
LL
100462012-02-04 Leo Liu <sdl.web@gmail.com>
10047
10048 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10049
8ded50f2
GM
100502012-02-04 Glenn Morris <rgm@gnu.org>
10051
82ff1d13
GM
10052 * image.el (image-extension-data): Add obsolete alias.
10053
987a0a16
GM
10054 * isearch.el (isearch-update): Doc fix.
10055
ea32ef46
GM
10056 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10057
8ded50f2
GM
10058 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10059
eea14f31
GM
100602012-02-03 Glenn Morris <rgm@gnu.org>
10061
10062 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10063 (image-animate-timeout): Doc fix.
10064
10065 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10066
12f381b7
GM
100672012-02-02 Glenn Morris <rgm@gnu.org>
10068
953cebf5
GM
10069 * server.el (server-auth-dir): Doc fix.
10070 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10071
12f381b7
GM
10072 * subr.el (run-mode-hooks): Doc fix.
10073
953a8c3b
JL
100742012-02-02 Juri Linkov <juri@jurta.org>
10075
10076 * image-mode.el (image-toggle-display-image): Remove tautological
10077 `major-mode' from the `derived-mode-p' test.
10078
c5d3843c
KH
100792012-02-02 Kenichi Handa <handa@m17n.org>
10080
9f6e692e 10081 * composite.el (compose-region): Cancel previous change.
c5d3843c 10082
159462d4 100832012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
10084
10085 * composite.el (compose-region, compose-string): Signal error for
10086 a null string component (Bug#6988).
10087
9f562668
CY
100882012-02-01 Chong Yidong <cyd@gnu.org>
10089
e2cef717
CY
10090 * view.el (view-buffer-other-window, view-buffer-other-frame):
10091 Handle special modes like view-buffer (Bug#10650).
10092 (view-buffer): Simplify.
10093
9f562668
CY
10094 * frame.el (set-frame-font): Tweak meaning of third argument.
10095
9f6e692e
JB
10096 * dynamic-setting.el (font-setting-change-default-font):
10097 Use set-frame-font (Bug#9982).
9f562668 10098
781acb9f
GM
100992012-02-01 Glenn Morris <rgm@gnu.org>
10100
6035be52
GM
10101 * progmodes/compile.el (compilation-internal-error-properties):
10102 Respect compilation-first-column in the "*compilation*" buffer.
10103
781acb9f
GM
10104 * emacs-lisp/easy-mmode.el (define-minor-mode):
10105 Relax :variable's test for a named function.
10106
abbceb00
AM
101072012-01-31 Alan Mackenzie <acm@muc.de>
10108
10109 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10110 off by one error.
10111
fce3fdeb
CY
101122012-01-31 Chong Yidong <cyd@gnu.org>
10113
10114 * frame.el (set-frame-font): New arg ALL-FRAMES.
10115
10116 * menu-bar.el (menu-set-font): Use set-frame-font.
10117
10118 * faces.el (face-spec-reset-face): Don't apply unspecified
10119 attribute values to the default face.
10120
47893581
JB
101212012-01-31 Juanma Barranquero <lekktu@gmail.com>
10122
10123 * progmodes/cwarn.el (cwarn): Remove dead link.
10124 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10125 Remove * from defcustom docstrings.
10126 (turn-on-cwarn-mode): Make obsolete.
10127 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10128 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10129
e58e988a
GM
101302012-01-31 Glenn Morris <rgm@gnu.org>
10131
60dc2671 10132 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 10133 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 10134 Allow named functions to be used as the cdr of :variable.
e58e988a 10135
7a3f511d
GM
101362012-01-30 Glenn Morris <rgm@gnu.org>
10137
10138 * emacs-lisp/authors.el (authors-fixed-entries):
10139 Remove reference to deleted file rnewspost.el.
10140
cb882333
JB
101412012-01-29 Juanma Barranquero <lekktu@gmail.com>
10142
10143 * window.el (window-with-parameter): Remove unused variable `windows'.
10144 (window--side-check): Remove unused variable `code'.
10145 (window--resize-siblings): Remove unused variable `first'.
10146 (adjust-window-trailing-edge): Remove unused variable `failed'.
10147 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10148 Use `let', not `let*'.
10149 (balance-windows-2): Remove unused variable `found'.
10150 (window--state-put-2): Remove unused variable `splits'.
10151 (window-state-put): Remove unused variable `selected'.
10152 (same-window-p): Use `string-match-p'.
10153 (display-buffer-assq-regexp): Remove unused variable `value'.
10154 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10155 Mark argument ALIST as ignored.
10156 (pop-to-buffer): Remove unused variable `old-window'.
10157
907201af
EZ
101582012-01-29 Eli Zaretskii <eliz@gnu.org>
10159
10160 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10161 and .lzma compressed files.
10162
ea162670
CY
101632012-01-29 Chong Yidong <cyd@gnu.org>
10164
5b95ee8a
CY
10165 * frame.el (window-system-default-frame-alist): Doc fix.
10166
ea162670
CY
10167 * dynamic-setting.el (font-setting-change-default-font): Don't
10168 change the default face if SET-FONT argument is non-nil (Bug#9982).
10169
d6e6f4b1
SB
101702012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10171
10172 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10173
0f29fa41 101742012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
10175
10176 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10177 breakpoints in files outside current directory (Bug#6098).
10178
db174434
CY
101792012-01-29 Chong Yidong <cyd@gnu.org>
10180
6b25e4e2
SE
10181 * progmodes/python.el: Require ansi-color at top-level.
10182
6df6ae42
JB
10183 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10184 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
10185 (lisp-mode-abbrev-table): Add doc.
10186 (lisp-mode-variables): Don't set local-abbrev-table.
10187 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10188
e70ee681
RW
101892012-01-28 Roland Winkler <winkler@gnu.org>
10190
10191 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10192
ace88aa2
RW
101932012-01-28 Roland Winkler <winkler@gnu.org>
10194
10195 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10196 (bibtex-set-dialect): Use it. Either set global values of
10197 dialect-dependent variables or bind these variables buffer-locally
10198 (Bug#10254).
10199 (bibtex-mode): Call bibtex-set-dialect via
10200 hack-local-variables-hook.
eb864a71
LM
10201 (bibtex-dialect): Update docstring.
10202 Add safe-local-variable predicate.
ace88aa2
RW
10203 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10204 bibtex-set-dialect.
10205 (bibtex-mode-map): Define menu for each dialect.
10206 (bibtex-entry): Fix docstring.
10207
93376c5b
CY
102082012-01-28 Chong Yidong <cyd@gnu.org>
10209
10210 * eshell/esh-arg.el (eshell-quote-argument): New function.
10211
10212 * eshell/esh-ext.el (eshell-invoke-batch-file):
10213 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10214 first arg to eshell-parse-command (Bug#10523).
10215
4372494f
DA
102162012-01-28 Drew Adams <drew.adams@oracle.com>
10217
10218 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10219 `default-directory' is non-nil.
10220
4d4ec1f8
EZ
102212012-01-28 Eli Zaretskii <eliz@gnu.org>
10222
10223 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10224 line that displays system-configuration-options. (Bug#9924)
10225
7c188927
DA
102262012-01-28 Drew Adams <drew.adams@oracle.com>
10227
10228 * descr-text.el (describe-char): Show information about POS, in
10229 addition to information about the character at POS. Improve and
10230 update the doc string. Change "code point" to "code point in
10231 charset", to avoid confusion with the character's Unicode code
10232 point shown above that. (Bug#10129)
10233
e0da685a
EZ
102342012-01-28 Eli Zaretskii <eliz@gnu.org>
10235
10236 * descr-text.el (describe-char): Show the raw character, not only
10237 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10238 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10239 for the reasons.
10240
70550acf
PH
102412012-01-28 Phil Hagelberg <phil@hagelb.org>
10242
eb864a71
LM
10243 * emacs-lisp/package.el (package-install):
10244 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 10245
0ce8e868
CY
102462012-01-28 Chong Yidong <cyd@gnu.org>
10247
cb882333
JB
10248 * emacs-lisp/package.el (package-maybe-load-descriptor):
10249 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
10250 (package-maybe-load-descriptor): Use it.
10251 (package-download-transaction): Fully load required packages
10252 inside the loop, so that `require' calls work (Bug#10593).
10253 (package-install): No need to call package-initialize now.
10254
2e7f3bea
CY
102552012-01-28 Chong Yidong <cyd@gnu.org>
10256
6e9bad14
CY
10257 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10258
f823b8ca
CY
10259 * tooltip.el (tooltip-mode): Doc fix.
10260 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10261
2680c309
CY
10262 * frame.el (set-cursor-color): Doc fix (Bug#352).
10263
d7a9e63b
CY
10264 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10265 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10266
2e7f3bea
CY
10267 * cus-edit.el (custom-buffer-create-internal): Fix search button
10268 action (Bug#10542).
2ae01800 10269 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 10270
fc4f7a23
EW
102712012-01-27 Eduard Wiebe <usenet@pusto.de>
10272
10273 * dired.el (dired-mark-files-regexp):
10274 Include any subdirectory components. (Bug#10445)
10275
7dd37071
ML
102762012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10277
10278 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10279 Handle [host]:port syntax. (Bug#10533)
10280
a268160b
AH
102812012-01-27 Alex Harsanyi <harsanyi@mac.com>
10282
10283 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10284
e43273ef
GM
102852012-01-26 Glenn Morris <rgm@gnu.org>
10286
10287 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10288 * term.el (term-raw-escape-map): Use Control-X-prefix.
10289 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10290
1edf595d
MR
102912012-01-25 Martin Rudalics <rudalics@gmx.at>
10292
10293 * window.el (window-state-get, window--state-get-1): Don't deal
10294 with fixed-sizeness of windows. Simplify code.
10295
fa8eafef
JC
102962012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10297
6df6ae42
JB
10298 * window.el (window--state-get-1, window--state-put-2):
10299 Don't save and restore the mark.
fa8eafef 10300
0b21c100
CY
103012012-01-25 Chong Yidong <cyd@gnu.org>
10302
10303 * custom.el (custom-variable-p): Doc fix.
10304
5ae1a6c8
GM
103052012-01-25 Glenn Morris <rgm@gnu.org>
10306
40047858
GM
10307 * dired.el (dired-goto-file): Handle some of the more common
10308 characters that `ls -b' escapes. (Bug#10596)
10309
5ddce96c
GM
10310 * progmodes/compile.el (compilation-next-error-function):
10311 Respect compilation-first-column in the "*compilation*" buffer.
10312 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10313
5ae1a6c8
GM
10314 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10315
b559f1a9
GM
103162012-01-24 Glenn Morris <rgm@gnu.org>
10317
10318 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10319
6725d21a
JD
103202012-01-24 Julien Danjou <julien@danjou.info>
10321
10322 * color.el (color-rgb-to-hsl): Fix value computing.
10323 (color-hue-to-rgb): New function.
10324 (color-hsl-to-rgb): New function.
10325 (color-clamp, color-saturate-hsl, color-saturate-name)
10326 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10327 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10328
70df4bbe
GM
103292012-01-24 Glenn Morris <rgm@gnu.org>
10330
10331 * vc/vc-rcs.el (vc-rcs-create-tag):
10332 * vc/vc-sccs.el (vc-sccs-create-tag):
10333 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10334
802a2ae2
ML
103352012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10336
10337 * eshell/esh-util.el (eshell-read-hosts-file):
10338 Skip comment lines. (Bug#10549)
10339
d7128bb1
ML
10340 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10341
d1a5c3b4
JB
103422012-01-23 Juanma Barranquero <lekktu@gmail.com>
10343
2724d9c7
JB
10344 * subr.el (display-delayed-warnings): Doc fix.
10345 (collapse-delayed-warnings): New function to collapse identical
10346 adjacent warnings.
10347 (delayed-warnings-hook): Add it.
d1a5c3b4 10348
a5509865
MA
103492012-01-22 Michael Albinus <michael.albinus@gmx.de>
10350
10351 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10352
a5509865
MA
10353 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10354 (tramp-default-user-alist): Don't add "pscp".
10355 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10356 property "login-as", if set. (Bug#10530)
10357
cc6d5805
MA
103582012-01-21 Michael Albinus <michael.albinus@gmx.de>
10359
10360 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10361 "plink1" and "psftp". (Bug#10530)
10362
103632012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
10364
10365 * international/mule-cmds.el (prefer-coding-system): Show a
10366 warning message if the default value of file-name-coding-system
10367 was not changed.
10368
f0960428
JC
103692012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10370
cb882333
JB
10371 * windmove.el (windmove-reference-loc):
10372 Fix windmove-reference-loc miscalculation.
f0960428 10373
dd6f2a63
JB
103742012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10375
10376 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10377 default unit.
10378
7b447e9b
GM
103792012-01-21 Glenn Morris <rgm@gnu.org>
10380
117a9ea1
GM
10381 * international/mule.el (auto-coding-alist): Add .tbz.
10382
7b447e9b
GM
10383 * files.el (local-enable-local-variables): Doc fix.
10384 (inhibit-local-variables-regexps): Rename from
10385 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10386 Doc fix. Add some extensions from auto-coding-alist.
10387 (inhibit-local-variables-suffixes):
10388 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10389 (inhibit-local-variables-p):
10390 New function, extracted from set-auto-mode-1.
10391 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10392 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10393 (hack-local-variables): Doc fix. Make the mode-only case
10394 respect enable-local-variables and friends.
10395 Respect inhibit-local-variables-regexps for file-locals, but
10396 not for directory-locals.
10397 (set-visited-file-name):
10398 Take account of inhibit-local-variables-regexps.
10399 Whether it applies may change as the file name is changed.
10400 * jka-cmpr-hook.el (jka-compr-install):
10401 * jka-compr.el (jka-compr-uninstall):
10402 Update for inhibit-first-line-modes-suffixes name change.
10403
dd6e3cdd
MR
104042012-01-20 Martin Rudalics <rudalics@gmx.at>
10405
10406 * help-macro.el (make-help-screen): Temporarily restore original
10407 binding for minor-mode-map-alist (Bug#10454).
10408
0d0deb38
JD
104092012-01-19 Julien Danjou <julien@danjou.info>
10410
10411 * color.el (color-name-to-rgb): Use the white color to find the max
10412 color component value and return correctly computed values.
10413 (color-name-to-rgb): Add missing float conversion for max value.
10414
34a02f46
MR
104152012-01-19 Martin Rudalics <rudalics@gmx.at>
10416
10417 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
10418 special state value for window-persistent-parameters.
10419 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
10420 (window--state-put-2): Reset all window parameters to nil before
10421 assigning values of persistent parameters.
10422
606c44c4
AM
104232012-01-18 Alan Mackenzie <acm@muc.de>
10424
10425 Eliminate sluggishness and hangs in fontification of "semicolon
10426 deserts".
10427
cb882333
JB
10428 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10429 Change value 10000 -> 3000.
606c44c4
AM
10430 (c-state-safe-place): Reformulate so it doesn't stack up an
10431 infinite number of wrong entries in c-state-nonlit-pos-cache.
10432 (c-determine-limit-get-base, c-determine-limit): New functions to
10433 determine backward search limits disregarding literals.
10434 (c-find-decl-spots): Amend commenting.
10435 (c-cheap-inside-bracelist-p): New function which detects "={".
10436
10437 * progmodes/cc-fonts.el
10438 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10439 backward search.
10440 (c-font-lock-declarations): Fix an occurrence of point being
10441 undefined. Check additionally for point being in a bracelist or
10442 near a macro invocation without a semicolon so as to avoid a
10443 fruitless time consuming search for a declarator. Give a more
10444 precise search limit for declarators using the new
10445 c-determine-limit.
10446
f3860cea
GM
104472012-01-18 Glenn Morris <rgm@gnu.org>
10448
10449 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10450 (set-auto-mode): Doc fixes.
10451
1db03b16
GM
104522012-01-17 Glenn Morris <rgm@gnu.org>
10453
0e6038be
GM
10454 * isearch.el (search-nonincremental-instead): Fix doc typo.
10455
1db03b16
GM
10456 * dired.el (dired-insert-directory): Handle newlines in directory name.
10457 (dired-build-subdir-alist): Unescape newlines in directory name.
10458
4cb0aa75
MA
104592012-01-17 Michael Albinus <michael.albinus@gmx.de>
10460
10461 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10462 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10463 (tramp-action-terminal): Use it. (Bug#10530)
10464
1d00653d
SM
104652012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10466
10467 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10468
6a6ee00d
MR
104692012-01-16 Martin Rudalics <rudalics@gmx.at>
10470
10471 * window.el (window-state-ignored-parameters): Remove variable.
10472 (window--state-get-1): Rename argument MARKERS to IGNORE.
10473 Handle persistent window parameters. Make copy of clone-of
10474 parameter only if requested. (Bug#10348)
10475 (window--state-put-2): Install a window parameter only if it has
10476 a non-nil value or an existing parameter shall be overwritten.
10477
97912def
MA
104782012-01-15 Michael Albinus <michael.albinus@gmx.de>
10479
10480 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10481
688070a5
EZ
104822012-01-14 Eli Zaretskii <eliz@gnu.org>
10483
10484 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10485 don't pass the (nil) value of `upnode' to string-match.
10486
301afadc
CY
104872012-01-14 Chong Yidong <cyd@gnu.org>
10488
10489 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 10490 Fix values recognized by the cursorBlink resource.
301afadc 10491
9e5788aa
PE
104922012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10493
10494 * epg.el (epg--make-temp-file): Avoid permission race condition
10495 when running on old Emacs versions (bug#10403).
10496
3cdb7f5a
GM
104972012-01-14 Glenn Morris <rgm@gnu.org>
10498
10499 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10500
8c82b1b4
AM
105012012-01-13 Alan Mackenzie <acm@muc.de>
10502
10503 Fix filling for when filladapt mode is enabled.
10504
10505 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10506 c-mask-paragraph, pass in `fill-paragraph' rather than
10507 `fill-region-as-paragraph'. (This is a reversion of a previous
10508 change.)
eb864a71
LM
10509 * progmodes/cc-mode.el (c-basic-common-init):
10510 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 10511
e517eda4
GM
105122012-01-13 Glenn Morris <rgm@gnu.org>
10513
1498536e
GM
10514 * dired.el (dired-switches-escape-p): New function.
10515 (dired-insert-directory): Use dired-switches-escape-p.
10516 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10517
e517eda4
GM
10518 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10519
328f984d
GM
105202012-01-12 Glenn Morris <rgm@gnu.org>
10521
10522 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10523 changes in adaptive-fill-regexp. (Bug#10276)
10524
2cc769a8
AM
105252012-01-11 Alan Mackenzie <acm@muc.de>
10526
10527 Fix Emacs bug #10463 - put `widen's around the critical spots.
10528
1d00653d 10529 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
10530 widen around each invocation of c-state-pp-to-literal. Remove an
10531 unused let variable.
10532
e52c37fa
GM
105332012-01-11 Glenn Morris <rgm@gnu.org>
10534
10535 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 10536 Doc fix.
e52c37fa 10537
96f8741e
CY
105382012-01-10 Chong Yidong <cyd@gnu.org>
10539
1d00653d
SM
10540 * net/network-stream.el (network-stream-open-starttls):
10541 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
10542 response to the capability command.
10543
b09a806e
GM
105442012-01-10 Glenn Morris <rgm@gnu.org>
10545
10546 * mail/unrmail.el (unrmail): Tweak previous change.
10547
7655cb66
CY
105482012-01-09 Chong Yidong <cyd@gnu.org>
10549
10550 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10551
9d5a8f0b
AM
105522012-01-08 Alan Mackenzie <acm@muc.de>
10553
10554 Optimise font locking in long enum definitions.
10555
10556 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10557 arm to a cond form to handle enums.
10558 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10559 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10560
9a0115ab 105612012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
10562
10563 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 10564 (Bug#10401)
6bb72cbd 10565
f186bb95
LMI
105662012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10567
29232a68
LMI
10568 * faces.el (set-face-attribute): Clarify the meaning of the nil
10569 frame (bug#10294).
10570
4e5d086d
LMI
10571 * subr.el (with-selected-frame): Mention that the selected frame
10572 is restored (bug#9980).
10573
8e66aebe
LMI
10574 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10575 (bug#9759).
10576
cd394be1 10577 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
10578 (password-read): Don't autoload unused function.
10579
adf4e762
JB
105802012-01-07 Juanma Barranquero <lekktu@gmail.com>
10581
10582 * progmodes/which-func.el (which-func-mode): Turn into a
10583 non-interactive function and mark as obsolete (bug#10428).
10584
89bd9ccd
CY
105852012-01-06 Chong Yidong <cyd@gnu.org>
10586
10587 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10588 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10589 functions, along with 1 and -1.
10590
4afee9d5
EZ
105912012-01-06 Eli Zaretskii <eliz@gnu.org>
10592
10593 * time.el (display-time-load-average)
10594 (display-time-default-load-average): Doc fixes. See the thread
10595 starting at
10596 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10597 for the details.
10598
536aea70
GM
105992012-01-06 Glenn Morris <rgm@gnu.org>
10600
665ae865
GM
10601 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10602 has no messages. (Bug#10377)
10603
c869783d
GM
10604 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10605 than Info-edit. (Bug#10385)
10606
2bb4227e
GM
10607 * time.el (display-time-load-average, display-time-next-load-average):
10608 Doc fixes.
10609
7d5944b9
GM
10610 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10611 local setting of buffer-read-only to the input buffer. (Bug#10419)
10612
536aea70
GM
10613 * calendar/calendar.el (calendar-mode):
10614 Locally set scroll-margin to 0. (Bug#10379)
10615
7dccca16
UM
106162012-01-06 Ulrich Mueller <ulm@gentoo.org>
10617
10618 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10619
afbb7930
GM
106202012-01-05 Glenn Morris <rgm@gnu.org>
10621
10622 * eshell/em-unix.el (diff-no-select): Autoload it.
10623 (eshell/diff): Use diff-no-select. (Bug#10420)
10624
04482335
CY
106252012-01-05 Chong Yidong <cyd@gnu.org>
10626
7baca3bc
CY
10627 * shell.el (shell-dynamic-complete-functions): Revert last change.
10628 (shell-command-completion-function): New function.
10629 (shell-completion-vars): Use it to implement
10630 shell-completion-execonly (Bug#10417).
10631
04482335
CY
10632 * custom.el (enable-theme): Don't set custom-safe-themes.
10633
1d00653d
SM
10634 * cus-theme.el (custom-theme-merge-theme):
10635 Ignore custom-enabled-themes and custom-safe-themes.
04482335 10636
bb5aa5d6
MM
106372012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10638
10639 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10640 first prompt in `sql-interacive-mode'.
10641 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 10642 keywords.
6df6ae42 10643 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
10644 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10645 context of original buffer. Invoke `sql-login-hook'.
10646
a7183d7c
EZ
106472012-01-04 Eli Zaretskii <eliz@gnu.org>
10648
10649 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10650 letters in cite-prefix.
10651
a1eacd1e
LMI
106522012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10653
10654 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10655
787cdb34
CY
106562012-01-03 Chong Yidong <cyd@gnu.org>
10657
1d00653d
SM
10658 * shell.el (shell-dynamic-complete-functions):
10659 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
10660 comint-filename-completion first (Bug#10417).
10661
30710442
RS
106622012-01-02 Richard Stallman <rms@gnu.org>
10663
10664 * battery.el (battery-status-function):
10665 Detect when to use battery-yeeloong-sysfs.
10666 (battery-echo-area-format): Add string for Yeeloong.
10667 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10668 (battery-yeeloong-sysfs): New function.
10669
f75bfc33
CY
106702012-01-02 Chong Yidong <cyd@gnu.org>
10671
10672 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10673 (dirtrack): Merge code for handling relative filenames in prompt
10674 from shell-dir-cookie-watcher.
10675 (dirtrack-debug-message): New arg to avoid excess format calls.
10676
10677 * shell.el (shell-dir-cookie-re): Variable deleted.
10678 (shell-dir-cookie-watcher): Function deleted.
10679 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10680 with dirtrack-mode.
10681
651e947e
EZ
106822012-01-01 Eli Zaretskii <eliz@gnu.org>
10683
1d00653d
SM
10684 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10685 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
10686 libgnutls-26.dll.
10687
94d4c7dc
AS
106882011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10689
10690 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10691
8d43f3cd
EZ
106922011-12-31 Eli Zaretskii <eliz@gnu.org>
10693
10694 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10695 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10696
98c8795a
MA
106972011-12-29 Michael Albinus <michael.albinus@gmx.de>
10698
10699 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10700 also for alternative shells.
10701 (tramp-open-connection-setup-interactive-shell): Check, whether
10702 the shell is a busybox.
10703 (tramp-send-command): Don't suppress multiple prompts for
10704 busyboxes, it hurts.
10705
51281b32
CY
107062011-12-28 Chong Yidong <cyd@gnu.org>
10707
10708 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10709 (gdb-get-source-file): Move mode line update to
10710 gdb-get-source-file (Bug#10087).
10711
2170cb53
CY
107122011-12-25 Chong Yidong <cyd@gnu.org>
10713
10714 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10715 gud-gdb-marker-filter without taking it as an argument.
10716 (gud-gdb-run-command-fetch-lines): Caller changed.
10717 (gud-gdb-completion-function): New variable.
10718 (gud-gdb-completion-at-point): Use it.
10719 (gud-gdb-completions-1): Split from gud-gdb-completions.
10720
10721 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10722 function as separate arguments.
10723 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10724 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10725 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10726 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10727 (gdb-stopped, def-gdb-auto-update-trigger)
10728 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
10729 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10730 Callers changed.
2170cb53
CY
10731 (gud-gdbmi-completions): New function.
10732 (gdb): Use it for generating the completion table.
10733
be8b11bb
AM
107342011-12-24 Alan Mackenzie <acm@muc.de>
10735
10736 Introduce a mechanism to widen the region used in context font
1d00653d 10737 locking. Use this to protect declarations from losing their contexts.
be8b11bb 10738
1d00653d
SM
10739 * progmodes/cc-langs.el (c-before-font-lock-functions):
10740 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 10741 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
10742 functions to be run just before context (etc.) font locking.
10743
10744 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 10745 New, functionality extracted from
be8b11bb 10746 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 10747 (c-in-after-change-fontification): New variable.
be8b11bb
AM
10748 (c-after-change): Set c-in-after-change-fontification.
10749 (c-set-fl-decl-start): Rejig its interface, so it can be called
10750 from both after-change and context fontifying.
b81d40f0
JB
10751 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10752 New functions.
10753 (c-standard-font-lock-fontify-region-function): New variable.
10754 (c-font-lock-fontify-region): New function.
be8b11bb 10755
341cf6ac
JL
107562011-12-24 Juri Linkov <juri@jurta.org>
10757
10758 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10759 (Bug#10348)
10760
bffcee0a
MA
107612011-12-23 Michael Albinus <michael.albinus@gmx.de>
10762
10763 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10764 existence of source file. (Bug#10325)
10765
cb5e207c
AM
107662011-12-23 Alan Mackenzie <acm@muc.de>
10767
10768 Fix unstable fontification inside templates.
10769
b81d40f0
JB
10770 * progmodes/cc-langs.el (c-before-font-lock-functions):
10771 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
10772 additionally has c-set-fl-decl-start. The other languages (apart
10773 from AWK) have that as a single entry.
10774
b81d40f0
JB
10775 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10776 The functionality for "local" declarations has been extracted to
cb5e207c
AM
10777 c-set-fl-decl-start.
10778
b81d40f0
JB
10779 * progmodes/cc-mode.el (c-common-init, c-after-change):
10780 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
10781 (c-set-fl-decl-start): New function, extracted from
10782 c-font-lock-enclosing-decls and enhanced.
10783
60ff536c
JB
107842011-12-23 Juanma Barranquero <lekktu@gmail.com>
10785
10786 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10787
1c4757d6
JL
107882011-12-22 Juri Linkov <juri@jurta.org>
10789
10790 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10791
d031f2c7
CY
107922011-12-22 Chong Yidong <cyd@gnu.org>
10793
10794 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10795
bace743a
DA
107962011-12-21 Drew Adams <drew.adams@oracle.com>
10797
10798 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10799
728a1f2b
JC
108002011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10801
10802 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10803
0d373f73
TZ
108042011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10805
fec0aaa4
TZ
10806 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10807 highlighting and support. Fix up comments for capitalization.
10808 (cfengine-mode-debug): New var.
10809 (cfengine3-mode): Change the modeline indicator to "CFE3".
10810 (cfengine3-font-lock-keywords): Improve defun highlighting.
10811 (cfengine2-actions): Rename from `cfengine-actions'.
10812 (cfengine2-font-lock-keywords): Rename from
10813 `cfengine-font-lock-keywords'.
10814 (cfengine2-imenu-expression): Rename from
10815 `cfengine-imenu-expression'.
10816 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10817 (cfengine2-beginning-of-defun): Rename from
10818 `cfengine-beginning-of-defun'.
10819 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10820 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10821 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10822 modeline indicator to "CFE2".
10823 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10824 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 10825
bc86f573
CY
108262011-12-21 Chong Yidong <cyd@gnu.org>
10827
10828 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10829 filename argument.
10830
d45ba96b
MR
108312011-12-20 Martin Rudalics <rudalics@gmx.at>
10832
10833 * window.el (window-normalize-buffer-to-display): Remove.
10834 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10835
a6198c90
CY
108362011-12-19 Chong Yidong <cyd@gnu.org>
10837
10838 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10839 Don't signal an error in a predicate function; return non-nil.
10840 (vc-dir-mark-file): Move the error here.
10841 (vc-dir-mark-unmark): If acting on the region, keep going if one
10842 of the entries cannot be marked/unmarked.
10843 (vc-dir-mark-all-files): If current entry is a directory, mark
10844 only child files, as documented.
10845
34c5fb55
VB
108462011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10847
10848 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10849 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10850 addition.
10851
c803b2b7
JD
108522011-12-18 Jan Djärv <jan.h.d@swipnet.se>
10853
10854 * term/ns-win.el (ns-get-selection-internal)
10855 (ns-store-selection-internal): Declare.
1154d12e
JB
10856 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10857 Declare as obsolete.
10858 (ns-get-pasteboard, ns-paste-secondary):
10859 Use ns-get-selection-internal.
41e9b956 10860 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 10861 Use ns-store-selection-internal.
c803b2b7 10862
9cff91f8 108632011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
10864
10865 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 10866 (vc-deduce-fileset): Doc fix.
99a289d9 10867
f16c898a
AS
108682011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10869
10870 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10871
763237c4
SS
108722011-12-13 Sam Steingold <sds@gnu.org>
10873
10874 * man.el (Man-getpage-in-background): When running under a
10875 window-system, ignore $MANWIDTH and $COLUMNS.
10876
5fc1c122
KH
108772011-12-15 Kenichi Handa <handa@m17n.org>
10878
10879 * language/ethio-util.el: Change coding tag to utf-8-emacs.
10880 (setup-ethiopic-environment-internal): Comment out key-binding for
10881 ethio-toggle-punctuation.
10882
13d49cbb
AM
108832011-12-13 Alan Mackenzie <acm@muc.de>
10884
898169a2
AM
10885 Add the switch statement to AWK Mode.
10886
7a71b18d 10887 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
10888 "default" to the keywords regexp.
10889
7a71b18d 10890 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 10891 expression as the rest.
1d00653d
SM
10892 (c-nonlabel-token-key): Allow string literals for AWK.
10893 Refactor for the other modes.
898169a2 10894
13d49cbb 10895 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 10896 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
10897 routines. Limit backward searching in c-font-lock-enclosing.decl.
10898
10899 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10900 pp-state and literal type in addition to the limits.
1d00653d 10901 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 10902 (c-state-literal-at): Use the above new defun.
1d00653d
SM
10903 (c-slow-in-literal, c-fast-in-literal): Remove.
10904 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
10905
10906 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10907 being in a literal. Add a limit for backward searching.
10908
10909 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10910 c-slow-in-literal.
10911
15e0efc7
SM
109122011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
10913
10914 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10915
454592a6
MR
109162011-12-13 Martin Rudalics <rudalics@gmx.at>
10917
10918 * window.el (delete-other-windows): Use correct frame in call to
10919 window-with-parameter.
10920
87393f26
DP
109212011-12-12 Daniel Pfeiffer <occitan@t-online.de>
10922
10923 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10924 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10925 (makefile-gmake-statements, makefile-makepp-statements):
10926 Use it and add new makepp keywords.
10927 (makefile-makepp-font-lock-keywords): Add new patterns.
10928 (makefile-match-function-end): Match new [...] and [[...]].
10929
11636b22
JB
109302011-12-11 Juanma Barranquero <lekktu@gmail.com>
10931
10932 * ses.el (ses-call-printer-return, ses-cell-property-get)
10933 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10934 (ses-create-cell-variable, ses-reset-header-string)
10935 (ses-cell-set-formula, ses-repair-cell-reference-all)
10936 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10937 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10938 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10939 (ses-aset-with-undo, ses-load, ses-truncate-cell)
10940 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10941 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10942 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10943 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10944 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10945 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10946 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10947 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10948
cf018193
VB
109492011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
10950
10951 * ses.el: The overall change is to add cell renaming, that is
10952 setting fancy names for cell symbols other than name matching
10953 "\\`[A-Z]+[0-9]+\\'" regexp .
10954 (ses-create-cell-variable): New defun.
10955 (ses-relocate-formula): Relocate formulas only for cells the
10956 symbols of which are not renamed, i.e. symbols whose names do not
10957 match regexp "\\`[A-Z]+[0-9]+\\'".
10958 (ses-relocate-all): Relocate values only for cells the symbols of
10959 which are not renamed.
10960 (ses-load): Create cells variables as the (ses-cell ...) are read,
10961 in order to check row col consistency with cell symbol name only
10962 for cells that are not renamed.
10963 (ses-replace-name-in-formula): New defun.
10964 (ses-rename-cell): New defun.
10965
ee957461
CY
109662011-12-11 Chong Yidong <cyd@gnu.org>
10967
10968 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10969 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10970
9a9e9ef0
MR
109712011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10972
10973 * window.el (other-window): Fix docstring.
10974
92a8eba5
EZ
109752011-12-10 Eli Zaretskii <eliz@gnu.org>
10976
10977 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
10978 `from' or `to' address before taking its substring.
10979 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
10980 encoded name is chopped in the middle of the encoded string, and
10981 thus displayed encoded.
10982
e152e577
JB
109832011-12-10 Juanma Barranquero <lekktu@gmail.com>
10984
10985 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10986
e5d84bfe
EZ
109872011-12-10 Eli Zaretskii <eliz@gnu.org>
10988
10989 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10990 to use texinfo-update-node and commands that call it if the
10991 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 10992 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
10993 (texinfo-all-menus-update, texinfo-master-menu)
10994 (texinfo-update-node, texinfo-every-node-update)
10995 (texinfo-multiple-files-update): Doc fix. Warn against updating
10996 all the @node lines.
10997 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
10998 argument is numeric. Explain better in the doc string what the
10999 function really does.
11000 (texinfo-insert-master-menu-list): Improve the error message
11001 displayed if there's no menu in the Top node.
11002 (Bug#2975) See also this thread:
e5d84bfe
EZ
11003 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11004
1d84e9bb
MG
110052011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11006
11007 * speedbar.el (speedbar-supported-extension-expressions):
11008 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11009
382c953b
JB
110102011-12-09 Juanma Barranquero <lekktu@gmail.com>
11011
11012 * printing.el (pr-mode-alist):
11013 * simple.el (filter-buffer-substring-functions)
11014 (completion-list-insert-choice-function):
11015 * window.el (window-with-parameter, window-atom-root)
11016 (window-sides-slots, window-size-fixed, window-min-delta)
11017 (window-max-delta, window--resize-mini-window)
11018 (window--resize-child-windows-normal, window-tree)
11019 (delete-other-windows, quit-window, split-window)
11020 (display-buffer-record-window, special-display-buffer-names)
11021 (special-display-regexps, special-display-popup-frame)
11022 (same-window-p, split-window-sensibly)
11023 (display-buffer-overriding-action, display-buffer-alist)
11024 (display-buffer-base-action, display-buffer, switch-to-buffer)
11025 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11026 (fit-window-to-buffer, recenter-positions)
11027 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11028 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11029 and remove unneeded backslashes in docstrings.
11030
39c9faef
SM
110312011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11032
98449af8
SM
11033 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11034
39c9faef
SM
11035 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11036 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11037 end in ".mk".
11038 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11039 when reading the makefile (bug#10116).
11040
86ed9fdc
SM
110412011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11042
11043 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11044 (bug#10116).
11045
5580f89d
GM
110462011-12-06 Glenn Morris <rgm@gnu.org>
11047
11048 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11049
28d3917c
CY
110502011-12-06 Chong Yidong <cyd@gnu.org>
11051
11052 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11053
a98edce9
JB
110542011-12-06 Juanma Barranquero <lekktu@gmail.com>
11055
11056 * textmodes/table.el (table-shorten-cell): Fix typo.
11057
e65adfac
CG
110582011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11059
11060 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11061
71cc0b74
EZ
110622011-12-05 Eli Zaretskii <eliz@gnu.org>
11063
11064 * descr-text.el (describe-char): Fix display of strong
11065 right-to-left characters and directional embeddings and overrides.
11066
11067 * simple.el (what-cursor-position): Fix display of codepoints of
11068 strong right-to-left characters.
11069
315bc30d
CY
110702011-12-05 Chong Yidong <cyd@gnu.org>
11071
11072 * faces.el (read-color): Doc fix.
11073
58a70b94
GM
110742011-12-05 Glenn Morris <rgm@gnu.org>
11075
11076 * align.el (align--set-marker): Add doc-string.
11077 Don't try to move something that is not a marker. (Bug#10216)
11078
5158face
GM
110792011-12-04 Glenn Morris <rgm@gnu.org>
11080
11081 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11082 overly zealous deletion of trailing whitespace.
11083
520fca41
JB
110842011-12-04 Juanma Barranquero <lekktu@gmail.com>
11085
11086 * server.el (server-delete-client): On Windows, do not try to delete
11087 the only terminal.
11088 (server-process-filter): On Windows, treat requests for a tty frame as
11089 if they were for a GUI frame if the running server is in GUI mode.
11090
5e605a2e
GM
110912011-12-03 Glenn Morris <rgm@gnu.org>
11092
11093 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11094
5c3fe83f
SM
110952011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11096
6f5e57e7
SM
11097 * electric.el: Streamline electric-indent's hook.
11098 (electric-indent-chars): Revert to simple list.
11099 (electric-indent-functions): New var.
11100 (electric-indent-post-self-insert-function): Use it.
11101
5c3fe83f
SM
11102 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11103 there's no inferior buffer (bug#10196).
11104 (prolog-consult-compile): Don't use toggle-read-only.
11105
6bdac736
MA
111062011-12-02 Michael Albinus <michael.albinus@gmx.de>
11107
11108 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11109 interrupt. (Bug#10187)
11110
6131ba7f
SM
111112011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11112
99c79fee
SM
11113 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11114 (bug#9160).
11115
6131ba7f
SM
11116 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11117 (bug#10191).
11118
cb0a02ea
JL
111192011-12-02 Juri Linkov <juri@jurta.org>
11120
11121 * info.el (Info-search): Display "end of manual" when Isearch
11122 reaches the end of single-file Info manual. (Bug#9918)
11123
66e0570c
EZ
111242011-12-02 Eli Zaretskii <eliz@gnu.org>
11125
11126 * isearch.el (isearch-message-prefix): Run the input method part
11127 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11128
02b16839
JL
111292011-12-02 Juri Linkov <juri@jurta.org>
11130
11131 * isearch.el (isearch-occur): Use `word-search-regexp' for
11132 `isearch-word'.
11133 (isearch-search-and-update): Add condition for `isearch-word' and
11134 call `word-search-regexp'. (Bug#10145)
11135
0b950688
GM
111362011-12-01 Glenn Morris <rgm@gnu.org>
11137
11138 * eshell/em-hist.el (eshell-hist-initialize):
11139 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 11140 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 11141
9505c3c7
SM
111422011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11143
11144 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11145
1bbe96b2 111462011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 11147
a1beca85
SM
11148 * progmodes/verilog-mode.el (verilog-pretty-expr):
11149 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
11150 verilog, such as += *= and the like.
11151 (verilog-assignment-operator-re): Regular expression to find the
11152 assigment operator in a verilog assignment.
11153 (verilog-assignment-operation-re): Regular expression to find an
11154 assignment statement for pretty-expr.
11155 (verilog-in-attribute-p): Query returns true if point is in an
11156 attribute context; used to skip these for expression line up from
11157 pretty-expr.
11158 (verilog-in-parameter-p): Query returns true if point is in an
11159 parameter definition context; used to skip these for expression
11160 line up from pretty-expr.
11161 (verilog-in-parenthesis-p): Query returns true if point is in a
11162 parenthetical expression, specifically ( ) but not [ ] or { };
11163 used by pretty-expr.
11164 (verilog-just-one-space): If there is no space, don't add one.
11165 (verilog-get-lineup-indent-2): Specifically skip just attribute
11166 contexts for expression lineup, rather than skipping all
11167 parenthetical expressions.
11168 (verilog-calculate-indent): Fix comment, and fix indent.
11169 (verilog-do-indent): Indent declarations in lists (suggested by
11170 Joachim Lechner).
11171 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11172 skeleton items.
11173 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11174 by Alain Mellan).
11175
1bbe96b2 111762011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
11177
11178 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11179 parameters with embedded comments. Reported by Ray Stevens.
11180 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11181 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11182 Reported by Tim Holt.
11183 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11184 instantiated by upper module causing wrong expansion until AUTOed a
11185 second time. Reported by K C Buckenmaier.
11186 (verilog-diff-auto): Fix showing .* as a difference when
11187 `verilog-auto-star-save' off. Reported by Dan Dever.
11188 (verilog-auto-reset, verilog-read-always-signals)
11189 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11190 temporary signals in reset list if
11191 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
11192 style to each signal's assignment type, bug381.
11193 Reported by Thomas Esposito.
6288f0ca
WS
11194 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11195 (verilog-uvm-statement-re): Support UVM indentation and
11196 highlighting, with old OVM keywords only.
a1beca85 11197 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
11198 Support AUTOTIEOFF creating non-wire data types.
11199 Suggested by Jonathan Greenlaw.
6288f0ca
WS
11200 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11201 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11202 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
11203 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11204 Fix mismatching parenthesis inside commented out code when deleting
382c953b 11205 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
11206 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11207 non-numeric vector width. Reported by Alex Reed.
11208 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 11209 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
11210 (verilog-auto-delete-trailing-whitespace):
11211 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
11212 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11213 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11214 Fix verilog-scan-cache corruption when running user AUTO expansion
11215 hooks that call indentation routines.
11216 (verilog-simplify-range-expression): Fix typo ignoring lower case
11217 identifiers.
11218 (verilog-delete-auto): Fix delete-autos to also remove user created
11219 automatics, as long as they start with AUTO.
11220 (verilog-batch-diff-auto, verilog-diff-auto)
11221 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11222 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11223 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11224 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
11225 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11226 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
11227 is disabled and its cache will get corrupt, causing AUTOS not to
11228 expand. Instead use only -quick functions.
11229 (verilog-scan-region): Fix scanning over escaped quotes.
11230 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11231 (verilog-re-search-backward-quick)
11232 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11233 related functions now ignore strings, to fix misparsing of strings
11234 with magic comments embedded in them.
a1beca85
SM
11235 (verilog-read-auto-template):
11236 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11237 Reported by Brad Dobbie.
11238 (verilog-read-auto-template):
11239 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 11240 Reported by Brad Dobbie.
6288f0ca
WS
11241 (verilog-auto-inst, verilog-auto-inst-param)
11242 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11243 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11244 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
11245 debugging templates without merge conflicts, bug357.
11246 Reported by Brad Dobbie.
11247 (verilog-read-auto-template):
11248 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
11249 Reported by Brad Dobbie.
11250 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11251 abbrevs so user won't be asked to save.
11252 (verilog-read-auto-lisp-present): Fix to start at beginning of
11253 buffer in case called outside of verilog-auto.
11254 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11255 to "X-2". Reported by Matthew Myers.
11256 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11257 all inputs from module templates. Reported by Leith Johnson.
11258 (verilog-module-inside-filename-p): Fix locating programs as with
11259 modules.
11260 (verilog-auto-inst-port): Fix vl-width expressions when using
11261 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11262 (verilog-decls-get-regs, verilog-decls-get-signals,
11263 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11264 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11265 verilog-read-decls): Combine reg and wire structures into one var
11266 structure to represent SystemVerilog concepts.
11267 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11268 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
11269 (verilog-auto-wire-type, verilog-insert-definition):
11270 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
11271 SystemVerilog "logic" keyword instead of "wire"/"reg".
11272 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11273 to declares outputs that also have assignments (presumably in an
a1beca85
SM
11274 ifdef or generate if so there's not a driver conflict).
11275 Reported by Matthew Myers.
11276 (verilog-auto-declare-nettype, verilog-insert-definition):
11277 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
11278 `default_nettype none. Reported by Julian Gorfajn.
11279 (verilog-read-always-signals-recurse, verilog-read-decls)
11280 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11281 malformed end statement, bug325. Reported by Joshua Wise and
11282 Andrew Drake.
11283 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11284 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
11285 when expanding .* in interfaces, bug320.
11286 Reported by Pierre-David Pfister.
6288f0ca 11287 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
11288 name and open parenthesis, bug317.
11289 Reported by Pierre-David Pfister.
6288f0ca
WS
11290 (verilog-simplify-range-expression): Fix simplification of
11291 multiplications inside AUTOWIRE connections, bug303.
11292 (verilog-auto-inst-port): Support parameter expansion in
11293 multidimensional arrays.
11294 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11295 after "assert property". Reported by Julian Gorfajn.
11296 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11297 with multiplication, bug303.
11298 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11299 Reported by Jan Frode Lonnum.
11300
1bbe96b2
GM
113012011-11-30 Juanma Barranquero <lekktu@gmail.com>
11302
11303 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11304 (hfy-shell-file-name, hfy-shell):
11305 * international/fontset.el (x-decompose-font-name): Fix typos.
11306
113072011-11-29 Ken Brown <kbrown@cornell.edu>
11308
11309 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11310 (gdb-version): Remove defvar.
11311 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11312 (gdb-gud-context-command, gdb-non-stop-handler)
11313 (gdb-current-context-command, gdb-stopped): Use it.
11314 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
11315 (gdb-non-stop-handler): Don't enable pretty-printing here.
11316 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
11317 non-stop mode. Use the following.
11318 (gdb-check-target-async): New defun.
11319 (gud-watch, gdb-stopped): Fix whitespace.
11320 (gdb-get-source-file): Don't try to display the source file if
11321 `gdb-main-file' is nil.
11322
113232011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11324
11325 * align.el: Try to generate fewer markers (bug#10047).
11326 (align--set-marker): New macro.
11327 (align-region): Use it.
11328
c935221f
SM
113292011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11330
11331 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11332
e70b5064
CY
113332011-11-29 Chong Yidong <cyd@gnu.org>
11334
11335 * indent.el (indent-for-tab-command, indent-according-to-mode):
11336 Doc fix.
11337 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11338
f3af92b7
MA
113392011-11-29 Michael Albinus <michael.albinus@gmx.de>
11340
11341 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11342 aware of remote file names. (Bug#10124)
11343
ed472be9
CY
113442011-11-29 Chong Yidong <cyd@gnu.org>
11345
11346 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11347
24510c22
SM
113482011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11349
11350 * files.el (find-file): Don't use force-same-window (bug#10144).
11351 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11352 use pop-to-buffer if the selected window can't be used.
11353 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11354
c60c3703
EZ
113552011-11-28 Eli Zaretskii <eliz@gnu.org>
11356
11357 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11358 special-mode-map.
11359
e95def75
CY
113602011-11-28 Chong Yidong <cyd@gnu.org>
11361
11362 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11363
c3f1c606
NR
113642011-11-27 Nick Roberts <nickrob@snap.net.nz>
11365
11366 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11367 gdb-get-source-file-list on gdb-create-source-file-list.
11368
00db469c
EZ
113692011-11-26 Eli Zaretskii <eliz@gnu.org>
11370
11371 * whitespace.el (whitespace-newline): Use a different foreground
11372 color for 16-color light-background displays.
11373
4ad3bc2a
CY
113742011-11-24 Chong Yidong <cyd@gnu.org>
11375
11376 * window.el (display-buffer--special-action): Doc fix.
11377
e9fce1ac
JB
113782011-11-25 Juanma Barranquero <lekktu@gmail.com>
11379
11380 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11381 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11382 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11383 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11384 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11385 (avl-tree-stack-first):
11386 * emacs-lisp/cconv.el (cconv--analyse-use):
11387 * net/gnutls.el (gnutls-negotiate): Fix typos.
11388
cb825e5d
GM
113892011-11-24 Glenn Morris <rgm@gnu.org>
11390
3adbe224
GM
11391 * lpr.el (lpr-windows-system, lpr-lp-system):
11392 * mail/binhex.el (binhex-begin-line):
11393 * progmodes/grep.el (grep-history, grep-find-history):
11394 * textmodes/flyspell.el:
11395 * vc/pcvs-defs.el (cvs-global-menu):
11396 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11397 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11398 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11399
321decc8
GM
11400 * net/tls.el: Fix case of "GnuTLS".
11401
420b63ad
GM
11402 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11403
cb825e5d
GM
11404 * version.el (emacs-build-system): Give it a doc-string.
11405
a0649f08
JL
114062011-11-24 Juri Linkov <juri@jurta.org>
11407
11408 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11409
c0bc0fd4
GM
114102011-11-24 Glenn Morris <rgm@gnu.org>
11411
11412 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11413 if called on a non-mime message just toggle the headers. (Bug#8006)
11414
20db1522
JB
114152011-11-24 Juanma Barranquero <lekktu@gmail.com>
11416
11417 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11418 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11419 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11420 (allout-rebullet-heading, allout-open-sibtopic)
11421 (allout-toggle-current-subtree-encryption)
11422 (allout-toggle-subtree-encryption, allout-encrypt-string)
11423 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11424 (allout-distinctive-bullets-string, allout-auto-activation):
11425 * window.el (window-normalize-buffer-to-display):
11426 * progmodes/verilog-mode.el (verilog-batch-indent):
11427 * textmodes/bibtex.el (bibtex-field-braces-opt)
11428 (bibtex-field-strings-opt):
11429 * vc/cvs-status.el (cvs-tree-merge):
11430 Fix typos.
11431
7262a87c
MA
114322011-11-23 Michael Albinus <michael.albinus@gmx.de>
11433
11434 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11435 `non-essential' to t, in order to avoid remote connections.
11436
283430a1
EZ
114372011-11-23 Eli Zaretskii <eliz@gnu.org>
11438
a1beca85
SM
11439 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11440 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
11441 case-insensitively.
11442
d2992a38
ML
114432011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11444
11445 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11446
50419064
GM
114472011-11-23 Glenn Morris <rgm@gnu.org>
11448
da94eca1
GM
11449 * paths.el (rmail-file-name): Reformat the doc-string so that it
11450 is picked up.
11451
9aac4de2
GM
11452 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11453 (rmail-auto-file): Ignore case in the "special" field names,
11454 as mail-fetch-field does for all others.
11455
8038d2d2
GM
11456 * mail/rmail.el (rmail-forward):
11457 * mail/rmailkwd.el (rmail-set-label):
11458 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11459 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11460
f3fe222a
GM
11461 * mail/rmail.el (rmail-current-message): Doc fix.
11462
50419064
GM
11463 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11464
28109f49
SM
114652011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11466
11467 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11468
394c65f1
GM
114692011-11-22 Glenn Morris <rgm@gnu.org>
11470
11471 * mail/rmailmm.el (test-rmail-mime-handler)
11472 (test-rmail-mime-bulk-handler)
11473 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11474
f2a0aa3a
JL
114752011-11-21 Juri Linkov <juri@jurta.org>
11476
1154d12e
JB
11477 * calc/calc.el (calc-read-key-sequence):
11478 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 11479
9c34a344
LMI
114802011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11481
11482 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11483 Tell the caller that the next line needs recomputation, even
11484 though it doesn't start a sexp (bug#10094).
11485
f04a3be9
SM
114862011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11487
11488 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11489
7978747f
SM
114902011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11491
f04a3be9
SM
11492 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11493 Use force-same-window.
7978747f 11494
fe7a3057
JB
114952011-11-20 Juanma Barranquero <lekktu@gmail.com>
11496
11497 * descr-text.el (describe-char-unicode-data):
11498 * json.el (json-string-escape):
11499 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11500 (Footnote-unicode, Footnote-style-p):
11501 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11502
24901d61
CY
115032011-11-20 Chong Yidong <cyd@gnu.org>
11504
11505 * window.el (replace-buffer-in-windows): Restore interactive spec.
11506
bac7ff22
SM
115072011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11508
24f3d7b9
SM
11509 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11510
bac7ff22
SM
11511 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11512 (byte-compile-global-not-obsolete-vars): New var.
11513 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11514 Use it.
11515 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11516
cd1181db
JB
115172011-11-20 Juanma Barranquero <lekktu@gmail.com>
11518
11519 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11520 * progmodes/pascal.el (electric-pascal-equal):
11521 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11522 * xml.el (xml-substitute-special): Fix typos.
11523
7fb18e9e
GM
115242011-11-20 Glenn Morris <rgm@gnu.org>
11525
11526 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11527 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11528 Doc fixes.
11529 (rmail-decode-mime-charset): Mark as obsolete.
11530
11531 * mail/rmailsum.el (rmail-message-regexp-p-1):
11532 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11533 Before using mime functions, check they are set. (Bug#10077)
11534
d5a6b3ba
JL
115352011-11-19 Juri Linkov <juri@jurta.org>
11536
11537 * info.el (Info-finder-find-node): Use `package--builtins' instead
11538 of `package-alist'. Use node names formed by the pattern "Keyword "
11539 and the keyword name.
11540
e981b61f
AS
115412011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11542
1d00653d 11543 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 11544
3ffbc301
JL
115452011-11-19 Juri Linkov <juri@jurta.org>
11546
11547 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11548 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11549 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11550 `old-history', `old-history-forward'. Add let-binding
11551 `window-selected'. Remove calls to `kill-buffer',
11552 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11553 before calling `Info-find-node', so `Info-find-node-2' will reread
11554 the Info file. Restore window positions only when `window-selected'
11555 is non-nil.
11556
30c62133
JL
115572011-11-19 Juri Linkov <juri@jurta.org>
11558
11559 * isearch.el (isearch-lazy-highlight-new-loop):
11560 Remove condition `(not isearch-error)'. (Bug#9918)
11561
11562 * misearch.el (multi-isearch-search-fun): Add condition
11563 `(not bound)' to ignore lazy-highlighting search.
11564 Add the search-failed message "end of multi" when the end of
11565 multi-sequence is reached. Uncapitalize the search-failed
11566 message "Repeat for next buffer".
11567
11568 * info.el (Info-search): Add the search-failed message
11569 "end of the manual" when the end of the manual is reached
11570 in Isearch mode.
11571
645ca9cf
JL
115722011-11-19 Juri Linkov <juri@jurta.org>
11573
11574 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11575 Use non-destructive `remove' instead of `delete' because
11576 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11577 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11578
df754f66
JL
115792011-11-19 Juri Linkov <juri@jurta.org>
11580
11581 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11582 to nil instead of binding `search-ring' and `regexp-search-ring'.
11583 (Bug#9185)
11584
0e23d96a
EZ
115852011-11-19 Eli Zaretskii <eliz@gnu.org>
11586
11587 * simple.el (line-move): Force movement by logical lines for any
11588 hscrolled window, not only when auto-hscroll-mode is on.
11589 (line-move-visual): Update doc string to that effect. (Bug#10076)
11590
8a6ccb66
AS
115912011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11592
11593 * language/european.el (macintosh): Define as alias for mac-roman.
11594
49ae5b39
EZ
115952011-11-19 Eli Zaretskii <eliz@gnu.org>
11596
11597 * mail/rmailmm.el (rmail-mime-display-header)
11598 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11599 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11600 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11601 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11602 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11603 of a raw aref.
11604 (rmail-mime-entity-segment): To get past the tagline, move forward
11605 2 more lines, to account for the 2 empty lines that precede and
11606 follow the line with the buttons.
11607 (rmail-mime-update-tagline): Move one more line, to get past the
11608 empty line that follows the buttons in the tagline. (Bug#9520)
11609
c56cad4a
MR
116102011-11-19 Martin Rudalics <rudalics@gmx.at>
11611
11612 * window.el (window-max-delta-1, window-min-delta-1)
11613 (window-min-size-1, window-state-get-1, window-state-put-1)
11614 (window-state-put-2): Use "window--" prefix.
11615
cbe71af3
SM
116162011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11617
2ad52c60
SM
11618 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11619 (smie-warning-count): New var.
11620 (smie-set-prec2tab): Use it.
11621 (smie-bnf->prec2): Improve warnings. Add docstring.
11622 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11623 (smie-bnf--set-class): New function.
11624 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11625 corner case.
11626
6944dbc1
SM
11627 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11628 (compilation-error-properties, compilation-move-to-column):
11629 Handle compilation-first-column while in the target buffer.
11630
c400c4d7
SM
11631 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11632 Don't hardcode point-min==1.
11633
6dbe3e96
SM
11634 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11635 (eshell-rewrite-for-command): Remove workaround.
11636 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11637 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11638 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11639
cbe71af3
SM
11640 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11641
a8e1496d
GM
116422011-11-17 Glenn Morris <rgm@gnu.org>
11643
11644 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11645 Ignore buffer-local generated-autoload-file if it is the same
11646 as the global value. (Bug#10049)
11647
df85d315
JB
116482011-11-17 Juanma Barranquero <lekktu@gmail.com>
11649
11650 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11651 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11652 (reftex-toc-previous-heading, reftex-toc-max-level)
11653 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11654 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11655 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11656 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11657 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11658 (reftex-toc-rename-label, reftex-toc-visit-location)
11659 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11660 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11661 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11662 leaving "*toc*" only for references to the buffer.
11663
a0c2d0ae
MR
116642011-11-17 Martin Rudalics <rudalics@gmx.at>
11665
11666 * window.el (window-resize, delete-window, split-window):
11667 Replace window-splits by window-combination-resize.
1d00653d 11668 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 11669
35c0bac8
GM
116702011-11-17 Glenn Morris <rgm@gnu.org>
11671
11672 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11673 Make bash entry derive from sh entry, not shell entry.
11674
d0c8fc8a
MA
116752011-11-16 Michael Albinus <michael.albinus@gmx.de>
11676
7262a87c
MA
11677 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11678 local file name.
11679
7877f373
JB
116802011-11-16 Juanma Barranquero <lekktu@gmail.com>
11681
11682 * menu-bar.el (menu-bar-file-menu):
11683 * printing.el (pr-ps-utility):
11684 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11685 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11686 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11687 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11688 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11689 (icalendar--convert-cyclic-to-ical)
11690 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11691 (icalendar--convert-ical-to-diary)
11692 (icalendar--convert-recurring-to-diary)
11693 (icalendar--convert-non-recurring-all-day-to-diary)
11694 (icalendar-import-format-sample):
11695 * progmodes/idlw-shell.el (idlwave-shell-mode):
11696 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11697 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11698 (vhdl-ps-print-init): Fix typos.
11699
10649b82
KM
117002011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11701
9d0cfcd6
GM
11702 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11703 FSF and collapse date sequence, obscure author/maintainer email address
11704 better, remove extra version line, track relocation of author's webpage.
10649b82 11705
9d0cfcd6
GM
11706 * progmodes/python.el (python-pdbtrack-input-prompt)
11707 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11708 regular python pdb prompts. Adjustments shamelessly taken exactly as
11709 suggested in EmacsWiki page (tiny change):
11710 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 11711
58179cce
JB
117122011-11-16 Juanma Barranquero <lekktu@gmail.com>
11713
11714 * expand.el (expand-pos, expand-index, expand-point):
11715 Remove redundant info from docstring.
11716 (expand-add-abbrevs): Doc fix.
11717 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11718 (expand-sample-perl-mode-expand-list): Fix typos.
11719
11720 * net/dbus.el (dbus-event-member-name):
11721 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11722 * term/pc-win.el (msdos-create-frame-with-faces):
11723 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11724
b6f67890
MR
117252011-11-16 Martin Rudalics <rudalics@gmx.at>
11726
11727 * window.el (split-window, window-state-get-1)
11728 (window-state-put-1, window-state-put-2): Rename occurrences of
11729 window-nest to window-combination-limit.
1d00653d 11730 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 11731
ce7ddba0
CY
117322011-11-16 Chong Yidong <cyd@gnu.org>
11733
11734 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11735 regexp (Bug#10033).
11736
3ae704f4
SM
117372011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11738
11739 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11740 `completing-read' will remove *Completions* and will preserve
11741 current-buffer for us.
11742 (tmm-add-prompt): Users of *Completions* will always (re)set its
11743 major mode.
11744 (tmm-old-comp-map): Remove.
11745
6ad1cdde
GM
117462011-11-16 Glenn Morris <rgm@gnu.org>
11747
11748 * mail/rmailedit.el: Require rmailmm when compiling.
11749 (rmail-old-mime-state): New declaration.
11750 (rmail-edit-current-message): If editing a mime message,
11751 edit the "raw" message from the mbox buffer.
11752 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11753
d20faa20
GM
117542011-11-15 Glenn Morris <rgm@gnu.org>
11755
11756 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11757 which wasn't being used. Add optional arg to force given state.
11758 (rmail-mime): Add optional arg to force given state.
11759
c7015153
JB
117602011-11-15 Juanma Barranquero <lekktu@gmail.com>
11761
11762 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11763 * frame.el (display-mm-dimensions-alist):
11764 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11765 (outline-move-subtree-down):
11766 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11767 (newsticker--treeview-do-get-node):
11768 * net/quickurl.el (quickurl-list-buffer-name):
11769 * progmodes/dcl-mode.el (dcl-mode):
11770 * progmodes/gdb-mi.el (gdb-mapcar*):
11771 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11772
45261b50
GM
117732011-11-15 Glenn Morris <rgm@gnu.org>
11774
11775 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11776 in a boolean sense, so just make it a boolean, and fix the doc.
11777 (rmail-show-mime-function, rmail-mime-feature)
11778 (rmail-require-mime-maybe): Doc fixes.
11779 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11780
11781 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11782
0d26e0b6
JB
117832011-11-15 Juanma Barranquero <lekktu@gmail.com>
11784
11785 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11786 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11787 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11788 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11789
447f30f6
GM
117902011-11-15 Glenn Morris <rgm@gnu.org>
11791
672b871d
GM
11792 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11793 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11794 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11795 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11796 (rmail-mime, rmail-show-mime): Doc fixes.
11797
f6aa5bb1
GM
11798 * term/ns-win.el (mode-line-frame-identification):
11799 Leave it alone. (Bug#10051)
11800
947cd66b
GM
11801 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11802
447f30f6
GM
11803 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11804 Handle empty buffers. (Bug#9978)
11805
0b381c7e
JB
118062011-11-14 Juanma Barranquero <lekktu@gmail.com>
11807
11808 * international/mule.el (define-charset):
11809 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11810 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11811 * progmodes/verilog-mode.el (verilog-backward-token):
11812 * textmodes/ispell.el (lookup-words):
11813 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11814
71e027ac
GM
118152011-11-14 Glenn Morris <rgm@gnu.org>
11816
56632ce4
GM
11817 * progmodes/executable.el
11818 (executable-make-buffer-file-executable-if-script-p):
11819 Handle file-modes returning nil.
11820
40500957
GM
11821 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11822 message - not necessary, and causes problems. (Bug#9831)
11823
071c2340
GM
11824 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11825
d3cfca60
GM
11826 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11827
71e027ac
GM
11828 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11829 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11830 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11831
89d61221
MR
118322011-11-12 Martin Rudalics <rudalics@gmx.at>
11833
11834 * window.el (window-resize, delete-window): Use window-splits
11835 variable instead of function.
11836 (window-state-get-1, window-state-put-2, window-state-put):
11837 Don't deal with windows' splits status.
11838
98282f6f
GM
118392011-11-12 Glenn Morris <rgm@gnu.org>
11840
11841 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11842 (apropos-documentation): Doc fixes.
11843
40a8bdf6
JB
118442011-11-11 Juanma Barranquero <lekktu@gmail.com>
11845
11846 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11847 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11848
65bd19ff
SM
118492011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11850
11851 * electric.el (electric-indent-post-self-insert-function): Make it
11852 possible for a char to only indent in some circumstances.
11853 (electric-indent-mode): Simplify.
11854
54f9154c
MR
118552011-11-11 Martin Rudalics <rudalics@gmx.at>
11856
11857 * window.el (windows-with-parameter): Remove unused function.
11858 (windows-at-side): Rename to window-at-side-list.
11859 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
11860 (window-side-check, window-size-ignore, window-size-fixed-1)
11861 (window-in-direction-2): Prefix with "window--".
11862 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 11863
68cbc58b
GM
118642011-11-11 Glenn Morris <rgm@gnu.org>
11865
11866 * subr.el (eval-after-load): If FILE is already loaded,
11867 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11868
b2621720
GM
118692011-11-10 Glenn Morris <rgm@gnu.org>
11870
9a4de110
GM
11871 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11872 Call svn via vc-svn-command rather than vc-do-command.
11873 (vc-svn-command): Add --non-interactive. (Bug#9993)
11874 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11875
b2621720
GM
11876 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11877 Add toggle-read-only. (Bug#7292)
11878 * files.el (toggle-read-only): Mention that it should only
11879 be used interactively. (Bug#10006)
11880
1dce7193
SM
118812011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
11882
d9ac1a1e
SM
11883 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11884 Adjust regexp for OCaml warnings.
11885
0c325082
SM
11886 * electric.el (electric-pair-post-self-insert-function): Let user
11887 turn it off buffer-locally (bug#9932).
11888
90132c14
SM
11889 * progmodes/python.el (python-beginning-of-statement):
11890 Rewrite (bug#2703).
11891
1dce7193
SM
11892 * progmodes/compile.el: Better handle TABs (bug#9749).
11893 (compilation-internal-error-properties)
11894 (compilation-next-error-function): Obey the target buffer's
11895 compilation-error-screen-columns.
11896
c4e7c63a
JB
118972011-11-09 Juanma Barranquero <lekktu@gmail.com>
11898
11899 * progmodes/meta-mode.el: Remove obsolete comments.
11900 (meta-right-comment-regexp, meta-ignore-comment-regexp):
11901 Fix typos in docstrings.
11902
2cffd681
MR
119032011-11-09 Martin Rudalics <rudalics@gmx.at>
11904
11905 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 11906 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
11907 (window--resizable): New function. Make all callers of
11908 window-resizable call window--resizable instead.
11909 (window-resizable): Rewrite in terms of window--resizable.
11910
0edcba87
GM
119112011-11-08 Glenn Morris <rgm@gnu.org>
11912
11913 * progmodes/delphi.el (delphi-mode-syntax-table):
11914 Let define-derived-mode define a proper syntax table. (Bug#9994)
11915
4b0d61e3
SM
119162011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11917
11918 * window.el: Stay away from defsubst.
11919 (window-list-no-nils): Remove.
11920 (window-state-get-1, window-state-get): Use backquote instead.
11921
cd394be1 119222011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 11923
4b0d61e3 11924 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 11925 Fix incorrect use of default argument in `completing-read'.
11926
e1c2c6f2
MR
119272011-11-08 Martin Rudalics <rudalics@gmx.at>
11928
11929 * window.el (display-buffer-function, special-display-function):
11930 Mention display-buffer-record-window but do not mention
11931 help-setup parameter in doc-strings.
b3f4a882 11932 (window-min-delta): Fix doc-string typo.
e1c2c6f2 11933
105216ed
CY
119342011-11-08 Chong Yidong <cyd@gnu.org>
11935
11936 * window.el (window-total-height, window-total-width): Doc fix.
11937 (window-body-size): Move from C.
11938 (window-body-height, window-body-width): Move to C.
11939
0a9f9ab5
SM
119402011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11941
11942 * window.el: Make special-display like display-buffer-alist (bug#9532).
11943 (display-buffer--special-action): New function, morphed
11944 from display-buffer--special.
11945 (display-buffer): Use it to handle special-display-buffers at higher
11946 priority (just after display-buffer-alist).
11947 (display-buffer-fallback-action, display-buffer--other-frame-action)
11948 (pop-to-buffer-same-window): Remove display-buffer--special.
11949
a769dd15
GM
119502011-11-07 Glenn Morris <rgm@gnu.org>
11951
11952 * calendar/cal-menu.el (cal-menu-set-date-title):
11953 Do nothing if not in a calendar. (Bug#9976)
11954
05a61ee3
SM
119552011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11956
11957 * files.el (find-file): Always use selected-window.
11958
be7f5545
MR
119592011-11-07 Martin Rudalics <rudalics@gmx.at>
11960
11961 * window.el (window-combinations): Make WINDOW argument
11962 mandatory. Rewrite doc-string.
11963 (walk-window-subtree, window-atom-check, window-min-delta)
11964 (window-max-delta, window--resize-this-window)
11965 (window--resize-root-window-vertically, window-tree)
11966 (balance-windows, window-state-put): Rewrite doc-strings as to
11967 not mention the term "subwindow".
11968 (window--resize-subwindows-skip-p): Rename to
11969 window--resize-child-windows-skip-p.
11970 (window--resize-subwindows-normal): Rename to
11971 window--resize-child-windows-normal.
11972 (window--resize-subwindows): Rename to
11973 window--resize-child-windows.
11974 (window-or-subwindow-p): Rename to window--in-subtree-p.
11975
3c6702ef
ML
119762011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11977
11978 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11979 Ensure that mbox format messages end in two newlines (Bug#9974).
11980
49745b39
CY
119812011-11-06 Chong Yidong <cyd@gnu.org>
11982
11983 * window.el (window-combination-p): Function deleted; its
11984 side-effect is not used in any existing code.
11985 (window-combinations, window-combined-p): Call window-*-child
11986 directly.
11987
24300f5f
CY
119882011-11-05 Chong Yidong <cyd@gnu.org>
11989
11990 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
11991 (window-size-ignore, window-state-get): Callers changed.
11992 (window-normalize-window): Rename from window-normalize-any-window.
11993 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 11994 (window-normalize-live-window): Delete.
447f16b8
CY
11995 (window-combination-p, window-combined-p, window-combinations)
11996 (walk-window-subtree, window-atom-root, window-min-size)
11997 (window-sizable, window-sizable-p, window-size-fixed-p)
11998 (window-min-delta, window-max-delta, window-resizable)
11999 (window-resizable-p, window-full-height-p, window-full-width-p)
12000 (window-current-scroll-bars, window-point-1, set-window-point-1)
12001 (window-at-side-p, window-in-direction, window-resize)
12002 (adjust-window-trailing-edge, maximize-window, minimize-window)
12003 (window-deletable-p, delete-window, delete-other-windows)
12004 (record-window-buffer, unrecord-window-buffer)
12005 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12006 (quit-window, split-window, window-state-put)
12007 (set-window-text-height, fit-window-to-buffer)
12008 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 12009
89bd5ee1
EZ
120102011-11-04 Eli Zaretskii <eliz@gnu.org>
12011
53479029
EZ
12012 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12013 rfc2047-decode-string.
12014 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12015 warnings.
12016
89bd5ee1
EZ
12017 * window.el (window-body-height, window-body-width): Mention in
12018 the doc string that the return values are in frame's canonical
12019 units. (Bug#9949)
12020
bd17fdee
AM
120212011-11-03 Alan Mackenzie <acm@muc.de>
12022
12023 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12024 change in cc-engine.el.
12025
acc825c5
SM
120262011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12027
12028 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12029
1885e5b8
MR
120302011-11-02 Martin Rudalics <rudalics@gmx.at>
12031
12032 * window.el (quit-window): Call unrecord-window-buffer after
12033 showing another buffer in the window. (Bug#9937)
acc825c5 12034 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 12035
ebe06da9
JB
120362011-11-02 Juanma Barranquero <lekktu@gmail.com>
12037
12038 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12039 Accept status with more than 9 shelves. (Bug#9935)
12040 Reported by Colin D Bennett <colin@gibibit.com>.
12041
4ee88440
MR
120422011-11-01 Martin Rudalics <rudalics@gmx.at>
12043
12044 * help.el (with-help-window): Don't reference
12045 temp-buffer-show-specifiers in doc-string.
12046
08e1d82c
AS
120472011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12048
12049 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12050 menu-item.
12051
84bd6e9e
VJL
120522011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12053
12054 * whitespace.el: New version 13.2.2.
12055 (whitespace-newline-mode): Disable properly. Reported by Sarah
12056 <EmacsWiki>.
12057
dba0634a
UJ
120582011-10-30 Ulf Jasper <ulf.jasper@web.de>
12059
12060 * net/newst-treeview.el: Remove "Time-stamp".
12061 (newsticker--group-manage-orphan-feeds): Do not call
12062 newsticker--treeview-tree-update.
db22a3c2
JB
12063 (newsticker-treeview-update, newsticker-treeview):
12064 Call newsticker--treeview-tree-update if necessary.
dba0634a 12065
3d8daefe
MR
120662011-10-30 Martin Rudalics <rudalics@gmx.at>
12067
12068 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
12069 (window-iso-combinations): Remove "iso-" infix.
12070 Suggested by Chong Yidong.
3d8daefe
MR
12071 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12072 (window-max-delta-1, window-resize, window--resize-siblings)
12073 (window--resize-this-window, adjust-window-trailing-edge)
12074 (split-window, balance-windows-1)
12075 (shrink-window-if-larger-than-buffer):
12076 * calendar/calendar.el (calendar-generate-window):
db22a3c2 12077 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 12078
1bc4c3ae
SM
120792011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12080
12081 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12082 in place (bug#9907).
12083 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12084 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12085 (eshell-structure-basic-command, eshell-rewrite-while-command)
12086 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12087 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12088 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12089 (eshell-do-pipelines-synchronously, eshell-eval-command):
12090 Use backquotes and prefer setq to set.
12091 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12092 (eshell-macrop): Use functionp.
c1e2f5fa 12093 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 12094
30b65d9c
CY
120952011-10-30 Chong Yidong <cyd@gnu.org>
12096
12097 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12098 instead of set-mark (Bug#9810).
12099
2d197ffb
CY
121002011-10-30 Chong Yidong <cyd@gnu.org>
12101
12102 * window.el (split-window-below, split-window-right): Rename from
12103 split-window-above-each-other and split-window-side-by-side
12104 respectively. All callers changed.
12105 (split-window-sensibly, split-window-sensibly): Use them.
12106 (split-window-keep-point): Doc fix.
12107
12108 * isearch.el: Add isearch-scroll property to split-window-below
12109 and split-window-right.
12110
12111 * follow.el (follow-mode):
12112 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12113 * progmodes/ada-xref.el (ada-gdb-application):
12114 * emulation/vip.el (vip-buffer-in-two-windows):
12115 * image-dired.el (image-dired-dired-with-window-configuration):
12116 * dired-x.el (dired-do-find-marked-files):
12117 * dired.el (dired-pop-to-buffer):
12118 * bs.el (bs--show-with-configuration):
12119 * vc/emerge.el (emerge-setup-windows):
12120 * textmodes/two-column.el (2C-two-columns):
12121 * textmodes/reftex-toc.el (reftex-toc):
12122 * progmodes/gdb-mi.el (gdb-setup-windows):
12123 * progmodes/fortran.el (fortran-window-create):
12124 * net/newst-treeview.el (newsticker--treeview-window-init):
12125 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12126 * emulation/tpu-edt.el (tpu-gold-map):
12127 * emulation/crisp.el (crisp-mode-map):
12128 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12129
38bb2ca8
CY
121302011-10-29 Chong Yidong <cyd@gnu.org>
12131
aa4de341
CY
12132 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12133
e1eb5385
CY
12134 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12135
5d2ece3c
CY
12136 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12137 forged Ispell output (Bug#7904).
12138
38bb2ca8
CY
12139 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12140
d0af9f77
SM
121412011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12142
12143 * doc-view.el: Avoid ugly errors about not finding nil.
12144 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12145 (doc-view-dvipdf-program, doc-view-unoconv-program)
12146 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12147 Avoid nil or absolute file name as default value.
12148 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12149
52bedd34
AM
121502011-10-28 Alan Mackenzie <acm@muc.de>
12151
db22a3c2 12152 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 12153
7e43cfa5
AM
121542011-10-28 Alan Mackenzie <acm@muc.de>
12155
12156 Amend the handling of c-beginning/end-of-defun in nested declaration
12157 scopes.
12158
52bedd34
AM
12159 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12160 cc-langs.el. Change it to a defcustom.
7e43cfa5 12161
52bedd34
AM
12162 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12163 cc-vars.el.
7e43cfa5 12164
d0af9f77
SM
12165 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12166 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 12167
52bedd34 12168 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 12169 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
12170 (c-widen-to-enclosing-decl-scope): New function.
12171 (c-while-widening-to-decl-block): New macro.
12172 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12173 outward for defun boundaries, and correspondingly change symbol
12174 `respect-enclosure' to `go-outward'.
12175 (c-declaration-limits): Change algorithm to report only the "innermost"
12176 defun's boundaries.
12177
1a2ce9ee
DD
121782011-10-28 Deniz Dogan <deniz@dogan.se>
12179
12180 * net/rcirc.el (rcirc-mode): Use hard newlines.
12181
bc97a826
AM
121822011-10-28 Alan Mackenzie <acm@muc.de>
12183
12184 Amend to indent and fontify macros "which include their own semicolon"
12185 correctly, using the "virtual semicolon" mechanism.
12186
52bedd34 12187 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 12188
d0af9f77 12189 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 12190 Recode to scan one line at a time rather than having \n and \r
58179cce 12191 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 12192 (c-forward-label): Amend for virtual semicolons.
58179cce 12193 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 12194
52bedd34
AM
12195 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12196 of the new C macros.
bc97a826 12197
52bedd34 12198 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
12199 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12200 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
12201 (c-opt-cpp-macro-define): Make into a full language variable.
12202 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12203 AWK Mode (including \n, \r) removed, no longer needed.
12204
d0af9f77
SM
12205 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12206 Invoke c-make-macro-with-semi-re.
bc97a826 12207
52bedd34
AM
12208 * progmodes/cc-vars.el (c-macro-with-semi-re):
12209 (c-macro-names-with-semicolon): New variables.
58179cce 12210 (c-make-macro-with-semi-re): New function.
bc97a826 12211
7a6c0941
SM
122122011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12213
12214 * vc/log-edit.el: Fill empty field rather than adding new one.
12215 (log-edit-add-field): New function.
12216 (log-edit-insert-changelog): Use it.
12217
b0c4cdcf
ML
122182011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12219
12220 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12221
ee1f1da9
SM
122222011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12223
12224 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12225 (gdb--check-interpreter): New function.
12226 (gdb): Use it.
12227
51bc5f8b
GM
122282011-10-27 Glenn Morris <rgm@gnu.org>
12229
416a2c45
GM
12230 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12231 (least-positive-float, least-negative-float)
12232 (least-positive-normalized-float, least-negative-normalized-float)
12233 (float-epsilon, float-negative-epsilon):
12234 Remove unnecessary declarations.
12235
12236 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12237 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12238 (least-positive-float, least-negative-float)
12239 (least-positive-normalized-float, least-negative-normalized-float)
12240 (float-epsilon, float-negative-epsilon): Add doc-strings,
12241 based on those in cl.texi.
12242
51bc5f8b
GM
12243 * files.el (set-visited-file-name): If the major-mode changed,
12244 reload the local variables. (Bug#9796)
12245
15de15c6
CY
122462011-10-27 Chong Yidong <cyd@gnu.org>
12247
12248 * subr.el (change-major-mode-after-body-hook): New hook.
12249 (run-mode-hooks): Run it.
12250
ee1f1da9
SM
12251 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12252 Use change-major-mode-before-body-hook.
15de15c6
CY
12253
12254 * simple.el (fundamental-mode):
12255 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12256 change introducing fundamental-mode-hook.
12257
5430d399
JB
122582011-10-26 Juanma Barranquero <lekktu@gmail.com>
12259
acc825c5 12260 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 12261
ad74a69e
MA
122622011-10-26 Michael Albinus <michael.albinus@gmx.de>
12263
12264 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 12265 tramp.el explicitly. (Bug#7583)
ad74a69e 12266
71d4c2a5
SM
122672011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12268
12269 * progmodes/octave-mod.el:
12270 * progmodes/octave-inf.el: Update maintainer.
12271
b1f6fa26
CY
122722011-10-26 Chong Yidong <cyd@gnu.org>
12273
12274 * subr.el (with-wrapper-hook): Rewrite doc.
12275
3f04efd6
MA
122762011-10-25 Michael Albinus <michael.albinus@gmx.de>
12277
12278 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 12279 filenames "/method:foo:". (Bug#9793)
3f04efd6 12280
410488d3
SM
122812011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12282
12283 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12284 (bug#9865).
12285
c1ebb47e
GM
122862011-10-24 Glenn Morris <rgm@gnu.org>
12287
12288 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12289
7f5c46c7
MA
122902011-10-24 Michael Albinus <michael.albinus@gmx.de>
12291
12292 * notifications.el: Add the requirement of a running D-Bus session
12293 bus to the Commentary.
12294
db2440b6
JL
122952011-10-24 Juri Linkov <juri@jurta.org>
12296
12297 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12298 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12299 (Bug#9364)
12300
feecf435
JL
123012011-10-24 Juri Linkov <juri@jurta.org>
12302
12303 * info.el (Info-following-node-name-re): Add newline to the list
12304 of allowed characters for leading space. (Bug#9824)
12305
a3839de2
SM
123062011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12307
acc825c5
SM
12308 * progmodes/octave-inf.el (inferior-octave-mode-map):
12309 Fix C-c C-h binding.
a3839de2
SM
12310 * progmodes/octave-mod.el (octave-help): Remove.
12311
09388e76
MA
123122011-10-23 Michael Albinus <michael.albinus@gmx.de>
12313
12314 Sync with Tramp 2.2.3.
12315
12316 * net/tramp-cache.el (top): Pacify byte-compiler using
12317 `init-file-user' and `site-run-file'.
12318
12319 * net/trampver.el: Update release number.
12320
86c60681
CY
123212011-10-23 Chong Yidong <cyd@gnu.org>
12322
12323 * files.el (toggle-read-only): Remove obsolete comment about
12324 version control.
12325
12326 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12327 for toggle-read-only. Note that this hasn't called vc-next-action
12328 since 2008-05-02, though it wasn't documented at the time.
12329
a3839de2
SM
12330 * vc/ediff-init.el (ediff-toggle-read-only-function):
12331 Use toggle-read-only.
86c60681 12332
cd5495ff
AM
123332011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12334
12335 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12336 of c-parse-state.
12337
00b77525 12338 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 12339 correct faulty logical expression.
cd5495ff
AM
12340 (c-parse-state-state, c-record-parse-state-state):
12341 (c-replay-parse-state-state): New defvar/defuns.
12342 (c-debug-parse-state): Use new functions.
12343
42ee24ed
MR
123442011-10-22 Martin Rudalics <rudalics@gmx.at>
12345
12346 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 12347 last fix. Use window-in-direction correctly.
42ee24ed 12348
a7dee7e7
CY
123492011-10-21 Chong Yidong <cyd@gnu.org>
12350
12351 * progmodes/idlwave.el (idlwave-mode):
12352 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
12353 require-final-newline; that's done in prog-mode.
12354 Suggested by Stefan Monnier.
a7dee7e7 12355
e07b9a6d
MR
123562011-10-21 Martin Rudalics <rudalics@gmx.at>
12357
12358 * mouse.el (mouse-drag-window-above)
12359 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12360 (mouse-drag-mode-line-1, mouse-drag-header-line)
12361 (mouse-drag-vertical-line-rightward-window): Remove.
12362 (mouse-drag-line): New function.
12363 (mouse-drag-mode-line, mouse-drag-header-line)
12364 (mouse-drag-vertical-line): Call mouse-drag-line.
12365 * window.el (window-at-side-p, windows-at-side): New functions.
12366
7e1361d9
UM
123672011-10-21 Ulrich Mueller <ulm@gentoo.org>
12368
12369 * tar-mode.el (tar-grind-file-mode):
12370 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12371
30fcaf3a
CY
123722011-10-21 Chong Yidong <cyd@gnu.org>
12373
12374 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
12375 * progmodes/vera-mode.el (vera-mode):
12376 Use mode-require-final-newline.
30fcaf3a 12377
516eddb0
GM
123782011-10-20 Glenn Morris <rgm@gnu.org>
12379
db22a3c2 12380 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 12381
10d5f513
CS
123822011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12383
12384 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12385
ac6c8639
CY
123862011-10-20 Chong Yidong <cyd@gnu.org>
12387
12388 * emulation/cua-base.el (cua-mode):
12389 * mail/footnote.el (footnote-mode):
12390 * mail/mailabbrev.el (mail-abbrevs-mode):
12391 * net/xesam.el (xesam-minor-mode):
12392 * progmodes/bug-reference.el (bug-reference-mode):
12393 * progmodes/cap-words.el (capitalized-words-mode):
12394 * progmodes/compile.el (compilation-minor-mode)
12395 (compilation-shell-minor-mode):
12396 * progmodes/gud.el (gud-tooltip-mode):
12397 * progmodes/hideif.el (hide-ifdef-mode):
12398 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12399 * progmodes/subword.el (subword-mode):
12400 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12401 * progmodes/which-func.el (which-function-mode):
12402 * term/tvi970.el (tvi970-set-keypad-mode):
12403 * term/vt100.el (vt100-wide-mode):
12404 * textmodes/flyspell.el (flyspell-mode):
12405 * textmodes/ispell.el (ispell-minor-mode):
12406 * textmodes/nroff-mode.el (nroff-electric-mode):
12407 * textmodes/paragraphs.el (use-hard-newlines):
12408 * textmodes/refill.el (refill-mode):
12409 * textmodes/reftex.el (reftex-mode):
12410 * textmodes/rst.el (rst-minor-mode):
12411 * textmodes/sgml-mode.el (html-autoview-mode)
12412 (sgml-electric-tag-pair-mode):
12413 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12414 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12415 * emulation/crisp.el (crisp-mode):
12416 * emacs-lisp/eldoc.el (eldoc-mode):
12417 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12418 minor mode behavior.
12419
aa42ab43
JL
124202011-10-19 Juri Linkov <juri@jurta.org>
12421
12422 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12423 the list of hard-coded chars with escape-glyph face.
12424
89400f1d
SM
124252011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12426
12427 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12428
305c07f6
MA
124292011-10-19 Michael Albinus <michael.albinus@gmx.de>
12430
12431 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12432 running process.
12433
13754b54
GM
124342011-10-19 Glenn Morris <rgm@gnu.org>
12435
12436 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12437 Ignore ignored files. (Bug#9726)
12438
06e21633
CY
124392011-10-19 Chong Yidong <cyd@gnu.org>
12440
12441 Doc fix for minor modes, stating that an omitted argument enables
12442 the mode unconditionally when called from Lisp.
12443
12444 * abbrev.el (abbrev-mode):
12445 * allout.el (allout-mode):
12446 * autoinsert.el (auto-insert-mode):
12447 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12448 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12449 (global-auto-revert-mode):
12450 * battery.el (display-battery-mode):
12451 * composite.el (global-auto-composition-mode)
12452 (auto-composition-mode):
12453 * delsel.el (delete-selection-mode):
12454 * desktop.el (desktop-save-mode):
12455 * dired-x.el (dired-omit-mode):
12456 * dirtrack.el (dirtrack-mode):
12457 * doc-view.el (doc-view-minor-mode):
12458 * double.el (double-mode):
12459 * electric.el (electric-indent-mode, electric-pair-mode):
12460 * emacs-lock.el (emacs-lock-mode):
12461 * epa-hook.el (auto-encryption-mode):
12462 * follow.el (follow-mode):
12463 * font-core.el (font-lock-mode):
12464 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12465 * help.el (temp-buffer-resize-mode):
12466 * hilit-chg.el (highlight-changes-mode)
12467 (highlight-changes-visible-mode):
12468 * hi-lock.el (hi-lock-mode):
12469 * hl-line.el (hl-line-mode, global-hl-line-mode):
12470 * icomplete.el (icomplete-mode):
12471 * ido.el (ido-everywhere):
12472 * image-file.el (auto-image-file-mode):
12473 * image-mode.el (image-minor-mode):
12474 * iswitchb.el (iswitchb-mode):
12475 * jka-cmpr-hook.el (auto-compression-mode):
12476 * linum.el (linum-mode):
12477 * longlines.el (longlines-mode):
12478 * master.el (master-mode):
12479 * mb-depth.el (minibuffer-depth-indicate-mode):
12480 * menu-bar.el (menu-bar-mode):
12481 * minibuf-eldef.el (minibuffer-electric-default-mode):
12482 * mouse-sel.el (mouse-sel-mode):
12483 * msb.el (msb-mode):
12484 * mwheel.el (mouse-wheel-mode):
12485 * outline.el (outline-minor-mode):
12486 * paren.el (show-paren-mode):
12487 * recentf.el (recentf-mode):
12488 * reveal.el (reveal-mode, global-reveal-mode):
12489 * rfn-eshadow.el (file-name-shadow-mode):
12490 * ruler-mode.el (ruler-mode):
12491 * savehist.el (savehist-mode):
12492 * scroll-all.el (scroll-all-mode):
12493 * scroll-bar.el (scroll-bar-mode):
12494 * server.el (server-mode):
12495 * shell.el (shell-dirtrack-mode):
12496 * simple.el (auto-fill-mode, transient-mark-mode)
12497 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12498 (line-number-mode, column-number-mode, size-indication-mode)
12499 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12500 * strokes.el (strokes-mode):
12501 * time.el (display-time-mode):
12502 * t-mouse.el (gpm-mouse-mode):
12503 * tool-bar.el (tool-bar-mode):
12504 * tooltip.el (tooltip-mode):
12505 * type-break.el (type-break-mode-line-message-mode)
12506 (type-break-query-mode):
12507 * view.el (view-mode):
12508 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12509 (global-whitespace-mode, global-whitespace-newline-mode):
12510 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12511
a3839de2
SM
12512 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12513 Fix autogenerated docstring.
06e21633 12514
5214e501
JL
125152011-10-19 Juri Linkov <juri@jurta.org>
12516
12517 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12518 by checking environment variables "DESKTOP_SESSION" and
12519 "XDG_CURRENT_DESKTOP". (Bug#9779)
12520
195f8db9
JL
125212011-10-19 Juri Linkov <juri@jurta.org>
12522
12523 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12524 (browse-url-chromium-program, browse-url-chromium-arguments):
12525 New defcustoms.
12526 (browse-url-default-browser): Check for `browse-url-chromium' and
12527 call `browse-url-chromium-program'.
12528 (browse-url-chromium): New command. (Bug#9779)
12529
343a34ff
JB
125302011-10-18 Juanma Barranquero <lekktu@gmail.com>
12531
12532 * facemenu.el (list-colors-duplicates): On Windows, detect more
12533 duplicates by assuming that only colors matching "^System" are
12534 special "system colors". (Bug#9722)
12535
6978a151
SM
125362011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12537
12538 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12539 to distinguish the author from the committer.
12540
6a80b297
MA
125412011-10-18 Michael Albinus <michael.albinus@gmx.de>
12542
12543 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12544
b31a5677
JK
125452011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12546
12547 * international/mule.el (sgml-html-meta-auto-coding-function):
12548 Add support for detecting encoding in HTML5 specified only as
12549 <meta charset="UTF-8">. Implementation just makes http-equiv and
12550 content-type parts from HTML4 encoding string optional. (Bug#9716)
12551
80c6d77f
GM
125522011-10-18 Glenn Morris <rgm@gnu.org>
12553
12554 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12555
08b0fee8
CY
125562011-10-18 Chong Yidong <cyd@gnu.org>
12557
12558 * faces.el (cursor): Doc fix.
12559
67e729a5
CY
125602011-10-17 Chong Yidong <cyd@gnu.org>
12561
12562 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12563
343a34ff 125642011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
12565
12566 * dirtrack.el (dirtrack): Support shell buffers with path
12567 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12568
0bc06380
TZ
125692011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12570
12571 * json.el: Bump version to 1.3 and note change in History.
12572 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12573
8b79f3e0
SM
125742011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12575
5a7c536b
SM
12576 * comint.el (comint-insert-input, comint-send-input)
12577 (comint-get-old-input-default, comint-backward-matching-input)
12578 (comint-next-prompt): Use nil instead of `input' for field property of
12579 past user input (bug#114).
12580
96a8a0df
SM
12581 * minibuffer.el (completion--replace): Inherit surrounding properties
12582 (bug#114).
12583 (minibuffer-complete-and-exit): Use it.
12584
8b79f3e0
SM
12585 * comint.el (comint--table-subvert): Quote the all-completions output
12586 (bug#9160).
12587
b8f7ff0d
MR
125882011-10-17 Martin Rudalics <rudalics@gmx.at>
12589
8b79f3e0 12590 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 12591
b8f7ff0d 12592 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 12593 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
12594 entries and separate them from frame entries.
12595
c235b555
GM
125962011-10-15 Glenn Morris <rgm@gnu.org>
12597
12598 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12599 Doc fixes.
12600
6bbfa6e1
CY
126012011-10-15 Chong Yidong <cyd@stupidchicken.com>
12602
8b79f3e0
SM
12603 * net/network-stream.el (network-stream-open-starttls):
12604 Improve detection of failure due to lack of TLS support.
ec5c990d 12605
6bbfa6e1
CY
12606 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12607 putting the input text in front and in bold.
12608
98488977
SM
126092011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12610
3d1337be
SM
12611 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12612
ee0b45e4
SM
12613 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12614 empty buffer.
12615
98488977
SM
12616 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12617 unread-command-events rather than pushing yet-another event.
12618
186f4720
EZ
126192011-10-14 Eli Zaretskii <eliz@gnu.org>
12620
12621 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12622 the explanation of the possible choices. Make the options passed
12623 to completing-read shorter.
12624
8b7a997c
AM
126252011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12626
12627 * textmodes/flyspell.el (flyspell-large-region): Make sure
12628 extended character mode is used if defined (Bug#1339).
12629
12587bbb
EZ
126302011-10-13 Eli Zaretskii <eliz@gnu.org>
12631
12632 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
12633 character info for LRE, LRO, RLE, and RLO characters by appending
12634 an invisible PDF.
12587bbb 12635
bad41229
SM
126362011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12637
12638 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12639 even in case of error; add debug spec; simplify data flow.
12640 (with-timeout-handler): Remove.
12641
28dbc92f
MA
126422011-10-12 Michael Albinus <michael.albinus@gmx.de>
12643
12644 Fix Bug#6019, Bug#9315.
12645
12646 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12647 complete `buffer-file-name', the local file name part could look
12648 remotely (for example on VMS).
12649
12650 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12651 `tramp-run-real-handler'.
12652 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12653 already quoted by '"'.
12654
12655 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12656 Let `file-name-handler-alist' be nil, the local file name part
12657 could look remotely (for example on VMS).
12658
e1b0b23a
SM
126592011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12660
12661 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12662 from here...
12663 (flyspell-post-command-hook): ...to here.
12664
a120bde9
SM
126652011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12666
12667 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12668 if not needed.
12669 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12670 using completion. Protect against "slow" callers.
12671 Remove the "message hack".
12672
7ce7717b
JL
126732011-10-11 Juri Linkov <juri@jurta.org>
12674
12675 * isearch.el (isearch-lazy-highlight-word): New variable.
12676 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12677 Use it. (Bug#9727)
12678
c02ee9d6
GM
126792011-10-11 Glenn Morris <rgm@gnu.org>
12680
12681 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12682 like f90-previous-statement does.
12683
93e616fd 126842011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12685
1f190e73 12686 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
12687 only in interactive use, to avoid error.
12688
af7b6078
SM
126892011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12690
12691 * minibuffer.el (completion-file-name-table): Fix last change,
12692 i.e. ignore normal errors but not the other ones.
12693
0563dae9
MR
126942011-10-10 Martin Rudalics <rudalics@gmx.at>
12695
12696 * window.el (special-display-buffer-names)
12697 (special-display-regexps): Remove some remnants of earlier
12698 changes from doc-strings.
366ca7f3
MR
12699 (quit-windows-on): New function.
12700
12701 * vc/vc.el (vc-revert, vc-rollback):
12702 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12703 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 12704 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 12705
49677495
MR
127062011-10-09 Martin Rudalics <rudalics@gmx.at>
12707
12708 * window.el (frame-auto-hide-function): Add version tag.
12709 (Bug#9699)
12710
56f2d1e1
MA
127112011-10-09 Michael Albinus <michael.albinus@gmx.de>
12712
12713 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12714 condition.
12715
112a6592
LL
127162011-10-09 Leo Liu <sdl.web@gmail.com>
12717
12718 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12719 (Bug#9701)
12720
0812589b
GM
127212011-10-08 Glenn Morris <rgm@gnu.org>
12722
12723 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12724 before the first code statement zero indent. (Bug#9690)
12725
b2b0776e
CY
127262011-10-08 Chong Yidong <cyd@stupidchicken.com>
12727
12728 * simple.el (count-words-region): Always count in the region.
12729 Report the number of lines and characters too.
12730 (count-words): New command, which counts in the buffer if the
12731 region is inactive, as count-words-region used to.
12732 (count-words--message): New function. Handle plurals.
12733 (count-lines-region): Make it an alias for count-words-region.
12734
12735 * bindings.el (esc-map): Replace count-lines-region with
12736 count-words-region.
12737
c557cd6b
MR
127382011-10-08 Martin Rudalics <rudalics@gmx.at>
12739
12740 * window.el (window--delete): Delete dedicated frame
12741 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 12742 (switch-to-buffer): Fix doc-string typo.
c557cd6b 12743
61a57ef4 127442011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12745
3a7d293b 12746 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 12747
c3833279
CY
127482011-10-07 Chong Yidong <cyd@stupidchicken.com>
12749
12750 * bindings.el ([M-left],[M-right]): Bind to left-word and
12751 right-word respectively.
12752
21ce8245
GM
127532011-10-07 Glenn Morris <rgm@gnu.org>
12754
12755 * cus-start.el (debug-on-quit): Fix custom type.
12756
6d823bb2
LMI
127572011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12758
0181e193
LMI
12759 * subr.el (define-key-after): Clarify that the function is not
12760 useful for non-menu keymaps.
12761
6d823bb2
LMI
12762 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12763
8e3459ce 127642011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12765
21ce8245 12766 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 12767 in current minibuffer (Fix bug with recursive minibuffers).
12768
a1c2d21e
CY
127692011-10-06 Chong Yidong <cyd@stupidchicken.com>
12770
12771 * progmodes/gdb-mi.el (gdb): Doc fix.
12772
5a4cf282
MR
127732011-10-05 Martin Rudalics <rudalics@gmx.at>
12774
12775 * window.el (frame-auto-hide-function): New option replacing
12776 frame-auto-delete. Suggested by Stefan Monnier.
12777 (window--delete): Call frame-auto-hide-function instead of
12778 investigating frame-auto-delete.
c96111ea
MR
12779 (window-point-1, set-window-point-1): New functions.
12780 (window-in-direction, record-window-buffer, window-state-get-1)
12781 (display-buffer-record-window): Use window-point-1 instead of
12782 window-point.
12783 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 12784
9854542e
SM
127852011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12786
12787 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12788
8943cfb0
GM
127892011-10-05 Glenn Morris <rgm@gnu.org>
12790
12791 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12792 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12793
647ab967
LL
127942011-10-05 Leo Liu <sdl.web@gmail.com>
12795
12796 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12797 works with buffer object.
12798
3ddfbced
SM
127992011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12800
12801 * mpc.el (mpc-tool-bar-map): Add labels.
12802
bdfa5dd2
GM
128032011-10-04 Glenn Morris <rgm@gnu.org>
12804
12805 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12806
0e2070b5
MR
128072011-10-04 Martin Rudalics <rudalics@gmx.at>
12808
12809 * window.el (window--delete): New function.
12810 (frame-auto-delete): Resuscitate option.
12811 (bury-buffer, replace-buffer-in-windows)
12812 (quit-window): Rewrite using window--delete.
12813 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12814 Pass display-buffer-mark-dedicated to window--display-buffer-2
12815 (Bug#9639).
12816
3dc61a09
SM
128172011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12818
915a9b64
SM
12819 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12820 returns a list (bug#9554). Add remote file name completion.
12821 * comint.el (comint--table-subvert): Curry and get quote&unquote
12822 functions as arguments.
12823 (comint--complete-file-name-data): Adjust call accordingly.
12824 * pcomplete.el (pcomplete--table-subvert): Remove.
12825 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12826
3dc61a09
SM
12827 * minibuffer.el (completion-table-case-fold): Use currying.
12828 (completion--styles-type, completion--cycling-threshold-type):
12829 New constants.
12830 (completion-styles, completion-category-overrides)
12831 (completion-cycle-threshold): Use them.
12832 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12833 completion-table-case-fold.
12834
8ea0a993
SB
128352011-10-03 Stephen Berman <stephen.berman@gmx.net>
12836
12837 * minibuffer.el (completion-category-overrides): Fix type of styles
12838 and add more user friendly tags (bug#9660).
12839
8c24b7f6
SM
128402011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12841
12842 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12843 (mule-input-method-string): New widget.
12844 (default-input-method, language-info-custom-alist): Use it.
12845
428fe61a
SM
128462011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12847
32c1fffd
SM
12848 * pcomplete.el: Require comint.
12849 (pcomplete--common-suffix): Remove.
12850 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12851 (pcomplete--table-subvert): Sync with comint--table-subvert.
12852 (pcomplete--entries): Use comint-completion-file-name-table.
12853 * comint.el (comint-unquote-filename): Simplify.
12854 (comint-completion-file-name-table): New function (bug#9616).
12855 (comint--complete-file-name-data): Use it.
12856
428fe61a
SM
12857 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12858 (pcmpl-gnu-tar-buffer): Remove.
12859 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
12860 around. Make sure pcomplete-suffix-list is only changed temporarily.
12861 Don't look inside the tar's file if it's too large.
428fe61a 12862
04c52e2f
CY
128632011-10-01 Chong Yidong <cyd@stupidchicken.com>
12864
ce3cefcc
CY
12865 * cus-edit.el (custom-mode-map):
12866 * epa.el (epa-key-list-mode-map):
12867 * man.el (Man-mode-map):
12868 * startup.el (splash-screen-keymap):
12869 * simple.el (special-mode-map): Use scroll-up-command and
12870 scroll-down-command.
12871
12872 * progmodes/idlw-help.el (idlwave-help-mode-map):
12873 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12874 * net/newst-plainview.el (newsticker-mode-map):
12875 * emulation/ws-mode.el (wordstar-mode-map):
12876 * emulation/vi.el (vi-com-map):
12877 * calc/calc-graph.el (calc-graph-show-dumb):
12878 * term/sun.el (terminal-init-sun):
12879 * term/ns-win.el (global-map):
12880 * progmodes/grep.el (grep-mode-map):
12881 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12882 * mail/rmail.el (rmail-mode-map):
12883 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12884
04c52e2f
CY
12885 * custom.el (custom-safe-themes, load-theme): Treat value of t for
12886 custom-safe-themes as special.
12887
79adf8c8
JD
128882011-10-01 Julien Danjou <julien@danjou.info>
12889
12890 * notifications.el (notifications-notify): Fix docstring.
12891
63bd50d3
PS
128922011-10-01 Per Starbäck <per@starback.se>
12893
12894 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
12895
199e4c7e
MR
128962011-09-30 Martin Rudalics <rudalics@gmx.at>
12897
12898 * startup.el (command-line-1): Fix last fix by inserting
12899 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 12900 (Bug#9605) and (Bug#9636)
199e4c7e 12901
fe5f08dd
EZ
129022011-09-29 Eli Zaretskii <eliz@gnu.org>
12903
12904 * simple.el (line-move): If auto-hscroll-mode is disabled and the
12905 window is hscrolled, move by logical lines. (Bug#9607)
12906 (line-move-visual): Update the doc string to the above effect.
12907
b5516bbd
MR
129082011-09-29 Martin Rudalics <rudalics@gmx.at>
12909
ccee00c0
MR
12910 * window.el (display-buffer-record-window): When WINDOW is the
12911 selected window use `point' instead of `window-point'. (Bug#9626)
12912
b5516bbd
MR
12913 * startup.el (command-line-1): Use insert-before-markers when
12914 inserting initial-scratch-message. (Bug#9605)
ccee00c0 12915
b5516bbd
MR
12916 * help.el (help-window): Remove variable.
12917
52aa0014
GM
129182011-09-29 Glenn Morris <rgm@gnu.org>
12919
12920 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12921
df9a7357
JB
129222011-09-29 Juanma Barranquero <lekktu@gmail.com>
12923
12924 * descr-text.el (describe-char-categories): Accept category
12925 descriptions more than one line long.
12926
a8406c20
SM
129272011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
12928
88d9610c
SM
12929 * simple.el (delete-trailing-whitespace): Fix last change.
12930
a5daf810
SM
12931 * progmodes/perl-mode.el (perl-syntax-propertize-function):
12932 Don't confuse "y => 3" as the beginning of a `y' operation.
12933
a8406c20
SM
12934 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12935 object has more than 4 slots (bug#9613).
12936
a239d4e9
JB
129372011-09-28 Juanma Barranquero <lekktu@gmail.com>
12938
12939 * subr.el (with-output-to-temp-buffer):
12940 * net/quickurl.el (quickurl, quickurl-browse-url):
12941 Fix typos in docstrings.
12942
693fbdb6
EZ
129432011-09-27 Eli Zaretskii <eliz@gnu.org>
12944
12945 * minibuffer.el (completion-styles)
12946 (completion-category-overrides): Cross reference each other in doc
12947 strings.
12948
8b457e28
GM
129492011-09-27 Glenn Morris <rgm@gnu.org>
12950
12951 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12952 to split-string. (Bug#9606)
12953
85a16208
LMI
129542011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12955
12956 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12957 (bug#9615).
12958
502f9ebd
CY
129592011-09-27 Chong Yidong <cyd@stupidchicken.com>
12960
12961 * emacs-lisp/package.el (list-packages): Fix echo area message.
12962
7690bdea
LL
129632011-09-27 Leo Liu <sdl.web@gmail.com>
12964
12965 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12966
e2ee6f30
MA
129672011-09-25 Michael Albinus <michael.albinus@gmx.de>
12968
12969 * net/dbus.el (dbus-unregister-object): Don't release services for
12970 registered signals. (Bug#9581)
12971
f3f98342
TZ
129722011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12973
12974 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12975 function that picks between cfengine 2 and 3 support
12976 automatically. Update docs accordingly.
12977
dd7aa8dd
KH
129782011-09-22 Kenichi Handa <handa@m17n.org>
12979
12980 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12981 ZERO.
12982 (indian-itrans-v5-table-for-tamil): New variable.
12983 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12984
3f2b07f8
KM
129852011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12986
12987 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12988 that's true if the current command involved collapsing of text.
12989 It's reset to false at the beginning of the next command.
12990 (allout-post-command-business): Move the cursor to the beginning
12991 of entry if the cursor is hidden and collapsing activity just
12992 happened.
12993
371d6a61
CY
129942011-09-24 Chong Yidong <cyd@stupidchicken.com>
12995
12996 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12997 tracking (Bug#9541).
12998
2ac2721a
UJ
129992011-09-24 Ulf Jasper <ulf.jasper@web.de>
13000
13001 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
13002 (newsticker-show-news): Automatically load html rendering package
13003 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13004 because w3m-fill-column is let-bound" and the error "Symbol's value
13005 as variable is void: w3m-fill-column".
2ac2721a 13006
fac7ae53
MA
130072011-09-24 Michael Albinus <michael.albinus@gmx.de>
13008
13009 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13010 Release services only if they are defined. (Bug#9581)
13011
e08b633b
RS
130122011-09-23 Richard Stallman <rms@gnu.org>
13013
e488d29c
RS
13014 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13015 distinguish start of paragraph from start of its text.
13016
19c38752
RS
13017 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13018
e08b633b
RS
13019 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13020 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13021 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13022
0a39f27e
AS
130232011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13024
13025 * international/mule-diag.el (mule-diag): Insert a newline after
13026 each fontset description.
13027
db4e950d
SM
130282011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13029
13030 * simple.el (delete-trailing-whitespace):
13031 Document last change; simplify.
13032
eca3f3ea
PW
130332011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13034
d68e189a
PW
13035 * simple.el (delete-trailing-whitespace): Also delete
13036 extra newlines at the end of the buffer.
13037
eca3f3ea
PW
13038 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13039 (picture-newline): Use forward-line so as to ignore fields.
13040
01c157cc
SM
130412011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13042
13043 * subr.el (with-wrapper-hook): Fix edebug spec.
13044
022de23e
LMI
130452011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13046
13047 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13048 (bug#4538).
13049
91683089
MA
130502011-09-23 Michael Albinus <michael.albinus@gmx.de>
13051
eca3f3ea
PW
13052 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13053 Fix nasty bug using wrong cached values.
91683089 13054
5bdd6fa4
AM
130552011-09-23 Alan Mackenzie <acm@muc.de>
13056
13057 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13058
97adfb97
CY
130592011-09-23 Chong Yidong <cyd@stupidchicken.com>
13060
13061 * window.el (pop-to-buffer): Ensure right window is selected if we
13062 chose another frame.
13063
d4ef2b50
EZ
130642011-09-22 Eli Zaretskii <eliz@gnu.org>
13065
13066 * simple.el (what-cursor-position): Use get-char-property-change
13067 and next-single-char-property-change, to be able to show display
13068 properties that come from overlays as well as text properties.
13069
72258fe5
CY
130702011-09-22 Chong Yidong <cyd@stupidchicken.com>
13071
13072 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13073
13074 * cmuscheme.el (run-scheme, switch-to-scheme):
13075 * cus-edit.el (customize-group, custom-buffer-create)
13076 (customize-browse):
13077 * info.el (info):
13078 * shell.el (shell):
13079 * mail/sendmail.el (mail):
13080 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13081
8f098516
RS
130822011-09-22 Richard Stallman <rms@gnu.org>
13083
13084 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13085 move back only to line beg, don't move back over blank lines.
13086
e74f1bb6
MA
130872011-09-22 Michael Albinus <michael.albinus@gmx.de>
13088
13089 * files.el (copy-directory): Set directory attributes only in case
13090 they could be retrieved from the source directory. (Bug#9565)
13091
bfeef8b6
DK
130922011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13093
13094 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13095 (hs-find-block-beginning, hs-hide-level-recursive):
13096 Ignore strings as well as comments. (Bug#9502)
13097
7e423bb8
AS
130982011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13099
13100 * progmodes/sql.el (sql-comint-postgres):
13101 Convert port number to a string. (Bug#9566)
13102
b4d72fcf
MR
131032011-09-22 Martin Rudalics <rudalics@gmx.at>
13104
13105 * window.el (quit-window): Undedicate window when switching to
13106 previous buffer. Reported by Thierry Volpiatto
13107 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
13108 (special-display-popup-frame): When popping up a new frame reset
13109 its previous buffers to nil. Simplify code.
b4d72fcf 13110
a7b88dc6
MA
131112011-09-21 Michael Albinus <michael.albinus@gmx.de>
13112
13113 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13114 and process filter, as done also in `shell-command'.
13115
cf4eacfd
MR
131162011-09-21 Martin Rudalics <rudalics@gmx.at>
13117
eca3f3ea 13118 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
13119 Call set-window-start with NOFORCE argument t.
13120 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
13121 (quit-window): Reword doc-string. Handle new format of
13122 quit-restore parameter. Don't delete window if it has a
13123 previous buffer we can show instead of the present one.
13124 (display-buffer-record-window): Rewrite using a new format for
13125 the quit-restore window parameter
13126 (special-display-popup-frame, display-buffer-same-window)
13127 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13128 (display-buffer-pop-up-window, display-buffer-use-some-window):
13129 Adapt symbol passed to display-buffer-record-window.
13130 * help.el (help-window-setup): Handle new format of quit-restore
13131 parameter.
13132
8d28cb95
SM
131332011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13134
94ab793f
SM
13135 * faces.el (face-list): Fix docstring (bug#9564).
13136
8d28cb95
SM
13137 * window.el (display-buffer--action-function-custom-type):
13138 Don't include internal functions in the Custom interface.
13139
3820edeb
JL
131402011-09-20 Juri Linkov <juri@jurta.org>
13141
13142 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13143 (Info-forward-node, Info-backward-node, Info-next-preorder)
13144 (Info-last-preorder): Use it. (Bug#9528)
13145
5147931d
JL
131462011-09-20 Juri Linkov <juri@jurta.org>
13147
13148 * info.el (Info-last-preorder): Visit last menu item only when
13149 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13150
cf499a1a
JD
131512011-09-20 Julien Danjou <julien@danjou.info>
13152
13153 * password-cache.el (password-cache-remove): Remove entries even if the
13154 value is nil, so that password with a nil value (negative caching) is
13155 possible to invalidate.
13156
f84e2fe2
LM
131572011-09-20 Lawrence Mitchell <wence@gmx.li>
13158
13159 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13160 all whitespace around breakpoint. (Bug#9553)
13161 (f90-find-breakpoint): Only break at whitespace inside a comment.
13162
78054a46
SM
131632011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13164
13165 * minibuffer.el (completion-file-name-table): Keep track of errors.
13166 (completion-table-with-predicate): Handle the case where pred1 is nil.
13167 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13168
345083b2
SM
131692011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13170
e24e27be
SM
13171 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13172 (debugger-return-value): Signal an error if the debugging context does
13173 not await any return value.
13174
345083b2
SM
13175 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13176 * image-mode.el (image-toggle-display-text)
13177 (image-toggle-display-image): Stay away from evil `intangible'.
13178
08d355e3
LL
131792011-09-19 Leo Liu <sdl.web@gmail.com>
13180
13181 * replace.el (occur-revert-arguments): Make it permanent-local.
13182 (occur-mode): Don't call font-lock-defontify.
13183
f01da43f
CY
131842011-09-19 Chong Yidong <cyd@stupidchicken.com>
13185
13186 * net/ldap.el (ldap-search-internal): Don't push empty search
13187 result (Bug#9508).
13188
b6072fa6
SM
131892011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13190
13191 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13192
443d6696
MA
131932011-09-19 Michael Albinus <michael.albinus@gmx.de>
13194
13195 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13196 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13197
7cc6e154
JL
131982011-09-18 Juri Linkov <juri@jurta.org>
13199
13200 * buff-menu.el (Buffer-menu-mode-map):
13201 * dired.el (dired-mode-map):
13202 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13203 (lisp-interaction-mode-map):
13204 * emacs-lisp/package.el (package-menu-mode-map):
13205 * epa.el (epa-key-list-mode-map):
13206 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13207 (menu-bar-options-menu):
13208 * outline.el (outline-mode-menu-bar-map):
13209 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13210 * vc/vc-dir.el (vc-dir-menu-map):
13211 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13212 Capitalize non-function content words in menu item strings.
13213
13214 * dired.el (dired-mode-map): Add menu item for
13215 `image-dired-dired-toggle-marked-thumbs'.
13216
80302a81
JL
132172011-09-18 Juri Linkov <juri@jurta.org>
13218
13219 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13220 to `isearch-case-fold-search' and restore its original value
13221 after the `isearch-mode' call.
13222
46c5cf66
JL
132232011-09-18 Juri Linkov <juri@jurta.org>
13224
13225 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13226 because `zgrep' returns 1 for successful matches (bug#9226).
13227
d18b513b
JL
132282011-09-18 Juri Linkov <juri@jurta.org>
13229
13230 * info.el (Info-extract-menu-node-name): Check the second match
13231 for empty string (second test-case of bug#9528).
13232 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13233 intermediate nodes to the history (first test-case of bug#9528).
13234
72753f87
JL
132352011-09-18 Juri Linkov <juri@jurta.org>
13236
13237 * info.el (Info-mode-syntax-table): New variable.
1154d12e 13238 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 13239
c9384295
JL
132402011-09-18 Juri Linkov <juri@jurta.org>
13241
1154d12e
JB
13242 * info.el (Info-file-supports-index-cookies):
13243 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13244 outputs one more line for long file names (bug#4142).
c9384295 13245
d473dce8
CY
132462011-09-18 Chong Yidong <cyd@stupidchicken.com>
13247
13248 * newcomment.el (comment-normalize-vars): If prompting for
13249 comment-start, set comment-start-skip too (Bug#8424).
13250
2176854d
JB
132512011-09-18 Johan Bockgård <bojohan@gnu.org>
13252
13253 * icomplete.el: Fix previous fix of Bug#5849.
13254 (icomplete-mode): Don't set completion-show-inline-help.
13255 (icomplete-minibuffer-setup): Set completion-show-inline-help
13256 locally during icompletion.
13257
3aace4e4
CY
132582011-09-18 Chong Yidong <cyd@stupidchicken.com>
13259
c940224f
CY
13260 * woman.el (woman2-process-escapes): Don't delete unrecognized
13261 escapes (Bug#7843).
13262
3aace4e4
CY
13263 * files.el (inhibit-first-line-modes-regexps): Add image files.
13264 (hack-local-variables-prop-line): Return nil for malformed
13265 prop-lines (Bug#9044).
13266
710dec63
MA
132672011-09-18 Michael Albinus <michael.albinus@gmx.de>
13268
13269 * net/tramp.el (top): Don't require 'shell.
13270 (tramp-methods): Fix docstring.
13271 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
13272 Return complete remote file name. Handle "smb" case.
13273 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
13274 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13275
13276 * net/tramp-compat.el (top): Require 'shell.
13277
13278 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13279 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13280 `tramp-current-host'.
13281 (tramp-get-remote-tmpdir): Remove.
13282
13283 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13284 `tramp-tmpdir' entries.
13285 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13286 (tramp-smb-handle-file-attributes): Ignore errors.
13287 (tramp-smb-wait-for-output): Check also for process end.
13288
5d5ac8ec
LMI
132892011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13290
13291 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13292 when sending QUIT (bug#9312).
13293
8c0f49f0
CY
132942011-09-17 Chong Yidong <cyd@stupidchicken.com>
13295
13296 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13297 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13298 occur-mode-display-occurrence.
13299 (occur-edit-mode): Add usage message.
13300 (occur-cease-edit): New command.
13301 (occur-after-change-function): Use text properties to find the
13302 position of the prefix text.
13303 (occur-engine): Set stickiness of prefix text properties.
13304
8f1383f7
GM
133052011-09-17 Glenn Morris <rgm@gnu.org>
13306
13307 * progmodes/etags.el (complete-tag):
13308 Fix call to completion-in-region. (Bug#9526)
13309
744ba0e3
JL
133102011-09-17 Juri Linkov <juri@jurta.org>
13311
13312 * textmodes/ispell.el (ispell-word): Add to the error message
13313 the word, ispell program name and current dictionary (bug#9121).
13314 (ispell-tex-arg-end): Capitalize "error" in the error message.
13315
d9bbf400
AS
133162011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13317
13318 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13319 check. (Bug#4251)
13320
8da11505
JL
133212011-09-17 Juri Linkov <juri@jurta.org>
13322
13323 * window.el (window-safe-min-height, window-safe-min-width):
13324 Fix typos (followup to bug#9522).
13325
a91adc7e
SJ
133262011-09-17 Sven Joachim <svenjoac@gmx.de>
13327
13328 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13329
064f328a
EZ
133302011-09-16 Eli Zaretskii <eliz@gnu.org>
13331
13332 * simple.el (line-move): If goal-column is set, move by logical
13333 lines, not by display lines. (Bug#971)
13334 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13335 to reflect the above change.
13336
e69df516
SM
133372011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13338
13339 * image.el (imagemagick-register-types): Use regexp-opt.
13340
cbb0f9ab
CY
133412011-09-15 Chong Yidong <cyd@stupidchicken.com>
13342
13343 * window.el (display-buffer-base-action): Rename from
13344 display-buffer-default-action. Make default value empty.
13345 (display-buffer-overriding-action): Convert to defvar.
13346 (display-buffer-fallback-action): New var.
13347
25322144
CY
133482011-09-15 Chong Yidong <cyd@stupidchicken.com>
13349
13350 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13351 declaration.
13352 (package--add-to-archive-contents): If there is a duplicate entry
13353 with an older version, remove it.
13354 (package-menu-mark-delete, package-menu-mark-install)
13355 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
13356 (package-menu-mark-obsolete-for-deletion):
13357 Use package-menu-get-status instead of a regexp search.
25322144
CY
13358 (package-menu-get-status): Use tabulated-list-entry.
13359 (package-menu-mark-upgrades): New command.
d770725a 13360 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
13361 (package-menu-execute): Do installation before deletion.
13362 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13363 instead of checking major-mode.
13364 (package-menu--find-upgrades): New function.
13365
7520339c
LMI
133662011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13367
13368 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13369 passwords in the log buffer.
65a046c4
LMI
13370 (smtpmail-process-filter): Update the process marker so that the
13371 "broken by peer" status message is inserted in the right place.
7520339c 13372
d3c30954
SM
133732011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13374
3fe48822
SM
13375 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13376 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13377 bibtex-completion-at-point-function.
13378 (bibtex-completion-at-point-function): Use them.
13379
1b8b3954
SM
13380 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13381
d3c30954
SM
13382 * mpc.el (mpc-constraints-tag-lookup): New function.
13383 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13384 also to browser "album|playlist".
13385
72779976
JL
133862011-09-14 Juri Linkov <juri@jurta.org>
13387
13388 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13389 (isearch-edit-string): Use length of `isearch-string' when
13390 `isearch-fail-pos' returns nil.
13391 (isearch-message): Remove duplicate code and call
13392 `isearch-fail-pos' with arg `t'.
13393
a0bf2bcd
CY
133942011-09-14 Chong Yidong <cyd@stupidchicken.com>
13395
17bb0a2d
CY
13396 * replace.el (occur-mode-goto-occurrence): Don't force using other
13397 window (Bug#9499).
13398
a0bf2bcd
CY
13399 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13400
f678e0b6
MR
134012011-09-14 Martin Rudalics <rudalics@gmx.at>
13402
13403 * window.el (display-buffer-window): Remove.
13404 (display-buffer-record-window): Use help-setup window parameter
13405 instead of variable display-buffer-window.
13406 (display-buffer-function, special-display-buffer-names)
13407 (special-display-function): Mention help-setup parameter instead
13408 of display-buffer-window in doc-string.
d3c30954
SM
13409 * help.el (help-window-setup): New argument help-window.
13410 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
13411 Reword some messages.
13412 (with-help-window): Pass window used for displaying the buffer
13413 to help-window-setup. Don't set display-buffer-window.
13414
8e39b2e8
GM
134152011-09-13 Glenn Morris <rgm@gnu.org>
13416
13417 * emacs-lisp/debug.el (debugger-make-xrefs):
13418 Preserve point. (Bug#9462)
13419
85e9c04b
CY
134202011-09-13 Chong Yidong <cyd@stupidchicken.com>
13421
13422 * window.el (window-deletable-p): Use next-frame.
13423
1b36ed6a
MR
134242011-09-13 Martin Rudalics <rudalics@gmx.at>
13425
13426 * window.el (window-auto-delete): Remove.
13427 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 13428 dedication and previous buffers.
1b36ed6a
MR
13429 (switch-to-prev-buffer): Don't delete window.
13430 (delete-windows-on): Delete a window's frame if and only if the
13431 window is dedicated.
13432 (replace-buffer-in-windows): Delete buffer's window or frame if
13433 and only if window is dedicated.
13434 (quit-window): Handle quit-restore as before last change.
4d61f28d 13435 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 13436
ef8ef9fb
CY
134372011-09-13 Chong Yidong <cyd@stupidchicken.com>
13438
13439 * window.el (window-deletable-p): Never delete the last frame on a
13440 given terminal.
13441
b2cba41e
GM
134422011-09-13 Glenn Morris <rgm@gnu.org>
13443
13444 * help.el (describe-key-briefly): Copy previous standard-output change.
13445
51553db6 134462011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
13447
13448 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13449
b7556719
GM
134502011-09-13 Glenn Morris <rgm@gnu.org>
13451
13452 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13453 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13454
64b51947
CY
134552011-09-12 Chong Yidong <cyd@stupidchicken.com>
13456
13457 * dired-aux.el (dired-mark-read-string): Don't return default
13458 value on empty input (Bug#9361).
13459 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13460 Omit initial minibuffer contents.
13461 (dired-do-chmod): Signal an error on empty input.
13462 (dired-mark-read-string): Don't return default on empty input.
13463
13464 * files.el (file-modes-symbolic-to-number): Doc fix.
13465
393a301e
SM
134662011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13467
13468 * international/mule-cmds.el (ucs-completions): Remove.
13469 (read-char-by-name): Use complete-with-action instead; add metadata.
13470
fa5660f9
CY
134712011-09-11 Chong Yidong <cyd@stupidchicken.com>
13472
13473 * window.el (display-buffer--action-function-custom-type)
13474 (display-buffer--action-custom-type): New vars.
13475 (display-buffer-alist, display-buffer-default-action)
13476 (display-buffer-overriding-action): Add defcustom types.
13477
4a592f66
CY
13478 * frame.el (delete-other-frames): Doc fix (Bug#276).
13479
73d56dbd
LMI
134802011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13481
13482 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13483
37ac18a3
CY
134842011-09-11 Chong Yidong <cyd@stupidchicken.com>
13485
13486 Change modes that used same-window-* vars to use switch-to-buffer.
13487
13488 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13489 Use switch-to-buffer.
13490
13491 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
13492 (customize-browse, custom-buffer-create-other-window):
13493 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
13494
13495 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13496 (Info-prev, Info-up, Info-speedbar-goto-node)
13497 (info-display-manual): Use switch-to-buffer.
13498 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13499
13500 * mail/sendmail.el (mail): Use switch-to-buffer.
13501 (mail-recover): Use switch-to-buffer-other-window.
13502
13503 * cmuscheme.el (run-scheme, switch-to-scheme):
13504 * ielm.el (ielm):
13505 * shell.el (shell):
13506 * net/rlogin.el (rlogin):
13507 * net/telnet.el (telnet, rsh):
13508 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13509
10195bd6
AS
135102011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13511
13512 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13513
b322f63a
LMI
135142011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13515
39d7fed6
LMI
13516 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13517 so don't mention it (bug#9301).
ba5a81f1 13518 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 13519
ee0e9f11
LMI
13520 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13521 match `x', `w32' and `ns', like the manual says (bug#9029).
13522
0b1c89c1 13523 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
13524 (process-kill-buffer-query-function): Mention the buffer name in
13525 the query.
0b1c89c1 13526
77549ea8
LMI
13527 * image-mode.el (image-next-line): The line parameter is mandatory
13528 (bug#9258).
13529
803ef892
LMI
13530 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13531 which can be useful (bug#9301).
13532
12980837
LMI
13533 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13534
91054f8f
LMI
13535 * subr.el (match-string): Mention that the current buffer should
13536 be the same as the search was done in (bug#9282).
13537
b322f63a
LMI
13538 * facemenu.el: Disable the remove-* commands if the mark isn't
13539 active (bug#9162).
13540
3199b96f
CY
135412011-09-10 Chong Yidong <cyd@stupidchicken.com>
13542
13543 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13544 of display-buffer.
13545 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13546
13547 * replace.el (occur-mode-goto-occurrence)
13548 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13549 and display-buffer.
13550
13551 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13552 display-buffer.
13553
13554 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13555 special-display and same-window variables.
13556 (mail-other-window): Use switch-to-buffer-other-window.
13557 (mail-other-frame): USe switch-to-buffer-other-frame.
13558
393a301e
SM
13559 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13560 Use display-buffer-other-frame.
3199b96f
CY
13561 (gdb-display-gdb-buffer): Use pop-to-buffer.
13562
13563 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13564
13565 * progmodes/python.el: Don't set same-window-buffer-names.
13566
13567 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13568
13569 * window.el (display-buffer-alist): Add *Python*.
13570
8319e0bf
CY
135712011-09-10 Chong Yidong <cyd@stupidchicken.com>
13572
13573 * window.el (display-buffer-alist): Add entry for buffers
13574 previously handled same-window-*.
13575 (display-buffer-alist, display-buffer-default-action)
13576 (display-buffer-overriding-action): Mark as risky.
13577 (display-buffer-alist): Document action function changes.
13578 (display-buffer--same-window-action)
13579 (display-buffer--other-frame-action): New variables.
13580 (switch-to-buffer, display-buffer-other-frame): Use them.
13581 (display-buffer): Rename reuse-frame entry to reusable-frames.
13582 (display-buffer-reuse-selected-window): Function deleted.
13583 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13584 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13585 (display-buffer-special): New function.
13586 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13587 display-buffer-reuse-or-pop-window. Split off special-display
13588 part into display-buffer-special.
13589 (display-buffer-use-some-window): Don't perform any special
13590 pop-up-frames handling.
13591 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 13592 (display-buffer--maybe-same-window): Rename from
0d3ff375 13593 display-buffer-maybe-same-window.
8319e0bf 13594
919a69aa
CY
13595 * info.el: Don't set same-window-regexps.
13596 (info-setup): New function.
13597 (info-other-window, info): Call it.
13598
13599 * cus-edit.el: Don't set same-window-regexps.
13600 (customize-group): New argument.
13601 (customize-group-other-window): Use it.
13602 (customize-face, customize-face-other-window): Likewise.
13603 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13604
8319e0bf
CY
13605 * net/rlogin.el:
13606 * net/telnet.el:
13607 * progmodes/gud.el: Don't set same-window-regexps.
13608
13609 * cmuscheme.el:
13610 * ielm.el:
13611 * shell.el:
13612 * mail/sendmail.el:
13613 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13614
25173000
JL
136152011-09-10 Juri Linkov <juri@jurta.org>
13616
13617 * isearch.el (isearch-edit-string): Remove obsolete mention of
13618 `C-w' (`isearch-yank-word-or-char') from docstring.
13619 (isearch-query-replace): Fix typo in docstring (bug#9466).
13620
056e44ef
JL
136212011-09-10 Juri Linkov <juri@jurta.org>
13622
13623 * paren.el (show-paren-function): Don't show escaped parens.
13624 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13625
c3760c17
EZ
136262011-09-10 Eli Zaretskii <eliz@gnu.org>
13627
13628 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13629 (mm-default-file-encoding): Remove autoload forms, they are
13630 replaced with autoload cookies in mml.el and mm-encode.el.
13631 (mail-add-attachment): New command.
13632 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13633 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13634 the doc string.
13635 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13636
fece895e
RT
136372011-09-10 Reuben Thomas <rrt@sc3d.org>
13638
e69df516
SM
13639 * simple.el (count-words-region): Use buffer if there's no region
13640 (bug#9429).
fece895e 13641
5e68ce4a
JL
136422011-09-09 Juri Linkov <juri@jurta.org>
13643
13644 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13645 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13646 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13647
0a6b9622
AM
136482011-09-09 Alan Mackenzie <acm@muc.de>
13649
13650 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13651 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13652
14a29deb
EZ
136532011-09-09 Eli Zaretskii <eliz@gnu.org>
13654
13655 Fix for Savannah bug#9392.
13656 * simple.el (mail-encode-mml): New defvar.
13657
13658 * mail/rmail.el (mail-encode-mml): Add a defvar.
13659 (rmail-enable-mime-composing): Default to t.
13660 (rmail-forward): Use MIME method of forwarding only if both
13661 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13662 Set mail-encode-mml non-nil if the MIME method was used.
13663
13664 * mail/sendmail.el (mml-to-mime): Add autoload form.
13665 (mail-encode-mml): Add a defvar.
13666 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13667 to nil.
13668 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13669 message through mml-to-mime, and reset mail-encode-mml to nil.
13670
28c45130
GM
136712011-09-09 Glenn Morris <rgm@gnu.org>
13672
13673 * woman.el (woman-if-body): When processing an .el block,
13674 do not delete the next .el block as well. (Bug#9447)
69f4b618 13675 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 13676
9b1c252e
MR
136772011-09-08 Martin Rudalics <rudalics@gmx.at>
13678
13679 * window.el (window-deletable-p): Make sure window is live before
13680 invoking window-prev-buffers.
13681
567457e3
LL
136822011-09-08 Leo Liu <sdl.web@gmail.com>
13683
13684 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13685
97f05794
JL
136862011-09-08 Juri Linkov <juri@jurta.org>
13687
13688 * progmodes/compile.el (compilation-environment): Make it
13689 a defcustom (bug#8340).
13690
8b0874b5
MR
136912011-09-08 Martin Rudalics <rudalics@gmx.at>
13692
13693 * window.el (frame-auto-delete): Rename to window-auto-delete.
13694 Make it control auto-deletion of windows and/or frames.
13695 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 13696 for deleting window/frame. (Bug#9419)
8b0874b5
MR
13697 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13698 Rewrite handling of case when window/frame can be deleted.
13699 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 13700 argument t. (Bug#9456)
8b0874b5 13701
4feb6e73
CY
137022011-09-07 Chong Yidong <cyd@stupidchicken.com>
13703
13704 * help-mode.el (help-mode): Restore autoload.
13705
91ab9c13
JL
137062011-09-07 Juri Linkov <juri@jurta.org>
13707
13708 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13709 `compilation-environment'. Set buffer-local
13710 `compilation-environment' to `thisenv' later after (funcall mode).
13711 (Bug#8340)
13712
13713 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13714 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13715 instead of replacing its value. (Bug#8340)
13716
0527e251
JL
137172011-09-07 Juri Linkov <juri@jurta.org>
13718
13719 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13720 based on text properties put by `grep-filter' instead of matching
13721 escape sequences.
13722 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13723 to the value of `grep-error-screen-columns' (bug#9438).
13724
249f792c
JL
137252011-09-07 Juri Linkov <juri@jurta.org>
13726
13727 * simple.el (next-error-highlight, next-error-highlight-no-select):
13728 Doc fix (bug#9432).
13729
ff7271b9
OT
137302011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13731
13732 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13733 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13734
183fc730
LL
137352011-09-07 Leo Liu <sdl.web@gmail.com>
13736
13737 * net/rcirc.el (rcirc-mode): Conditionally initialize
13738 rcirc-input-ring.
13739
77694924
SM
137402011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13741
13742 * emacs-lisp/find-func.el (find-function-C-source): Only set
13743 find-function-C-source-directory after checking that we found a source
13744 file there (bug#9440).
13745
d809b8eb
AM
137462011-09-06 Alan Mackenzie <acm@muc.de>
13747
13748 * isearch.el (isearch-other-meta-char): Wherever a key list is
13749 unread, "unread" the prefix arg, too. This fixes bug #8901.
13750
453de99f
OG
137512011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13752
13753 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13754
90439906
JL
137552011-09-05 Juri Linkov <juri@jurta.org>
13756
13757 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13758
f62bd846
JL
137592011-09-05 Juri Linkov <juri@jurta.org>
13760
13761 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13762 keeping point where processing of grep matches begins, and
13763 continue to delete remaining escape sequences from the same point.
13764 (grep-filter): Make leading zero optional in "0?1;31m" because
13765 git-grep emits "\033[1;31m" escape sequences unlike expected
13766 "\033[01;31m" as GNU Grep does (bug#9408).
13767 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13768
045820ec
JL
137692011-09-05 Juri Linkov <juri@jurta.org>
13770
13771 * subr.el (y-or-n-p): Capitalize "yes".
13772
f5e29b9b
MA
137732011-09-04 Michael Albinus <michael.albinus@gmx.de>
13774
13775 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13776 `tramp-cache-unload-hook' where appropriate.
13777 (tramp-methods): Rename `tramp-remote-sh' to
13778 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13779 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13780
13781 * net/tramp-sh.el (top): Don't require 'shell.
13782 (tramp-methods): Add `tramp-remote-shell' and
13783 `tramp-remote-shell-args' entries.
13784 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13785 (tramp-sh-handle-shell-command): Remove.
13786 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13787 Use `tramp-remote-shell'.
13788
2784c434
CY
137892011-09-03 Chong Yidong <cyd@stupidchicken.com>
13790
393a301e 13791 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
13792 (sendmail-query-once): Save directly to send-mail-function.
13793 Update message-send-mail-function too.
13794
13795 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13796
464cdf56
CS
137972011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13798
13799 * progmodes/python.el (python-mode-map): Use correct function to
13800 start python interpreter from menu-bar (as reported by Geert
13801 Kloosterman).
13802 (inferior-python-mode-map): Fix typo.
393a301e 13803 (python-shell-map): Remove.
464cdf56 13804
d37e5c87
DD
138052011-09-03 Deniz Dogan <deniz@dogan.se>
13806
13807 * net/rcirc.el (rcirc-print): Simplify code for
13808 rcirc-scroll-show-maximum-output. There is no need to walk
13809 through all windows to find the right one.
13810
f3ada0ee
CS
138112011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13812
13813 * help.el (help-return-method): Doc fix.
13814
1f3c99ca
MR
138152011-09-03 Martin Rudalics <rudalics@gmx.at>
13816
13817 * window.el (window-deletable-p): Don't return a non-nil value
13818 when there's a buffer that was shown in the window before.
13819 (Bug#9419)
393a301e
SM
13820 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13821 Set window's previous buffers to nil.
1f3c99ca 13822
a3cf097f
EZ
138232011-09-03 Eli Zaretskii <eliz@gnu.org>
13824
13825 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13826 newline before and after the tag line, so it doesn't interfere
13827 with determining the paragraph direction of bidirectional text.
13828
3d03de90
LL
138292011-09-03 Leo Liu <sdl.web@gmail.com>
13830
13831 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13832
c3313451
CY
138332011-09-02 Chong Yidong <cyd@stupidchicken.com>
13834
393a301e 13835 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
13836 (pop-to-buffer): Change interactive spec. Pass second argument
13837 directly to display-buffer.
13838 (display-buffer): Fix interactive spec. Use functionp to
13839 distinguish between a function and a list of functions.
13840
13841 * abbrev.el (edit-abbrevs):
13842 * arc-mode.el (archive-extract):
13843 * autoinsert.el (auto-insert):
13844 * bookmark.el (bookmark-bmenu-list):
13845 * files.el (find-file):
13846 * view.el (view-buffer):
13847 * progmodes/compile.el (compilation-goto-locus):
13848 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13849
89894cd8
CY
138502011-09-02 Chong Yidong <cyd@stupidchicken.com>
13851
13852 * window.el (display-buffer-alist): Doc fix.
13853 (display-buffer): Add docstring. Don't treat
13854 display-buffer-default specially.
13855 (display-buffer-reuse-selected-window)
13856 (display-buffer-same-window, display-buffer-maybe-same-window)
13857 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13858 (display-buffer-pop-up-window)
13859 (display-buffer-reuse-or-pop-window)
13860 (display-buffer-use-some-window): New functions.
13861 (display-buffer-default-action): Use them.
393a301e 13862 (display-buffer-default): Delete.
89894cd8
CY
13863 (pop-to-buffer-1): Fix choice of actions.
13864
ae0bc9fb
SM
138652011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13866
13867 * minibuffer.el (completion--insert-strings): Don't get confused by
13868 completion entries that end with an LF char.
13869
e9d90883
EZ
138702011-09-01 Eli Zaretskii <eliz@gnu.org>
13871
13872 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13873
437014c8
CY
138742011-09-01 Chong Yidong <cyd@stupidchicken.com>
13875
13876 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
13877 (display-buffer-same-window, display-buffer-other-window):
13878 New functions.
437014c8
CY
13879 (pop-to-buffer-1): New function. Use the above.
13880 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 13881 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
13882
13883 * view.el (view-buffer-other-window, view-buffer-other-frame):
13884 Just use pop-to-buffer.
13885
a5e063d5
TV
138862011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13887
13888 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
13889
793d32bb
WH
138902011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
13891
13892 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
13893
d65e4c15
RS
138942011-08-31 Richard Stallman <rms@gnu.org>
13895
13896 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13897 of the separation of rmail-view-buffer from rmail-buffer.
13898 If you say no to "replace original", the decrypt is in the
13899 view buffer. If you say yes, the decrypt goes into the
13900 rmail buffer also.
13901
f818cd2a
MR
139022011-08-31 Martin Rudalics <rudalics@gmx.at>
13903
13904 * window.el (display-buffer-window): Rewrite doc-string.
13905 (display-buffer-record-window): New function.
13906 (display-buffer-macro-specifiers)
13907 (display-buffer-even-window-sizes, display-buffer-set-height)
13908 (display-buffer-set-width, display-buffer-in-window)
13909 (display-buffer-reuse-window, display-buffer-split-specifiers)
13910 (display-buffer-side-specifiers, display-buffer-split-window-1)
13911 (display-buffer-split-window, display-buffer-split-atom-window)
13912 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13913 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13914 (display-buffer-other-window-means-other-frame)
13915 (display-buffer-normalize-special)
13916 (display-buffer-normalize-default)
13917 (display-buffer-normalize-argument)
13918 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13919 (display-buffer-normalize-specifiers, display-buffer-frame)
13920 (display-buffer-same-window, display-buffer-same-frame)
13921 (display-buffer-other-window)
13922 (display-buffer-same-frame-other-window)
13923 (display-buffer-other-frame, pop-to-buffer-same-window)
13924 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13925 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13926 (switch-to-buffer-same-frame)
13927 (switch-to-buffer-other-window-same-frame)
13928 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13929 (display-buffer-alist-set-1, display-buffer-alist-set-2)
13930 (display-buffer-alist-set): Remove.
13931 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
13932 (special-display-regexps, special-display-function):
13933 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
13934 parameter.
13935 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13936 (special-display-frame-alist, special-display-popup-frame)
13937 (same-window-buffer-names, same-window-regexps, same-window-p)
13938 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13939 (split-window-preferred-function, split-height-threshold)
13940 (split-width-threshold, window-splittable-p)
13941 (split-window-sensibly, window--try-to-split-window)
13942 (window--frame-usable-p, even-window-heights)
13943 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
13944 (window--display-buffer-2, display-buffer-other-frame):
13945 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
13946 (display-buffer-default, display-buffer-assq-regexp): New functions.
13947 (display-buffer-alist): Rewrite doc-string.
13948 (display-buffer-default-action)
13949 (display-buffer-overriding-action): New variables.
13950 (display-buffer, switch-to-buffer): Rewrite.
13951 (pop-to-buffer): Restore Emacs 23 behavior but use
13952 window-normalize-buffer-to-display.
13953 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13954 Restore Emacs 23 behavior but use
13955 window-normalize-buffer-to-switch-to.
13956 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
13957 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13958 Rewrite using Emacs 23 options.
f818cd2a 13959
5bc3b51d
MA
139602011-08-31 Michael Albinus <michael.albinus@gmx.de>
13961
13962 * net/tramp.el (tramp-root-regexp): Remove.
13963 (tramp-completion-file-name-regexp-unified)
13964 (tramp-completion-file-name-regexp-separate)
13965 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 13966 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
13967 (tramp-drop-volume-letter): Simplify definition.
13968 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 13969
b1a4f8e1
SM
139702011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13971
13972 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13973 (bug#9356).
13974
5664fa7b
RT
139752011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13976
b1a4f8e1 13977 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 13978
9a45d6c3
JL
139792011-08-29 Juri Linkov <juri@jurta.org>
13980
13981 * isearch.el (isearch-done): Don't display message "Mark saved"
13982 when arg `edit' is non-nil to prevent its flicker in the echo area.
13983
fb87e0fb
CY
139842011-08-28 Chong Yidong <cyd@stupidchicken.com>
13985
13986 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13987 obsolete packages for deletion.
13988
09ac1c2a
CS
139892011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13990
13991 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 13992 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
13993 view-mode from help-mode.
13994 (help-xref-override-view-map): Remove.
13995 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13996 view-mode is not used anymore.
13997
7a1ff57f
CY
139982011-08-28 Chong Yidong <cyd@stupidchicken.com>
13999
14000 * server.el (server-port): Doc fix.
14001
b9696605
CY
14002 * cus-theme.el (custom-theme-choose-mode): Inherit from
14003 special-mode (Bug#9124).
14004 (custom-theme-choose-mode-map): Add special-mode to parent.
14005
ef8cdf8c
AM
140062011-08-28 Alan Mackenzie <acm@muc.de>
14007
14008 * progmodes/cc-fonts.el
14009 (c-make-font-lock-BO-decl-search-function): New function.
14010 (c-basic-matchers-after - "Fontify the clauses after various
14011 keywords"): Extract the three keyword lists for the 3 erroneous
14012 constructs from the list of four, and use the new function above
14013 in place of an old one.
14014
27de4e20
DD
140152011-08-28 Deniz Dogan <deniz@dogan.se>
14016
14017 * net/rcirc.el (rcirc-insert-prev-input)
14018 (rcirc-insert-next-input): Remove unused argument.
14019
356a3681
SM
140202011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14021
14022 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14023
3fc9b218
AM
140242011-08-27 Alan Mackenzie <acm@muc.de>
14025
14026 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14027 handle function pointer parameters properly.
14028
538a061c
MR
140292011-08-27 Martin Rudalics <rudalics@gmx.at>
14030
14031 * window.el (display-buffer-reuse-window): Fix case where
14032 selected window was reused with non-nil OTHER-WINDOW argument.
14033 (Bug#9381)
14034
35b1c40c
DD
140352011-08-27 Deniz Dogan <deniz@dogan.se>
14036
14037 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14038 oftc's NickServ messages.
14039
2f6a3e79
GM
140402011-08-27 Glenn Morris <rgm@gnu.org>
14041
14042 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14043
7254299e
CY
140442011-08-26 Chong Yidong <cyd@stupidchicken.com>
14045
14046 * emacs-lisp/package.el (package-install): Call package-initialize
14047 if called interactively.
14048
f8ccf167
LL
140492011-08-26 Leo Liu <sdl.web@gmail.com>
14050
14051 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14052
3e8cd5ce
JL
140532011-08-25 Juri Linkov <juri@jurta.org>
14054
14055 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14056 `search-whitespace-regexp' (bug#9364).
14057
93eb7113
JL
140582011-08-25 Juri Linkov <juri@jurta.org>
14059
14060 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14061 `regexp-search-ring' to their global values to protect from
14062 updating by `read-from-minibuffer' (bug#9185).
14063
f65d1611
JL
140642011-08-25 Juri Linkov <juri@jurta.org>
14065
14066 * textmodes/ispell.el (ispell-command-loop): Add newline
14067 at the end of the "Use option `i'..." line.
14068
f1cf7a31
JL
140692011-08-25 Juri Linkov <juri@jurta.org>
14070
14071 * battery.el (display-battery-mode): If `battery-status-function'
14072 or `battery-mode-line-format' is nil, display the message and set
14073 `display-battery-mode' to nil (bug#9363).
14074
0c95fcf7
EZ
140752011-08-25 Eli Zaretskii <eliz@gnu.org>
14076
14077 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14078 bidi-string-mark-left-to-right; they are unnecessary now.
14079
a2ebe600
DD
140802011-08-25 Deniz Dogan <deniz@dogan.se>
14081
14082 * net/quickurl.el: Documentation typo fixes.
14083
e4ed06f1
CY
140842011-08-25 Chong Yidong <cyd@stupidchicken.com>
14085
14086 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14087
e5f1c99e
GM
140882011-08-25 Glenn Morris <rgm@gnu.org>
14089
b2948976
GM
14090 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14091
e5f1c99e
GM
14092 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14093 (smtpmail-via-smtp): Handle nil response from smtp.
14094
f22f4808
JL
140952011-08-24 Juri Linkov <juri@jurta.org>
14096
14097 * proced.el (proced-marked): Inherit from `error' instead of
14098 `font-lock-warning-face'.
14099
14100 * ibuffer.el (ibuffer-marked-face): Change default face from
14101 `font-lock-warning-face' to `warning'.
14102 (ibuffer-deletion-face): Change default face from
14103 `font-lock-type-face' to `error'.
14104
14105 * battery.el (battery-update): Use the face `error' instead of
14106 `font-lock-warning-face' (bug#6117).
14107
6a93965e
JL
141082011-08-24 Juri Linkov <juri@jurta.org>
14109
14110 * faces.el (success): Change face color from "Green3" to
14111 "ForestGreen" on light background (bug#9353).
14112
1ed43b09
CY
141132011-08-24 Chong Yidong <cyd@stupidchicken.com>
14114
5664fa7b
RT
14115 * window.el (quit-window): Rename from quit-restore-window.
14116 Use same arglist as old quit-window.
1ed43b09
CY
14117 (frame-auto-delete): Doc fix.
14118
14119 * view.el (view-mode-exit): Use quit-window.
14120
11dcdbb2
JL
141212011-08-24 Juri Linkov <juri@jurta.org>
14122
14123 * isearch.el (isearch-ring-adjust1): Start visiting previous
14124 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14125 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14126 for empty search string (when the last search string is reused
14127 automatically) to adjust the isearch ring to the last element and
14128 prepare the correct index for further M-p commands (bug#9185).
14129
de62b4df
KH
141302011-08-24 Kenichi Handa <handa@m17n.org>
14131
14132 * international/ucs-normalize.el: If decomposition property of
14133 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14134 nil.
14135 (nfd, nfkd): Likewise.
14136
963b492b
SM
141372011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14138
14139 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14140 from process filters aren't reliably transmitted to the surrounding
14141 accept-process-output.
14142 (mpc-proc-check): New function.
14143 (mpc-proc-sync): Use it (bug#8293)
14144
93b6b5e1
SM
141452011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14146
14147 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14148 Add compatibility functions (bug#9313).
14149
bca633fb
EZ
141502011-08-23 Eli Zaretskii <eliz@gnu.org>
14151
b177498a
EZ
14152 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14153
6df6ae42 14154 * international/uni-bidi.el: Regenerate.
bca633fb 14155
0902a04e
KH
141562011-08-23 Kenichi Handa <handa@m17n.org>
14157
14158 * international/charprop.el:
14159 * international/uni-bidi.el:
14160 * international/uni-category.el:
14161 * international/uni-combining.el:
14162 * international/uni-comment.el:
14163 * international/uni-decimal.el:
14164 * international/uni-decomposition.el:
14165 * international/uni-digit.el:
14166 * international/uni-lowercase.el:
14167 * international/uni-mirrored.el:
14168 * international/uni-name.el:
14169 * international/uni-numeric.el:
14170 * international/uni-old-name.el:
14171 * international/uni-titlecase.el:
14172 * international/uni-uppercase.el: Regenerate.
14173
3bbf23bc
MR
141742011-08-23 Martin Rudalics <rudalics@gmx.at>
14175
14176 * help.el (help-window-setup): Fix message displayed when other
14177 window is reused. (Bug#9341)
14178
b3fd59bd
SM
141792011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14180
1802e444
SM
14181 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14182 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14183
b3fd59bd
SM
14184 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14185 Mark obsolete.
14186 * shell.el (shell-parse-pcomplete-arguments): New function.
14187 (shell-completion-vars): Use it instead (bug#9160).
14188
4eb61348
SM
141892011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14190
867cab74
SM
14191 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14192 strings and comments (bug#9333).
14193
4eb61348
SM
14194 * emacs-lisp/debug.el (debug-arglist): New function.
14195 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14196 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14197
262a1439
JL
141982011-08-22 Juri Linkov <juri@jurta.org>
14199
56ee679c
JL
14200 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14201 Revert regexp that highlights output switches to its old
14202 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14203
262a1439
JL
14204 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14205 to check for empty output (bug#9226).
14206
f13f86fb
CY
142072011-08-22 Chong Yidong <cyd@stupidchicken.com>
14208
14209 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14210 symbol-constituent as the default, as that stops font-lock from
14211 working properly (Bug#8843).
14212
c65c9622
LMI
142132011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14214
14215 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14216 `coding-system-for-*' around the process open call to avoid
14217 auth-source side effects.
e7f2c178 14218 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
14219 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14220 probe hangs.
c65c9622 14221
23a8a5ab
CY
142222011-08-21 Chong Yidong <cyd@stupidchicken.com>
14223
ff98b2dd
CY
14224 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14225
23a8a5ab
CY
14226 * emacs-lisp/find-func.el (find-function-noselect): New arg
14227 lisp-only.
14228
14229 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14230 signal an error for built-in functions (Bug#6664).
14231
f5e3c598
LMI
142322011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14233
14234 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14235 (smtpmail-try-auth-methods): Use it.
14236
a3f2468a
CY
142372011-08-21 Chong Yidong <cyd@stupidchicken.com>
14238
2c34e8da
CY
14239 * font-lock.el (font-lock-fontify-region)
14240 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14241 (font-lock-default-unfontify-buffer)
14242 (font-lock-default-fontify-region)
14243 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14244
b3fd59bd
SM
14245 * progmodes/compile.el (compilation-error-properties):
14246 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
14247 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14248 `ant' regexp.
ee31aabc 14249
a3f2468a
CY
14250 * net/browse-url.el (browse-url-firefox): Don't call
14251 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14252
8e999f70
GM
142532011-08-20 Glenn Morris <rgm@gnu.org>
14254
c21a496a
GM
14255 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14256
59ee0542
GM
14257 * tutorial.el (tutorial--default-keys): Update some default bindings.
14258
8e999f70
GM
14259 * files.el (hack-local-variables): Fully ignore case for "mode:".
14260
e3715033
AM
142612011-08-20 Alan Mackenzie <acm@muc.de>
14262
14263 Resolve invalid use of a regexp in regexp-opt.
14264
4d61f28d
JB
14265 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14266 detection for a java annotation.
e3715033 14267
4d61f28d 14268 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
14269 detection for a java annotation.
14270
4d61f28d
JB
14271 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14272 handling for java.
e3715033
AM
14273 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14274
04ed2e9c
CY
142752011-08-20 Chong Yidong <cyd@stupidchicken.com>
14276
14277 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14278 (Bug#9274).
14279
826cee64
AM
142802011-08-20 Alan Mackenzie <acm@muc.de>
14281
58179cce 14282 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
14283 such a construct. Mainly for when jit-lock etc. starts a chunk
14284 here.
14285
58179cce 14286 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 14287 variable.
58179cce 14288 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
14289 c-make-font-lock-search-function.
14290 (c-make-font-lock-search-function): Use the above function.
14291 (c-make-font-lock-context-search-function): New function.
14292 (c-cpp-matchers): Enhance the preprocessor expression case with
14293 the above function
14294 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14295 which takes an expression.
14296
14297 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14298
13009bd8
MR
142992011-08-20 Martin Rudalics <rudalics@gmx.at>
14300
14301 * window.el (display-buffer-reuse-window)
14302 (display-buffer-pop-up-window): Don't reuse or split a side
14303 window.
14304
9234ff7f
GM
143052011-08-19 Glenn Morris <rgm@gnu.org>
14306
14307 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 14308 Downcase "Mode:". (Bug#9331)
9234ff7f 14309
f635daa1
CY
143102011-08-18 Chong Yidong <cyd@stupidchicken.com>
14311
14312 * international/characters.el: Add L and R categories.
14313
14314 * subr.el (bidi-string-mark-left-to-right): Rename from
14315 string-mark-left-to-right. Use category search.
14316
14317 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14318
bc987f8b
JL
143192011-08-18 Juri Linkov <juri@jurta.org>
14320
14321 * faces.el (error, warning, success): New faces with definitions
14322 copied from old default values of `font-lock-warning-face',
14323 `compilation-warning', `compilation-info' (bug#6117).
14324
14325 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14326
14327 * progmodes/compile.el (compilation-error): Inherit from `error'.
14328 (compilation-warning): Inherit from `warning'.
14329 (compilation-info): Inherit from `success'.
14330
14331 * dired.el (dired-marked): Inherit from `warning'.
14332 (dired-flagged): Inherit from `error'.
14333
57173b96
LMI
143342011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14335
3e79eb87
LMI
14336 * mail/smtpmail.el (auth-source): Require to avoid problems with
14337 binding variables (bug#9298). Also clean up some unused
14338 autoloads.
14339
b3fd59bd
SM
14340 * net/network-stream.el (network-stream-open-starttls):
14341 Support using starttls.el without using gnutls-cli.
57173b96 14342
02b404de
JL
143432011-08-17 Juri Linkov <juri@jurta.org>
14344
14345 * progmodes/grep.el (rgrep): Handle the case when
14346 `grep-find-command' is a cons cell (bug#9278).
14347
8c9177f2
MR
143482011-08-17 Martin Rudalics <rudalics@gmx.at>
14349
14350 * window.el (display-buffer-pop-up-frame): Run frame creation
14351 function with BUFFER current (as special-display-popup-frame
14352 does). Reported by Drew Adams.
14353
3644a0ab
DU
143542011-08-17 Daiki Ueno <ueno@unixuser.org>
14355
14356 * epa-mail.el: Simplify GnuPG group expansion using
14357 epg-expand-group.
14358 (epa-mail-group-alist, epa-mail-group-modtime)
14359 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14360 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14361 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14362 Remove.
14363
5e617bc2 143642011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
14365
14366 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14367
9c4aeabf
AM
143682011-08-16 Alan Mackenzie <acm@muc.de>
14369
14370 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14371 Correct, to avoid the inside of macros.
14372
3a99bf64
RS
143732011-08-16 Richard Stallman <rms@gnu.org>
14374
04963aa8
RS
14375 * epa-mail.el: Handle GnuPG group definitions.
14376 (epa-mail-group-alist, epa-mail-group-modtime)
14377 (epa-mail-gnupg-conf-file): New variables.
14378 (epa-mail-parse-groups, epa-mail-sync-groups)
14379 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14380 (epa-mail-expand-recipients): New functions.
14381 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14382
177549d0
RS
14383 * mail/rmail.el (rmail-epa-decrypt): New command.
14384
fe38beef
RS
14385 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14386 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
14387 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14388 (epa-decrypt-armor-in-region): Make error message clearer.
14389
934eacb9
SM
143902011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14391
14392 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14393 and "a2b" to "ab" for `prefix'.
14394
d024fb4e
CY
143952011-08-14 Chong Yidong <cyd@stupidchicken.com>
14396
14397 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14398 filter groups.
de148fee
CY
14399 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14400 Fourquet (Bug#8804).
d024fb4e 14401
62f1ca49
JB
144022011-08-12 Juanma Barranquero <lekktu@gmail.com>
14403
14404 * startup.el (argi): Declare as global variable (bug#9275).
14405
9ccaaa4b
CY
144062011-08-12 Chong Yidong <cyd@stupidchicken.com>
14407
14408 * subr.el (string-mark-left-to-right): Search the entire string
14409 for RTL script, not just the terminating character. Doc fix.
14410
a3dae87a
SM
144112011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14412
6cd18349
SM
14413 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14414 New function.
14415 (js--regexp-literal, js-syntax-propertize-function): Remove.
14416 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14417 (js-mode-map): Don't rebind electric keys.
14418 (js-insert-and-indent): Remove.
14419 (js-mode): Setup electric-layout and electric-indent instead.
14420
a3dae87a
SM
14421 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14422
9d5cb631
DU
144232011-08-12 Daiki Ueno <ueno@unixuser.org>
14424
14425 * epa.el (epa-progress-callback-function): Fix the logic of
14426 displaying progress.
14427 * epa-file.el (epa-file-insert-file-contents): Make progress
14428 display more user-friendly.
14429 (epa-file-write-region): Ditto.
14430
3e26a4a2
CY
144312011-08-10 Chong Yidong <cyd@stupidchicken.com>
14432
14433 * subr.el (string-mark-left-to-right): New function.
14434
14435 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14436 Use string-mark-left-to-right.
14437 (list-buffers-noselect): Caller changed.
14438
a3dae87a
SM
14439 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14440 Use string-mark-left-to-right.
3e26a4a2
CY
14441 (tabulated-list-print): Recenter after moving point.
14442
ac8cf6e6
JL
144432011-08-10 Juri Linkov <juri@jurta.org>
14444
14445 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14446 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14447 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14448
8d96c9a4
CY
144492011-08-09 Chong Yidong <cyd@stupidchicken.com>
14450
14451 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14452 (Bug#7554).
14453
7be1c708 144542011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
14455
14456 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14457 character. (Bug#6594)
14458
37e11a63
CY
144592011-08-08 Chong Yidong <cyd@stupidchicken.com>
14460
839dde57
CY
14461 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14462 (image-dired--with-db-file): New macro.
14463 (image-dired-write-tags, image-dired-remove-tag)
14464 (image-dired-create-gallery-lists, image-dired-write-comments)
14465 (image-dired-get-comment, image-dired-mark-tagged-files)
14466 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14467 (image-dired-gallery-generate): Use insert-file-contents.
14468
37e11a63
CY
14469 * time.el (display-time-world-list, display-time-world-display):
14470 * time-stamp.el (time-stamp-string):
14471 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14472 set-time-zone-rule (Bug#7337).
14473
0b4946c4
DU
144742011-08-08 Daiki Ueno <ueno@unixuser.org>
14475
14476 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14477 (epg-error-to-string, epg-errors-to-string): New function.
14478 (epg-wait-for-completion): Reverse errors list.
14479 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14480 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14481 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14482 (epg-sign-keys, epg-generate-key-from-file)
14483 (epg-generate-key-from-string): Format errors by using
14484 epg-errors-to-string (bug#9255).
14485 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14486
75bfc667
JL
144872011-08-07 Juri Linkov <juri@jurta.org>
14488
14489 * faces.el (list-faces-display): Remove extra angle bracket
14490 from `help-mode-map'.
14491
14492 * info.el (Info-history-toc-nodes): Doc fix.
14493
14494 * longlines.el (longlines-mode): Doc fix.
14495
673e08bb
SM
144962011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14497
4640dd88
SM
14498 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14499 of statements and in a few more cases (bug#9183).
14500
673e08bb
SM
14501 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14502 New functions.
14503 (cl-transform-lambda): Use them (bug#9239).
14504
89b3f019
MR
145052011-08-05 Martin Rudalics <rudalics@gmx.at>
14506
14507 * window.el (display-buffer-same-window)
14508 (display-buffer-same-frame, display-buffer-other-window)
14509 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14510 (pop-to-buffer-other-window)
14511 (pop-to-buffer-same-frame-other-window)
14512 (pop-to-buffer-other-frame): Make them defuns.
14513 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14514
640c8776
SM
145152011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14516
14517 * subr.el (make-composed-keymap): Move from C. Change calling
14518 convention, and improve docstring to bring attention to a subtle point.
14519 * minibuffer.el (completing-read-default): Adjust accordingly.
14520
63648a95
MA
145212011-08-03 Michael Albinus <michael.albinus@gmx.de>
14522
14523 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14524 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14525
14526 * net/trampver.el: Update release number.
14527
b796c9b7
SM
145282011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14529
14530 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14531 "in" (bug#9190).
14532
2239d7d5
LMI
145332011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14534
e07dd7c3
LMI
14535 * mail/sendmail.el (sendmail-query-once): Restore the current
14536 buffer after querying (bug#9074).
14537
0e6a2bd7
LMI
14538 * dired.el (dired-flagged): Use different faces for marked and
14539 flagged files (bug#6117).
14540
ce887515
LMI
14541 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14542 (bug#4433).
14543
92f2affc
LMI
14544 * ido.el (ido-mode): Switch off the message if called
14545 non-interactively.
14546
57d5aff0
LMI
14547 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14548 before 587, since it appears that that's more likely to work for
14549 more people.
14550
98cd6c18 14551 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 14552 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
14553 exist.
14554
b96dec83
LMI
14555 * info.el: Remove the `Info-beginning-of-buffer' function
14556 (bug#8325).
14557
b796c9b7
SM
14558 * net/network-stream.el (network-stream-open-starttls):
14559 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 14560
d90e2ea0
MR
145612011-08-01 Martin Rudalics <rudalics@gmx.at>
14562
14563 * window.el (display-buffer-in-window): Don't set dedicated status
14564 of window here (Bug#9215).
14565 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14566 (display-buffer-pop-up-side-window)
b796c9b7 14567 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 14568
cca09170
SM
145692011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14570
14571 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14572 before binding generated-autoload-file.
14573
027b979c
DD
145742011-08-01 Deniz Dogan <deniz@dogan.se>
14575
14576 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14577
3c7ee4f3
MA
145782011-07-30 Michael Albinus <michael.albinus@gmx.de>
14579
14580 Sync with Tramp 2.2.2.
14581
14582 * net/trampver.el: Update release number.
14583
2cc8e51a
JL
145842011-07-30 Juri Linkov <juri@jurta.org>
14585
14586 * dired-aux.el (dired-touch-initial): Remove function.
14587 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14588 current time, and `default' to the last modification time of the
14589 current marked file (bug#6887).
14590
a514d856
JM
145912011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14592
14593 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 14594 numeric argument to read-number (bug#9163).
a514d856 14595
8a7eddd7
MA
145962011-07-27 Michael Albinus <michael.albinus@gmx.de>
14597
14598 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14599 connection process, it could be nil.
14600
1ddd96f5
LL
146012011-07-27 Leo Liu <sdl.web@gmail.com>
14602
14603 Simplify url handling in rcirc-mode.
14604
14605 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14606 (rcirc-browse-url-at-mouse): Remove.
14607 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14608
b248a85d
AM
146092011-07-26 Alan Mackenzie <acm@muc.de>
14610
14611 Fontify bitfield declarations properly.
14612
14613 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14614 (c-symbol-chars): Now exported as a lang variable.
14615 (c-not-primitive-type-keywords): New lang variable.
14616
14617 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14618 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 14619 parsed as a bitfield declaration.
b248a85d 14620
b796c9b7
SM
14621 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14622 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
14623 (c-punctuation-in): New function.
14624 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14625 declarations properly.
14626
68575ab0
UJ
146272011-07-26 Ulf Jasper <ulf.jasper@web.de>
14628
14629 * calendar/icalendar.el (icalendar--all-events): Take care of
14630 multiple vcalendars in a single file.
b796c9b7 14631 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 14632
0f0a88b9
DD
146332011-07-25 Deniz Dogan <deniz@dogan.se>
14634
14635 * image.el (insert-image): Clarifying docstring.
14636
0b3f36df
MA
146372011-07-24 Michael Albinus <michael.albinus@gmx.de>
14638
14639 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14640 `tramp-send-command-and-check' if there is no error.
14641 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14642
a9901f61
AM
146432011-07-22 Alan Mackenzie <acm@muc.de>
14644
14645 Prevent cc-langs.elc being loaded at run time.
14646
14647 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14648 cc-langs.
14649
4d61f28d 14650 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
14651 "(require 'cc-langs)". Quote a form so it will evaluate at
14652 (cc-mode's) compilation time.
14653
11d074b2
MA
146542011-07-22 Michael Albinus <michael.albinus@gmx.de>
14655
14656 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14657 loading. (Bug#9114)
14658
938b94c8
MR
146592011-07-21 Martin Rudalics <rudalics@gmx.at>
14660
14661 * window.el (display-buffer-pop-up-window)
14662 (display-buffer-pop-up-side-window)
14663 (display-buffer-in-side-window): Call display-buffer-set-height
14664 and display-buffer-set-width after setting the new window's
b796c9b7 14665 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 14666
bfa4f190
SS
146672011-07-20 Sam Steingold <sds@gnu.org>
14668
14669 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14670 (etags-tags-included-tables): Call `convert-standard-filename' on
14671 the file names contained in TAGS so that windows Emacs can handle
14672 TAGS files created by cygwin ctags.
14673
8ca42262
LMI
146742011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14675
14676 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14677 which apparently didn't work.
14678
5db2afd2 146792011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 14680
5db2afd2
RW
14681 * proced.el (proced-send-signal): For *Marked Processes* buffer
14682 put point at beginning of buffer.
14683
92e15d10
SB
146842011-07-19 Stephen Berman <stephen.berman@gmx.net>
14685
14686 * proced.el (proced-format): Make header lines align with the text
14687 (bug#1779).
14688
1bfd59e5
LMI
146892011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14690
14691 * view.el (view-buffer): Allow running in `special' modes if we're
14692 visiting a file (bug#8615).
14693
f5aae37c
MR
146942011-07-19 Martin Rudalics <rudalics@gmx.at>
14695
14696 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
14697 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14698 New functions.
f5aae37c
MR
14699 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14700 more accurately.
14701
bf2c1571
AM
147022011-07-18 Alan Mackenzie <acm@muc.de>
14703
14704 Fontify declarators properly when, e.g., a jit-lock chunk begins
14705 inside a declaration.
14706
14707 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14708
b796c9b7
SM
14709 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14710 New function.
bf2c1571
AM
14711 (c-complex-decl-matchers): Insert reference to
14712 c-font-lock-enclosing-decls.
14713
14714 * progmodes/cc-engine.el (c-backward-single-comment):
14715 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14716 to nil around calls to (forward-comment -1).
14717
4e190b80
LMI
147182011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14719
12dc863d
LMI
14720 * image.el (put-image): Doc typo fix.
14721
a762e966
LMI
14722 * progmodes/etags.el (tags-search): Doc typo fix.
14723
4e190b80
LMI
14724 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14725 password if we get errors 550 to 554.
14726
f019fb21
LMI
147272011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14728
b796c9b7 14729 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 14730
81746738
LMI
14731 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14732 indentation character (bug#6380).
14733
3ee3a1b5
LMI
14734 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14735
c82f64de
LMI
14736 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14737 to clarify what the problem is (bug#4291).
14738
f019fb21
LMI
14739 * simple.el (current-kill): Clarify what
14740 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
14741 (auto-fill-mode): Document `auto-fill-function' in relation to
14742 `auto-fill-mode' (bug#2470).
f019fb21 14743
0794775d
LM
147442011-07-16 Lawrence Mitchell <wence@gmx.li>
14745
14746 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14747 method if slot is read-only (bug#9035).
14748
be39b8cc
MR
147492011-07-16 Martin Rudalics <rudalics@gmx.at>
14750
b796c9b7 14751 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 14752 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
14753 selected before, see discussion of (Bug#8615), (Bug#6954).
14754 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 14755
6ccf7859
GM
147562011-07-15 Glenn Morris <rgm@gnu.org>
14757
14758 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 14759 Respect help-form.
6ccf7859 14760
87e86684
LM
147612011-07-09 Lawrence Mitchell <wence@gmx.li>
14762
14763 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14764 (gnutls-negotiate): Use it.
14765
d6066239
LMI
147662011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14767
b796c9b7
SM
14768 * net/gnutls.el (gnutls-negotiate):
14769 Upcase `gnutls-algorithm-priority'.
d6066239 14770
bd23ebc0
GM
147712011-07-15 Glenn Morris <rgm@gnu.org>
14772
c65bca65
GM
14773 * jka-compr.el (jka-compr-verbose): Move from here...
14774 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14775 Add missing :version tag.
14776 * info.el: No need to require jka-compr when compiling.
bd23ebc0 14777
478615cc
LMI
147782011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14779
7b41decb
LMI
14780 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14781 (gnutls-negotiate): Use it.
14782
dbc44fcd
LMI
14783 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14784
06789f97
LMI
14785 * info.el (Info-beginning-of-buffer): New command.
14786 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14787 announcing `b' as the key (bug#8325).
ab896c37 14788 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 14789
c39da690
LMI
14790 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14791
3aa5f34b
LMI
14792 * international/mule-cmds.el
14793 (describe-specified-language-support): Make the error message
14794 clearer (bug#8905).
14795
4bf0979f
LMI
14796 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14797
478615cc
LMI
14798 * isearch.el (isearch-barrier): Add a doc string, since it's
14799 mentioned in a function doc string (bug#8678).
14800
75c68aa1
MR
148012011-07-15 Martin Rudalics <rudalics@gmx.at>
14802
14803 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14804 buffer argument (Bug#9083) and self-identifying label argument.
14805
a7c33da2
GM
148062011-07-15 Glenn Morris <rgm@gnu.org>
14807
14808 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14809
2f5c6024
LMI
148102011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14811
14812 * man.el (Man-fontify-manpage): Fix message when formatting the
14813 man page (bug#7929).
14814
0bb23927 148152011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
14816
14817 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14818 argument LRM; if non-nil, append an invisible LRM character to the
14819 buffer name.
14820 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14821 last argument non-nil, when formatting buffer names.
0bb23927
EZ
14822 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14823 paragraph direction.
cce4b0a7 14824
621ef9ab
LMI
148252011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14826
d1583c48
LMI
14827 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14828 the man page name (bug#7929).
14829
6a57fb5f
LMI
14830 * image.el (put-image): Mention the `put-image' overlay property
14831 (bug#7834).
14832
d7956b14
LMI
14833 * scroll-bar.el (set-scroll-bar-mode): Mention that
14834 `scroll-bar-mode' lists the values (bug#7772).
14835
5b2d4a66
LMI
14836 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14837 command (bug#7729).
14838
7509a874
LMI
14839 * rect.el (apply-on-rectangle): Return the point after the last
14840 operation.
14841 (string-rectangle): Go to the point after the last operation
14842 (bug#7522).
14843
4fe74b19
LMI
14844 * printing.el (pr-toggle-region): Clarify the documentation
14845 slightly (bug#7493).
14846
b796c9b7
SM
14847 * time.el (display-time-update):
14848 Allow `display-time-mail-function' to return nil (bug#7158).
14849 Fix suggested by Detlev Zundel.
ab283561 14850
fc233c9d
LMI
14851 * vc/diff.el (diff): Clarify the order the file names are read
14852 (bug#7111).
14853
43f5740b
LMI
14854 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14855 the doc string (bug#7015).
14856
f2182a76
LMI
14857 * font-lock.el (font-lock-maximum-decoration): Mention what
14858 numeric levels mean (bug#6935).
14859
621ef9ab
LMI
14860 * startup.el (initial-buffer-choice): Don't mention the `none'
14861 selection, which is against policy.
14862
adc47434
MR
148632011-07-14 Martin Rudalics <rudalics@gmx.at>
14864
b796c9b7
SM
14865 * window.el (display-buffer-normalize-special):
14866 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 14867
7e5bfb8f
EZ
148682011-07-14 Eli Zaretskii <eliz@gnu.org>
14869
14870 * subr.el (version<, version<=, version=): Mention "-CVS" and
14871 "-12345" alpha version numbers.
14872
27fa387a
CY
148732011-07-14 Chong Yidong <cyd@stupidchicken.com>
14874
14875 * bindings.el: Add advertised binding for set-mark-command
14876 (Bug#5772).
14877
8bdfa064
CY
148782011-07-14 Chong Yidong <cyd@stupidchicken.com>
14879
14880 * bindings.el (mode-line-other-buffer):
14881 * bookmark.el (bookmark-bmenu-2-window):
14882 * bs.el (bs-cycle-next, bs-cycle-previous):
14883 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14884 switch-to-buffer.
14885
14886 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 14887 Delete.
8bdfa064 14888
5eba16a3
JB
148892011-07-14 Juanma Barranquero <lekktu@gmail.com>
14890
14891 * follow.el (follow-debug-message, follow-redisplay):
14892 * jka-cmpr-hook.el (with-auto-compression-mode):
14893 Fix typos in docstrings.
14894
15853710
LMI
148952011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14896
a28e4607
LMI
14897 * subr.el (with-silent-modifications): Clarify somewhat what the
14898 macro inhibits (bug#6525).
14899
15853710
LMI
14900 * simple.el (eval-expression): Note what it does if called
14901 interactively (bug#6495).
14902
bee0fcef
CY
149032011-07-13 Chong Yidong <cyd@stupidchicken.com>
14904
b796c9b7
SM
14905 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14906 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
14907
14908 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14909 Remove switch-to-buffer.
14910
58274504
LMI
149112011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14912
bd2fcc8d
LMI
14913 * files.el (make-directory): Clarify that an error will be raised
14914 if there's an error (bug#6397).
14915
0f04b32c
LMI
14916 * startup.el (initial-buffer-choice): Add `none' as a choice
14917 (bug#6234).
14918
465c5fc8
LMI
14919 * subr.el (add-hook): Clarify section about buffer-local hooks
14920 (bug#6218).
14921
58274504
LMI
14922 * dired.el (dired-flagged): Clarify doc string (bug#6117).
14923
bead9a43
JB
149242011-07-13 Juanma Barranquero <lekktu@gmail.com>
14925
14926 * tabify.el (untabify): Preserve the current column so that point
14927 doesn't move (bug#6032).
14928
3af98a7b
LMI
149292011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14930
b796c9b7
SM
14931 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14932 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 14933
6240145a
GM
149342011-07-13 Glenn Morris <rgm@gnu.org>
14935
14936 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
14937 (dired-insert-directory): Give a message the first time
14938 if ls is found not to support --dired.
14939
1d8c2ccc
LMI
149402011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14941
14942 * simple.el (toggle-truncate-lines): Clarify what is toggled
14943 (bug#5580). Text by Drew Adams.
14944
5fc4038e
CY
149452011-07-13 Chong Yidong <cyd@stupidchicken.com>
14946
14947 * simple.el (blink-matching-open): Make the error message from the
14948 last change less verbose.
14949
bf6012e5
DN
149502011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
14951
14952 * font-lock.el (font-lock-comment-face): Use the high contrast
14953 "yellow" color for font-lock-comment-face on low color terminals
14954 using a dark background color (bug#4221).
14955
343c3b5a
LMI
149562011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14957
7e9505c5
LMI
14958 * dired.el (dired-insert-set-properties): Make the doc string
14959 reflect what it does now (bug#5325).
14960
c26fdcf5
LMI
14961 * simple.el (blink-matching-open): Say that we were unable to find
14962 the match within the limit, if we're limited (bug#5122).
14963
bb388cc5
LMI
14964 * international/mule-cmds.el (prefer-coding-system): Add an
14965 example (bug#4869).
14966
343c3b5a
LMI
14967 * progmodes/etags.el (tags-search): Document `file-list-form'
14968 (bug#4731).
14969
2a517d45
LM
149702011-07-13 Lawrence Mitchell <wence@gmx.li>
14971
14972 * net/browse-url.el (browse-url-default-browser)
14973 (browse-url-browser-function): Make the default browser choice a
14974 bit more logical (bug#4300). Also clean up the doc string.
14975
b6c78ef2
JB
149762011-07-13 Juanma Barranquero <lekktu@gmail.com>
14977
14978 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14979 binary endings (bug#4440).
14980
1c4dd947
LMI
149812011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14982
a2014063
LMI
14983 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14984 which can be pretty annoying (bug#8971).
14985
9c9c2d88
LMI
14986 * jka-compr.el (jka-compr-verbose): New variable, and use
14987 throughout (bug#8971).
14988
1c4dd947
LMI
14989 * info.el (Info-find-file): Fall back on the installation
14990 directory if we can't find the info node anywhere else.
14991
a1c9f41b
SO
149922011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14993
14994 * vc/vc.el (vc-revert-file):
14995 Don't set file time-stamp in the past. (Bug#5181)
14996
536f3d36
LMI
149972011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14998
7152b011
LMI
14999 * files.el (after-find-file): Give a better error message when
15000 trying to find a symlink that points to a file that doesn't exist
15001 (bug#4398).
15002
536f3d36
LMI
15003 * progmodes/cc-vars.el: Remove (probably) misleading comment
15004 (bug#4396).
15005
460c0fba
JB
150062011-07-12 Johan Bockgård <bojohan@gnu.org>
15007
15008 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15009
7a6bda45
CY
150102011-07-12 Chong Yidong <cyd@stupidchicken.com>
15011
15012 * mouse-sel.el: Hack restoring functionality, while keeping
15013 compatibility with 2010-07-03 changes to mouse selection.
15014 (mouse-sel-primary-overlay): New var.
15015 (mouse-sel-selection-alist): Use it.
15016 (mouse-sel-mode): Doc fix; remove points that are default features
15017 of mouse.el.
15018
c79598ef
JB
150192011-07-12 Johan Bockgård <bojohan@gnu.org>
15020
15021 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15022 Fix previous fix (bug#2490).
15023
ff8be6ef
RW
150242011-07-12 Roland Winkler <winkler@gnu.org>
15025
b796c9b7
SM
15026 * textmodes/bibtex.el (bibtex-initialize):
15027 Use pop-to-buffer-same-window.
ff8be6ef
RW
15028 (bibtex-search-entries): Fix interactive call.
15029
296ba3ee
LMI
150302011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15031
f5242a02 15032 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
15033 Fontise bytecomp Error lines more correctly (bug#2490).
15034 Fix suggested by Johan Bockgård.
f5242a02 15035
296ba3ee
LMI
15036 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15037
15038 * dired-x.el (dired-guess-default): Use `delete-dups'.
15039
f69fd0d2
CY
150402011-07-12 Chong Yidong <cyd@stupidchicken.com>
15041
15042 * dired.el (dired-mark-prompt):
15043 * dired-aux.el (dired-read-shell-command): Doc fix.
15044
eab5dc07
LMI
150452011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15046
b796c9b7
SM
15047 * mail/sendmail.el (sendmail-query-once):
15048 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
15049 emacs -Q.
15050
15051 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15052
eab5dc07
LMI
15053 * cus-edit.el (custom-file): Take an optional no-error variable.
15054 (customize-save-variable): Set the variable, and give a warning if
15055 running under "emacs -q".
15056
a1e65d42
JB
150572011-07-11 Juanma Barranquero <lekktu@gmail.com>
15058
15059 * loadhist.el (unload-feature-special-hooks):
15060 Add `auto-coding-functions', `fill-nobreak-predicate' and
15061 `find-directory-functions' (bug#5327).
15062
1d52da10
LMI
150632011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15064
be958f1d
LMI
15065 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15066
5bedb26c
LMI
15067 * cus-edit.el (custom-guess-name-alist): -alist variables should
15068 use the `alist' type (bug#3120). Suggested by Drew Adams.
15069
1d52da10
LMI
15070 * printing.el: Add documentation to all the `pr-toggle-' commands.
15071
cd394be1 150722011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
15073
15074 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15075 backends where it makes sense (bug#2623).
15076
dcc88d8a
LMI
150772011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15078
c3de9feb
LMI
15079 * dired-x.el (dired-guess-default): Remove duplicate shell command
15080 entries (bug#2028).
8a93078b 15081 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 15082 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 15083
dcc88d8a
LMI
15084 * subr.el (remove-duplicates): New conveniency function.
15085
505e3645
LMI
150862011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15087
15088 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15089 (bug#1526).
15090
150912011-07-10 Martin Rudalics <rudalics@gmx.at>
15092
15093 * window.el (display-buffer-normalize-default): Don't invert
15094 meaning of even-window-heights. Reported by Eli Zaretskii
15095 <eliz@gnu.org>.
15096
455e4fa1
BR
150972011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15098
15099 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15100
8e0bc3e9
CY
151012011-07-10 Chong Yidong <cyd@stupidchicken.com>
15102
15103 * window.el (display-buffer): Fix arguments to
15104 display-buffer-reuse-window in last change.
15105
fa7c3228
CY
15106 * faces.el (link): Use a less saturated blue on light backgrounds.
15107
15108 * startup.el (fancy-startup-text, fancy-about-text)
15109 (fancy-startup-tail): Use font-lock faces, for background safety.
15110
c0a7f300
BN
151112011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15112
b796c9b7
SM
15113 * emulation/viper-cmd.el (viper-change-state-to-vi):
15114 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 15115
4dc2a129
MR
151162011-07-09 Martin Rudalics <rudalics@gmx.at>
15117
15118 * window.el (display-buffer-default-specifiers): Remove.
15119 (display-buffer-macro-specifiers): Remove default specifiers.
15120 (display-buffer-alist): Default to nil.
b796c9b7 15121 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
15122 (display-buffer-pop-up-window): Allow splitting internal
15123 windows. Check whether a live window was created.
15124 (display-buffer-other-window-means-other-frame)
15125 (display-buffer-normalize-arguments): Rename to
15126 display-buffer-normalize-argument and rewrite. Set the
15127 other-window specifier.
15128 (display-buffer-normalize-special): New function.
15129 (display-buffer-normalize-options): Rename to
15130 display-buffer-normalize-default and rewrite.
15131 (display-buffer-normalize-options-inhibit): Remove.
15132 (display-buffer-normalize-specifiers): Rewrite.
15133 (display-buffer): Process other-window specifier and call
15134 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15135 more faithfully.
b796c9b7 15136 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 15137 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
15138 (display-buffer-in-window, display-buffer-alist-set):
15139 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
15140 <tassilo@member.fsf.org>.
15141
2d43b8c9
LL
151422011-07-09 Leo Liu <sdl.web@gmail.com>
15143
15144 * register.el (insert-register): Restore accidental change on
15145 2011-06-26. (Bug#9028)
15146
7f9b7c53
GM
151472011-07-09 Glenn Morris <rgm@gnu.org>
15148
15149 * subr.el (remq): Handle the empty list. (Bug#9024)
15150
f042cfd8
AS
151512011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15152
15153 * mail/sendmail.el (send-mail-function): No longer delay custom
15154 initialization.
15155 * custom.el (custom-initialize-delay): Doc fix.
15156
856b2f11
SM
151572011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15158
15159 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15160
afae1d68
MA
151612011-07-08 Michael Albinus <michael.albinus@gmx.de>
15162
15163 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15164 human-friendly prompt.
15165
0757af94
SM
151662011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15167
15168 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15169 provided by a particular plugin.
15170
d760b731
LMI
151712011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15172
15173 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15174 save customizations (with "emacs -Q"), just set the variable
15175 instead of erroring out.
15176
15177 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15178
cd79ce90
JL
151792011-07-08 Juri Linkov <juri@jurta.org>
15180
15181 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15182 (archive-zip-update-case): Use 7z if found by `executable-find'.
15183 The order of searching the available programs is the same as in
15184 `archive-zip-extract' (bug#8968).
15185
14cc04aa
CY
151862011-07-07 Chong Yidong <cyd@stupidchicken.com>
15187
15188 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15189 (menu-bar-options-menu): Tweak descriptions.
15190
0a1848ec
LMI
151912011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15192
15193 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15194 menu items into verb phrases (bug#1421). Also refill to fit under
15195 80 columns.
15196
f5bd0689
CY
151972011-07-07 Chong Yidong <cyd@stupidchicken.com>
15198
538e85c6
CY
15199 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15200 (Info-read-node-name): Doc fix (Bug#1084).
15201
f5bd0689
CY
15202 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15203 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15204 (end-of-sexp, beginning-of-sexp)
15205 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15206 (forward-symbol, forward-same-syntax, word-at-point)
15207 (sentence-at-point): Doc fix (Bug#1144).
15208
56ec5115
LMI
152092011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15210
f3f8e37f
LMI
15211 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15212 should cover it (bug#1281).
15213
0757af94 15214 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 15215
e9fce1ac 15216 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
15217 negotiation fails, then possibly try again with a non-encrypted
15218 connection (bug#9017).
15219
56ec5115
LMI
15220 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15221 be used.
15222
c2f9aec8
RS
152232011-07-07 Richard Stallman <rms@gnu.org>
15224
15225 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15226 property, and handle its changed format.
15227 Look for the correct line number.
15228 Use file's line contents (but not past first =) to find
15229 correct line in message.
15230
ef7b981d 152312011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
15232
15233 * international/characters.el (build-unicode-category-table):
15234 Delete it.
0757af94 15235 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 15236
0757af94 15237 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
15238 to src/chartab.c.
15239 (get-char-code-property): Call unicode-property-table-internal to
15240 load a file. Call get-unicode-property-internal where necessary.
15241 (put-char-code-property): Call unicode-property-table-internal to
15242 load a file. Call put-unicode-property-internal where necessary.
15243 put-unicode-property-internal where necessary.
0757af94
SM
15244 (char-code-property-description):
15245 Call unicode-property-table-internal to load a file.
c805dec0
KH
15246
15247 * international/charprop.el:
15248 * international/uni-bidi.el:
15249 * international/uni-category.el:
15250 * international/uni-combining.el:
15251 * international/uni-comment.el:
15252 * international/uni-decimal.el:
15253 * international/uni-decomposition.el:
15254 * international/uni-digit.el:
15255 * international/uni-lowercase.el:
15256 * international/uni-mirrored.el:
15257 * international/uni-name.el:
15258 * international/uni-numeric.el:
15259 * international/uni-old-name.el:
15260 * international/uni-titlecase.el:
15261 * international/uni-uppercase.el: Regenerate.
15262
15263 * loadup.el: Load international/charprop.el before
15264 international/characters.
15265
e14b388a
CY
152662011-07-07 Chong Yidong <cyd@stupidchicken.com>
15267
15268 * window.el (next-buffer, previous-buffer): Signal an error if
15269 called from a minibuffer window.
15270
15271 * bindings.el: Revert 2011-07-04 change.
15272
354cf0ba
RS
152732011-07-06 Richard Stallman <rms@gnu.org>
15274
15275 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15276 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15277 Treat markers like ints.
15278 (rmail-mime-entity): Doc fix.
15279
a48868a7
LMI
152802011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15281
4906cd3d
LMI
15282 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15283 defcustom again for backwards compatibility.
15284
e0457abe
LMI
15285 * simple.el (shell-command-on-region): Fill.
15286
d67f7e1f
LMI
15287 * dired-aux.el (dired-kill-line): Add a doc string.
15288
fe204702
LMI
15289 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15290 to "\\sw\\|\\s_" (bug#358).
15291
a48868a7
LMI
15292 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15293 (dired-unmark-backward): Ditto.
15294 (dired-flag-backup-files): Ditto.
15295
15296 * dired-x.el (dired-mark-sexp): Ditto.
15297
aa8a705c
RS
152982011-07-06 Richard Stallman <rms@gnu.org>
15299
15300 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15301 (rmail-mime-entity): New arg TRUNCATED.
15302 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15303 New functions.
15304 (rmail-mime-save): Warn if entity is truncated.
15305 (rmail-mime-toggle-hidden): Likewise, for showing.
15306 (rmail-mime-process-multipart): Record when an entity is truncated.
15307
a9a936b9
RS
15308 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15309 if ENTITY is a string.
15310
1f2b92cb
LMI
153112011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15312
f4f73198 15313 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
15314 of faces when `M-C-x'-ing their definitions (bug#8378).
15315 Also clean up the code slightly.
f4f73198 15316
12b16734 15317 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 15318 because that makes the colors go away.
12b16734 15319
f0691d22
LMI
15320 * mail/sendmail.el (send-mail-function): Change the default to
15321 `sendmail-query-once'.
9e87df06 15322 (sendmail-query-once): Add an autoload cookie.
f0691d22 15323
1f2b92cb
LMI
15324 * net/network-stream.el (network-stream-open-starttls): Try using
15325 a plain connection even if the server offered STARTTLS, and we
15326 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15327 capability. This should make smtpmail.el work in slightly more
15328 configurations.
15329
1cdd2a1b
MA
153302011-07-06 Michael Albinus <michael.albinus@gmx.de>
15331
15332 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15333 New defun.
15334 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15335
fbcc67e2
MM
153362011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15337
15338 * progmodes/sql.el: Version 3.0
0757af94 15339 (sql-product-alist): Add product :completion-object,
fbcc67e2 15340 :completion-column, and :statement attributes.
0757af94 15341 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 15342 (sql-mode-syntax-table): Mark all punctuation.
0757af94 15343 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
15344 ansi keywords.
15345 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 15346 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
15347 (sql-oracle-show-reserved-words): New function for development.
15348 (sql-product-font-lock): Simplify for source code buffers.
15349 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15350 New functions.
15351 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
15352 (sql-mode-map): Add statement movement functions.
15353 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15354 New variable.
fbcc67e2
MM
15355 (sql-statement-regexp, sql-beginning-of-statement)
15356 (sql-end-of-statement, sql-signum): New functions.
0757af94 15357 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
15358 (sql-show-sqli-buffer): Bug fix.
15359 (sql-interactive-mode): Store connection data as buffer local.
0757af94 15360 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
15361 with sql-interactive-mode.
15362 (sql-save-connection): Save buffer local settings.
0757af94 15363 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
15364 (sql-product-interactive): Bug fix.
15365 (sql-preoutput-hold): New variable.
15366 (sql-interactive-remove-continuation-prompt): Bug fixes.
15367 (sql-debug-redirect): New variable.
15368 (sql-str-literal): New function.
15369 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 15370 Redesign.
fbcc67e2
MM
15371 (sql-oracle-save-settings, sql-oracle-restore-settings)
15372 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15373 (sql-completion-object, sql-completion-column)
15374 (sql-completion-sqlbuf): New variables.
15375 (sql-build-completions-1, sql-build-completions)
15376 (sql-try-completion): New functions.
15377 (sql-read-table-name): Use them.
15378 (sql-contains-names): New buffer local variable.
15379 (sql-list-all, sql-list-table): Use it.
15380 (sql-oracle-completion-types): New variable.
15381 (sql-oracle-completion-object, sql-sqlite-completion-object)
15382 (sql-postgres-completion-object): New functions.
15383
d4eaeab1
GM
153842011-07-06 Glenn Morris <rgm@gnu.org>
15385
15386 * window.el (pop-to-buffer): Doc fix.
15387
322b7dab 153882011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
15389
15390 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15391
322b7dab 153922011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 15393
322b7dab 15394 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 15395
322b7dab 15396 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 15397
605dd5bf
CY
153982011-07-05 Chong Yidong <cyd@stupidchicken.com>
15399
15400 * button.el (button): Inherit from link face. Suggested by Dan
15401 Nicolaescu.
15402
7dbfa719
SM
154032011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15404
3db614b0
SM
15405 * progmodes/gdb-mi.el: Fit in 80 columns.
15406 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15407 switch-to-buffer.
15408
7dbfa719
SM
15409 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15410 if imenu is simply not configured (bug#8941).
15411
919d884a
KM
154122011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15413
15414 * allout.el (allout-post-undo-hook): New allout outline-change
15415 event hook to signal undo activity.
15416 (allout-post-command-business): Run allout-post-undo-hook if an
15417 undo just occurred.
7dbfa719
SM
15418 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15419 * allout-widgets.el (allout-widgets-after-undo-function):
15420 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
15421 in the vicinity of an undo.
15422 (allout-widgets-mode): Include allout-widgets-after-undo-function
15423 on the new allout-post-undo-hook.
15424
450a0f09
SM
154252011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15426
15427 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15428 Let define-derived-mode define it.
15429 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15430 cycles of abbrev-table inheritance (bug#8998).
15431
2de69e00
RW
154322011-07-05 Roland Winkler <winkler@gnu.org>
15433
15434 * textmodes/bibtex.el: Add support for biblatex.
15435 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15436 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15437 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15438 (bibtex-entry-alist, bibtex-field-alist): New variables.
15439 (bibtex-entry-field-alist): Obsolete alias for
15440 bibtex-BibTeX-entry-alist.
15441 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15442 (bibtex-set-dialect): New command.
15443 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
15444 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15445 Bind via bibtex-set-dialect.
2de69e00
RW
15446 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15447 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15448 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15449 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15450 Define via bibtex-set-dialect.
450a0f09
SM
15451 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15452 Obey bibtex-no-opt-remove-re.
2de69e00
RW
15453 (bibtex-vec-push, bibtex-vec-incr): New functions.
15454 (bibtex-format-entry, bibtex-field-list)
15455 (bibtex-print-help-message, bibtex-validate)
15456 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15457
2dcdbdd9
SM
154582011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15459
15460 * progmodes/compile.el (compilation-goto-locus):
15461 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15462 * bs.el (bs-cycle-next, bs-cycle-previous):
15463 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15464 * bindings.el (mode-line-other-buffer):
15465 * autoinsert.el (auto-insert):
15466 * arc-mode.el (archive-extract):
15467 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15468
b27640fe
JB
154692011-07-05 Juanma Barranquero <lekktu@gmail.com>
15470
15471 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15472 Fix check of `emacs-lock-unlockable-modes'.
15473 Coerce true values of `emacs-lock--try-unlocking' to t.
15474
53bbe3ad
JB
154752011-07-05 Juanma Barranquero <lekktu@gmail.com>
15476
15477 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15478 * emacs-lock.el: New file.
15479
1d3cdbc7
JD
154802011-07-05 Julien Danjou <julien@danjou.info>
15481
15482 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15483 than `boundp' to check if face is set.
15484
9173deec
JB
154852011-07-05 Juanma Barranquero <lekktu@gmail.com>
15486
15487 * register.el (registerv-make):
15488 * window.el (window-min-height): Fix typos in docstrings.
15489
869795d6
JD
154902011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15491
9173deec 15492 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
15493 Update doc string.
15494
b768cdcd
JB
154952011-07-04 Juanma Barranquero <lekktu@gmail.com>
15496
15497 * server.el (server-execute): Catch quit and call
15498 `server-return-error' to pass the error back to emacsclient and
15499 close the connection (bug#8942).
15500
13aa217b
KM
155012011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15502
15503 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15504 insecure exception for current topic. Also note that auto-saves
15505 are handled differently.
15506
5d3385a0 15507 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
15508 State variables for tracking auto-save inhibition situation.
15509
15510 (allout-write-contents-hook-handler): Rename from
15511 'allout-write-file-hook-handler', and describe how it depends on
15512 write-contents-functions sensitivity to non-nil value to prevent
15513 file write.
15514
15515 (allout-auto-save-hook-handler): Remove. auto-save does not check
15516 this in individual buffers, only in the starting buffer, so this
15517 is not the right way for us to inhibit auto-save in a buffer
15518 according to its condition.
15519
15520 (allout-mode): Use new allout-write-contents-hook-handler, and
15521 only with write-contents-functions. Remove auto-save provisions -
15522 they're implemented elsewhere.
15523
15524 (allout-before-change-handler): If undo is in progress, note that
15525 for attention of allout-post-command-business.
15526
15527 (allout-post-command-business): If the command we're following was
15528 an undo, check for change in the status of encrypted items and
15529 adjust auto-save inhibitions accordingly.
15530
15531 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15532 according to whether there are or aren't any plain-text topics
15533 pending encryption.
15534
2dcdbdd9 15535 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
15536 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15537 if there are plain-text topics pending encryption.
13aa217b
KM
15538
15539 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15540 buffer-saved-size and some allout state to not inhibit auto-saves
15541 if there are no longer any plain-text topics pending encryption.
15542
0757af94
SM
15543 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15544 No longer provide for exemption of the current topic.
13aa217b 15545
ac89b32c
JL
155462011-07-04 Juri Linkov <juri@jurta.org>
15547
15548 Add 7z operations to delete and save changed members (bug#8968).
15549 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15550 New defcustoms.
15551 (archive-7z-write-file-member): New function.
15552 (archive-7z-summarize): Fix the number of dashes in the
15553 listing output.
15554
8fa39615
SM
155552011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15556
15557 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15558 (bug#8958).
15559
2f11b3f1
CY
155602011-07-04 Chong Yidong <cyd@stupidchicken.com>
15561
d66fef2b
CY
15562 * bindings.el: Ignore next-buffer and previous-buffer in
15563 minibuffer-local-map.
15564
2f11b3f1
CY
15565 * font-lock.el (font-lock-builtin-face): Change light background
15566 color to dark slate blue (Bug#6693).
15567
f932a347
WD
155682011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15569
15570 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15571
c8af70e1
SM
155722011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15573
15574 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15575 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15576 Add switch-to-buffer.
15577
f158badc
LMI
155782011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15579
15580 * isearch.el (isearch-search-fun-function): Clarify further the
15581 meaning of the function returned.
15582
6d95bd46
MA
155832011-07-04 Michael Albinus <michael.albinus@gmx.de>
15584
15585 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15586
15587 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15588 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15589 Use it.
15590 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15591 `tramp-default-remote-path' does not exist.
15592 (tramp-send-command-and-read): New optional argument NOERROR.
15593 (tramp-open-connection-setup-interactive-shell)
15594 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15595 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15596 (tramp-process-sentinel): Flush also process' connection property.
15597 (tramp-sh-handle-start-file-process): Do not set process
15598 sentinel. It is done now ...
15599 (tramp-maybe-open-connection): ... here. (Bug#8929)
15600
909e6b67
MK
156012011-07-04 MON KEY <monkey@sandpframing.com>
15602
15603 * play/animate.el (animate-string): Doc fixes and allow changing
15604 the buffer name (bug#5417).
15605
156062011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15607
c8af70e1 15608 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 15609
f34755dc
PE
156102011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15611
396cec72
PE
15612 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15613 This is simpler and helps future-proof the code.
15614 (timer-until): Use time-subtract and float-time.
08235028 15615 (timer--time-less-p): Use time-less-p.
f34755dc 15616
56e6cc31
JB
156172011-07-04 Juanma Barranquero <lekktu@gmail.com>
15618
3abb79e5
JB
15619 * type-break.el (timep): Use the value of `float-time' to avoid a
15620 byte-compiler warning.
15621
56e6cc31
JB
15622 * server.el (server-eval-and-print): Return any result, even nil.
15623
7b9430b4
PE
156242011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15625
15626 * type-break.el: Accept time formats that the builtins accept.
15627 (timep, type-break-time-difference): Accept any format that
15628 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15629 This is simpler and helps future-proof the code.
15630 (type-break-time-difference): Round rather than ignoring
15631 subseconds components.
15632
3034e9e7
LMI
156332011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15634
15635 * info.el (Info-apropos-matches): Make non-interactive, since it
15636 doesn't seem to do anything useful as a command (bug#8829).
15637
1485f4c0
CY
156382011-07-03 Chong Yidong <cyd@stupidchicken.com>
15639
15640 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 15641 Move from faces.el.
1485f4c0
CY
15642 (frame-default-terminal-background): New function.
15643
15644 * custom.el (custom-push-theme): Don't record faces in `changed'
15645 theme; this doesn't work correctly for per-frame face settings.
15646 (disable-theme): Use face-set-after-frame-default to reset faces.
15647 (custom--frame-color-default): New function.
15648
9fa3dd45
LMI
156492011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15650
c8af70e1 15651 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
15652 (bug#8769).
15653
6cbbc20c
KR
156542011-03-29 Kevin Ryde <user42@zip.com.au>
15655
15656 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15657 `perl-Test2' extend to match possible "fail #N" rep count
15658 (bug#8377).
15659
c7f98048
LMI
156602011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15661
65676592
LMI
15662 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15663 `smtpmail-via-smtp' now returns the error instead of nil.
15664
c7f98048
LMI
15665 * isearch.el (isearch-search-fun-function): Clarify the doc string
15666 (bug#8101).
15667
56e6cc31 156682011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
15669
15670 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15671 unnecessary spaces (bug#8987).
15672
2b216704
LMI
156732011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15674
15675 * net/network-stream.el (open-network-stream): Use the
15676 :end-of-capability command thoughout.
15677
156782011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15679
15680 * net/network-stream.el (open-network-stream): Add the
15681 :end-of-capability command parameter, used by pop3.el.
15682
36adf6ce
LMI
156832011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15684
1ca0da0e
LMI
15685 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15686
fc00f69c
LMI
15687 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15688 for list)" (bug#6475).
15689
28fd8759 15690 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 15691 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
15692 an error (bug#6297).
15693
0dd8b6da
LMI
15694 * man.el (Man-reference-regexp): Allow matching possible
15695 word-wrapped references (bug#6289).
15696
ce1438d6
LMI
15697 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15698 for consistency with the other vc buffers (bug#6197).
15699 (vc-checkin): Ditto.
15700
15701 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15702
36adf6ce
LMI
15703 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15704
e83cc1f7
LMI
157052011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15706
8a20ca4c
LMI
15707 * custom.el (defcustom): Clarify that :set is only used in the
15708 Customize user interface (bug#6089).
15709
83319045
LMI
15710 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15711 associated with a file, refuse to run instead of erroring out
15712 (bug#6084).
15713
a8392169
LMI
15714 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15715 the doc string, since it appears that using `fill-column' always
15716 controls the width (bug#7845).
15717
e83cc1f7
LMI
15718 * simple.el (shell-command-on-region): Say where the error output
15719 went if `shell-command-default-error-buffer' is set (bug#6857).
15720
e47ca23b
KM
157212011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15722
15723 * allout.el (allout-yank-processing): Adjust cursor position for
15724 backwards-deleted space.
15725
15726 (allout-rebullet-heading): Register changes with
15727 allout-exposure-changed-hook, so the modified topic is properly
15728 decorated.
15729
5cf56143
LMI
157302011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15731
08549772
LMI
15732 * minibuffer.el (completion-in-region): Document PREDICATE
15733 (bug#7136).
15734
48e96771
LMI
15735 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15736 of keyword/argument pairs (bug#6904).
15737
c8af70e1
SM
15738 * replace.el (multi-occur):
15739 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 15740
e17d05e2
LMI
157412011-07-02 Drew Adams <drew.adams@oracle.com>
15742
15743 * dired.el (dired-mark-if): Make the message about whether it's
15744 marking or unmarking clearer (bug#8523).
15745
063b0e45
LMI
157462011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15747
15748 * disp-table.el (display-table-print-array): New function.
15749 (describe-display-table): Use it to print the vectors more pretty
15750 (Bug#8859).
15751
28545e04
MR
157522011-07-02 Martin Rudalics <rudalics@gmx.at>
15753
15754 * window.el (window-state-get-1): Don't assign clone numbers.
15755 Add clone-of item to list of window parameters.
15756 (window-state-put-2): Don't process clone numbers.
15757 (display-buffer-alist): Fix doc-string.
15758
3349e122
SM
157592011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15760
15761 * subr.el (remq): Don't allocate if it's not needed.
15762 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15763 (keymap--merge-bindings): New functions.
15764 (keymap-canonicalize): Use them to refine the canonicalization.
15765 * minibuffer.el (minibuffer-local-completion-map)
15766 (minibuffer-local-must-match-map): Move initialization from C.
15767 (minibuffer-local-filename-completion-map): Move initialization from C;
15768 don't inherit from anything here.
15769 (minibuffer-local-filename-must-match-map): Make obsolete.
15770 (completing-read-default): Use make-composed-keymap to combine
15771 minibuffer-local-filename-completion-map with either
15772 minibuffer-local-must-match-map or
15773 minibuffer-local-filename-completion-map.
15774
d224ac83
GM
157752011-07-01 Glenn Morris <rgm@gnu.org>
15776
3de63bf8
GM
15777 * type-break.el (type-break-time-sum): Use dolist.
15778
d224ac83
GM
15779 * textmodes/flyspell.el (flyspell-word-search-backward):
15780 Replace CL function.
15781
1a1e3f32
SM
157822011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15783
fe3f64d5
SM
15784 * mouse.el (mouse--strip-first-event): New function.
15785 (function-key-map): Use it to map fringe clicks to normal clicks
15786 by default.
15787
eb604e34
SM
15788 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15789 (vc-bzr-revision-completion-table): Add support for annotate and date.
15790
1a1e3f32
SM
15791 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15792 inherit from parent.
15793
5bd35902
LMI
157942011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15795
ace6c69c 15796 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 15797 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 15798
191e2bed
LMI
15799 * dired.el (dired-mode): Fix up the doc string as suggested by
15800 Drew Adams (bug#8817).
15801
5bd35902
LMI
15802 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15803 cookie, since the manual says that it should be possible to add
15804 this function to `find-file-hook' (bug#8709).
15805
eee8207a
TZ
158062011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15807
15808 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15809 here. Noted Ted Zlatanov as the maintainer.
15810 (cfengine-common-settings, cfengine-common-syntax): New functions
15811 to set up common things between `cfengine-mode' and
15812 `cfengine3-mode'.
15813 (cfengine3-mode): New mode.
15814 (cfengine3-defuns cfengine3-defuns-regex
15815 (cfengine3-class-selector-regex cfengine3-category-regex)
15816 (cfengine3-vartypes cfengine3-font-lock-keywords)
15817 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 15818 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 15819
36b148cf
MA
158202011-07-01 Michael Albinus <michael.albinus@gmx.de>
15821
15822 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15823
15824 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15825
0bf4ba9a
MR
158262011-07-01 Martin Rudalics <rudalics@gmx.at>
15827
15828 * window.el (same-window-buffer-names, same-window-regexps)
15829 (same-window-p, special-display-frame-alist)
15830 (special-display-popup-frame, special-display-function)
15831 (special-display-buffer-names, special-display-regexps)
15832 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15833 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15834 (split-window-preferred-function, split-height-threshold)
15835 (split-width-threshold, even-window-heights)
15836 (display-buffer-mark-dedicated, window-splittable-p)
15837 (split-window-sensibly, window-safely-shrinkable-p):
15838 Un-obsolete.
15839 (display-buffer): Don't spread args with function specifier
15840 because special-display-popup-frame won't like it.
15841
35837f51
PE
158422011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15843
d0672f86
PE
15844 Time-stamp simplifications and fixes.
15845 These improve accuracy slightly, and future-proof the code
15846 against some potential changes to current-time format.
15847
b9444d97
PE
15848 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15849 by using time-since and float-time.
15850
0ef923dc
PE
15851 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15852 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
15853 + NNN microseconds".
15854
2f81380d
PE
15855 * type-break.el (type-break-time-sum): Rewrite using time-add.
15856
845b5c3e
PE
15857 * play/hanoi.el (hanoi-current-time-float): Remove.
15858 All uses replaced by float-time.
15859
ee6f1be0
PE
15860 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15861 This yields a more-accurate answer.
15862 (rng-time-to-float): Remove; no longer needed.
15863
fe955043
PE
15864 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15865
5777162a
PE
15866 * calendar/timeclock.el (timeclock-seconds-to-time):
15867 Defalias to seconds-to-time, since they're the same thing.
15868
3103f8b6 15869 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 15870 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
15871 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15872
0e61a35f
SM
158732011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15874
15875 * window.el (bury-buffer): Don't iconify the only frame.
15876 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15877 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15878
ddd63a1e
CY
158792011-07-01 Chong Yidong <cyd@stupidchicken.com>
15880
0e61a35f
SM
15881 * eshell/em-smart.el (eshell-smart-display-navigate-list):
15882 Add mouse-yank-primary.
ddd63a1e 15883
055f4923
TZ
158842011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15885
15886 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15887
6a2fb145
SM
158882011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15889
15890 * emacs-lisp/find-func.el (find-library--load-name): New fun.
15891 (find-library-name): Use it to find relative load names when provided
15892 absolute file name (bug#8803).
15893
fd4983f2
LMI
158942011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15895
887d14ad
LMI
15896 * textmodes/flyspell.el (flyspell-word): Consider words that
15897 differ only in case as potential doublons (bug#5687).
15898
c53dc7fc
LMI
15899 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15900 Remove two rather uninteresting debugging-like messages to make
15901 debbugs.el more silent.
15902
fd4983f2
LMI
15903 * comint.el (comint-password-prompt-regexp): Accept "Response" as
15904 a password-like phrase.
15905
7a71b18d 159062011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
15907
15908 * progmodes/cc-guess.el: New file.
15909
6a2fb145 15910 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
15911
15912 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15913 derived from `c-basic-common-init'.
15914
15915 * progmodes/cc-mode.el (top-level): Require cc-guess.
15916 (c-basic-common-init): Use `cc-choose-style-for-mode'.
15917
1fa280a3
LM
159182011-06-30 Lawrence Mitchell <wence@gmx.li>
15919
15920 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15921
e6597158
AM
159222011-06-30 Alan Mackenzie <acm@muc.de>
15923
1fa280a3
LM
15924 * progmodes/cc-engine.el (c-guess-continued-construct):
15925 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
15926 lock is disabled. Name this case as "CASE G".
15927
68ba37fb
KM
159282011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
15929
15930 * allout.el (allout-yank-processing): Fix injection of extra space
15931 between bullet and non-whitespace character in first topic when
15932 pasting, ensuring that the actual spacing in the pasted topic
15933 following the bullet char is preserved. This extra space was
15934 causing pasted encrypted topics to get a decrypted status even
15935 when the content was actually still encrypted. Now the decryption
15936 status from before the paste is preserved.
15937
15938 (allout-flag-region): Set all allout overlays so they evaporate
15939 when reduced to zero length (evanescent), to prevent overlay
15940 leakage.
15941
887a0b34
GM
159422011-06-30 Glenn Morris <rgm@gnu.org>
15943
94b9acce
GM
15944 * w32-fns.el (w32-charset-info-alist): Declare.
15945
1d9b46d4
GM
15946 * find-dired.el (find-grep-options): Simplify.
15947
cc232200
GM
15948 * term/ns-win.el (ns-set-resource): Declare.
15949
28e77c46
GM
15950 * ses.el (row, col): Declare dynamic variables honestly.
15951
887a0b34
GM
15952 * textmodes/reftex-parse.el (index-tags): Declare.
15953
658d8eb8
CY
159542011-06-30 Chong Yidong <cyd@stupidchicken.com>
15955
15956 * cus-edit.el (customize-push-and-save): New function.
15957
15958 * files.el (hack-local-variables-confirm): Use it.
15959
1fa280a3
LM
15960 * custom.el (load-theme): New arg NO-CONFIRM.
15961 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
15962 (custom-enabled-themes): Doc fix.
15963
15964 * cus-theme.el (customize-create-theme)
15965 (custom-theme-merge-theme): Callers to load-theme changed.
15966
bb617717
LMI
159672011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15968
d61bdd5d
LMI
15969 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15970 short URLs have at least one dot in them (bug #7614).
15971
bb617717
LMI
15972 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15973 nil, because using a pty is apparently too slow (bug #895).
15974
2f31f37a
LMI
159752011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15976
15977 * mail/sendmail.el (sendmail-query-once): New function.
15978 (sendmail-query-once-function): New variable.
15979
3076b24e
GM
159802011-06-29 Glenn Morris <rgm@gnu.org>
15981
faf2a174
GM
15982 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15983
3076b24e
GM
15984 * ses.el (top-level): Require cl when compiling.
15985 (ses-set-localvars): Fix error statement.
15986 Call it at compile time to silence a storm of warnings.
15987
5386012d
MR
159882011-06-29 Martin Rudalics <rudalics@gmx.at>
15989
15990 * window.el (normalize-live-buffer): Rename to
15991 window-normalize-buffer.
15992 (normalize-live-frame): Rename to window-normalize-frame.
15993 (normalize-any-window): Rename to window-normalize-any-window.
15994 (normalize-live-window): Rename to window-normalize-live-window.
15995 (make-window-atom): Rename to window-make-atom.
15996 (window-resize-reset): Rename to window--resize-reset.
15997 (window-resize-reset-1): Rename to window--resize-reset-1.
15998 (resize-mini-window): Rename to window--resize-mini-window.
15999 (resize-subwindows-skip-p): Rename to
16000 window--resize-subwindows-skip-p.
16001 (resize-subwindows-normal): Rename to
16002 window--resize-subwindows-normal.
16003 (resize-subwindows): Rename to window--resize-subwindows.
16004 (resize-other-windows): Rename to window--resize-siblings.
16005 (resize-this-window): Rename to window--resize-this-window.
16006 (resize-root-window): Rename to window--resize-root-window.
16007 (resize-root-window-vertically): Rename to
16008 window--resize-root-window-vertically.
16009 (normalize-buffer-to-display): Rename to
16010 window-normalize-buffer-to-display.
16011 (normalize-buffer-to-switch-to): Rename to
16012 window-normalize-buffer-to-switch-to.
16013 Correspondingly update all callers of the functions listed
16014 above.
16015 (display-buffer-alist, display-buffer-normalize-arguments)
16016 (display-buffer-normalize-options, display-buffer)
16017 (display-buffer-alist-set): Use "function" instead of
16018 "fun-with-args".
16019
1176868d
CY
160202011-06-28 Chong Yidong <cyd@stupidchicken.com>
16021
16022 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16023 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16024 debbugs.gnu.org. Mention acknowledgment email.
16025
20a7a65f
LMI
160262011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16027
16028 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16029 buffer multibyteness, since it shouldn't matter.
16030
5f45cca5
MR
160312011-06-28 Martin Rudalics <rudalics@gmx.at>
16032
16033 * window.el (display-buffer-in-side-window): Handle dedicated
16034 windows as in display-buffer-reuse-window.
16035 (display-buffer-normalize-alist): Use value of override
16036 specifier.
16037 (display-buffer-normalize-specifiers): Use value of
16038 other-window-means-other-frame specifier.
16039 (display-buffer-alist): Rewrite some texts in widgets.
16040 (display-buffer): Spread arguments when calling function
16041 specified by fun-with-args.
16042
ad85fe1f
DD
160432011-06-28 Deniz Dogan <deniz@dogan.se>
16044
1fa280a3
LM
16045 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16046 Unnest `let'.
da68c4c8 16047
ad85fe1f
DD
16048 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16049 selectors (Bug#5732).
ec49bd31 16050 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 16051
a08cc025
JA
160522011-06-27 Jari Aalto <jari.aalto@cante.net>
16053
16054 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16055 (eshell-ls-date-format): New defcustom.
16056 (eshell-ls-file): Use it.
16057
e2b551c5
SM
160582011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16059
16060 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16061
8982b231
KY
160622011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16063
16064 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16065 (ange-ftp-make-tmp-name): New arg.
16066 (ange-ftp-file-local-copy): Use it.
16067
36c9fa27
J
160682011-06-27 Jambunathan K <kjambunathan@gmail.com>
16069
16070 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16071 no-conversion (Bug#8870).
16072
d68443dc
MR
160732011-06-27 Martin Rudalics <rudalics@gmx.at>
16074
16075 * window.el (window-right, window-left, window-child)
16076 (window-child-count, window-last-child)
16077 (window-iso-combination-p, walk-window-tree-1)
16078 (window-atom-check-1, window-tree-1, delete-window)
16079 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16080 new naming conventions - window-vchild, window-hchild,
16081 window-next and window-prev are now called window-top-child,
16082 window-left-child, window-next-sibling and window-prev-sibling
16083 respectively.
d615d6d2
MR
16084 (resize-window-reset): Rename to window-resize-reset.
16085 (resize-window-reset-1): Rename to window-resize-reset-1.
16086 (resize-window): Rename to window-resize.
16087 (window-min-height, window-min-width)
16088 (resize-mini-window, resize-this-window, resize-root-window)
16089 (resize-root-window-vertically, adjust-window-trailing-edge)
16090 (enlarge-window, shrink-window, maximize-window)
16091 (minimize-window, delete-window, quit-restore-window)
16092 (split-window, balance-windows, balance-windows-area-adjust)
16093 (balance-windows-area, window-state-put-2)
16094 (display-buffer-even-window-sizes, display-buffer-set-height)
16095 (display-buffer-set-width, set-window-text-height)
16096 (fit-window-to-buffer): Rename all "resize-window" prefixed
16097 calls to use the "window-resize" prefix convention.
16098 (display-buffer-alist): Fix symbol for label specifier.
16099 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16100 corresponding specifier.
16101 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 16102
b6458526
VB
161032011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16104
16105 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16106 convention.
16107 (ses-call-printer): Does not pass an empty string to formatter when the
16108 cell is empty to keep from barking printer Calc math-format-value.
16109
d31fd9ac
RS
161102011-06-27 Richard Stallman <rms@gnu.org>
16111
43d5bf84
RS
16112 * battery.el (battery-mode-line-limit): New variable.
16113 (battery-update): Handle it.
16114
d31fd9ac
RS
16115 * mail/rmailmm.el (rmail-mime-process-multipart):
16116 Handle truncated messages.
16117
819a6054
GM
161182011-06-27 Glenn Morris <rgm@gnu.org>
16119
16120 * progmodes/flymake.el (flymake-err-line-patterns):
16121 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16122
cedc73f2
VB
161232011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16124
819a6054 16125 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
16126 (ses--clean-!, ses--clean-_): New functions.
16127 (ses-range): Add configurability of readout order, and conversion
16128 to Calc vector.
16129
5e5d49b6
VB
16130 * ses.el (ses-repair-cell-reference-all): New function.
16131 (ses-cell-symbol): Set macro as safe, so that it can be used in
16132 formulas.
16133
56e6cc31 16134 * ses.el: Update cycle detection algorithm.
90ca8b49 16135 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 16136 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
16137 (ses-set-localvars): New function.
16138 (ses-make-cell): Add property-list as a cell element.
16139 (ses-cell-property-get-fun, ses-cell-property-get)
16140 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
16141 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16142 New functions.
90ca8b49
VB
16143 (ses-cell-property-set, ses-cell-property-pop)
16144 (ses-cell-property-get-handle): New macro.
16145 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16146 New aliases, used for code readability.
16147 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16148 cycle detection.
16149 (ses-self-reference-early-detection): New defcustom.
fac916bf 16150 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
16151 (ses-mode): Use ses-set-localvars.
16152 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16153 before lauching the update processing.
16154 (ses-initialize-Dijkstra-attempt): New function.
16155 (ses-recalculate-cell): Update for cycle detection based on
16156 Dijkstra algorithm.
16157
2bb63e81
VB
16158 * ses.el: Fix commenting and indenting convention.
16159
c9d29fb8
SM
161602011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16161
16162 * bs.el (bs-cycle-next): Complete last change.
16163
d8e4b68b
JB
161642011-06-27 Drew Adams <drew.adams@oracle.com>
16165
16166 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16167
40098786
LMI
161682011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16169
c9d29fb8
SM
16170 * net/network-stream.el (network-stream-open-starttls):
16171 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
16172 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16173
40098786
LMI
16174 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16175 to binary to possibly avoid line encoding issues on Windows (among
16176 other things).
16177
468d09d4
LMI
161782011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16179
16180 * net/network-stream.el (open-network-stream): Return an :error
16181 saying what the problem was, if possible.
16182
16183 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16184 server.
16185
16186 * net/network-stream.el (network-stream-open-starttls): If we
16187 wanted to use STARTTLS, and the server offered it, but we weren't
16188 able to because we had no STARTTLS support, then close the connection.
16189 (open-network-stream): Return an :error element, if present.
16190
16f07dd7
CY
161912011-06-26 Chong Yidong <cyd@stupidchicken.com>
16192
88821ca0
CY
16193 * hl-line.el (hl-line-sticky-flag): Doc fix.
16194 (global-hl-line-sticky-flag): New option (Bug#8323).
16195 (global-hl-line-highlight): Obey it.
16196
16f07dd7
CY
16197 * vc/vc.el (vc-revert-show-diff): Default to t.
16198
6b5ccddf
KM
161992011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16200
c9d29fb8
SM
16201 * allout-widgets.el (allout-widgets-post-command-business):
16202 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
16203 undecorated when an isearch is continued past, and isearch
16204 automatically collapses them. This leads to "widget leaks", where
16205 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
16206 hidden widgets can slow down cursor travel, substantially.
16207 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
16208 so we're doing without this nicety.
16209
16210 (allout-widgets-tally-string): Don't try to do a hash-table-count
16211 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16212 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16213 *Messages* when allout-widgets-maintain-tally is t.
16214
355f2e07
MR
162152011-06-26 Martin Rudalics <rudalics@gmx.at>
16216
16217 * window.el (display-buffer-normalize-argument): Rename to
16218 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
16219 LABEL argument. Respect special-display-function when popping up
16220 a new frame. Fix code searching for a window showing the buffer
16221 on another frame.
c9d29fb8
SM
16222 (display-buffer-normalize-specifiers):
16223 Call display-buffer-normalize-arguments.
355f2e07
MR
16224 (display-buffer-in-window): Don't undedicate the window if its
16225 buffer remains the same.
16226 Reported by Drew Adams <drew.adams@oracle.com>.
16227 (display-buffer-alist): Add choice for same-window macro
16228 specfier.
16229 (display-buffer): Mention special meaning of LABEL argument in
16230 doc-string. Fix quoting. Don't pop up a new frame even as
16231 fallback.
16232
7ca8fc42
JB
162332011-06-26 Juanma Barranquero <lekktu@gmail.com>
16234
16235 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16236 avoid deleting the current window in some cases (bug#8911).
16237
bc312254
AS
162382011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16239
16240 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16241 (Bug#8934)
16242
2db18f3f
LMI
162432011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16244
c9d29fb8
SM
16245 * net/network-stream.el (network-stream-open-starttls):
16246 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
16247 (network-stream-open-tls): Ditto.
16248
6302e0d3
LL
162492011-06-26 Leo Liu <sdl.web@gmail.com>
16250
16251 * register.el (registerv): New struct.
16252 (registerv-make): New function.
c9d29fb8
SM
16253 (jump-to-register, describe-register-1, insert-register):
16254 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
16255 struct. (Bug#8415)
16256
5fdd4046
CY
162572011-06-26 Chong Yidong <cyd@stupidchicken.com>
16258
2afef60a
CY
16259 * vc/vc.el (vc-revert-show-diff): New defcustom.
16260 (vc-diff-internal): New arg specifying diff buffer.
16261 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16262 reuse an existing *vc-diff* buffer (Bug#8927).
16263
5fdd4046
CY
16264 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16265
e93db24a
GM
162662011-06-26 Glenn Morris <rgm@gnu.org>
16267
16268 * progmodes/f90.el (f90-critical-indent): New option.
16269 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16270 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16271 (f90-mode): Doc fix.
16272 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16273 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16274 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16275 (f90-match-end): Handle block, critical.
16276
eefff499
GM
162772011-06-25 Glenn Morris <rgm@gnu.org>
16278
f6ba4cc9
GM
16279 * calendar/diary-lib.el (diary-included-files): Doc fix.
16280 (diary-include-files): New function, extracted from
16281 diary-include-other-diary-files and diary-mark-included-diary-files.
16282 (diary-include-other-diary-files, diary-mark-included-diary-files):
16283 Just call diary-include-files.
16284 (diary-mark-entries): Reset diary-included-files on first call.
16285
16712304
GM
16286 * calendar/diary-lib.el (diary-mark-entries)
16287 (diary-mark-included-diary-files):
16288 Visit included diary-files in temp buffers.
16289
5d8e0d43
GM
16290 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16291 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16292 (f90-start-block-re, f90-imenu-generic-expression)
16293 (f90-looking-at-program-block-start, f90-no-block-limit):
16294 Add support for submodules.
16295
ccf7a5d5
GM
16296 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16297 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 16298
11fdef7d 162992011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
16300
16301 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16302 buffer-file-type before setting its value, to avoid disastrous
eefff499 16303 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 16304
74f53697
JB
163052011-06-25 Juanma Barranquero <lekktu@gmail.com>
16306
16307 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16308
16309 * ses.el (ses-unload-function):
16310 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16311
16312 * proced.el (proced-unload-function):
16313 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16314
18a4ce5e
AR
163152011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16316
16317 * server.el (server-create-window-system-frame): Add parameters arg.
16318 (server-process-filter): Doc fix. Handle frame-parameters.
16319
519d22cc
JB
163202011-06-25 Juanma Barranquero <lekktu@gmail.com>
16321
16322 Fix bug#8730, bug#8781.
16323
16324 * loadhist.el (unload--set-major-mode): New function.
16325 (unload-feature): Use it.
16326
16327 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16328 (python-unload-function): New function.
16329
c206f5b0
SM
163302011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16331
16332 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16333
f9ad64f3
GS
163342011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16335
16336 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16337 the candidates list.
16338
7d0da90e
JB
163392011-06-24 Juanma Barranquero <lekktu@gmail.com>
16340
16341 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16342
14b4e83d
RS
163432011-06-23 Richard Stallman <rms@gnu.org>
16344
16345 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16346 (rmail-variables): Set next-error-move-function.
16347 (rmail-what-message): Take argument POS.
16348 (rmail-next-error-move): New function.
16349
273d2baf
SM
163502011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16351
16352 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16353 messages for adjacent non-terminals.
16354
56c2cc9a
RS
163552011-06-23 Richard Stallman <rms@gnu.org>
16356
16357 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 16358 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
16359 (rmail-start-mail): Don't specify use of rmail-mail-return;
16360 that's done by mail-bury now.
16361 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 16362
d59eb518
MA
163632011-06-23 Michael Albinus <michael.albinus@gmx.de>
16364
16365 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16366 SIZE is a number.
16367
02cfc6d6
MR
163682011-06-23 Martin Rudalics <rudalics@gmx.at>
16369
16370 * window.el (get-lru-window, get-mru-window)
16371 (get-largest-window): Never return a minibuffer window.
16372 (display-buffer-pop-up-window): Fix a bug that could lead to
16373 reusing the minibuffer window.
16374 (display-buffer): Pass original specifier argument to
16375 display-buffer-function instead of the normalized one.
16376 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16377
4e323265
LL
163782011-06-22 Leo Liu <sdl.web@gmail.com>
16379
16380 * minibuffer.el (completing-read-function)
1f9f395d 16381 (completing-read-default): Move from minibuf.c.
4e323265 16382
7a70468f
RS
163832011-06-22 Richard Stallman <rms@gnu.org>
16384
50718fc2
RS
16385 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16386 to Rmail even if not started by a special Rmail command.
16387
7a70468f
RS
16388 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16389 Copy the buffer currently showing just one message.
16390
297dde5a
RW
163912011-06-22 Roland Winkler <winkler@gnu.org>
16392
16393 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16394 (bibtex-clean-entry): First delete the old key so that a
16395 customized algorithm for generating the new key does not get
16396 confused by the old key.
16397 (bibtex-url): Obey regexp of first step.
16398 (bibtex-search-entries): Do not use add-to-list with local
16399 list-var.
16400
97bb1093
LMI
164012011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16402
16403 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16404 stored a user name, then query for the password first, instead of
16405 waiting for SMTP to give an error message and the trying again.
16406
1c0f1a19
JD
164072011-06-22 Lawrence Mitchell <wence@gmx.li>
16408
16409 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16410 BUFFER in call-process.
16411
396f7c9d
LMI
164122011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16413
16414 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16415 QUIT twice.
ddb7ffee
LMI
16416 (smtpmail-try-auth-methods): Require user name and password from
16417 auth-source.
396f7c9d 16418
8998d1b3
MR
164192011-06-22 Martin Rudalics <rudalics@gmx.at>
16420
16421 * window.el (display-buffer-default-specifiers)
16422 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16423 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 16424 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
16425
16426 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16427 (special-display-frame-alist, special-display-popup-frame):
16428 Remove duplicate declarations. These are now in window.el.
16429
4ea31e07
LMI
164302011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16431
c9d29fb8
SM
16432 * mail/smtpmail.el (smtpmail-via-smtp):
16433 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
16434 server supports it. SMTP servers that support STARTTLS commonly
16435 require it.
16436
16437 * net/network-stream.el (network-stream-open-starttls): Support
16438 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 16439 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 16440
95f41d9a
LMI
16441 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16442 upgrades with `open-network-stream', and rely solely on
16443 auth-source for all credentials. Big changes throughout the file,
16444 but in particular:
c9d29fb8
SM
16445 (smtpmail-auth-credentials): Remove.
16446 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
16447 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16448 MAIL FROM, too.
95f41d9a 16449
c9d29fb8
SM
16450 * net/network-stream.el (network-stream-open-starttls):
16451 Provide support for client certificates both for external and built-in
4ea31e07
LMI
16452 STARTTLS.
16453 (auth-source): Require.
16454 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
16455 (network-stream-certificate): Change cert-cert to cert and
16456 cert-key to key.
4ea31e07 16457
065ec2c7
MA
164582011-06-21 Michael Albinus <michael.albinus@gmx.de>
16459
16460 * net/tramp-cache.el (top): Don't load the persistency file when
16461 "emacs -Q" has been called.
16462
cd93b359
DR
164632011-06-21 Tim Harper <timcharper@gmail.com>
16464
d8e4b68b
JB
16465 * term/ns-win.el (ns-initialize-window-system):
16466 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
16467 resource to NO as it is not yet supported by the NS port.
16468
ae9c0411
JB
164692011-06-21 Juanma Barranquero <lekktu@gmail.com>
16470
16471 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16472 (list-dynamic-libraries): ...not here.
16473
7f3f739f
LL
164742011-06-21 Leo Liu <sdl.web@gmail.com>
16475
16476 * subr.el (sha1): Implement sha1 using secure-hash.
16477
327c8fb1
MR
164782011-06-21 Martin Rudalics <rudalics@gmx.at>
16479
16480 * window.el (display-buffer-alist): In default value do not
16481 enforce searching a window on any but the selected frame.
16482 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16483 (display-buffer-select-window): Remove function.
16484 (display-buffer-in-window): When a window on another frame gets
16485 reused, do not select it any more but just raise its frame if
16486 necessary (Bug#8851) and (Bug#8856).
16487 (display-buffer-normalize-options): Handle pop-up-frames related
16488 options more faithfully.
16489 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16490 window if it is on another frame.
c9d29fb8
SM
16491 (display-buffer-alist, display-buffer-default-specifiers):
16492 Don't make new frame unsplittable by default.
9e9de014
MR
16493 (display-buffer-normalize-argument): Fix doc-string typo and use
16494 'same-frame-other-window instead of 'other-window when associating
16495 with display-buffer-macro-specifiers.
327c8fb1 16496
7cf3f556
VB
164972011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16498
16499 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16500 New functions.
16501 (5x5-mode-map, 5x5-mode-menu): Bind them.
16502 (5x5-draw-grid): Tweak the solver's rendering.
16503
60a406cf
SM
165042011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16505
16506 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16507 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16508
d8e4b68b 165092011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
16510
16511 * menu-bar.el: Use function variable instead of switch-to-buffer.
16512 (menu-bar-select-buffer-function): New variable.
60a406cf 16513 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 16514
478d6f95
SM
165152011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16516
16517 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16518 variable's status.
16519
ca530739
JD
165202011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16521
16522 * x-dnd.el (x-dnd-version-from-flags)
16523 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16524 and long as number (Bug#8899).
16525 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16526
bcd70d97
SM
165272011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16528
60a406cf 16529 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
16530 (completion-try-completion, completion-all-completions): Compute the
16531 metadata argument if it's missing; make it optional (bug#8795).
16532
60a406cf 16533 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
16534 (widget-complete): Use new :completion-function property.
16535 (widget-completions-at-point): New function.
16536 (default): Use :completion-function instead of :complete.
60a406cf
SM
16537 (widget-default-completions): Rename from widget-default-complete;
16538 Rewrite.
bcd70d97
SM
16539 (widget-string-complete, widget-file-complete, widget-color-complete):
16540 Remove functions.
16541 (file, symbol, function, variable, coding-system, color):
16542 * international/mule-cmds.el (default-input-method, charset)
16543 (language-info-custom-alist):
16544 * cus-edit.el (face): Use new property :completions.
16545
16546 * progmodes/pascal.el (pascal-completions-at-point): New function.
16547 (pascal-mode): Use it.
16548 (pascal-mode-map): Use completion-at-point.
16549 (pascal-toggle-completions): Make obsolete.
16550 (pascal-complete-word, pascal-show-completions):
16551 * progmodes/octave-mod.el (octave-complete-symbol):
16552 Redefine as obsolete alias.
16553 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16554 Signal absence of completion info for old Octave,
16555 (inferior-octave-complete): Redefine as obsolete alias.
16556 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16557 (meta-completions-at-point): Rename from meta-complete-symbol and
16558 adapt it for use on completion-at-point-functions.
16559 (meta-common-mode): Use it.
16560 (meta-looking-at-backward, meta-match-buffer): Remove.
16561 (meta-complete-symbol): Redefine as obsolete alias.
16562 (meta-common-mode-map): Use completion-at-point.
16563 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16564 (makefile-mode-map): Use completion-at-point.
16565 (makefile-completions-at-point): Rename from makefile-complete and
16566 adapt it for use on completion-at-point-functions.
16567 (makefile-mode): Use it.
16568 (makefile-complete): Redefine as obsolete alias.
16569
aebf69c8
DD
165702011-06-20 Deniz Dogan <deniz@dogan.se>
16571
16572 * net/rcirc.el: Delete trailing whitespaces once and for all.
16573
bfbbb27d
DC
165742011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16575
16576 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16577
d264a46b
CY
165782011-06-19 Chong Yidong <cyd@stupidchicken.com>
16579
4ca009e5
CY
16580 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16581
d264a46b
CY
16582 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16583
fbf5b3ce
MR
165842011-06-19 Martin Rudalics <rudalics@gmx.at>
16585
16586 * window.el (display-buffer-other-window-means-other-frame):
16587 Call display-buffer-normalize-alist.
16588 (display-buffer-normalize-specifiers-1): Rename to
16589 display-buffer-normalize-argument. New argument other-frame.
16590 Rewrite.
16591 (display-buffer-normalize-specifiers-2): Rename to
16592 display-buffer-normalize-options.
16593 (display-buffer-normalize-alist-1): New function.
16594 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
16595 display-buffer-normalize-alist.
16596 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
16597 (display-buffer-normalize-options-inhibit): New variable.
16598 (display-buffer-normalize-specifiers): Rewrite calling
16599 display-buffer-normalize-alist,
16600 display-buffer-normalize-argument, and
16601 display-buffer-normalize-options. Don't call the latter if
16602 display-buffer-normalize-options-inhibit is non-nil.
16603 (frame-auto-delete): New option.
16604 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
16605 (window-list-no-nils, window-state-ignored-parameters)
16606 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
16607 (window-state-put-1, window-state-put-2, window-state-put):
16608 New functions.
9a028c23
MR
16609 (display-buffer-normalize-options): Move special-display-p group
16610 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 16611
6d10d800
CY
166122011-06-18 Chong Yidong <cyd@stupidchicken.com>
16613
6420d28b
CY
16614 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16615 groups (Bug#8776).
16616 (rx-submatch-n): New function.
16617 (rx): Document it.
16618
ddb8b596
CY
16619 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16620 (Bug#8768).
16621
16622 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16623
77080289
CY
16624 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16625
61dfb316
CY
16626 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16627 anytime existing face settings are present (Bug#8889).
16628
6d10d800
CY
16629 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16630 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16631 Remove unused argument.
16632
be3fb2b8
MR
166332011-06-18 Martin Rudalics <rudalics@gmx.at>
16634
bcd70d97
SM
16635 * window.el (display-buffer-default-specifiers):
16636 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
16637 pop-up-window-min-width, and another reuse-window specifier
16638 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
16639 (display-buffer-normalize-specifiers-2):
16640 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
16641 pop-up-windows is unset. Add a reuse-window specifier for the
16642 case popping up a new window fails.
16643 (special-display-popup-frame): Remove double quoting.
28dec25a 16644 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 16645
1c6d8c76
SM
166462011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16647
16648 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16649 according to comint-completion-addsuffix.
16650
16651 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16652 (pcomplete-suffix-list): Mark as obsolete.
16653 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16654 pcomplete-seen in the closure.
16655 (pcomplete-comint-setup): Setup completion-at-point as well.
16656 (pcomplete--entries): New function.
16657 (pcomplete--env-regexp): New var.
16658 (pcomplete-entries): Rewrite to work with partial-completion and
16659 without relying on pcomplete-suffix-list.
16660 (pcomplete-pare-list): Remove, unused.
16661
25aef8b8
MR
166622011-06-17 Martin Rudalics <rudalics@gmx.at>
16663
16664 * window.el (display-buffer-alist): Set pop-up-window-min-height
16665 and pop-up-window-min-width in default value. Reported by
16666 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16667 other-window-means-other-frame.
16668 (display-buffer-macro-specifiers): Comment out entry for
16669 other-window specifier.
16670 (display-buffer-other-window-means-other-frame): New function.
16671 (display-buffer-normalize-specifiers-1): New arguments
16672 buffer-name and label. Treat other-window case specially.
16673 (display-buffer-normalize-specifiers-2): Treat other-window case
16674 specially.
16675 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
16676 (display-buffer-normalize-specifiers):
16677 Call display-buffer-normalize-specifiers-3.
25aef8b8 16678
dbad4f69
MR
166792011-06-17 Martin Rudalics <rudalics@gmx.at>
16680
16681 * window.el (same-window-p): Fix two typos introduced when
16682 adding with-no-warnings.
d1067961
MR
16683 (display-buffer-normalize-specifiers-1): Don't check
16684 pop-up-frames for 'unset initialization.
16685 (display-buffer-normalize-specifiers-2): Major rewrite using
16686 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16687 (pop-up-frames, display-buffer-reuse-frames)
16688 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16689 Suggested by David Engster <deng@randomsample.de>.
16690 (even-window-heights): Initialize to 'unset.
16691 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
16692 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16693 other window case.
dbad4f69 16694
9b9c9e3a
MR
166952011-06-16 Martin Rudalics <rudalics@gmx.at>
16696
bcd70d97
SM
16697 * window.el (display-buffer-normalize-specifiers-1):
16698 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 16699 second argument of display-buffer (Bug#8865).
981d5c09
MR
16700 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16701 (switch-to-buffer-other-window-same-frame)
16702 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16703 Adams (Bug#8875).
9c2755e9
MR
16704 (display-buffer): Don't check noninteractive when calling
16705 display-buffer-pop-up-frame.
16706 (display-buffer-pop-up-frame): Never pop up a frame in
16707 noninteractive mode (Bug#8857).
67222e1d
MR
16708 (enlarge-window, shrink-window): Don't report an error when the
16709 window can't be resized as requested (Bug#8862).
9b9c9e3a 16710
2b75be67
SM
167112011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16712
9ffdd3ba
SM
16713 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16714
cb581a67
SM
16715 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16716
2b75be67
SM
16717 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16718
8c0e3589
AM
167192011-06-15 Alan Mackenzie <acm@muc.de>
16720
cb581a67
SM
16721 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16722 for declarators, disable knr checking to speed up for normal files.
16723 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 16724
b96e6cde
LMI
167252011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16726
4bba86e6
LMI
16727 * net/network-stream.el (open-network-stream): Add the keyword
16728 :always-query-capabilities for the case where you want to force a
16729 `plain' network connection, but the protocol still requires the
16730 capabilitiy command (i.e., SMTP and EHLO).
16731
2b75be67 16732 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
16733 consistency with other `-live-p' functions.
16734
efdcdbf8
SM
167352011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16736
16737 * window.el (same-window-buffer-names, same-window-regexps)
16738 (special-display-frame-alist, special-display-popup-frame)
16739 (special-display-function, special-display-buffer-names)
16740 (special-display-regexps, pop-up-frame-alist)
16741 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16742 (pop-up-windows, split-window-preferred-function)
16743 (split-height-threshold, split-width-threshold, even-window-heights)
16744 (display-buffer-mark-dedicated): Don't encourage the use of
16745 display-buffer-alist from Elisp code.
16746
c5cde042
DN
167472011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16748
16749 * progmodes/python.el (python-mode): Derive from prog-mode.
16750 * progmodes/ps-mode.el (ps-mode):
16751 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 16752 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
16753 * progmodes/ld-script.el (ld-script-mode): Likewise.
16754
baa1c9ab
MR
167552011-06-15 Martin Rudalics <rudalics@gmx.at>
16756
16757 * window.el (display-buffer-alist): Trim default value to avoid
16758 popping up a new frame (Bug#8857) or reusing an arbitrary window
16759 on another frame.
16760 (display-buffer): Do not fall back on popping up a new frame in
16761 batch mode (Bug#8857).
16762
c5dd5a51
CY
167632011-06-14 Chong Yidong <cyd@stupidchicken.com>
16764
16765 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16766 (custom-theme-summary): New function.
16767 (customize-themes): Use it.
16768
d647b7c4
GM
167692011-06-13 Glenn Morris <rgm@gnu.org>
16770
16771 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16772
9481c002
MR
167732011-06-13 Martin Rudalics <rudalics@gmx.at>
16774
357f93d2
MR
16775 * help.el (help-window): Remove variable.
16776 (help-window-point-marker, temp-buffer-max-height)
16777 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16778 (help-print-return-message): Don't set help-window.
16779 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16780 (help-window-setup-finish): Remove.
16781 (help-window-display-message, help-window-setup)
16782 (with-help-window): Major rewrite based on new
16783 display-buffer-window variable.
16784
16785 * help-mode.el (help-mode-finish): Remove help-window related
16786 code.
16787
16788 * view.el (view-exits-all-viewing-windows): Remove reference to
16789 view-return-to-alist in doc-string.
16790 (view-return-to-alist): Make obsolete.
16791 (view-buffer): Call pop-to-buffer-same-window and remove
16792 undo-window code.
16793 (view-buffer-other-window): Call pop-to-buffer-other-window and
16794 simplify code. Ignore second argument.
16795 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16796 simplify code. Ignore second argument.
16797 (view-return-to-alist-update): Make obsolete.
16798 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16799 Rewrite using quit-restore window parameters.
2b75be67
SM
16800 (view-mode-exit): Rename second argument to EXIT-ONLY.
16801 Rewrite using quit-restore-window.
357f93d2
MR
16802 (View-exit, View-exit-and-edit, View-leave, View-quit)
16803 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16804 appropriate arguments.
16805 (view-end-message): Use quit-restore window parameter.
16806
9481c002
MR
16807 * window.el (display-buffer-function): Rewrite doc-string.
16808 (display-buffer-window, display-buffer-alist): New variables.
16809 (display-buffer-split-specifiers)
16810 (display-buffer-side-specifiers)
16811 (display-buffer-macro-specifiers): New constants.
16812 (display-buffer-even-window-sizes, display-buffer-set-height)
16813 (display-buffer-set-width, display-buffer-select-window)
16814 (display-buffer-in-window, display-buffer-reuse-window)
16815 (display-buffer-split-window-1, display-buffer-split-window)
16816 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16817 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16818 (display-buffer-in-side-window, normalize-buffer-to-display)
16819 (display-buffer-normalize-specifiers-1)
16820 (display-buffer-normalize-specifiers-2)
2b75be67
SM
16821 (display-buffer-normalize-specifiers, display-buffer-frame):
16822 New functions.
9481c002
MR
16823 (display-buffer): Major rewrite.
16824 (display-buffer-other-window, display-buffer-other-frame)
16825 (pop-to-buffer, switch-to-buffer-other-window)
16826 (switch-to-buffer-other-frame): Rewrite.
16827 (display-buffer-same-window, display-buffer-same-frame)
16828 (display-buffer-same-frame-other-window)
16829 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16830 (pop-to-buffer-other-window)
16831 (pop-to-buffer-same-frame-other-window)
16832 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16833 (switch-to-buffer-other-window-same-frame): New functions.
16834 (same-window-p, special-display-p): Rewrite disabling warnings.
16835 Make obsolete.
16836 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16837 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16838 Make obsolete
16839 (same-window-buffer-names, same-window-regexps)
16840 (special-display-frame-alist, special-display-popup-frame)
16841 (special-display-function, special-display-buffer-names)
16842 (special-display-regexps, pop-up-frame-alist)
16843 (pop-up-frame-function, split-window-preferred-function)
16844 (split-height-threshold, split-width-threshold)
16845 (even-window-heights): Make obsolete.
16846
9db51aca
GM
168472011-06-12 Glenn Morris <rgm@gnu.org>
16848
16849 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 16850 Misc simplifications.
9db51aca 16851
39cffb44
MR
168522011-06-12 Martin Rudalics <rudalics@gmx.at>
16853
16854 * window.el (window-safely-shrinkable-p): Restore function which
16855 was inadvertently removed in change from 2011-06-11. Declare as
16856 obsolete.
16857
2b75be67
SM
16858 * calendar/calendar.el (calendar-generate-window):
16859 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
16860 window-safely-shrinkable-p.
16861
a8955be7
GM
168622011-06-12 Glenn Morris <rgm@gnu.org>
16863
16864 * progmodes/fortran.el (fortran-mode-syntax-table):
16865 * progmodes/f90.el (f90-mode-syntax-table):
16866 Set % to punctuation. (Bug#8820)
16867 (f90-find-tag-default): Remove, no longer needed.
16868
f0d4059d
DC
168692011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16870
16871 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16872
1100a63c
CY
168732011-06-11 Chong Yidong <cyd@stupidchicken.com>
16874
16875 * image.el (image-animated-p): Return animation delay in seconds.
16876 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16877 (image-animate-timeout): Remove DELAY argument. Don't assume
16878 every subimage has the same delay; get it from image-animated-p.
16879 (image-animate): Caller changed.
16880
def722bf
MA
168812011-06-11 Michael Albinus <michael.albinus@gmx.de>
16882
16883 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16884 to ignored backtrace functions.
16885
0a2bb1a9
GM
168862011-06-11 Glenn Morris <rgm@gnu.org>
16887
16888 * calendar/appt.el (appt-disp-window-function): Doc fix.
16889 (appt-check): Handle overlapping appointments. (Bug#8337)
16890
6198ccd0
MR
168912011-06-11 Martin Rudalics <rudalics@gmx.at>
16892
16893 * window.el (window-tree-1, window-tree): New functions, moving
16894 the latter to window.el.
16895 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16896 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16897 (bw-refresh-edges): Remove.
16898 (balance-windows-1, balance-windows-2): New functions.
16899 (balance-windows): Rewrite in terms of window tree functions,
16900 balance-windows-1 and balance-windows-2.
16901 (bw-adjust-window): Remove.
16902 (balance-windows-area-adjust): New function with functionality of
16903 bw-adjust-window but using resize-window.
2b75be67
SM
16904 (set-window-text-height): Rewrite doc-string.
16905 Use normalize-live-window and resize-window.
16906 (enlarge-window-horizontally, shrink-window-horizontally):
16907 Rename argument to DELTA.
6198ccd0
MR
16908 (window-buffer-height): New function.
16909 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16910 Rewrite using new window resize routines.
2b75be67
SM
16911 (kill-buffer-and-window, mouse-autoselect-window-select):
16912 Use ignore-errors instead of condition-case.
6198ccd0
MR
16913 (quit-window): Call delete-frame instead of delete-windows-on
16914 for the only buffer on frame.
16915
9397e56f
MR
169162011-06-10 Martin Rudalics <rudalics@gmx.at>
16917
16918 * loadup.el (top-level): Load window before files for the sake
16919 of replace-buffer-in-windows.
16920
16921 * files.el (read-buffer-to-switch)
16922 (switch-to-buffer-other-window)
2b75be67
SM
16923 (switch-to-buffer-other-frame, display-buffer-other-frame):
16924 Move to window.el.
9397e56f
MR
16925
16926 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16927 (previous-buffer): Move to window.el.
16928
16929 * bindings.el (unbury-buffer): Move to window.el.
16930
16931 * window.el (delete-other-windows-vertically): Move after
16932 definition of delete-other-windows.
16933 (other-window, delete-windows-on, replace-buffer-in-windows):
16934 Move here from window.c.
16935 (record-window-buffer, unrecord-window-buffer)
16936 (set-window-buffer-start-and-point, switch-to-prev-buffer)
16937 (switch-to-next-buffer): New functions.
16938 (get-next-valid-buffer, last-buffer, next-buffer): Move here
16939 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
16940 (previous-buffer): Move here from simple.el.
16941 Call switch-to-prev-buffer.
9397e56f
MR
16942 (bury-buffer): Move here from buffer.c. Switch to previous
16943 buffer when window cannot be deleted.
16944 (unbury-buffer): Move here from bindings.el.
16945 (ctl-x-map): Move binding for other-window from window.c to
16946 here.
16947 (read-buffer-to-switch, switch-to-buffer-other-window)
16948 (switch-to-buffer-other-frame): Move here from files.el.
16949 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
16950 (switch-to-buffer): Move here from buffer.c.
16951 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 16952
562dd5e9
MR
169532011-06-10 Martin Rudalics <rudalics@gmx.at>
16954
16955 * window.el (window-min-height, window-min-width): Move here
16956 from window.c. Add defcustoms and rewrite doc-strings.
16957 (resize-mini-window, resize-window): New functions.
16958 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16959 Move here from window.c.
16960 (maximize-window, minimize-window): New functions.
16961 (delete-window, delete-other-windows, split-window): Move here
16962 from window.c.
16963 (window-split-min-size): New function.
16964 (split-window-keep-point): Mention split-window-above-each-other
16965 instead of split-window-vertically.
2b75be67 16966 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
16967 Rename split-window-vertically to split-window-above-each-other
16968 and provide defalias for old definition.
16969 (split-window-side-by-side, split-window-horizontally):
16970 Rename split-window-horizontally to split-window-side-by-side
16971 and provide defalias for the old definition.
562dd5e9
MR
16972 (ctl-x-map): Move bindings for delete-window,
16973 delete-other-windows and enlarge-window here from window.c.
16974 Replace bindings for split-window-vertically and
16975 split-window-horizontally by bindings for
16976 split-window-above-each-other and split-window-side-by-side.
16977
16978 * cus-start.el (all): Remove entries for window-min-height and
16979 window-min-width. Add entries for window-splits and
16980 window-nest.
16981
f0da764a
GM
169822011-06-09 Glenn Morris <rgm@gnu.org>
16983
80675c21
GM
16984 * calendar/appt.el (appt-mode-line): New function.
16985 (appt-check, appt-disp-window): Use it.
16986
f0da764a
GM
16987 * files.el (hack-one-local-variable-eval-safep):
16988 Allow minor-modes with explicit +/-1 arguments.
16989
59f623b7
TZ
169902011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16991
16992 * term/xterm.el (xterm): Add defgroup.
16993 (xterm-extra-capabilities): Add defcustom to supply known xterm
16994 capabilities, skip querying them, or query them (default).
16995 (terminal-init-xterm): Use it.
16996 (terminal-init-xterm-modify-other-keys): New function to set up
16997 modifyOtherKeys support to simplify `terminal-init-xterm'.
16998
9aab8e0d
MR
169992011-06-09 Martin Rudalics <rudalics@gmx.at>
17000
17001 * window.el (resize-window-reset, resize-window-reset-1)
17002 (resize-subwindows-skip-p, resize-subwindows-normal)
17003 (resize-subwindows, resize-other-windows, resize-this-window)
17004 (resize-root-window, resize-root-window-vertically)
17005 (window-deletable-p, window-or-subwindow-p)
17006 (frame-root-window-p): New functions.
17007
e8b08aee
GM
170082011-06-09 Glenn Morris <rgm@gnu.org>
17009
17010 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17011 (ange-ftp-get-files): Use it.
17012
254c37a5
AK
170132011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17014
17015 * mail/sendmail.el (mail-recover-1, mail-recover):
17016 * files.el (recover-file, recover-session):
17017 Handle dired-listing-switches not being just a single short option.
17018
35d7dbd3
GM
170192011-06-09 Glenn Morris <rgm@gnu.org>
17020
17021 * calendar/appt.el (appt-display-message, appt-disp-window):
17022 Handle lists of appointments.
17023
387522b2
MR
170242011-06-08 Martin Rudalics <rudalics@gmx.at>
17025
2b75be67
SM
17026 * window.el (one-window-p): Move down in code.
17027 Rewrite doc-string.
17028 (window-current-scroll-bars): Rewrite doc-string.
17029 Normalize live window argument.
387522b2
MR
17030 (walk-windows, get-window-with-predicate, count-windows):
17031 Rewrite doc-string. Use window-list-1.
17032 (window-in-direction-2, window-in-direction, get-mru-window):
17033 New functions.
17034
d8e4b68b 170352011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
17036
17037 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17038 Doc fix (Bug#8713).
17039
170402011-06-08 Chong Yidong <cyd@stupidchicken.com>
17041
17042 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17043
170442011-06-08 Juanma Barranquero <lekktu@gmail.com>
17045
17046 * loadhist.el (unload-feature-special-hooks):
17047 Add `comint-output-filter-functions'.
17048
0de12c52
IK
170492011-06-08 Ivan Kanis <gnu@kanis.fr>
17050
17051 * calendar/appt.el (appt-check): Move some initializations into the let.
17052
f3d1777e
MR
170532011-06-08 Martin Rudalics <rudalics@gmx.at>
17054
17055 * window.el (window-height): Defalias to window-total-height.
17056 (window-width): Defalias to window-body-width.
17057
18af70d0
CY
170582011-06-07 Chong Yidong <cyd@stupidchicken.com>
17059
17060 * image-mode.el (image-toggle-animation): New command.
17061 (image-mode-map): Bind it to RET.
17062 (image-mode): Update message.
17063 (image-toggle-display-image): Avoid a spurious cache flush.
17064 (image-transform-rotation): Doc fix.
17065 (image-transform-properties): Return quickly in the normal case.
17066 (image-animate-loop): Rename from image-animate-max-time.
17067
2b75be67 17068 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
17069 (create-animated-image): Remove unnecessary function.
17070 (image-animate): Rename from image-animate-start. New arg.
2b75be67 17071 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
17072 (image-animate-timer): Use car-safe.
17073 (image-animate-timeout): Rename argument.
17074
190b47e6
MR
170752011-06-07 Martin Rudalics <rudalics@gmx.at>
17076
17077 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
17078 window.c. Rename first argument to ALL-FRAMES.
17079 Rephrase doc-strings.
17080 (get-buffer-window-list): Rewrite using window-list-1.
17081 Rephrase doc-string.
a1511caf
MR
17082 (window-safe-min-height, window-safe-min-width): New constants.
17083 (window-size-ignore, window-min-size, window-min-size-1)
17084 (window-sizable, window-sizable-p, window-size-fixed-1)
17085 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17086 (window-max-delta-1, window-max-delta, window-resizable)
17087 (window-resizable-p, window-total-height, window-total-width)
17088 (window-body-width): New functions.
17089 (window-full-height-p, window-full-width-p): Rewrite using
17090 window-total-size.
17091 (window-body-height): Rewrite using window-body-size.
190b47e6 17092
85cc1f11
MR
170932011-06-06 Martin Rudalics <rudalics@gmx.at>
17094
17095 * window.el (window-right, window-left, window-child)
17096 (window-child-count, window-last-child, window-any-p)
17097 (normalize-live-buffer, normalize-live-frame)
17098 (normalize-any-window, normalize-live-window)
17099 (window-iso-combination-p, window-iso-combined-p)
17100 (window-iso-combinations)
17101 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17102 (windows-with-parameter, window-with-parameter)
17103 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
17104 (window-atom-check, window-side-check, window-check):
17105 New functions.
85cc1f11
MR
17106 (ignore-window-parameters, window-sides, window-sides-vertical)
17107 (window-sides-slots): New variables.
17108 (window-size-fixed): Move down in code. Minor doc-string fix.
17109
e7156492
AS
171102011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17111
17112 * comint.el (comint-dynamic-complete-as-filename)
17113 (comint-dynamic-complete-filename): Correctly call
17114 completion-in-region.
17115
7e821d0d
DD
171162011-06-05 Deniz Dogan <deniz@dogan.se>
17117
17118 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17119 in last change.
17120
ac09b8a1
DD
171212011-06-05 Deniz Dogan <deniz@dogan.se>
17122
17123 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17124 (rcirc): Use it to prompt for encryption.
17125
34699b85
RW
171262011-06-05 Roland Winkler <winkler@gnu.org>
17127
17128 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17129 (bibtex-search-entries): New command bound to C-c C-a.
17130 (bibtex-display-entries): New function.
17131
004dedd3
RW
171322011-06-05 Roland Winkler <winkler@gnu.org>
17133
17134 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17135 (bibtex-insert-kill): After yanking insert newline if necessary.
17136 (bibtex-initialize): Call bibtex-string-files-init only once.
17137 (bibtex-mode): Do not call easy-menu-add.
17138 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17139 (bibtex-yank): Set arg properly if nil.
17140
022fe7ce
RW
171412011-06-05 Roland Winkler <winkler@gnu.org>
17142
2b75be67
SM
17143 * textmodes/bibtex.el (bibtex-search-entry-globally):
17144 New variable.
022fe7ce
RW
17145 (bibtex-search-entry): Use it.
17146
b7c3692a
RW
171472011-06-05 Roland Winkler <winkler@gnu.org>
17148
17149 * textmodes/bibtex.el (bibtex-entry-format): New option
17150 sort-fields.
17151 (bibtex-format-entry, bibtex-reformat): Honor this option.
17152 (bibtex-parse-entry): Return fields in proper order.
17153
8eda563d
JB
171542011-06-05 Juanma Barranquero <lekktu@gmail.com>
17155
17156 * doc-view.el (doc-view-remove-if): Move computation of result out
17157 of `dolist' to silence misleading lexical-binding warning.
17158
7dbe3dbc
CY
171592011-06-04 Chong Yidong <cyd@stupidchicken.com>
17160
17161 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17162 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17163
0c33dd17
MA
171642011-06-04 Michael Albinus <michael.albinus@gmx.de>
17165
17166 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17167 "SunOS 5.10".
17168
f8f91c2b
MA
171692011-06-04 Michael Albinus <michael.albinus@gmx.de>
17170
17171 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17172 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17173 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17174 (tramp-parse-putty):
17175 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17176 (tramp-completion-function-alist-ssh)
17177 (tramp-completion-function-alist-telnet)
17178 (tramp-completion-function-alist-su)
17179 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17180 cookie.
17181
17182 * net/tramp-ftp.el:
17183 * net/tramp-sh.el:
17184 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17185 load "tramp.el" `tramp-set-completion-function'.
17186
e17d9003
SM
171872011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17188
17189 * shell.el: Require and use pcomplete.
17190 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17191 (shell-completion-vars): Set pcomplete-default-completion-function.
17192
6c4cab03
DD
171932011-06-04 Deniz Dogan <deniz@dogan.se>
17194
17195 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17196 `memq' (Bug#8799).
17197
ea9fafe0
SM
171982011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17199
17200 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17201
b3e945d3
JB
172022011-06-02 Juanma Barranquero <lekktu@gmail.com>
17203
17204 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17205 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17206 * vc/log-view.el (log-view-beginning-of-defun):
17207 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17208 (smerge-refine-forward, smerge-refine-chopup-region):
17209 Silence warning for unused `dotimes' counter variables.
17210
7d520089
SM
172112011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17212
17213 * net/tramp.el (tramp-with-progress-reporter): Rename from
17214 with-progress-reporter. Use `declare'.
17215 * net/tramp-smb.el:
17216 * net/tramp-sh.el:
17217 * net/tramp-gvfs.el: Update all uses.
17218
a1c2400f
JB
172192011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17220
17221 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17222 buffer isn't killed before making it current.
17223
2403c841
SM
172242011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17225
17226 Silence various byte-compiler warnings.
17227 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17228 `access-type' and new obsolescence format.
17229 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17230 new format.
17231 (byte-compile-check-variable): New `access-type' argument.
17232 Only warn if the access-type is obsolete.
17233 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17234 (byte-compile-variable-set): Adjust callers.
17235 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17236 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17237 setting it as obsolete.
17238 * simple.el (minibuffer-completing-symbol):
17239 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17240 access as obsolete.
17241 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17242 obsolete yet.
17243 * international/quail.el (quail-mouse-choose-completion): Remove unused
17244 code referring to obsolete var.
17245 (quail-choose-completion-string): Remove.
17246 * server.el (server-clients-with, server-kill-buffer-query-function)
17247 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17248 * proced.el (proced-send-signal):
17249 * emacs-lisp/lisp.el (lisp-complete-symbol):
17250 Replace completion-annotate-function with completion-extra-properties.
17251
2462470b
SM
172522011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17253
fb5b2591
SM
17254 * simple.el (goto-line): Use read-number.
17255 (overriding-map-is-bound): Remove.
17256 (saved-overriding-map): Change default.
17257 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17258 Take the map as argument.
17259 (universal-argument, negative-argument, digit-argument): Use it.
17260 (restore-overriding-map): Adjust.
17261 (do-auto-fill): Use fill-forward-paragraph.
17262 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17263
fd6fa53f
SM
17264 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17265 (minibuffer-inactive-mode): New major mode.
17266 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17267 the *Messages* buffer" hack.
17268 (mouse-popup-menubar): Don't burp if the event is a normal key.
17269
2462470b
SM
17270 Miscellaneous tweaks.
17271 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17272 lexical scoping as in subr.el's dolist and dotimes.
17273 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17274 Silence compiler warning.
17275 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17276 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17277 * international/ccl.el (ccl-compile): Trivial simplification.
17278 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17279 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17280 `printflag' argument.
17281 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17282 Purecopy the whole obsolescence data.
17283
108bf785
LL
172842011-06-01 Leo Liu <sdl.web@gmail.com>
17285
17286 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17287 improve doc-string as suggested by Marco Pessotto
17288 <melmothx@gmail.com>.
17289 (rcirc-print): Fix last change.
17290
30a23501
SM
172912011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17292
17293 * minibuffer.el (complete-with-action): Return nil for the metadata and
17294 boundaries of non-functional tables.
17295 (completion-table-dynamic): Return nil for the metadata.
17296 (completion-table-with-terminator): Add default case, using
17297 complete-with-action.
17298 (completion--metadata): New function.
17299 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17300 to try and avoid pathological performance problems.
17301 (completion--embedded-envvar-table): Return `category' metadata.
17302
bcd54f83
LMI
173032011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17304
17305 * subr.el (process-alive-p): New tiny convenience function.
17306
e227544d
SM
173072011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17308
17309 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17310 content but also its previous major mode.
17311
e8296fdc
HE
173122011-05-31 Helmut Eller <eller.helmut@gmail.com>
17313
4d61f28d 17314 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
17315 *Backtrace* buffer when we exit with C-M-c.
17316
620c53a6
SM
173172011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17318
17319 * minibuffer.el: Add metadata method to completion tables.
17320 (completion-category-overrides): New defcustom.
17321 (completion-metadata, completion--field-metadata)
17322 (completion-metadata-get, completion--styles)
17323 (completion--cycle-threshold): New functions.
17324 (completion-try-completion, completion-all-completions):
17325 Add `metadata' argument to choose completion-styles.
17326 (completion--do-completion): Use metadata to choose cycling.
17327 (completion-all-sorted-completions): Use metadata for sorting.
17328 Remove :completion-cycle-penalty which is not needed any more.
17329 (completion--try-word-completion): Add `metadata' argument.
17330 (minibuffer-completion-help): Check metadata for annotation function
17331 and sorting.
17332 (completion-file-name-table): Return `category' metadata.
17333 (minibuffer-completing-file-name): Make obsolete.
17334 * simple.el (minibuffer-completing-symbol): Make obsolete.
17335 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17336 completion-try-completion.
17337
1257e755
SM
173382011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17339
17340 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17341
3767e706
LL
173422011-05-30 Leo Liu <sdl.web@gmail.com>
17343
17344 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
17345 (rcirc-print): Decode all incoming messages (bug#8744).
17346 (rcirc-decode-coding-system): Allow value nil for automatic coding
17347 system detection.
3767e706 17348
d1a5d56a
GM
173492011-06-01 Glenn Morris <rgm@gnu.org>
17350
17351 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17352
e8cbec34
CY
173532011-05-29 Chong Yidong <cyd@stupidchicken.com>
17354
17355 * image.el (image-animate-max-time): Allow nil and t values.
17356 Default to nil.
17357 (create-animated-image): Doc fix.
17358 (image-animate-start): Remove second arg; just use
17359 image-animate-max-time.
17360 (image-animate-timeout): Doc fix. Args changed.
17361
17362 * image-mode.el (image-toggle-display-image): Ensure that the
17363 image spec passed to the animate timer is the same object as in
58179cce 17364 the buffer's display property (Bug#6981).
e8cbec34
CY
17365 (image-transform-properties): Doc fix.
17366
17367 * image.el (image-animate-max-time): Default to nil.
17368
159daf87
MR
173692011-05-29 Martin Rudalics <rudalics@gmx.at>
17370
17371 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17372 entire buffer list (Bug#8184).
17373
d66c4c7c
CY
173742011-05-29 Chong Yidong <cyd@stupidchicken.com>
17375
17376 * image.el (imagemagick-types-inhibit)
17377 (imagemagick-register-types): Doc fix.
17378
80aec780
DD
173792011-05-29 Deniz Dogan <deniz@dogan.se>
17380
17381 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17382 default.
17383
1dd3c2d9
CY
173842011-05-29 Chong Yidong <cyd@stupidchicken.com>
17385
17386 * select.el: Don't perform clipboard-manager saving in hooks;
17387 leave the hooks empty.
17388
60e56523
LL
173892011-05-28 Leo Liu <sdl.web@gmail.com>
17390
17391 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17392 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17393 (occur-edit-mode): New major mode (Bug#8463).
17394 (occur-after-change-function): New function.
17395 (occur-engine): Give Occur tags a read-only property.
17396
2b1e1a22
KR
173972011-05-28 Kevin Ryde <user42@zip.com.au>
17398
17399 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17400
5d344e88
CY
174012011-05-28 Chong Yidong <cyd@stupidchicken.com>
17402
8e6ca83d
CY
17403 * bindings.el (help-echo): Make the initial non-indicator dash
17404 empty on graphical terminals (Bug#7295).
17405
5d344e88
CY
17406 * files.el (auto-mode-alist): Move config rule after the
17407 in-stripping one (Bug#8547).
17408
bfbbace7
CY
17409 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17410
fbeba6e2
CY
17411 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17412 setting (Bug#8740).
17413
60ed8c72
AA
174142011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17415
4ac619f0
AA
17416 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17417 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17418 (Bug#8539).
60ed8c72 17419
23db196e
CY
174202011-05-28 Chong Yidong <cyd@stupidchicken.com>
17421
17422 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17423
5012f24c
DK
174242011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17425
17426 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17427 (hs-hide-block-at-point, hs-find-block-beginning)
17428 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17429 (Bug#8279).
17430
6a639b16
GM
174312011-05-28 Glenn Morris <rgm@gnu.org>
17432
17433 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17434
d43eaf2c
CY
174352011-05-28 Chong Yidong <cyd@stupidchicken.com>
17436
5199bde1
CY
17437 * help-fns.el (describe-function-1): If the function is a derived
17438 major mode, print the parent mode.
17439
d43eaf2c
CY
17440 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17441 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17442
423428a8
SM
174432011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17444
0ff8e1ba 17445 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 17446 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
17447 * progmodes/etags.el (tags-completion-at-point-function):
17448 * info-look.el (info-lookup-completions-at-point): Mark as
17449 non-exclusive.
17450 (info-complete): Adjust accordingly.
17451
423428a8
SM
17452 * info-look.el: Convert to lexical-binding and completion-at-point.
17453 (info-lookup-completions-at-point): New function.
17454 (info-complete): Use it and completion-in-region.
17455
b74aa22b
DA
174562011-05-28 Drew Adams <drew.adams@oracle.com>
17457
17458 * isearch.el: Let M-e start with point at the first mismatched char.
17459 (isearch-fail-pos): New function.
17460 (isearch-edit-string): Use it.
17461
66e2e71d
DK
174622011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17463
17464 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17465
b1890b0f 174662011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
17467
17468 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17469 traversal functions for avl-trees.
17470 (avl-tree--stack): New struct.
17471 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17472 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
17473 (avl-tree--do-enter): Add optional `updatefun' arg.
17474 Change return value.
eb95d01d 17475 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
17476 (avl-tree--do-delete): Add `test' and `nilflag' args.
17477 Change return value.
eb95d01d
TC
17478 (avl-tree-member): Add optional `nilflag'
17479 (avl-tree-member-p): New function.
17480 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17481 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17482 (avl-tree-stack-empty-p): New functions.
17483
3769ddcf
TC
17484 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17485 avl-tree--del-balance1 and make it work both ways.
17486 (avl-tree--del-balance2): Remove.
17487 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17488 make it work both ways.
17489 (avl-tree--enter-balance2): Remove.
17490 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17491 New macros.
17492 (avl-tree--mapc, avl-tree-map): Add direction argument.
17493
eb95d01d 174942011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
17495
17496 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17497
a9f737ee
CY
174982011-05-27 Chong Yidong <cyd@stupidchicken.com>
17499
17500 * select.el: Support clipboard managers with built-in function
17501 x-clipboard-manager-save, via delete-frame-functions and
17502 kill-emacs-hook.
17503 (xselect-convert-to-targets): Add MULTIPLE target to list.
17504 (xselect-convert-to-save-targets): New function.
17505
c92a1e54
KH
175062011-05-27 Kenichi Handa <handa@m17n.org>
17507
17508 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17509 let-binding rfc2047-encode-encoded-words to nil.
17510
e145f188
GM
175112011-05-27 Glenn Morris <rgm@gnu.org>
17512
5ec8a862
GM
17513 * mail/emacsbug.el: Don't require url-util.
17514
4b29d9fb
GM
17515 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17516
e145f188
GM
17517 * files.el (set-auto-mode):
17518 Also respect mode: entries at the end of the file. (Bug#8586)
17519
7d15102b
GM
175202011-05-26 Glenn Morris <rgm@gnu.org>
17521
98f593b8
GM
17522 * files.el (hack-local-variables-prop-line, hack-local-variables):
17523 Downcase mode names, as seems to be traditional.
27b48e63 17524 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 17525
7d15102b
GM
17526 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17527 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17528
51d5b4ec
JD
175292011-05-25 Julien Danjou <julien@danjou.info>
17530
17531 * textmodes/rst.el (rst-define-level-faces): Do not define face
17532 symbol if it is already defined.
17533
91513f63
VB
175342011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17535
17536 * play/5x5.el (5x5-new-game, 5x5-randomize):
17537 Reset 5x5-solver-output to nil when a new grid is cast.
17538 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17539 these debugging traces, as defmacro breaks the compiled code.
17540
4d90d6d0
DK
175412011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17542
17543 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17544
e1b90ef6
LL
175452011-05-24 Leo Liu <sdl.web@gmail.com>
17546
17547 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17548 (vc-bzr-sha1): Adapt.
17549
d8e4b68b 17550 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
17551
17552 * bindings.el: Provide sha1 feature.
17553
db0406bb 175542011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
17555
17556 * mail/sendmail.el: Require `rfc2047'.
17557 (mail-insert-from-field): Do not perform RFC2047 encoding.
17558 (mail-encode-header): New function.
17559 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
17560 buffer to the return value of select-message-coding-system.
17561 Call mail-encode-header.
b8d747b9
KH
17562
17563 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17564
db0406bb 175652011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 17566
4d90d6d0
DK
17567 * mail/supercite.el (sc-default-cite-frame):
17568 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 17569
eb8a5e9b
GM
175702011-05-24 Glenn Morris <rgm@gnu.org>
17571
f8630703
GM
17572 * progmodes/python.el (brm-menu): Declare.
17573
8831bbed
GM
17574 * emulation/viper.el (viper-set-hooks): Declare.
17575
eb8a5e9b
GM
17576 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17577 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17578 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17579 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17580 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17581 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17582
a2a25d24
SM
175832011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17584
17585 Add an :exit-function for completion-at-point.
17586
17587 * minibuffer.el (completion--done): New fun.
17588 (completion--do-completion): Use it. New arg `expect-exact'.
17589 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17590 since completion--do-completion does it for us now.
17591 (minibuffer-force-complete): Use completion--done and
17592 completion--replace. Handle sole-completion case with more care.
17593 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17594 (completion-extra-properties): New var.
17595 (completion-annotate-function): Make obsolete.
17596 (minibuffer-completion-help): Adjust accordingly.
17597 Use completion-list-insert-choice-function.
17598 (completion-at-point, completion-help-at-point):
17599 Bind completion-extra-properties.
17600 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17601 * simple.el (completion-list-insert-choice-function): New var.
17602 (completion-setup-function): Preserve it.
17603 (choose-completion): Pay attention to it, shuffle the code a bit.
17604 (choose-completion-string): New arg `insert-function'.
17605
17606 * textmodes/bibtex.el: Convert to lexical binding.
17607 (bibtex-mode-map): Use completion-at-point.
17608 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17609 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17610 (bibtex-complete): Define as obsolete alias.
17611 (bibtex-complete-internal): Remove.
17612 (bibtex-format-entry): Remove unused sub-group in regexp.
17613 * shell.el (shell--command-completion-data)
17614 (shell-environment-variable-completion):
17615 * pcomplete.el (pcomplete-completions-at-point):
17616 * comint.el (comint--complete-file-name-data): Use :exit-function
17617 instead of completion-table-with-terminator so it also works for
17618 choose-completion.
17619
e44e373d
SM
176202011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17621
4f91a816
SM
17622 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17623
782fc819
SM
17624 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17625 (bug#8710).
17626
e44e373d
SM
17627 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17628
381987c3
KM
176292011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17630
17631 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17632 customization variable and implement: If non-nil, auto-fill will
17633 be inhibited while on topic's header line.
17634
b776bc70
VB
176352011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17636
17637 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 17638 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
17639 always have a solution in grid size = 5 cases.
17640 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17641 (5x5-solver-output, 5x5-log-buffer): New vars.
17642 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17643 Make these variables buffer local to achieve 5x5 multi-session-ness.
17644 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17645 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17646 (5x5-solve-suggest): New funs.
17647 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17648 randomize a grid so that we ensure that there is always a solution.
17649 (5x5-make-random-grid): Allow other movement than flipping.
17650
7de88b6e
KR
176512011-05-23 Kevin Ryde <user42@zip.com.au>
17652
17653 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 17654 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
17655 advice and passes PREDICATE.
17656
b1ef1257
SM
176572011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17658
bbca48fe
SM
17659 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17660 byte-compile-lambda if it's actually a lambda.
17661
b1ef1257
SM
17662 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17663 Fix function quoting. Use backquote better.
17664
92a9cc65
YS
176652011-05-22 Yuanle Song <sylecn@gmail.com>
17666
17667 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17668 matching (Bug#8516).
17669
f0fb8059
JA
176702011-01-22 Jari Aalto <jari.aalto@cante.net>
17671
17672 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17673 different face (Bug#8178).
17674
d5b44c93
CY
176752011-05-22 Chong Yidong <cyd@stupidchicken.com>
17676
17677 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17678 defface (Bug#8144).
17679
79106a44
SM
176802011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17681
9c848d8a
SM
17682 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17683 funcall as well (bug#8712). Warn when performing those conversions.
17684 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17685
79106a44
SM
17686 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17687
88dfa756
GM
176882011-05-22 Glenn Morris <rgm@gnu.org>
17689
17690 * files.el (hack-local-variables-prop-line): Small simplifications.
17691 (hack-local-variables, hack-local-variables-prop-line):
17692 If MODE-ONLY, return the mode, rather than just `t'.
17693
b7cf2c79
SM
176942011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17695
17696 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17697
3f1a8558
GM
176982011-05-21 Glenn Morris <rgm@gnu.org>
17699
7e4ccca3
GM
17700 * files.el (hack-local-variables-prop-line, hack-local-variables):
17701 If only interested in the mode, don't bother doing the other stuff.
17702
637d46ca
GM
17703 * image-mode.el (image-after-revert-hook):
17704 Redraw all frames on which the image is visible. (Bug#8567)
17705
973d955b
GM
17706 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17707
3f1a8558
GM
17708 * wid-edit.el (widget-checklist-match-inline):
17709 Fix 2011-04-19 change. (Bug#8649)
17710
96479927
SM
177112011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17712
1dcf791f
SM
17713 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17714 Also allow singlespace after single-letter capitals followed by a dot.
17715
96479927
SM
17716 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17717 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17718
35fd0881
N
177192011-05-20 Nix <nix@esperi.org.uk>
17720
17721 * files.el (basic-save-buffer-2):
17722 Fix handling of break-hardlink-on-save with non-existent files.
17723
82745640
DD
177242011-05-19 Deniz Dogan <deniz@dogan.se>
17725
17726 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 17727 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 17728
4a720484
GM
177292011-05-19 Glenn Morris <rgm@gnu.org>
17730
d1f21341
GM
17731 * progmodes/f90.el (f90-type-def-re):
17732 Handle "type, bind(c)". (Bug#8691)
17733
4a720484
GM
17734 * emacs-lisp/autoload.el (batch-update-autoloads):
17735 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17736
2fb0a219
MA
177372011-05-18 Michael Albinus <michael.albinus@gmx.de>
17738
17739 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17740 property for the correct connection in case of multihops.
17741
e565dd37
GM
177422011-05-18 Glenn Morris <rgm@gnu.org>
17743
c2571358 17744 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
17745 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17746
e565dd37
GM
17747 Rationalize calendar handling of day and month abbrev-arrays.
17748 * calendar/calendar.el (calendar-customized-p): New function.
17749 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17750 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17751 Add :set function.
17752 (calendar-abbrev-length, calendar-day-abbrev-array)
17753 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17754 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17755 Elements may no longer be nil.
17756 (calendar-day-name, calendar-month-name):
17757 Update for changed nature of abbrev arrays.
17758 * calendar/diary-lib.el (diary-name-pattern):
17759 Update for changed nature of abbrev arrays.
17760 (diary-mark-entries-1): Update calendar-make-alist calls.
17761 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17762 * calendar/cal-html.el (cal-html-day-abbrev-array):
17763 Simply inherit from calendar-day-abbrev-array.
17764
1d99a745
SM
177652011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17766
17767 * progmodes/grep.el (grep-mode): Disable default
17768 compilation-directory-matcher setting (bug#8684).
17769
7c1d9aa0
MA
177702011-05-17 Michael Albinus <michael.albinus@gmx.de>
17771
17772 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17773 instead of "head" and "tail". There were problems with SunOS 5.9,
17774 and it performs better.
17775
3952e9d8
GM
177762011-05-17 Glenn Morris <rgm@gnu.org>
17777
2dd12e7f
GM
17778 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17779
e4157b9c
GM
17780 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17781 Replace obsolete function.
17782
8e249bbd
GM
17783 * shell.el (pcomplete-parse-arguments-function): Declare.
17784
3952e9d8
GM
17785 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17786 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17787 (appt-check): Doc fixes.
17788 (appt-disp-window-function, appt-delete-window-function):
17789 Remove needless special case in custom :type.
17790 (appt-display-count): Default to 0, not nil.
17791 (appt-check): Reset appt-display-count to 0, not nil.
17792
c71a0d48 177932011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 17794
c71a0d48
GM
17795 * progmodes/python.el (python-font-lock-keywords):
17796 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 17797
31d55be9
SM
177982011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17799
17800 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17801
3bfacb2f
KR
178022011-05-16 Kevin Ryde <user42@zip.com.au>
17803
17804 * info-look.el (makefile-automake-mode): New setups, looking in
17805 automake manual, then makefile-mode.
17806 (makefile-mode): Remove automake manual, have it just in
17807 makefile-automake-mode since there's various things different or
17808 not relevant to plain make.
17809 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17810 believe a hypothetical automake-mode would go to makefile-mode,
17811 not the other way around.
17812
c8e83751
CY
178132011-05-15 Chong Yidong <cyd@stupidchicken.com>
17814
5e9e35cd
CY
17815 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17816 hunk-end tags (Bug#8672).
17817
c8e83751
CY
17818 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17819 vc-annotate-show-diff-revision-at-line (Bug#8671).
17820
50b23e5a
GM
178212011-05-14 Glenn Morris <rgm@gnu.org>
17822
7210a739
GM
17823 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17824 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
17825 (change-log-font-lock-keywords): Also handle multiple author lines
17826 with leading tabs. (Bug#8644)
7210a739 17827
4691905a
GM
17828 * calendar/appt.el (appt-check): Rename some local variables.
17829 Some simplification/reordering.
17830
50b23e5a
GM
17831 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17832 (feedmail-sendmail-f-doesnt-sell-me-out)
17833 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17834 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17835 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
17836 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17837 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
17838 (feedmail-binmail-gnulinuxish-template):
17839 Rename from feedmail-binmail-linuxish-template.
17840 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17841 Use insert-buffer-substring.
17842
215cda7c
BC
178432011-05-14 Bill Carpenter <bill@carpenter.org>
17844
17845 * mail/feedmail.el (feedmail-patch-level): Increase.
17846 (feedmail-debug): New custom group.
17847 (feedmail-confirm-outgoing-timeout)
17848 (feedmail-sendmail-f-doesnt-sell-me-out)
17849 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17850 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17851 (feedmail-sender-line, feedmail-from-line)
17852 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 17853 (feedmail-spray-this-address)
215cda7c
BC
17854 (feedmail-spray-address-fiddle-plex-list)
17855 (feedmail-queue-use-send-time-for-date)
17856 (feedmail-queue-use-send-time-for-message-id)
17857 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17858 (feedmail-buffer-eating-function):
17859 Doc fixes.
17860 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17861 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17862 (feedmail-message-action-scroll-down): New functions.
17863 (feedmail-queue-directory, feedmail-queue-draft-directory):
17864 Use expand-file-name.
17865 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17866 Remove C-v help entry.
17867 (feedmail-queue-buffer-file-name): New variable.
17868 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17869 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17870 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17871 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17872 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17873 (feedmail-message-action-toggle-spray)
17874 (feedmail-run-the-queue-no-prompts)
17875 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17876 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17877 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17878 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17879 (feedmail-envelope-deducer, feedmail-fiddle-from)
17880 (feedmail-fiddle-sender, feedmail-default-date-generator)
17881 (feedmail-fiddle-date, feedmail-fiddle-message-id)
17882 (feedmail-fiddle-spray-address)
17883 (feedmail-fiddle-list-of-spray-fiddle-plexes)
17884 (feedmail-fiddle-list-of-fiddle-plexes)
17885 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17886 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17887 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17888 Change default. Doc fix.
17889 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17890 (feedmail-binmail-linuxish-template): New constant.
17891 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
17892 Respect feedmail-sendmail-f-doesnt-sell-me-out.
17893 (feedmail-send-it): Add debug call.
17894 Use feedmail-queue-buffer-file-name, and
17895 feedmail-send-it-immediately-wrapper.
17896 (feedmail-message-action-send): Add debug call.
17897 Use feedmail-send-it-immediately-wrapper.
17898 (feedmail-queue-express-to-queue): Add debug call.
17899 Run feedmail-queue-express-hook.
17900 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
17901 (feedmail-message-action-help-blat):
17902 Rename from feedmail-queue-send-edit-prompt-help-first.
17903 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
17904 Check line-endings. Handle errors better.
17905 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17906 Doc fix. Add debug call.
17907 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
17908 Use feedmail-queue-send-edit-prompt-inner.
17909 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17910 (feedmail-queue-send-edit-prompt-inner): New function, extracted
17911 from feedmail-queue-send-edit-prompt.
17912 (feedmail-queue-send-edit-prompt-help)
17913 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17914 (feedmail-tidy-up-slug): Add debug call.
17915 Respect feedmail-queue-slug-suspect-regexp.
17916 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17917 (feedmail-dump-message-to-queue): Add debug call.
17918 Expand queue-directory.
17919 (feedmail-dump-message-to-queue): Change message slightly.
17920 Use feedmail-say-chatter.
17921 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
17922 (feedmail-send-it-immediately-wrapper): New function.
17923 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
17924 Insert empty string rather than newline. Handle full-frame case.
17925 Use catch/throw. Use feedmail-say-chatter.
17926 (feedmail-fiddle-from): Try mail-host-address.
17927 (feedmail-default-message-id-generator): Doc fix.
17928 Bind system-time-locale. Handle missing end.
17929 (feedmail-fiddle-x-mailer): Add debug call.
17930 Handle feedmail-x-mailer-line being nil.
17931 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17932 Add debug call. Use buffer-substring-no-properties.
17933 (feedmail-say-debug, feedmail-say-chatter): New functions.
17934 (feedmail-find-eoh): Give an explicit error.
17935
42c7e61e
UJ
179362011-05-13 Ulf Jasper <ulf.jasper@web.de>
17937
c2571358 17938 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 17939 family from helvetica to sans.
c2571358 17940 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17941 etc/images/newsticker.
17942
c2571358 17943 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
17944 family from helvetica to sans.
17945
17946 * net/newst-plainview.el (newsticker-new-item-face)
17947 (newsticker-old-item-face, newsticker-immortal-item-face)
17948 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 17949 (newsticker-statistics-face): Change default family from
42c7e61e 17950 helvetica to sans.
c2571358 17951 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17952 etc/images/newsticker.
17953
5d3385a0
JB
17954 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17955 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
17956 auto-marking.
17957
8497a297
DV
179582011-05-13 Didier Verna <didier@xemacs.org>
17959
17960 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
17961 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17962 TODO entries.
8497a297
DV
17963 (lisp-lambda-list-keyword-parameter-indentation)
17964 (lisp-lambda-list-keyword-parameter-alignment)
17965 (lisp-lambda-list-keyword-alignment): New customizable user options.
17966 (lisp-indent-defun-method): Improve docstring.
17967 (extended-loop-p): Fix comment.
17968 (lisp-indent-lambda-list-keywords-regexp): New variable.
17969 (lisp-indent-lambda-list): New function.
17970 (lisp-indent-259): Use it.
17971 (lisp-indent-defmethod): Support for more than one
17972 method qualifier and properly indent methods lambda-lists.
17973 (defgeneric): Provide a missing common-lisp-indent-function property.
17974
f278f87f
SM
179752011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17976
17977 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17978 bounds for the empty string (bug#8667).
17979
5233edd7
GM
179802011-05-13 Glenn Morris <rgm@gnu.org>
17981
5237a44f
GM
17982 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17983
8340026c 17984 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 17985 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 17986
5233edd7 17987 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 17988 (appt-time-msg-list): Doc fix.
a5464014 17989 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 17990
92d10796
AS
179912011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17992
17993 * progmodes/ld-script.el (ld-script-keywords)
17994 (ld-script-builtins): Update keywords list.
17995
914a0ae1
SM
179962011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17997
c89be45f
SM
17998 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17999
914a0ae1
SM
18000 * shell.el (shell-completion-vars): New function.
18001 (shell-mode):
18002 * simple.el (read-shell-command): Use it.
18003 (blink-matching-open): No need for " [...]" in minibuffer-message.
18004
98dc3df3
GM
180052011-05-12 Glenn Morris <rgm@gnu.org>
18006
18007 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18008 (appt-check): Simplify.
18009
d2fc7e3d 180102011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 18011
4d61f28d 18012 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
18013 literal "/dev/null".
18014
d2fc7e3d 180152011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
18016
18017 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18018 Fix typo.
18019
d2fc7e3d 180202011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 18021
3f254caa
SM
18022 * progmodes/which-func.el (which-function):
18023 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
18024 which might not be defined (Bug#8260).
18025
d45885f7
GM
180262011-05-12 Glenn Morris <rgm@gnu.org>
18027
18028 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18029 Let byte-compile-initial-macro-environment always take precedence.
18030
488086f4
SM
180312011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18032
18033 * net/rcirc.el: Add support for SSL/TLS connections.
18034 (rcirc-server-alist): New field `encryption'.
18035 (rcirc): Check `encryption' settings.
18036 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18037 Merge make-local-variable into `set'.
18038 (rcirc--connection-open-p): New function.
18039 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18040 the process is not a network process (e.g. running gnutls-cli).
18041 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18042 Make rcirc-(en|de)code-coding-system local here.
18043 (rcirc-mode): Merge make-local-variable into `set'.
18044 (rcirc-parent-buffer): Make permanent buffer-local.
18045 (rcirc-multiline-minor-mode): Don't do it here.
18046 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18047 there's no server buffer.
18048
7d3b9d44
GM
180492011-05-11 Glenn Morris <rgm@gnu.org>
18050
f64049c6
GM
18051 * newcomment.el (comment-kill): Prefix "unused" local.
18052
93c9df73
GM
18053 * term/w32console.el (get-screen-color): Declare.
18054
7d3b9d44
GM
18055 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18056 Handle symbol elements of byte-compile-initial-macro-environment.
18057
9e2dd53f
LL
180582011-05-10 Leo Liu <sdl.web@gmail.com>
18059
488086f4
SM
18060 * bookmark.el (bookmark-bmenu-mode-map):
18061 Bind bookmark-bmenu-search to `/'.
8b340240 18062
9e2dd53f 18063 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
18064 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18065 (Footnote-unicode): New function.
18066 (footnote-style-alist): Add unicode style to the list.
18067 (footnote-style): Doc fix.
9e2dd53f 18068
79b70037
GM
180692011-05-10 Jim Meyering <meyering@redhat.com>
18070
18071 Fix doubled-word typos.
18072 * international/quail.el (quail-insert-kbd-layout): and and -> and
18073 * kermit.el: and and -> and
18074 * net/ldap.el (ldap-search-internal): to to -> to
18075 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18076 * progmodes/js.el (js-mode): and and -> and
18077 * textmodes/artist.el (artist-move-to-xy): at at -> at
18078 (artist-draw-region-trim-line-endings): if if -> if
18079 And Safetyc -> Safety.
18080 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18081
b8f82dc1 180822011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 18083 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
18084
18085 * files.el (hack-one-local-variable-eval-safep):
18086 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18087
4f99f44b
GM
180882011-05-10 Glenn Morris <rgm@gnu.org>
18089
18090 * calendar/diary-lib.el (diary-list-entries-hook)
18091 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18092 (diary-nongregorian-marking-hook, diary-list-entries)
18093 (diary-include-other-diary-files, diary-mark-entries)
18094 (diary-mark-included-diary-files): Doc fixes.
18095
84f29e6b
JB
180962011-05-09 Juanma Barranquero <lekktu@gmail.com>
18097
18098 * misc.el: Require tabulated-list.el during compilation.
18099
9bedd73a
CY
181002011-05-09 Chong Yidong <cyd@stupidchicken.com>
18101
488086f4
SM
18102 * progmodes/compile.el (compilation-start):
18103 Run compilation-filter-hook for the async case too.
9bedd73a
CY
18104 (compilation-filter-hook): Doc fix.
18105
797c735c
DD
181062011-05-09 Deniz Dogan <deniz@dogan.se>
18107
18108 * wdired.el: Remove outdated installation comment. Fix usage
18109 comment.
18110
5f4b1dfe
JB
181112011-05-09 Juanma Barranquero <lekktu@gmail.com>
18112
18113 * misc.el: Implement new command `list-dynamic-libraries'.
18114 (list-dynamic-libraries--loaded-only-p): New variable.
18115 (list-dynamic-libraries--refresh): New function.
18116 (list-dynamic-libraries): New command.
18117
4c44026c
CY
181182011-05-09 Chong Yidong <cyd@stupidchicken.com>
18119
488086f4
SM
18120 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18121 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
18122 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18123 higher priority to avoid clobbering by gnu.
18124
027f966d
CY
181252011-05-08 Chong Yidong <cyd@stupidchicken.com>
18126
18127 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18128 if the face has existing theme settings (Bug#8454).
18129
085f5d7d
CY
181302011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18131
488086f4
SM
18132 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18133 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 18134
2a86a00c
RS
18135 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18136 special file names `.' and `..' (Bug#8259).
18137
d9c54a06
CY
181382011-05-08 Chong Yidong <cyd@stupidchicken.com>
18139
488086f4
SM
18140 * progmodes/grep.el (grep-mode-font-lock-keywords):
18141 Remove buffer-changing entries.
d9c54a06
CY
18142 (grep-filter): New function.
18143 (grep-mode): Add it to compilation-filter-hook.
18144
18145 * progmodes/compile.el (compilation-filter-hook)
18146 (compilation-filter-start): New defvars.
18147 (compilation-filter): Call compilation-filter-hook prior to
18148 updating the process mark.
18149
c4662635
SM
181502011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18151
18152 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18153
b0512a1d
EZ
181542011-05-07 Eli Zaretskii <eliz@gnu.org>
18155
605c9376
EZ
18156 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18157 mailclient-send-it even if window-system is nil. (Bug#8595)
18158
c4662635
SM
18159 * term/w32console.el (terminal-init-w32console):
18160 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
18161 background-mode. (Bug#8597)
18162
d1dc2cc2
SM
181632011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18164
18165 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18166 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18167 New functions.
18168 (defgeneric, eieio--defmethod): Use them.
18169 (eieio-defgeneric): Remove.
18170 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18171
915d1300
GM
181722011-05-07 Glenn Morris <rgm@gnu.org>
18173
a3961c3e
GM
18174 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18175 Use let rather than let*.
18176 (timeclock-find-discrep): Remove unused local.
18177
314347b9
GM
18178 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18179
915d1300
GM
18180 * calendar/appt.el (appt-time-msg-list): Doc fix.
18181
275b59b0
NF
181822011-05-06 Noah Friedman <friedman@splode.com>
18183
18184 * apropos.el (apropos-print-doc): Only use
18185 emacs-lisp-docstring-fill-column when it is bound to an integer,
18186 per that variable's documentation.
18187
6c19f744
SM
181882011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18189
18190 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 18191 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 18192
60f884b2
GM
181932011-05-06 Glenn Morris <rgm@gnu.org>
18194
5006e634
GM
18195 * calendar/appt.el (appt-message-warning-time): Doc fix.
18196 (appt-warning-time-regexp): New option.
18197 (appt-make-list): Respect appt-message-warning-time.
18198
548d0a63
GM
18199 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18200 New options.
18201 (diary-add-to-list): Strip comments from the displayed string.
18202 (diary-mode): Set comment-start and comment-end.
18203
60f884b2
GM
18204 * vc/diff-mode.el (smerge-refine-subst): Declare.
18205 (diff-refine-hunk): Don't require smerge-mode when compiling.
18206
989681bb
JB
182072011-05-06 Juanma Barranquero <lekktu@gmail.com>
18208
18209 * simple.el (list-processes): Return nil as the docstring says.
18210
a6bc05e1
MA
182112011-05-05 Michael Albinus <michael.albinus@gmx.de>
18212
18213 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18214 to "".
18215 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18216 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18217 determining of binary transfer. (Bug#7383)
18218
23c22e9a
MA
182192011-05-05 Michael Albinus <michael.albinus@gmx.de>
18220
c4662635
SM
18221 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18222 Fix port computation bug. (Bug#8618)
23c22e9a 18223
0bff894f
GM
182242011-05-05 Glenn Morris <rgm@gnu.org>
18225
b8296902
GM
18226 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18227
1f522ce8
GM
18228 * simple.el (shell-dynamic-complete-functions)
18229 (comint-dynamic-complete-functions): Declare.
18230
cf5bee67
GM
18231 * net/network-stream.el (gnutls-negotiate):
18232 * simple.el (tabulated-list-print): Fix declarations.
18233
18234 * progmodes/gud.el (syntax-symbol, syntax-point):
18235 Remove unnecessary and incorrect declarations.
18236
0bff894f 18237 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 18238 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 18239
9869b3ae
SM
182402011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18241
18242 Fix earlier half-done eieio-defmethod change (bug#8338).
18243 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18244 Streamline and change calling convention.
18245 (defmethod): Adjust accordingly and simplify.
18246 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18247 new eieio--defmethod.
18248 (slot-boundp): Minor CSE simplification.
18249
9c1d5ac5
MZ
182502011-05-05 Milan Zamazal <pdm@zamazal.org>
18251
18252 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18253 (glasses-make-readable): Use glasses-separate-capital-groups.
18254
455c834e
JB
182552011-05-05 Juanma Barranquero <lekktu@gmail.com>
18256
18257 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18258 (warning-series): Doc fix.
18259 (display-warning): Don't try to create the buffer if we just found it.
18260
9ed7c8cb
CY
182612011-05-04 Chong Yidong <cyd@stupidchicken.com>
18262
18263 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18264 (autoload-find-generated-file): New function.
18265 (generate-file-autoloads): Bind generated-autoload-file to
18266 buffer-file-name.
9869b3ae
SM
18267 (update-file-autoloads, update-directory-autoloads):
18268 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
18269 output file (Bug#7989).
18270 (batch-update-autoloads): Doc fix.
18271
0898ca10
JB
182722011-05-04 Juanma Barranquero <lekktu@gmail.com>
18273
18274 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18275
31dfb76c
GM
182762011-05-04 Glenn Morris <rgm@gnu.org>
18277
f330b642
GM
18278 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18279 function, so it follows changes in calendar-date-style.
18280 (diary-fancy-date-matcher): New function.
18281 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18282 (diary-fancy-font-lock-fontify-region-function):
18283 Use diary-fancy-date-pattern as a function.
18284
31dfb76c
GM
18285 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18286 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18287
48e79d6a
TZ
182882011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18289
18290 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18291 instead of positional arguments. Allow :keylist and :crlfiles
18292 arguments.
18293 (open-gnutls-stream): Call it.
18294
18295 * net/network-stream.el (network-stream-open-starttls): Adjust to
18296 call `gnutls-negotiate' with :process and :hostname arguments.
18297
dd5a5ee0
SM
182982011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18299
ef80fc09
SM
18300 * minibuffer.el (completion--message): New function.
18301 (completion--do-completion, minibuffer-complete)
18302 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18303 (completion--do-completion): Don't ignore completion-auto-help when in
18304 icomplete-mode.
18305
dd5a5ee0
SM
18306 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18307 internal encoding (e.g. tibetan zero is not whitespace).
18308 (global-whitespace-mode): Prefer save-current-buffer.
18309 (whitespace-trailing-regexp): Remove useless save-match-data.
18310 (whitespace-empty-at-bob-regexp): Minor simplification.
18311
b7d22a83
CY
183122011-05-03 Chong Yidong <cyd@stupidchicken.com>
18313
18314 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18315
5192af46
AM
183162011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18317
18318 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 18319 Use `concat' to create string for insertion.
5192af46 18320
5767d190
SM
183212011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18322
18323 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18324 Avoid open-line which runs post-self-insert-hook.
18325 (bibtex-fill-entry): Remove unused `end' var.
18326
bf242939
AM
183272011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18328
5767d190
SM
18329 * textmodes/ispell.el (ispell-add-per-file-word-list):
18330 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 18331
25666126
LL
183322011-05-03 Leo Liu <sdl.web@gmail.com>
18333
18334 * isearch.el (isearch-yank-pop): New command.
5767d190 18335 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
18336 (isearch-forward): Mention it.
18337
52d3c2d0
SM
183382011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18339
1bcace58
SM
18340 * simple.el (minibuffer-complete-shell-command): Remove.
18341 (minibuffer-local-shell-command-map): Use completion-at-point.
18342 (read-shell-command): Setup completion vars here instead.
18343 (read-expression-map): Bind TAB to symbol completion.
18344
52d3c2d0
SM
18345 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18346 error directly rather via storing it into `results'.
18347
35813471
LL
183482011-05-02 Leo Liu <sdl.web@gmail.com>
18349
18350 * vc/diff.el: Fix description.
18351
e793a940
LMI
183522011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18353
18354 * server.el (server-eval-at): New function.
18355
8de66e05
LMI
183562011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18357
18358 * net/network-stream.el (open-network-stream): Take a :nowait
18359 parameter and pass it on to `make-network-process'.
18360 (network-stream-open-plain): Ditto.
18361
dcb79f20
AS
183622011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18363
18364 * faces.el (face-spec-set-match-display): Don't match toolkit
18365 options on terminal frames.
18366
14a7fbd8
SM
183672011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18368
7eabc1be
SM
18369 * progmodes/pascal.el: Use lexical binding.
18370 (pascal-mode-map): Remove author preferences.
18371
14a7fbd8
SM
18372 * pcomplete.el (pcomplete-std-complete): Don't abuse
18373 completion-at-point.
18374
50f84510
JB
183752011-04-28 Juanma Barranquero <lekktu@gmail.com>
18376
6e087a44
JB
18377 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18378 removing code that has been dead since 1991 or so.
18379
50f84510
JB
18380 * startup.el (command-line): When warning about "_emacs", use a
18381 delayed warning to allow the user to filter it out.
18382
0ba690bd
DD
183832011-04-28 Deniz Dogan <deniz@dogan.se>
18384
18385 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18386 user has not joined.
18387
08abfaad
SM
183882011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18389
18390 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18391 aren't any completions at point.
18392
638f053a
JB
183932011-04-28 Juanma Barranquero <lekktu@gmail.com>
18394
18395 * subr.el (display-delayed-warnings): New function.
18396 (delayed-warnings-hook): New variable.
18397
8fff8daa
SM
183982011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18399
08abfaad
SM
18400 * minibuffer.el (completion-at-point, completion-help-at-point):
18401 Don't presume that a given completion-at-point-function will always
18402 use the same calling convention.
18403
8fff8daa
SM
18404 * pcomplete.el (pcomplete-completions-at-point):
18405 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18406 pcomplete-seen is non-nil.
18407 (pcomplete-comint-setup): Also recognize the new comint/shell
18408 completion functions.
18409 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18410 pcomplete-seen is non-nil.
18411
841a1577 184122011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 18413
841a1577 18414 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 18415 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 18416 the first character in the entry. This allows for code to add its
211ec907
UJ
18417 own uid to the entry.
18418 (icalendar--convert-float-to-ical): Add export of
18419 `diary-float'-entries save for those with the optional DAY
18420 argument.
18421
2a782793
DC
184222011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18423
18424 * subr.el (shell-quote-argument): Use alternate escaping strategy
18425 when we spot a variable reference in a string.
18426
0438ce91
DC
184272011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18428
18429 * cus-start.el (all): Define customization for debug-on-event.
18430
841a1577 184312011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
18432
18433 * subr.el (shell-quote-argument): Escape correctly under Windows.
18434
d090ed6c
SM
184352011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18436
18437 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18438
bfd31217
MA
184392011-04-25 Michael Albinus <michael.albinus@gmx.de>
18440
d090ed6c
SM
18441 * net/tramp.el (tramp-process-actions): Add POS argument.
18442 Delete region between POS and (pos).
bfd31217 18443
d090ed6c
SM
18444 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18445 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
18446 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18447
18448 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18449 position in `tramp-process-actions' call.
18450
18451 * net/trampver.el: Update release number.
18452
e92f3bd3
SM
184532011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18454
850256b5
SM
18455 * custom.el (defcustom): Obey lexical-binding.
18456
e92f3bd3
SM
18457 Fix octave-inf completion problems reported by Alexander Klimov.
18458 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18459 Inherit from octave-mode-syntax-table.
18460 (inferior-octave-mode): Set info-lookup-mode.
18461 (inferior-octave-completion-at-point): New function.
18462 (inferior-octave-complete): Use it and completion-in-region.
18463 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18464 comint-filename-completion.
18465 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18466 symbol elements which shouldn't be word elements.
18467 (octave-font-lock-keywords, octave-beginning-of-defun)
18468 (octave-function-header-regexp): Adjust regexps accordingly.
18469 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18470
cd22b309
JB
184712011-04-25 Juanma Barranquero <lekktu@gmail.com>
18472
18473 * net/gnutls.el (gnutls-errorp): Declare before first use.
18474
8b492194
TZ
184752011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18476
18477 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18478 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 18479 default trustfile exists before going to use it. Add missing
5a5fa834 18480 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
18481 Reported by Claudio Bley <claudio.bley@gmail.com>.
18482 (open-gnutls-stream): Add usage example.
18483
18484 * net/network-stream.el (network-stream-open-starttls): Give host
18485 parameter to `gnutls-negotiate'.
18486 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 18487 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 18488
841a1577 184892011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 18490
cd22b309
JB
18491 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18492 Use correct match group (bug#8438).
05842630 18493
3ba7869c
CY
184942011-04-24 Chong Yidong <cyd@stupidchicken.com>
18495
512e3ae1
CY
18496 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18497 (package-menu--generate): New arg specifying packages to show.
18498 (package-menu-refresh, package-menu-execute, list-packages):
18499 Callers changed.
18500 (package-show-package-list): New function, replacing deleted
18501 package--list-packages (renamed because it is non-internal).
18502
18503 * finder.el (finder-list-matches): Use package-show-package-list
18504 instead of deleted package--list-packages.
18505
e92f3bd3
SM
18506 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18507 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
18508 (vc-annotate-mode-map): Bind it to RET.
18509
7031be6d
UR
185102011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18511
18512 * progmodes/etags.el (next-file): Don't use set-buffer to change
18513 buffers (Bug#8478).
18514
4ef177aa
CY
185152011-04-24 Chong Yidong <cyd@stupidchicken.com>
18516
c8d173eb
CY
18517 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18518
4ef177aa
CY
18519 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18520 (apropos-accumulator): Doc fix.
18521 (apropos-function, apropos-macro, apropos-command)
18522 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18523 (apropos-plist): Add face property.
18524 (apropos-symbols-internal): Fix indentation.
18525 (apropos-print): Simplify help, and recognize apropos-multi-type.
18526 (apropos-print-doc): Use button-type-get to extract the button's
18527 face property. Fill docstring (Bug#8352).
18528
4ffd0d6b 185292011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
18530
18531 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18532
c6c32125 18533 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 18534 (mpuz-mode-map): Use mapc.
c6c32125
JB
18535 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18536 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18537 Fix typos in docstrings.
18538
58d468b4
JB
18539 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18540 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18541
6470c3c6
JB
18542 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18543
4ffd0d6b 185442011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
18545
18546 * minibuffer.el (completion--do-completion): Avoid the "Next char
18547 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18548
3ad8bad0
CY
18549 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18550 mouse-2 into unread-command-events, it is interpreted correctly.
18551
71d73c9c 18552 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 18553 (image-toggle-display): Doc fix.
71d73c9c 18554
841a1577 185552011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 18556
4ffd0d6b
GM
18557 * textmodes/page.el (what-page): Use line-number-at-pos to
18558 calculate line number (Bug#6825).
6e1dbaa9 18559
c2fb1b60
JB
185602011-04-22 Juanma Barranquero <lekktu@gmail.com>
18561
18562 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18563 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18564 Pass argument NO-DEFAULT to `find-tag-interactive'.
18565
e02f48d7
JB
185662011-04-22 Juanma Barranquero <lekktu@gmail.com>
18567
18568 Lexical-binding cleanup.
18569
18570 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18571 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18572 * progmodes/ada-prj.el (ada-prj-initialize-values)
18573 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18574 (ada-prj-show-value):
18575 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18576 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18577 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18578 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18579 * progmodes/bug-reference.el (bug-reference-push-button):
18580 * progmodes/fortran.el (fortran-line-length):
18581 * progmodes/glasses.el (glasses-change):
18582 * progmodes/octave-mod.el (octave-fill-paragraph):
18583 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18584 (python-pdbtrack-grub-for-buffer, python-sentinel):
18585 * progmodes/sql.el (sql-save-connection):
18586 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18587 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18588 Mark unused parameters.
18589
18590 * progmodes/compile.el (compilation--flush-directory-cache)
18591 (compilation--flush-parse, compile-internal): Mark unused parameters.
18592 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18593 (compilation-next-error-function): Remove unused variable `timestamp'.
18594
18595 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18596 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18597
18598 * progmodes/dcl-mode.el (dcl-end-of-command):
18599 Remove unused variable `start'.
18600 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18601 (dcl-option-value-basic, dcl-option-value-offset)
18602 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18603 Mark unused parameters.
18604 (dcl-save-local-variable): Remove unused variable `val'.
18605 (mode): Declare.
18606
18607 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18608 Mark unused parameters.
18609 (delphi-ignore-changes): Move before first use.
18610 (delphi-charset-token-at): Remove unused variable `start'.
18611 (delphi-else-start): Remove unused variable `if-count'.
18612 (delphi-comment-block-start, delphi-comment-block-end):
18613 Remove unused variable `kind'.
18614 (delphi-indent-line): Remove unused variable `new-point'.
18615
18616 * progmodes/ebrowse.el (ebrowse-files-list)
18617 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18618 Mark unused parameters. Don't quote `lambda'.
18619 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18620 Don't quote `lambda'.
18621 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18622 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18623 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18624 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18625 Use `ignore-errors'.
18626 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18627 (ebrowse-view/find-file-and-search-pattern)
18628 (ebrowse-view/find-member-declaration/definition):
18629 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18630 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18631 Rename parameter PREFIX-ARG to PREFIX.
18632 (ebrowse-tags-read-name): Remove unused variables `start' and
18633 `member-info'.
18634 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18635 to `tags-file'.
18636
18637 * progmodes/etags.el (local-find-tag-hook): Declare.
18638 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18639 Mark unused parameters.
18640
18641 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18642 (executable-interpret): Mark unused parameter.
18643
18644 * progmodes/flymake.el (flymake-process-sentinel)
18645 (flymake-after-change-function)
18646 (flymake-create-temp-with-folder-structure)
18647 (flymake-get-include-dirs-dot): Mark unused parameters.
18648 (flymake-safe-delete-directory): Remove unused variable `err'.
18649
18650 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18651 (speedbar-timer-fn, speedbar-line-text)
18652 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18653 (speedbar-center-buffer-smartly): Declare functions.
18654 (gdb-find-watch-expression): Remove unused variable `array'.
18655 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18656 (gdb-starting): Mark unused parameters.
18657 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18658 (gdb-table-string): Remove unused variable `res'.
18659 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18660 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18661 (gdb-display-buffer): Remove unused variable `cur-size'.
18662
18663 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18664 allow lexical-binding compilation.
18665 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18666 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18667 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18668 Mark unused parameters.
18669 (gud-gdb-marker-filter): Remove unused variable `match'.
18670 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18671 lambda expressions and funcall them, instead of using `fset'.
18672
18673 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18674 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18675
18676 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18677 variable `header-beg'; use `let'.
18678
18679 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18680 `restart', `last-sexp' and `at-do'.
18681
18682 * progmodes/js.el (js--debug): Mark unused parameter.
18683 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18684 (js--splice-into-items): Remove unused variable `item'.
18685 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18686
18687 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18688 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18689 (makefile-complete): Remove unused variable `try'.
18690 (makefile-fill-paragraph, makefile-match-function-end):
18691 Mark unused parameters.
18692
18693 * progmodes/octave-inf.el (inferior-octave-complete):
18694 Remove unused variable `proc'.
18695 (inferior-octave-output-digest): Mark unused parameter.
18696
18697 * progmodes/perl-mode.el (perl-calculate-indent):
18698 Remove unused variable `err'.
18699
18700 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18701 (prolog-indent-line): Mark unused parameters.
18702 (prolog-indent-line): Remove unused variable `beg'.
18703
18704 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18705 (reporter-dont-compact-list): Declare.
18706
18707 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18708 Remove unused variable `char'.
18709 (sh-debug): Mark unused parameter.
18710 (sh-get-indent-info): Remove unused variable `start'.
18711 (sh-calculate-indent): Remove unused variable `var'.
18712
18713 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18714 (simula-electric-keyword): Remove unused variable `null'.
18715 (simula-search-backward, simula-search-forward): Remove unused
18716 variables `begin' and `end'.
18717
18718 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18719 Remove unused variable `pos'.
18720 (vera-electric-tab, vera-comment-uncomment-region):
18721 Mark unused parameters.
18722 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18723
7ede3b65
CY
187242011-04-22 Chong Yidong <cyd@stupidchicken.com>
18725
18726 * emacs-lisp/package.el (package--builtins, package-alist)
18727 (package-load-descriptor, package-built-in-p, package-activate)
18728 (define-package, package-installed-p)
18729 (package-compute-transaction, package-buffer-info)
18730 (package--push): Doc fix. Distinguish more clearly between
18731 version strings and version lists.
18732
121656e9
JB
187332011-04-21 Juanma Barranquero <lekktu@gmail.com>
18734
18735 Lexical-binding cleanup.
18736
18737 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18738 (5x5-make-mutate-best):
18739 * play/fortune.el (fortune-in-buffer):
18740 * play/gomoku.el (gomoku-init-display):
18741 * play/solitaire.el (solitaire, solitaire-do-check):
18742 * play/tetris.el (tetris-default-update-speed-function):
18743 Mark unused parameters.
18744
18745 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18746 (bubbles--shift): Remove unused variable `char-org'.
18747 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18748 (bubbles--show-images): Remove unused variable `char'.
18749
18750 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18751 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18752 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18753 (decipher-analyze-buffer): Use ?\s.
18754 (decipher-make-checkpoint): Remove unused variable `mapping'.
18755
18756 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18757
18758 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18759 Remove unused variable `result'; use `let'.
18760
18761 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18762 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18763 (gametree-children-shown-p, gametree-compute-reduced-score):
18764 Use `ignore-errors'.
18765
18766 * play/handwrite.el (ps-lpr-switches): Declare.
18767 (handwrite): Remove unused variables `pmin' and `lastp'.
18768
18769 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18770
18771 * play/landmark.el (landmark-init-display)
18772 (landmark-update-naught-weights): Mark unused parameters.
18773 (landmark-y): Remove unused variable `noise'. Simplify.
18774 (landmark-human-plays): Remove unused variable `score'.
18775
18776 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18777 (mpuz-try-proposal): Remove unused variable `game'.
18778
18779 * play/zone.el (life-patterns): Declare.
18780
80f499c7
JB
187812011-04-20 Juanma Barranquero <lekktu@gmail.com>
18782
18783 * vc/vc.el (ediff-vc-internal): Declare function.
18784
024ff170
SM
187852011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18786
c0a193ea
SM
18787 * shell.el: Use lexical-binding and std completion UI.
18788 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18789 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18790 comint-preoutput-filter-functions rather than on
18791 comint-output-filter-functions.
18792 (shell-command-completion, shell--command-completion-data)
18793 (shell-filename-completion, shell-environment-variable-completion)
18794 (shell-c-a-p-replace-by-expanded-directory): New functions.
18795 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18796 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18797 (shell-dynamic-complete-environment-variable): Use them.
18798 (shell-dynamic-complete-as-environment-variable)
18799 (shell-dynamic-complete-as-command): Remove.
18800 (shell-match-partial-variable): Match past point.
18801 * comint.el: Clean up use of completion-at-point-functions.
18802 (comint-completion-at-point): New function.
18803 (comint-mode): Use it completion-at-point-functions.
18804 (comint-dynamic-complete): Make it obsolete.
18805 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18806 (comint-c-a-p-replace-by-expanded-history): New function.
18807 (comint-dynamic-complete-functions)
18808 (comint-replace-by-expanded-history): Use it.
18809 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18810 termination strings. Try harder to avoid second try-completion.
18811 (completion-in-region-mode-map): Disable bindings that don't work yet.
18812
2dbaa080
SM
18813 * comint.el: Use lexical-binding. Require CL.
18814 (comint-dynamic-complete-functions): Use comint-filename-completion.
18815 (comint-completion-addsuffix): Tweak custom type.
18816 (comint-filename-completion, comint--common-suffix)
18817 (comint--common-quoted-suffix, comint--table-subvert)
18818 (comint--complete-file-name-data): New functions.
18819 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18820 (comint-dynamic-list-filename-completions): Use them.
18821 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 18822
2dbaa080
SM
18823 * minibuffer.el (completion-in-region-mode):
18824 Keep completion-in-region-mode--predicate global.
18825 (completion-in-region--postch):
18826 Assume completion-in-region-mode--predicate is not null.
18827
c79a6f38
SM
18828 * progmodes/flymake.el (flymake-start-syntax-check-process):
18829 Obey `dir'. Simplify.
18830
024ff170
SM
18831 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18832 we're in VC after all.
18833
1c6c854e
CS
188342011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18835
18836 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 18837 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
18838 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18839
bed7f140
SM
188402011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18841
332e62ab
SM
18842 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18843 add sanity check.
18844
bed7f140
SM
18845 * obsolete/erc-hecomplete.el: Make obsolete.
18846 * obsolete/: Standardize obsolescence info in the header.
18847
f195c582
GM
188482011-04-20 Glenn Morris <rgm@gnu.org>
18849
18850 * calendar/solar.el (solar-horizontal-coordinates):
18851 Use the longitude argument rather than `calendar-longitude'.
18852 (solar-date-next-longitude): Remove unused locals.
18853
cb79b8c0
VJL
188542011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18855
18856 * whitespace.el: New version 13.2.1.
18857
188582011-04-20 felix <EmacsWiki> (tiny change)
18859
d8e4b68b 18860 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
18861 switching between major modes on a file.
18862
602ea69d
SM
188632011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18864
18865 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18866 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18867 multi-line comments as well.
18868
06b60517
JB
188692011-04-19 Juanma Barranquero <lekktu@gmail.com>
18870
18871 Lexical-binding cleanup.
18872
18873 * arc-mode.el (archive-mode-revert):
18874 * cmuscheme.el (scheme-interactively-start-process):
18875 * custom.el (custom-initialize-delay):
18876 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18877 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18878 * emacs-lock.el (emacs-lock-clear-sentinel):
18879 * ezimage.el (defezimage):
18880 * follow.el (follow-avoid-tail-recenter):
18881 * fringe.el (set-fringe-mode-1):
18882 * generic-x.el (bat-generic-mode-compile):
18883 * help-mode.el (help-info-variable, help-do-xref)
18884 (help-mode-revert-buffer):
18885 * help.el (view-emacs-todo):
18886 * iswitchb.el (iswitchb-completion-help):
18887 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18888 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18889 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18890 * locate.el (locate-update):
18891 * longlines.el (longlines-encode-region)
18892 (longlines-after-change-function):
18893 * outline.el (outline-isearch-open-invisible):
18894 * ps-def.el (declare-function, charset-dimension, char-width)
18895 (encode-char):
18896 * ps-mule.el (ps-mule-plot-string):
18897 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18898 (recentf-edit-list-select, recentf-edit-list-validate)
18899 (recentf-open-files-action):
18900 * rect.el (delete-whitespace-rectangle-line)
18901 (rectangle-number-line-callback):
18902 * register.el (window-configuration-to-register)
18903 (frame-configuration-to-register):
18904 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18905 * select.el (xselect-convert-to-string, xselect-convert-to-length)
18906 (xselect-convert-to-targets, xselect-convert-to-delete)
18907 (xselect-convert-to-filename, xselect-convert-to-charpos)
18908 (xselect-convert-to-lineno, xselect-convert-to-colno)
18909 (xselect-convert-to-os, xselect-convert-to-host)
18910 (xselect-convert-to-user, xselect-convert-to-class)
18911 (xselect-convert-to-name, xselect-convert-to-integer)
18912 (xselect-convert-to-atom, xselect-convert-to-identity):
18913 * subr.el (declare, ignore, process-kill-without-query)
18914 (text-clone-maintain):
18915 * terminal.el (te-get-char, te-tic-sentinel):
18916 * tool-bar.el (tool-bar-make-keymap):
18917 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18918 * type-break.el (type-break-mode, type-break-noninteractive-query):
18919 * view.el (View-back-to-mark):
18920 * wid-browse.el (widget-browse-action, widget-browse-widget)
18921 (widget-browse-widgets, widget-browse-sexp):
18922 * widget.el (define-widget-keywords):
18923 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18924 Mark unused parameters.
18925
18926 * align.el (align-adjust-col-for-rule): Mark unused parameter.
18927 (align-areas): Remove unused variable `look'.
18928 (align-region): Remove unused variables `real-end' and `pos-list'.
18929
18930 * apropos.el (apropos-score-doc): Remove unused variable `i'.
18931
18932 * bindings.el (mode-line-modified, mode-line-remote):
18933 Mark unused parameters.
18934 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18935
18936 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18937 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18938
18939 * comint.el (comint-history-isearch-pop-state)
18940 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18941 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18942 (comint-substitute-in-file-name): Doc fix.
18943
18944 * completion.el (cmpl-statistics-block): Mark unused parameter.
18945 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18946 (save-completions-to-file, load-completions-from-file):
18947 Remove unused local variable `e'.
18948
18949 * composite.el (compose-chars): Remove unused variable `len'.
18950 (lgstring-insert-glyph): Remove unused variable `g'.
18951 (compose-glyph-string): Remove unused variables `ascent',
18952 `descent', `lbearing' and `rbearing'.
18953 (compose-glyph-string-relative): Remove unused variables
18954 `lbearing', `rbearing' and `wadjust'.
18955 (compose-gstring-for-graphic): Remove unused variables `header',
18956 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18957 (compose-gstring-for-terminal): Remove unused variables `header'
18958 and `nchars'. Use `let', not `let*'.
18959
18960 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18961 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18962 (Custom-buffer-done, custom-buffer-create-internal)
18963 (custom-browse-visibility-action, custom-browse-group-tag-action)
18964 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18965 (widget-magic-mouse-down-action, custom-toggle-parent)
18966 (custom-add-parent-links, custom-toggle-hide-variable)
18967 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18968 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18969 (custom-face-menu-create, custom-variable-menu-create, get)
18970 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18971 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18972 (customize-apropos): Remove unused variable `tests'.
18973 (custom-group-value-create): Remove unused variable `hidden-p'.
18974 (sort-fold-case): Declare.
18975
18976 * cus-theme.el (custom-reset-standard-faces-list)
18977 (custom-reset-standard-variables-list): Declare.
18978 (customize-create-theme, custom-theme-revert, custom-theme-write)
18979 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18980 Mark unused parameters.
18981
18982 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18983
18984 * delim-col.el (delimit-columns-max): Move defvar before first use.
18985
18986 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 18987 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
18988
18989 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18990 (auto-insert): Declare.
18991 (desktop-restore-file-buffer): Rename desktop-* parameters;
18992 mark unused ones.
18993 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18994 (desktop-buffer): Rename desktop-* parameters.
18995
18996 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18997 (dframe-reposition-frame-xemacs, dframe-help-echo)
18998 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18999 Mark unused parameters.
19000
19001 * dired-aux.el (backup-extract-version-start, overwrite-query)
19002 (overwrite-backup-query, rename-regexp-query)
19003 (rename-non-directory-query): Declare.
19004 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19005 (dired-add-entry): Remove unused variable `orig-file-name'.
19006 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19007 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19008 `dired-copy-preserve-time' directly.
19009 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19010 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19011
19012 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19013 (dired-virtual-revert, dired-make-relative-symlink):
19014 Mark unused parameters.
19015 (manual-program): Declare.
19016 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19017 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19018 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19019
19020 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19021
19022 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19023
19024 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19025 Declare.
19026
19027 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19028
19029 * electric.el (Electric-command-loop): Rename parameter
19030 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19031
19032 * expand.el (expand-in-literal): Remove unused variable `here'.
19033
19034 * facemenu.el (facemenu-add-new-color):
19035 Remove unused variable `docstring'.
19036
19037 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19038 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19039 (face-attr-construct): Mark unused parameter. Doc fix.
19040 (read-color): Remove unused variable `hex-string'.
19041
19042 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19043 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19044 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19045 (display-buffer-other-frame): Remove unused variable `old-window'.
19046 (kill-buffer-hook): Declare.
19047 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19048 Mark unused parameters.
19049 (after-find-file): Pass 1 to `auto-save-mode', not t.
19050
19051 * files-x.el (auto-insert): Declare.
19052 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19053
19054 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 19055 variable `buf'. Mark unused parameter.
06b60517
JB
19056 (find-lisp-insert-directory): Mark unused parameter.
19057
19058 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19059 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19060 (format-common-tail): Remove, unused.
19061 (format-deannotate-region): Remove unused variable `loc'.
19062 (format-annotate-region): Remove unused variable `p'.
19063 (format-annotate-single-property-change): Remove unused variables
19064 `default' and `tail'.
19065
19066 * forms.el (read-file-filter): Declare.
19067 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19068
19069 * frame.el (frame-creation-function-alist): Mark unused parameter.
19070 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19071
19072 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19073 Remove unused parameters.
19074 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19075 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19076
19077 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19078 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19079 (hfy-prepare-tag-map): Mark unused parameters.
19080 (htmlfontify-buffer): Use `called-interactively-p'.
19081
19082 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19083 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19084 (ibuffer-do-occur): Mark unused parameters.
19085 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19086 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19087
19088 * ibuffer.el: Don't quote `lambda'.
19089 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19090 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19091 Mark unused parameters.
19092
19093 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19094 (ido-completing-read): Mark unused parameters.
19095 (ido-copy-current-word): Mark unused parameters;
19096 remove unused variable `name'.
19097 (ido-sort-merged-list): Remove unused parameter `dirs'.
19098
19099 * ielm.el (ielm-input-sender): Mark unused parameter.
19100 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19101 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19102 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19103 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19104 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19105
19106 * image-dired.el (image-dired-display-thumbs): Remove unused
19107 variables `curr-file' and `count'.
19108 (image-dired-remove-tag): Remove unused variable `start'.
19109 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19110 variable `curr-file'
19111 (image-dired-rotate-original): Remove unused variable `temp-file'.
19112 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19113 Remove unused variable `file'.
19114 (image-dired-gallery-generate): Remove unused variable `curr'.
19115 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19116
19117 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19118
19119 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19120
19121 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19122
19123 * isearch.el (minibuffer-history-symbol): Declare.
19124 (isearch-edit-string): Remove unused variable `err'.
19125 (isearch-message-prefix, isearch-message-suffix):
19126 Mark unused parameters.
19127
19128 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19129
19130 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19131
19132 * makesum.el (double-column): Remove unused variable `cnt'.
19133
19134 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19135 (ido-ignore-item-temp-list): Declare.
19136
19137 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19138 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19139 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19140 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19141 `mouse-col-delta'.
19142
19143 * mouse-sel.el (mouse-extend-internal):
19144 Remove unused variable `orig-window-frame'.
19145
19146 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19147 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19148 Move declarations before first use.
19149 (pcomplete-opt): Mark unused parameters; doc fix.
19150
19151 * proced.el (proced-revert): Mark unused parameter.
19152 (proced-send-signal): Remove unused variable `err'.
19153
19154 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19155 Rename parameter PREFIX-ARG to ARG.
19156 (ps-basic-plot-string, ps-basic-plot-whitespace):
19157 Mark unused parameters.
19158
19159 * replace.el (replace-count): Define.
19160 (occur-revert-function): Mark unused parameters.
19161 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19162 (isearch-case-fold-search, isearch-string): Declare.
19163 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19164 bind `case-fold-search'. Remove unused variables `beg' and `end',
19165 and simplify.
19166 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19167 COUNT and bind `replace-count'.
19168 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19169 to COUNT.
19170
19171 * savehist.el (print-readably, print-string-length): Declare.
19172
19173 * shadowfile.el (shadow-expand-cluster-in-file-name):
19174 Remove unused variable `cluster'.
19175 (shadow-copy-file): Remove unused variable `i'.
19176 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19177 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19178 (shadow-define-literal-group, shadow-define-regexp-group)
19179 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19180
19181 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19182 (shell): Use `called-interactively-p'.
19183 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19184
19185 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19186 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19187 (delete-backward-char): Remove unused variable `ocol'.
19188 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19189 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19190 (event-apply-hyper-modifier, event-apply-shift-modifier)
19191 (event-apply-control-modifier, event-apply-meta-modifier):
19192 Mark unused parameters.
19193 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19194 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19195
19196 * speedbar.el (speedbar-ignored-directory-expressions)
19197 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19198 (speedbar-find-file, speedbar-dir-follow)
19199 (speedbar-directory-buttons-follow, speedbar-tag-find)
19200 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19201 (speedbar-buffers-line-directory, speedbar-buffer-click):
19202 Mark unused parameters.
19203 (speedbar-tag-file): Remove unused variable `mode'.
19204 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19205
19206 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19207
19208 * talk.el (talk): Remove unused variable `display'.
19209
19210 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19211 (tar-write-region-annotate): Mark unused parameter.
19212
19213 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19214 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19215 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19216 warning by another.
19217
19218 * time-stamp.el (time-stamp-string-preprocess):
19219 Remove unused variable `require-padding'.
19220
19221 * tree-widget.el (widget-glyph-enable): Declare.
19222 (tree-widget-action): Mark unused parameter.
19223
19224 * w32-fns.el (x-get-selection): Mark unused parameter.
19225 (autoload-make-program, generated-autoload-file): Declare.
19226
19227 * wdired.el (wdired-revert): Mark unused parameters.
19228 (wdired-xcase-word): Remove unused variable `err'.
19229
19230 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19231 (whitespace-help-scroll): Remove unused variable `data-help'.
19232
19233 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19234 (widget-image-insert, widget-after-change, default)
19235 (widget-default-format-handler, widget-default-notify)
19236 (widget-default-prompt-value, widget-info-link-action)
19237 (widget-url-link-action, widget-function-link-action)
19238 (widget-variable-link-action, widget-file-link-action)
19239 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19240 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19241 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19242 (widget-insert-button-action, widget-delete-button-action, visibility)
19243 (widget-documentation-link-action, widget-documentation-string-action)
19244 (widget-const-prompt-value, widget-regexp-match, symbol)
19245 (widget-coding-system-prompt-value)
19246 (widget-key-sequence-value-to-external, sexp)
19247 (widget-sexp-value-to-internal, character, vector, cons)
19248 (widget-choice-prompt-value, widget-boolean-prompt-value)
19249 (widget-color--choose-action): Mark unused parameters.
19250 (widget-item-match-inline, widget-choice-match-inline)
19251 (widget-checklist-match, widget-checklist-match-inline)
19252 (widget-group-match): Rename parameter VALUES to VALS.
19253 (widget-field-value-set): Remove unused variable `size'.
19254 (widget-color-action): Remove unused variables `value' and `start'.
19255
19256 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 19257 variable `dir'. Doc fix.
06b60517
JB
19258 (windmove-find-other-window): Don't pass it.
19259
19260 * window.el (count-windows): Mark unused parameter.
19261 (bw-adjust-window): Remove unused variable `err'.
19262
19263 * woman.el (woman-file-name): Remove unused variable `default'.
19264 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19265 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19266 (global-font-lock-mode): Declare.
19267 (woman-decode-region): Mark unused parameter.
19268 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19269
19270 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19271 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19272 (x-dnd-handle-moz-url): Remove unused variable `title'.
19273 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19274
19275 * xml.el (xml-parse-tag, xml-parse-attlist):
19276 Remove unused variable `pos'.
19277
bc4f7f3d
GM
192782011-04-19 Glenn Morris <rgm@gnu.org>
19279
19280 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19281 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19282 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19283 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19284 * calendar/cal-html.el (cal-html-insert-minical):
19285 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19286 (calendar-mark-date-pattern):
19287 Prefix "unused" locals.
19288
19289 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19290 optional argument `style'.
19291
19292 * calendar/appt.el (appt-make-list):
19293 * calendar/cal-china.el (calendar-chinese-date-string):
19294 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19295 (diary-hebrew-yahrzeit):
19296 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19297 * calendar/calendar.el (calendar-generate-window):
19298 * calendar/time-date.el (time-to-days):
19299 Remove unused local variables.
19300
16a43933
CY
193012011-04-18 Chong Yidong <cyd@stupidchicken.com>
19302
19303 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19304 glyphless-char-display table.
19305 (tabulated-list-glyphless-char-display): New var.
19306
7eed1860
SS
193072011-04-18 Sam Steingold <sds@gnu.org>
19308
19309 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19310 to acknowledgments.
19311
4d2d1ccd
GM
193122011-04-17 Glenn Morris <rgm@gnu.org>
19313
19314 * calendar/diary-lib.el (diary-sexp-entry):
19315 * calendar/holidays.el (holiday-sexp):
19316 Set debug-on-error rather than the removed stack-trace-on-error.
19317
239da61d
GM
193182011-04-16 Glenn Morris <rgm@gnu.org>
19319
19320 * progmodes/f90.el: Use lexical-binding.
19321 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19322
8b05752a
SM
193232011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19324
daca8ba5
SM
19325 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19326 (mail-mode): Setup mailalias completion here instead.
19327 * mail/mailalias.el: Use lexical-binding.
19328 (pattern, mailalias-done): Declare dynamic.
19329 (mail-completion-at-point-function): New function, from mail-complete.
19330 (mail-complete): Use it.
19331 (mail-completion-expand): New function.
19332 (mail-get-names): Use it.
19333 (mail-directory, mail-directory-process, mail-directory-stream):
19334 Don't use `pattern' for lexically bound arg.
19335
6f542485
SM
19336 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19337
037e7c3f
SM
19338 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19339 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19340 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19341
8b05752a
SM
19342 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19343 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19344 (byte-interactive-p): Define them again, for use when inlining
19345 old code.
19346
49093f60
JB
193472011-04-15 Juanma Barranquero <lekktu@gmail.com>
19348
19349 * loadup.el: Use `string-to-number', not `string-to-int'.
19350
b5b8e7de
SM
193512011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19352
19353 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19354 gud-gdb-complete-command.
19355 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19356 (gud-gdb-completion-at-point): New function.
19357 (gud-gdb-completions): Remove.
19358
f42efeb5
MA
193592011-04-14 Michael Albinus <michael.albinus@gmx.de>
19360
49093f60
JB
19361 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19362 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19363 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19364 whether `executable-find' is bound.
f42efeb5
MA
19365
19366 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19367
e240cc21
SM
193682011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19369
19370 * minibuffer.el (completion-in-region-mode-predicate)
19371 (completion-in-region-mode--predicate): New vars.
19372 (completion-in-region, completion-in-region--postch)
19373 (completion-in-region-mode): Use them.
19374 (completion--capf-wrapper): Also return the hook function.
19375 (completion-at-point, completion-help-at-point):
19376 Adjust and provide a predicate.
c2bd2ab0
SM
19377
19378 Preserve arg names for advice of subr and lexical functions (bug#8457).
19379 * help-fns.el (help-function-arglist): Consolidate the subr and
19380 new-byte-code cases. Add argument `preserve-names' to extract names
19381 from the docstring when needed.
19382 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19383 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19384 (ad-arglist): Use help-function-arglist's new arg.
19385 (ad-definition-type): Use cond.
19386
c183f693
JB
193872011-04-13 Juanma Barranquero <lekktu@gmail.com>
19388
06641a47
JB
19389 * autorevert.el (auto-revert-handler):
19390 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19391 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19392 Don't quote lambda.
19393
c183f693
JB
19394 * image-mode.el (image-transform-set-scale):
19395 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19396
1e3b6001
G
193972011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19398
19399 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 19400 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
19401 Upgrades via gnutls-cli are too slow to be done opportunistically.
19402
2d6af8dd
JB
194032011-04-12 Juanma Barranquero <lekktu@gmail.com>
19404
19405 * dframe.el (dframe-current-frame): Remove spurious quote.
19406
c0749a51
GM
194072011-04-12 Glenn Morris <rgm@gnu.org>
19408
088d0d61
GM
19409 * calendar/cal-tex.el (cal-tex-end-document):
19410 Try to automatically use latin1 input if needed.
19411
c0749a51
GM
19412 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19413 Don't try to cons a mark onto an empty element.
19414
5c90fde0
LL
194152011-04-11 Leo Liu <sdl.web@gmail.com>
19416
19417 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19418 buffers.
19419 (ido-kill-buffer-at-head): Support killing virtual buffers.
19420
369e974d
CY
194212011-04-10 Chong Yidong <cyd@stupidchicken.com>
19422
19423 * minibuffer.el (completion-show-inline-help): New var.
19424 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
19425 (minibuffer-force-complete, minibuffer-complete-word):
19426 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
19427
19428 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19429 to avoid interference from inline help (Bug#5849).
19430
37f1c930
LL
194312011-04-10 Leo Liu <sdl.web@gmail.com>
19432
099c39a4
JB
19433 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19434 Fix typo.
37f1c930 19435
a32d4040
CY
194362011-04-09 Chong Yidong <cyd@stupidchicken.com>
19437
19438 * image-mode.el (image-toggle-display-image): Signal an error if
19439 not in Image mode.
19440 (image-transform-mode, image-transform-resize)
19441 (image-transform-set-rotation): Doc fix.
daca8ba5 19442 (image-transform-set-resize): Delete.
a32d4040
CY
19443 (image-transform-set-scale, image-transform-fit-to-height)
19444 (image-transform-fit-to-width): Handle image-toggle-display-image
19445 and image-transform-resize directly.
19446
099c39a4 194472011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
19448
19449 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
19450 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19451 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
19452 (doc-view-mode-map): Add bindings for the new functions.
19453
099c39a4 194542011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 19455
4d61f28d 19456 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
19457 Fix typo in docstring.
19458
3726838a
EZ
194592011-04-08 Eli Zaretskii <eliz@gnu.org>
19460
04f33f1e
EZ
19461 * files.el (file-size-human-readable): Produce one digit after
19462 decimal, like "ls -lh" does.
19463
19464 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19465 the file size representation.
19466
3726838a
EZ
19467 * simple.el (list-processes): If async subprocesses are not
19468 available, error out with a clear error message.
19469
cbb59342
CY
194702011-04-08 Chong Yidong <cyd@stupidchicken.com>
19471
19472 * help.el (help-form-show): New function, to be called from C.
19473 Put help-form output in a buffer named differently than *Help*.
19474
e3971c44
EZ
194752011-04-08 Eli Zaretskii <eliz@gnu.org>
19476
19477 * files.el (file-size-human-readable): New function.
19478
19479 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19480 computing the representation inline. Don't require `cl'.
19481
12544bbe
GM
194822011-04-08 Glenn Morris <rgm@gnu.org>
19483
a1de6c6a
GM
19484 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19485
3c4671f4
GM
19486 * net/browse-url.el (browse-url-firefox):
19487 Test system-type, not system-configuration.
19488
b605679c
GM
19489 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19490 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19491 Use log-edit-empty-buffer-p. (Bug#7598)
19492
56442f0c
GM
19493 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19494 (rlogin-mode-map): Initialize in the defvar.
19495 (rlogin): Use ignore-errors.
19496
12544bbe
GM
19497 * replace.el (occur-mode-map): Some fixes for menu items.
19498
eb237b0f
AH
194992011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19500
19501 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19502
7d668f2c
CY
195032011-04-06 Chong Yidong <cyd@stupidchicken.com>
19504
e67a13ab
CY
19505 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19506 issuing unused warnings.
19507
19508 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19509 macro directly.
19510
7d668f2c
CY
19511 * simple.el: Lisp reimplement of list-processes. Based on an
19512 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19513 (process-menu-mode): New major mode.
19514 (list-processes--refresh, list-processes):
19515 (process-menu-visit-buffer): New functions.
19516
19517 * files.el (save-buffers-kill-emacs): Don't assume any return
19518 value of list-processes, which is undocumented anyway.
19519
a83ec3c9
CY
195202011-04-06 Chong Yidong <cyd@stupidchicken.com>
19521
19522 * emacs-lisp/tabulated-list.el: New file.
19523
e91a96fe
CY
19524 * emacs-lisp/package.el: Use Tabulated List mode.
19525 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19526 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19527 table format using Tabulated List mode variables.
19528 (package--push): New macro, replacing package-list-maybe-add.
19529 (package-menu--generate): Use package--push. Renamed from
19530 package--generate-package-list.
19531 (package-menu-refresh, list-packages): Use it.
daca8ba5 19532 (package-menu--print-info): Rename from package-print-package.
e91a96fe 19533 Return insertion data instead of inserting it directly.
099c39a4
JB
19534 (package-menu-describe-package, package-menu-execute):
19535 Use tabulated-list-get-id.
e91a96fe
CY
19536 (package-menu-mark-delete, package-menu-mark-install)
19537 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
19538 (package-menu-mark-obsolete-for-deletion):
19539 Use tabulated-list-put-tag.
e91a96fe
CY
19540 (package--list-packages, package-menu-revert)
19541 (package-menu-get-package, package-menu-get-version)
19542 (package-menu-sort-by-column): Functions deleted.
19543 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19544 (package-menu--status-predicate, package-menu--version-predicate)
19545 (package-menu--name-predicate)
19546 (package-menu--description-predicate): Handle arguments in the
19547 Tabulated List format.
19548 (package-list-packages-no-fetch): Call list-packages.
19549
3e214b50
JB
195502011-04-06 Juanma Barranquero <lekktu@gmail.com>
19551
19552 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 19553 (after-find-file): Don't bind it.
3e214b50
JB
19554 (revert-buffer-in-progress-p): New variable.
19555 (revert-buffer): Bind it.
19556 Pass nil for `after-find-file-from-revert-buffer'.
19557
19558 * saveplace.el (save-place-find-file-hook): Use new variable
19559 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19560
3f0f1700
GM
195612011-04-06 Glenn Morris <rgm@gnu.org>
19562
c0274801
GM
19563 * Makefile.in (AUTOGEN_VCS): New variable.
19564 (autoloads): Use $AUTOGEN_VCS.
19565
3f0f1700
GM
19566 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19567 * calendar/calendar.el (calendar-mode-map):
19568 Check for toolkit scroll bars. (Bug#8305)
19569
41ea9e48
CY
195702011-04-05 Chong Yidong <cyd@stupidchicken.com>
19571
19572 * minibuffer.el (completion-in-region--postch)
19573 (completion-in-region-mode): Remove unnecessary messages.
19574
6194c800
JB
195752011-04-05 Juanma Barranquero <lekktu@gmail.com>
19576
33256f14
JB
19577 * font-lock.el (font-lock-refresh-defaults):
19578 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19579 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19580
6194c800
JB
19581 * info.el (Info-directory-list, Info-read-node-name-2)
19582 (Info-split-parameter-string): Doc fixes.
19583 (Info-virtual-nodes): Reflow docstring.
19584 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19585 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19586 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19587 Fix typos in docstrings.
19588 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19589 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19590 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19591 (Info-restore-desktop-buffer): Mark unused parameters.
19592 (Info-directory-find-file, Info-directory-find-node)
19593 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19594 (Info-virtual-index-find-node, Info-apropos-find-file)
19595 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 19596 Mark unused parameters; fix typos in docstrings.
6194c800
JB
19597 (Info-virtual-index): Remove unused local variable `nodename'.
19598
b87a8200 195992011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 19600
b87a8200
DD
19601 * net/rcirc.el: Update my e-mail address.
19602 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 19603
3b2ff876
CY
196042011-04-05 Chong Yidong <cyd@stupidchicken.com>
19605
19606 * startup.el (command-line): Save the cursor's theme-face
19607 directly, instead of using face-override-spec.
19608
19609 * custom.el (load-theme): Minor optimization in assigning faces.
19610
8d17e7ca
JB
196112011-04-04 Juanma Barranquero <lekktu@gmail.com>
19612
19613 * help-fns.el (describe-variable): Complete all variables having
19614 documentation, including keywords.
19615 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19616
2fbc1934
JB
196172011-04-04 Juanma Barranquero <lekktu@gmail.com>
19618
19619 Convert to lexical-binding.
19620
19621 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19622 (bs--get-marked-string, bs--get-modified-string)
19623 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19624 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19625 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19626
19627 * ehelp.el (electric-help-execute-extended)
19628 (electric-help-ctrl-x-prefix):
19629 * hexl.el (hexl-revert-buffer-function):
19630 * linum.el (linum-after-change, linum-after-scroll):
19631 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19632
19633 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19634
74f50695
DU
196352011-04-04 Daiki Ueno <ueno@unixuser.org>
19636
19637 * epa-dired.el:
19638 * epa-mail.el:
19639 * epa-hook.el:
19640 * epa-file.el:
19641 * epa.el:
19642 * epg.el: Use lexical binding.
19643
c11325f7
CY
196442011-04-03 Chong Yidong <cyd@stupidchicken.com>
19645
0d9e9a12
CY
19646 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19647
c11325f7 19648 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
19649 dictionary case for flyspell-mark-duplications-exceptions.
19650 Use regexp matching for languages.
c11325f7
CY
19651 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19652 default dictionary (Bug#7926).
19653
da91b5f2
CY
196542011-04-02 Chong Yidong <cyd@stupidchicken.com>
19655
099c39a4
JB
19656 * emacs-lisp/package.el (package--with-work-buffer):
19657 Recognize https URLs.
da91b5f2 19658
099c39a4
JB
19659 * net/network-stream.el: Move from gnus/proto-stream.el.
19660 Change prefix to network-stream throughout.
da91b5f2
CY
19661 (open-protocol-stream): Merge into open-network-stream, leaving
19662 open-protocol-stream as an alias. Handle nil BUFFER args.
19663
19664 * subr.el (open-network-stream): Move to net/network-stream.el.
19665
afa8e9f6
GM
196662011-04-02 Glenn Morris <rgm@gnu.org>
19667
1d2e369d
GM
19668 * find-dired.el (find-exec-terminator): New option.
19669 (find-ls-option): Test for -ls support.
19670 (find-ls-subdir-switches): Test for -b in find-ls-option.
19671 (find-dired, find-grep-dired): Doc fixes.
19672 (find-dired): Use find-exec-terminator.
19673
8abb7da8 19674 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
19675 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19676 (find-name-arg): Remove purecopy.
8abb7da8 19677
f3ca7378
GM
19678 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19679 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19680 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19681 accordingly. Don't add the null-device if not needed.
19682
afa8e9f6
GM
19683 * files.el (save-some-buffers): Doc fix.
19684
35eae264
EZ
196852011-04-02 Eli Zaretskii <eliz@gnu.org>
19686
19687 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19688
26b51db5
JB
196892011-04-01 Juanma Barranquero <lekktu@gmail.com>
19690
19691 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19692 Use `dolist' rather than `mapcar'.
19693
7200d79c
SM
196942011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19695
03408648 19696 Add lexical binding.
7200d79c 19697
03408648
SM
19698 * subr.el (apply-partially): Use new closures rather than CL.
19699 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19700 (dolist, dotimes): Use slightly different expansion for lexical code.
19701 (functionp): Move to C.
19702 (letrec): New macro.
19703 (with-wrapper-hook): Use it and apply-partially instead of CL.
19704 (eval-after-load): Preserve lexical-binding.
19705 (save-window-excursion, with-output-to-temp-buffer): Turn them
19706 into macros.
7200d79c 19707
03408648
SM
19708 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19709
19710 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19711 than the arglist.
19712 (help-add-fundoc-usage): Don't add `Not documented'.
19713 (help-function-arglist): Handle closures, subroutines, and new
19714 byte-code-functions.
19715 (help-make-usage): Remove leading underscores.
19716 (describe-function-1): Handle closures.
19717 (describe-variable): Use special-variable-p for completion.
19718
19719 * files.el (lexical-binding): Declare safe.
f488fb65 19720
03408648
SM
19721 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19722 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19723 (pcase): Add `let' pattern.
19724 Change memoization so it actually works.
19725 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19726 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19727 <let>: New case.
f488fb65 19728
03408648
SM
19729 * emacs-lisp/macroexp.el: Use lexical binding.
19730 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19731 Don't convert ' to #' without checking that it's indeed quoting
19732 a lambda.
19733
19734 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 19735 Use eval-sexp-add-defvars.
03408648
SM
19736 (eval-sexp-add-defvars): New fun.
19737
19738 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19739
19740 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19741 Don't autoload.
19742 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19743 than the internal `byte-compile-lambda'.
19744 (defmethod): Don't hide code under quotes.
19745 (eieio-defmethod): New `code' argument.
19746
19747 * emacs-lisp/eieio-comp.el: Remove.
19748
19749 * emacs-lisp/edebug.el (edebug-eval-defun)
19750 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19751 (edebug-toggle): Avoid `eval'.
19752
19753 * emacs-lisp/disass.el (disassemble-internal): Handle new
19754 `closure' objects.
19755 (disassemble-1): Handle new byte codes.
19756
19757 * emacs-lisp/cl.el (pushnew): Silence warning.
19758
19759 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19760 (cl-byte-compile-throw): Remove.
19761 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19762
19763 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19764 closures.
19765
19766 * emacs-lisp/cconv.el: New file.
19767
19768 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19769 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19770 (byte-compile-initial-macro-environment):
19771 Handle declare-function here.
19772 (byte-compile--lexical-environment): New var.
19773 (byte-stack-ref, byte-stack-set, byte-discardN)
19774 (byte-discardN-preserve-tos): New lap codes.
19775 (byte-interactive-p): Don't use any more.
19776 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19777 New macros.
19778 (byte-compile-lapcode): Use them and handle new lap codes.
19779 (byte-compile-obsolete): Remove.
19780 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19781 (byte-compile-arglist-warn): Check late def of inlinable funs.
19782 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19783 since they should have been expanded by now.
19784 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19785 (byte-compile-from-buffer): Remove unused second arg.
19786 (byte-compile-preprocess): New function.
19787 (byte-compile-toplevel-file-form): New function to distinguish
19788 file-form calls from outside from file-form calls from hunk-handlers.
19789 (byte-compile-file-form): Simplify.
19790 (byte-compile-file-form-defsubst): Remove.
19791 (byte-compile-file-form-defmumble): Simplify now that
19792 byte-compile-lambda always returns a byte-code-function.
19793 (byte-compile): Preprocess.
19794 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19795 Remove, not used any more.
19796 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19797 (byte-compile-make-args-desc): New funs.
19798 (byte-compile-lambda): Handle lexical functions. Always return
19799 a byte-code-function.
19800 (byte-compile-reserved-constants): New var, to make up room for
19801 closed-over variables.
19802 (byte-compile-constants-vector): Obey it.
19803 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19804 (byte-compile-macroexpand-declare-function): New function.
19805 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19806 byte-code-functions.
19807 (byte-compile-form): Check obsolescence here.
19808 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19809 (byte-compile-variable-ref): Remove.
19810 (byte-compile-dynamic-variable-op): New fun.
19811 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19812 (byte-compile-variable-set): New funs.
19813 (byte-compile-discard): Add 2 args.
19814 (byte-compile-stack-ref, byte-compile-stack-set)
19815 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19816 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19817 macroexpand-all instead.
19818 (byte-compile-quote-form): Remove.
19819 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19820 (byte-compile-bind, byte-compile-unbind): New funs.
19821 (byte-compile-let): Handle let* and lexical binding.
19822 (byte-compile-let*): Remove.
19823 (byte-compile-catch, byte-compile-unwind-protect)
19824 (byte-compile-track-mouse, byte-compile-condition-case):
19825 Handle a new :fun-body form, used for lexical scoping.
19826 (byte-compile-save-window-excursion)
19827 (byte-compile-with-output-to-temp-buffer): Remove.
19828 (byte-compile-defun): Simplify.
19829 (byte-compile-stack-adjustment): New fun.
19830 (byte-compile-out): Use it.
19831 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19832
19833 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19834 handler any more.
19835
19836 * emacs-lisp/byte-opt.el: Use lexical binding.
19837 (byte-inline-lapcode): Remove (to bytecomp).
19838 (byte-compile-inline-expand): Pay attention to inlining to/from
19839 lexically bound code.
19840 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19841 any more.
19842 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19843 any more and don't call compiler-macros.
19844 (byte-compile-splice-in-already-compiled-code): Remove.
19845 (byte-code): Don't inline any more.
19846 (disassemble-offset): Receive `bytes' as argument rather than via
19847 dynamic scoping.
19848 (byte-compile-tag-number): Declare before first use.
19849 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19850 `return' even if make-spliceable.
19851 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19852 obsolete interactive-p.
19853 (byte-optimize-lapcode): Optimize new lap-codes.
19854 Don't trip up on new form of `byte-constant' lap code.
19855
19856 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19857
19858 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19859
19860 * custom.el (custom-initialize-default, custom-declare-variable):
19861 Use `defvar'.
19862
19863 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19864 New variables.
19865 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19866 (COMPILE_FIRST): Add macroexp and cconv.
19867 * makefile.w32-in: Mirror changes in Makefile.in.
19868
19869 * vc/cvs-status.el:
19870 * vc/diff-mode.el:
19871 * vc/log-edit.el:
19872 * vc/log-view.el:
19873 * vc/smerge-mode.el:
19874 * textmodes/bibtex-style.el:
090bd7cb 19875 * textmodes/css-mode.el:
03408648
SM
19876 * startup.el:
19877 * uniquify.el:
da91b5f2
CY
19878 * minibuffer.el:
19879 * newcomment.el:
19880 * reveal.el:
19881 * server.el:
19882 * mpc.el:
19883 * emacs-lisp/smie.el:
19884 * doc-view.el:
19885 * dired.el:
03408648
SM
19886 * abbrev.el: Use lexical binding.
19887
0f0c1f27
EZ
198882011-04-01 Eli Zaretskii <eliz@gnu.org>
19889
19890 * info.el (info-display-manual): New function.
19891
c82b2579
SM
198922011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
19893
19894 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19895
221ddf68
TH
198962011-03-31 Tassilo Horn <tassilo@member.fsf.org>
19897
19898 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 19899 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 19900
cba6e77e
GM
199012011-03-31 Glenn Morris <rgm@gnu.org>
19902
e040639f
GM
19903 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19904
cba6e77e
GM
19905 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19906
6d0f1c9e
CS
199072011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
19908
19909 * progmodes/python.el (python-default-interpreter)
19910 (python-python-command-args, python-jython-command-args)
19911 (python-which-shell, python-which-args, python-which-bufname)
19912 (python-file-queue, python-comint-output-filter-function)
19913 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19914 variables and functions.
19915
3e2d70fd
SM
199162011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
19917
19918 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19919 (completion-in-region-mode): New minor mode.
19920 (completion-in-region): Use it.
19921 (completion-in-region--data, completion-in-region-mode-map): New vars.
19922 (completion-in-region--postch): New function.
19923 (completion--capf-misbehave-funs, completion--capf-safe-funs):
19924 New vars.
19925 (completion--capf-wrapper): New function.
19926 (completion-at-point): Use it to track well-behavedness of
19927 hook functions.
19928 (completion-help-at-point): New command.
19929
f3e4086c
JM
199302011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
19931
19932 * vc/add-log.el (add-change-log-entry): Don't use whitespace
19933 syntax class to search for whitespace on a single line
19934 (Message-ID: <4D938140.4030905@redhat.com>).
19935
eb7ffc14
LL
199362011-03-30 Leo Liu <sdl.web@gmail.com>
19937
19938 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19939 New commands.
19940 (edit-abbrevs-map): Bind them here.
19941 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
19942
d806ab68
KM
199432011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
19944
19945 * allout.el (allout-hide-by-annotation, allout-flag-region):
19946 Reduce possibility of overlay leakage by making them volatile.
19947
19948 * allout-widgets.el (allout-widgets-tally): Define as nil so the
19949 hash is not shared between buffers. Mode initialization is
19950 responsible for giving it a useful starting value.
19951 (allout-item-span): Reduce possibility of overlay leakage by
19952 making them volatile.
19953 (allout-widgets-count-buttons-in-region): Add diagnostic function
19954 for tracking down button overlay leaks.
19955
ea622834
LL
199562011-03-29 Leo Liu <sdl.web@gmail.com>
19957
19958 * ido.el (ido-read-internal): Use the default history var
19959 minibuffer-history if no HISTORY is specified.
19960
b62f8267
G
199612011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19962
03408648
SM
19963 * net/imap.el (imap-shell-open, imap-process-connection-type):
19964 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
19965 Kerberos, SSL, other subprocesses.
19966
947b6566
LL
199672011-03-28 Leo Liu <sdl.web@gmail.com>
19968
19969 * abbrev.el (abbrev-table-empty-p): New function.
19970 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19971 nonempty ones. (Bug#5937)
19972
5ffb62aa
JD
199732011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19974
19975 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19976
7a097943
LL
199772011-03-27 Leo Liu <sdl.web@gmail.com>
19978
19979 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19980 for foreground and background colors.
19981 (ansi-color-make-color-map): Adapt.
19982
c5b40130
LL
199832011-03-25 Leo Liu <sdl.web@gmail.com>
19984
1f48f7d2
LL
19985 * midnight.el (midnight-time-float): Remove. Note it calculates
19986 the microsecond component incorrectly and seconds-to-time does the
19987 same job.
625897ec 19988 Remove redundant (require 'timer).
1f48f7d2 19989
c5b40130
LL
19990 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19991 (ido-completions): Remove unused arguments. (Bug#8329)
19992
d86d2721
SM
199932011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19994
19995 * minibuffer.el (completion--flush-all-sorted-completions):
19996 Remove itself from hook.
19997 (completion-at-point): Let the functions perform the completion
19998 immediately and return nil or t.
19999 * comint.el (comint-dynamic-complete-functions): Now identical to
20000 completion-at-point-functions.
20001 (comint-dynamic-list-input-ring): Remove unused var `index'.
20002 (comint--match-partial-filename, comint--unquote&expand-filename):
20003 New funs, split from comint-match-partial-filename.
20004 (comint-dynamic-complete): Use completion-at-point.
20005 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20006
e8974c48
DA
200072011-03-24 Drew Adams <drew.adams@oracle.com>
20008
20009 * thingatpt.el: Support `defun'.
20010
def71b5e
LL
200112011-03-23 Leo Liu <sdl.web@gmail.com>
20012
cb5af48e
LL
20013 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20014
def71b5e
LL
20015 * help-mode.el (help-mode-finish): Tweak regexp.
20016
927c53e7
GM
200172011-03-23 Glenn Morris <rgm@gnu.org>
20018
18d05bed
GM
20019 * eshell/esh-opt.el (eshell-eval-using-options):
20020 Do not bind unused local variable `eshell-option-stub'.
20021
927c53e7
GM
20022 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20023
9d0da923
JB
200242011-03-22 Juanma Barranquero <lekktu@gmail.com>
20025
20026 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20027 keymap variable in `with-no-warnings' to avoid a warning when the
20028 keymap has been already `defconst'ed.
20029
4b978a67
LL
200302011-03-22 Leo Liu <sdl.web@gmail.com>
20031
20032 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20033 encode all chars in abbrevs; otherwise use emacs-mule or
20034 utf-8-emacs. (Bug#8308)
20035
5fd62452
JB
200362011-03-22 Juanma Barranquero <lekktu@gmail.com>
20037
0b1596c6
JB
20038 * simple.el (backward-delete-char-untabify):
20039 Avoid warning about using `delete-backward-char'.
20040
5fd62452
JB
20041 * image.el (image-type-file-name-regexps): Make it variable.
20042 `imagemagick-register-types' modifies it, and the user may want
20043 to add new extensions for known image types.
20044 (imagemagick-register-types): Throw error if not using ImageMagick.
20045
0b4e93f1
LL
200462011-03-22 Leo Liu <sdl.web@gmail.com>
20047
20048 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20049 located before rcirc-prompt-end-marker.
20050 (rcirc-complete): Error if point is not after rcirc prompt.
20051 Handle the case when table is nil.
9882e214 20052 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 20053
fccee4ab
CY
200542011-03-22 Chong Yidong <cyd@stupidchicken.com>
20055
20056 * custom.el (custom--inhibit-theme-enable): Make it affect only
20057 custom-theme-set-variables and custom-theme-set-faces.
20058 (provide-theme): Ignore custom--inhibit-theme-enable.
20059 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20060 (custom-enabling-themes): Delete variable.
d86d2721
SM
20061 (enable-theme): Accept only loaded themes as arguments.
20062 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
20063 (custom-enabled-themes): Forbid themes from setting this.
20064 Eliminate use of custom-enabling-themes.
20065 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 20066
af896da6
LL
200672011-03-21 Leo Liu <sdl.web@gmail.com>
20068
20069 * ido.el (ido-read-internal): Add ido-selected to history instead
20070 of user input.
20071
78f64af0
SM
200722011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20073
20074 * subr.el (deferred-action-list, deferred-action-function):
20075 Mark obsolete.
20076
b16ac1ec
LL
200772011-03-21 Leo Liu <sdl.web@gmail.com>
20078
810f7698
LL
20079 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20080 change on 2011-02-13 (bug#8309).
20081
b16ac1ec
LL
20082 * minibuffer.el (read-file-name-function): Change default value.
20083 (read-file-name--defaults): Rename from read-file-name-defaults.
20084 (read-file-name-default): Rename from read-file-name.
20085 (read-file-name): Call read-file-name-function.
20086
4e05e67e
GM
200872011-03-21 Glenn Morris <rgm@gnu.org>
20088
20089 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20090 Doc fixes.
20091
4359915b
CY
200922011-03-21 Chong Yidong <cyd@stupidchicken.com>
20093
20094 * cus-theme.el: Add missing provide statement.
20095 (customize-create-theme): Extract theme value correctly.
20096 (custom-theme-visit-theme): Autoload.
20097 (customize-create-theme): Prompt before inserting default faces.
20098
1fe275ee
JB
200992011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20100
20101 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20102 units and musical notes.
20103
cd394be1 201042011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
20105
20106 * ido.el (ido-read-internal): Use completing-read-default.
20107 (ido-completing-read): Fix compatibility with completing-read.
20108
7d476bde
CO
201092011-03-20 Christian Ohler <ohler@gnu.org>
20110
20111 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20112 (ert-delete-all-tests): Use `called-interactively-p' rather than
20113 `interactive-p'.
20114 (ert--make-xrefs-region): Respect END.
20115
fe0fb33e
CY
201162011-03-19 Chong Yidong <cyd@stupidchicken.com>
20117
ff854b0b
CY
20118 * dired-aux.el (dired-create-directory): Signal an error if the
20119 directory already exists (Bug#8246).
20120
fe0fb33e
CY
20121 * facemenu.el (list-colors-display): Call list-faces-display
20122 inside with-help-window.
20123 (list-colors-print): Use display property to align the final
20124 column, instead of checking window-width.
20125
576bce32
EZ
201262011-03-19 Eli Zaretskii <eliz@gnu.org>
20127
4d61f28d 20128 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
20129 windows-nt systems.
20130 (emerge-protect-metachars): Quote correctly for ms-dos and
20131 windows-nt systems.
20132
89c41d68 201332011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
20134
20135 * info.el (info-initialize): Replace all uses of `:' with
20136 path-separator for compatibility with non-Unix systems.
20137 Cache quoting of path-separator. (Bug#8258)
20138
b14e3e21 201392011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
20140
20141 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20142 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20143 (mouse-avoidance-mode): Fix typos in docstrings.
20144
4525ce3e
CY
201452011-03-19 Chong Yidong <cyd@stupidchicken.com>
20146
20147 * startup.el (package-subdirectory-regexp): Move from package.el.
20148 Omit \\` and \\', and let callers add them.
20149
20150 * emacs-lisp/package.el (package-strip-version)
20151 (package-load-all-descriptors): Add \\` and \\' to
20152 package-subdirectory-regexp before using it.
20153 (package-untar-buffer): New arg DIR; ensure that file untars only
20154 into this expected directory. Remove superfluous delete-region.
20155 (package-unpack): Caller changed.
20156 (package-tar-file-info): Use package-subdirectory-regexp.
20157
a904a09a 201582011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 20159
a904a09a
SM
20160 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20161 diff-mode-shared-map (bug#8284).
20162 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
20163
201642011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20165
20166 * calendar/time-date.el (format-seconds): Use assoc instead of
20167 assoc-string, since assoc-string doesn't exist in XEmacs.
20168
171fc304
JB
201692011-03-17 Juanma Barranquero <lekktu@gmail.com>
20170
20171 * custom.el (custom-known-themes): Reflow docstring.
20172 (custom-theme-load-path): Fix typo in docstring.
20173 (load-theme): Fix typo in error message.
20174 (custom-available-themes, custom-variable-theme-value):
20175 Use `let', not `let*'.
20176
d71990a1
JB
201772011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20178
20179 * calc/README: Mention inclusion of musical notes.
20180
20181 * calc/calc-units.el (calc-lu-quant): Rename from
20182 `calc-logunits-quantity'.
20183 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20184 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20185 (calc-db): Rename from `calc-dblevel'.
20186 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20187 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20188 (calc-np): Rename from `calc-nplevel'.
20189 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20190 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20191 (calc-lu-plus): Rename from `calc-logunits-add'.
20192 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20193 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20194 (calc-lu-minus): Rename from `calc-logunits-sub'.
20195 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20196 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20197 (calc-lu-times): Rename from `calc-logunits-mul'.
20198 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20199 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20200 (calc-lu-divide): Rename from `calc-logunits-div'.
20201 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20202 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20203
20204 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20205 functions being autoloaded.
20206
20207 * calc/calc.el (calc-lu-power-reference): Rename from
20208 `calc-logunits-power-reference'.
20209 (calc-lu-field-reference): Rename from
20210 `calc-logunits-field-reference'.
20211
7a71b18d
GM
20212 * calc/calc-help.el (calc-l-prefix-help):
20213 Mention musical note functions.
d71990a1 20214
40c2934b
SM
202152011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20216
20217 * minibuffer.el (completion-all-sorted-completions):
20218 Use :completion-cycle-penalty text property if present.
20219
b0911414
KM
202202011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20221
20222 * allout.el (allout-yank-processing): Adjust for new rebulleting
20223 regime so bullet being yanked is used without prompting the user
20224 for a choice.
20225
8a05b668
JB
202262011-03-16 Juanma Barranquero <lekktu@gmail.com>
20227
20228 * startup.el (command-line): Warn the user that _emacs is deprecated.
20229
5ba5fb81
JB
202302011-03-16 Juanma Barranquero <lekktu@gmail.com>
20231
20232 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20233 (delphi-verbose, delphi-comment-face, delphi-string-face)
20234 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20235 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20236 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20237 (delphi-new-comment-line, delphi-font-lock-defaults)
20238 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20239 Fix typos in docstrings.
20240
2dab465b
KM
202412011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20242
5ba5fb81 20243 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
20244 Invert the roles of character and string values for INSTEAD, so a
20245 string is used for the more common case of a defaulting prompt.
20246
0adf5618
SM
202472011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20248
20249 * progmodes/ruby-mode.el (ruby-backward-sexp):
20250 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20251 * play/gamegrid.el (gamegrid-make-face):
20252 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20253 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20254 * notifications.el (notifications-notify):
20255 * net/xesam.el (xesam-search-engines):
20256 * net/quickurl.el (quickurl-list-insert):
20257 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20258
d72700e5
CY
202592011-03-15 Chong Yidong <cyd@stupidchicken.com>
20260
20261 * startup.el (command-line): Update package subdirectory regexp.
20262
49c5410a
SM
202632011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20264
c6eee9aa
SM
20265 * allout.el (allout-abbreviate-flattened-numbering)
20266 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20267
49c5410a
SM
20268 * subr.el (read-char-choice): Only show the cursor after the prompt,
20269 not after the answer.
20270
047b2bb9
KR
202712011-03-15 Kevin Ryde <user42@zip.com.au>
20272
20273 * help-fns.el (variable-at-point): Skip leading quotes, if any
20274 (bug#8253).
20275
0a57d256
SM
202762011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20277
20278 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20279 warning message.
20280
77c992bc
MA
202812011-03-14 Michael Albinus <michael.albinus@gmx.de>
20282
20283 * shell.el (shell): When called interactively, offer to change the
20284 shell file name on remote hosts.
20285
eebc475d
TZ
202862011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20287
20288 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20289 integration for LDAP parameters. The host, base, user or binddn,
20290 and secret tokens can be specified in a netrc file, for instance.
20291 This is optional because an `auth-source' parameter must be
20292 specified in the search attributes.
20293
9d05d1ba
JB
202942011-03-13 Juanma Barranquero <lekktu@gmail.com>
20295
20296 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20297
09d9db2c
GM
202982011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20299
20300 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20301 into declaration. Remove redundant and harmful binding.
20302
203032011-03-12 Eli Zaretskii <eliz@gnu.org>
20304
20305 * files.el (file-ownership-preserved-p): Pass `integer' as an
20306 explicit 2nd argument to `file-attributes'. If the file's owner
20307 is the Administrators group on Windows, and the current user is
20308 Administrator, consider that a match.
20309
20310 * server.el (server-ensure-safe-dir): Consider server directory
20311 safe on MS-Windows if its owner is the Administrators group while
20312 the current Emacs user is Administrator. Use `=' to compare
20313 numerical UIDs, since they could be integers or floats.
20314
219bd536
JB
203152011-03-12 Juanma Barranquero <lekktu@gmail.com>
20316
20317 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20318
f3afd36b
MA
203192011-03-12 Michael Albinus <michael.albinus@gmx.de>
20320
20321 Sync with Tramp 2.2.1.
20322
20323 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20324
20325 * net/trampver.el: Update release number.
20326
3aaaa6f1
SM
203272011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20328
94642599
SM
20329 * progmodes/compile.el (compilation--previous-directory): Fix up
20330 various nil/dead-marker mismatches (bug#8014).
20331 (compilation-directory-properties, compilation-error-properties):
20332 Don't call it at a position past the one we're about to change.
20333
3aaaa6f1
SM
20334 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20335 Disable obsolescence warnings in the file that declares it.
20336
14239447
KM
203372011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20338
099c39a4
JB
20339 * allout-widgets.el (allout-widgets-tally):
20340 Initialize allout-widgets-tally as a hash table rather than nil to
20341 prevent mode-line redisplay warnings. Also, clarify the module
20342 description and fix a comment typo.
14239447 20343
135e287c
JB
203442011-03-11 Juanma Barranquero <lekktu@gmail.com>
20345
20346 * help-fns.el (describe-variable): Don't complete keywords.
20347 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20348
ffbf300e
CY
203492011-03-10 Chong Yidong <cyd@stupidchicken.com>
20350
ba08b241
CY
20351 * emacs-lisp/package.el (package-version-join): Impose a standard
20352 string representation for pre/alpha/beta version lists.
20353 (package-unpack-single): Standardize the directory name by passing
20354 it through package-version-join.
20355 (package-strip-rcs-id): Accept any version string that does not
20356 signal an error in version-to-list.
ffbf300e 20357
f346fd6b
MA
203582011-03-10 Michael Albinus <michael.albinus@gmx.de>
20359
20360 * simple.el (delete-trailing-whitespace): Return nil for the
20361 benefit of `write-file-functions'.
20362
ccb55d27
GM
203632011-03-10 Glenn Morris <rgm@gnu.org>
20364
5ceaac0c
GM
20365 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20366
02da65ff
GM
20367 * vc/vc-git.el (vc-git-program): New option.
20368 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20369 (vc-git--call): Use it.
20370
b2f603cc
GM
20371 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20372
5772caab
GM
20373 * cus-edit.el (Custom-newline): If no button at point, look
20374 for a subgroup button at start-of-line. (Bug#2298)
20375
ccb55d27
GM
20376 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20377
ec6ecaed
JD
203782011-03-10 Julien Danjou <julien@danjou.info>
20379
20380 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20381 `cursor-type' is nil.
20382
9d5aa01d
JB
203832011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20384
20385 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20386
b6a5875b
KM
203872011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20388
7a71b18d 20389 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
20390 preserves the existing header prefix, rebulleting it if necessary,
20391 rather than replacing it. This is necessary for proper operation
20392 of cooperative addons like allout-widgets.
1154d12e
JB
20393 (allout-make-topic-prefix, allout-rebullet-heading):
20394 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20395 value as alternate bullet to be used, instead of prompting the user
20396 for a bullet character.
b6a5875b 20397
ee545c35
MA
203982011-03-09 Michael Albinus <michael.albinus@gmx.de>
20399
d86d2721
SM
20400 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20401 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
20402 `tramp-default-port'.
20403
c47971d7
DD
204042011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20405
20406 * net/rcirc.el (rcirc-handler-001): Remove useless
20407 with-rcirc-process-buffer.
20408 (rcirc-check-auth-status): Swap arguments to string-match.
20409
13522cb4
GM
204102011-03-09 Glenn Morris <rgm@gnu.org>
20411
0be6f4f1
GM
20412 * shell.el (shell-mode):
20413 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20414
13522cb4
GM
20415 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20416 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20417
515de2e3
CY
204182011-03-08 Chong Yidong <cyd@stupidchicken.com>
20419
20420 * emacs-lisp/package.el (package-refresh-contents)
20421 (package-menu-execute): Use condition-case-no-debug.
20422
b511b994
MA
204232011-03-08 Michael Albinus <michael.albinus@gmx.de>
20424
20425 * simple.el (shell-command-to-string): Use `process-file'.
20426
20427 * emacs-lisp/package.el (package-tar-file-info): Handle also
20428 remote files.
20429
d86d2721
SM
20430 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20431 Use `equal' for upload base check.
b511b994 20432
25bbfb31
AM
204332011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20434
20435 * textmodes/texinfo.el (texinfo-environments):
20436 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20437
be996521
GM
204382011-03-08 Glenn Morris <rgm@gnu.org>
20439
e9c8529f
GM
20440 * cus-start.el (cursor-in-non-selected-windows):
20441 Fix :set quoting oddness. (Bug#8192)
20442
be996521
GM
20443 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20444 in some setf expressions. (Bug#2159)
20445
2bb5649e
CY
204462011-03-08 Chong Yidong <cyd@stupidchicken.com>
20447
20448 * custom.el (custom-available-themes): Return themes in
20449 alphabetical order.
20450
33383987 20451See ChangeLog.15 for earlier changes.
e3d51b27
MR
20452
20453;; Local Variables:
20454;; coding: utf-8
e3d51b27
MR
20455;; End:
20456
acaf905b 20457 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
20458
20459 This file is part of GNU Emacs.
20460
20461 GNU Emacs is free software: you can redistribute it and/or modify
20462 it under the terms of the GNU General Public License as published by
20463 the Free Software Foundation, either version 3 of the License, or
20464 (at your option) any later version.
20465
20466 GNU Emacs is distributed in the hope that it will be useful,
20467 but WITHOUT ANY WARRANTY; without even the implied warranty of
20468 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20469 GNU General Public License for more details.
20470
20471 You should have received a copy of the GNU General Public License
20472 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.