Refer to cl-lib rather than cl in lispref
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
045ef729
CY
12012-10-20 Chong Yidong <cyd@gnu.org>
2
4c5d08a8
CY
3 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
4 no changes to show (Bug#12586).
5
045ef729
CY
6 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
7 list explicitly (Bug#12571).
8
3503c798 92012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a
AJ
10
11 * progmodes/flymake.el (flymake-create-temp-inplace): Use
12 file-truename.
13
2068905b
EZ
142012-10-20 Eli Zaretskii <eliz@gnu.org>
15
16 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
17
4c9e9550
JB
182012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
19
20 * calc/calc-units.el (math-extract-units): Properly extract powers
21 of units.
22
1a6e7e38
DC
232012-10-20 Daniel Colascione <dancol@dancol.org>
24
25 * frame.el (make-frame): Set x-display-name as we used to in order
26 to unbreak creating an X11 frame from an Emacs daemon started
27 without a display.
28
8e808318
SM
292012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
30
31 * minibuffer.el (minibuffer-force-complete): Make the next completion use
32 the same completion-field (bug@12221).
33
fb0104da
MR
342012-10-19 Martin Rudalics <rudalics@gmx.at>
35
36 * emacs-lisp/debug.el (debug): Record height of debugger window
37 also when debugger will be back (Bug#8789).
38
8c27235e
CY
392012-10-18 Chong Yidong <cyd@gnu.org>
40
41 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
42 Convert to defcustom.
43 (gdb-get-source-file): Don't bind pop-up-windows.
44
45 * progmodes/gud.el (gud-display-line): Don't specially re-use
46 other frames for the gdb-mi case (Bug#12648).
47
90eacf99
SM
482012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
49
aaf0c300
SM
50 * emacs-lisp/advice.el: Clean up commentary a bit.
51 (ad-do-advised-functions, ad-with-originals): Use `declare'.
52 (byte-code-function-p): Never redefine.
53
90eacf99
SM
54 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
55
281c9d2b
GM
562012-10-18 Glenn Morris <rgm@gnu.org>
57
40714e3d
GM
58 * dired.el (dired-sort-toggle): Some ls implementations only allow
59 a single option string. (Bug#12666)
60
281c9d2b
GM
61 * minibuffer.el (completion-cycle-threshold): Doc fix.
62
b278604e
KH
632012-10-17 Kenichi Handa <handa@gnu.org>
64
90eacf99
SM
65 * international/mule.el (set-keyboard-coding-system):
66 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
67 Supply TERMINAL arg to set-input-meta-mode.
68
7ebc5f5a
MH
692012-10-17 Michael Heerdegen <michael_heerdegen@web.de> (tiny change)
70
71 * wdired.el (wdired-old-marks): New variable.
72 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
73 (wdired-do-renames): Move point with renamed file and don't lose
74 mark status (Bug#11795).
75
e5a94ec4
JL
762012-10-16 Juri Linkov <juri@jurta.org>
77
78 * replace.el (query-replace-help): Mention multi-buffer replacement
79 keys in the Help message. (Bug#12655)
80
d18a0d24
CY
812012-10-15 Chong Yidong <cyd@gnu.org>
82
83 * emacs-lisp/byte-run.el (defsubst): Doc fix.
84
8111f5e6
EZ
852012-10-14 Eli Zaretskii <eliz@gnu.org>
86
7b9abf24
EZ
87 * window.el (display-buffer): Doc fix.
88
8111f5e6
EZ
89 * progmodes/compile.el (compilation-error-regexp-alist-alist):
90 Adjust the msft regexp to the output of Studio 2010, and move msft
91 before edg-1. See the discussion on emacs-devel,
92 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
93 for the details.
94
5046ef67
SM
952012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
96
9760c73c
SM
97 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
98 (oset): Move uses of object-class-fast macro after its definition.
99
5046ef67
SM
100 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
101
0d11ff1c
CY
1022012-10-13 Chong Yidong <cyd@gnu.org>
103
104 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
105 enabled, re-enable it (Bug#11963).
106
88ded8ac
MR
1072012-10-13 Martin Rudalics <rudalics@gmx.at>
108
109 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
110 non-nil, restore window configuration (Bug#12623).
111
bd0ffffd
SM
1122012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
113
06485aa8
SM
114 * help-fns.el (describe-variable, describe-function-1):
115 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
116
bd0ffffd
SM
117 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
118
3a989246
GM
1192012-10-12 Glenn Morris <rgm@gnu.org>
120
121 * mail/rmailsum.el (rmail-header-summary):
122 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
123
55cd00c8
FEG
1242012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
125
bd0ffffd
SM
126 * progmodes/python.el (python-mode-map):
127 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
128 (python-nav--up-list): Fix behavior for blocks on the same level.
129
ac9fc2c7
SM
1302012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
131
d8cc4c00 132 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 133
5253a5fd
SM
134 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
135 changes to the format of load-history.
136
ac9fc2c7
SM
137 * international/mule-cmds.el (read-char-by-name): Move let-binding of
138 completion-ignore-case in case that var is buffer-local (bug#12615).
139
cde44a77
KH
1402012-10-11 Kenichi Handa <handa@gnu.org>
141
142 * international/eucjp-ms.el: Re-generated.
143
4ef4a10d
KH
1442012-10-10 Kenichi Handa <handa@gnu.org>
145
146 * select.el (xselect--encode-string): If a coding is specified for
147 selection, and that is compatible with COMPOUND_TEXT, use it.
148
9d7f027b
MR
1492012-10-10 Martin Rudalics <rudalics@gmx.at>
150
151 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
152 (switch-to-buffer):
153 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 154
238f3a58
SM
1552012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
156
157 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
158 Don't document nil as a useful value (bug#12583).
159
1d51f99c
MA
1602012-10-09 Michael Albinus <michael.albinus@gmx.de>
161
238f3a58
SM
162 * net/tramp.el (tramp-debug-message):
163 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
164 (with-tramp-progress-reporter): Rename from
165 `tramp-with-progress-reporter'.
238f3a58
SM
166 (with-tramp-file-property, with-tramp-connection-property):
167 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
168 `with-connection-property', respectively.
169
170 * net/tramp-cache.el: Remove `with-file-property' and
171 `with-connection-property'.
172
173 * net/tramp.el:
174 * net/tramp-gvfs.el:
175 * net/tramp-sh.el:
176 * net/tramp-smb.el: Adapt callees.
177
178 * net/trampver.el: Update release number.
179
26b77251
GM
1802012-10-09 Glenn Morris <rgm@gnu.org>
181
9a5f296f
GM
182 * w32-fns.el (set-message-beep):
183 * term/w32-win.el (set-message-beep): Update declarations.
184
94c66ce5
SM
1852012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
186
10766e9e
SM
187 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
188 (mode-line-widen, mode-line-input-method-map)
189 (mode-line-coding-system-map, mode-line-remote)
190 (mode-line-unbury-buffer, mode-line-bury-buffer)
191 (mode-line-next-buffer, mode-line-previous-buffer):
192 Replace save-selected-window+select-window => with-selected-window.
193
f754db08
SM
194 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
195 * progmodes/cc-vars.el (bq-process): Remove, unused.
196
94c66ce5
SM
197 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
198
a4ff7fe1
FEG
1992012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
200
201 Implemented `backward-up-list'-like navigation.
202 * progmodes/python.el (python-nav-up-list)
203 (python-nav-backward-up-list): New functions.
204 (python-mode-map): Define substitute key for backward-up-list to
205 python-nav-backward-up-list.
206
24517d82
FEG
2072012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
208
209 * progmodes/python.el (python-fill-paragraph): Rename from
210 python-fill-paragraph-function. Fixed fill-paragraph for
211 decorators (Bug#12605).
212
51867ae2
FEG
2132012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
214
215 * progmodes/python.el (python-shell-output-filter): Handle extra
216 carriage return in OSX (Bug#12409).
217
a5b773c4
FEG
2182012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
219
220 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 221 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
222 (python-syntax-propertize-function): Use it.
223 (python-shell-output-syntax-table): New var.
224 (inferior-python-mode): Prevent unbalanced parens/quotes from
225 previous output mess with current input context.
226
13373538
JB
2272012-10-08 Juanma Barranquero <lekktu@gmail.com>
228
229 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
230 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
231
775a132d
MA
2322012-10-08 Michael Albinus <michael.albinus@gmx.de>
233
234 * ffap.el (ffap-replace-file-component): Support Tramp file name
235 syntax, not only ange-ftp's one.
236
3ab44929
GM
2372012-10-08 Glenn Morris <rgm@gnu.org>
238
57f1dee4
GM
239 * cus-start.el (message-log-max): Set :version.
240
3ab44929
GM
241 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
242
6a088630
MR
2432012-10-08 Martin Rudalics <rudalics@gmx.at>
244
245 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
246 the minibuffer window (Bug#10851).
247
8dbce54c
FEG
2482012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
249
250 Enhancements on forward-sexp movement.
251 * progmodes/python.el (python-nav-beginning-of-statement)
252 (python-nav-end-of-statement): Return point-marker.
253 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
254 (python-info-current-symbol)
255 (python-info-statement-starts-block-p): Rename from
256 python-info-beginning-of-block-p.
257 (python-info-statement-ends-block-p): Rename from
258 python-info-end-of-block-p.
259 (python-info-beginning-of-statement-p)
260 (python-info-end-of-statement-p)
261 (python-info-beginning-of-block-p, python-info-end-of-block-p):
262 New functions.
263
5acd2b3e
SM
2642012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
265
266 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
267 frame-selected-windows.
268
e08348a0
DC
2692012-10-08 Daniel Colascione <dancol@dancol.org>
270
271 * battery.el (battery-status-function): Check for
272 w32-battery-status itself, not system-time windows-nt.
273
274 * frame.el: Require cl-lib.
275 (display-format-alist): New variable mapping frame types to
276 functions that initialize them.
277 (window-system-for-display): New function: interprets
278 display-format-alist.
279 (make-frame-on-display): Remove existing display-selection logic
280 and just forward to make-frame, which will now DTRT.
281 (make-frame): Restructure to use window-system-for-display to
282 figure out how to create a frame on a given display.
283 (display-mouse-p): Look for frame-type w32, not a particular
284 system-type.
285
286 * loadup.el: Load w32 lisp code when we have the w32 feature.
287
288 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
289 system-type windows-nt.
290
291 * server.el (server-create-window-system-frame): Look for window
292 type.
293 (server-proces-filter): Only force a window system when windows-nt
294 _and_ w32. Explain why.
295
296 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
297 of window systems we configure for the mode.
298
299 * startup.el (command-line): Mark window system is initialized
300 after we've done it.
301
302 * common-win.el (x-select-text): Look for w32, not windows-nt.
303
304 * ns-win.el: Require cl-lib. Add ourselves to
305 display-format-alist.
306 (ns-initialize-window-system): Assert we're not initialized twice.
307
308 * w32-win.el: Enable lexical binding; require cl-lib; add
309 ourselves to display-format-alist.
310 (w32-handle-dropped-file): Convert incoming dropped files from
311 Windows paths to Cygwin ones before passing them on to the rest of
312 Emacs.
313 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
314 (w32-initialize-window-system): Assert we're not initialized twice.
315
316 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
317 (x-initialize-window-system): Assert we're not initialized twice.
318
319 * w32-common-fns.el: New File.
320 (w32-version, w32-using-nt, w32-get-clipboard-data)
321 (w32-set-clipboard-data, x-set-selection, x-get-selection)
322 (w32-charset-info-alist, x-last-selected, text)
323 (x-get-selection-value, x-selection-value): Move here.
324
325 * w32-fns.el: Require w32-common-fns.
326 (w32-version, w32-using-nt, w32-get-clipboard-data)
327 (w32-set-clipboard-data, x-set-selection, x-get-selection)
328 (w32-charset-info-alist, x-last-selected, text)
329 (x-get-selection-value, x-selection-value): Move to
330 w32-common-fns.
331
332 * w32-vars.el:
333 (w32-allow-system-shell, w32-system-shells): Define only in
334 non-cygwin case.
335
795b1482
SM
3362012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
337
338 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
339 (read-passwd): Remove a few more potential sources of leaks.
340
f27c99dc
FEG
3412012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
342
343 * progmodes/python.el (inferior-python-mode)
795b1482 344 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
345 variables copied from parent buffer.
346
fcacb558
JD
3472012-10-07 Jan Djärv <jan.h.d@swipnet.se>
348
349 * term/ns-win.el (ns-read-file-name): Update declaration to match
350 nsfns.m.
351 (ns-respond-to-change-font): Change fontsize separatly so we are sure
352 it is set when font is acted upon.
353
be0d5bae
FEG
3542012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
355
356 Enhancements to indentation.
357 * progmodes/python.el (python-indent-context): Give priority to
358 inside-string context. Make comments indentation markers.
359 (python-indent-region): Do not mess with strings, unless it's the
360 enclosing set of quotes.
361
13af0d10
SM
3622012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
363
662a9d0e
SM
364 * window.el (internal--before-save-selected-window)
365 (internal--after-save-selected-window): New functions extracted from
366 save-selected-window. Make sure we return the `alist' we construct.
367 (save-selected-window): Use them.
368
369 * textmodes/tex-mode.el (tex-recenter-output-buffer):
370 Use with-selected-window.
371
13af0d10
SM
372 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
373 forms that define macros (bug#12593).
374
6aa75fb6
KH
3752012-10-07 Kenichi Handa <handa@gnu.org>
376
13af0d10
SM
377 * international/mule-conf.el (compound-text-with-extensions):
378 Add :mime-charset property as x-ctext.
6aa75fb6 379
78d876b9
SM
3802012-10-07 Stefan Merten <smerten@oekonux.de>
381
382 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
383 (rst-indent-literal-normal, rst-indent-literal-minimized)
384 (rst-indent-comment): Correct :version tag.
557337e9 385 (rst-official-cvs-rev): Correct version string.
78d876b9 386
99a1e701
GM
3872012-10-07 Glenn Morris <rgm@gnu.org>
388
389 * mail/rmailmm.el (rmail-mime-process-multipart):
390 Do not confuse a multipart message with an epilogue
391 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
392
08f18c3d
FEG
3932012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
394
395 Fix shell output retrieval and comint-prompt-regexp init.
396 * progmodes/python.el (inferior-python-mode):
397 (python-shell-make-comint): Fix initialization of
398 comint-prompt-regexp from copied file local variables.
399 (python-shell-fetched-lines): Remove var.
400 (python-shell-output-filter-in-progress): Rename from
401 python-shell-fetch-lines-in-progress.
402 (python-shell-output-filter-buffer): Rename from
403 python-shell-fetch-lines-string.
404 (python-shell-fetch-lines-filter): Delete function.
405 (python-shell-output-filter): New function.
406 (python-shell-send-string-no-output): Use them.
407
82ed3ab4
GM
4082012-10-07 Glenn Morris <rgm@gnu.org>
409
1595ecfa
GM
410 * hi-lock.el (hi-lock-process-phrase):
411 Try to make it less fragile. (Bug#7161)
412
82ed3ab4
GM
413 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
414
f1f4dba0
GM
4152012-10-06 Glenn Morris <rgm@gnu.org>
416
addc11ed 417 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
418 non-existent mode `help'.
419 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 420
460042b8
GM
421 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
422 (reftex-create-bibtex-footer): Fix custom types.
423
67667c70
GM
424 * progmodes/sh-script.el (sh-indent-after-continuation):
425 Add explicit :group.
426
18dec750
GM
427 * textmodes/rst.el (rst-preferred-decorations)
428 (rst-shift-basic-offset): Clarify obsolescence versions.
429
d1a1c7e6
GM
430 * profiler.el (profiler): Add missing group :version tag.
431 * avoid.el (mouse-avoidance-banish-position):
432 * proced.el (proced-renice-command):
433 * calc/calc.el (calc-ensure-consistent-units):
434 * calendar/icalendar.el (icalendar-import-format-uid):
435 * net/tramp.el (tramp-save-ad-hoc-proxies):
436 * progmodes/bug-reference.el (bug-reference-bug-regexp):
437 * progmodes/flymake.el (flymake-error-bitmap)
438 (flymake-warning-bitmap, flymake-fringe-indicator-position):
439 * progmodes/sh-script.el (sh-indent-after-continuation):
440 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
441 (verilog-before-save-font-hook, verilog-after-save-font-hook):
442 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
443 (vhdl-array-index-record-field-in-sensitivity-list)
444 (vhdl-indent-comment-like-next-code-line):
445 * textmodes/reftex-vars.el (reftex-ref-style-alist)
446 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
447 (reftex-cite-key-separator, reftex-create-bibtex-header)
448 (reftex-create-bibtex-footer):
449 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
450 (rst-indent-literal-normal, rst-indent-literal-minimized)
451 (rst-indent-comment): Add missing custom :version tags.
452
ef35abb4
GM
453 * calendar/timeclock.el (timeclock-modeline-display):
454 Add missing obsolete alias for renamed user option.
455
d1aae614
GM
456 * strokes.el (strokes-modeline-string):
457 * emulation/crisp.el (crisp-mode-modeline-string):
458 * eshell/esh-mode.el (eshell-status-in-modeline):
459 Aliases to defcustoms must come before the defcustom.
460
f1f4dba0
GM
461 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
462 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
463 (cal-tex-cursor-week-monday): Doc fixes.
464 (cal-tex-cursor-week2-summary): Doc fix.
465 Rename from cal-tex-cursor-week-at-a-glance.
466
467 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
468 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
469
470 * calendar/calendar.el (calendar-mode-map):
471 Add cal-tex-cursor-week2-summary.
472
d39109c3
SM
4732012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
474
685f87b0
SM
475 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
476
d39109c3
SM
477 * subr.el (read-passwd-map): New var.
478 (read-passwd): Use `read-string' again.
479 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
480
5694896d
J
4812012-10-06 Jambunathan K <kjambunathan@gmail.com>
482
483 * register.el (append-to-register, prepend-to-register):
484 Deactivate mark, as does `copy-to-register' (bug#12389).
485
9414dd8d
CY
4862012-10-06 Chong Yidong <cyd@gnu.org>
487
488 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
489
2b89bca4
KH
4902012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
491
492 * international/characters.el: Fix simple mistake ((car chars) ->
493 elt), delete duplicated code.
494
d5acb99a
GM
4952012-10-06 Glenn Morris <rgm@gnu.org>
496
497 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
498
123ec157
JS
4992012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
500
501 * color.el (color-hsl-to-rgb): Fix incorrect results for
502 small and large hue values. (Bug#12559)
503
7fa36ccb
FEG
5042012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
505
506 Enhancements to docstring formatting when filling paragraphs.
507 * progmodes/python.el (python-fill-docstring-style): Rename from
508 python-fill-string-style. Added new style.
509 (python-fill-string): Use new style. Better checks for
510 docstrings.
511
d8788e1e
GM
5122012-10-05 Glenn Morris <rgm@gnu.org>
513
204f3953
GM
514 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
515
d8788e1e
GM
516 * color.el (color-name-to-rgb, color-rgb-to-hex)
517 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
518 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
519 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
520 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
521
8d956cef
GM
522 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
523
e8757f09 5242012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
525
526 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
527 to get the correct size across symlinks.
528
e8757f09
GM
529 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
530
0e2ae83d
JL
5312012-10-04 Juri Linkov <juri@jurta.org>
532
533 * replace.el (query-replace-interactive): Declare obsolete.
534 (query-replace-read-from): Add the last incremental search string
535 to the list of default values accessible via M-n.
536 (map-query-replace-regexp): Use `read-regexp'.
537 (query-replace, query-replace-regexp, query-replace-regexp-eval)
538 (map-query-replace-regexp, replace-string, replace-regexp):
539 Fix docstrings to replace mentions of `query-replace-interactive'
540 with alternatives. (Bug#12526)
541
93cacb6d
JL
5422012-10-04 Juri Linkov <juri@jurta.org>
543
544 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
545 (dired-pop-to-buffer): Declare obsolete.
546 (dired-mark-pop-up): Doc fix.
547
fc345011
FEG
5482012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
549
550 Allow user to set docstring style for fill-paragraph.
551 * progmodes/python.el
552 (python-fill-comment-function, python-fill-string-function)
553 (python-fill-decorator-function, python-fill-paren-function):
554 Remove :safe for defcustoms.
555 (python-fill-string-style): New defcustom
5694896d 556 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
557 (python-fill-string): Honor python-fill-string-style settings.
558
6bab5d8b
MR
5592012-10-04 Martin Rudalics <rudalics@gmx.at>
560
561 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
562 after setting its buffer (Bug#10805).
563
a1a9f411
FEG
5642012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
565
566 Fix cornercase for string syntax.
567 * progmodes/python.el (python-syntax-propertize-function):
568 Simplify and enhance the regexp for unescaped quotes. Now it also
569 matches quotes in weird situations like the single quote in
570 "something\"'".
571 (python-syntax-stringify): Simplify num-quotes detecting code.
572
05e153a6
GM
5732012-10-03 Glenn Morris <rgm@gnu.org>
574
575 * help-macro.el (three-step-help):
576 Revert 2012-09-29 change. (Bug#12567)
577
2e566ecb
MR
5782012-10-03 Martin Rudalics <rudalics@gmx.at>
579
96ef9ccd
MR
580 * menu-bar.el (kill-this-buffer): Don't do anything when
581 `menu-frame' is not alive or visible (Bug#8184).
582
2e566ecb
MR
583 * emacs-lisp/debug.el (debug): When quitting the debugger window
584 restore current buffer (Bug#12502).
585
a96e1cb7
CY
5862012-10-02 Chong Yidong <cyd@gnu.org>
587
5694896d
J
588 * progmodes/hideif.el (hif-lookup, hif-defined):
589 Handle semantic-c-takeover-hideif.
a96e1cb7 590
b3ecad33
PE
5912012-10-02 Paul Eggert <eggert@cs.ucla.edu>
592
593 Change sampling interval units from ms to ns.
594 * profiler.el (profiler-sampling-interval): Change units
595 from ms to ns, multiplying the default by 1000000 so that
596 it remains 1 ms.
597 (profiler-report-cpu-line-format): Give enough room for
598 the maximum counters on 64-bit hosts.
599 (profiler-report-render-calltree-1): Call them "CPU samples",
600 not "Time (ms)", since they are not milliseconds now (and
601 never really were).
602
8cb51b66 6032012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 604
5694896d
J
605 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
606 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 607
fd795bf4
CY
6082012-10-02 Chong Yidong <cyd@gnu.org>
609
610 * emacs-lisp/eieio.el: Restore Version header.
611
fe0a74f9
SM
6122012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
613
6be9197e
SM
614 * vc/diff-mode.el (diff--auto-refine-data): New var.
615 (diff-hunk): Use it to delay refinement.
616 (diff-mode): Remove overlays when we turn off font-lock.
617
18486139
SM
618 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
619 (table-initialize-table-fixed-width-mode)
620 (table-set-table-fixed-width-mode): Remove functions.
621 (table-command-list): Move initialization into declaration.
622 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
623 (table-with-cache-buffer): Use `declare'.
624 (table-span-cell): Simplify via CSE.
625 (table-fixed-width-mode): Use define-minor-mode.
626 (table-call-interactively, table-funcall, table-apply): Remove.
627 (table-function): New function, to replace them.
628
d83ef976
SM
629 * bookmark.el (bookmark-search-pattern): Remove var.
630 (bookmark-read-search-input): Remove function.
631 (bookmark-bmenu-search): Reimplement using a minibuffer.
632
cd386662
SM
633 * faces.el (modeline): Remove obsolete face name.
634
fe0a74f9
SM
635 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
636 and give a non-nil default value.
637 (add-change-log-entry): Simplify accordingly.
638
9f7b98f8
DG
6392012-10-01 Dmitry Gutov <dgutov@yandex.ru>
640
641 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
642 (vc-git-log-edit-toggle-amend): New function.
643 (vc-git-log-edit-toggle-signoff): New function.
644 (vc-git-log-edit-mode): New major mode.
645 (vc-git-log-edit-mode-map): Keymap for it.
646 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
647
648 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
649 header names.
650 (log-edit-toggle-header): New function.
651 (log-edit-extract-headers): Accept function values in HEADERS alist.
652
62a81506
CY
6532012-10-01 David Engster <deng@randomsample.de>
654
655 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
656 from symbol property and change message to be more consistent with
657 Emacs proper.
658 (eieio-describe-generic): Add filename for each implementation.
659 Fix indices for generic and normal methods.
660 (eieio-method-def, eieio-class-def): New buttons.
661 (eieio-help-find-method-definition)
662 (eieio-help-find-class-definition): New functions.
663 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
664 class, constructor and method definitions.
665
666 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
667 information in symbol property.
668 (scoped-class): Remove.
669 (eieio-slot-name-index, call-next-method): Check if it is bound.
670
6712012-10-01 Leo P. White <lpw25@cam.ac.uk>
672
673 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
674 (eieio-custom-mode): New major mode.
675 (eieio-customize-object): Use it.
676
6772012-10-01 Eric Ludlam <zappo@gnu.org>
678
679 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
680 specifying the expected class, and whether subclassing is allowed.
681 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
682 (eieio-persistent-validate/fix-slot-value)
683 (eieio-persistent-slot-type-is-class-p): New functions.
684 (eieio-named::slot-missing): Doc fix.
62a81506
CY
685
686 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
687 Stop using unused publd variable.
688
689 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
690 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
691 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
692 (eieio-speedbar-handle-click): Do not specify a class for the
693 method. Fixes method invocation order problems with EDE.
694
375e49d4
SM
6952012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
696
697 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
698 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
699
16ce6ccd
KF
7002012-10-01 Karl Fogel <kfogel@red-bean.com>
701
702 * bookmark.el (bookmark-version-control): Give tags in the
703 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
704 (bookmark-write-file): Bind `print-circle' to `t' to allow
705 circular custom bookmark types. (Bug#12503)
16ce6ccd 706
19e54a4d
PE
7072012-10-01 Paul Eggert <eggert@cs.ucla.edu>
708
86ec63ba
PE
709 Revert the FOLLOW-SYMLINKS change for file-attributes.
710 * files.el (remote-file-name-inhibit-cache, after-find-file):
711 * time.el (display-time-file-nonempty-p): Undo last change.
712
19e54a4d
PE
713 * profiler.el (profiler-sampling-interval): Change default back to 1.
714 See Stefan Monnier in
715 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
716
0478776b
FEG
7172012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
718
719 Shell output catching a la gud-gdb.
720 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
721 (python-shell-fetch-lines-string, python-shell-fetched-lines):
722 New Vars.
0478776b
FEG
723 (python-shell-fetch-lines-filter): New function.
724 (python-shell-send-string-no-output): Use them.
725
c22bac2c
TM
7262012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
727
728 * profiler.el (profiler-sampling-interval): Rename from
729 profiler-sample-interval.
730 (profiler-sampling-interval): Default to 10.
731 (profiler-find-profile): New command (was profiler-find-log).
732 (profiler-find-profile-other-window): New command.
733 (profiler-find-profile-other-frame): New command.
734 (profiler-profile): Introduce API-level data structure.
735
e7a2937b
PE
7362012-09-30 Paul Eggert <eggert@cs.ucla.edu>
737
738 file-attributes has a new optional arg FOLLOW-SYMLINKS.
739 * files.el (remote-file-name-inhibit-cache):
740 * time.el (display-time-file-nonempty-p): Use it.
741 * files.el (after-find-file): Don't chase links before calling
742 file-exists-p, as file-exists-p already does the right thing.
743
4f595e15
RA
7442012-09-30 Ralf Angeli <angeli@caeruleus.net>
745
746 Merge from standalone RefTeX repository.
747
748 The following ChangeLog entries are shortened versions of the
749 original ones with file paths adapted. A not so strongly edited
750 version of the original ChangeLog can be found in the commit log.
751
752 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
753 (reftex-arg-cite): Use `reftex-cite-key-separator'.
754 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
755
756 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
757 that entries with whitespace at various places are found.
758 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
759 Include @String definitions in the resulting bib file. Add header
760 and footer defined in `reftex-create-bibtex-header' and
761 `reftex-create-bibtex-footer'.
762 (reftex-do-citation): Make it possible again to insert
763 non-existent entries. Save match data when asking for optional
764 arguments. Return all keys, not just the first one.
765 (reftex-all-used-citation-keys): Fix regexp to correctly extract
766 all citations in the same line.
767 (reftex-parse-bibtex-entry): Accept additional optional argument
768 `raw' and keep quotes or braces if it is non-nil. Match fields
769 containing hyphens besides word constituents.
770 (reftex-get-string-refs): New function.
771 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
772 and ask if it should be reread in case it did.
773 (reftex-pop-to-bibtex-entry)
774 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
775 entries with spaces or tabs in front of arguments.
776 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
777 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
778 Match entries containing numbers and symbol constituents.
779 (reftex-do-citation, reftex-figure-out-cite-format):
780 Use `reftex-cite-key-separator'.
4f595e15
RA
781
782 * textmodes/reftex-dcr.el: Move provide statement to end of file.
783 (reftex-mouse-view-crossref): Explain why point is set.
784
785 * textmodes/reftex-global.el: Whitespace changes.
786
787 * textmodes/reftex-index.el: Move provide statement to end of
788 file.
789 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
790 (reftex-index-visit-phrases-buffer): Set marker when visiting
791 buffer. This allows for returning from the phrases file to the
792 file one was just editing instead of the file where the last
793 phrases was added from.
794 (reftex-index-phrases-syntax-table): New variable. Give ?\"
795 punctuation syntax as it usually is not used as string quote in
796 TeX-related modes and may occur unmatched. The change also
797 prevents fontification of quoted content.
798 (reftex-index-phrases-mode): Use it.
799
375e49d4
SM
800 * textmodes/reftex-parse.el (reftex-parse-from-file):
801 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
802 (reftex-parse-from-file): Use beginning of match instead of end as
803 bound.
804
805 * textmodes/reftex-ref.el: Adapt creation of
806 `reftex-<package>-<macro>' functions to new structure of
807 `reftex-ref-style-alist'.
375e49d4
SM
808 (reftex-reference): Use `reftex-ref-style-list' function.
809 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
810 reference macro if `reftex-ref-macro-prompt' is non-nil.
811 (reftex-reference): Pass refstyle to `reftex-format-special'.
812 Determine reference macro by looking at
375e49d4
SM
813 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
814 Use only one special format function.
4f595e15
RA
815 (reftex-varioref-vref, reftex-fancyref-fref)
816 (reftex-fancyref-Fref): Remove definitions. The functions are now
817 generated from `reftex-ref-style-alist'.
818 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
819 Remove.
820 (reftex-format-special): New function.
821
822 * textmodes/reftex-sel.el
823 (reftex-select-cycle-ref-style-internal): Adapt to new structure
824 of `reftex-ref-style-alist'. Remove code for testing macro type.
825 (reftex-select-toggle-varioref)
826 (reftex-select-toggle-fancyref): Remove.
827 (reftex-select-cycle-ref-style-internal)
828 (reftex-select-cycle-ref-style-forward)
829 (reftex-select-cycle-ref-style-backward): New functions.
830 (reftex-select-label-map): Use `v' and `V' for general cycling
831 through reference styles. Add `p' for switching between number
832 and page reference types.
833
375e49d4
SM
834 * textmodes/reftex-toc.el (reftex-re-enlarge):
835 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
836 the horizontal version throws an error even if the parameter is 0.
837
838 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
839 (reftex-plug-into-AUCTeX): Doc fix.
840 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
841 string. Adapt to new name.
842 (reftex-ref-style-alist): Change structure so that it is not
843 possible to use multiple different package names within a style.
375e49d4
SM
844 Remove the symbols for symbols for macro type distinction.
845 Add characters for macro selection.
4f595e15
RA
846 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
847 (reftex-create-bibtex-footer): New variables.
848 (reftex-format-ref-function): Mention third argument of special
849 format function.
375e49d4
SM
850 (reftex-ref-style-alist, reftex-ref-style-default-list):
851 New variables.
4f595e15
RA
852 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
853 to new implementation. Mark as obsolete. Add compatibility code
854 for honoring the variable values in case they are set.
375e49d4
SM
855 (reftex-cite-format-builtin, reftex-bibliography-commands):
856 Add support for ConTeXt.
857 (reftex-format-ref-function, reftex-format-cite-function):
858 Fix custom type.
4f595e15
RA
859 (reftex-cite-key-separator): New variable.
860
861 * textmodes/reftex.el (reftex-syntax-table-for-bib)
862 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
863 `reftex-syntax-table' because parens have to retain their paren
864 syntax in order for parsing of BibTeX entries like @book(...) to
865 work.
866 (reftex-in-comment): Do not error out if `comment-start-skip' is
867 not set. Deal correctly with escaped comment characters.
375e49d4
SM
868 (reftex-tie-multifile-symbols): Add doc string.
869 Initialize `reftex-ref-style-list'.
4f595e15
RA
870 (reftex-untie-multifile-symbols): Add doc string.
871 (reftex-add-index-macros): Doc fix.
872 (reftex-ref-style-activate, reftex-ref-style-toggle)
873 (reftex-ref-style-list): New functions.
874 (reftex-mode-menu): Use them. Adapt to new structure of
875 `reftex-ref-style-alist'.
876 (reftex-select-with-char): Kill the RefTeX Select buffer when
877 done.
878 (reftex-remove-if): New function.
879 (reftex-erase-all-selection-and-index-buffers)
880 (reftex-mode-menu): Reference styles are now computed from
881 `reftex-ref-style-alist'. Fix typo.
882 (reftex-report-bug): New function.
883 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
884 algorithms with O(n log n). Introduce optional argument SORT (not
885 yet used).
886
440ba395
FEG
8872012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
888
889 Enhancements for triple-quote string syntax.
375e49d4
SM
890 * progmodes/python.el (python-syntax-propertize-function):
891 Match both quote cases in one regexp.
440ba395
FEG
892 (python-syntax-stringify): Handle matches properly.
893
4c478e6b
JL
8942012-09-30 Juri Linkov <juri@jurta.org>
895
896 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 897 to nil around the call to `insert' to prevent
4c478e6b
JL
898 directory time modification by lock_file. (Bug#2295)
899 * tar-mode.el (tar-summarize-buffer): Idem.
900
d80d54b2
JL
9012012-09-30 Juri Linkov <juri@jurta.org>
902
903 * facemenu.el (list-colors-sort): Add option "Luminance".
904 (list-colors-sort-key): Implement it.
905
906 * vc/diff-mode.el (diff-refine-removed):
907 * vc/ediff-init.el (ediff-fine-diff-A):
908 * vc/smerge-mode.el (smerge-refined-removed):
909 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
910
d7e642cc
JD
9112012-09-30 Jan Djärv <jan.h.d@swipnet.se>
912
913 * term/ns-win.el (x-file-dialog): New function.
914
ee41332b
JB
9152012-09-30 Juanma Barranquero <lekktu@gmail.com>
916
917 * ido.el (ido-max-directory-size): Default to nil; the current
918 default is small for POSIX systems, and impractical on Windows 7
919 now that lstat returns directory sizes for NTFS.
920
5938d519
MR
9212012-09-30 Martin Rudalics <rudalics@gmx.at>
922
923 In buffer display functions handle window-height/window-width
924 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
925 * window.el (window--display-buffer): New argument ALIST.
926 Obey window-height and window-width alist entries.
927 (window--try-to-split-window): New argument ALIST.
928 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
929 changed and window-combination-limit equals `window-size'.
930 (display-buffer-in-atom-window)
931 (display-buffer-in-major-side-window)
932 (display-buffer-in-side-window, display-buffer-same-window)
933 (display-buffer-reuse-window, display-buffer-pop-up-frame)
934 (display-buffer-pop-up-window, display-buffer-below-selected)
935 (display-buffer-at-bottom, display-buffer-in-previous-window)
936 (display-buffer-use-some-window): Adjust all callers of
937 window--display-buffer and window--try-to-split-window.
938 (fit-frame-to-buffer): New option.
939 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
940 is non-nil.
941 (display-buffer-in-major-side-window): Evaluate window-height /
942 window-width alist entries.
943
944 * help.el (temp-buffer-resize-frames)
945 (temp-buffer-resize-regexps): Remove options.
946 (temp-buffer-resize-mode): Adjust doc-string.
947 (resize-temp-buffer-window): Don't consult
948 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
949 temp-buffer-resize-frames.
950
375e49d4
SM
951 * dired.el (dired-mark-pop-up):
952 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
953 entry.
954
c4c0c2df
CY
9552012-09-30 Chong Yidong <cyd@gnu.org>
956
48de8b12
CY
957 * server.el (server-host): Document the security implications.
958 (server-auth-key): Doc fix.
959
960 * startup.el (initial-buffer-choice): Doc fix.
961
962 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
963
a97dc380
CY
964 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
965 restriction change.
966
d39d3c8e
CY
967 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
968
c4c0c2df
CY
969 * help-fns.el (help-fns--obsolete): Fix last change.
970
98a5e33b
SM
9712012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
972
34cf6f39
SM
973 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
974 (minor-mode-map-alist): Remove redundant code.
975
e01c13fe
SM
976 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
977 visited in a buffer.
978 (cvs-insert-visited-file): New function.
979 (find-file-hook): Use it.
980
981 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
982
02661b3a
SM
983 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
984 chose face.
985 (log-edit-empty-buffer-p): Don't require a space after a header.
986
43711d4b
SM
987 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
988
38a30d64
SM
989 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
990
4ffb41a9
SM
991 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
992 a proper minor-mode.
993
98a5e33b
SM
994 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
995
de82e29b
GM
9962012-09-29 Glenn Morris <rgm@gnu.org>
997
5cc2e639
GM
998 * winner.el (winner-mode): Remove variable (let define-minor-mode
999 handle it).
1000 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1001 Doc fixes.
1002 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1003 (winner-mode): Use define-minor-mode.
1004
7bd302eb
GM
1005 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1006 the full definition in loaddefs, rather than duplicating it.
1007
2923922f 1008 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 1009
0e3e4156
GM
1010 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1011 (inferior-lisp-program, inferior-lisp-load-command)
1012 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 1013 No need to autoload defcustoms.
0e3e4156 1014
de82e29b
GM
1015 * hippie-exp.el (hippie-expand-try-functions-list)
1016 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1017 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1018 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 1019 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
1020 * progmodes/vhdl-mode.el (vhdl-line-expand):
1021 Explicitly load hippie-exp, so it does not get autoloaded
1022 while hippie-expand-try-functions-list is let-bound.
1023
e60b51ab
GM
10242012-09-28 Glenn Morris <rgm@gnu.org>
1025
277f0cfa
GM
1026 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1027
e60b51ab
GM
1028 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1029 Only "cl.el" counts as cl these days.
1030
53baf48a
JL
10312012-09-28 Juri Linkov <juri@jurta.org>
1032
1033 Display archive errors in the echo area instead of inserting
1034 to the file buffer.
1035
1036 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1037 to STDERR-TEST that can be a regexp matching a successful output.
1038 Create a temporary file and redirect stderr to it. Search for
1039 STDERR-TEST in the stderr output and display it in the echo area
1040 if no match is found.
1041 (archive-extract-by-file): New function like
1042 `archive-extract-by-stdout' but extracting archives to files
1043 and looking for successful matches in stdout. Function body is
1044 mostly copied from `archive-rar-extract'.
1045 (archive-rar-extract): Use `archive-extract-by-file'.
1046 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1047
9c1228c3
LL
10482012-09-28 Leo Liu <sdl.web@gmail.com>
1049
375e49d4
SM
1050 * pcomplete.el (pcomplete-show-completions):
1051 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 1052
9c1228c3
LL
1053 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1054
7f457c06
SM
10552012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1056
3df749b0
SM
1057 * type-break.el: Use lexical-binding.
1058 (type-break-mode): Use define-minor-mode.
1059
7f457c06
SM
1060 * emacs-lisp/pcase.el (pcase--mark-used): New.
1061 (pcase--u1): Use it (bug#12512).
1062
1063 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1064 in load-history with the right file name.
1065
c00ebc98
TH
10662012-09-28 Tassilo Horn <tsdh@gnu.org>
1067
1068 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1069 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1070 (doc-view-get-bounding-box): Make bounding box slicing work for
1071 ODF and DVI documents.
1072
96fb7170
GM
10732012-09-28 Glenn Morris <rgm@gnu.org>
1074
1075 * type-break.el (type-break-mode, type-break-interval)
1076 (type-break-good-rest-interval, type-break-keystroke-threshold):
1077 No need to autoload.
1078 (type-break-good-rest-interval, type-break-keystroke-threshold):
1079 Add :set-after.
1080
5bc93c67
CY
10812012-09-28 Chong Yidong <cyd@gnu.org>
1082
1083 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1084 Add :version tag.
1085
9cad61d6
SM
10862012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1087
e28e67b3 1088 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 1089
daee954c
GM
10902012-09-27 Glenn Morris <rgm@gnu.org>
1091
a88324d4
GM
1092 * faces.el (x-display-name): Declare (for without-x builds).
1093
8e5064e5
GM
1094 * linum.el (linum-format): Don't autoload it. Improve :type.
1095
cc1783c2
GM
1096 * progmodes/tcl.el: Don't require outline when compiling.
1097 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
1098 * textmodes/sgml-mode.el: Don't require outline when compiling.
1099 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1100
48c339f2
GM
1101 * term.el (term-ansi-reset):
1102 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1103
daee954c
GM
1104 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1105 files for RCS and SCCS. (Bug#9781)
1106
b7f42161
CY
11072012-09-27 Chong Yidong <cyd@gnu.org>
1108
1109 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1110 change; value should be t.
1111
a2e770db
SM
11122012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1113
83600dc8
SM
1114 * image-mode.el: Use lexical-binding.
1115 (image-mode-winprops): Use t to stand for the window of
1116 a buffer that's not displayed.
1117 * doc-view.el (doc-view-new-window-function): Handle the new
1118 t in winprops.
1119 (doc-view-enlarge): Make it a real nop if the size is not changed.
1120 (doc-view-display): Handle the case where the buffer is not (yet?)
1121 displayed in any window.
1122 (doc-view-saved-settings): New var.
1123 (doc-view-mode): Use it.
1124 (doc-view-fallback-mode): Set it.
1125
a2e770db
SM
1126 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1127 Set lexical-binding.
1128 (minibuffer-eldef-shorten-default): New var.
1129 (minibuffer-default-in-prompt-regexps): Use it for new default.
1130 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1131
e3b60857
JB
11322012-09-26 Juanma Barranquero <lekktu@gmail.com>
1133
1134 * international/uni-bidi.el:
1135 * international/uni-category.el:
1136 * international/uni-name.el:
1137 * international/uni-numeric.el: Regenerate.
1138
3a880af4
SM
11392012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1140 Stefan Monnier <monnier@iro.umontreal.ca>
1141
1142 * profiler.el: New file.
1143
07b1a5fb
SM
11442012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1145
1146 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1147 (testcover-reinstrument): Simplify with CSE.
1148
42019c2e
JB
11492012-09-26 Juanma Barranquero <lekktu@gmail.com>
1150
1151 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1152
179f044b
WS
11532012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1154
1155 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1156 (verilog-auto-input, verilog-auto-insert-lisp)
1157 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1158 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1159 (verilog-auto-unused, verilog-auto-wire)
1160 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1161 newline. Reported by Andrew Jones.
1162 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1163 Reported by Brad Dobbie.
07b1a5fb
SM
1164 (verilog-batch-delete-trailing-whitespace):
1165 Create verilog-batch-delete-trailing-whitespace.
1166 Reported by Brad Dobbie.
179f044b
WS
1167 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1168 parameters from another module. Reported by Dan Katz.
1169 (verilog-auto, verilog-auto-assign-modport)
1170 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1171 AUTOINOUTMODPORT for UVM interface module shell generation.
1172 Reported by Brad Dobbie.
1173 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1174 standard behavior.
1175 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1176 Reported by Matt Martin.
1177
9c52dd5a
MR
11782012-09-25 Martin Rudalics <rudalics@gmx.at>
1179
1180 * window.el (window--resize-child-windows): When resizing child
1181 windows proportionally, process them in reverse order to
1182 preserve the "when splitting a window the new one gets the odd
1183 line" behavior.
1184 (window--resize-root-window-vertically): When resizing the
1185 minibuffer window try to affect only windows at the bottom of the
1186 frame. (Bug#12419)
1187
863666eb
CY
11882012-09-25 Chong Yidong <cyd@gnu.org>
1189
1190 * subr.el (declare): Doc fix.
1191
1192 * help-fns.el (help-fns--obsolete): Handle macros properly.
1193
59f7af81
CY
11942012-09-25 Chong Yidong <cyd@gnu.org>
1195
1196 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1197 this function obsolete.
1198
1199 * calendar/cal-x.el (calendar-two-frame-setup)
1200 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1201 * calendar/calendar.el (american-calendar, european-calendar)
1202 (calendar-for-loop):
1203 * comint.el (comint-dynamic-simple-complete)
1204 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1205 * desktop.el (desktop-load-default):
1206 * dired-x.el (dired-omit-here-always)
1207 (dired-hack-local-variables, dired-default-directory):
1208 * emacs-lisp/derived.el (derived-mode-class):
1209 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1210 * emacs-lock.el (toggle-emacs-lock):
1211 * epa.el (epa-display-verify-result):
1212 * epg.el (epg-sign-keys, epg-start-sign-keys)
1213 (epg-passphrase-callback-function):
1214 * eshell/esh-util.el (eshell-for):
1215 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1216 (eshell-add-to-window-buffer-names):
1217 * files.el (locate-file-completion):
1218 * imenu.el (imenu-example--create-c-index)
1219 (imenu-example--create-lisp-index)
1220 (imenu-example--lisp-extract-index-name)
1221 (imenu-example--name-and-position):
1222 * international/mule-cmds.el (princ-list):
1223 * international/mule-diag.el (decode-codepage-char):
1224 * international/mule-util.el (detect-coding-with-priority):
1225 * iswitchb.el (iswitchb-read-buffer):
1226 * mail/mailalias.el (mail-complete):
1227 * mail/sendmail.el (mail-sent-via):
1228 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1229 (mouse-major-mode-menu):
1230 * password-cache.el (password-read-and-add):
1231 * pcomplete.el (pcomplete-parse-comint-arguments):
1232 * progmodes/sh-script.el (sh-maybe-here-document):
1233 * replace.el (query-replace-regexp-eval):
1234 * savehist.el (savehist-load):
1235 * simple.el (choose-completion-delete-max-match):
1236 * term.el (term-dynamic-simple-complete):
1237 * vc/ediff-init.el (ediff-check-version):
1238 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1239 * vc/vc.el (vc-diff-switches-list):
1240 * view.el (view-return-to-alist-update): Likewise.
1241
1242 * subr.el (eval-next-after-load, makehash, insert-string)
1243 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1244 mark obsolete.
1245 (mode-line-inverse-video): Variable deleted.
1246
1247 * international/mule-util.el (string-to-sequence): Remove.
1248
1249 * calendar/calendar.el (calendar-version):
1250 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1251 (icalendar-convert-diary-to-ical):
1252 * cus-edit.el (custom-mode):
1253 * ansi-color.el (ansi-color-unfontify-region):
1254 * international/latin1-disp.el (latin1-char-displayable-p):
1255 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
1256 * progmodes/which-func.el (which-func-update-1):
1257 Use define-obsolete-function-alias.
59f7af81
CY
1258
1259 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
1260 * net/newst-treeview.el (newsticker-groups-filename):
1261 Fix incorrect obsolescence declaration.
59f7af81
CY
1262
1263 * allout.el (allout-passphrase-hint-string): Likewise.
1264 (allout-init): Use a declare form to mark obsolete.
1265
1266 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1267 this applies to functions.
1268
1269 * iswitchb.el (iswitchb-read-buffer): Move code of
1270 iswitchb-define-mode-map here, and delete that obsolete function.
1271
1272 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1273 font-lock-reference-face.
1274
cca96c97
GM
12752012-09-25 Glenn Morris <rgm@gnu.org>
1276
b06eeda8
GM
1277 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1278 Doc fixes.
1279
cca96c97
GM
1280 * eshell/em-term.el (eshell-term-name):
1281 Default to term-term-name. (Bug#12485)
1282
dc4f818b
FEG
12832012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1284
cca96c97
GM
1285 * progmodes/python.el (python-shell-send-buffer): Better handling
1286 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 1287
289c24bd
GM
12882012-09-24 Glenn Morris <rgm@gnu.org>
1289
1290 * eshell/esh-cmd.el (eshell-find-alias-function):
1291 Tighten up file-name regexp. (Bug#12499)
1292
8fb8b88f
FEG
12932012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1294
1295 Enhancements for triple-quote string syntax.
1296 * progmodes/python.el (python-quote-syntax): Remove.
1297 (python-syntax-propertize-function): New value.
07b1a5fb
SM
1298 (python-syntax-count-quotes, python-syntax-stringify):
1299 New functions.
8fb8b88f 1300
6c27f0f8
CY
13012012-09-24 Chong Yidong <cyd@gnu.org>
1302
a5f2b6ec
CY
1303 * mail/supercite.el (sc-version): Remove obsolete function.
1304 (sc-describe): Don't mark as obsolete, since it is bound.
1305 (sc-submit-bug-report): Remove.
1306
1307 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1308 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
1309 (log-edit-require-final-newline)
1310 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
1311
1312 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1313 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1314 * vc/vc.el (vc-checkout-carefully): Likewise.
1315
1316 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1317 (emerge-version): Remove.
1318
1319 * progmodes/compile.el (compile-internal): Remove.
1320 (compilation-parse-errors-function): Fix typo.
1321
1322 * international/mule.el (set-char-table-default): Remove.
1323 (set-coding-priority, make-coding-system, generic-char-p)
1324 (charset-list, charset-bytes, charset-id): Use declare to mark
1325 functions as obsolete.
1326
1327 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1328 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1329 * vc/vc-hooks.el (vc-default-registered): Don't use
1330 vc-master-templates.
1331
07b1a5fb
SM
1332 * font-lock.el (font-lock-reference-face):
1333 Use define-obsolete-variable-alias.
6c27f0f8
CY
1334
1335 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1336 * calendar/calendar.el (calendar-font-lock-keywords):
1337 * calendar/diary-lib.el (diary-font-lock-keywords)
1338 (diary-fancy-font-lock-keywords):
1339 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1340 * textmodes/reftex-index.el (reftex-insert-index):
1341 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1342 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1343 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1344 * progmodes/prolog.el (prolog-font-lock-keywords):
1345 * progmodes/idlwave.el (idlwave-idl-keywords):
1346 * progmodes/ada-mode.el (ada-font-lock-keywords):
1347 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1348
bcc0adbf
GM
13492012-09-24 Glenn Morris <rgm@gnu.org>
1350
1351 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1352
095bb823
FEG
13532012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1354
1355 * progmodes/python.el (python-indent-line): More consistent cursor
1356 movement behavior.
1357
70efc5c9
SM
13582012-09-23 Stefan Merten <smerten@oekonux.de>
1359
1360 * textmodes/rst.el: Fix compiler warning.
1361
2f438239
RW
13622012-09-23 Roland Winkler <winkler@gnu.org>
1363
07b1a5fb
SM
1364 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1365 Transcribe also LaTeX hyphenation.
2f438239
RW
1366 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1367 bibtex-reformat-previous-options.
1368
936ad041
RW
13692012-09-23 Roland Winkler <winkler@gnu.org>
1370
1371 * proced.el (proced-renice-command): New variable.
1372 (proced-marked-processes): New function.
1373 (proced-with-processes-buffer): New macro.
1374 (proced-send-signal): Use them.
1375 (proced-renice): New command bound to r.
1376
6fab0274
RW
13772012-09-23 Roland Winkler <winkler@gnu.org>
1378
1379 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1380 ibuffer-saved-filter-groups has one element, shortcut the call of
1381 completing-read. (Bug#12331)
1382
9a930676
CY
13832012-09-23 Chong Yidong <cyd@gnu.org>
1384
1385 * bindings.el (mode-line-toggle-read-only):
1386 * bs.el (bs-toggle-readonly):
1387 * buff-menu.el (Buffer-menu-toggle-read-only):
1388 * dired.el (dired-toggle-read-only):
1389 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1390
d07ff9db
CY
13912012-09-23 Chong Yidong <cyd@gnu.org>
1392
1393 * image.el (image-type-available-p): Adapt to init-image-library
1394 argument changes.
1395
51c4474e
JL
13962012-09-22 Juri Linkov <juri@jurta.org>
1397
1398 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1399 `dired-toggle-read-only'. (Bug#12462)
1400
43bf5e8e
MR
14012012-09-22 Martin Rudalics <rudalics@gmx.at>
1402
1403 * subr.el (temp-output-buffer-show): New function.
1404 (with-output-to-temp-buffer): Call temp-output-buffer-show
1405 instead of internal-temp-output-buffer-show.
1406
c88b867f
CY
14072012-09-22 Chong Yidong <cyd@gnu.org>
1408
3df47cd5
CY
1409 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1410 (Bug#12462).
1411
c88b867f
CY
1412 * repeat.el (repeat): Doc fix (Bug#12348).
1413
1414 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1415 (Bug#10909).
1416
1417 * simple.el (shell-command-on-region): Doc fix.
3171e303 1418 (read-only-mode): Doc fix.
c88b867f 1419
df9685f3
EZ
14202012-09-22 Eli Zaretskii <eliz@gnu.org>
1421
1422 * emacs-lisp/timer.el (run-with-idle-timer)
1423 (timer-activate-when-idle): Warn against reinvoking an idle timer
1424 from within its own timer action. (Bug#12447)
1425
8e17c9ba
MR
14262012-09-22 Martin Rudalics <rudalics@gmx.at>
1427
1428 * cus-start.el (window-combination-limit): Add new optional
1429 values.
1430 * window.el (temp-buffer-window-show)
1431 (window--try-to-split-window): Handle new values of
1432 window-combination-limit (Bug#1806).
1433 (split-window): Test window-combination-limit for t instead of
1434 non-nil.
1435 (display-buffer-at-bottom): New buffer display action function.
1436 * help.el (temp-buffer-resize-regexps): New option.
1437 (temp-buffer-resize-mode): Rewrite doc-string.
1438 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 1439 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 1440
48a24920
SM
14412012-09-22 Stefan Merten <smerten@oekonux.de>
1442
70efc5c9 1443 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
1444 (rst-official-version)
1445 (rst-package-emacs-version-alist): Sync with official version
1446 V1.4.0.
1447 (rst-faces-defaults, rst-set-level-default)
1448 (rst-level-face-max, rst-level-face-base-color)
1449 (rst-level-face-base-light, rst-level-face-format-light)
1450 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1451 (rst-adornment-faces-alist): Match new setup.
1452 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1453 (rst-level-5, rst-level-6): New faces.
1454
82f8cd94
CY
14552012-09-22 Chong Yidong <cyd@gnu.org>
1456
1457 * simple.el (undo): Handle indirect buffers (Bug#8207).
1458
acfa068f 14592012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
1460
1461 IDO: Disable match re-ordering for buffer switching.
2bc9406c 1462 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
1463 (ido-set-matches-1): Use it. (Bug#2042)
1464
acfa068f 14652012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
1466
1467 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1468 Fix 2011-05-17 change. (Bug#12418)
1469
acfa068f 14702012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
1471
1472 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1473
acfa068f 14742012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
1475
1476 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1477 Be more robust about locating simple.el.
1478
acfa068f 14792012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
1480
1481 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1482
acfa068f
CY
14832012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1484
1485 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1486
41a97e6f
JL
14872012-09-20 Juri Linkov <juri@jurta.org>
1488
eb2deaff
JL
1489 * replace.el (query-replace-read-from): Use `read-regexp' instead
1490 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1491 (occur-read-primary-args): Use `read-regexp' instead of
1492 `read-string'.
1493 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1494 `read-from-minibuffer'.
1495 * isearch.el (isearch-occur): Use `read-regexp' instead of
1496 `read-string'.
1497 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1498 `read-from-minibuffer'.
1499 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1500 of `read-string'. (Bug#7567)
1501
5825610b
JL
1502 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1503 and allow accepting a list of strings prepended to a list of
1504 standard default values. Doc fix. (Bug#12321)
1505
eebbf404
JL
1506 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1507
41a97e6f
JL
1508 * replace.el (read-regexp): Don't add ": " when PROMPT already
1509 ends with a colon and space. (Bug#12321)
1510
c9e452d3
TH
15112012-09-20 Tassilo Horn <tsdh@gnu.org>
1512
1513 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1514 error.
1515
ee97deee
SM
15162012-09-20 Stefan Merten <smerten@oekonux.de>
1517
70efc5c9 1518 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
1519 Fixes feature request bug#11711.
1520 (rst-mode): Create `imenu-create-index-function'.
1521 (rst-get-stripped-line): Delete after refactoring.
1522 (rst-section-tree, rst-section-tree-rec)
1523 (rst-section-tree-point): Refactor and document properly.
1524 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
1525 (rst-imenu-convert-cell, rst-imenu-create-index):
1526 New function.
ee97deee 1527
f490dab9
SM
15282012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1529
95b9712e
SM
1530 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1531 (macroexp--expand-all): Use it.
1532 (macroexp--funcall-and-return): Remove by folding it into its sole
1533 caller (macroexp--warn-and-return).
1534 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1535 Use macroexp--obsolete-warning.
1536
f490dab9
SM
1537 * calc/calc.el: Fix last change by removing the whole chunk, since it
1538 was only needed back when Calc was not bundled.
1539
96e8d411
MR
15402012-09-20 Martin Rudalics <rudalics@gmx.at>
1541
1542 * emacs-lisp/debug.el (debug): Restore assignment to
1543 debugger-old-buffer removed on 2012-09-08.
1544
0876a82d
JL
15452012-09-20 Juri Linkov <juri@jurta.org>
1546
1547 * dired-aux.el (dired-diff): Remove (require 'diff) since
1548 `diff-latest-backup-file' is now autoloaded.
1549
9f7c28f0
CY
15502012-09-20 Chong Yidong <cyd@gnu.org>
1551
1552 * vc/diff.el (diff-latest-backup-file): Autoload.
1553
7a04bee9
SM
15542012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1555
e6f0a80d
SM
1556 * calc/calc.el: Remove redundant autoload shape check.
1557 (sel-mode): Don't defvar.
1558 (calc-get-stack-element): Add `sel-mode' arg instead.
1559 (calc-top, calc-top-list): Pass it this additional argument.
1560 * calc/calc-store.el (calc-store-map):
1561 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1562 (calc-map-equation, calc-outer-product, calc-inner-product):
1563 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1564
7a04bee9
SM
1565 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1566
12734222
JL
15672012-09-19 Juri Linkov <juri@jurta.org>
1568
1569 * dired-aux.el (dired-diff): Add (require 'diff) because
1570 `diff-latest-backup-file' is not autoloaded.
1571 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1572 of `dired-get-filename' to t to not report error when there is
1573 no default file on the current line.
1574
46624b4f
SM
15752012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1576
ce97595b
SM
1577 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1578 macroexp--eval-if-compile.
1579 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1580 (macroexp--expand-all): Use them (bug#12371).
1581
46624b4f
SM
1582 * doc-view.el (doc-view-guess-paper-size)
1583 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1584
db8a5a18
TH
15852012-09-19 Tassilo Horn <tsdh@gnu.org>
1586
1587 New feature: set optimal slice from BoundingBox information.
1588 * doc-view.el (doc-view-mode-map): Add keybinding.
1589 (doc-view-menu): Add menu entry.
1590 (doc-view-set-slice): Adapt docstring.
1591 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1592 (doc-view-scale-bounding-box)
1593 (doc-view-set-slice-from-bounding-box): New functions.
1594 (doc-view-paper-sizes): New defvar.
1595
69f6644c
GM
15962012-09-19 Glenn Morris <rgm@gnu.org>
1597
35f5b19d
GM
1598 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1599 (byte-compile-log-warning): Autoload. (Bug#12371)
1600
69f6644c
GM
1601 * calendar/calendar.el (calendar-american-month-header)
1602 (calendar-european-month-header, calendar-iso-month-header)
1603 (calendar-month-header): New options.
1604 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1605 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1606
e543ae91
JD
16072012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1608
1609 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1610
2fd5e67d
JL
16112012-09-18 Juri Linkov <juri@jurta.org>
1612
1613 * dired-aux.el (dired-diff): Restore original functionality of
1614 getting the default value, but keep new feature of using the
1615 latest existing backup file (`diff-latest-backup-file').
1616
42917e79
JL
16172012-09-18 Juri Linkov <juri@jurta.org>
1618
1619 * dired.el (dired-mark): If the region is active in Transient Mark
1620 mode, mark all files in the active region. Doc fix.
1621 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1622 Doc fix. (Bug#10624)
1623
20f70ede
JL
16242012-09-18 Juri Linkov <juri@jurta.org>
1625
1626 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1627 attributes for M-n are pulled from the file at point.
1628 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1629 Suggested by Drew Adams. (Bug#10624)
1630
32fb8162
DG
16312012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1632
1633 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1634 whitespace after "end".
1635 (ruby-do-end-to-brace): Collapse block to one line if it fits
1636 within fill-column.
1637
37ab5092
MR
16382012-09-18 Martin Rudalics <rudalics@gmx.at>
1639
1640 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1641 value.
1642 (debug): Don't remove debugger window when debugger is expected
1643 to be back.
1644
ed1f0bd3
CY
16452012-09-18 Chong Yidong <cyd@gnu.org>
1646
1647 * custom.el (defface): Doc fix.
1648
1649 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1650
a11035b8
MB
16512012-09-18 Martin Blais <blais@furius.ca> (tiny change)
1652
1653 * progmodes/compile.el (compilation-start): Use compilation-always-kill
1654 to initialize query-on-exit; then test that instead (bug#12288).
1655
64f6a736
SM
16562012-09-17 Stefan Merten <smerten@oekonux.de>
1657
70efc5c9 1658 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
1659 (rst-defcustom-testcover, rst-testcover-add-compose)
1660 (rst-testcover-add-1value): New functions.
1661 (rst-portable-mark-active-p): Replace by `use-region-p'.
1662 (rst-update-section, rst-classify-adornment)
1663 (rst-find-title-line): Mark `1value' forms.
1664 (rst-classify-adornment): Remove superfluous form.
1665 (rst-update-section, rst-get-adornments-around)
1666 (rst-adornment-complete-p, rst-get-next-adornment)
1667 (rst-adjust, rst-promote-region)
1668 (rst-display-adornments-hierarchy, rst-straighten-adornments)
1669 (rst-find-pfx-in-region, rst-section-tree-rec)
1670 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1671 (rst-toc-node, rst-toc, rst-forward-section)
1672 (rst-iterate-leftmost-paragraphs)
1673 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1674 (rst-bullet-list-region)
1675 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1676 (rst-compile-find-conf, rst-compile)
1677 (rst-repeat-last-character): Fix style.
1678
580bd868
CY
16792012-09-17 Chong Yidong <cyd@gnu.org>
1680
1681 * comint.el (comint--complete-file-name-data): Don't add a space
1682 if the status is `sole'; that adds a gratuitous space in the
1683 completion-cycling case (Bug#12092).
1684
1685 * pcomplete.el (pcomplete-completions-at-point): Likewise.
1686
69de3ec6
RS
16872012-09-17 Richard Stallman <rms@gnu.org>
1688
0dee970c
RS
1689 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
1690 only in the mime-shown mode, not in raw mode.
1691 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 1692 mime processing. (Bug#12305)
0dee970c 1693
6b250df6
GM
1694 * mail/rmail.el (rmail-retry-failure):
1695 Turn off mime processing first. (Bug#12037)
acb1c47b 1696
69de3ec6
RS
1697 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1698
d079ee5f
CY
16992012-09-17 Chong Yidong <cyd@gnu.org>
1700
1701 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1702 (shell-dynamic-complete-functions): Convert to defcustom.
1703 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1704
865fe16f
CY
1705 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1706 * comint.el (comint-prompt-read-only):
1707 * custom.el (defcustom):
1708 * hi-lock.el (hi-lock-mode):
1709 * ibuffer.el (ibuffer-formats):
1710 * ielm.el (ielm-prompt-read-only):
1711 * novice.el (disable-command):
1712 * saveplace.el (toggle-save-place):
1713 * speedbar.el (speedbar-supported-extension-expressions):
1714 * startup.el (auto-save-list-file-prefix, init-file-user)
1715 (after-init-hook, inhibit-startup-echo-area-message):
1716 * strokes.el (strokes-help):
1717 * time-stamp.el (time-stamp):
1718 * calendar/calendar.el (calendar, diary-file):
1719 * calendar/diary-lib.el (diary-mail-entries, diary)
1720 (diary-list-entries-hook):
1721 * calendar/holidays.el (holidays, calendar-holidays):
1722 * calendar/lunar.el (lunar-phases):
1723 * calendar/solar.el (sunrise-sunset):
1724 * emulation/edt.el (edt-load-keys):
1725 * emulation/viper.el (viper-mode):
1726 * eshell/em-alias.el (eshell-command-aliases-list):
1727 * eshell/esh-util.el (eshell-convert-numeric-arguments):
1728 * international/ogonek.el (ogonek-information):
1729 * net/tramp-cmds.el (tramp-bug):
1730 * net/quickurl.el (quickurl-reread-hook-postfix):
1731 * play/decipher.el (decipher-font-lock-keywords):
1732 * progmodes/cc-styles.el (c-set-style):
1733 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
1734 * progmodes/inf-lisp.el (inferior-lisp-prompt):
1735 * progmodes/octave-mod.el (octave-mode):
1736 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
1737 * progmodes/verilog-mode.el (verilog-read-defines):
1738 * textmodes/two-column.el (2C-mode): Likewise.
1739
48093eb9
KY
17402012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
1741
1742 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
1743 that holds many addresses.
1744
c584eaf9
CY
17452012-09-16 Chong Yidong <cyd@gnu.org>
1746
40d70ecb
CY
1747 * align.el (align-areas): Call the indication function with
1748 positions instead of markers for arguments (Bug#12343).
1749
1667e065
CY
1750 * files.el (parse-colon-path): Use split-string (Bug#12351).
1751
fdc2806d 1752 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 1753 (display-buffer-function): Mark as obsolete.
fdc2806d 1754
f1be615c 1755 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
1756 values similar to font-lock-keywords (Bug#12136).
1757 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
1758 (compilation-error-regexp-alist): Doc fix.
1759
f40a9709
GM
17602012-09-15 Glenn Morris <rgm@gnu.org>
1761
72aa16e1
GM
1762 * version.el (emacs-bzr-version-bzr): New function.
1763 (emacs-bzr-get-version): Add optional EXTERNAL argument.
1764
82375160
GM
1765 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
1766 checkouts, check the parent dirstate matches the branch.
1767 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
1768 empty string.
1769
f40a9709
GM
1770 * version.el (emacs-bzr-version): Doc fix.
1771 (emacs-bzr-version-dirstate): New function.
1772 (emacs-bzr-get-version): For lightweight checkouts, if the parent
1773 is local try and check that it matches the branch. If not, just
1774 use dirstate information. (Bug#12441)
1775
cb26b7f5
JL
17762012-09-14 Juri Linkov <juri@jurta.org>
1777
1778 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
1779 (Bug#12399)
1780
2de39f08
SM
17812012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1782
0fb3cb7c
SM
1783 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
1784
2de39f08
SM
1785 * emacs-lisp/edebug.el: Miscellaneous cleanup.
1786 Remove obsolete byte-compiler hack that tried to silence some warnings.
1787 (edebug-submit-bug-report): Remove.
1788 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
1789 Remove aliases, use the un-prefixed name instead.
1790 (edebug-pop-to-buffer): Consider other frames.
1791 (edebug-original-read):: Make it more obvious that it's always defined.
1792 (edebug--make-form-data-entry, edebug--form-data-name)
1793 (edebug--form-data-begin, edebug--form-data-end): Rename from the
1794 single-dashed name, and implement with cl-defstruct.
1795 (edebug-set-form-data-entry): Use the standard accessors.
1796 (edebug-make-top-form-data-entry): Use push.
1797 (edebug-no-match): Drop useless `funcall'.
1798 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
1799 to functions.
1800 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
1801 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
1802 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
1803 (easy-menu-define, with-custom-print): Remove redundant specs.
1804 (edebug-outside-overriding-local-map)
1805 (edebug-outside-overriding-terminal-local-map): Remove, unused.
1806 (edebug--display): Bind unread-command-events directly to nil rather
1807 than binding it to unread-command-events and later setting it to nil.
1808 (edebug--display): Kill edebug-eval-buffer here...
1809 (edebug--recursive-edit): ...rather than here.
1810 Bind standard-output and standard-input.
1811 (edebug-eval): Check cl-macroexpand-all is fboundp.
1812 (edebug-temp-display-freq-count): Fix last change.
1813
1814 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
1815 * subr.el (noreturn, 1value): Add `debug' spec.
1816 * emacs-lisp/advice.el: Require cl-lib.
1817 (ad-copy-tree): Remove, use copy-tree instead.
1818 (ad-dolist): Remove use dolist or cl-dolist instead.
1819 (ad-do-return): Remove, use cl-return instead.
1820 (defadvice): Add `debug' spec.
1821
5b68b333
JL
18222012-09-13 Juri Linkov <juri@jurta.org>
1823
1824 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
1825 (Bug#12399)
1826
b9800ec4
GM
18272012-09-13 Glenn Morris <rgm@gnu.org>
1828
6a2e6868
GM
1829 * calc/calc.el (math-compose-expr):
1830 * calc/calc-ext.el (math-compose-expr):
1831 * progmodes/cc-defs.el (cl-macroexpand-all):
1832 * progmodes/cc-langs.el (delete-duplicates, mapcan)
1833 (cl-macroexpand-all): Update declarations.
1834
b9800ec4
GM
1835 * vc/vc.el: No need to require ediff.
1836 (ediff-load-version-control): Declare.
1837 (ediff-vc-internal): Fix declaration.
1838 (vc-version-ediff): Require ediff.
1839
c18e885b
PE
18402012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1841
1842 Use a more backwards-compatible timer format (Bug#12430).
1843 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
1844 being right after USECS, as that better supports old code that
1845 inadvisedly looked directly at the timer vector.
1846
d607d303
KH
18472012-09-13 Kenichi Handa <handa@gnu.org>
1848
1849 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
1850 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
1851 `coding-priority' property of these language environment.
1852
72eac303
PE
18532012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1854
1855 Fix glitches caused by addition of psec to timers (Bug#12430).
1856 * image.el (image-animate-timer):
1857 * time.el (display-time-world-timer):
1858 Use timer--function and timer--args rather than raw access to
1859 timer vector.
1860
2168fe4f
GM
18612012-09-13 Glenn Morris <rgm@gnu.org>
1862
1863 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
1864 If not compiling a file, try using load-file-name.
1865
bd8d6108
SM
18662012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1867
c0c54fbd
SM
1868 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
1869 Fix last change.
1870 (edebug-update-eval-list): Use `push'.
1871
bd8d6108
SM
1872 * emacs-lisp/edebug.el: Use lexical-binding.
1873 Remove the "edebug-" prefix from non-dynamically-scoped variables.
1874 Mark unused args with underscore.
1875 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
1876 (edebug-form-data): Use defvar-local.
1877 (edebug-make-before-and-after-form, edebug-make-after-form):
1878 Use backquote.
1879 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
1880 Not dynamically scoped any more.
1881 (edebug--enter-trace): Add arguments `function' and `args'.
1882 Rename from edebug-enter-trace.
1883 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
1884 (edebug--update-coverage): Add `after-index' and `value' args.
1885 Rename from edebug-update-coverage.
1886 (edebug-slow-after): Call it accordingly.
1887 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
1888 edebug-recursive-edit.
1889 (edebug--display): Call it accordingly. Add args `value',
1890 `offset-index', and `arg-mode'. Rename from edebug-display.
1891 (edebug-debugger, edebug): Call it accordingly.
1892 (edebug-eval-display-list): Use dolist.
1893
a9f9d9de
JL
18942012-09-12 Juri Linkov <juri@jurta.org>
1895
1896 * info.el (Info-search): Don't check for isearch-mode and
1897 isearch-regexp before let-binding search-spaces-regexp to
1898 Info-search-whitespace-regexp.
1899 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
1900 search-whitespace-regexp if isearch-lax-whitespace or
1901 isearch-regexp-lax-whitespace is non-nil.
1902 (Info-mode): Don't set local variable search-whitespace-regexp.
1903 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
1904
bfeae2cf
SM
19052012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1906
1907 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
1908 (debugger-env-macro): Remove support for unread-command-char.
1909
1910 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
1911 the temporary map re-appearing on emulation-mode-map-alists.
1912
1913 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
1914 since 22.1.
1915
1916 * ehelp.el (with-electric-help): Accept functions in
1917 electric-help-form-to-execute.
1918 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
1919 And replace unread-command-char -> unread-command-events.
1920
fbbcaf1b
MA
19212012-09-12 Michael Albinus <michael.albinus@gmx.de>
1922
1923 Sync with Tramp 2.2.6.
1924
1925 * net/tramp.el (tramp-accept-process-output): Don't use
1926 JUST-THIS-ONE in the XEmacs case.
1927
1928 * net/trampver.el: Update release number.
1929
4dece104
MR
19302012-09-12 Martin Rudalics <rudalics@gmx.at>
1931
bfeae2cf
SM
1932 * emacs-lisp/debug.el (debugger-previous-window-height):
1933 New variable.
4dece104
MR
1934 (debug): When debugger-jumping-flag is non-nil try to restore
1935 height of debugger window. (Bug#8789)
1936
45b82ad0
SM
19372012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1938
60c49c0f
SM
1939 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
1940 overriding-local-map and pre/post-command-hook here.
1941 (edebug-recursive-edit): Do it here instead (bug#12345).
1942 (edebug-outside-unread-command-char): Remove all uses of
1943 unread-command-char.
1944
45b82ad0
SM
1945 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
1946 inhibit-debugger is bound instead.
1947
baa26ea0
BG
19482012-09-11 Bastien Guerry <bzg@gnu.org>
1949
1950 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 1951 (Bug#12346)
baa26ea0 1952
04e8abfa
BG
19532012-09-11 Bastien Guerry <bzg@gnu.org>
1954
96d03571 1955 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 1956 (Bug#12347)
96d03571
BG
1957
19582012-09-11 Bastien Guerry <bzg@gnu.org>
1959
fc0c31f8 1960 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 1961
04e082b0
MM
19622012-09-10 Michael R. Mauger <mmaug@yahoo.com>
1963
1964 * progmodes/sql.el: Version 3.1
1965 (sql-db2-escape-newlines): New variable.
1966 (sql-escape-newlines-filter): Use it.
1967
399a361b
JB
19682012-09-10 Juanma Barranquero <lekktu@gmail.com>
1969
1970 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1971
0780c517
DN
19722012-09-10 Dan Nicolaescu <dann@gnu.org>
1973
45b82ad0
SM
1974 * vc/diff-mode.el (diff-mode-menu):
1975 Bind diff-remove-trailing-whitespace.
0780c517 1976
9b851e25
SM
19772012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1978
1979 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
1980 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
1981 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
1982 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1983 (eval-defun-2): Remove bogus interactive spec.
1984 (lisp-indent-line): Remove redundant whole-exp code, now done in
1985 indent-according-to-mode.
1986 (save-match-data): Remove redundant indent data.
1987
1988 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1989 Use `declare'.
1990
3231d532
JL
19912012-09-09 Juri Linkov <juri@jurta.org>
1992
1993 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1994 (replace-lax-whitespace, query-replace-regexp)
1995 (query-replace-regexp-eval, replace-regexp): Doc fix.
1996 (perform-replace, replace-highlight): Let-bind
1997 isearch-lax-whitespace to replace-lax-whitespace and
1998 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1999
2000 * isearch.el (isearch-query-replace): Let-bind
2001 replace-lax-whitespace to isearch-lax-whitespace and
2002 replace-regexp-lax-whitespace to
2003 isearch-regexp-lax-whitespace. (Bug#10885)
2004
70fe8236
SM
20052012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2006
2007 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2008
8ed43f15
AM
20092012-09-09 Alan Mackenzie <acm@muc.de>
2010
70fe8236
SM
2011 * progmodes/cc-engine.el (c-state-cache-init):
2012 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2013 (c-record-parse-state-state):
2014 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 2015
bfabf70a
AS
20162012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2017
2018 * register.el (register-separator): Rename from
2019 separator-register. All uses changed. Doc fix.
2020 (register): Fix version.
2021
011474aa
CY
20222012-09-09 Chong Yidong <cyd@gnu.org>
2023
2024 * replace.el (query-replace-map): Bind four new symbols for
2025 requesting window scrolling.
2026
2027 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2028 query-replace-map (Bug#8948).
2029
2030 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2031
2032 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2033 since they are now in query-replace-map.
2034
2035 * window.el (scroll-other-window-down): Make the arg optional.
2036
a8b7cd8d
CY
20372012-09-09 Chong Yidong <cyd@gnu.org>
2038
2039 * files.el (hack-local-variables-confirm): Use quit-window to kill
2040 the *Local Variables* buffer.
2041
c3268831
DG
20422012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2043
2044 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2045 not just expect to be at its beginning. Adjust callees.
2046 Succeed when do-end block has no space before the pipe character.
2047 (ruby-brace-to-do-end): When the original block is one-liner,
2048 convert to multiline. Reindent the result.
2049
0979429b
J
20502012-09-08 Jambunathan K <kjambunathan@gmail.com>
2051
2052 * register.el (register): New group.
27359e99 2053 (separator-register): New user option.
0979429b
J
2054 (increment-register): Route it to `append-to-register', if
2055 register contains text. Implication is that `C-x r +' can now be
2056 used for appending to a text register (bug#12217).
2057 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 2058 `separator-register'.
0979429b 2059
ace2989a
AM
20602012-09-08 Alan Mackenzie <acm@muc.de>
2061
2062 AWK Mode: make auto-newline work when there's "==" in the pattern.
2063 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2064 correctly.
0979429b
J
2065 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2066 Test more rigorously for "=" token.
ace2989a 2067
616c6c36
DG
20682012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2069
0979429b
J
2070 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2071 Only fail when reached LIMIT.
616c6c36 2072
35d98877
CY
20732012-09-08 Chong Yidong <cyd@gnu.org>
2074
2075 * dired.el (dired-mode-map): Don't bind M-=.
2076
2077 * dired-aux.el (dired-diff): Use backup file as default.
2078
1715f2db
DA
20792012-09-08 Drew Adams <drew.adams@oracle.com>
2080
2081 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2082
6dcef6ec
CY
20832012-09-08 Chong Yidong <cyd@gnu.org>
2084
2085 * subr.el (syntax-after, syntax-class): Doc fix.
2086
fa2bcf43
MR
20872012-09-08 Martin Rudalics <rudalics@gmx.at>
2088
2089 * window.el (display-buffer-in-previous-window): New buffer
2090 display action function.
2091
2092 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2093 (debugger-previous-window): New variable.
2094 (debug): Rewrite using display-buffer-in-previous-window,
2095 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2096
daac280a
SM
20972012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2098
2099 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2100
9dd40b00
MM
21012012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2102
daac280a
SM
2103 * progmodes/python.el (python-shell-send-string):
2104 When default-directory is remote, create temp file on remote
9dd40b00
MM
2105 filesystem.
2106 (python-shell-send-file): When file is remote, pass local view of
2107 file paths to remote Python interpreter. (Bug#12340)
2108
145823ec
CY
21092012-09-07 Chong Yidong <cyd@gnu.org>
2110
cee2e90d
CY
2111 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2112
0d7eb2ea
CY
2113 * files.el (after-find-file): Don't fail on a read-only buffer if
2114 require-final-newline is `visit' or `visit-save' (Bug#11156).
2115
145823ec
CY
2116 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2117
daac280a
SM
2118 * userlock.el (ask-user-about-supersession-threat):
2119 Use read-char-choice (Bug#12093).
145823ec 2120
74c582e6
CY
21212012-09-07 Chong Yidong <cyd@gnu.org>
2122
e5c2edf7
CY
2123 * subr.el (buffer-narrowed-p): New function.
2124
2125 * ses.el (ses-widen):
2126 * simple.el (count-words--buffer-message):
1f9f395d 2127 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
2128
2129 * simple.el (count-words-region): Don't signal an error if there
2130 is a non-nil prefix arg and the mark is not set.
c640e87d 2131
74c582e6
CY
2132 * help.el (describe-key-briefly): Allow the message to be seen
2133 when invoked from the minibuffer (Bug#7014).
2134
d81ceaaf
DG
21352012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2136
2137 * progmodes/ruby-mode.el (ruby-end-of-defun)
2138 (ruby-beginning-of-defun): Simplify, allow indentation before
2139 block beginning and end keywords.
8f06acce
DG
2140 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2141 (ruby-end-of-defun): Expect that the point is at the beginning of
2142 the defun.
d81ceaaf 2143
d458ef98
SM
21442012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2145
2146 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2147 (bug#12367).
2148 (cl--make-usage-args): Strip _ from argument names.
2149
20367d28
RS
21502012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2151
2152 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2153 obsolete alias speedbar-key-map.
2154 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2155 (vhdl-index-menu-init): Don't use obsolete variable
2156 font-lock-maximum-size.
2157
3424a4f6
CY
21582012-09-06 Chong Yidong <cyd@gnu.org>
2159
2160 * frame.el (window-system-version): Mark as obsolete.
2161
fcbfbdea
CY
2162 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2163 of obsolete variable speedbar-key-map.
2164
826b3235
JL
21652012-09-06 Juri Linkov <juri@jurta.org>
2166
2167 * replace.el (replace-lax-whitespace): New defcustom.
2168 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2169 (replace-string, replace-regexp): Mention it in docstrings.
2170 (perform-replace, replace-highlight): Let-bind
2171 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2172 to the values of replace-lax-whitespace and regexp-flag.
2173 Don't let-bind search-whitespace-regexp. (Bug#10885)
2174
2175 * isearch.el (isearch-query-replace): Let-bind
2176 replace-lax-whitespace instead of let-binding
2177 replace-search-function and replace-re-search-function.
2178 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2179 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2180 (isearch-toggle-symbol): Set isearch-regexp to nil
2181 in isearch-word mode (like in isearch-toggle-word).
2182
1ec5e41d
JL
21832012-09-06 Juri Linkov <juri@jurta.org>
2184
2185 * replace.el (replace-search-function)
2186 (replace-re-search-function): Set default values to nil.
2187 (perform-replace): Let-bind isearch-related variables based on
2188 replace-related values, call `isearch-search-fun' and let-bind
2189 the result to `search-function'. Remove code that sets
2190 `search-function' and `search-string' separately for
2191 `delimited-flag'.
2192 (replace-highlight): Add new argument `delimited-flag' and
2193 rename other arguments to the names used in `perform-replace'.
2194 Let-bind `isearch-word' to the argument `delimited-flag'.
2195 (Bug#10885, bug#10887)
2196
0ba2d4b6
DG
21972012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2198
2199 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2200 ruby-beginning-of-indent, simplify, allow all keywords to have
2201 indentation before them.
2202 (ruby-beginning-of-indent): Adjust for above. Search until the
2203 found point is not inside a string or comment.
2204 (ruby-font-lock-keywords): Allow symbols to start with "@"
2205 character, give them higher priority than variables.
2206 (ruby-syntax-propertize-function)
2207 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2208 matchers. Expression expansions are not comments when inside a
2209 string, and there comment syntax status is irrelevant.
2210 (ruby-match-expression-expansion): New function. Check that
2211 expression expansion is inside a string, and it's not escaped.
2212 (ruby-font-lock-keywords): Use it.
2213
ef654460
MR
22142012-09-05 Martin Rudalics <rudalics@gmx.at>
2215
2216 * help.el (temp-buffer-max-height): New default value.
2217 (temp-buffer-resize-frames): New option.
2218 (resize-temp-buffer-window): Optionally resize frame.
2219
2220 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2221 (fit-frame-to-buffer): New function.
2222
7e570fbf 22232012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
2224
2225 * emulation/cua-rect.el (cua--init-rectangles):
2226 * textmodes/picture.el (picture-mode-map):
2227 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2228 like forward-char and backward-char. (Bug#12317)
2229
7e570fbf 22302012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
2231
2232 * progmodes/flymake.el (flymake-warning-re): New variable.
2233 (flymake-parse-line): Use it.
2234
7e570fbf 22352012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
2236
2237 * calendar/holidays.el (holiday-christian-holidays):
2238 Rename an entry. (Bug#12289)
2239
7e570fbf 22402012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
2241
2242 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2243 (bug#12222).
2244
972debf2
SM
22452012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2246
2247 * loadup.el: Load macroexp. Remove hack.
2248 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2249 (macroexp--expand-all): Use it to get better warnings.
2250 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2251 (internal-macroexpand-for-load): New functions.
2252 (macroexp--pending-eager-loads): New var.
2253 (emacs-startup-hook): New hack to replace one in loadup.el.
2254 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2255 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2256 (cl-psetf): Simplify.
2257 (cl-defstruct): Add indent rule.
2258
8ce192e3
LI
22592012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2260
2261 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2262 over `user-mail-address' for the SMTP MAIL FROM envelope.
2263 (smtpmail-via-smtp): Ditto.
2264
6578b4d8
DG
22652012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2266
2267 * progmodes/ruby-mode.el: Clean up keybindings.
2268 (ruby-mode-map): Don't bind ruby-electric-brace,
2269 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2270 backward-kill-word, reindent-then-newline-and-indent.
2271 (ruby-mark-defun): Remove.
2272 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2273 (ruby-mode): Set local beginning-of-defun-function and
2274 end-of-defun-function values.
2275
c5e28e39
MR
22762012-09-03 Martin Rudalics <rudalics@gmx.at>
2277
2278 * window.el (temp-buffer-window-setup-hook)
2279 (temp-buffer-window-show-hook): New hooks.
2280 (temp-buffer-window-setup, temp-buffer-window-show)
2281 (with-temp-buffer-window): New functions.
972debf2
SM
2282 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2283 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
2284
2285 * help.el (temp-buffer-resize-mode): Fix doc-string.
2286 (resize-temp-buffer-window): New optional argument WINDOW.
2287
2288 * files.el (recover-file, save-buffers-kill-emacs):
2289 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2290
73406194
MA
22912012-09-02 Michael Albinus <michael.albinus@gmx.de>
2292
2293 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2294 remote definition of `default-directory', ensure we can connect.
2295
63dd1c6f
JL
22962012-09-02 Juri Linkov <juri@jurta.org>
2297
2298 Toggle whitespace matching mode with M-s SPC.
2299 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2300
2301 * isearch.el (search-whitespace-regexp): Doc fix.
2302 Remove cons cell customization.
2303 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2304 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2305 New variables.
2306 (isearch-forward, isearch-forward-regexp): Doc fix.
2307 (isearch-toggle-lax-whitespace): New command.
2308 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2309 (re-search-forward-lax-whitespace)
2310 (re-search-backward-lax-whitespace): New functions.
2311 (isearch-whitespace-regexp): Remove function.
2312 (isearch-query-replace): Let-bind replace-search-function and
2313 replace-re-search-function.
2314 (isearch-occur): Let-bind search-spaces-regexp according to the
2315 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2316 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2317 condition for C-q SPC.
2318 (isearch-search-fun-default): Use new functions mentioned above.
2319 (isearch-search-forward, isearch-search-backward): Remove functions.
2320 (isearch-search): Don't let-bind search-spaces-regexp.
2321 (isearch-lazy-highlight-space-regexp): Remove variable.
2322 (isearch-lazy-highlight-lax-whitespace)
2323 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2324 (isearch-lazy-highlight-new-loop): Use them.
2325 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2326
af7dda05
CY
23272012-09-02 Chong Yidong <cyd@gnu.org>
2328
2329 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2330
d67d3afd
GM
23312012-09-02 Glenn Morris <rgm@gnu.org>
2332
2333 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2334
69678719
GM
23352012-09-01 Glenn Morris <rgm@gnu.org>
2336
2337 * term.el: Tidy up menu definitions.
2338 (term-mode-map): Use easymenu for In/Out, Complete menus.
2339 (term-pager-break-map): Initialize in the defvar.
2340 (term-terminal-menu, term-signals-menu): Define with easymenu.
2341 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2342 (term-pager-menu): New, extracted from term-process-pager.
2343 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2344 (term-update-mode-line): Propertize line/char and page items.
2345 (term-process-pager): Move keymap initialization elsewhere.
2346
78dd6ab1
MR
23472012-09-01 Martin Rudalics <rudalics@gmx.at>
2348
2349 * window.el (switch-to-prev-buffer): Handle additional values of
2350 BURY-OR-KILL argument. Don't switch in minibuffer window.
2351 (switch-to-next-buffer): Don't switch in minibuffer window.
2352 (quit-restore-window): New function based on quit-window.
2353 Handle additional values of former KILL argument.
2354 (quit-window): Call quit-restore-window with appropriate
2355 interpretation of KILL argument.
2356 (display-buffer-below-selected): New buffer display action
2357 function.
2358
3d10e134
SM
23592012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2360
2361 * minibuffer.el (completion-at-point-functions): Complete docstring
2362 (bug#12254).
2363
0e23ef9d
PE
23642012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2365
2366 Better seed support for (random).
2367 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2368 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2369 * play/mpuz.el, play/tetris.el, play/zone.el:
2370 * calc/calc-comb.el (math-init-random-base):
2371 * play/blackbox.el (bb-init-board):
2372 * play/life.el (life):
2373 * server.el (server-use-tcp):
2374 * type-break.el (type-break):
2375 Remove unnecessary call to (random t).
2376 * net/sasl.el (sasl-unique-id-function):
2377 Change (random t) to (random), now that the latter is more random.
2378 * play/life.el (life-initialized): Remove no-longer-needed var.
2379
862382df
MR
23802012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2381
2382 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2383 Consider frame's buffer predicate when choosing the buffer.
2384 (Bug#12081)
2385
262a66e1
RS
23862012-08-30 Richard Stallman <rms@gnu.org>
2387
2388 * simple.el (special-mode-map): Delete binding for `z'.
2389
f17e1d00
AS
23902012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2391
2392 * progmodes/compile.el (compilation-always-kill): Doc fix.
2393
24777832
CY
23942012-08-30 Chong Yidong <cyd@gnu.org>
2395
2396 * window.el (display-buffer-reuse-frames): Make the obsolescence
2397 message more informative.
2398
69ba1f04
GM
23992012-08-30 Glenn Morris <rgm@gnu.org>
2400
2401 * paren.el (show-paren-delay):
2402 Add a :set function. Doc fix. (Bug#12297)
2403
f0019ede
MB
24042012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2405
2406 * progmodes/compile.el (compilation-always-kill): New var.
2407 (compilation-start): Use it.
2408
35e62fc9
SM
24092012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2410
af070a1c
SM
2411 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2412 * files.el (read-only-mode): Move to simple.el.
2413
35e62fc9
SM
2414 * files.el (read-only-mode): New minor mode.
2415 (toggle-read-only): Use it and mark obsolete.
2416 (find-file--read-only):
2417 * vc/vc.el (vc-next-action, vc-checkout):
2418 * vc/vc-cvs.el (vc-cvs-checkout):
2419 * obsolete/vc-mcvs.el (vc-mcvs-update):
2420 * ffap.el (ffap--toggle-read-only): Update callers.
2421
c2c43c23
MA
24222012-08-29 Michael Albinus <michael.albinus@gmx.de>
2423
2424 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
2425 remote shell scripts.
2426 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
2427
2428 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2429 "/usr/local/sbin".
2430
9fba804b
SM
24312012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2432
2433 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2434
eada0861 24352012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 2436
806f0cc7
LL
2437 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2438 completion-at-point. (Bug#12220)
2439
3bb213b9
LL
2440 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2441
22ab32ef
LL
2442 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2443
eada0861 24442012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 2445
19c17fc1
CY
2446 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2447 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 2448
eada0861 24492012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
2450
2451 * progmodes/hideif.el (hif-compress-define-list):
2452 Fix typo. (Bug#11951)
2453
eada0861 24542012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
2455
2456 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2457 buffer local setting.
2458
27d6c5a8
LL
2459 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2460 rcirc-encode-coding-system.
2461
eada0861 24622012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
2463
2464 * net/rcirc.el (rcirc-split-message): New function.
2465 (rcirc-send-message): Use it. (Bug#12051)
2466
d44688e4
JL
24672012-08-28 Juri Linkov <juri@jurta.org>
2468
2469 * info.el (Info-fontify-node): Hide empty lines at the end of
2470 the node. (Bug#12272)
2471
34f10d41
MR
24722012-08-27 Drew Adams <drew.adams@oracle.com>
2473
2474 * dired.el (dired-pop-to-buffer): Make window start at beginning
2475 of buffer (Bug#12281).
2476
77f1f99c
CY
24772012-08-26 Chong Yidong <cyd@gnu.org>
2478
2479 * window.el (special-display-regexps, special-display-frame-alist)
2480 (special-display-buffer-names, special-display-function)
2481 (display-buffer-reuse-frames): Mark as obsolete.
2482
2483 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2484
2485 * help.el (help-print-return-message): Don't treat
2486 display-buffer-reuse-frames specially.
2487
d97af5a0
CY
24882012-08-26 Chong Yidong <cyd@gnu.org>
2489
9fba804b
SM
2490 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2491 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
2492 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2493 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2494 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2495 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2496 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2497 the functions directly with gdb-display-buffer-other-frame-action.
2498 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2499 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2500 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2501 (gdb-display-registers-buffer): Define directly.
2502 (def-gdb-display-buffer): Macro deleted.
2503 (gdb-display-buffer): Remove second and third args, callers don't
2504 use them. Defer to the default display-buffer behavior, apart
2505 from making windows dedicated.
2506 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2507
2508 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2509
2510 * window.el (display-buffer-pop-up-frame): Handle a
2511 pop-up-frame-parameters alist entry.
2512 (display-buffer): Document it.
2513
dd7ffad6
CY
25142012-08-26 Chong Yidong <cyd@gnu.org>
2515
2516 * isearch.el (search-whitespace-regexp): Make string and nil
2517 values apply to both ordinary and regexp search. Allow a cons
2518 cell value to distinguish between the two.
2519 (isearch-whitespace-regexp, isearch-search-forward)
2520 (isearch-search-backward): New functions.
2521 (isearch-occur, isearch-search-fun-default, isearch-search)
2522 (isearch-lazy-highlight-new-loop): Use them.
2523 (isearch-forward, isearch-forward-regexp): Doc fix.
2524
4c47bd1e
CY
25252012-08-26 Chong Yidong <cyd@gnu.org>
2526
2527 * faces.el (help-argument-name): Always inherit from italic
2528 (Bug#12213).
2529
9aba119d
MR
25302012-08-25 Martin Rudalics <rudalics@gmx.at>
2531
2532 * window.el (window--even-window-heights): Even heights when
2533 WINDOW and the selected window form a vertical combination.
2534 (display-buffer-use-some-window): Provide that window used gets
2535 sized back by quit-window. (Bug#11880) and (Bug#12091)
2536
ca5256ad
PE
25372012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2538
2539 Fix file time stamp problem with bzr and CVS (Bug#12001).
2540 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2541 in the file's time stamp, since the version control system loses
2542 that information.
2543
d1c0d176
JL
25442012-08-22 Juri Linkov <juri@jurta.org>
2545
2546 * info.el (Info-fontify-node): Hide the suffix of the
2547 Info file name in the header line. (Bug#12187)
2548
141562ff
GM
25492012-08-22 Glenn Morris <rgm@gnu.org>
2550
2551 * calendar/cal-tex.el (cal-tex-weekly-common):
2552 Restore leading blank page.
2553
61a48e19 25542012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
2555
2556 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
2557 the region under `shift-select-mode'. (Bug#12231)
2558
25592012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
2560
2561 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2562 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2563 gives details on why the space is never needed.
2564
ea95074e
MR
25652012-08-22 Martin Rudalics <rudalics@gmx.at>
2566
9fba804b
SM
2567 * window.el (walk-window-tree, window-with-parameter):
2568 New optional argument MINIBUF to control whether these functions
ea95074e
MR
2569 should run on the minibuffer window.
2570 (window-at-side-list): Don't operate on minibuffer window.
2571 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
2572 (window--size-ignore): Rename to window--size-ignore-p.
2573 Update callers.
caceae25
MR
2574 (display-buffer-in-atom-window, window--major-non-side-window)
2575 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
2576 (delete-side-window, display-buffer-in-side-window):
2577 New functions.
caceae25
MR
2578 (window--side-check, window-deletable-p, delete-window)
2579 (delete-other-windows, split-window): Handle side windows and
2580 atomic windows appropriately.
2581 (window--display-buffer): Call display-buffer-record-window also
2582 when the window buffer did not change.
ea95074e 2583
80a51fa0
CS
25842012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2585
2586 * help-fns.el (help-fns--key-bindings):
2587 Abbreviate non-symbol remap targets. (Bug#12174)
2588
fbb6300b
MR
25892012-08-22 Martin Rudalics <rudalics@gmx.at>
2590
2591 * dired.el (dired-mark-remembered): Don't clobber point.
2592 (Bug#11795)
2593
2b2c0794
GM
25942012-08-22 Glenn Morris <rgm@gnu.org>
2595
2596 * progmodes/bug-reference.el (bug-reference): New custom group.
2597 (bug-reference-bug-regexp): Make it a defcustom.
2598
37219830
DU
25992012-08-22 Daiki Ueno <ueno@unixuser.org>
2600
2601 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2602 (js-paren-indent-offset, js-square-indent-offset)
2603 (js-curly-indent-offset): Add :safe (Bug#12257).
2604
94e0e559
EC
26052012-08-22 Edward O'Connor <hober0@gmail.com>
2606
2607 * json.el (json-key-format): Add error properties.
2608 (json-encode-key): New function.
2609 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2610 Use json-encode-key.
2611
da485f5e
GM
26122012-08-22 Glenn Morris <rgm@gnu.org>
2613
2614 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2615 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2616 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2617 Update for above change.
2618
c6cc78b8
AS
26192012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2620
2621 * cus-face.el (custom-face-attributes): Fix customize type for the
2622 :underline attribute. (Bug#11805)
2623
5481664a
MR
26242012-08-21 Martin Rudalics <rudalics@gmx.at>
2625
2626 * window.el (window-point-1, set-window-point-1): Remove.
2627 (window-in-direction, record-window-buffer)
2628 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
2629 (window--state-get-1, display-buffer-record-window):
2630 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
2631 window-point and set-window-point respectively.
2632
6d74698e
GM
26332012-08-21 Glenn Morris <rgm@gnu.org>
2634
b7fa2691
GM
2635 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2636 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2637 Use it.
2638
52f56d5a
GM
2639 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2640 (cal-tex-shortday): New function.
2641 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2642 (cal-tex-cursor-filofax-daily): Use the above.
2643
9f1ee09e
GM
2644 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2645 New functions.
2646 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2647 (cal-tex-cursor-filofax-week): Use them.
2648
79858159
GM
2649 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2650 New constants.
2651 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2652 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2653
d346b2b4
GM
2654 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2655 (cal-tex-end-document): Don't rely on buffer name.
2656
b2403709
GM
2657 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2658 Use cal-tex-vspace.
2659 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2660 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
2661 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2662 Use cal-tex-arg.
b2403709 2663
1cebb5c0
GM
2664 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2665 (cal-tex-cursor-week, cal-tex-cursor-week2)
2666 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2667 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2668 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2669 (cal-tex-insert-preamble, cal-tex-b-document)
2670 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2671 Improve cal-tex-cmd usage.
2672
c68cd5d4
GM
2673 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2674 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2675 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2676 (cal-tex-weekly-paper): New function.
2677 (cal-tex-cursor-week, cal-tex-cursor-week2)
2678 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2679 (cal-tex-cursor-day): Use it.
2680
9dca4801
GM
2681 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2682 (cal-tex-cursor-filofax-week): Remove leading blank page.
2683
1941e134
GM
2684 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2685 Add autoload cookie. For now at least, don't use color, since
2686 no other cal-tex function does.
2687
6d74698e
GM
2688 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2689 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2690 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2691
64cde199
JL
26922012-08-21 Juri Linkov <juri@jurta.org>
2693
2694 * info.el (Info-file-attributes): New variable.
2695 (info-insert-file-contents): Add file attributes to
2696 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2697 `Info-toc-nodes' when previous modtime of the Info file is less
2698 than new modtime.
2699 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2700 of info.el. (Bug#12230)
2701
32757648
GM
27022012-08-20 Glenn Morris <rgm@gnu.org>
2703
2704 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2705 * calendar/holidays.el (calendar-holiday-list):
2706 Report errors with display-warning rather than beep'n'sleep.
2707
a32fbbcf
MA
27082012-08-20 Michael Albinus <michael.albinus@gmx.de>
2709
2710 * net/tramp.el (tramp-accept-process-output): Accept only output
2711 from PROC. Otherwise, process filters and sentinels might be
2712 confused. (Bug#12145)
2713
a05731a0
CY
27142012-08-20 Chong Yidong <cyd@gnu.org>
2715
2716 * descr-text.el (describe-text-properties-1): Use overlays-in to
2717 report on empty overlays (Bug#3322).
2718
36e8d1eb
GM
27192012-08-20 Glenn Morris <rgm@gnu.org>
2720
3d300447
GM
2721 * mail/rmailout.el (rmail-output-read-file-name):
2722 Trap and report errors in rmail-output-file-alist elements.
2723
36e8d1eb
GM
2724 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2725 since most non-font-lock faces are not also variables).
2726
b96e5814
ER
27272012-08-20 Edward Reingold <reingold@iit.edu>
2728
2729 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2730 New function. (Bug12160)
2731
7cef3569
GM
27322012-08-19 Glenn Morris <rgm@gnu.org>
2733
2734 * mail/rmailout.el (rmail-output-read-file-name):
2735 Fix previous change (when the alist is nil or does not match).
2736
17975d7f
CY
27372012-08-19 Chong Yidong <cyd@gnu.org>
2738
2739 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2740 (Bug#12228).
2741
2170b1bd
CY
27422012-08-18 Chong Yidong <cyd@gnu.org>
2743
2744 * simple.el (yank-handled-properties): New defcustom.
2745 (yank-excluded-properties): Add font-lock-face and category.
2746 (yank): Doc fix.
2747
9fba804b
SM
2748 * subr.el (remove-yank-excluded-properties):
2749 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
2750 and category is now done this way, instead of being hard-coded.
2751 (insert-for-yank-1): Remove font-lock-face handling.
2752 (yank-handle-font-lock-face-property)
2753 (yank-handle-category-property): New function.
2754
ee218151
GM
27552012-08-17 Glenn Morris <rgm@gnu.org>
2756
2757 * mail/rmailout.el (rmail-output-read-file-name):
2758 Check rmail-output-file-alist against the full message body
2759 in the correct rmail buffer. (Bug#12214)
2760
4a6bc3fd
MA
27612012-08-17 Michael Albinus <michael.albinus@gmx.de>
2762
9fba804b
SM
2763 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2764 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 2765
383dcbf9
CY
27662012-08-17 Chong Yidong <cyd@gnu.org>
2767
2768 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2769 font spec, set the font directly (Bug#3228).
2770
998c4a6a
MR
27712012-08-17 Martin Rudalics <rudalics@gmx.at>
2772
2773 * window.el (delete-window): Fix last fix.
2774
52162052
MR
27752012-08-16 Martin Rudalics <rudalics@gmx.at>
2776
2777 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
2778 (window-child, window-child-count, window-last-child)
2779 (window-normalize-window, window-combined-p)
2780 (window-combinations, window-atom-root, window-min-size)
2781 (window-sizable, window-sizable-p, window-size-fixed-p)
2782 (window-min-delta, window-max-delta, window--resizable)
2783 (window--resizable-p, window-resizable, window-total-size)
2784 (window-full-height-p, window-full-width-p, window-body-size)
2785 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2786 (minimize-window, window-deletable-p, delete-window)
2787 (delete-other-windows, set-window-buffer-start-and-point)
2788 (next-buffer, previous-buffer, split-window, balance-windows-2)
2789 (set-window-text-height, window-buffer-height)
2790 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
2791 (truncated-partial-width-window-p): Minor code adjustments.
2792 In doc-strings state whether the argument window has to denote a
85c2386b 2793 live, valid or any window.
52162052 2794
1c308380
PS
27952012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2796
2797 * progmodes/subword.el (subword-forward-function)
2798 (subword-backward-function, subword-forward-regexp)
2799 (subword-backward-regexp): New variables.
2800 (subword-forward, subword-forward-internal, subword-backward-internal):
2801 Use new variables, eg so that different "word" definitions
2802 can be easily used. (Bug#11411)
2803
94c9ece1
SM
28042012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2805
2806 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2807 for composite selectors.
2808 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2809 operation just because we can't find a previous revision.
2810
f2045622
CY
28112012-08-15 Chong Yidong <cyd@gnu.org>
2812
2813 * frame.el (set-frame-font): Accept font objects.
2814
582db660
SM
28152012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2816
2817 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2818
2f29c200
WJ
28192012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2820
456e62c2
WJ
2821 * man.el (Man-overstrike-face, Man-underline-face)
2822 (Man-reverse-face): Remove variables.
2823 (Man-overstrike, Man-underline, Man-reverse): New faces.
2824 (Man-fontify-manpage): Use them instead of the variables.
2825 (Man-cleanup-manpage): Comment change.
2826 (Man-ansi-color-map): New variable.
2827 (Man-fontify-manpage): Use it.
2828 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2829
2f29c200
WJ
2830 Implement ANSI SGR parameters 22-27 (bug#12146).
2831 * ansi-color.el (ansi-colors): Doc fix.
2832 (ansi-color-context, ansi-color-context-region): Doc fix.
2833 (ansi-color--find-face): New function.
2834 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2835 Rename the local variable `face' to `codes' since it is now a list of
2836 ansi codes. Doc fix.
2837 (ansi-color-get-face): Remove.
2838 (ansi-color-parse-sequence): New function, derived from
2839 ansi-color-get-face.
2840 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2841 codes 22-27.
2842
b4f5e9df
SM
28432012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2844
2845 * subr.el (read-passwd): Allow use from a minibuffer.
2846
ba025fbd
EZ
28472012-08-14 Eli Zaretskii <eliz@gnu.org>
2848
2849 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2850 inside comments and strings as identifiers.
2851
2852 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2853 expression to evaluate. This allows to evaluate expressions with
2854 embedded whitespace.
2855 (gud-tooltip-tips): Add a blank before the newline in the
2856 message-box text, for the benefit of message-box emulation on
2857 MS-Windows.
2858
2859 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2860 messages from GDB, pop them up in a tooltip to give feedback to
2861 user.
b4f5e9df
SM
2862 (gdb-tooltip-print-1): Quote the expression to evaluate.
2863 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
2864 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2865 if the TTY name is nil or empty (which happens when communicating
2866 with the inferior via pipes, e.g. on MS-Windows).
2867 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2868 don't send that to the GUD buffer.
2869
c548f821
GM
28702012-08-14 Glenn Morris <rgm@gnu.org>
2871
2872 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2873 Optimize away setq-default with no args, as for setq. (Bug#12195)
2874
55802e4a
CY
28752012-08-14 Chong Yidong <cyd@gnu.org>
2876
4abcdac8
CY
2877 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2878
55802e4a
CY
2879 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2880 (Bug#12085).
2881
3c3cda1a
GM
28822012-08-14 Glenn Morris <rgm@gnu.org>
2883
2884 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2885
e1873bd0
MA
28862012-08-14 Michael Albinus <michael.albinus@gmx.de>
2887
2888 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2889 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2890 Use cached shell name.
2891
925411b4
FEG
28922012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2893
2894 * progmodes/python.el (python-shell-send-string):
3c3cda1a 2895 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 2896
e636fafe
DG
28972012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2898
2899 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2900 (ruby-percent-literal-beg-re): New constant.
2901 (ruby-syntax-general-delimiters-goto-beg): Rename to
2902 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2903 (ruby-syntax-propertize-general-delimiters): Rename to
2904 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2905 popular term. Adjust comments everywhere.
2906 (ruby-syntax-propertize-percent-literal): Only propertize when not
2907 inside a simple string or comment. When the literal is unclosed,
2908 leave the text after it unpropertized.
f063063a
DG
2909 (ruby-syntax-methods-before-regexp): New constant.
2910 (ruby-syntax-propertize-function): Use it to recognize regexps.
2911 Don't look at the text after regexp, just use the whitelist.
e636fafe 2912
e5b19827
AS
29132012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2914
2915 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2916 non-nil always load the compiled file if it exists. (Bug#12197)
2917
a9f6f311
CY
29182012-08-14 Chong Yidong <cyd@gnu.org>
2919
2920 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2921 (hi-lock-set-pattern): When deciding whether to use font lock or
2922 overlays, look at font-lock-mode instead of font-lock-fontified
2923 (Bug#12168).
2924 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2925 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2926
7d806b1e
DU
29272012-08-14 Daiki Ueno <ueno@unixuser.org>
2928
2929 * subr.el (internal--after-with-selected-window): Fix typo
2930 (Bug#12193).
2931
5beed586
FEG
29322012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2933
2934 Use `completion-table-dynamic' for completion functions.
2935 * progmodes/python.el
2936 (python-shell-completion--do-completion-at-point)
e636fafe
DG
2937 (python-shell-completion--get-completions):
2938 Remove functions.
5beed586
FEG
2939 (python-shell-completion-complete-at-point): New function.
2940 (python-completion-complete-at-point): Use it.
2941
92cb3b04
J
29422012-08-13 Jambunathan K <kjambunathan@gmail.com>
2943
2944 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2945 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2946
89660017
SM
29472012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2948
3c98c962
SM
2949 * subr.el (function-get): Refine `autoload' arg so it can also
2950 autoload functions for gv.el (bug#12191).
2951 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2952 autoloads macros.
2953
aa7c6dbe
SM
2954 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2955 Prefer pcase-let over destructuring-bind.
2956 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2957 Also, remove whitespace as we go, rather than after accumulating the
2958 various places.
2959
89660017
SM
2960 * subr.el (internal--before-with-selected-window)
2961 (internal--after-with-selected-window): Fix typo seleted->selected.
2962 (with-selected-window): Adjust callers.
2963 Reported by Dmitry Gutov <dgutov@yandex.ru>.
2964
31cd32c9
BG
29652012-08-13 Bastien Guerry <bzg@gnu.org>
2966
0fcd3d9f 2967 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
2968 enhancement. (Bug#12172)
2969
1b15d8ad
AS
29702012-08-13 Andreas Schwab <schwab@linux-m68k.org>
2971
31e54db0
AS
2972 * tar-mode.el (tar-header-data-end): Only ignore size for files of
2973 type 1-6.
2974 (tar-header-block-summarize, tar-get-descriptor): Handle pax
2975 extended headers.
2976
1b15d8ad
AS
2977 * files.el (hack-local-variables-filter): Remove useless eval.
2978
35cb9c06
MR
29792012-08-13 Martin Rudalics <rudalics@gmx.at>
2980
2981 * subr.el (with-selected-window): Fix last change.
2982
1439443b
SM
29832012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2984
2985 * subr.el (internal--before-with-seleted-window)
2986 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
2987 (with-selected-window): Use them, to replace dependency on
2988 tty-top-frame.
1439443b 2989
0d9e2599
NN
29902012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2991
2992 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2993 binding for `newline'.
2994 (ruby-move-to-block): When moving backward, stop at block opening,
2995 not indentation.
2996 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2997 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2998 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2999 `ruby-toggle-block'.
3000
ba10c48c
SM
30012012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3002
3003 * ibuffer.el (ibuffer-do-toggle-read-only):
3004 * dired.el (dired-toggle-read-only):
3005 * buff-menu.el (Buffer-menu-toggle-read-only):
3006 * bindings.el (mode-line-toggle-read-only):
3007 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3008
9229c658
AS
30092012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3010
3011 * descr-text.el (describe-char): Put the overlays over the
3012 "displayed as" character.
3013
0fd09128
JB
30142012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3015
3016 * calc/calc-units.el (math-default-units-table): Give an
3017 initial value.
3018 (math-put-default-units): Add options to put composite units and
3019 unit systems in the default units table.
3020 (calc-convert-units): Send composite units to
3021 `math-put-default-units' when appropriate.
3022
9ff9402d 30232012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 3024
fbb5e336
GM
3025 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3026
7aacaf15
GM
3027 * tutorial.el (help-with-tutorial):
3028 * emacs-lisp/copyright.el (copyright-update-directory):
3029 * emacs-lisp/autoload.el (autoload-find-generated-file)
3030 (autoload-find-file): Disable local eval: (for insurance).
3031
f40b9f10
GM
3032 * files.el (hack-local-variables-filter): If an eval: form is not
3033 known to be safe, and enable-local-variables is :safe, then ignore
3034 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 3035 This is CVE-2012-3479.
f40b9f10 3036
daa9f1a6
SM
30372012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3038
3039 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3040 (rx-form): Simplify.
3041
9cd80478
DG
30422012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3043
0d9e2599
NN
3044 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3045 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3046 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3047 (ruby-syntax-propertize-function): Adjust for changes in
3048 `ruby-syntax-propertize-heredoc'.
3049
30502012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3051
9cd80478
DG
3052 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3053 binding (use `M-;' instead).
9cd80478 3054 (ruby-singleton-class-p): New function.
0d9e2599 3055 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 3056
d301b413
SM
30572012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3058
3059 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3060
1530c98e
CY
30612012-08-10 Chong Yidong <cyd@gnu.org>
3062
3063 * progmodes/python.el (python-shell-get-process-name): Don't mess
3064 with same-window-buffer-names.
3065
3066 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3067 (eshell-remove-from-window-buffer-names): Make obsolete.
3068 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3069 (eshell): Just use pop-to-buffer-same-window instead.
3070
e1293765
CY
30712012-08-10 Chong Yidong <cyd@gnu.org>
3072
3073 * bindings.el: Bind M-= back to count-words-region.
3074
3075 * simple.el (count-words-region): Accept a prefix arg for acting
3076 on the entire buffer.
3077 (count-words--buffer-message): New helper function.
3078
e1894109
SM
30792012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3080
3081 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3082 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3083 (event-start, event-end): Use posn-at-point to return a more
3084 informative posn.
3085 (posnp): New function.
3086 * mouse.el (popup-menu-normalize-position): Use it.
3087
c69f56a2
MY
30882012-08-10 Masatake YAMATO <yamato@redhat.com>
3089
3090 * mouse.el (popup-menu-normalize-position): New function.
3091 (popup-menu): Use `popup-menu-normalize-position' to normalize
3092 the form for POSITION argument.
3093
3094 * term/x-win.el (x-menu-bar-open):
3095 Use the value returend from (posn-at-point) as position
3096 passed to `popup-menu'.
3097
31673780
JB
30982012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3099
3100 * calc/calccomp.el (math-compose-expr): Add extra argument
3101 indicating that parentheses should be put around products in
3102 denominators. Give multiplication precedence over division during
3103 composition.
3104
dab7711b
CY
31052012-08-09 Chong Yidong <cyd@gnu.org>
3106
dee4ef93
CY
3107 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3108 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3109 (Man-untabify-command, manual-program): Convert to defcustom
3110 (Bug#10429).
3111
73e2bbc5
CY
3112 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3113
3e861c8a
CY
3114 * descr-text.el (describe-char): Don't insert extra newlines
3115 (Bug#10127).
3116
a9f5a649
CY
3117 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3118 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3119
dab7711b
CY
3120 * align.el (align-region): Delete temporary markers (Bug#10047).
3121 Plus some code cleanups.
3122
e0cc4efa
FEG
31232012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3124
3125 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3126 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3127 (python-shell-internal-last-output): Use make-local-variable
3128 instead of make-variable-buffer-local.
3129
489af14f
FEG
31302012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3131
3132 * progmodes/python.el: Enhancements to forward-sexp.
3133 (python-nav-forward-sexp): Rename from
3134 python-nav-forward-sexp-function.
c69f56a2
MY
3135 (python-nav--forward-sexp, python-nav--backward-sexp):
3136 New functions.
489af14f 3137
0fc50303
JB
31382012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3139
3140 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3141 modes and simplification modes.
3142
5d65606a
SM
31432012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3144
3145 * delsel.el (delete-selection-pre-hook): Don't propagate the
3146 file-supersession signals (bug#12161).
3147
4250fdf5
SM
31482012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3149
3150 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3151 (cl-map-extents): Add compatibility aliases (bug#12135).
3152
d9f9b465
MA
31532012-08-08 Michael Albinus <michael.albinus@gmx.de>
3154
3155 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3156 tests by `ignore-error'.
3157 (tramp-find-shell): Open also a new shell, when cache is already
3158 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3159
ce0fcefa
JL
31602012-08-08 Juri Linkov <juri@jurta.org>
3161
3162 * bookmark.el: Add `defaults' property to the bookmark record.
3163 (bookmark-current-buffer): Doc fix.
3164 (bookmark-make-record): Add `defaults' property with default values
3165 to the bookmark record.
3166 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3167 with `bookmark-insert-current-bookmark'.
3168 (bookmark-set): Get `defaults' property from the bookmark record
3169 and use it in `read-from-minibuffer'.
3170 (bookmark-insert-current-bookmark): Remove function.
3171
3172 * info.el (Info-bookmark-make-record): Add `defaults' property
3173 with values of canonical Info node name, the current Info file
3174 name and the current Info node name. (Bug#12107)
3175
53fa8652
JL
31762012-08-08 Juri Linkov <juri@jurta.org>
3177
3178 * files.el (basic-save-buffer): Use `buffer-name' as the default
3179 of `read-file-name' when buffer is not visiting a file (bug#12128).
3180
242c0a95
JL
31812012-08-08 Juri Linkov <juri@jurta.org>
3182
3183 * info.el (Info-isearch-search): Doc fix.
3184 (Info-search): Change search-failed message from "initial node" to
3185 "end of node" (bug#12078).
3186 (Info-isearch-search): Change `isearch-string-state' to
3187 `isearch--state-string'.
3188
32ac3a6b
GM
31892012-08-08 Glenn Morris <rgm@gnu.org>
3190
3191 * language/persian.el: Remove file.
f8c1afd5 3192 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
3193 * loadup.el: Remove language/persian.
3194
2c2d9c9c
OF
31952012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3196
3197 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3198
2d79ec42
FEG
31992012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3200
3201 * progmodes/python.el Fixed defsubst warning.
3202 (python-syntax-context) Rename from python-info-ppss-context.
3203 (python-syntax-context-type): Rename from
3204 python-info-ppss-context-type.
3205 (python-syntax-comment-or-string-p): Rename from
3206 python-info-ppss-comment-or-string-p.
3207
2bd255dd
JB
32082012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3209
3210 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3211
c395097f
AS
32122012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3213
6125983e
AS
3214 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3215 a defcustom that is quoted with backquote.
3216
4250fdf5
SM
3217 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3218 Fix handling of interactive spec when the body uses return.
651eaf36
AS
3219 (math-do-arg-check, math-define-function-body): Use backquote forms.
3220 * calc/calc-ext.el (math-defcache): Likewise.
3221 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3222 * allout.el (allout-new-exposure): Likewise.
3223 * calc/calcalg2.el (math-tracing-integral): Likewise.
3224 * info.el (Info-last-menu-item): Likewise.
3225 * emulation/vip.el (vip-loop): Likewise.
3226 * textmodes/artist.el (artist-funcall): Likewise.
3227 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3228 Construct menu-item directly.
3229
4250fdf5
SM
3230 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3231 Don't declare.
c395097f 3232
5fb50dd3
CY
32332012-08-07 Chong Yidong <cyd@gnu.org>
3234
3235 * simple.el (deactivate-mark): Preserve text properties when
3236 saving the primary selection (Bug#8384).
3237
54eea618
KR
32382012-08-07 Kevin Ryde <user42@zip.com.au>
3239
3240 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3241 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3242 and continue processing (Bug#12110).
3243
638eaeb9
SM
32442012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3245
3246 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3247 syntax-propertize-function (bug#10095).
3248
ea376861
SM
32492012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3250
f91b35be
SM
3251 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3252 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3253 describe-function-1.
3254 (describe-function-1): Use them. Move compiler macro after sig.
3255 (help-fns--compiler-macro): Use function-get. Assume we're already in
3256 standard-output. Adjust layout to new call order.
3257
ea376861
SM
3258 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3259 re-binding a symbol that has a symbol-macro (bug#12119).
3260
d5be7bd0
MB
32612012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3262
3263 * language/persian.el: New file. (Bug#11812)
3264 * loadup.el: Add language/persian.el.
3265
90749b53
CY
32662012-08-06 Chong Yidong <cyd@gnu.org>
3267
3268 * window.el (window--maybe-raise-frame): New function.
3269 (window--display-buffer): Split off from here.
3270 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3271 (display-buffer-pop-up-window, display-buffer-use-some-window):
3272 Obey an inhibit-switch-frame action alist entry.
3273 (display-buffer): Update doc.
3274
3275 * replace.el (occur-after-change-function): Avoid losing focus by
3276 using the inhibit-switch-frame display parameter (Bug#12139).
3277
ba7b0154
FEG
32782012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3279
3280 Make internal shell process buffer names start with space.
3281 * progmodes/python.el (python-shell-make-comint): Add optional
3282 argument INTERNAL.
3283 (run-python-internal): Use it.
3284 (python-shell-internal-get-or-create-process): Check for new
3285 internal buffer names.
3286
5eaeacb5
GM
32872012-08-06 Glenn Morris <rgm@gnu.org>
3288
e296d94b 3289 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
3290 Do less getting and setting of environment variables.
3291
b7ccbdc2
CY
32922012-08-05 Chong Yidong <cyd@gnu.org>
3293
777fe95e
CY
3294 * proced.el (proced): Add substitution string to docstring to
3295 trigger autoloading of the proced library on C-h f (Bug#1768).
3296
4250fdf5
SM
3297 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3298 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
3299
3300 * imenu.el (imenu-generic-expression): Move documentation here
3301 from imenu--generic-function.
3302 (imenu--generic-function): Refer to imenu-generic-expression.
3303
9e3b7800 33042012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
3305
3306 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3307 indentation declaration.
3308 (viper-loop): Add indentation declaration (Bug#7025).
3309
e5d9c0d1
CY
33102012-08-05 Chong Yidong <cyd@gnu.org>
3311
f0422feb
CY
3312 * help-fns.el (describe-variable): Add hyperlink for
3313 directory-local variables files. Improve buffer-local and
3314 permanent-local reporting; suggested by MON KEY (Bug#6644).
3315
3316 * help-mode.el (help-dir-local-var-def): New button type.
3317
e5d9c0d1
CY
3318 * files.el (kill-buffer-hook): Provide a defvar.
3319
a4f2deaa
GM
33202012-08-05 Glenn Morris <rgm@gnu.org>
3321
3322 * eshell/esh-ext.el (eshell/addpath):
3323 Also update eshell-path-env. (Bug#12013)
3324
a9dd5754
CY
33252012-08-05 Chong Yidong <cyd@gnu.org>
3326
a4f2deaa 3327 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 3328
d014c740
CY
3329 * fringe.el (fringe-styles): Add docstring.
3330 (fringe--check-mode): New function.
3331 (set-fringe-mode, set-fringe-style): Use it.
3332 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3333
a9dd5754
CY
3334 * files.el (set-auto-mode): Fix invalid setq call.
3335
7c2dc8bd
SM
33362012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3337
3338 * isearch.el: Misc simplification; use defstruct.
3339 (isearch-mode-map): Dense maps now work like sparse ones.
3340 (isearch--state): New defstruct.
3341 (isearch-string-state, isearch-message-state, isearch-point-state)
3342 (isearch-success-state, isearch-forward-state)
3343 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3344 (isearch-wrapped-state, isearch-barrier-state)
3345 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3346 replaced by defstruct's accessors.
3347 (isearch--set-state): Rename from isearch-top-state and change
3348 calling convention.
3349 (isearch-push-state): Use new isearch--get-state.
3350 (isearch-toggle-word): Disable regexp when enabling word.
3351 (isearch-message-prefix): Remove unused arg _c-q-hack.
3352 (isearch-message-suffix): Remove unused arg _ellipsis.
3353
7fcc0070
AS
33542012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3355
3356 * simple.el (list-processes--refresh): For a server use :host or
3357 :local as the address.
97ad0769 3358 (list-processes): Doc fix.
7fcc0070 3359
a11035b8 33602012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
3361
3362 * lisp/mpc.el: Support password in host argument.
3363 (mpc--proc-connect): Parse and use new password element.
3364 Set mpc-proc variable instead of returning process.
3365 (mpc-proc): Adjust accordingly.
3366
6dad7178
EZ
33672012-08-03 Eli Zaretskii <eliz@gnu.org>
3368
18949c2f
EZ
3369 * whitespace.el (whitespace-display-mappings): Use Unicode
3370 codepoints, instead of emacs-mule codepoints. See
3371 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3372 for the details.
3373
6dad7178
EZ
3374 * files.el (file-truename): Don't skip symlink-chasing part on
3375 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
3376 Windows into the loop that recursively chases symlinks.
3377 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
3378 MS-DOS.
3379
385b0198
CY
33802012-08-03 Chong Yidong <cyd@gnu.org>
3381
6200f3c4
CY
3382 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3383
385b0198
CY
3384 * sort.el (sort-regexp-fields): Doc fix.
3385
b9e74744
TH
33862012-08-03 Tassilo Horn <tsdh@gnu.org>
3387
3388 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3389 labels regex position point at the expected place.
3390
41013cb4
MK
33912012-08-03 MON KEY <monkey@sandpframing.com>
3392
3393 * net/imap.el (imap-interactive-login, imap-authenticate)
3394 (imap-mailbox-lsub, imap-mailbox-list)
3395 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3396 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3397 (imap-parse-response): Doc fix.
3398
0ffee616
JT
33992012-08-03 João Távora <joaotavora@gmail.com>
3400
3401 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3402 if sexp scanning does not move point (Bug#5734).
3403
cfcc9cc8
TH
34042012-08-02 Tassilo Horn <tsdh@gnu.org>
3405
3406 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3407 Add listings, minted, and ctable packages.
3408 (reftex-label-alist-builtin): Move listings, minted, and ctable
3409 entries before LaTeX.
a01bbb84 3410 (reftex-label-alist): Docfix.
cfcc9cc8 3411
66ec2442
BG
34122012-08-02 Bastien Guerry <bzg@gnu.org>
3413
3414 * replace.el (occur): Fix docstring (bug#12122).
3415
837b365b
GM
34162012-08-02 Glenn Morris <rgm@gnu.org>
3417
3418 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3419
e098de97
PE
34202012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3421
3422 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3423 * international/mule-cmds.el: Create
3424 inactivate-current-input-method-function as an obsolete alias for
3425 deactivate-current-input-method-function. See Katsumi Yamaoka in
3426 <http://bugs.gnu.org/10150#46>.
3427
a0f95636
JB
34282012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3429
3430 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3431 of nested `if's.
3432
0d26d7c4
GM
34332012-08-01 Glenn Morris <rgm@gnu.org>
3434
3435 * progmodes/autoconf.el (autoconf-definition-regexp):
3436 Add AH_TEMPLATE, adjust submatch numbering.
3437 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3438 (autoconf-current-defun-function): Update for above change.
3439 (autoconf-current-defun-function): First skip to end of current word.
3440
b686ba06
RS
34412012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3442
3443 * calendar/cal-html.el (cal-html-insert-agenda-days):
3444 Fix typo. (Bug#12018)
3445
0d49da68
FEG
34462012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3447
3448 Shell processes: enhancements to startup and CEDET compatibility.
3449 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3450 (python-shell-make-comint): accept-process-output at startup.
3451 (run-python-internal): Set inferior-python-mode-hook to nil.
3452 (python-shell-internal-get-or-create-process): call sit-for.
3453 (python-preoutput-result): Add obsolete alias.
3454 (python-shell-internal-send-string): Use it.
3455 (python-shell-send-setup-code): Remove call to
3456 accept-process-output.
3457
f1a71c6e
AS
34582012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3459
3460 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3461 (Bug#12108)
3462
d2605269
JB
34632012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3464
3465 * calc-mode.el (calc-basic-simplification-mode): Rename from
3466 `calc-limited-simplification-mode'.
3467 (calc-alg-simplification-mode): New function.
fc0c31f8 3468 (calc-set-simplify-mode): Adjust message.
f1a71c6e 3469
d2605269
JB
3470 * calc.el (calc-set-mode-line): Adjust mode line display for
3471 basic simplification mode.
3472
3473 * calc-help.el (calc-m-prefix-help): Update help message.
3474
3475 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3476 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3477
a3827a43
BG
34782012-07-31 Bastien Guerry <bzg@gnu.org>
3479
3480 * man.el (man): Fix comment. (bug#12101)
3481
502e3f89
MR
34822012-07-31 Martin Rudalics <rudalics@gmx.at>
3483
3484 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3485 Don't return a non-nil value when no suitable buffer was found.
3486
d7714961
FEG
34872012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3488
3489 * progmodes/python.el (run-python-internal): Disable font lock for
3490 internal shells.
3491
1f45e27e
SM
34922012-07-30 Stefan Merten <smerten@oekonux.de>
3493
70efc5c9 3494 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
3495 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3496 (rst-official-version, rst-official-cvs-rev)
3497 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3498 (rst-mode-map): New key binding.
3499
0aee6912
PE
35002012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3501
3502 Update .PHONY listings in makefiles.
3503 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3504 autoloads, update-subdirs, updates, bzr-update, update-authors,
3505 compile-onefile, compile-calc, backup-compiled-files,
3506 compile-after-backup, compile-one-process, mh-autoloads,
3507 bootstrap-clean, distclean, maintainer-clean.
3508
9052f9f0
JB
35092012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3510
1823ac5a
JB
3511 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3512 (calc-set-mode-line): Don't display "AlgSimp ".
3513
3514 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3515 (calc-lim-simplify-mode): New function.
3516 (calc-set-simplify-mode): Default to 'alg.
3517 (calc-default-simplify-mode): Make algebraic simplifications
3518 the default.
3519
3520 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3521 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3522
8d7c7eed 3523 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
3524 indicate new simplification modes.
3525
1823ac5a
JB
3526 * calc/README: Mention new default simplification mode.
3527
9052f9f0
JB
3528 * calc/calc.el (math-normalize-error): New variable.
3529 (math-normalize): Set `math-normalize-error' to t
3530 when there's an error.
3531
3532 * calc/calc-alg.el (math-simplify): Don't simplify when
3533 `math-normalize' returns an error.
3534
20ba0cb4
EZ
35352012-07-29 Eli Zaretskii <eliz@gnu.org>
3536
3537 * international/mule-cmds.el (set-locale-environment): Revert last
3538 change, since display-graphic-p returns nil when this function is
3539 called during startup. Instead...
3540
3541 * term/w32console.el (terminal-init-w32console): ...setup the
3542 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3543
a5dcc929
JL
35442012-07-29 Juri Linkov <juri@jurta.org>
3545
3546 * simple.el (goto-line): Don't display default line number in the
3547 prompt because it should be displayed by `read-number' (bug#9952).
3548 Add the current line number to the defaults of `goto-line' to
3549 allow its easier modification by users with `M-n' (bug#9201).
3550
3551 * subr.el (read-number): Support multiple default values like in
3552 other minibuffer reading functions. Replace `read' with
3553 `string-to-number' for consistency with `number-to-string'.
3554
72b255c7
PE
35552012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3556
3557 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3558 * emulation/viper-init.el (viper-deactivate-input-method-action):
3559 Rename from viper-inactivate-input-method-action.
3560 (viper-deactivate-input-method):
3561 Rename from viper-inactivate-input-method.
3562 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3563 * international/mule-cmds.el (deactivate-input-method):
3564 Rename from inactivate-input-method.
3565 Also run input-method-deactivate-hook.
3566 (deactivate-current-input-method-function):
3567 Rename from inactivate-current-input-method-function.
3568 (input-method-deactivate-hook): New hook.
3569 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
3570 (inactivate-input-method): Mark obsolete.
3571
72b255c7
PE
3572 * international/quail.el (quail-activate):
3573 Also run quail-deactivate-hook.
3574 (quail-deactivate): Rename from quail-inactivate.
3575 * international/robin.el (robin-activate):
3576 Also run robin-deactivate-hook.
3577 (robin-deactivate): Rename from robin-inactivate.
3578
2549c068
CY
35792012-07-29 Chong Yidong <cyd@gnu.org>
3580
3581 * simple.el (indicate-copied-region): New function.
3582 (kill-ring-save): Split off from here.
3583
3584 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3585 (kill-rectangle): Set deactivate-mark to t on read-only error.
3586
3587 * register.el (copy-to-register, copy-rectangle-to-register):
3588 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
3589 (append-to-register, prepend-to-register): Call indicate-copied-region.
3590
35912012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
3592
3593 * simple.el (async-shell-command-buffer): New defcustom.
3594 (shell-command): Use it. (Bug#4719)
3595
01bd1b0d
EZ
35962012-07-28 Eli Zaretskii <eliz@gnu.org>
3597
3598 * international/mule-cmds.el (set-locale-environment): In a
3599 console session on MS-Windows, set up keyboard and terminal
3600 encoding from the OEM codepage, not the ANSI codepage.
3601 (Bug#12055)
3602
a55739d3
CY
36032012-07-28 Chong Yidong <cyd@gnu.org>
3604
3605 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3606 gdb-get-location.
3607
0e1a094f 36082012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
3609
3610 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3611 the alist (bug#12029).
3612
20329d73
EZ
36132012-07-28 Eli Zaretskii <eliz@gnu.org>
3614
3615 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3616 (compile-always, compile-first)
3617 ($(lisp)/calendar/cal-loaddefs.el)
3618 ($(lisp)/calendar/diary-loaddefs.el)
3619 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3620 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3621 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3622 instead of on update-subdirs.
3623 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3624
345a2258
CY
36252012-07-28 Chong Yidong <cyd@gnu.org>
3626
1eee6341
CY
3627 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3628 directory if vc-deduce-backend returns nil (Bug#7350).
3629
345a2258
CY
3630 * simple.el (delete-trailing-lines): New option.
3631 (delete-trailing-whitespace): Obey it (Bug#11879).
3632
049a0936
DE
36332012-07-28 David Engster <deng@randomsample.de>
3634
3635 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3636 Explanation of new 'symbol-qnames feature in doc-strings.
3637 (xml-maybe-do-ns): Return expanded names as plain symbols if
3638 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3639 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3640
aa81af71
FEG
36412012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3642
3643 Consistent completion in inferior python with emacs -nw.
3644 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3645 binding in inferior-python-mode-map with "\t".
3646 (python-shell-completion-complete-at-point)
3647 (python-completion-complete-at-point): Remove interactive spec.
3648
e827b1eb
JB
36492012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3650
3651 * calc/calccomp.el (math-compose-expr): Undo previous change.
3652
a90dfb95
FEG
36532012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3654
4250fdf5 3655 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
3656 run-python.
3657 (python-shell-make-comint): Fix pop-to-buffer call.
3658 (run-python): Autoload. New arg SHOW.
3659 (python-shell-get-or-create-process): Do not pop python process
3660 buffer.
3661
32770973 36622012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
3663
3664 * notifications.el (notifications-on-action-signal)
3665 (notifications-on-closed-signal): Use also the bus address for the map.
3666 (notifications-notify, notifications-close-notification)
fc0c31f8 3667 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 3668
86332df2
TH
36692012-07-27 Tassilo Horn <tsdh@gnu.org>
3670
4250fdf5
SM
3671 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3672 Add support for the lstlisting and minted environments, and for the
86332df2
TH
3673 ctable macro.
3674 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3675 labels written in keyvals syntax.
3676
ca1302a4
JB
36772012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3678
3679 * calc/calccomp.el (math-compose-expr): Use parentheses when
3680 there is a product in the denominator of a fraction.
3681
f8b91036
EZ
36822012-07-26 Eli Zaretskii <eliz@gnu.org>
3683
3684 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3685 ($(lisp)/calendar/diary-loaddefs.el)
3686 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
3687 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3688 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
3689 rewritten while the autoload files are built at the same time,
3690 which needs to load subdirs.el.
3691
c8e5a42c
MR
36922012-07-26 Martin Rudalics <rudalics@gmx.at>
3693
3694 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3695 (mouse-drag-line): Don't exit tracking when a switch-frame or
3696 switch-window event occurs (Bug#12006).
3697
670d85ea
SM
36982012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3699
3700 * mouse.el (popup-menu): Fix last change.
3701
7abaf5cc
SM
37022012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3703
3704 Autoload from Lisp with more care. Follow aliases when looking for
3705 function properties.
3706 * subr.el (autoloadp): New function.
3707 (symbol-file): Use it.
3708 (function-get): New function.
3709 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3710 autoload-do-load.
3711 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3712 (lisp-indent-function):
3713 * emacs-lisp/gv.el (gv-get):
3714 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3715 * emacs-lisp/byte-opt.el (byte-optimize-form):
3716 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3717 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3718 Use function-get.
3719 * emacs-lisp/cl.el: Don't propagate function properties any more.
3720
3721 * speedbar.el (speedbar-add-localized-speedbar-support):
3722 * emacs-lisp/disass.el (disassemble-internal):
3723 * desktop.el (desktop-load-file):
3724 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3725 (describe-function-1):
3726 * emacs-lisp/find-func.el (find-function-noselect):
3727 * emacs-lisp/elp.el (elp-instrument-function):
3728 * emacs-lisp/advice.el (ad-has-proper-definition):
3729 * apropos.el (apropos-safe-documentation, apropos-macrop):
3730 * emacs-lisp/debug.el (debug-on-entry):
3731 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3732 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3733 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3734
b1364986
AA
37352012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3736
3737 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3738 function, not an obsolete variable (Bug#12046).
3739
67ada220
AS
37402012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3741
3742 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3743
f08088e3
CS
37442012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3745
3746 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3747 window only if it is still live (Bug#12034).
3748
8137e7b3
MR
37492012-07-25 Martin Rudalics <rudalics@gmx.at>
3750
3751 * subr.el (redirect-frame-focus): Add advertised calling
3752 convention (Bug#12030).
3753
09ae5da1
PE
37542012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3755
3756 Prefer typical American spelling for "acknowledgment".
3757 * vc/add-log.el (change-log-acknowledgment): Rename from
3758 change-log-acknowledgement, with an alias for the old name.
3759
3cc5a3a8
JB
37602012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3761
3762 * calc-alg.el (math-simplify-divide): Don't cross multiply
3763 in an equation when the lhs is a variable.
3764
b7af7f62
JD
37652012-07-24 Julien Danjou <julien@danjou.info>
3766
3767 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3768 Remove, unused.
3769
ec1b09b1
EZ
37702012-07-23 Eli Zaretskii <eliz@gnu.org>
3771
3772 * startup.el (command-line): Don't display an empty user name in
3773 the error message about non-existent home directory, when
3774 init-file-user was set to an empty string. See
3775 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3776 for the details and context.
3777
b525fd8a
VB
37782012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3779
3780 * ses.el (ses-cell-formula-aset): New macro.
3781 (ses-cell-references-aset): New macro.
3782 (ses-cell-p): New function.
3783 (ses-rename-cell): Do no longer rely on complex operations like
3784 ses-cell-set-formula or ses-set-cell to change the cell and handle
3785 the undo at the same time, but rather use lower level new macros
3786 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 3787 the undo directly. Refresh the mode line.
b525fd8a 3788
2c73e345
LL
37892012-07-21 Leo Liu <sdl.web@gmail.com>
3790
670d85ea
SM
3791 * progmodes/cc-cmds.el (c-defun-name):
3792 Use match-string-no-properties instead for consistency.
2c73e345 3793
542dfbde
LL
37942012-07-20 Leo Liu <sdl.web@gmail.com>
3795
3646bcd6
LL
3796 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3797 (Bug#7879)
3798
542dfbde
LL
3799 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3800
25721031
CY
38012012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3802
3803 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3804 * progmodes/bug-reference.el, misearch.el: Provide themselves
3805 (bug#11915).
3806
3807 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3808 of narrowed buffer (bug#11966).
3809
316e68a7
VB
38102012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3811
3812 * ses.el (ses-rename-cell): Set new name also in reference list of
3813 cells of which the renamed cell depends.
3814
bbf0e7d9
MY
38152012-07-20 Masatake YAMATO <yamato@redhat.com>
3816
3817 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3818 to check whether menu-bar is shown or not. If not shown,
3819 show the menu-bar as a popup menu instead of using tmm.
3820 * mouse.el (popup-menu): Accept `point' as `position' argument.
3821
c28662a8
DG
38222012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3823
3824 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3825 up inside string symbol literal (bug#11923).
3826
87ab808f
EZ
38272012-07-20 Eli Zaretskii <eliz@gnu.org>
3828
3829 * startup.el (fancy-startup-text): Read the whole tutorial, not
3830 just its first 256 bytes. Prevents gibberish in display of the
3831 tutorial title.
3832
89dea803
DA
38332012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3834
3835 Drop idle buffer compaction due to an absence of the
3836 proved efficiency.
3837 * compact.el: Remove.
3838
8a4e6db8
SS
38392012-07-19 Sam Steingold <sds@gnu.org>
3840
3841 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3842 vc-bzr-pull & vc-bzr-merge-branch.
3843 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3844 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3845 for consistency with compilation-error-regexp-alist.
3846 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3847 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3848 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3849 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3850
5db81e33
SM
38512012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3852
3853 * emacs-lisp/chart.el: Use lexical-binding.
3854 (chart-emacs-storage): Don't hardcode the list of entries.
3855
5b835e1d
DA
38562012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3857
3858 Next round of tweaks caused by Fgarbage_collect changes.
3859 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3860
9cd47b72
DA
38612012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3862
3863 Compact buffers when idle.
3864 * compact.el: New file.
3865
1d6fc0df
SM
38662012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3867
3868 * subr.el (eventp): Presume that if it looks vaguely like an event,
3869 it's an event (bug#10190).
3870
1d29cc7d
FEG
38712012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3872
3873 Enhancements to ppss related code (thanks Stefan).
3874 * progmodes/python.el (python-indent-context)
3875 (python-indent-calculate-indentation, python-indent-dedent-line)
3876 (python-indent-electric-colon, python-nav-forward-block)
3877 (python-mode-abbrev-table)
1d6fc0df 3878 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
3879 for ppss context.
3880 (python-info-continuation-line-p): Cleanup.
3881 (python-info-ppss-context): Do not catch 'quote.
3882 (python-info-ppss-context-type)
3883 (python-info-ppss-comment-or-string-p): Simplify.
3884
d583cbe6
FEG
38852012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3886
3887 * progmodes/python.el: Enhancements to eldoc support.
3888 (python-info-current-symbol): New function.
3889 (python-eldoc-at-point): Use python-info-current-symbol.
3890 (python-info-current-defun): Fix cornercase on first defun scan.
3891 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3892 and signal error when no inferior python process is available.
3893
eceb6feb
DG
38942012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3895
3896 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3897 assume it's always t.
3898 (vc-git-registered): Remove caching, the function is only called
3899 once.
3900 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3901
4c8ff0fe
CY
39022012-07-18 Chong Yidong <cyd@gnu.org>
3903
19fb7186
CY
3904 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3905
9587c688
CY
3906 * simple.el (count-words): Report on narrowing (Bug#9959).
3907
0fe776a1
CY
3908 * bindings.el: Bind M-= to count-words.
3909
4c8ff0fe
CY
3910 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3911
7f5331cc
MY
39122012-07-18 Masatake YAMATO <yamato@redhat.com>
3913
3914 * progmodes/sh-script.el (sh-imenu-generic-expression):
3915 Capture a function with `function' keyword and without parentheses
3916 like "function FOO" (bug#11856).
3917
2dc2a609
TH
39182012-07-18 Tassilo Horn <tassilo@member.fsf.org>
3919
3920 * window.el (split-window-sensibly): Make WINDOW argument
3921 optional.
3922
439f7677
CY
39232012-07-18 Chong Yidong <cyd@gnu.org>
3924
9aeb25a6
CY
3925 * subr.el (keyboard-translate): Doc fix (Bug#7261).
3926
439f7677
CY
3927 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3928 and make C-x 8 RET exit isearch (Bug#11439).
3929
3930 * international/iso-transl.el: Move isearch-mode-map key
3931 definitions to isearch.el.
3932
12999ea8
SM
39332012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3934
3935 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3936 (eieio-defclass): Use gv-define-setter when possible.
3937
3ab6e069
DA
39382012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
3939
3940 Reflect recent changes in Fgarbage_collect.
3941 * emacs-lisp/chart.el (chart-emacs-storage): Change to
3942 reflect new format of data returned by Fgarbage_collect.
3943
0a60bc10
FEG
39442012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3945
3946 New utility functions + python-info-ppss-context fix (Bug#11910).
3947 * progmodes/python.el (python-info-beginning-of-block-statement-p)
3948 (python-info-ppss-comment-or-string-p): New functions.
3949 (python-info-ppss-context): Small fix for string check.
3950
6dafa0d5
JL
39512012-07-17 Juri Linkov <juri@jurta.org>
3952
3953 * dired-aux.el (dired-do-async-shell-command): Doc fix.
3954 (dired-do-async-shell-command): Don't add `*' at the end of the
3955 command (Bug#11815).
3956 (dired-do-shell-command): Doc fix.
3957 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3958 Join the individual commands using either "&" or ";" as the
3959 separator depending on the values of these trailing characters.
3960 At the end re-add the trailing "&". (Bug#10598)
3961
3962 * simple.el (async-shell-command): Sync the interactive spec with
3963 `shell-command'. Doc fix.
3964 (shell-command): Doc fix.
3965
b19dd9d1
JL
39662012-07-17 Juri Linkov <juri@jurta.org>
3967
3968 * descr-text.el (describe-char): Fix format args. (Bug#10129)
3969
bcdc27d7 39702012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 3971
bcdc27d7 3972 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
3973 * progmodes/python.el (python-nav-beginning-of-statement):
3974 Rename from python-nav-statement-start.
bcdc27d7
FEG
3975 (python-nav-end-of-statement): Rename from
3976 python-nav-statement-end.
3977 (python-nav-beginning-of-block): Rename from
3978 python-nav-block-start.
3979 (python-nav-end-of-block): Rename from python-nav-block-end.
3980
191da00e
FEG
39812012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3982
7f5331cc
MY
3983 * progmodes/python.el (python-shell-send-string-no-output):
3984 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
3985 future interactions (Bug#11868).
3986
4dc7c8d5 39872012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 3988
88ecaf8f
SM
3989 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3990
ef501ef0
SM
3991 * emacs-lisp/elint.el (elint-find-args-in-code):
3992 Use help-function-arglist, so as to handle lexical byte-code.
3993
aa7aaf8f
SM
3994 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3995 change (bug#11826).
3996
45fd731c
SM
39972012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3998
2143fa32
SM
3999 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4000 Avoid spuriously marking the buffer as modified because of c-is-sws.
4001
efc26dbe
SM
4002 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4003 as not-a-comment (bug#11946).
4004
f5695c9a
SM
4005 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4006 for uninterned vars.
4007
4008 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4009 Use read-event since we don't really want to read chars but bytes.
4010
45fd731c
SM
4011 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4012 $$..$$ but also $..$ using regexps (bug#11953).
4013 Use tex-verbatim for \url and \path.
4014 (tex-font-lock-keywords): Define as defconst like the others.
4015 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4016
ddfc8813
RK
40172012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4018
4019 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4020 alias for insert-char.
4021
758e556a
FEG
40222012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4023
4024 * progmodes/python.el: Simplified imenu implementation.
4025 (python-nav-jump-to-defun): Remove command.
4026 (python-mode-map): Use `imenu' instead.
4027 (python-nav-list-defun-positions-cache)
4028 (python-imenu-include-defun-type, python-imenu-make-tree)
4029 (python-imenu-subtree-root-label, python-imenu-index-alist):
4030 Remove vars.
4031 (python-nav-list-defun-positions, python-nav-read-defun)
4032 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
4033 (python-imenu-make-tree, python-imenu-create-index):
4034 Remove functions.
758e556a
FEG
4035 (python-mode): Update to interact with imenu by setting
4036 `imenu-extract-index-name-function' only.
4037
032d23ab
FEG
40382012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4039
4040 * progmodes/python.el: Enhancements to navigation commands.
4041 (python-nav-backward-sentence)
4042 (python-nav-forward-sentence): Remove.
4043 (python-nav-backward-statement, python-nav-forward-statement)
4044 (python-nav-statement-start, python-nav-statement-end)
4045 (python-nav-backward-block, python-nav-forward-block)
4046 (python-nav-block-start, python-nav-block-end)
4047 (python-nav-forward-sexp-function)
4048 (python-info-current-line-comment-p)
4049 (python-info-current-line-empty-p): New functions.
4050 (python-indent-context): Use `python-nav-statement-start'.
4051
01795a1b
MA
40522012-07-16 Michael Albinus <michael.albinus@gmx.de>
4053
9328d9aa
MA
4054 * eshell/em-ls.el (eshell/ls): Use `apply'.
4055
4056 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4057 multi-hops, instead of Tramp internals.
4058
01795a1b
MA
4059 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4060
4061 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4062 when F1 and F2 are located on different hosts.
4063
63408057
CY
40642012-07-14 Chong Yidong <cyd@gnu.org>
4065
4066 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4067 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4068 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4069 (xterm-mouse--read-event-sequence-1000)
4070 (xterm-mouse--read-event-sequence-1006): New functions. For old
4071 mouse protocol, handle M-mouse-X events correctly.
4072 (xterm-mouse-event): New arg specifying mouse protocol.
4073 (turn-on-xterm-mouse-tracking-on-terminal)
4074 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
4075 sequence to toggle extended coordinates on newer XTerms.
4076 This appears to be harmless on terminals which do not support this.
63408057 4077
cd276f6e
LL
40782012-07-14 Leo Liu <sdl.web@gmail.com>
4079
28ca98ac
LL
4080 Add fringe bitmap indicators for flymake. (Bug#11253)
4081 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4082 (flymake-make-overlay): New arg BITMAP.
4083 (flymake-error-bitmap, flymake-warning-bitmap)
4084 (flymake-fringe-indicator-position): New user variables.
4085
cd276f6e
LL
4086 * fringe.el: New bitmap exclamation-mark.
4087
04408072
JD
40882012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4089
4090 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4091 also (Bug#7879).
4092
b5cf7fc4
CY
40932012-07-14 Chong Yidong <cyd@gnu.org>
4094
4095 * electric.el (electric-pair-post-self-insert-function): Fix pair
4096 insertion in empty-region case (Bug#11520).
4097
be755c79
RT
40982012-07-14 Chong Yidong <cyd@gnu.org>
4099
45fd731c
SM
4100 * bindings.el: Consolidate ctl-x-r-map bindings.
4101 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
4102
4103 * rect.el, register.el: Move bindings to bindings.el.
4104
41052012-07-14 Reuben Thomas <rrt@sc3d.org>
4106
4107 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4108
7f5b3198
AS
41092012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4110
4111 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4112
97662200
JB
41132012-07-13 Juanma Barranquero <lekktu@gmail.com>
4114
80185fed
JB
4115 * bindings.el (top): Use `mapc' instead of `mapcar'.
4116
97662200
JB
4117 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4118
2bb1ae55
MA
41192012-07-13 Michael Albinus <michael.albinus@gmx.de>
4120
4121 * progmodes/sql.el (sql-comint): Suppress the check for program on
4122 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4123 (Bug#11908)
4124
dea31bd3
CY
41252012-07-13 Chong Yidong <cyd@gnu.org>
4126
4127 * bindings.el: Assign a non-nil permanent-local property to
4128 per-buffer variables which lack a default value (Bug#11930).
4129
4130 * help-fns.el (describe-variable): In the "automatically becomes
4131 local" notice, take note of permanent-local variables.
4132
b68b3337
CY
41332012-07-13 Chong Yidong <cyd@gnu.org>
4134
4135 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4136 to allow printing the message when called from Lisp.
4137
4138 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4139 Remove toggle-read-only.
4140
4141 * bs.el (bs-toggle-readonly):
45fd731c
SM
4142 * buff-menu.el (Buffer-menu-toggle-read-only):
4143 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
4144
4145 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4146 Remove with-no-warnings around toggle-read-only.
4147 (ffap-read-only, ffap-read-only-other-window)
4148 (ffap-read-only-other-frame): Callers changed.
4149
4150 * help-mode.el: Don't require view package.
4151 (help-mode-finish): Set buffer-read-only instead of calling
4152 toggle-read-only.
4153
4154 * bindings.el (mode-line-toggle-read-only):
4155 * dired.el (dired-toggle-read-only):
4156 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4157 with non-nil second arg.
4158
4159 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4160 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4161 directly.
4162
56bc1586
EZ
41632012-07-12 Eli Zaretskii <eliz@gnu.org>
4164
4165 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4166 not incf.
4167
a464a6c7
SM
41682012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4169
4170 More CL cleanups and reduction of use of cl.el.
4171 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4172 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4173 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4174 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4175 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4176 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4177 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4178 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4179 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4180 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4181 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4182 * eshell/em-cmpl.el, eshell/em-banner.el:
4183 * calendar/parse-time.el: Use cl-lib.
4184 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4185 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4186 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4187 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4188 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4189 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4190 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4191 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4192 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4193 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4194 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4195 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4196 `lambda' rather than with `quote'.
4197 (eshell-do-opt): Adjust accordingly.
4198 (eshell-process-option): Simplify.
4199 * eshell/esh-var.el:
4200 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4201 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4202 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4203 to `pcase--dontcare'.
4204 * emacs-lisp/cl.el (labels): Mark obsolete.
4205 (cl--letf, letf): Move to cl-lib.
4206 (cl--letf*, letf*): Remove.
4207 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4208 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4209 (cl-progv): Rewrite.
4210 (cl--letf, cl-letf): Move from cl.el.
4211 (cl-letf*): New macro.
4212 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4213
7ad4afe1
MA
42142012-07-11 Michael Albinus <michael.albinus@gmx.de>
4215
4216 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4217
9af57756
CY
42182012-07-11 Chong Yidong <cyd@gnu.org>
4219
4220 * vc/log-edit.el (log-edit-vc-backend): New variable.
4221 (log-edit): Doc fix.
4222
4223 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4224 argument of log-edit to set up all local variables.
4225 (vc-start-logentry): New optional arg specifying VC backend.
4226
4227 * vc/vc.el (vc-checkin): Use it.
4228 (vc-deduce-fileset): Handle Log Edit buffers.
4229 (vc-diff): Make first argument optional too.
4230
4231 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4232
8477cc7a
MA
42332012-07-10 Michael Albinus <michael.albinus@gmx.de>
4234
4235 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4236 command, just in case. The function is not needed anymore.
4237 (eshell-external-command): Do not call `eshell-remote-command'.
4238
19faa8e8
SM
42392012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4240
f58e0fd5
SM
4241 Reduce use of (require 'cl).
4242 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4243 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4244 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4245 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4246 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4247 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4248 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4249 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4250 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4251 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4252 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4253 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4254 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4255 (byte-compile-unfold-bcf, byte-compile-check-variable):
4256 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4257 (byte-compile-nilconstp):
4258 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4259 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4260
2519d43a
SM
4261 * emacs-lisp/gv.el (cond): Make it a valid place.
4262 (if): Simplify slightly.
4263
19faa8e8
SM
4264 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4265 (pcase--self-quoting-p): New function.
4266 (pcase--u1): Use it.
4267
c4907a5e
GM
42682012-07-10 Glenn Morris <rgm@gnu.org>
4269
4270 * emacs-lisp/authors.el (authors-fixed-entries):
4271 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4272
c4444d16
PE
42732012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4274
4275 Rename configure.in to configure.ac (Bug#11603).
4276 * emacs-lisp/authors.el (authors-canonical-file-name):
4277 * progmodes/autoconf.el (autoconf-mode):
4278 Prefer configure.ac to configure.in.
4279
d75be97d
CY
42802012-07-08 Chong Yidong <cyd@gnu.org>
4281
01ac65bd
CY
4282 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4283 Implement the mouse-1-click-follows-link handling properly.
4284
4285 * info.el (Info-link-keymap): Use follow-link mechanism for
4286 header-line links (Bug#374).
4287
d75be97d
CY
4288 * simple.el (deactivate-mark): Do not set the primary selection
4289 if another program has acquired it (Bug#11772).
4290
87a92845 42912012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
4292
4293 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4294 (woman-decode-region): Replace escaped-escapes without destroying
4295 bold or underline (Bug#11552).
87a92845 4296 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 4297
621b9d6c
CY
42982012-07-07 Chong Yidong <cyd@gnu.org>
4299
4300 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
4301 (interprogram-cut-function, interprogram-paste-function):
4302 Mention that we typically mean the clipboard.
621b9d6c 4303
133a11fc
GM
43042012-07-06 Glenn Morris <rgm@gnu.org>
4305
0d27a45e
GM
4306 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4307
133a11fc
GM
4308 * files.el (toggle-read-only): Restrict message to interactive use.
4309
07b151f1
MA
43102012-07-06 Michael Albinus <michael.albinus@gmx.de>
4311
4312 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4313
4314 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4315
211b896b
GM
43162012-07-06 Glenn Morris <rgm@gnu.org>
4317
50394322
GM
4318 * Makefile.in (compile-one-process): Rename from "recompile".
4319
211b896b
GM
4320 * Makefile.in (bzr-update): "compile" is the same as "recompile
4321 autoloads", but parallelizable, so use that instead.
4322
4737eec9
DG
43232012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4324
4325 * window.el (quit-window): Always restore window height when
8137e7b3 4326 it's saved in quit-restore parameter (Bug#11810).
4737eec9 4327
226c3633 43282012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
4329
4330 * simple.el (kill-whole-line): Doc tweak.
4331
226c3633 43322012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
4333
4334 * files.el (file-relative-name): Compare file names
4335 case-insensitively if on MS-Windows or MS-DOS, or if
4336 read-file-name-completion-ignore-case is non-nil. Don't use
4337 case-fold-search for this purpose. (Bug#11827)
4338
4dc7c8d5
SM
43392012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4340
4341 * calendar/cal-dst.el (calendar-current-time-zone):
4342 Return calendar-current-time-zone-cache if non-nil.
4343
43442012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 43452012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4346
19faa8e8
SM
4347 * calendar/cal-dst.el (calendar-current-time-zone):
4348 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4349
60198fc9
GM
43502012-07-06 Glenn Morris <rgm@gnu.org>
4351
4352 * Makefile.in (cvs-update): Remove old alias.
4353
957b3189
MA
43542012-07-05 Michael Albinus <michael.albinus@gmx.de>
4355
4356 Sync with Tramp 2.2.6-pre.
4357
4358 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4359 compatible declaration.
4360
19faa8e8
SM
4361 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4362 Protect `list-load-path-shadows' call.
957b3189
MA
4363
4364 * net/tramp-compat.el (top): Require packages, which aren't
4365 autoloaded anymore for XEmacs. Protect call of
4366 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4367 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4368 it hurts at least for SXEmacs.
4369 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4370 standard-value for `temporary-file-directory'.
4371
4372 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4373 Redirect stderr to /dev/null.
4374 (tramp-sh-handle-write-region): uid and gid can be floats.
4375 Reported by Russell Sim <russell.sim@gmail.com>.
4376 (tramp-sh-handle-vc-registered): Hide errors.
4377 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4378 and `start-file-process'.
4379 (tramp-maybe-open-connection): Check also whether `non-essential'
4380 is bound.
4381
566df3fc
CY
43822012-07-04 Chong Yidong <cyd@gnu.org>
4383
4384 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4385 (xml-parse-tag): Likewise, and avoid changing entity tables.
4386 (xml-syntax-table): Define from scratch, making sure not to give
4387 x2000 and other Unicode spaces whitespace syntax, since those are
4388 not spaces in XML.
4389 (xml-parse-fragment): Delete unused function.
4390 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4391 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4392 (xml-entity-ref, xml-pe-reference-re)
4393 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4394 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4395 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4396 (xml-entity-value-re): Use syntax references in regexps where
4397 possible; no need to define inside a let-binding.
4398 (xml-parse-dtd): Use xml-pe-reference-re.
4399 (xml-entity-or-char-ref-re): New defconst.
4400 (xml-parse-string, xml-substitute-special): Use it.
4401
30eabd7a
SM
44022012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4403
0781098a
SM
4404 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4405 (find-file--read-only): New function.
4406 (find-file-read-only, find-file-read-only-other-window)
4407 (find-file-read-only-other-frame): Use it.
4408 (insert-file-contents-literally): Don't `fset'.
4409 (get-free-disk-space): Use locate-dominating-file.
4410
b5771c0d
SM
4411 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4412 function is already compiled.
4413
30eabd7a
SM
4414 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4415
b4886f6e
MA
44162012-07-03 Michael Albinus <michael.albinus@gmx.de>
4417
4418 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4419 files on the same host.
4420
b9d82339
AS
44212012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4422
4423 * help-fns.el (describe-function-1): Only call
4424 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4425
a76e6535
CY
44262012-07-03 Chong Yidong <cyd@gnu.org>
4427
4428 * xml.el: Protect parser against XML bombs.
4429 (xml-entity-expansion-limit): New variable.
4430 (xml-parse-string, xml-substitute-special): Use it.
4431 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4432
b544fef2
GM
44332012-07-03 Glenn Morris <rgm@gnu.org>
4434
4435 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4436 Allow linking to specific messages in debbugs reports (eg 123#5).
4437
a7aef6f5
CY
44382012-07-02 Chong Yidong <cyd@gnu.org>
4439
4440 * xml.el: Fix entity and character reference expansion, allowing
4441 them to expand into markup as per XML spec.
4442 (xml-default-ns): New variable.
4443 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
4444 (xml-parse-region): Make first two arguments optional.
4445 Discard text properties.
4446 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4447 All callers changed.
a7aef6f5
CY
4448 (xml-parse-tag): Call xml-parse-tag-1. For backward
4449 compatibility, this function should not modify buffer contents.
4450 (xml-parse-tag-1): Fix opening-tag regexp.
4451 (xml-parse-string): Rewrite, handling entity and character
4452 references properly.
4453 (xml--entity-replacement-text): Signal an error if a parameter
4454 entity is undefined.
4455
3df31c9f
SM
44562012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4457
2b5208f1
SM
4458 * comint.el (comint-output-filter): Filter out repeated prompts.
4459
3df31c9f
SM
4460 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4461 and file-name-absolute-p.
4462 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4463 internal calls.
4464
e3ac1281
PE
44652012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4466
4467 Spelling fixes.
4468 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4469 Rename from byte-compile--refiy-function. All uses changed.
4470
fbf2e7ad
CY
44712012-07-01 Chong Yidong <cyd@gnu.org>
4472
4473 * xml.el (xml--parse-buffer): New function. Move most of
4474 xml-parse-region here.
4475 (xml-parse-region): Copy region into a temporary buffer, since
4476 parameter entity substitution requires changing buffer contents.
4477 Use xml--parse-buffer.
4478 (xml-parse-file): Use xml--parse-buffer.
4479 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 4480 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 4481
9bf0aa15
GM
44822012-06-30 Glenn Morris <rgm@gnu.org>
4483
bbce2853
GM
4484 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4485
9bf0aa15
GM
4486 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4487 Remove outdated and unnecessary dbus declarations.
4488
0d23c240
EZ
44892012-06-30 Eli Zaretskii <eliz@gnu.org>
4490
4491 * emacs-lisp/timer.el (timer-until): Subtract results of
4492 float-time, instead of taking float-time of the result of
4493 time-subtract, since float-time signals an error for negative time
4494 arguments.
4495
b3218de1
CY
44962012-06-30 Chong Yidong <cyd@gnu.org>
4497
4498 * xml.el (xml-*-re): Convert defvars into defconsts, and
4499 eval-and-compile them so eval-and-compile works on derivatives.
4500 (xml--entity-replacement-text): Use eval-and-comple.
4501
a40c87a0
MA
45022012-06-30 Michael Albinus <michael.albinus@gmx.de>
4503
4504 * vc/vc-git.el (vc-git-registered): Use cache property
4505 `git-registered'.
4506 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4507 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 4508 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 4509
ac87de97
DG
45102012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4511
4512 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 4513 removed (likely outside Emacs). (Bug#11757)
ac87de97 4514
ac10fe06
SM
45152012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4516
3df31c9f 4517 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 4518
7f3fbd5d
CY
45192012-06-30 Chong Yidong <cyd@gnu.org>
4520
4521 * xml.el: Implement XML parameter entities.
4522 (xml-parameter-entity-alist): New variable.
4523 (xml-parse-region, xml-parse-fragment): Preserve previous values
4524 of xml-entity-alist and xml-parameter-entity-alist, so that
4525 repeated calls on different documents do not change them.
4526 (xml-parse-tag): Fix doctype regexp.
4527 (xml--entity-replacement-text): New function.
4528 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4529 properly requires url retrieval which is unimplemented.
4530 (xml-escape-string): Doc fix.
4531
3cfbebba
SM
45322012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4533
4534 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4535
2af3565e
DA
45362012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4537
4538 * fringe.el (fringe-mode): Doc fix.
4539
929df0e7
MA
45402012-06-29 Michael Albinus <michael.albinus@gmx.de>
4541
4542 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4543 is non-nil.
4544 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4545 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4546
c8d3a25c 45472012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4548
c8d3a25c
GM
4549 * calendar/cal-dst.el (calendar-current-time-zone):
4550 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4551
c8d3a25c 45522012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
4553
4554 * progmodes/which-func.el (which-func-format):
4555 Add mouse-face. (Bug#11698)
4556
c8d3a25c
GM
45572012-06-29 Leo Liu <sdl.web@gmail.com>
4558
4559 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4560
45612012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4562
4563 * minibuffer.el (minibuffer-confirm-exit-commands):
4564 Add completion-at-point (bug#11725).
4565
45662012-06-29 Glenn Morris <rgm@gnu.org>
4567
4568 * progmodes/f90.el (f90-font-lock-keywords-2):
4569 Add some preprocessor elements. (Bug#10499)
4570
45712012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4572
4573 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4574 Use syntax-propertize (bug#11739).
4575
2badeec4
JB
45762012-06-28 Juanma Barranquero <lekktu@gmail.com>
4577
4578 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4579
ae4969c2
JD
45802012-06-28 Julien Danjou <julien@danjou.info>
4581
4582 * term.el (term-handle-colors-array): Use a set of new faces to
4583 color the terminal. Also uses :inverse-video property.
4584 (term-default-fg-color): Set to nil by default, deprecate in favor
4585 of `term-face'.
4586 (term-default-bg-color): Set to nil by default, deprecate in favor
4587 of `term-face'.
4588 (term-current-face): Use `term-face' by default.
4589 (term-bold-attribute): Variable deleted.
4590
1c9bd870
GM
45912012-06-28 Glenn Morris <rgm@gnu.org>
4592
4593 * simple.el (completion-list-mode-finish):
4594 Don't use toggle-read-only. (Since completion-list-mode has
4595 a special mode-class, it wasn't doing anything extra anyway.)
4596
c207708c
SM
45972012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4598
4599 Make inlining of other-mode interpreted functions work (bug#11799).
4600 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4601 (byte-compile): Use it to fix compilation of lexical-binding closures.
4602 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4603 function, if needed.
4604
3fd56834
SM
46052012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4606
04901786
SM
4607 * help-mode.el (help-make-xrefs): Don't just withstand
4608 cyclic-variable-indirection but any error in documentation-property.
4609
1ec4b7b2
SM
4610 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4611 memory use.
4612 * bindings.el (bindings--define-key): New function.
4613 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4614 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4615 * bindings.el: Use it to purecopy define-key bindings.
4616
e309e2a5
SM
4617 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4618
d5c6faf9
SM
4619 * emacs-lisp/cl.el (flet): Mark obsolete.
4620 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4621 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4622 * progmodes/js.el (js-c-fill-paragraph):
4623 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4624 (ebrowse-switch-member-buffer-to-derived-class):
4625 * play/5x5.el (5x5-solver): Use cl-flet.
4626
6e9590e2
SM
4627 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4628 (cl--symbol-function): New macro.
4629 (cl--letf, cl--letf*): Use it.
4630
3fd56834
SM
4631 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4632 Strip "toggle-" if any.
4633
35ff222c
GM
46342012-06-27 Glenn Morris <rgm@gnu.org>
4635
1ba6038a
GM
4636 * info.el (Info-default-directory-list): Move here from paths.el.
4637 * paths.el: Remove file, which is now empty.
4638 * loadup.el: No longer load "paths".
4639
0ea0e51b
GM
4640 * custom.el (custom-initialize-delay): Doc fix.
4641
35ff222c
GM
4642 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4643 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4644 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4645 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4646 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4647 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4648 * eshell/eshell.el (eshell-defgroup): Remove alias.
4649
c89926a5
CY
46502012-06-27 Chong Yidong <cyd@gnu.org>
4651
4652 * help.el (help-enable-auto-load): New variable.
4653
4654 * help-fns.el (help-fns--autoloaded-p): New function.
4655 (describe-function-1): Refer to a function as "autoloaded" if it
4656 was autoloaded at any time in the past. Perform autoloading if
4657 help-enable-auto-load is non-nil.
4658
cc06e7e7
EZ
46592012-06-26 Eli Zaretskii <eliz@gnu.org>
4660
4661 * makefile.w32-in (compile, compile-always): Depend on
4662 update-subdirs, not on subdirs.el. Otherwise, several different
4663 sub-targets of 'bootstrap' running in parallel could
4664 simultaneously write to subdirs.el, producing a garbled file.
4665
d2c32364
SS
46662012-06-26 Sam Steingold <sds@gnu.org>
4667
4668 * files.el (file-name-base): New convenience function.
0d14cc21
GM
4669 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4670 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4671 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4672 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4673 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
4674 * textmodes/tex-mode.el: Use it.
4675 Did not touch cedet and org because they are maintained elsewhere.
4676
5cf983b2
MR
46772012-06-26 Martin Rudalics <rudalics@gmx.at>
4678
4679 * calendar/calendar.el (calendar-exit): Don't try to delete or
4680 iconify last frame. See:
4681 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4682
8c4f2952
JD
46832012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4684
4685 * server.el (server-process-filter): Remember dir in the
4686 process's `server-client-directory' properties.
4687
772b2e2c
CY
46882012-06-24 Chong Yidong <cyd@gnu.org>
4689
4690 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4691 non-tag text.
4692
711b11e1
JB
46932012-06-23 Juanma Barranquero <lekktu@gmail.com>
4694
4695 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4696
dc5d230c
SM
46972012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4698
4699 * help-fns.el (describe-variable): Don't croak when doc is not found.
4700 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4701 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4702 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4703 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4704 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4705 ((lambda ..) ..).
4706 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4707
136e1c1d
CY
47082012-06-23 Chong Yidong <cyd@gnu.org>
4709
e8c1cabf
CY
4710 * info.el (Info-mouse-follow-link): Accept symbol values of
4711 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
4712 (Info-fontify-node): Use Info-link-keymap for all navigation
4713 buttons, with link-args property to perform the desired action.
4714 (Info-link-keymap): Doc fix.
4715 (Info-next-link-keymap, Info-prev-link-keymap)
4716 (Info-up-link-keymap): Delete now-unused keymaps.
4717
0e9e6c6a
CY
47182012-06-23 Chong Yidong <cyd@gnu.org>
4719
05e89fea
CY
4720 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4721
0e9e6c6a
CY
4722 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4723 system abbrevs.
4724
4725 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4726
e33c6771
SM
47272012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4728
b68581e2
SM
4729 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4730 (bug#11719).
4731
e33c6771
SM
4732 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4733 the requote function doesn't work properly (bug#11714).
4734
7117e105
GM
47352012-06-23 Glenn Morris <rgm@gnu.org>
4736
4737 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4738
36cec983
SM
47392012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4740
4741 Further GV/CL cleanups.
4742 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4743 gv-expander.
4744 (gv--defun-declaration): New function.
4745 (defun-declarations-alist): Use it.
4746 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4747 (gv-place): Autoload.
4748 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4749 original definition of dotimes and dolist.
4750 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4751 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4752 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4753 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4754 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4755 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4756 to the function's definition.
4757 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4758 * window.el:
4759 * files.el:
4760 * faces.el:
4761 * env.el: Don't use CL.
4762
d35af63c
PE
47632012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4764
4765 Support higher-resolution time stamps (Bug#9000).
4766
4767 * calendar/time-date.el (with-decoded-time-value): New arg
4768 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4769 (encode-time-value): New optional arg PICO. New type 3.
4770 (time-to-seconds) [!float-time]: Support the new picoseconds
4771 component if it's used.
4772 (seconds-to-time, time-subtract, time-add):
4773 Support ps-resolution time stamps as well.
4774
4775 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4776 (timerp): Timer vectors now have length 9, not 8.
4777 (timer--time): Support new-style (4-part) time stamps.
4778 (timer-next-integral-multiple-of-time): Time stamps now have
4779 picosecond resolution, so take a bit more care about rounding.
4780 (timer-relative-time, timer-inc-time): New optional arg psecs.
4781 (timer-set-time-with-usecs): Set psecs to 0.
4782 (timer--activate): Check psecs component, too.
4783
4784 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4785
ac77b21a
SM
47862012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4787
f143bfe3
SM
4788 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4789 Move the non-essential binding to the post/pre-command-hook where it is
4790 more obviously correct.
4791
ac77b21a
SM
4792 * subr.el (read-passwd): Don't use a history at all.
4793 * savehist.el (savehist-save): Remove password saved accidentally
4794 because of the above bug.
4795
76386c5a
BG
47962012-06-22 Bastien Guerry <bzg@gnu.org>
4797
4798 * files.el (toggle-read-only): Display a message telling whether
4799 the buffer is read-only or not (bug#11726).
4800
2ee3d7f0
SM
48012012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4802
4803 * emacs-lisp/gv.el: New file.
4804 * subr.el (push, pop): Extend to generalized variables.
4805 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4806 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4807 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4808 gv-define-simple-setter, and gv-define-expander.
4809 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4810 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4811 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4812 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4813 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4814 gv-letplace.
4815 (cl-defstruct): Don't define setf-method any more.
4816 * emacs-lisp/cl.el (flet): Don't autoload.
4817 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4818 (define-setf-expander, defsetf, define-modify-macro)
4819 (cl-struct-setf-expander): Move from cl-lib.el.
4820 * emacs-lisp/syntax.el:
4821 * emacs-lisp/ewoc.el:
4822 * emacs-lisp/smie.el:
4823 * emacs-lisp/cconv.el:
4824 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4825 (timer--time): Use gv-define-simple-setter.
4826 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4827 to avoid coding-system problems in subr.el. Adjust all users.
4828 (macroexp--maxsize, macroexp-small-p): New functions.
4829 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4830 * scroll-bar.el (scroll-bar-mode):
4831 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4832 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4833 * winner.el (winner-configuration, winner-make-point-alist)
4834 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4835 * files.el (locate-file-completion-table): Avoid list*.
4836
c5695d1d
CY
48372012-06-22 Chong Yidong <cyd@gnu.org>
4838
4839 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4840 (dired-create-files): Doc fix (Bug#11329).
4841 (dired-do-copy): Doc fix (Bug#11334).
4842 (dired-mark-read-string): Doc fix (Bug#11553).
4843
2ee3d7f0
SM
4844 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4845 Doc fix (Bug#11326).
c5695d1d
CY
4846 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4847 (dired-dwim-target): Doc fix.
4848
4849 * wdired.el (wdired-mode): Doc fix.
4850
89b5595a
GM
48512012-06-22 Glenn Morris <rgm@gnu.org>
4852
575db3f1
GM
4853 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4854 (pcmpl-rpm-cache-stamp-file): New constant.
4855 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4856 (pcmpl-rpm-packages): Optionally cache list of packages.
4857
a4c8dd51
GM
4858 * pcmpl-rpm.el (pcmpl-rpm): New group.
4859 (pcmpl-rpm-query-options): New option.
4860 (pcmpl-rpm-packages): No need to inline it.
4861 Use pcmpl-rpm-query-options.
4862
89b5595a
GM
4863 * calendar/calendar.el (calendar-in-read-only-buffer):
4864 Avoid some needless mode changes.
4865
e76f0800
CY
48662012-06-21 Chong Yidong <cyd@gnu.org>
4867
4868 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4869 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 4870 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 4871
297a8f1d
CY
48722012-06-20 Chong Yidong <cyd@gnu.org>
4873
4874 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4875
d34c18b1
DR
48762012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
4877
4878 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4879 (bug#11201).
4880
32f7f28e
CY
48812012-06-20 Chong Yidong <cyd@gnu.org>
4882
4883 * term.el (term-window-width): Handle the case of a missing right
4884 fringe (Bug#8837).
4885 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
4886 (term-mode): Use define-derived-mode. Minor cleanups.
4887 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
4888 (term-move-columns, term-insert-char, term-emulate-terminal)
4889 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 4890
493c6688
MA
48912012-06-20 Michael Albinus <michael.albinus@gmx.de>
4892
d34c18b1
DR
4893 * net/ange-ftp.el (ange-ftp-get-passwd):
4894 Bind `enable-recursive-minibuffers'.
493c6688
MA
4895 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4896
3f06ecf4
DR
48972012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4898
4899 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4900
68f12411
GM
49012012-06-19 Glenn Morris <rgm@gnu.org>
4902
4903 * progmodes/python.el (python-mode): Derive from prog-mode.
4904
b3820318
KG
49052012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4906
4907 * emulation/edt.el (edt-default-menu-bar-update-buffers)
4908 (edt-user-menu-bar-update-buffers): New functions.
4909 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4910
c6bf3022
CY
49112012-06-19 Chong Yidong <cyd@gnu.org>
4912
4913 * subr.el (with-selected-window): Preserve the selected window's
4914 terminal's top-frame (Bug#4702).
4915
4916 * window.el (save-selected-window): Likewise.
4917
25f09295
SM
49182012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4919
4920 * progmodes/python.el (python-rx-constituents): Move backquote.
4921 (python-skeleton-define, python-define-auxiliary-skeleton):
4922 Use `declare'.
4923
6b11952a
MA
49242012-06-18 Michael Albinus <michael.albinus@gmx.de>
4925
4926 * minibuffer.el (read-file-name-default): Revert the patch from
4927 2012-06-17.
4928
ee4b1330
SM
49292012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4930
4931 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4932 (pcase--u1, pcase--q1): Don't use apply-partially.
4933
35647f79
GM
49342012-06-18 Glenn Morris <rgm@gnu.org>
4935
4936 * progmodes/python.el (python-proc, python-buffer)
4937 (python-send-receive, python-send-string): Fix obsolete versions.
4938
24b0cff0
MR
49392012-06-18 Martin Rudalics <rudalics@gmx.at>
4940
4941 * window.el (special-display-p): Completely remove stringp
4942 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4943
29855149
MA
49442012-06-17 Michael Albinus <michael.albinus@gmx.de>
4945
4946 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4947
4948 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4949
4950 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4951 * net/tramp-sh.el (tramp-maybe-open-connection):
4952 Throw if `non-essential' is non-nil.
4953
07463363
MR
49542012-06-17 Martin Rudalics <rudalics@gmx.at>
4955
4956 * window.el (special-display-p): Signal an error if BUFFER-NAME
4957 is not a string (Bug#11713).
4958
48d1354e
PE
49592012-06-17 Paul Eggert <eggert@cs.ucla.edu>
4960
4961 * progmodes/python.el (python-info-beginning-of-backslash):
4962 Rename from python-info-beginning-of-backlash, as a spelling fix.
4963
eb4a8a9a
CY
49642012-06-17 Chong Yidong <cyd@gnu.org>
4965
4966 * term.el (term-emulate-terminal): If term-check-size is called,
4967 move point to the process mark without resetting point (Bug#4635).
4968
ddfbf826 49692012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
4970
4971 * international/mule-cmds.el (mule-menu-keymap)
4972 (set-language-environment, set-locale-environment): Doc tweaks.
4973
9b0e3eba
AA
49742012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
4975
4976 * cus-face.el (custom-face-attributes): Add wave-style underline
4977 attribute.
4978 * faces.el (set-face-attribute): Update docstring to describe
4979 wave-style underline attribute.
4980
771e3eae
CY
49812012-06-16 Chong Yidong <cyd@gnu.org>
4982
4983 * term/xterm.el (terminal-init-xterm): Discard input before
4984 querying background mode (Bug#10959).
4985
7ae2ea10
SM
49862012-06-16 Stefan Merten <smerten@oekonux.de>
4987
4988 * textmodes/rst.el: Added and corrected some comments.
4989 (rst-re-alist-def): Improve symbol syntax.
4990 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
4991 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4992 (rst-official-version, rst-official-cvs-rev): Update version
4993 information.
7ae2ea10 4994
b6974efa
JB
49952012-06-15 Juanma Barranquero <lekktu@gmail.com>
4996
4997 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4998 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4999
8826d473
GM
50002012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5001
5002 * progmodes/python.el: New python.el merge.
5003 (python-guess-indent): Obsolete var.
5004 (python-indent-guess-indent-offset): New defcustom.
5005 (python-indent): Obsolete var.
5006 (python-indent-offset): New defcustom.
5007 (python-python-command, python-jython-command): Delete var.
5008 (python-shell-interpreter): New defcustom.
5009 (python-pdbtrack-do-tracking-p): Delete var.
5010 (python-pdbtrack-activate): New defcustom.
5011 (python-use-skeletons): Obsolete var.
5012 (python-skeleton-autoinsert): New defcustom.
5013 (inferior-python-filter-regexp, python-continuation-offset)
5014 (python-honour-comment-indentation, python-indent-string-contents)
5015 (python-jython-packages, python-mode-hook)
5016 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5017 (python-shell-prompt-alist)
5018 (python-source-modes): Delete defcustoms.
5019 (python-check-buffer-name, python-eldoc-setup-code)
5020 (python-eldoc-string-code, python-ffap-setup-code)
5021 (python-ffap-string-code, python-fill-comment-function)
5022 (python-fill-decorator-function, python-fill-paren-function)
5023 (python-fill-string-function, python-imenu-include-defun-type)
5024 (python-imenu-make-tree, python-imenu-subtree-root-label)
5025 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5026 (python-shell-compilation-regexp-alist)
5027 (python-shell-completion-module-string-code)
5028 (python-shell-completion-pdb-string-code)
5029 (python-shell-completion-setup-code)
5030 (python-shell-completion-string-code)
5031 (python-shell-enable-font-lock, python-shell-exec-path)
5032 (python-shell-extra-pythonpaths)
5033 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5034 (python-shell-process-environment)
5035 (python-shell-prompt-block-regexp)
5036 (python-shell-prompt-output-regexp)
5037 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5038 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5039 (python-shell-virtualenv-path): New defcustoms.
5040 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5041 (inferior-python-mode-syntax-table, python--prompt-regexp)
5042 (python-buffer, python-command python-python-command)
5043 (python-default-template, python-imports, python-indent-index)
5044 (python-indent-list, python-indent-list-length)
5045 (python-mode-running, python-pdbtrack-is-tracking-p)
5046 (python-preoutput-continuation, python-preoutput-leftover)
5047 (python-preoutput-result, python-preoutput-skip-next-prompt)
5048 (python-prev-dir/file, python-recursing)
5049 (python-saved-check-command, python-version-checked)
5050 (python-which-func-length-limit)
5051 (view-return-to-alist): Delete vars.
5052 (python-check-custom-command, python-dotty-syntax-table)
5053 (python-imenu-index-alist, python-indent-current-level)
5054 (python-indent-dedenters, python-indent-levels)
5055 (python-nav-beginning-of-defun-regexp)
5056 (python-nav-list-defun-positions-cache)
5057 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5058 (python-shell-internal-buffer)
5059 (python-skeleton-available): New vars.
5060 (def-python-skeleton): Delete macro.
5061 (python-skeleton-define): New macro.
5062 (python-define-auxiliary-skeleton, python-rx): New macros.
5063 (python-insert-class): Delete command.
5064 (python-skeleton-class): New command.
5065 (python-insert-def): Delete command.
5066 (python-skeleton-def): New command.
5067 (python-insert-for): Delete command.
5068 (python-skeleton-for): New command.
5069 (python-insert-if): Delete command.
5070 (python-skeleton-if): New command.
5071 (python-insert-try/except, python-insert-try/finally): Delete commands.
5072 (python-skeleton-try): New command.
5073 (python-insert-while): Delete command.
5074 (python-skeleton-while): New command.
5075 (python-backspace): Delete command.
5076 (python-indent-dedent-line-backspace): New command.
5077 (python-electric-colon): Delete command.
5078 (python-indent-electric-colon): New command.
5079 (python-guess-indent): Delete command.
5080 (python-indent-guess-indent-offset): New command.
5081 (python-shift-left): Delete command.
5082 (python-indent-shift-left): New command.
5083 (python-shift-right): Delete command.
5084 (python-indent-shift-right): New command.
5085 (python-find-function): Delete command.
5086 (python-nav-jump-to-defun): New command.
5087 (python-next-statement): Delete command.
5088 (python-nav-forward-sentence): New command.
5089 (python-previous-statement): Delete command.
5090 (python-nav-backward-sentence): New command.
5091 (python-fill-paragraph): Delete command.
5092 (python-fill-paragraph-function): New command.
5093 (python-send-buffer): Delete command.
5094 (python-shell-send-buffer): New command.
5095 (python-send-defun): Delete command.
5096 (python-shell-send-defun): New command.
5097 (python-send-region, python-send-region-and-go): Delete commands.
5098 (python-shell-send-region)
5099 (python-shell-switch-to-shell): New commands.
5100 (python-send-string): Delete command.
5101 (python-shell-send-string): New command.
5102 (python-switch-to-python): Delete command.
5103 (python-shell-switch-to-shell): New command.
5104 (python-describe-symbol): Delete command.
5105 (python-eldoc-at-point): New command.
5106 (python--set-prompt-regexp, python-args-to-list)
5107 (python-after-info-look, python-check-version)
5108 (python-check-comint-prompt, python-find-imports)
5109 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5110 (python-unload-function, python-expand-template)
5111 (python-maybe-jython, python-preoutput-filter)
5112 (python-pdbtrack-get-source-buffer)
5113 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5114 (python-pdbtrack-toggle-stack-tracking)
5115 (python-pdbtrack-track-stack-file, python-initial-text)
5116 (python-first-word, python-comment-line-p, python-send-command)
5117 (python-setup-brm, python-sentinel, python-set-proc)
5118 (python-skip-out, python-input-filter, python-outdent-p)
5119 (python-outline-level, python-backslash-continuation-line-p)
5120 (python-end-of-block, python-end-of-statement, python-mark-block)
5121 (python-beginning-of-block, python-beginning-of-statement)
5122 (python-blank-line-p, python-beginning-of-string)
5123 (python-open-block-statement-p): Delete functions.
5124 (python-indent-line, python-indent-line-1): Delete functions.
5125 (python-indent-line): New function.
5126 (python-indentation-levels): Delete function.
5127 (python-indent-calculate-levels): New function.
5128 (python-proc): Delete function.
5129 (python-shell-get-process): New function.
5130 (python-send-receive): Delete function.
5131 (python-shell-send-string-no-output): New function.
5132 (python-module-path): Delete function.
5133 (python-ffap-module-path): New function.
5134 (python-completion-at-point)
5135 (python-symbol-completions): Delete functions.
5136 (python-completion-complete-at-point): New function.
5137 (python-load-file): Delete function.
5138 (python-shell-send-file): New function.
5139 (python-calculate-indentation): Delete function.
5140 (python-indent-calculate-indentation): New function.
5141 (python-skip-comments/blanks): Delete function.
5142 (python-util-forward-comment): New function.
5143 (python-continuation-line-p): Delete function.
5144 (python-info-continuation-line-p): New function.
5145 (python-which-func, python-current-defun): Delete function.
5146 (python-info-current-defun): New function.
5147 (python-beginning-of-defun): Delete function.
5148 (python-nav-beginning-of-defun): New function.
5149 (python-close-block-statement-p)
5150 (python-block-end-p): Delete function.
5151 (python-info-closing-block): New function.
5152 (python-comint-output-filter-function)
5153 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5154 (python-fill-comment, python-fill-decorator, python-fill-paren)
5155 (python-fill-string, python-imenu-make-element-tree)
5156 (python-imenu-make-tree, python-imenu-tree-assoc)
5157 (python-indent-context, python-indent-dedent-line)
5158 (python-indent-line-function)
5159 (python-indent-post-self-insert-function)
5160 (python-indent-toggle-levels)
5161 (python-info-assignment-continuation-line-p)
5162 (python-info-beginning-of-backlash)
5163 (python-info-block-continuation-line-p)
5164 (python-info-closing-block-message)
5165 (python-info-line-ends-backslash-p)
5166 (python-info-looking-at-beginning-of-defun)
5167 (python-info-ppss-context, python-info-ppss-context-type)
5168 (python-nav-list-defun-positions, python-nav-read-defun)
5169 (python-nav-sentence-end, python-nav-sentence-start)
5170 (python-pdbtrack-comint-output-filter-function)
5171 (python-pdbtrack-set-tracked-buffer)
5172 (python-shell-calculate-exec-path)
5173 (python-shell-calculate-process-environment)
5174 (python-shell-completion--do-completion-at-point)
5175 (python-shell-completion--get-completions)
5176 (python-shell-completion-complete-at-point)
5177 (python-shell-completion-complete-or-indent)
5178 (python-shell-get-or-create-process)
5179 (python-shell-get-process-name)
5180 (python-shell-internal-get-or-create-process)
5181 (python-shell-internal-get-process-name)
5182 (python-shell-internal-send-string, python-shell-make-comint)
5183 (python-shell-parse-command, python-shell-send-setup-code)
5184 (python-skeleton-add-menu-items)
5185 (python-util-clone-local-variables, python-util-position)
5186 (run-python-internal, python-indentation-levels)
5187 (python-nav-beginning-of-defun)
5188 (python-completion-complete-at-point): New functions.
5189 (run-python): Change arguments. New API requirements.
5190
4302f5ba
SM
51912012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5192
f38ea36d
SM
5193 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5194 (bug#11649).
5195
5196 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5197 (macroexp--expand-all): Use it.
5198
4302f5ba
SM
5199 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5200 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5201 Use `cl-function' instead.
5202
33377562
JB
52032012-06-14 Juanma Barranquero <lekktu@gmail.com>
5204
5205 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5206 Suggested by Stefan Monnier while discussing bug#11657.
5207
54c5ba1a
SS
52082012-06-14 Sam Steingold <sds@gnu.org>
5209
5210 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5211
f9f1b1fe
AS
52122012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5213
5214 * play/doctor.el (doctor-doc): Remove parameter and use
5215 doctor-sent instead of sent.
5216 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5217
a81068ba
SM
52182012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5219
5a315f9c
SM
5220 * files.el: Require cl-lib.
5221 (file-name-non-special): Replace case -> cl-case.
5222
5223 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5224
a81068ba
SM
5225 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5226 mapping from #' to function*.
5227
8cca9703
CY
52282012-06-13 Chong Yidong <cyd@gnu.org>
5229
5230 * mouse.el (mouse-drag-track): Do not set the mark if the user
5231 releases the mouse without selecting anything (Bug#11588).
5232
a12ac9d7
SM
52332012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5234
ccf1dc18
SM
5235 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5236 as well (bug#11646).
5237
ef62b23d
SM
5238 * loadup.el: Count byte-code functions as well.
5239
c4c8444a
SM
5240 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5241 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5242
a12ac9d7
SM
5243 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5244 (bug#11649). Add cl-defun and cl-defmacro.
5245
87e6e64f
DA
52462012-06-13 Drew Adams <drew.adams@oracle.com>
5247
5248 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5249 Fix last change.
5250
682cefaf
MA
52512012-06-13 Michael Albinus <michael.albinus@gmx.de>
5252
5253 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5254 Otherwise, it blocks in batch mode.
5255
773e1f08
JB
52562012-06-13 Juanma Barranquero <lekktu@gmail.com>
5257
5258 * help-mode.el (bookmark-make-record-default): Declare.
5259
60057926
CY
52602012-06-13 Chong Yidong <cyd@gnu.org>
5261
5262 * emacs-lisp/package.el (list-packages): Compute a list of
5263 packages that are newly-available since the last list-packages
5264 invocation.
5265 (package-menu--new-package-list): New var.
5266 (package-menu--generate, package-menu--print-info)
5267 (package-menu--status-predicate, package-menu-mark-install):
5268 Handle new status label "new".
5269
ad4d226c
SM
52702012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5271
5272 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5273 conversion to backquotes.
5274
f1a4e679
CY
52752012-06-12 Chong Yidong <cyd@gnu.org>
5276
5277 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5278 Rename from gud-inhibit-global-bindings.
5279
5280 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5281
5282 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5283 hook from nxml-glyph-set-hook.
5284
5285 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5286 declaration.
5287
5288 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5289
5290 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5291 Convert to defcustom.
5292
0c9e42b5
DA
52932012-06-12 Drew Adams <drew.adams@oracle.com>
5294
5295 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5296 New functions.
5297 (help-mode): Use them.
5298
09e06855
GM
52992012-06-11 Glenn Morris <rgm@gnu.org>
5300
5301 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5302 Use preprocessor face for directives.
5303 (fortran-directive-re): Doc fix.
5304
71adb94b
SM
53052012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5306
2eb87922
SM
5307 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5308 conversion to backquotes (bug#11652).
5309
71adb94b
SM
5310 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5311 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5312 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5313 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5314 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5315 (cl-ninth, cl-tenth): Mark them as inlinable.
5316 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5317 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5318 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5319 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5320 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5321 (cl-list*, cl-adjoin): Don't put an autoload manually.
5322 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5323 (cl--compiler-macro-list*): Add autoload cookie.
5324 (cl--compiler-macro-cXXr): New function.
2eb87922 5325
71adb94b
SM
5326 * help-fns.el (help-fns--compiler-macro): New function extracted from
5327 describe-function-1; follow aliases and use `compiler-macro' property.
5328 (describe-function-1): Use it.
5329
a6674402
CY
53302012-06-11 Chong Yidong <cyd@gnu.org>
5331
5332 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5333 is uninstalled, if imagemagick is installed.
5334
bb3faf5b
SM
53352012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5336
5337 * emacs-lisp/cl-lib.el: Use lexical-binding.
5338 (cl-map-extents, cl-maclisp-member): Remove.
5339 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5340 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5341 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5342 * emacs-lisp/cl-extra.el: Use lexical-binding.
5343 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5344 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5345 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5346 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5347 * emacs-lisp/cl-seq.el: Use lexical-binding.
5348 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5349 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5350 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5351 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5352 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5353 CL's internals.
5354
2fe4b125
MA
53552012-06-11 Michael Albinus <michael.albinus@gmx.de>
5356
5357 Sync with Tramp 2.2.6-pre.
5358
5359 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5360 `print-length' and `print-level' to nil, in order to avoid
5361 truncation. Reported by Christopher Schmidt
5362 <christopher@ristopher.com>.
5363
5364 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5365
5366 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5367 New defmacro.
5368 (tramp-compat-copy-directory): Add optional argument
5369 COPY-CONTENTS. It is not handled yet.
5370
5371 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5372 (tramp-ftp-file-name-p): Simplify.
5373
5374 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5375 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5376 connection vector.
5377
5378 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5379 (tramp-methods): Do not use `tramp-password-end-of-line'.
5380 (tramp-completion-function-alist-putty): Handle UNIX case.
5381 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5382 (tramp-do-file-attributes-with-stat)
5383 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5384 gid as real numbers. They could run out of integer range on cygwin.
5385 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5386 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
5387 (tramp-open-connection-setup-interactive-shell):
5388 Use `tramp-cleanup'. Move check for busyboxes ...
5389 (tramp-find-shell): ... here. Simplify implementation.
5390 Set "remote-shell" property also for alternative shells.
5391 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5392 If failing, a regular file would be written otherwise.
5393 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
5394 (tramp-find-inline-encoding): Cache the coding commands in the
5395 process cache. Apply test command on the remote side, if defined.
5396 (tramp-find-inline-compress): Cache the compress commands in the
5397 process cache.
5398 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5399 when requested. Handle hops.
5400 (tramp-current-connection): New defvar.
87e6e64f
DA
5401 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5402 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 5403 Handle user interrupt. (Bug#10187)
87e6e64f
DA
5404 (tramp-get-inline-compress, tramp-get-inline-coding):
5405 Read connection properties from the process cache.
2fe4b125
MA
5406
5407 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
5408 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5409 New defconsts.
2fe4b125
MA
5410 (tramp-smb-prompt): Extend for powershell prompt.
5411 (tramp-smb-file-name-handler-alist): Add handlers for
5412 `process-file', `shell-command' and `start-file-process'.
5413 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5414 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5415 (tramp-smb-file-name-p): Simplify.
5416 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5417 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5418 (tramp-smb-shell-quote-argument): New defuns.
5419 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5420 Implement using "tar". By this, time-stamps are preserved.
5421 (tramp-smb-handle-copy-file): Handle also the case of directories.
5422 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
5423 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5424 Use `tramp-get-connection-buffer').
2fe4b125
MA
5425 (tramp-smb-handle-rename-file): Use "rename", when source and
5426 target are on the same share.
87e6e64f
DA
5427 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5428 Use `tramp-smb-server-version'.
2fe4b125
MA
5429 (tramp-smb-wait-for-output): Remove prompt.
5430
5431 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
5432 (tramp-methods, tramp-rsh-end-of-line):
5433 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
5434 (tramp-save-ad-hoc-proxies): New defcustom.
5435 (tramp-completion-function-alist): Adapt docstring.
5436 (tramp-default-password-end-of-line): Remove defcustom.
5437 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5438 (tramp-user-regexp, tramp-file-name-regexp-unified)
5439 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5440 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5441 (tramp-remote-file-name-spec-regexp): New defconst.
5442 (tramp-file-name-structure): Extend structure for hops.
5443 (tramp-get-method-parameter): Move up.
5444 (tramp-file-name-p, tramp-dissect-file-name)
5445 (with-parsed-tramp-file-name): Handle hops.
5446 (tramp-file-name-hop): New defun.
5447 (tramp-make-tramp-file-name): New optional arg HOP.
5448 (tramp-message-show-progress-reporter-message): New defvar.
5449 (tramp-with-progress-reporter): Use it. We cannot use
5450 `tramp-message-show-message' here, because this suppresses also
5451 error buffers.
5452 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
5453 `tramp-message-show-message' is nil.
5454 Use `tramp-get-connection-buffer'.
2fe4b125
MA
5455 (tramp-cleanup): New defun.
5456 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5457 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5458 an error unchanged.
5459 (tramp-completion-handle-file-name-all-completions): Handle hops.
5460 Fix an error when called from ido.
5461 (tramp-completion-dissect-file-name): Use better local variable
5462 name. Add hop to the vector.
5463 (tramp-handle-insert-file-contents): Use progress-reporter for the
5464 whole scenario.
5465 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5466 to `t'.
5467 (tramp-check-for-regexp): Simplify search.
5468 (tramp-enter-password): Remove it. Move implementation ...
5469 (tramp-action-password): ... here.
5470 (tramp-mode-string-to-int, tramp-local-host-p)
5471 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
5472 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5473 Set tramp-autoload cookie.
2fe4b125
MA
5474
5475 * net/trampver.el: Update release number.
5476
54772012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5478 Michael Albinus <michael.albinus@gmx.de>
5479
5480 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5481 (tramp-parse-group, tramp-parse-file)
5482 (tramp-parse-shostkeys-sknownhosts): New defuns.
5483 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5484 (tramp-parse-shosts-group, tramp-parse-sconfig)
5485 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5486 (tramp-parse-sknownhosts, tramp-parse-hosts)
5487 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5488 Use them.
5489 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5490 (tramp-parse-putty-group): Don't narrow.
5491 (tramp-parse-putty): Make a loop.
5492 (tramp-file-name-handler): Catch the `suppress' signal.
5493
72834e10
CY
54942012-06-11 Chong Yidong <cyd@gnu.org>
5495
5496 * image.el (imagemagick-register-types): Put the ImageMagick entry
5497 at the end of image-type-file-name-regexps.
5498
a4712e11
JB
54992012-06-11 Johan Bockgård <bojohan@gnu.org>
5500
5501 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5502 (pcase, pcase-let*, pcase-dolist): Use them.
5503
82ad98e3
SM
55042012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5505
5506 * emacs-lisp/pcase.el (pcase--let*): New function.
5507 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5508 (pcase--expand): Use macroexp-let².
5509
f80efb86
SM
55102012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5511
5512 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5513 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5514 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5515 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5516 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5517 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5518
31ca4639 55192012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 5520
31ca4639
CY
5521 * mail/rmail.el (rmail-yank-current-message): Leave point at
5522 correct position. (Bug#11660)
94f0aa34 5523
31ca4639 55242012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 5525
31ca4639 5526 * allout-widgets.el: Fix code header.
9e1b8ec4 5527
31ca4639 55282012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 5529
f80efb86
SM
5530 * cus-edit.el (customize-changed-options-previous-release):
5531 Bump to 24.1.
31ca4639 5532
642b6d30
AS
55332012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5534
5535 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5536
4f5d2ba1
CY
55372012-06-09 Chong Yidong <cyd@gnu.org>
5538
5539 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5540
e75852fd
MR
55412012-06-09 Martin Rudalics <rudalics@gmx.at>
5542
5543 * window.el (special-display-popup-frame): Don't use
5544 window--display-buffer (Bug#11651).
5545
1e48e282
EZ
55462012-06-09 Eli Zaretskii <eliz@gnu.org>
5547
8a26b487
EZ
5548 Fix parallel builds: make sure loaddefs.el is not being written
5549 while Lisp files are compiled.
5550 (compile): Don't depend on 'mh-autoloads'.
5551 (compile-CMD, compile-SH): Depend on 'autoloads'.
5552 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5553
1e48e282
EZ
5554 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5555
6175e34b
CY
55562012-06-09 Chong Yidong <cyd@gnu.org>
5557
5558 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5559 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5560 Doc fixes (Bug#11225).
5561
d9857e53
SM
55622012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5563
5564 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5565 a function if there's a clear indication that it has a compiler-macro.
5566 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5567 (macro-declarations-alist): Add arglist to declaration functions.
5568 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5569 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5570 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5571 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5572 Also add autoload to find the compiler macro.
5573 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5574 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5575 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5576 (cl--compiler-macro-get): New functions, replacing calls to
5577 cl-define-compiler-macro.
5578 (cl-typep) [compiler-macro]: Use macroexp-let².
5579
f81298f8 55802012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
5581
5582 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5583 string properly, fixes Bug#11473.
5584
4b56d0fe
CY
55852012-06-08 Chong Yidong <cyd@gnu.org>
5586
5587 * faces.el (set-face-attribute): Doc fix.
5588 (modify-face): Don't use :bold and :italic.
5589 (error, warning, success): Tweak definitions.
5590
5591 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5592 (custom-modified, custom-set, custom-changed, custom-themed)
5593 (custom-saved, custom-button, custom-button-mouse)
5594 (custom-button-pressed, custom-state, custom-comment-tag)
5595 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5596 (custom-group-subtitle): Use new-style face specs.
5597 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5598 (custom-set-face, custom-changed-face, custom-saved-face)
5599 (custom-button-face, custom-button-pressed-face)
5600 (custom-documentation-face, custom-state-face)
5601 (custom-comment-face, custom-comment-tag-face)
5602 (custom-variable-tag-face, custom-variable-button-face)
5603 (custom-face-tag-face, custom-group-tag-face-1)
5604 (custom-group-tag-face): Remove obsolete face alias.
5605
5606 * epa.el (epa-validity-high, epa-validity-medium)
5607 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5608 (epa-field-name, epa-field-body):
5609 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5610 (font-lock-keyword-face, font-lock-builtin-face)
5611 (font-lock-function-name-face, font-lock-variable-name-face)
5612 (font-lock-type-face, font-lock-constant-face):
5613 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5614 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5615 * speedbar.el (speedbar-button-face, speedbar-file-face)
5616 (speedbar-directory-face, speedbar-tag-face)
5617 (speedbar-selected-face, speedbar-highlight-face)
5618 (speedbar-separator-face):
5619 * whitespace.el (whitespace-newline, whitespace-space)
5620 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5621 (whitespace-line, whitespace-space-before-tab)
5622 (whitespace-space-after-tab, whitespace-indentation)
5623 (whitespace-empty):
5624 * emulation/cua-base.el (cua-global-mark):
5625 * eshell/em-prompt.el (eshell-prompt):
5626 * net/newst-plainview.el (newsticker-new-item-face)
5627 (newsticker-old-item-face, newsticker-immortal-item-face)
5628 (newsticker-obsolete-item-face, newsticker-date-face)
5629 (newsticker-statistics-face, newsticker-default-face):
5630 * net/newst-reader.el (newsticker-feed-face)
5631 (newsticker-extra-face, newsticker-enclosure-face):
5632 * net/newst-treeview.el (newsticker-treeview-face)
5633 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5634 (newsticker-treeview-immortal-face)
5635 (newsticker-treeview-obsolete-face)
5636 (newsticker-treeview-selection-face):
5637 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5638 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5639 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5640 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5641 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5642 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5643 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5644 (mpuz-text):
5645 * progmodes/vera-mode.el (vera-font-lock-number)
5646 (vera-font-lock-function, vera-font-lock-interface):
5647 * textmodes/table.el (table-cell): Use new-style face specs, and
5648 don't use the old :bold and :italic attributes.
5649
5650 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5651 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5652 (ebrowse-member-class, ebrowse-progress): Likewise.
5653 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5654 (ebrowse-file-name-face, ebrowse-default-face)
5655 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5656 (ebrowse-progress-face): Remove obsolete faces.
5657
5658 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5659 Inherit from error and warning faces respectively.
5660
5661 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5662 Likewise.
f80efb86
SM
5663 (flyspell-incorrect-face, flyspell-duplicate-face):
5664 Remove obsolete aliases.
4b56d0fe 5665
03310646
MA
56662012-06-08 Michael Albinus <michael.albinus@gmx.de>
5667
5668 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5669 Avoid infloop.
5670
513749ee
SM
56712012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5672
5673 * startup.el (argv, argi): Make lexically scoped.
5674 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5675 * emacs-lisp/cl-macs.el: Use lexical-binding.
5676 Rename cl-bind-* to cl--bind-*.
5677 * files.el: Don't require `cl' since it doesn't use it.
5678 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5679
595ef4ad
JB
56802012-06-08 Juanma Barranquero <lekktu@gmail.com>
5681
5682 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5683 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5684 instead of calling external sort utility.
5685 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5686
e9f66fcb
EZ
56872012-06-08 Eli Zaretskii <eliz@gnu.org>
5688
5689 * descr-text.el (describe-char): Mention how to insert the
5690 character, if the current input method doesn't support it.
5691 See the discussion in this thread for the details:
5692 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5693
3d10db47
SS
56942012-06-08 Sam Steingold <sds@gnu.org>
5695
5696 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5697 XF86Back to previous-buffer.
5698 (minibuffer-local-map): Bind them to next-history-element and
5699 previous-history-element respectively.
5700 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5701 help-go-back respectively.
5702 * info.el (Info-mode-map): Bind them to Info-history-forward and
5703 Info-history-back respectively.
5704 These are the keys next to Up on the ThinkPad keyboard.
5705
de7e2b36
SM
57062012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5707
5708 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5709 * emacs-lisp/cl-macs.el: Provide itself.
5710 (cl--labels-convert-cache): New var.
5711 (cl--labels-convert): New function.
5712 (cl-flet, cl-labels): New implementation with new semantics, relying on
5713 lexical-binding.
5714 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5715 (cl-closure-vars, cl--function-convert-cache)
5716 (cl--function-convert): Move from cl-macs.el.
5717 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5718 rename by removing the "cl-" prefix.
5719 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5720
6fa6c4ae
SM
57212012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5722
5723 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5724 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5725 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5726 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5727 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5728 (cl-hash-table-count): Add old compatibility aliases.
5729
5730 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5731 Use macroexpand-all-environment instead.
5732 (cl--old-macroexpand): New var.
5733 (cl--sm-macroexpand): New function.
5734 (cl-symbol-macrolet): Use it during macro expansion.
5735 (cl--function-convert-cache): New var.
5736 (cl--function-convert): New function, extracted from
5737 cl-macroexpand-all.
5738 (cl-lexical-let): Use it.
5739
5740 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5741 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5742 (cl-member): Remove old alias.
5743
5744 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5745 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5746 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5747 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5748 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5749 (cl-macroexpand-cmacs): Remove var.
5750 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5751 Use macroexpand-all instead.
5752
4dd1c416
SM
57532012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5754
5755 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5756 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5757 (macroexp-copyable-p): New functions and macros.
5758 * emacs-lisp/edebug.el (edebug-unwrap):
5759 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5760 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5761 (pcase--let*): Remove.
5762 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5763 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5764 macroexp-const-p instead.
5765 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5766
5767 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5768 instead of "cl-" for internal definitions. Use macroexp-const-p.
5769 (cl-old-bc-file-form): Remove var.
5770 (cl-const-exprs-p): Remove fun.
5771 (cl-labels, cl-macrolet): Use backquote.
5772 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5773 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5774 (cl-define-setf-expander): Rename from cl-define-setf-method.
5775 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5776
5777 * international/mule-cmds.el: Don't require CL.
5778 (view-hello-file): Don't use `letf'.
5779
ed8bd4d7
SM
57802012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5781
7287f2f3
SM
5782 * tmm.el (tmm-prompt): Use string-prefix-p.
5783 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5784 (tmm-add-prompt): Use minibuffer-completion-help.
5785 (tmm-delete-map): Remove.
5786
ed8bd4d7
SM
5787 * subr.el (kbd): Make it its own function.
5788
7b4cdbf4
SM
57892012-06-07 Stefan Merten <smerten@oekonux.de>
5790
5791 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5792 Silence compiler warnings. Fix versions.
ed8bd4d7 5793 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 5794 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 5795 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
5796 (rst-package-emacs-version-alist): Correct Emacs version to
5797 represent major merge with upstream.
ed8bd4d7 5798 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 5799
2b48d721
GM
58002012-06-06 Glenn Morris <rgm@gnu.org>
5801
5802 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5803 Only print environment variables if set.
5804
fa779ab0
SM
58052012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5806
5807 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5808 (macroexp--cons): Rename from maybe-cons.
5809 (macroexp--accumulate): Rename from macroexp-accumulate.
5810 (macroexp--all-forms): Rename from macroexpand-all-forms.
5811 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5812 (macroexp--expand-all): Rename from macroexpand-all-1.
5813
628299e0
SS
58142012-06-06 Sam Steingold <sds@gnu.org>
5815
5816 * calendar/calendar.el (calendar-in-read-only-buffer):
5817 Call `special-mode' to enable the standard read-only keybindings.
5818
b7bb5838
SM
58192012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5820
5821 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5822 with "loading" messages (bug#11635).
5823
dfb308ba
MA
58242012-06-06 Michael Albinus <michael.albinus@gmx.de>
5825
5826 * files.el (enable-remote-dir-locals): New option.
5827 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5828
0372ee92
MA
5829 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5830 Ensure, that the temp directory is local.
5831
5832 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5833 `temporary-file-directory'.
5834
eed0bb91
MA
5835 * progmodes/python.el (python-send-region): Ensure, that the
5836 temporary file is created also in the remote case.
5837
7a58f64d
GM
58382012-06-06 Glenn Morris <rgm@gnu.org>
5839
f7dd4e98
GM
5840 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5841 (vc-rcs-update-changelog): Use it.
5842
090bd7cb 5843 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 5844
7a58f64d
GM
5845 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5846 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5847 (vc-sccs-diff): Replace use of the external vcdiff script.
5848
daed4003
GM
58492012-06-05 Glenn Morris <rgm@gnu.org>
5850
5851 * ledit.el: Move to obsolete/.
5852
48c455c7
SS
58532012-06-05 Sam Steingold <sds@gnu.org>
5854
ed9265fc 5855 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
5856 patch (Bug#11140).
5857
57a7d507
SM
58582012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5859
090bd7cb 5860 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 5861
53aacf21
SM
5862 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5863 compiler-macro expansion.
5864
57a7d507
SM
5865 Add native compiler-macro support.
5866 * emacs-lisp/macroexp.el (macroexpand-all-1):
5867 Support compiler-macros directly. Properly follow aliases and apply
5868 the compiler macros more thoroughly.
5869 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5870 macroexpand now properly follows aliases.
5871 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5872 (cl-compiler-macroexpand): Use new prop.
5873 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5874
5875 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5876
51a5f9d8
MR
58772012-06-05 Martin Rudalics <rudalics@gmx.at>
5878
5879 * window.el (get-lru-window, get-mru-window, get-largest-window):
5880 New argument NOT-SELECTED to avoid picking the selected window.
5881 (window--display-buffer-1, window--display-buffer-2): Replace by
5882 new function window--display-buffer
5883 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
5884 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5885 Use window--display-buffer.
51a5f9d8
MR
5886 (display-buffer-use-some-window): Remove temporary dedication
5887 hack by calling get-lru-window and get-largest-window with
5888 NOT-SELECTED argument non-nil. Call window--display-buffer.
5889
08f9f738
GM
58902012-06-05 Glenn Morris <rgm@gnu.org>
5891
5892 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5893 Replace external vcdiff script.
5894
e364a2b7
SM
58952012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5896
5897 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5898
041df390
CY
58992012-06-04 Chong Yidong <cyd@gnu.org>
5900
e364a2b7
SM
5901 * image.el (imagemagick-types-inhibit): Revert last change.
5902 Add INFO and M.
47b36b94 5903 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 5904
7c1898a7
SM
59052012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5906
5907 * emacs-lisp/cl-lib.el: Rename from cl.el.
5908 * emacs-lisp/cl.el: New compatibility file.
5909 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5910 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5911 to obey the "cl-" prefix.
5912 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5913
0c3461de
GM
59142012-06-03 Glenn Morris <rgm@gnu.org>
5915
1e266c88
GM
5916 * emacs-lisp/authors.el (authors-aliases): Addition.
5917
0c3461de
GM
5918 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5919 Fix :version.
5920
d8a52e15
SM
59212012-06-03 Stefan Merten <smerten@oekonux.de>
5922
5923 * textmodes/rst.el: Add comments.
5924 (rst-transition, rst-adornment): New faces.
5925 (rst-adornment-faces-alist): Make default safe to reevaluate.
5926 Fixes
5927 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5928 Improve customization tags.
5929 (rst-define-level-faces): Clarify meaning.
5930
5205d6f6
CY
59312012-06-03 Chong Yidong <cyd@gnu.org>
5932
5933 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
5934 (compilation-mode-line-run, compilation-mode-line-exit):
5935 New faces.
5205d6f6
CY
5936 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5937
757ee657
JD
59382012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
5939
7c1898a7
SM
5940 * progmodes/which-func.el (which-func-update-ediff-windows):
5941 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 5942
5f2c76c6
CY
59432012-06-03 Chong Yidong <cyd@gnu.org>
5944
5945 * bindings.el: Remove explicit help text from format-mode-line.
5946 It is now supplied by mode-line-default-help-echo.
5947 (mode-line-front-space, mode-line-end-spaces)
5948 (mode-line-misc-info): New variables.
5949 (mode-line-modes, mode-line-position): Move the default value to
5950 the variable definition.
5951 (mode-line-default-help-echo): New defcustom.
383f7350
CY
5952 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5953 (mode-line-modified-help-echo): New functions.
5954 (mode-line-mule-info, mode-line-modified): Use them.
5955 (mode-line-eol-desc, propertized-buffer-identification):
5956 Consistency fixes for help text.
cbe46e5f
CY
5957 (mode-line-coding-system-map): Allow using mouse-3 to invoke
5958 set-buffer-file-coding-system (Bug#289).
5959 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 5960
f2d6a3df
SM
59612012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5962
5963 * simple.el (execute-extended-command): Set real-this-command
5964 (bug#11506).
5965
37269466
CY
59662012-06-02 Chong Yidong <cyd@gnu.org>
5967
5968 Remove incorrect uses of "modeline" in comments, docstrings, and
5969 function/variable names (Bug#10329).
5970
5971 * cus-edit.el (mode-line):
5972 * dframe.el (dframe-mouse-hscroll):
5973 * emacs-lisp/re-builder.el:
5974 * emacs-lisp/easy-mmode.el (define-minor-mode):
5975 * frame.el (set-frame-name):
5976 * help.el (lookup-minor-mode-from-indicator):
5977 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5978 * progmodes/cc-cmds.el (c-toggle-auto-newline)
5979 (c-toggle-hungry-state):
5980 * progmodes/antlr-mode.el (antlr-language-alist):
5981 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5982 * progmodes/vhdl-mode.el (vhdl-mode):
5983 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5984 * term/ns-win.el (ns-face-at-pos):
5985 * term/sup-mouse.el (sup-mouse-report):
5986 * textmodes/flyspell.el (flyspell-mode-line-string):
5987 * textmodes/ispell.el (ispell-highlight-face):
5988 * textmodes/reftex-global.el:
5989 * vc/vc-arch.el (vc-arch-mode-line-string):
5990 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5991 * vc/vc-git.el (vc-git-mode-line-string):
5992 * vc/vc-hooks.el (vc-display-status)
5993 (vc-default-mode-line-string):
5994 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5995
5996 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5997
5998 * dired.el (dired-sort-set-mode-line): Rename from
5999 dired-sort-set-modeline. All callers changed.
6000
6001 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6002 eshell-status-in-modeline.
6003
6004 * foldout.el (foldout-mode-line-string): Rename from
6005 foldout-modeline-string. All callers changed.
6006 (foldout-update-mode-line): Rename from foldout-update-modeline.
6007
6008 * subr.el (redraw-modeline): Make into obsolete alias.
6009
6010 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6011 timeclock-modeline-display. Make old name an alias.
6012 (timeclock-update-mode-line): Likewise. All callers changed.
6013 (timeclock-mode-line-display): No need to check before using
6014 add-hook.
6015 (timeclock-relative, timeclock-day-over-hook)
6016 (timeclock-use-elapsed, timeclock-mode-string)
6017 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6018
6019 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6020 crisp-mode-modeline-string.
6021
6022 * play/solitaire.el (solitaire-build-mode-line): Rename from
6023 solitaire-build-modeline. All callers changed.
6024
6025 * play/zone.el (zone-hiding-mode-line): Rename from
6026 zone-hiding-modeline. All callers changed.
6027 (zone): Remove unusued `modeline-hidden-level' property.
6028
6029 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6030 xscheme-modeline-initialize. All callers changed.
6031
6032 * strokes.el (strokes-lighter): Rename from
6033 strokes-modeline-string.
6034
6035 * textmodes/sgml-mode.el (html-face-tag-alist)
6036 (html-tag-face-alist): Use mode-line face instead of obsolete
6037 alias modeline.
6038
42152ee4
SM
60392012-06-02 Stefan Merten <smerten@oekonux.de>
6040
6041 * textmodes/rst.el: Always require `cl'.
4cf9b38d 6042 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 6043
95f520b5
CY
60442012-06-02 Chong Yidong <cyd@gnu.org>
6045
6046 * image.el (imagemagick-enabled-types): Rename from
6047 imagemagick-types-enable. Add many more types.
6048 (imagemagick-types-inhibit): Change default to nil.
6049 (imagemagick-filter-types): Caller changed.
6050
4a5f187a
SM
60512012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6052
03fef3e6
SM
6053 * emacs-lisp/cl-macs.el: Use backquotes.
6054 (cl-transform-function-property): Use eval-and-compile rather than
6055 abusing `require'.
6056 (defstruct): Use declare-function instead of with-no-warnings.
6057
4a5f187a
SM
6058 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6059 (byte-compile-output-docform): Re-add the print-circle bindings.
6060 (byte-compile-fix-header): Use #$ just because it's shorter.
6061 (byte-compile-output-file-form): Remove defun/defmacro.
6062
bd56924f
MR
60632012-06-01 Martin Rudalics <rudalics@gmx.at>
6064
6065 * simple.el (choose-completion): Remove now obsolete binding for
6066 owindow.
6067
046e38ce
MA
60682012-06-01 Michael Albinus <michael.albinus@gmx.de>
6069
6070 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6071 in order to avoid "Stack overflow in regexp matcher".
6072
32d72c2f
GM
60732012-05-31 Glenn Morris <rgm@gnu.org>
6074
6075 * image.el: For clarity, call imagemagick-register-types at
6076 top-level, rather than relying on a custom :initialize.
6077 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
6078 (imagemagick-filter-types): New function. (Bug#7406)
6079 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
6080 If disabling support, remove elements altogether rather
6081 than using an impossible regexp.
6082 (imagemagick-types-inhibit): Give it the default init function.
6083
dd41169b
SM
60842012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6085
4a5f187a
SM
6086 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6087 Handle arbitrary file name lengths (Bug#11585).
dd41169b 6088
efc00ab1 60892012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
6090
6091 * desktop.el (desktop-read): Clear previous and next buffers for
6092 all windows and bury *Messages* buffer (bug#11556).
6093
500fcedc
SM
60942012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6095
6096 Add `declare' for `defun'. Align `defmacro's with it.
6097 * emacs-lisp/easy-mmode.el (define-minor-mode)
6098 (define-globalized-minor-mode): Don't autoload the var definitions.
6099 * emacs-lisp/byte-run.el: Use lexical-binding.
6100 (defun-declarations-alist, macro-declarations-alist): New vars.
6101 (defmacro, defun): Use them.
6102 (make-obsolete, define-obsolete-function-alias)
6103 (make-obsolete-variable, define-obsolete-variable-alias):
6104 Use `declare'.
6105 (macro-declaration-function): Mark obsolete.
6106 * emacs-lisp/autoload.el: Use lexical-binding.
6107 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6108
6e8a1786
AM
61092012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6110
6111 * textmodes/ispell.el (ispell-with-no-warnings):
6112 Define as a macro.
500fcedc
SM
6113 (ispell-kill-ispell, ispell-change-dictionary):
6114 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
6115 `interactive-p'.
6116
61b108cc
SM
61172012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6118
6119 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6120 (macro-declaration-function): Move var from C code.
6121 (macro-declaration-function): Define function with defalias.
6122 * emacs-lisp/macroexp.el (macroexpand-all-1):
6123 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6124 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6125 defun/defmacro any more.
6126 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6127 Provide fallback for unknown arglist.
6128 (byte-compile-arglist-warn): Change calling convention.
6129 (byte-compile-output-file-form): Move print-vars binding.
6130 (byte-compile-output-docform): Simplify accordingly.
6131 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6132 (byte-compile-defmacro-declaration): Remove.
6133 (byte-compile-file-form-defmumble): Generalize to defalias.
6134 (byte-compile-output-as-comment): Return byte-positions.
6135 Simplify callers accordingly.
6136 (byte-compile-lambda): Use `assert'.
6137 (byte-compile-defun, byte-compile-defmacro): Remove.
6138 (byte-compile-file-form-defalias):
6139 Use byte-compile-file-form-defmumble.
6140 (byte-compile-defalias-warn): Remove.
6141
6d3f7c2f
SM
61422012-05-29 Stefan Merten <smerten@oekonux.de>
6143
6144 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 6145 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
6146
6147 (rst-mode-abbrev-table): Merge definition.
6148 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6149 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6150
6dbaa1c7
UJ
61512012-05-29 Ulf Jasper <ulf.jasper@web.de>
6152
6153 * calendar/icalendar.el
6154 (icalendar-export-region): Export UID properly.
6155
d209e2fb 61562012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
6157 * calendar/icalendar.el (icalendar-import-format):
6158 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
6159 (icalendar-import-format-uid): New.
6160 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6161 Export UID.
6162
6876a58d
SM
61632012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6164
6165 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6166 different alternative patterns.
6167 (pcase-codegen): Be more careful to preserve identity.
6168 (pcase--u1): Don't forget to mark vars as used.
6169
6170 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6171 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6172 (byte-compile-from-buffer): ...rather than here.
6173
6174 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6175 functions from byte-compile-function-environment.
6176
46b7967e
TN
61772012-05-29 Troels Nielsen <bn.troels@gmail.com>
6178
6179 * window.el (window-deletable-p): Avoid deleting the root window
6180 of a frame with an active minibuffer.
6181
69d565e2
MR
61822012-05-29 Martin Rudalics <rudalics@gmx.at>
6183
6184 * simple.el (choose-completion): Use quit-window (Bug#11567).
6185
a149fa51
CY
61862012-05-29 Chong Yidong <cyd@gnu.org>
6187
6188 * whitespace.el (whitespace-cleanup): Fix usage of
6189 whitespace-empty-at-bob-regexp (Bug#11492).
6190
2b311310
AH
61912012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6192
6193 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6194 revert (Bug#11488).
6195
b9cb2387
JL
61962012-05-29 Juri Linkov <juri@jurta.org>
6197
6198 * isearch.el (isearch-mode-map): Bind `M-s _' to
6199 `isearch-toggle-symbol'. Bind `M-s c' to
6200 `isearch-toggle-case-fold'.
6201 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6202 (isearch-forward): Add `M-s _' to the docstring.
6203 (isearch-forward-symbol, isearch-toggle-case-fold)
6204 (isearch-symbol-regexp): New functions. (Bug#11381)
6205
d5e61c1c
JL
62062012-05-29 Juri Linkov <juri@jurta.org>
6207
6208 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6209 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6210 a function, call it to get the regexp.
6211 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6212 property `isearch-message-prefix' instead of the string "word ".
6213 (isearch-search-fun-default): For the case of `isearch-word',
6214 return a lambda that calls re-search-forward/re-search-backward
6215 with a regexp returned by `word-search-regexp' or by the function
6216 in `isearch-word'.
6217
8cbd80f7
JL
62182012-05-29 Juri Linkov <juri@jurta.org>
6219
6220 * isearch.el (isearch-search-fun-default): New function.
6221 (isearch-search-fun): Move default part to the new function
6222 `isearch-search-fun-default'.
6223 (isearch-search-fun-function): Set the default value to
6224 `isearch-search-fun-default'. (Bug#11381)
6225
6226 * comint.el (comint-history-isearch-end):
6227 Use `isearch-search-fun-default'.
6228 (comint-history-isearch-search): Use `isearch-search-fun-default'
6229 and remove spacial case for `isearch-word'.
6230 (comint-history-isearch-wrap): Remove spacial case for
6231 `isearch-word'.
6232
6233 * hexl.el (hexl-isearch-search-function):
6234 Use `isearch-search-fun-default'.
6235
6236 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6237 Use `word-search-regexp' for `isearch-word'.
6238
6239 * misearch.el (multi-isearch-search-fun):
6240 Use `isearch-search-fun-default'.
6241
6242 * simple.el (minibuffer-history-isearch-search):
6243 Use `isearch-search-fun-default' and remove spacial case for
6244 `isearch-word'.
6245 (minibuffer-history-isearch-wrap): Remove spacial case for
6246 `isearch-word'.
6247
6248 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6249 Remove spacial case for `isearch-word'.
6250 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6251
85c8c5b6
AM
62522012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6253
6254 Decrease XEmacs incompatibilities.
6255 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6256 Use `string-match'.
6257 (flyspell-delete-region-overlays): Use alternative definition for
6258 XEmacs.
6259 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6260 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6261 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6262 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6263 `define-obsolete-face-alias' under XEmacs, but old method.
6264
6265 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6266 `with-no-warnings' definition or Emacs alias.
6267 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6268 (ispell-word): Do not use `region-p' if XEmacs.
6269
8cab9efc
AM
62702012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6271
6272 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6273 Check for `ispell-dictionary-base-alist' instead of full
6274 `ispell-dictionary-alist'.
6275 (ispell-init-process): Show spellchecker when starting new Ispell
6276 process.
6277
fda91268
RZ
62782012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6279
6280 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6281 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6282
694ea8e3
JB
62832012-05-27 Juanma Barranquero <lekktu@gmail.com>
6284
6285 * version.el (motif-version-string, gtk-version-string)
6286 (ns-version-string): Declare.
6287
e4d4f539
JL
62882012-05-27 Juri Linkov <juri@jurta.org>
6289
6290 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6291 after the `eval-defun-1' specialcaseing
6292 like in `edebug-eval-defun' (bug#10181).
6293
6294 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6295 like in `eval-defun-1'.
6296
33017faf 62972012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 6298
fda91268
RZ
6299 * mail/sendmail.el (mail-yank-region):
6300 Recognize rmail-yank-current-message in addition to insert-buffer.
6301 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
6302 a *mail* buffer created through rmail-start-mail with sendmail as
6303 mail-user-agent.
6304
33017faf
GM
63052012-05-27 Chong Yidong <cyd@gnu.org>
6306
6307 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6308 Default to 256 (Bug#11267).
6309
6310 * help.el (describe-mode): Doc fix.
6311
04188bb9
GM
63122012-05-26 Glenn Morris <rgm@gnu.org>
6313
38264cc9
GM
6314 * w32-fns.el (w32-init-info): Remove.
6315 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6316
eb7afdad
GM
6317 * info.el (info-initialize): For self-contained NS builds, put the
6318 included info/ directory at the front. (Bug#2791)
6319
04188bb9
GM
6320 * paths.el (Info-default-directory-list): Make it a defcustom,
6321 mainly so that we can use custom-initialize-delay.
6322
a179e3f7
SM
63232012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6324
43416392
SM
6325 * subr.el (buffer-has-markers-at): Mark obsolete.
6326
a179e3f7 6327 * subr.el (lambda): Use declare.
43416392 6328
a179e3f7
SM
6329 * emacs-lisp/lisp-mode.el (lambda):
6330 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6331
34a008d9
AH
63322012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6333
6334 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6335
0a3b289f
GM
63362012-05-26 Glenn Morris <rgm@gnu.org>
6337
6338 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6339
758c81e8
GM
63402012-05-25 Glenn Morris <rgm@gnu.org>
6341
f9f334f0
GM
6342 * paths.el: Remove no-byte-compile.
6343 * loadup.el: No need to load paths.el uncompiled.
6344
87eb79c2
GM
6345 * image.el (imagemagick-types-inhibit): Doc fix.
6346
758c81e8
GM
6347 * version.el: Remove no-byte-compile and associated formatting.
6348 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6349 is ancient code from when there was an "inc-vers.el".
6350
e7e85dc0
SM
63512012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6352
6353 * progmodes/gdb-mi.el: Minor style changes.
6354 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6355 Turn into minor modes.
6356 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6357 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6358 (gdb-shell): Remove unneeded let-binding.
6359 (gdb-get-many-fields): Eliminate O(n²) behavior.
6360
f31237a4
EZ
63612012-05-25 Eli Zaretskii <eliz@gnu.org>
6362
6363 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6364 platforms that don't link in fontset.c.
6365
bc1b21bb
JL
63662012-05-25 Juri Linkov <juri@jurta.org>
6367
6368 Use the same diff color scheme as in modern VCSes (bug#10181).
6369
6370 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6371 to avoid confusion with `diff-added' that now uses green colors.
6372 (diff-removed): Use shades of red.
6373 (diff-added): Use shades of green.
6374 (diff-changed): Leave just the yellow color.
6375 (diff-use-changed-face): New variable.
6376 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6377 how to highlight context diff changes.
6378 (diff-refine-change): Use shades of yellow.
6379 (diff-refine-removed): New face that uses shades of red.
6380 (diff-refine-added): New face that uses shades of green.
6381 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6382 `diff-refine-removed' in the call to `smerge-refine-subst'
6383 depending on the value of `diff-use-changed-face'.
6384
6385 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6386 (smerge-other): Use shades of green.
6387 (smerge-base): Use shades of yellow.
6388 (smerge-refined-change): Empty face.
6389 (smerge-refined-removed): New face that uses shades of red.
6390 (smerge-refined-added): New face that uses shades of green.
6391 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6392 args `props-r' and `props-a', and use them. Doc fix.
6393 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6394 on its value use different faces `smerge-refined-change',
6395 `smerge-refined-removed', `smerge-refined-added' in the call to
6396 `smerge-refine-subst'.
6397
6398 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6399 Add face condition `min-colors 88' with shades of red.
6400 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6401 `min-colors 88' with shades of green.
6402 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6403 `min-colors 88' with shades of yellow.
6404
6df9112c
GM
64052012-05-24 Glenn Morris <rgm@gnu.org>
6406
ead5edc0
GM
6407 * paths.el (prune-directory-list, remote-shell-program): Move to...
6408 * files.el (prune-directory-list, remote-shell-program): ...here.
6409 For the latter, delay initialization, prefer ssh, just search PATH.
6410
f18b81e6
GM
6411 * paths.el (term-file-prefix): Move to faces.el (the only user).
6412 * faces.el (term-file-prefix): Move here, make it a defcustom.
6413
ee2f89a6
GM
6414 * paths.el (news-directory, news-path, news-inews-program):
6415 Move to gnus/nnspool.el.
61a583ca 6416
f8815e4c
GM
6417 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6418
c8f3b42c
GM
6419 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6420 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6421 Make the latter a defcustom, with a delayed initialization.
6422
6df9112c
GM
6423 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6424 These were deleted from Gnus itself late 2010.
6425
5dadff36
JB
64262012-05-22 Juanma Barranquero <lekktu@gmail.com>
6427
9e1701c6
JB
6428 * progmodes/which-func.el (which-func-ff-hook):
6429 Check against user-error, not error.
6430
bd7239f5 6431 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
6432 cl-specs.el, which no longer exists.
6433
3290526d
GM
64342012-05-22 Glenn Morris <rgm@gnu.org>
6435
6436 * info.el (info-emacs-bug): New command.
6437 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6438 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6439
ff0c3cfb
GM
64402012-05-21 Glenn Morris <rgm@gnu.org>
6441
6442 * makefile.w32-in (update-subdirs-SH):
6443 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6444
5814f126
SM
64452012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6446
a52c0aa0
SM
6447 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6448
5814f126
SM
6449 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6450 Simplify Maven regexp, and make sure the file can't start with a space
6451 (bug#11517).
6452
b847032c
GM
64532012-05-21 Glenn Morris <rgm@gnu.org>
6454
6455 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6456 Scrap superfluous subshells.
6457
3858bfe7
SM
64582012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6459
6460 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6461 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6462
d14b0029
JB
64632012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6464
6465 * calc/calc.el (calc-ensure-consistent-units): New variable.
6466
a52c0aa0
SM
6467 * calc/calc-units.el (math-consistent-units-p)
6468 (math-check-unit-consistency): New functions.
6469 (calc-quick-units, calc-convert-units):
6470 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6471 is non-nil.
d14b0029
JB
6472 (calc-extract-units): Fix typo.
6473
60c4db3a
SM
64742012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6475
77f3b62e
SM
6476 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6477
60c4db3a
SM
6478 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6479 (flyspell-default-deplacement-commands): Don't spell check after
6480 repeated window/frame switches (e.g. triggered by mouse-movement).
6481 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6482 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6483 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6484 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6485 Remove unused vars.
6486 (flyspell-get-casechars, flyspell-get-not-casechars):
6487 Simplify; Don't bother removing a ] just to add it back.
6488 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6489
d209e2fb 64902012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
6491
6492 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6493 New functions.
bd7239f5 6494 (math-function-table): Add support for more C functions.
b1a10716 6495
3f1b25b5
AM
64962012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6497
090bd7cb
JB
6498 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6499 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6500 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 6501
b581bb5c
SM
65022012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6503
6504 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6505 their respective macro declarations.
6506 * skeleton.el (define-skeleton):
6507 * progmodes/compile.el (define-compilation-mode):
6508 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6509 (define-ibuffer-filter):
6510 * emacs-lisp/generic.el (define-generic-mode):
6511 * emacs-lisp/easy-mmode.el (define-minor-mode)
6512 (define-globalized-minor-mode):
6513 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6514 * emacs-lisp/byte-run.el (defsubst):
6515 * custom.el (deftheme): Add doc-string metadata.
6516
70b8ef8f
SM
65172012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6518
6519 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6520
b1198e17
SM
65212012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6522
9abdc45d
SM
6523 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6524
b1198e17
SM
6525 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6526 * emacs-lisp/cl-macs.el: Idem.
6527 * emacs-lisp/cl-specs.el: Remove.
6528
4735906a
SM
65292012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6530
6531 Minor renaming of internal CL functions and variables.
6532 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6533 (cl--position): Rename from cl-position.
6534 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6535 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6536 (cl--random-state): Rename from *random-state*.
6537
ac348012
SM
65382012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6539
6540 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6541 parens around the arg list (bug#11499).
6542
a0a79cde
JL
65432012-05-17 Juri Linkov <juri@jurta.org>
6544
6545 * isearch.el (word-search-regexp, word-search-backward)
6546 (word-search-forward, word-search-backward-lax)
6547 (word-search-forward-lax): Move functions from search.c
6548 (bug#10145, bug#11381).
6549
65034a51
AM
65502012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6551
090bd7cb
JB
6552 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6553 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6554 Delay for otherchars as for normal word components.
65034a51 6555
1a72a195
SM
65562012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6557
6558 * minibuffer.el (completion--sifn-requote): Fix last change.
6559 (minibuffer-local-must-match-filename-map):
6560 Move define-obsolete-variable-alias before its var.
6561
fdb058c2
SM
65622012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6563
c41045e6
SM
6564 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6565
036dfb8b
SM
6566 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6567 behavior.
6568 (completion--string-equal-p): New function.
6569 (completion--twq-all): Use it to get better assertion failure data.
6570
2473256d
SM
6571 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6572 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6573 (shell--requote-argument): New functions.
6574 (shell-completion-vars): Use them.
6575 (shell--parse-pcomplete-arguments): Rename from
6576 shell-parse-pcomplete-arguments.
6577 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6578 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6579 Obey comint-file-name-quote-list.
6580
fdb058c2
SM
6581 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6582 (smie-indent-keyword): Use it.
6583
51fa99f1
SM
65842012-05-14 Stefan Merten <smerten@oekonux.de>
6585
6586 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6587
e18afed7 65882012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
6589
6590 * net/rlogin.el (rlogin-mode-map): Fix last change.
6591
e18afed7 65922012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
6593
6594 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6595 the following \r\n using a single `process-send-string', since the
6596 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 6597 with two `process-send-string's (Bug#11444).
8633b1f4 6598
e18afed7 65992012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 6600
fdb058c2
SM
6601 * shell.el (shell-parse-pcomplete-arguments):
6602 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 6603
2d21d7f6
WJ
66042012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6605
e18afed7 6606 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
6607 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6608 (image-transform-width, image-transform-fit-width): New functions.
6609 (image-transform-properties): Use them.
6610 (image-transform-check-size): New function.
6611 (image-toggle-display-image): Use it (for testing).
6612 (image-transform-set-rotation): Reduce angle mod 360.
6613 Delete obsolete comment.
6614
7102e6d0
WJ
66152012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6616
6617 * image-mode.el: Fix scaling (bug#11399).
6618 (image-transform-resize): Doc fix.
6619 (image-transform-properties): Default scale is 1 and height should
6620 be an integer.
6621
06bc5e6e
SM
66222012-05-13 Johan Bockgård <bojohan@gnu.org>
6623
6624 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6625 than hard-coding `car', to fix misbehavior when moving forward.
6626
0ae03b6a
CY
66272012-05-13 Chong Yidong <cyd@gnu.org>
6628
6629 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6630 (tabulated-list-entries, tabulated-list-padding)
6631 (tabulated-list-sort-key): Make permanent-local.
6632
6633 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6634 (electric-buffer-list): Put electric buffer menu
6635 command descriptions in this docstring, instead of the docstring
6636 of electric-buffer-menu-mode. Code cleanups.
6637 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6638 Electric-buffer-menu-mode.
6639 (electric-buffer-update-highlight): Minor code cleanup.
6640
205a7391
MA
66412012-05-13 Michael Albinus <michael.albinus@gmx.de>
6642
6643 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6644 (Bug#11447)
6645
e5bd0a28
SM
66462012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6647
6648 Move define-obsolete-variable-alias before the var's definition.
6649 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6650 * tooltip.el (tooltip-hook):
6651 * textmodes/reftex-toc.el (reftex-toc-map):
6652 * textmodes/reftex-sel.el (reftex-select-label-map)
6653 (reftex-select-bib-map):
6654 * textmodes/reftex-index.el (reftex-index-map)
6655 (reftex-index-phrases-map):
6656 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6657 * progmodes/meta-mode.el (meta-mode-map):
6658 * novice.el (disabled-command-hook):
6659 * loadhist.el (unload-hook-features-list):
6660 * frame.el (blink-cursor):
6661 * files.el (find-file-not-found-hooks, write-file-hooks)
6662 (write-contents-hooks):
6663 * emulation/tpu-edt.el (GOLD-map):
6664 * emacs-lock.el (emacs-lock-from-exiting):
6665 * emacs-lisp/generic.el (generic-font-lock-defaults):
6666 * emacs-lisp/chart.el (chart-map):
6667 * dos-fns.el (register-name-alist):
6668 * dired-x.el (dired-omit-files-p):
6669 * desktop.el (desktop-enable):
6670 * cus-edit.el (custom-mode-hook):
6671 * buff-menu.el (buffer-menu-mode-hook):
6672 * bookmark.el (bookmark-read-annotation-text-func)
6673 (bookmark-exit-hooks):
6674 * allout.el (allout-mode-deactivate-hook)
6675 (allout-exposure-change-hook, allout-structure-added-hook)
6676 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6677 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6678 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6679 comes before the corresponding variable's definition.
6680
ac59c2f6
CY
66812012-05-12 Chong Yidong <cyd@gnu.org>
6682
6683 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
6684 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6685 (Buffer-menu-mode-map): Bind it.
6686 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 6687
dee6c9a3
SM
66882012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6689
2171cea5
SM
6690 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6691 (prolog-upper-case-string, prolog-lower-case-string)
6692 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6693 (prolog-use-smie, prolog-smie-grammar): New vars.
6694 (prolog-smie-forward-token, prolog-smie-backward-token)
6695 (prolog-smie-rules): New funs.
6696 (prolog-comment-indent): Remove.
6697 (prolog-mode-variables): Use default comment indentation instead.
6698 Setup SMIE.
6699 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6700 (prolog-mode): Don't call them any more.
6701 (prolog-electric-colon, prolog-electric-dash)
6702 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6703
aa0382bd
SM
6704 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6705
dbacb4bd
SM
6706 * minibuffer.el (completion--twq-all): Again, allow case differences.
6707
13bdd94c
SM
6708 * term.el: Move keymap initialization code to be more idiomatic.
6709 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6710 (term-terminal-menu): Move initialization into declaration.
6711 (term-escape-char): Let the user set it in her .emacs.
6712
ff46c759
SM
6713 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6714 Provide SMIE-based indentation (not enabled by default yet).
6715 (sh-mode-map): Don't bind electric keys.
6716 Use electric-pair-mode instead of skeleton-pair.
6717 (sh-assignment-regexp): Fit within 80 columns.
6718 (sh-indent-supported): Specify actual shell name instead of boolean.
6719 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6720 (sh-maybe-here-document): Use it. Make obsolete.
6721 (sh-electric-here-document-mode) New minor mode.
6722 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6723 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6724 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6725 (sh-smie-rc-grammar, sh-use-smie): New vars.
6726 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6727 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6728 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6729 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6730 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6731 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6732 (sh-set-shell): Use smie-setup if requested.
6733
dee6c9a3
SM
6734 * term.el (term-set-escape-char): Properly set term-escape-char.
6735 See http://stackoverflow.com/questions/10524656.
6736
9f9aa044
CY
67372012-05-10 Chong Yidong <cyd@gnu.org>
6738
6739 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6740 Use url-generic-parse-url, and handle host names and Windows
6741 filenames properly.
6742 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6743 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6744 URL schemes to work on.
6745 (ffap--toggle-read-only): New function.
6746 (ffap-read-only, ffap-read-only-other-window)
6747 (ffap-read-only-other-frame): Use it.
6748 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6749 necessary for ffap-url-unwrap-remote.
6750
836d29b3
DA
67512012-05-10 Dave Abrahams <dave@boostpro.com>
6752
6753 * cus-start.el (create-lockfiles): Add it.
6754
00fd78ed
CY
67552012-05-09 Chong Yidong <cyd@gnu.org>
6756
6757 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6758 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6759
666b903b 67602012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
6761
6762 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6763
666b903b 67642012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
6765
6766 * ansi-color.el (ansi-color-process-output): Check for validity of
6767 comint-last-output-start before using it. This avoids a bad
6768 interaction with gdb-mi's input/output buffer.
6769
666b903b 67702012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
6771
6772 * files.el (dir-locals-read-from-file):
6773 Mention dir-locals in any error message.
6774
666b903b 67752012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
6776
6777 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6778 package (Bug#11410).
6779
f677562b
CY
6780 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6781 variables into description.
6782
666b903b 67832012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
6784
6785 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6786 shell-delimiter-argument-list (bug#11348).
6787 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6788
b499d8d0
JB
67892012-05-09 Juanma Barranquero <lekktu@gmail.com>
6790
8f6b6da8
JB
6791 * textmodes/rst.el: Silence byte-compiler warnings.
6792 (rst-re-alist, rst-reset-section-caches): Move around.
6793 (rst-re): Use `characterp', not `char-valid-p'.
6794 (font-lock-beg, font-lock-end): Declare.
6795
4824146a
JB
6796 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6797 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6798
b499d8d0
JB
6799 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6800
ad89bb83
GM
68012012-05-08 Glenn Morris <rgm@gnu.org>
6802
6803 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6804
8bba5a75
SM
68052012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6806
49ed9c8e
SM
6807 * vc/log-edit.el: Add GNU coding standards highlighting.
6808 (log-edit-font-lock-gnu-style)
6809 (log-edit-font-lock-gnu-keywords): New vars.
6810 (log-edit-font-lock-keywords): New fun.
6811 (log-edit-mode): Don't fold case in font-lock.
6812 (log-edit-font-lock-keywords): Do not assume case-folding.
6813
07d00b56
SM
6814 * imenu.el: Misc cleanup. Make docstrings out of comments.
6815 Use lexical-binding.
6816 (imenu--index-alist, imenu--last-menubar-index-alist)
6817 (imenu-menubar-modified-tick): Use defvar-local.
6818 (imenu--split-menu): Remove unused var.
6819 (imenu--cleanup-seen): Declare as global.
6820 (imenu--cleanup): Use dolist.
6821
8bba5a75
SM
6822 * subr.el (defvar-local): Add debug spec and doc-string position.
6823
5075bdb5
GM
68242012-05-08 Glenn Morris <rgm@gnu.org>
6825
090bd7cb 6826 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
6827 * language/english.el, language/georgian.el, language/greek.el:
6828 * language/japanese.el, language/khmer.el, language/korean.el:
6829 * language/lao.el, language/misc-lang.el, language/romanian.el:
6830 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6831 * language/thai.el, language/utf-8-lang.el:
6832 Remove no-byte-compile setting.
6833
5075bdb5
GM
6834 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6835
06f679a7
AH
68362012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6837
6838 * progmodes/make-mode.el (makefile-browse):
6839 Remove unnecessary interactive. (Bug#11324)
6840
03794570
GM
68412012-05-07 Glenn Morris <rgm@gnu.org>
6842
af8630f4
GM
6843 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6844
03794570
GM
6845 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6846
f0809a9d
SM
68472012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6848
28be5ce7
SM
6849 * loadup.el: Preload newcomment.el.
6850 * newcomment.el: Move autoload-only code to toplevel.
6851
f0809a9d
SM
6852 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6853 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6854 Handle new :right-align column property.
6855 (tabulated-list-print-col): Idem, plus use `display' text-property to
6856 try and preserve alignment for variable pitch fonts.
6857
1241b724
CY
68582012-05-07 Chong Yidong <cyd@gnu.org>
6859
6860 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6861 (tabulated-list-use-header-line): New var.
6862 (tabulated-list-init-header): Use it.
6863 (tabulated-list-print-fake-header): New function.
6864 (tabulated-list-print): Use it.
6865 (tabulated-list-sort-button-map): Add non-header-line commands.
6866 (tabulated-list-init-header): Add column name property to basic
6867 labels as well.
6868 (tabulated-list-col-sort): Handle non-header-line button case.
6869 (tabulated-list--sort-by-column-name): Fix a corner case.
6870
f0809a9d
SM
6871 * buff-menu.el (list-buffers--refresh):
6872 Handle Buffer-menu-use-header-line.
1241b724 6873
e5f9458f
CY
68742012-05-06 Chong Yidong <cyd@gnu.org>
6875
6876 * buff-menu.el: Convert to Tabulated List mode.
6877 (Buffer-menu-buffer+size-width): Make obsolete.
6878 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6879 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6880 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
6881 documentation into docstring of buffer-menu.
6882 (Buffer-menu-toggle-files-only): Add an informative message.
6883 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6884 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6885 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6886 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6887 (Buffer-menu-execute, Buffer-menu-select)
6888 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6889 (Buffer-menu-bury): Use Tabulated List machinery.
6890 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6891 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 6892 Delete.
e5f9458f
CY
6893 (list-buffers--refresh): New function.
6894 (list-buffers-noselect): Use it.
6895 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6896 (Buffer-menu--pretty-file-name): New helper functions.
6897
6898 * loadup.el: Preload tabulated-list.
6899
6900 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6901 tabulated-list-sort-column.
6902 (tabulated-list-init-header): Add the initial aligning space even
6903 if tabulated-list-padding is zero.
6904
e129292c
CS
69052012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6906
6907 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6908 whose cdr is not a cons cell correctly (bug#11038).
6909
6632d361
CY
69102012-05-06 Chong Yidong <cyd@gnu.org>
6911
e129292c
CS
6912 * emacs-lisp/tabulated-list.el (tabulated-list-format):
6913 Accept additional plist in column descriptors.
6632d361
CY
6914 (tabulated-list-init-header): Obey it.
6915 (tabulated-list-get-entry): New function.
6916 (tabulated-list-put-tag): Use it. Use string-width instead of
6917 length.
6918 (tabulated-list--column-number): New function.
6919 (tabulated-list-print): Use it.
e129292c
CS
6920 (tabulated-list-print-col): New function.
6921 Set `tabulated-list-column-name' property on each column's text.
6632d361 6922 (tabulated-list-print-entry): Use it.
e129292c
CS
6923 (tabulated-list-delete-entry, tabulated-list-set-col):
6924 New functions.
6632d361
CY
6925 (tabulated-list-sort-column): New command (Bug#11337).
6926
3cc99f68
CY
6927 * buff-menu.el (list-buffers): Move C-x C-b binding from
6928 buff-menu.el to bindings.el.
6929
6930 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6931 :advertised-binding feature.
6932
52b61776
TN
69332012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
6934
6935 * progmodes/compile.el (compilation-internal-error-properties):
6936 Calculate start position correctly when end-col is set but
6937 end-line is not (Bug#11382).
6938
ebfe2597
WJ
69392012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
6940
6941 * man.el (Man-unindent): Use text-property-default-nonsticky to
6942 prevent untabify from inheriting face properties (Bug#11408).
6943
6d3f7c2f
SM
69442012-05-05 Stefan Merten <smerten@oekonux.de>
6945
6946 * textmodes/rst.el: Major merge with upstream development up to
6947 Docutils SVN r7399 / rst.el V1.2.1.
6948
6949 Clarify maintainership and authors.
6950
6951 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6952 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6953 (rst-official-version, rst-official-cvs-rev, rst-version)
6954 (rst-package-emacs-version-alist): New functions and variables
6955 for version information.
6956
6957 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6958 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6959 (rst-mode-syntax-table, rst-mode): New and corrected functions
6960 and variables representing reStructuredText features.
6961
6962 (rst-re): New function for reStructuredText regexes. Use in
6963 many places.
6964
6965 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6966 (rst-mode-map): Rebind keys.
6967
6968 (rst-mode-lazy, rst-font-lock-keywords)
6969 (rst-font-lock-extend-region)
6970 (rst-font-lock-extend-region-internal)
6971 (rst-font-lock-extend-region-extend)
6972 (rst-font-lock-find-unindented-line-limit)
6973 (rst-font-lock-find-unindented-line-match)
6974 (rst-adornment-level, rst-font-lock-adornment-level)
6975 (rst-font-lock-adornment-match)
6976 (rst-font-lock-handle-adornment-pre-match-form)
6977 (rst-font-lock-handle-adornment-matcher): Major revision of
6978 font-locking. Integrate with other code. Use `jit-lock-mode'.
6979
6980 (rst-preferred-adornments, rst-adjust-hook)
6981 (rst-new-adornment-down, rst-preferred-bullets)
6982 (rst-preferred-bullets, rst-indent, rst-indent-width)
6983 (rst-indent-field, rst-indent-literal-normal)
6984 (rst-indent-literal-minimized, rst-indent-comment): Change,
6985 extend and improve customization.
6986
6987 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6988 (rst-normalize-cursor-position, rst-get-decoration)
6989 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6990 (rst-rstrip, rst-toc-insert-find-delete-contents)
6991 (rst-shift-fill-region, rst-compute-bullet-tabs)
6992 (rst-debug-print-tabs, rst-debug-mark-found)
6993 (rst-shift-region-guts, rst-shift-region-right)
6994 (rst-shift-region-left, rst-use-char-classes)
6995 (rst-font-lock-keywords-function)
6996 (rst-font-lock-indentation-point)
6997 (rst-font-lock-find-unindented-line-begin)
6998 (rst-font-lock-find-unindented-line-end)
6999 (rst-font-lock-find-unindented-line)
7000 (rst-font-lock-adornment-point, rst-font-lock-level)
7001 (rst-adornment-level-alist): Remove functions and variables.
7002
7003 (rst-compare-adornments, rst-get-adornment-match)
7004 (rst-suggest-new-adornment, rst-get-adornments-around)
7005 (rst-adornment-complete-p, rst-get-next-adornment)
7006 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7007 (rst-straighten-adornments): Standardize function names to
7008 use "adornment" instead of "decoration". Correct callers.
7009 Similar standardizing in many places.
7010
7011 (rst-update-section, rst-adjust, rst-promote-region)
7012 (rst-enumerate-region, rst-bullet-list-region)
7013 (rst-repeat-last-character): Correct use of `interactive'.
7014
7015 (rst-classify-adornment, rst-find-all-adornments)
7016 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7017 (rst-find-leftmost-column, rst-repeat-last-character):
7018 Refactor functions.
7019
7020 (rst-find-title-line, rst-reset-section-caches)
7021 (rst-get-adornments-around, rst-adjust-adornment-work)
7022 (rst-arabic-to-roman, rst-roman-to-arabic)
7023 (rst-insert-list-pos, rst-insert-list-new-item)
7024 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7025 New functions.
7026
7027 (rst-all-sections, rst-section-hierarchy)
7028 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7029 New variables.
7030
7031 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7032 configuration instead of only buffer. Change where necessary.
7033
7034 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7035 (rst-shift-region, rst-adaptive-fill): New functions for
7036 indentation and filling.
7037
7038 (rst-comment-line-break, rst-comment-indent)
7039 (rst-comment-insert-comment, rst-comment-region)
7040 (rst-uncomment-region): New functions for handling comments.
7041
7042 (rst-compile): Quote shell arguments.
7043
7044 (rst-compile-pdf-preview, rst-compile-slides-preview):
7045 Delete temporary files after use.
7046
a43f98b3
GM
70472012-05-05 Glenn Morris <rgm@gnu.org>
7048
48176e8b
GM
7049 * calendar/cal-html.el: Optionally include holidays in the output.
7050 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7051 (cal-html-holidays): New option.
7052 (cal-html-css-default): Add holiday entry.
7053 (holiday-in-range): Autoload it.
7054 (cal-html-htmlify-entry): Add optional class argument.
7055 (cal-html-htmlify-list): Add optional holidays argument.
7056 (cal-html-insert-agenda-days): Include holidays in the output.
7057 (cal-html-one-month): Maybe include holidays.
7058
a43f98b3
GM
7059 * calendar/holidays.el (holiday-in-range):
7060 Move here from cal-tex-list-holidays.
7061 * calendar/cal-tex.el (cal-tex-list-holidays):
7062 Make it an obsolete alias for holiday-in-range. Update all callers.
7063
fef9d149 70642012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
7065
7066 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7067 Nextstep.
7068
248da2f4
RW
70692012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7070
7071 * files.el (file-auto-mode-skip): New var.
7072 (set-auto-mode-1): Use it.
7073
f95e9344
SM
70742012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7075
df96ab1e
SM
7076 * repeat.el: Use lexical-binding.
7077 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7078 (repeat-undo-count): Remove.
7079 (repeat):
7080 * progmodes/octave-mod.el (octave-abbrev-start):
7081 * progmodes/f90.el (f90-abbrev-start):
7082 * face-remap.el (text-scale-adjust):
7083 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7084
5342bb06
SM
7085 * emacs-lisp/pcase.el (pcase--let*): New function.
7086 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7087 a bit more.
7088 (pcase--split-pred): Be more clever about ruling out overlap between
7089 a predicate and some constant pattern.
7090 (pcase--q1): Use `null' instead of (eq foo nil).
7091
f95e9344
SM
7092 * subr.el (setq-local, defvar-local): New macros.
7093 (kbd): Redefine as an alias.
7094 (with-selected-window): Leave unrelated frames alone.
7095 (set-temporary-overlay-map): New function.
7096
71873e2b
SM
70972012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7098
7099 * subr.el (user-error): New function.
7100 * window.el (switch-to-buffer):
7101 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7102 (smerge-match-conflict):
7103 * simple.el (previous-matching-history-element)
7104 (next-matching-history-element, goto-history-element, undo-more)
7105 (undo-start):
7106 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7107 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7108 (next-file, tags-loop-scan, list-tags, complete-tag):
7109 * progmodes/compile.el (compilation-loop):
7110 * mouse.el (mouse-minibuffer-check):
7111 * man.el (Man-bgproc-sentinel, Man-goto-page):
7112 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7113 (Info-history-forward, Info-follow-reference, Info-menu)
7114 (Info-extract-menu-item, Info-extract-menu-counting)
7115 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7116 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7117 (Info-next-reference, Info-prev-reference, Info-index)
7118 (Info-index-next, Info-follow-nearest-node)
7119 (Info-copy-current-node-name):
7120 * imenu.el (imenu--make-index-alist)
7121 (imenu-default-create-index-function, imenu-add-to-menubar):
7122 * files.el (basic-save-buffer, recover-file):
7123 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7124 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7125 (checkdoc-message-text, checkdoc-defun):
7126 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7127 * cus-edit.el (customize-changed-options, customize-rogue)
7128 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7129 (custom-variable-mark-to-reset-standard)
7130 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7131 (custom-file):
7132 * completion.el (check-completion-length):
7133 * comint.el (comint-search-arg)
7134 (comint-previous-matching-input-string-position)
7135 (comint-previous-matching-input)
7136 (comint-replace-by-expanded-history-before-point, comint-send-input)
7137 (comint-copy-old-input, comint-backward-matching-input)
7138 (comint-goto-process-mark, comint-set-process-mark):
7139 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7140 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7141
8a61ee22
SM
71422012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7143
66408d1e
SM
7144 * dabbrev.el (dabbrev--ignore-case-p): New function.
7145 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7146 Use it.
7147
8a61ee22
SM
7148 * files.el (automount-dir-prefix): Mark as obsolete.
7149
3c74813a
GM
71502012-05-04 Glenn Morris <rgm@gnu.org>
7151
7152 * patcomp.el, play/bruce.el: Move to obsolete/.
7153
0bfcf5c5
PE
71542012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7155
7156 Fix minor Y10k bugs.
7157 * arc-mode.el (archive-unixdate):
7158 * autoinsert.el (auto-insert-alist):
7159 * calc/calc-forms.el (math-this-year):
7160 * emacs-lisp/copyright.el (copyright-current-year)
7161 (copyright-update-year, copyright):
7162 * tar-mode.el (tar-clip-time-string):
7163 * time.el (display-time-update):
7164 Don't assume years have 4 digits.
7165
78f3273a
CY
71662012-05-04 Chong Yidong <cyd@gnu.org>
7167
7168 * dos-w32.el (file-name-buffer-file-type-alist)
7169 (direct-print-region-use-command-dot-com):
7170 * ffap.el (ffap-menu-regexp):
7171 * find-file.el (ff-special-constructs):
7172 * follow.el (follow-debug):
7173 * forms.el (forms--debug):
7174 * iswitchb.el (iswitchb-all-frames):
7175 * ido.el (ido-all-frames):
7176 * emacs-lisp/timer.el (timer-max-repeats):
7177 * mail/feedmail.el (feedmail-mail-send-hook)
7178 (feedmail-mail-send-hook-queued):
7179 * mail/footnote.el (footnote-signature-separator):
7180 * mail/mailabbrev.el (mail-alias-separator-string)
7181 (mail-abbrev-mode-regexp):
7182 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7183 * progmodes/idlwave.el (idlwave-libinfo-file)
7184 (idlwave-default-completion-case-is-down)
7185 (idlwave-library-routines): Convert defvars to defcustoms.
7186
7187 * mail/rmail.el (rmail-decode-mime-charset):
7188 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7189 (idlwave-shell-fix-inserted-breaks)
7190 (idlwave-shell-activate-alt-keybindings)
7191 (idlwave-shell-use-breakpoint-glyph):
7192 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7193
f7ae6719
SM
71942012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7195
7196 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7197
47086495
WS
71982012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7199
7200 * progmodes/verilog-mode.el (font-lock-keywords):
7201 Fix mis-highligting auto. Reported by Craig Barner.
7202 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 7203 defines from global name space. Reported by Dan Dever.
47086495
WS
7204 (verilog-auto-reset, verilog-auto-reset-widths)
7205 (verilog-auto-tieoff): Support using unbased numbers for
7206 AUTORESET and AUTOTIEOFF.
7207 (verilog-submit-bug-report): Update variable list.
7208 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 7209 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
7210 (verilog-auto-template-lint): Fix hash error when linting modules
7211 with no used templates.
7212 (verilog-warn, verilog-warn-error)
7213 (verilog-warn-fatal): When non-interactive report multiple
7214 warnings before exiting. Suggested by Brad Dobbie.
7215 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7216 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7217 to report unused template errors. Reported by Brad Dobbie.
7218 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 7219 nets, bug438. Reported by Vns Blore.
47086495
WS
7220 (verilog-auto-inout-module, verilog-auto-reg)
7221 (verilog-read-decls, verilog-read-sub-decls-sig)
7222 (verilog-signals-edit-wire-reg, verilog-signals-with):
7223 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 7224 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
7225 "reg" for backwards compatibility presuming Verilog 2001.
7226 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7227 (verilog-preprocess): Fix replication of preprocess output.
7228 Reported by Brad Dobbie.
7229 (verilog-auto-inst-interfaced-ports):
7230 Create verilog-auto-inst-interfaced-ports, bug429.
7231 Reported by Julian Gorfajn.
7232 (verilog-after-save-font-hook)
7233 (verilog-before-save-font-hook): New variable.
7234 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7235 (verilog-save-font-mods): Wrap disabling fontification, reported
7236 by David Rogoff.
7237 (verilog-do-indent, verilog-pretty-declarations-auto)
7238 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7239 Reported by Pierre-David Pfister.
7240 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7241 of class declarations, bug292. Reported by Kevin Heilman.
7242 (verilog-read-decls): Fix 'parameter type' not appearing in
7243 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7244 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 7245 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
7246 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7247 Reported by David Kravitz.
7248
72492012-05-03 Michael McNamara <mac@mail.brushroad.com>
7250
7251 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7252 assignment with tests in ifs and for loops.
7253 (verilog-extended-complete-re, verilog-complete-reg): Change so
7254 that DPI inport functions don't look like fuction declarations.
7255 (verilog-pretty-expr): Don't line up assignment
7256 operations to the test and increment in if and for loops
7257 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 7258 that DPI inport functions don't look like fuction declarations.
47086495 7259
2e51d4b5
KH
72602012-05-03 Kenichi Handa <handa@m17n.org>
7261
7262 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 7263 decoding, and show a warning message without signaling an error
2e51d4b5
KH
7264 (Bug#11282).
7265
2bd785a2
SM
72662012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7267
7268 * emacs-lisp/bytecomp.el
7269 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7270 since cconv.el might have introduced :fun-body, internal-make-closure,
7271 and friends for bytecomp to handle (bug#11391).
7272 * custom.el (defcustom): Avoid ((λ ..) ..).
7273
99d27583
SM
72742012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7275
7276 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7277
55a71479
JB
72782012-05-02 Juanma Barranquero <lekktu@gmail.com>
7279
7280 * notifications.el (dbus-debug):
7281 * term/linux.el (gpm-mouse-enable):
7282 * term/screen.el (xterm-register-default-colors): Declare.
7283
7b97c764
CY
72842012-05-02 Chong Yidong <cyd@gnu.org>
7285
2bc356d7
CY
7286 * cus-start.el (gc-cons-percentage, exec-suffixes)
7287 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7288 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7289 (make-cursor-line-fully-visible, void-text-area-pointer)
7290 (font-list-limit): Add customization data.
7291
7b97c764
CY
7292 * allout.el (allout-exposure-change-functions)
7293 (allout-structure-added-functions)
7294 (allout-structure-deleted-functions)
7295 (allout-structure-shifted-functions): Rename abnormal hooks from
7296 *-hook, and convert to defcustoms.
5d3385a0
JB
7297 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7298 Convert to defcustoms.
7b97c764
CY
7299 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7300
7301 * allout-widgets.el: Hook callers changed.
7302
90207a15 73032012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
7304
7305 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7306 the yanked message in preference to the default value of
7307 buffer-file-coding-system.
7308
90207a15 73092012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 7310
5d3385a0
JB
7311 * window.el (display-buffer--action-function-custom-type):
7312 Fix entry.
d9558cad 7313
90207a15 73142012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
7315
7316 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7317
d80ac57b
GM
73182012-05-01 Glenn Morris <rgm@gnu.org>
7319
976f7668
GM
7320 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7321
beb83b5a
GM
7322 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7323
d80ac57b
GM
7324 * cus-edit.el (custom-variable-documentation): Simplify with format.
7325
b593d6a9 73262012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 7327 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
7328
7329 * simple.el (suggest-key-bindings, execute-extended-command):
7330 Move from keyboard.c.
7331
782fbf2a
CY
73322012-05-01 Chong Yidong <cyd@gnu.org>
7333
7334 * follow.el: Eliminate advice.
7335 (set-process-filter, process-filter, sit-for): Advice deleted.
7336 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
7337 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7338 Vars deleted.
782fbf2a
CY
7339 (follow-auto): Use a :set function.
7340 (follow-mode): Rewritten. Don't advise process filters.
7341 (follow-switch-to-current-buffer-all, follow-scroll-up)
7342 (follow-scroll-down): Assume follow-mode is bound.
7343 (follow-comint-scroll-to-bottom)
7344 (follow-align-compilation-windows): New functions.
7345 (follow--window-sorter): New function.
7346 (follow-all-followers): Use it to explicitly sort windows by their
7347 positions; don't make assumptions about next-window order.
7348 (follow-windows-start-end, follow-delete-other-windows-and-split)
7349 (follow-calc-win-start): Doc fix.
7350 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7351 vertical-motion unnecessarily.
7352 (follow-adjust-window): New function.
7353 (follow-post-command-hook): Use it.
7354 (follow-call-set-process-filter, follow-call-process-filter)
7355 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7356 (follow-stop-intercept-process-output, follow-generic-filter):
7357 Functions deleted.
7358 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
7359 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7360 New functions, replacing advice on scroll-bar-* commands.
87233a14 7361 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
7362
7363 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
7364 (comint-postoutput-scroll-to-bottom): Use it.
7365 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 7366
290af740
GM
73672012-05-01 Glenn Morris <rgm@gnu.org>
7368
7369 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7370 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7371 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7372 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7373 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7374 Remove no-byte-compile setting.
7375
6eac8dc9
SM
73762012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7377
7378 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7379 all-completions code to not return a number in the last cdr.
7380
9cc7819c
LL
73812012-04-30 Leo Liu <sdl.web@gmail.com>
7382
7383 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7384 read-only error.
7385
c93b886f
CY
73862012-04-29 Chong Yidong <cyd@gnu.org>
7387
7388 * follow.el (follow-calc-win-end): Rewrite to handle partial
7389 screen lines correctly (Bug#8390).
7390 (follow-avoid-tail-recenter): Minor cleanup.
7391
8b6c19f4
SM
73922012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7393
7394 Avoid the obsolete `assoc' package.
7395 * speedbar.el (speedbar-refresh): Avoid adelete.
7396 (speedbar-file-lists): Simplify and avoid aput.
7397 * man.el (Man--sections, Man--refpages): New vars, replacing
7398 Man-sections-alist and Man-refpages-alist.
7399 (Man-build-section-alist, Man-build-references-alist):
7400 Use them; avoid aput.
7401 (Man--last-section, Man--last-refpage): New vars.
7402 (Man-follow-manual-reference): Use them.
7403 Use the `default' arg of completing-read.
7404 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7405
c5bb7569
CY
74062012-04-27 Chong Yidong <cyd@gnu.org>
7407
d1d2e2e8
CY
7408 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7409
15cd8efd
CY
7410 * startup.el (x-apply-session-resources): New function.
7411
7412 * term/ns-win.el (ns-initialize-window-system):
7413 * term/w32-win.el (w32-initialize-window-system):
7414 * term/x-win.el (x-initialize-window-system): Use it to properly
7415 set menu-bar-mode and other vars from X resources, even if the
7416 initial frame is not a window-system frame (Bug#2299).
7417
c5bb7569
CY
7418 * subr.el (read-key): Avoid running filter function when setting
7419 up temporary tool bar entries (Bug#9922).
7420
a8e7d6d7 74212012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
7422
7423 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7424 (Bug#11344)
7425
a8e7d6d7 74262012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
7427
7428 * select.el (xselect--encode-string): New function, split from
7429 xselect-convert-to-string.
7430 (xselect-convert-to-string): Use it.
7431 (xselect-convert-to-filename, xselect-convert-to-os)
7432 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7433 returned strings are properly encoded (Bug#11315).
7434
a8e7d6d7 74352012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
7436
7437 * simple.el (delete-active-region): Move to killing custom group.
7438
a8e7d6d7 74392012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
7440
7441 * progmodes/which-func.el (which-func-current): Quote %
7442 characters for mode-line processing.
7443
578c1d4b 74442012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
7445
7446 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7447 reaching eob (Bug#11286).
7448
a8e7d6d7 74492012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
7450
7451 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7452 (gdb): Make it buffer-local and init to zero.
7453 (gdb-control-commands-regexp): New variable.
7454 (gdb-send): Don't wrap in "-interpreter-exec console" if
7455 gdb-control-level is positive. Increment gdb-control-level
7456 whenever the command matches gdb-control-commands-regexp, and
7457 decrement it each time the command is "end". (Bug#11279)
7458
a8e7d6d7 74592012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
7460
7461 * window.el (adjust-window-trailing-edge, enlarge-window)
7462 (shrink-window, window-resize):
7463 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7464 windows (Bug#11276).
7465
b3608390
CY
74662012-04-27 Chong Yidong <cyd@gnu.org>
7467
7468 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 7469 fix "missing prefix" warning. All callers changed.
b3608390 7470
797e6e88
SM
74712012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7472
7473 * emacs-lisp/assoc.el: Move to obsolete/.
7474
e95a67dc
SM
74752012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7476
657c21e4 7477 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
7478
7479 * term/ns-win.el (ns-define-service):
7480 * progmodes/pascal.el (pascal-goto-defun):
7481 * progmodes/js.el (js--read-tab):
7482 * progmodes/etags.el (tags-lazy-completion-table):
7483 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7484 * emacs-lisp/ewoc.el (ewoc--wrap):
7485 * emacs-lisp/assoc.el (aput, adelete, amake):
7486 * doc-view.el (doc-view-convert-current-doc):
7487 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7488
cb3e7ae0
CY
74892012-04-26 Chong Yidong <cyd@gnu.org>
7490
dce04f7f
CY
7491 * image.el (image-type-from-buffer): Only return supported image
7492 type (Bug#9045).
7493
cb3e7ae0
CY
7494 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7495 value, for symmetry with diff-end-of-hunk.
7496 (diff-split-hunk, diff-find-source-location)
7497 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7498 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7499 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7500 compute the relevant hunk or file properly (Bug#6005).
7501 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7502
0d42eb3e
SM
75032012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7504
7505 * vc/vc-mtn.el:
7506 * vc/vc-hg.el:
7507 * vc/vc-git.el:
7508 * vc/vc-dir.el:
7509 * vc/vc-cvs.el:
7510 * vc/vc-bzr.el:
7511 * vc/vc-arch.el:
7512 * vc/vc.el: Replace lexical-let by lexical-binding.
7513 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7514 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7515 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7516
f08ae1c9
CY
75172012-04-26 Chong Yidong <cyd@gnu.org>
7518
8b71081d
CY
7519 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7520 (diff-mode-shared-map): Bind it to / and [remap undo].
7521
f08ae1c9
CY
7522 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7523 (ediff-window-setup-function): Use it as the default, to set up
7524 windows based on whether the current frame is graphical (Bug#2138).
7525 (ediff-choose-window-setup-function-automatically): Make obsolete.
7526
7527 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7528
ef24141c
SM
75292012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7530
cc356a5d
SM
7531 * ffap.el: Remove old code for obsolete package.
7532 (ffap-complete-as-file-p): Remove.
7533
b4ff4f1f
SM
7534 Use completion-table-with-quoting for comint and pcomplete.
7535 * comint.el (comint--unquote&requote-argument)
7536 (comint--unquote-argument, comint--requote-argument): New functions.
7537 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7538 (comint-quote-filename): Use regexp-opt-charset.
7539 (comint--common-suffix, comint--common-quoted-suffix)
7540 (comint--table-subvert): Remove.
7541 (comint-unquote-function, comint-requote-function): New vars.
7542 (comint--complete-file-name-data): Use them with
7543 completion-table-with-quoting.
7544 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7545 * pcomplete.el (pcomplete-arg-quote-list)
7546 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7547 (pcomplete-unquote-argument-function): Default to non-nil.
7548 (pcomplete-unquote-argument): Simplify.
7549 (pcomplete--common-quoted-suffix): Remove.
7550 (pcomplete-requote-argument-function): New var.
7551 (pcomplete--common-suffix): New function.
7552 (pcomplete-completions-at-point): Use completion-table-with-quoting
7553 and completion-table-subvert.
7554
79c4eeb4
SM
7555 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7556 (minibuffer--double-dollars): Preserve properties.
7557 (completion--sifn-requote): New function.
7558 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7559
ef24141c
SM
7560 * minibuffer.el: Add support for completion of quoted/escaped data.
7561 (completion-table-with-quoting, completion-table-subvert): New funs.
7562 (completion--twq-try, completion--twq-all): New functions.
7563 (completion--nth-completion): New function.
7564 (completion-try-completion, completion-all-completions): Use it.
7565
784e7d6e
LL
75662012-04-25 Leo Liu <sdl.web@gmail.com>
7567
dd2ac746
SM
7568 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7569 Use compilation-message if available to find real filename.
784e7d6e 7570
07875ee7
CY
75712012-04-25 Chong Yidong <cyd@gnu.org>
7572
7573 * vc/diff-mode.el (diff-setup-whitespace): New function.
7574 (diff-mode): Use it.
7575
7576 * vc/diff.el (diff-sentinel):
7577 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7578 Whitespace mode variables based on diff style (Bug#8612).
7579
5055880d
LL
75802012-04-25 Leo Liu <sdl.web@gmail.com>
7581
daf75653
LL
7582 * progmodes/python.el (python-send-region): Add suffix .py to the
7583 temp file.
7584
5055880d
LL
7585 * files.el (auto-mode-alist): Use javascript-mode instead.
7586
db9b177b
AH
75872012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7588
ef24141c 7589 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 7590
090bd7cb 7591 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 7592 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 7593 references, see Bug#9.
ef24141c 7594 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 7595 when receiving a fault reply.
ef24141c 7596 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 7597
090bd7cb 7598 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 7599 (soap-inspect-simple-type): New function.
db9b177b 7600
090bd7cb 7601 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 7602 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
7603 (soap-decode-basic-type, soap-encode-basic-type):
7604 support unsignedInt and double basic types.
db9b177b 7605 (soap-resolve-references-for-simple-type)
ef24141c
SM
7606 (soap-parse-simple-type, soap-encode-simple-type): New function.
7607 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 7608
090bd7cb 7609 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
7610 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7611 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7612 the local name of "soapenc:Array".
7613 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
7614 decoding integer, byte and anyURI xsd types.
7615
1fc6097b
CY
76162012-04-25 Chong Yidong <cyd@gnu.org>
7617
7618 * cus-edit.el (custom-buffer-create-internal): Update header text.
7619
afc6df87
EZ
76202012-04-25 Eli Zaretskii <eliz@gnu.org>
7621
7622 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7623 settings on 'system-type', not on 'window-system'. On MS-Windows,
7624 set interactive-mode on in GDB.
7625
dfbd787f
SM
76262012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7627
7628 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7629 (ruby-syntax-propertize-regexp): Remove.
7630 (ruby-syntax-propertize-function): Split regexp into chunks.
7631 Match following code directly.
7632
85222d44
DG
76332012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7634
51a8ea2a
DG
7635 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7636 (ruby-syntax-propertize-regexp): New function.
7637 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7638 by a special keyword.
7639
85222d44
DG
7640 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7641 (ruby-syntax-general-delimiters-goto-beg)
7642 (ruby-syntax-propertize-general-delimiters): New functions.
7643 (ruby-syntax-propertize-function): Use them to handle GDL.
7644 (ruby-font-lock-keywords): Move old handling of GDL...
7645 (ruby-font-lock-syntactic-keywords): .. to here.
7646 (ruby-calculate-indent): Adjust indentation for GDL.
7647
b613912b
MA
76482012-04-24 Michael Albinus <michael.albinus@gmx.de>
7649
b5380639
MA
7650 * notifications.el (top): Remove unneeded declarations.
7651 (notifications-specification-version): Change to "1.2".
e43042fe 7652 (notifications-interface, notifications-notify-method)
b613912b
MA
7653 (notifications-close-notification-method): Fix docstring.
7654 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
7655 (notifications-notify): Add :action-items, :resident and
7656 :transient hints. Change "image_data" to "image-data" and
7657 "image_path" to "image-path".
b613912b
MA
7658 (notifications-get-capabilities): New defun.
7659
257440aa
LL
76602012-04-24 Leo Liu <sdl.web@gmail.com>
7661
7662 * progmodes/python.el: Move hideshow setup to the end.
7663
b1bac16e
MR
76642012-04-24 Martin Rudalics <rudalics@gmx.at>
7665
7666 * window.el (handle-select-window): Clear echo area since this is
7667 no more done by read_char (Bug#11304).
7668
d81bd059
SM
76692012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7670
7671 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7672 and `/ M' to filter-derived-mode.
7673 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7674 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7675 (ibuffer-mark-by-mode): Use default rather than initial-input.
7676 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7677
c4cf6d91
IA
76782012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7679
7680 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7681 (ibuffer-filter-by-derived-mode): New filter.
7682 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7683
7511ded8
CY
76842012-04-23 Andreas Politz <politza@fh-trier.de>
7685
7686 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7687
775c916b
CY
76882012-04-23 Chong Yidong <cyd@gnu.org>
7689
7690 * cus-edit.el (customize-apropos, customize-apropos-options):
7691 Disable matching of non-option variables (Bug#11176).
7692 (customize-option, customize-option-other-window)
7693 (customize-changed-options): Doc fix.
7694 (customize-apropos-options, customize-apropos-faces)
7695 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7696
7697 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 7698 Fix word list splitting (Bug#11132).
46c71e23
CY
7699 (apropos-symbol, apropos-keybinding, apropos-label)
7700 (apropos-property, apropos-function-button)
7701 (apropos-variable-button, apropos-misc-button): New faces.
7702 (apropos-symbol-face, apropos-keybinding-face)
7703 (apropos-label-face, apropos-property-face, apropos-match-face):
7704 Variables removed (Bug#8396).
7705 (apropos-library-button, apropos-format-plist, apropos-print)
7706 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 7707
2df41f9c
MA
77082012-04-23 Michael Albinus <michael.albinus@gmx.de>
7709
7710 * net/xesam.el (xesam-mode-map): Use let-bound map in
7711 initialization. (Bug#11292)
7712
da00640a
AM
77132012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7714
7715 Preserve ispell session localwords when switching back to
7716 original buffer.
7717
090bd7cb
JB
7718 * textmodes/ispell.el (ispell-buffer-session-localwords):
7719 New buffer-local variable to hold buffer session localwords.
ed9265fc 7720 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
7721 localwords.
7722 (ispell-command-loop, ispell-change-dictionary)
7723 (ispell-buffer-local-words): Preserve session localwords when
7724 needed.
7725
090bd7cb
JB
7726 * textmodes/flyspell.el (flyspell-process-localwords)
7727 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 7728
f621ccf5
AM
77292012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7730
090bd7cb
JB
7731 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7732 using obsolete `translation-table-for-input'.
ef24141c
SM
7733 (ispell-word, ispell-process-line, ispell-complete-word):
7734 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 7735
c2d1019e
CY
77362012-04-22 Chong Yidong <cyd@gnu.org>
7737
7738 * cus-edit.el (custom-variable-menu)
7739 (custom-variable-reset-saved, custom-face-menu)
7740 (custom-face-reset-saved): If there is no saved value, make the
7741 "reset-saved" operation bring back the default (Bug#9509).
7742 (custom-face-state): Properly detect themed faces.
7743
eeddc531
CY
7744 * faces.el (face-spec-set): Stop supporting deprecated form of
7745 third arg.
7746
dcbf5805
MA
77472012-04-22 Michael Albinus <michael.albinus@gmx.de>
7748
7749 Move functions from C to Lisp. Make non-blocking method calls
7750 the default. Implement further D-Bus standard interfaces.
7751
ef24141c
SM
7752 * net/dbus.el (dbus-message-internal): Declare function.
7753 Remove unneeded function declarations.
dcbf5805
MA
7754 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7755 (dbus-message-type-method-return, dbus-message-type-error)
7756 (dbus-message-type-signal): Declare variables. Remove local
7757 definitions.
7758 (dbus-interface-dbus, dbus-interface-peer)
7759 (dbus-interface-introspectable, dbus-interface-properties)
7760 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7761 Adapt docstring.
7762 (dbus-interface-objectmanager): New defconst.
7763 (dbus-call-method, dbus-call-method-asynchronously)
7764 (dbus-send-signal, dbus-method-return-internal)
7765 (dbus-method-error-internal, dbus-register-service)
7766 (dbus-register-signal, dbus-register-method): New defuns, moved
7767 from dbusbind.c
7768 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
7769 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7770 New defuns.
dcbf5805
MA
7771 (dbus-call-method-non-blocking): Make it an obsolete function.
7772 (dbus-unregister-object, dbus-unregister-service)
7773 (dbus-handle-event, dbus-register-property)
7774 (dbus-property-handler): Obey the new structure of
7775 `bus-registered-objects'.
7776 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7777 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7778 Use `dbus-call-method'.
7779
cf20dee0
CY
77802012-04-22 Chong Yidong <cyd@gnu.org>
7781
7782 * cus-edit.el (custom-commands, custom-reset-menu)
7783 (Custom-reset-standard): Tweak labels.
7784 (custom-reset-button-menu): Change default to t.
7785 (custom-buffer-create-internal): For the custom-reset-button-menu
7786 case, put the revert button first.
7787 (custom-group-subtitle): New face.
7788 (custom-group-value-create): Align docstring to a specific column.
7789
7790 * wid-edit.el (widget-documentation-link-add): Don't handle
7791 indentation in this function.
7792 (widget-documentation-string-indent-to): New function.
7793 (widget-documentation-string-value-create): Use it.
7794
7795 * autorevert.el (auto-revert):
7796 * epg-config.el (epg):
7797 * ibuffer.el (ibuffer):
7798 * mpc.el (mpc):
7799 * ses.el (ses):
7800 * eshell/eshell.el (eshell):
7801 * net/ange-ftp.el (ange-ftp):
7802 * progmodes/ebnf2ps.el (postscript):
7803 * progmodes/flymake.el (flymake):
7804 * progmodes/prolog.el (prolog):
7805 * progmodes/verilog-mode.el (verilog-mode):
7806 * progmodes/which-func.el (which-func):
7807 * term/xterm.el (xterm):
7808 * textmodes/picture.el (picture):
7809 * textmodes/tildify.el (tildify):
7810 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7811 customization buffers.
7812
583e23bd
AM
78132012-04-22 Alan Mackenzie <acm@muc.de>
7814
7815 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7816 Adding a ) can hide the resulting (..) from searches. Fix it.
7817 Bound the backward search to the position of the existing (.
7818
7dd51bf1
JB
78192012-04-21 Juanma Barranquero <lekktu@gmail.com>
7820
7821 * progmodes/verilog-mode.el (verilog-mode): Check whether
7822 which-func-modes is t before adding verilog-mode.
7823 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7824
d64a438f
LL
78252012-04-21 Leo Liu <sdl.web@gmail.com>
7826
7dd51bf1 7827 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 7828
081e8d65
MV
78292012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7830
7831 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7832 filling of the last column of a table (Bug#5635).
7833 (woman-find-next-control-line): New arg, specifying an additional
7834 regexp component for the control line.
7835 (woman2-roff-buffer): Use it.
7836 (woman-break-table): New function.
7837 (woman2-TS): Use it.
7838
78392012-04-21 Chong Yidong <cyd@gnu.org>
7840
7841 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7842 (woman-horizontal-escapes, woman-negative-vertical-space)
7843 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7844 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7845
ed571ccb
SM
78462012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7847
7848 * minibuffer.el (completion-file-name-table): Complete user names.
7849
39773899
LL
78502012-04-20 Leo Liu <sdl.web@gmail.com>
7851
7852 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7853 and pcase-let*.
7854
de6ff46d
CY
78552012-04-20 Chong Yidong <cyd@gnu.org>
7856
7857 * server.el (server-execute): Respect initial-buffer-choice if it
7858 is a string and there are no files to open (Bug#2825).
7859 (server-create-window-system-frame, server-create-tty-frame):
7860 Don't switch buffers here.
2d0e8e61
CY
7861 (server-process-filter): Only try to open a window system frame if
7862 compiled with graphical support (Bug#8314).
de6ff46d 7863
54071013
DN
78642012-04-20 Dan Nicolaescu <dann@gnu.org>
7865
7866 * battery.el (battery-echo-area-format): Display remaining time
7867 for sysfs backend too (Bug#11269).
7868 (battery-linux-sysfs): Fix conditional for the charge.
7869
f30d612a
CY
78702012-04-20 Chong Yidong <cyd@gnu.org>
7871
c07a4c0b 7872 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
7873 (gdb-inferior-io--init-proc): New function.
7874 (gdb-init-1): Use it.
7875 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7876 responsible for allocating a new pty and hooking it to gdb when
7877 the old pty gets an EIO due to process exit.
7878 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
7879 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7880 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7881
2116e93c
EZ
78822012-04-20 Eli Zaretskii <eliz@gnu.org>
7883
7884 * window.el (window-min-size, window-sizable, window-min-delta)
7885 (window-max-delta, window--resizable, window-resizable)
7886 (window-total-size, window-full-height-p, window-full-width-p)
7887 (window-in-direction, window--resize-mini-window, window-resize)
7888 (window--resize-child-windows-normal)
7889 (window--resize-child-windows, window--resize-siblings)
7890 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 7891 (enlarge-window, shrink-window): Doc fixes.
2116e93c 7892
c07a4c0b 78932012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 7894
ef24141c
SM
7895 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7896 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
7897 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7898 pty process (Bug#11273).
7899 (gdb-update): New arg to suppress talking to the gdb process.
7900 (gdb-done-or-error): Use it.
7901 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7902 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7903 sentinel not being called.
7904
7905 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7906
d02766ab
CY
7907 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7908
c07a4c0b 79092012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
7910
7911 * net/network-stream.el (open-network-stream): Doc fix.
7912
c07a4c0b 79132012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
7914
7915 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7916
c07a4c0b 79172012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
7918
7919 Ensure searching for keywords is case sensitive.
7920
7921 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7922 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7923 (c-defun-name, c-mark-function, c-cpp-define-name)
7924 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 7925 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 7926
ef24141c
SM
7927 * progmodes/cc-mode.el (c-font-lock-fontify-region):
7928 Bind case-fold-search to nil.
f0f6bc35 7929
c07a4c0b 79302012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
7931
7932 * mail/sendmail.el (mail-bury): Call return action with the right
7933 Rmail buffer (Bug#11242).
7934
9a864fa2
CY
7935 * server.el (server-process-filter): Handle corner case where both
7936 tty and nowait options are present (Bug#11102).
7937
539aa513
EZ
79382012-04-20 Eli Zaretskii <eliz@gnu.org>
7939
7940 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
7941 (top level): Put into the executable the ident-style '$Id:' tag on
7942 windows-nt as well.
539aa513 7943
cfc7d5da
SM
79442012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7945
7946 * electric.el (electric-indent-post-self-insert-function): Check that
7947 electric-indent-mode is enabled in current buffer.
7948
5b01685c
JB
79492012-04-19 Juanma Barranquero <lekktu@gmail.com>
7950
7951 * imenu.el (imenu-progress-message): Restore; it is "used" in
7952 erc/erc-imenu.el and net/snmp-mode.el.
7953
4d6769e1
JB
79542012-04-19 Juanma Barranquero <lekktu@gmail.com>
7955
7956 * avoid.el (mouse-avoidance-mode): Mark unused arg.
7957 (mouse-avoidance-nudge-mouse): Remove unused binding.
7958
7959 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7960
7961 * descr-text.el (describe-char):
7962 * progmodes/python.el (python-describe-symbol):
7963 Don't call `toggle-read-only', set `buffer-read-only'.
7964
7965 * imenu.el (imenu-default-goto-function): Mark unused args.
7966 (imenu-progress-message): Remove obsolete macro; all callers changed.
7967
7968 * subr.el (keymap-canonicalize): Remove unused binding.
7969 (read-passwd): Mark unused arg.
7970
7971 * tutorial.el (tutorial--display-changes): Remove unused binding.
7972 (tutorial--save-tutorial-to): Remove unused variable.
7973
7974 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7975 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7976 (package-generate-autoloads, package-menu--generate)
7977 (package-menu--find-upgrades): Remove unused bindings.
7978
7979 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7980 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7981 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7982 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7983 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7984 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7985 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7986 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7987 (cua-delete-char-rectangle): Mark unused args.
7988 (cua-align-rectangle): Remove unused binding.
7989
7990 * mail/rmail.el (compilation--message->loc)
7991 (epa--find-coding-system-for-mime-charset): Declare.
7992
7993 * net/dbus.el (dbus-register-service): Declare.
7994 (dbus-name-owner-changed-handler): Remove unused binding.
7995
7996 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7997 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7998 (nxml-scan-backward-within): Mark unused arg.
7999 (nxml-dynamic-markup-word): Remove unused binding.
8000
8001 * mouse.el (mouse-menu-major-mode-map):
8002 * emacs-lisp/authors.el (authors-scan-change-log)
8003 (authors-add-to-author-list):
8004 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8005 * emacs-lisp/smie.el (smie-auto-fill):
8006 * mail/sendmail.el (mail-bury):
8007 * mail/unrmail.el (unrmail):
8008 * net/tls.el (open-tls-stream):
8009 * textmodes/picture.el (picture-mouse-set-point):
8010 Remove unused bindings.
8011
8c8fc5df
MA
80122012-04-19 Michael Albinus <michael.albinus@gmx.de>
8013
8014 * net/tramp.el (tramp-action-password): Let-bind
8015 `enable-recursive-minibuffers' to t.
8016
a77b0ac9
SS
80172012-04-18 Sam Steingold <sds@gnu.org>
8018
8019 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8020 instead of 'string to accommodate values like [f11].
8021 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8022 * progmodes/gdb-mi.el: Likewise.
8023
12a106a9
LL
80242012-04-18 Leo Liu <sdl.web@gmail.com>
8025
8026 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8027 current buffer.
8028 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8029 LOCAL is nil.
8030
bc6494ef
CY
80312012-04-18 Chong Yidong <cyd@gnu.org>
8032
8033 * simple.el (line-move): Use forward-line if in batch mode
8034 (Bug#11053).
8035
c09c46b2
CS
80362012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8037
8038 * files.el (after-find-file): Do not try to add a final newline if
8039 the buffer is read-only (Bug#11156).
8040
5f6530ea
RS
80412012-04-17 Richard Stallman <rms@gnu.org>
8042
8043 * mail/rmail.el (rmail-start-mail):
8044 Pass (rmail-mail-return...) for the return-action.
8045 Pass (rmail-yank-current-message...) for the yank-action.
8046 (rmail-yank-current-message): New function.
8047 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8048 (rmail-reply): Likewise.
8049 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8050
8051 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 8052 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
8053 buffer, not newbuf.
8054
197b6f3c
JB
80552012-04-17 Juanma Barranquero <lekktu@gmail.com>
8056
8057 * server.el (server-ensure-safe-dir): Simplify.
8058
2311d8e5 80592012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 8060
2311d8e5
GM
8061 * emacs-lisp/smie.el: Provide smarter auto-filling.
8062 (smie-auto-fill): New function.
8063 (smie-setup): Use it.
98fb480e 8064
2311d8e5
GM
8065 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8066
80672012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
8068
8069 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8070 (comment-indent): Use it.
8071
2311d8e5 80722012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
8073
8074 * ses.el: The overall change is to add cell renaming, that is
8075 setting fancy names for cell symbols other than name matching
8076 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 8077 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 8078 (ses-create-cell-variable): New defun.
2311d8e5 8079 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
8080 (ses-relocate-formula): Relocate formulas only for cells the
8081 symbols of which are not renamed, i.e. symbols whose names do not
8082 match regexp "\\`[A-Z]+[0-9]+\\'".
8083 (ses-relocate-all): Relocate values only for cells the symbols of
8084 which are not renamed.
8085 (ses-load): Create cells variables as the (ses-cell ...) are read,
8086 in order to check row col consistency with cell symbol name only
8087 for cells that are not renamed.
8088 (ses-replace-name-in-formula): New defun.
8089 (ses-rename-cell): New defun.
4bdf2ad2 8090
fc72b15c
PO
80912012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8092
8093 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8094 New option (bug#11118).
8095 (perl-calculate-indent): Respect it.
8096
12e10e61
GM
80972012-04-17 Glenn Morris <rgm@gnu.org>
8098
8099 * dired-aux.el (dired-mark-read-string): Doc fix.
8100
30009afd
DA
81012012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8102
8103 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8104 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8105
41f03f4d
GM
81062012-04-17 Glenn Morris <rgm@gnu.org>
8107
8108 * mouse.el (mouse-drag-track):
8109 * speedbar.el (speedbar-frame-mode):
8110 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8111
f45f90f3
LL
81122012-04-16 Leo Liu <sdl.web@gmail.com>
8113
8114 * progmodes/python.el: Trivial cleanup.
8115
94ee8db5
GM
81162012-04-16 Glenn Morris <rgm@gnu.org>
8117
121b8917
GM
8118 * vc/vc.el (vc-string-prefix-p):
8119 * vc/pcvs-util.el (cvs-string-prefix-p):
8120 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8121 * mpc.el (mpc-string-prefix-p):
8122 Make all of these into obsolete aliases for string-prefix-p.
8123 Update callers.
8124 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8125
1197ecfa
GM
8126 * textmodes/two-column.el: Move custom options to the start.
8127 (frame-width): Remove compat definition.
8128 (2C-associate-buffer, 2C-dissociate):
8129 Use with-current-buffer rather than save-excursion.
8130 (2C-dissociate): Force a mode-line update.
8131 (2C-autoscroll): Use ignore-errors.
8132
099e7202
GM
8133 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8134 Autoload trivia.
8135
bf350d6a
GM
8136 * emacs-lisp/cl-extra.el (*random-state*):
8137 Remove unnecessary declaration.
8138
0e829eab
GM
8139 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8140
e3ad7552
GM
8141 * play/cookie1.el (cookie-snarf):
8142 Give an explicit error if input file cannot be read.
8143
68892d27
GM
8144 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8145
20f0c46d
GM
8146 * progmodes/perl-mode.el (c-macro-expand):
8147 Remove unnecessary autoload (it is in loaddefs.el).
8148
5a0978ce
GM
8149 * textmodes/picture.el (picture-desired-column)
8150 (picture-update-desired-column): Convert comments to doc-strings.
8151 (picture-substitute): Remove function.
8152 (picture-mode-map): Initialize in the defvar.
8153
6b955486
GM
8154 * woman.el: Remove eval-after-load for tar-mode.
8155 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8156 (woman-tar-extract-file): Autoload it.
8157
94ee8db5
GM
8158 * frame.el (automatic-hscrolling): Make this alias obsolete.
8159
177eca34
AM
81602012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8161
090bd7cb 8162 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 8163 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
8164 (ispell-dictionary-base-alist): Revert to original XEmacs
8165 friendly version for default. [:alpha:] will be added in
090bd7cb 8166 `ispell-set-spellchecker-params' if needed.
177eca34 8167
c505aaeb
CY
81682012-04-16 Chong Yidong <cyd@gnu.org>
8169
b19dd9d1 8170 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
8171 (imagemagick-register-types): Use it.
8172 (imagemagick-types-inhibit): Add :set function. Allow new value
8173 of t to inhibit all types.
8174
8175 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8176 so we can preload it.
8177
8178 * loadup.el (fboundp): Preload regexp-opt, needed by
8179 imagemagick-register-types.
8180
60efac0f
CY
81812012-04-15 Chong Yidong <cyd@gnu.org>
8182
8183 * frame.el (scrolling): Remove nearly unused customization group.
8184
8185 * scroll-all.el (scroll-all-mode): Move to windows group.
8186
5dd1713e
CY
81872012-04-15 Chong Yidong <cyd@gnu.org>
8188
8189 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8190
e6fd457e
CY
81912012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8192
8193 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 8194 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 8195
e153c136
GM
81962012-04-15 Glenn Morris <rgm@gnu.org>
8197
8198 * simple.el (process-file-side-effects): Doc fix.
8199
e6fd457e 82002012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
8201
8202 * international/mule-cmds.el (set-language-environment): Doc fix.
8203
3603c3b1
JB
82042012-04-14 Juanma Barranquero <lekktu@gmail.com>
8205
8206 * server.el (server-auth-key, server-generate-key): Doc fixes.
8207 (server-get-auth-key): Doc fix. Use `string-match-p'.
8208 (server-start): Reflow docstring.
8209
e6de100c
LI
82102012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8211
8212 * server.el (server-generate-key): `called-interactively-p'
8213 requires a parameter.
8214
29734c21
MN
82152012-04-14 Michal Nazarewicz <mina86@mina86.com>
8216
8217 * server.el (server-auth-key): New variable.
75f1671a 8218 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
8219 (server-start): Use the new variable and functions to allow
8220 setting a permanent server key (bug#9423).
8221
d65c9521
LL
82222012-04-14 Leo Liu <sdl.web@gmail.com>
8223
8224 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8225
5ae255c7
PE
82262012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8227
8228 Spelling fixes.
8229 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8230 Emacs uses American spelling.
8231
d5e6342e
JB
82322012-04-14 Juanma Barranquero <lekktu@gmail.com>
8233
8234 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8235 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8236 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8237 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8238
ab036cd7
SM
82392012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8240
8241 * progmodes/which-func.el (which-func-modes): Change default.
8242
35dc09a1 82432012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
8244
8245 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8246 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8247
35dc09a1 82482012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
8249
8250 * custom.el (custom-theme-set-variables): Doc fix.
8251
35dc09a1 82522012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
8253
8254 * international/mule.el (set-auto-coding-for-load): Doc fix.
8255
35dc09a1 82562012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 8257
35dc09a1
GM
8258 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8259 imenu work again for Objective C Mode. Correct the *-index values,
8260 these having been disturbed by a previous change in 2011-08.
57f845ee 8261
0de3da9f
AM
8262 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8263 Correct two search limits.
8264
35dc09a1 82652012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
8266
8267 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8268
35dc09a1 82692012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
8270
8271 * international/characters.el: Fix sorting.
8272
35dc09a1 82732012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
8274
8275 * international/characters.el: Add more missing Latin case pairs.
8276
35dc09a1 82772012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
8278
8279 * files.el (dir-locals-set-class-variables): Doc fix.
8280
35dc09a1 82812012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 8282
3f1b5bf8
EZ
8283 * international/characters.el: Add set-case-syntax-pair call for
8284 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8285 counterpart. (Bug#11209)
8286
9f847f41
EZ
8287 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8288
35dc09a1 82892012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
8290
8291 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8292
35dc09a1 82932012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 8294
35dc09a1
GM
8295 * textmodes/ispell.el (ispell-dictionary-base-alist):
8296 Add data for Hebrew.
e2627d21 8297
35dc09a1 82982012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 8299
35dc09a1
GM
8300 * net/rcirc.el (rcirc-cmd-quit):
8301 Revert 2012-03-18 change (Bug#11192).
5c14e333 8302
35dc09a1 83032012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
8304
8305 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8306
35dc09a1 83072012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 8308
4517fe3a
SM
8309 * minibuffer.el (completion-in-region-mode-map):
8310 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 8311
b472a594
VD
83122012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8313
8314 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8315
09b95ce3
MY
83162012-04-13 Masatake YAMATO <yamato@redhat.com>
8317
8318 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8319 to allow `C-M-f' and `C-M-b' to move to the nearest path
8320 separator (bug#9511).
8321
4b63a9ca
LI
83222012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8323
8324 * avoid.el: Require cl when compiling. And also move the
8325 `provide' to the end.
8326
7b55b8bf
TV
83272012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8328
8329 * avoid.el (mouse-avoidance-banish-position): New variable.
8330 (mouse-avoidance-banish-destination): Use it (bug#10165).
8331
adedaa1f
LL
83322012-04-13 Leo Liu <sdl.web@gmail.com>
8333
8334 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8335
70e74021
KB
83362012-04-13 Ken Brown <kbrown@cornell.edu>
8337
8338 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 8339 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
8340 (browse-url-filename-alist): For the same reason, don't modify
8341 file:// URLs on Cygwin.
8342
e75e89ba
SM
83432012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8344
8345 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8346 the region on shift if the binding is already shifted (bug#11221).
8347
82f289a4
GM
83482012-04-12 Glenn Morris <rgm@gnu.org>
8349
8350 * mail/mailpost.el: Move to obsolete/.
8351
d333dc4c
DA
83522012-04-12 Drew Adams <drew.adams@oracle.com>
8353
8354 * imenu.el (imenu--generic-function): Ignore invisible definitions
8355 (bug#10123).
8356
0d15b5ba
VD
83572012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8358
8359 * hexl.el (hexl-bits): New variable.
8360 (hexl-options): Mention the variable in the doc string.
75f1671a 8361 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 8362 (hexl-mode): Mention the new variable.
75f1671a
JB
8363 (hexl-mode, hexl-current-address, hexl-current-address):
8364 Use the displen.
0d15b5ba
VD
8365 (hexl-ascii-start-column): New function.
8366 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8367 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8368
64a440db
AM
83692012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8370
8371 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8372 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8373 the encoding, as expected by hunspell.
8374
6decb6c2
SM
83752012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8376
8377 * battery.el (battery--linux-sysfs-regexp): New const.
8378 (battery-status-function): Use it. Remove yeeloong special case.
8379 (battery-yeeloong-sysfs): Remove.
8380 (battery-echo-area-format): Remove yeeloong special case.
8381
088be6fb
SM
83822012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8383
6622e416
SM
8384 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8385 Reported by Noah Friedman.
8386
088be6fb
SM
8387 * subr.el (read-passwd): Use read-string.
8388
b49f886e
LMI
83892012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8390
8391 * vcursor.el (vcursor-move): Increase the priority of the overlay
8392 (bug#9663).
8393
a63067fc
DD
83942012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8395
8396 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8397 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8398
ac3cf14a
WS
83992012-04-11 William Stevenson <yhvh2000@gmail.com>
8400
8401 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8402 define-minor-mode (bug#10760).
8403
c4fc691b 84042012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 8405
4d6769e1 8406 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
8407 that directories matching `grep-find-ignored-files' won't be
8408 pruned (bug#10351).
8409
af23e2e5
CY
84102012-04-11 Chong Yidong <cyd@gnu.org>
8411
8412 * startup.el (command-line): Remove support for long-obsolete
8413 variable font-lock-face-attributes.
8414
ab7ce8c1
GM
84152012-04-11 Glenn Morris <rgm@gnu.org>
8416
8417 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8418
de8c03dc
SM
84192012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8420
8421 * window.el (window--state-get-1): Obey window-point-insertion-type.
8422
050cc68b
LB
84232012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8424
8425 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8426 to previous function when point is on the first character of a
75f1671a 8427 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 8428
a38c310c
GM
84292012-04-11 Glenn Morris <rgm@gnu.org>
8430
effed0c2
GM
8431 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8432 not just file-errors.
8433
a38c310c
GM
8434 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8435 (vc-bzr-sha1): Use internal sha1.
8436
0221e323
SM
84372012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8438
8439 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8440
43956923
SG
84412012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8442
8443 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8444 that start in the middle of the line (bug#10496).
8445
6a8c9eaf
DN
84462012-04-10 Dan Nicolaescu <dann@gnu.org>
8447
8448 * battery.el (battery-linux-proc-acpi): Only one battery is
8449 discharged at a time, but that seems to confuse battery.el when
8450 computing `rate-type' for the battery not being discharged
8451 (bug#10332).
8452
1930bf5d
SM
84532012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8454
2a718f6f
SM
8455 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8456
599430d0
SM
8457 * international/quail.el: Use dolist and simplify.
8458 (quail-define-package, quail-update-keyboard-layout)
8459 (quail-define-rules): Use dolist.
8460 (quail-insert-kbd-layout, quail-get-translation): CSE.
8461
a2754b6c
SM
8462 * tmm.el: Use dolist, remove left over hook.
8463 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8464 Use dolist.
8465 (calendar-load-hook): Don't mess with it.
8466
1930bf5d
SM
8467 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8468 Use derived-mode-p. Run the diff asynchronously.
8469
9f67961c
LMI
84702012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8471
8472 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8473
2a8ce227
JB
84742012-04-10 Juanma Barranquero <lekktu@gmail.com>
8475
8476 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8477 (list-dynamic-libraries--loaded): New function.
8478 (list-dynamic-libraries--refresh): Use it.
8479
8f33b5f8
NW
84802012-04-10 Nathan Weizenbaum <nweiz@google.com>
8481
1930bf5d
SM
8482 * progmodes/python.el (python-fill-paragraph):
8483 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
8484 disabled (bug#7018).
8485
b12f0439
L
84862012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8487
1930bf5d 8488 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
8489 DOS/MS Windows for the Baltic languages. There are still plenty
8490 of texts written in this encoding/codepage (bug#6519).
b12f0439 8491
57c3bd01
GM
84922012-04-10 Glenn Morris <rgm@gnu.org>
8493
8494 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8495 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8496
6c3eab30
FA
84972012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8498
1930bf5d 8499 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
8500 next-line "n" and previous-line "p" in order to make recentf more
8501 consistent with ibuffer, dired or org-mode (bug#9387).
8502
24d78a88
LMI
85032012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8504
bc72b5d9
LMI
8505 * image.el (put-image): Return the overlay created instead of the
8506 optional input string (bug#7834). Note that this may break code
8507 that is (for some reason or other) depending on `put-image'
8508 returning the string.
8509
bd2dba5a
LMI
8510 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8511
74beb59f
LMI
8512 * simple.el (zap-to-char): Allow zapping using input methods
8513 (bug#1580).
8514
24d78a88
LMI
8515 * textmodes/fill.el (fill-region): Leave point and mark where they
8516 were before filling (bug#5399).
8517
263f20cd
GM
85182012-04-09 Glenn Morris <rgm@gnu.org>
8519
8520 * version.el (emacs-bzr-get-version):
8521 Handle lightweight checkouts of local branches.
8522
58d1f797
AS
85232012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8524
263f20cd 8525 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 8526
b4d3bc10
CY
85272012-04-09 Chong Yidong <cyd@gnu.org>
8528
8529 * custom.el (custom-variable-p): Return nil for non-symbol
8530 arguments instead of signaling an error.
8531 (user-variable-p): Obsolete alias for custom-variable-p.
8532
8533 * apropos.el (apropos-variable):
8534 * files-x.el (read-file-local-variable):
8535 * simple.el (set-variable):
8536 * woman.el (woman-mini-help):
8537 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8538
fd06db5d
GM
85392012-04-09 Glenn Morris <rgm@gnu.org>
8540
e5fcdb5e
GM
8541 * startup.el (normal-top-level): Don't look for leim-list.el
8542 in places where it will not be found. (Bug#910)
8543
fd06db5d
GM
8544 * international/mule-cmds.el (set-default-coding-systems):
8545 * files.el (normal-mode):
8546 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8547 This function was removed with ucs-tables.el in 2008.
8548
b39bb7e1
EZ
85492012-04-08 Eli Zaretskii <eliz@gnu.org>
8550
8551 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8552 ispell-encoding8-command to "-i", without a trailing space.
8553 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8554 separate command-line arguments, to specify the encoding, since
8555 that's how hunspell expects it.
8556
5c5b8e23
GM
85572012-04-08 Glenn Morris <rgm@gnu.org>
8558
8559 * loadup.el: Load bindings before cus-start.
8560 This reduces somewhat the number of "rogue" settings in emacs -Q.
8561
a1ed8b05
GM
85622012-04-07 Glenn Morris <rgm@gnu.org>
8563
8564 * version.el (emacs-bzr-get-version): New function.
dfae128a 8565 (emacs-bzr-version): New variable.
a1ed8b05
GM
8566 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8567 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8568
b142f158
EZ
85692012-04-07 Eli Zaretskii <eliz@gnu.org>
8570
dfae128a
GM
8571 * international/uni-bidi.el, international/uni-category.el:
8572 * international/uni-combining.el, international/uni-decimal.el:
8573 * international/uni-decomposition.el, international/uni-digit.el:
8574 * international/uni-lowercase.el, international/uni-mirrored.el:
8575 * international/uni-name.el, international/uni-numeric.el:
8576 * international/uni-titlecase.el, international/uni-uppercase.el:
8577 Update for Unicode 6.1.
b142f158 8578
9078ead6
EZ
85792012-04-07 Eli Zaretskii <eliz@gnu.org>
8580
8581 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8582
f23d2c7d
LMI
85832012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8584
8585 * window.el (shrink-window): Mention the `window-min-height'
8586 variable in the doc string.
8587
0a0a3573
BG
85882012-04-05 Bastien Guerry <bzg@altern.org>
8589
8590 * color.el (color-lighten-name): Fix typo.
8591
e5248ac9
SM
85922012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8593
8594 * server.el (server--on-display-p): New function.
8595 (server--on-display-p): Use it.
8596
b4243e22
GV
85972012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8598
8599 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8600 (bug#11145).
8601
305d9f44
SM
86022012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8603
8604 * comint.el (comint--common-quoted-suffix): Check string boundary
8605 before comparing (bug#11158).
8606 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8607
3d439cd1
CY
86082012-04-04 Chong Yidong <cyd@gnu.org>
8609
321cc491
CY
8610 * minibuffer.el (completion-extra-properties): Doc fix.
8611
3d439cd1
CY
8612 * subr.el (delayed-warnings-hook): Doc fix.
8613
2d562c0f
DU
86142012-04-04 Daiki Ueno <ueno@unixuser.org>
8615
8616 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8617 selection (Bug#11159).
8618 (epa-insert-keys): Inform that the default public key will be
8619 exported if no key is selected.
8620
4443f204
RS
86212012-04-04 Richard Stallman <rms@gnu.org>
8622
8623 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8624
529c06b6
CY
86252012-04-03 Chong Yidong <cyd@gnu.org>
8626
8627 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8628 mail-insert-file, not its obsolete alias mail-attach-file.
8629
66b907dc
MA
86302012-04-03 Michael Albinus <michael.albinus@gmx.de>
8631
8632 * notifications.el (notifications-notify): Fix docstring.
8633
c0ea195d
GM
86342012-04-02 Glenn Morris <rgm@gnu.org>
8635
8636 * emacs-lisp/authors.el (authors-aliases): Another addition.
8637
5ca64e00
MA
86382012-04-02 Michael Albinus <michael.albinus@gmx.de>
8639
8640 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8641 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8642 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8643
42ee526b
CY
86442012-04-01 Chong Yidong <cyd@gnu.org>
8645
8646 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8647 Handle root directory properly.
8648 (copy-directory): Caller changed.
8649
8650 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8651 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8652
0b021094
GM
86532012-03-31 Glenn Morris <rgm@gnu.org>
8654
40f86458
GM
8655 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8656
7019c177
GM
8657 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8658
a1daddd6
GM
8659 * calendar/calendar.el (calendar-window-list)
8660 (calendar-hide-window): Restore. (Bug#11140)
8661 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8662
0b021094
GM
8663 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8664
40311efc
TV
86652012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8666
8667 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8668 Check if file is a symlink (Bug#10489).
8669
8670 * files.el (copy-directory): Likewise.
8671
5319014e
CY
86722012-03-30 Chong Yidong <cyd@gnu.org>
8673
8674 * image.el (imagemagick-types-inhibit)
8675 (imagemagick-register-types): Doc fix.
8676
935d1290
AM
86772012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8678
090bd7cb 8679 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 8680 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 8681 and treats ~word as ordinary words in pipe mode.
935d1290 8682
61c6e8fd
GM
86832012-03-30 Glenn Morris <rgm@gnu.org>
8684
8685 * tutorial.el (help-with-tutorial): Ensure local variables don't
8686 happen to make the buffer read-only. (Bug#11127)
8687
81fdff00
SM
86882012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8689
8690 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8691 (perl-calculate-indent): Return `noindent' in strings.
8692
6e7a6ec0
SS
86932012-03-28 Sam Steingold <sds@gnu.org>
8694
8695 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8696 instead of the broken adhockery which does not prevent calendar
8697 buffers from being displayed at random after exit.
8698 (calendar-window-list, calendar-hide-window): Remove the broken
8699 adhockery.
8700
fee88ca0
GM
87012012-03-28 Glenn Morris <rgm@gnu.org>
8702
8703 * replace.el (query-replace-map): Doc fix.
8704
38de3354
AS
87052012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8706
8707 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8708 contents. (Bug#11109)
8709
b973155e
SM
87102012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8711
8712 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8713 (bug#11077).
8714 (avl-tree--check, avl-tree--check-node): New funs.
8715
dcb6e7b3
MR
87162012-03-27 Martin Rudalics <rudalics@gmx.at>
8717
8718 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
8719 (switch-to-prev-buffer, switch-to-next-buffer):
8720 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
8721 showing a buffer already is done on the same frame.
8722
b4fa35fa
GM
87232012-03-27 Glenn Morris <rgm@gnu.org>
8724
8725 * startup.el (mail-host-address): Doc fix.
8726
f9210e18
SM
87272012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8728
8729 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8730 than 197 variables.
8731
c0bf7753
AF
87322012-03-26 Ami Fischman <ami@fischman.org>
8733
8734 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8735
33da7b16
GM
87362012-03-26 Glenn Morris <rgm@gnu.org>
8737
02243d9d
GM
8738 * files.el (save-buffers-kill-emacs): Doc fix.
8739
33da7b16
GM
8740 * startup.el (normal-top-level, command-line, command-line-1):
8741 Give them doc strings.
8742
e5a69fd0
EZ
87432012-03-25 Eli Zaretskii <eliz@gnu.org>
8744
8745 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 8746 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 8747
9a69676a
CY
87482012-03-25 Chong Yidong <cyd@gnu.org>
8749
4125cb8b
CY
8750 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8751 theme if it was previously enabled before (Bug#11031).
8752
dd470960
CY
8753 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8754 spec with custom-face-get-current-spec if its :shown-value is not
8755 determined yet (Bug#9337).
4125cb8b 8756 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 8757
9a69676a
CY
8758 * button.el (button-at): Minor addition to docstring.
8759
6e7e90fa
SL
87602012-03-24 Simon Leinen <simon.leinen@gmail.com>
8761
8762 * vc/vc.el (vc-merge): Fix a prompt.
8763
f06e2758
CY
87642012-03-24 Chong Yidong <cyd@gnu.org>
8765
8766 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8767 point (Bug#9623).
8768
6e7e90fa
SL
8769 * button.el (button-at): Minor addition to docstring.
8770
b9d0879b
SM
87712012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8772
8773 * newcomment.el (comment-choose-indent): No space after BOL.
8774
e71cebb3
SS
87752012-03-22 Sam Steingold <sds@gnu.org>
8776
8777 * window.el (switch-to-prev-buffer): Revert last patch because the
8778 bug turned out to be an advertised feature (Elisp manual 28.14).
8779
335aff35
GM
87802012-03-22 Glenn Morris <rgm@gnu.org>
8781
8782 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8783 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8784
c676576a
LMI
87852012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8786
8787 * net/network-stream.el (network-stream-open-starttls): Make error
8788 message under Windows be less misleading.
8789
126f3d39
LW
87902012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8791
8792 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8793 understands (bug#9942).
8794
64fee311
CY
87952012-03-22 Chong Yidong <cyd@gnu.org>
8796
8797 * simple.el (end-of-visible-line): Handle return value of
8798 next-single-property-change properly (Bug#9371).
8799
a640d29a
KH
88002012-03-22 Kenichi Handa <handa@m17n.org>
8801
8802 * international/quail.el (quail-insert-kbd-layout): Fix previous
8803 change. To avoid unwanted bidi reordering, use
8804 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8805
39675016
DG
88062012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8807
8808 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8809 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8810 (ruby-beginning-of-indent): Be more careful with the difference
8811 between word-boundary and symbol boundary.
8812 (ruby-mode-syntax-table): Make : a symbol constituent.
8813
0a6934fc 88142012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 8815
3d008e4f
SM
8816 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8817
0a6934fc
SM
88182012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8819
af67c9d7
SM
8820 * progmodes/etags.el (tags-completion-at-point-function):
8821 Improve last fix.
8822
1acad97c
SM
8823 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8824
e298b5da
SS
88252012-03-21 Sam Steingold <sds@gnu.org>
8826
8827 * progmodes/etags.el (tags-completion-at-point-function):
8828 Avoid the error when point is inside the pattern.
8829
91d82a70
JY
88302012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8831
8832 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8833 line (Bug#10855).
8834
69188b79
CY
88352012-03-21 Drew Adams <drew.adams@oracle.com>
8836
8837 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8838
99fc91fe
AK
88392012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8840
8841 * ido.el (ido-set-current-directory, ido-read-internal)
8842 (ido-choose-completion-string, ido-completion-help): Handle nil
8843 value of ido-completion-buffer (Bug#11008).
8844
087bbb4c
SS
88452012-03-21 Sam Steingold <sds@gnu.org>
8846
8847 * window.el (switch-to-prev-buffer): Do not switch to a visible
8848 window previous buffer, just like with the frame previous buffers.
8849
fb5b8aca
CY
88502012-03-21 Chong Yidong <cyd@gnu.org>
8851
8852 * faces.el (make-face, make-empty-face, copy-face):
8853 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8854 Doc fixes.
8855
dc9924b8
SM
88562012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8857
8858 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8859 (widget-complete): Remove broken use of it.
8860
f0bcceb9
CY
88612012-03-20 Chong Yidong <cyd@gnu.org>
8862
dc9924b8
SM
8863 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8864 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
8865 characters.
8866
ee52ebf3
TH
88672012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8868
8869 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8870 to draw rectangles, not squares. (Regression introduced by revno
8871 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8872
4c5779ab
CY
88732012-03-18 Chong Yidong <cyd@gnu.org>
8874
8875 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8876 it is not yet defined (for temacs).
8877
15360934
LL
88782012-03-18 Leo Liu <sdl.web@gmail.com>
8879
735135f9
PE
8880 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
8881 prefix.
15360934 8882
d9a8eb66
EZ
88832012-03-17 Eli Zaretskii <eliz@gnu.org>
8884
8885 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8886 (ispell-choices-win-default-height, ispell-silently-savep)
8887 (ispell-dictionary-alist, ispell-encoding8-command)
8888 (ispell-check-version, ispell-aspell-find-dictionary)
8889 (ispell-valid-dictionary-list, ispell-words-keyword)
8890 (ispell-get-word, ispell-internal-change-dictionary)
8891 (ispell-region, ispell-skip-region-list)
8892 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8893 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8894 (ispell-message-text-end, ispell-message)
8895 (ispell-buffer-local-parsing): Doc fix.
8896
f02ff80d
J
88972012-03-13 Jambunathan K <kjambunathan@gmail.com>
8898
8899 * htmlfontify.el: Add support for code block fontification for ODT
8900 export (Bug #9914).
8901 (hfy-optimisations): Define new option
8902 `body-text-only'
8903 (hfy-fontify-buffer): Honor above setting.
8904 (hfy-begin-span, hfy-end-span): New routines factored out form
8905 `hfy-fontify-buffer'.
8906 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8907 that permit insertion of custom tags.
8908 (hfy-fontify-buffer): Use above handlers.
8909 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8910 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 8911 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 8912 over multiple runs. This is made possible by having the caller let
f02ff80d
J
8913 bind a special variable `hfy-user-sheet-assoc'.
8914 (htmlfontify-string): New defun.
8915 (hfy-compile-face-map): Make sure that the last char in the
8916 buffer is correctly fontified.
8917 (hfy-face-resolve-face): Whitespace only change.
8918
9ac7a13f
EZ
89192012-03-17 Eli Zaretskii <eliz@gnu.org>
8920
8921 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8922 message more clear.
8923
e2b5bdd7
LL
89242012-03-16 Leo Liu <sdl.web@gmail.com>
8925
8926 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8927
2e492df3
AM
89282012-03-16 Alan Mackenzie <acm@muc.de>
8929
8930 Further optimise the handling of large macros.
8931
8932 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8933 limit to a call of `c-literal-limits'.
8934 (c-determine-+ve-limit): New function.
dc9924b8
SM
8935 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8936 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
8937 In CASE 5B, restrict a search limit to 500.
8938 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8939
8940 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8941 Restrict macro bounds to +-500 from after-change's BEG END.
8942
50e94f0c
LL
89432012-03-16 Leo Liu <sdl.web@gmail.com>
8944
8945 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8946
6f09f6ed
AH
89472012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
8948
8949 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 8950 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 8951
c7e73d51
GM
89522012-03-16 Glenn Morris <rgm@gnu.org>
8953
da986230
GM
8954 * view.el (view-buffer, view-buffer-other-window)
8955 (view-buffer-other-frame): Doc fixes re special mode-class.
8956
0835f01e
GM
8957 * subr.el (eval-after-load): If named feature is provided not from
8958 a file, run after-load forms. (Bug#10946)
8959
c7e73d51
GM
8960 * calendar/calendar.el (calendar-insert-at-column):
8961 Handle non-unit-width characters a bit better. (Bug#10978)
8962
3f2eafd1
CY
89632012-03-15 Chong Yidong <cyd@gnu.org>
8964
8965 * emacs-lisp/ring.el (ring-extend): New function.
8966 (ring-insert+extend): Extend the ring correctly (Bug#11019).
8967
8968 * comint.el (comint-read-input-ring)
8969 (comint-add-to-input-history): Grow comint-input-ring lazily.
8970
103af3fe
SM
89712012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8972
663b1677
SM
8973 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8974 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8975
103af3fe
SM
8976 * imenu.el: Fix multiple inheritance breakage (bug#9199).
8977 (imenu-add-to-menubar): Don't add a redundant index.
8978 (imenu-update-menubar): Handle a dynamically composed keymap.
8979
899cb7cb
KY
89802012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
8981
8982 * mail/sendmail.el (mail-encode-header):
8983 Bind rfc2047-encode-encoded-words to nil.
8984
3809f91d
GM
89852012-03-13 Glenn Morris <rgm@gnu.org>
8986
8987 * calendar/calendar.el (calendar-string-spread):
8988 Handle non-unit-width characters a bit better. (Bug#10978)
8989
9e345a01
LL
89902012-03-13 Leo Liu <sdl.web@gmail.com>
8991
8992 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8993 directory and file as argument (Bug#10822).
8994
4a07df36
KS
89952012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8996
8997 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8998 For dynamically generated code, follow $PC.
8999 (gdb-disassembly-handler-custom): Handle no function name case.
9000
4aaa9356
TL
90012012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9002
9003 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9004 * emulation/ws-mode.el (ws-query-replace):
9005 * sort.el (sort-regexp-fields):
9006 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9007
225979da
SM
90082012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9009
9010 * dabbrev.el: Fix cycle completion order (bug#10963).
9011 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9012 (dabbrev-completion): Don't use an obarray; provide
9013 a cycle-sort-function.
9014
e2f1fdab
LL
90152012-03-12 Leo Liu <sdl.web@gmail.com>
9016
dc9924b8 9017 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
9018 (kill-do-not-save-duplicates): Doc fix.
9019
b19490ed
SM
90202012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9021
9022 * dabbrev.el: Fix cycle completion (bug#10963).
9023 Use lexical binding and wrap to 80 columns.
9024 (dabbrev-completion): Delay computing the list of completions.
9025
4b05d722
KH
90262012-03-12 Kenichi Handa <handa@m17n.org>
9027
9028 * international/quail.el (quail-insert-kbd-layout): Surround each
9029 row by LRO and PDF instead of inserting many LRMs. Pad the left
9030 and right of each non-spacing marks. Insert invisible space
9031 between lower and upper characters to prevent composition.
9032
dbbc2e69
SM
90332012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9034
9035 * minibuffer.el (minibuffer-complete): Don't get confused when the
9036 function is run twice via different commands (bug#10958).
9037 (complete-with-action): Fix docstring.
9038
292112ed
CY
90392012-03-12 Chong Yidong <cyd@gnu.org>
9040
5d1ac394
CY
9041 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9042 (nxml-completion-at-point-function): New function.
9043 (nxml-mode): Use it.
9044 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9045
292112ed
CY
9046 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9047 Load generated autoloads file before byte compiling (Bug#10970).
9048 (package--make-autoloads-and-compile): New helper fun.
9049
4098f8f7
CS
90502012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9051
9052 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9053
8f754691
MA
90542012-03-11 Michael Albinus <michael.albinus@gmx.de>
9055
9056 * autorevert.el (auto-revert-handler): Ensure, that
9057 file-readable-p is applied only for local files or in
9058 auto-revert-tail-mode.
9059
e29ab36b
AS
90602012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9061
dbbc2e69
SM
9062 * server.el (server-eval-at): Handle non-tcp connections.
9063 Decode result string.
ad0bf5b6 9064
e29ab36b
AS
9065 * server.el (server-msg-size): New constant.
9066 (server-reply-print): New function.
9067 (server-eval-and-print): Use it.
9068 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9069 Handle -print-nonl.
9070
de5939ba
CS
90712012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9072
9073 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9074 (Bug#10987).
9075
0c93eabf
CY
90762012-03-11 Chong Yidong <cyd@gnu.org>
9077
397a688f
CY
9078 * simple.el (goto-line): Doc fix (Bug#9938).
9079
2cc775f9
CY
9080 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9081
0c93eabf
CY
9082 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9083 when finished (Bug#10963).
9084
c491fa41
MR
90852012-03-11 Martin Rudalics <rudalics@gmx.at>
9086
9087 * window.el (split-window-below): Fix bug in case where
9088 split-window-keep-point is nil (Bug#10971).
9089
300e8fa5
JL
90902012-03-11 Juri Linkov <juri@jurta.org>
9091
9092 * replace.el (replace-highlight): Set isearch-word to nil
9093 unconditionally. (Bug#10887)
9094
dbf6c5a1
EZ
90952012-03-10 Eli Zaretskii <eliz@gnu.org>
9096
9097 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9098 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 9099 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
9100 (mairix-widget-create-query): Add usage information about mairix
9101 search forms: negating words, searching for substrings, etc.
9102
b9e501de
JP
91032012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9104
9105 * international/fontset.el (font-encoding-alist): Add an entry for
9106 ksx1001 (Bug#5667).
9107
92795c91
RS
91082012-03-10 Richard Stallman <rms@gnu.org>
9109
1694e6c1
RS
9110 * mail/sendmail.el (mail-encode-header):
9111 Set rfc2047-encode-encoded-words.
9112
607e8555
RS
9113 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9114
de3bc99a
RS
9115 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9116 view buffer means not swapped.
9117 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9118 (rmail-write-region-annotate): Error if real text has disappeared.
9119
92795c91
RS
9120 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9121
699bd04e
CY
91222012-03-10 Chong Yidong <cyd@gnu.org>
9123
9124 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
9125 * emulation/cua-base.el (cua--init-keymaps):
9126 Add delete-forward-char to remappings (Bug#9666).
699bd04e 9127
570a1714
MR
91282012-03-10 Martin Rudalics <rudalics@gmx.at>
9129
dbbc2e69
SM
9130 * speedbar.el (speedbar-unhighlight-one-tag-line):
9131 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 9132
82dcf4e4
CY
91332012-03-10 Chong Yidong <cyd@gnu.org>
9134
7a2c7ca7
CY
9135 * minibuffer.el (completion-in-region, completion-help-at-point):
9136 Give the completion field overlay a high priority (Bug#6830).
9137
82dcf4e4
CY
9138 * dired.el (dired-goto-file): Recognize absolute file name
9139 listings (Bug#7126).
9140 (dired-goto-file-1): New helper function.
9141 (dired-toggle-read-only): Inhibit warnings.
9142
052e28ac
MA
91432012-03-09 Michael Albinus <michael.albinus@gmx.de>
9144
75f1671a 9145 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
9146 there are no properties.
9147
95d5e396
LL
91482012-03-09 Leo Liu <sdl.web@gmail.com>
9149
9150 * savehist.el (savehist-printable): Stricter check for string
9151 value (Bug#10937).
9152
3f018d6d
EZ
91532012-03-09 Eli Zaretskii <eliz@gnu.org>
9154
dbbc2e69
SM
9155 * mail/smtpmail.el (smtpmail-send-it):
9156 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
9157 valid mbox format.
9158
f7fd3d79
GM
91592012-03-09 Glenn Morris <rgm@gnu.org>
9160
9161 * files.el (dir-locals-find-file):
9162 Don't check result is regular, readable.
9163 (dir-locals-read-from-file): Demote errors.
9164
6ff6e72f
EZ
91652012-03-08 Eli Zaretskii <eliz@gnu.org>
9166
dbbc2e69
SM
9167 * international/quail.el (quail-insert-kbd-layout):
9168 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
9169 layout cell, to prevent their reordering by bidi display engine.
9170 For details, see the discussion in
9171 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9172
9cec7834
AM
91732012-03-08 Alan Mackenzie <acm@muc.de>
9174
9175 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9176 the starting position; make it extend the marked region when
9177 invoked repeatedly - all under appropriate circumstances.
9178 Fixes bugs #5525, #10906.
9179
9a40b8d4
GM
91802012-03-08 Glenn Morris <rgm@gnu.org>
9181
9182 * files.el (locate-dominating-file, dir-locals-find-file):
9183 Undo 2012-03-06 change.
9184
7a08ed35
EZ
91852012-03-07 Eli Zaretskii <eliz@gnu.org>
9186
dbbc2e69
SM
9187 * international/quail.el (quail-help):
9188 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
9189 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9190 for the reason.
9191
5aca4f71 91922012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
9193
9194 Avoid superfluous registering of signals. (Bug#10807)
9195
9196 * notifications.el (notifications-on-action-object)
9197 (notifications-on-close-object): New defvars.
9198 (notifications-on-action-signal, notifications-on-closed-signal):
9199 Unregister the signal if not needed any longer.
9200 (notifications-notify): Register `notifications-action-signal' or
9201 `notifications-closed-signal', if :on-action or :on-close has been
9202 passed as argument.
9203
78e8b10a
CY
92042012-03-07 Chong Yidong <cyd@gnu.org>
9205
9206 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9207 non-X platforms.
9208
69481eb8
GM
92092012-03-06 Glenn Morris <rgm@gnu.org>
9210
9211 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9212 (x-disown-selection-internal, x-get-selection-internal):
9213 Doc fix (add arglist signatures). (Bug#10783)
9214
133b8e11
KS
92152012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9216
9217 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9218 Handle breakpoints with no "type".
9219
99a83064
GM
92202012-03-06 Glenn Morris <rgm@gnu.org>
9221
9222 * files.el (locate-dominating-file): Add optional predicate argument.
9223 (dir-locals-find-file): Make use of above change.
9224
17798e78
TTN
92252012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9226
9227 * info.el (Info-insert-dir): Also try "dir.gz".
9228
eb182446
GM
92292012-03-06 Glenn Morris <rgm@gnu.org>
9230
8f2114ee
GM
9231 * files.el (dir-locals-find-file):
9232 Ignore non-readable or non-regular files. (Bug#10928)
9233
eb182446
GM
9234 * files.el (locate-dominating-file): Doc fix.
9235
24679323
AS
92362012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9237
9238 * calendar/calendar.el (calendar-set-mode-line):
9239 `getenv' returns a string. (Bug#10951)
9240
01d972a9
LL
92412012-03-05 Leo Liu <sdl.web@gmail.com>
9242
109aa8a9
LL
9243 * simple.el (backward-delete-char-untabify): Constrain point to
9244 field (Bug#10939).
9245
01d972a9
LL
9246 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9247
10607bea
CY
92482012-03-05 Chong Yidong <cyd@gnu.org>
9249
9250 * simple.el (count-words): If called from Lisp, return the word
9251 count, for symmetry with `count-lines'. Arglist changed.
9252 (count-words--message): Args changed. Consolidate counting code
9253 from count-words and count-words-region.
9254 (count-words-region): Caller changed.
9255 (count-lines-region): Make it an obsolete alias.
9256
5dd11cfe
TH
92572012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9258
9259 * saveplace.el (save-place-to-alist)
9260 (save-place-ignore-files-regexp): Allow value nil to disable this
9261 feature.
9262
c349f4e6
CY
92632012-03-04 Chong Yidong <cyd@gnu.org>
9264
9265 * faces.el (face-spec-reset-face): For the default face, reset the
9266 attributes to default values (Bug#10748).
9267
e627be4c
LMI
92682012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9269
9270 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9271 previous patch: Check `message-send-mail-function', and not the
9272 default function (bug#10897).
9273
ebeabff4
MA
92742012-03-04 Michael Albinus <michael.albinus@gmx.de>
9275
a41a6cf4
MA
9276 * notifications.el (notifications-on-action-signal)
9277 (notifications-on-closed-signal): Check for unique service name of
9278 incoming event. Fix error in removing entry.
ebeabff4 9279 (top): Register for signals with wildcard service name.
a41a6cf4 9280 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 9281
c1ca42b4
CY
92822012-03-04 Chong Yidong <cyd@gnu.org>
9283
dc9924b8 9284 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 9285
ea16568d
GM
92862012-03-04 Glenn Morris <rgm@gnu.org>
9287
9288 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9289 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9290 (expand-abbrev, define-abbrev-table): Doc fixes.
9291
fbae4637
LMI
92922012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9293
9294 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9295 `message-default-send-mail-function' and not `send-mail-function'
9296 when doing the prompting for `sendmail-query-once' before sending
9297 in Message buffers (bug#10897).
9298
a1e7225c
LMI
9299 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9300 This is inconsistent with all the other stream functions, which leave
9301 the setting up to the higher levels (if so wanted) (bug#10931).
9302
56d093a9
AM
93032012-03-02 Alan Mackenzie <acm@muc.de>
9304
9305 Depessimize the handling of very large macros.
9306
9307 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9308 (c-macro-cache-syntactic): New variables to implement a one
9309 element macro cache.
9310 (c-invalidate-macro-cache): New function.
9311 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9312 Adapt to use the new cache.
9313 (c-state-safe-place): Use better the cache of safe positions.
9314 (c-state-semi-nonlit-pos-cache)
9315 (c-state-semi-nonlit-pos-cache-limit):
9316 New variables for...
9317 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9318 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
9319 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9320 Use c-state-semi-safe-place.
56d093a9 9321
dbbc2e69
SM
9322 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9323 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 9324
817e5c3d
MA
93252012-03-02 Michael Albinus <michael.albinus@gmx.de>
9326
dbbc2e69
SM
9327 * jka-compr.el (jka-compr-call-process):
9328 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
9329 not remote.
9330
a032a702
MA
93312012-03-01 Michael Albinus <michael.albinus@gmx.de>
9332
9333 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9334 access of FILE2, if FILE1 does not exist.
9335
99a54f21
MA
9336 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9337 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9338
9339 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9340 Add "PAGER=" to `process-environment'.
9341
f6561e1f
MM
93422012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9343
9344 * progmodes/sql.el: Bug fix
9345 (sql-get-login-ext): Save login values in globals.
9346 (sql-get-login): Use new version of `sql-get-login-ext'.
9347 (sql-interactive-mode): Set global `sql-connection' to nil.
9348 (sql-connect): Set global values for connection.
9349 (sql-product-interactive): Save global values as buffer local.
9350
2d44d9cc
LL
93512012-02-29 Leo Liu <sdl.web@gmail.com>
9352
9353 * abbrev.el (define-abbrevs): Reset sys to nil.
9354
96b49301 93552012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9356
bf7f9bc5
JB
9357 * files.el (file-equal-p): Rename from `files-equal-p'.
9358 Return nil when one or both files don't exist.
96b49301 9359 (file-subdir-of-p): Now only top directory must exists,
9360 return nil if it doesn't.
bf7f9bc5
JB
9361 (copy-directory): No need to test with `file-subdir-of-p' after
9362 creating dir.
9363 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9364 to `file-equal-p'.
96b49301 9365
44e97401
GM
93662012-02-28 Glenn Morris <rgm@gnu.org>
9367
9368 * shell.el (shell-mode):
9369 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9370 * play/landmark.el (landmark-font-lock-face-O):
9371 * play/handwrite.el (handwrite):
9372 * play/gomoku.el (gomoku-O):
9373 * net/browse-url.el (browse-url-browser-display):
9374 * international/mule.el (define-charset):
9375 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9376 * filesets.el (filesets-find-file-delay):
9377 * eshell/em-xtra.el (eshell-xtra):
9378 * eshell/em-unix.el (eshell-grep):
9379 * emulation/viper.el (viper-mode):
9380 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9381 * emacs-lisp/easymenu.el (easy-menu-define):
9382 * calendar/timeclock.el (timeclock-use-display-time):
9383 * bs.el (bs-mode):
9384 * bookmark.el (bookmark-save-flag):
9385 Doc fix (standardize possessive apostrophe usage).
9386
c98c6276
CY
93872012-02-27 Chong Yidong <cyd@gnu.org>
9388
bf7f9bc5
JB
9389 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9390 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 9391
c98c6276
CY
9392 * font-lock.el (font-lock-specified-p): Rename from
9393 font-lock-spec-present. Callers changed.
9394
9c62cd04 93952012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 9396
bf7f9bc5
JB
9397 * emacs-lisp/package.el (package-compute-transaction):
9398 Handle holding a package version to t in package-load-list.
8ac9e529 9399
530739c9
MA
94002012-02-26 Michael Albinus <michael.albinus@gmx.de>
9401
9402 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9403 (tramp-get-inode, tramp-get-device): Use cached values.
9404
487915d7
AM
94052012-02-26 Alan Mackenzie <acm@muc.de>
9406
9407 Check there is a font-lock specification before doing initial
9408 fontification.
9409
9410 * font-core.el (font-lock-mode): Move the conditional from
9411 :after-hook to font-lock-initial-fontify.
9412 (font-lock-default-function): Move the check for a specification
9413 to font-lock-spec-present.
9414
dc9924b8 9415 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
9416 (font-lock-spec-present): New function.
9417
4fd96557
JB
94182012-02-26 Jim Blandy <jimb@red-bean.com>
9419
9420 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9421 (gdb-send): Apply it to the operand of the '-interpreter-exec
9422 console' command, so that we can pass arguments with (say) quotes
9423 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9424
9a4888c0
CY
94252012-02-26 Chong Yidong <cyd@gnu.org>
9426
07498861
CY
9427 * help-fns.el (describe-function-1): Clarify description of
9428 remapping (Bug#10844).
9429
9a4888c0
CY
9430 * files.el (files-equal-p): Doc fix.
9431 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9432 and quit the loop once a mismatch is found.
9433
ea8fb88d
JB
94342012-02-25 Juanma Barranquero <lekktu@gmail.com>
9435
9436 * bs.el (bs--show-with-configuration): Don't throw an error
9437 if the window cannot be split; otherwise, subsequent calls to
9438 bs-show fail, restoring a stale window config. (Bug#10882)
9439
525795c1
JD
94402012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9441
9442 * term/ns-win.el (global-map): Bind ns-drag-file to
9443 ns-find-file (Bug#5855, Bug#10050).
9444
f008086f
AS
94452012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9446
9447 * calendar/parse-time.el (parse-time-string): Allow extractor to
9448 return nil.
9449
a3fcfa99
MA
94502012-02-25 Michael Albinus <michael.albinus@gmx.de>
9451
91027d08
JB
9452 * net/tramp.el (tramp-file-name-for-operation):
9453 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
9454
9455 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
9456 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9457 Add COPY-CONTENTS argument.
a3fcfa99 9458
67b0de11
CY
94592012-02-25 Chong Yidong <cyd@gnu.org>
9460
9461 Add custom groups for VC backends, for consistency with vc-bzr.
9462
9463 * vc/vc-arch.el (vc-arch):
9464 * vc/vc-cvs.el (vc-cvs):
9465 * vc/vc-git.el (vc-git):
9466 * vc/vc-hg.el (vc-hg):
9467 * vc/vc-mtn.el (vc-mtn):
9468 * vc/vc-rcs.el (vc-rcs):
9469 * vc/vc-sccs.el (vc-sccs):
9470 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9471 All relevant defcustoms reassigned.
9472
3c9dfce6
CY
94732012-02-25 Chong Yidong <cyd@gnu.org>
9474
1339bf43
CY
9475 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9476
3c9dfce6
CY
9477 * term/x-win.el (x-initialize-window-system): Reduce default for
9478 x-selection-timeout to 5 seconds (Bug#8869).
9479
25b2e303 94802012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9481
ec70a47d
GM
9482 * files.el (files-equal-p, file-subdir-of-p): New functions.
9483 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 9484 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
9485 * dired-aux.el (dired-copy-file-recursive): Same.
9486 (dired-create-files): Modify destination when source is equal to
9487 dest when copying files.
53a46cd0 9488 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 9489
914260cd
MA
94902012-02-24 Michael Albinus <michael.albinus@gmx.de>
9491
9492 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9493 (Bug#10874)
9494
2cb228f7
AM
94952012-02-23 Alan Mackenzie <acm@muc.de>
9496
9497 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9498 parameter "after-hook:" to allow the expansion to run code after
9499 the execution of the mode hooks.
9500
9501 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 9502 from font-lock-mode-internal.
2cb228f7 9503
91027d08 9504 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
9505 :after-hook.
9506
8f0fde21
SM
95072012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9508
3e88618b
SM
9509 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9510 (completion--cache-all-sorted-completions): New function.
9511 (completion-all-sorted-completions): Use it.
9512 (completion--do-completion, minibuffer-force-complete):
9513 Use it to re-instate the flush hook.
9514
8f0fde21
SM
9515 * icomplete.el (icomplete-completions): Replace last fix with a better
9516 one (bug#10850).
9517
8e911f6f
DG
95182012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9519
9520 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9521 when it might call us back infinitely (bug#10797).
9522
49fe4321
GM
95232012-02-23 Glenn Morris <rgm@gnu.org>
9524
9525 * minibuffer.el (completion-category-overrides): Doc fix.
9526
b291b572
SM
95272012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9528
9529 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9530 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9531
31a9ef2e
GM
95322012-02-23 Glenn Morris <rgm@gnu.org>
9533
5e6e6794 9534 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
9535 (authors-obsolete-files-regexps, authors-ignored-files)
9536 (authors-ambiguous-files, authors-renamed-files-alist):
9537 Add more entries.
9538
0bd1e074
JL
95392012-02-23 Juri Linkov <juri@jurta.org>
9540
9541 * isearch.el (isearch-occur): Sync interactive spec with occur's
9542 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9543
b617673c
JL
9544 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9545
19e9789e
JL
95462012-02-22 Juri Linkov <juri@jurta.org>
9547
9548 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9549 (ucs-insert): Doc fix. Check for hex digits in the string.
9550 Don't display `nil' in the error message. (Bug#10857)
9551
f41ce09d
AM
95522012-02-22 Alan Mackenzie <acm@muc.de>
9553
7a71b18d 9554 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 9555
ac2eceee
GM
95562012-02-22 Glenn Morris <rgm@gnu.org>
9557
9558 * ffap.el (ffap-c-path):
9559 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9560
abd1f678
CY
95612012-02-22 Chong Yidong <cyd@gnu.org>
9562
9563 * custom.el (load-theme): Doc fix.
9564
f25aef2e
GM
95652012-02-22 Glenn Morris <rgm@gnu.org>
9566
9567 * dired-x.el (dired-guess-shell-alist-default):
9568 Remove escape sequences from nroff output. (Bug#172)
9569
5f8dc2ca
GM
95702012-02-21 Glenn Morris <rgm@gnu.org>
9571
6ff86ec4
GM
9572 * vc/emerge.el (emerge-defvar-local):
9573 Set `permanent-local' property rather than unused `preserved'.
9574
be3223a3 9575 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
9576 (picture-mode-map): Use it. (Bug#10860)
9577 (picture-mode): Doc fix.
9578
3fe58f4f
JB
95792012-02-21 Juanma Barranquero <lekktu@gmail.com>
9580
9581 * newcomment.el (uncomment-region-default): Remove unused binding.
9582
f9a998c3
GM
95832012-02-21 Glenn Morris <rgm@gnu.org>
9584
9585 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9586 (picture-self-insert, picture-tab-chars): Doc fix.
9587 (picture-mode-map): Fix C-a, C-e.
9588
c6029348
GM
95892012-02-20 Glenn Morris <rgm@gnu.org>
9590
9591 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9592
ab1ce9d7
LL
95932012-02-20 Leo Liu <sdl.web@gmail.com>
9594
9595 * icomplete.el (icomplete-completions): Check FROM arg before
9596 passing to substring (Bug#10850).
9597
0fd40f89
CY
95982012-02-19 Chong Yidong <cyd@gnu.org>
9599
9600 * comint.el: Require ansi-color.
9601 (comint-output-filter-functions): Add ansi-color-process-output.
9602
9603 * ansi-color.el: Don't set comint-output-filter-functions; it is
9604 now in the initial value defined in comint.el.
9605 (ansi-color-apply-face-function): New variable.
9606 (ansi-color-apply-on-region): Use it.
9607 (ansi-color-apply-overlay-face): New function.
9608
9609 * shell.el (shell): No need to require ansi-color.
9610 (shell-mode): Use ansi-color-apply-face-function to highlight
9611 color escapes using font-lock-face property (Bug#10835).
9612
20af2394
CY
96132012-02-19 Chong Yidong <cyd@gnu.org>
9614
9615 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9616 mode-line formats (Bug#10839).
9617
e23a3fbe
GM
96182012-02-18 Glenn Morris <rgm@gnu.org>
9619
b474519e
GM
9620 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9621
9622 * mail/undigest.el (unforward-rmail-message): Doc fix.
9623
e23a3fbe
GM
9624 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9625
57939ff4
EZ
96262012-02-18 Eli Zaretskii <eliz@gnu.org>
9627
9628 * international/characters.el (script-list): Sync with the latest
9629 Unicode Character Database.
9630
0c23686e
AS
96312012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9632
9633 * international/titdic-cnv.el: Remove duplicate coding tag.
9634 * language/cham.el: Likewise.
9635 * language/tai-viet.el: Likewise.
9636
6818b449
GM
96372012-02-18 Glenn Morris <rgm@gnu.org>
9638
9639 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9640 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9641 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9642 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9643 * calendar/holidays.el (holiday-bahai-holidays)
9644 (calendar-holidays, list-holidays):
9645 Use utf-8 Bahá'í in doc-strings, menus, etc.
9646
0311a3fc
TH
96472012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9648
9649 * saveplace.el (save-place-ignore-files-regexp): New variable
9650 allowing for excluding files from saving their location of point.
9651 The default value matches the temporary commit message editing
9652 files from Git, SVN, Bazaar, and Mercurial.
9653 (save-place-to-alist): Use it.
9654
d209e2fb 96552012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 9656 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
9657
9658 * newcomment.el (uncomment-region-default): Don't leave extra space
9659 when an arg is provided (bug#8150).
9660
ee0ce425
TZ
96612012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9662
eb864a71 9663 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 9664
95ddf442
GM
96652012-02-17 Glenn Morris <rgm@gnu.org>
9666
9667 * net/socks.el: Require network-stream. (Bug#10599)
9668
48dd1e39 96692012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
9670
9671 * international/charprop.el:
9672 * international/uni-name.el:
9673 * international/uni-old-name.el:
9674 * international/uni-comment.el: Regenerate.
9675
d68cd087
GM
96762012-02-16 Glenn Morris <rgm@gnu.org>
9677
9678 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9679 Interactively in calendar buffer, give an error if not on a date.
9680
13932042
GM
96812012-02-15 Glenn Morris <rgm@gnu.org>
9682
9683 * shell.el (shell-delimiter-argument-list):
9684 Revert 2011-02-17 change. (Bug#8027)
9685
c3a70e2b
CY
96862012-02-15 Chong Yidong <cyd@gnu.org>
9687
60236b0d
CY
9688 * minibuffer.el (completion-at-point-functions): Doc fix.
9689
c3a70e2b
CY
9690 * custom.el (defcustom): Doc fix; note use of defvar.
9691
9f26dc24
GM
96922012-02-15 Glenn Morris <rgm@gnu.org>
9693
9694 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9695 Doc fixes.
9696
6546b134
GM
96972012-02-14 Glenn Morris <rgm@gnu.org>
9698
9699 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9700
d29b2b4c
LI
97012012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9702
9703 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9704 way the ports list is computed.
835bdcba
LI
9705 (smtpmail-query-smtp-server): Prompt the user for a port number if
9706 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 9707
08dcdbc9
TZ
97082012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9709
9710 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9711
2605051a
GM
97122012-02-13 Glenn Morris <rgm@gnu.org>
9713
9714 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9715
7ee99f32
TZ
97162012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9717
9718 * net/gnutls.el (gnutls-trustfiles): New variable.
9719 (gnutls-negotiate): Use it.
9720
5f0af64f
LI
97212012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9722
9723 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9724 does its stuff if Gnus is running.
9725
c14fcc95
AM
97262012-02-13 Alan Mackenzie <acm@muc.de>
9727
9728 Fix a loop in c-set-fl-decl-start.
9729
7a71b18d 9730 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
9731 c-backward-syntactic-ws actually moves backwards.
9732
142b4d90
LL
97332012-02-13 Leo Liu <sdl.web@gmail.com>
9734
9735 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9736 beginning so that all \C-o chars are removed.
9737
fa9958a6
TZ
97382012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9739
dc9924b8 9740 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 9741
0bc5886a
AM
97422012-02-12 Alan Mackenzie <acm@muc.de>
9743
9744 Fix infinite loop with long macros.
4d6769e1 9745 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 9746
d4bd55e7
CY
97472012-02-12 Chong Yidong <cyd@gnu.org>
9748
9749 * window.el (display-buffer): Doc fix (Bug#10785).
9750
66f3fe22
GM
97512012-02-12 Glenn Morris <rgm@gnu.org>
9752
bd7da63e
GM
9753 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9754 (x-disown-selection-internal, x-get-selection-internal):
9755 Sync docs with the xselect.c versions.
9756
66f3fe22
GM
9757 * allout-widgets.el: Add missing license notice.
9758
3e0d2fa7
GM
97592012-02-11 Glenn Morris <rgm@gnu.org>
9760
cfecdf09
GM
9761 * select.el (x-get-selection-internal, x-own-selection-internal)
9762 (x-disown-selection-internal):
9763 * x-dnd.el (x-get-selection-internal): Update declarations.
9764
6d216d7f
GM
9765 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9766
2bed3f04
GM
9767 * window.el (window-sides-slots):
9768 * tool-bar.el (tool-bar-position):
9769 * term/xterm.el (xterm-extra-capabilities):
9770 * ses.el (ses-self-reference-early-detection):
9771 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9772 (verilog-auto-wire-type)
9773 (verilog-auto-delete-trailing-whitespace)
9774 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9775 (verilog-auto-tieoff-declaration):
9776 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9777 (sql-oracle-statement-starters, sql-oracle-scan-on):
9778 * progmodes/prolog.el (prolog-align-comments-flag)
9779 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9780 (prolog-left-indent-regexp, prolog-paren-indent-p)
9781 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9782 (prolog-types, prolog-mode-specificators)
9783 (prolog-determinism-specificators, prolog-directives)
9784 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9785 (prolog-electric-dot-flag)
9786 (prolog-electric-dot-full-predicate-template)
9787 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9788 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9789 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9790 (prolog-program-switches, prolog-prompt-regexp)
9791 (prolog-debug-on-string, prolog-debug-off-string)
9792 (prolog-trace-on-string, prolog-trace-off-string)
9793 (prolog-zip-on-string, prolog-zip-off-string)
9794 (prolog-use-standard-consult-compile-method-flag)
9795 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9796 (prolog-imenu-max-lines, prolog-info-predicate-index)
9797 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9798 (prolog-char-quote-workaround):
9799 * progmodes/cc-vars.el (c-defun-tactic):
9800 * net/tramp.el (tramp-encoding-command-interactive)
9801 (tramp-local-end-of-line):
9802 * net/soap-client.el (soap-client):
9803 * net/netrc.el (netrc-file):
9804 * net/gnutls.el (gnutls):
9805 * minibuffer.el (completion-category-overrides)
9806 (completion-cycle-threshold)
9807 (completion-pcm-complete-word-inserts-delimiters):
9808 * man.el (Man-name-local-regexp):
9809 * mail/feedmail.el (feedmail-display-full-frame):
9810 * international/characters.el (glyphless-char-display-control):
9811 * eshell/em-ls.el (eshell-ls-date-format):
9812 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9813 (lisp-lambda-list-keyword-parameter-indentation)
9814 (lisp-lambda-list-keyword-parameter-alignment):
9815 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9816 * dired-x.el (dired-omit-verbose):
9817 * cus-theme.el (custom-theme-allow-multiple-selections):
9818 * calc/calc.el (calc-highlight-selections-with-faces)
9819 (calc-lu-field-reference, calc-lu-power-reference)
9820 (calc-note-threshold):
9821 * battery.el (battery-mode-line-limit):
9822 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9823 (archive-7z-update):
9824 * allout.el (allout-prefixed-keybindings)
9825 (allout-unprefixed-keybindings)
9826 (allout-inhibit-auto-fill-on-headline)
9827 (allout-flattened-numbering-abbreviation):
9828 * allout-widgets.el (allout-widgets-auto-activation)
9829 (allout-widgets-icons-dark-subdir)
9830 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9831 (allout-widgets-theme-dark-background)
9832 (allout-widgets-theme-light-background)
9833 (allout-widgets-item-image-properties-emacs)
9834 (allout-widgets-item-image-properties-xemacs)
9835 (allout-widgets-run-unit-tests-on-load)
9836 (allout-widgets-time-decoration-activity)
9837 (allout-widgets-hook-error-post-time)
9838 (allout-widgets-track-decoration):
9839 Add missing :version tags to new defcustoms and defgroups.
9840
5fec1b8e
GM
9841 * progmodes/sql.el (sql-ansi-statement-starters)
9842 (sql-oracle-statement-starters): Add custom type.
9843
3e0d2fa7
GM
9844 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9845 (prolog-system-version): Give it a type.
9846
90b671e2
EZ
98472012-02-11 Eli Zaretskii <eliz@gnu.org>
9848
9849 * term/pc-win.el (x-select-text, x-selection-owner-p)
9850 (x-own-selection-internal, x-disown-selection-internal)
9851 (x-get-selection-internal): Sync doc strings and argument lists
9852 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9853
5eac0c02
LL
98542012-02-11 Leo Liu <sdl.web@gmail.com>
9855
9856 * progmodes/python.el (python-end-of-statement): Fix infinite
9857 loop. (Bug#10788)
9858
f82cb659
GM
98592012-02-10 Glenn Morris <rgm@gnu.org>
9860
9861 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9862 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9863
cc26d239
LI
98642012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9865
9866 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9867 about SMTP before checking the From header.
9868
91027d08 9869 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
9870 into own function for reuse by emacsbug.el.
9871
1be3ca5a
LL
98722012-02-10 Leo Liu <sdl.web@gmail.com>
9873
9874 * subr.el (condition-case-unless-debug): Rename from
9875 condition-case-no-debug. All callers changed.
9876 (with-demoted-errors): Fix caller.
9877
9878 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9879 * nxml/rng-valid.el (rng-do-some-validation):
9880 * emacs-lisp/package.el (package-refresh-contents)
9881 (package-menu-execute):
9882 * desktop.el (desktop-create-buffer):
91027d08 9883 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 9884
b011fbfe
GM
98852012-02-10 Glenn Morris <rgm@gnu.org>
9886
b2096d72
GM
9887 * textmodes/bibtex.el:
9888 Add missing :version tags for new/changed defcustoms.
9889
b011fbfe
GM
9890 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9891
4c7e65bf
LI
98922012-02-09 Lars Ingebrigtsen <larsi@rusty>
9893
9894 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9895 (smtpmail-via-smtp): Use it, or fall back on the From address.
9896 (smtpmail-send-it): Ditto.
9897
f3934f6f
SM
98982012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9899
9900 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9901 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9902 (byte-compile-tmp-var): New const.
9903 (byte-compile-defvar): Use it to minimize .elc size.
9904 Just use `defvar' rather than simulate it (bug#10761).
9905
a075a2c5
GM
99062012-02-09 Glenn Morris <rgm@gnu.org>
9907
cf3aa21b
GM
9908 * files.el (rename-uniquely): Doc fix. (Bug#3806)
9909
354998cd
GM
9910 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9911 Add :version tags.
9912
dc9924b8
SM
9913 * progmodes/compile.el (compilation-error-screen-columns)
9914 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 9915
dab3703d
GM
9916 * vc/log-view.el (log-view-toggle-entry-display):
9917 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9918
3f88cd72
GM
9919 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9920 (report-emacs-bug-can-use-xdg-email):
9921 (report-emacs-bug-insert-to-mailer): Doc fixes.
9922 (report-emacs-bug): Message fix.
9923
d95b247d
GM
9924 * net/browse-url.el (browse-url-can-use-xdg-open)
9925 (browse-url-xdg-open): Doc fixes.
9926
a075a2c5
GM
9927 * electric.el (electric-indent-mode, electric-pair-mode)
9928 (electric-layout-rules, electric-layout-mode): Doc fixes.
9929 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9930
ffb6157e
MR
99312012-02-08 Martin Rudalics <rudalics@gmx.at>
9932
9933 * server.el (server-unselect-display): Don't inadvertently kill
9934 the current buffer. (Bug#10729)
9935
e1ac4066
GM
99362012-02-08 Glenn Morris <rgm@gnu.org>
9937
34e8a2da
GM
9938 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9939 (sql-list-table): Doc fixes.
9940
b4ac6e8c
GM
9941 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9942 Comment out (does nothing).
9943
e1ac4066
GM
9944 * completion.el (dynamic-completion-mode):
9945 * dirtrack.el (dirtrack-debug-mode):
9946 * electric.el (electric-layout-mode):
9947 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9948 * face-remap.el (text-scale-mode, buffer-face-mode):
9949 * iimage.el (iimage-mode):
9950 * image-mode.el (image-transform-mode):
9951 * minibuffer.el (completion-in-region-mode):
9952 * scroll-lock.el (scroll-lock-mode):
9953 * simple.el (next-error-follow-minor-mode):
9954 * tar-mode.el (tar-subfile-mode):
9955 * tooltip.el (tooltip-mode):
9956 * vcursor.el (vcursor-use-vcursor-map):
9957 * wid-browse.el (widget-minor-mode):
9958 * emulation/tpu-edt.el (tpu-edt-mode):
9959 * emulation/tpu-extras.el (tpu-cursor-free-mode):
9960 * international/iso-ascii.el (iso-ascii-mode):
9961 * language/thai-util.el (thai-word-mode):
9962 * mail/supercite.el (sc-minor-mode):
9963 * net/goto-addr.el (goto-address-mode):
9964 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9965 * progmodes/cwarn.el (cwarn-mode):
9966 * progmodes/flymake.el (flymake-mode):
9967 * progmodes/glasses.el (glasses-mode):
9968 * progmodes/hideshow.el (hs-minor-mode):
9969 * progmodes/pascal.el (pascal-outline-mode):
9970 * textmodes/enriched.el (enriched-mode):
9971 * vc/smerge-mode.el (smerge-mode):
9972 Doc fixes (minor mode argument).
9973
5e0d957f
EZ
99742012-02-07 Eli Zaretskii <eliz@gnu.org>
9975
9976 * ls-lisp.el (ls-lisp-sanitize): New function.
9977 (ls-lisp-insert-directory): Use it to fix or remove any elements
9978 in file-alist with missing attributes. (Bug#4673)
9979
98d7371e
AM
99802012-02-07 Alan Mackenzie <acm@muc.de>
9981
9982 Fix spurious recognition of c-in-knr-argdecl.
9983
9984 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9985 putative K&R region.
9986
667ced3a
AM
99872012-02-07 Alan Mackenzie <acm@muc.de>
9988
eb864a71
LM
9989 * progmodes/cc-engine.el (c-forward-objc-directive):
9990 Prevent looping in "#pragma mark @implementation".
667ced3a 9991
5b77774d
MA
99922012-02-07 Michael Albinus <michael.albinus@gmx.de>
9993
9994 * notifications.el (notifications-on-closed-signal): Make `reason'
9995 optional. (Bug#10744)
9996
af008560
GM
99972012-02-07 Glenn Morris <rgm@gnu.org>
9998
60d47423
GM
9999 * emacs-lisp/easy-mmode.el (define-minor-mode):
10000 Doc fixes for the macro and the mode it defines.
10001
dd605cc4
GM
10002 * image.el (imagemagick-types-inhibit): Doc fix.
10003
af008560
GM
10004 * cus-start.el (imagemagick-render-type): Add it.
10005
5cc59a37
LI
100062012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10007
4d6769e1
JB
10008 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10009 Set the default at load time, too, so that `font-lock-fontify-buffer'
10010 can be called without setting up the entire mode first. This fixes
10011 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 10012
9a6dd747
CY
100132012-02-06 Chong Yidong <cyd@gnu.org>
10014
2d16b285
CY
10015 * simple.el (list-processes--refresh): Delete exited processes
10016 (Bug#8094).
10017
171e9b6e
CY
10018 * comint.el (comint-next-prompt): next-single-char-property-change
10019 and prev-single-char-property-change never return nil (Bug#8657).
10020
9a6dd747
CY
10021 * custom.el (defcustom): Doc fix (Bug#9711).
10022
aa4589a7
CY
100232012-02-05 Chong Yidong <cyd@gnu.org>
10024
5c2a252f
CY
10025 * cus-edit.el (custom-variable-reset-backup): Quote the value
10026 before storing it in the customized-value property (Bug#6712).
4aab9006 10027 (custom-display): Add a customization type tag.
983b9602 10028 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 10029
aa4589a7
CY
10030 * wid-edit.el (widget-field-value-get): New optional arg to
10031 suppress trailing whitespace truncation.
10032 (character): Use it (Bug#2689).
10033
1ff980ae
AS
100342012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10035
10036 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10037 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10038
03988c98
CY
100392012-02-05 Chong Yidong <cyd@gnu.org>
10040
eeb6cc88
CY
10041 * cus-edit.el (custom-variable-value-create): For mismatched
10042 types, show the current value (Bug#7600).
10043
03988c98
CY
10044 * custom.el (defcustom): Doc fix.
10045
f8cdeef0
GM
100462012-02-05 Glenn Morris <rgm@gnu.org>
10047
10048 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10049
0696d255
JB
100502012-02-05 Juanma Barranquero <lekktu@gmail.com>
10051
10052 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10053 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10054 (pp-last-sexp): Use `looking-at-p'.
10055
34c99998
GM
100562012-02-04 Glenn Morris <rgm@gnu.org>
10057
8f05da42
GM
10058 * files.el (revert-buffer):
10059 Doc fix (mention revert-buffer-in-progress-p).
10060
f160676e
GM
10061 * emacs-lisp/ert-x.el (ert-simulate-command):
10062 Check deferred-action-list (which is obsolete) is bound.
10063
c7291ad9
GM
10064 * subr.el (with-wrapper-hook): Doc fixes.
10065
34c99998
GM
10066 * simple.el (filter-buffer-substring-functions)
10067 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10068
6283a7d3
LL
100692012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10070
10071 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10072 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10073
e96e3013
LL
100742012-02-04 Leo Liu <sdl.web@gmail.com>
10075
10076 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10077
8ded50f2
GM
100782012-02-04 Glenn Morris <rgm@gnu.org>
10079
82ff1d13
GM
10080 * image.el (image-extension-data): Add obsolete alias.
10081
987a0a16
GM
10082 * isearch.el (isearch-update): Doc fix.
10083
ea32ef46
GM
10084 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10085
8ded50f2
GM
10086 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10087
eea14f31
GM
100882012-02-03 Glenn Morris <rgm@gnu.org>
10089
10090 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10091 (image-animate-timeout): Doc fix.
10092
10093 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10094
12f381b7
GM
100952012-02-02 Glenn Morris <rgm@gnu.org>
10096
953cebf5
GM
10097 * server.el (server-auth-dir): Doc fix.
10098 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10099
12f381b7
GM
10100 * subr.el (run-mode-hooks): Doc fix.
10101
953a8c3b
JL
101022012-02-02 Juri Linkov <juri@jurta.org>
10103
10104 * image-mode.el (image-toggle-display-image): Remove tautological
10105 `major-mode' from the `derived-mode-p' test.
10106
c5d3843c
KH
101072012-02-02 Kenichi Handa <handa@m17n.org>
10108
9f6e692e 10109 * composite.el (compose-region): Cancel previous change.
c5d3843c 10110
159462d4 101112012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
10112
10113 * composite.el (compose-region, compose-string): Signal error for
10114 a null string component (Bug#6988).
10115
9f562668
CY
101162012-02-01 Chong Yidong <cyd@gnu.org>
10117
e2cef717
CY
10118 * view.el (view-buffer-other-window, view-buffer-other-frame):
10119 Handle special modes like view-buffer (Bug#10650).
10120 (view-buffer): Simplify.
10121
9f562668
CY
10122 * frame.el (set-frame-font): Tweak meaning of third argument.
10123
9f6e692e
JB
10124 * dynamic-setting.el (font-setting-change-default-font):
10125 Use set-frame-font (Bug#9982).
9f562668 10126
781acb9f
GM
101272012-02-01 Glenn Morris <rgm@gnu.org>
10128
6035be52
GM
10129 * progmodes/compile.el (compilation-internal-error-properties):
10130 Respect compilation-first-column in the "*compilation*" buffer.
10131
781acb9f
GM
10132 * emacs-lisp/easy-mmode.el (define-minor-mode):
10133 Relax :variable's test for a named function.
10134
abbceb00
AM
101352012-01-31 Alan Mackenzie <acm@muc.de>
10136
10137 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10138 off by one error.
10139
fce3fdeb
CY
101402012-01-31 Chong Yidong <cyd@gnu.org>
10141
10142 * frame.el (set-frame-font): New arg ALL-FRAMES.
10143
10144 * menu-bar.el (menu-set-font): Use set-frame-font.
10145
10146 * faces.el (face-spec-reset-face): Don't apply unspecified
10147 attribute values to the default face.
10148
47893581
JB
101492012-01-31 Juanma Barranquero <lekktu@gmail.com>
10150
10151 * progmodes/cwarn.el (cwarn): Remove dead link.
10152 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10153 Remove * from defcustom docstrings.
10154 (turn-on-cwarn-mode): Make obsolete.
10155 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10156 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10157
e58e988a
GM
101582012-01-31 Glenn Morris <rgm@gnu.org>
10159
60dc2671 10160 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 10161 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 10162 Allow named functions to be used as the cdr of :variable.
e58e988a 10163
7a3f511d
GM
101642012-01-30 Glenn Morris <rgm@gnu.org>
10165
10166 * emacs-lisp/authors.el (authors-fixed-entries):
10167 Remove reference to deleted file rnewspost.el.
10168
cb882333
JB
101692012-01-29 Juanma Barranquero <lekktu@gmail.com>
10170
10171 * window.el (window-with-parameter): Remove unused variable `windows'.
10172 (window--side-check): Remove unused variable `code'.
10173 (window--resize-siblings): Remove unused variable `first'.
10174 (adjust-window-trailing-edge): Remove unused variable `failed'.
10175 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10176 Use `let', not `let*'.
10177 (balance-windows-2): Remove unused variable `found'.
10178 (window--state-put-2): Remove unused variable `splits'.
10179 (window-state-put): Remove unused variable `selected'.
10180 (same-window-p): Use `string-match-p'.
10181 (display-buffer-assq-regexp): Remove unused variable `value'.
10182 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10183 Mark argument ALIST as ignored.
10184 (pop-to-buffer): Remove unused variable `old-window'.
10185
907201af
EZ
101862012-01-29 Eli Zaretskii <eliz@gnu.org>
10187
10188 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10189 and .lzma compressed files.
10190
ea162670
CY
101912012-01-29 Chong Yidong <cyd@gnu.org>
10192
5b95ee8a
CY
10193 * frame.el (window-system-default-frame-alist): Doc fix.
10194
ea162670
CY
10195 * dynamic-setting.el (font-setting-change-default-font): Don't
10196 change the default face if SET-FONT argument is non-nil (Bug#9982).
10197
d6e6f4b1
SB
101982012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10199
10200 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10201
0f29fa41 102022012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
10203
10204 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10205 breakpoints in files outside current directory (Bug#6098).
10206
db174434
CY
102072012-01-29 Chong Yidong <cyd@gnu.org>
10208
6b25e4e2
SE
10209 * progmodes/python.el: Require ansi-color at top-level.
10210
6df6ae42
JB
10211 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10212 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
10213 (lisp-mode-abbrev-table): Add doc.
10214 (lisp-mode-variables): Don't set local-abbrev-table.
10215 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10216
e70ee681
RW
102172012-01-28 Roland Winkler <winkler@gnu.org>
10218
10219 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10220
ace88aa2
RW
102212012-01-28 Roland Winkler <winkler@gnu.org>
10222
10223 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10224 (bibtex-set-dialect): Use it. Either set global values of
10225 dialect-dependent variables or bind these variables buffer-locally
10226 (Bug#10254).
10227 (bibtex-mode): Call bibtex-set-dialect via
10228 hack-local-variables-hook.
eb864a71
LM
10229 (bibtex-dialect): Update docstring.
10230 Add safe-local-variable predicate.
ace88aa2
RW
10231 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10232 bibtex-set-dialect.
10233 (bibtex-mode-map): Define menu for each dialect.
10234 (bibtex-entry): Fix docstring.
10235
93376c5b
CY
102362012-01-28 Chong Yidong <cyd@gnu.org>
10237
10238 * eshell/esh-arg.el (eshell-quote-argument): New function.
10239
10240 * eshell/esh-ext.el (eshell-invoke-batch-file):
10241 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10242 first arg to eshell-parse-command (Bug#10523).
10243
4372494f
DA
102442012-01-28 Drew Adams <drew.adams@oracle.com>
10245
10246 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10247 `default-directory' is non-nil.
10248
4d4ec1f8
EZ
102492012-01-28 Eli Zaretskii <eliz@gnu.org>
10250
10251 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10252 line that displays system-configuration-options. (Bug#9924)
10253
7c188927
DA
102542012-01-28 Drew Adams <drew.adams@oracle.com>
10255
10256 * descr-text.el (describe-char): Show information about POS, in
10257 addition to information about the character at POS. Improve and
10258 update the doc string. Change "code point" to "code point in
10259 charset", to avoid confusion with the character's Unicode code
10260 point shown above that. (Bug#10129)
10261
e0da685a
EZ
102622012-01-28 Eli Zaretskii <eliz@gnu.org>
10263
10264 * descr-text.el (describe-char): Show the raw character, not only
10265 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10266 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10267 for the reasons.
10268
70550acf
PH
102692012-01-28 Phil Hagelberg <phil@hagelb.org>
10270
eb864a71
LM
10271 * emacs-lisp/package.el (package-install):
10272 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 10273
0ce8e868
CY
102742012-01-28 Chong Yidong <cyd@gnu.org>
10275
cb882333
JB
10276 * emacs-lisp/package.el (package-maybe-load-descriptor):
10277 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
10278 (package-maybe-load-descriptor): Use it.
10279 (package-download-transaction): Fully load required packages
10280 inside the loop, so that `require' calls work (Bug#10593).
10281 (package-install): No need to call package-initialize now.
10282
2e7f3bea
CY
102832012-01-28 Chong Yidong <cyd@gnu.org>
10284
6e9bad14
CY
10285 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10286
f823b8ca
CY
10287 * tooltip.el (tooltip-mode): Doc fix.
10288 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10289
2680c309
CY
10290 * frame.el (set-cursor-color): Doc fix (Bug#352).
10291
d7a9e63b
CY
10292 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10293 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10294
2e7f3bea
CY
10295 * cus-edit.el (custom-buffer-create-internal): Fix search button
10296 action (Bug#10542).
2ae01800 10297 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 10298
fc4f7a23
EW
102992012-01-27 Eduard Wiebe <usenet@pusto.de>
10300
10301 * dired.el (dired-mark-files-regexp):
10302 Include any subdirectory components. (Bug#10445)
10303
7dd37071
ML
103042012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10305
10306 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10307 Handle [host]:port syntax. (Bug#10533)
10308
a268160b
AH
103092012-01-27 Alex Harsanyi <harsanyi@mac.com>
10310
10311 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10312
e43273ef
GM
103132012-01-26 Glenn Morris <rgm@gnu.org>
10314
10315 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10316 * term.el (term-raw-escape-map): Use Control-X-prefix.
10317 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10318
1edf595d
MR
103192012-01-25 Martin Rudalics <rudalics@gmx.at>
10320
10321 * window.el (window-state-get, window--state-get-1): Don't deal
10322 with fixed-sizeness of windows. Simplify code.
10323
fa8eafef
JC
103242012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10325
6df6ae42
JB
10326 * window.el (window--state-get-1, window--state-put-2):
10327 Don't save and restore the mark.
fa8eafef 10328
0b21c100
CY
103292012-01-25 Chong Yidong <cyd@gnu.org>
10330
10331 * custom.el (custom-variable-p): Doc fix.
10332
5ae1a6c8
GM
103332012-01-25 Glenn Morris <rgm@gnu.org>
10334
40047858
GM
10335 * dired.el (dired-goto-file): Handle some of the more common
10336 characters that `ls -b' escapes. (Bug#10596)
10337
5ddce96c
GM
10338 * progmodes/compile.el (compilation-next-error-function):
10339 Respect compilation-first-column in the "*compilation*" buffer.
10340 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10341
5ae1a6c8
GM
10342 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10343
b559f1a9
GM
103442012-01-24 Glenn Morris <rgm@gnu.org>
10345
10346 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10347
6725d21a
JD
103482012-01-24 Julien Danjou <julien@danjou.info>
10349
10350 * color.el (color-rgb-to-hsl): Fix value computing.
10351 (color-hue-to-rgb): New function.
10352 (color-hsl-to-rgb): New function.
10353 (color-clamp, color-saturate-hsl, color-saturate-name)
10354 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10355 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10356
70df4bbe
GM
103572012-01-24 Glenn Morris <rgm@gnu.org>
10358
10359 * vc/vc-rcs.el (vc-rcs-create-tag):
10360 * vc/vc-sccs.el (vc-sccs-create-tag):
10361 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10362
802a2ae2
ML
103632012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10364
10365 * eshell/esh-util.el (eshell-read-hosts-file):
10366 Skip comment lines. (Bug#10549)
10367
d7128bb1
ML
10368 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10369
d1a5c3b4
JB
103702012-01-23 Juanma Barranquero <lekktu@gmail.com>
10371
2724d9c7
JB
10372 * subr.el (display-delayed-warnings): Doc fix.
10373 (collapse-delayed-warnings): New function to collapse identical
10374 adjacent warnings.
10375 (delayed-warnings-hook): Add it.
d1a5c3b4 10376
a5509865
MA
103772012-01-22 Michael Albinus <michael.albinus@gmx.de>
10378
10379 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10380
a5509865
MA
10381 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10382 (tramp-default-user-alist): Don't add "pscp".
10383 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10384 property "login-as", if set. (Bug#10530)
10385
cc6d5805
MA
103862012-01-21 Michael Albinus <michael.albinus@gmx.de>
10387
10388 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10389 "plink1" and "psftp". (Bug#10530)
10390
103912012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
10392
10393 * international/mule-cmds.el (prefer-coding-system): Show a
10394 warning message if the default value of file-name-coding-system
10395 was not changed.
10396
f0960428
JC
103972012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10398
cb882333
JB
10399 * windmove.el (windmove-reference-loc):
10400 Fix windmove-reference-loc miscalculation.
f0960428 10401
dd6f2a63
JB
104022012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10403
10404 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10405 default unit.
10406
7b447e9b
GM
104072012-01-21 Glenn Morris <rgm@gnu.org>
10408
117a9ea1
GM
10409 * international/mule.el (auto-coding-alist): Add .tbz.
10410
7b447e9b
GM
10411 * files.el (local-enable-local-variables): Doc fix.
10412 (inhibit-local-variables-regexps): Rename from
10413 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10414 Doc fix. Add some extensions from auto-coding-alist.
10415 (inhibit-local-variables-suffixes):
10416 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10417 (inhibit-local-variables-p):
10418 New function, extracted from set-auto-mode-1.
10419 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10420 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10421 (hack-local-variables): Doc fix. Make the mode-only case
10422 respect enable-local-variables and friends.
10423 Respect inhibit-local-variables-regexps for file-locals, but
10424 not for directory-locals.
10425 (set-visited-file-name):
10426 Take account of inhibit-local-variables-regexps.
10427 Whether it applies may change as the file name is changed.
10428 * jka-cmpr-hook.el (jka-compr-install):
10429 * jka-compr.el (jka-compr-uninstall):
10430 Update for inhibit-first-line-modes-suffixes name change.
10431
dd6e3cdd
MR
104322012-01-20 Martin Rudalics <rudalics@gmx.at>
10433
10434 * help-macro.el (make-help-screen): Temporarily restore original
10435 binding for minor-mode-map-alist (Bug#10454).
10436
0d0deb38
JD
104372012-01-19 Julien Danjou <julien@danjou.info>
10438
10439 * color.el (color-name-to-rgb): Use the white color to find the max
10440 color component value and return correctly computed values.
10441 (color-name-to-rgb): Add missing float conversion for max value.
10442
34a02f46
MR
104432012-01-19 Martin Rudalics <rudalics@gmx.at>
10444
10445 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
10446 special state value for window-persistent-parameters.
10447 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
10448 (window--state-put-2): Reset all window parameters to nil before
10449 assigning values of persistent parameters.
10450
606c44c4
AM
104512012-01-18 Alan Mackenzie <acm@muc.de>
10452
10453 Eliminate sluggishness and hangs in fontification of "semicolon
10454 deserts".
10455
cb882333
JB
10456 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10457 Change value 10000 -> 3000.
606c44c4
AM
10458 (c-state-safe-place): Reformulate so it doesn't stack up an
10459 infinite number of wrong entries in c-state-nonlit-pos-cache.
10460 (c-determine-limit-get-base, c-determine-limit): New functions to
10461 determine backward search limits disregarding literals.
10462 (c-find-decl-spots): Amend commenting.
10463 (c-cheap-inside-bracelist-p): New function which detects "={".
10464
10465 * progmodes/cc-fonts.el
10466 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10467 backward search.
10468 (c-font-lock-declarations): Fix an occurrence of point being
10469 undefined. Check additionally for point being in a bracelist or
10470 near a macro invocation without a semicolon so as to avoid a
10471 fruitless time consuming search for a declarator. Give a more
10472 precise search limit for declarators using the new
10473 c-determine-limit.
10474
f3860cea
GM
104752012-01-18 Glenn Morris <rgm@gnu.org>
10476
10477 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10478 (set-auto-mode): Doc fixes.
10479
1db03b16
GM
104802012-01-17 Glenn Morris <rgm@gnu.org>
10481
0e6038be
GM
10482 * isearch.el (search-nonincremental-instead): Fix doc typo.
10483
1db03b16
GM
10484 * dired.el (dired-insert-directory): Handle newlines in directory name.
10485 (dired-build-subdir-alist): Unescape newlines in directory name.
10486
4cb0aa75
MA
104872012-01-17 Michael Albinus <michael.albinus@gmx.de>
10488
10489 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10490 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10491 (tramp-action-terminal): Use it. (Bug#10530)
10492
1d00653d
SM
104932012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10494
10495 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10496
6a6ee00d
MR
104972012-01-16 Martin Rudalics <rudalics@gmx.at>
10498
10499 * window.el (window-state-ignored-parameters): Remove variable.
10500 (window--state-get-1): Rename argument MARKERS to IGNORE.
10501 Handle persistent window parameters. Make copy of clone-of
10502 parameter only if requested. (Bug#10348)
10503 (window--state-put-2): Install a window parameter only if it has
10504 a non-nil value or an existing parameter shall be overwritten.
10505
97912def
MA
105062012-01-15 Michael Albinus <michael.albinus@gmx.de>
10507
10508 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10509
688070a5
EZ
105102012-01-14 Eli Zaretskii <eliz@gnu.org>
10511
10512 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10513 don't pass the (nil) value of `upnode' to string-match.
10514
301afadc
CY
105152012-01-14 Chong Yidong <cyd@gnu.org>
10516
10517 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 10518 Fix values recognized by the cursorBlink resource.
301afadc 10519
9e5788aa
PE
105202012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10521
10522 * epg.el (epg--make-temp-file): Avoid permission race condition
10523 when running on old Emacs versions (bug#10403).
10524
3cdb7f5a
GM
105252012-01-14 Glenn Morris <rgm@gnu.org>
10526
10527 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10528
8c82b1b4
AM
105292012-01-13 Alan Mackenzie <acm@muc.de>
10530
10531 Fix filling for when filladapt mode is enabled.
10532
10533 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10534 c-mask-paragraph, pass in `fill-paragraph' rather than
10535 `fill-region-as-paragraph'. (This is a reversion of a previous
10536 change.)
eb864a71
LM
10537 * progmodes/cc-mode.el (c-basic-common-init):
10538 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 10539
e517eda4
GM
105402012-01-13 Glenn Morris <rgm@gnu.org>
10541
1498536e
GM
10542 * dired.el (dired-switches-escape-p): New function.
10543 (dired-insert-directory): Use dired-switches-escape-p.
10544 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10545
e517eda4
GM
10546 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10547
328f984d
GM
105482012-01-12 Glenn Morris <rgm@gnu.org>
10549
10550 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10551 changes in adaptive-fill-regexp. (Bug#10276)
10552
2cc769a8
AM
105532012-01-11 Alan Mackenzie <acm@muc.de>
10554
10555 Fix Emacs bug #10463 - put `widen's around the critical spots.
10556
1d00653d 10557 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
10558 widen around each invocation of c-state-pp-to-literal. Remove an
10559 unused let variable.
10560
e52c37fa
GM
105612012-01-11 Glenn Morris <rgm@gnu.org>
10562
10563 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 10564 Doc fix.
e52c37fa 10565
96f8741e
CY
105662012-01-10 Chong Yidong <cyd@gnu.org>
10567
1d00653d
SM
10568 * net/network-stream.el (network-stream-open-starttls):
10569 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
10570 response to the capability command.
10571
b09a806e
GM
105722012-01-10 Glenn Morris <rgm@gnu.org>
10573
10574 * mail/unrmail.el (unrmail): Tweak previous change.
10575
7655cb66
CY
105762012-01-09 Chong Yidong <cyd@gnu.org>
10577
10578 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10579
9d5a8f0b
AM
105802012-01-08 Alan Mackenzie <acm@muc.de>
10581
10582 Optimise font locking in long enum definitions.
10583
10584 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10585 arm to a cond form to handle enums.
10586 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10587 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10588
9a0115ab 105892012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
10590
10591 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 10592 (Bug#10401)
6bb72cbd 10593
f186bb95
LMI
105942012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10595
29232a68
LMI
10596 * faces.el (set-face-attribute): Clarify the meaning of the nil
10597 frame (bug#10294).
10598
4e5d086d
LMI
10599 * subr.el (with-selected-frame): Mention that the selected frame
10600 is restored (bug#9980).
10601
8e66aebe
LMI
10602 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10603 (bug#9759).
10604
cd394be1 10605 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
10606 (password-read): Don't autoload unused function.
10607
adf4e762
JB
106082012-01-07 Juanma Barranquero <lekktu@gmail.com>
10609
10610 * progmodes/which-func.el (which-func-mode): Turn into a
10611 non-interactive function and mark as obsolete (bug#10428).
10612
89bd9ccd
CY
106132012-01-06 Chong Yidong <cyd@gnu.org>
10614
10615 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10616 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10617 functions, along with 1 and -1.
10618
4afee9d5
EZ
106192012-01-06 Eli Zaretskii <eliz@gnu.org>
10620
10621 * time.el (display-time-load-average)
10622 (display-time-default-load-average): Doc fixes. See the thread
10623 starting at
10624 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10625 for the details.
10626
536aea70
GM
106272012-01-06 Glenn Morris <rgm@gnu.org>
10628
665ae865
GM
10629 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10630 has no messages. (Bug#10377)
10631
c869783d
GM
10632 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10633 than Info-edit. (Bug#10385)
10634
2bb4227e
GM
10635 * time.el (display-time-load-average, display-time-next-load-average):
10636 Doc fixes.
10637
7d5944b9
GM
10638 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10639 local setting of buffer-read-only to the input buffer. (Bug#10419)
10640
536aea70
GM
10641 * calendar/calendar.el (calendar-mode):
10642 Locally set scroll-margin to 0. (Bug#10379)
10643
7dccca16
UM
106442012-01-06 Ulrich Mueller <ulm@gentoo.org>
10645
10646 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10647
afbb7930
GM
106482012-01-05 Glenn Morris <rgm@gnu.org>
10649
10650 * eshell/em-unix.el (diff-no-select): Autoload it.
10651 (eshell/diff): Use diff-no-select. (Bug#10420)
10652
04482335
CY
106532012-01-05 Chong Yidong <cyd@gnu.org>
10654
7baca3bc
CY
10655 * shell.el (shell-dynamic-complete-functions): Revert last change.
10656 (shell-command-completion-function): New function.
10657 (shell-completion-vars): Use it to implement
10658 shell-completion-execonly (Bug#10417).
10659
04482335
CY
10660 * custom.el (enable-theme): Don't set custom-safe-themes.
10661
1d00653d
SM
10662 * cus-theme.el (custom-theme-merge-theme):
10663 Ignore custom-enabled-themes and custom-safe-themes.
04482335 10664
bb5aa5d6
MM
106652012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10666
10667 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10668 first prompt in `sql-interacive-mode'.
10669 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 10670 keywords.
6df6ae42 10671 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
10672 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10673 context of original buffer. Invoke `sql-login-hook'.
10674
a7183d7c
EZ
106752012-01-04 Eli Zaretskii <eliz@gnu.org>
10676
10677 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10678 letters in cite-prefix.
10679
a1eacd1e
LMI
106802012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10681
10682 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10683
787cdb34
CY
106842012-01-03 Chong Yidong <cyd@gnu.org>
10685
1d00653d
SM
10686 * shell.el (shell-dynamic-complete-functions):
10687 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
10688 comint-filename-completion first (Bug#10417).
10689
30710442
RS
106902012-01-02 Richard Stallman <rms@gnu.org>
10691
10692 * battery.el (battery-status-function):
10693 Detect when to use battery-yeeloong-sysfs.
10694 (battery-echo-area-format): Add string for Yeeloong.
10695 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10696 (battery-yeeloong-sysfs): New function.
10697
f75bfc33
CY
106982012-01-02 Chong Yidong <cyd@gnu.org>
10699
10700 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10701 (dirtrack): Merge code for handling relative filenames in prompt
10702 from shell-dir-cookie-watcher.
10703 (dirtrack-debug-message): New arg to avoid excess format calls.
10704
10705 * shell.el (shell-dir-cookie-re): Variable deleted.
10706 (shell-dir-cookie-watcher): Function deleted.
10707 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10708 with dirtrack-mode.
10709
651e947e
EZ
107102012-01-01 Eli Zaretskii <eliz@gnu.org>
10711
1d00653d
SM
10712 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10713 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
10714 libgnutls-26.dll.
10715
94d4c7dc
AS
107162011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10717
10718 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10719
8d43f3cd
EZ
107202011-12-31 Eli Zaretskii <eliz@gnu.org>
10721
10722 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10723 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10724
98c8795a
MA
107252011-12-29 Michael Albinus <michael.albinus@gmx.de>
10726
10727 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10728 also for alternative shells.
10729 (tramp-open-connection-setup-interactive-shell): Check, whether
10730 the shell is a busybox.
10731 (tramp-send-command): Don't suppress multiple prompts for
10732 busyboxes, it hurts.
10733
51281b32
CY
107342011-12-28 Chong Yidong <cyd@gnu.org>
10735
10736 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10737 (gdb-get-source-file): Move mode line update to
10738 gdb-get-source-file (Bug#10087).
10739
2170cb53
CY
107402011-12-25 Chong Yidong <cyd@gnu.org>
10741
10742 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10743 gud-gdb-marker-filter without taking it as an argument.
10744 (gud-gdb-run-command-fetch-lines): Caller changed.
10745 (gud-gdb-completion-function): New variable.
10746 (gud-gdb-completion-at-point): Use it.
10747 (gud-gdb-completions-1): Split from gud-gdb-completions.
10748
10749 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10750 function as separate arguments.
10751 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10752 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10753 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10754 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10755 (gdb-stopped, def-gdb-auto-update-trigger)
10756 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
10757 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10758 Callers changed.
2170cb53
CY
10759 (gud-gdbmi-completions): New function.
10760 (gdb): Use it for generating the completion table.
10761
be8b11bb
AM
107622011-12-24 Alan Mackenzie <acm@muc.de>
10763
10764 Introduce a mechanism to widen the region used in context font
1d00653d 10765 locking. Use this to protect declarations from losing their contexts.
be8b11bb 10766
1d00653d
SM
10767 * progmodes/cc-langs.el (c-before-font-lock-functions):
10768 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 10769 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
10770 functions to be run just before context (etc.) font locking.
10771
10772 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 10773 New, functionality extracted from
be8b11bb 10774 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 10775 (c-in-after-change-fontification): New variable.
be8b11bb
AM
10776 (c-after-change): Set c-in-after-change-fontification.
10777 (c-set-fl-decl-start): Rejig its interface, so it can be called
10778 from both after-change and context fontifying.
b81d40f0
JB
10779 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10780 New functions.
10781 (c-standard-font-lock-fontify-region-function): New variable.
10782 (c-font-lock-fontify-region): New function.
be8b11bb 10783
341cf6ac
JL
107842011-12-24 Juri Linkov <juri@jurta.org>
10785
10786 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10787 (Bug#10348)
10788
bffcee0a
MA
107892011-12-23 Michael Albinus <michael.albinus@gmx.de>
10790
10791 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10792 existence of source file. (Bug#10325)
10793
cb5e207c
AM
107942011-12-23 Alan Mackenzie <acm@muc.de>
10795
10796 Fix unstable fontification inside templates.
10797
b81d40f0
JB
10798 * progmodes/cc-langs.el (c-before-font-lock-functions):
10799 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
10800 additionally has c-set-fl-decl-start. The other languages (apart
10801 from AWK) have that as a single entry.
10802
b81d40f0
JB
10803 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10804 The functionality for "local" declarations has been extracted to
cb5e207c
AM
10805 c-set-fl-decl-start.
10806
b81d40f0
JB
10807 * progmodes/cc-mode.el (c-common-init, c-after-change):
10808 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
10809 (c-set-fl-decl-start): New function, extracted from
10810 c-font-lock-enclosing-decls and enhanced.
10811
60ff536c
JB
108122011-12-23 Juanma Barranquero <lekktu@gmail.com>
10813
10814 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10815
1c4757d6
JL
108162011-12-22 Juri Linkov <juri@jurta.org>
10817
10818 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10819
d031f2c7
CY
108202011-12-22 Chong Yidong <cyd@gnu.org>
10821
10822 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10823
bace743a
DA
108242011-12-21 Drew Adams <drew.adams@oracle.com>
10825
10826 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10827
728a1f2b
JC
108282011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10829
10830 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10831
0d373f73
TZ
108322011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10833
fec0aaa4
TZ
10834 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10835 highlighting and support. Fix up comments for capitalization.
10836 (cfengine-mode-debug): New var.
10837 (cfengine3-mode): Change the modeline indicator to "CFE3".
10838 (cfengine3-font-lock-keywords): Improve defun highlighting.
10839 (cfengine2-actions): Rename from `cfengine-actions'.
10840 (cfengine2-font-lock-keywords): Rename from
10841 `cfengine-font-lock-keywords'.
10842 (cfengine2-imenu-expression): Rename from
10843 `cfengine-imenu-expression'.
10844 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10845 (cfengine2-beginning-of-defun): Rename from
10846 `cfengine-beginning-of-defun'.
10847 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10848 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10849 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10850 modeline indicator to "CFE2".
10851 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10852 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 10853
bc86f573
CY
108542011-12-21 Chong Yidong <cyd@gnu.org>
10855
10856 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10857 filename argument.
10858
d45ba96b
MR
108592011-12-20 Martin Rudalics <rudalics@gmx.at>
10860
10861 * window.el (window-normalize-buffer-to-display): Remove.
10862 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10863
a6198c90
CY
108642011-12-19 Chong Yidong <cyd@gnu.org>
10865
10866 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10867 Don't signal an error in a predicate function; return non-nil.
10868 (vc-dir-mark-file): Move the error here.
10869 (vc-dir-mark-unmark): If acting on the region, keep going if one
10870 of the entries cannot be marked/unmarked.
10871 (vc-dir-mark-all-files): If current entry is a directory, mark
10872 only child files, as documented.
10873
34c5fb55
VB
108742011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10875
10876 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10877 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10878 addition.
10879
c803b2b7
JD
108802011-12-18 Jan Djärv <jan.h.d@swipnet.se>
10881
10882 * term/ns-win.el (ns-get-selection-internal)
10883 (ns-store-selection-internal): Declare.
1154d12e
JB
10884 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10885 Declare as obsolete.
10886 (ns-get-pasteboard, ns-paste-secondary):
10887 Use ns-get-selection-internal.
41e9b956 10888 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 10889 Use ns-store-selection-internal.
c803b2b7 10890
9cff91f8 108912011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
10892
10893 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 10894 (vc-deduce-fileset): Doc fix.
99a289d9 10895
f16c898a
AS
108962011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10897
10898 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10899
763237c4
SS
109002011-12-13 Sam Steingold <sds@gnu.org>
10901
10902 * man.el (Man-getpage-in-background): When running under a
10903 window-system, ignore $MANWIDTH and $COLUMNS.
10904
5fc1c122
KH
109052011-12-15 Kenichi Handa <handa@m17n.org>
10906
10907 * language/ethio-util.el: Change coding tag to utf-8-emacs.
10908 (setup-ethiopic-environment-internal): Comment out key-binding for
10909 ethio-toggle-punctuation.
10910
13d49cbb
AM
109112011-12-13 Alan Mackenzie <acm@muc.de>
10912
898169a2
AM
10913 Add the switch statement to AWK Mode.
10914
7a71b18d 10915 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
10916 "default" to the keywords regexp.
10917
7a71b18d 10918 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 10919 expression as the rest.
1d00653d
SM
10920 (c-nonlabel-token-key): Allow string literals for AWK.
10921 Refactor for the other modes.
898169a2 10922
13d49cbb 10923 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 10924 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
10925 routines. Limit backward searching in c-font-lock-enclosing.decl.
10926
10927 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10928 pp-state and literal type in addition to the limits.
1d00653d 10929 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 10930 (c-state-literal-at): Use the above new defun.
1d00653d
SM
10931 (c-slow-in-literal, c-fast-in-literal): Remove.
10932 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
10933
10934 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10935 being in a literal. Add a limit for backward searching.
10936
10937 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10938 c-slow-in-literal.
10939
15e0efc7
SM
109402011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
10941
10942 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10943
454592a6
MR
109442011-12-13 Martin Rudalics <rudalics@gmx.at>
10945
10946 * window.el (delete-other-windows): Use correct frame in call to
10947 window-with-parameter.
10948
87393f26
DP
109492011-12-12 Daniel Pfeiffer <occitan@t-online.de>
10950
10951 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10952 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10953 (makefile-gmake-statements, makefile-makepp-statements):
10954 Use it and add new makepp keywords.
10955 (makefile-makepp-font-lock-keywords): Add new patterns.
10956 (makefile-match-function-end): Match new [...] and [[...]].
10957
11636b22
JB
109582011-12-11 Juanma Barranquero <lekktu@gmail.com>
10959
10960 * ses.el (ses-call-printer-return, ses-cell-property-get)
10961 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10962 (ses-create-cell-variable, ses-reset-header-string)
10963 (ses-cell-set-formula, ses-repair-cell-reference-all)
10964 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10965 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10966 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10967 (ses-aset-with-undo, ses-load, ses-truncate-cell)
10968 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10969 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10970 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10971 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10972 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10973 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10974 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10975 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10976
cf018193
VB
109772011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
10978
10979 * ses.el: The overall change is to add cell renaming, that is
10980 setting fancy names for cell symbols other than name matching
10981 "\\`[A-Z]+[0-9]+\\'" regexp .
10982 (ses-create-cell-variable): New defun.
10983 (ses-relocate-formula): Relocate formulas only for cells the
10984 symbols of which are not renamed, i.e. symbols whose names do not
10985 match regexp "\\`[A-Z]+[0-9]+\\'".
10986 (ses-relocate-all): Relocate values only for cells the symbols of
10987 which are not renamed.
10988 (ses-load): Create cells variables as the (ses-cell ...) are read,
10989 in order to check row col consistency with cell symbol name only
10990 for cells that are not renamed.
10991 (ses-replace-name-in-formula): New defun.
10992 (ses-rename-cell): New defun.
10993
ee957461
CY
109942011-12-11 Chong Yidong <cyd@gnu.org>
10995
10996 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10997 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10998
9a9e9ef0
MR
109992011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11000
11001 * window.el (other-window): Fix docstring.
11002
92a8eba5
EZ
110032011-12-10 Eli Zaretskii <eliz@gnu.org>
11004
11005 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
11006 `from' or `to' address before taking its substring.
11007 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
11008 encoded name is chopped in the middle of the encoded string, and
11009 thus displayed encoded.
11010
e152e577
JB
110112011-12-10 Juanma Barranquero <lekktu@gmail.com>
11012
11013 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11014
e5d84bfe
EZ
110152011-12-10 Eli Zaretskii <eliz@gnu.org>
11016
11017 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11018 to use texinfo-update-node and commands that call it if the
11019 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 11020 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
11021 (texinfo-all-menus-update, texinfo-master-menu)
11022 (texinfo-update-node, texinfo-every-node-update)
11023 (texinfo-multiple-files-update): Doc fix. Warn against updating
11024 all the @node lines.
11025 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
11026 argument is numeric. Explain better in the doc string what the
11027 function really does.
11028 (texinfo-insert-master-menu-list): Improve the error message
11029 displayed if there's no menu in the Top node.
11030 (Bug#2975) See also this thread:
e5d84bfe
EZ
11031 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11032
1d84e9bb
MG
110332011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11034
11035 * speedbar.el (speedbar-supported-extension-expressions):
11036 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11037
382c953b
JB
110382011-12-09 Juanma Barranquero <lekktu@gmail.com>
11039
11040 * printing.el (pr-mode-alist):
11041 * simple.el (filter-buffer-substring-functions)
11042 (completion-list-insert-choice-function):
11043 * window.el (window-with-parameter, window-atom-root)
11044 (window-sides-slots, window-size-fixed, window-min-delta)
11045 (window-max-delta, window--resize-mini-window)
11046 (window--resize-child-windows-normal, window-tree)
11047 (delete-other-windows, quit-window, split-window)
11048 (display-buffer-record-window, special-display-buffer-names)
11049 (special-display-regexps, special-display-popup-frame)
11050 (same-window-p, split-window-sensibly)
11051 (display-buffer-overriding-action, display-buffer-alist)
11052 (display-buffer-base-action, display-buffer, switch-to-buffer)
11053 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11054 (fit-window-to-buffer, recenter-positions)
11055 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11056 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11057 and remove unneeded backslashes in docstrings.
11058
39c9faef
SM
110592011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11060
98449af8
SM
11061 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11062
39c9faef
SM
11063 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11064 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11065 end in ".mk".
11066 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11067 when reading the makefile (bug#10116).
11068
86ed9fdc
SM
110692011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11070
11071 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11072 (bug#10116).
11073
5580f89d
GM
110742011-12-06 Glenn Morris <rgm@gnu.org>
11075
11076 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11077
28d3917c
CY
110782011-12-06 Chong Yidong <cyd@gnu.org>
11079
11080 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11081
a98edce9
JB
110822011-12-06 Juanma Barranquero <lekktu@gmail.com>
11083
11084 * textmodes/table.el (table-shorten-cell): Fix typo.
11085
e65adfac
CG
110862011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11087
11088 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11089
71cc0b74
EZ
110902011-12-05 Eli Zaretskii <eliz@gnu.org>
11091
11092 * descr-text.el (describe-char): Fix display of strong
11093 right-to-left characters and directional embeddings and overrides.
11094
11095 * simple.el (what-cursor-position): Fix display of codepoints of
11096 strong right-to-left characters.
11097
315bc30d
CY
110982011-12-05 Chong Yidong <cyd@gnu.org>
11099
11100 * faces.el (read-color): Doc fix.
11101
58a70b94
GM
111022011-12-05 Glenn Morris <rgm@gnu.org>
11103
11104 * align.el (align--set-marker): Add doc-string.
11105 Don't try to move something that is not a marker. (Bug#10216)
11106
5158face
GM
111072011-12-04 Glenn Morris <rgm@gnu.org>
11108
11109 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11110 overly zealous deletion of trailing whitespace.
11111
520fca41
JB
111122011-12-04 Juanma Barranquero <lekktu@gmail.com>
11113
11114 * server.el (server-delete-client): On Windows, do not try to delete
11115 the only terminal.
11116 (server-process-filter): On Windows, treat requests for a tty frame as
11117 if they were for a GUI frame if the running server is in GUI mode.
11118
5e605a2e
GM
111192011-12-03 Glenn Morris <rgm@gnu.org>
11120
11121 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11122
5c3fe83f
SM
111232011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11124
6f5e57e7
SM
11125 * electric.el: Streamline electric-indent's hook.
11126 (electric-indent-chars): Revert to simple list.
11127 (electric-indent-functions): New var.
11128 (electric-indent-post-self-insert-function): Use it.
11129
5c3fe83f
SM
11130 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11131 there's no inferior buffer (bug#10196).
11132 (prolog-consult-compile): Don't use toggle-read-only.
11133
6bdac736
MA
111342011-12-02 Michael Albinus <michael.albinus@gmx.de>
11135
11136 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11137 interrupt. (Bug#10187)
11138
6131ba7f
SM
111392011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11140
99c79fee
SM
11141 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11142 (bug#9160).
11143
6131ba7f
SM
11144 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11145 (bug#10191).
11146
cb0a02ea
JL
111472011-12-02 Juri Linkov <juri@jurta.org>
11148
11149 * info.el (Info-search): Display "end of manual" when Isearch
11150 reaches the end of single-file Info manual. (Bug#9918)
11151
66e0570c
EZ
111522011-12-02 Eli Zaretskii <eliz@gnu.org>
11153
11154 * isearch.el (isearch-message-prefix): Run the input method part
11155 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11156
02b16839
JL
111572011-12-02 Juri Linkov <juri@jurta.org>
11158
11159 * isearch.el (isearch-occur): Use `word-search-regexp' for
11160 `isearch-word'.
11161 (isearch-search-and-update): Add condition for `isearch-word' and
11162 call `word-search-regexp'. (Bug#10145)
11163
0b950688
GM
111642011-12-01 Glenn Morris <rgm@gnu.org>
11165
11166 * eshell/em-hist.el (eshell-hist-initialize):
11167 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 11168 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 11169
9505c3c7
SM
111702011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11171
11172 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11173
1bbe96b2 111742011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 11175
a1beca85
SM
11176 * progmodes/verilog-mode.el (verilog-pretty-expr):
11177 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
11178 verilog, such as += *= and the like.
11179 (verilog-assignment-operator-re): Regular expression to find the
11180 assigment operator in a verilog assignment.
11181 (verilog-assignment-operation-re): Regular expression to find an
11182 assignment statement for pretty-expr.
11183 (verilog-in-attribute-p): Query returns true if point is in an
11184 attribute context; used to skip these for expression line up from
11185 pretty-expr.
11186 (verilog-in-parameter-p): Query returns true if point is in an
11187 parameter definition context; used to skip these for expression
11188 line up from pretty-expr.
11189 (verilog-in-parenthesis-p): Query returns true if point is in a
11190 parenthetical expression, specifically ( ) but not [ ] or { };
11191 used by pretty-expr.
11192 (verilog-just-one-space): If there is no space, don't add one.
11193 (verilog-get-lineup-indent-2): Specifically skip just attribute
11194 contexts for expression lineup, rather than skipping all
11195 parenthetical expressions.
11196 (verilog-calculate-indent): Fix comment, and fix indent.
11197 (verilog-do-indent): Indent declarations in lists (suggested by
11198 Joachim Lechner).
11199 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11200 skeleton items.
11201 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11202 by Alain Mellan).
11203
1bbe96b2 112042011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
11205
11206 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11207 parameters with embedded comments. Reported by Ray Stevens.
11208 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11209 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11210 Reported by Tim Holt.
11211 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11212 instantiated by upper module causing wrong expansion until AUTOed a
11213 second time. Reported by K C Buckenmaier.
11214 (verilog-diff-auto): Fix showing .* as a difference when
11215 `verilog-auto-star-save' off. Reported by Dan Dever.
11216 (verilog-auto-reset, verilog-read-always-signals)
11217 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11218 temporary signals in reset list if
11219 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
11220 style to each signal's assignment type, bug381.
11221 Reported by Thomas Esposito.
6288f0ca
WS
11222 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11223 (verilog-uvm-statement-re): Support UVM indentation and
11224 highlighting, with old OVM keywords only.
a1beca85 11225 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
11226 Support AUTOTIEOFF creating non-wire data types.
11227 Suggested by Jonathan Greenlaw.
6288f0ca
WS
11228 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11229 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11230 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
11231 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11232 Fix mismatching parenthesis inside commented out code when deleting
382c953b 11233 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
11234 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11235 non-numeric vector width. Reported by Alex Reed.
11236 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 11237 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
11238 (verilog-auto-delete-trailing-whitespace):
11239 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
11240 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11241 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11242 Fix verilog-scan-cache corruption when running user AUTO expansion
11243 hooks that call indentation routines.
11244 (verilog-simplify-range-expression): Fix typo ignoring lower case
11245 identifiers.
11246 (verilog-delete-auto): Fix delete-autos to also remove user created
11247 automatics, as long as they start with AUTO.
11248 (verilog-batch-diff-auto, verilog-diff-auto)
11249 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11250 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11251 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11252 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
11253 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11254 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
11255 is disabled and its cache will get corrupt, causing AUTOS not to
11256 expand. Instead use only -quick functions.
11257 (verilog-scan-region): Fix scanning over escaped quotes.
11258 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11259 (verilog-re-search-backward-quick)
11260 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11261 related functions now ignore strings, to fix misparsing of strings
11262 with magic comments embedded in them.
a1beca85
SM
11263 (verilog-read-auto-template):
11264 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11265 Reported by Brad Dobbie.
11266 (verilog-read-auto-template):
11267 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 11268 Reported by Brad Dobbie.
6288f0ca
WS
11269 (verilog-auto-inst, verilog-auto-inst-param)
11270 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11271 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11272 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
11273 debugging templates without merge conflicts, bug357.
11274 Reported by Brad Dobbie.
11275 (verilog-read-auto-template):
11276 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
11277 Reported by Brad Dobbie.
11278 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11279 abbrevs so user won't be asked to save.
11280 (verilog-read-auto-lisp-present): Fix to start at beginning of
11281 buffer in case called outside of verilog-auto.
11282 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11283 to "X-2". Reported by Matthew Myers.
11284 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11285 all inputs from module templates. Reported by Leith Johnson.
11286 (verilog-module-inside-filename-p): Fix locating programs as with
11287 modules.
11288 (verilog-auto-inst-port): Fix vl-width expressions when using
11289 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11290 (verilog-decls-get-regs, verilog-decls-get-signals,
11291 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11292 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11293 verilog-read-decls): Combine reg and wire structures into one var
11294 structure to represent SystemVerilog concepts.
11295 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11296 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
11297 (verilog-auto-wire-type, verilog-insert-definition):
11298 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
11299 SystemVerilog "logic" keyword instead of "wire"/"reg".
11300 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11301 to declares outputs that also have assignments (presumably in an
a1beca85
SM
11302 ifdef or generate if so there's not a driver conflict).
11303 Reported by Matthew Myers.
11304 (verilog-auto-declare-nettype, verilog-insert-definition):
11305 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
11306 `default_nettype none. Reported by Julian Gorfajn.
11307 (verilog-read-always-signals-recurse, verilog-read-decls)
11308 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11309 malformed end statement, bug325. Reported by Joshua Wise and
11310 Andrew Drake.
11311 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11312 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
11313 when expanding .* in interfaces, bug320.
11314 Reported by Pierre-David Pfister.
6288f0ca 11315 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
11316 name and open parenthesis, bug317.
11317 Reported by Pierre-David Pfister.
6288f0ca
WS
11318 (verilog-simplify-range-expression): Fix simplification of
11319 multiplications inside AUTOWIRE connections, bug303.
11320 (verilog-auto-inst-port): Support parameter expansion in
11321 multidimensional arrays.
11322 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11323 after "assert property". Reported by Julian Gorfajn.
11324 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11325 with multiplication, bug303.
11326 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11327 Reported by Jan Frode Lonnum.
11328
1bbe96b2
GM
113292011-11-30 Juanma Barranquero <lekktu@gmail.com>
11330
11331 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11332 (hfy-shell-file-name, hfy-shell):
11333 * international/fontset.el (x-decompose-font-name): Fix typos.
11334
113352011-11-29 Ken Brown <kbrown@cornell.edu>
11336
11337 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11338 (gdb-version): Remove defvar.
11339 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11340 (gdb-gud-context-command, gdb-non-stop-handler)
11341 (gdb-current-context-command, gdb-stopped): Use it.
11342 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
11343 (gdb-non-stop-handler): Don't enable pretty-printing here.
11344 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
11345 non-stop mode. Use the following.
11346 (gdb-check-target-async): New defun.
11347 (gud-watch, gdb-stopped): Fix whitespace.
11348 (gdb-get-source-file): Don't try to display the source file if
11349 `gdb-main-file' is nil.
11350
113512011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11352
11353 * align.el: Try to generate fewer markers (bug#10047).
11354 (align--set-marker): New macro.
11355 (align-region): Use it.
11356
c935221f
SM
113572011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11358
11359 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11360
e70b5064
CY
113612011-11-29 Chong Yidong <cyd@gnu.org>
11362
11363 * indent.el (indent-for-tab-command, indent-according-to-mode):
11364 Doc fix.
11365 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11366
f3af92b7
MA
113672011-11-29 Michael Albinus <michael.albinus@gmx.de>
11368
11369 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11370 aware of remote file names. (Bug#10124)
11371
ed472be9
CY
113722011-11-29 Chong Yidong <cyd@gnu.org>
11373
11374 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11375
24510c22
SM
113762011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11377
11378 * files.el (find-file): Don't use force-same-window (bug#10144).
11379 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11380 use pop-to-buffer if the selected window can't be used.
11381 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11382
c60c3703
EZ
113832011-11-28 Eli Zaretskii <eliz@gnu.org>
11384
11385 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11386 special-mode-map.
11387
e95def75
CY
113882011-11-28 Chong Yidong <cyd@gnu.org>
11389
11390 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11391
c3f1c606
NR
113922011-11-27 Nick Roberts <nickrob@snap.net.nz>
11393
11394 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11395 gdb-get-source-file-list on gdb-create-source-file-list.
11396
00db469c
EZ
113972011-11-26 Eli Zaretskii <eliz@gnu.org>
11398
11399 * whitespace.el (whitespace-newline): Use a different foreground
11400 color for 16-color light-background displays.
11401
4ad3bc2a
CY
114022011-11-24 Chong Yidong <cyd@gnu.org>
11403
11404 * window.el (display-buffer--special-action): Doc fix.
11405
e9fce1ac
JB
114062011-11-25 Juanma Barranquero <lekktu@gmail.com>
11407
11408 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11409 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11410 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11411 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11412 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11413 (avl-tree-stack-first):
11414 * emacs-lisp/cconv.el (cconv--analyse-use):
11415 * net/gnutls.el (gnutls-negotiate): Fix typos.
11416
cb825e5d
GM
114172011-11-24 Glenn Morris <rgm@gnu.org>
11418
3adbe224
GM
11419 * lpr.el (lpr-windows-system, lpr-lp-system):
11420 * mail/binhex.el (binhex-begin-line):
11421 * progmodes/grep.el (grep-history, grep-find-history):
11422 * textmodes/flyspell.el:
11423 * vc/pcvs-defs.el (cvs-global-menu):
11424 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11425 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11426 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11427
321decc8
GM
11428 * net/tls.el: Fix case of "GnuTLS".
11429
420b63ad
GM
11430 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11431
cb825e5d
GM
11432 * version.el (emacs-build-system): Give it a doc-string.
11433
a0649f08
JL
114342011-11-24 Juri Linkov <juri@jurta.org>
11435
11436 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11437
c0bc0fd4
GM
114382011-11-24 Glenn Morris <rgm@gnu.org>
11439
11440 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11441 if called on a non-mime message just toggle the headers. (Bug#8006)
11442
20db1522
JB
114432011-11-24 Juanma Barranquero <lekktu@gmail.com>
11444
11445 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11446 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11447 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11448 (allout-rebullet-heading, allout-open-sibtopic)
11449 (allout-toggle-current-subtree-encryption)
11450 (allout-toggle-subtree-encryption, allout-encrypt-string)
11451 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11452 (allout-distinctive-bullets-string, allout-auto-activation):
11453 * window.el (window-normalize-buffer-to-display):
11454 * progmodes/verilog-mode.el (verilog-batch-indent):
11455 * textmodes/bibtex.el (bibtex-field-braces-opt)
11456 (bibtex-field-strings-opt):
11457 * vc/cvs-status.el (cvs-tree-merge):
11458 Fix typos.
11459
7262a87c
MA
114602011-11-23 Michael Albinus <michael.albinus@gmx.de>
11461
11462 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11463 `non-essential' to t, in order to avoid remote connections.
11464
283430a1
EZ
114652011-11-23 Eli Zaretskii <eliz@gnu.org>
11466
a1beca85
SM
11467 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11468 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
11469 case-insensitively.
11470
d2992a38
ML
114712011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11472
11473 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11474
50419064
GM
114752011-11-23 Glenn Morris <rgm@gnu.org>
11476
da94eca1
GM
11477 * paths.el (rmail-file-name): Reformat the doc-string so that it
11478 is picked up.
11479
9aac4de2
GM
11480 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11481 (rmail-auto-file): Ignore case in the "special" field names,
11482 as mail-fetch-field does for all others.
11483
8038d2d2
GM
11484 * mail/rmail.el (rmail-forward):
11485 * mail/rmailkwd.el (rmail-set-label):
11486 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11487 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11488
f3fe222a
GM
11489 * mail/rmail.el (rmail-current-message): Doc fix.
11490
50419064
GM
11491 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11492
28109f49
SM
114932011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11494
11495 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11496
394c65f1
GM
114972011-11-22 Glenn Morris <rgm@gnu.org>
11498
11499 * mail/rmailmm.el (test-rmail-mime-handler)
11500 (test-rmail-mime-bulk-handler)
11501 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11502
f2a0aa3a
JL
115032011-11-21 Juri Linkov <juri@jurta.org>
11504
1154d12e
JB
11505 * calc/calc.el (calc-read-key-sequence):
11506 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 11507
9c34a344
LMI
115082011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11509
11510 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11511 Tell the caller that the next line needs recomputation, even
11512 though it doesn't start a sexp (bug#10094).
11513
f04a3be9
SM
115142011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11515
11516 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11517
7978747f
SM
115182011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11519
f04a3be9
SM
11520 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11521 Use force-same-window.
7978747f 11522
fe7a3057
JB
115232011-11-20 Juanma Barranquero <lekktu@gmail.com>
11524
11525 * descr-text.el (describe-char-unicode-data):
11526 * json.el (json-string-escape):
11527 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11528 (Footnote-unicode, Footnote-style-p):
11529 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11530
24901d61
CY
115312011-11-20 Chong Yidong <cyd@gnu.org>
11532
11533 * window.el (replace-buffer-in-windows): Restore interactive spec.
11534
bac7ff22
SM
115352011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11536
24f3d7b9
SM
11537 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11538
bac7ff22
SM
11539 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11540 (byte-compile-global-not-obsolete-vars): New var.
11541 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11542 Use it.
11543 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11544
cd1181db
JB
115452011-11-20 Juanma Barranquero <lekktu@gmail.com>
11546
11547 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11548 * progmodes/pascal.el (electric-pascal-equal):
11549 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11550 * xml.el (xml-substitute-special): Fix typos.
11551
7fb18e9e
GM
115522011-11-20 Glenn Morris <rgm@gnu.org>
11553
11554 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11555 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11556 Doc fixes.
11557 (rmail-decode-mime-charset): Mark as obsolete.
11558
11559 * mail/rmailsum.el (rmail-message-regexp-p-1):
11560 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11561 Before using mime functions, check they are set. (Bug#10077)
11562
d5a6b3ba
JL
115632011-11-19 Juri Linkov <juri@jurta.org>
11564
11565 * info.el (Info-finder-find-node): Use `package--builtins' instead
11566 of `package-alist'. Use node names formed by the pattern "Keyword "
11567 and the keyword name.
11568
e981b61f
AS
115692011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11570
1d00653d 11571 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 11572
3ffbc301
JL
115732011-11-19 Juri Linkov <juri@jurta.org>
11574
11575 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11576 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11577 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11578 `old-history', `old-history-forward'. Add let-binding
11579 `window-selected'. Remove calls to `kill-buffer',
11580 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11581 before calling `Info-find-node', so `Info-find-node-2' will reread
11582 the Info file. Restore window positions only when `window-selected'
11583 is non-nil.
11584
30c62133
JL
115852011-11-19 Juri Linkov <juri@jurta.org>
11586
11587 * isearch.el (isearch-lazy-highlight-new-loop):
11588 Remove condition `(not isearch-error)'. (Bug#9918)
11589
11590 * misearch.el (multi-isearch-search-fun): Add condition
11591 `(not bound)' to ignore lazy-highlighting search.
11592 Add the search-failed message "end of multi" when the end of
11593 multi-sequence is reached. Uncapitalize the search-failed
11594 message "Repeat for next buffer".
11595
11596 * info.el (Info-search): Add the search-failed message
11597 "end of the manual" when the end of the manual is reached
11598 in Isearch mode.
11599
645ca9cf
JL
116002011-11-19 Juri Linkov <juri@jurta.org>
11601
11602 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11603 Use non-destructive `remove' instead of `delete' because
11604 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11605 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11606
df754f66
JL
116072011-11-19 Juri Linkov <juri@jurta.org>
11608
11609 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11610 to nil instead of binding `search-ring' and `regexp-search-ring'.
11611 (Bug#9185)
11612
0e23d96a
EZ
116132011-11-19 Eli Zaretskii <eliz@gnu.org>
11614
11615 * simple.el (line-move): Force movement by logical lines for any
11616 hscrolled window, not only when auto-hscroll-mode is on.
11617 (line-move-visual): Update doc string to that effect. (Bug#10076)
11618
8a6ccb66
AS
116192011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11620
11621 * language/european.el (macintosh): Define as alias for mac-roman.
11622
49ae5b39
EZ
116232011-11-19 Eli Zaretskii <eliz@gnu.org>
11624
11625 * mail/rmailmm.el (rmail-mime-display-header)
11626 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11627 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11628 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11629 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11630 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11631 of a raw aref.
11632 (rmail-mime-entity-segment): To get past the tagline, move forward
11633 2 more lines, to account for the 2 empty lines that precede and
11634 follow the line with the buttons.
11635 (rmail-mime-update-tagline): Move one more line, to get past the
11636 empty line that follows the buttons in the tagline. (Bug#9520)
11637
c56cad4a
MR
116382011-11-19 Martin Rudalics <rudalics@gmx.at>
11639
11640 * window.el (window-max-delta-1, window-min-delta-1)
11641 (window-min-size-1, window-state-get-1, window-state-put-1)
11642 (window-state-put-2): Use "window--" prefix.
11643
cbe71af3
SM
116442011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11645
2ad52c60
SM
11646 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11647 (smie-warning-count): New var.
11648 (smie-set-prec2tab): Use it.
11649 (smie-bnf->prec2): Improve warnings. Add docstring.
11650 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11651 (smie-bnf--set-class): New function.
11652 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11653 corner case.
11654
6944dbc1
SM
11655 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11656 (compilation-error-properties, compilation-move-to-column):
11657 Handle compilation-first-column while in the target buffer.
11658
c400c4d7
SM
11659 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11660 Don't hardcode point-min==1.
11661
6dbe3e96
SM
11662 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11663 (eshell-rewrite-for-command): Remove workaround.
11664 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11665 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11666 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11667
cbe71af3
SM
11668 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11669
a8e1496d
GM
116702011-11-17 Glenn Morris <rgm@gnu.org>
11671
11672 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11673 Ignore buffer-local generated-autoload-file if it is the same
11674 as the global value. (Bug#10049)
11675
df85d315
JB
116762011-11-17 Juanma Barranquero <lekktu@gmail.com>
11677
11678 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11679 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11680 (reftex-toc-previous-heading, reftex-toc-max-level)
11681 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11682 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11683 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11684 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11685 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11686 (reftex-toc-rename-label, reftex-toc-visit-location)
11687 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11688 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11689 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11690 leaving "*toc*" only for references to the buffer.
11691
a0c2d0ae
MR
116922011-11-17 Martin Rudalics <rudalics@gmx.at>
11693
11694 * window.el (window-resize, delete-window, split-window):
11695 Replace window-splits by window-combination-resize.
1d00653d 11696 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 11697
35c0bac8
GM
116982011-11-17 Glenn Morris <rgm@gnu.org>
11699
11700 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11701 Make bash entry derive from sh entry, not shell entry.
11702
d0c8fc8a
MA
117032011-11-16 Michael Albinus <michael.albinus@gmx.de>
11704
7262a87c
MA
11705 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11706 local file name.
11707
7877f373
JB
117082011-11-16 Juanma Barranquero <lekktu@gmail.com>
11709
11710 * menu-bar.el (menu-bar-file-menu):
11711 * printing.el (pr-ps-utility):
11712 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11713 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11714 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11715 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11716 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11717 (icalendar--convert-cyclic-to-ical)
11718 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11719 (icalendar--convert-ical-to-diary)
11720 (icalendar--convert-recurring-to-diary)
11721 (icalendar--convert-non-recurring-all-day-to-diary)
11722 (icalendar-import-format-sample):
11723 * progmodes/idlw-shell.el (idlwave-shell-mode):
11724 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11725 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11726 (vhdl-ps-print-init): Fix typos.
11727
10649b82
KM
117282011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11729
9d0cfcd6
GM
11730 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11731 FSF and collapse date sequence, obscure author/maintainer email address
11732 better, remove extra version line, track relocation of author's webpage.
10649b82 11733
9d0cfcd6
GM
11734 * progmodes/python.el (python-pdbtrack-input-prompt)
11735 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11736 regular python pdb prompts. Adjustments shamelessly taken exactly as
11737 suggested in EmacsWiki page (tiny change):
11738 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 11739
58179cce
JB
117402011-11-16 Juanma Barranquero <lekktu@gmail.com>
11741
11742 * expand.el (expand-pos, expand-index, expand-point):
11743 Remove redundant info from docstring.
11744 (expand-add-abbrevs): Doc fix.
11745 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11746 (expand-sample-perl-mode-expand-list): Fix typos.
11747
11748 * net/dbus.el (dbus-event-member-name):
11749 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11750 * term/pc-win.el (msdos-create-frame-with-faces):
11751 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11752
b6f67890
MR
117532011-11-16 Martin Rudalics <rudalics@gmx.at>
11754
11755 * window.el (split-window, window-state-get-1)
11756 (window-state-put-1, window-state-put-2): Rename occurrences of
11757 window-nest to window-combination-limit.
1d00653d 11758 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 11759
ce7ddba0
CY
117602011-11-16 Chong Yidong <cyd@gnu.org>
11761
11762 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11763 regexp (Bug#10033).
11764
3ae704f4
SM
117652011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11766
11767 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11768 `completing-read' will remove *Completions* and will preserve
11769 current-buffer for us.
11770 (tmm-add-prompt): Users of *Completions* will always (re)set its
11771 major mode.
11772 (tmm-old-comp-map): Remove.
11773
6ad1cdde
GM
117742011-11-16 Glenn Morris <rgm@gnu.org>
11775
11776 * mail/rmailedit.el: Require rmailmm when compiling.
11777 (rmail-old-mime-state): New declaration.
11778 (rmail-edit-current-message): If editing a mime message,
11779 edit the "raw" message from the mbox buffer.
11780 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11781
d20faa20
GM
117822011-11-15 Glenn Morris <rgm@gnu.org>
11783
11784 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11785 which wasn't being used. Add optional arg to force given state.
11786 (rmail-mime): Add optional arg to force given state.
11787
c7015153
JB
117882011-11-15 Juanma Barranquero <lekktu@gmail.com>
11789
11790 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11791 * frame.el (display-mm-dimensions-alist):
11792 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11793 (outline-move-subtree-down):
11794 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11795 (newsticker--treeview-do-get-node):
11796 * net/quickurl.el (quickurl-list-buffer-name):
11797 * progmodes/dcl-mode.el (dcl-mode):
11798 * progmodes/gdb-mi.el (gdb-mapcar*):
11799 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11800
45261b50
GM
118012011-11-15 Glenn Morris <rgm@gnu.org>
11802
11803 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11804 in a boolean sense, so just make it a boolean, and fix the doc.
11805 (rmail-show-mime-function, rmail-mime-feature)
11806 (rmail-require-mime-maybe): Doc fixes.
11807 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11808
11809 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11810
0d26e0b6
JB
118112011-11-15 Juanma Barranquero <lekktu@gmail.com>
11812
11813 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11814 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11815 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11816 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11817
447f30f6
GM
118182011-11-15 Glenn Morris <rgm@gnu.org>
11819
672b871d
GM
11820 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11821 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11822 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11823 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11824 (rmail-mime, rmail-show-mime): Doc fixes.
11825
f6aa5bb1
GM
11826 * term/ns-win.el (mode-line-frame-identification):
11827 Leave it alone. (Bug#10051)
11828
947cd66b
GM
11829 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11830
447f30f6
GM
11831 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11832 Handle empty buffers. (Bug#9978)
11833
0b381c7e
JB
118342011-11-14 Juanma Barranquero <lekktu@gmail.com>
11835
11836 * international/mule.el (define-charset):
11837 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11838 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11839 * progmodes/verilog-mode.el (verilog-backward-token):
11840 * textmodes/ispell.el (lookup-words):
11841 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11842
71e027ac
GM
118432011-11-14 Glenn Morris <rgm@gnu.org>
11844
56632ce4
GM
11845 * progmodes/executable.el
11846 (executable-make-buffer-file-executable-if-script-p):
11847 Handle file-modes returning nil.
11848
40500957
GM
11849 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11850 message - not necessary, and causes problems. (Bug#9831)
11851
071c2340
GM
11852 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11853
d3cfca60
GM
11854 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11855
71e027ac
GM
11856 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11857 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11858 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11859
89d61221
MR
118602011-11-12 Martin Rudalics <rudalics@gmx.at>
11861
11862 * window.el (window-resize, delete-window): Use window-splits
11863 variable instead of function.
11864 (window-state-get-1, window-state-put-2, window-state-put):
11865 Don't deal with windows' splits status.
11866
98282f6f
GM
118672011-11-12 Glenn Morris <rgm@gnu.org>
11868
11869 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11870 (apropos-documentation): Doc fixes.
11871
40a8bdf6
JB
118722011-11-11 Juanma Barranquero <lekktu@gmail.com>
11873
11874 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11875 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11876
65bd19ff
SM
118772011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11878
11879 * electric.el (electric-indent-post-self-insert-function): Make it
11880 possible for a char to only indent in some circumstances.
11881 (electric-indent-mode): Simplify.
11882
54f9154c
MR
118832011-11-11 Martin Rudalics <rudalics@gmx.at>
11884
11885 * window.el (windows-with-parameter): Remove unused function.
11886 (windows-at-side): Rename to window-at-side-list.
11887 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
11888 (window-side-check, window-size-ignore, window-size-fixed-1)
11889 (window-in-direction-2): Prefix with "window--".
11890 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 11891
68cbc58b
GM
118922011-11-11 Glenn Morris <rgm@gnu.org>
11893
11894 * subr.el (eval-after-load): If FILE is already loaded,
11895 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11896
b2621720
GM
118972011-11-10 Glenn Morris <rgm@gnu.org>
11898
9a4de110
GM
11899 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11900 Call svn via vc-svn-command rather than vc-do-command.
11901 (vc-svn-command): Add --non-interactive. (Bug#9993)
11902 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11903
b2621720
GM
11904 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11905 Add toggle-read-only. (Bug#7292)
11906 * files.el (toggle-read-only): Mention that it should only
11907 be used interactively. (Bug#10006)
11908
1dce7193
SM
119092011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
11910
d9ac1a1e
SM
11911 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11912 Adjust regexp for OCaml warnings.
11913
0c325082
SM
11914 * electric.el (electric-pair-post-self-insert-function): Let user
11915 turn it off buffer-locally (bug#9932).
11916
90132c14
SM
11917 * progmodes/python.el (python-beginning-of-statement):
11918 Rewrite (bug#2703).
11919
1dce7193
SM
11920 * progmodes/compile.el: Better handle TABs (bug#9749).
11921 (compilation-internal-error-properties)
11922 (compilation-next-error-function): Obey the target buffer's
11923 compilation-error-screen-columns.
11924
c4e7c63a
JB
119252011-11-09 Juanma Barranquero <lekktu@gmail.com>
11926
11927 * progmodes/meta-mode.el: Remove obsolete comments.
11928 (meta-right-comment-regexp, meta-ignore-comment-regexp):
11929 Fix typos in docstrings.
11930
2cffd681
MR
119312011-11-09 Martin Rudalics <rudalics@gmx.at>
11932
11933 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 11934 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
11935 (window--resizable): New function. Make all callers of
11936 window-resizable call window--resizable instead.
11937 (window-resizable): Rewrite in terms of window--resizable.
11938
0edcba87
GM
119392011-11-08 Glenn Morris <rgm@gnu.org>
11940
11941 * progmodes/delphi.el (delphi-mode-syntax-table):
11942 Let define-derived-mode define a proper syntax table. (Bug#9994)
11943
4b0d61e3
SM
119442011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11945
11946 * window.el: Stay away from defsubst.
11947 (window-list-no-nils): Remove.
11948 (window-state-get-1, window-state-get): Use backquote instead.
11949
cd394be1 119502011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 11951
4b0d61e3 11952 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 11953 Fix incorrect use of default argument in `completing-read'.
11954
e1c2c6f2
MR
119552011-11-08 Martin Rudalics <rudalics@gmx.at>
11956
11957 * window.el (display-buffer-function, special-display-function):
11958 Mention display-buffer-record-window but do not mention
11959 help-setup parameter in doc-strings.
b3f4a882 11960 (window-min-delta): Fix doc-string typo.
e1c2c6f2 11961
105216ed
CY
119622011-11-08 Chong Yidong <cyd@gnu.org>
11963
11964 * window.el (window-total-height, window-total-width): Doc fix.
11965 (window-body-size): Move from C.
11966 (window-body-height, window-body-width): Move to C.
11967
0a9f9ab5
SM
119682011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11969
11970 * window.el: Make special-display like display-buffer-alist (bug#9532).
11971 (display-buffer--special-action): New function, morphed
11972 from display-buffer--special.
11973 (display-buffer): Use it to handle special-display-buffers at higher
11974 priority (just after display-buffer-alist).
11975 (display-buffer-fallback-action, display-buffer--other-frame-action)
11976 (pop-to-buffer-same-window): Remove display-buffer--special.
11977
a769dd15
GM
119782011-11-07 Glenn Morris <rgm@gnu.org>
11979
11980 * calendar/cal-menu.el (cal-menu-set-date-title):
11981 Do nothing if not in a calendar. (Bug#9976)
11982
05a61ee3
SM
119832011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11984
11985 * files.el (find-file): Always use selected-window.
11986
be7f5545
MR
119872011-11-07 Martin Rudalics <rudalics@gmx.at>
11988
11989 * window.el (window-combinations): Make WINDOW argument
11990 mandatory. Rewrite doc-string.
11991 (walk-window-subtree, window-atom-check, window-min-delta)
11992 (window-max-delta, window--resize-this-window)
11993 (window--resize-root-window-vertically, window-tree)
11994 (balance-windows, window-state-put): Rewrite doc-strings as to
11995 not mention the term "subwindow".
11996 (window--resize-subwindows-skip-p): Rename to
11997 window--resize-child-windows-skip-p.
11998 (window--resize-subwindows-normal): Rename to
11999 window--resize-child-windows-normal.
12000 (window--resize-subwindows): Rename to
12001 window--resize-child-windows.
12002 (window-or-subwindow-p): Rename to window--in-subtree-p.
12003
3c6702ef
ML
120042011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12005
12006 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12007 Ensure that mbox format messages end in two newlines (Bug#9974).
12008
49745b39
CY
120092011-11-06 Chong Yidong <cyd@gnu.org>
12010
12011 * window.el (window-combination-p): Function deleted; its
12012 side-effect is not used in any existing code.
12013 (window-combinations, window-combined-p): Call window-*-child
12014 directly.
12015
24300f5f
CY
120162011-11-05 Chong Yidong <cyd@gnu.org>
12017
12018 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
12019 (window-size-ignore, window-state-get): Callers changed.
12020 (window-normalize-window): Rename from window-normalize-any-window.
12021 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 12022 (window-normalize-live-window): Delete.
447f16b8
CY
12023 (window-combination-p, window-combined-p, window-combinations)
12024 (walk-window-subtree, window-atom-root, window-min-size)
12025 (window-sizable, window-sizable-p, window-size-fixed-p)
12026 (window-min-delta, window-max-delta, window-resizable)
12027 (window-resizable-p, window-full-height-p, window-full-width-p)
12028 (window-current-scroll-bars, window-point-1, set-window-point-1)
12029 (window-at-side-p, window-in-direction, window-resize)
12030 (adjust-window-trailing-edge, maximize-window, minimize-window)
12031 (window-deletable-p, delete-window, delete-other-windows)
12032 (record-window-buffer, unrecord-window-buffer)
12033 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12034 (quit-window, split-window, window-state-put)
12035 (set-window-text-height, fit-window-to-buffer)
12036 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 12037
89bd5ee1
EZ
120382011-11-04 Eli Zaretskii <eliz@gnu.org>
12039
53479029
EZ
12040 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12041 rfc2047-decode-string.
12042 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12043 warnings.
12044
89bd5ee1
EZ
12045 * window.el (window-body-height, window-body-width): Mention in
12046 the doc string that the return values are in frame's canonical
12047 units. (Bug#9949)
12048
bd17fdee
AM
120492011-11-03 Alan Mackenzie <acm@muc.de>
12050
12051 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12052 change in cc-engine.el.
12053
acc825c5
SM
120542011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12055
12056 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12057
1885e5b8
MR
120582011-11-02 Martin Rudalics <rudalics@gmx.at>
12059
12060 * window.el (quit-window): Call unrecord-window-buffer after
12061 showing another buffer in the window. (Bug#9937)
acc825c5 12062 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 12063
ebe06da9
JB
120642011-11-02 Juanma Barranquero <lekktu@gmail.com>
12065
12066 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12067 Accept status with more than 9 shelves. (Bug#9935)
12068 Reported by Colin D Bennett <colin@gibibit.com>.
12069
4ee88440
MR
120702011-11-01 Martin Rudalics <rudalics@gmx.at>
12071
12072 * help.el (with-help-window): Don't reference
12073 temp-buffer-show-specifiers in doc-string.
12074
08e1d82c
AS
120752011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12076
12077 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12078 menu-item.
12079
84bd6e9e
VJL
120802011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12081
12082 * whitespace.el: New version 13.2.2.
12083 (whitespace-newline-mode): Disable properly. Reported by Sarah
12084 <EmacsWiki>.
12085
dba0634a
UJ
120862011-10-30 Ulf Jasper <ulf.jasper@web.de>
12087
12088 * net/newst-treeview.el: Remove "Time-stamp".
12089 (newsticker--group-manage-orphan-feeds): Do not call
12090 newsticker--treeview-tree-update.
db22a3c2
JB
12091 (newsticker-treeview-update, newsticker-treeview):
12092 Call newsticker--treeview-tree-update if necessary.
dba0634a 12093
3d8daefe
MR
120942011-10-30 Martin Rudalics <rudalics@gmx.at>
12095
12096 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
12097 (window-iso-combinations): Remove "iso-" infix.
12098 Suggested by Chong Yidong.
3d8daefe
MR
12099 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12100 (window-max-delta-1, window-resize, window--resize-siblings)
12101 (window--resize-this-window, adjust-window-trailing-edge)
12102 (split-window, balance-windows-1)
12103 (shrink-window-if-larger-than-buffer):
12104 * calendar/calendar.el (calendar-generate-window):
db22a3c2 12105 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 12106
1bc4c3ae
SM
121072011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12108
12109 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12110 in place (bug#9907).
12111 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12112 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12113 (eshell-structure-basic-command, eshell-rewrite-while-command)
12114 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12115 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12116 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12117 (eshell-do-pipelines-synchronously, eshell-eval-command):
12118 Use backquotes and prefer setq to set.
12119 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12120 (eshell-macrop): Use functionp.
c1e2f5fa 12121 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 12122
30b65d9c
CY
121232011-10-30 Chong Yidong <cyd@gnu.org>
12124
12125 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12126 instead of set-mark (Bug#9810).
12127
2d197ffb
CY
121282011-10-30 Chong Yidong <cyd@gnu.org>
12129
12130 * window.el (split-window-below, split-window-right): Rename from
12131 split-window-above-each-other and split-window-side-by-side
12132 respectively. All callers changed.
12133 (split-window-sensibly, split-window-sensibly): Use them.
12134 (split-window-keep-point): Doc fix.
12135
12136 * isearch.el: Add isearch-scroll property to split-window-below
12137 and split-window-right.
12138
12139 * follow.el (follow-mode):
12140 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12141 * progmodes/ada-xref.el (ada-gdb-application):
12142 * emulation/vip.el (vip-buffer-in-two-windows):
12143 * image-dired.el (image-dired-dired-with-window-configuration):
12144 * dired-x.el (dired-do-find-marked-files):
12145 * dired.el (dired-pop-to-buffer):
12146 * bs.el (bs--show-with-configuration):
12147 * vc/emerge.el (emerge-setup-windows):
12148 * textmodes/two-column.el (2C-two-columns):
12149 * textmodes/reftex-toc.el (reftex-toc):
12150 * progmodes/gdb-mi.el (gdb-setup-windows):
12151 * progmodes/fortran.el (fortran-window-create):
12152 * net/newst-treeview.el (newsticker--treeview-window-init):
12153 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12154 * emulation/tpu-edt.el (tpu-gold-map):
12155 * emulation/crisp.el (crisp-mode-map):
12156 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12157
38bb2ca8
CY
121582011-10-29 Chong Yidong <cyd@gnu.org>
12159
aa4de341
CY
12160 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12161
e1eb5385
CY
12162 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12163
5d2ece3c
CY
12164 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12165 forged Ispell output (Bug#7904).
12166
38bb2ca8
CY
12167 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12168
d0af9f77
SM
121692011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12170
12171 * doc-view.el: Avoid ugly errors about not finding nil.
12172 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12173 (doc-view-dvipdf-program, doc-view-unoconv-program)
12174 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12175 Avoid nil or absolute file name as default value.
12176 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12177
52bedd34
AM
121782011-10-28 Alan Mackenzie <acm@muc.de>
12179
db22a3c2 12180 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 12181
7e43cfa5
AM
121822011-10-28 Alan Mackenzie <acm@muc.de>
12183
12184 Amend the handling of c-beginning/end-of-defun in nested declaration
12185 scopes.
12186
52bedd34
AM
12187 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12188 cc-langs.el. Change it to a defcustom.
7e43cfa5 12189
52bedd34
AM
12190 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12191 cc-vars.el.
7e43cfa5 12192
d0af9f77
SM
12193 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12194 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 12195
52bedd34 12196 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 12197 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
12198 (c-widen-to-enclosing-decl-scope): New function.
12199 (c-while-widening-to-decl-block): New macro.
12200 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12201 outward for defun boundaries, and correspondingly change symbol
12202 `respect-enclosure' to `go-outward'.
12203 (c-declaration-limits): Change algorithm to report only the "innermost"
12204 defun's boundaries.
12205
1a2ce9ee
DD
122062011-10-28 Deniz Dogan <deniz@dogan.se>
12207
12208 * net/rcirc.el (rcirc-mode): Use hard newlines.
12209
bc97a826
AM
122102011-10-28 Alan Mackenzie <acm@muc.de>
12211
12212 Amend to indent and fontify macros "which include their own semicolon"
12213 correctly, using the "virtual semicolon" mechanism.
12214
52bedd34 12215 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 12216
d0af9f77 12217 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 12218 Recode to scan one line at a time rather than having \n and \r
58179cce 12219 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 12220 (c-forward-label): Amend for virtual semicolons.
58179cce 12221 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 12222
52bedd34
AM
12223 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12224 of the new C macros.
bc97a826 12225
52bedd34 12226 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
12227 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12228 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
12229 (c-opt-cpp-macro-define): Make into a full language variable.
12230 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12231 AWK Mode (including \n, \r) removed, no longer needed.
12232
d0af9f77
SM
12233 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12234 Invoke c-make-macro-with-semi-re.
bc97a826 12235
52bedd34
AM
12236 * progmodes/cc-vars.el (c-macro-with-semi-re):
12237 (c-macro-names-with-semicolon): New variables.
58179cce 12238 (c-make-macro-with-semi-re): New function.
bc97a826 12239
7a6c0941
SM
122402011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12241
12242 * vc/log-edit.el: Fill empty field rather than adding new one.
12243 (log-edit-add-field): New function.
12244 (log-edit-insert-changelog): Use it.
12245
b0c4cdcf
ML
122462011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12247
12248 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12249
ee1f1da9
SM
122502011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12251
12252 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12253 (gdb--check-interpreter): New function.
12254 (gdb): Use it.
12255
51bc5f8b
GM
122562011-10-27 Glenn Morris <rgm@gnu.org>
12257
416a2c45
GM
12258 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12259 (least-positive-float, least-negative-float)
12260 (least-positive-normalized-float, least-negative-normalized-float)
12261 (float-epsilon, float-negative-epsilon):
12262 Remove unnecessary declarations.
12263
12264 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12265 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12266 (least-positive-float, least-negative-float)
12267 (least-positive-normalized-float, least-negative-normalized-float)
12268 (float-epsilon, float-negative-epsilon): Add doc-strings,
12269 based on those in cl.texi.
12270
51bc5f8b
GM
12271 * files.el (set-visited-file-name): If the major-mode changed,
12272 reload the local variables. (Bug#9796)
12273
15de15c6
CY
122742011-10-27 Chong Yidong <cyd@gnu.org>
12275
12276 * subr.el (change-major-mode-after-body-hook): New hook.
12277 (run-mode-hooks): Run it.
12278
ee1f1da9
SM
12279 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12280 Use change-major-mode-before-body-hook.
15de15c6
CY
12281
12282 * simple.el (fundamental-mode):
12283 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12284 change introducing fundamental-mode-hook.
12285
5430d399
JB
122862011-10-26 Juanma Barranquero <lekktu@gmail.com>
12287
acc825c5 12288 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 12289
ad74a69e
MA
122902011-10-26 Michael Albinus <michael.albinus@gmx.de>
12291
12292 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 12293 tramp.el explicitly. (Bug#7583)
ad74a69e 12294
71d4c2a5
SM
122952011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12296
12297 * progmodes/octave-mod.el:
12298 * progmodes/octave-inf.el: Update maintainer.
12299
b1f6fa26
CY
123002011-10-26 Chong Yidong <cyd@gnu.org>
12301
12302 * subr.el (with-wrapper-hook): Rewrite doc.
12303
3f04efd6
MA
123042011-10-25 Michael Albinus <michael.albinus@gmx.de>
12305
12306 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 12307 filenames "/method:foo:". (Bug#9793)
3f04efd6 12308
410488d3
SM
123092011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12310
12311 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12312 (bug#9865).
12313
c1ebb47e
GM
123142011-10-24 Glenn Morris <rgm@gnu.org>
12315
12316 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12317
7f5c46c7
MA
123182011-10-24 Michael Albinus <michael.albinus@gmx.de>
12319
12320 * notifications.el: Add the requirement of a running D-Bus session
12321 bus to the Commentary.
12322
db2440b6
JL
123232011-10-24 Juri Linkov <juri@jurta.org>
12324
12325 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12326 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12327 (Bug#9364)
12328
feecf435
JL
123292011-10-24 Juri Linkov <juri@jurta.org>
12330
12331 * info.el (Info-following-node-name-re): Add newline to the list
12332 of allowed characters for leading space. (Bug#9824)
12333
a3839de2
SM
123342011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12335
acc825c5
SM
12336 * progmodes/octave-inf.el (inferior-octave-mode-map):
12337 Fix C-c C-h binding.
a3839de2
SM
12338 * progmodes/octave-mod.el (octave-help): Remove.
12339
09388e76
MA
123402011-10-23 Michael Albinus <michael.albinus@gmx.de>
12341
12342 Sync with Tramp 2.2.3.
12343
12344 * net/tramp-cache.el (top): Pacify byte-compiler using
12345 `init-file-user' and `site-run-file'.
12346
12347 * net/trampver.el: Update release number.
12348
86c60681
CY
123492011-10-23 Chong Yidong <cyd@gnu.org>
12350
12351 * files.el (toggle-read-only): Remove obsolete comment about
12352 version control.
12353
12354 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12355 for toggle-read-only. Note that this hasn't called vc-next-action
12356 since 2008-05-02, though it wasn't documented at the time.
12357
a3839de2
SM
12358 * vc/ediff-init.el (ediff-toggle-read-only-function):
12359 Use toggle-read-only.
86c60681 12360
cd5495ff
AM
123612011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12362
12363 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12364 of c-parse-state.
12365
00b77525 12366 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 12367 correct faulty logical expression.
cd5495ff
AM
12368 (c-parse-state-state, c-record-parse-state-state):
12369 (c-replay-parse-state-state): New defvar/defuns.
12370 (c-debug-parse-state): Use new functions.
12371
42ee24ed
MR
123722011-10-22 Martin Rudalics <rudalics@gmx.at>
12373
12374 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 12375 last fix. Use window-in-direction correctly.
42ee24ed 12376
a7dee7e7
CY
123772011-10-21 Chong Yidong <cyd@gnu.org>
12378
12379 * progmodes/idlwave.el (idlwave-mode):
12380 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
12381 require-final-newline; that's done in prog-mode.
12382 Suggested by Stefan Monnier.
a7dee7e7 12383
e07b9a6d
MR
123842011-10-21 Martin Rudalics <rudalics@gmx.at>
12385
12386 * mouse.el (mouse-drag-window-above)
12387 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12388 (mouse-drag-mode-line-1, mouse-drag-header-line)
12389 (mouse-drag-vertical-line-rightward-window): Remove.
12390 (mouse-drag-line): New function.
12391 (mouse-drag-mode-line, mouse-drag-header-line)
12392 (mouse-drag-vertical-line): Call mouse-drag-line.
12393 * window.el (window-at-side-p, windows-at-side): New functions.
12394
7e1361d9
UM
123952011-10-21 Ulrich Mueller <ulm@gentoo.org>
12396
12397 * tar-mode.el (tar-grind-file-mode):
12398 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12399
30fcaf3a
CY
124002011-10-21 Chong Yidong <cyd@gnu.org>
12401
12402 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
12403 * progmodes/vera-mode.el (vera-mode):
12404 Use mode-require-final-newline.
30fcaf3a 12405
516eddb0
GM
124062011-10-20 Glenn Morris <rgm@gnu.org>
12407
db22a3c2 12408 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 12409
10d5f513
CS
124102011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12411
12412 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12413
ac6c8639
CY
124142011-10-20 Chong Yidong <cyd@gnu.org>
12415
12416 * emulation/cua-base.el (cua-mode):
12417 * mail/footnote.el (footnote-mode):
12418 * mail/mailabbrev.el (mail-abbrevs-mode):
12419 * net/xesam.el (xesam-minor-mode):
12420 * progmodes/bug-reference.el (bug-reference-mode):
12421 * progmodes/cap-words.el (capitalized-words-mode):
12422 * progmodes/compile.el (compilation-minor-mode)
12423 (compilation-shell-minor-mode):
12424 * progmodes/gud.el (gud-tooltip-mode):
12425 * progmodes/hideif.el (hide-ifdef-mode):
12426 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12427 * progmodes/subword.el (subword-mode):
12428 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12429 * progmodes/which-func.el (which-function-mode):
12430 * term/tvi970.el (tvi970-set-keypad-mode):
12431 * term/vt100.el (vt100-wide-mode):
12432 * textmodes/flyspell.el (flyspell-mode):
12433 * textmodes/ispell.el (ispell-minor-mode):
12434 * textmodes/nroff-mode.el (nroff-electric-mode):
12435 * textmodes/paragraphs.el (use-hard-newlines):
12436 * textmodes/refill.el (refill-mode):
12437 * textmodes/reftex.el (reftex-mode):
12438 * textmodes/rst.el (rst-minor-mode):
12439 * textmodes/sgml-mode.el (html-autoview-mode)
12440 (sgml-electric-tag-pair-mode):
12441 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12442 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12443 * emulation/crisp.el (crisp-mode):
12444 * emacs-lisp/eldoc.el (eldoc-mode):
12445 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12446 minor mode behavior.
12447
aa42ab43
JL
124482011-10-19 Juri Linkov <juri@jurta.org>
12449
12450 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12451 the list of hard-coded chars with escape-glyph face.
12452
89400f1d
SM
124532011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12454
12455 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12456
305c07f6
MA
124572011-10-19 Michael Albinus <michael.albinus@gmx.de>
12458
12459 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12460 running process.
12461
13754b54
GM
124622011-10-19 Glenn Morris <rgm@gnu.org>
12463
12464 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12465 Ignore ignored files. (Bug#9726)
12466
06e21633
CY
124672011-10-19 Chong Yidong <cyd@gnu.org>
12468
12469 Doc fix for minor modes, stating that an omitted argument enables
12470 the mode unconditionally when called from Lisp.
12471
12472 * abbrev.el (abbrev-mode):
12473 * allout.el (allout-mode):
12474 * autoinsert.el (auto-insert-mode):
12475 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12476 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12477 (global-auto-revert-mode):
12478 * battery.el (display-battery-mode):
12479 * composite.el (global-auto-composition-mode)
12480 (auto-composition-mode):
12481 * delsel.el (delete-selection-mode):
12482 * desktop.el (desktop-save-mode):
12483 * dired-x.el (dired-omit-mode):
12484 * dirtrack.el (dirtrack-mode):
12485 * doc-view.el (doc-view-minor-mode):
12486 * double.el (double-mode):
12487 * electric.el (electric-indent-mode, electric-pair-mode):
12488 * emacs-lock.el (emacs-lock-mode):
12489 * epa-hook.el (auto-encryption-mode):
12490 * follow.el (follow-mode):
12491 * font-core.el (font-lock-mode):
12492 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12493 * help.el (temp-buffer-resize-mode):
12494 * hilit-chg.el (highlight-changes-mode)
12495 (highlight-changes-visible-mode):
12496 * hi-lock.el (hi-lock-mode):
12497 * hl-line.el (hl-line-mode, global-hl-line-mode):
12498 * icomplete.el (icomplete-mode):
12499 * ido.el (ido-everywhere):
12500 * image-file.el (auto-image-file-mode):
12501 * image-mode.el (image-minor-mode):
12502 * iswitchb.el (iswitchb-mode):
12503 * jka-cmpr-hook.el (auto-compression-mode):
12504 * linum.el (linum-mode):
12505 * longlines.el (longlines-mode):
12506 * master.el (master-mode):
12507 * mb-depth.el (minibuffer-depth-indicate-mode):
12508 * menu-bar.el (menu-bar-mode):
12509 * minibuf-eldef.el (minibuffer-electric-default-mode):
12510 * mouse-sel.el (mouse-sel-mode):
12511 * msb.el (msb-mode):
12512 * mwheel.el (mouse-wheel-mode):
12513 * outline.el (outline-minor-mode):
12514 * paren.el (show-paren-mode):
12515 * recentf.el (recentf-mode):
12516 * reveal.el (reveal-mode, global-reveal-mode):
12517 * rfn-eshadow.el (file-name-shadow-mode):
12518 * ruler-mode.el (ruler-mode):
12519 * savehist.el (savehist-mode):
12520 * scroll-all.el (scroll-all-mode):
12521 * scroll-bar.el (scroll-bar-mode):
12522 * server.el (server-mode):
12523 * shell.el (shell-dirtrack-mode):
12524 * simple.el (auto-fill-mode, transient-mark-mode)
12525 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12526 (line-number-mode, column-number-mode, size-indication-mode)
12527 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12528 * strokes.el (strokes-mode):
12529 * time.el (display-time-mode):
12530 * t-mouse.el (gpm-mouse-mode):
12531 * tool-bar.el (tool-bar-mode):
12532 * tooltip.el (tooltip-mode):
12533 * type-break.el (type-break-mode-line-message-mode)
12534 (type-break-query-mode):
12535 * view.el (view-mode):
12536 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12537 (global-whitespace-mode, global-whitespace-newline-mode):
12538 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12539
a3839de2
SM
12540 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12541 Fix autogenerated docstring.
06e21633 12542
5214e501
JL
125432011-10-19 Juri Linkov <juri@jurta.org>
12544
12545 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12546 by checking environment variables "DESKTOP_SESSION" and
12547 "XDG_CURRENT_DESKTOP". (Bug#9779)
12548
195f8db9
JL
125492011-10-19 Juri Linkov <juri@jurta.org>
12550
12551 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12552 (browse-url-chromium-program, browse-url-chromium-arguments):
12553 New defcustoms.
12554 (browse-url-default-browser): Check for `browse-url-chromium' and
12555 call `browse-url-chromium-program'.
12556 (browse-url-chromium): New command. (Bug#9779)
12557
343a34ff
JB
125582011-10-18 Juanma Barranquero <lekktu@gmail.com>
12559
12560 * facemenu.el (list-colors-duplicates): On Windows, detect more
12561 duplicates by assuming that only colors matching "^System" are
12562 special "system colors". (Bug#9722)
12563
6978a151
SM
125642011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12565
12566 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12567 to distinguish the author from the committer.
12568
6a80b297
MA
125692011-10-18 Michael Albinus <michael.albinus@gmx.de>
12570
12571 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12572
b31a5677
JK
125732011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12574
12575 * international/mule.el (sgml-html-meta-auto-coding-function):
12576 Add support for detecting encoding in HTML5 specified only as
12577 <meta charset="UTF-8">. Implementation just makes http-equiv and
12578 content-type parts from HTML4 encoding string optional. (Bug#9716)
12579
80c6d77f
GM
125802011-10-18 Glenn Morris <rgm@gnu.org>
12581
12582 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12583
08b0fee8
CY
125842011-10-18 Chong Yidong <cyd@gnu.org>
12585
12586 * faces.el (cursor): Doc fix.
12587
67e729a5
CY
125882011-10-17 Chong Yidong <cyd@gnu.org>
12589
12590 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12591
343a34ff 125922011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
12593
12594 * dirtrack.el (dirtrack): Support shell buffers with path
12595 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12596
0bc06380
TZ
125972011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12598
12599 * json.el: Bump version to 1.3 and note change in History.
12600 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12601
8b79f3e0
SM
126022011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12603
5a7c536b
SM
12604 * comint.el (comint-insert-input, comint-send-input)
12605 (comint-get-old-input-default, comint-backward-matching-input)
12606 (comint-next-prompt): Use nil instead of `input' for field property of
12607 past user input (bug#114).
12608
96a8a0df
SM
12609 * minibuffer.el (completion--replace): Inherit surrounding properties
12610 (bug#114).
12611 (minibuffer-complete-and-exit): Use it.
12612
8b79f3e0
SM
12613 * comint.el (comint--table-subvert): Quote the all-completions output
12614 (bug#9160).
12615
b8f7ff0d
MR
126162011-10-17 Martin Rudalics <rudalics@gmx.at>
12617
8b79f3e0 12618 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 12619
b8f7ff0d 12620 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 12621 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
12622 entries and separate them from frame entries.
12623
c235b555
GM
126242011-10-15 Glenn Morris <rgm@gnu.org>
12625
12626 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12627 Doc fixes.
12628
6bbfa6e1
CY
126292011-10-15 Chong Yidong <cyd@stupidchicken.com>
12630
8b79f3e0
SM
12631 * net/network-stream.el (network-stream-open-starttls):
12632 Improve detection of failure due to lack of TLS support.
ec5c990d 12633
6bbfa6e1
CY
12634 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12635 putting the input text in front and in bold.
12636
98488977
SM
126372011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12638
3d1337be
SM
12639 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12640
ee0b45e4
SM
12641 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12642 empty buffer.
12643
98488977
SM
12644 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12645 unread-command-events rather than pushing yet-another event.
12646
186f4720
EZ
126472011-10-14 Eli Zaretskii <eliz@gnu.org>
12648
12649 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12650 the explanation of the possible choices. Make the options passed
12651 to completing-read shorter.
12652
8b7a997c
AM
126532011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12654
12655 * textmodes/flyspell.el (flyspell-large-region): Make sure
12656 extended character mode is used if defined (Bug#1339).
12657
12587bbb
EZ
126582011-10-13 Eli Zaretskii <eliz@gnu.org>
12659
12660 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
12661 character info for LRE, LRO, RLE, and RLO characters by appending
12662 an invisible PDF.
12587bbb 12663
bad41229
SM
126642011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12665
12666 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12667 even in case of error; add debug spec; simplify data flow.
12668 (with-timeout-handler): Remove.
12669
28dbc92f
MA
126702011-10-12 Michael Albinus <michael.albinus@gmx.de>
12671
12672 Fix Bug#6019, Bug#9315.
12673
12674 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12675 complete `buffer-file-name', the local file name part could look
12676 remotely (for example on VMS).
12677
12678 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12679 `tramp-run-real-handler'.
12680 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12681 already quoted by '"'.
12682
12683 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12684 Let `file-name-handler-alist' be nil, the local file name part
12685 could look remotely (for example on VMS).
12686
e1b0b23a
SM
126872011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12688
12689 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12690 from here...
12691 (flyspell-post-command-hook): ...to here.
12692
a120bde9
SM
126932011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12694
12695 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12696 if not needed.
12697 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12698 using completion. Protect against "slow" callers.
12699 Remove the "message hack".
12700
7ce7717b
JL
127012011-10-11 Juri Linkov <juri@jurta.org>
12702
12703 * isearch.el (isearch-lazy-highlight-word): New variable.
12704 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12705 Use it. (Bug#9727)
12706
c02ee9d6
GM
127072011-10-11 Glenn Morris <rgm@gnu.org>
12708
12709 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12710 like f90-previous-statement does.
12711
93e616fd 127122011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12713
1f190e73 12714 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
12715 only in interactive use, to avoid error.
12716
af7b6078
SM
127172011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12718
12719 * minibuffer.el (completion-file-name-table): Fix last change,
12720 i.e. ignore normal errors but not the other ones.
12721
0563dae9
MR
127222011-10-10 Martin Rudalics <rudalics@gmx.at>
12723
12724 * window.el (special-display-buffer-names)
12725 (special-display-regexps): Remove some remnants of earlier
12726 changes from doc-strings.
366ca7f3
MR
12727 (quit-windows-on): New function.
12728
12729 * vc/vc.el (vc-revert, vc-rollback):
12730 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12731 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 12732 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 12733
49677495
MR
127342011-10-09 Martin Rudalics <rudalics@gmx.at>
12735
12736 * window.el (frame-auto-hide-function): Add version tag.
12737 (Bug#9699)
12738
56f2d1e1
MA
127392011-10-09 Michael Albinus <michael.albinus@gmx.de>
12740
12741 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12742 condition.
12743
112a6592
LL
127442011-10-09 Leo Liu <sdl.web@gmail.com>
12745
12746 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12747 (Bug#9701)
12748
0812589b
GM
127492011-10-08 Glenn Morris <rgm@gnu.org>
12750
12751 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12752 before the first code statement zero indent. (Bug#9690)
12753
b2b0776e
CY
127542011-10-08 Chong Yidong <cyd@stupidchicken.com>
12755
12756 * simple.el (count-words-region): Always count in the region.
12757 Report the number of lines and characters too.
12758 (count-words): New command, which counts in the buffer if the
12759 region is inactive, as count-words-region used to.
12760 (count-words--message): New function. Handle plurals.
12761 (count-lines-region): Make it an alias for count-words-region.
12762
12763 * bindings.el (esc-map): Replace count-lines-region with
12764 count-words-region.
12765
c557cd6b
MR
127662011-10-08 Martin Rudalics <rudalics@gmx.at>
12767
12768 * window.el (window--delete): Delete dedicated frame
12769 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 12770 (switch-to-buffer): Fix doc-string typo.
c557cd6b 12771
61a57ef4 127722011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12773
3a7d293b 12774 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 12775
c3833279
CY
127762011-10-07 Chong Yidong <cyd@stupidchicken.com>
12777
12778 * bindings.el ([M-left],[M-right]): Bind to left-word and
12779 right-word respectively.
12780
21ce8245
GM
127812011-10-07 Glenn Morris <rgm@gnu.org>
12782
12783 * cus-start.el (debug-on-quit): Fix custom type.
12784
6d823bb2
LMI
127852011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12786
0181e193
LMI
12787 * subr.el (define-key-after): Clarify that the function is not
12788 useful for non-menu keymaps.
12789
6d823bb2
LMI
12790 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12791
8e3459ce 127922011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12793
21ce8245 12794 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 12795 in current minibuffer (Fix bug with recursive minibuffers).
12796
a1c2d21e
CY
127972011-10-06 Chong Yidong <cyd@stupidchicken.com>
12798
12799 * progmodes/gdb-mi.el (gdb): Doc fix.
12800
5a4cf282
MR
128012011-10-05 Martin Rudalics <rudalics@gmx.at>
12802
12803 * window.el (frame-auto-hide-function): New option replacing
12804 frame-auto-delete. Suggested by Stefan Monnier.
12805 (window--delete): Call frame-auto-hide-function instead of
12806 investigating frame-auto-delete.
c96111ea
MR
12807 (window-point-1, set-window-point-1): New functions.
12808 (window-in-direction, record-window-buffer, window-state-get-1)
12809 (display-buffer-record-window): Use window-point-1 instead of
12810 window-point.
12811 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 12812
9854542e
SM
128132011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12814
12815 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12816
8943cfb0
GM
128172011-10-05 Glenn Morris <rgm@gnu.org>
12818
12819 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12820 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12821
647ab967
LL
128222011-10-05 Leo Liu <sdl.web@gmail.com>
12823
12824 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12825 works with buffer object.
12826
3ddfbced
SM
128272011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12828
12829 * mpc.el (mpc-tool-bar-map): Add labels.
12830
bdfa5dd2
GM
128312011-10-04 Glenn Morris <rgm@gnu.org>
12832
12833 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12834
0e2070b5
MR
128352011-10-04 Martin Rudalics <rudalics@gmx.at>
12836
12837 * window.el (window--delete): New function.
12838 (frame-auto-delete): Resuscitate option.
12839 (bury-buffer, replace-buffer-in-windows)
12840 (quit-window): Rewrite using window--delete.
12841 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12842 Pass display-buffer-mark-dedicated to window--display-buffer-2
12843 (Bug#9639).
12844
3dc61a09
SM
128452011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12846
915a9b64
SM
12847 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12848 returns a list (bug#9554). Add remote file name completion.
12849 * comint.el (comint--table-subvert): Curry and get quote&unquote
12850 functions as arguments.
12851 (comint--complete-file-name-data): Adjust call accordingly.
12852 * pcomplete.el (pcomplete--table-subvert): Remove.
12853 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12854
3dc61a09
SM
12855 * minibuffer.el (completion-table-case-fold): Use currying.
12856 (completion--styles-type, completion--cycling-threshold-type):
12857 New constants.
12858 (completion-styles, completion-category-overrides)
12859 (completion-cycle-threshold): Use them.
12860 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12861 completion-table-case-fold.
12862
8ea0a993
SB
128632011-10-03 Stephen Berman <stephen.berman@gmx.net>
12864
12865 * minibuffer.el (completion-category-overrides): Fix type of styles
12866 and add more user friendly tags (bug#9660).
12867
8c24b7f6
SM
128682011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12869
12870 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12871 (mule-input-method-string): New widget.
12872 (default-input-method, language-info-custom-alist): Use it.
12873
428fe61a
SM
128742011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12875
32c1fffd
SM
12876 * pcomplete.el: Require comint.
12877 (pcomplete--common-suffix): Remove.
12878 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12879 (pcomplete--table-subvert): Sync with comint--table-subvert.
12880 (pcomplete--entries): Use comint-completion-file-name-table.
12881 * comint.el (comint-unquote-filename): Simplify.
12882 (comint-completion-file-name-table): New function (bug#9616).
12883 (comint--complete-file-name-data): Use it.
12884
428fe61a
SM
12885 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12886 (pcmpl-gnu-tar-buffer): Remove.
12887 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
12888 around. Make sure pcomplete-suffix-list is only changed temporarily.
12889 Don't look inside the tar's file if it's too large.
428fe61a 12890
04c52e2f
CY
128912011-10-01 Chong Yidong <cyd@stupidchicken.com>
12892
ce3cefcc
CY
12893 * cus-edit.el (custom-mode-map):
12894 * epa.el (epa-key-list-mode-map):
12895 * man.el (Man-mode-map):
12896 * startup.el (splash-screen-keymap):
12897 * simple.el (special-mode-map): Use scroll-up-command and
12898 scroll-down-command.
12899
12900 * progmodes/idlw-help.el (idlwave-help-mode-map):
12901 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12902 * net/newst-plainview.el (newsticker-mode-map):
12903 * emulation/ws-mode.el (wordstar-mode-map):
12904 * emulation/vi.el (vi-com-map):
12905 * calc/calc-graph.el (calc-graph-show-dumb):
12906 * term/sun.el (terminal-init-sun):
12907 * term/ns-win.el (global-map):
12908 * progmodes/grep.el (grep-mode-map):
12909 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12910 * mail/rmail.el (rmail-mode-map):
12911 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12912
04c52e2f
CY
12913 * custom.el (custom-safe-themes, load-theme): Treat value of t for
12914 custom-safe-themes as special.
12915
79adf8c8
JD
129162011-10-01 Julien Danjou <julien@danjou.info>
12917
12918 * notifications.el (notifications-notify): Fix docstring.
12919
63bd50d3
PS
129202011-10-01 Per Starbäck <per@starback.se>
12921
12922 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
12923
199e4c7e
MR
129242011-09-30 Martin Rudalics <rudalics@gmx.at>
12925
12926 * startup.el (command-line-1): Fix last fix by inserting
12927 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 12928 (Bug#9605) and (Bug#9636)
199e4c7e 12929
fe5f08dd
EZ
129302011-09-29 Eli Zaretskii <eliz@gnu.org>
12931
12932 * simple.el (line-move): If auto-hscroll-mode is disabled and the
12933 window is hscrolled, move by logical lines. (Bug#9607)
12934 (line-move-visual): Update the doc string to the above effect.
12935
b5516bbd
MR
129362011-09-29 Martin Rudalics <rudalics@gmx.at>
12937
ccee00c0
MR
12938 * window.el (display-buffer-record-window): When WINDOW is the
12939 selected window use `point' instead of `window-point'. (Bug#9626)
12940
b5516bbd
MR
12941 * startup.el (command-line-1): Use insert-before-markers when
12942 inserting initial-scratch-message. (Bug#9605)
ccee00c0 12943
b5516bbd
MR
12944 * help.el (help-window): Remove variable.
12945
52aa0014
GM
129462011-09-29 Glenn Morris <rgm@gnu.org>
12947
12948 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12949
df9a7357
JB
129502011-09-29 Juanma Barranquero <lekktu@gmail.com>
12951
12952 * descr-text.el (describe-char-categories): Accept category
12953 descriptions more than one line long.
12954
a8406c20
SM
129552011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
12956
88d9610c
SM
12957 * simple.el (delete-trailing-whitespace): Fix last change.
12958
a5daf810
SM
12959 * progmodes/perl-mode.el (perl-syntax-propertize-function):
12960 Don't confuse "y => 3" as the beginning of a `y' operation.
12961
a8406c20
SM
12962 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12963 object has more than 4 slots (bug#9613).
12964
a239d4e9
JB
129652011-09-28 Juanma Barranquero <lekktu@gmail.com>
12966
12967 * subr.el (with-output-to-temp-buffer):
12968 * net/quickurl.el (quickurl, quickurl-browse-url):
12969 Fix typos in docstrings.
12970
693fbdb6
EZ
129712011-09-27 Eli Zaretskii <eliz@gnu.org>
12972
12973 * minibuffer.el (completion-styles)
12974 (completion-category-overrides): Cross reference each other in doc
12975 strings.
12976
8b457e28
GM
129772011-09-27 Glenn Morris <rgm@gnu.org>
12978
12979 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12980 to split-string. (Bug#9606)
12981
85a16208
LMI
129822011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12983
12984 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12985 (bug#9615).
12986
502f9ebd
CY
129872011-09-27 Chong Yidong <cyd@stupidchicken.com>
12988
12989 * emacs-lisp/package.el (list-packages): Fix echo area message.
12990
7690bdea
LL
129912011-09-27 Leo Liu <sdl.web@gmail.com>
12992
12993 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12994
e2ee6f30
MA
129952011-09-25 Michael Albinus <michael.albinus@gmx.de>
12996
12997 * net/dbus.el (dbus-unregister-object): Don't release services for
12998 registered signals. (Bug#9581)
12999
f3f98342
TZ
130002011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13001
13002 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13003 function that picks between cfengine 2 and 3 support
13004 automatically. Update docs accordingly.
13005
dd7aa8dd
KH
130062011-09-22 Kenichi Handa <handa@m17n.org>
13007
13008 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13009 ZERO.
13010 (indian-itrans-v5-table-for-tamil): New variable.
13011 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13012
3f2b07f8
KM
130132011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13014
13015 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13016 that's true if the current command involved collapsing of text.
13017 It's reset to false at the beginning of the next command.
13018 (allout-post-command-business): Move the cursor to the beginning
13019 of entry if the cursor is hidden and collapsing activity just
13020 happened.
13021
371d6a61
CY
130222011-09-24 Chong Yidong <cyd@stupidchicken.com>
13023
13024 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13025 tracking (Bug#9541).
13026
2ac2721a
UJ
130272011-09-24 Ulf Jasper <ulf.jasper@web.de>
13028
13029 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
13030 (newsticker-show-news): Automatically load html rendering package
13031 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13032 because w3m-fill-column is let-bound" and the error "Symbol's value
13033 as variable is void: w3m-fill-column".
2ac2721a 13034
fac7ae53
MA
130352011-09-24 Michael Albinus <michael.albinus@gmx.de>
13036
13037 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13038 Release services only if they are defined. (Bug#9581)
13039
e08b633b
RS
130402011-09-23 Richard Stallman <rms@gnu.org>
13041
e488d29c
RS
13042 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13043 distinguish start of paragraph from start of its text.
13044
19c38752
RS
13045 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13046
e08b633b
RS
13047 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13048 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13049 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13050
0a39f27e
AS
130512011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13052
13053 * international/mule-diag.el (mule-diag): Insert a newline after
13054 each fontset description.
13055
db4e950d
SM
130562011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13057
13058 * simple.el (delete-trailing-whitespace):
13059 Document last change; simplify.
13060
eca3f3ea
PW
130612011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13062
d68e189a
PW
13063 * simple.el (delete-trailing-whitespace): Also delete
13064 extra newlines at the end of the buffer.
13065
eca3f3ea
PW
13066 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13067 (picture-newline): Use forward-line so as to ignore fields.
13068
01c157cc
SM
130692011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13070
13071 * subr.el (with-wrapper-hook): Fix edebug spec.
13072
022de23e
LMI
130732011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13074
13075 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13076 (bug#4538).
13077
91683089
MA
130782011-09-23 Michael Albinus <michael.albinus@gmx.de>
13079
eca3f3ea
PW
13080 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13081 Fix nasty bug using wrong cached values.
91683089 13082
5bdd6fa4
AM
130832011-09-23 Alan Mackenzie <acm@muc.de>
13084
13085 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13086
97adfb97
CY
130872011-09-23 Chong Yidong <cyd@stupidchicken.com>
13088
13089 * window.el (pop-to-buffer): Ensure right window is selected if we
13090 chose another frame.
13091
d4ef2b50
EZ
130922011-09-22 Eli Zaretskii <eliz@gnu.org>
13093
13094 * simple.el (what-cursor-position): Use get-char-property-change
13095 and next-single-char-property-change, to be able to show display
13096 properties that come from overlays as well as text properties.
13097
72258fe5
CY
130982011-09-22 Chong Yidong <cyd@stupidchicken.com>
13099
13100 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13101
13102 * cmuscheme.el (run-scheme, switch-to-scheme):
13103 * cus-edit.el (customize-group, custom-buffer-create)
13104 (customize-browse):
13105 * info.el (info):
13106 * shell.el (shell):
13107 * mail/sendmail.el (mail):
13108 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13109
8f098516
RS
131102011-09-22 Richard Stallman <rms@gnu.org>
13111
13112 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13113 move back only to line beg, don't move back over blank lines.
13114
e74f1bb6
MA
131152011-09-22 Michael Albinus <michael.albinus@gmx.de>
13116
13117 * files.el (copy-directory): Set directory attributes only in case
13118 they could be retrieved from the source directory. (Bug#9565)
13119
bfeef8b6
DK
131202011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13121
13122 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13123 (hs-find-block-beginning, hs-hide-level-recursive):
13124 Ignore strings as well as comments. (Bug#9502)
13125
7e423bb8
AS
131262011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13127
13128 * progmodes/sql.el (sql-comint-postgres):
13129 Convert port number to a string. (Bug#9566)
13130
b4d72fcf
MR
131312011-09-22 Martin Rudalics <rudalics@gmx.at>
13132
13133 * window.el (quit-window): Undedicate window when switching to
13134 previous buffer. Reported by Thierry Volpiatto
13135 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
13136 (special-display-popup-frame): When popping up a new frame reset
13137 its previous buffers to nil. Simplify code.
b4d72fcf 13138
a7b88dc6
MA
131392011-09-21 Michael Albinus <michael.albinus@gmx.de>
13140
13141 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13142 and process filter, as done also in `shell-command'.
13143
cf4eacfd
MR
131442011-09-21 Martin Rudalics <rudalics@gmx.at>
13145
eca3f3ea 13146 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
13147 Call set-window-start with NOFORCE argument t.
13148 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
13149 (quit-window): Reword doc-string. Handle new format of
13150 quit-restore parameter. Don't delete window if it has a
13151 previous buffer we can show instead of the present one.
13152 (display-buffer-record-window): Rewrite using a new format for
13153 the quit-restore window parameter
13154 (special-display-popup-frame, display-buffer-same-window)
13155 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13156 (display-buffer-pop-up-window, display-buffer-use-some-window):
13157 Adapt symbol passed to display-buffer-record-window.
13158 * help.el (help-window-setup): Handle new format of quit-restore
13159 parameter.
13160
8d28cb95
SM
131612011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13162
94ab793f
SM
13163 * faces.el (face-list): Fix docstring (bug#9564).
13164
8d28cb95
SM
13165 * window.el (display-buffer--action-function-custom-type):
13166 Don't include internal functions in the Custom interface.
13167
3820edeb
JL
131682011-09-20 Juri Linkov <juri@jurta.org>
13169
13170 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13171 (Info-forward-node, Info-backward-node, Info-next-preorder)
13172 (Info-last-preorder): Use it. (Bug#9528)
13173
5147931d
JL
131742011-09-20 Juri Linkov <juri@jurta.org>
13175
13176 * info.el (Info-last-preorder): Visit last menu item only when
13177 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13178
cf499a1a
JD
131792011-09-20 Julien Danjou <julien@danjou.info>
13180
13181 * password-cache.el (password-cache-remove): Remove entries even if the
13182 value is nil, so that password with a nil value (negative caching) is
13183 possible to invalidate.
13184
f84e2fe2
LM
131852011-09-20 Lawrence Mitchell <wence@gmx.li>
13186
13187 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13188 all whitespace around breakpoint. (Bug#9553)
13189 (f90-find-breakpoint): Only break at whitespace inside a comment.
13190
78054a46
SM
131912011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13192
13193 * minibuffer.el (completion-file-name-table): Keep track of errors.
13194 (completion-table-with-predicate): Handle the case where pred1 is nil.
13195 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13196
345083b2
SM
131972011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13198
e24e27be
SM
13199 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13200 (debugger-return-value): Signal an error if the debugging context does
13201 not await any return value.
13202
345083b2
SM
13203 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13204 * image-mode.el (image-toggle-display-text)
13205 (image-toggle-display-image): Stay away from evil `intangible'.
13206
08d355e3
LL
132072011-09-19 Leo Liu <sdl.web@gmail.com>
13208
13209 * replace.el (occur-revert-arguments): Make it permanent-local.
13210 (occur-mode): Don't call font-lock-defontify.
13211
f01da43f
CY
132122011-09-19 Chong Yidong <cyd@stupidchicken.com>
13213
13214 * net/ldap.el (ldap-search-internal): Don't push empty search
13215 result (Bug#9508).
13216
b6072fa6
SM
132172011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13218
13219 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13220
443d6696
MA
132212011-09-19 Michael Albinus <michael.albinus@gmx.de>
13222
13223 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13224 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13225
7cc6e154
JL
132262011-09-18 Juri Linkov <juri@jurta.org>
13227
13228 * buff-menu.el (Buffer-menu-mode-map):
13229 * dired.el (dired-mode-map):
13230 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13231 (lisp-interaction-mode-map):
13232 * emacs-lisp/package.el (package-menu-mode-map):
13233 * epa.el (epa-key-list-mode-map):
13234 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13235 (menu-bar-options-menu):
13236 * outline.el (outline-mode-menu-bar-map):
13237 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13238 * vc/vc-dir.el (vc-dir-menu-map):
13239 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13240 Capitalize non-function content words in menu item strings.
13241
13242 * dired.el (dired-mode-map): Add menu item for
13243 `image-dired-dired-toggle-marked-thumbs'.
13244
80302a81
JL
132452011-09-18 Juri Linkov <juri@jurta.org>
13246
13247 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13248 to `isearch-case-fold-search' and restore its original value
13249 after the `isearch-mode' call.
13250
46c5cf66
JL
132512011-09-18 Juri Linkov <juri@jurta.org>
13252
13253 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13254 because `zgrep' returns 1 for successful matches (bug#9226).
13255
d18b513b
JL
132562011-09-18 Juri Linkov <juri@jurta.org>
13257
13258 * info.el (Info-extract-menu-node-name): Check the second match
13259 for empty string (second test-case of bug#9528).
13260 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13261 intermediate nodes to the history (first test-case of bug#9528).
13262
72753f87
JL
132632011-09-18 Juri Linkov <juri@jurta.org>
13264
13265 * info.el (Info-mode-syntax-table): New variable.
1154d12e 13266 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 13267
c9384295
JL
132682011-09-18 Juri Linkov <juri@jurta.org>
13269
1154d12e
JB
13270 * info.el (Info-file-supports-index-cookies):
13271 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13272 outputs one more line for long file names (bug#4142).
c9384295 13273
d473dce8
CY
132742011-09-18 Chong Yidong <cyd@stupidchicken.com>
13275
13276 * newcomment.el (comment-normalize-vars): If prompting for
13277 comment-start, set comment-start-skip too (Bug#8424).
13278
2176854d
JB
132792011-09-18 Johan Bockgård <bojohan@gnu.org>
13280
13281 * icomplete.el: Fix previous fix of Bug#5849.
13282 (icomplete-mode): Don't set completion-show-inline-help.
13283 (icomplete-minibuffer-setup): Set completion-show-inline-help
13284 locally during icompletion.
13285
3aace4e4
CY
132862011-09-18 Chong Yidong <cyd@stupidchicken.com>
13287
c940224f
CY
13288 * woman.el (woman2-process-escapes): Don't delete unrecognized
13289 escapes (Bug#7843).
13290
3aace4e4
CY
13291 * files.el (inhibit-first-line-modes-regexps): Add image files.
13292 (hack-local-variables-prop-line): Return nil for malformed
13293 prop-lines (Bug#9044).
13294
710dec63
MA
132952011-09-18 Michael Albinus <michael.albinus@gmx.de>
13296
13297 * net/tramp.el (top): Don't require 'shell.
13298 (tramp-methods): Fix docstring.
13299 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
13300 Return complete remote file name. Handle "smb" case.
13301 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
13302 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13303
13304 * net/tramp-compat.el (top): Require 'shell.
13305
13306 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13307 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13308 `tramp-current-host'.
13309 (tramp-get-remote-tmpdir): Remove.
13310
13311 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13312 `tramp-tmpdir' entries.
13313 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13314 (tramp-smb-handle-file-attributes): Ignore errors.
13315 (tramp-smb-wait-for-output): Check also for process end.
13316
5d5ac8ec
LMI
133172011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13318
13319 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13320 when sending QUIT (bug#9312).
13321
8c0f49f0
CY
133222011-09-17 Chong Yidong <cyd@stupidchicken.com>
13323
13324 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13325 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13326 occur-mode-display-occurrence.
13327 (occur-edit-mode): Add usage message.
13328 (occur-cease-edit): New command.
13329 (occur-after-change-function): Use text properties to find the
13330 position of the prefix text.
13331 (occur-engine): Set stickiness of prefix text properties.
13332
8f1383f7
GM
133332011-09-17 Glenn Morris <rgm@gnu.org>
13334
13335 * progmodes/etags.el (complete-tag):
13336 Fix call to completion-in-region. (Bug#9526)
13337
744ba0e3
JL
133382011-09-17 Juri Linkov <juri@jurta.org>
13339
13340 * textmodes/ispell.el (ispell-word): Add to the error message
13341 the word, ispell program name and current dictionary (bug#9121).
13342 (ispell-tex-arg-end): Capitalize "error" in the error message.
13343
d9bbf400
AS
133442011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13345
13346 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13347 check. (Bug#4251)
13348
8da11505
JL
133492011-09-17 Juri Linkov <juri@jurta.org>
13350
13351 * window.el (window-safe-min-height, window-safe-min-width):
13352 Fix typos (followup to bug#9522).
13353
a91adc7e
SJ
133542011-09-17 Sven Joachim <svenjoac@gmx.de>
13355
13356 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13357
064f328a
EZ
133582011-09-16 Eli Zaretskii <eliz@gnu.org>
13359
13360 * simple.el (line-move): If goal-column is set, move by logical
13361 lines, not by display lines. (Bug#971)
13362 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13363 to reflect the above change.
13364
e69df516
SM
133652011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13366
13367 * image.el (imagemagick-register-types): Use regexp-opt.
13368
cbb0f9ab
CY
133692011-09-15 Chong Yidong <cyd@stupidchicken.com>
13370
13371 * window.el (display-buffer-base-action): Rename from
13372 display-buffer-default-action. Make default value empty.
13373 (display-buffer-overriding-action): Convert to defvar.
13374 (display-buffer-fallback-action): New var.
13375
25322144
CY
133762011-09-15 Chong Yidong <cyd@stupidchicken.com>
13377
13378 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13379 declaration.
13380 (package--add-to-archive-contents): If there is a duplicate entry
13381 with an older version, remove it.
13382 (package-menu-mark-delete, package-menu-mark-install)
13383 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
13384 (package-menu-mark-obsolete-for-deletion):
13385 Use package-menu-get-status instead of a regexp search.
25322144
CY
13386 (package-menu-get-status): Use tabulated-list-entry.
13387 (package-menu-mark-upgrades): New command.
d770725a 13388 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
13389 (package-menu-execute): Do installation before deletion.
13390 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13391 instead of checking major-mode.
13392 (package-menu--find-upgrades): New function.
13393
7520339c
LMI
133942011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13395
13396 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13397 passwords in the log buffer.
65a046c4
LMI
13398 (smtpmail-process-filter): Update the process marker so that the
13399 "broken by peer" status message is inserted in the right place.
7520339c 13400
d3c30954
SM
134012011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13402
3fe48822
SM
13403 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13404 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13405 bibtex-completion-at-point-function.
13406 (bibtex-completion-at-point-function): Use them.
13407
1b8b3954
SM
13408 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13409
d3c30954
SM
13410 * mpc.el (mpc-constraints-tag-lookup): New function.
13411 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13412 also to browser "album|playlist".
13413
72779976
JL
134142011-09-14 Juri Linkov <juri@jurta.org>
13415
13416 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13417 (isearch-edit-string): Use length of `isearch-string' when
13418 `isearch-fail-pos' returns nil.
13419 (isearch-message): Remove duplicate code and call
13420 `isearch-fail-pos' with arg `t'.
13421
a0bf2bcd
CY
134222011-09-14 Chong Yidong <cyd@stupidchicken.com>
13423
17bb0a2d
CY
13424 * replace.el (occur-mode-goto-occurrence): Don't force using other
13425 window (Bug#9499).
13426
a0bf2bcd
CY
13427 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13428
f678e0b6
MR
134292011-09-14 Martin Rudalics <rudalics@gmx.at>
13430
13431 * window.el (display-buffer-window): Remove.
13432 (display-buffer-record-window): Use help-setup window parameter
13433 instead of variable display-buffer-window.
13434 (display-buffer-function, special-display-buffer-names)
13435 (special-display-function): Mention help-setup parameter instead
13436 of display-buffer-window in doc-string.
d3c30954
SM
13437 * help.el (help-window-setup): New argument help-window.
13438 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
13439 Reword some messages.
13440 (with-help-window): Pass window used for displaying the buffer
13441 to help-window-setup. Don't set display-buffer-window.
13442
8e39b2e8
GM
134432011-09-13 Glenn Morris <rgm@gnu.org>
13444
13445 * emacs-lisp/debug.el (debugger-make-xrefs):
13446 Preserve point. (Bug#9462)
13447
85e9c04b
CY
134482011-09-13 Chong Yidong <cyd@stupidchicken.com>
13449
13450 * window.el (window-deletable-p): Use next-frame.
13451
1b36ed6a
MR
134522011-09-13 Martin Rudalics <rudalics@gmx.at>
13453
13454 * window.el (window-auto-delete): Remove.
13455 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 13456 dedication and previous buffers.
1b36ed6a
MR
13457 (switch-to-prev-buffer): Don't delete window.
13458 (delete-windows-on): Delete a window's frame if and only if the
13459 window is dedicated.
13460 (replace-buffer-in-windows): Delete buffer's window or frame if
13461 and only if window is dedicated.
13462 (quit-window): Handle quit-restore as before last change.
4d61f28d 13463 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 13464
ef8ef9fb
CY
134652011-09-13 Chong Yidong <cyd@stupidchicken.com>
13466
13467 * window.el (window-deletable-p): Never delete the last frame on a
13468 given terminal.
13469
b2cba41e
GM
134702011-09-13 Glenn Morris <rgm@gnu.org>
13471
13472 * help.el (describe-key-briefly): Copy previous standard-output change.
13473
51553db6 134742011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
13475
13476 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13477
b7556719
GM
134782011-09-13 Glenn Morris <rgm@gnu.org>
13479
13480 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13481 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13482
64b51947
CY
134832011-09-12 Chong Yidong <cyd@stupidchicken.com>
13484
13485 * dired-aux.el (dired-mark-read-string): Don't return default
13486 value on empty input (Bug#9361).
13487 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13488 Omit initial minibuffer contents.
13489 (dired-do-chmod): Signal an error on empty input.
13490 (dired-mark-read-string): Don't return default on empty input.
13491
13492 * files.el (file-modes-symbolic-to-number): Doc fix.
13493
393a301e
SM
134942011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13495
13496 * international/mule-cmds.el (ucs-completions): Remove.
13497 (read-char-by-name): Use complete-with-action instead; add metadata.
13498
fa5660f9
CY
134992011-09-11 Chong Yidong <cyd@stupidchicken.com>
13500
13501 * window.el (display-buffer--action-function-custom-type)
13502 (display-buffer--action-custom-type): New vars.
13503 (display-buffer-alist, display-buffer-default-action)
13504 (display-buffer-overriding-action): Add defcustom types.
13505
4a592f66
CY
13506 * frame.el (delete-other-frames): Doc fix (Bug#276).
13507
73d56dbd
LMI
135082011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13509
13510 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13511
37ac18a3
CY
135122011-09-11 Chong Yidong <cyd@stupidchicken.com>
13513
13514 Change modes that used same-window-* vars to use switch-to-buffer.
13515
13516 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13517 Use switch-to-buffer.
13518
13519 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
13520 (customize-browse, custom-buffer-create-other-window):
13521 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
13522
13523 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13524 (Info-prev, Info-up, Info-speedbar-goto-node)
13525 (info-display-manual): Use switch-to-buffer.
13526 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13527
13528 * mail/sendmail.el (mail): Use switch-to-buffer.
13529 (mail-recover): Use switch-to-buffer-other-window.
13530
13531 * cmuscheme.el (run-scheme, switch-to-scheme):
13532 * ielm.el (ielm):
13533 * shell.el (shell):
13534 * net/rlogin.el (rlogin):
13535 * net/telnet.el (telnet, rsh):
13536 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13537
10195bd6
AS
135382011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13539
13540 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13541
b322f63a
LMI
135422011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13543
39d7fed6
LMI
13544 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13545 so don't mention it (bug#9301).
ba5a81f1 13546 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 13547
ee0e9f11
LMI
13548 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13549 match `x', `w32' and `ns', like the manual says (bug#9029).
13550
0b1c89c1 13551 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
13552 (process-kill-buffer-query-function): Mention the buffer name in
13553 the query.
0b1c89c1 13554
77549ea8
LMI
13555 * image-mode.el (image-next-line): The line parameter is mandatory
13556 (bug#9258).
13557
803ef892
LMI
13558 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13559 which can be useful (bug#9301).
13560
12980837
LMI
13561 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13562
91054f8f
LMI
13563 * subr.el (match-string): Mention that the current buffer should
13564 be the same as the search was done in (bug#9282).
13565
b322f63a
LMI
13566 * facemenu.el: Disable the remove-* commands if the mark isn't
13567 active (bug#9162).
13568
3199b96f
CY
135692011-09-10 Chong Yidong <cyd@stupidchicken.com>
13570
13571 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13572 of display-buffer.
13573 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13574
13575 * replace.el (occur-mode-goto-occurrence)
13576 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13577 and display-buffer.
13578
13579 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13580 display-buffer.
13581
13582 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13583 special-display and same-window variables.
13584 (mail-other-window): Use switch-to-buffer-other-window.
13585 (mail-other-frame): USe switch-to-buffer-other-frame.
13586
393a301e
SM
13587 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13588 Use display-buffer-other-frame.
3199b96f
CY
13589 (gdb-display-gdb-buffer): Use pop-to-buffer.
13590
13591 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13592
13593 * progmodes/python.el: Don't set same-window-buffer-names.
13594
13595 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13596
13597 * window.el (display-buffer-alist): Add *Python*.
13598
8319e0bf
CY
135992011-09-10 Chong Yidong <cyd@stupidchicken.com>
13600
13601 * window.el (display-buffer-alist): Add entry for buffers
13602 previously handled same-window-*.
13603 (display-buffer-alist, display-buffer-default-action)
13604 (display-buffer-overriding-action): Mark as risky.
13605 (display-buffer-alist): Document action function changes.
13606 (display-buffer--same-window-action)
13607 (display-buffer--other-frame-action): New variables.
13608 (switch-to-buffer, display-buffer-other-frame): Use them.
13609 (display-buffer): Rename reuse-frame entry to reusable-frames.
13610 (display-buffer-reuse-selected-window): Function deleted.
13611 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13612 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13613 (display-buffer-special): New function.
13614 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13615 display-buffer-reuse-or-pop-window. Split off special-display
13616 part into display-buffer-special.
13617 (display-buffer-use-some-window): Don't perform any special
13618 pop-up-frames handling.
13619 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 13620 (display-buffer--maybe-same-window): Rename from
0d3ff375 13621 display-buffer-maybe-same-window.
8319e0bf 13622
919a69aa
CY
13623 * info.el: Don't set same-window-regexps.
13624 (info-setup): New function.
13625 (info-other-window, info): Call it.
13626
13627 * cus-edit.el: Don't set same-window-regexps.
13628 (customize-group): New argument.
13629 (customize-group-other-window): Use it.
13630 (customize-face, customize-face-other-window): Likewise.
13631 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13632
8319e0bf
CY
13633 * net/rlogin.el:
13634 * net/telnet.el:
13635 * progmodes/gud.el: Don't set same-window-regexps.
13636
13637 * cmuscheme.el:
13638 * ielm.el:
13639 * shell.el:
13640 * mail/sendmail.el:
13641 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13642
25173000
JL
136432011-09-10 Juri Linkov <juri@jurta.org>
13644
13645 * isearch.el (isearch-edit-string): Remove obsolete mention of
13646 `C-w' (`isearch-yank-word-or-char') from docstring.
13647 (isearch-query-replace): Fix typo in docstring (bug#9466).
13648
056e44ef
JL
136492011-09-10 Juri Linkov <juri@jurta.org>
13650
13651 * paren.el (show-paren-function): Don't show escaped parens.
13652 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13653
c3760c17
EZ
136542011-09-10 Eli Zaretskii <eliz@gnu.org>
13655
13656 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13657 (mm-default-file-encoding): Remove autoload forms, they are
13658 replaced with autoload cookies in mml.el and mm-encode.el.
13659 (mail-add-attachment): New command.
13660 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13661 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13662 the doc string.
13663 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13664
fece895e
RT
136652011-09-10 Reuben Thomas <rrt@sc3d.org>
13666
e69df516
SM
13667 * simple.el (count-words-region): Use buffer if there's no region
13668 (bug#9429).
fece895e 13669
5e68ce4a
JL
136702011-09-09 Juri Linkov <juri@jurta.org>
13671
13672 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13673 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13674 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13675
0a6b9622
AM
136762011-09-09 Alan Mackenzie <acm@muc.de>
13677
13678 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13679 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13680
14a29deb
EZ
136812011-09-09 Eli Zaretskii <eliz@gnu.org>
13682
13683 Fix for Savannah bug#9392.
13684 * simple.el (mail-encode-mml): New defvar.
13685
13686 * mail/rmail.el (mail-encode-mml): Add a defvar.
13687 (rmail-enable-mime-composing): Default to t.
13688 (rmail-forward): Use MIME method of forwarding only if both
13689 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13690 Set mail-encode-mml non-nil if the MIME method was used.
13691
13692 * mail/sendmail.el (mml-to-mime): Add autoload form.
13693 (mail-encode-mml): Add a defvar.
13694 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13695 to nil.
13696 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13697 message through mml-to-mime, and reset mail-encode-mml to nil.
13698
28c45130
GM
136992011-09-09 Glenn Morris <rgm@gnu.org>
13700
13701 * woman.el (woman-if-body): When processing an .el block,
13702 do not delete the next .el block as well. (Bug#9447)
69f4b618 13703 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 13704
9b1c252e
MR
137052011-09-08 Martin Rudalics <rudalics@gmx.at>
13706
13707 * window.el (window-deletable-p): Make sure window is live before
13708 invoking window-prev-buffers.
13709
567457e3
LL
137102011-09-08 Leo Liu <sdl.web@gmail.com>
13711
13712 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13713
97f05794
JL
137142011-09-08 Juri Linkov <juri@jurta.org>
13715
13716 * progmodes/compile.el (compilation-environment): Make it
13717 a defcustom (bug#8340).
13718
8b0874b5
MR
137192011-09-08 Martin Rudalics <rudalics@gmx.at>
13720
13721 * window.el (frame-auto-delete): Rename to window-auto-delete.
13722 Make it control auto-deletion of windows and/or frames.
13723 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 13724 for deleting window/frame. (Bug#9419)
8b0874b5
MR
13725 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13726 Rewrite handling of case when window/frame can be deleted.
13727 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 13728 argument t. (Bug#9456)
8b0874b5 13729
4feb6e73
CY
137302011-09-07 Chong Yidong <cyd@stupidchicken.com>
13731
13732 * help-mode.el (help-mode): Restore autoload.
13733
91ab9c13
JL
137342011-09-07 Juri Linkov <juri@jurta.org>
13735
13736 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13737 `compilation-environment'. Set buffer-local
13738 `compilation-environment' to `thisenv' later after (funcall mode).
13739 (Bug#8340)
13740
13741 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13742 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13743 instead of replacing its value. (Bug#8340)
13744
0527e251
JL
137452011-09-07 Juri Linkov <juri@jurta.org>
13746
13747 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13748 based on text properties put by `grep-filter' instead of matching
13749 escape sequences.
13750 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13751 to the value of `grep-error-screen-columns' (bug#9438).
13752
249f792c
JL
137532011-09-07 Juri Linkov <juri@jurta.org>
13754
13755 * simple.el (next-error-highlight, next-error-highlight-no-select):
13756 Doc fix (bug#9432).
13757
ff7271b9
OT
137582011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13759
13760 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13761 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13762
183fc730
LL
137632011-09-07 Leo Liu <sdl.web@gmail.com>
13764
13765 * net/rcirc.el (rcirc-mode): Conditionally initialize
13766 rcirc-input-ring.
13767
77694924
SM
137682011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13769
13770 * emacs-lisp/find-func.el (find-function-C-source): Only set
13771 find-function-C-source-directory after checking that we found a source
13772 file there (bug#9440).
13773
d809b8eb
AM
137742011-09-06 Alan Mackenzie <acm@muc.de>
13775
13776 * isearch.el (isearch-other-meta-char): Wherever a key list is
13777 unread, "unread" the prefix arg, too. This fixes bug #8901.
13778
453de99f
OG
137792011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13780
13781 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13782
90439906
JL
137832011-09-05 Juri Linkov <juri@jurta.org>
13784
13785 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13786
f62bd846
JL
137872011-09-05 Juri Linkov <juri@jurta.org>
13788
13789 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13790 keeping point where processing of grep matches begins, and
13791 continue to delete remaining escape sequences from the same point.
13792 (grep-filter): Make leading zero optional in "0?1;31m" because
13793 git-grep emits "\033[1;31m" escape sequences unlike expected
13794 "\033[01;31m" as GNU Grep does (bug#9408).
13795 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13796
045820ec
JL
137972011-09-05 Juri Linkov <juri@jurta.org>
13798
13799 * subr.el (y-or-n-p): Capitalize "yes".
13800
f5e29b9b
MA
138012011-09-04 Michael Albinus <michael.albinus@gmx.de>
13802
13803 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13804 `tramp-cache-unload-hook' where appropriate.
13805 (tramp-methods): Rename `tramp-remote-sh' to
13806 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13807 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13808
13809 * net/tramp-sh.el (top): Don't require 'shell.
13810 (tramp-methods): Add `tramp-remote-shell' and
13811 `tramp-remote-shell-args' entries.
13812 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13813 (tramp-sh-handle-shell-command): Remove.
13814 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13815 Use `tramp-remote-shell'.
13816
2784c434
CY
138172011-09-03 Chong Yidong <cyd@stupidchicken.com>
13818
393a301e 13819 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
13820 (sendmail-query-once): Save directly to send-mail-function.
13821 Update message-send-mail-function too.
13822
13823 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13824
464cdf56
CS
138252011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13826
13827 * progmodes/python.el (python-mode-map): Use correct function to
13828 start python interpreter from menu-bar (as reported by Geert
13829 Kloosterman).
13830 (inferior-python-mode-map): Fix typo.
393a301e 13831 (python-shell-map): Remove.
464cdf56 13832
d37e5c87
DD
138332011-09-03 Deniz Dogan <deniz@dogan.se>
13834
13835 * net/rcirc.el (rcirc-print): Simplify code for
13836 rcirc-scroll-show-maximum-output. There is no need to walk
13837 through all windows to find the right one.
13838
f3ada0ee
CS
138392011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13840
13841 * help.el (help-return-method): Doc fix.
13842
1f3c99ca
MR
138432011-09-03 Martin Rudalics <rudalics@gmx.at>
13844
13845 * window.el (window-deletable-p): Don't return a non-nil value
13846 when there's a buffer that was shown in the window before.
13847 (Bug#9419)
393a301e
SM
13848 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13849 Set window's previous buffers to nil.
1f3c99ca 13850
a3cf097f
EZ
138512011-09-03 Eli Zaretskii <eliz@gnu.org>
13852
13853 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13854 newline before and after the tag line, so it doesn't interfere
13855 with determining the paragraph direction of bidirectional text.
13856
3d03de90
LL
138572011-09-03 Leo Liu <sdl.web@gmail.com>
13858
13859 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13860
c3313451
CY
138612011-09-02 Chong Yidong <cyd@stupidchicken.com>
13862
393a301e 13863 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
13864 (pop-to-buffer): Change interactive spec. Pass second argument
13865 directly to display-buffer.
13866 (display-buffer): Fix interactive spec. Use functionp to
13867 distinguish between a function and a list of functions.
13868
13869 * abbrev.el (edit-abbrevs):
13870 * arc-mode.el (archive-extract):
13871 * autoinsert.el (auto-insert):
13872 * bookmark.el (bookmark-bmenu-list):
13873 * files.el (find-file):
13874 * view.el (view-buffer):
13875 * progmodes/compile.el (compilation-goto-locus):
13876 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13877
89894cd8
CY
138782011-09-02 Chong Yidong <cyd@stupidchicken.com>
13879
13880 * window.el (display-buffer-alist): Doc fix.
13881 (display-buffer): Add docstring. Don't treat
13882 display-buffer-default specially.
13883 (display-buffer-reuse-selected-window)
13884 (display-buffer-same-window, display-buffer-maybe-same-window)
13885 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13886 (display-buffer-pop-up-window)
13887 (display-buffer-reuse-or-pop-window)
13888 (display-buffer-use-some-window): New functions.
13889 (display-buffer-default-action): Use them.
393a301e 13890 (display-buffer-default): Delete.
89894cd8
CY
13891 (pop-to-buffer-1): Fix choice of actions.
13892
ae0bc9fb
SM
138932011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13894
13895 * minibuffer.el (completion--insert-strings): Don't get confused by
13896 completion entries that end with an LF char.
13897
e9d90883
EZ
138982011-09-01 Eli Zaretskii <eliz@gnu.org>
13899
13900 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13901
437014c8
CY
139022011-09-01 Chong Yidong <cyd@stupidchicken.com>
13903
13904 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
13905 (display-buffer-same-window, display-buffer-other-window):
13906 New functions.
437014c8
CY
13907 (pop-to-buffer-1): New function. Use the above.
13908 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 13909 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
13910
13911 * view.el (view-buffer-other-window, view-buffer-other-frame):
13912 Just use pop-to-buffer.
13913
a5e063d5
TV
139142011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13915
13916 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
13917
793d32bb
WH
139182011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
13919
13920 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
13921
d65e4c15
RS
139222011-08-31 Richard Stallman <rms@gnu.org>
13923
13924 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13925 of the separation of rmail-view-buffer from rmail-buffer.
13926 If you say no to "replace original", the decrypt is in the
13927 view buffer. If you say yes, the decrypt goes into the
13928 rmail buffer also.
13929
f818cd2a
MR
139302011-08-31 Martin Rudalics <rudalics@gmx.at>
13931
13932 * window.el (display-buffer-window): Rewrite doc-string.
13933 (display-buffer-record-window): New function.
13934 (display-buffer-macro-specifiers)
13935 (display-buffer-even-window-sizes, display-buffer-set-height)
13936 (display-buffer-set-width, display-buffer-in-window)
13937 (display-buffer-reuse-window, display-buffer-split-specifiers)
13938 (display-buffer-side-specifiers, display-buffer-split-window-1)
13939 (display-buffer-split-window, display-buffer-split-atom-window)
13940 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13941 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13942 (display-buffer-other-window-means-other-frame)
13943 (display-buffer-normalize-special)
13944 (display-buffer-normalize-default)
13945 (display-buffer-normalize-argument)
13946 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13947 (display-buffer-normalize-specifiers, display-buffer-frame)
13948 (display-buffer-same-window, display-buffer-same-frame)
13949 (display-buffer-other-window)
13950 (display-buffer-same-frame-other-window)
13951 (display-buffer-other-frame, pop-to-buffer-same-window)
13952 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13953 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13954 (switch-to-buffer-same-frame)
13955 (switch-to-buffer-other-window-same-frame)
13956 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13957 (display-buffer-alist-set-1, display-buffer-alist-set-2)
13958 (display-buffer-alist-set): Remove.
13959 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
13960 (special-display-regexps, special-display-function):
13961 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
13962 parameter.
13963 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13964 (special-display-frame-alist, special-display-popup-frame)
13965 (same-window-buffer-names, same-window-regexps, same-window-p)
13966 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13967 (split-window-preferred-function, split-height-threshold)
13968 (split-width-threshold, window-splittable-p)
13969 (split-window-sensibly, window--try-to-split-window)
13970 (window--frame-usable-p, even-window-heights)
13971 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
13972 (window--display-buffer-2, display-buffer-other-frame):
13973 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
13974 (display-buffer-default, display-buffer-assq-regexp): New functions.
13975 (display-buffer-alist): Rewrite doc-string.
13976 (display-buffer-default-action)
13977 (display-buffer-overriding-action): New variables.
13978 (display-buffer, switch-to-buffer): Rewrite.
13979 (pop-to-buffer): Restore Emacs 23 behavior but use
13980 window-normalize-buffer-to-display.
13981 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13982 Restore Emacs 23 behavior but use
13983 window-normalize-buffer-to-switch-to.
13984 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
13985 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13986 Rewrite using Emacs 23 options.
f818cd2a 13987
5bc3b51d
MA
139882011-08-31 Michael Albinus <michael.albinus@gmx.de>
13989
13990 * net/tramp.el (tramp-root-regexp): Remove.
13991 (tramp-completion-file-name-regexp-unified)
13992 (tramp-completion-file-name-regexp-separate)
13993 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 13994 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
13995 (tramp-drop-volume-letter): Simplify definition.
13996 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 13997
b1a4f8e1
SM
139982011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13999
14000 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14001 (bug#9356).
14002
5664fa7b
RT
140032011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14004
b1a4f8e1 14005 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 14006
9a45d6c3
JL
140072011-08-29 Juri Linkov <juri@jurta.org>
14008
14009 * isearch.el (isearch-done): Don't display message "Mark saved"
14010 when arg `edit' is non-nil to prevent its flicker in the echo area.
14011
fb87e0fb
CY
140122011-08-28 Chong Yidong <cyd@stupidchicken.com>
14013
14014 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14015 obsolete packages for deletion.
14016
09ac1c2a
CS
140172011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14018
14019 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 14020 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
14021 view-mode from help-mode.
14022 (help-xref-override-view-map): Remove.
14023 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14024 view-mode is not used anymore.
14025
7a1ff57f
CY
140262011-08-28 Chong Yidong <cyd@stupidchicken.com>
14027
14028 * server.el (server-port): Doc fix.
14029
b9696605
CY
14030 * cus-theme.el (custom-theme-choose-mode): Inherit from
14031 special-mode (Bug#9124).
14032 (custom-theme-choose-mode-map): Add special-mode to parent.
14033
ef8cdf8c
AM
140342011-08-28 Alan Mackenzie <acm@muc.de>
14035
14036 * progmodes/cc-fonts.el
14037 (c-make-font-lock-BO-decl-search-function): New function.
14038 (c-basic-matchers-after - "Fontify the clauses after various
14039 keywords"): Extract the three keyword lists for the 3 erroneous
14040 constructs from the list of four, and use the new function above
14041 in place of an old one.
14042
27de4e20
DD
140432011-08-28 Deniz Dogan <deniz@dogan.se>
14044
14045 * net/rcirc.el (rcirc-insert-prev-input)
14046 (rcirc-insert-next-input): Remove unused argument.
14047
356a3681
SM
140482011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14049
14050 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14051
3fc9b218
AM
140522011-08-27 Alan Mackenzie <acm@muc.de>
14053
14054 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14055 handle function pointer parameters properly.
14056
538a061c
MR
140572011-08-27 Martin Rudalics <rudalics@gmx.at>
14058
14059 * window.el (display-buffer-reuse-window): Fix case where
14060 selected window was reused with non-nil OTHER-WINDOW argument.
14061 (Bug#9381)
14062
35b1c40c
DD
140632011-08-27 Deniz Dogan <deniz@dogan.se>
14064
14065 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14066 oftc's NickServ messages.
14067
2f6a3e79
GM
140682011-08-27 Glenn Morris <rgm@gnu.org>
14069
14070 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14071
7254299e
CY
140722011-08-26 Chong Yidong <cyd@stupidchicken.com>
14073
14074 * emacs-lisp/package.el (package-install): Call package-initialize
14075 if called interactively.
14076
f8ccf167
LL
140772011-08-26 Leo Liu <sdl.web@gmail.com>
14078
14079 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14080
3e8cd5ce
JL
140812011-08-25 Juri Linkov <juri@jurta.org>
14082
14083 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14084 `search-whitespace-regexp' (bug#9364).
14085
93eb7113
JL
140862011-08-25 Juri Linkov <juri@jurta.org>
14087
14088 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14089 `regexp-search-ring' to their global values to protect from
14090 updating by `read-from-minibuffer' (bug#9185).
14091
f65d1611
JL
140922011-08-25 Juri Linkov <juri@jurta.org>
14093
14094 * textmodes/ispell.el (ispell-command-loop): Add newline
14095 at the end of the "Use option `i'..." line.
14096
f1cf7a31
JL
140972011-08-25 Juri Linkov <juri@jurta.org>
14098
14099 * battery.el (display-battery-mode): If `battery-status-function'
14100 or `battery-mode-line-format' is nil, display the message and set
14101 `display-battery-mode' to nil (bug#9363).
14102
0c95fcf7
EZ
141032011-08-25 Eli Zaretskii <eliz@gnu.org>
14104
14105 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14106 bidi-string-mark-left-to-right; they are unnecessary now.
14107
a2ebe600
DD
141082011-08-25 Deniz Dogan <deniz@dogan.se>
14109
14110 * net/quickurl.el: Documentation typo fixes.
14111
e4ed06f1
CY
141122011-08-25 Chong Yidong <cyd@stupidchicken.com>
14113
14114 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14115
e5f1c99e
GM
141162011-08-25 Glenn Morris <rgm@gnu.org>
14117
b2948976
GM
14118 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14119
e5f1c99e
GM
14120 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14121 (smtpmail-via-smtp): Handle nil response from smtp.
14122
f22f4808
JL
141232011-08-24 Juri Linkov <juri@jurta.org>
14124
14125 * proced.el (proced-marked): Inherit from `error' instead of
14126 `font-lock-warning-face'.
14127
14128 * ibuffer.el (ibuffer-marked-face): Change default face from
14129 `font-lock-warning-face' to `warning'.
14130 (ibuffer-deletion-face): Change default face from
14131 `font-lock-type-face' to `error'.
14132
14133 * battery.el (battery-update): Use the face `error' instead of
14134 `font-lock-warning-face' (bug#6117).
14135
6a93965e
JL
141362011-08-24 Juri Linkov <juri@jurta.org>
14137
14138 * faces.el (success): Change face color from "Green3" to
14139 "ForestGreen" on light background (bug#9353).
14140
1ed43b09
CY
141412011-08-24 Chong Yidong <cyd@stupidchicken.com>
14142
5664fa7b
RT
14143 * window.el (quit-window): Rename from quit-restore-window.
14144 Use same arglist as old quit-window.
1ed43b09
CY
14145 (frame-auto-delete): Doc fix.
14146
14147 * view.el (view-mode-exit): Use quit-window.
14148
11dcdbb2
JL
141492011-08-24 Juri Linkov <juri@jurta.org>
14150
14151 * isearch.el (isearch-ring-adjust1): Start visiting previous
14152 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14153 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14154 for empty search string (when the last search string is reused
14155 automatically) to adjust the isearch ring to the last element and
14156 prepare the correct index for further M-p commands (bug#9185).
14157
de62b4df
KH
141582011-08-24 Kenichi Handa <handa@m17n.org>
14159
14160 * international/ucs-normalize.el: If decomposition property of
14161 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14162 nil.
14163 (nfd, nfkd): Likewise.
14164
963b492b
SM
141652011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14166
14167 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14168 from process filters aren't reliably transmitted to the surrounding
14169 accept-process-output.
14170 (mpc-proc-check): New function.
14171 (mpc-proc-sync): Use it (bug#8293)
14172
93b6b5e1
SM
141732011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14174
14175 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14176 Add compatibility functions (bug#9313).
14177
bca633fb
EZ
141782011-08-23 Eli Zaretskii <eliz@gnu.org>
14179
b177498a
EZ
14180 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14181
6df6ae42 14182 * international/uni-bidi.el: Regenerate.
bca633fb 14183
0902a04e
KH
141842011-08-23 Kenichi Handa <handa@m17n.org>
14185
14186 * international/charprop.el:
14187 * international/uni-bidi.el:
14188 * international/uni-category.el:
14189 * international/uni-combining.el:
14190 * international/uni-comment.el:
14191 * international/uni-decimal.el:
14192 * international/uni-decomposition.el:
14193 * international/uni-digit.el:
14194 * international/uni-lowercase.el:
14195 * international/uni-mirrored.el:
14196 * international/uni-name.el:
14197 * international/uni-numeric.el:
14198 * international/uni-old-name.el:
14199 * international/uni-titlecase.el:
14200 * international/uni-uppercase.el: Regenerate.
14201
3bbf23bc
MR
142022011-08-23 Martin Rudalics <rudalics@gmx.at>
14203
14204 * help.el (help-window-setup): Fix message displayed when other
14205 window is reused. (Bug#9341)
14206
b3fd59bd
SM
142072011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14208
1802e444
SM
14209 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14210 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14211
b3fd59bd
SM
14212 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14213 Mark obsolete.
14214 * shell.el (shell-parse-pcomplete-arguments): New function.
14215 (shell-completion-vars): Use it instead (bug#9160).
14216
4eb61348
SM
142172011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14218
867cab74
SM
14219 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14220 strings and comments (bug#9333).
14221
4eb61348
SM
14222 * emacs-lisp/debug.el (debug-arglist): New function.
14223 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14224 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14225
262a1439
JL
142262011-08-22 Juri Linkov <juri@jurta.org>
14227
56ee679c
JL
14228 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14229 Revert regexp that highlights output switches to its old
14230 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14231
262a1439
JL
14232 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14233 to check for empty output (bug#9226).
14234
f13f86fb
CY
142352011-08-22 Chong Yidong <cyd@stupidchicken.com>
14236
14237 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14238 symbol-constituent as the default, as that stops font-lock from
14239 working properly (Bug#8843).
14240
c65c9622
LMI
142412011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14242
14243 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14244 `coding-system-for-*' around the process open call to avoid
14245 auth-source side effects.
e7f2c178 14246 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
14247 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14248 probe hangs.
c65c9622 14249
23a8a5ab
CY
142502011-08-21 Chong Yidong <cyd@stupidchicken.com>
14251
ff98b2dd
CY
14252 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14253
23a8a5ab
CY
14254 * emacs-lisp/find-func.el (find-function-noselect): New arg
14255 lisp-only.
14256
14257 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14258 signal an error for built-in functions (Bug#6664).
14259
f5e3c598
LMI
142602011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14261
14262 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14263 (smtpmail-try-auth-methods): Use it.
14264
a3f2468a
CY
142652011-08-21 Chong Yidong <cyd@stupidchicken.com>
14266
2c34e8da
CY
14267 * font-lock.el (font-lock-fontify-region)
14268 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14269 (font-lock-default-unfontify-buffer)
14270 (font-lock-default-fontify-region)
14271 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14272
b3fd59bd
SM
14273 * progmodes/compile.el (compilation-error-properties):
14274 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
14275 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14276 `ant' regexp.
ee31aabc 14277
a3f2468a
CY
14278 * net/browse-url.el (browse-url-firefox): Don't call
14279 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14280
8e999f70
GM
142812011-08-20 Glenn Morris <rgm@gnu.org>
14282
c21a496a
GM
14283 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14284
59ee0542
GM
14285 * tutorial.el (tutorial--default-keys): Update some default bindings.
14286
8e999f70
GM
14287 * files.el (hack-local-variables): Fully ignore case for "mode:".
14288
e3715033
AM
142892011-08-20 Alan Mackenzie <acm@muc.de>
14290
14291 Resolve invalid use of a regexp in regexp-opt.
14292
4d61f28d
JB
14293 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14294 detection for a java annotation.
e3715033 14295
4d61f28d 14296 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
14297 detection for a java annotation.
14298
4d61f28d
JB
14299 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14300 handling for java.
e3715033
AM
14301 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14302
04ed2e9c
CY
143032011-08-20 Chong Yidong <cyd@stupidchicken.com>
14304
14305 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14306 (Bug#9274).
14307
826cee64
AM
143082011-08-20 Alan Mackenzie <acm@muc.de>
14309
58179cce 14310 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
14311 such a construct. Mainly for when jit-lock etc. starts a chunk
14312 here.
14313
58179cce 14314 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 14315 variable.
58179cce 14316 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
14317 c-make-font-lock-search-function.
14318 (c-make-font-lock-search-function): Use the above function.
14319 (c-make-font-lock-context-search-function): New function.
14320 (c-cpp-matchers): Enhance the preprocessor expression case with
14321 the above function
14322 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14323 which takes an expression.
14324
14325 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14326
13009bd8
MR
143272011-08-20 Martin Rudalics <rudalics@gmx.at>
14328
14329 * window.el (display-buffer-reuse-window)
14330 (display-buffer-pop-up-window): Don't reuse or split a side
14331 window.
14332
9234ff7f
GM
143332011-08-19 Glenn Morris <rgm@gnu.org>
14334
14335 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 14336 Downcase "Mode:". (Bug#9331)
9234ff7f 14337
f635daa1
CY
143382011-08-18 Chong Yidong <cyd@stupidchicken.com>
14339
14340 * international/characters.el: Add L and R categories.
14341
14342 * subr.el (bidi-string-mark-left-to-right): Rename from
14343 string-mark-left-to-right. Use category search.
14344
14345 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14346
bc987f8b
JL
143472011-08-18 Juri Linkov <juri@jurta.org>
14348
14349 * faces.el (error, warning, success): New faces with definitions
14350 copied from old default values of `font-lock-warning-face',
14351 `compilation-warning', `compilation-info' (bug#6117).
14352
14353 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14354
14355 * progmodes/compile.el (compilation-error): Inherit from `error'.
14356 (compilation-warning): Inherit from `warning'.
14357 (compilation-info): Inherit from `success'.
14358
14359 * dired.el (dired-marked): Inherit from `warning'.
14360 (dired-flagged): Inherit from `error'.
14361
57173b96
LMI
143622011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14363
3e79eb87
LMI
14364 * mail/smtpmail.el (auth-source): Require to avoid problems with
14365 binding variables (bug#9298). Also clean up some unused
14366 autoloads.
14367
b3fd59bd
SM
14368 * net/network-stream.el (network-stream-open-starttls):
14369 Support using starttls.el without using gnutls-cli.
57173b96 14370
02b404de
JL
143712011-08-17 Juri Linkov <juri@jurta.org>
14372
14373 * progmodes/grep.el (rgrep): Handle the case when
14374 `grep-find-command' is a cons cell (bug#9278).
14375
8c9177f2
MR
143762011-08-17 Martin Rudalics <rudalics@gmx.at>
14377
14378 * window.el (display-buffer-pop-up-frame): Run frame creation
14379 function with BUFFER current (as special-display-popup-frame
14380 does). Reported by Drew Adams.
14381
3644a0ab
DU
143822011-08-17 Daiki Ueno <ueno@unixuser.org>
14383
14384 * epa-mail.el: Simplify GnuPG group expansion using
14385 epg-expand-group.
14386 (epa-mail-group-alist, epa-mail-group-modtime)
14387 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14388 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14389 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14390 Remove.
14391
5e617bc2 143922011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
14393
14394 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14395
9c4aeabf
AM
143962011-08-16 Alan Mackenzie <acm@muc.de>
14397
14398 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14399 Correct, to avoid the inside of macros.
14400
3a99bf64
RS
144012011-08-16 Richard Stallman <rms@gnu.org>
14402
04963aa8
RS
14403 * epa-mail.el: Handle GnuPG group definitions.
14404 (epa-mail-group-alist, epa-mail-group-modtime)
14405 (epa-mail-gnupg-conf-file): New variables.
14406 (epa-mail-parse-groups, epa-mail-sync-groups)
14407 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14408 (epa-mail-expand-recipients): New functions.
14409 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14410
177549d0
RS
14411 * mail/rmail.el (rmail-epa-decrypt): New command.
14412
fe38beef
RS
14413 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14414 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
14415 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14416 (epa-decrypt-armor-in-region): Make error message clearer.
14417
934eacb9
SM
144182011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14419
14420 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14421 and "a2b" to "ab" for `prefix'.
14422
d024fb4e
CY
144232011-08-14 Chong Yidong <cyd@stupidchicken.com>
14424
14425 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14426 filter groups.
de148fee
CY
14427 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14428 Fourquet (Bug#8804).
d024fb4e 14429
62f1ca49
JB
144302011-08-12 Juanma Barranquero <lekktu@gmail.com>
14431
14432 * startup.el (argi): Declare as global variable (bug#9275).
14433
9ccaaa4b
CY
144342011-08-12 Chong Yidong <cyd@stupidchicken.com>
14435
14436 * subr.el (string-mark-left-to-right): Search the entire string
14437 for RTL script, not just the terminating character. Doc fix.
14438
a3dae87a
SM
144392011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14440
6cd18349
SM
14441 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14442 New function.
14443 (js--regexp-literal, js-syntax-propertize-function): Remove.
14444 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14445 (js-mode-map): Don't rebind electric keys.
14446 (js-insert-and-indent): Remove.
14447 (js-mode): Setup electric-layout and electric-indent instead.
14448
a3dae87a
SM
14449 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14450
9d5cb631
DU
144512011-08-12 Daiki Ueno <ueno@unixuser.org>
14452
14453 * epa.el (epa-progress-callback-function): Fix the logic of
14454 displaying progress.
14455 * epa-file.el (epa-file-insert-file-contents): Make progress
14456 display more user-friendly.
14457 (epa-file-write-region): Ditto.
14458
3e26a4a2
CY
144592011-08-10 Chong Yidong <cyd@stupidchicken.com>
14460
14461 * subr.el (string-mark-left-to-right): New function.
14462
14463 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14464 Use string-mark-left-to-right.
14465 (list-buffers-noselect): Caller changed.
14466
a3dae87a
SM
14467 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14468 Use string-mark-left-to-right.
3e26a4a2
CY
14469 (tabulated-list-print): Recenter after moving point.
14470
ac8cf6e6
JL
144712011-08-10 Juri Linkov <juri@jurta.org>
14472
14473 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14474 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14475 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14476
8d96c9a4
CY
144772011-08-09 Chong Yidong <cyd@stupidchicken.com>
14478
14479 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14480 (Bug#7554).
14481
7be1c708 144822011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
14483
14484 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14485 character. (Bug#6594)
14486
37e11a63
CY
144872011-08-08 Chong Yidong <cyd@stupidchicken.com>
14488
839dde57
CY
14489 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14490 (image-dired--with-db-file): New macro.
14491 (image-dired-write-tags, image-dired-remove-tag)
14492 (image-dired-create-gallery-lists, image-dired-write-comments)
14493 (image-dired-get-comment, image-dired-mark-tagged-files)
14494 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14495 (image-dired-gallery-generate): Use insert-file-contents.
14496
37e11a63
CY
14497 * time.el (display-time-world-list, display-time-world-display):
14498 * time-stamp.el (time-stamp-string):
14499 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14500 set-time-zone-rule (Bug#7337).
14501
0b4946c4
DU
145022011-08-08 Daiki Ueno <ueno@unixuser.org>
14503
14504 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14505 (epg-error-to-string, epg-errors-to-string): New function.
14506 (epg-wait-for-completion): Reverse errors list.
14507 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14508 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14509 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14510 (epg-sign-keys, epg-generate-key-from-file)
14511 (epg-generate-key-from-string): Format errors by using
14512 epg-errors-to-string (bug#9255).
14513 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14514
75bfc667
JL
145152011-08-07 Juri Linkov <juri@jurta.org>
14516
14517 * faces.el (list-faces-display): Remove extra angle bracket
14518 from `help-mode-map'.
14519
14520 * info.el (Info-history-toc-nodes): Doc fix.
14521
14522 * longlines.el (longlines-mode): Doc fix.
14523
673e08bb
SM
145242011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14525
4640dd88
SM
14526 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14527 of statements and in a few more cases (bug#9183).
14528
673e08bb
SM
14529 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14530 New functions.
14531 (cl-transform-lambda): Use them (bug#9239).
14532
89b3f019
MR
145332011-08-05 Martin Rudalics <rudalics@gmx.at>
14534
14535 * window.el (display-buffer-same-window)
14536 (display-buffer-same-frame, display-buffer-other-window)
14537 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14538 (pop-to-buffer-other-window)
14539 (pop-to-buffer-same-frame-other-window)
14540 (pop-to-buffer-other-frame): Make them defuns.
14541 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14542
640c8776
SM
145432011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14544
14545 * subr.el (make-composed-keymap): Move from C. Change calling
14546 convention, and improve docstring to bring attention to a subtle point.
14547 * minibuffer.el (completing-read-default): Adjust accordingly.
14548
63648a95
MA
145492011-08-03 Michael Albinus <michael.albinus@gmx.de>
14550
14551 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14552 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14553
14554 * net/trampver.el: Update release number.
14555
b796c9b7
SM
145562011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14557
14558 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14559 "in" (bug#9190).
14560
2239d7d5
LMI
145612011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14562
e07dd7c3
LMI
14563 * mail/sendmail.el (sendmail-query-once): Restore the current
14564 buffer after querying (bug#9074).
14565
0e6a2bd7
LMI
14566 * dired.el (dired-flagged): Use different faces for marked and
14567 flagged files (bug#6117).
14568
ce887515
LMI
14569 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14570 (bug#4433).
14571
92f2affc
LMI
14572 * ido.el (ido-mode): Switch off the message if called
14573 non-interactively.
14574
57d5aff0
LMI
14575 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14576 before 587, since it appears that that's more likely to work for
14577 more people.
14578
98cd6c18 14579 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 14580 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
14581 exist.
14582
b96dec83
LMI
14583 * info.el: Remove the `Info-beginning-of-buffer' function
14584 (bug#8325).
14585
b796c9b7
SM
14586 * net/network-stream.el (network-stream-open-starttls):
14587 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 14588
d90e2ea0
MR
145892011-08-01 Martin Rudalics <rudalics@gmx.at>
14590
14591 * window.el (display-buffer-in-window): Don't set dedicated status
14592 of window here (Bug#9215).
14593 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14594 (display-buffer-pop-up-side-window)
b796c9b7 14595 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 14596
cca09170
SM
145972011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14598
14599 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14600 before binding generated-autoload-file.
14601
027b979c
DD
146022011-08-01 Deniz Dogan <deniz@dogan.se>
14603
14604 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14605
3c7ee4f3
MA
146062011-07-30 Michael Albinus <michael.albinus@gmx.de>
14607
14608 Sync with Tramp 2.2.2.
14609
14610 * net/trampver.el: Update release number.
14611
2cc8e51a
JL
146122011-07-30 Juri Linkov <juri@jurta.org>
14613
14614 * dired-aux.el (dired-touch-initial): Remove function.
14615 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14616 current time, and `default' to the last modification time of the
14617 current marked file (bug#6887).
14618
a514d856
JM
146192011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14620
14621 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 14622 numeric argument to read-number (bug#9163).
a514d856 14623
8a7eddd7
MA
146242011-07-27 Michael Albinus <michael.albinus@gmx.de>
14625
14626 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14627 connection process, it could be nil.
14628
1ddd96f5
LL
146292011-07-27 Leo Liu <sdl.web@gmail.com>
14630
14631 Simplify url handling in rcirc-mode.
14632
14633 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14634 (rcirc-browse-url-at-mouse): Remove.
14635 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14636
b248a85d
AM
146372011-07-26 Alan Mackenzie <acm@muc.de>
14638
14639 Fontify bitfield declarations properly.
14640
14641 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14642 (c-symbol-chars): Now exported as a lang variable.
14643 (c-not-primitive-type-keywords): New lang variable.
14644
14645 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14646 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 14647 parsed as a bitfield declaration.
b248a85d 14648
b796c9b7
SM
14649 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14650 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
14651 (c-punctuation-in): New function.
14652 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14653 declarations properly.
14654
68575ab0
UJ
146552011-07-26 Ulf Jasper <ulf.jasper@web.de>
14656
14657 * calendar/icalendar.el (icalendar--all-events): Take care of
14658 multiple vcalendars in a single file.
b796c9b7 14659 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 14660
0f0a88b9
DD
146612011-07-25 Deniz Dogan <deniz@dogan.se>
14662
14663 * image.el (insert-image): Clarifying docstring.
14664
0b3f36df
MA
146652011-07-24 Michael Albinus <michael.albinus@gmx.de>
14666
14667 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14668 `tramp-send-command-and-check' if there is no error.
14669 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14670
a9901f61
AM
146712011-07-22 Alan Mackenzie <acm@muc.de>
14672
14673 Prevent cc-langs.elc being loaded at run time.
14674
14675 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14676 cc-langs.
14677
4d61f28d 14678 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
14679 "(require 'cc-langs)". Quote a form so it will evaluate at
14680 (cc-mode's) compilation time.
14681
11d074b2
MA
146822011-07-22 Michael Albinus <michael.albinus@gmx.de>
14683
14684 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14685 loading. (Bug#9114)
14686
938b94c8
MR
146872011-07-21 Martin Rudalics <rudalics@gmx.at>
14688
14689 * window.el (display-buffer-pop-up-window)
14690 (display-buffer-pop-up-side-window)
14691 (display-buffer-in-side-window): Call display-buffer-set-height
14692 and display-buffer-set-width after setting the new window's
b796c9b7 14693 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 14694
bfa4f190
SS
146952011-07-20 Sam Steingold <sds@gnu.org>
14696
14697 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14698 (etags-tags-included-tables): Call `convert-standard-filename' on
14699 the file names contained in TAGS so that windows Emacs can handle
14700 TAGS files created by cygwin ctags.
14701
8ca42262
LMI
147022011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14703
14704 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14705 which apparently didn't work.
14706
5db2afd2 147072011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 14708
5db2afd2
RW
14709 * proced.el (proced-send-signal): For *Marked Processes* buffer
14710 put point at beginning of buffer.
14711
92e15d10
SB
147122011-07-19 Stephen Berman <stephen.berman@gmx.net>
14713
14714 * proced.el (proced-format): Make header lines align with the text
14715 (bug#1779).
14716
1bfd59e5
LMI
147172011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14718
14719 * view.el (view-buffer): Allow running in `special' modes if we're
14720 visiting a file (bug#8615).
14721
f5aae37c
MR
147222011-07-19 Martin Rudalics <rudalics@gmx.at>
14723
14724 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
14725 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14726 New functions.
f5aae37c
MR
14727 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14728 more accurately.
14729
bf2c1571
AM
147302011-07-18 Alan Mackenzie <acm@muc.de>
14731
14732 Fontify declarators properly when, e.g., a jit-lock chunk begins
14733 inside a declaration.
14734
14735 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14736
b796c9b7
SM
14737 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14738 New function.
bf2c1571
AM
14739 (c-complex-decl-matchers): Insert reference to
14740 c-font-lock-enclosing-decls.
14741
14742 * progmodes/cc-engine.el (c-backward-single-comment):
14743 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14744 to nil around calls to (forward-comment -1).
14745
4e190b80
LMI
147462011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14747
12dc863d
LMI
14748 * image.el (put-image): Doc typo fix.
14749
a762e966
LMI
14750 * progmodes/etags.el (tags-search): Doc typo fix.
14751
4e190b80
LMI
14752 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14753 password if we get errors 550 to 554.
14754
f019fb21
LMI
147552011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14756
b796c9b7 14757 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 14758
81746738
LMI
14759 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14760 indentation character (bug#6380).
14761
3ee3a1b5
LMI
14762 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14763
c82f64de
LMI
14764 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14765 to clarify what the problem is (bug#4291).
14766
f019fb21
LMI
14767 * simple.el (current-kill): Clarify what
14768 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
14769 (auto-fill-mode): Document `auto-fill-function' in relation to
14770 `auto-fill-mode' (bug#2470).
f019fb21 14771
0794775d
LM
147722011-07-16 Lawrence Mitchell <wence@gmx.li>
14773
14774 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14775 method if slot is read-only (bug#9035).
14776
be39b8cc
MR
147772011-07-16 Martin Rudalics <rudalics@gmx.at>
14778
b796c9b7 14779 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 14780 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
14781 selected before, see discussion of (Bug#8615), (Bug#6954).
14782 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 14783
6ccf7859
GM
147842011-07-15 Glenn Morris <rgm@gnu.org>
14785
14786 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 14787 Respect help-form.
6ccf7859 14788
87e86684
LM
147892011-07-09 Lawrence Mitchell <wence@gmx.li>
14790
14791 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14792 (gnutls-negotiate): Use it.
14793
d6066239
LMI
147942011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14795
b796c9b7
SM
14796 * net/gnutls.el (gnutls-negotiate):
14797 Upcase `gnutls-algorithm-priority'.
d6066239 14798
bd23ebc0
GM
147992011-07-15 Glenn Morris <rgm@gnu.org>
14800
c65bca65
GM
14801 * jka-compr.el (jka-compr-verbose): Move from here...
14802 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14803 Add missing :version tag.
14804 * info.el: No need to require jka-compr when compiling.
bd23ebc0 14805
478615cc
LMI
148062011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14807
7b41decb
LMI
14808 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14809 (gnutls-negotiate): Use it.
14810
dbc44fcd
LMI
14811 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14812
06789f97
LMI
14813 * info.el (Info-beginning-of-buffer): New command.
14814 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14815 announcing `b' as the key (bug#8325).
ab896c37 14816 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 14817
c39da690
LMI
14818 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14819
3aa5f34b
LMI
14820 * international/mule-cmds.el
14821 (describe-specified-language-support): Make the error message
14822 clearer (bug#8905).
14823
4bf0979f
LMI
14824 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14825
478615cc
LMI
14826 * isearch.el (isearch-barrier): Add a doc string, since it's
14827 mentioned in a function doc string (bug#8678).
14828
75c68aa1
MR
148292011-07-15 Martin Rudalics <rudalics@gmx.at>
14830
14831 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14832 buffer argument (Bug#9083) and self-identifying label argument.
14833
a7c33da2
GM
148342011-07-15 Glenn Morris <rgm@gnu.org>
14835
14836 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14837
2f5c6024
LMI
148382011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14839
14840 * man.el (Man-fontify-manpage): Fix message when formatting the
14841 man page (bug#7929).
14842
0bb23927 148432011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
14844
14845 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14846 argument LRM; if non-nil, append an invisible LRM character to the
14847 buffer name.
14848 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14849 last argument non-nil, when formatting buffer names.
0bb23927
EZ
14850 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14851 paragraph direction.
cce4b0a7 14852
621ef9ab
LMI
148532011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14854
d1583c48
LMI
14855 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14856 the man page name (bug#7929).
14857
6a57fb5f
LMI
14858 * image.el (put-image): Mention the `put-image' overlay property
14859 (bug#7834).
14860
d7956b14
LMI
14861 * scroll-bar.el (set-scroll-bar-mode): Mention that
14862 `scroll-bar-mode' lists the values (bug#7772).
14863
5b2d4a66
LMI
14864 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14865 command (bug#7729).
14866
7509a874
LMI
14867 * rect.el (apply-on-rectangle): Return the point after the last
14868 operation.
14869 (string-rectangle): Go to the point after the last operation
14870 (bug#7522).
14871
4fe74b19
LMI
14872 * printing.el (pr-toggle-region): Clarify the documentation
14873 slightly (bug#7493).
14874
b796c9b7
SM
14875 * time.el (display-time-update):
14876 Allow `display-time-mail-function' to return nil (bug#7158).
14877 Fix suggested by Detlev Zundel.
ab283561 14878
fc233c9d
LMI
14879 * vc/diff.el (diff): Clarify the order the file names are read
14880 (bug#7111).
14881
43f5740b
LMI
14882 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14883 the doc string (bug#7015).
14884
f2182a76
LMI
14885 * font-lock.el (font-lock-maximum-decoration): Mention what
14886 numeric levels mean (bug#6935).
14887
621ef9ab
LMI
14888 * startup.el (initial-buffer-choice): Don't mention the `none'
14889 selection, which is against policy.
14890
adc47434
MR
148912011-07-14 Martin Rudalics <rudalics@gmx.at>
14892
b796c9b7
SM
14893 * window.el (display-buffer-normalize-special):
14894 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 14895
7e5bfb8f
EZ
148962011-07-14 Eli Zaretskii <eliz@gnu.org>
14897
14898 * subr.el (version<, version<=, version=): Mention "-CVS" and
14899 "-12345" alpha version numbers.
14900
27fa387a
CY
149012011-07-14 Chong Yidong <cyd@stupidchicken.com>
14902
14903 * bindings.el: Add advertised binding for set-mark-command
14904 (Bug#5772).
14905
8bdfa064
CY
149062011-07-14 Chong Yidong <cyd@stupidchicken.com>
14907
14908 * bindings.el (mode-line-other-buffer):
14909 * bookmark.el (bookmark-bmenu-2-window):
14910 * bs.el (bs-cycle-next, bs-cycle-previous):
14911 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14912 switch-to-buffer.
14913
14914 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 14915 Delete.
8bdfa064 14916
5eba16a3
JB
149172011-07-14 Juanma Barranquero <lekktu@gmail.com>
14918
14919 * follow.el (follow-debug-message, follow-redisplay):
14920 * jka-cmpr-hook.el (with-auto-compression-mode):
14921 Fix typos in docstrings.
14922
15853710
LMI
149232011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14924
a28e4607
LMI
14925 * subr.el (with-silent-modifications): Clarify somewhat what the
14926 macro inhibits (bug#6525).
14927
15853710
LMI
14928 * simple.el (eval-expression): Note what it does if called
14929 interactively (bug#6495).
14930
bee0fcef
CY
149312011-07-13 Chong Yidong <cyd@stupidchicken.com>
14932
b796c9b7
SM
14933 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14934 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
14935
14936 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14937 Remove switch-to-buffer.
14938
58274504
LMI
149392011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14940
bd2fcc8d
LMI
14941 * files.el (make-directory): Clarify that an error will be raised
14942 if there's an error (bug#6397).
14943
0f04b32c
LMI
14944 * startup.el (initial-buffer-choice): Add `none' as a choice
14945 (bug#6234).
14946
465c5fc8
LMI
14947 * subr.el (add-hook): Clarify section about buffer-local hooks
14948 (bug#6218).
14949
58274504
LMI
14950 * dired.el (dired-flagged): Clarify doc string (bug#6117).
14951
bead9a43
JB
149522011-07-13 Juanma Barranquero <lekktu@gmail.com>
14953
14954 * tabify.el (untabify): Preserve the current column so that point
14955 doesn't move (bug#6032).
14956
3af98a7b
LMI
149572011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14958
b796c9b7
SM
14959 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14960 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 14961
6240145a
GM
149622011-07-13 Glenn Morris <rgm@gnu.org>
14963
14964 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
14965 (dired-insert-directory): Give a message the first time
14966 if ls is found not to support --dired.
14967
1d8c2ccc
LMI
149682011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14969
14970 * simple.el (toggle-truncate-lines): Clarify what is toggled
14971 (bug#5580). Text by Drew Adams.
14972
5fc4038e
CY
149732011-07-13 Chong Yidong <cyd@stupidchicken.com>
14974
14975 * simple.el (blink-matching-open): Make the error message from the
14976 last change less verbose.
14977
bf6012e5
DN
149782011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
14979
14980 * font-lock.el (font-lock-comment-face): Use the high contrast
14981 "yellow" color for font-lock-comment-face on low color terminals
14982 using a dark background color (bug#4221).
14983
343c3b5a
LMI
149842011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14985
7e9505c5
LMI
14986 * dired.el (dired-insert-set-properties): Make the doc string
14987 reflect what it does now (bug#5325).
14988
c26fdcf5
LMI
14989 * simple.el (blink-matching-open): Say that we were unable to find
14990 the match within the limit, if we're limited (bug#5122).
14991
bb388cc5
LMI
14992 * international/mule-cmds.el (prefer-coding-system): Add an
14993 example (bug#4869).
14994
343c3b5a
LMI
14995 * progmodes/etags.el (tags-search): Document `file-list-form'
14996 (bug#4731).
14997
2a517d45
LM
149982011-07-13 Lawrence Mitchell <wence@gmx.li>
14999
15000 * net/browse-url.el (browse-url-default-browser)
15001 (browse-url-browser-function): Make the default browser choice a
15002 bit more logical (bug#4300). Also clean up the doc string.
15003
b6c78ef2
JB
150042011-07-13 Juanma Barranquero <lekktu@gmail.com>
15005
15006 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15007 binary endings (bug#4440).
15008
1c4dd947
LMI
150092011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15010
a2014063
LMI
15011 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15012 which can be pretty annoying (bug#8971).
15013
9c9c2d88
LMI
15014 * jka-compr.el (jka-compr-verbose): New variable, and use
15015 throughout (bug#8971).
15016
1c4dd947
LMI
15017 * info.el (Info-find-file): Fall back on the installation
15018 directory if we can't find the info node anywhere else.
15019
a1c9f41b
SO
150202011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15021
15022 * vc/vc.el (vc-revert-file):
15023 Don't set file time-stamp in the past. (Bug#5181)
15024
536f3d36
LMI
150252011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15026
7152b011
LMI
15027 * files.el (after-find-file): Give a better error message when
15028 trying to find a symlink that points to a file that doesn't exist
15029 (bug#4398).
15030
536f3d36
LMI
15031 * progmodes/cc-vars.el: Remove (probably) misleading comment
15032 (bug#4396).
15033
460c0fba
JB
150342011-07-12 Johan Bockgård <bojohan@gnu.org>
15035
15036 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15037
7a6bda45
CY
150382011-07-12 Chong Yidong <cyd@stupidchicken.com>
15039
15040 * mouse-sel.el: Hack restoring functionality, while keeping
15041 compatibility with 2010-07-03 changes to mouse selection.
15042 (mouse-sel-primary-overlay): New var.
15043 (mouse-sel-selection-alist): Use it.
15044 (mouse-sel-mode): Doc fix; remove points that are default features
15045 of mouse.el.
15046
c79598ef
JB
150472011-07-12 Johan Bockgård <bojohan@gnu.org>
15048
15049 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15050 Fix previous fix (bug#2490).
15051
ff8be6ef
RW
150522011-07-12 Roland Winkler <winkler@gnu.org>
15053
b796c9b7
SM
15054 * textmodes/bibtex.el (bibtex-initialize):
15055 Use pop-to-buffer-same-window.
ff8be6ef
RW
15056 (bibtex-search-entries): Fix interactive call.
15057
296ba3ee
LMI
150582011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15059
f5242a02 15060 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
15061 Fontise bytecomp Error lines more correctly (bug#2490).
15062 Fix suggested by Johan Bockgård.
f5242a02 15063
296ba3ee
LMI
15064 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15065
15066 * dired-x.el (dired-guess-default): Use `delete-dups'.
15067
f69fd0d2
CY
150682011-07-12 Chong Yidong <cyd@stupidchicken.com>
15069
15070 * dired.el (dired-mark-prompt):
15071 * dired-aux.el (dired-read-shell-command): Doc fix.
15072
eab5dc07
LMI
150732011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15074
b796c9b7
SM
15075 * mail/sendmail.el (sendmail-query-once):
15076 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
15077 emacs -Q.
15078
15079 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15080
eab5dc07
LMI
15081 * cus-edit.el (custom-file): Take an optional no-error variable.
15082 (customize-save-variable): Set the variable, and give a warning if
15083 running under "emacs -q".
15084
a1e65d42
JB
150852011-07-11 Juanma Barranquero <lekktu@gmail.com>
15086
15087 * loadhist.el (unload-feature-special-hooks):
15088 Add `auto-coding-functions', `fill-nobreak-predicate' and
15089 `find-directory-functions' (bug#5327).
15090
1d52da10
LMI
150912011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15092
be958f1d
LMI
15093 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15094
5bedb26c
LMI
15095 * cus-edit.el (custom-guess-name-alist): -alist variables should
15096 use the `alist' type (bug#3120). Suggested by Drew Adams.
15097
1d52da10
LMI
15098 * printing.el: Add documentation to all the `pr-toggle-' commands.
15099
cd394be1 151002011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
15101
15102 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15103 backends where it makes sense (bug#2623).
15104
dcc88d8a
LMI
151052011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15106
c3de9feb
LMI
15107 * dired-x.el (dired-guess-default): Remove duplicate shell command
15108 entries (bug#2028).
8a93078b 15109 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 15110 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 15111
dcc88d8a
LMI
15112 * subr.el (remove-duplicates): New conveniency function.
15113
505e3645
LMI
151142011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15115
15116 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15117 (bug#1526).
15118
151192011-07-10 Martin Rudalics <rudalics@gmx.at>
15120
15121 * window.el (display-buffer-normalize-default): Don't invert
15122 meaning of even-window-heights. Reported by Eli Zaretskii
15123 <eliz@gnu.org>.
15124
455e4fa1
BR
151252011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15126
15127 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15128
8e0bc3e9
CY
151292011-07-10 Chong Yidong <cyd@stupidchicken.com>
15130
15131 * window.el (display-buffer): Fix arguments to
15132 display-buffer-reuse-window in last change.
15133
fa7c3228
CY
15134 * faces.el (link): Use a less saturated blue on light backgrounds.
15135
15136 * startup.el (fancy-startup-text, fancy-about-text)
15137 (fancy-startup-tail): Use font-lock faces, for background safety.
15138
c0a7f300
BN
151392011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15140
b796c9b7
SM
15141 * emulation/viper-cmd.el (viper-change-state-to-vi):
15142 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 15143
4dc2a129
MR
151442011-07-09 Martin Rudalics <rudalics@gmx.at>
15145
15146 * window.el (display-buffer-default-specifiers): Remove.
15147 (display-buffer-macro-specifiers): Remove default specifiers.
15148 (display-buffer-alist): Default to nil.
b796c9b7 15149 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
15150 (display-buffer-pop-up-window): Allow splitting internal
15151 windows. Check whether a live window was created.
15152 (display-buffer-other-window-means-other-frame)
15153 (display-buffer-normalize-arguments): Rename to
15154 display-buffer-normalize-argument and rewrite. Set the
15155 other-window specifier.
15156 (display-buffer-normalize-special): New function.
15157 (display-buffer-normalize-options): Rename to
15158 display-buffer-normalize-default and rewrite.
15159 (display-buffer-normalize-options-inhibit): Remove.
15160 (display-buffer-normalize-specifiers): Rewrite.
15161 (display-buffer): Process other-window specifier and call
15162 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15163 more faithfully.
b796c9b7 15164 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 15165 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
15166 (display-buffer-in-window, display-buffer-alist-set):
15167 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
15168 <tassilo@member.fsf.org>.
15169
2d43b8c9
LL
151702011-07-09 Leo Liu <sdl.web@gmail.com>
15171
15172 * register.el (insert-register): Restore accidental change on
15173 2011-06-26. (Bug#9028)
15174
7f9b7c53
GM
151752011-07-09 Glenn Morris <rgm@gnu.org>
15176
15177 * subr.el (remq): Handle the empty list. (Bug#9024)
15178
f042cfd8
AS
151792011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15180
15181 * mail/sendmail.el (send-mail-function): No longer delay custom
15182 initialization.
15183 * custom.el (custom-initialize-delay): Doc fix.
15184
856b2f11
SM
151852011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15186
15187 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15188
afae1d68
MA
151892011-07-08 Michael Albinus <michael.albinus@gmx.de>
15190
15191 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15192 human-friendly prompt.
15193
0757af94
SM
151942011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15195
15196 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15197 provided by a particular plugin.
15198
d760b731
LMI
151992011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15200
15201 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15202 save customizations (with "emacs -Q"), just set the variable
15203 instead of erroring out.
15204
15205 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15206
cd79ce90
JL
152072011-07-08 Juri Linkov <juri@jurta.org>
15208
15209 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15210 (archive-zip-update-case): Use 7z if found by `executable-find'.
15211 The order of searching the available programs is the same as in
15212 `archive-zip-extract' (bug#8968).
15213
14cc04aa
CY
152142011-07-07 Chong Yidong <cyd@stupidchicken.com>
15215
15216 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15217 (menu-bar-options-menu): Tweak descriptions.
15218
0a1848ec
LMI
152192011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15220
15221 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15222 menu items into verb phrases (bug#1421). Also refill to fit under
15223 80 columns.
15224
f5bd0689
CY
152252011-07-07 Chong Yidong <cyd@stupidchicken.com>
15226
538e85c6
CY
15227 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15228 (Info-read-node-name): Doc fix (Bug#1084).
15229
f5bd0689
CY
15230 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15231 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15232 (end-of-sexp, beginning-of-sexp)
15233 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15234 (forward-symbol, forward-same-syntax, word-at-point)
15235 (sentence-at-point): Doc fix (Bug#1144).
15236
56ec5115
LMI
152372011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15238
f3f8e37f
LMI
15239 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15240 should cover it (bug#1281).
15241
0757af94 15242 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 15243
e9fce1ac 15244 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
15245 negotiation fails, then possibly try again with a non-encrypted
15246 connection (bug#9017).
15247
56ec5115
LMI
15248 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15249 be used.
15250
c2f9aec8
RS
152512011-07-07 Richard Stallman <rms@gnu.org>
15252
15253 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15254 property, and handle its changed format.
15255 Look for the correct line number.
15256 Use file's line contents (but not past first =) to find
15257 correct line in message.
15258
ef7b981d 152592011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
15260
15261 * international/characters.el (build-unicode-category-table):
15262 Delete it.
0757af94 15263 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 15264
0757af94 15265 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
15266 to src/chartab.c.
15267 (get-char-code-property): Call unicode-property-table-internal to
15268 load a file. Call get-unicode-property-internal where necessary.
15269 (put-char-code-property): Call unicode-property-table-internal to
15270 load a file. Call put-unicode-property-internal where necessary.
15271 put-unicode-property-internal where necessary.
0757af94
SM
15272 (char-code-property-description):
15273 Call unicode-property-table-internal to load a file.
c805dec0
KH
15274
15275 * international/charprop.el:
15276 * international/uni-bidi.el:
15277 * international/uni-category.el:
15278 * international/uni-combining.el:
15279 * international/uni-comment.el:
15280 * international/uni-decimal.el:
15281 * international/uni-decomposition.el:
15282 * international/uni-digit.el:
15283 * international/uni-lowercase.el:
15284 * international/uni-mirrored.el:
15285 * international/uni-name.el:
15286 * international/uni-numeric.el:
15287 * international/uni-old-name.el:
15288 * international/uni-titlecase.el:
15289 * international/uni-uppercase.el: Regenerate.
15290
15291 * loadup.el: Load international/charprop.el before
15292 international/characters.
15293
e14b388a
CY
152942011-07-07 Chong Yidong <cyd@stupidchicken.com>
15295
15296 * window.el (next-buffer, previous-buffer): Signal an error if
15297 called from a minibuffer window.
15298
15299 * bindings.el: Revert 2011-07-04 change.
15300
354cf0ba
RS
153012011-07-06 Richard Stallman <rms@gnu.org>
15302
15303 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15304 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15305 Treat markers like ints.
15306 (rmail-mime-entity): Doc fix.
15307
a48868a7
LMI
153082011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15309
4906cd3d
LMI
15310 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15311 defcustom again for backwards compatibility.
15312
e0457abe
LMI
15313 * simple.el (shell-command-on-region): Fill.
15314
d67f7e1f
LMI
15315 * dired-aux.el (dired-kill-line): Add a doc string.
15316
fe204702
LMI
15317 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15318 to "\\sw\\|\\s_" (bug#358).
15319
a48868a7
LMI
15320 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15321 (dired-unmark-backward): Ditto.
15322 (dired-flag-backup-files): Ditto.
15323
15324 * dired-x.el (dired-mark-sexp): Ditto.
15325
aa8a705c
RS
153262011-07-06 Richard Stallman <rms@gnu.org>
15327
15328 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15329 (rmail-mime-entity): New arg TRUNCATED.
15330 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15331 New functions.
15332 (rmail-mime-save): Warn if entity is truncated.
15333 (rmail-mime-toggle-hidden): Likewise, for showing.
15334 (rmail-mime-process-multipart): Record when an entity is truncated.
15335
a9a936b9
RS
15336 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15337 if ENTITY is a string.
15338
1f2b92cb
LMI
153392011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15340
f4f73198 15341 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
15342 of faces when `M-C-x'-ing their definitions (bug#8378).
15343 Also clean up the code slightly.
f4f73198 15344
12b16734 15345 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 15346 because that makes the colors go away.
12b16734 15347
f0691d22
LMI
15348 * mail/sendmail.el (send-mail-function): Change the default to
15349 `sendmail-query-once'.
9e87df06 15350 (sendmail-query-once): Add an autoload cookie.
f0691d22 15351
1f2b92cb
LMI
15352 * net/network-stream.el (network-stream-open-starttls): Try using
15353 a plain connection even if the server offered STARTTLS, and we
15354 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15355 capability. This should make smtpmail.el work in slightly more
15356 configurations.
15357
1cdd2a1b
MA
153582011-07-06 Michael Albinus <michael.albinus@gmx.de>
15359
15360 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15361 New defun.
15362 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15363
fbcc67e2
MM
153642011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15365
15366 * progmodes/sql.el: Version 3.0
0757af94 15367 (sql-product-alist): Add product :completion-object,
fbcc67e2 15368 :completion-column, and :statement attributes.
0757af94 15369 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 15370 (sql-mode-syntax-table): Mark all punctuation.
0757af94 15371 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
15372 ansi keywords.
15373 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 15374 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
15375 (sql-oracle-show-reserved-words): New function for development.
15376 (sql-product-font-lock): Simplify for source code buffers.
15377 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15378 New functions.
15379 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
15380 (sql-mode-map): Add statement movement functions.
15381 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15382 New variable.
fbcc67e2
MM
15383 (sql-statement-regexp, sql-beginning-of-statement)
15384 (sql-end-of-statement, sql-signum): New functions.
0757af94 15385 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
15386 (sql-show-sqli-buffer): Bug fix.
15387 (sql-interactive-mode): Store connection data as buffer local.
0757af94 15388 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
15389 with sql-interactive-mode.
15390 (sql-save-connection): Save buffer local settings.
0757af94 15391 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
15392 (sql-product-interactive): Bug fix.
15393 (sql-preoutput-hold): New variable.
15394 (sql-interactive-remove-continuation-prompt): Bug fixes.
15395 (sql-debug-redirect): New variable.
15396 (sql-str-literal): New function.
15397 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 15398 Redesign.
fbcc67e2
MM
15399 (sql-oracle-save-settings, sql-oracle-restore-settings)
15400 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15401 (sql-completion-object, sql-completion-column)
15402 (sql-completion-sqlbuf): New variables.
15403 (sql-build-completions-1, sql-build-completions)
15404 (sql-try-completion): New functions.
15405 (sql-read-table-name): Use them.
15406 (sql-contains-names): New buffer local variable.
15407 (sql-list-all, sql-list-table): Use it.
15408 (sql-oracle-completion-types): New variable.
15409 (sql-oracle-completion-object, sql-sqlite-completion-object)
15410 (sql-postgres-completion-object): New functions.
15411
d4eaeab1
GM
154122011-07-06 Glenn Morris <rgm@gnu.org>
15413
15414 * window.el (pop-to-buffer): Doc fix.
15415
322b7dab 154162011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
15417
15418 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15419
322b7dab 154202011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 15421
322b7dab 15422 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 15423
322b7dab 15424 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 15425
605dd5bf
CY
154262011-07-05 Chong Yidong <cyd@stupidchicken.com>
15427
15428 * button.el (button): Inherit from link face. Suggested by Dan
15429 Nicolaescu.
15430
7dbfa719
SM
154312011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15432
3db614b0
SM
15433 * progmodes/gdb-mi.el: Fit in 80 columns.
15434 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15435 switch-to-buffer.
15436
7dbfa719
SM
15437 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15438 if imenu is simply not configured (bug#8941).
15439
919d884a
KM
154402011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15441
15442 * allout.el (allout-post-undo-hook): New allout outline-change
15443 event hook to signal undo activity.
15444 (allout-post-command-business): Run allout-post-undo-hook if an
15445 undo just occurred.
7dbfa719
SM
15446 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15447 * allout-widgets.el (allout-widgets-after-undo-function):
15448 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
15449 in the vicinity of an undo.
15450 (allout-widgets-mode): Include allout-widgets-after-undo-function
15451 on the new allout-post-undo-hook.
15452
450a0f09
SM
154532011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15454
15455 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15456 Let define-derived-mode define it.
15457 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15458 cycles of abbrev-table inheritance (bug#8998).
15459
2de69e00
RW
154602011-07-05 Roland Winkler <winkler@gnu.org>
15461
15462 * textmodes/bibtex.el: Add support for biblatex.
15463 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15464 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15465 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15466 (bibtex-entry-alist, bibtex-field-alist): New variables.
15467 (bibtex-entry-field-alist): Obsolete alias for
15468 bibtex-BibTeX-entry-alist.
15469 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15470 (bibtex-set-dialect): New command.
15471 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
15472 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15473 Bind via bibtex-set-dialect.
2de69e00
RW
15474 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15475 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15476 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15477 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15478 Define via bibtex-set-dialect.
450a0f09
SM
15479 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15480 Obey bibtex-no-opt-remove-re.
2de69e00
RW
15481 (bibtex-vec-push, bibtex-vec-incr): New functions.
15482 (bibtex-format-entry, bibtex-field-list)
15483 (bibtex-print-help-message, bibtex-validate)
15484 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15485
2dcdbdd9
SM
154862011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15487
15488 * progmodes/compile.el (compilation-goto-locus):
15489 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15490 * bs.el (bs-cycle-next, bs-cycle-previous):
15491 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15492 * bindings.el (mode-line-other-buffer):
15493 * autoinsert.el (auto-insert):
15494 * arc-mode.el (archive-extract):
15495 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15496
b27640fe
JB
154972011-07-05 Juanma Barranquero <lekktu@gmail.com>
15498
15499 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15500 Fix check of `emacs-lock-unlockable-modes'.
15501 Coerce true values of `emacs-lock--try-unlocking' to t.
15502
53bbe3ad
JB
155032011-07-05 Juanma Barranquero <lekktu@gmail.com>
15504
15505 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15506 * emacs-lock.el: New file.
15507
1d3cdbc7
JD
155082011-07-05 Julien Danjou <julien@danjou.info>
15509
15510 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15511 than `boundp' to check if face is set.
15512
9173deec
JB
155132011-07-05 Juanma Barranquero <lekktu@gmail.com>
15514
15515 * register.el (registerv-make):
15516 * window.el (window-min-height): Fix typos in docstrings.
15517
869795d6
JD
155182011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15519
9173deec 15520 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
15521 Update doc string.
15522
b768cdcd
JB
155232011-07-04 Juanma Barranquero <lekktu@gmail.com>
15524
15525 * server.el (server-execute): Catch quit and call
15526 `server-return-error' to pass the error back to emacsclient and
15527 close the connection (bug#8942).
15528
13aa217b
KM
155292011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15530
15531 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15532 insecure exception for current topic. Also note that auto-saves
15533 are handled differently.
15534
5d3385a0 15535 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
15536 State variables for tracking auto-save inhibition situation.
15537
15538 (allout-write-contents-hook-handler): Rename from
15539 'allout-write-file-hook-handler', and describe how it depends on
15540 write-contents-functions sensitivity to non-nil value to prevent
15541 file write.
15542
15543 (allout-auto-save-hook-handler): Remove. auto-save does not check
15544 this in individual buffers, only in the starting buffer, so this
15545 is not the right way for us to inhibit auto-save in a buffer
15546 according to its condition.
15547
15548 (allout-mode): Use new allout-write-contents-hook-handler, and
15549 only with write-contents-functions. Remove auto-save provisions -
15550 they're implemented elsewhere.
15551
15552 (allout-before-change-handler): If undo is in progress, note that
15553 for attention of allout-post-command-business.
15554
15555 (allout-post-command-business): If the command we're following was
15556 an undo, check for change in the status of encrypted items and
15557 adjust auto-save inhibitions accordingly.
15558
15559 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15560 according to whether there are or aren't any plain-text topics
15561 pending encryption.
15562
2dcdbdd9 15563 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
15564 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15565 if there are plain-text topics pending encryption.
13aa217b
KM
15566
15567 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15568 buffer-saved-size and some allout state to not inhibit auto-saves
15569 if there are no longer any plain-text topics pending encryption.
15570
0757af94
SM
15571 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15572 No longer provide for exemption of the current topic.
13aa217b 15573
ac89b32c
JL
155742011-07-04 Juri Linkov <juri@jurta.org>
15575
15576 Add 7z operations to delete and save changed members (bug#8968).
15577 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15578 New defcustoms.
15579 (archive-7z-write-file-member): New function.
15580 (archive-7z-summarize): Fix the number of dashes in the
15581 listing output.
15582
8fa39615
SM
155832011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15584
15585 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15586 (bug#8958).
15587
2f11b3f1
CY
155882011-07-04 Chong Yidong <cyd@stupidchicken.com>
15589
d66fef2b
CY
15590 * bindings.el: Ignore next-buffer and previous-buffer in
15591 minibuffer-local-map.
15592
2f11b3f1
CY
15593 * font-lock.el (font-lock-builtin-face): Change light background
15594 color to dark slate blue (Bug#6693).
15595
f932a347
WD
155962011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15597
15598 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15599
c8af70e1
SM
156002011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15601
15602 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15603 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15604 Add switch-to-buffer.
15605
f158badc
LMI
156062011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15607
15608 * isearch.el (isearch-search-fun-function): Clarify further the
15609 meaning of the function returned.
15610
6d95bd46
MA
156112011-07-04 Michael Albinus <michael.albinus@gmx.de>
15612
15613 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15614
15615 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15616 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15617 Use it.
15618 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15619 `tramp-default-remote-path' does not exist.
15620 (tramp-send-command-and-read): New optional argument NOERROR.
15621 (tramp-open-connection-setup-interactive-shell)
15622 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15623 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15624 (tramp-process-sentinel): Flush also process' connection property.
15625 (tramp-sh-handle-start-file-process): Do not set process
15626 sentinel. It is done now ...
15627 (tramp-maybe-open-connection): ... here. (Bug#8929)
15628
909e6b67
MK
156292011-07-04 MON KEY <monkey@sandpframing.com>
15630
15631 * play/animate.el (animate-string): Doc fixes and allow changing
15632 the buffer name (bug#5417).
15633
156342011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15635
c8af70e1 15636 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 15637
f34755dc
PE
156382011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15639
396cec72
PE
15640 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15641 This is simpler and helps future-proof the code.
15642 (timer-until): Use time-subtract and float-time.
08235028 15643 (timer--time-less-p): Use time-less-p.
f34755dc 15644
56e6cc31
JB
156452011-07-04 Juanma Barranquero <lekktu@gmail.com>
15646
3abb79e5
JB
15647 * type-break.el (timep): Use the value of `float-time' to avoid a
15648 byte-compiler warning.
15649
56e6cc31
JB
15650 * server.el (server-eval-and-print): Return any result, even nil.
15651
7b9430b4
PE
156522011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15653
15654 * type-break.el: Accept time formats that the builtins accept.
15655 (timep, type-break-time-difference): Accept any format that
15656 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15657 This is simpler and helps future-proof the code.
15658 (type-break-time-difference): Round rather than ignoring
15659 subseconds components.
15660
3034e9e7
LMI
156612011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15662
15663 * info.el (Info-apropos-matches): Make non-interactive, since it
15664 doesn't seem to do anything useful as a command (bug#8829).
15665
1485f4c0
CY
156662011-07-03 Chong Yidong <cyd@stupidchicken.com>
15667
15668 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 15669 Move from faces.el.
1485f4c0
CY
15670 (frame-default-terminal-background): New function.
15671
15672 * custom.el (custom-push-theme): Don't record faces in `changed'
15673 theme; this doesn't work correctly for per-frame face settings.
15674 (disable-theme): Use face-set-after-frame-default to reset faces.
15675 (custom--frame-color-default): New function.
15676
9fa3dd45
LMI
156772011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15678
c8af70e1 15679 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
15680 (bug#8769).
15681
6cbbc20c
KR
156822011-03-29 Kevin Ryde <user42@zip.com.au>
15683
15684 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15685 `perl-Test2' extend to match possible "fail #N" rep count
15686 (bug#8377).
15687
c7f98048
LMI
156882011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15689
65676592
LMI
15690 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15691 `smtpmail-via-smtp' now returns the error instead of nil.
15692
c7f98048
LMI
15693 * isearch.el (isearch-search-fun-function): Clarify the doc string
15694 (bug#8101).
15695
56e6cc31 156962011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
15697
15698 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15699 unnecessary spaces (bug#8987).
15700
2b216704
LMI
157012011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15702
15703 * net/network-stream.el (open-network-stream): Use the
15704 :end-of-capability command thoughout.
15705
157062011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15707
15708 * net/network-stream.el (open-network-stream): Add the
15709 :end-of-capability command parameter, used by pop3.el.
15710
36adf6ce
LMI
157112011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15712
1ca0da0e
LMI
15713 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15714
fc00f69c
LMI
15715 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15716 for list)" (bug#6475).
15717
28fd8759 15718 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 15719 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
15720 an error (bug#6297).
15721
0dd8b6da
LMI
15722 * man.el (Man-reference-regexp): Allow matching possible
15723 word-wrapped references (bug#6289).
15724
ce1438d6
LMI
15725 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15726 for consistency with the other vc buffers (bug#6197).
15727 (vc-checkin): Ditto.
15728
15729 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15730
36adf6ce
LMI
15731 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15732
e83cc1f7
LMI
157332011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15734
8a20ca4c
LMI
15735 * custom.el (defcustom): Clarify that :set is only used in the
15736 Customize user interface (bug#6089).
15737
83319045
LMI
15738 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15739 associated with a file, refuse to run instead of erroring out
15740 (bug#6084).
15741
a8392169
LMI
15742 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15743 the doc string, since it appears that using `fill-column' always
15744 controls the width (bug#7845).
15745
e83cc1f7
LMI
15746 * simple.el (shell-command-on-region): Say where the error output
15747 went if `shell-command-default-error-buffer' is set (bug#6857).
15748
e47ca23b
KM
157492011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15750
15751 * allout.el (allout-yank-processing): Adjust cursor position for
15752 backwards-deleted space.
15753
15754 (allout-rebullet-heading): Register changes with
15755 allout-exposure-changed-hook, so the modified topic is properly
15756 decorated.
15757
5cf56143
LMI
157582011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15759
08549772
LMI
15760 * minibuffer.el (completion-in-region): Document PREDICATE
15761 (bug#7136).
15762
48e96771
LMI
15763 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15764 of keyword/argument pairs (bug#6904).
15765
c8af70e1
SM
15766 * replace.el (multi-occur):
15767 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 15768
e17d05e2
LMI
157692011-07-02 Drew Adams <drew.adams@oracle.com>
15770
15771 * dired.el (dired-mark-if): Make the message about whether it's
15772 marking or unmarking clearer (bug#8523).
15773
063b0e45
LMI
157742011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15775
15776 * disp-table.el (display-table-print-array): New function.
15777 (describe-display-table): Use it to print the vectors more pretty
15778 (Bug#8859).
15779
28545e04
MR
157802011-07-02 Martin Rudalics <rudalics@gmx.at>
15781
15782 * window.el (window-state-get-1): Don't assign clone numbers.
15783 Add clone-of item to list of window parameters.
15784 (window-state-put-2): Don't process clone numbers.
15785 (display-buffer-alist): Fix doc-string.
15786
3349e122
SM
157872011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15788
15789 * subr.el (remq): Don't allocate if it's not needed.
15790 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15791 (keymap--merge-bindings): New functions.
15792 (keymap-canonicalize): Use them to refine the canonicalization.
15793 * minibuffer.el (minibuffer-local-completion-map)
15794 (minibuffer-local-must-match-map): Move initialization from C.
15795 (minibuffer-local-filename-completion-map): Move initialization from C;
15796 don't inherit from anything here.
15797 (minibuffer-local-filename-must-match-map): Make obsolete.
15798 (completing-read-default): Use make-composed-keymap to combine
15799 minibuffer-local-filename-completion-map with either
15800 minibuffer-local-must-match-map or
15801 minibuffer-local-filename-completion-map.
15802
d224ac83
GM
158032011-07-01 Glenn Morris <rgm@gnu.org>
15804
3de63bf8
GM
15805 * type-break.el (type-break-time-sum): Use dolist.
15806
d224ac83
GM
15807 * textmodes/flyspell.el (flyspell-word-search-backward):
15808 Replace CL function.
15809
1a1e3f32
SM
158102011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15811
fe3f64d5
SM
15812 * mouse.el (mouse--strip-first-event): New function.
15813 (function-key-map): Use it to map fringe clicks to normal clicks
15814 by default.
15815
eb604e34
SM
15816 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15817 (vc-bzr-revision-completion-table): Add support for annotate and date.
15818
1a1e3f32
SM
15819 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15820 inherit from parent.
15821
5bd35902
LMI
158222011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15823
ace6c69c 15824 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 15825 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 15826
191e2bed
LMI
15827 * dired.el (dired-mode): Fix up the doc string as suggested by
15828 Drew Adams (bug#8817).
15829
5bd35902
LMI
15830 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15831 cookie, since the manual says that it should be possible to add
15832 this function to `find-file-hook' (bug#8709).
15833
eee8207a
TZ
158342011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15835
15836 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15837 here. Noted Ted Zlatanov as the maintainer.
15838 (cfengine-common-settings, cfengine-common-syntax): New functions
15839 to set up common things between `cfengine-mode' and
15840 `cfengine3-mode'.
15841 (cfengine3-mode): New mode.
15842 (cfengine3-defuns cfengine3-defuns-regex
15843 (cfengine3-class-selector-regex cfengine3-category-regex)
15844 (cfengine3-vartypes cfengine3-font-lock-keywords)
15845 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 15846 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 15847
36b148cf
MA
158482011-07-01 Michael Albinus <michael.albinus@gmx.de>
15849
15850 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15851
15852 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15853
0bf4ba9a
MR
158542011-07-01 Martin Rudalics <rudalics@gmx.at>
15855
15856 * window.el (same-window-buffer-names, same-window-regexps)
15857 (same-window-p, special-display-frame-alist)
15858 (special-display-popup-frame, special-display-function)
15859 (special-display-buffer-names, special-display-regexps)
15860 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15861 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15862 (split-window-preferred-function, split-height-threshold)
15863 (split-width-threshold, even-window-heights)
15864 (display-buffer-mark-dedicated, window-splittable-p)
15865 (split-window-sensibly, window-safely-shrinkable-p):
15866 Un-obsolete.
15867 (display-buffer): Don't spread args with function specifier
15868 because special-display-popup-frame won't like it.
15869
35837f51
PE
158702011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15871
d0672f86
PE
15872 Time-stamp simplifications and fixes.
15873 These improve accuracy slightly, and future-proof the code
15874 against some potential changes to current-time format.
15875
b9444d97
PE
15876 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15877 by using time-since and float-time.
15878
0ef923dc
PE
15879 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15880 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
15881 + NNN microseconds".
15882
2f81380d
PE
15883 * type-break.el (type-break-time-sum): Rewrite using time-add.
15884
845b5c3e
PE
15885 * play/hanoi.el (hanoi-current-time-float): Remove.
15886 All uses replaced by float-time.
15887
ee6f1be0
PE
15888 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15889 This yields a more-accurate answer.
15890 (rng-time-to-float): Remove; no longer needed.
15891
fe955043
PE
15892 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15893
5777162a
PE
15894 * calendar/timeclock.el (timeclock-seconds-to-time):
15895 Defalias to seconds-to-time, since they're the same thing.
15896
3103f8b6 15897 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 15898 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
15899 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15900
0e61a35f
SM
159012011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15902
15903 * window.el (bury-buffer): Don't iconify the only frame.
15904 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15905 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15906
ddd63a1e
CY
159072011-07-01 Chong Yidong <cyd@stupidchicken.com>
15908
0e61a35f
SM
15909 * eshell/em-smart.el (eshell-smart-display-navigate-list):
15910 Add mouse-yank-primary.
ddd63a1e 15911
055f4923
TZ
159122011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15913
15914 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15915
6a2fb145
SM
159162011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15917
15918 * emacs-lisp/find-func.el (find-library--load-name): New fun.
15919 (find-library-name): Use it to find relative load names when provided
15920 absolute file name (bug#8803).
15921
fd4983f2
LMI
159222011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15923
887d14ad
LMI
15924 * textmodes/flyspell.el (flyspell-word): Consider words that
15925 differ only in case as potential doublons (bug#5687).
15926
c53dc7fc
LMI
15927 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15928 Remove two rather uninteresting debugging-like messages to make
15929 debbugs.el more silent.
15930
fd4983f2
LMI
15931 * comint.el (comint-password-prompt-regexp): Accept "Response" as
15932 a password-like phrase.
15933
7a71b18d 159342011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
15935
15936 * progmodes/cc-guess.el: New file.
15937
6a2fb145 15938 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
15939
15940 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15941 derived from `c-basic-common-init'.
15942
15943 * progmodes/cc-mode.el (top-level): Require cc-guess.
15944 (c-basic-common-init): Use `cc-choose-style-for-mode'.
15945
1fa280a3
LM
159462011-06-30 Lawrence Mitchell <wence@gmx.li>
15947
15948 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15949
e6597158
AM
159502011-06-30 Alan Mackenzie <acm@muc.de>
15951
1fa280a3
LM
15952 * progmodes/cc-engine.el (c-guess-continued-construct):
15953 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
15954 lock is disabled. Name this case as "CASE G".
15955
68ba37fb
KM
159562011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
15957
15958 * allout.el (allout-yank-processing): Fix injection of extra space
15959 between bullet and non-whitespace character in first topic when
15960 pasting, ensuring that the actual spacing in the pasted topic
15961 following the bullet char is preserved. This extra space was
15962 causing pasted encrypted topics to get a decrypted status even
15963 when the content was actually still encrypted. Now the decryption
15964 status from before the paste is preserved.
15965
15966 (allout-flag-region): Set all allout overlays so they evaporate
15967 when reduced to zero length (evanescent), to prevent overlay
15968 leakage.
15969
887a0b34
GM
159702011-06-30 Glenn Morris <rgm@gnu.org>
15971
94b9acce
GM
15972 * w32-fns.el (w32-charset-info-alist): Declare.
15973
1d9b46d4
GM
15974 * find-dired.el (find-grep-options): Simplify.
15975
cc232200
GM
15976 * term/ns-win.el (ns-set-resource): Declare.
15977
28e77c46
GM
15978 * ses.el (row, col): Declare dynamic variables honestly.
15979
887a0b34
GM
15980 * textmodes/reftex-parse.el (index-tags): Declare.
15981
658d8eb8
CY
159822011-06-30 Chong Yidong <cyd@stupidchicken.com>
15983
15984 * cus-edit.el (customize-push-and-save): New function.
15985
15986 * files.el (hack-local-variables-confirm): Use it.
15987
1fa280a3
LM
15988 * custom.el (load-theme): New arg NO-CONFIRM.
15989 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
15990 (custom-enabled-themes): Doc fix.
15991
15992 * cus-theme.el (customize-create-theme)
15993 (custom-theme-merge-theme): Callers to load-theme changed.
15994
bb617717
LMI
159952011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15996
d61bdd5d
LMI
15997 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15998 short URLs have at least one dot in them (bug #7614).
15999
bb617717
LMI
16000 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16001 nil, because using a pty is apparently too slow (bug #895).
16002
2f31f37a
LMI
160032011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16004
16005 * mail/sendmail.el (sendmail-query-once): New function.
16006 (sendmail-query-once-function): New variable.
16007
3076b24e
GM
160082011-06-29 Glenn Morris <rgm@gnu.org>
16009
faf2a174
GM
16010 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16011
3076b24e
GM
16012 * ses.el (top-level): Require cl when compiling.
16013 (ses-set-localvars): Fix error statement.
16014 Call it at compile time to silence a storm of warnings.
16015
5386012d
MR
160162011-06-29 Martin Rudalics <rudalics@gmx.at>
16017
16018 * window.el (normalize-live-buffer): Rename to
16019 window-normalize-buffer.
16020 (normalize-live-frame): Rename to window-normalize-frame.
16021 (normalize-any-window): Rename to window-normalize-any-window.
16022 (normalize-live-window): Rename to window-normalize-live-window.
16023 (make-window-atom): Rename to window-make-atom.
16024 (window-resize-reset): Rename to window--resize-reset.
16025 (window-resize-reset-1): Rename to window--resize-reset-1.
16026 (resize-mini-window): Rename to window--resize-mini-window.
16027 (resize-subwindows-skip-p): Rename to
16028 window--resize-subwindows-skip-p.
16029 (resize-subwindows-normal): Rename to
16030 window--resize-subwindows-normal.
16031 (resize-subwindows): Rename to window--resize-subwindows.
16032 (resize-other-windows): Rename to window--resize-siblings.
16033 (resize-this-window): Rename to window--resize-this-window.
16034 (resize-root-window): Rename to window--resize-root-window.
16035 (resize-root-window-vertically): Rename to
16036 window--resize-root-window-vertically.
16037 (normalize-buffer-to-display): Rename to
16038 window-normalize-buffer-to-display.
16039 (normalize-buffer-to-switch-to): Rename to
16040 window-normalize-buffer-to-switch-to.
16041 Correspondingly update all callers of the functions listed
16042 above.
16043 (display-buffer-alist, display-buffer-normalize-arguments)
16044 (display-buffer-normalize-options, display-buffer)
16045 (display-buffer-alist-set): Use "function" instead of
16046 "fun-with-args".
16047
1176868d
CY
160482011-06-28 Chong Yidong <cyd@stupidchicken.com>
16049
16050 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16051 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16052 debbugs.gnu.org. Mention acknowledgment email.
16053
20a7a65f
LMI
160542011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16055
16056 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16057 buffer multibyteness, since it shouldn't matter.
16058
5f45cca5
MR
160592011-06-28 Martin Rudalics <rudalics@gmx.at>
16060
16061 * window.el (display-buffer-in-side-window): Handle dedicated
16062 windows as in display-buffer-reuse-window.
16063 (display-buffer-normalize-alist): Use value of override
16064 specifier.
16065 (display-buffer-normalize-specifiers): Use value of
16066 other-window-means-other-frame specifier.
16067 (display-buffer-alist): Rewrite some texts in widgets.
16068 (display-buffer): Spread arguments when calling function
16069 specified by fun-with-args.
16070
ad85fe1f
DD
160712011-06-28 Deniz Dogan <deniz@dogan.se>
16072
1fa280a3
LM
16073 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16074 Unnest `let'.
da68c4c8 16075
ad85fe1f
DD
16076 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16077 selectors (Bug#5732).
ec49bd31 16078 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 16079
a08cc025
JA
160802011-06-27 Jari Aalto <jari.aalto@cante.net>
16081
16082 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16083 (eshell-ls-date-format): New defcustom.
16084 (eshell-ls-file): Use it.
16085
e2b551c5
SM
160862011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16087
16088 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16089
8982b231
KY
160902011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16091
16092 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16093 (ange-ftp-make-tmp-name): New arg.
16094 (ange-ftp-file-local-copy): Use it.
16095
36c9fa27
J
160962011-06-27 Jambunathan K <kjambunathan@gmail.com>
16097
16098 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16099 no-conversion (Bug#8870).
16100
d68443dc
MR
161012011-06-27 Martin Rudalics <rudalics@gmx.at>
16102
16103 * window.el (window-right, window-left, window-child)
16104 (window-child-count, window-last-child)
16105 (window-iso-combination-p, walk-window-tree-1)
16106 (window-atom-check-1, window-tree-1, delete-window)
16107 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16108 new naming conventions - window-vchild, window-hchild,
16109 window-next and window-prev are now called window-top-child,
16110 window-left-child, window-next-sibling and window-prev-sibling
16111 respectively.
d615d6d2
MR
16112 (resize-window-reset): Rename to window-resize-reset.
16113 (resize-window-reset-1): Rename to window-resize-reset-1.
16114 (resize-window): Rename to window-resize.
16115 (window-min-height, window-min-width)
16116 (resize-mini-window, resize-this-window, resize-root-window)
16117 (resize-root-window-vertically, adjust-window-trailing-edge)
16118 (enlarge-window, shrink-window, maximize-window)
16119 (minimize-window, delete-window, quit-restore-window)
16120 (split-window, balance-windows, balance-windows-area-adjust)
16121 (balance-windows-area, window-state-put-2)
16122 (display-buffer-even-window-sizes, display-buffer-set-height)
16123 (display-buffer-set-width, set-window-text-height)
16124 (fit-window-to-buffer): Rename all "resize-window" prefixed
16125 calls to use the "window-resize" prefix convention.
16126 (display-buffer-alist): Fix symbol for label specifier.
16127 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16128 corresponding specifier.
16129 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 16130
b6458526
VB
161312011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16132
16133 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16134 convention.
16135 (ses-call-printer): Does not pass an empty string to formatter when the
16136 cell is empty to keep from barking printer Calc math-format-value.
16137
d31fd9ac
RS
161382011-06-27 Richard Stallman <rms@gnu.org>
16139
43d5bf84
RS
16140 * battery.el (battery-mode-line-limit): New variable.
16141 (battery-update): Handle it.
16142
d31fd9ac
RS
16143 * mail/rmailmm.el (rmail-mime-process-multipart):
16144 Handle truncated messages.
16145
819a6054
GM
161462011-06-27 Glenn Morris <rgm@gnu.org>
16147
16148 * progmodes/flymake.el (flymake-err-line-patterns):
16149 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16150
cedc73f2
VB
161512011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16152
819a6054 16153 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
16154 (ses--clean-!, ses--clean-_): New functions.
16155 (ses-range): Add configurability of readout order, and conversion
16156 to Calc vector.
16157
5e5d49b6
VB
16158 * ses.el (ses-repair-cell-reference-all): New function.
16159 (ses-cell-symbol): Set macro as safe, so that it can be used in
16160 formulas.
16161
56e6cc31 16162 * ses.el: Update cycle detection algorithm.
90ca8b49 16163 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 16164 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
16165 (ses-set-localvars): New function.
16166 (ses-make-cell): Add property-list as a cell element.
16167 (ses-cell-property-get-fun, ses-cell-property-get)
16168 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
16169 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16170 New functions.
90ca8b49
VB
16171 (ses-cell-property-set, ses-cell-property-pop)
16172 (ses-cell-property-get-handle): New macro.
16173 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16174 New aliases, used for code readability.
16175 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16176 cycle detection.
16177 (ses-self-reference-early-detection): New defcustom.
fac916bf 16178 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
16179 (ses-mode): Use ses-set-localvars.
16180 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16181 before lauching the update processing.
16182 (ses-initialize-Dijkstra-attempt): New function.
16183 (ses-recalculate-cell): Update for cycle detection based on
16184 Dijkstra algorithm.
16185
2bb63e81
VB
16186 * ses.el: Fix commenting and indenting convention.
16187
c9d29fb8
SM
161882011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16189
16190 * bs.el (bs-cycle-next): Complete last change.
16191
d8e4b68b
JB
161922011-06-27 Drew Adams <drew.adams@oracle.com>
16193
16194 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16195
40098786
LMI
161962011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16197
c9d29fb8
SM
16198 * net/network-stream.el (network-stream-open-starttls):
16199 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
16200 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16201
40098786
LMI
16202 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16203 to binary to possibly avoid line encoding issues on Windows (among
16204 other things).
16205
468d09d4
LMI
162062011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16207
16208 * net/network-stream.el (open-network-stream): Return an :error
16209 saying what the problem was, if possible.
16210
16211 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16212 server.
16213
16214 * net/network-stream.el (network-stream-open-starttls): If we
16215 wanted to use STARTTLS, and the server offered it, but we weren't
16216 able to because we had no STARTTLS support, then close the connection.
16217 (open-network-stream): Return an :error element, if present.
16218
16f07dd7
CY
162192011-06-26 Chong Yidong <cyd@stupidchicken.com>
16220
88821ca0
CY
16221 * hl-line.el (hl-line-sticky-flag): Doc fix.
16222 (global-hl-line-sticky-flag): New option (Bug#8323).
16223 (global-hl-line-highlight): Obey it.
16224
16f07dd7
CY
16225 * vc/vc.el (vc-revert-show-diff): Default to t.
16226
6b5ccddf
KM
162272011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16228
c9d29fb8
SM
16229 * allout-widgets.el (allout-widgets-post-command-business):
16230 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
16231 undecorated when an isearch is continued past, and isearch
16232 automatically collapses them. This leads to "widget leaks", where
16233 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
16234 hidden widgets can slow down cursor travel, substantially.
16235 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
16236 so we're doing without this nicety.
16237
16238 (allout-widgets-tally-string): Don't try to do a hash-table-count
16239 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16240 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16241 *Messages* when allout-widgets-maintain-tally is t.
16242
355f2e07
MR
162432011-06-26 Martin Rudalics <rudalics@gmx.at>
16244
16245 * window.el (display-buffer-normalize-argument): Rename to
16246 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
16247 LABEL argument. Respect special-display-function when popping up
16248 a new frame. Fix code searching for a window showing the buffer
16249 on another frame.
c9d29fb8
SM
16250 (display-buffer-normalize-specifiers):
16251 Call display-buffer-normalize-arguments.
355f2e07
MR
16252 (display-buffer-in-window): Don't undedicate the window if its
16253 buffer remains the same.
16254 Reported by Drew Adams <drew.adams@oracle.com>.
16255 (display-buffer-alist): Add choice for same-window macro
16256 specfier.
16257 (display-buffer): Mention special meaning of LABEL argument in
16258 doc-string. Fix quoting. Don't pop up a new frame even as
16259 fallback.
16260
7ca8fc42
JB
162612011-06-26 Juanma Barranquero <lekktu@gmail.com>
16262
16263 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16264 avoid deleting the current window in some cases (bug#8911).
16265
bc312254
AS
162662011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16267
16268 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16269 (Bug#8934)
16270
2db18f3f
LMI
162712011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16272
c9d29fb8
SM
16273 * net/network-stream.el (network-stream-open-starttls):
16274 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
16275 (network-stream-open-tls): Ditto.
16276
6302e0d3
LL
162772011-06-26 Leo Liu <sdl.web@gmail.com>
16278
16279 * register.el (registerv): New struct.
16280 (registerv-make): New function.
c9d29fb8
SM
16281 (jump-to-register, describe-register-1, insert-register):
16282 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
16283 struct. (Bug#8415)
16284
5fdd4046
CY
162852011-06-26 Chong Yidong <cyd@stupidchicken.com>
16286
2afef60a
CY
16287 * vc/vc.el (vc-revert-show-diff): New defcustom.
16288 (vc-diff-internal): New arg specifying diff buffer.
16289 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16290 reuse an existing *vc-diff* buffer (Bug#8927).
16291
5fdd4046
CY
16292 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16293
e93db24a
GM
162942011-06-26 Glenn Morris <rgm@gnu.org>
16295
16296 * progmodes/f90.el (f90-critical-indent): New option.
16297 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16298 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16299 (f90-mode): Doc fix.
16300 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16301 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16302 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16303 (f90-match-end): Handle block, critical.
16304
eefff499
GM
163052011-06-25 Glenn Morris <rgm@gnu.org>
16306
f6ba4cc9
GM
16307 * calendar/diary-lib.el (diary-included-files): Doc fix.
16308 (diary-include-files): New function, extracted from
16309 diary-include-other-diary-files and diary-mark-included-diary-files.
16310 (diary-include-other-diary-files, diary-mark-included-diary-files):
16311 Just call diary-include-files.
16312 (diary-mark-entries): Reset diary-included-files on first call.
16313
16712304
GM
16314 * calendar/diary-lib.el (diary-mark-entries)
16315 (diary-mark-included-diary-files):
16316 Visit included diary-files in temp buffers.
16317
5d8e0d43
GM
16318 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16319 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16320 (f90-start-block-re, f90-imenu-generic-expression)
16321 (f90-looking-at-program-block-start, f90-no-block-limit):
16322 Add support for submodules.
16323
ccf7a5d5
GM
16324 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16325 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 16326
11fdef7d 163272011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
16328
16329 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16330 buffer-file-type before setting its value, to avoid disastrous
eefff499 16331 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 16332
74f53697
JB
163332011-06-25 Juanma Barranquero <lekktu@gmail.com>
16334
16335 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16336
16337 * ses.el (ses-unload-function):
16338 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16339
16340 * proced.el (proced-unload-function):
16341 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16342
18a4ce5e
AR
163432011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16344
16345 * server.el (server-create-window-system-frame): Add parameters arg.
16346 (server-process-filter): Doc fix. Handle frame-parameters.
16347
519d22cc
JB
163482011-06-25 Juanma Barranquero <lekktu@gmail.com>
16349
16350 Fix bug#8730, bug#8781.
16351
16352 * loadhist.el (unload--set-major-mode): New function.
16353 (unload-feature): Use it.
16354
16355 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16356 (python-unload-function): New function.
16357
c206f5b0
SM
163582011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16359
16360 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16361
f9ad64f3
GS
163622011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16363
16364 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16365 the candidates list.
16366
7d0da90e
JB
163672011-06-24 Juanma Barranquero <lekktu@gmail.com>
16368
16369 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16370
14b4e83d
RS
163712011-06-23 Richard Stallman <rms@gnu.org>
16372
16373 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16374 (rmail-variables): Set next-error-move-function.
16375 (rmail-what-message): Take argument POS.
16376 (rmail-next-error-move): New function.
16377
273d2baf
SM
163782011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16379
16380 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16381 messages for adjacent non-terminals.
16382
56c2cc9a
RS
163832011-06-23 Richard Stallman <rms@gnu.org>
16384
16385 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 16386 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
16387 (rmail-start-mail): Don't specify use of rmail-mail-return;
16388 that's done by mail-bury now.
16389 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 16390
d59eb518
MA
163912011-06-23 Michael Albinus <michael.albinus@gmx.de>
16392
16393 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16394 SIZE is a number.
16395
02cfc6d6
MR
163962011-06-23 Martin Rudalics <rudalics@gmx.at>
16397
16398 * window.el (get-lru-window, get-mru-window)
16399 (get-largest-window): Never return a minibuffer window.
16400 (display-buffer-pop-up-window): Fix a bug that could lead to
16401 reusing the minibuffer window.
16402 (display-buffer): Pass original specifier argument to
16403 display-buffer-function instead of the normalized one.
16404 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16405
4e323265
LL
164062011-06-22 Leo Liu <sdl.web@gmail.com>
16407
16408 * minibuffer.el (completing-read-function)
1f9f395d 16409 (completing-read-default): Move from minibuf.c.
4e323265 16410
7a70468f
RS
164112011-06-22 Richard Stallman <rms@gnu.org>
16412
50718fc2
RS
16413 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16414 to Rmail even if not started by a special Rmail command.
16415
7a70468f
RS
16416 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16417 Copy the buffer currently showing just one message.
16418
297dde5a
RW
164192011-06-22 Roland Winkler <winkler@gnu.org>
16420
16421 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16422 (bibtex-clean-entry): First delete the old key so that a
16423 customized algorithm for generating the new key does not get
16424 confused by the old key.
16425 (bibtex-url): Obey regexp of first step.
16426 (bibtex-search-entries): Do not use add-to-list with local
16427 list-var.
16428
97bb1093
LMI
164292011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16430
16431 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16432 stored a user name, then query for the password first, instead of
16433 waiting for SMTP to give an error message and the trying again.
16434
1c0f1a19
JD
164352011-06-22 Lawrence Mitchell <wence@gmx.li>
16436
16437 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16438 BUFFER in call-process.
16439
396f7c9d
LMI
164402011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16441
16442 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16443 QUIT twice.
ddb7ffee
LMI
16444 (smtpmail-try-auth-methods): Require user name and password from
16445 auth-source.
396f7c9d 16446
8998d1b3
MR
164472011-06-22 Martin Rudalics <rudalics@gmx.at>
16448
16449 * window.el (display-buffer-default-specifiers)
16450 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16451 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 16452 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
16453
16454 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16455 (special-display-frame-alist, special-display-popup-frame):
16456 Remove duplicate declarations. These are now in window.el.
16457
4ea31e07
LMI
164582011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16459
c9d29fb8
SM
16460 * mail/smtpmail.el (smtpmail-via-smtp):
16461 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
16462 server supports it. SMTP servers that support STARTTLS commonly
16463 require it.
16464
16465 * net/network-stream.el (network-stream-open-starttls): Support
16466 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 16467 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 16468
95f41d9a
LMI
16469 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16470 upgrades with `open-network-stream', and rely solely on
16471 auth-source for all credentials. Big changes throughout the file,
16472 but in particular:
c9d29fb8
SM
16473 (smtpmail-auth-credentials): Remove.
16474 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
16475 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16476 MAIL FROM, too.
95f41d9a 16477
c9d29fb8
SM
16478 * net/network-stream.el (network-stream-open-starttls):
16479 Provide support for client certificates both for external and built-in
4ea31e07
LMI
16480 STARTTLS.
16481 (auth-source): Require.
16482 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
16483 (network-stream-certificate): Change cert-cert to cert and
16484 cert-key to key.
4ea31e07 16485
065ec2c7
MA
164862011-06-21 Michael Albinus <michael.albinus@gmx.de>
16487
16488 * net/tramp-cache.el (top): Don't load the persistency file when
16489 "emacs -Q" has been called.
16490
cd93b359
DR
164912011-06-21 Tim Harper <timcharper@gmail.com>
16492
d8e4b68b
JB
16493 * term/ns-win.el (ns-initialize-window-system):
16494 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
16495 resource to NO as it is not yet supported by the NS port.
16496
ae9c0411
JB
164972011-06-21 Juanma Barranquero <lekktu@gmail.com>
16498
16499 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16500 (list-dynamic-libraries): ...not here.
16501
7f3f739f
LL
165022011-06-21 Leo Liu <sdl.web@gmail.com>
16503
16504 * subr.el (sha1): Implement sha1 using secure-hash.
16505
327c8fb1
MR
165062011-06-21 Martin Rudalics <rudalics@gmx.at>
16507
16508 * window.el (display-buffer-alist): In default value do not
16509 enforce searching a window on any but the selected frame.
16510 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16511 (display-buffer-select-window): Remove function.
16512 (display-buffer-in-window): When a window on another frame gets
16513 reused, do not select it any more but just raise its frame if
16514 necessary (Bug#8851) and (Bug#8856).
16515 (display-buffer-normalize-options): Handle pop-up-frames related
16516 options more faithfully.
16517 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16518 window if it is on another frame.
c9d29fb8
SM
16519 (display-buffer-alist, display-buffer-default-specifiers):
16520 Don't make new frame unsplittable by default.
9e9de014
MR
16521 (display-buffer-normalize-argument): Fix doc-string typo and use
16522 'same-frame-other-window instead of 'other-window when associating
16523 with display-buffer-macro-specifiers.
327c8fb1 16524
7cf3f556
VB
165252011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16526
16527 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16528 New functions.
16529 (5x5-mode-map, 5x5-mode-menu): Bind them.
16530 (5x5-draw-grid): Tweak the solver's rendering.
16531
60a406cf
SM
165322011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16533
16534 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16535 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16536
d8e4b68b 165372011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
16538
16539 * menu-bar.el: Use function variable instead of switch-to-buffer.
16540 (menu-bar-select-buffer-function): New variable.
60a406cf 16541 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 16542
478d6f95
SM
165432011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16544
16545 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16546 variable's status.
16547
ca530739
JD
165482011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16549
16550 * x-dnd.el (x-dnd-version-from-flags)
16551 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16552 and long as number (Bug#8899).
16553 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16554
bcd70d97
SM
165552011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16556
60a406cf 16557 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
16558 (completion-try-completion, completion-all-completions): Compute the
16559 metadata argument if it's missing; make it optional (bug#8795).
16560
60a406cf 16561 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
16562 (widget-complete): Use new :completion-function property.
16563 (widget-completions-at-point): New function.
16564 (default): Use :completion-function instead of :complete.
60a406cf
SM
16565 (widget-default-completions): Rename from widget-default-complete;
16566 Rewrite.
bcd70d97
SM
16567 (widget-string-complete, widget-file-complete, widget-color-complete):
16568 Remove functions.
16569 (file, symbol, function, variable, coding-system, color):
16570 * international/mule-cmds.el (default-input-method, charset)
16571 (language-info-custom-alist):
16572 * cus-edit.el (face): Use new property :completions.
16573
16574 * progmodes/pascal.el (pascal-completions-at-point): New function.
16575 (pascal-mode): Use it.
16576 (pascal-mode-map): Use completion-at-point.
16577 (pascal-toggle-completions): Make obsolete.
16578 (pascal-complete-word, pascal-show-completions):
16579 * progmodes/octave-mod.el (octave-complete-symbol):
16580 Redefine as obsolete alias.
16581 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16582 Signal absence of completion info for old Octave,
16583 (inferior-octave-complete): Redefine as obsolete alias.
16584 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16585 (meta-completions-at-point): Rename from meta-complete-symbol and
16586 adapt it for use on completion-at-point-functions.
16587 (meta-common-mode): Use it.
16588 (meta-looking-at-backward, meta-match-buffer): Remove.
16589 (meta-complete-symbol): Redefine as obsolete alias.
16590 (meta-common-mode-map): Use completion-at-point.
16591 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16592 (makefile-mode-map): Use completion-at-point.
16593 (makefile-completions-at-point): Rename from makefile-complete and
16594 adapt it for use on completion-at-point-functions.
16595 (makefile-mode): Use it.
16596 (makefile-complete): Redefine as obsolete alias.
16597
aebf69c8
DD
165982011-06-20 Deniz Dogan <deniz@dogan.se>
16599
16600 * net/rcirc.el: Delete trailing whitespaces once and for all.
16601
bfbbb27d
DC
166022011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16603
16604 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16605
d264a46b
CY
166062011-06-19 Chong Yidong <cyd@stupidchicken.com>
16607
4ca009e5
CY
16608 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16609
d264a46b
CY
16610 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16611
fbf5b3ce
MR
166122011-06-19 Martin Rudalics <rudalics@gmx.at>
16613
16614 * window.el (display-buffer-other-window-means-other-frame):
16615 Call display-buffer-normalize-alist.
16616 (display-buffer-normalize-specifiers-1): Rename to
16617 display-buffer-normalize-argument. New argument other-frame.
16618 Rewrite.
16619 (display-buffer-normalize-specifiers-2): Rename to
16620 display-buffer-normalize-options.
16621 (display-buffer-normalize-alist-1): New function.
16622 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
16623 display-buffer-normalize-alist.
16624 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
16625 (display-buffer-normalize-options-inhibit): New variable.
16626 (display-buffer-normalize-specifiers): Rewrite calling
16627 display-buffer-normalize-alist,
16628 display-buffer-normalize-argument, and
16629 display-buffer-normalize-options. Don't call the latter if
16630 display-buffer-normalize-options-inhibit is non-nil.
16631 (frame-auto-delete): New option.
16632 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
16633 (window-list-no-nils, window-state-ignored-parameters)
16634 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
16635 (window-state-put-1, window-state-put-2, window-state-put):
16636 New functions.
9a028c23
MR
16637 (display-buffer-normalize-options): Move special-display-p group
16638 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 16639
6d10d800
CY
166402011-06-18 Chong Yidong <cyd@stupidchicken.com>
16641
6420d28b
CY
16642 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16643 groups (Bug#8776).
16644 (rx-submatch-n): New function.
16645 (rx): Document it.
16646
ddb8b596
CY
16647 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16648 (Bug#8768).
16649
16650 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16651
77080289
CY
16652 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16653
61dfb316
CY
16654 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16655 anytime existing face settings are present (Bug#8889).
16656
6d10d800
CY
16657 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16658 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16659 Remove unused argument.
16660
be3fb2b8
MR
166612011-06-18 Martin Rudalics <rudalics@gmx.at>
16662
bcd70d97
SM
16663 * window.el (display-buffer-default-specifiers):
16664 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
16665 pop-up-window-min-width, and another reuse-window specifier
16666 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
16667 (display-buffer-normalize-specifiers-2):
16668 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
16669 pop-up-windows is unset. Add a reuse-window specifier for the
16670 case popping up a new window fails.
16671 (special-display-popup-frame): Remove double quoting.
28dec25a 16672 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 16673
1c6d8c76
SM
166742011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16675
16676 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16677 according to comint-completion-addsuffix.
16678
16679 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16680 (pcomplete-suffix-list): Mark as obsolete.
16681 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16682 pcomplete-seen in the closure.
16683 (pcomplete-comint-setup): Setup completion-at-point as well.
16684 (pcomplete--entries): New function.
16685 (pcomplete--env-regexp): New var.
16686 (pcomplete-entries): Rewrite to work with partial-completion and
16687 without relying on pcomplete-suffix-list.
16688 (pcomplete-pare-list): Remove, unused.
16689
25aef8b8
MR
166902011-06-17 Martin Rudalics <rudalics@gmx.at>
16691
16692 * window.el (display-buffer-alist): Set pop-up-window-min-height
16693 and pop-up-window-min-width in default value. Reported by
16694 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16695 other-window-means-other-frame.
16696 (display-buffer-macro-specifiers): Comment out entry for
16697 other-window specifier.
16698 (display-buffer-other-window-means-other-frame): New function.
16699 (display-buffer-normalize-specifiers-1): New arguments
16700 buffer-name and label. Treat other-window case specially.
16701 (display-buffer-normalize-specifiers-2): Treat other-window case
16702 specially.
16703 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
16704 (display-buffer-normalize-specifiers):
16705 Call display-buffer-normalize-specifiers-3.
25aef8b8 16706
dbad4f69
MR
167072011-06-17 Martin Rudalics <rudalics@gmx.at>
16708
16709 * window.el (same-window-p): Fix two typos introduced when
16710 adding with-no-warnings.
d1067961
MR
16711 (display-buffer-normalize-specifiers-1): Don't check
16712 pop-up-frames for 'unset initialization.
16713 (display-buffer-normalize-specifiers-2): Major rewrite using
16714 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16715 (pop-up-frames, display-buffer-reuse-frames)
16716 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16717 Suggested by David Engster <deng@randomsample.de>.
16718 (even-window-heights): Initialize to 'unset.
16719 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
16720 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16721 other window case.
dbad4f69 16722
9b9c9e3a
MR
167232011-06-16 Martin Rudalics <rudalics@gmx.at>
16724
bcd70d97
SM
16725 * window.el (display-buffer-normalize-specifiers-1):
16726 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 16727 second argument of display-buffer (Bug#8865).
981d5c09
MR
16728 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16729 (switch-to-buffer-other-window-same-frame)
16730 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16731 Adams (Bug#8875).
9c2755e9
MR
16732 (display-buffer): Don't check noninteractive when calling
16733 display-buffer-pop-up-frame.
16734 (display-buffer-pop-up-frame): Never pop up a frame in
16735 noninteractive mode (Bug#8857).
67222e1d
MR
16736 (enlarge-window, shrink-window): Don't report an error when the
16737 window can't be resized as requested (Bug#8862).
9b9c9e3a 16738
2b75be67
SM
167392011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16740
9ffdd3ba
SM
16741 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16742
cb581a67
SM
16743 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16744
2b75be67
SM
16745 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16746
8c0e3589
AM
167472011-06-15 Alan Mackenzie <acm@muc.de>
16748
cb581a67
SM
16749 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16750 for declarators, disable knr checking to speed up for normal files.
16751 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 16752
b96e6cde
LMI
167532011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16754
4bba86e6
LMI
16755 * net/network-stream.el (open-network-stream): Add the keyword
16756 :always-query-capabilities for the case where you want to force a
16757 `plain' network connection, but the protocol still requires the
16758 capabilitiy command (i.e., SMTP and EHLO).
16759
2b75be67 16760 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
16761 consistency with other `-live-p' functions.
16762
efdcdbf8
SM
167632011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16764
16765 * window.el (same-window-buffer-names, same-window-regexps)
16766 (special-display-frame-alist, special-display-popup-frame)
16767 (special-display-function, special-display-buffer-names)
16768 (special-display-regexps, pop-up-frame-alist)
16769 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16770 (pop-up-windows, split-window-preferred-function)
16771 (split-height-threshold, split-width-threshold, even-window-heights)
16772 (display-buffer-mark-dedicated): Don't encourage the use of
16773 display-buffer-alist from Elisp code.
16774
c5cde042
DN
167752011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16776
16777 * progmodes/python.el (python-mode): Derive from prog-mode.
16778 * progmodes/ps-mode.el (ps-mode):
16779 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 16780 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
16781 * progmodes/ld-script.el (ld-script-mode): Likewise.
16782
baa1c9ab
MR
167832011-06-15 Martin Rudalics <rudalics@gmx.at>
16784
16785 * window.el (display-buffer-alist): Trim default value to avoid
16786 popping up a new frame (Bug#8857) or reusing an arbitrary window
16787 on another frame.
16788 (display-buffer): Do not fall back on popping up a new frame in
16789 batch mode (Bug#8857).
16790
c5dd5a51
CY
167912011-06-14 Chong Yidong <cyd@stupidchicken.com>
16792
16793 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16794 (custom-theme-summary): New function.
16795 (customize-themes): Use it.
16796
d647b7c4
GM
167972011-06-13 Glenn Morris <rgm@gnu.org>
16798
16799 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16800
9481c002
MR
168012011-06-13 Martin Rudalics <rudalics@gmx.at>
16802
357f93d2
MR
16803 * help.el (help-window): Remove variable.
16804 (help-window-point-marker, temp-buffer-max-height)
16805 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16806 (help-print-return-message): Don't set help-window.
16807 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16808 (help-window-setup-finish): Remove.
16809 (help-window-display-message, help-window-setup)
16810 (with-help-window): Major rewrite based on new
16811 display-buffer-window variable.
16812
16813 * help-mode.el (help-mode-finish): Remove help-window related
16814 code.
16815
16816 * view.el (view-exits-all-viewing-windows): Remove reference to
16817 view-return-to-alist in doc-string.
16818 (view-return-to-alist): Make obsolete.
16819 (view-buffer): Call pop-to-buffer-same-window and remove
16820 undo-window code.
16821 (view-buffer-other-window): Call pop-to-buffer-other-window and
16822 simplify code. Ignore second argument.
16823 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16824 simplify code. Ignore second argument.
16825 (view-return-to-alist-update): Make obsolete.
16826 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16827 Rewrite using quit-restore window parameters.
2b75be67
SM
16828 (view-mode-exit): Rename second argument to EXIT-ONLY.
16829 Rewrite using quit-restore-window.
357f93d2
MR
16830 (View-exit, View-exit-and-edit, View-leave, View-quit)
16831 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16832 appropriate arguments.
16833 (view-end-message): Use quit-restore window parameter.
16834
9481c002
MR
16835 * window.el (display-buffer-function): Rewrite doc-string.
16836 (display-buffer-window, display-buffer-alist): New variables.
16837 (display-buffer-split-specifiers)
16838 (display-buffer-side-specifiers)
16839 (display-buffer-macro-specifiers): New constants.
16840 (display-buffer-even-window-sizes, display-buffer-set-height)
16841 (display-buffer-set-width, display-buffer-select-window)
16842 (display-buffer-in-window, display-buffer-reuse-window)
16843 (display-buffer-split-window-1, display-buffer-split-window)
16844 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16845 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16846 (display-buffer-in-side-window, normalize-buffer-to-display)
16847 (display-buffer-normalize-specifiers-1)
16848 (display-buffer-normalize-specifiers-2)
2b75be67
SM
16849 (display-buffer-normalize-specifiers, display-buffer-frame):
16850 New functions.
9481c002
MR
16851 (display-buffer): Major rewrite.
16852 (display-buffer-other-window, display-buffer-other-frame)
16853 (pop-to-buffer, switch-to-buffer-other-window)
16854 (switch-to-buffer-other-frame): Rewrite.
16855 (display-buffer-same-window, display-buffer-same-frame)
16856 (display-buffer-same-frame-other-window)
16857 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16858 (pop-to-buffer-other-window)
16859 (pop-to-buffer-same-frame-other-window)
16860 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16861 (switch-to-buffer-other-window-same-frame): New functions.
16862 (same-window-p, special-display-p): Rewrite disabling warnings.
16863 Make obsolete.
16864 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16865 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16866 Make obsolete
16867 (same-window-buffer-names, same-window-regexps)
16868 (special-display-frame-alist, special-display-popup-frame)
16869 (special-display-function, special-display-buffer-names)
16870 (special-display-regexps, pop-up-frame-alist)
16871 (pop-up-frame-function, split-window-preferred-function)
16872 (split-height-threshold, split-width-threshold)
16873 (even-window-heights): Make obsolete.
16874
9db51aca
GM
168752011-06-12 Glenn Morris <rgm@gnu.org>
16876
16877 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 16878 Misc simplifications.
9db51aca 16879
39cffb44
MR
168802011-06-12 Martin Rudalics <rudalics@gmx.at>
16881
16882 * window.el (window-safely-shrinkable-p): Restore function which
16883 was inadvertently removed in change from 2011-06-11. Declare as
16884 obsolete.
16885
2b75be67
SM
16886 * calendar/calendar.el (calendar-generate-window):
16887 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
16888 window-safely-shrinkable-p.
16889
a8955be7
GM
168902011-06-12 Glenn Morris <rgm@gnu.org>
16891
16892 * progmodes/fortran.el (fortran-mode-syntax-table):
16893 * progmodes/f90.el (f90-mode-syntax-table):
16894 Set % to punctuation. (Bug#8820)
16895 (f90-find-tag-default): Remove, no longer needed.
16896
f0d4059d
DC
168972011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16898
16899 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16900
1100a63c
CY
169012011-06-11 Chong Yidong <cyd@stupidchicken.com>
16902
16903 * image.el (image-animated-p): Return animation delay in seconds.
16904 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16905 (image-animate-timeout): Remove DELAY argument. Don't assume
16906 every subimage has the same delay; get it from image-animated-p.
16907 (image-animate): Caller changed.
16908
def722bf
MA
169092011-06-11 Michael Albinus <michael.albinus@gmx.de>
16910
16911 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16912 to ignored backtrace functions.
16913
0a2bb1a9
GM
169142011-06-11 Glenn Morris <rgm@gnu.org>
16915
16916 * calendar/appt.el (appt-disp-window-function): Doc fix.
16917 (appt-check): Handle overlapping appointments. (Bug#8337)
16918
6198ccd0
MR
169192011-06-11 Martin Rudalics <rudalics@gmx.at>
16920
16921 * window.el (window-tree-1, window-tree): New functions, moving
16922 the latter to window.el.
16923 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16924 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16925 (bw-refresh-edges): Remove.
16926 (balance-windows-1, balance-windows-2): New functions.
16927 (balance-windows): Rewrite in terms of window tree functions,
16928 balance-windows-1 and balance-windows-2.
16929 (bw-adjust-window): Remove.
16930 (balance-windows-area-adjust): New function with functionality of
16931 bw-adjust-window but using resize-window.
2b75be67
SM
16932 (set-window-text-height): Rewrite doc-string.
16933 Use normalize-live-window and resize-window.
16934 (enlarge-window-horizontally, shrink-window-horizontally):
16935 Rename argument to DELTA.
6198ccd0
MR
16936 (window-buffer-height): New function.
16937 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16938 Rewrite using new window resize routines.
2b75be67
SM
16939 (kill-buffer-and-window, mouse-autoselect-window-select):
16940 Use ignore-errors instead of condition-case.
6198ccd0
MR
16941 (quit-window): Call delete-frame instead of delete-windows-on
16942 for the only buffer on frame.
16943
9397e56f
MR
169442011-06-10 Martin Rudalics <rudalics@gmx.at>
16945
16946 * loadup.el (top-level): Load window before files for the sake
16947 of replace-buffer-in-windows.
16948
16949 * files.el (read-buffer-to-switch)
16950 (switch-to-buffer-other-window)
2b75be67
SM
16951 (switch-to-buffer-other-frame, display-buffer-other-frame):
16952 Move to window.el.
9397e56f
MR
16953
16954 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16955 (previous-buffer): Move to window.el.
16956
16957 * bindings.el (unbury-buffer): Move to window.el.
16958
16959 * window.el (delete-other-windows-vertically): Move after
16960 definition of delete-other-windows.
16961 (other-window, delete-windows-on, replace-buffer-in-windows):
16962 Move here from window.c.
16963 (record-window-buffer, unrecord-window-buffer)
16964 (set-window-buffer-start-and-point, switch-to-prev-buffer)
16965 (switch-to-next-buffer): New functions.
16966 (get-next-valid-buffer, last-buffer, next-buffer): Move here
16967 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
16968 (previous-buffer): Move here from simple.el.
16969 Call switch-to-prev-buffer.
9397e56f
MR
16970 (bury-buffer): Move here from buffer.c. Switch to previous
16971 buffer when window cannot be deleted.
16972 (unbury-buffer): Move here from bindings.el.
16973 (ctl-x-map): Move binding for other-window from window.c to
16974 here.
16975 (read-buffer-to-switch, switch-to-buffer-other-window)
16976 (switch-to-buffer-other-frame): Move here from files.el.
16977 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
16978 (switch-to-buffer): Move here from buffer.c.
16979 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 16980
562dd5e9
MR
169812011-06-10 Martin Rudalics <rudalics@gmx.at>
16982
16983 * window.el (window-min-height, window-min-width): Move here
16984 from window.c. Add defcustoms and rewrite doc-strings.
16985 (resize-mini-window, resize-window): New functions.
16986 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16987 Move here from window.c.
16988 (maximize-window, minimize-window): New functions.
16989 (delete-window, delete-other-windows, split-window): Move here
16990 from window.c.
16991 (window-split-min-size): New function.
16992 (split-window-keep-point): Mention split-window-above-each-other
16993 instead of split-window-vertically.
2b75be67 16994 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
16995 Rename split-window-vertically to split-window-above-each-other
16996 and provide defalias for old definition.
16997 (split-window-side-by-side, split-window-horizontally):
16998 Rename split-window-horizontally to split-window-side-by-side
16999 and provide defalias for the old definition.
562dd5e9
MR
17000 (ctl-x-map): Move bindings for delete-window,
17001 delete-other-windows and enlarge-window here from window.c.
17002 Replace bindings for split-window-vertically and
17003 split-window-horizontally by bindings for
17004 split-window-above-each-other and split-window-side-by-side.
17005
17006 * cus-start.el (all): Remove entries for window-min-height and
17007 window-min-width. Add entries for window-splits and
17008 window-nest.
17009
f0da764a
GM
170102011-06-09 Glenn Morris <rgm@gnu.org>
17011
80675c21
GM
17012 * calendar/appt.el (appt-mode-line): New function.
17013 (appt-check, appt-disp-window): Use it.
17014
f0da764a
GM
17015 * files.el (hack-one-local-variable-eval-safep):
17016 Allow minor-modes with explicit +/-1 arguments.
17017
59f623b7
TZ
170182011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17019
17020 * term/xterm.el (xterm): Add defgroup.
17021 (xterm-extra-capabilities): Add defcustom to supply known xterm
17022 capabilities, skip querying them, or query them (default).
17023 (terminal-init-xterm): Use it.
17024 (terminal-init-xterm-modify-other-keys): New function to set up
17025 modifyOtherKeys support to simplify `terminal-init-xterm'.
17026
9aab8e0d
MR
170272011-06-09 Martin Rudalics <rudalics@gmx.at>
17028
17029 * window.el (resize-window-reset, resize-window-reset-1)
17030 (resize-subwindows-skip-p, resize-subwindows-normal)
17031 (resize-subwindows, resize-other-windows, resize-this-window)
17032 (resize-root-window, resize-root-window-vertically)
17033 (window-deletable-p, window-or-subwindow-p)
17034 (frame-root-window-p): New functions.
17035
e8b08aee
GM
170362011-06-09 Glenn Morris <rgm@gnu.org>
17037
17038 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17039 (ange-ftp-get-files): Use it.
17040
254c37a5
AK
170412011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17042
17043 * mail/sendmail.el (mail-recover-1, mail-recover):
17044 * files.el (recover-file, recover-session):
17045 Handle dired-listing-switches not being just a single short option.
17046
35d7dbd3
GM
170472011-06-09 Glenn Morris <rgm@gnu.org>
17048
17049 * calendar/appt.el (appt-display-message, appt-disp-window):
17050 Handle lists of appointments.
17051
387522b2
MR
170522011-06-08 Martin Rudalics <rudalics@gmx.at>
17053
2b75be67
SM
17054 * window.el (one-window-p): Move down in code.
17055 Rewrite doc-string.
17056 (window-current-scroll-bars): Rewrite doc-string.
17057 Normalize live window argument.
387522b2
MR
17058 (walk-windows, get-window-with-predicate, count-windows):
17059 Rewrite doc-string. Use window-list-1.
17060 (window-in-direction-2, window-in-direction, get-mru-window):
17061 New functions.
17062
d8e4b68b 170632011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
17064
17065 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17066 Doc fix (Bug#8713).
17067
170682011-06-08 Chong Yidong <cyd@stupidchicken.com>
17069
17070 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17071
170722011-06-08 Juanma Barranquero <lekktu@gmail.com>
17073
17074 * loadhist.el (unload-feature-special-hooks):
17075 Add `comint-output-filter-functions'.
17076
0de12c52
IK
170772011-06-08 Ivan Kanis <gnu@kanis.fr>
17078
17079 * calendar/appt.el (appt-check): Move some initializations into the let.
17080
f3d1777e
MR
170812011-06-08 Martin Rudalics <rudalics@gmx.at>
17082
17083 * window.el (window-height): Defalias to window-total-height.
17084 (window-width): Defalias to window-body-width.
17085
18af70d0
CY
170862011-06-07 Chong Yidong <cyd@stupidchicken.com>
17087
17088 * image-mode.el (image-toggle-animation): New command.
17089 (image-mode-map): Bind it to RET.
17090 (image-mode): Update message.
17091 (image-toggle-display-image): Avoid a spurious cache flush.
17092 (image-transform-rotation): Doc fix.
17093 (image-transform-properties): Return quickly in the normal case.
17094 (image-animate-loop): Rename from image-animate-max-time.
17095
2b75be67 17096 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
17097 (create-animated-image): Remove unnecessary function.
17098 (image-animate): Rename from image-animate-start. New arg.
2b75be67 17099 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
17100 (image-animate-timer): Use car-safe.
17101 (image-animate-timeout): Rename argument.
17102
190b47e6
MR
171032011-06-07 Martin Rudalics <rudalics@gmx.at>
17104
17105 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
17106 window.c. Rename first argument to ALL-FRAMES.
17107 Rephrase doc-strings.
17108 (get-buffer-window-list): Rewrite using window-list-1.
17109 Rephrase doc-string.
a1511caf
MR
17110 (window-safe-min-height, window-safe-min-width): New constants.
17111 (window-size-ignore, window-min-size, window-min-size-1)
17112 (window-sizable, window-sizable-p, window-size-fixed-1)
17113 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17114 (window-max-delta-1, window-max-delta, window-resizable)
17115 (window-resizable-p, window-total-height, window-total-width)
17116 (window-body-width): New functions.
17117 (window-full-height-p, window-full-width-p): Rewrite using
17118 window-total-size.
17119 (window-body-height): Rewrite using window-body-size.
190b47e6 17120
85cc1f11
MR
171212011-06-06 Martin Rudalics <rudalics@gmx.at>
17122
17123 * window.el (window-right, window-left, window-child)
17124 (window-child-count, window-last-child, window-any-p)
17125 (normalize-live-buffer, normalize-live-frame)
17126 (normalize-any-window, normalize-live-window)
17127 (window-iso-combination-p, window-iso-combined-p)
17128 (window-iso-combinations)
17129 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17130 (windows-with-parameter, window-with-parameter)
17131 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
17132 (window-atom-check, window-side-check, window-check):
17133 New functions.
85cc1f11
MR
17134 (ignore-window-parameters, window-sides, window-sides-vertical)
17135 (window-sides-slots): New variables.
17136 (window-size-fixed): Move down in code. Minor doc-string fix.
17137
e7156492
AS
171382011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17139
17140 * comint.el (comint-dynamic-complete-as-filename)
17141 (comint-dynamic-complete-filename): Correctly call
17142 completion-in-region.
17143
7e821d0d
DD
171442011-06-05 Deniz Dogan <deniz@dogan.se>
17145
17146 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17147 in last change.
17148
ac09b8a1
DD
171492011-06-05 Deniz Dogan <deniz@dogan.se>
17150
17151 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17152 (rcirc): Use it to prompt for encryption.
17153
34699b85
RW
171542011-06-05 Roland Winkler <winkler@gnu.org>
17155
17156 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17157 (bibtex-search-entries): New command bound to C-c C-a.
17158 (bibtex-display-entries): New function.
17159
004dedd3
RW
171602011-06-05 Roland Winkler <winkler@gnu.org>
17161
17162 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17163 (bibtex-insert-kill): After yanking insert newline if necessary.
17164 (bibtex-initialize): Call bibtex-string-files-init only once.
17165 (bibtex-mode): Do not call easy-menu-add.
17166 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17167 (bibtex-yank): Set arg properly if nil.
17168
022fe7ce
RW
171692011-06-05 Roland Winkler <winkler@gnu.org>
17170
2b75be67
SM
17171 * textmodes/bibtex.el (bibtex-search-entry-globally):
17172 New variable.
022fe7ce
RW
17173 (bibtex-search-entry): Use it.
17174
b7c3692a
RW
171752011-06-05 Roland Winkler <winkler@gnu.org>
17176
17177 * textmodes/bibtex.el (bibtex-entry-format): New option
17178 sort-fields.
17179 (bibtex-format-entry, bibtex-reformat): Honor this option.
17180 (bibtex-parse-entry): Return fields in proper order.
17181
8eda563d
JB
171822011-06-05 Juanma Barranquero <lekktu@gmail.com>
17183
17184 * doc-view.el (doc-view-remove-if): Move computation of result out
17185 of `dolist' to silence misleading lexical-binding warning.
17186
7dbe3dbc
CY
171872011-06-04 Chong Yidong <cyd@stupidchicken.com>
17188
17189 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17190 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17191
0c33dd17
MA
171922011-06-04 Michael Albinus <michael.albinus@gmx.de>
17193
17194 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17195 "SunOS 5.10".
17196
f8f91c2b
MA
171972011-06-04 Michael Albinus <michael.albinus@gmx.de>
17198
17199 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17200 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17201 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17202 (tramp-parse-putty):
17203 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17204 (tramp-completion-function-alist-ssh)
17205 (tramp-completion-function-alist-telnet)
17206 (tramp-completion-function-alist-su)
17207 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17208 cookie.
17209
17210 * net/tramp-ftp.el:
17211 * net/tramp-sh.el:
17212 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17213 load "tramp.el" `tramp-set-completion-function'.
17214
e17d9003
SM
172152011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17216
17217 * shell.el: Require and use pcomplete.
17218 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17219 (shell-completion-vars): Set pcomplete-default-completion-function.
17220
6c4cab03
DD
172212011-06-04 Deniz Dogan <deniz@dogan.se>
17222
17223 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17224 `memq' (Bug#8799).
17225
ea9fafe0
SM
172262011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17227
17228 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17229
b3e945d3
JB
172302011-06-02 Juanma Barranquero <lekktu@gmail.com>
17231
17232 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17233 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17234 * vc/log-view.el (log-view-beginning-of-defun):
17235 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17236 (smerge-refine-forward, smerge-refine-chopup-region):
17237 Silence warning for unused `dotimes' counter variables.
17238
7d520089
SM
172392011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17240
17241 * net/tramp.el (tramp-with-progress-reporter): Rename from
17242 with-progress-reporter. Use `declare'.
17243 * net/tramp-smb.el:
17244 * net/tramp-sh.el:
17245 * net/tramp-gvfs.el: Update all uses.
17246
a1c2400f
JB
172472011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17248
17249 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17250 buffer isn't killed before making it current.
17251
2403c841
SM
172522011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17253
17254 Silence various byte-compiler warnings.
17255 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17256 `access-type' and new obsolescence format.
17257 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17258 new format.
17259 (byte-compile-check-variable): New `access-type' argument.
17260 Only warn if the access-type is obsolete.
17261 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17262 (byte-compile-variable-set): Adjust callers.
17263 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17264 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17265 setting it as obsolete.
17266 * simple.el (minibuffer-completing-symbol):
17267 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17268 access as obsolete.
17269 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17270 obsolete yet.
17271 * international/quail.el (quail-mouse-choose-completion): Remove unused
17272 code referring to obsolete var.
17273 (quail-choose-completion-string): Remove.
17274 * server.el (server-clients-with, server-kill-buffer-query-function)
17275 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17276 * proced.el (proced-send-signal):
17277 * emacs-lisp/lisp.el (lisp-complete-symbol):
17278 Replace completion-annotate-function with completion-extra-properties.
17279
2462470b
SM
172802011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17281
fb5b2591
SM
17282 * simple.el (goto-line): Use read-number.
17283 (overriding-map-is-bound): Remove.
17284 (saved-overriding-map): Change default.
17285 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17286 Take the map as argument.
17287 (universal-argument, negative-argument, digit-argument): Use it.
17288 (restore-overriding-map): Adjust.
17289 (do-auto-fill): Use fill-forward-paragraph.
17290 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17291
fd6fa53f
SM
17292 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17293 (minibuffer-inactive-mode): New major mode.
17294 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17295 the *Messages* buffer" hack.
17296 (mouse-popup-menubar): Don't burp if the event is a normal key.
17297
2462470b
SM
17298 Miscellaneous tweaks.
17299 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17300 lexical scoping as in subr.el's dolist and dotimes.
17301 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17302 Silence compiler warning.
17303 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17304 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17305 * international/ccl.el (ccl-compile): Trivial simplification.
17306 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17307 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17308 `printflag' argument.
17309 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17310 Purecopy the whole obsolescence data.
17311
108bf785
LL
173122011-06-01 Leo Liu <sdl.web@gmail.com>
17313
17314 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17315 improve doc-string as suggested by Marco Pessotto
17316 <melmothx@gmail.com>.
17317 (rcirc-print): Fix last change.
17318
30a23501
SM
173192011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17320
17321 * minibuffer.el (complete-with-action): Return nil for the metadata and
17322 boundaries of non-functional tables.
17323 (completion-table-dynamic): Return nil for the metadata.
17324 (completion-table-with-terminator): Add default case, using
17325 complete-with-action.
17326 (completion--metadata): New function.
17327 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17328 to try and avoid pathological performance problems.
17329 (completion--embedded-envvar-table): Return `category' metadata.
17330
bcd54f83
LMI
173312011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17332
17333 * subr.el (process-alive-p): New tiny convenience function.
17334
e227544d
SM
173352011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17336
17337 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17338 content but also its previous major mode.
17339
e8296fdc
HE
173402011-05-31 Helmut Eller <eller.helmut@gmail.com>
17341
4d61f28d 17342 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
17343 *Backtrace* buffer when we exit with C-M-c.
17344
620c53a6
SM
173452011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17346
17347 * minibuffer.el: Add metadata method to completion tables.
17348 (completion-category-overrides): New defcustom.
17349 (completion-metadata, completion--field-metadata)
17350 (completion-metadata-get, completion--styles)
17351 (completion--cycle-threshold): New functions.
17352 (completion-try-completion, completion-all-completions):
17353 Add `metadata' argument to choose completion-styles.
17354 (completion--do-completion): Use metadata to choose cycling.
17355 (completion-all-sorted-completions): Use metadata for sorting.
17356 Remove :completion-cycle-penalty which is not needed any more.
17357 (completion--try-word-completion): Add `metadata' argument.
17358 (minibuffer-completion-help): Check metadata for annotation function
17359 and sorting.
17360 (completion-file-name-table): Return `category' metadata.
17361 (minibuffer-completing-file-name): Make obsolete.
17362 * simple.el (minibuffer-completing-symbol): Make obsolete.
17363 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17364 completion-try-completion.
17365
1257e755
SM
173662011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17367
17368 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17369
3767e706
LL
173702011-05-30 Leo Liu <sdl.web@gmail.com>
17371
17372 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
17373 (rcirc-print): Decode all incoming messages (bug#8744).
17374 (rcirc-decode-coding-system): Allow value nil for automatic coding
17375 system detection.
3767e706 17376
d1a5d56a
GM
173772011-06-01 Glenn Morris <rgm@gnu.org>
17378
17379 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17380
e8cbec34
CY
173812011-05-29 Chong Yidong <cyd@stupidchicken.com>
17382
17383 * image.el (image-animate-max-time): Allow nil and t values.
17384 Default to nil.
17385 (create-animated-image): Doc fix.
17386 (image-animate-start): Remove second arg; just use
17387 image-animate-max-time.
17388 (image-animate-timeout): Doc fix. Args changed.
17389
17390 * image-mode.el (image-toggle-display-image): Ensure that the
17391 image spec passed to the animate timer is the same object as in
58179cce 17392 the buffer's display property (Bug#6981).
e8cbec34
CY
17393 (image-transform-properties): Doc fix.
17394
17395 * image.el (image-animate-max-time): Default to nil.
17396
159daf87
MR
173972011-05-29 Martin Rudalics <rudalics@gmx.at>
17398
17399 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17400 entire buffer list (Bug#8184).
17401
d66c4c7c
CY
174022011-05-29 Chong Yidong <cyd@stupidchicken.com>
17403
17404 * image.el (imagemagick-types-inhibit)
17405 (imagemagick-register-types): Doc fix.
17406
80aec780
DD
174072011-05-29 Deniz Dogan <deniz@dogan.se>
17408
17409 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17410 default.
17411
1dd3c2d9
CY
174122011-05-29 Chong Yidong <cyd@stupidchicken.com>
17413
17414 * select.el: Don't perform clipboard-manager saving in hooks;
17415 leave the hooks empty.
17416
60e56523
LL
174172011-05-28 Leo Liu <sdl.web@gmail.com>
17418
17419 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17420 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17421 (occur-edit-mode): New major mode (Bug#8463).
17422 (occur-after-change-function): New function.
17423 (occur-engine): Give Occur tags a read-only property.
17424
2b1e1a22
KR
174252011-05-28 Kevin Ryde <user42@zip.com.au>
17426
17427 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17428
5d344e88
CY
174292011-05-28 Chong Yidong <cyd@stupidchicken.com>
17430
8e6ca83d
CY
17431 * bindings.el (help-echo): Make the initial non-indicator dash
17432 empty on graphical terminals (Bug#7295).
17433
5d344e88
CY
17434 * files.el (auto-mode-alist): Move config rule after the
17435 in-stripping one (Bug#8547).
17436
bfbbace7
CY
17437 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17438
fbeba6e2
CY
17439 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17440 setting (Bug#8740).
17441
60ed8c72
AA
174422011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17443
4ac619f0
AA
17444 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17445 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17446 (Bug#8539).
60ed8c72 17447
23db196e
CY
174482011-05-28 Chong Yidong <cyd@stupidchicken.com>
17449
17450 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17451
5012f24c
DK
174522011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17453
17454 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17455 (hs-hide-block-at-point, hs-find-block-beginning)
17456 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17457 (Bug#8279).
17458
6a639b16
GM
174592011-05-28 Glenn Morris <rgm@gnu.org>
17460
17461 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17462
d43eaf2c
CY
174632011-05-28 Chong Yidong <cyd@stupidchicken.com>
17464
5199bde1
CY
17465 * help-fns.el (describe-function-1): If the function is a derived
17466 major mode, print the parent mode.
17467
d43eaf2c
CY
17468 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17469 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17470
423428a8
SM
174712011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17472
0ff8e1ba 17473 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 17474 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
17475 * progmodes/etags.el (tags-completion-at-point-function):
17476 * info-look.el (info-lookup-completions-at-point): Mark as
17477 non-exclusive.
17478 (info-complete): Adjust accordingly.
17479
423428a8
SM
17480 * info-look.el: Convert to lexical-binding and completion-at-point.
17481 (info-lookup-completions-at-point): New function.
17482 (info-complete): Use it and completion-in-region.
17483
b74aa22b
DA
174842011-05-28 Drew Adams <drew.adams@oracle.com>
17485
17486 * isearch.el: Let M-e start with point at the first mismatched char.
17487 (isearch-fail-pos): New function.
17488 (isearch-edit-string): Use it.
17489
66e2e71d
DK
174902011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17491
17492 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17493
b1890b0f 174942011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
17495
17496 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17497 traversal functions for avl-trees.
17498 (avl-tree--stack): New struct.
17499 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17500 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
17501 (avl-tree--do-enter): Add optional `updatefun' arg.
17502 Change return value.
eb95d01d 17503 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
17504 (avl-tree--do-delete): Add `test' and `nilflag' args.
17505 Change return value.
eb95d01d
TC
17506 (avl-tree-member): Add optional `nilflag'
17507 (avl-tree-member-p): New function.
17508 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17509 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17510 (avl-tree-stack-empty-p): New functions.
17511
3769ddcf
TC
17512 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17513 avl-tree--del-balance1 and make it work both ways.
17514 (avl-tree--del-balance2): Remove.
17515 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17516 make it work both ways.
17517 (avl-tree--enter-balance2): Remove.
17518 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17519 New macros.
17520 (avl-tree--mapc, avl-tree-map): Add direction argument.
17521
eb95d01d 175222011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
17523
17524 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17525
a9f737ee
CY
175262011-05-27 Chong Yidong <cyd@stupidchicken.com>
17527
17528 * select.el: Support clipboard managers with built-in function
17529 x-clipboard-manager-save, via delete-frame-functions and
17530 kill-emacs-hook.
17531 (xselect-convert-to-targets): Add MULTIPLE target to list.
17532 (xselect-convert-to-save-targets): New function.
17533
c92a1e54
KH
175342011-05-27 Kenichi Handa <handa@m17n.org>
17535
17536 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17537 let-binding rfc2047-encode-encoded-words to nil.
17538
e145f188
GM
175392011-05-27 Glenn Morris <rgm@gnu.org>
17540
5ec8a862
GM
17541 * mail/emacsbug.el: Don't require url-util.
17542
4b29d9fb
GM
17543 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17544
e145f188
GM
17545 * files.el (set-auto-mode):
17546 Also respect mode: entries at the end of the file. (Bug#8586)
17547
7d15102b
GM
175482011-05-26 Glenn Morris <rgm@gnu.org>
17549
98f593b8
GM
17550 * files.el (hack-local-variables-prop-line, hack-local-variables):
17551 Downcase mode names, as seems to be traditional.
27b48e63 17552 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 17553
7d15102b
GM
17554 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17555 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17556
51d5b4ec
JD
175572011-05-25 Julien Danjou <julien@danjou.info>
17558
17559 * textmodes/rst.el (rst-define-level-faces): Do not define face
17560 symbol if it is already defined.
17561
91513f63
VB
175622011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17563
17564 * play/5x5.el (5x5-new-game, 5x5-randomize):
17565 Reset 5x5-solver-output to nil when a new grid is cast.
17566 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17567 these debugging traces, as defmacro breaks the compiled code.
17568
4d90d6d0
DK
175692011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17570
17571 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17572
e1b90ef6
LL
175732011-05-24 Leo Liu <sdl.web@gmail.com>
17574
17575 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17576 (vc-bzr-sha1): Adapt.
17577
d8e4b68b 17578 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
17579
17580 * bindings.el: Provide sha1 feature.
17581
db0406bb 175822011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
17583
17584 * mail/sendmail.el: Require `rfc2047'.
17585 (mail-insert-from-field): Do not perform RFC2047 encoding.
17586 (mail-encode-header): New function.
17587 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
17588 buffer to the return value of select-message-coding-system.
17589 Call mail-encode-header.
b8d747b9
KH
17590
17591 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17592
db0406bb 175932011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 17594
4d90d6d0
DK
17595 * mail/supercite.el (sc-default-cite-frame):
17596 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 17597
eb8a5e9b
GM
175982011-05-24 Glenn Morris <rgm@gnu.org>
17599
f8630703
GM
17600 * progmodes/python.el (brm-menu): Declare.
17601
8831bbed
GM
17602 * emulation/viper.el (viper-set-hooks): Declare.
17603
eb8a5e9b
GM
17604 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17605 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17606 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17607 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17608 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17609 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17610
a2a25d24
SM
176112011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17612
17613 Add an :exit-function for completion-at-point.
17614
17615 * minibuffer.el (completion--done): New fun.
17616 (completion--do-completion): Use it. New arg `expect-exact'.
17617 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17618 since completion--do-completion does it for us now.
17619 (minibuffer-force-complete): Use completion--done and
17620 completion--replace. Handle sole-completion case with more care.
17621 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17622 (completion-extra-properties): New var.
17623 (completion-annotate-function): Make obsolete.
17624 (minibuffer-completion-help): Adjust accordingly.
17625 Use completion-list-insert-choice-function.
17626 (completion-at-point, completion-help-at-point):
17627 Bind completion-extra-properties.
17628 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17629 * simple.el (completion-list-insert-choice-function): New var.
17630 (completion-setup-function): Preserve it.
17631 (choose-completion): Pay attention to it, shuffle the code a bit.
17632 (choose-completion-string): New arg `insert-function'.
17633
17634 * textmodes/bibtex.el: Convert to lexical binding.
17635 (bibtex-mode-map): Use completion-at-point.
17636 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17637 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17638 (bibtex-complete): Define as obsolete alias.
17639 (bibtex-complete-internal): Remove.
17640 (bibtex-format-entry): Remove unused sub-group in regexp.
17641 * shell.el (shell--command-completion-data)
17642 (shell-environment-variable-completion):
17643 * pcomplete.el (pcomplete-completions-at-point):
17644 * comint.el (comint--complete-file-name-data): Use :exit-function
17645 instead of completion-table-with-terminator so it also works for
17646 choose-completion.
17647
e44e373d
SM
176482011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17649
4f91a816
SM
17650 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17651
782fc819
SM
17652 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17653 (bug#8710).
17654
e44e373d
SM
17655 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17656
381987c3
KM
176572011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17658
17659 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17660 customization variable and implement: If non-nil, auto-fill will
17661 be inhibited while on topic's header line.
17662
b776bc70
VB
176632011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17664
17665 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 17666 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
17667 always have a solution in grid size = 5 cases.
17668 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17669 (5x5-solver-output, 5x5-log-buffer): New vars.
17670 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17671 Make these variables buffer local to achieve 5x5 multi-session-ness.
17672 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17673 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17674 (5x5-solve-suggest): New funs.
17675 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17676 randomize a grid so that we ensure that there is always a solution.
17677 (5x5-make-random-grid): Allow other movement than flipping.
17678
7de88b6e
KR
176792011-05-23 Kevin Ryde <user42@zip.com.au>
17680
17681 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 17682 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
17683 advice and passes PREDICATE.
17684
b1ef1257
SM
176852011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17686
bbca48fe
SM
17687 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17688 byte-compile-lambda if it's actually a lambda.
17689
b1ef1257
SM
17690 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17691 Fix function quoting. Use backquote better.
17692
92a9cc65
YS
176932011-05-22 Yuanle Song <sylecn@gmail.com>
17694
17695 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17696 matching (Bug#8516).
17697
f0fb8059
JA
176982011-01-22 Jari Aalto <jari.aalto@cante.net>
17699
17700 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17701 different face (Bug#8178).
17702
d5b44c93
CY
177032011-05-22 Chong Yidong <cyd@stupidchicken.com>
17704
17705 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17706 defface (Bug#8144).
17707
79106a44
SM
177082011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17709
9c848d8a
SM
17710 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17711 funcall as well (bug#8712). Warn when performing those conversions.
17712 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17713
79106a44
SM
17714 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17715
88dfa756
GM
177162011-05-22 Glenn Morris <rgm@gnu.org>
17717
17718 * files.el (hack-local-variables-prop-line): Small simplifications.
17719 (hack-local-variables, hack-local-variables-prop-line):
17720 If MODE-ONLY, return the mode, rather than just `t'.
17721
b7cf2c79
SM
177222011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17723
17724 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17725
3f1a8558
GM
177262011-05-21 Glenn Morris <rgm@gnu.org>
17727
7e4ccca3
GM
17728 * files.el (hack-local-variables-prop-line, hack-local-variables):
17729 If only interested in the mode, don't bother doing the other stuff.
17730
637d46ca
GM
17731 * image-mode.el (image-after-revert-hook):
17732 Redraw all frames on which the image is visible. (Bug#8567)
17733
973d955b
GM
17734 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17735
3f1a8558
GM
17736 * wid-edit.el (widget-checklist-match-inline):
17737 Fix 2011-04-19 change. (Bug#8649)
17738
96479927
SM
177392011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17740
1dcf791f
SM
17741 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17742 Also allow singlespace after single-letter capitals followed by a dot.
17743
96479927
SM
17744 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17745 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17746
35fd0881
N
177472011-05-20 Nix <nix@esperi.org.uk>
17748
17749 * files.el (basic-save-buffer-2):
17750 Fix handling of break-hardlink-on-save with non-existent files.
17751
82745640
DD
177522011-05-19 Deniz Dogan <deniz@dogan.se>
17753
17754 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 17755 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 17756
4a720484
GM
177572011-05-19 Glenn Morris <rgm@gnu.org>
17758
d1f21341
GM
17759 * progmodes/f90.el (f90-type-def-re):
17760 Handle "type, bind(c)". (Bug#8691)
17761
4a720484
GM
17762 * emacs-lisp/autoload.el (batch-update-autoloads):
17763 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17764
2fb0a219
MA
177652011-05-18 Michael Albinus <michael.albinus@gmx.de>
17766
17767 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17768 property for the correct connection in case of multihops.
17769
e565dd37
GM
177702011-05-18 Glenn Morris <rgm@gnu.org>
17771
c2571358 17772 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
17773 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17774
e565dd37
GM
17775 Rationalize calendar handling of day and month abbrev-arrays.
17776 * calendar/calendar.el (calendar-customized-p): New function.
17777 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17778 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17779 Add :set function.
17780 (calendar-abbrev-length, calendar-day-abbrev-array)
17781 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17782 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17783 Elements may no longer be nil.
17784 (calendar-day-name, calendar-month-name):
17785 Update for changed nature of abbrev arrays.
17786 * calendar/diary-lib.el (diary-name-pattern):
17787 Update for changed nature of abbrev arrays.
17788 (diary-mark-entries-1): Update calendar-make-alist calls.
17789 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17790 * calendar/cal-html.el (cal-html-day-abbrev-array):
17791 Simply inherit from calendar-day-abbrev-array.
17792
1d99a745
SM
177932011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17794
17795 * progmodes/grep.el (grep-mode): Disable default
17796 compilation-directory-matcher setting (bug#8684).
17797
7c1d9aa0
MA
177982011-05-17 Michael Albinus <michael.albinus@gmx.de>
17799
17800 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17801 instead of "head" and "tail". There were problems with SunOS 5.9,
17802 and it performs better.
17803
3952e9d8
GM
178042011-05-17 Glenn Morris <rgm@gnu.org>
17805
2dd12e7f
GM
17806 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17807
e4157b9c
GM
17808 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17809 Replace obsolete function.
17810
8e249bbd
GM
17811 * shell.el (pcomplete-parse-arguments-function): Declare.
17812
3952e9d8
GM
17813 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17814 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17815 (appt-check): Doc fixes.
17816 (appt-disp-window-function, appt-delete-window-function):
17817 Remove needless special case in custom :type.
17818 (appt-display-count): Default to 0, not nil.
17819 (appt-check): Reset appt-display-count to 0, not nil.
17820
c71a0d48 178212011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 17822
c71a0d48
GM
17823 * progmodes/python.el (python-font-lock-keywords):
17824 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 17825
31d55be9
SM
178262011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17827
17828 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17829
3bfacb2f
KR
178302011-05-16 Kevin Ryde <user42@zip.com.au>
17831
17832 * info-look.el (makefile-automake-mode): New setups, looking in
17833 automake manual, then makefile-mode.
17834 (makefile-mode): Remove automake manual, have it just in
17835 makefile-automake-mode since there's various things different or
17836 not relevant to plain make.
17837 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17838 believe a hypothetical automake-mode would go to makefile-mode,
17839 not the other way around.
17840
c8e83751
CY
178412011-05-15 Chong Yidong <cyd@stupidchicken.com>
17842
5e9e35cd
CY
17843 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17844 hunk-end tags (Bug#8672).
17845
c8e83751
CY
17846 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17847 vc-annotate-show-diff-revision-at-line (Bug#8671).
17848
50b23e5a
GM
178492011-05-14 Glenn Morris <rgm@gnu.org>
17850
7210a739
GM
17851 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17852 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
17853 (change-log-font-lock-keywords): Also handle multiple author lines
17854 with leading tabs. (Bug#8644)
7210a739 17855
4691905a
GM
17856 * calendar/appt.el (appt-check): Rename some local variables.
17857 Some simplification/reordering.
17858
50b23e5a
GM
17859 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17860 (feedmail-sendmail-f-doesnt-sell-me-out)
17861 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17862 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17863 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
17864 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17865 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
17866 (feedmail-binmail-gnulinuxish-template):
17867 Rename from feedmail-binmail-linuxish-template.
17868 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17869 Use insert-buffer-substring.
17870
215cda7c
BC
178712011-05-14 Bill Carpenter <bill@carpenter.org>
17872
17873 * mail/feedmail.el (feedmail-patch-level): Increase.
17874 (feedmail-debug): New custom group.
17875 (feedmail-confirm-outgoing-timeout)
17876 (feedmail-sendmail-f-doesnt-sell-me-out)
17877 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17878 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17879 (feedmail-sender-line, feedmail-from-line)
17880 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 17881 (feedmail-spray-this-address)
215cda7c
BC
17882 (feedmail-spray-address-fiddle-plex-list)
17883 (feedmail-queue-use-send-time-for-date)
17884 (feedmail-queue-use-send-time-for-message-id)
17885 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17886 (feedmail-buffer-eating-function):
17887 Doc fixes.
17888 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17889 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17890 (feedmail-message-action-scroll-down): New functions.
17891 (feedmail-queue-directory, feedmail-queue-draft-directory):
17892 Use expand-file-name.
17893 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17894 Remove C-v help entry.
17895 (feedmail-queue-buffer-file-name): New variable.
17896 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17897 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17898 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17899 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17900 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17901 (feedmail-message-action-toggle-spray)
17902 (feedmail-run-the-queue-no-prompts)
17903 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17904 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17905 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17906 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17907 (feedmail-envelope-deducer, feedmail-fiddle-from)
17908 (feedmail-fiddle-sender, feedmail-default-date-generator)
17909 (feedmail-fiddle-date, feedmail-fiddle-message-id)
17910 (feedmail-fiddle-spray-address)
17911 (feedmail-fiddle-list-of-spray-fiddle-plexes)
17912 (feedmail-fiddle-list-of-fiddle-plexes)
17913 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17914 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17915 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17916 Change default. Doc fix.
17917 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17918 (feedmail-binmail-linuxish-template): New constant.
17919 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
17920 Respect feedmail-sendmail-f-doesnt-sell-me-out.
17921 (feedmail-send-it): Add debug call.
17922 Use feedmail-queue-buffer-file-name, and
17923 feedmail-send-it-immediately-wrapper.
17924 (feedmail-message-action-send): Add debug call.
17925 Use feedmail-send-it-immediately-wrapper.
17926 (feedmail-queue-express-to-queue): Add debug call.
17927 Run feedmail-queue-express-hook.
17928 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
17929 (feedmail-message-action-help-blat):
17930 Rename from feedmail-queue-send-edit-prompt-help-first.
17931 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
17932 Check line-endings. Handle errors better.
17933 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17934 Doc fix. Add debug call.
17935 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
17936 Use feedmail-queue-send-edit-prompt-inner.
17937 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17938 (feedmail-queue-send-edit-prompt-inner): New function, extracted
17939 from feedmail-queue-send-edit-prompt.
17940 (feedmail-queue-send-edit-prompt-help)
17941 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17942 (feedmail-tidy-up-slug): Add debug call.
17943 Respect feedmail-queue-slug-suspect-regexp.
17944 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17945 (feedmail-dump-message-to-queue): Add debug call.
17946 Expand queue-directory.
17947 (feedmail-dump-message-to-queue): Change message slightly.
17948 Use feedmail-say-chatter.
17949 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
17950 (feedmail-send-it-immediately-wrapper): New function.
17951 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
17952 Insert empty string rather than newline. Handle full-frame case.
17953 Use catch/throw. Use feedmail-say-chatter.
17954 (feedmail-fiddle-from): Try mail-host-address.
17955 (feedmail-default-message-id-generator): Doc fix.
17956 Bind system-time-locale. Handle missing end.
17957 (feedmail-fiddle-x-mailer): Add debug call.
17958 Handle feedmail-x-mailer-line being nil.
17959 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17960 Add debug call. Use buffer-substring-no-properties.
17961 (feedmail-say-debug, feedmail-say-chatter): New functions.
17962 (feedmail-find-eoh): Give an explicit error.
17963
42c7e61e
UJ
179642011-05-13 Ulf Jasper <ulf.jasper@web.de>
17965
c2571358 17966 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 17967 family from helvetica to sans.
c2571358 17968 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17969 etc/images/newsticker.
17970
c2571358 17971 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
17972 family from helvetica to sans.
17973
17974 * net/newst-plainview.el (newsticker-new-item-face)
17975 (newsticker-old-item-face, newsticker-immortal-item-face)
17976 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 17977 (newsticker-statistics-face): Change default family from
42c7e61e 17978 helvetica to sans.
c2571358 17979 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17980 etc/images/newsticker.
17981
5d3385a0
JB
17982 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17983 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
17984 auto-marking.
17985
8497a297
DV
179862011-05-13 Didier Verna <didier@xemacs.org>
17987
17988 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
17989 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17990 TODO entries.
8497a297
DV
17991 (lisp-lambda-list-keyword-parameter-indentation)
17992 (lisp-lambda-list-keyword-parameter-alignment)
17993 (lisp-lambda-list-keyword-alignment): New customizable user options.
17994 (lisp-indent-defun-method): Improve docstring.
17995 (extended-loop-p): Fix comment.
17996 (lisp-indent-lambda-list-keywords-regexp): New variable.
17997 (lisp-indent-lambda-list): New function.
17998 (lisp-indent-259): Use it.
17999 (lisp-indent-defmethod): Support for more than one
18000 method qualifier and properly indent methods lambda-lists.
18001 (defgeneric): Provide a missing common-lisp-indent-function property.
18002
f278f87f
SM
180032011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18004
18005 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18006 bounds for the empty string (bug#8667).
18007
5233edd7
GM
180082011-05-13 Glenn Morris <rgm@gnu.org>
18009
5237a44f
GM
18010 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18011
8340026c 18012 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 18013 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 18014
5233edd7 18015 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 18016 (appt-time-msg-list): Doc fix.
a5464014 18017 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 18018
92d10796
AS
180192011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18020
18021 * progmodes/ld-script.el (ld-script-keywords)
18022 (ld-script-builtins): Update keywords list.
18023
914a0ae1
SM
180242011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18025
c89be45f
SM
18026 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18027
914a0ae1
SM
18028 * shell.el (shell-completion-vars): New function.
18029 (shell-mode):
18030 * simple.el (read-shell-command): Use it.
18031 (blink-matching-open): No need for " [...]" in minibuffer-message.
18032
98dc3df3
GM
180332011-05-12 Glenn Morris <rgm@gnu.org>
18034
18035 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18036 (appt-check): Simplify.
18037
d2fc7e3d 180382011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 18039
4d61f28d 18040 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
18041 literal "/dev/null".
18042
d2fc7e3d 180432011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
18044
18045 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18046 Fix typo.
18047
d2fc7e3d 180482011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 18049
3f254caa
SM
18050 * progmodes/which-func.el (which-function):
18051 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
18052 which might not be defined (Bug#8260).
18053
d45885f7
GM
180542011-05-12 Glenn Morris <rgm@gnu.org>
18055
18056 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18057 Let byte-compile-initial-macro-environment always take precedence.
18058
488086f4
SM
180592011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18060
18061 * net/rcirc.el: Add support for SSL/TLS connections.
18062 (rcirc-server-alist): New field `encryption'.
18063 (rcirc): Check `encryption' settings.
18064 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18065 Merge make-local-variable into `set'.
18066 (rcirc--connection-open-p): New function.
18067 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18068 the process is not a network process (e.g. running gnutls-cli).
18069 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18070 Make rcirc-(en|de)code-coding-system local here.
18071 (rcirc-mode): Merge make-local-variable into `set'.
18072 (rcirc-parent-buffer): Make permanent buffer-local.
18073 (rcirc-multiline-minor-mode): Don't do it here.
18074 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18075 there's no server buffer.
18076
7d3b9d44
GM
180772011-05-11 Glenn Morris <rgm@gnu.org>
18078
f64049c6
GM
18079 * newcomment.el (comment-kill): Prefix "unused" local.
18080
93c9df73
GM
18081 * term/w32console.el (get-screen-color): Declare.
18082
7d3b9d44
GM
18083 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18084 Handle symbol elements of byte-compile-initial-macro-environment.
18085
9e2dd53f
LL
180862011-05-10 Leo Liu <sdl.web@gmail.com>
18087
488086f4
SM
18088 * bookmark.el (bookmark-bmenu-mode-map):
18089 Bind bookmark-bmenu-search to `/'.
8b340240 18090
9e2dd53f 18091 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
18092 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18093 (Footnote-unicode): New function.
18094 (footnote-style-alist): Add unicode style to the list.
18095 (footnote-style): Doc fix.
9e2dd53f 18096
79b70037
GM
180972011-05-10 Jim Meyering <meyering@redhat.com>
18098
18099 Fix doubled-word typos.
18100 * international/quail.el (quail-insert-kbd-layout): and and -> and
18101 * kermit.el: and and -> and
18102 * net/ldap.el (ldap-search-internal): to to -> to
18103 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18104 * progmodes/js.el (js-mode): and and -> and
18105 * textmodes/artist.el (artist-move-to-xy): at at -> at
18106 (artist-draw-region-trim-line-endings): if if -> if
18107 And Safetyc -> Safety.
18108 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18109
b8f82dc1 181102011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 18111 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
18112
18113 * files.el (hack-one-local-variable-eval-safep):
18114 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18115
4f99f44b
GM
181162011-05-10 Glenn Morris <rgm@gnu.org>
18117
18118 * calendar/diary-lib.el (diary-list-entries-hook)
18119 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18120 (diary-nongregorian-marking-hook, diary-list-entries)
18121 (diary-include-other-diary-files, diary-mark-entries)
18122 (diary-mark-included-diary-files): Doc fixes.
18123
84f29e6b
JB
181242011-05-09 Juanma Barranquero <lekktu@gmail.com>
18125
18126 * misc.el: Require tabulated-list.el during compilation.
18127
9bedd73a
CY
181282011-05-09 Chong Yidong <cyd@stupidchicken.com>
18129
488086f4
SM
18130 * progmodes/compile.el (compilation-start):
18131 Run compilation-filter-hook for the async case too.
9bedd73a
CY
18132 (compilation-filter-hook): Doc fix.
18133
797c735c
DD
181342011-05-09 Deniz Dogan <deniz@dogan.se>
18135
18136 * wdired.el: Remove outdated installation comment. Fix usage
18137 comment.
18138
5f4b1dfe
JB
181392011-05-09 Juanma Barranquero <lekktu@gmail.com>
18140
18141 * misc.el: Implement new command `list-dynamic-libraries'.
18142 (list-dynamic-libraries--loaded-only-p): New variable.
18143 (list-dynamic-libraries--refresh): New function.
18144 (list-dynamic-libraries): New command.
18145
4c44026c
CY
181462011-05-09 Chong Yidong <cyd@stupidchicken.com>
18147
488086f4
SM
18148 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18149 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
18150 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18151 higher priority to avoid clobbering by gnu.
18152
027f966d
CY
181532011-05-08 Chong Yidong <cyd@stupidchicken.com>
18154
18155 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18156 if the face has existing theme settings (Bug#8454).
18157
085f5d7d
CY
181582011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18159
488086f4
SM
18160 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18161 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 18162
2a86a00c
RS
18163 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18164 special file names `.' and `..' (Bug#8259).
18165
d9c54a06
CY
181662011-05-08 Chong Yidong <cyd@stupidchicken.com>
18167
488086f4
SM
18168 * progmodes/grep.el (grep-mode-font-lock-keywords):
18169 Remove buffer-changing entries.
d9c54a06
CY
18170 (grep-filter): New function.
18171 (grep-mode): Add it to compilation-filter-hook.
18172
18173 * progmodes/compile.el (compilation-filter-hook)
18174 (compilation-filter-start): New defvars.
18175 (compilation-filter): Call compilation-filter-hook prior to
18176 updating the process mark.
18177
c4662635
SM
181782011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18179
18180 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18181
b0512a1d
EZ
181822011-05-07 Eli Zaretskii <eliz@gnu.org>
18183
605c9376
EZ
18184 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18185 mailclient-send-it even if window-system is nil. (Bug#8595)
18186
c4662635
SM
18187 * term/w32console.el (terminal-init-w32console):
18188 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
18189 background-mode. (Bug#8597)
18190
d1dc2cc2
SM
181912011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18192
18193 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18194 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18195 New functions.
18196 (defgeneric, eieio--defmethod): Use them.
18197 (eieio-defgeneric): Remove.
18198 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18199
915d1300
GM
182002011-05-07 Glenn Morris <rgm@gnu.org>
18201
a3961c3e
GM
18202 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18203 Use let rather than let*.
18204 (timeclock-find-discrep): Remove unused local.
18205
314347b9
GM
18206 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18207
915d1300
GM
18208 * calendar/appt.el (appt-time-msg-list): Doc fix.
18209
275b59b0
NF
182102011-05-06 Noah Friedman <friedman@splode.com>
18211
18212 * apropos.el (apropos-print-doc): Only use
18213 emacs-lisp-docstring-fill-column when it is bound to an integer,
18214 per that variable's documentation.
18215
6c19f744
SM
182162011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18217
18218 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 18219 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 18220
60f884b2
GM
182212011-05-06 Glenn Morris <rgm@gnu.org>
18222
5006e634
GM
18223 * calendar/appt.el (appt-message-warning-time): Doc fix.
18224 (appt-warning-time-regexp): New option.
18225 (appt-make-list): Respect appt-message-warning-time.
18226
548d0a63
GM
18227 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18228 New options.
18229 (diary-add-to-list): Strip comments from the displayed string.
18230 (diary-mode): Set comment-start and comment-end.
18231
60f884b2
GM
18232 * vc/diff-mode.el (smerge-refine-subst): Declare.
18233 (diff-refine-hunk): Don't require smerge-mode when compiling.
18234
989681bb
JB
182352011-05-06 Juanma Barranquero <lekktu@gmail.com>
18236
18237 * simple.el (list-processes): Return nil as the docstring says.
18238
a6bc05e1
MA
182392011-05-05 Michael Albinus <michael.albinus@gmx.de>
18240
18241 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18242 to "".
18243 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18244 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18245 determining of binary transfer. (Bug#7383)
18246
23c22e9a
MA
182472011-05-05 Michael Albinus <michael.albinus@gmx.de>
18248
c4662635
SM
18249 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18250 Fix port computation bug. (Bug#8618)
23c22e9a 18251
0bff894f
GM
182522011-05-05 Glenn Morris <rgm@gnu.org>
18253
b8296902
GM
18254 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18255
1f522ce8
GM
18256 * simple.el (shell-dynamic-complete-functions)
18257 (comint-dynamic-complete-functions): Declare.
18258
cf5bee67
GM
18259 * net/network-stream.el (gnutls-negotiate):
18260 * simple.el (tabulated-list-print): Fix declarations.
18261
18262 * progmodes/gud.el (syntax-symbol, syntax-point):
18263 Remove unnecessary and incorrect declarations.
18264
0bff894f 18265 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 18266 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 18267
9869b3ae
SM
182682011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18269
18270 Fix earlier half-done eieio-defmethod change (bug#8338).
18271 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18272 Streamline and change calling convention.
18273 (defmethod): Adjust accordingly and simplify.
18274 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18275 new eieio--defmethod.
18276 (slot-boundp): Minor CSE simplification.
18277
9c1d5ac5
MZ
182782011-05-05 Milan Zamazal <pdm@zamazal.org>
18279
18280 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18281 (glasses-make-readable): Use glasses-separate-capital-groups.
18282
455c834e
JB
182832011-05-05 Juanma Barranquero <lekktu@gmail.com>
18284
18285 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18286 (warning-series): Doc fix.
18287 (display-warning): Don't try to create the buffer if we just found it.
18288
9ed7c8cb
CY
182892011-05-04 Chong Yidong <cyd@stupidchicken.com>
18290
18291 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18292 (autoload-find-generated-file): New function.
18293 (generate-file-autoloads): Bind generated-autoload-file to
18294 buffer-file-name.
9869b3ae
SM
18295 (update-file-autoloads, update-directory-autoloads):
18296 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
18297 output file (Bug#7989).
18298 (batch-update-autoloads): Doc fix.
18299
0898ca10
JB
183002011-05-04 Juanma Barranquero <lekktu@gmail.com>
18301
18302 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18303
31dfb76c
GM
183042011-05-04 Glenn Morris <rgm@gnu.org>
18305
f330b642
GM
18306 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18307 function, so it follows changes in calendar-date-style.
18308 (diary-fancy-date-matcher): New function.
18309 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18310 (diary-fancy-font-lock-fontify-region-function):
18311 Use diary-fancy-date-pattern as a function.
18312
31dfb76c
GM
18313 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18314 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18315
48e79d6a
TZ
183162011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18317
18318 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18319 instead of positional arguments. Allow :keylist and :crlfiles
18320 arguments.
18321 (open-gnutls-stream): Call it.
18322
18323 * net/network-stream.el (network-stream-open-starttls): Adjust to
18324 call `gnutls-negotiate' with :process and :hostname arguments.
18325
dd5a5ee0
SM
183262011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18327
ef80fc09
SM
18328 * minibuffer.el (completion--message): New function.
18329 (completion--do-completion, minibuffer-complete)
18330 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18331 (completion--do-completion): Don't ignore completion-auto-help when in
18332 icomplete-mode.
18333
dd5a5ee0
SM
18334 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18335 internal encoding (e.g. tibetan zero is not whitespace).
18336 (global-whitespace-mode): Prefer save-current-buffer.
18337 (whitespace-trailing-regexp): Remove useless save-match-data.
18338 (whitespace-empty-at-bob-regexp): Minor simplification.
18339
b7d22a83
CY
183402011-05-03 Chong Yidong <cyd@stupidchicken.com>
18341
18342 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18343
5192af46
AM
183442011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18345
18346 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 18347 Use `concat' to create string for insertion.
5192af46 18348
5767d190
SM
183492011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18350
18351 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18352 Avoid open-line which runs post-self-insert-hook.
18353 (bibtex-fill-entry): Remove unused `end' var.
18354
bf242939
AM
183552011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18356
5767d190
SM
18357 * textmodes/ispell.el (ispell-add-per-file-word-list):
18358 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 18359
25666126
LL
183602011-05-03 Leo Liu <sdl.web@gmail.com>
18361
18362 * isearch.el (isearch-yank-pop): New command.
5767d190 18363 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
18364 (isearch-forward): Mention it.
18365
52d3c2d0
SM
183662011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18367
1bcace58
SM
18368 * simple.el (minibuffer-complete-shell-command): Remove.
18369 (minibuffer-local-shell-command-map): Use completion-at-point.
18370 (read-shell-command): Setup completion vars here instead.
18371 (read-expression-map): Bind TAB to symbol completion.
18372
52d3c2d0
SM
18373 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18374 error directly rather via storing it into `results'.
18375
35813471
LL
183762011-05-02 Leo Liu <sdl.web@gmail.com>
18377
18378 * vc/diff.el: Fix description.
18379
e793a940
LMI
183802011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18381
18382 * server.el (server-eval-at): New function.
18383
8de66e05
LMI
183842011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18385
18386 * net/network-stream.el (open-network-stream): Take a :nowait
18387 parameter and pass it on to `make-network-process'.
18388 (network-stream-open-plain): Ditto.
18389
dcb79f20
AS
183902011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18391
18392 * faces.el (face-spec-set-match-display): Don't match toolkit
18393 options on terminal frames.
18394
14a7fbd8
SM
183952011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18396
7eabc1be
SM
18397 * progmodes/pascal.el: Use lexical binding.
18398 (pascal-mode-map): Remove author preferences.
18399
14a7fbd8
SM
18400 * pcomplete.el (pcomplete-std-complete): Don't abuse
18401 completion-at-point.
18402
50f84510
JB
184032011-04-28 Juanma Barranquero <lekktu@gmail.com>
18404
6e087a44
JB
18405 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18406 removing code that has been dead since 1991 or so.
18407
50f84510
JB
18408 * startup.el (command-line): When warning about "_emacs", use a
18409 delayed warning to allow the user to filter it out.
18410
0ba690bd
DD
184112011-04-28 Deniz Dogan <deniz@dogan.se>
18412
18413 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18414 user has not joined.
18415
08abfaad
SM
184162011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18417
18418 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18419 aren't any completions at point.
18420
638f053a
JB
184212011-04-28 Juanma Barranquero <lekktu@gmail.com>
18422
18423 * subr.el (display-delayed-warnings): New function.
18424 (delayed-warnings-hook): New variable.
18425
8fff8daa
SM
184262011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18427
08abfaad
SM
18428 * minibuffer.el (completion-at-point, completion-help-at-point):
18429 Don't presume that a given completion-at-point-function will always
18430 use the same calling convention.
18431
8fff8daa
SM
18432 * pcomplete.el (pcomplete-completions-at-point):
18433 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18434 pcomplete-seen is non-nil.
18435 (pcomplete-comint-setup): Also recognize the new comint/shell
18436 completion functions.
18437 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18438 pcomplete-seen is non-nil.
18439
841a1577 184402011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 18441
841a1577 18442 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 18443 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 18444 the first character in the entry. This allows for code to add its
211ec907
UJ
18445 own uid to the entry.
18446 (icalendar--convert-float-to-ical): Add export of
18447 `diary-float'-entries save for those with the optional DAY
18448 argument.
18449
2a782793
DC
184502011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18451
18452 * subr.el (shell-quote-argument): Use alternate escaping strategy
18453 when we spot a variable reference in a string.
18454
0438ce91
DC
184552011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18456
18457 * cus-start.el (all): Define customization for debug-on-event.
18458
841a1577 184592011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
18460
18461 * subr.el (shell-quote-argument): Escape correctly under Windows.
18462
d090ed6c
SM
184632011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18464
18465 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18466
bfd31217
MA
184672011-04-25 Michael Albinus <michael.albinus@gmx.de>
18468
d090ed6c
SM
18469 * net/tramp.el (tramp-process-actions): Add POS argument.
18470 Delete region between POS and (pos).
bfd31217 18471
d090ed6c
SM
18472 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18473 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
18474 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18475
18476 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18477 position in `tramp-process-actions' call.
18478
18479 * net/trampver.el: Update release number.
18480
e92f3bd3
SM
184812011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18482
850256b5
SM
18483 * custom.el (defcustom): Obey lexical-binding.
18484
e92f3bd3
SM
18485 Fix octave-inf completion problems reported by Alexander Klimov.
18486 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18487 Inherit from octave-mode-syntax-table.
18488 (inferior-octave-mode): Set info-lookup-mode.
18489 (inferior-octave-completion-at-point): New function.
18490 (inferior-octave-complete): Use it and completion-in-region.
18491 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18492 comint-filename-completion.
18493 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18494 symbol elements which shouldn't be word elements.
18495 (octave-font-lock-keywords, octave-beginning-of-defun)
18496 (octave-function-header-regexp): Adjust regexps accordingly.
18497 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18498
cd22b309
JB
184992011-04-25 Juanma Barranquero <lekktu@gmail.com>
18500
18501 * net/gnutls.el (gnutls-errorp): Declare before first use.
18502
8b492194
TZ
185032011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18504
18505 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18506 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 18507 default trustfile exists before going to use it. Add missing
5a5fa834 18508 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
18509 Reported by Claudio Bley <claudio.bley@gmail.com>.
18510 (open-gnutls-stream): Add usage example.
18511
18512 * net/network-stream.el (network-stream-open-starttls): Give host
18513 parameter to `gnutls-negotiate'.
18514 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 18515 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 18516
841a1577 185172011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 18518
cd22b309
JB
18519 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18520 Use correct match group (bug#8438).
05842630 18521
3ba7869c
CY
185222011-04-24 Chong Yidong <cyd@stupidchicken.com>
18523
512e3ae1
CY
18524 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18525 (package-menu--generate): New arg specifying packages to show.
18526 (package-menu-refresh, package-menu-execute, list-packages):
18527 Callers changed.
18528 (package-show-package-list): New function, replacing deleted
18529 package--list-packages (renamed because it is non-internal).
18530
18531 * finder.el (finder-list-matches): Use package-show-package-list
18532 instead of deleted package--list-packages.
18533
e92f3bd3
SM
18534 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18535 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
18536 (vc-annotate-mode-map): Bind it to RET.
18537
7031be6d
UR
185382011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18539
18540 * progmodes/etags.el (next-file): Don't use set-buffer to change
18541 buffers (Bug#8478).
18542
4ef177aa
CY
185432011-04-24 Chong Yidong <cyd@stupidchicken.com>
18544
c8d173eb
CY
18545 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18546
4ef177aa
CY
18547 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18548 (apropos-accumulator): Doc fix.
18549 (apropos-function, apropos-macro, apropos-command)
18550 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18551 (apropos-plist): Add face property.
18552 (apropos-symbols-internal): Fix indentation.
18553 (apropos-print): Simplify help, and recognize apropos-multi-type.
18554 (apropos-print-doc): Use button-type-get to extract the button's
18555 face property. Fill docstring (Bug#8352).
18556
4ffd0d6b 185572011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
18558
18559 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18560
c6c32125 18561 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 18562 (mpuz-mode-map): Use mapc.
c6c32125
JB
18563 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18564 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18565 Fix typos in docstrings.
18566
58d468b4
JB
18567 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18568 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18569
6470c3c6
JB
18570 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18571
4ffd0d6b 185722011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
18573
18574 * minibuffer.el (completion--do-completion): Avoid the "Next char
18575 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18576
3ad8bad0
CY
18577 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18578 mouse-2 into unread-command-events, it is interpreted correctly.
18579
71d73c9c 18580 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 18581 (image-toggle-display): Doc fix.
71d73c9c 18582
841a1577 185832011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 18584
4ffd0d6b
GM
18585 * textmodes/page.el (what-page): Use line-number-at-pos to
18586 calculate line number (Bug#6825).
6e1dbaa9 18587
c2fb1b60
JB
185882011-04-22 Juanma Barranquero <lekktu@gmail.com>
18589
18590 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18591 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18592 Pass argument NO-DEFAULT to `find-tag-interactive'.
18593
e02f48d7
JB
185942011-04-22 Juanma Barranquero <lekktu@gmail.com>
18595
18596 Lexical-binding cleanup.
18597
18598 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18599 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18600 * progmodes/ada-prj.el (ada-prj-initialize-values)
18601 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18602 (ada-prj-show-value):
18603 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18604 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18605 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18606 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18607 * progmodes/bug-reference.el (bug-reference-push-button):
18608 * progmodes/fortran.el (fortran-line-length):
18609 * progmodes/glasses.el (glasses-change):
18610 * progmodes/octave-mod.el (octave-fill-paragraph):
18611 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18612 (python-pdbtrack-grub-for-buffer, python-sentinel):
18613 * progmodes/sql.el (sql-save-connection):
18614 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18615 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18616 Mark unused parameters.
18617
18618 * progmodes/compile.el (compilation--flush-directory-cache)
18619 (compilation--flush-parse, compile-internal): Mark unused parameters.
18620 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18621 (compilation-next-error-function): Remove unused variable `timestamp'.
18622
18623 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18624 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18625
18626 * progmodes/dcl-mode.el (dcl-end-of-command):
18627 Remove unused variable `start'.
18628 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18629 (dcl-option-value-basic, dcl-option-value-offset)
18630 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18631 Mark unused parameters.
18632 (dcl-save-local-variable): Remove unused variable `val'.
18633 (mode): Declare.
18634
18635 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18636 Mark unused parameters.
18637 (delphi-ignore-changes): Move before first use.
18638 (delphi-charset-token-at): Remove unused variable `start'.
18639 (delphi-else-start): Remove unused variable `if-count'.
18640 (delphi-comment-block-start, delphi-comment-block-end):
18641 Remove unused variable `kind'.
18642 (delphi-indent-line): Remove unused variable `new-point'.
18643
18644 * progmodes/ebrowse.el (ebrowse-files-list)
18645 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18646 Mark unused parameters. Don't quote `lambda'.
18647 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18648 Don't quote `lambda'.
18649 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18650 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18651 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18652 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18653 Use `ignore-errors'.
18654 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18655 (ebrowse-view/find-file-and-search-pattern)
18656 (ebrowse-view/find-member-declaration/definition):
18657 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18658 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18659 Rename parameter PREFIX-ARG to PREFIX.
18660 (ebrowse-tags-read-name): Remove unused variables `start' and
18661 `member-info'.
18662 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18663 to `tags-file'.
18664
18665 * progmodes/etags.el (local-find-tag-hook): Declare.
18666 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18667 Mark unused parameters.
18668
18669 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18670 (executable-interpret): Mark unused parameter.
18671
18672 * progmodes/flymake.el (flymake-process-sentinel)
18673 (flymake-after-change-function)
18674 (flymake-create-temp-with-folder-structure)
18675 (flymake-get-include-dirs-dot): Mark unused parameters.
18676 (flymake-safe-delete-directory): Remove unused variable `err'.
18677
18678 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18679 (speedbar-timer-fn, speedbar-line-text)
18680 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18681 (speedbar-center-buffer-smartly): Declare functions.
18682 (gdb-find-watch-expression): Remove unused variable `array'.
18683 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18684 (gdb-starting): Mark unused parameters.
18685 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18686 (gdb-table-string): Remove unused variable `res'.
18687 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18688 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18689 (gdb-display-buffer): Remove unused variable `cur-size'.
18690
18691 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18692 allow lexical-binding compilation.
18693 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18694 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18695 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18696 Mark unused parameters.
18697 (gud-gdb-marker-filter): Remove unused variable `match'.
18698 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18699 lambda expressions and funcall them, instead of using `fset'.
18700
18701 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18702 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18703
18704 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18705 variable `header-beg'; use `let'.
18706
18707 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18708 `restart', `last-sexp' and `at-do'.
18709
18710 * progmodes/js.el (js--debug): Mark unused parameter.
18711 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18712 (js--splice-into-items): Remove unused variable `item'.
18713 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18714
18715 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18716 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18717 (makefile-complete): Remove unused variable `try'.
18718 (makefile-fill-paragraph, makefile-match-function-end):
18719 Mark unused parameters.
18720
18721 * progmodes/octave-inf.el (inferior-octave-complete):
18722 Remove unused variable `proc'.
18723 (inferior-octave-output-digest): Mark unused parameter.
18724
18725 * progmodes/perl-mode.el (perl-calculate-indent):
18726 Remove unused variable `err'.
18727
18728 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18729 (prolog-indent-line): Mark unused parameters.
18730 (prolog-indent-line): Remove unused variable `beg'.
18731
18732 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18733 (reporter-dont-compact-list): Declare.
18734
18735 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18736 Remove unused variable `char'.
18737 (sh-debug): Mark unused parameter.
18738 (sh-get-indent-info): Remove unused variable `start'.
18739 (sh-calculate-indent): Remove unused variable `var'.
18740
18741 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18742 (simula-electric-keyword): Remove unused variable `null'.
18743 (simula-search-backward, simula-search-forward): Remove unused
18744 variables `begin' and `end'.
18745
18746 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18747 Remove unused variable `pos'.
18748 (vera-electric-tab, vera-comment-uncomment-region):
18749 Mark unused parameters.
18750 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18751
7ede3b65
CY
187522011-04-22 Chong Yidong <cyd@stupidchicken.com>
18753
18754 * emacs-lisp/package.el (package--builtins, package-alist)
18755 (package-load-descriptor, package-built-in-p, package-activate)
18756 (define-package, package-installed-p)
18757 (package-compute-transaction, package-buffer-info)
18758 (package--push): Doc fix. Distinguish more clearly between
18759 version strings and version lists.
18760
121656e9
JB
187612011-04-21 Juanma Barranquero <lekktu@gmail.com>
18762
18763 Lexical-binding cleanup.
18764
18765 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18766 (5x5-make-mutate-best):
18767 * play/fortune.el (fortune-in-buffer):
18768 * play/gomoku.el (gomoku-init-display):
18769 * play/solitaire.el (solitaire, solitaire-do-check):
18770 * play/tetris.el (tetris-default-update-speed-function):
18771 Mark unused parameters.
18772
18773 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18774 (bubbles--shift): Remove unused variable `char-org'.
18775 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18776 (bubbles--show-images): Remove unused variable `char'.
18777
18778 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18779 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18780 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18781 (decipher-analyze-buffer): Use ?\s.
18782 (decipher-make-checkpoint): Remove unused variable `mapping'.
18783
18784 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18785
18786 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18787 Remove unused variable `result'; use `let'.
18788
18789 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18790 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18791 (gametree-children-shown-p, gametree-compute-reduced-score):
18792 Use `ignore-errors'.
18793
18794 * play/handwrite.el (ps-lpr-switches): Declare.
18795 (handwrite): Remove unused variables `pmin' and `lastp'.
18796
18797 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18798
18799 * play/landmark.el (landmark-init-display)
18800 (landmark-update-naught-weights): Mark unused parameters.
18801 (landmark-y): Remove unused variable `noise'. Simplify.
18802 (landmark-human-plays): Remove unused variable `score'.
18803
18804 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18805 (mpuz-try-proposal): Remove unused variable `game'.
18806
18807 * play/zone.el (life-patterns): Declare.
18808
80f499c7
JB
188092011-04-20 Juanma Barranquero <lekktu@gmail.com>
18810
18811 * vc/vc.el (ediff-vc-internal): Declare function.
18812
024ff170
SM
188132011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18814
c0a193ea
SM
18815 * shell.el: Use lexical-binding and std completion UI.
18816 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18817 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18818 comint-preoutput-filter-functions rather than on
18819 comint-output-filter-functions.
18820 (shell-command-completion, shell--command-completion-data)
18821 (shell-filename-completion, shell-environment-variable-completion)
18822 (shell-c-a-p-replace-by-expanded-directory): New functions.
18823 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18824 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18825 (shell-dynamic-complete-environment-variable): Use them.
18826 (shell-dynamic-complete-as-environment-variable)
18827 (shell-dynamic-complete-as-command): Remove.
18828 (shell-match-partial-variable): Match past point.
18829 * comint.el: Clean up use of completion-at-point-functions.
18830 (comint-completion-at-point): New function.
18831 (comint-mode): Use it completion-at-point-functions.
18832 (comint-dynamic-complete): Make it obsolete.
18833 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18834 (comint-c-a-p-replace-by-expanded-history): New function.
18835 (comint-dynamic-complete-functions)
18836 (comint-replace-by-expanded-history): Use it.
18837 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18838 termination strings. Try harder to avoid second try-completion.
18839 (completion-in-region-mode-map): Disable bindings that don't work yet.
18840
2dbaa080
SM
18841 * comint.el: Use lexical-binding. Require CL.
18842 (comint-dynamic-complete-functions): Use comint-filename-completion.
18843 (comint-completion-addsuffix): Tweak custom type.
18844 (comint-filename-completion, comint--common-suffix)
18845 (comint--common-quoted-suffix, comint--table-subvert)
18846 (comint--complete-file-name-data): New functions.
18847 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18848 (comint-dynamic-list-filename-completions): Use them.
18849 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 18850
2dbaa080
SM
18851 * minibuffer.el (completion-in-region-mode):
18852 Keep completion-in-region-mode--predicate global.
18853 (completion-in-region--postch):
18854 Assume completion-in-region-mode--predicate is not null.
18855
c79a6f38
SM
18856 * progmodes/flymake.el (flymake-start-syntax-check-process):
18857 Obey `dir'. Simplify.
18858
024ff170
SM
18859 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18860 we're in VC after all.
18861
1c6c854e
CS
188622011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18863
18864 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 18865 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
18866 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18867
bed7f140
SM
188682011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18869
332e62ab
SM
18870 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18871 add sanity check.
18872
bed7f140
SM
18873 * obsolete/erc-hecomplete.el: Make obsolete.
18874 * obsolete/: Standardize obsolescence info in the header.
18875
f195c582
GM
188762011-04-20 Glenn Morris <rgm@gnu.org>
18877
18878 * calendar/solar.el (solar-horizontal-coordinates):
18879 Use the longitude argument rather than `calendar-longitude'.
18880 (solar-date-next-longitude): Remove unused locals.
18881
cb79b8c0
VJL
188822011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18883
18884 * whitespace.el: New version 13.2.1.
18885
188862011-04-20 felix <EmacsWiki> (tiny change)
18887
d8e4b68b 18888 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
18889 switching between major modes on a file.
18890
602ea69d
SM
188912011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18892
18893 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18894 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18895 multi-line comments as well.
18896
06b60517
JB
188972011-04-19 Juanma Barranquero <lekktu@gmail.com>
18898
18899 Lexical-binding cleanup.
18900
18901 * arc-mode.el (archive-mode-revert):
18902 * cmuscheme.el (scheme-interactively-start-process):
18903 * custom.el (custom-initialize-delay):
18904 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18905 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18906 * emacs-lock.el (emacs-lock-clear-sentinel):
18907 * ezimage.el (defezimage):
18908 * follow.el (follow-avoid-tail-recenter):
18909 * fringe.el (set-fringe-mode-1):
18910 * generic-x.el (bat-generic-mode-compile):
18911 * help-mode.el (help-info-variable, help-do-xref)
18912 (help-mode-revert-buffer):
18913 * help.el (view-emacs-todo):
18914 * iswitchb.el (iswitchb-completion-help):
18915 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18916 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18917 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18918 * locate.el (locate-update):
18919 * longlines.el (longlines-encode-region)
18920 (longlines-after-change-function):
18921 * outline.el (outline-isearch-open-invisible):
18922 * ps-def.el (declare-function, charset-dimension, char-width)
18923 (encode-char):
18924 * ps-mule.el (ps-mule-plot-string):
18925 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18926 (recentf-edit-list-select, recentf-edit-list-validate)
18927 (recentf-open-files-action):
18928 * rect.el (delete-whitespace-rectangle-line)
18929 (rectangle-number-line-callback):
18930 * register.el (window-configuration-to-register)
18931 (frame-configuration-to-register):
18932 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18933 * select.el (xselect-convert-to-string, xselect-convert-to-length)
18934 (xselect-convert-to-targets, xselect-convert-to-delete)
18935 (xselect-convert-to-filename, xselect-convert-to-charpos)
18936 (xselect-convert-to-lineno, xselect-convert-to-colno)
18937 (xselect-convert-to-os, xselect-convert-to-host)
18938 (xselect-convert-to-user, xselect-convert-to-class)
18939 (xselect-convert-to-name, xselect-convert-to-integer)
18940 (xselect-convert-to-atom, xselect-convert-to-identity):
18941 * subr.el (declare, ignore, process-kill-without-query)
18942 (text-clone-maintain):
18943 * terminal.el (te-get-char, te-tic-sentinel):
18944 * tool-bar.el (tool-bar-make-keymap):
18945 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18946 * type-break.el (type-break-mode, type-break-noninteractive-query):
18947 * view.el (View-back-to-mark):
18948 * wid-browse.el (widget-browse-action, widget-browse-widget)
18949 (widget-browse-widgets, widget-browse-sexp):
18950 * widget.el (define-widget-keywords):
18951 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18952 Mark unused parameters.
18953
18954 * align.el (align-adjust-col-for-rule): Mark unused parameter.
18955 (align-areas): Remove unused variable `look'.
18956 (align-region): Remove unused variables `real-end' and `pos-list'.
18957
18958 * apropos.el (apropos-score-doc): Remove unused variable `i'.
18959
18960 * bindings.el (mode-line-modified, mode-line-remote):
18961 Mark unused parameters.
18962 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18963
18964 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18965 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18966
18967 * comint.el (comint-history-isearch-pop-state)
18968 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18969 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18970 (comint-substitute-in-file-name): Doc fix.
18971
18972 * completion.el (cmpl-statistics-block): Mark unused parameter.
18973 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18974 (save-completions-to-file, load-completions-from-file):
18975 Remove unused local variable `e'.
18976
18977 * composite.el (compose-chars): Remove unused variable `len'.
18978 (lgstring-insert-glyph): Remove unused variable `g'.
18979 (compose-glyph-string): Remove unused variables `ascent',
18980 `descent', `lbearing' and `rbearing'.
18981 (compose-glyph-string-relative): Remove unused variables
18982 `lbearing', `rbearing' and `wadjust'.
18983 (compose-gstring-for-graphic): Remove unused variables `header',
18984 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18985 (compose-gstring-for-terminal): Remove unused variables `header'
18986 and `nchars'. Use `let', not `let*'.
18987
18988 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18989 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18990 (Custom-buffer-done, custom-buffer-create-internal)
18991 (custom-browse-visibility-action, custom-browse-group-tag-action)
18992 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18993 (widget-magic-mouse-down-action, custom-toggle-parent)
18994 (custom-add-parent-links, custom-toggle-hide-variable)
18995 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18996 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18997 (custom-face-menu-create, custom-variable-menu-create, get)
18998 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18999 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19000 (customize-apropos): Remove unused variable `tests'.
19001 (custom-group-value-create): Remove unused variable `hidden-p'.
19002 (sort-fold-case): Declare.
19003
19004 * cus-theme.el (custom-reset-standard-faces-list)
19005 (custom-reset-standard-variables-list): Declare.
19006 (customize-create-theme, custom-theme-revert, custom-theme-write)
19007 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19008 Mark unused parameters.
19009
19010 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19011
19012 * delim-col.el (delimit-columns-max): Move defvar before first use.
19013
19014 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 19015 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
19016
19017 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19018 (auto-insert): Declare.
19019 (desktop-restore-file-buffer): Rename desktop-* parameters;
19020 mark unused ones.
19021 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19022 (desktop-buffer): Rename desktop-* parameters.
19023
19024 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19025 (dframe-reposition-frame-xemacs, dframe-help-echo)
19026 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19027 Mark unused parameters.
19028
19029 * dired-aux.el (backup-extract-version-start, overwrite-query)
19030 (overwrite-backup-query, rename-regexp-query)
19031 (rename-non-directory-query): Declare.
19032 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19033 (dired-add-entry): Remove unused variable `orig-file-name'.
19034 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19035 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19036 `dired-copy-preserve-time' directly.
19037 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19038 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19039
19040 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19041 (dired-virtual-revert, dired-make-relative-symlink):
19042 Mark unused parameters.
19043 (manual-program): Declare.
19044 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19045 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19046 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19047
19048 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19049
19050 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19051
19052 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19053 Declare.
19054
19055 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19056
19057 * electric.el (Electric-command-loop): Rename parameter
19058 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19059
19060 * expand.el (expand-in-literal): Remove unused variable `here'.
19061
19062 * facemenu.el (facemenu-add-new-color):
19063 Remove unused variable `docstring'.
19064
19065 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19066 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19067 (face-attr-construct): Mark unused parameter. Doc fix.
19068 (read-color): Remove unused variable `hex-string'.
19069
19070 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19071 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19072 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19073 (display-buffer-other-frame): Remove unused variable `old-window'.
19074 (kill-buffer-hook): Declare.
19075 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19076 Mark unused parameters.
19077 (after-find-file): Pass 1 to `auto-save-mode', not t.
19078
19079 * files-x.el (auto-insert): Declare.
19080 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19081
19082 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 19083 variable `buf'. Mark unused parameter.
06b60517
JB
19084 (find-lisp-insert-directory): Mark unused parameter.
19085
19086 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19087 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19088 (format-common-tail): Remove, unused.
19089 (format-deannotate-region): Remove unused variable `loc'.
19090 (format-annotate-region): Remove unused variable `p'.
19091 (format-annotate-single-property-change): Remove unused variables
19092 `default' and `tail'.
19093
19094 * forms.el (read-file-filter): Declare.
19095 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19096
19097 * frame.el (frame-creation-function-alist): Mark unused parameter.
19098 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19099
19100 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19101 Remove unused parameters.
19102 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19103 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19104
19105 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19106 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19107 (hfy-prepare-tag-map): Mark unused parameters.
19108 (htmlfontify-buffer): Use `called-interactively-p'.
19109
19110 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19111 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19112 (ibuffer-do-occur): Mark unused parameters.
19113 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19114 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19115
19116 * ibuffer.el: Don't quote `lambda'.
19117 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19118 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19119 Mark unused parameters.
19120
19121 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19122 (ido-completing-read): Mark unused parameters.
19123 (ido-copy-current-word): Mark unused parameters;
19124 remove unused variable `name'.
19125 (ido-sort-merged-list): Remove unused parameter `dirs'.
19126
19127 * ielm.el (ielm-input-sender): Mark unused parameter.
19128 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19129 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19130 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19131 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19132 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19133
19134 * image-dired.el (image-dired-display-thumbs): Remove unused
19135 variables `curr-file' and `count'.
19136 (image-dired-remove-tag): Remove unused variable `start'.
19137 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19138 variable `curr-file'
19139 (image-dired-rotate-original): Remove unused variable `temp-file'.
19140 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19141 Remove unused variable `file'.
19142 (image-dired-gallery-generate): Remove unused variable `curr'.
19143 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19144
19145 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19146
19147 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19148
19149 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19150
19151 * isearch.el (minibuffer-history-symbol): Declare.
19152 (isearch-edit-string): Remove unused variable `err'.
19153 (isearch-message-prefix, isearch-message-suffix):
19154 Mark unused parameters.
19155
19156 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19157
19158 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19159
19160 * makesum.el (double-column): Remove unused variable `cnt'.
19161
19162 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19163 (ido-ignore-item-temp-list): Declare.
19164
19165 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19166 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19167 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19168 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19169 `mouse-col-delta'.
19170
19171 * mouse-sel.el (mouse-extend-internal):
19172 Remove unused variable `orig-window-frame'.
19173
19174 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19175 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19176 Move declarations before first use.
19177 (pcomplete-opt): Mark unused parameters; doc fix.
19178
19179 * proced.el (proced-revert): Mark unused parameter.
19180 (proced-send-signal): Remove unused variable `err'.
19181
19182 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19183 Rename parameter PREFIX-ARG to ARG.
19184 (ps-basic-plot-string, ps-basic-plot-whitespace):
19185 Mark unused parameters.
19186
19187 * replace.el (replace-count): Define.
19188 (occur-revert-function): Mark unused parameters.
19189 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19190 (isearch-case-fold-search, isearch-string): Declare.
19191 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19192 bind `case-fold-search'. Remove unused variables `beg' and `end',
19193 and simplify.
19194 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19195 COUNT and bind `replace-count'.
19196 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19197 to COUNT.
19198
19199 * savehist.el (print-readably, print-string-length): Declare.
19200
19201 * shadowfile.el (shadow-expand-cluster-in-file-name):
19202 Remove unused variable `cluster'.
19203 (shadow-copy-file): Remove unused variable `i'.
19204 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19205 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19206 (shadow-define-literal-group, shadow-define-regexp-group)
19207 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19208
19209 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19210 (shell): Use `called-interactively-p'.
19211 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19212
19213 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19214 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19215 (delete-backward-char): Remove unused variable `ocol'.
19216 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19217 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19218 (event-apply-hyper-modifier, event-apply-shift-modifier)
19219 (event-apply-control-modifier, event-apply-meta-modifier):
19220 Mark unused parameters.
19221 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19222 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19223
19224 * speedbar.el (speedbar-ignored-directory-expressions)
19225 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19226 (speedbar-find-file, speedbar-dir-follow)
19227 (speedbar-directory-buttons-follow, speedbar-tag-find)
19228 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19229 (speedbar-buffers-line-directory, speedbar-buffer-click):
19230 Mark unused parameters.
19231 (speedbar-tag-file): Remove unused variable `mode'.
19232 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19233
19234 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19235
19236 * talk.el (talk): Remove unused variable `display'.
19237
19238 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19239 (tar-write-region-annotate): Mark unused parameter.
19240
19241 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19242 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19243 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19244 warning by another.
19245
19246 * time-stamp.el (time-stamp-string-preprocess):
19247 Remove unused variable `require-padding'.
19248
19249 * tree-widget.el (widget-glyph-enable): Declare.
19250 (tree-widget-action): Mark unused parameter.
19251
19252 * w32-fns.el (x-get-selection): Mark unused parameter.
19253 (autoload-make-program, generated-autoload-file): Declare.
19254
19255 * wdired.el (wdired-revert): Mark unused parameters.
19256 (wdired-xcase-word): Remove unused variable `err'.
19257
19258 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19259 (whitespace-help-scroll): Remove unused variable `data-help'.
19260
19261 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19262 (widget-image-insert, widget-after-change, default)
19263 (widget-default-format-handler, widget-default-notify)
19264 (widget-default-prompt-value, widget-info-link-action)
19265 (widget-url-link-action, widget-function-link-action)
19266 (widget-variable-link-action, widget-file-link-action)
19267 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19268 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19269 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19270 (widget-insert-button-action, widget-delete-button-action, visibility)
19271 (widget-documentation-link-action, widget-documentation-string-action)
19272 (widget-const-prompt-value, widget-regexp-match, symbol)
19273 (widget-coding-system-prompt-value)
19274 (widget-key-sequence-value-to-external, sexp)
19275 (widget-sexp-value-to-internal, character, vector, cons)
19276 (widget-choice-prompt-value, widget-boolean-prompt-value)
19277 (widget-color--choose-action): Mark unused parameters.
19278 (widget-item-match-inline, widget-choice-match-inline)
19279 (widget-checklist-match, widget-checklist-match-inline)
19280 (widget-group-match): Rename parameter VALUES to VALS.
19281 (widget-field-value-set): Remove unused variable `size'.
19282 (widget-color-action): Remove unused variables `value' and `start'.
19283
19284 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 19285 variable `dir'. Doc fix.
06b60517
JB
19286 (windmove-find-other-window): Don't pass it.
19287
19288 * window.el (count-windows): Mark unused parameter.
19289 (bw-adjust-window): Remove unused variable `err'.
19290
19291 * woman.el (woman-file-name): Remove unused variable `default'.
19292 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19293 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19294 (global-font-lock-mode): Declare.
19295 (woman-decode-region): Mark unused parameter.
19296 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19297
19298 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19299 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19300 (x-dnd-handle-moz-url): Remove unused variable `title'.
19301 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19302
19303 * xml.el (xml-parse-tag, xml-parse-attlist):
19304 Remove unused variable `pos'.
19305
bc4f7f3d
GM
193062011-04-19 Glenn Morris <rgm@gnu.org>
19307
19308 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19309 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19310 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19311 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19312 * calendar/cal-html.el (cal-html-insert-minical):
19313 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19314 (calendar-mark-date-pattern):
19315 Prefix "unused" locals.
19316
19317 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19318 optional argument `style'.
19319
19320 * calendar/appt.el (appt-make-list):
19321 * calendar/cal-china.el (calendar-chinese-date-string):
19322 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19323 (diary-hebrew-yahrzeit):
19324 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19325 * calendar/calendar.el (calendar-generate-window):
19326 * calendar/time-date.el (time-to-days):
19327 Remove unused local variables.
19328
16a43933
CY
193292011-04-18 Chong Yidong <cyd@stupidchicken.com>
19330
19331 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19332 glyphless-char-display table.
19333 (tabulated-list-glyphless-char-display): New var.
19334
7eed1860
SS
193352011-04-18 Sam Steingold <sds@gnu.org>
19336
19337 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19338 to acknowledgments.
19339
4d2d1ccd
GM
193402011-04-17 Glenn Morris <rgm@gnu.org>
19341
19342 * calendar/diary-lib.el (diary-sexp-entry):
19343 * calendar/holidays.el (holiday-sexp):
19344 Set debug-on-error rather than the removed stack-trace-on-error.
19345
239da61d
GM
193462011-04-16 Glenn Morris <rgm@gnu.org>
19347
19348 * progmodes/f90.el: Use lexical-binding.
19349 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19350
8b05752a
SM
193512011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19352
daca8ba5
SM
19353 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19354 (mail-mode): Setup mailalias completion here instead.
19355 * mail/mailalias.el: Use lexical-binding.
19356 (pattern, mailalias-done): Declare dynamic.
19357 (mail-completion-at-point-function): New function, from mail-complete.
19358 (mail-complete): Use it.
19359 (mail-completion-expand): New function.
19360 (mail-get-names): Use it.
19361 (mail-directory, mail-directory-process, mail-directory-stream):
19362 Don't use `pattern' for lexically bound arg.
19363
6f542485
SM
19364 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19365
037e7c3f
SM
19366 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19367 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19368 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19369
8b05752a
SM
19370 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19371 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19372 (byte-interactive-p): Define them again, for use when inlining
19373 old code.
19374
49093f60
JB
193752011-04-15 Juanma Barranquero <lekktu@gmail.com>
19376
19377 * loadup.el: Use `string-to-number', not `string-to-int'.
19378
b5b8e7de
SM
193792011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19380
19381 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19382 gud-gdb-complete-command.
19383 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19384 (gud-gdb-completion-at-point): New function.
19385 (gud-gdb-completions): Remove.
19386
f42efeb5
MA
193872011-04-14 Michael Albinus <michael.albinus@gmx.de>
19388
49093f60
JB
19389 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19390 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19391 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19392 whether `executable-find' is bound.
f42efeb5
MA
19393
19394 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19395
e240cc21
SM
193962011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19397
19398 * minibuffer.el (completion-in-region-mode-predicate)
19399 (completion-in-region-mode--predicate): New vars.
19400 (completion-in-region, completion-in-region--postch)
19401 (completion-in-region-mode): Use them.
19402 (completion--capf-wrapper): Also return the hook function.
19403 (completion-at-point, completion-help-at-point):
19404 Adjust and provide a predicate.
c2bd2ab0
SM
19405
19406 Preserve arg names for advice of subr and lexical functions (bug#8457).
19407 * help-fns.el (help-function-arglist): Consolidate the subr and
19408 new-byte-code cases. Add argument `preserve-names' to extract names
19409 from the docstring when needed.
19410 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19411 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19412 (ad-arglist): Use help-function-arglist's new arg.
19413 (ad-definition-type): Use cond.
19414
c183f693
JB
194152011-04-13 Juanma Barranquero <lekktu@gmail.com>
19416
06641a47
JB
19417 * autorevert.el (auto-revert-handler):
19418 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19419 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19420 Don't quote lambda.
19421
c183f693
JB
19422 * image-mode.el (image-transform-set-scale):
19423 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19424
1e3b6001
G
194252011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19426
19427 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 19428 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
19429 Upgrades via gnutls-cli are too slow to be done opportunistically.
19430
2d6af8dd
JB
194312011-04-12 Juanma Barranquero <lekktu@gmail.com>
19432
19433 * dframe.el (dframe-current-frame): Remove spurious quote.
19434
c0749a51
GM
194352011-04-12 Glenn Morris <rgm@gnu.org>
19436
088d0d61
GM
19437 * calendar/cal-tex.el (cal-tex-end-document):
19438 Try to automatically use latin1 input if needed.
19439
c0749a51
GM
19440 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19441 Don't try to cons a mark onto an empty element.
19442
5c90fde0
LL
194432011-04-11 Leo Liu <sdl.web@gmail.com>
19444
19445 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19446 buffers.
19447 (ido-kill-buffer-at-head): Support killing virtual buffers.
19448
369e974d
CY
194492011-04-10 Chong Yidong <cyd@stupidchicken.com>
19450
19451 * minibuffer.el (completion-show-inline-help): New var.
19452 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
19453 (minibuffer-force-complete, minibuffer-complete-word):
19454 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
19455
19456 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19457 to avoid interference from inline help (Bug#5849).
19458
37f1c930
LL
194592011-04-10 Leo Liu <sdl.web@gmail.com>
19460
099c39a4
JB
19461 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19462 Fix typo.
37f1c930 19463
a32d4040
CY
194642011-04-09 Chong Yidong <cyd@stupidchicken.com>
19465
19466 * image-mode.el (image-toggle-display-image): Signal an error if
19467 not in Image mode.
19468 (image-transform-mode, image-transform-resize)
19469 (image-transform-set-rotation): Doc fix.
daca8ba5 19470 (image-transform-set-resize): Delete.
a32d4040
CY
19471 (image-transform-set-scale, image-transform-fit-to-height)
19472 (image-transform-fit-to-width): Handle image-toggle-display-image
19473 and image-transform-resize directly.
19474
099c39a4 194752011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
19476
19477 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
19478 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19479 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
19480 (doc-view-mode-map): Add bindings for the new functions.
19481
099c39a4 194822011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 19483
4d61f28d 19484 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
19485 Fix typo in docstring.
19486
3726838a
EZ
194872011-04-08 Eli Zaretskii <eliz@gnu.org>
19488
04f33f1e
EZ
19489 * files.el (file-size-human-readable): Produce one digit after
19490 decimal, like "ls -lh" does.
19491
19492 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19493 the file size representation.
19494
3726838a
EZ
19495 * simple.el (list-processes): If async subprocesses are not
19496 available, error out with a clear error message.
19497
cbb59342
CY
194982011-04-08 Chong Yidong <cyd@stupidchicken.com>
19499
19500 * help.el (help-form-show): New function, to be called from C.
19501 Put help-form output in a buffer named differently than *Help*.
19502
e3971c44
EZ
195032011-04-08 Eli Zaretskii <eliz@gnu.org>
19504
19505 * files.el (file-size-human-readable): New function.
19506
19507 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19508 computing the representation inline. Don't require `cl'.
19509
12544bbe
GM
195102011-04-08 Glenn Morris <rgm@gnu.org>
19511
a1de6c6a
GM
19512 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19513
3c4671f4
GM
19514 * net/browse-url.el (browse-url-firefox):
19515 Test system-type, not system-configuration.
19516
b605679c
GM
19517 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19518 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19519 Use log-edit-empty-buffer-p. (Bug#7598)
19520
56442f0c
GM
19521 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19522 (rlogin-mode-map): Initialize in the defvar.
19523 (rlogin): Use ignore-errors.
19524
12544bbe
GM
19525 * replace.el (occur-mode-map): Some fixes for menu items.
19526
eb237b0f
AH
195272011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19528
19529 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19530
7d668f2c
CY
195312011-04-06 Chong Yidong <cyd@stupidchicken.com>
19532
e67a13ab
CY
19533 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19534 issuing unused warnings.
19535
19536 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19537 macro directly.
19538
7d668f2c
CY
19539 * simple.el: Lisp reimplement of list-processes. Based on an
19540 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19541 (process-menu-mode): New major mode.
19542 (list-processes--refresh, list-processes):
19543 (process-menu-visit-buffer): New functions.
19544
19545 * files.el (save-buffers-kill-emacs): Don't assume any return
19546 value of list-processes, which is undocumented anyway.
19547
a83ec3c9
CY
195482011-04-06 Chong Yidong <cyd@stupidchicken.com>
19549
19550 * emacs-lisp/tabulated-list.el: New file.
19551
e91a96fe
CY
19552 * emacs-lisp/package.el: Use Tabulated List mode.
19553 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19554 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19555 table format using Tabulated List mode variables.
19556 (package--push): New macro, replacing package-list-maybe-add.
19557 (package-menu--generate): Use package--push. Renamed from
19558 package--generate-package-list.
19559 (package-menu-refresh, list-packages): Use it.
daca8ba5 19560 (package-menu--print-info): Rename from package-print-package.
e91a96fe 19561 Return insertion data instead of inserting it directly.
099c39a4
JB
19562 (package-menu-describe-package, package-menu-execute):
19563 Use tabulated-list-get-id.
e91a96fe
CY
19564 (package-menu-mark-delete, package-menu-mark-install)
19565 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
19566 (package-menu-mark-obsolete-for-deletion):
19567 Use tabulated-list-put-tag.
e91a96fe
CY
19568 (package--list-packages, package-menu-revert)
19569 (package-menu-get-package, package-menu-get-version)
19570 (package-menu-sort-by-column): Functions deleted.
19571 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19572 (package-menu--status-predicate, package-menu--version-predicate)
19573 (package-menu--name-predicate)
19574 (package-menu--description-predicate): Handle arguments in the
19575 Tabulated List format.
19576 (package-list-packages-no-fetch): Call list-packages.
19577
3e214b50
JB
195782011-04-06 Juanma Barranquero <lekktu@gmail.com>
19579
19580 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 19581 (after-find-file): Don't bind it.
3e214b50
JB
19582 (revert-buffer-in-progress-p): New variable.
19583 (revert-buffer): Bind it.
19584 Pass nil for `after-find-file-from-revert-buffer'.
19585
19586 * saveplace.el (save-place-find-file-hook): Use new variable
19587 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19588
3f0f1700
GM
195892011-04-06 Glenn Morris <rgm@gnu.org>
19590
c0274801
GM
19591 * Makefile.in (AUTOGEN_VCS): New variable.
19592 (autoloads): Use $AUTOGEN_VCS.
19593
3f0f1700
GM
19594 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19595 * calendar/calendar.el (calendar-mode-map):
19596 Check for toolkit scroll bars. (Bug#8305)
19597
41ea9e48
CY
195982011-04-05 Chong Yidong <cyd@stupidchicken.com>
19599
19600 * minibuffer.el (completion-in-region--postch)
19601 (completion-in-region-mode): Remove unnecessary messages.
19602
6194c800
JB
196032011-04-05 Juanma Barranquero <lekktu@gmail.com>
19604
33256f14
JB
19605 * font-lock.el (font-lock-refresh-defaults):
19606 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19607 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19608
6194c800
JB
19609 * info.el (Info-directory-list, Info-read-node-name-2)
19610 (Info-split-parameter-string): Doc fixes.
19611 (Info-virtual-nodes): Reflow docstring.
19612 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19613 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19614 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19615 Fix typos in docstrings.
19616 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19617 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19618 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19619 (Info-restore-desktop-buffer): Mark unused parameters.
19620 (Info-directory-find-file, Info-directory-find-node)
19621 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19622 (Info-virtual-index-find-node, Info-apropos-find-file)
19623 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 19624 Mark unused parameters; fix typos in docstrings.
6194c800
JB
19625 (Info-virtual-index): Remove unused local variable `nodename'.
19626
b87a8200 196272011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 19628
b87a8200
DD
19629 * net/rcirc.el: Update my e-mail address.
19630 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 19631
3b2ff876
CY
196322011-04-05 Chong Yidong <cyd@stupidchicken.com>
19633
19634 * startup.el (command-line): Save the cursor's theme-face
19635 directly, instead of using face-override-spec.
19636
19637 * custom.el (load-theme): Minor optimization in assigning faces.
19638
8d17e7ca
JB
196392011-04-04 Juanma Barranquero <lekktu@gmail.com>
19640
19641 * help-fns.el (describe-variable): Complete all variables having
19642 documentation, including keywords.
19643 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19644
2fbc1934
JB
196452011-04-04 Juanma Barranquero <lekktu@gmail.com>
19646
19647 Convert to lexical-binding.
19648
19649 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19650 (bs--get-marked-string, bs--get-modified-string)
19651 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19652 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19653 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19654
19655 * ehelp.el (electric-help-execute-extended)
19656 (electric-help-ctrl-x-prefix):
19657 * hexl.el (hexl-revert-buffer-function):
19658 * linum.el (linum-after-change, linum-after-scroll):
19659 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19660
19661 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19662
74f50695
DU
196632011-04-04 Daiki Ueno <ueno@unixuser.org>
19664
19665 * epa-dired.el:
19666 * epa-mail.el:
19667 * epa-hook.el:
19668 * epa-file.el:
19669 * epa.el:
19670 * epg.el: Use lexical binding.
19671
c11325f7
CY
196722011-04-03 Chong Yidong <cyd@stupidchicken.com>
19673
0d9e9a12
CY
19674 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19675
c11325f7 19676 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
19677 dictionary case for flyspell-mark-duplications-exceptions.
19678 Use regexp matching for languages.
c11325f7
CY
19679 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19680 default dictionary (Bug#7926).
19681
da91b5f2
CY
196822011-04-02 Chong Yidong <cyd@stupidchicken.com>
19683
099c39a4
JB
19684 * emacs-lisp/package.el (package--with-work-buffer):
19685 Recognize https URLs.
da91b5f2 19686
099c39a4
JB
19687 * net/network-stream.el: Move from gnus/proto-stream.el.
19688 Change prefix to network-stream throughout.
da91b5f2
CY
19689 (open-protocol-stream): Merge into open-network-stream, leaving
19690 open-protocol-stream as an alias. Handle nil BUFFER args.
19691
19692 * subr.el (open-network-stream): Move to net/network-stream.el.
19693
afa8e9f6
GM
196942011-04-02 Glenn Morris <rgm@gnu.org>
19695
1d2e369d
GM
19696 * find-dired.el (find-exec-terminator): New option.
19697 (find-ls-option): Test for -ls support.
19698 (find-ls-subdir-switches): Test for -b in find-ls-option.
19699 (find-dired, find-grep-dired): Doc fixes.
19700 (find-dired): Use find-exec-terminator.
19701
8abb7da8 19702 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
19703 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19704 (find-name-arg): Remove purecopy.
8abb7da8 19705
f3ca7378
GM
19706 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19707 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19708 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19709 accordingly. Don't add the null-device if not needed.
19710
afa8e9f6
GM
19711 * files.el (save-some-buffers): Doc fix.
19712
35eae264
EZ
197132011-04-02 Eli Zaretskii <eliz@gnu.org>
19714
19715 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19716
26b51db5
JB
197172011-04-01 Juanma Barranquero <lekktu@gmail.com>
19718
19719 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19720 Use `dolist' rather than `mapcar'.
19721
7200d79c
SM
197222011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19723
03408648 19724 Add lexical binding.
7200d79c 19725
03408648
SM
19726 * subr.el (apply-partially): Use new closures rather than CL.
19727 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19728 (dolist, dotimes): Use slightly different expansion for lexical code.
19729 (functionp): Move to C.
19730 (letrec): New macro.
19731 (with-wrapper-hook): Use it and apply-partially instead of CL.
19732 (eval-after-load): Preserve lexical-binding.
19733 (save-window-excursion, with-output-to-temp-buffer): Turn them
19734 into macros.
7200d79c 19735
03408648
SM
19736 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19737
19738 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19739 than the arglist.
19740 (help-add-fundoc-usage): Don't add `Not documented'.
19741 (help-function-arglist): Handle closures, subroutines, and new
19742 byte-code-functions.
19743 (help-make-usage): Remove leading underscores.
19744 (describe-function-1): Handle closures.
19745 (describe-variable): Use special-variable-p for completion.
19746
19747 * files.el (lexical-binding): Declare safe.
f488fb65 19748
03408648
SM
19749 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19750 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19751 (pcase): Add `let' pattern.
19752 Change memoization so it actually works.
19753 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19754 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19755 <let>: New case.
f488fb65 19756
03408648
SM
19757 * emacs-lisp/macroexp.el: Use lexical binding.
19758 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19759 Don't convert ' to #' without checking that it's indeed quoting
19760 a lambda.
19761
19762 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 19763 Use eval-sexp-add-defvars.
03408648
SM
19764 (eval-sexp-add-defvars): New fun.
19765
19766 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19767
19768 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19769 Don't autoload.
19770 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19771 than the internal `byte-compile-lambda'.
19772 (defmethod): Don't hide code under quotes.
19773 (eieio-defmethod): New `code' argument.
19774
19775 * emacs-lisp/eieio-comp.el: Remove.
19776
19777 * emacs-lisp/edebug.el (edebug-eval-defun)
19778 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19779 (edebug-toggle): Avoid `eval'.
19780
19781 * emacs-lisp/disass.el (disassemble-internal): Handle new
19782 `closure' objects.
19783 (disassemble-1): Handle new byte codes.
19784
19785 * emacs-lisp/cl.el (pushnew): Silence warning.
19786
19787 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19788 (cl-byte-compile-throw): Remove.
19789 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19790
19791 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19792 closures.
19793
19794 * emacs-lisp/cconv.el: New file.
19795
19796 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19797 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19798 (byte-compile-initial-macro-environment):
19799 Handle declare-function here.
19800 (byte-compile--lexical-environment): New var.
19801 (byte-stack-ref, byte-stack-set, byte-discardN)
19802 (byte-discardN-preserve-tos): New lap codes.
19803 (byte-interactive-p): Don't use any more.
19804 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19805 New macros.
19806 (byte-compile-lapcode): Use them and handle new lap codes.
19807 (byte-compile-obsolete): Remove.
19808 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19809 (byte-compile-arglist-warn): Check late def of inlinable funs.
19810 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19811 since they should have been expanded by now.
19812 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19813 (byte-compile-from-buffer): Remove unused second arg.
19814 (byte-compile-preprocess): New function.
19815 (byte-compile-toplevel-file-form): New function to distinguish
19816 file-form calls from outside from file-form calls from hunk-handlers.
19817 (byte-compile-file-form): Simplify.
19818 (byte-compile-file-form-defsubst): Remove.
19819 (byte-compile-file-form-defmumble): Simplify now that
19820 byte-compile-lambda always returns a byte-code-function.
19821 (byte-compile): Preprocess.
19822 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19823 Remove, not used any more.
19824 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19825 (byte-compile-make-args-desc): New funs.
19826 (byte-compile-lambda): Handle lexical functions. Always return
19827 a byte-code-function.
19828 (byte-compile-reserved-constants): New var, to make up room for
19829 closed-over variables.
19830 (byte-compile-constants-vector): Obey it.
19831 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19832 (byte-compile-macroexpand-declare-function): New function.
19833 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19834 byte-code-functions.
19835 (byte-compile-form): Check obsolescence here.
19836 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19837 (byte-compile-variable-ref): Remove.
19838 (byte-compile-dynamic-variable-op): New fun.
19839 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19840 (byte-compile-variable-set): New funs.
19841 (byte-compile-discard): Add 2 args.
19842 (byte-compile-stack-ref, byte-compile-stack-set)
19843 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19844 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19845 macroexpand-all instead.
19846 (byte-compile-quote-form): Remove.
19847 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19848 (byte-compile-bind, byte-compile-unbind): New funs.
19849 (byte-compile-let): Handle let* and lexical binding.
19850 (byte-compile-let*): Remove.
19851 (byte-compile-catch, byte-compile-unwind-protect)
19852 (byte-compile-track-mouse, byte-compile-condition-case):
19853 Handle a new :fun-body form, used for lexical scoping.
19854 (byte-compile-save-window-excursion)
19855 (byte-compile-with-output-to-temp-buffer): Remove.
19856 (byte-compile-defun): Simplify.
19857 (byte-compile-stack-adjustment): New fun.
19858 (byte-compile-out): Use it.
19859 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19860
19861 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19862 handler any more.
19863
19864 * emacs-lisp/byte-opt.el: Use lexical binding.
19865 (byte-inline-lapcode): Remove (to bytecomp).
19866 (byte-compile-inline-expand): Pay attention to inlining to/from
19867 lexically bound code.
19868 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19869 any more.
19870 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19871 any more and don't call compiler-macros.
19872 (byte-compile-splice-in-already-compiled-code): Remove.
19873 (byte-code): Don't inline any more.
19874 (disassemble-offset): Receive `bytes' as argument rather than via
19875 dynamic scoping.
19876 (byte-compile-tag-number): Declare before first use.
19877 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19878 `return' even if make-spliceable.
19879 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19880 obsolete interactive-p.
19881 (byte-optimize-lapcode): Optimize new lap-codes.
19882 Don't trip up on new form of `byte-constant' lap code.
19883
19884 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19885
19886 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19887
19888 * custom.el (custom-initialize-default, custom-declare-variable):
19889 Use `defvar'.
19890
19891 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19892 New variables.
19893 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19894 (COMPILE_FIRST): Add macroexp and cconv.
19895 * makefile.w32-in: Mirror changes in Makefile.in.
19896
19897 * vc/cvs-status.el:
19898 * vc/diff-mode.el:
19899 * vc/log-edit.el:
19900 * vc/log-view.el:
19901 * vc/smerge-mode.el:
19902 * textmodes/bibtex-style.el:
090bd7cb 19903 * textmodes/css-mode.el:
03408648
SM
19904 * startup.el:
19905 * uniquify.el:
da91b5f2
CY
19906 * minibuffer.el:
19907 * newcomment.el:
19908 * reveal.el:
19909 * server.el:
19910 * mpc.el:
19911 * emacs-lisp/smie.el:
19912 * doc-view.el:
19913 * dired.el:
03408648
SM
19914 * abbrev.el: Use lexical binding.
19915
0f0c1f27
EZ
199162011-04-01 Eli Zaretskii <eliz@gnu.org>
19917
19918 * info.el (info-display-manual): New function.
19919
c82b2579
SM
199202011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
19921
19922 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19923
221ddf68
TH
199242011-03-31 Tassilo Horn <tassilo@member.fsf.org>
19925
19926 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 19927 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 19928
cba6e77e
GM
199292011-03-31 Glenn Morris <rgm@gnu.org>
19930
e040639f
GM
19931 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19932
cba6e77e
GM
19933 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19934
6d0f1c9e
CS
199352011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
19936
19937 * progmodes/python.el (python-default-interpreter)
19938 (python-python-command-args, python-jython-command-args)
19939 (python-which-shell, python-which-args, python-which-bufname)
19940 (python-file-queue, python-comint-output-filter-function)
19941 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19942 variables and functions.
19943
3e2d70fd
SM
199442011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
19945
19946 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19947 (completion-in-region-mode): New minor mode.
19948 (completion-in-region): Use it.
19949 (completion-in-region--data, completion-in-region-mode-map): New vars.
19950 (completion-in-region--postch): New function.
19951 (completion--capf-misbehave-funs, completion--capf-safe-funs):
19952 New vars.
19953 (completion--capf-wrapper): New function.
19954 (completion-at-point): Use it to track well-behavedness of
19955 hook functions.
19956 (completion-help-at-point): New command.
19957
f3e4086c
JM
199582011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
19959
19960 * vc/add-log.el (add-change-log-entry): Don't use whitespace
19961 syntax class to search for whitespace on a single line
19962 (Message-ID: <4D938140.4030905@redhat.com>).
19963
eb7ffc14
LL
199642011-03-30 Leo Liu <sdl.web@gmail.com>
19965
19966 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19967 New commands.
19968 (edit-abbrevs-map): Bind them here.
19969 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
19970
d806ab68
KM
199712011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
19972
19973 * allout.el (allout-hide-by-annotation, allout-flag-region):
19974 Reduce possibility of overlay leakage by making them volatile.
19975
19976 * allout-widgets.el (allout-widgets-tally): Define as nil so the
19977 hash is not shared between buffers. Mode initialization is
19978 responsible for giving it a useful starting value.
19979 (allout-item-span): Reduce possibility of overlay leakage by
19980 making them volatile.
19981 (allout-widgets-count-buttons-in-region): Add diagnostic function
19982 for tracking down button overlay leaks.
19983
ea622834
LL
199842011-03-29 Leo Liu <sdl.web@gmail.com>
19985
19986 * ido.el (ido-read-internal): Use the default history var
19987 minibuffer-history if no HISTORY is specified.
19988
b62f8267
G
199892011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19990
03408648
SM
19991 * net/imap.el (imap-shell-open, imap-process-connection-type):
19992 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
19993 Kerberos, SSL, other subprocesses.
19994
947b6566
LL
199952011-03-28 Leo Liu <sdl.web@gmail.com>
19996
19997 * abbrev.el (abbrev-table-empty-p): New function.
19998 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19999 nonempty ones. (Bug#5937)
20000
5ffb62aa
JD
200012011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20002
20003 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20004
7a097943
LL
200052011-03-27 Leo Liu <sdl.web@gmail.com>
20006
20007 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20008 for foreground and background colors.
20009 (ansi-color-make-color-map): Adapt.
20010
c5b40130
LL
200112011-03-25 Leo Liu <sdl.web@gmail.com>
20012
1f48f7d2
LL
20013 * midnight.el (midnight-time-float): Remove. Note it calculates
20014 the microsecond component incorrectly and seconds-to-time does the
20015 same job.
625897ec 20016 Remove redundant (require 'timer).
1f48f7d2 20017
c5b40130
LL
20018 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20019 (ido-completions): Remove unused arguments. (Bug#8329)
20020
d86d2721
SM
200212011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20022
20023 * minibuffer.el (completion--flush-all-sorted-completions):
20024 Remove itself from hook.
20025 (completion-at-point): Let the functions perform the completion
20026 immediately and return nil or t.
20027 * comint.el (comint-dynamic-complete-functions): Now identical to
20028 completion-at-point-functions.
20029 (comint-dynamic-list-input-ring): Remove unused var `index'.
20030 (comint--match-partial-filename, comint--unquote&expand-filename):
20031 New funs, split from comint-match-partial-filename.
20032 (comint-dynamic-complete): Use completion-at-point.
20033 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20034
e8974c48
DA
200352011-03-24 Drew Adams <drew.adams@oracle.com>
20036
20037 * thingatpt.el: Support `defun'.
20038
def71b5e
LL
200392011-03-23 Leo Liu <sdl.web@gmail.com>
20040
cb5af48e
LL
20041 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20042
def71b5e
LL
20043 * help-mode.el (help-mode-finish): Tweak regexp.
20044
927c53e7
GM
200452011-03-23 Glenn Morris <rgm@gnu.org>
20046
18d05bed
GM
20047 * eshell/esh-opt.el (eshell-eval-using-options):
20048 Do not bind unused local variable `eshell-option-stub'.
20049
927c53e7
GM
20050 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20051
9d0da923
JB
200522011-03-22 Juanma Barranquero <lekktu@gmail.com>
20053
20054 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20055 keymap variable in `with-no-warnings' to avoid a warning when the
20056 keymap has been already `defconst'ed.
20057
4b978a67
LL
200582011-03-22 Leo Liu <sdl.web@gmail.com>
20059
20060 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20061 encode all chars in abbrevs; otherwise use emacs-mule or
20062 utf-8-emacs. (Bug#8308)
20063
5fd62452
JB
200642011-03-22 Juanma Barranquero <lekktu@gmail.com>
20065
0b1596c6
JB
20066 * simple.el (backward-delete-char-untabify):
20067 Avoid warning about using `delete-backward-char'.
20068
5fd62452
JB
20069 * image.el (image-type-file-name-regexps): Make it variable.
20070 `imagemagick-register-types' modifies it, and the user may want
20071 to add new extensions for known image types.
20072 (imagemagick-register-types): Throw error if not using ImageMagick.
20073
0b4e93f1
LL
200742011-03-22 Leo Liu <sdl.web@gmail.com>
20075
20076 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20077 located before rcirc-prompt-end-marker.
20078 (rcirc-complete): Error if point is not after rcirc prompt.
20079 Handle the case when table is nil.
9882e214 20080 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 20081
fccee4ab
CY
200822011-03-22 Chong Yidong <cyd@stupidchicken.com>
20083
20084 * custom.el (custom--inhibit-theme-enable): Make it affect only
20085 custom-theme-set-variables and custom-theme-set-faces.
20086 (provide-theme): Ignore custom--inhibit-theme-enable.
20087 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20088 (custom-enabling-themes): Delete variable.
d86d2721
SM
20089 (enable-theme): Accept only loaded themes as arguments.
20090 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
20091 (custom-enabled-themes): Forbid themes from setting this.
20092 Eliminate use of custom-enabling-themes.
20093 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 20094
af896da6
LL
200952011-03-21 Leo Liu <sdl.web@gmail.com>
20096
20097 * ido.el (ido-read-internal): Add ido-selected to history instead
20098 of user input.
20099
78f64af0
SM
201002011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20101
20102 * subr.el (deferred-action-list, deferred-action-function):
20103 Mark obsolete.
20104
b16ac1ec
LL
201052011-03-21 Leo Liu <sdl.web@gmail.com>
20106
810f7698
LL
20107 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20108 change on 2011-02-13 (bug#8309).
20109
b16ac1ec
LL
20110 * minibuffer.el (read-file-name-function): Change default value.
20111 (read-file-name--defaults): Rename from read-file-name-defaults.
20112 (read-file-name-default): Rename from read-file-name.
20113 (read-file-name): Call read-file-name-function.
20114
4e05e67e
GM
201152011-03-21 Glenn Morris <rgm@gnu.org>
20116
20117 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20118 Doc fixes.
20119
4359915b
CY
201202011-03-21 Chong Yidong <cyd@stupidchicken.com>
20121
20122 * cus-theme.el: Add missing provide statement.
20123 (customize-create-theme): Extract theme value correctly.
20124 (custom-theme-visit-theme): Autoload.
20125 (customize-create-theme): Prompt before inserting default faces.
20126
1fe275ee
JB
201272011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20128
20129 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20130 units and musical notes.
20131
cd394be1 201322011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
20133
20134 * ido.el (ido-read-internal): Use completing-read-default.
20135 (ido-completing-read): Fix compatibility with completing-read.
20136
7d476bde
CO
201372011-03-20 Christian Ohler <ohler@gnu.org>
20138
20139 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20140 (ert-delete-all-tests): Use `called-interactively-p' rather than
20141 `interactive-p'.
20142 (ert--make-xrefs-region): Respect END.
20143
fe0fb33e
CY
201442011-03-19 Chong Yidong <cyd@stupidchicken.com>
20145
ff854b0b
CY
20146 * dired-aux.el (dired-create-directory): Signal an error if the
20147 directory already exists (Bug#8246).
20148
fe0fb33e
CY
20149 * facemenu.el (list-colors-display): Call list-faces-display
20150 inside with-help-window.
20151 (list-colors-print): Use display property to align the final
20152 column, instead of checking window-width.
20153
576bce32
EZ
201542011-03-19 Eli Zaretskii <eliz@gnu.org>
20155
4d61f28d 20156 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
20157 windows-nt systems.
20158 (emerge-protect-metachars): Quote correctly for ms-dos and
20159 windows-nt systems.
20160
89c41d68 201612011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
20162
20163 * info.el (info-initialize): Replace all uses of `:' with
20164 path-separator for compatibility with non-Unix systems.
20165 Cache quoting of path-separator. (Bug#8258)
20166
b14e3e21 201672011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
20168
20169 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20170 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20171 (mouse-avoidance-mode): Fix typos in docstrings.
20172
4525ce3e
CY
201732011-03-19 Chong Yidong <cyd@stupidchicken.com>
20174
20175 * startup.el (package-subdirectory-regexp): Move from package.el.
20176 Omit \\` and \\', and let callers add them.
20177
20178 * emacs-lisp/package.el (package-strip-version)
20179 (package-load-all-descriptors): Add \\` and \\' to
20180 package-subdirectory-regexp before using it.
20181 (package-untar-buffer): New arg DIR; ensure that file untars only
20182 into this expected directory. Remove superfluous delete-region.
20183 (package-unpack): Caller changed.
20184 (package-tar-file-info): Use package-subdirectory-regexp.
20185
a904a09a 201862011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 20187
a904a09a
SM
20188 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20189 diff-mode-shared-map (bug#8284).
20190 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
20191
201922011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20193
20194 * calendar/time-date.el (format-seconds): Use assoc instead of
20195 assoc-string, since assoc-string doesn't exist in XEmacs.
20196
171fc304
JB
201972011-03-17 Juanma Barranquero <lekktu@gmail.com>
20198
20199 * custom.el (custom-known-themes): Reflow docstring.
20200 (custom-theme-load-path): Fix typo in docstring.
20201 (load-theme): Fix typo in error message.
20202 (custom-available-themes, custom-variable-theme-value):
20203 Use `let', not `let*'.
20204
d71990a1
JB
202052011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20206
20207 * calc/README: Mention inclusion of musical notes.
20208
20209 * calc/calc-units.el (calc-lu-quant): Rename from
20210 `calc-logunits-quantity'.
20211 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20212 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20213 (calc-db): Rename from `calc-dblevel'.
20214 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20215 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20216 (calc-np): Rename from `calc-nplevel'.
20217 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20218 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20219 (calc-lu-plus): Rename from `calc-logunits-add'.
20220 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20221 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20222 (calc-lu-minus): Rename from `calc-logunits-sub'.
20223 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20224 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20225 (calc-lu-times): Rename from `calc-logunits-mul'.
20226 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20227 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20228 (calc-lu-divide): Rename from `calc-logunits-div'.
20229 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20230 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20231
20232 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20233 functions being autoloaded.
20234
20235 * calc/calc.el (calc-lu-power-reference): Rename from
20236 `calc-logunits-power-reference'.
20237 (calc-lu-field-reference): Rename from
20238 `calc-logunits-field-reference'.
20239
7a71b18d
GM
20240 * calc/calc-help.el (calc-l-prefix-help):
20241 Mention musical note functions.
d71990a1 20242
40c2934b
SM
202432011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20244
20245 * minibuffer.el (completion-all-sorted-completions):
20246 Use :completion-cycle-penalty text property if present.
20247
b0911414
KM
202482011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20249
20250 * allout.el (allout-yank-processing): Adjust for new rebulleting
20251 regime so bullet being yanked is used without prompting the user
20252 for a choice.
20253
8a05b668
JB
202542011-03-16 Juanma Barranquero <lekktu@gmail.com>
20255
20256 * startup.el (command-line): Warn the user that _emacs is deprecated.
20257
5ba5fb81
JB
202582011-03-16 Juanma Barranquero <lekktu@gmail.com>
20259
20260 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20261 (delphi-verbose, delphi-comment-face, delphi-string-face)
20262 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20263 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20264 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20265 (delphi-new-comment-line, delphi-font-lock-defaults)
20266 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20267 Fix typos in docstrings.
20268
2dab465b
KM
202692011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20270
5ba5fb81 20271 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
20272 Invert the roles of character and string values for INSTEAD, so a
20273 string is used for the more common case of a defaulting prompt.
20274
0adf5618
SM
202752011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20276
20277 * progmodes/ruby-mode.el (ruby-backward-sexp):
20278 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20279 * play/gamegrid.el (gamegrid-make-face):
20280 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20281 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20282 * notifications.el (notifications-notify):
20283 * net/xesam.el (xesam-search-engines):
20284 * net/quickurl.el (quickurl-list-insert):
20285 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20286
d72700e5
CY
202872011-03-15 Chong Yidong <cyd@stupidchicken.com>
20288
20289 * startup.el (command-line): Update package subdirectory regexp.
20290
49c5410a
SM
202912011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20292
c6eee9aa
SM
20293 * allout.el (allout-abbreviate-flattened-numbering)
20294 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20295
49c5410a
SM
20296 * subr.el (read-char-choice): Only show the cursor after the prompt,
20297 not after the answer.
20298
047b2bb9
KR
202992011-03-15 Kevin Ryde <user42@zip.com.au>
20300
20301 * help-fns.el (variable-at-point): Skip leading quotes, if any
20302 (bug#8253).
20303
0a57d256
SM
203042011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20305
20306 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20307 warning message.
20308
77c992bc
MA
203092011-03-14 Michael Albinus <michael.albinus@gmx.de>
20310
20311 * shell.el (shell): When called interactively, offer to change the
20312 shell file name on remote hosts.
20313
eebc475d
TZ
203142011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20315
20316 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20317 integration for LDAP parameters. The host, base, user or binddn,
20318 and secret tokens can be specified in a netrc file, for instance.
20319 This is optional because an `auth-source' parameter must be
20320 specified in the search attributes.
20321
9d05d1ba
JB
203222011-03-13 Juanma Barranquero <lekktu@gmail.com>
20323
20324 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20325
09d9db2c
GM
203262011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20327
20328 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20329 into declaration. Remove redundant and harmful binding.
20330
203312011-03-12 Eli Zaretskii <eliz@gnu.org>
20332
20333 * files.el (file-ownership-preserved-p): Pass `integer' as an
20334 explicit 2nd argument to `file-attributes'. If the file's owner
20335 is the Administrators group on Windows, and the current user is
20336 Administrator, consider that a match.
20337
20338 * server.el (server-ensure-safe-dir): Consider server directory
20339 safe on MS-Windows if its owner is the Administrators group while
20340 the current Emacs user is Administrator. Use `=' to compare
20341 numerical UIDs, since they could be integers or floats.
20342
219bd536
JB
203432011-03-12 Juanma Barranquero <lekktu@gmail.com>
20344
20345 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20346
f3afd36b
MA
203472011-03-12 Michael Albinus <michael.albinus@gmx.de>
20348
20349 Sync with Tramp 2.2.1.
20350
20351 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20352
20353 * net/trampver.el: Update release number.
20354
3aaaa6f1
SM
203552011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20356
94642599
SM
20357 * progmodes/compile.el (compilation--previous-directory): Fix up
20358 various nil/dead-marker mismatches (bug#8014).
20359 (compilation-directory-properties, compilation-error-properties):
20360 Don't call it at a position past the one we're about to change.
20361
3aaaa6f1
SM
20362 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20363 Disable obsolescence warnings in the file that declares it.
20364
14239447
KM
203652011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20366
099c39a4
JB
20367 * allout-widgets.el (allout-widgets-tally):
20368 Initialize allout-widgets-tally as a hash table rather than nil to
20369 prevent mode-line redisplay warnings. Also, clarify the module
20370 description and fix a comment typo.
14239447 20371
135e287c
JB
203722011-03-11 Juanma Barranquero <lekktu@gmail.com>
20373
20374 * help-fns.el (describe-variable): Don't complete keywords.
20375 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20376
ffbf300e
CY
203772011-03-10 Chong Yidong <cyd@stupidchicken.com>
20378
ba08b241
CY
20379 * emacs-lisp/package.el (package-version-join): Impose a standard
20380 string representation for pre/alpha/beta version lists.
20381 (package-unpack-single): Standardize the directory name by passing
20382 it through package-version-join.
20383 (package-strip-rcs-id): Accept any version string that does not
20384 signal an error in version-to-list.
ffbf300e 20385
f346fd6b
MA
203862011-03-10 Michael Albinus <michael.albinus@gmx.de>
20387
20388 * simple.el (delete-trailing-whitespace): Return nil for the
20389 benefit of `write-file-functions'.
20390
ccb55d27
GM
203912011-03-10 Glenn Morris <rgm@gnu.org>
20392
5ceaac0c
GM
20393 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20394
02da65ff
GM
20395 * vc/vc-git.el (vc-git-program): New option.
20396 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20397 (vc-git--call): Use it.
20398
b2f603cc
GM
20399 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20400
5772caab
GM
20401 * cus-edit.el (Custom-newline): If no button at point, look
20402 for a subgroup button at start-of-line. (Bug#2298)
20403
ccb55d27
GM
20404 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20405
ec6ecaed
JD
204062011-03-10 Julien Danjou <julien@danjou.info>
20407
20408 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20409 `cursor-type' is nil.
20410
9d5aa01d
JB
204112011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20412
20413 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20414
b6a5875b
KM
204152011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20416
7a71b18d 20417 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
20418 preserves the existing header prefix, rebulleting it if necessary,
20419 rather than replacing it. This is necessary for proper operation
20420 of cooperative addons like allout-widgets.
1154d12e
JB
20421 (allout-make-topic-prefix, allout-rebullet-heading):
20422 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20423 value as alternate bullet to be used, instead of prompting the user
20424 for a bullet character.
b6a5875b 20425
ee545c35
MA
204262011-03-09 Michael Albinus <michael.albinus@gmx.de>
20427
d86d2721
SM
20428 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20429 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
20430 `tramp-default-port'.
20431
c47971d7
DD
204322011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20433
20434 * net/rcirc.el (rcirc-handler-001): Remove useless
20435 with-rcirc-process-buffer.
20436 (rcirc-check-auth-status): Swap arguments to string-match.
20437
13522cb4
GM
204382011-03-09 Glenn Morris <rgm@gnu.org>
20439
0be6f4f1
GM
20440 * shell.el (shell-mode):
20441 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20442
13522cb4
GM
20443 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20444 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20445
515de2e3
CY
204462011-03-08 Chong Yidong <cyd@stupidchicken.com>
20447
20448 * emacs-lisp/package.el (package-refresh-contents)
20449 (package-menu-execute): Use condition-case-no-debug.
20450
b511b994
MA
204512011-03-08 Michael Albinus <michael.albinus@gmx.de>
20452
20453 * simple.el (shell-command-to-string): Use `process-file'.
20454
20455 * emacs-lisp/package.el (package-tar-file-info): Handle also
20456 remote files.
20457
d86d2721
SM
20458 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20459 Use `equal' for upload base check.
b511b994 20460
25bbfb31
AM
204612011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20462
20463 * textmodes/texinfo.el (texinfo-environments):
20464 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20465
be996521
GM
204662011-03-08 Glenn Morris <rgm@gnu.org>
20467
e9c8529f
GM
20468 * cus-start.el (cursor-in-non-selected-windows):
20469 Fix :set quoting oddness. (Bug#8192)
20470
be996521
GM
20471 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20472 in some setf expressions. (Bug#2159)
20473
2bb5649e
CY
204742011-03-08 Chong Yidong <cyd@stupidchicken.com>
20475
20476 * custom.el (custom-available-themes): Return themes in
20477 alphabetical order.
20478
33383987 20479See ChangeLog.15 for earlier changes.
e3d51b27
MR
20480
20481;; Local Variables:
20482;; coding: utf-8
e3d51b27
MR
20483;; End:
20484
acaf905b 20485 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
20486
20487 This file is part of GNU Emacs.
20488
20489 GNU Emacs is free software: you can redistribute it and/or modify
20490 it under the terms of the GNU General Public License as published by
20491 the Free Software Foundation, either version 3 of the License, or
20492 (at your option) any later version.
20493
20494 GNU Emacs is distributed in the hope that it will be useful,
20495 but WITHOUT ANY WARRANTY; without even the implied warranty of
20496 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20497 GNU General Public License for more details.
20498
20499 You should have received a copy of the GNU General Public License
20500 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.