Fix last ChangeLog entry.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
3503c798 12012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a
AJ
2
3 * progmodes/flymake.el (flymake-create-temp-inplace): Use
4 file-truename.
5
2068905b
EZ
62012-10-20 Eli Zaretskii <eliz@gnu.org>
7
8 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
9
4c9e9550
JB
102012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
11
12 * calc/calc-units.el (math-extract-units): Properly extract powers
13 of units.
14
1a6e7e38
DC
152012-10-20 Daniel Colascione <dancol@dancol.org>
16
17 * frame.el (make-frame): Set x-display-name as we used to in order
18 to unbreak creating an X11 frame from an Emacs daemon started
19 without a display.
20
8e808318
SM
212012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
22
23 * minibuffer.el (minibuffer-force-complete): Make the next completion use
24 the same completion-field (bug@12221).
25
fb0104da
MR
262012-10-19 Martin Rudalics <rudalics@gmx.at>
27
28 * emacs-lisp/debug.el (debug): Record height of debugger window
29 also when debugger will be back (Bug#8789).
30
8c27235e
CY
312012-10-18 Chong Yidong <cyd@gnu.org>
32
33 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
34 Convert to defcustom.
35 (gdb-get-source-file): Don't bind pop-up-windows.
36
37 * progmodes/gud.el (gud-display-line): Don't specially re-use
38 other frames for the gdb-mi case (Bug#12648).
39
90eacf99
SM
402012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
41
aaf0c300
SM
42 * emacs-lisp/advice.el: Clean up commentary a bit.
43 (ad-do-advised-functions, ad-with-originals): Use `declare'.
44 (byte-code-function-p): Never redefine.
45
90eacf99
SM
46 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
47
281c9d2b
GM
482012-10-18 Glenn Morris <rgm@gnu.org>
49
40714e3d
GM
50 * dired.el (dired-sort-toggle): Some ls implementations only allow
51 a single option string. (Bug#12666)
52
281c9d2b
GM
53 * minibuffer.el (completion-cycle-threshold): Doc fix.
54
b278604e
KH
552012-10-17 Kenichi Handa <handa@gnu.org>
56
90eacf99
SM
57 * international/mule.el (set-keyboard-coding-system):
58 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
59 Supply TERMINAL arg to set-input-meta-mode.
60
7ebc5f5a
MH
612012-10-17 Michael Heerdegen <michael_heerdegen@web.de> (tiny change)
62
63 * wdired.el (wdired-old-marks): New variable.
64 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
65 (wdired-do-renames): Move point with renamed file and don't lose
66 mark status (Bug#11795).
67
e5a94ec4
JL
682012-10-16 Juri Linkov <juri@jurta.org>
69
70 * replace.el (query-replace-help): Mention multi-buffer replacement
71 keys in the Help message. (Bug#12655)
72
d18a0d24
CY
732012-10-15 Chong Yidong <cyd@gnu.org>
74
75 * emacs-lisp/byte-run.el (defsubst): Doc fix.
76
8111f5e6
EZ
772012-10-14 Eli Zaretskii <eliz@gnu.org>
78
7b9abf24
EZ
79 * window.el (display-buffer): Doc fix.
80
8111f5e6
EZ
81 * progmodes/compile.el (compilation-error-regexp-alist-alist):
82 Adjust the msft regexp to the output of Studio 2010, and move msft
83 before edg-1. See the discussion on emacs-devel,
84 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
85 for the details.
86
5046ef67
SM
872012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
88
9760c73c
SM
89 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
90 (oset): Move uses of object-class-fast macro after its definition.
91
5046ef67
SM
92 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
93
0d11ff1c
CY
942012-10-13 Chong Yidong <cyd@gnu.org>
95
96 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
97 enabled, re-enable it (Bug#11963).
98
88ded8ac
MR
992012-10-13 Martin Rudalics <rudalics@gmx.at>
100
101 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
102 non-nil, restore window configuration (Bug#12623).
103
bd0ffffd
SM
1042012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
105
06485aa8
SM
106 * help-fns.el (describe-variable, describe-function-1):
107 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
108
bd0ffffd
SM
109 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
110
3a989246
GM
1112012-10-12 Glenn Morris <rgm@gnu.org>
112
113 * mail/rmailsum.el (rmail-header-summary):
114 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
115
55cd00c8
FEG
1162012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
117
bd0ffffd
SM
118 * progmodes/python.el (python-mode-map):
119 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
120 (python-nav--up-list): Fix behavior for blocks on the same level.
121
ac9fc2c7
SM
1222012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
123
d8cc4c00 124 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 125
5253a5fd
SM
126 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
127 changes to the format of load-history.
128
ac9fc2c7
SM
129 * international/mule-cmds.el (read-char-by-name): Move let-binding of
130 completion-ignore-case in case that var is buffer-local (bug#12615).
131
cde44a77
KH
1322012-10-11 Kenichi Handa <handa@gnu.org>
133
134 * international/eucjp-ms.el: Re-generated.
135
4ef4a10d
KH
1362012-10-10 Kenichi Handa <handa@gnu.org>
137
138 * select.el (xselect--encode-string): If a coding is specified for
139 selection, and that is compatible with COMPOUND_TEXT, use it.
140
9d7f027b
MR
1412012-10-10 Martin Rudalics <rudalics@gmx.at>
142
143 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
144 (switch-to-buffer):
145 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 146
238f3a58
SM
1472012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
148
149 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
150 Don't document nil as a useful value (bug#12583).
151
1d51f99c
MA
1522012-10-09 Michael Albinus <michael.albinus@gmx.de>
153
238f3a58
SM
154 * net/tramp.el (tramp-debug-message):
155 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
156 (with-tramp-progress-reporter): Rename from
157 `tramp-with-progress-reporter'.
238f3a58
SM
158 (with-tramp-file-property, with-tramp-connection-property):
159 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
160 `with-connection-property', respectively.
161
162 * net/tramp-cache.el: Remove `with-file-property' and
163 `with-connection-property'.
164
165 * net/tramp.el:
166 * net/tramp-gvfs.el:
167 * net/tramp-sh.el:
168 * net/tramp-smb.el: Adapt callees.
169
170 * net/trampver.el: Update release number.
171
26b77251
GM
1722012-10-09 Glenn Morris <rgm@gnu.org>
173
9a5f296f
GM
174 * w32-fns.el (set-message-beep):
175 * term/w32-win.el (set-message-beep): Update declarations.
176
94c66ce5
SM
1772012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
178
10766e9e
SM
179 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
180 (mode-line-widen, mode-line-input-method-map)
181 (mode-line-coding-system-map, mode-line-remote)
182 (mode-line-unbury-buffer, mode-line-bury-buffer)
183 (mode-line-next-buffer, mode-line-previous-buffer):
184 Replace save-selected-window+select-window => with-selected-window.
185
f754db08
SM
186 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
187 * progmodes/cc-vars.el (bq-process): Remove, unused.
188
94c66ce5
SM
189 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
190
a4ff7fe1
FEG
1912012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
192
193 Implemented `backward-up-list'-like navigation.
194 * progmodes/python.el (python-nav-up-list)
195 (python-nav-backward-up-list): New functions.
196 (python-mode-map): Define substitute key for backward-up-list to
197 python-nav-backward-up-list.
198
24517d82
FEG
1992012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
200
201 * progmodes/python.el (python-fill-paragraph): Rename from
202 python-fill-paragraph-function. Fixed fill-paragraph for
203 decorators (Bug#12605).
204
51867ae2
FEG
2052012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
206
207 * progmodes/python.el (python-shell-output-filter): Handle extra
208 carriage return in OSX (Bug#12409).
209
a5b773c4
FEG
2102012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
211
212 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 213 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
214 (python-syntax-propertize-function): Use it.
215 (python-shell-output-syntax-table): New var.
216 (inferior-python-mode): Prevent unbalanced parens/quotes from
217 previous output mess with current input context.
218
13373538
JB
2192012-10-08 Juanma Barranquero <lekktu@gmail.com>
220
221 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
222 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
223
775a132d
MA
2242012-10-08 Michael Albinus <michael.albinus@gmx.de>
225
226 * ffap.el (ffap-replace-file-component): Support Tramp file name
227 syntax, not only ange-ftp's one.
228
3ab44929
GM
2292012-10-08 Glenn Morris <rgm@gnu.org>
230
57f1dee4
GM
231 * cus-start.el (message-log-max): Set :version.
232
3ab44929
GM
233 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
234
6a088630
MR
2352012-10-08 Martin Rudalics <rudalics@gmx.at>
236
237 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
238 the minibuffer window (Bug#10851).
239
8dbce54c
FEG
2402012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
241
242 Enhancements on forward-sexp movement.
243 * progmodes/python.el (python-nav-beginning-of-statement)
244 (python-nav-end-of-statement): Return point-marker.
245 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
246 (python-info-current-symbol)
247 (python-info-statement-starts-block-p): Rename from
248 python-info-beginning-of-block-p.
249 (python-info-statement-ends-block-p): Rename from
250 python-info-end-of-block-p.
251 (python-info-beginning-of-statement-p)
252 (python-info-end-of-statement-p)
253 (python-info-beginning-of-block-p, python-info-end-of-block-p):
254 New functions.
255
5acd2b3e
SM
2562012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
257
258 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
259 frame-selected-windows.
260
e08348a0
DC
2612012-10-08 Daniel Colascione <dancol@dancol.org>
262
263 * battery.el (battery-status-function): Check for
264 w32-battery-status itself, not system-time windows-nt.
265
266 * frame.el: Require cl-lib.
267 (display-format-alist): New variable mapping frame types to
268 functions that initialize them.
269 (window-system-for-display): New function: interprets
270 display-format-alist.
271 (make-frame-on-display): Remove existing display-selection logic
272 and just forward to make-frame, which will now DTRT.
273 (make-frame): Restructure to use window-system-for-display to
274 figure out how to create a frame on a given display.
275 (display-mouse-p): Look for frame-type w32, not a particular
276 system-type.
277
278 * loadup.el: Load w32 lisp code when we have the w32 feature.
279
280 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
281 system-type windows-nt.
282
283 * server.el (server-create-window-system-frame): Look for window
284 type.
285 (server-proces-filter): Only force a window system when windows-nt
286 _and_ w32. Explain why.
287
288 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
289 of window systems we configure for the mode.
290
291 * startup.el (command-line): Mark window system is initialized
292 after we've done it.
293
294 * common-win.el (x-select-text): Look for w32, not windows-nt.
295
296 * ns-win.el: Require cl-lib. Add ourselves to
297 display-format-alist.
298 (ns-initialize-window-system): Assert we're not initialized twice.
299
300 * w32-win.el: Enable lexical binding; require cl-lib; add
301 ourselves to display-format-alist.
302 (w32-handle-dropped-file): Convert incoming dropped files from
303 Windows paths to Cygwin ones before passing them on to the rest of
304 Emacs.
305 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
306 (w32-initialize-window-system): Assert we're not initialized twice.
307
308 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
309 (x-initialize-window-system): Assert we're not initialized twice.
310
311 * w32-common-fns.el: New File.
312 (w32-version, w32-using-nt, w32-get-clipboard-data)
313 (w32-set-clipboard-data, x-set-selection, x-get-selection)
314 (w32-charset-info-alist, x-last-selected, text)
315 (x-get-selection-value, x-selection-value): Move here.
316
317 * w32-fns.el: Require w32-common-fns.
318 (w32-version, w32-using-nt, w32-get-clipboard-data)
319 (w32-set-clipboard-data, x-set-selection, x-get-selection)
320 (w32-charset-info-alist, x-last-selected, text)
321 (x-get-selection-value, x-selection-value): Move to
322 w32-common-fns.
323
324 * w32-vars.el:
325 (w32-allow-system-shell, w32-system-shells): Define only in
326 non-cygwin case.
327
795b1482
SM
3282012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
329
330 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
331 (read-passwd): Remove a few more potential sources of leaks.
332
f27c99dc
FEG
3332012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
334
335 * progmodes/python.el (inferior-python-mode)
795b1482 336 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
337 variables copied from parent buffer.
338
fcacb558
JD
3392012-10-07 Jan Djärv <jan.h.d@swipnet.se>
340
341 * term/ns-win.el (ns-read-file-name): Update declaration to match
342 nsfns.m.
343 (ns-respond-to-change-font): Change fontsize separatly so we are sure
344 it is set when font is acted upon.
345
be0d5bae
FEG
3462012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
347
348 Enhancements to indentation.
349 * progmodes/python.el (python-indent-context): Give priority to
350 inside-string context. Make comments indentation markers.
351 (python-indent-region): Do not mess with strings, unless it's the
352 enclosing set of quotes.
353
13af0d10
SM
3542012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
355
662a9d0e
SM
356 * window.el (internal--before-save-selected-window)
357 (internal--after-save-selected-window): New functions extracted from
358 save-selected-window. Make sure we return the `alist' we construct.
359 (save-selected-window): Use them.
360
361 * textmodes/tex-mode.el (tex-recenter-output-buffer):
362 Use with-selected-window.
363
13af0d10
SM
364 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
365 forms that define macros (bug#12593).
366
6aa75fb6
KH
3672012-10-07 Kenichi Handa <handa@gnu.org>
368
13af0d10
SM
369 * international/mule-conf.el (compound-text-with-extensions):
370 Add :mime-charset property as x-ctext.
6aa75fb6 371
78d876b9
SM
3722012-10-07 Stefan Merten <smerten@oekonux.de>
373
374 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
375 (rst-indent-literal-normal, rst-indent-literal-minimized)
376 (rst-indent-comment): Correct :version tag.
557337e9 377 (rst-official-cvs-rev): Correct version string.
78d876b9 378
99a1e701
GM
3792012-10-07 Glenn Morris <rgm@gnu.org>
380
381 * mail/rmailmm.el (rmail-mime-process-multipart):
382 Do not confuse a multipart message with an epilogue
383 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
384
08f18c3d
FEG
3852012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
386
387 Fix shell output retrieval and comint-prompt-regexp init.
388 * progmodes/python.el (inferior-python-mode):
389 (python-shell-make-comint): Fix initialization of
390 comint-prompt-regexp from copied file local variables.
391 (python-shell-fetched-lines): Remove var.
392 (python-shell-output-filter-in-progress): Rename from
393 python-shell-fetch-lines-in-progress.
394 (python-shell-output-filter-buffer): Rename from
395 python-shell-fetch-lines-string.
396 (python-shell-fetch-lines-filter): Delete function.
397 (python-shell-output-filter): New function.
398 (python-shell-send-string-no-output): Use them.
399
82ed3ab4
GM
4002012-10-07 Glenn Morris <rgm@gnu.org>
401
1595ecfa
GM
402 * hi-lock.el (hi-lock-process-phrase):
403 Try to make it less fragile. (Bug#7161)
404
82ed3ab4
GM
405 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
406
f1f4dba0
GM
4072012-10-06 Glenn Morris <rgm@gnu.org>
408
addc11ed 409 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
410 non-existent mode `help'.
411 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 412
460042b8
GM
413 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
414 (reftex-create-bibtex-footer): Fix custom types.
415
67667c70
GM
416 * progmodes/sh-script.el (sh-indent-after-continuation):
417 Add explicit :group.
418
18dec750
GM
419 * textmodes/rst.el (rst-preferred-decorations)
420 (rst-shift-basic-offset): Clarify obsolescence versions.
421
d1a1c7e6
GM
422 * profiler.el (profiler): Add missing group :version tag.
423 * avoid.el (mouse-avoidance-banish-position):
424 * proced.el (proced-renice-command):
425 * calc/calc.el (calc-ensure-consistent-units):
426 * calendar/icalendar.el (icalendar-import-format-uid):
427 * net/tramp.el (tramp-save-ad-hoc-proxies):
428 * progmodes/bug-reference.el (bug-reference-bug-regexp):
429 * progmodes/flymake.el (flymake-error-bitmap)
430 (flymake-warning-bitmap, flymake-fringe-indicator-position):
431 * progmodes/sh-script.el (sh-indent-after-continuation):
432 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
433 (verilog-before-save-font-hook, verilog-after-save-font-hook):
434 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
435 (vhdl-array-index-record-field-in-sensitivity-list)
436 (vhdl-indent-comment-like-next-code-line):
437 * textmodes/reftex-vars.el (reftex-ref-style-alist)
438 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
439 (reftex-cite-key-separator, reftex-create-bibtex-header)
440 (reftex-create-bibtex-footer):
441 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
442 (rst-indent-literal-normal, rst-indent-literal-minimized)
443 (rst-indent-comment): Add missing custom :version tags.
444
ef35abb4
GM
445 * calendar/timeclock.el (timeclock-modeline-display):
446 Add missing obsolete alias for renamed user option.
447
d1aae614
GM
448 * strokes.el (strokes-modeline-string):
449 * emulation/crisp.el (crisp-mode-modeline-string):
450 * eshell/esh-mode.el (eshell-status-in-modeline):
451 Aliases to defcustoms must come before the defcustom.
452
f1f4dba0
GM
453 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
454 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
455 (cal-tex-cursor-week-monday): Doc fixes.
456 (cal-tex-cursor-week2-summary): Doc fix.
457 Rename from cal-tex-cursor-week-at-a-glance.
458
459 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
460 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
461
462 * calendar/calendar.el (calendar-mode-map):
463 Add cal-tex-cursor-week2-summary.
464
d39109c3
SM
4652012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
466
685f87b0
SM
467 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
468
d39109c3
SM
469 * subr.el (read-passwd-map): New var.
470 (read-passwd): Use `read-string' again.
471 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
472
5694896d
J
4732012-10-06 Jambunathan K <kjambunathan@gmail.com>
474
475 * register.el (append-to-register, prepend-to-register):
476 Deactivate mark, as does `copy-to-register' (bug#12389).
477
9414dd8d
CY
4782012-10-06 Chong Yidong <cyd@gnu.org>
479
480 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
481
2b89bca4
KH
4822012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
483
484 * international/characters.el: Fix simple mistake ((car chars) ->
485 elt), delete duplicated code.
486
d5acb99a
GM
4872012-10-06 Glenn Morris <rgm@gnu.org>
488
489 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
490
123ec157
JS
4912012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
492
493 * color.el (color-hsl-to-rgb): Fix incorrect results for
494 small and large hue values. (Bug#12559)
495
7fa36ccb
FEG
4962012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
497
498 Enhancements to docstring formatting when filling paragraphs.
499 * progmodes/python.el (python-fill-docstring-style): Rename from
500 python-fill-string-style. Added new style.
501 (python-fill-string): Use new style. Better checks for
502 docstrings.
503
d8788e1e
GM
5042012-10-05 Glenn Morris <rgm@gnu.org>
505
204f3953
GM
506 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
507
d8788e1e
GM
508 * color.el (color-name-to-rgb, color-rgb-to-hex)
509 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
510 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
511 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
512 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
513
8d956cef
GM
514 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
515
e8757f09 5162012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
517
518 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
519 to get the correct size across symlinks.
520
e8757f09
GM
521 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
522
0e2ae83d
JL
5232012-10-04 Juri Linkov <juri@jurta.org>
524
525 * replace.el (query-replace-interactive): Declare obsolete.
526 (query-replace-read-from): Add the last incremental search string
527 to the list of default values accessible via M-n.
528 (map-query-replace-regexp): Use `read-regexp'.
529 (query-replace, query-replace-regexp, query-replace-regexp-eval)
530 (map-query-replace-regexp, replace-string, replace-regexp):
531 Fix docstrings to replace mentions of `query-replace-interactive'
532 with alternatives. (Bug#12526)
533
93cacb6d
JL
5342012-10-04 Juri Linkov <juri@jurta.org>
535
536 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
537 (dired-pop-to-buffer): Declare obsolete.
538 (dired-mark-pop-up): Doc fix.
539
fc345011
FEG
5402012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
541
542 Allow user to set docstring style for fill-paragraph.
543 * progmodes/python.el
544 (python-fill-comment-function, python-fill-string-function)
545 (python-fill-decorator-function, python-fill-paren-function):
546 Remove :safe for defcustoms.
547 (python-fill-string-style): New defcustom
5694896d 548 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
549 (python-fill-string): Honor python-fill-string-style settings.
550
6bab5d8b
MR
5512012-10-04 Martin Rudalics <rudalics@gmx.at>
552
553 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
554 after setting its buffer (Bug#10805).
555
a1a9f411
FEG
5562012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
557
558 Fix cornercase for string syntax.
559 * progmodes/python.el (python-syntax-propertize-function):
560 Simplify and enhance the regexp for unescaped quotes. Now it also
561 matches quotes in weird situations like the single quote in
562 "something\"'".
563 (python-syntax-stringify): Simplify num-quotes detecting code.
564
05e153a6
GM
5652012-10-03 Glenn Morris <rgm@gnu.org>
566
567 * help-macro.el (three-step-help):
568 Revert 2012-09-29 change. (Bug#12567)
569
2e566ecb
MR
5702012-10-03 Martin Rudalics <rudalics@gmx.at>
571
96ef9ccd
MR
572 * menu-bar.el (kill-this-buffer): Don't do anything when
573 `menu-frame' is not alive or visible (Bug#8184).
574
2e566ecb
MR
575 * emacs-lisp/debug.el (debug): When quitting the debugger window
576 restore current buffer (Bug#12502).
577
a96e1cb7
CY
5782012-10-02 Chong Yidong <cyd@gnu.org>
579
5694896d
J
580 * progmodes/hideif.el (hif-lookup, hif-defined):
581 Handle semantic-c-takeover-hideif.
a96e1cb7 582
b3ecad33
PE
5832012-10-02 Paul Eggert <eggert@cs.ucla.edu>
584
585 Change sampling interval units from ms to ns.
586 * profiler.el (profiler-sampling-interval): Change units
587 from ms to ns, multiplying the default by 1000000 so that
588 it remains 1 ms.
589 (profiler-report-cpu-line-format): Give enough room for
590 the maximum counters on 64-bit hosts.
591 (profiler-report-render-calltree-1): Call them "CPU samples",
592 not "Time (ms)", since they are not milliseconds now (and
593 never really were).
594
8cb51b66 5952012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 596
5694896d
J
597 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
598 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 599
fd795bf4
CY
6002012-10-02 Chong Yidong <cyd@gnu.org>
601
602 * emacs-lisp/eieio.el: Restore Version header.
603
fe0a74f9
SM
6042012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
605
6be9197e
SM
606 * vc/diff-mode.el (diff--auto-refine-data): New var.
607 (diff-hunk): Use it to delay refinement.
608 (diff-mode): Remove overlays when we turn off font-lock.
609
18486139
SM
610 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
611 (table-initialize-table-fixed-width-mode)
612 (table-set-table-fixed-width-mode): Remove functions.
613 (table-command-list): Move initialization into declaration.
614 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
615 (table-with-cache-buffer): Use `declare'.
616 (table-span-cell): Simplify via CSE.
617 (table-fixed-width-mode): Use define-minor-mode.
618 (table-call-interactively, table-funcall, table-apply): Remove.
619 (table-function): New function, to replace them.
620
d83ef976
SM
621 * bookmark.el (bookmark-search-pattern): Remove var.
622 (bookmark-read-search-input): Remove function.
623 (bookmark-bmenu-search): Reimplement using a minibuffer.
624
cd386662
SM
625 * faces.el (modeline): Remove obsolete face name.
626
fe0a74f9
SM
627 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
628 and give a non-nil default value.
629 (add-change-log-entry): Simplify accordingly.
630
9f7b98f8
DG
6312012-10-01 Dmitry Gutov <dgutov@yandex.ru>
632
633 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
634 (vc-git-log-edit-toggle-amend): New function.
635 (vc-git-log-edit-toggle-signoff): New function.
636 (vc-git-log-edit-mode): New major mode.
637 (vc-git-log-edit-mode-map): Keymap for it.
638 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
639
640 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
641 header names.
642 (log-edit-toggle-header): New function.
643 (log-edit-extract-headers): Accept function values in HEADERS alist.
644
62a81506
CY
6452012-10-01 David Engster <deng@randomsample.de>
646
647 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
648 from symbol property and change message to be more consistent with
649 Emacs proper.
650 (eieio-describe-generic): Add filename for each implementation.
651 Fix indices for generic and normal methods.
652 (eieio-method-def, eieio-class-def): New buttons.
653 (eieio-help-find-method-definition)
654 (eieio-help-find-class-definition): New functions.
655 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
656 class, constructor and method definitions.
657
658 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
659 information in symbol property.
660 (scoped-class): Remove.
661 (eieio-slot-name-index, call-next-method): Check if it is bound.
662
6632012-10-01 Leo P. White <lpw25@cam.ac.uk>
664
665 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
666 (eieio-custom-mode): New major mode.
667 (eieio-customize-object): Use it.
668
6692012-10-01 Eric Ludlam <zappo@gnu.org>
670
671 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
672 specifying the expected class, and whether subclassing is allowed.
673 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
674 (eieio-persistent-validate/fix-slot-value)
675 (eieio-persistent-slot-type-is-class-p): New functions.
676 (eieio-named::slot-missing): Doc fix.
62a81506
CY
677
678 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
679 Stop using unused publd variable.
680
681 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
682 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
683 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
684 (eieio-speedbar-handle-click): Do not specify a class for the
685 method. Fixes method invocation order problems with EDE.
686
375e49d4
SM
6872012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
688
689 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
690 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
691
16ce6ccd
KF
6922012-10-01 Karl Fogel <kfogel@red-bean.com>
693
694 * bookmark.el (bookmark-version-control): Give tags in the
695 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
696 (bookmark-write-file): Bind `print-circle' to `t' to allow
697 circular custom bookmark types. (Bug#12503)
16ce6ccd 698
19e54a4d
PE
6992012-10-01 Paul Eggert <eggert@cs.ucla.edu>
700
86ec63ba
PE
701 Revert the FOLLOW-SYMLINKS change for file-attributes.
702 * files.el (remote-file-name-inhibit-cache, after-find-file):
703 * time.el (display-time-file-nonempty-p): Undo last change.
704
19e54a4d
PE
705 * profiler.el (profiler-sampling-interval): Change default back to 1.
706 See Stefan Monnier in
707 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
708
0478776b
FEG
7092012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
710
711 Shell output catching a la gud-gdb.
712 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
713 (python-shell-fetch-lines-string, python-shell-fetched-lines):
714 New Vars.
0478776b
FEG
715 (python-shell-fetch-lines-filter): New function.
716 (python-shell-send-string-no-output): Use them.
717
c22bac2c
TM
7182012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
719
720 * profiler.el (profiler-sampling-interval): Rename from
721 profiler-sample-interval.
722 (profiler-sampling-interval): Default to 10.
723 (profiler-find-profile): New command (was profiler-find-log).
724 (profiler-find-profile-other-window): New command.
725 (profiler-find-profile-other-frame): New command.
726 (profiler-profile): Introduce API-level data structure.
727
e7a2937b
PE
7282012-09-30 Paul Eggert <eggert@cs.ucla.edu>
729
730 file-attributes has a new optional arg FOLLOW-SYMLINKS.
731 * files.el (remote-file-name-inhibit-cache):
732 * time.el (display-time-file-nonempty-p): Use it.
733 * files.el (after-find-file): Don't chase links before calling
734 file-exists-p, as file-exists-p already does the right thing.
735
4f595e15
RA
7362012-09-30 Ralf Angeli <angeli@caeruleus.net>
737
738 Merge from standalone RefTeX repository.
739
740 The following ChangeLog entries are shortened versions of the
741 original ones with file paths adapted. A not so strongly edited
742 version of the original ChangeLog can be found in the commit log.
743
744 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
745 (reftex-arg-cite): Use `reftex-cite-key-separator'.
746 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
747
748 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
749 that entries with whitespace at various places are found.
750 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
751 Include @String definitions in the resulting bib file. Add header
752 and footer defined in `reftex-create-bibtex-header' and
753 `reftex-create-bibtex-footer'.
754 (reftex-do-citation): Make it possible again to insert
755 non-existent entries. Save match data when asking for optional
756 arguments. Return all keys, not just the first one.
757 (reftex-all-used-citation-keys): Fix regexp to correctly extract
758 all citations in the same line.
759 (reftex-parse-bibtex-entry): Accept additional optional argument
760 `raw' and keep quotes or braces if it is non-nil. Match fields
761 containing hyphens besides word constituents.
762 (reftex-get-string-refs): New function.
763 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
764 and ask if it should be reread in case it did.
765 (reftex-pop-to-bibtex-entry)
766 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
767 entries with spaces or tabs in front of arguments.
768 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
769 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
770 Match entries containing numbers and symbol constituents.
771 (reftex-do-citation, reftex-figure-out-cite-format):
772 Use `reftex-cite-key-separator'.
4f595e15
RA
773
774 * textmodes/reftex-dcr.el: Move provide statement to end of file.
775 (reftex-mouse-view-crossref): Explain why point is set.
776
777 * textmodes/reftex-global.el: Whitespace changes.
778
779 * textmodes/reftex-index.el: Move provide statement to end of
780 file.
781 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
782 (reftex-index-visit-phrases-buffer): Set marker when visiting
783 buffer. This allows for returning from the phrases file to the
784 file one was just editing instead of the file where the last
785 phrases was added from.
786 (reftex-index-phrases-syntax-table): New variable. Give ?\"
787 punctuation syntax as it usually is not used as string quote in
788 TeX-related modes and may occur unmatched. The change also
789 prevents fontification of quoted content.
790 (reftex-index-phrases-mode): Use it.
791
375e49d4
SM
792 * textmodes/reftex-parse.el (reftex-parse-from-file):
793 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
794 (reftex-parse-from-file): Use beginning of match instead of end as
795 bound.
796
797 * textmodes/reftex-ref.el: Adapt creation of
798 `reftex-<package>-<macro>' functions to new structure of
799 `reftex-ref-style-alist'.
375e49d4
SM
800 (reftex-reference): Use `reftex-ref-style-list' function.
801 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
802 reference macro if `reftex-ref-macro-prompt' is non-nil.
803 (reftex-reference): Pass refstyle to `reftex-format-special'.
804 Determine reference macro by looking at
375e49d4
SM
805 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
806 Use only one special format function.
4f595e15
RA
807 (reftex-varioref-vref, reftex-fancyref-fref)
808 (reftex-fancyref-Fref): Remove definitions. The functions are now
809 generated from `reftex-ref-style-alist'.
810 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
811 Remove.
812 (reftex-format-special): New function.
813
814 * textmodes/reftex-sel.el
815 (reftex-select-cycle-ref-style-internal): Adapt to new structure
816 of `reftex-ref-style-alist'. Remove code for testing macro type.
817 (reftex-select-toggle-varioref)
818 (reftex-select-toggle-fancyref): Remove.
819 (reftex-select-cycle-ref-style-internal)
820 (reftex-select-cycle-ref-style-forward)
821 (reftex-select-cycle-ref-style-backward): New functions.
822 (reftex-select-label-map): Use `v' and `V' for general cycling
823 through reference styles. Add `p' for switching between number
824 and page reference types.
825
375e49d4
SM
826 * textmodes/reftex-toc.el (reftex-re-enlarge):
827 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
828 the horizontal version throws an error even if the parameter is 0.
829
830 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
831 (reftex-plug-into-AUCTeX): Doc fix.
832 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
833 string. Adapt to new name.
834 (reftex-ref-style-alist): Change structure so that it is not
835 possible to use multiple different package names within a style.
375e49d4
SM
836 Remove the symbols for symbols for macro type distinction.
837 Add characters for macro selection.
4f595e15
RA
838 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
839 (reftex-create-bibtex-footer): New variables.
840 (reftex-format-ref-function): Mention third argument of special
841 format function.
375e49d4
SM
842 (reftex-ref-style-alist, reftex-ref-style-default-list):
843 New variables.
4f595e15
RA
844 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
845 to new implementation. Mark as obsolete. Add compatibility code
846 for honoring the variable values in case they are set.
375e49d4
SM
847 (reftex-cite-format-builtin, reftex-bibliography-commands):
848 Add support for ConTeXt.
849 (reftex-format-ref-function, reftex-format-cite-function):
850 Fix custom type.
4f595e15
RA
851 (reftex-cite-key-separator): New variable.
852
853 * textmodes/reftex.el (reftex-syntax-table-for-bib)
854 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
855 `reftex-syntax-table' because parens have to retain their paren
856 syntax in order for parsing of BibTeX entries like @book(...) to
857 work.
858 (reftex-in-comment): Do not error out if `comment-start-skip' is
859 not set. Deal correctly with escaped comment characters.
375e49d4
SM
860 (reftex-tie-multifile-symbols): Add doc string.
861 Initialize `reftex-ref-style-list'.
4f595e15
RA
862 (reftex-untie-multifile-symbols): Add doc string.
863 (reftex-add-index-macros): Doc fix.
864 (reftex-ref-style-activate, reftex-ref-style-toggle)
865 (reftex-ref-style-list): New functions.
866 (reftex-mode-menu): Use them. Adapt to new structure of
867 `reftex-ref-style-alist'.
868 (reftex-select-with-char): Kill the RefTeX Select buffer when
869 done.
870 (reftex-remove-if): New function.
871 (reftex-erase-all-selection-and-index-buffers)
872 (reftex-mode-menu): Reference styles are now computed from
873 `reftex-ref-style-alist'. Fix typo.
874 (reftex-report-bug): New function.
875 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
876 algorithms with O(n log n). Introduce optional argument SORT (not
877 yet used).
878
440ba395
FEG
8792012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
880
881 Enhancements for triple-quote string syntax.
375e49d4
SM
882 * progmodes/python.el (python-syntax-propertize-function):
883 Match both quote cases in one regexp.
440ba395
FEG
884 (python-syntax-stringify): Handle matches properly.
885
4c478e6b
JL
8862012-09-30 Juri Linkov <juri@jurta.org>
887
888 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 889 to nil around the call to `insert' to prevent
4c478e6b
JL
890 directory time modification by lock_file. (Bug#2295)
891 * tar-mode.el (tar-summarize-buffer): Idem.
892
d80d54b2
JL
8932012-09-30 Juri Linkov <juri@jurta.org>
894
895 * facemenu.el (list-colors-sort): Add option "Luminance".
896 (list-colors-sort-key): Implement it.
897
898 * vc/diff-mode.el (diff-refine-removed):
899 * vc/ediff-init.el (ediff-fine-diff-A):
900 * vc/smerge-mode.el (smerge-refined-removed):
901 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
902
d7e642cc
JD
9032012-09-30 Jan Djärv <jan.h.d@swipnet.se>
904
905 * term/ns-win.el (x-file-dialog): New function.
906
ee41332b
JB
9072012-09-30 Juanma Barranquero <lekktu@gmail.com>
908
909 * ido.el (ido-max-directory-size): Default to nil; the current
910 default is small for POSIX systems, and impractical on Windows 7
911 now that lstat returns directory sizes for NTFS.
912
5938d519
MR
9132012-09-30 Martin Rudalics <rudalics@gmx.at>
914
915 In buffer display functions handle window-height/window-width
916 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
917 * window.el (window--display-buffer): New argument ALIST.
918 Obey window-height and window-width alist entries.
919 (window--try-to-split-window): New argument ALIST.
920 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
921 changed and window-combination-limit equals `window-size'.
922 (display-buffer-in-atom-window)
923 (display-buffer-in-major-side-window)
924 (display-buffer-in-side-window, display-buffer-same-window)
925 (display-buffer-reuse-window, display-buffer-pop-up-frame)
926 (display-buffer-pop-up-window, display-buffer-below-selected)
927 (display-buffer-at-bottom, display-buffer-in-previous-window)
928 (display-buffer-use-some-window): Adjust all callers of
929 window--display-buffer and window--try-to-split-window.
930 (fit-frame-to-buffer): New option.
931 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
932 is non-nil.
933 (display-buffer-in-major-side-window): Evaluate window-height /
934 window-width alist entries.
935
936 * help.el (temp-buffer-resize-frames)
937 (temp-buffer-resize-regexps): Remove options.
938 (temp-buffer-resize-mode): Adjust doc-string.
939 (resize-temp-buffer-window): Don't consult
940 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
941 temp-buffer-resize-frames.
942
375e49d4
SM
943 * dired.el (dired-mark-pop-up):
944 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
945 entry.
946
c4c0c2df
CY
9472012-09-30 Chong Yidong <cyd@gnu.org>
948
48de8b12
CY
949 * server.el (server-host): Document the security implications.
950 (server-auth-key): Doc fix.
951
952 * startup.el (initial-buffer-choice): Doc fix.
953
954 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
955
a97dc380
CY
956 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
957 restriction change.
958
d39d3c8e
CY
959 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
960
c4c0c2df
CY
961 * help-fns.el (help-fns--obsolete): Fix last change.
962
98a5e33b
SM
9632012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
964
34cf6f39
SM
965 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
966 (minor-mode-map-alist): Remove redundant code.
967
e01c13fe
SM
968 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
969 visited in a buffer.
970 (cvs-insert-visited-file): New function.
971 (find-file-hook): Use it.
972
973 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
974
02661b3a
SM
975 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
976 chose face.
977 (log-edit-empty-buffer-p): Don't require a space after a header.
978
43711d4b
SM
979 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
980
38a30d64
SM
981 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
982
4ffb41a9
SM
983 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
984 a proper minor-mode.
985
98a5e33b
SM
986 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
987
de82e29b
GM
9882012-09-29 Glenn Morris <rgm@gnu.org>
989
5cc2e639
GM
990 * winner.el (winner-mode): Remove variable (let define-minor-mode
991 handle it).
992 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
993 Doc fixes.
994 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
995 (winner-mode): Use define-minor-mode.
996
7bd302eb
GM
997 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
998 the full definition in loaddefs, rather than duplicating it.
999
2923922f 1000 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 1001
0e3e4156
GM
1002 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1003 (inferior-lisp-program, inferior-lisp-load-command)
1004 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 1005 No need to autoload defcustoms.
0e3e4156 1006
de82e29b
GM
1007 * hippie-exp.el (hippie-expand-try-functions-list)
1008 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1009 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1010 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 1011 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
1012 * progmodes/vhdl-mode.el (vhdl-line-expand):
1013 Explicitly load hippie-exp, so it does not get autoloaded
1014 while hippie-expand-try-functions-list is let-bound.
1015
e60b51ab
GM
10162012-09-28 Glenn Morris <rgm@gnu.org>
1017
277f0cfa
GM
1018 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1019
e60b51ab
GM
1020 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1021 Only "cl.el" counts as cl these days.
1022
53baf48a
JL
10232012-09-28 Juri Linkov <juri@jurta.org>
1024
1025 Display archive errors in the echo area instead of inserting
1026 to the file buffer.
1027
1028 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1029 to STDERR-TEST that can be a regexp matching a successful output.
1030 Create a temporary file and redirect stderr to it. Search for
1031 STDERR-TEST in the stderr output and display it in the echo area
1032 if no match is found.
1033 (archive-extract-by-file): New function like
1034 `archive-extract-by-stdout' but extracting archives to files
1035 and looking for successful matches in stdout. Function body is
1036 mostly copied from `archive-rar-extract'.
1037 (archive-rar-extract): Use `archive-extract-by-file'.
1038 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1039
9c1228c3
LL
10402012-09-28 Leo Liu <sdl.web@gmail.com>
1041
375e49d4
SM
1042 * pcomplete.el (pcomplete-show-completions):
1043 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 1044
9c1228c3
LL
1045 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1046
7f457c06
SM
10472012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1048
3df749b0
SM
1049 * type-break.el: Use lexical-binding.
1050 (type-break-mode): Use define-minor-mode.
1051
7f457c06
SM
1052 * emacs-lisp/pcase.el (pcase--mark-used): New.
1053 (pcase--u1): Use it (bug#12512).
1054
1055 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1056 in load-history with the right file name.
1057
c00ebc98
TH
10582012-09-28 Tassilo Horn <tsdh@gnu.org>
1059
1060 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1061 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1062 (doc-view-get-bounding-box): Make bounding box slicing work for
1063 ODF and DVI documents.
1064
96fb7170
GM
10652012-09-28 Glenn Morris <rgm@gnu.org>
1066
1067 * type-break.el (type-break-mode, type-break-interval)
1068 (type-break-good-rest-interval, type-break-keystroke-threshold):
1069 No need to autoload.
1070 (type-break-good-rest-interval, type-break-keystroke-threshold):
1071 Add :set-after.
1072
5bc93c67
CY
10732012-09-28 Chong Yidong <cyd@gnu.org>
1074
1075 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1076 Add :version tag.
1077
9cad61d6
SM
10782012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1079
e28e67b3 1080 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 1081
daee954c
GM
10822012-09-27 Glenn Morris <rgm@gnu.org>
1083
a88324d4
GM
1084 * faces.el (x-display-name): Declare (for without-x builds).
1085
8e5064e5
GM
1086 * linum.el (linum-format): Don't autoload it. Improve :type.
1087
cc1783c2
GM
1088 * progmodes/tcl.el: Don't require outline when compiling.
1089 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
1090 * textmodes/sgml-mode.el: Don't require outline when compiling.
1091 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1092
48c339f2
GM
1093 * term.el (term-ansi-reset):
1094 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1095
daee954c
GM
1096 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1097 files for RCS and SCCS. (Bug#9781)
1098
b7f42161
CY
10992012-09-27 Chong Yidong <cyd@gnu.org>
1100
1101 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1102 change; value should be t.
1103
a2e770db
SM
11042012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1105
83600dc8
SM
1106 * image-mode.el: Use lexical-binding.
1107 (image-mode-winprops): Use t to stand for the window of
1108 a buffer that's not displayed.
1109 * doc-view.el (doc-view-new-window-function): Handle the new
1110 t in winprops.
1111 (doc-view-enlarge): Make it a real nop if the size is not changed.
1112 (doc-view-display): Handle the case where the buffer is not (yet?)
1113 displayed in any window.
1114 (doc-view-saved-settings): New var.
1115 (doc-view-mode): Use it.
1116 (doc-view-fallback-mode): Set it.
1117
a2e770db
SM
1118 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1119 Set lexical-binding.
1120 (minibuffer-eldef-shorten-default): New var.
1121 (minibuffer-default-in-prompt-regexps): Use it for new default.
1122 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1123
e3b60857
JB
11242012-09-26 Juanma Barranquero <lekktu@gmail.com>
1125
1126 * international/uni-bidi.el:
1127 * international/uni-category.el:
1128 * international/uni-name.el:
1129 * international/uni-numeric.el: Regenerate.
1130
3a880af4
SM
11312012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1132 Stefan Monnier <monnier@iro.umontreal.ca>
1133
1134 * profiler.el: New file.
1135
07b1a5fb
SM
11362012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1137
1138 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1139 (testcover-reinstrument): Simplify with CSE.
1140
42019c2e
JB
11412012-09-26 Juanma Barranquero <lekktu@gmail.com>
1142
1143 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1144
179f044b
WS
11452012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1146
1147 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1148 (verilog-auto-input, verilog-auto-insert-lisp)
1149 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1150 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1151 (verilog-auto-unused, verilog-auto-wire)
1152 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1153 newline. Reported by Andrew Jones.
1154 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1155 Reported by Brad Dobbie.
07b1a5fb
SM
1156 (verilog-batch-delete-trailing-whitespace):
1157 Create verilog-batch-delete-trailing-whitespace.
1158 Reported by Brad Dobbie.
179f044b
WS
1159 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1160 parameters from another module. Reported by Dan Katz.
1161 (verilog-auto, verilog-auto-assign-modport)
1162 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1163 AUTOINOUTMODPORT for UVM interface module shell generation.
1164 Reported by Brad Dobbie.
1165 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1166 standard behavior.
1167 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1168 Reported by Matt Martin.
1169
9c52dd5a
MR
11702012-09-25 Martin Rudalics <rudalics@gmx.at>
1171
1172 * window.el (window--resize-child-windows): When resizing child
1173 windows proportionally, process them in reverse order to
1174 preserve the "when splitting a window the new one gets the odd
1175 line" behavior.
1176 (window--resize-root-window-vertically): When resizing the
1177 minibuffer window try to affect only windows at the bottom of the
1178 frame. (Bug#12419)
1179
863666eb
CY
11802012-09-25 Chong Yidong <cyd@gnu.org>
1181
1182 * subr.el (declare): Doc fix.
1183
1184 * help-fns.el (help-fns--obsolete): Handle macros properly.
1185
59f7af81
CY
11862012-09-25 Chong Yidong <cyd@gnu.org>
1187
1188 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1189 this function obsolete.
1190
1191 * calendar/cal-x.el (calendar-two-frame-setup)
1192 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1193 * calendar/calendar.el (american-calendar, european-calendar)
1194 (calendar-for-loop):
1195 * comint.el (comint-dynamic-simple-complete)
1196 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1197 * desktop.el (desktop-load-default):
1198 * dired-x.el (dired-omit-here-always)
1199 (dired-hack-local-variables, dired-default-directory):
1200 * emacs-lisp/derived.el (derived-mode-class):
1201 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1202 * emacs-lock.el (toggle-emacs-lock):
1203 * epa.el (epa-display-verify-result):
1204 * epg.el (epg-sign-keys, epg-start-sign-keys)
1205 (epg-passphrase-callback-function):
1206 * eshell/esh-util.el (eshell-for):
1207 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1208 (eshell-add-to-window-buffer-names):
1209 * files.el (locate-file-completion):
1210 * imenu.el (imenu-example--create-c-index)
1211 (imenu-example--create-lisp-index)
1212 (imenu-example--lisp-extract-index-name)
1213 (imenu-example--name-and-position):
1214 * international/mule-cmds.el (princ-list):
1215 * international/mule-diag.el (decode-codepage-char):
1216 * international/mule-util.el (detect-coding-with-priority):
1217 * iswitchb.el (iswitchb-read-buffer):
1218 * mail/mailalias.el (mail-complete):
1219 * mail/sendmail.el (mail-sent-via):
1220 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1221 (mouse-major-mode-menu):
1222 * password-cache.el (password-read-and-add):
1223 * pcomplete.el (pcomplete-parse-comint-arguments):
1224 * progmodes/sh-script.el (sh-maybe-here-document):
1225 * replace.el (query-replace-regexp-eval):
1226 * savehist.el (savehist-load):
1227 * simple.el (choose-completion-delete-max-match):
1228 * term.el (term-dynamic-simple-complete):
1229 * vc/ediff-init.el (ediff-check-version):
1230 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1231 * vc/vc.el (vc-diff-switches-list):
1232 * view.el (view-return-to-alist-update): Likewise.
1233
1234 * subr.el (eval-next-after-load, makehash, insert-string)
1235 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1236 mark obsolete.
1237 (mode-line-inverse-video): Variable deleted.
1238
1239 * international/mule-util.el (string-to-sequence): Remove.
1240
1241 * calendar/calendar.el (calendar-version):
1242 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1243 (icalendar-convert-diary-to-ical):
1244 * cus-edit.el (custom-mode):
1245 * ansi-color.el (ansi-color-unfontify-region):
1246 * international/latin1-disp.el (latin1-char-displayable-p):
1247 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
1248 * progmodes/which-func.el (which-func-update-1):
1249 Use define-obsolete-function-alias.
59f7af81
CY
1250
1251 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
1252 * net/newst-treeview.el (newsticker-groups-filename):
1253 Fix incorrect obsolescence declaration.
59f7af81
CY
1254
1255 * allout.el (allout-passphrase-hint-string): Likewise.
1256 (allout-init): Use a declare form to mark obsolete.
1257
1258 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1259 this applies to functions.
1260
1261 * iswitchb.el (iswitchb-read-buffer): Move code of
1262 iswitchb-define-mode-map here, and delete that obsolete function.
1263
1264 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1265 font-lock-reference-face.
1266
cca96c97
GM
12672012-09-25 Glenn Morris <rgm@gnu.org>
1268
b06eeda8
GM
1269 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1270 Doc fixes.
1271
cca96c97
GM
1272 * eshell/em-term.el (eshell-term-name):
1273 Default to term-term-name. (Bug#12485)
1274
dc4f818b
FEG
12752012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1276
cca96c97
GM
1277 * progmodes/python.el (python-shell-send-buffer): Better handling
1278 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 1279
289c24bd
GM
12802012-09-24 Glenn Morris <rgm@gnu.org>
1281
1282 * eshell/esh-cmd.el (eshell-find-alias-function):
1283 Tighten up file-name regexp. (Bug#12499)
1284
8fb8b88f
FEG
12852012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1286
1287 Enhancements for triple-quote string syntax.
1288 * progmodes/python.el (python-quote-syntax): Remove.
1289 (python-syntax-propertize-function): New value.
07b1a5fb
SM
1290 (python-syntax-count-quotes, python-syntax-stringify):
1291 New functions.
8fb8b88f 1292
6c27f0f8
CY
12932012-09-24 Chong Yidong <cyd@gnu.org>
1294
a5f2b6ec
CY
1295 * mail/supercite.el (sc-version): Remove obsolete function.
1296 (sc-describe): Don't mark as obsolete, since it is bound.
1297 (sc-submit-bug-report): Remove.
1298
1299 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1300 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
1301 (log-edit-require-final-newline)
1302 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
1303
1304 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1305 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1306 * vc/vc.el (vc-checkout-carefully): Likewise.
1307
1308 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1309 (emerge-version): Remove.
1310
1311 * progmodes/compile.el (compile-internal): Remove.
1312 (compilation-parse-errors-function): Fix typo.
1313
1314 * international/mule.el (set-char-table-default): Remove.
1315 (set-coding-priority, make-coding-system, generic-char-p)
1316 (charset-list, charset-bytes, charset-id): Use declare to mark
1317 functions as obsolete.
1318
1319 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1320 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1321 * vc/vc-hooks.el (vc-default-registered): Don't use
1322 vc-master-templates.
1323
07b1a5fb
SM
1324 * font-lock.el (font-lock-reference-face):
1325 Use define-obsolete-variable-alias.
6c27f0f8
CY
1326
1327 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1328 * calendar/calendar.el (calendar-font-lock-keywords):
1329 * calendar/diary-lib.el (diary-font-lock-keywords)
1330 (diary-fancy-font-lock-keywords):
1331 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1332 * textmodes/reftex-index.el (reftex-insert-index):
1333 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1334 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1335 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1336 * progmodes/prolog.el (prolog-font-lock-keywords):
1337 * progmodes/idlwave.el (idlwave-idl-keywords):
1338 * progmodes/ada-mode.el (ada-font-lock-keywords):
1339 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1340
bcc0adbf
GM
13412012-09-24 Glenn Morris <rgm@gnu.org>
1342
1343 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1344
095bb823
FEG
13452012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1346
1347 * progmodes/python.el (python-indent-line): More consistent cursor
1348 movement behavior.
1349
70efc5c9
SM
13502012-09-23 Stefan Merten <smerten@oekonux.de>
1351
1352 * textmodes/rst.el: Fix compiler warning.
1353
2f438239
RW
13542012-09-23 Roland Winkler <winkler@gnu.org>
1355
07b1a5fb
SM
1356 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1357 Transcribe also LaTeX hyphenation.
2f438239
RW
1358 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1359 bibtex-reformat-previous-options.
1360
936ad041
RW
13612012-09-23 Roland Winkler <winkler@gnu.org>
1362
1363 * proced.el (proced-renice-command): New variable.
1364 (proced-marked-processes): New function.
1365 (proced-with-processes-buffer): New macro.
1366 (proced-send-signal): Use them.
1367 (proced-renice): New command bound to r.
1368
6fab0274
RW
13692012-09-23 Roland Winkler <winkler@gnu.org>
1370
1371 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1372 ibuffer-saved-filter-groups has one element, shortcut the call of
1373 completing-read. (Bug#12331)
1374
9a930676
CY
13752012-09-23 Chong Yidong <cyd@gnu.org>
1376
1377 * bindings.el (mode-line-toggle-read-only):
1378 * bs.el (bs-toggle-readonly):
1379 * buff-menu.el (Buffer-menu-toggle-read-only):
1380 * dired.el (dired-toggle-read-only):
1381 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1382
d07ff9db
CY
13832012-09-23 Chong Yidong <cyd@gnu.org>
1384
1385 * image.el (image-type-available-p): Adapt to init-image-library
1386 argument changes.
1387
51c4474e
JL
13882012-09-22 Juri Linkov <juri@jurta.org>
1389
1390 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1391 `dired-toggle-read-only'. (Bug#12462)
1392
43bf5e8e
MR
13932012-09-22 Martin Rudalics <rudalics@gmx.at>
1394
1395 * subr.el (temp-output-buffer-show): New function.
1396 (with-output-to-temp-buffer): Call temp-output-buffer-show
1397 instead of internal-temp-output-buffer-show.
1398
c88b867f
CY
13992012-09-22 Chong Yidong <cyd@gnu.org>
1400
3df47cd5
CY
1401 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1402 (Bug#12462).
1403
c88b867f
CY
1404 * repeat.el (repeat): Doc fix (Bug#12348).
1405
1406 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1407 (Bug#10909).
1408
1409 * simple.el (shell-command-on-region): Doc fix.
3171e303 1410 (read-only-mode): Doc fix.
c88b867f 1411
df9685f3
EZ
14122012-09-22 Eli Zaretskii <eliz@gnu.org>
1413
1414 * emacs-lisp/timer.el (run-with-idle-timer)
1415 (timer-activate-when-idle): Warn against reinvoking an idle timer
1416 from within its own timer action. (Bug#12447)
1417
8e17c9ba
MR
14182012-09-22 Martin Rudalics <rudalics@gmx.at>
1419
1420 * cus-start.el (window-combination-limit): Add new optional
1421 values.
1422 * window.el (temp-buffer-window-show)
1423 (window--try-to-split-window): Handle new values of
1424 window-combination-limit (Bug#1806).
1425 (split-window): Test window-combination-limit for t instead of
1426 non-nil.
1427 (display-buffer-at-bottom): New buffer display action function.
1428 * help.el (temp-buffer-resize-regexps): New option.
1429 (temp-buffer-resize-mode): Rewrite doc-string.
1430 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 1431 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 1432
48a24920
SM
14332012-09-22 Stefan Merten <smerten@oekonux.de>
1434
70efc5c9 1435 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
1436 (rst-official-version)
1437 (rst-package-emacs-version-alist): Sync with official version
1438 V1.4.0.
1439 (rst-faces-defaults, rst-set-level-default)
1440 (rst-level-face-max, rst-level-face-base-color)
1441 (rst-level-face-base-light, rst-level-face-format-light)
1442 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1443 (rst-adornment-faces-alist): Match new setup.
1444 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1445 (rst-level-5, rst-level-6): New faces.
1446
82f8cd94
CY
14472012-09-22 Chong Yidong <cyd@gnu.org>
1448
1449 * simple.el (undo): Handle indirect buffers (Bug#8207).
1450
acfa068f 14512012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
1452
1453 IDO: Disable match re-ordering for buffer switching.
2bc9406c 1454 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
1455 (ido-set-matches-1): Use it. (Bug#2042)
1456
acfa068f 14572012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
1458
1459 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1460 Fix 2011-05-17 change. (Bug#12418)
1461
acfa068f 14622012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
1463
1464 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1465
acfa068f 14662012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
1467
1468 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1469 Be more robust about locating simple.el.
1470
acfa068f 14712012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
1472
1473 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1474
acfa068f
CY
14752012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1476
1477 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1478
41a97e6f
JL
14792012-09-20 Juri Linkov <juri@jurta.org>
1480
eb2deaff
JL
1481 * replace.el (query-replace-read-from): Use `read-regexp' instead
1482 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1483 (occur-read-primary-args): Use `read-regexp' instead of
1484 `read-string'.
1485 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1486 `read-from-minibuffer'.
1487 * isearch.el (isearch-occur): Use `read-regexp' instead of
1488 `read-string'.
1489 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1490 `read-from-minibuffer'.
1491 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1492 of `read-string'. (Bug#7567)
1493
5825610b
JL
1494 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1495 and allow accepting a list of strings prepended to a list of
1496 standard default values. Doc fix. (Bug#12321)
1497
eebbf404
JL
1498 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1499
41a97e6f
JL
1500 * replace.el (read-regexp): Don't add ": " when PROMPT already
1501 ends with a colon and space. (Bug#12321)
1502
c9e452d3
TH
15032012-09-20 Tassilo Horn <tsdh@gnu.org>
1504
1505 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1506 error.
1507
ee97deee
SM
15082012-09-20 Stefan Merten <smerten@oekonux.de>
1509
70efc5c9 1510 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
1511 Fixes feature request bug#11711.
1512 (rst-mode): Create `imenu-create-index-function'.
1513 (rst-get-stripped-line): Delete after refactoring.
1514 (rst-section-tree, rst-section-tree-rec)
1515 (rst-section-tree-point): Refactor and document properly.
1516 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
1517 (rst-imenu-convert-cell, rst-imenu-create-index):
1518 New function.
ee97deee 1519
f490dab9
SM
15202012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1521
95b9712e
SM
1522 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1523 (macroexp--expand-all): Use it.
1524 (macroexp--funcall-and-return): Remove by folding it into its sole
1525 caller (macroexp--warn-and-return).
1526 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1527 Use macroexp--obsolete-warning.
1528
f490dab9
SM
1529 * calc/calc.el: Fix last change by removing the whole chunk, since it
1530 was only needed back when Calc was not bundled.
1531
96e8d411
MR
15322012-09-20 Martin Rudalics <rudalics@gmx.at>
1533
1534 * emacs-lisp/debug.el (debug): Restore assignment to
1535 debugger-old-buffer removed on 2012-09-08.
1536
0876a82d
JL
15372012-09-20 Juri Linkov <juri@jurta.org>
1538
1539 * dired-aux.el (dired-diff): Remove (require 'diff) since
1540 `diff-latest-backup-file' is now autoloaded.
1541
9f7c28f0
CY
15422012-09-20 Chong Yidong <cyd@gnu.org>
1543
1544 * vc/diff.el (diff-latest-backup-file): Autoload.
1545
7a04bee9
SM
15462012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1547
e6f0a80d
SM
1548 * calc/calc.el: Remove redundant autoload shape check.
1549 (sel-mode): Don't defvar.
1550 (calc-get-stack-element): Add `sel-mode' arg instead.
1551 (calc-top, calc-top-list): Pass it this additional argument.
1552 * calc/calc-store.el (calc-store-map):
1553 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1554 (calc-map-equation, calc-outer-product, calc-inner-product):
1555 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1556
7a04bee9
SM
1557 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1558
12734222
JL
15592012-09-19 Juri Linkov <juri@jurta.org>
1560
1561 * dired-aux.el (dired-diff): Add (require 'diff) because
1562 `diff-latest-backup-file' is not autoloaded.
1563 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1564 of `dired-get-filename' to t to not report error when there is
1565 no default file on the current line.
1566
46624b4f
SM
15672012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1568
ce97595b
SM
1569 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1570 macroexp--eval-if-compile.
1571 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1572 (macroexp--expand-all): Use them (bug#12371).
1573
46624b4f
SM
1574 * doc-view.el (doc-view-guess-paper-size)
1575 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1576
db8a5a18
TH
15772012-09-19 Tassilo Horn <tsdh@gnu.org>
1578
1579 New feature: set optimal slice from BoundingBox information.
1580 * doc-view.el (doc-view-mode-map): Add keybinding.
1581 (doc-view-menu): Add menu entry.
1582 (doc-view-set-slice): Adapt docstring.
1583 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1584 (doc-view-scale-bounding-box)
1585 (doc-view-set-slice-from-bounding-box): New functions.
1586 (doc-view-paper-sizes): New defvar.
1587
69f6644c
GM
15882012-09-19 Glenn Morris <rgm@gnu.org>
1589
35f5b19d
GM
1590 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1591 (byte-compile-log-warning): Autoload. (Bug#12371)
1592
69f6644c
GM
1593 * calendar/calendar.el (calendar-american-month-header)
1594 (calendar-european-month-header, calendar-iso-month-header)
1595 (calendar-month-header): New options.
1596 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1597 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1598
e543ae91
JD
15992012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1600
1601 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1602
2fd5e67d
JL
16032012-09-18 Juri Linkov <juri@jurta.org>
1604
1605 * dired-aux.el (dired-diff): Restore original functionality of
1606 getting the default value, but keep new feature of using the
1607 latest existing backup file (`diff-latest-backup-file').
1608
42917e79
JL
16092012-09-18 Juri Linkov <juri@jurta.org>
1610
1611 * dired.el (dired-mark): If the region is active in Transient Mark
1612 mode, mark all files in the active region. Doc fix.
1613 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1614 Doc fix. (Bug#10624)
1615
20f70ede
JL
16162012-09-18 Juri Linkov <juri@jurta.org>
1617
1618 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1619 attributes for M-n are pulled from the file at point.
1620 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1621 Suggested by Drew Adams. (Bug#10624)
1622
32fb8162
DG
16232012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1624
1625 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1626 whitespace after "end".
1627 (ruby-do-end-to-brace): Collapse block to one line if it fits
1628 within fill-column.
1629
37ab5092
MR
16302012-09-18 Martin Rudalics <rudalics@gmx.at>
1631
1632 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1633 value.
1634 (debug): Don't remove debugger window when debugger is expected
1635 to be back.
1636
ed1f0bd3
CY
16372012-09-18 Chong Yidong <cyd@gnu.org>
1638
1639 * custom.el (defface): Doc fix.
1640
1641 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1642
a11035b8
MB
16432012-09-18 Martin Blais <blais@furius.ca> (tiny change)
1644
1645 * progmodes/compile.el (compilation-start): Use compilation-always-kill
1646 to initialize query-on-exit; then test that instead (bug#12288).
1647
64f6a736
SM
16482012-09-17 Stefan Merten <smerten@oekonux.de>
1649
70efc5c9 1650 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
1651 (rst-defcustom-testcover, rst-testcover-add-compose)
1652 (rst-testcover-add-1value): New functions.
1653 (rst-portable-mark-active-p): Replace by `use-region-p'.
1654 (rst-update-section, rst-classify-adornment)
1655 (rst-find-title-line): Mark `1value' forms.
1656 (rst-classify-adornment): Remove superfluous form.
1657 (rst-update-section, rst-get-adornments-around)
1658 (rst-adornment-complete-p, rst-get-next-adornment)
1659 (rst-adjust, rst-promote-region)
1660 (rst-display-adornments-hierarchy, rst-straighten-adornments)
1661 (rst-find-pfx-in-region, rst-section-tree-rec)
1662 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1663 (rst-toc-node, rst-toc, rst-forward-section)
1664 (rst-iterate-leftmost-paragraphs)
1665 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1666 (rst-bullet-list-region)
1667 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1668 (rst-compile-find-conf, rst-compile)
1669 (rst-repeat-last-character): Fix style.
1670
580bd868
CY
16712012-09-17 Chong Yidong <cyd@gnu.org>
1672
1673 * comint.el (comint--complete-file-name-data): Don't add a space
1674 if the status is `sole'; that adds a gratuitous space in the
1675 completion-cycling case (Bug#12092).
1676
1677 * pcomplete.el (pcomplete-completions-at-point): Likewise.
1678
69de3ec6
RS
16792012-09-17 Richard Stallman <rms@gnu.org>
1680
0dee970c
RS
1681 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
1682 only in the mime-shown mode, not in raw mode.
1683 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 1684 mime processing. (Bug#12305)
0dee970c 1685
6b250df6
GM
1686 * mail/rmail.el (rmail-retry-failure):
1687 Turn off mime processing first. (Bug#12037)
acb1c47b 1688
69de3ec6
RS
1689 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1690
d079ee5f
CY
16912012-09-17 Chong Yidong <cyd@gnu.org>
1692
1693 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1694 (shell-dynamic-complete-functions): Convert to defcustom.
1695 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1696
865fe16f
CY
1697 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1698 * comint.el (comint-prompt-read-only):
1699 * custom.el (defcustom):
1700 * hi-lock.el (hi-lock-mode):
1701 * ibuffer.el (ibuffer-formats):
1702 * ielm.el (ielm-prompt-read-only):
1703 * novice.el (disable-command):
1704 * saveplace.el (toggle-save-place):
1705 * speedbar.el (speedbar-supported-extension-expressions):
1706 * startup.el (auto-save-list-file-prefix, init-file-user)
1707 (after-init-hook, inhibit-startup-echo-area-message):
1708 * strokes.el (strokes-help):
1709 * time-stamp.el (time-stamp):
1710 * calendar/calendar.el (calendar, diary-file):
1711 * calendar/diary-lib.el (diary-mail-entries, diary)
1712 (diary-list-entries-hook):
1713 * calendar/holidays.el (holidays, calendar-holidays):
1714 * calendar/lunar.el (lunar-phases):
1715 * calendar/solar.el (sunrise-sunset):
1716 * emulation/edt.el (edt-load-keys):
1717 * emulation/viper.el (viper-mode):
1718 * eshell/em-alias.el (eshell-command-aliases-list):
1719 * eshell/esh-util.el (eshell-convert-numeric-arguments):
1720 * international/ogonek.el (ogonek-information):
1721 * net/tramp-cmds.el (tramp-bug):
1722 * net/quickurl.el (quickurl-reread-hook-postfix):
1723 * play/decipher.el (decipher-font-lock-keywords):
1724 * progmodes/cc-styles.el (c-set-style):
1725 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
1726 * progmodes/inf-lisp.el (inferior-lisp-prompt):
1727 * progmodes/octave-mod.el (octave-mode):
1728 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
1729 * progmodes/verilog-mode.el (verilog-read-defines):
1730 * textmodes/two-column.el (2C-mode): Likewise.
1731
48093eb9
KY
17322012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
1733
1734 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
1735 that holds many addresses.
1736
c584eaf9
CY
17372012-09-16 Chong Yidong <cyd@gnu.org>
1738
40d70ecb
CY
1739 * align.el (align-areas): Call the indication function with
1740 positions instead of markers for arguments (Bug#12343).
1741
1667e065
CY
1742 * files.el (parse-colon-path): Use split-string (Bug#12351).
1743
fdc2806d 1744 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 1745 (display-buffer-function): Mark as obsolete.
fdc2806d 1746
f1be615c 1747 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
1748 values similar to font-lock-keywords (Bug#12136).
1749 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
1750 (compilation-error-regexp-alist): Doc fix.
1751
f40a9709
GM
17522012-09-15 Glenn Morris <rgm@gnu.org>
1753
72aa16e1
GM
1754 * version.el (emacs-bzr-version-bzr): New function.
1755 (emacs-bzr-get-version): Add optional EXTERNAL argument.
1756
82375160
GM
1757 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
1758 checkouts, check the parent dirstate matches the branch.
1759 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
1760 empty string.
1761
f40a9709
GM
1762 * version.el (emacs-bzr-version): Doc fix.
1763 (emacs-bzr-version-dirstate): New function.
1764 (emacs-bzr-get-version): For lightweight checkouts, if the parent
1765 is local try and check that it matches the branch. If not, just
1766 use dirstate information. (Bug#12441)
1767
cb26b7f5
JL
17682012-09-14 Juri Linkov <juri@jurta.org>
1769
1770 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
1771 (Bug#12399)
1772
2de39f08
SM
17732012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1774
0fb3cb7c
SM
1775 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
1776
2de39f08
SM
1777 * emacs-lisp/edebug.el: Miscellaneous cleanup.
1778 Remove obsolete byte-compiler hack that tried to silence some warnings.
1779 (edebug-submit-bug-report): Remove.
1780 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
1781 Remove aliases, use the un-prefixed name instead.
1782 (edebug-pop-to-buffer): Consider other frames.
1783 (edebug-original-read):: Make it more obvious that it's always defined.
1784 (edebug--make-form-data-entry, edebug--form-data-name)
1785 (edebug--form-data-begin, edebug--form-data-end): Rename from the
1786 single-dashed name, and implement with cl-defstruct.
1787 (edebug-set-form-data-entry): Use the standard accessors.
1788 (edebug-make-top-form-data-entry): Use push.
1789 (edebug-no-match): Drop useless `funcall'.
1790 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
1791 to functions.
1792 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
1793 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
1794 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
1795 (easy-menu-define, with-custom-print): Remove redundant specs.
1796 (edebug-outside-overriding-local-map)
1797 (edebug-outside-overriding-terminal-local-map): Remove, unused.
1798 (edebug--display): Bind unread-command-events directly to nil rather
1799 than binding it to unread-command-events and later setting it to nil.
1800 (edebug--display): Kill edebug-eval-buffer here...
1801 (edebug--recursive-edit): ...rather than here.
1802 Bind standard-output and standard-input.
1803 (edebug-eval): Check cl-macroexpand-all is fboundp.
1804 (edebug-temp-display-freq-count): Fix last change.
1805
1806 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
1807 * subr.el (noreturn, 1value): Add `debug' spec.
1808 * emacs-lisp/advice.el: Require cl-lib.
1809 (ad-copy-tree): Remove, use copy-tree instead.
1810 (ad-dolist): Remove use dolist or cl-dolist instead.
1811 (ad-do-return): Remove, use cl-return instead.
1812 (defadvice): Add `debug' spec.
1813
5b68b333
JL
18142012-09-13 Juri Linkov <juri@jurta.org>
1815
1816 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
1817 (Bug#12399)
1818
b9800ec4
GM
18192012-09-13 Glenn Morris <rgm@gnu.org>
1820
6a2e6868
GM
1821 * calc/calc.el (math-compose-expr):
1822 * calc/calc-ext.el (math-compose-expr):
1823 * progmodes/cc-defs.el (cl-macroexpand-all):
1824 * progmodes/cc-langs.el (delete-duplicates, mapcan)
1825 (cl-macroexpand-all): Update declarations.
1826
b9800ec4
GM
1827 * vc/vc.el: No need to require ediff.
1828 (ediff-load-version-control): Declare.
1829 (ediff-vc-internal): Fix declaration.
1830 (vc-version-ediff): Require ediff.
1831
c18e885b
PE
18322012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1833
1834 Use a more backwards-compatible timer format (Bug#12430).
1835 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
1836 being right after USECS, as that better supports old code that
1837 inadvisedly looked directly at the timer vector.
1838
d607d303
KH
18392012-09-13 Kenichi Handa <handa@gnu.org>
1840
1841 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
1842 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
1843 `coding-priority' property of these language environment.
1844
72eac303
PE
18452012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1846
1847 Fix glitches caused by addition of psec to timers (Bug#12430).
1848 * image.el (image-animate-timer):
1849 * time.el (display-time-world-timer):
1850 Use timer--function and timer--args rather than raw access to
1851 timer vector.
1852
2168fe4f
GM
18532012-09-13 Glenn Morris <rgm@gnu.org>
1854
1855 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
1856 If not compiling a file, try using load-file-name.
1857
bd8d6108
SM
18582012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1859
c0c54fbd
SM
1860 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
1861 Fix last change.
1862 (edebug-update-eval-list): Use `push'.
1863
bd8d6108
SM
1864 * emacs-lisp/edebug.el: Use lexical-binding.
1865 Remove the "edebug-" prefix from non-dynamically-scoped variables.
1866 Mark unused args with underscore.
1867 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
1868 (edebug-form-data): Use defvar-local.
1869 (edebug-make-before-and-after-form, edebug-make-after-form):
1870 Use backquote.
1871 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
1872 Not dynamically scoped any more.
1873 (edebug--enter-trace): Add arguments `function' and `args'.
1874 Rename from edebug-enter-trace.
1875 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
1876 (edebug--update-coverage): Add `after-index' and `value' args.
1877 Rename from edebug-update-coverage.
1878 (edebug-slow-after): Call it accordingly.
1879 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
1880 edebug-recursive-edit.
1881 (edebug--display): Call it accordingly. Add args `value',
1882 `offset-index', and `arg-mode'. Rename from edebug-display.
1883 (edebug-debugger, edebug): Call it accordingly.
1884 (edebug-eval-display-list): Use dolist.
1885
a9f9d9de
JL
18862012-09-12 Juri Linkov <juri@jurta.org>
1887
1888 * info.el (Info-search): Don't check for isearch-mode and
1889 isearch-regexp before let-binding search-spaces-regexp to
1890 Info-search-whitespace-regexp.
1891 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
1892 search-whitespace-regexp if isearch-lax-whitespace or
1893 isearch-regexp-lax-whitespace is non-nil.
1894 (Info-mode): Don't set local variable search-whitespace-regexp.
1895 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
1896
bfeae2cf
SM
18972012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1898
1899 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
1900 (debugger-env-macro): Remove support for unread-command-char.
1901
1902 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
1903 the temporary map re-appearing on emulation-mode-map-alists.
1904
1905 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
1906 since 22.1.
1907
1908 * ehelp.el (with-electric-help): Accept functions in
1909 electric-help-form-to-execute.
1910 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
1911 And replace unread-command-char -> unread-command-events.
1912
fbbcaf1b
MA
19132012-09-12 Michael Albinus <michael.albinus@gmx.de>
1914
1915 Sync with Tramp 2.2.6.
1916
1917 * net/tramp.el (tramp-accept-process-output): Don't use
1918 JUST-THIS-ONE in the XEmacs case.
1919
1920 * net/trampver.el: Update release number.
1921
4dece104
MR
19222012-09-12 Martin Rudalics <rudalics@gmx.at>
1923
bfeae2cf
SM
1924 * emacs-lisp/debug.el (debugger-previous-window-height):
1925 New variable.
4dece104
MR
1926 (debug): When debugger-jumping-flag is non-nil try to restore
1927 height of debugger window. (Bug#8789)
1928
45b82ad0
SM
19292012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1930
60c49c0f
SM
1931 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
1932 overriding-local-map and pre/post-command-hook here.
1933 (edebug-recursive-edit): Do it here instead (bug#12345).
1934 (edebug-outside-unread-command-char): Remove all uses of
1935 unread-command-char.
1936
45b82ad0
SM
1937 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
1938 inhibit-debugger is bound instead.
1939
baa26ea0
BG
19402012-09-11 Bastien Guerry <bzg@gnu.org>
1941
1942 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 1943 (Bug#12346)
baa26ea0 1944
04e8abfa
BG
19452012-09-11 Bastien Guerry <bzg@gnu.org>
1946
96d03571 1947 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 1948 (Bug#12347)
96d03571
BG
1949
19502012-09-11 Bastien Guerry <bzg@gnu.org>
1951
fc0c31f8 1952 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 1953
04e082b0
MM
19542012-09-10 Michael R. Mauger <mmaug@yahoo.com>
1955
1956 * progmodes/sql.el: Version 3.1
1957 (sql-db2-escape-newlines): New variable.
1958 (sql-escape-newlines-filter): Use it.
1959
399a361b
JB
19602012-09-10 Juanma Barranquero <lekktu@gmail.com>
1961
1962 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1963
0780c517
DN
19642012-09-10 Dan Nicolaescu <dann@gnu.org>
1965
45b82ad0
SM
1966 * vc/diff-mode.el (diff-mode-menu):
1967 Bind diff-remove-trailing-whitespace.
0780c517 1968
9b851e25
SM
19692012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1970
1971 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
1972 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
1973 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
1974 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1975 (eval-defun-2): Remove bogus interactive spec.
1976 (lisp-indent-line): Remove redundant whole-exp code, now done in
1977 indent-according-to-mode.
1978 (save-match-data): Remove redundant indent data.
1979
1980 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1981 Use `declare'.
1982
3231d532
JL
19832012-09-09 Juri Linkov <juri@jurta.org>
1984
1985 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1986 (replace-lax-whitespace, query-replace-regexp)
1987 (query-replace-regexp-eval, replace-regexp): Doc fix.
1988 (perform-replace, replace-highlight): Let-bind
1989 isearch-lax-whitespace to replace-lax-whitespace and
1990 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1991
1992 * isearch.el (isearch-query-replace): Let-bind
1993 replace-lax-whitespace to isearch-lax-whitespace and
1994 replace-regexp-lax-whitespace to
1995 isearch-regexp-lax-whitespace. (Bug#10885)
1996
70fe8236
SM
19972012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1998
1999 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2000
8ed43f15
AM
20012012-09-09 Alan Mackenzie <acm@muc.de>
2002
70fe8236
SM
2003 * progmodes/cc-engine.el (c-state-cache-init):
2004 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2005 (c-record-parse-state-state):
2006 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 2007
bfabf70a
AS
20082012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2009
2010 * register.el (register-separator): Rename from
2011 separator-register. All uses changed. Doc fix.
2012 (register): Fix version.
2013
011474aa
CY
20142012-09-09 Chong Yidong <cyd@gnu.org>
2015
2016 * replace.el (query-replace-map): Bind four new symbols for
2017 requesting window scrolling.
2018
2019 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2020 query-replace-map (Bug#8948).
2021
2022 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2023
2024 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2025 since they are now in query-replace-map.
2026
2027 * window.el (scroll-other-window-down): Make the arg optional.
2028
a8b7cd8d
CY
20292012-09-09 Chong Yidong <cyd@gnu.org>
2030
2031 * files.el (hack-local-variables-confirm): Use quit-window to kill
2032 the *Local Variables* buffer.
2033
c3268831
DG
20342012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2035
2036 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2037 not just expect to be at its beginning. Adjust callees.
2038 Succeed when do-end block has no space before the pipe character.
2039 (ruby-brace-to-do-end): When the original block is one-liner,
2040 convert to multiline. Reindent the result.
2041
0979429b
J
20422012-09-08 Jambunathan K <kjambunathan@gmail.com>
2043
2044 * register.el (register): New group.
27359e99 2045 (separator-register): New user option.
0979429b
J
2046 (increment-register): Route it to `append-to-register', if
2047 register contains text. Implication is that `C-x r +' can now be
2048 used for appending to a text register (bug#12217).
2049 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 2050 `separator-register'.
0979429b 2051
ace2989a
AM
20522012-09-08 Alan Mackenzie <acm@muc.de>
2053
2054 AWK Mode: make auto-newline work when there's "==" in the pattern.
2055 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2056 correctly.
0979429b
J
2057 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2058 Test more rigorously for "=" token.
ace2989a 2059
616c6c36
DG
20602012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2061
0979429b
J
2062 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2063 Only fail when reached LIMIT.
616c6c36 2064
35d98877
CY
20652012-09-08 Chong Yidong <cyd@gnu.org>
2066
2067 * dired.el (dired-mode-map): Don't bind M-=.
2068
2069 * dired-aux.el (dired-diff): Use backup file as default.
2070
1715f2db
DA
20712012-09-08 Drew Adams <drew.adams@oracle.com>
2072
2073 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2074
6dcef6ec
CY
20752012-09-08 Chong Yidong <cyd@gnu.org>
2076
2077 * subr.el (syntax-after, syntax-class): Doc fix.
2078
fa2bcf43
MR
20792012-09-08 Martin Rudalics <rudalics@gmx.at>
2080
2081 * window.el (display-buffer-in-previous-window): New buffer
2082 display action function.
2083
2084 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2085 (debugger-previous-window): New variable.
2086 (debug): Rewrite using display-buffer-in-previous-window,
2087 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2088
daac280a
SM
20892012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2090
2091 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2092
9dd40b00
MM
20932012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2094
daac280a
SM
2095 * progmodes/python.el (python-shell-send-string):
2096 When default-directory is remote, create temp file on remote
9dd40b00
MM
2097 filesystem.
2098 (python-shell-send-file): When file is remote, pass local view of
2099 file paths to remote Python interpreter. (Bug#12340)
2100
145823ec
CY
21012012-09-07 Chong Yidong <cyd@gnu.org>
2102
cee2e90d
CY
2103 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2104
0d7eb2ea
CY
2105 * files.el (after-find-file): Don't fail on a read-only buffer if
2106 require-final-newline is `visit' or `visit-save' (Bug#11156).
2107
145823ec
CY
2108 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2109
daac280a
SM
2110 * userlock.el (ask-user-about-supersession-threat):
2111 Use read-char-choice (Bug#12093).
145823ec 2112
74c582e6
CY
21132012-09-07 Chong Yidong <cyd@gnu.org>
2114
e5c2edf7
CY
2115 * subr.el (buffer-narrowed-p): New function.
2116
2117 * ses.el (ses-widen):
2118 * simple.el (count-words--buffer-message):
1f9f395d 2119 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
2120
2121 * simple.el (count-words-region): Don't signal an error if there
2122 is a non-nil prefix arg and the mark is not set.
c640e87d 2123
74c582e6
CY
2124 * help.el (describe-key-briefly): Allow the message to be seen
2125 when invoked from the minibuffer (Bug#7014).
2126
d81ceaaf
DG
21272012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2128
2129 * progmodes/ruby-mode.el (ruby-end-of-defun)
2130 (ruby-beginning-of-defun): Simplify, allow indentation before
2131 block beginning and end keywords.
8f06acce
DG
2132 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2133 (ruby-end-of-defun): Expect that the point is at the beginning of
2134 the defun.
d81ceaaf 2135
d458ef98
SM
21362012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2137
2138 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2139 (bug#12367).
2140 (cl--make-usage-args): Strip _ from argument names.
2141
20367d28
RS
21422012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2143
2144 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2145 obsolete alias speedbar-key-map.
2146 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2147 (vhdl-index-menu-init): Don't use obsolete variable
2148 font-lock-maximum-size.
2149
3424a4f6
CY
21502012-09-06 Chong Yidong <cyd@gnu.org>
2151
2152 * frame.el (window-system-version): Mark as obsolete.
2153
fcbfbdea
CY
2154 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2155 of obsolete variable speedbar-key-map.
2156
826b3235
JL
21572012-09-06 Juri Linkov <juri@jurta.org>
2158
2159 * replace.el (replace-lax-whitespace): New defcustom.
2160 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2161 (replace-string, replace-regexp): Mention it in docstrings.
2162 (perform-replace, replace-highlight): Let-bind
2163 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2164 to the values of replace-lax-whitespace and regexp-flag.
2165 Don't let-bind search-whitespace-regexp. (Bug#10885)
2166
2167 * isearch.el (isearch-query-replace): Let-bind
2168 replace-lax-whitespace instead of let-binding
2169 replace-search-function and replace-re-search-function.
2170 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2171 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2172 (isearch-toggle-symbol): Set isearch-regexp to nil
2173 in isearch-word mode (like in isearch-toggle-word).
2174
1ec5e41d
JL
21752012-09-06 Juri Linkov <juri@jurta.org>
2176
2177 * replace.el (replace-search-function)
2178 (replace-re-search-function): Set default values to nil.
2179 (perform-replace): Let-bind isearch-related variables based on
2180 replace-related values, call `isearch-search-fun' and let-bind
2181 the result to `search-function'. Remove code that sets
2182 `search-function' and `search-string' separately for
2183 `delimited-flag'.
2184 (replace-highlight): Add new argument `delimited-flag' and
2185 rename other arguments to the names used in `perform-replace'.
2186 Let-bind `isearch-word' to the argument `delimited-flag'.
2187 (Bug#10885, bug#10887)
2188
0ba2d4b6
DG
21892012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2190
2191 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2192 ruby-beginning-of-indent, simplify, allow all keywords to have
2193 indentation before them.
2194 (ruby-beginning-of-indent): Adjust for above. Search until the
2195 found point is not inside a string or comment.
2196 (ruby-font-lock-keywords): Allow symbols to start with "@"
2197 character, give them higher priority than variables.
2198 (ruby-syntax-propertize-function)
2199 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2200 matchers. Expression expansions are not comments when inside a
2201 string, and there comment syntax status is irrelevant.
2202 (ruby-match-expression-expansion): New function. Check that
2203 expression expansion is inside a string, and it's not escaped.
2204 (ruby-font-lock-keywords): Use it.
2205
ef654460
MR
22062012-09-05 Martin Rudalics <rudalics@gmx.at>
2207
2208 * help.el (temp-buffer-max-height): New default value.
2209 (temp-buffer-resize-frames): New option.
2210 (resize-temp-buffer-window): Optionally resize frame.
2211
2212 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2213 (fit-frame-to-buffer): New function.
2214
7e570fbf 22152012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
2216
2217 * emulation/cua-rect.el (cua--init-rectangles):
2218 * textmodes/picture.el (picture-mode-map):
2219 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2220 like forward-char and backward-char. (Bug#12317)
2221
7e570fbf 22222012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
2223
2224 * progmodes/flymake.el (flymake-warning-re): New variable.
2225 (flymake-parse-line): Use it.
2226
7e570fbf 22272012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
2228
2229 * calendar/holidays.el (holiday-christian-holidays):
2230 Rename an entry. (Bug#12289)
2231
7e570fbf 22322012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
2233
2234 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2235 (bug#12222).
2236
972debf2
SM
22372012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2238
2239 * loadup.el: Load macroexp. Remove hack.
2240 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2241 (macroexp--expand-all): Use it to get better warnings.
2242 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2243 (internal-macroexpand-for-load): New functions.
2244 (macroexp--pending-eager-loads): New var.
2245 (emacs-startup-hook): New hack to replace one in loadup.el.
2246 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2247 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2248 (cl-psetf): Simplify.
2249 (cl-defstruct): Add indent rule.
2250
8ce192e3
LI
22512012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2252
2253 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2254 over `user-mail-address' for the SMTP MAIL FROM envelope.
2255 (smtpmail-via-smtp): Ditto.
2256
6578b4d8
DG
22572012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2258
2259 * progmodes/ruby-mode.el: Clean up keybindings.
2260 (ruby-mode-map): Don't bind ruby-electric-brace,
2261 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2262 backward-kill-word, reindent-then-newline-and-indent.
2263 (ruby-mark-defun): Remove.
2264 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2265 (ruby-mode): Set local beginning-of-defun-function and
2266 end-of-defun-function values.
2267
c5e28e39
MR
22682012-09-03 Martin Rudalics <rudalics@gmx.at>
2269
2270 * window.el (temp-buffer-window-setup-hook)
2271 (temp-buffer-window-show-hook): New hooks.
2272 (temp-buffer-window-setup, temp-buffer-window-show)
2273 (with-temp-buffer-window): New functions.
972debf2
SM
2274 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2275 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
2276
2277 * help.el (temp-buffer-resize-mode): Fix doc-string.
2278 (resize-temp-buffer-window): New optional argument WINDOW.
2279
2280 * files.el (recover-file, save-buffers-kill-emacs):
2281 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2282
73406194
MA
22832012-09-02 Michael Albinus <michael.albinus@gmx.de>
2284
2285 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2286 remote definition of `default-directory', ensure we can connect.
2287
63dd1c6f
JL
22882012-09-02 Juri Linkov <juri@jurta.org>
2289
2290 Toggle whitespace matching mode with M-s SPC.
2291 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2292
2293 * isearch.el (search-whitespace-regexp): Doc fix.
2294 Remove cons cell customization.
2295 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2296 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2297 New variables.
2298 (isearch-forward, isearch-forward-regexp): Doc fix.
2299 (isearch-toggle-lax-whitespace): New command.
2300 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2301 (re-search-forward-lax-whitespace)
2302 (re-search-backward-lax-whitespace): New functions.
2303 (isearch-whitespace-regexp): Remove function.
2304 (isearch-query-replace): Let-bind replace-search-function and
2305 replace-re-search-function.
2306 (isearch-occur): Let-bind search-spaces-regexp according to the
2307 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2308 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2309 condition for C-q SPC.
2310 (isearch-search-fun-default): Use new functions mentioned above.
2311 (isearch-search-forward, isearch-search-backward): Remove functions.
2312 (isearch-search): Don't let-bind search-spaces-regexp.
2313 (isearch-lazy-highlight-space-regexp): Remove variable.
2314 (isearch-lazy-highlight-lax-whitespace)
2315 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2316 (isearch-lazy-highlight-new-loop): Use them.
2317 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2318
af7dda05
CY
23192012-09-02 Chong Yidong <cyd@gnu.org>
2320
2321 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2322
d67d3afd
GM
23232012-09-02 Glenn Morris <rgm@gnu.org>
2324
2325 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2326
69678719
GM
23272012-09-01 Glenn Morris <rgm@gnu.org>
2328
2329 * term.el: Tidy up menu definitions.
2330 (term-mode-map): Use easymenu for In/Out, Complete menus.
2331 (term-pager-break-map): Initialize in the defvar.
2332 (term-terminal-menu, term-signals-menu): Define with easymenu.
2333 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2334 (term-pager-menu): New, extracted from term-process-pager.
2335 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2336 (term-update-mode-line): Propertize line/char and page items.
2337 (term-process-pager): Move keymap initialization elsewhere.
2338
78dd6ab1
MR
23392012-09-01 Martin Rudalics <rudalics@gmx.at>
2340
2341 * window.el (switch-to-prev-buffer): Handle additional values of
2342 BURY-OR-KILL argument. Don't switch in minibuffer window.
2343 (switch-to-next-buffer): Don't switch in minibuffer window.
2344 (quit-restore-window): New function based on quit-window.
2345 Handle additional values of former KILL argument.
2346 (quit-window): Call quit-restore-window with appropriate
2347 interpretation of KILL argument.
2348 (display-buffer-below-selected): New buffer display action
2349 function.
2350
3d10e134
SM
23512012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2352
2353 * minibuffer.el (completion-at-point-functions): Complete docstring
2354 (bug#12254).
2355
0e23ef9d
PE
23562012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2357
2358 Better seed support for (random).
2359 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2360 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2361 * play/mpuz.el, play/tetris.el, play/zone.el:
2362 * calc/calc-comb.el (math-init-random-base):
2363 * play/blackbox.el (bb-init-board):
2364 * play/life.el (life):
2365 * server.el (server-use-tcp):
2366 * type-break.el (type-break):
2367 Remove unnecessary call to (random t).
2368 * net/sasl.el (sasl-unique-id-function):
2369 Change (random t) to (random), now that the latter is more random.
2370 * play/life.el (life-initialized): Remove no-longer-needed var.
2371
862382df
MR
23722012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2373
2374 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2375 Consider frame's buffer predicate when choosing the buffer.
2376 (Bug#12081)
2377
262a66e1
RS
23782012-08-30 Richard Stallman <rms@gnu.org>
2379
2380 * simple.el (special-mode-map): Delete binding for `z'.
2381
f17e1d00
AS
23822012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2383
2384 * progmodes/compile.el (compilation-always-kill): Doc fix.
2385
24777832
CY
23862012-08-30 Chong Yidong <cyd@gnu.org>
2387
2388 * window.el (display-buffer-reuse-frames): Make the obsolescence
2389 message more informative.
2390
69ba1f04
GM
23912012-08-30 Glenn Morris <rgm@gnu.org>
2392
2393 * paren.el (show-paren-delay):
2394 Add a :set function. Doc fix. (Bug#12297)
2395
f0019ede
MB
23962012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2397
2398 * progmodes/compile.el (compilation-always-kill): New var.
2399 (compilation-start): Use it.
2400
35e62fc9
SM
24012012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2402
af070a1c
SM
2403 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2404 * files.el (read-only-mode): Move to simple.el.
2405
35e62fc9
SM
2406 * files.el (read-only-mode): New minor mode.
2407 (toggle-read-only): Use it and mark obsolete.
2408 (find-file--read-only):
2409 * vc/vc.el (vc-next-action, vc-checkout):
2410 * vc/vc-cvs.el (vc-cvs-checkout):
2411 * obsolete/vc-mcvs.el (vc-mcvs-update):
2412 * ffap.el (ffap--toggle-read-only): Update callers.
2413
c2c43c23
MA
24142012-08-29 Michael Albinus <michael.albinus@gmx.de>
2415
2416 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
2417 remote shell scripts.
2418 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
2419
2420 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2421 "/usr/local/sbin".
2422
9fba804b
SM
24232012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2424
2425 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2426
eada0861 24272012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 2428
806f0cc7
LL
2429 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2430 completion-at-point. (Bug#12220)
2431
3bb213b9
LL
2432 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2433
22ab32ef
LL
2434 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2435
eada0861 24362012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 2437
19c17fc1
CY
2438 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2439 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 2440
eada0861 24412012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
2442
2443 * progmodes/hideif.el (hif-compress-define-list):
2444 Fix typo. (Bug#11951)
2445
eada0861 24462012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
2447
2448 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2449 buffer local setting.
2450
27d6c5a8
LL
2451 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2452 rcirc-encode-coding-system.
2453
eada0861 24542012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
2455
2456 * net/rcirc.el (rcirc-split-message): New function.
2457 (rcirc-send-message): Use it. (Bug#12051)
2458
d44688e4
JL
24592012-08-28 Juri Linkov <juri@jurta.org>
2460
2461 * info.el (Info-fontify-node): Hide empty lines at the end of
2462 the node. (Bug#12272)
2463
34f10d41
MR
24642012-08-27 Drew Adams <drew.adams@oracle.com>
2465
2466 * dired.el (dired-pop-to-buffer): Make window start at beginning
2467 of buffer (Bug#12281).
2468
77f1f99c
CY
24692012-08-26 Chong Yidong <cyd@gnu.org>
2470
2471 * window.el (special-display-regexps, special-display-frame-alist)
2472 (special-display-buffer-names, special-display-function)
2473 (display-buffer-reuse-frames): Mark as obsolete.
2474
2475 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2476
2477 * help.el (help-print-return-message): Don't treat
2478 display-buffer-reuse-frames specially.
2479
d97af5a0
CY
24802012-08-26 Chong Yidong <cyd@gnu.org>
2481
9fba804b
SM
2482 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2483 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
2484 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2485 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2486 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2487 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2488 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2489 the functions directly with gdb-display-buffer-other-frame-action.
2490 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2491 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2492 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2493 (gdb-display-registers-buffer): Define directly.
2494 (def-gdb-display-buffer): Macro deleted.
2495 (gdb-display-buffer): Remove second and third args, callers don't
2496 use them. Defer to the default display-buffer behavior, apart
2497 from making windows dedicated.
2498 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2499
2500 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2501
2502 * window.el (display-buffer-pop-up-frame): Handle a
2503 pop-up-frame-parameters alist entry.
2504 (display-buffer): Document it.
2505
dd7ffad6
CY
25062012-08-26 Chong Yidong <cyd@gnu.org>
2507
2508 * isearch.el (search-whitespace-regexp): Make string and nil
2509 values apply to both ordinary and regexp search. Allow a cons
2510 cell value to distinguish between the two.
2511 (isearch-whitespace-regexp, isearch-search-forward)
2512 (isearch-search-backward): New functions.
2513 (isearch-occur, isearch-search-fun-default, isearch-search)
2514 (isearch-lazy-highlight-new-loop): Use them.
2515 (isearch-forward, isearch-forward-regexp): Doc fix.
2516
4c47bd1e
CY
25172012-08-26 Chong Yidong <cyd@gnu.org>
2518
2519 * faces.el (help-argument-name): Always inherit from italic
2520 (Bug#12213).
2521
9aba119d
MR
25222012-08-25 Martin Rudalics <rudalics@gmx.at>
2523
2524 * window.el (window--even-window-heights): Even heights when
2525 WINDOW and the selected window form a vertical combination.
2526 (display-buffer-use-some-window): Provide that window used gets
2527 sized back by quit-window. (Bug#11880) and (Bug#12091)
2528
ca5256ad
PE
25292012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2530
2531 Fix file time stamp problem with bzr and CVS (Bug#12001).
2532 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2533 in the file's time stamp, since the version control system loses
2534 that information.
2535
d1c0d176
JL
25362012-08-22 Juri Linkov <juri@jurta.org>
2537
2538 * info.el (Info-fontify-node): Hide the suffix of the
2539 Info file name in the header line. (Bug#12187)
2540
141562ff
GM
25412012-08-22 Glenn Morris <rgm@gnu.org>
2542
2543 * calendar/cal-tex.el (cal-tex-weekly-common):
2544 Restore leading blank page.
2545
61a48e19 25462012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
2547
2548 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
2549 the region under `shift-select-mode'. (Bug#12231)
2550
25512012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
2552
2553 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2554 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2555 gives details on why the space is never needed.
2556
ea95074e
MR
25572012-08-22 Martin Rudalics <rudalics@gmx.at>
2558
9fba804b
SM
2559 * window.el (walk-window-tree, window-with-parameter):
2560 New optional argument MINIBUF to control whether these functions
ea95074e
MR
2561 should run on the minibuffer window.
2562 (window-at-side-list): Don't operate on minibuffer window.
2563 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
2564 (window--size-ignore): Rename to window--size-ignore-p.
2565 Update callers.
caceae25
MR
2566 (display-buffer-in-atom-window, window--major-non-side-window)
2567 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
2568 (delete-side-window, display-buffer-in-side-window):
2569 New functions.
caceae25
MR
2570 (window--side-check, window-deletable-p, delete-window)
2571 (delete-other-windows, split-window): Handle side windows and
2572 atomic windows appropriately.
2573 (window--display-buffer): Call display-buffer-record-window also
2574 when the window buffer did not change.
ea95074e 2575
80a51fa0
CS
25762012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2577
2578 * help-fns.el (help-fns--key-bindings):
2579 Abbreviate non-symbol remap targets. (Bug#12174)
2580
fbb6300b
MR
25812012-08-22 Martin Rudalics <rudalics@gmx.at>
2582
2583 * dired.el (dired-mark-remembered): Don't clobber point.
2584 (Bug#11795)
2585
2b2c0794
GM
25862012-08-22 Glenn Morris <rgm@gnu.org>
2587
2588 * progmodes/bug-reference.el (bug-reference): New custom group.
2589 (bug-reference-bug-regexp): Make it a defcustom.
2590
37219830
DU
25912012-08-22 Daiki Ueno <ueno@unixuser.org>
2592
2593 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2594 (js-paren-indent-offset, js-square-indent-offset)
2595 (js-curly-indent-offset): Add :safe (Bug#12257).
2596
94e0e559
EC
25972012-08-22 Edward O'Connor <hober0@gmail.com>
2598
2599 * json.el (json-key-format): Add error properties.
2600 (json-encode-key): New function.
2601 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2602 Use json-encode-key.
2603
da485f5e
GM
26042012-08-22 Glenn Morris <rgm@gnu.org>
2605
2606 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2607 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2608 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2609 Update for above change.
2610
c6cc78b8
AS
26112012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2612
2613 * cus-face.el (custom-face-attributes): Fix customize type for the
2614 :underline attribute. (Bug#11805)
2615
5481664a
MR
26162012-08-21 Martin Rudalics <rudalics@gmx.at>
2617
2618 * window.el (window-point-1, set-window-point-1): Remove.
2619 (window-in-direction, record-window-buffer)
2620 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
2621 (window--state-get-1, display-buffer-record-window):
2622 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
2623 window-point and set-window-point respectively.
2624
6d74698e
GM
26252012-08-21 Glenn Morris <rgm@gnu.org>
2626
b7fa2691
GM
2627 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2628 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2629 Use it.
2630
52f56d5a
GM
2631 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2632 (cal-tex-shortday): New function.
2633 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2634 (cal-tex-cursor-filofax-daily): Use the above.
2635
9f1ee09e
GM
2636 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2637 New functions.
2638 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2639 (cal-tex-cursor-filofax-week): Use them.
2640
79858159
GM
2641 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2642 New constants.
2643 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2644 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2645
d346b2b4
GM
2646 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2647 (cal-tex-end-document): Don't rely on buffer name.
2648
b2403709
GM
2649 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2650 Use cal-tex-vspace.
2651 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2652 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
2653 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2654 Use cal-tex-arg.
b2403709 2655
1cebb5c0
GM
2656 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2657 (cal-tex-cursor-week, cal-tex-cursor-week2)
2658 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2659 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2660 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2661 (cal-tex-insert-preamble, cal-tex-b-document)
2662 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2663 Improve cal-tex-cmd usage.
2664
c68cd5d4
GM
2665 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2666 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2667 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2668 (cal-tex-weekly-paper): New function.
2669 (cal-tex-cursor-week, cal-tex-cursor-week2)
2670 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2671 (cal-tex-cursor-day): Use it.
2672
9dca4801
GM
2673 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2674 (cal-tex-cursor-filofax-week): Remove leading blank page.
2675
1941e134
GM
2676 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2677 Add autoload cookie. For now at least, don't use color, since
2678 no other cal-tex function does.
2679
6d74698e
GM
2680 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2681 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2682 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2683
64cde199
JL
26842012-08-21 Juri Linkov <juri@jurta.org>
2685
2686 * info.el (Info-file-attributes): New variable.
2687 (info-insert-file-contents): Add file attributes to
2688 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2689 `Info-toc-nodes' when previous modtime of the Info file is less
2690 than new modtime.
2691 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2692 of info.el. (Bug#12230)
2693
32757648
GM
26942012-08-20 Glenn Morris <rgm@gnu.org>
2695
2696 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2697 * calendar/holidays.el (calendar-holiday-list):
2698 Report errors with display-warning rather than beep'n'sleep.
2699
a32fbbcf
MA
27002012-08-20 Michael Albinus <michael.albinus@gmx.de>
2701
2702 * net/tramp.el (tramp-accept-process-output): Accept only output
2703 from PROC. Otherwise, process filters and sentinels might be
2704 confused. (Bug#12145)
2705
a05731a0
CY
27062012-08-20 Chong Yidong <cyd@gnu.org>
2707
2708 * descr-text.el (describe-text-properties-1): Use overlays-in to
2709 report on empty overlays (Bug#3322).
2710
36e8d1eb
GM
27112012-08-20 Glenn Morris <rgm@gnu.org>
2712
3d300447
GM
2713 * mail/rmailout.el (rmail-output-read-file-name):
2714 Trap and report errors in rmail-output-file-alist elements.
2715
36e8d1eb
GM
2716 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2717 since most non-font-lock faces are not also variables).
2718
b96e5814
ER
27192012-08-20 Edward Reingold <reingold@iit.edu>
2720
2721 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2722 New function. (Bug12160)
2723
7cef3569
GM
27242012-08-19 Glenn Morris <rgm@gnu.org>
2725
2726 * mail/rmailout.el (rmail-output-read-file-name):
2727 Fix previous change (when the alist is nil or does not match).
2728
17975d7f
CY
27292012-08-19 Chong Yidong <cyd@gnu.org>
2730
2731 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2732 (Bug#12228).
2733
2170b1bd
CY
27342012-08-18 Chong Yidong <cyd@gnu.org>
2735
2736 * simple.el (yank-handled-properties): New defcustom.
2737 (yank-excluded-properties): Add font-lock-face and category.
2738 (yank): Doc fix.
2739
9fba804b
SM
2740 * subr.el (remove-yank-excluded-properties):
2741 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
2742 and category is now done this way, instead of being hard-coded.
2743 (insert-for-yank-1): Remove font-lock-face handling.
2744 (yank-handle-font-lock-face-property)
2745 (yank-handle-category-property): New function.
2746
ee218151
GM
27472012-08-17 Glenn Morris <rgm@gnu.org>
2748
2749 * mail/rmailout.el (rmail-output-read-file-name):
2750 Check rmail-output-file-alist against the full message body
2751 in the correct rmail buffer. (Bug#12214)
2752
4a6bc3fd
MA
27532012-08-17 Michael Albinus <michael.albinus@gmx.de>
2754
9fba804b
SM
2755 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2756 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 2757
383dcbf9
CY
27582012-08-17 Chong Yidong <cyd@gnu.org>
2759
2760 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2761 font spec, set the font directly (Bug#3228).
2762
998c4a6a
MR
27632012-08-17 Martin Rudalics <rudalics@gmx.at>
2764
2765 * window.el (delete-window): Fix last fix.
2766
52162052
MR
27672012-08-16 Martin Rudalics <rudalics@gmx.at>
2768
2769 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
2770 (window-child, window-child-count, window-last-child)
2771 (window-normalize-window, window-combined-p)
2772 (window-combinations, window-atom-root, window-min-size)
2773 (window-sizable, window-sizable-p, window-size-fixed-p)
2774 (window-min-delta, window-max-delta, window--resizable)
2775 (window--resizable-p, window-resizable, window-total-size)
2776 (window-full-height-p, window-full-width-p, window-body-size)
2777 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2778 (minimize-window, window-deletable-p, delete-window)
2779 (delete-other-windows, set-window-buffer-start-and-point)
2780 (next-buffer, previous-buffer, split-window, balance-windows-2)
2781 (set-window-text-height, window-buffer-height)
2782 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
2783 (truncated-partial-width-window-p): Minor code adjustments.
2784 In doc-strings state whether the argument window has to denote a
85c2386b 2785 live, valid or any window.
52162052 2786
1c308380
PS
27872012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2788
2789 * progmodes/subword.el (subword-forward-function)
2790 (subword-backward-function, subword-forward-regexp)
2791 (subword-backward-regexp): New variables.
2792 (subword-forward, subword-forward-internal, subword-backward-internal):
2793 Use new variables, eg so that different "word" definitions
2794 can be easily used. (Bug#11411)
2795
94c9ece1
SM
27962012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2797
2798 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2799 for composite selectors.
2800 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2801 operation just because we can't find a previous revision.
2802
f2045622
CY
28032012-08-15 Chong Yidong <cyd@gnu.org>
2804
2805 * frame.el (set-frame-font): Accept font objects.
2806
582db660
SM
28072012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2808
2809 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2810
2f29c200
WJ
28112012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2812
456e62c2
WJ
2813 * man.el (Man-overstrike-face, Man-underline-face)
2814 (Man-reverse-face): Remove variables.
2815 (Man-overstrike, Man-underline, Man-reverse): New faces.
2816 (Man-fontify-manpage): Use them instead of the variables.
2817 (Man-cleanup-manpage): Comment change.
2818 (Man-ansi-color-map): New variable.
2819 (Man-fontify-manpage): Use it.
2820 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2821
2f29c200
WJ
2822 Implement ANSI SGR parameters 22-27 (bug#12146).
2823 * ansi-color.el (ansi-colors): Doc fix.
2824 (ansi-color-context, ansi-color-context-region): Doc fix.
2825 (ansi-color--find-face): New function.
2826 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2827 Rename the local variable `face' to `codes' since it is now a list of
2828 ansi codes. Doc fix.
2829 (ansi-color-get-face): Remove.
2830 (ansi-color-parse-sequence): New function, derived from
2831 ansi-color-get-face.
2832 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2833 codes 22-27.
2834
b4f5e9df
SM
28352012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2836
2837 * subr.el (read-passwd): Allow use from a minibuffer.
2838
ba025fbd
EZ
28392012-08-14 Eli Zaretskii <eliz@gnu.org>
2840
2841 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2842 inside comments and strings as identifiers.
2843
2844 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2845 expression to evaluate. This allows to evaluate expressions with
2846 embedded whitespace.
2847 (gud-tooltip-tips): Add a blank before the newline in the
2848 message-box text, for the benefit of message-box emulation on
2849 MS-Windows.
2850
2851 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2852 messages from GDB, pop them up in a tooltip to give feedback to
2853 user.
b4f5e9df
SM
2854 (gdb-tooltip-print-1): Quote the expression to evaluate.
2855 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
2856 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2857 if the TTY name is nil or empty (which happens when communicating
2858 with the inferior via pipes, e.g. on MS-Windows).
2859 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2860 don't send that to the GUD buffer.
2861
c548f821
GM
28622012-08-14 Glenn Morris <rgm@gnu.org>
2863
2864 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2865 Optimize away setq-default with no args, as for setq. (Bug#12195)
2866
55802e4a
CY
28672012-08-14 Chong Yidong <cyd@gnu.org>
2868
4abcdac8
CY
2869 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2870
55802e4a
CY
2871 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2872 (Bug#12085).
2873
3c3cda1a
GM
28742012-08-14 Glenn Morris <rgm@gnu.org>
2875
2876 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2877
e1873bd0
MA
28782012-08-14 Michael Albinus <michael.albinus@gmx.de>
2879
2880 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2881 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2882 Use cached shell name.
2883
925411b4
FEG
28842012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2885
2886 * progmodes/python.el (python-shell-send-string):
3c3cda1a 2887 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 2888
e636fafe
DG
28892012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2890
2891 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2892 (ruby-percent-literal-beg-re): New constant.
2893 (ruby-syntax-general-delimiters-goto-beg): Rename to
2894 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2895 (ruby-syntax-propertize-general-delimiters): Rename to
2896 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2897 popular term. Adjust comments everywhere.
2898 (ruby-syntax-propertize-percent-literal): Only propertize when not
2899 inside a simple string or comment. When the literal is unclosed,
2900 leave the text after it unpropertized.
f063063a
DG
2901 (ruby-syntax-methods-before-regexp): New constant.
2902 (ruby-syntax-propertize-function): Use it to recognize regexps.
2903 Don't look at the text after regexp, just use the whitelist.
e636fafe 2904
e5b19827
AS
29052012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2906
2907 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2908 non-nil always load the compiled file if it exists. (Bug#12197)
2909
a9f6f311
CY
29102012-08-14 Chong Yidong <cyd@gnu.org>
2911
2912 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2913 (hi-lock-set-pattern): When deciding whether to use font lock or
2914 overlays, look at font-lock-mode instead of font-lock-fontified
2915 (Bug#12168).
2916 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2917 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2918
7d806b1e
DU
29192012-08-14 Daiki Ueno <ueno@unixuser.org>
2920
2921 * subr.el (internal--after-with-selected-window): Fix typo
2922 (Bug#12193).
2923
5beed586
FEG
29242012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2925
2926 Use `completion-table-dynamic' for completion functions.
2927 * progmodes/python.el
2928 (python-shell-completion--do-completion-at-point)
e636fafe
DG
2929 (python-shell-completion--get-completions):
2930 Remove functions.
5beed586
FEG
2931 (python-shell-completion-complete-at-point): New function.
2932 (python-completion-complete-at-point): Use it.
2933
92cb3b04
J
29342012-08-13 Jambunathan K <kjambunathan@gmail.com>
2935
2936 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2937 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2938
89660017
SM
29392012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2940
3c98c962
SM
2941 * subr.el (function-get): Refine `autoload' arg so it can also
2942 autoload functions for gv.el (bug#12191).
2943 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2944 autoloads macros.
2945
aa7c6dbe
SM
2946 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2947 Prefer pcase-let over destructuring-bind.
2948 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2949 Also, remove whitespace as we go, rather than after accumulating the
2950 various places.
2951
89660017
SM
2952 * subr.el (internal--before-with-selected-window)
2953 (internal--after-with-selected-window): Fix typo seleted->selected.
2954 (with-selected-window): Adjust callers.
2955 Reported by Dmitry Gutov <dgutov@yandex.ru>.
2956
31cd32c9
BG
29572012-08-13 Bastien Guerry <bzg@gnu.org>
2958
0fcd3d9f 2959 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
2960 enhancement. (Bug#12172)
2961
1b15d8ad
AS
29622012-08-13 Andreas Schwab <schwab@linux-m68k.org>
2963
31e54db0
AS
2964 * tar-mode.el (tar-header-data-end): Only ignore size for files of
2965 type 1-6.
2966 (tar-header-block-summarize, tar-get-descriptor): Handle pax
2967 extended headers.
2968
1b15d8ad
AS
2969 * files.el (hack-local-variables-filter): Remove useless eval.
2970
35cb9c06
MR
29712012-08-13 Martin Rudalics <rudalics@gmx.at>
2972
2973 * subr.el (with-selected-window): Fix last change.
2974
1439443b
SM
29752012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2976
2977 * subr.el (internal--before-with-seleted-window)
2978 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
2979 (with-selected-window): Use them, to replace dependency on
2980 tty-top-frame.
1439443b 2981
0d9e2599
NN
29822012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2983
2984 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2985 binding for `newline'.
2986 (ruby-move-to-block): When moving backward, stop at block opening,
2987 not indentation.
2988 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2989 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2990 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2991 `ruby-toggle-block'.
2992
ba10c48c
SM
29932012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2994
2995 * ibuffer.el (ibuffer-do-toggle-read-only):
2996 * dired.el (dired-toggle-read-only):
2997 * buff-menu.el (Buffer-menu-toggle-read-only):
2998 * bindings.el (mode-line-toggle-read-only):
2999 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3000
9229c658
AS
30012012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3002
3003 * descr-text.el (describe-char): Put the overlays over the
3004 "displayed as" character.
3005
0fd09128
JB
30062012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3007
3008 * calc/calc-units.el (math-default-units-table): Give an
3009 initial value.
3010 (math-put-default-units): Add options to put composite units and
3011 unit systems in the default units table.
3012 (calc-convert-units): Send composite units to
3013 `math-put-default-units' when appropriate.
3014
9ff9402d 30152012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 3016
fbb5e336
GM
3017 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3018
7aacaf15
GM
3019 * tutorial.el (help-with-tutorial):
3020 * emacs-lisp/copyright.el (copyright-update-directory):
3021 * emacs-lisp/autoload.el (autoload-find-generated-file)
3022 (autoload-find-file): Disable local eval: (for insurance).
3023
f40b9f10
GM
3024 * files.el (hack-local-variables-filter): If an eval: form is not
3025 known to be safe, and enable-local-variables is :safe, then ignore
3026 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 3027 This is CVE-2012-3479.
f40b9f10 3028
daa9f1a6
SM
30292012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3030
3031 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3032 (rx-form): Simplify.
3033
9cd80478
DG
30342012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3035
0d9e2599
NN
3036 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3037 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3038 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3039 (ruby-syntax-propertize-function): Adjust for changes in
3040 `ruby-syntax-propertize-heredoc'.
3041
30422012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3043
9cd80478
DG
3044 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3045 binding (use `M-;' instead).
9cd80478 3046 (ruby-singleton-class-p): New function.
0d9e2599 3047 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 3048
d301b413
SM
30492012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3050
3051 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3052
1530c98e
CY
30532012-08-10 Chong Yidong <cyd@gnu.org>
3054
3055 * progmodes/python.el (python-shell-get-process-name): Don't mess
3056 with same-window-buffer-names.
3057
3058 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3059 (eshell-remove-from-window-buffer-names): Make obsolete.
3060 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3061 (eshell): Just use pop-to-buffer-same-window instead.
3062
e1293765
CY
30632012-08-10 Chong Yidong <cyd@gnu.org>
3064
3065 * bindings.el: Bind M-= back to count-words-region.
3066
3067 * simple.el (count-words-region): Accept a prefix arg for acting
3068 on the entire buffer.
3069 (count-words--buffer-message): New helper function.
3070
e1894109
SM
30712012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3072
3073 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3074 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3075 (event-start, event-end): Use posn-at-point to return a more
3076 informative posn.
3077 (posnp): New function.
3078 * mouse.el (popup-menu-normalize-position): Use it.
3079
c69f56a2
MY
30802012-08-10 Masatake YAMATO <yamato@redhat.com>
3081
3082 * mouse.el (popup-menu-normalize-position): New function.
3083 (popup-menu): Use `popup-menu-normalize-position' to normalize
3084 the form for POSITION argument.
3085
3086 * term/x-win.el (x-menu-bar-open):
3087 Use the value returend from (posn-at-point) as position
3088 passed to `popup-menu'.
3089
31673780
JB
30902012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3091
3092 * calc/calccomp.el (math-compose-expr): Add extra argument
3093 indicating that parentheses should be put around products in
3094 denominators. Give multiplication precedence over division during
3095 composition.
3096
dab7711b
CY
30972012-08-09 Chong Yidong <cyd@gnu.org>
3098
dee4ef93
CY
3099 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3100 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3101 (Man-untabify-command, manual-program): Convert to defcustom
3102 (Bug#10429).
3103
73e2bbc5
CY
3104 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3105
3e861c8a
CY
3106 * descr-text.el (describe-char): Don't insert extra newlines
3107 (Bug#10127).
3108
a9f5a649
CY
3109 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3110 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3111
dab7711b
CY
3112 * align.el (align-region): Delete temporary markers (Bug#10047).
3113 Plus some code cleanups.
3114
e0cc4efa
FEG
31152012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3116
3117 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3118 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3119 (python-shell-internal-last-output): Use make-local-variable
3120 instead of make-variable-buffer-local.
3121
489af14f
FEG
31222012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3123
3124 * progmodes/python.el: Enhancements to forward-sexp.
3125 (python-nav-forward-sexp): Rename from
3126 python-nav-forward-sexp-function.
c69f56a2
MY
3127 (python-nav--forward-sexp, python-nav--backward-sexp):
3128 New functions.
489af14f 3129
0fc50303
JB
31302012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3131
3132 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3133 modes and simplification modes.
3134
5d65606a
SM
31352012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3136
3137 * delsel.el (delete-selection-pre-hook): Don't propagate the
3138 file-supersession signals (bug#12161).
3139
4250fdf5
SM
31402012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3141
3142 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3143 (cl-map-extents): Add compatibility aliases (bug#12135).
3144
d9f9b465
MA
31452012-08-08 Michael Albinus <michael.albinus@gmx.de>
3146
3147 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3148 tests by `ignore-error'.
3149 (tramp-find-shell): Open also a new shell, when cache is already
3150 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3151
ce0fcefa
JL
31522012-08-08 Juri Linkov <juri@jurta.org>
3153
3154 * bookmark.el: Add `defaults' property to the bookmark record.
3155 (bookmark-current-buffer): Doc fix.
3156 (bookmark-make-record): Add `defaults' property with default values
3157 to the bookmark record.
3158 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3159 with `bookmark-insert-current-bookmark'.
3160 (bookmark-set): Get `defaults' property from the bookmark record
3161 and use it in `read-from-minibuffer'.
3162 (bookmark-insert-current-bookmark): Remove function.
3163
3164 * info.el (Info-bookmark-make-record): Add `defaults' property
3165 with values of canonical Info node name, the current Info file
3166 name and the current Info node name. (Bug#12107)
3167
53fa8652
JL
31682012-08-08 Juri Linkov <juri@jurta.org>
3169
3170 * files.el (basic-save-buffer): Use `buffer-name' as the default
3171 of `read-file-name' when buffer is not visiting a file (bug#12128).
3172
242c0a95
JL
31732012-08-08 Juri Linkov <juri@jurta.org>
3174
3175 * info.el (Info-isearch-search): Doc fix.
3176 (Info-search): Change search-failed message from "initial node" to
3177 "end of node" (bug#12078).
3178 (Info-isearch-search): Change `isearch-string-state' to
3179 `isearch--state-string'.
3180
32ac3a6b
GM
31812012-08-08 Glenn Morris <rgm@gnu.org>
3182
3183 * language/persian.el: Remove file.
f8c1afd5 3184 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
3185 * loadup.el: Remove language/persian.
3186
2c2d9c9c
OF
31872012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3188
3189 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3190
2d79ec42
FEG
31912012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3192
3193 * progmodes/python.el Fixed defsubst warning.
3194 (python-syntax-context) Rename from python-info-ppss-context.
3195 (python-syntax-context-type): Rename from
3196 python-info-ppss-context-type.
3197 (python-syntax-comment-or-string-p): Rename from
3198 python-info-ppss-comment-or-string-p.
3199
2bd255dd
JB
32002012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3201
3202 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3203
c395097f
AS
32042012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3205
6125983e
AS
3206 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3207 a defcustom that is quoted with backquote.
3208
4250fdf5
SM
3209 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3210 Fix handling of interactive spec when the body uses return.
651eaf36
AS
3211 (math-do-arg-check, math-define-function-body): Use backquote forms.
3212 * calc/calc-ext.el (math-defcache): Likewise.
3213 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3214 * allout.el (allout-new-exposure): Likewise.
3215 * calc/calcalg2.el (math-tracing-integral): Likewise.
3216 * info.el (Info-last-menu-item): Likewise.
3217 * emulation/vip.el (vip-loop): Likewise.
3218 * textmodes/artist.el (artist-funcall): Likewise.
3219 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3220 Construct menu-item directly.
3221
4250fdf5
SM
3222 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3223 Don't declare.
c395097f 3224
5fb50dd3
CY
32252012-08-07 Chong Yidong <cyd@gnu.org>
3226
3227 * simple.el (deactivate-mark): Preserve text properties when
3228 saving the primary selection (Bug#8384).
3229
54eea618
KR
32302012-08-07 Kevin Ryde <user42@zip.com.au>
3231
3232 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3233 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3234 and continue processing (Bug#12110).
3235
638eaeb9
SM
32362012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3237
3238 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3239 syntax-propertize-function (bug#10095).
3240
ea376861
SM
32412012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3242
f91b35be
SM
3243 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3244 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3245 describe-function-1.
3246 (describe-function-1): Use them. Move compiler macro after sig.
3247 (help-fns--compiler-macro): Use function-get. Assume we're already in
3248 standard-output. Adjust layout to new call order.
3249
ea376861
SM
3250 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3251 re-binding a symbol that has a symbol-macro (bug#12119).
3252
d5be7bd0
MB
32532012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3254
3255 * language/persian.el: New file. (Bug#11812)
3256 * loadup.el: Add language/persian.el.
3257
90749b53
CY
32582012-08-06 Chong Yidong <cyd@gnu.org>
3259
3260 * window.el (window--maybe-raise-frame): New function.
3261 (window--display-buffer): Split off from here.
3262 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3263 (display-buffer-pop-up-window, display-buffer-use-some-window):
3264 Obey an inhibit-switch-frame action alist entry.
3265 (display-buffer): Update doc.
3266
3267 * replace.el (occur-after-change-function): Avoid losing focus by
3268 using the inhibit-switch-frame display parameter (Bug#12139).
3269
ba7b0154
FEG
32702012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3271
3272 Make internal shell process buffer names start with space.
3273 * progmodes/python.el (python-shell-make-comint): Add optional
3274 argument INTERNAL.
3275 (run-python-internal): Use it.
3276 (python-shell-internal-get-or-create-process): Check for new
3277 internal buffer names.
3278
5eaeacb5
GM
32792012-08-06 Glenn Morris <rgm@gnu.org>
3280
e296d94b 3281 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
3282 Do less getting and setting of environment variables.
3283
b7ccbdc2
CY
32842012-08-05 Chong Yidong <cyd@gnu.org>
3285
777fe95e
CY
3286 * proced.el (proced): Add substitution string to docstring to
3287 trigger autoloading of the proced library on C-h f (Bug#1768).
3288
4250fdf5
SM
3289 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3290 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
3291
3292 * imenu.el (imenu-generic-expression): Move documentation here
3293 from imenu--generic-function.
3294 (imenu--generic-function): Refer to imenu-generic-expression.
3295
9e3b7800 32962012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
3297
3298 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3299 indentation declaration.
3300 (viper-loop): Add indentation declaration (Bug#7025).
3301
e5d9c0d1
CY
33022012-08-05 Chong Yidong <cyd@gnu.org>
3303
f0422feb
CY
3304 * help-fns.el (describe-variable): Add hyperlink for
3305 directory-local variables files. Improve buffer-local and
3306 permanent-local reporting; suggested by MON KEY (Bug#6644).
3307
3308 * help-mode.el (help-dir-local-var-def): New button type.
3309
e5d9c0d1
CY
3310 * files.el (kill-buffer-hook): Provide a defvar.
3311
a4f2deaa
GM
33122012-08-05 Glenn Morris <rgm@gnu.org>
3313
3314 * eshell/esh-ext.el (eshell/addpath):
3315 Also update eshell-path-env. (Bug#12013)
3316
a9dd5754
CY
33172012-08-05 Chong Yidong <cyd@gnu.org>
3318
a4f2deaa 3319 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 3320
d014c740
CY
3321 * fringe.el (fringe-styles): Add docstring.
3322 (fringe--check-mode): New function.
3323 (set-fringe-mode, set-fringe-style): Use it.
3324 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3325
a9dd5754
CY
3326 * files.el (set-auto-mode): Fix invalid setq call.
3327
7c2dc8bd
SM
33282012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3329
3330 * isearch.el: Misc simplification; use defstruct.
3331 (isearch-mode-map): Dense maps now work like sparse ones.
3332 (isearch--state): New defstruct.
3333 (isearch-string-state, isearch-message-state, isearch-point-state)
3334 (isearch-success-state, isearch-forward-state)
3335 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3336 (isearch-wrapped-state, isearch-barrier-state)
3337 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3338 replaced by defstruct's accessors.
3339 (isearch--set-state): Rename from isearch-top-state and change
3340 calling convention.
3341 (isearch-push-state): Use new isearch--get-state.
3342 (isearch-toggle-word): Disable regexp when enabling word.
3343 (isearch-message-prefix): Remove unused arg _c-q-hack.
3344 (isearch-message-suffix): Remove unused arg _ellipsis.
3345
7fcc0070
AS
33462012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3347
3348 * simple.el (list-processes--refresh): For a server use :host or
3349 :local as the address.
97ad0769 3350 (list-processes): Doc fix.
7fcc0070 3351
a11035b8 33522012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
3353
3354 * lisp/mpc.el: Support password in host argument.
3355 (mpc--proc-connect): Parse and use new password element.
3356 Set mpc-proc variable instead of returning process.
3357 (mpc-proc): Adjust accordingly.
3358
6dad7178
EZ
33592012-08-03 Eli Zaretskii <eliz@gnu.org>
3360
18949c2f
EZ
3361 * whitespace.el (whitespace-display-mappings): Use Unicode
3362 codepoints, instead of emacs-mule codepoints. See
3363 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3364 for the details.
3365
6dad7178
EZ
3366 * files.el (file-truename): Don't skip symlink-chasing part on
3367 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
3368 Windows into the loop that recursively chases symlinks.
3369 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
3370 MS-DOS.
3371
385b0198
CY
33722012-08-03 Chong Yidong <cyd@gnu.org>
3373
6200f3c4
CY
3374 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3375
385b0198
CY
3376 * sort.el (sort-regexp-fields): Doc fix.
3377
b9e74744
TH
33782012-08-03 Tassilo Horn <tsdh@gnu.org>
3379
3380 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3381 labels regex position point at the expected place.
3382
41013cb4
MK
33832012-08-03 MON KEY <monkey@sandpframing.com>
3384
3385 * net/imap.el (imap-interactive-login, imap-authenticate)
3386 (imap-mailbox-lsub, imap-mailbox-list)
3387 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3388 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3389 (imap-parse-response): Doc fix.
3390
0ffee616
JT
33912012-08-03 João Távora <joaotavora@gmail.com>
3392
3393 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3394 if sexp scanning does not move point (Bug#5734).
3395
cfcc9cc8
TH
33962012-08-02 Tassilo Horn <tsdh@gnu.org>
3397
3398 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3399 Add listings, minted, and ctable packages.
3400 (reftex-label-alist-builtin): Move listings, minted, and ctable
3401 entries before LaTeX.
a01bbb84 3402 (reftex-label-alist): Docfix.
cfcc9cc8 3403
66ec2442
BG
34042012-08-02 Bastien Guerry <bzg@gnu.org>
3405
3406 * replace.el (occur): Fix docstring (bug#12122).
3407
837b365b
GM
34082012-08-02 Glenn Morris <rgm@gnu.org>
3409
3410 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3411
e098de97
PE
34122012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3413
3414 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3415 * international/mule-cmds.el: Create
3416 inactivate-current-input-method-function as an obsolete alias for
3417 deactivate-current-input-method-function. See Katsumi Yamaoka in
3418 <http://bugs.gnu.org/10150#46>.
3419
a0f95636
JB
34202012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3421
3422 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3423 of nested `if's.
3424
0d26d7c4
GM
34252012-08-01 Glenn Morris <rgm@gnu.org>
3426
3427 * progmodes/autoconf.el (autoconf-definition-regexp):
3428 Add AH_TEMPLATE, adjust submatch numbering.
3429 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3430 (autoconf-current-defun-function): Update for above change.
3431 (autoconf-current-defun-function): First skip to end of current word.
3432
b686ba06
RS
34332012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3434
3435 * calendar/cal-html.el (cal-html-insert-agenda-days):
3436 Fix typo. (Bug#12018)
3437
0d49da68
FEG
34382012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3439
3440 Shell processes: enhancements to startup and CEDET compatibility.
3441 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3442 (python-shell-make-comint): accept-process-output at startup.
3443 (run-python-internal): Set inferior-python-mode-hook to nil.
3444 (python-shell-internal-get-or-create-process): call sit-for.
3445 (python-preoutput-result): Add obsolete alias.
3446 (python-shell-internal-send-string): Use it.
3447 (python-shell-send-setup-code): Remove call to
3448 accept-process-output.
3449
f1a71c6e
AS
34502012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3451
3452 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3453 (Bug#12108)
3454
d2605269
JB
34552012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3456
3457 * calc-mode.el (calc-basic-simplification-mode): Rename from
3458 `calc-limited-simplification-mode'.
3459 (calc-alg-simplification-mode): New function.
fc0c31f8 3460 (calc-set-simplify-mode): Adjust message.
f1a71c6e 3461
d2605269
JB
3462 * calc.el (calc-set-mode-line): Adjust mode line display for
3463 basic simplification mode.
3464
3465 * calc-help.el (calc-m-prefix-help): Update help message.
3466
3467 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3468 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3469
a3827a43
BG
34702012-07-31 Bastien Guerry <bzg@gnu.org>
3471
3472 * man.el (man): Fix comment. (bug#12101)
3473
502e3f89
MR
34742012-07-31 Martin Rudalics <rudalics@gmx.at>
3475
3476 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3477 Don't return a non-nil value when no suitable buffer was found.
3478
d7714961
FEG
34792012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3480
3481 * progmodes/python.el (run-python-internal): Disable font lock for
3482 internal shells.
3483
1f45e27e
SM
34842012-07-30 Stefan Merten <smerten@oekonux.de>
3485
70efc5c9 3486 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
3487 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3488 (rst-official-version, rst-official-cvs-rev)
3489 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3490 (rst-mode-map): New key binding.
3491
0aee6912
PE
34922012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3493
3494 Update .PHONY listings in makefiles.
3495 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3496 autoloads, update-subdirs, updates, bzr-update, update-authors,
3497 compile-onefile, compile-calc, backup-compiled-files,
3498 compile-after-backup, compile-one-process, mh-autoloads,
3499 bootstrap-clean, distclean, maintainer-clean.
3500
9052f9f0
JB
35012012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3502
1823ac5a
JB
3503 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3504 (calc-set-mode-line): Don't display "AlgSimp ".
3505
3506 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3507 (calc-lim-simplify-mode): New function.
3508 (calc-set-simplify-mode): Default to 'alg.
3509 (calc-default-simplify-mode): Make algebraic simplifications
3510 the default.
3511
3512 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3513 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3514
8d7c7eed 3515 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
3516 indicate new simplification modes.
3517
1823ac5a
JB
3518 * calc/README: Mention new default simplification mode.
3519
9052f9f0
JB
3520 * calc/calc.el (math-normalize-error): New variable.
3521 (math-normalize): Set `math-normalize-error' to t
3522 when there's an error.
3523
3524 * calc/calc-alg.el (math-simplify): Don't simplify when
3525 `math-normalize' returns an error.
3526
20ba0cb4
EZ
35272012-07-29 Eli Zaretskii <eliz@gnu.org>
3528
3529 * international/mule-cmds.el (set-locale-environment): Revert last
3530 change, since display-graphic-p returns nil when this function is
3531 called during startup. Instead...
3532
3533 * term/w32console.el (terminal-init-w32console): ...setup the
3534 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3535
a5dcc929
JL
35362012-07-29 Juri Linkov <juri@jurta.org>
3537
3538 * simple.el (goto-line): Don't display default line number in the
3539 prompt because it should be displayed by `read-number' (bug#9952).
3540 Add the current line number to the defaults of `goto-line' to
3541 allow its easier modification by users with `M-n' (bug#9201).
3542
3543 * subr.el (read-number): Support multiple default values like in
3544 other minibuffer reading functions. Replace `read' with
3545 `string-to-number' for consistency with `number-to-string'.
3546
72b255c7
PE
35472012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3548
3549 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3550 * emulation/viper-init.el (viper-deactivate-input-method-action):
3551 Rename from viper-inactivate-input-method-action.
3552 (viper-deactivate-input-method):
3553 Rename from viper-inactivate-input-method.
3554 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3555 * international/mule-cmds.el (deactivate-input-method):
3556 Rename from inactivate-input-method.
3557 Also run input-method-deactivate-hook.
3558 (deactivate-current-input-method-function):
3559 Rename from inactivate-current-input-method-function.
3560 (input-method-deactivate-hook): New hook.
3561 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
3562 (inactivate-input-method): Mark obsolete.
3563
72b255c7
PE
3564 * international/quail.el (quail-activate):
3565 Also run quail-deactivate-hook.
3566 (quail-deactivate): Rename from quail-inactivate.
3567 * international/robin.el (robin-activate):
3568 Also run robin-deactivate-hook.
3569 (robin-deactivate): Rename from robin-inactivate.
3570
2549c068
CY
35712012-07-29 Chong Yidong <cyd@gnu.org>
3572
3573 * simple.el (indicate-copied-region): New function.
3574 (kill-ring-save): Split off from here.
3575
3576 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3577 (kill-rectangle): Set deactivate-mark to t on read-only error.
3578
3579 * register.el (copy-to-register, copy-rectangle-to-register):
3580 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
3581 (append-to-register, prepend-to-register): Call indicate-copied-region.
3582
35832012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
3584
3585 * simple.el (async-shell-command-buffer): New defcustom.
3586 (shell-command): Use it. (Bug#4719)
3587
01bd1b0d
EZ
35882012-07-28 Eli Zaretskii <eliz@gnu.org>
3589
3590 * international/mule-cmds.el (set-locale-environment): In a
3591 console session on MS-Windows, set up keyboard and terminal
3592 encoding from the OEM codepage, not the ANSI codepage.
3593 (Bug#12055)
3594
a55739d3
CY
35952012-07-28 Chong Yidong <cyd@gnu.org>
3596
3597 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3598 gdb-get-location.
3599
0e1a094f 36002012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
3601
3602 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3603 the alist (bug#12029).
3604
20329d73
EZ
36052012-07-28 Eli Zaretskii <eliz@gnu.org>
3606
3607 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3608 (compile-always, compile-first)
3609 ($(lisp)/calendar/cal-loaddefs.el)
3610 ($(lisp)/calendar/diary-loaddefs.el)
3611 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3612 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3613 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3614 instead of on update-subdirs.
3615 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3616
345a2258
CY
36172012-07-28 Chong Yidong <cyd@gnu.org>
3618
1eee6341
CY
3619 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3620 directory if vc-deduce-backend returns nil (Bug#7350).
3621
345a2258
CY
3622 * simple.el (delete-trailing-lines): New option.
3623 (delete-trailing-whitespace): Obey it (Bug#11879).
3624
049a0936
DE
36252012-07-28 David Engster <deng@randomsample.de>
3626
3627 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3628 Explanation of new 'symbol-qnames feature in doc-strings.
3629 (xml-maybe-do-ns): Return expanded names as plain symbols if
3630 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3631 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3632
aa81af71
FEG
36332012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3634
3635 Consistent completion in inferior python with emacs -nw.
3636 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3637 binding in inferior-python-mode-map with "\t".
3638 (python-shell-completion-complete-at-point)
3639 (python-completion-complete-at-point): Remove interactive spec.
3640
e827b1eb
JB
36412012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3642
3643 * calc/calccomp.el (math-compose-expr): Undo previous change.
3644
a90dfb95
FEG
36452012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3646
4250fdf5 3647 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
3648 run-python.
3649 (python-shell-make-comint): Fix pop-to-buffer call.
3650 (run-python): Autoload. New arg SHOW.
3651 (python-shell-get-or-create-process): Do not pop python process
3652 buffer.
3653
32770973 36542012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
3655
3656 * notifications.el (notifications-on-action-signal)
3657 (notifications-on-closed-signal): Use also the bus address for the map.
3658 (notifications-notify, notifications-close-notification)
fc0c31f8 3659 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 3660
86332df2
TH
36612012-07-27 Tassilo Horn <tsdh@gnu.org>
3662
4250fdf5
SM
3663 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3664 Add support for the lstlisting and minted environments, and for the
86332df2
TH
3665 ctable macro.
3666 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3667 labels written in keyvals syntax.
3668
ca1302a4
JB
36692012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3670
3671 * calc/calccomp.el (math-compose-expr): Use parentheses when
3672 there is a product in the denominator of a fraction.
3673
f8b91036
EZ
36742012-07-26 Eli Zaretskii <eliz@gnu.org>
3675
3676 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3677 ($(lisp)/calendar/diary-loaddefs.el)
3678 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
3679 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3680 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
3681 rewritten while the autoload files are built at the same time,
3682 which needs to load subdirs.el.
3683
c8e5a42c
MR
36842012-07-26 Martin Rudalics <rudalics@gmx.at>
3685
3686 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3687 (mouse-drag-line): Don't exit tracking when a switch-frame or
3688 switch-window event occurs (Bug#12006).
3689
670d85ea
SM
36902012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3691
3692 * mouse.el (popup-menu): Fix last change.
3693
7abaf5cc
SM
36942012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3695
3696 Autoload from Lisp with more care. Follow aliases when looking for
3697 function properties.
3698 * subr.el (autoloadp): New function.
3699 (symbol-file): Use it.
3700 (function-get): New function.
3701 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3702 autoload-do-load.
3703 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3704 (lisp-indent-function):
3705 * emacs-lisp/gv.el (gv-get):
3706 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3707 * emacs-lisp/byte-opt.el (byte-optimize-form):
3708 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3709 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3710 Use function-get.
3711 * emacs-lisp/cl.el: Don't propagate function properties any more.
3712
3713 * speedbar.el (speedbar-add-localized-speedbar-support):
3714 * emacs-lisp/disass.el (disassemble-internal):
3715 * desktop.el (desktop-load-file):
3716 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3717 (describe-function-1):
3718 * emacs-lisp/find-func.el (find-function-noselect):
3719 * emacs-lisp/elp.el (elp-instrument-function):
3720 * emacs-lisp/advice.el (ad-has-proper-definition):
3721 * apropos.el (apropos-safe-documentation, apropos-macrop):
3722 * emacs-lisp/debug.el (debug-on-entry):
3723 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3724 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3725 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3726
b1364986
AA
37272012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3728
3729 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3730 function, not an obsolete variable (Bug#12046).
3731
67ada220
AS
37322012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3733
3734 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3735
f08088e3
CS
37362012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3737
3738 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3739 window only if it is still live (Bug#12034).
3740
8137e7b3
MR
37412012-07-25 Martin Rudalics <rudalics@gmx.at>
3742
3743 * subr.el (redirect-frame-focus): Add advertised calling
3744 convention (Bug#12030).
3745
09ae5da1
PE
37462012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3747
3748 Prefer typical American spelling for "acknowledgment".
3749 * vc/add-log.el (change-log-acknowledgment): Rename from
3750 change-log-acknowledgement, with an alias for the old name.
3751
3cc5a3a8
JB
37522012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3753
3754 * calc-alg.el (math-simplify-divide): Don't cross multiply
3755 in an equation when the lhs is a variable.
3756
b7af7f62
JD
37572012-07-24 Julien Danjou <julien@danjou.info>
3758
3759 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3760 Remove, unused.
3761
ec1b09b1
EZ
37622012-07-23 Eli Zaretskii <eliz@gnu.org>
3763
3764 * startup.el (command-line): Don't display an empty user name in
3765 the error message about non-existent home directory, when
3766 init-file-user was set to an empty string. See
3767 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3768 for the details and context.
3769
b525fd8a
VB
37702012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3771
3772 * ses.el (ses-cell-formula-aset): New macro.
3773 (ses-cell-references-aset): New macro.
3774 (ses-cell-p): New function.
3775 (ses-rename-cell): Do no longer rely on complex operations like
3776 ses-cell-set-formula or ses-set-cell to change the cell and handle
3777 the undo at the same time, but rather use lower level new macros
3778 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 3779 the undo directly. Refresh the mode line.
b525fd8a 3780
2c73e345
LL
37812012-07-21 Leo Liu <sdl.web@gmail.com>
3782
670d85ea
SM
3783 * progmodes/cc-cmds.el (c-defun-name):
3784 Use match-string-no-properties instead for consistency.
2c73e345 3785
542dfbde
LL
37862012-07-20 Leo Liu <sdl.web@gmail.com>
3787
3646bcd6
LL
3788 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3789 (Bug#7879)
3790
542dfbde
LL
3791 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3792
25721031
CY
37932012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3794
3795 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3796 * progmodes/bug-reference.el, misearch.el: Provide themselves
3797 (bug#11915).
3798
3799 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3800 of narrowed buffer (bug#11966).
3801
316e68a7
VB
38022012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3803
3804 * ses.el (ses-rename-cell): Set new name also in reference list of
3805 cells of which the renamed cell depends.
3806
bbf0e7d9
MY
38072012-07-20 Masatake YAMATO <yamato@redhat.com>
3808
3809 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3810 to check whether menu-bar is shown or not. If not shown,
3811 show the menu-bar as a popup menu instead of using tmm.
3812 * mouse.el (popup-menu): Accept `point' as `position' argument.
3813
c28662a8
DG
38142012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3815
3816 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3817 up inside string symbol literal (bug#11923).
3818
87ab808f
EZ
38192012-07-20 Eli Zaretskii <eliz@gnu.org>
3820
3821 * startup.el (fancy-startup-text): Read the whole tutorial, not
3822 just its first 256 bytes. Prevents gibberish in display of the
3823 tutorial title.
3824
89dea803
DA
38252012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3826
3827 Drop idle buffer compaction due to an absence of the
3828 proved efficiency.
3829 * compact.el: Remove.
3830
8a4e6db8
SS
38312012-07-19 Sam Steingold <sds@gnu.org>
3832
3833 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3834 vc-bzr-pull & vc-bzr-merge-branch.
3835 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3836 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3837 for consistency with compilation-error-regexp-alist.
3838 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3839 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3840 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3841 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3842
5db81e33
SM
38432012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3844
3845 * emacs-lisp/chart.el: Use lexical-binding.
3846 (chart-emacs-storage): Don't hardcode the list of entries.
3847
5b835e1d
DA
38482012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3849
3850 Next round of tweaks caused by Fgarbage_collect changes.
3851 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3852
9cd47b72
DA
38532012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3854
3855 Compact buffers when idle.
3856 * compact.el: New file.
3857
1d6fc0df
SM
38582012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3859
3860 * subr.el (eventp): Presume that if it looks vaguely like an event,
3861 it's an event (bug#10190).
3862
1d29cc7d
FEG
38632012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3864
3865 Enhancements to ppss related code (thanks Stefan).
3866 * progmodes/python.el (python-indent-context)
3867 (python-indent-calculate-indentation, python-indent-dedent-line)
3868 (python-indent-electric-colon, python-nav-forward-block)
3869 (python-mode-abbrev-table)
1d6fc0df 3870 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
3871 for ppss context.
3872 (python-info-continuation-line-p): Cleanup.
3873 (python-info-ppss-context): Do not catch 'quote.
3874 (python-info-ppss-context-type)
3875 (python-info-ppss-comment-or-string-p): Simplify.
3876
d583cbe6
FEG
38772012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3878
3879 * progmodes/python.el: Enhancements to eldoc support.
3880 (python-info-current-symbol): New function.
3881 (python-eldoc-at-point): Use python-info-current-symbol.
3882 (python-info-current-defun): Fix cornercase on first defun scan.
3883 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3884 and signal error when no inferior python process is available.
3885
eceb6feb
DG
38862012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3887
3888 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3889 assume it's always t.
3890 (vc-git-registered): Remove caching, the function is only called
3891 once.
3892 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3893
4c8ff0fe
CY
38942012-07-18 Chong Yidong <cyd@gnu.org>
3895
19fb7186
CY
3896 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3897
9587c688
CY
3898 * simple.el (count-words): Report on narrowing (Bug#9959).
3899
0fe776a1
CY
3900 * bindings.el: Bind M-= to count-words.
3901
4c8ff0fe
CY
3902 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3903
7f5331cc
MY
39042012-07-18 Masatake YAMATO <yamato@redhat.com>
3905
3906 * progmodes/sh-script.el (sh-imenu-generic-expression):
3907 Capture a function with `function' keyword and without parentheses
3908 like "function FOO" (bug#11856).
3909
2dc2a609
TH
39102012-07-18 Tassilo Horn <tassilo@member.fsf.org>
3911
3912 * window.el (split-window-sensibly): Make WINDOW argument
3913 optional.
3914
439f7677
CY
39152012-07-18 Chong Yidong <cyd@gnu.org>
3916
9aeb25a6
CY
3917 * subr.el (keyboard-translate): Doc fix (Bug#7261).
3918
439f7677
CY
3919 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3920 and make C-x 8 RET exit isearch (Bug#11439).
3921
3922 * international/iso-transl.el: Move isearch-mode-map key
3923 definitions to isearch.el.
3924
12999ea8
SM
39252012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3926
3927 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3928 (eieio-defclass): Use gv-define-setter when possible.
3929
3ab6e069
DA
39302012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
3931
3932 Reflect recent changes in Fgarbage_collect.
3933 * emacs-lisp/chart.el (chart-emacs-storage): Change to
3934 reflect new format of data returned by Fgarbage_collect.
3935
0a60bc10
FEG
39362012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3937
3938 New utility functions + python-info-ppss-context fix (Bug#11910).
3939 * progmodes/python.el (python-info-beginning-of-block-statement-p)
3940 (python-info-ppss-comment-or-string-p): New functions.
3941 (python-info-ppss-context): Small fix for string check.
3942
6dafa0d5
JL
39432012-07-17 Juri Linkov <juri@jurta.org>
3944
3945 * dired-aux.el (dired-do-async-shell-command): Doc fix.
3946 (dired-do-async-shell-command): Don't add `*' at the end of the
3947 command (Bug#11815).
3948 (dired-do-shell-command): Doc fix.
3949 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3950 Join the individual commands using either "&" or ";" as the
3951 separator depending on the values of these trailing characters.
3952 At the end re-add the trailing "&". (Bug#10598)
3953
3954 * simple.el (async-shell-command): Sync the interactive spec with
3955 `shell-command'. Doc fix.
3956 (shell-command): Doc fix.
3957
b19dd9d1
JL
39582012-07-17 Juri Linkov <juri@jurta.org>
3959
3960 * descr-text.el (describe-char): Fix format args. (Bug#10129)
3961
bcdc27d7 39622012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 3963
bcdc27d7 3964 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
3965 * progmodes/python.el (python-nav-beginning-of-statement):
3966 Rename from python-nav-statement-start.
bcdc27d7
FEG
3967 (python-nav-end-of-statement): Rename from
3968 python-nav-statement-end.
3969 (python-nav-beginning-of-block): Rename from
3970 python-nav-block-start.
3971 (python-nav-end-of-block): Rename from python-nav-block-end.
3972
191da00e
FEG
39732012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3974
7f5331cc
MY
3975 * progmodes/python.el (python-shell-send-string-no-output):
3976 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
3977 future interactions (Bug#11868).
3978
4dc7c8d5 39792012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 3980
88ecaf8f
SM
3981 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3982
ef501ef0
SM
3983 * emacs-lisp/elint.el (elint-find-args-in-code):
3984 Use help-function-arglist, so as to handle lexical byte-code.
3985
aa7aaf8f
SM
3986 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3987 change (bug#11826).
3988
45fd731c
SM
39892012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3990
2143fa32
SM
3991 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3992 Avoid spuriously marking the buffer as modified because of c-is-sws.
3993
efc26dbe
SM
3994 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3995 as not-a-comment (bug#11946).
3996
f5695c9a
SM
3997 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3998 for uninterned vars.
3999
4000 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4001 Use read-event since we don't really want to read chars but bytes.
4002
45fd731c
SM
4003 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4004 $$..$$ but also $..$ using regexps (bug#11953).
4005 Use tex-verbatim for \url and \path.
4006 (tex-font-lock-keywords): Define as defconst like the others.
4007 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4008
ddfc8813
RK
40092012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4010
4011 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4012 alias for insert-char.
4013
758e556a
FEG
40142012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4015
4016 * progmodes/python.el: Simplified imenu implementation.
4017 (python-nav-jump-to-defun): Remove command.
4018 (python-mode-map): Use `imenu' instead.
4019 (python-nav-list-defun-positions-cache)
4020 (python-imenu-include-defun-type, python-imenu-make-tree)
4021 (python-imenu-subtree-root-label, python-imenu-index-alist):
4022 Remove vars.
4023 (python-nav-list-defun-positions, python-nav-read-defun)
4024 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
4025 (python-imenu-make-tree, python-imenu-create-index):
4026 Remove functions.
758e556a
FEG
4027 (python-mode): Update to interact with imenu by setting
4028 `imenu-extract-index-name-function' only.
4029
032d23ab
FEG
40302012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4031
4032 * progmodes/python.el: Enhancements to navigation commands.
4033 (python-nav-backward-sentence)
4034 (python-nav-forward-sentence): Remove.
4035 (python-nav-backward-statement, python-nav-forward-statement)
4036 (python-nav-statement-start, python-nav-statement-end)
4037 (python-nav-backward-block, python-nav-forward-block)
4038 (python-nav-block-start, python-nav-block-end)
4039 (python-nav-forward-sexp-function)
4040 (python-info-current-line-comment-p)
4041 (python-info-current-line-empty-p): New functions.
4042 (python-indent-context): Use `python-nav-statement-start'.
4043
01795a1b
MA
40442012-07-16 Michael Albinus <michael.albinus@gmx.de>
4045
9328d9aa
MA
4046 * eshell/em-ls.el (eshell/ls): Use `apply'.
4047
4048 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4049 multi-hops, instead of Tramp internals.
4050
01795a1b
MA
4051 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4052
4053 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4054 when F1 and F2 are located on different hosts.
4055
63408057
CY
40562012-07-14 Chong Yidong <cyd@gnu.org>
4057
4058 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4059 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4060 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4061 (xterm-mouse--read-event-sequence-1000)
4062 (xterm-mouse--read-event-sequence-1006): New functions. For old
4063 mouse protocol, handle M-mouse-X events correctly.
4064 (xterm-mouse-event): New arg specifying mouse protocol.
4065 (turn-on-xterm-mouse-tracking-on-terminal)
4066 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
4067 sequence to toggle extended coordinates on newer XTerms.
4068 This appears to be harmless on terminals which do not support this.
63408057 4069
cd276f6e
LL
40702012-07-14 Leo Liu <sdl.web@gmail.com>
4071
28ca98ac
LL
4072 Add fringe bitmap indicators for flymake. (Bug#11253)
4073 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4074 (flymake-make-overlay): New arg BITMAP.
4075 (flymake-error-bitmap, flymake-warning-bitmap)
4076 (flymake-fringe-indicator-position): New user variables.
4077
cd276f6e
LL
4078 * fringe.el: New bitmap exclamation-mark.
4079
04408072
JD
40802012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4081
4082 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4083 also (Bug#7879).
4084
b5cf7fc4
CY
40852012-07-14 Chong Yidong <cyd@gnu.org>
4086
4087 * electric.el (electric-pair-post-self-insert-function): Fix pair
4088 insertion in empty-region case (Bug#11520).
4089
be755c79
RT
40902012-07-14 Chong Yidong <cyd@gnu.org>
4091
45fd731c
SM
4092 * bindings.el: Consolidate ctl-x-r-map bindings.
4093 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
4094
4095 * rect.el, register.el: Move bindings to bindings.el.
4096
40972012-07-14 Reuben Thomas <rrt@sc3d.org>
4098
4099 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4100
7f5b3198
AS
41012012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4102
4103 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4104
97662200
JB
41052012-07-13 Juanma Barranquero <lekktu@gmail.com>
4106
80185fed
JB
4107 * bindings.el (top): Use `mapc' instead of `mapcar'.
4108
97662200
JB
4109 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4110
2bb1ae55
MA
41112012-07-13 Michael Albinus <michael.albinus@gmx.de>
4112
4113 * progmodes/sql.el (sql-comint): Suppress the check for program on
4114 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4115 (Bug#11908)
4116
dea31bd3
CY
41172012-07-13 Chong Yidong <cyd@gnu.org>
4118
4119 * bindings.el: Assign a non-nil permanent-local property to
4120 per-buffer variables which lack a default value (Bug#11930).
4121
4122 * help-fns.el (describe-variable): In the "automatically becomes
4123 local" notice, take note of permanent-local variables.
4124
b68b3337
CY
41252012-07-13 Chong Yidong <cyd@gnu.org>
4126
4127 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4128 to allow printing the message when called from Lisp.
4129
4130 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4131 Remove toggle-read-only.
4132
4133 * bs.el (bs-toggle-readonly):
45fd731c
SM
4134 * buff-menu.el (Buffer-menu-toggle-read-only):
4135 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
4136
4137 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4138 Remove with-no-warnings around toggle-read-only.
4139 (ffap-read-only, ffap-read-only-other-window)
4140 (ffap-read-only-other-frame): Callers changed.
4141
4142 * help-mode.el: Don't require view package.
4143 (help-mode-finish): Set buffer-read-only instead of calling
4144 toggle-read-only.
4145
4146 * bindings.el (mode-line-toggle-read-only):
4147 * dired.el (dired-toggle-read-only):
4148 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4149 with non-nil second arg.
4150
4151 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4152 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4153 directly.
4154
56bc1586
EZ
41552012-07-12 Eli Zaretskii <eliz@gnu.org>
4156
4157 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4158 not incf.
4159
a464a6c7
SM
41602012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4161
4162 More CL cleanups and reduction of use of cl.el.
4163 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4164 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4165 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4166 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4167 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4168 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4169 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4170 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4171 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4172 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4173 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4174 * eshell/em-cmpl.el, eshell/em-banner.el:
4175 * calendar/parse-time.el: Use cl-lib.
4176 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4177 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4178 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4179 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4180 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4181 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4182 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4183 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4184 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4185 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4186 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4187 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4188 `lambda' rather than with `quote'.
4189 (eshell-do-opt): Adjust accordingly.
4190 (eshell-process-option): Simplify.
4191 * eshell/esh-var.el:
4192 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4193 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4194 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4195 to `pcase--dontcare'.
4196 * emacs-lisp/cl.el (labels): Mark obsolete.
4197 (cl--letf, letf): Move to cl-lib.
4198 (cl--letf*, letf*): Remove.
4199 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4200 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4201 (cl-progv): Rewrite.
4202 (cl--letf, cl-letf): Move from cl.el.
4203 (cl-letf*): New macro.
4204 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4205
7ad4afe1
MA
42062012-07-11 Michael Albinus <michael.albinus@gmx.de>
4207
4208 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4209
9af57756
CY
42102012-07-11 Chong Yidong <cyd@gnu.org>
4211
4212 * vc/log-edit.el (log-edit-vc-backend): New variable.
4213 (log-edit): Doc fix.
4214
4215 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4216 argument of log-edit to set up all local variables.
4217 (vc-start-logentry): New optional arg specifying VC backend.
4218
4219 * vc/vc.el (vc-checkin): Use it.
4220 (vc-deduce-fileset): Handle Log Edit buffers.
4221 (vc-diff): Make first argument optional too.
4222
4223 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4224
8477cc7a
MA
42252012-07-10 Michael Albinus <michael.albinus@gmx.de>
4226
4227 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4228 command, just in case. The function is not needed anymore.
4229 (eshell-external-command): Do not call `eshell-remote-command'.
4230
19faa8e8
SM
42312012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4232
f58e0fd5
SM
4233 Reduce use of (require 'cl).
4234 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4235 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4236 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4237 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4238 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4239 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4240 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4241 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4242 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4243 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4244 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4245 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4246 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4247 (byte-compile-unfold-bcf, byte-compile-check-variable):
4248 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4249 (byte-compile-nilconstp):
4250 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4251 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4252
2519d43a
SM
4253 * emacs-lisp/gv.el (cond): Make it a valid place.
4254 (if): Simplify slightly.
4255
19faa8e8
SM
4256 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4257 (pcase--self-quoting-p): New function.
4258 (pcase--u1): Use it.
4259
c4907a5e
GM
42602012-07-10 Glenn Morris <rgm@gnu.org>
4261
4262 * emacs-lisp/authors.el (authors-fixed-entries):
4263 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4264
c4444d16
PE
42652012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4266
4267 Rename configure.in to configure.ac (Bug#11603).
4268 * emacs-lisp/authors.el (authors-canonical-file-name):
4269 * progmodes/autoconf.el (autoconf-mode):
4270 Prefer configure.ac to configure.in.
4271
d75be97d
CY
42722012-07-08 Chong Yidong <cyd@gnu.org>
4273
01ac65bd
CY
4274 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4275 Implement the mouse-1-click-follows-link handling properly.
4276
4277 * info.el (Info-link-keymap): Use follow-link mechanism for
4278 header-line links (Bug#374).
4279
d75be97d
CY
4280 * simple.el (deactivate-mark): Do not set the primary selection
4281 if another program has acquired it (Bug#11772).
4282
87a92845 42832012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
4284
4285 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4286 (woman-decode-region): Replace escaped-escapes without destroying
4287 bold or underline (Bug#11552).
87a92845 4288 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 4289
621b9d6c
CY
42902012-07-07 Chong Yidong <cyd@gnu.org>
4291
4292 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
4293 (interprogram-cut-function, interprogram-paste-function):
4294 Mention that we typically mean the clipboard.
621b9d6c 4295
133a11fc
GM
42962012-07-06 Glenn Morris <rgm@gnu.org>
4297
0d27a45e
GM
4298 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4299
133a11fc
GM
4300 * files.el (toggle-read-only): Restrict message to interactive use.
4301
07b151f1
MA
43022012-07-06 Michael Albinus <michael.albinus@gmx.de>
4303
4304 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4305
4306 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4307
211b896b
GM
43082012-07-06 Glenn Morris <rgm@gnu.org>
4309
50394322
GM
4310 * Makefile.in (compile-one-process): Rename from "recompile".
4311
211b896b
GM
4312 * Makefile.in (bzr-update): "compile" is the same as "recompile
4313 autoloads", but parallelizable, so use that instead.
4314
4737eec9
DG
43152012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4316
4317 * window.el (quit-window): Always restore window height when
8137e7b3 4318 it's saved in quit-restore parameter (Bug#11810).
4737eec9 4319
226c3633 43202012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
4321
4322 * simple.el (kill-whole-line): Doc tweak.
4323
226c3633 43242012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
4325
4326 * files.el (file-relative-name): Compare file names
4327 case-insensitively if on MS-Windows or MS-DOS, or if
4328 read-file-name-completion-ignore-case is non-nil. Don't use
4329 case-fold-search for this purpose. (Bug#11827)
4330
4dc7c8d5
SM
43312012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4332
4333 * calendar/cal-dst.el (calendar-current-time-zone):
4334 Return calendar-current-time-zone-cache if non-nil.
4335
43362012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 43372012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4338
19faa8e8
SM
4339 * calendar/cal-dst.el (calendar-current-time-zone):
4340 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4341
60198fc9
GM
43422012-07-06 Glenn Morris <rgm@gnu.org>
4343
4344 * Makefile.in (cvs-update): Remove old alias.
4345
957b3189
MA
43462012-07-05 Michael Albinus <michael.albinus@gmx.de>
4347
4348 Sync with Tramp 2.2.6-pre.
4349
4350 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4351 compatible declaration.
4352
19faa8e8
SM
4353 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4354 Protect `list-load-path-shadows' call.
957b3189
MA
4355
4356 * net/tramp-compat.el (top): Require packages, which aren't
4357 autoloaded anymore for XEmacs. Protect call of
4358 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4359 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4360 it hurts at least for SXEmacs.
4361 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4362 standard-value for `temporary-file-directory'.
4363
4364 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4365 Redirect stderr to /dev/null.
4366 (tramp-sh-handle-write-region): uid and gid can be floats.
4367 Reported by Russell Sim <russell.sim@gmail.com>.
4368 (tramp-sh-handle-vc-registered): Hide errors.
4369 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4370 and `start-file-process'.
4371 (tramp-maybe-open-connection): Check also whether `non-essential'
4372 is bound.
4373
566df3fc
CY
43742012-07-04 Chong Yidong <cyd@gnu.org>
4375
4376 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4377 (xml-parse-tag): Likewise, and avoid changing entity tables.
4378 (xml-syntax-table): Define from scratch, making sure not to give
4379 x2000 and other Unicode spaces whitespace syntax, since those are
4380 not spaces in XML.
4381 (xml-parse-fragment): Delete unused function.
4382 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4383 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4384 (xml-entity-ref, xml-pe-reference-re)
4385 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4386 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4387 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4388 (xml-entity-value-re): Use syntax references in regexps where
4389 possible; no need to define inside a let-binding.
4390 (xml-parse-dtd): Use xml-pe-reference-re.
4391 (xml-entity-or-char-ref-re): New defconst.
4392 (xml-parse-string, xml-substitute-special): Use it.
4393
30eabd7a
SM
43942012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4395
0781098a
SM
4396 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4397 (find-file--read-only): New function.
4398 (find-file-read-only, find-file-read-only-other-window)
4399 (find-file-read-only-other-frame): Use it.
4400 (insert-file-contents-literally): Don't `fset'.
4401 (get-free-disk-space): Use locate-dominating-file.
4402
b5771c0d
SM
4403 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4404 function is already compiled.
4405
30eabd7a
SM
4406 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4407
b4886f6e
MA
44082012-07-03 Michael Albinus <michael.albinus@gmx.de>
4409
4410 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4411 files on the same host.
4412
b9d82339
AS
44132012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4414
4415 * help-fns.el (describe-function-1): Only call
4416 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4417
a76e6535
CY
44182012-07-03 Chong Yidong <cyd@gnu.org>
4419
4420 * xml.el: Protect parser against XML bombs.
4421 (xml-entity-expansion-limit): New variable.
4422 (xml-parse-string, xml-substitute-special): Use it.
4423 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4424
b544fef2
GM
44252012-07-03 Glenn Morris <rgm@gnu.org>
4426
4427 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4428 Allow linking to specific messages in debbugs reports (eg 123#5).
4429
a7aef6f5
CY
44302012-07-02 Chong Yidong <cyd@gnu.org>
4431
4432 * xml.el: Fix entity and character reference expansion, allowing
4433 them to expand into markup as per XML spec.
4434 (xml-default-ns): New variable.
4435 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
4436 (xml-parse-region): Make first two arguments optional.
4437 Discard text properties.
4438 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4439 All callers changed.
a7aef6f5
CY
4440 (xml-parse-tag): Call xml-parse-tag-1. For backward
4441 compatibility, this function should not modify buffer contents.
4442 (xml-parse-tag-1): Fix opening-tag regexp.
4443 (xml-parse-string): Rewrite, handling entity and character
4444 references properly.
4445 (xml--entity-replacement-text): Signal an error if a parameter
4446 entity is undefined.
4447
3df31c9f
SM
44482012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4449
2b5208f1
SM
4450 * comint.el (comint-output-filter): Filter out repeated prompts.
4451
3df31c9f
SM
4452 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4453 and file-name-absolute-p.
4454 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4455 internal calls.
4456
e3ac1281
PE
44572012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4458
4459 Spelling fixes.
4460 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4461 Rename from byte-compile--refiy-function. All uses changed.
4462
fbf2e7ad
CY
44632012-07-01 Chong Yidong <cyd@gnu.org>
4464
4465 * xml.el (xml--parse-buffer): New function. Move most of
4466 xml-parse-region here.
4467 (xml-parse-region): Copy region into a temporary buffer, since
4468 parameter entity substitution requires changing buffer contents.
4469 Use xml--parse-buffer.
4470 (xml-parse-file): Use xml--parse-buffer.
4471 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 4472 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 4473
9bf0aa15
GM
44742012-06-30 Glenn Morris <rgm@gnu.org>
4475
bbce2853
GM
4476 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4477
9bf0aa15
GM
4478 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4479 Remove outdated and unnecessary dbus declarations.
4480
0d23c240
EZ
44812012-06-30 Eli Zaretskii <eliz@gnu.org>
4482
4483 * emacs-lisp/timer.el (timer-until): Subtract results of
4484 float-time, instead of taking float-time of the result of
4485 time-subtract, since float-time signals an error for negative time
4486 arguments.
4487
b3218de1
CY
44882012-06-30 Chong Yidong <cyd@gnu.org>
4489
4490 * xml.el (xml-*-re): Convert defvars into defconsts, and
4491 eval-and-compile them so eval-and-compile works on derivatives.
4492 (xml--entity-replacement-text): Use eval-and-comple.
4493
a40c87a0
MA
44942012-06-30 Michael Albinus <michael.albinus@gmx.de>
4495
4496 * vc/vc-git.el (vc-git-registered): Use cache property
4497 `git-registered'.
4498 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4499 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 4500 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 4501
ac87de97
DG
45022012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4503
4504 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 4505 removed (likely outside Emacs). (Bug#11757)
ac87de97 4506
ac10fe06
SM
45072012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4508
3df31c9f 4509 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 4510
7f3fbd5d
CY
45112012-06-30 Chong Yidong <cyd@gnu.org>
4512
4513 * xml.el: Implement XML parameter entities.
4514 (xml-parameter-entity-alist): New variable.
4515 (xml-parse-region, xml-parse-fragment): Preserve previous values
4516 of xml-entity-alist and xml-parameter-entity-alist, so that
4517 repeated calls on different documents do not change them.
4518 (xml-parse-tag): Fix doctype regexp.
4519 (xml--entity-replacement-text): New function.
4520 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4521 properly requires url retrieval which is unimplemented.
4522 (xml-escape-string): Doc fix.
4523
3cfbebba
SM
45242012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4525
4526 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4527
2af3565e
DA
45282012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4529
4530 * fringe.el (fringe-mode): Doc fix.
4531
929df0e7
MA
45322012-06-29 Michael Albinus <michael.albinus@gmx.de>
4533
4534 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4535 is non-nil.
4536 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4537 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4538
c8d3a25c 45392012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4540
c8d3a25c
GM
4541 * calendar/cal-dst.el (calendar-current-time-zone):
4542 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4543
c8d3a25c 45442012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
4545
4546 * progmodes/which-func.el (which-func-format):
4547 Add mouse-face. (Bug#11698)
4548
c8d3a25c
GM
45492012-06-29 Leo Liu <sdl.web@gmail.com>
4550
4551 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4552
45532012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4554
4555 * minibuffer.el (minibuffer-confirm-exit-commands):
4556 Add completion-at-point (bug#11725).
4557
45582012-06-29 Glenn Morris <rgm@gnu.org>
4559
4560 * progmodes/f90.el (f90-font-lock-keywords-2):
4561 Add some preprocessor elements. (Bug#10499)
4562
45632012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4564
4565 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4566 Use syntax-propertize (bug#11739).
4567
2badeec4
JB
45682012-06-28 Juanma Barranquero <lekktu@gmail.com>
4569
4570 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4571
ae4969c2
JD
45722012-06-28 Julien Danjou <julien@danjou.info>
4573
4574 * term.el (term-handle-colors-array): Use a set of new faces to
4575 color the terminal. Also uses :inverse-video property.
4576 (term-default-fg-color): Set to nil by default, deprecate in favor
4577 of `term-face'.
4578 (term-default-bg-color): Set to nil by default, deprecate in favor
4579 of `term-face'.
4580 (term-current-face): Use `term-face' by default.
4581 (term-bold-attribute): Variable deleted.
4582
1c9bd870
GM
45832012-06-28 Glenn Morris <rgm@gnu.org>
4584
4585 * simple.el (completion-list-mode-finish):
4586 Don't use toggle-read-only. (Since completion-list-mode has
4587 a special mode-class, it wasn't doing anything extra anyway.)
4588
c207708c
SM
45892012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4590
4591 Make inlining of other-mode interpreted functions work (bug#11799).
4592 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4593 (byte-compile): Use it to fix compilation of lexical-binding closures.
4594 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4595 function, if needed.
4596
3fd56834
SM
45972012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4598
04901786
SM
4599 * help-mode.el (help-make-xrefs): Don't just withstand
4600 cyclic-variable-indirection but any error in documentation-property.
4601
1ec4b7b2
SM
4602 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4603 memory use.
4604 * bindings.el (bindings--define-key): New function.
4605 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4606 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4607 * bindings.el: Use it to purecopy define-key bindings.
4608
e309e2a5
SM
4609 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4610
d5c6faf9
SM
4611 * emacs-lisp/cl.el (flet): Mark obsolete.
4612 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4613 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4614 * progmodes/js.el (js-c-fill-paragraph):
4615 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4616 (ebrowse-switch-member-buffer-to-derived-class):
4617 * play/5x5.el (5x5-solver): Use cl-flet.
4618
6e9590e2
SM
4619 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4620 (cl--symbol-function): New macro.
4621 (cl--letf, cl--letf*): Use it.
4622
3fd56834
SM
4623 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4624 Strip "toggle-" if any.
4625
35ff222c
GM
46262012-06-27 Glenn Morris <rgm@gnu.org>
4627
1ba6038a
GM
4628 * info.el (Info-default-directory-list): Move here from paths.el.
4629 * paths.el: Remove file, which is now empty.
4630 * loadup.el: No longer load "paths".
4631
0ea0e51b
GM
4632 * custom.el (custom-initialize-delay): Doc fix.
4633
35ff222c
GM
4634 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4635 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4636 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4637 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4638 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4639 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4640 * eshell/eshell.el (eshell-defgroup): Remove alias.
4641
c89926a5
CY
46422012-06-27 Chong Yidong <cyd@gnu.org>
4643
4644 * help.el (help-enable-auto-load): New variable.
4645
4646 * help-fns.el (help-fns--autoloaded-p): New function.
4647 (describe-function-1): Refer to a function as "autoloaded" if it
4648 was autoloaded at any time in the past. Perform autoloading if
4649 help-enable-auto-load is non-nil.
4650
cc06e7e7
EZ
46512012-06-26 Eli Zaretskii <eliz@gnu.org>
4652
4653 * makefile.w32-in (compile, compile-always): Depend on
4654 update-subdirs, not on subdirs.el. Otherwise, several different
4655 sub-targets of 'bootstrap' running in parallel could
4656 simultaneously write to subdirs.el, producing a garbled file.
4657
d2c32364
SS
46582012-06-26 Sam Steingold <sds@gnu.org>
4659
4660 * files.el (file-name-base): New convenience function.
0d14cc21
GM
4661 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4662 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4663 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4664 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4665 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
4666 * textmodes/tex-mode.el: Use it.
4667 Did not touch cedet and org because they are maintained elsewhere.
4668
5cf983b2
MR
46692012-06-26 Martin Rudalics <rudalics@gmx.at>
4670
4671 * calendar/calendar.el (calendar-exit): Don't try to delete or
4672 iconify last frame. See:
4673 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4674
8c4f2952
JD
46752012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4676
4677 * server.el (server-process-filter): Remember dir in the
4678 process's `server-client-directory' properties.
4679
772b2e2c
CY
46802012-06-24 Chong Yidong <cyd@gnu.org>
4681
4682 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4683 non-tag text.
4684
711b11e1
JB
46852012-06-23 Juanma Barranquero <lekktu@gmail.com>
4686
4687 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4688
dc5d230c
SM
46892012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4690
4691 * help-fns.el (describe-variable): Don't croak when doc is not found.
4692 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4693 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4694 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4695 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4696 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4697 ((lambda ..) ..).
4698 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4699
136e1c1d
CY
47002012-06-23 Chong Yidong <cyd@gnu.org>
4701
e8c1cabf
CY
4702 * info.el (Info-mouse-follow-link): Accept symbol values of
4703 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
4704 (Info-fontify-node): Use Info-link-keymap for all navigation
4705 buttons, with link-args property to perform the desired action.
4706 (Info-link-keymap): Doc fix.
4707 (Info-next-link-keymap, Info-prev-link-keymap)
4708 (Info-up-link-keymap): Delete now-unused keymaps.
4709
0e9e6c6a
CY
47102012-06-23 Chong Yidong <cyd@gnu.org>
4711
05e89fea
CY
4712 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4713
0e9e6c6a
CY
4714 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4715 system abbrevs.
4716
4717 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4718
e33c6771
SM
47192012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4720
b68581e2
SM
4721 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4722 (bug#11719).
4723
e33c6771
SM
4724 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4725 the requote function doesn't work properly (bug#11714).
4726
7117e105
GM
47272012-06-23 Glenn Morris <rgm@gnu.org>
4728
4729 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4730
36cec983
SM
47312012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4732
4733 Further GV/CL cleanups.
4734 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4735 gv-expander.
4736 (gv--defun-declaration): New function.
4737 (defun-declarations-alist): Use it.
4738 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4739 (gv-place): Autoload.
4740 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4741 original definition of dotimes and dolist.
4742 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4743 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4744 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4745 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4746 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4747 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4748 to the function's definition.
4749 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4750 * window.el:
4751 * files.el:
4752 * faces.el:
4753 * env.el: Don't use CL.
4754
d35af63c
PE
47552012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4756
4757 Support higher-resolution time stamps (Bug#9000).
4758
4759 * calendar/time-date.el (with-decoded-time-value): New arg
4760 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4761 (encode-time-value): New optional arg PICO. New type 3.
4762 (time-to-seconds) [!float-time]: Support the new picoseconds
4763 component if it's used.
4764 (seconds-to-time, time-subtract, time-add):
4765 Support ps-resolution time stamps as well.
4766
4767 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4768 (timerp): Timer vectors now have length 9, not 8.
4769 (timer--time): Support new-style (4-part) time stamps.
4770 (timer-next-integral-multiple-of-time): Time stamps now have
4771 picosecond resolution, so take a bit more care about rounding.
4772 (timer-relative-time, timer-inc-time): New optional arg psecs.
4773 (timer-set-time-with-usecs): Set psecs to 0.
4774 (timer--activate): Check psecs component, too.
4775
4776 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4777
ac77b21a
SM
47782012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4779
f143bfe3
SM
4780 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4781 Move the non-essential binding to the post/pre-command-hook where it is
4782 more obviously correct.
4783
ac77b21a
SM
4784 * subr.el (read-passwd): Don't use a history at all.
4785 * savehist.el (savehist-save): Remove password saved accidentally
4786 because of the above bug.
4787
76386c5a
BG
47882012-06-22 Bastien Guerry <bzg@gnu.org>
4789
4790 * files.el (toggle-read-only): Display a message telling whether
4791 the buffer is read-only or not (bug#11726).
4792
2ee3d7f0
SM
47932012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4794
4795 * emacs-lisp/gv.el: New file.
4796 * subr.el (push, pop): Extend to generalized variables.
4797 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4798 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4799 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4800 gv-define-simple-setter, and gv-define-expander.
4801 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4802 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4803 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4804 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4805 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4806 gv-letplace.
4807 (cl-defstruct): Don't define setf-method any more.
4808 * emacs-lisp/cl.el (flet): Don't autoload.
4809 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4810 (define-setf-expander, defsetf, define-modify-macro)
4811 (cl-struct-setf-expander): Move from cl-lib.el.
4812 * emacs-lisp/syntax.el:
4813 * emacs-lisp/ewoc.el:
4814 * emacs-lisp/smie.el:
4815 * emacs-lisp/cconv.el:
4816 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4817 (timer--time): Use gv-define-simple-setter.
4818 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4819 to avoid coding-system problems in subr.el. Adjust all users.
4820 (macroexp--maxsize, macroexp-small-p): New functions.
4821 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4822 * scroll-bar.el (scroll-bar-mode):
4823 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4824 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4825 * winner.el (winner-configuration, winner-make-point-alist)
4826 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4827 * files.el (locate-file-completion-table): Avoid list*.
4828
c5695d1d
CY
48292012-06-22 Chong Yidong <cyd@gnu.org>
4830
4831 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4832 (dired-create-files): Doc fix (Bug#11329).
4833 (dired-do-copy): Doc fix (Bug#11334).
4834 (dired-mark-read-string): Doc fix (Bug#11553).
4835
2ee3d7f0
SM
4836 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4837 Doc fix (Bug#11326).
c5695d1d
CY
4838 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4839 (dired-dwim-target): Doc fix.
4840
4841 * wdired.el (wdired-mode): Doc fix.
4842
89b5595a
GM
48432012-06-22 Glenn Morris <rgm@gnu.org>
4844
575db3f1
GM
4845 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4846 (pcmpl-rpm-cache-stamp-file): New constant.
4847 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4848 (pcmpl-rpm-packages): Optionally cache list of packages.
4849
a4c8dd51
GM
4850 * pcmpl-rpm.el (pcmpl-rpm): New group.
4851 (pcmpl-rpm-query-options): New option.
4852 (pcmpl-rpm-packages): No need to inline it.
4853 Use pcmpl-rpm-query-options.
4854
89b5595a
GM
4855 * calendar/calendar.el (calendar-in-read-only-buffer):
4856 Avoid some needless mode changes.
4857
e76f0800
CY
48582012-06-21 Chong Yidong <cyd@gnu.org>
4859
4860 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4861 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 4862 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 4863
297a8f1d
CY
48642012-06-20 Chong Yidong <cyd@gnu.org>
4865
4866 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4867
d34c18b1
DR
48682012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
4869
4870 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4871 (bug#11201).
4872
32f7f28e
CY
48732012-06-20 Chong Yidong <cyd@gnu.org>
4874
4875 * term.el (term-window-width): Handle the case of a missing right
4876 fringe (Bug#8837).
4877 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
4878 (term-mode): Use define-derived-mode. Minor cleanups.
4879 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
4880 (term-move-columns, term-insert-char, term-emulate-terminal)
4881 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 4882
493c6688
MA
48832012-06-20 Michael Albinus <michael.albinus@gmx.de>
4884
d34c18b1
DR
4885 * net/ange-ftp.el (ange-ftp-get-passwd):
4886 Bind `enable-recursive-minibuffers'.
493c6688
MA
4887 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4888
3f06ecf4
DR
48892012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4890
4891 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4892
68f12411
GM
48932012-06-19 Glenn Morris <rgm@gnu.org>
4894
4895 * progmodes/python.el (python-mode): Derive from prog-mode.
4896
b3820318
KG
48972012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4898
4899 * emulation/edt.el (edt-default-menu-bar-update-buffers)
4900 (edt-user-menu-bar-update-buffers): New functions.
4901 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4902
c6bf3022
CY
49032012-06-19 Chong Yidong <cyd@gnu.org>
4904
4905 * subr.el (with-selected-window): Preserve the selected window's
4906 terminal's top-frame (Bug#4702).
4907
4908 * window.el (save-selected-window): Likewise.
4909
25f09295
SM
49102012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4911
4912 * progmodes/python.el (python-rx-constituents): Move backquote.
4913 (python-skeleton-define, python-define-auxiliary-skeleton):
4914 Use `declare'.
4915
6b11952a
MA
49162012-06-18 Michael Albinus <michael.albinus@gmx.de>
4917
4918 * minibuffer.el (read-file-name-default): Revert the patch from
4919 2012-06-17.
4920
ee4b1330
SM
49212012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4922
4923 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4924 (pcase--u1, pcase--q1): Don't use apply-partially.
4925
35647f79
GM
49262012-06-18 Glenn Morris <rgm@gnu.org>
4927
4928 * progmodes/python.el (python-proc, python-buffer)
4929 (python-send-receive, python-send-string): Fix obsolete versions.
4930
24b0cff0
MR
49312012-06-18 Martin Rudalics <rudalics@gmx.at>
4932
4933 * window.el (special-display-p): Completely remove stringp
4934 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4935
29855149
MA
49362012-06-17 Michael Albinus <michael.albinus@gmx.de>
4937
4938 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4939
4940 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4941
4942 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4943 * net/tramp-sh.el (tramp-maybe-open-connection):
4944 Throw if `non-essential' is non-nil.
4945
07463363
MR
49462012-06-17 Martin Rudalics <rudalics@gmx.at>
4947
4948 * window.el (special-display-p): Signal an error if BUFFER-NAME
4949 is not a string (Bug#11713).
4950
48d1354e
PE
49512012-06-17 Paul Eggert <eggert@cs.ucla.edu>
4952
4953 * progmodes/python.el (python-info-beginning-of-backslash):
4954 Rename from python-info-beginning-of-backlash, as a spelling fix.
4955
eb4a8a9a
CY
49562012-06-17 Chong Yidong <cyd@gnu.org>
4957
4958 * term.el (term-emulate-terminal): If term-check-size is called,
4959 move point to the process mark without resetting point (Bug#4635).
4960
ddfbf826 49612012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
4962
4963 * international/mule-cmds.el (mule-menu-keymap)
4964 (set-language-environment, set-locale-environment): Doc tweaks.
4965
9b0e3eba
AA
49662012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
4967
4968 * cus-face.el (custom-face-attributes): Add wave-style underline
4969 attribute.
4970 * faces.el (set-face-attribute): Update docstring to describe
4971 wave-style underline attribute.
4972
771e3eae
CY
49732012-06-16 Chong Yidong <cyd@gnu.org>
4974
4975 * term/xterm.el (terminal-init-xterm): Discard input before
4976 querying background mode (Bug#10959).
4977
7ae2ea10
SM
49782012-06-16 Stefan Merten <smerten@oekonux.de>
4979
4980 * textmodes/rst.el: Added and corrected some comments.
4981 (rst-re-alist-def): Improve symbol syntax.
4982 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
4983 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4984 (rst-official-version, rst-official-cvs-rev): Update version
4985 information.
7ae2ea10 4986
b6974efa
JB
49872012-06-15 Juanma Barranquero <lekktu@gmail.com>
4988
4989 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4990 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4991
8826d473
GM
49922012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4993
4994 * progmodes/python.el: New python.el merge.
4995 (python-guess-indent): Obsolete var.
4996 (python-indent-guess-indent-offset): New defcustom.
4997 (python-indent): Obsolete var.
4998 (python-indent-offset): New defcustom.
4999 (python-python-command, python-jython-command): Delete var.
5000 (python-shell-interpreter): New defcustom.
5001 (python-pdbtrack-do-tracking-p): Delete var.
5002 (python-pdbtrack-activate): New defcustom.
5003 (python-use-skeletons): Obsolete var.
5004 (python-skeleton-autoinsert): New defcustom.
5005 (inferior-python-filter-regexp, python-continuation-offset)
5006 (python-honour-comment-indentation, python-indent-string-contents)
5007 (python-jython-packages, python-mode-hook)
5008 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5009 (python-shell-prompt-alist)
5010 (python-source-modes): Delete defcustoms.
5011 (python-check-buffer-name, python-eldoc-setup-code)
5012 (python-eldoc-string-code, python-ffap-setup-code)
5013 (python-ffap-string-code, python-fill-comment-function)
5014 (python-fill-decorator-function, python-fill-paren-function)
5015 (python-fill-string-function, python-imenu-include-defun-type)
5016 (python-imenu-make-tree, python-imenu-subtree-root-label)
5017 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5018 (python-shell-compilation-regexp-alist)
5019 (python-shell-completion-module-string-code)
5020 (python-shell-completion-pdb-string-code)
5021 (python-shell-completion-setup-code)
5022 (python-shell-completion-string-code)
5023 (python-shell-enable-font-lock, python-shell-exec-path)
5024 (python-shell-extra-pythonpaths)
5025 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5026 (python-shell-process-environment)
5027 (python-shell-prompt-block-regexp)
5028 (python-shell-prompt-output-regexp)
5029 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5030 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5031 (python-shell-virtualenv-path): New defcustoms.
5032 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5033 (inferior-python-mode-syntax-table, python--prompt-regexp)
5034 (python-buffer, python-command python-python-command)
5035 (python-default-template, python-imports, python-indent-index)
5036 (python-indent-list, python-indent-list-length)
5037 (python-mode-running, python-pdbtrack-is-tracking-p)
5038 (python-preoutput-continuation, python-preoutput-leftover)
5039 (python-preoutput-result, python-preoutput-skip-next-prompt)
5040 (python-prev-dir/file, python-recursing)
5041 (python-saved-check-command, python-version-checked)
5042 (python-which-func-length-limit)
5043 (view-return-to-alist): Delete vars.
5044 (python-check-custom-command, python-dotty-syntax-table)
5045 (python-imenu-index-alist, python-indent-current-level)
5046 (python-indent-dedenters, python-indent-levels)
5047 (python-nav-beginning-of-defun-regexp)
5048 (python-nav-list-defun-positions-cache)
5049 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5050 (python-shell-internal-buffer)
5051 (python-skeleton-available): New vars.
5052 (def-python-skeleton): Delete macro.
5053 (python-skeleton-define): New macro.
5054 (python-define-auxiliary-skeleton, python-rx): New macros.
5055 (python-insert-class): Delete command.
5056 (python-skeleton-class): New command.
5057 (python-insert-def): Delete command.
5058 (python-skeleton-def): New command.
5059 (python-insert-for): Delete command.
5060 (python-skeleton-for): New command.
5061 (python-insert-if): Delete command.
5062 (python-skeleton-if): New command.
5063 (python-insert-try/except, python-insert-try/finally): Delete commands.
5064 (python-skeleton-try): New command.
5065 (python-insert-while): Delete command.
5066 (python-skeleton-while): New command.
5067 (python-backspace): Delete command.
5068 (python-indent-dedent-line-backspace): New command.
5069 (python-electric-colon): Delete command.
5070 (python-indent-electric-colon): New command.
5071 (python-guess-indent): Delete command.
5072 (python-indent-guess-indent-offset): New command.
5073 (python-shift-left): Delete command.
5074 (python-indent-shift-left): New command.
5075 (python-shift-right): Delete command.
5076 (python-indent-shift-right): New command.
5077 (python-find-function): Delete command.
5078 (python-nav-jump-to-defun): New command.
5079 (python-next-statement): Delete command.
5080 (python-nav-forward-sentence): New command.
5081 (python-previous-statement): Delete command.
5082 (python-nav-backward-sentence): New command.
5083 (python-fill-paragraph): Delete command.
5084 (python-fill-paragraph-function): New command.
5085 (python-send-buffer): Delete command.
5086 (python-shell-send-buffer): New command.
5087 (python-send-defun): Delete command.
5088 (python-shell-send-defun): New command.
5089 (python-send-region, python-send-region-and-go): Delete commands.
5090 (python-shell-send-region)
5091 (python-shell-switch-to-shell): New commands.
5092 (python-send-string): Delete command.
5093 (python-shell-send-string): New command.
5094 (python-switch-to-python): Delete command.
5095 (python-shell-switch-to-shell): New command.
5096 (python-describe-symbol): Delete command.
5097 (python-eldoc-at-point): New command.
5098 (python--set-prompt-regexp, python-args-to-list)
5099 (python-after-info-look, python-check-version)
5100 (python-check-comint-prompt, python-find-imports)
5101 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5102 (python-unload-function, python-expand-template)
5103 (python-maybe-jython, python-preoutput-filter)
5104 (python-pdbtrack-get-source-buffer)
5105 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5106 (python-pdbtrack-toggle-stack-tracking)
5107 (python-pdbtrack-track-stack-file, python-initial-text)
5108 (python-first-word, python-comment-line-p, python-send-command)
5109 (python-setup-brm, python-sentinel, python-set-proc)
5110 (python-skip-out, python-input-filter, python-outdent-p)
5111 (python-outline-level, python-backslash-continuation-line-p)
5112 (python-end-of-block, python-end-of-statement, python-mark-block)
5113 (python-beginning-of-block, python-beginning-of-statement)
5114 (python-blank-line-p, python-beginning-of-string)
5115 (python-open-block-statement-p): Delete functions.
5116 (python-indent-line, python-indent-line-1): Delete functions.
5117 (python-indent-line): New function.
5118 (python-indentation-levels): Delete function.
5119 (python-indent-calculate-levels): New function.
5120 (python-proc): Delete function.
5121 (python-shell-get-process): New function.
5122 (python-send-receive): Delete function.
5123 (python-shell-send-string-no-output): New function.
5124 (python-module-path): Delete function.
5125 (python-ffap-module-path): New function.
5126 (python-completion-at-point)
5127 (python-symbol-completions): Delete functions.
5128 (python-completion-complete-at-point): New function.
5129 (python-load-file): Delete function.
5130 (python-shell-send-file): New function.
5131 (python-calculate-indentation): Delete function.
5132 (python-indent-calculate-indentation): New function.
5133 (python-skip-comments/blanks): Delete function.
5134 (python-util-forward-comment): New function.
5135 (python-continuation-line-p): Delete function.
5136 (python-info-continuation-line-p): New function.
5137 (python-which-func, python-current-defun): Delete function.
5138 (python-info-current-defun): New function.
5139 (python-beginning-of-defun): Delete function.
5140 (python-nav-beginning-of-defun): New function.
5141 (python-close-block-statement-p)
5142 (python-block-end-p): Delete function.
5143 (python-info-closing-block): New function.
5144 (python-comint-output-filter-function)
5145 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5146 (python-fill-comment, python-fill-decorator, python-fill-paren)
5147 (python-fill-string, python-imenu-make-element-tree)
5148 (python-imenu-make-tree, python-imenu-tree-assoc)
5149 (python-indent-context, python-indent-dedent-line)
5150 (python-indent-line-function)
5151 (python-indent-post-self-insert-function)
5152 (python-indent-toggle-levels)
5153 (python-info-assignment-continuation-line-p)
5154 (python-info-beginning-of-backlash)
5155 (python-info-block-continuation-line-p)
5156 (python-info-closing-block-message)
5157 (python-info-line-ends-backslash-p)
5158 (python-info-looking-at-beginning-of-defun)
5159 (python-info-ppss-context, python-info-ppss-context-type)
5160 (python-nav-list-defun-positions, python-nav-read-defun)
5161 (python-nav-sentence-end, python-nav-sentence-start)
5162 (python-pdbtrack-comint-output-filter-function)
5163 (python-pdbtrack-set-tracked-buffer)
5164 (python-shell-calculate-exec-path)
5165 (python-shell-calculate-process-environment)
5166 (python-shell-completion--do-completion-at-point)
5167 (python-shell-completion--get-completions)
5168 (python-shell-completion-complete-at-point)
5169 (python-shell-completion-complete-or-indent)
5170 (python-shell-get-or-create-process)
5171 (python-shell-get-process-name)
5172 (python-shell-internal-get-or-create-process)
5173 (python-shell-internal-get-process-name)
5174 (python-shell-internal-send-string, python-shell-make-comint)
5175 (python-shell-parse-command, python-shell-send-setup-code)
5176 (python-skeleton-add-menu-items)
5177 (python-util-clone-local-variables, python-util-position)
5178 (run-python-internal, python-indentation-levels)
5179 (python-nav-beginning-of-defun)
5180 (python-completion-complete-at-point): New functions.
5181 (run-python): Change arguments. New API requirements.
5182
4302f5ba
SM
51832012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5184
f38ea36d
SM
5185 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5186 (bug#11649).
5187
5188 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5189 (macroexp--expand-all): Use it.
5190
4302f5ba
SM
5191 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5192 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5193 Use `cl-function' instead.
5194
33377562
JB
51952012-06-14 Juanma Barranquero <lekktu@gmail.com>
5196
5197 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5198 Suggested by Stefan Monnier while discussing bug#11657.
5199
54c5ba1a
SS
52002012-06-14 Sam Steingold <sds@gnu.org>
5201
5202 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5203
f9f1b1fe
AS
52042012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5205
5206 * play/doctor.el (doctor-doc): Remove parameter and use
5207 doctor-sent instead of sent.
5208 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5209
a81068ba
SM
52102012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5211
5a315f9c
SM
5212 * files.el: Require cl-lib.
5213 (file-name-non-special): Replace case -> cl-case.
5214
5215 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5216
a81068ba
SM
5217 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5218 mapping from #' to function*.
5219
8cca9703
CY
52202012-06-13 Chong Yidong <cyd@gnu.org>
5221
5222 * mouse.el (mouse-drag-track): Do not set the mark if the user
5223 releases the mouse without selecting anything (Bug#11588).
5224
a12ac9d7
SM
52252012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5226
ccf1dc18
SM
5227 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5228 as well (bug#11646).
5229
ef62b23d
SM
5230 * loadup.el: Count byte-code functions as well.
5231
c4c8444a
SM
5232 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5233 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5234
a12ac9d7
SM
5235 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5236 (bug#11649). Add cl-defun and cl-defmacro.
5237
87e6e64f
DA
52382012-06-13 Drew Adams <drew.adams@oracle.com>
5239
5240 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5241 Fix last change.
5242
682cefaf
MA
52432012-06-13 Michael Albinus <michael.albinus@gmx.de>
5244
5245 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5246 Otherwise, it blocks in batch mode.
5247
773e1f08
JB
52482012-06-13 Juanma Barranquero <lekktu@gmail.com>
5249
5250 * help-mode.el (bookmark-make-record-default): Declare.
5251
60057926
CY
52522012-06-13 Chong Yidong <cyd@gnu.org>
5253
5254 * emacs-lisp/package.el (list-packages): Compute a list of
5255 packages that are newly-available since the last list-packages
5256 invocation.
5257 (package-menu--new-package-list): New var.
5258 (package-menu--generate, package-menu--print-info)
5259 (package-menu--status-predicate, package-menu-mark-install):
5260 Handle new status label "new".
5261
ad4d226c
SM
52622012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5263
5264 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5265 conversion to backquotes.
5266
f1a4e679
CY
52672012-06-12 Chong Yidong <cyd@gnu.org>
5268
5269 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5270 Rename from gud-inhibit-global-bindings.
5271
5272 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5273
5274 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5275 hook from nxml-glyph-set-hook.
5276
5277 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5278 declaration.
5279
5280 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5281
5282 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5283 Convert to defcustom.
5284
0c9e42b5
DA
52852012-06-12 Drew Adams <drew.adams@oracle.com>
5286
5287 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5288 New functions.
5289 (help-mode): Use them.
5290
09e06855
GM
52912012-06-11 Glenn Morris <rgm@gnu.org>
5292
5293 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5294 Use preprocessor face for directives.
5295 (fortran-directive-re): Doc fix.
5296
71adb94b
SM
52972012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5298
2eb87922
SM
5299 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5300 conversion to backquotes (bug#11652).
5301
71adb94b
SM
5302 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5303 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5304 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5305 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5306 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5307 (cl-ninth, cl-tenth): Mark them as inlinable.
5308 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5309 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5310 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5311 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5312 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5313 (cl-list*, cl-adjoin): Don't put an autoload manually.
5314 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5315 (cl--compiler-macro-list*): Add autoload cookie.
5316 (cl--compiler-macro-cXXr): New function.
2eb87922 5317
71adb94b
SM
5318 * help-fns.el (help-fns--compiler-macro): New function extracted from
5319 describe-function-1; follow aliases and use `compiler-macro' property.
5320 (describe-function-1): Use it.
5321
a6674402
CY
53222012-06-11 Chong Yidong <cyd@gnu.org>
5323
5324 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5325 is uninstalled, if imagemagick is installed.
5326
bb3faf5b
SM
53272012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5328
5329 * emacs-lisp/cl-lib.el: Use lexical-binding.
5330 (cl-map-extents, cl-maclisp-member): Remove.
5331 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5332 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5333 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5334 * emacs-lisp/cl-extra.el: Use lexical-binding.
5335 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5336 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5337 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5338 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5339 * emacs-lisp/cl-seq.el: Use lexical-binding.
5340 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5341 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5342 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5343 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5344 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5345 CL's internals.
5346
2fe4b125
MA
53472012-06-11 Michael Albinus <michael.albinus@gmx.de>
5348
5349 Sync with Tramp 2.2.6-pre.
5350
5351 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5352 `print-length' and `print-level' to nil, in order to avoid
5353 truncation. Reported by Christopher Schmidt
5354 <christopher@ristopher.com>.
5355
5356 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5357
5358 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5359 New defmacro.
5360 (tramp-compat-copy-directory): Add optional argument
5361 COPY-CONTENTS. It is not handled yet.
5362
5363 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5364 (tramp-ftp-file-name-p): Simplify.
5365
5366 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5367 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5368 connection vector.
5369
5370 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5371 (tramp-methods): Do not use `tramp-password-end-of-line'.
5372 (tramp-completion-function-alist-putty): Handle UNIX case.
5373 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5374 (tramp-do-file-attributes-with-stat)
5375 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5376 gid as real numbers. They could run out of integer range on cygwin.
5377 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5378 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
5379 (tramp-open-connection-setup-interactive-shell):
5380 Use `tramp-cleanup'. Move check for busyboxes ...
5381 (tramp-find-shell): ... here. Simplify implementation.
5382 Set "remote-shell" property also for alternative shells.
5383 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5384 If failing, a regular file would be written otherwise.
5385 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
5386 (tramp-find-inline-encoding): Cache the coding commands in the
5387 process cache. Apply test command on the remote side, if defined.
5388 (tramp-find-inline-compress): Cache the compress commands in the
5389 process cache.
5390 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5391 when requested. Handle hops.
5392 (tramp-current-connection): New defvar.
87e6e64f
DA
5393 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5394 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 5395 Handle user interrupt. (Bug#10187)
87e6e64f
DA
5396 (tramp-get-inline-compress, tramp-get-inline-coding):
5397 Read connection properties from the process cache.
2fe4b125
MA
5398
5399 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
5400 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5401 New defconsts.
2fe4b125
MA
5402 (tramp-smb-prompt): Extend for powershell prompt.
5403 (tramp-smb-file-name-handler-alist): Add handlers for
5404 `process-file', `shell-command' and `start-file-process'.
5405 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5406 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5407 (tramp-smb-file-name-p): Simplify.
5408 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5409 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5410 (tramp-smb-shell-quote-argument): New defuns.
5411 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5412 Implement using "tar". By this, time-stamps are preserved.
5413 (tramp-smb-handle-copy-file): Handle also the case of directories.
5414 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
5415 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5416 Use `tramp-get-connection-buffer').
2fe4b125
MA
5417 (tramp-smb-handle-rename-file): Use "rename", when source and
5418 target are on the same share.
87e6e64f
DA
5419 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5420 Use `tramp-smb-server-version'.
2fe4b125
MA
5421 (tramp-smb-wait-for-output): Remove prompt.
5422
5423 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
5424 (tramp-methods, tramp-rsh-end-of-line):
5425 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
5426 (tramp-save-ad-hoc-proxies): New defcustom.
5427 (tramp-completion-function-alist): Adapt docstring.
5428 (tramp-default-password-end-of-line): Remove defcustom.
5429 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5430 (tramp-user-regexp, tramp-file-name-regexp-unified)
5431 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5432 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5433 (tramp-remote-file-name-spec-regexp): New defconst.
5434 (tramp-file-name-structure): Extend structure for hops.
5435 (tramp-get-method-parameter): Move up.
5436 (tramp-file-name-p, tramp-dissect-file-name)
5437 (with-parsed-tramp-file-name): Handle hops.
5438 (tramp-file-name-hop): New defun.
5439 (tramp-make-tramp-file-name): New optional arg HOP.
5440 (tramp-message-show-progress-reporter-message): New defvar.
5441 (tramp-with-progress-reporter): Use it. We cannot use
5442 `tramp-message-show-message' here, because this suppresses also
5443 error buffers.
5444 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
5445 `tramp-message-show-message' is nil.
5446 Use `tramp-get-connection-buffer'.
2fe4b125
MA
5447 (tramp-cleanup): New defun.
5448 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5449 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5450 an error unchanged.
5451 (tramp-completion-handle-file-name-all-completions): Handle hops.
5452 Fix an error when called from ido.
5453 (tramp-completion-dissect-file-name): Use better local variable
5454 name. Add hop to the vector.
5455 (tramp-handle-insert-file-contents): Use progress-reporter for the
5456 whole scenario.
5457 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5458 to `t'.
5459 (tramp-check-for-regexp): Simplify search.
5460 (tramp-enter-password): Remove it. Move implementation ...
5461 (tramp-action-password): ... here.
5462 (tramp-mode-string-to-int, tramp-local-host-p)
5463 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
5464 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5465 Set tramp-autoload cookie.
2fe4b125
MA
5466
5467 * net/trampver.el: Update release number.
5468
54692012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5470 Michael Albinus <michael.albinus@gmx.de>
5471
5472 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5473 (tramp-parse-group, tramp-parse-file)
5474 (tramp-parse-shostkeys-sknownhosts): New defuns.
5475 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5476 (tramp-parse-shosts-group, tramp-parse-sconfig)
5477 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5478 (tramp-parse-sknownhosts, tramp-parse-hosts)
5479 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5480 Use them.
5481 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5482 (tramp-parse-putty-group): Don't narrow.
5483 (tramp-parse-putty): Make a loop.
5484 (tramp-file-name-handler): Catch the `suppress' signal.
5485
72834e10
CY
54862012-06-11 Chong Yidong <cyd@gnu.org>
5487
5488 * image.el (imagemagick-register-types): Put the ImageMagick entry
5489 at the end of image-type-file-name-regexps.
5490
a4712e11
JB
54912012-06-11 Johan Bockgård <bojohan@gnu.org>
5492
5493 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5494 (pcase, pcase-let*, pcase-dolist): Use them.
5495
82ad98e3
SM
54962012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5497
5498 * emacs-lisp/pcase.el (pcase--let*): New function.
5499 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5500 (pcase--expand): Use macroexp-let².
5501
f80efb86
SM
55022012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5503
5504 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5505 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5506 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5507 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5508 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5509 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5510
31ca4639 55112012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 5512
31ca4639
CY
5513 * mail/rmail.el (rmail-yank-current-message): Leave point at
5514 correct position. (Bug#11660)
94f0aa34 5515
31ca4639 55162012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 5517
31ca4639 5518 * allout-widgets.el: Fix code header.
9e1b8ec4 5519
31ca4639 55202012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 5521
f80efb86
SM
5522 * cus-edit.el (customize-changed-options-previous-release):
5523 Bump to 24.1.
31ca4639 5524
642b6d30
AS
55252012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5526
5527 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5528
4f5d2ba1
CY
55292012-06-09 Chong Yidong <cyd@gnu.org>
5530
5531 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5532
e75852fd
MR
55332012-06-09 Martin Rudalics <rudalics@gmx.at>
5534
5535 * window.el (special-display-popup-frame): Don't use
5536 window--display-buffer (Bug#11651).
5537
1e48e282
EZ
55382012-06-09 Eli Zaretskii <eliz@gnu.org>
5539
8a26b487
EZ
5540 Fix parallel builds: make sure loaddefs.el is not being written
5541 while Lisp files are compiled.
5542 (compile): Don't depend on 'mh-autoloads'.
5543 (compile-CMD, compile-SH): Depend on 'autoloads'.
5544 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5545
1e48e282
EZ
5546 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5547
6175e34b
CY
55482012-06-09 Chong Yidong <cyd@gnu.org>
5549
5550 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5551 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5552 Doc fixes (Bug#11225).
5553
d9857e53
SM
55542012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5555
5556 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5557 a function if there's a clear indication that it has a compiler-macro.
5558 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5559 (macro-declarations-alist): Add arglist to declaration functions.
5560 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5561 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5562 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5563 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5564 Also add autoload to find the compiler macro.
5565 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5566 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5567 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5568 (cl--compiler-macro-get): New functions, replacing calls to
5569 cl-define-compiler-macro.
5570 (cl-typep) [compiler-macro]: Use macroexp-let².
5571
f81298f8 55722012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
5573
5574 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5575 string properly, fixes Bug#11473.
5576
4b56d0fe
CY
55772012-06-08 Chong Yidong <cyd@gnu.org>
5578
5579 * faces.el (set-face-attribute): Doc fix.
5580 (modify-face): Don't use :bold and :italic.
5581 (error, warning, success): Tweak definitions.
5582
5583 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5584 (custom-modified, custom-set, custom-changed, custom-themed)
5585 (custom-saved, custom-button, custom-button-mouse)
5586 (custom-button-pressed, custom-state, custom-comment-tag)
5587 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5588 (custom-group-subtitle): Use new-style face specs.
5589 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5590 (custom-set-face, custom-changed-face, custom-saved-face)
5591 (custom-button-face, custom-button-pressed-face)
5592 (custom-documentation-face, custom-state-face)
5593 (custom-comment-face, custom-comment-tag-face)
5594 (custom-variable-tag-face, custom-variable-button-face)
5595 (custom-face-tag-face, custom-group-tag-face-1)
5596 (custom-group-tag-face): Remove obsolete face alias.
5597
5598 * epa.el (epa-validity-high, epa-validity-medium)
5599 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5600 (epa-field-name, epa-field-body):
5601 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5602 (font-lock-keyword-face, font-lock-builtin-face)
5603 (font-lock-function-name-face, font-lock-variable-name-face)
5604 (font-lock-type-face, font-lock-constant-face):
5605 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5606 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5607 * speedbar.el (speedbar-button-face, speedbar-file-face)
5608 (speedbar-directory-face, speedbar-tag-face)
5609 (speedbar-selected-face, speedbar-highlight-face)
5610 (speedbar-separator-face):
5611 * whitespace.el (whitespace-newline, whitespace-space)
5612 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5613 (whitespace-line, whitespace-space-before-tab)
5614 (whitespace-space-after-tab, whitespace-indentation)
5615 (whitespace-empty):
5616 * emulation/cua-base.el (cua-global-mark):
5617 * eshell/em-prompt.el (eshell-prompt):
5618 * net/newst-plainview.el (newsticker-new-item-face)
5619 (newsticker-old-item-face, newsticker-immortal-item-face)
5620 (newsticker-obsolete-item-face, newsticker-date-face)
5621 (newsticker-statistics-face, newsticker-default-face):
5622 * net/newst-reader.el (newsticker-feed-face)
5623 (newsticker-extra-face, newsticker-enclosure-face):
5624 * net/newst-treeview.el (newsticker-treeview-face)
5625 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5626 (newsticker-treeview-immortal-face)
5627 (newsticker-treeview-obsolete-face)
5628 (newsticker-treeview-selection-face):
5629 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5630 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5631 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5632 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5633 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5634 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5635 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5636 (mpuz-text):
5637 * progmodes/vera-mode.el (vera-font-lock-number)
5638 (vera-font-lock-function, vera-font-lock-interface):
5639 * textmodes/table.el (table-cell): Use new-style face specs, and
5640 don't use the old :bold and :italic attributes.
5641
5642 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5643 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5644 (ebrowse-member-class, ebrowse-progress): Likewise.
5645 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5646 (ebrowse-file-name-face, ebrowse-default-face)
5647 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5648 (ebrowse-progress-face): Remove obsolete faces.
5649
5650 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5651 Inherit from error and warning faces respectively.
5652
5653 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5654 Likewise.
f80efb86
SM
5655 (flyspell-incorrect-face, flyspell-duplicate-face):
5656 Remove obsolete aliases.
4b56d0fe 5657
03310646
MA
56582012-06-08 Michael Albinus <michael.albinus@gmx.de>
5659
5660 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5661 Avoid infloop.
5662
513749ee
SM
56632012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5664
5665 * startup.el (argv, argi): Make lexically scoped.
5666 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5667 * emacs-lisp/cl-macs.el: Use lexical-binding.
5668 Rename cl-bind-* to cl--bind-*.
5669 * files.el: Don't require `cl' since it doesn't use it.
5670 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5671
595ef4ad
JB
56722012-06-08 Juanma Barranquero <lekktu@gmail.com>
5673
5674 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5675 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5676 instead of calling external sort utility.
5677 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5678
e9f66fcb
EZ
56792012-06-08 Eli Zaretskii <eliz@gnu.org>
5680
5681 * descr-text.el (describe-char): Mention how to insert the
5682 character, if the current input method doesn't support it.
5683 See the discussion in this thread for the details:
5684 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5685
3d10db47
SS
56862012-06-08 Sam Steingold <sds@gnu.org>
5687
5688 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5689 XF86Back to previous-buffer.
5690 (minibuffer-local-map): Bind them to next-history-element and
5691 previous-history-element respectively.
5692 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5693 help-go-back respectively.
5694 * info.el (Info-mode-map): Bind them to Info-history-forward and
5695 Info-history-back respectively.
5696 These are the keys next to Up on the ThinkPad keyboard.
5697
de7e2b36
SM
56982012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5699
5700 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5701 * emacs-lisp/cl-macs.el: Provide itself.
5702 (cl--labels-convert-cache): New var.
5703 (cl--labels-convert): New function.
5704 (cl-flet, cl-labels): New implementation with new semantics, relying on
5705 lexical-binding.
5706 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5707 (cl-closure-vars, cl--function-convert-cache)
5708 (cl--function-convert): Move from cl-macs.el.
5709 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5710 rename by removing the "cl-" prefix.
5711 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5712
6fa6c4ae
SM
57132012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5714
5715 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5716 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5717 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5718 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5719 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5720 (cl-hash-table-count): Add old compatibility aliases.
5721
5722 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5723 Use macroexpand-all-environment instead.
5724 (cl--old-macroexpand): New var.
5725 (cl--sm-macroexpand): New function.
5726 (cl-symbol-macrolet): Use it during macro expansion.
5727 (cl--function-convert-cache): New var.
5728 (cl--function-convert): New function, extracted from
5729 cl-macroexpand-all.
5730 (cl-lexical-let): Use it.
5731
5732 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5733 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5734 (cl-member): Remove old alias.
5735
5736 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5737 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5738 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5739 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5740 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5741 (cl-macroexpand-cmacs): Remove var.
5742 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5743 Use macroexpand-all instead.
5744
4dd1c416
SM
57452012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5746
5747 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5748 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5749 (macroexp-copyable-p): New functions and macros.
5750 * emacs-lisp/edebug.el (edebug-unwrap):
5751 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5752 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5753 (pcase--let*): Remove.
5754 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5755 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5756 macroexp-const-p instead.
5757 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5758
5759 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5760 instead of "cl-" for internal definitions. Use macroexp-const-p.
5761 (cl-old-bc-file-form): Remove var.
5762 (cl-const-exprs-p): Remove fun.
5763 (cl-labels, cl-macrolet): Use backquote.
5764 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5765 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5766 (cl-define-setf-expander): Rename from cl-define-setf-method.
5767 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5768
5769 * international/mule-cmds.el: Don't require CL.
5770 (view-hello-file): Don't use `letf'.
5771
ed8bd4d7
SM
57722012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5773
7287f2f3
SM
5774 * tmm.el (tmm-prompt): Use string-prefix-p.
5775 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5776 (tmm-add-prompt): Use minibuffer-completion-help.
5777 (tmm-delete-map): Remove.
5778
ed8bd4d7
SM
5779 * subr.el (kbd): Make it its own function.
5780
7b4cdbf4
SM
57812012-06-07 Stefan Merten <smerten@oekonux.de>
5782
5783 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5784 Silence compiler warnings. Fix versions.
ed8bd4d7 5785 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 5786 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 5787 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
5788 (rst-package-emacs-version-alist): Correct Emacs version to
5789 represent major merge with upstream.
ed8bd4d7 5790 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 5791
2b48d721
GM
57922012-06-06 Glenn Morris <rgm@gnu.org>
5793
5794 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5795 Only print environment variables if set.
5796
fa779ab0
SM
57972012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5798
5799 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5800 (macroexp--cons): Rename from maybe-cons.
5801 (macroexp--accumulate): Rename from macroexp-accumulate.
5802 (macroexp--all-forms): Rename from macroexpand-all-forms.
5803 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5804 (macroexp--expand-all): Rename from macroexpand-all-1.
5805
628299e0
SS
58062012-06-06 Sam Steingold <sds@gnu.org>
5807
5808 * calendar/calendar.el (calendar-in-read-only-buffer):
5809 Call `special-mode' to enable the standard read-only keybindings.
5810
b7bb5838
SM
58112012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5812
5813 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5814 with "loading" messages (bug#11635).
5815
dfb308ba
MA
58162012-06-06 Michael Albinus <michael.albinus@gmx.de>
5817
5818 * files.el (enable-remote-dir-locals): New option.
5819 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5820
0372ee92
MA
5821 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5822 Ensure, that the temp directory is local.
5823
5824 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5825 `temporary-file-directory'.
5826
eed0bb91
MA
5827 * progmodes/python.el (python-send-region): Ensure, that the
5828 temporary file is created also in the remote case.
5829
7a58f64d
GM
58302012-06-06 Glenn Morris <rgm@gnu.org>
5831
f7dd4e98
GM
5832 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5833 (vc-rcs-update-changelog): Use it.
5834
090bd7cb 5835 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 5836
7a58f64d
GM
5837 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5838 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5839 (vc-sccs-diff): Replace use of the external vcdiff script.
5840
daed4003
GM
58412012-06-05 Glenn Morris <rgm@gnu.org>
5842
5843 * ledit.el: Move to obsolete/.
5844
48c455c7
SS
58452012-06-05 Sam Steingold <sds@gnu.org>
5846
ed9265fc 5847 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
5848 patch (Bug#11140).
5849
57a7d507
SM
58502012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5851
090bd7cb 5852 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 5853
53aacf21
SM
5854 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5855 compiler-macro expansion.
5856
57a7d507
SM
5857 Add native compiler-macro support.
5858 * emacs-lisp/macroexp.el (macroexpand-all-1):
5859 Support compiler-macros directly. Properly follow aliases and apply
5860 the compiler macros more thoroughly.
5861 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5862 macroexpand now properly follows aliases.
5863 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5864 (cl-compiler-macroexpand): Use new prop.
5865 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5866
5867 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5868
51a5f9d8
MR
58692012-06-05 Martin Rudalics <rudalics@gmx.at>
5870
5871 * window.el (get-lru-window, get-mru-window, get-largest-window):
5872 New argument NOT-SELECTED to avoid picking the selected window.
5873 (window--display-buffer-1, window--display-buffer-2): Replace by
5874 new function window--display-buffer
5875 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
5876 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5877 Use window--display-buffer.
51a5f9d8
MR
5878 (display-buffer-use-some-window): Remove temporary dedication
5879 hack by calling get-lru-window and get-largest-window with
5880 NOT-SELECTED argument non-nil. Call window--display-buffer.
5881
08f9f738
GM
58822012-06-05 Glenn Morris <rgm@gnu.org>
5883
5884 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5885 Replace external vcdiff script.
5886
e364a2b7
SM
58872012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5888
5889 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5890
041df390
CY
58912012-06-04 Chong Yidong <cyd@gnu.org>
5892
e364a2b7
SM
5893 * image.el (imagemagick-types-inhibit): Revert last change.
5894 Add INFO and M.
47b36b94 5895 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 5896
7c1898a7
SM
58972012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5898
5899 * emacs-lisp/cl-lib.el: Rename from cl.el.
5900 * emacs-lisp/cl.el: New compatibility file.
5901 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5902 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5903 to obey the "cl-" prefix.
5904 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5905
0c3461de
GM
59062012-06-03 Glenn Morris <rgm@gnu.org>
5907
1e266c88
GM
5908 * emacs-lisp/authors.el (authors-aliases): Addition.
5909
0c3461de
GM
5910 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5911 Fix :version.
5912
d8a52e15
SM
59132012-06-03 Stefan Merten <smerten@oekonux.de>
5914
5915 * textmodes/rst.el: Add comments.
5916 (rst-transition, rst-adornment): New faces.
5917 (rst-adornment-faces-alist): Make default safe to reevaluate.
5918 Fixes
5919 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5920 Improve customization tags.
5921 (rst-define-level-faces): Clarify meaning.
5922
5205d6f6
CY
59232012-06-03 Chong Yidong <cyd@gnu.org>
5924
5925 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
5926 (compilation-mode-line-run, compilation-mode-line-exit):
5927 New faces.
5205d6f6
CY
5928 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5929
757ee657
JD
59302012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
5931
7c1898a7
SM
5932 * progmodes/which-func.el (which-func-update-ediff-windows):
5933 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 5934
5f2c76c6
CY
59352012-06-03 Chong Yidong <cyd@gnu.org>
5936
5937 * bindings.el: Remove explicit help text from format-mode-line.
5938 It is now supplied by mode-line-default-help-echo.
5939 (mode-line-front-space, mode-line-end-spaces)
5940 (mode-line-misc-info): New variables.
5941 (mode-line-modes, mode-line-position): Move the default value to
5942 the variable definition.
5943 (mode-line-default-help-echo): New defcustom.
383f7350
CY
5944 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5945 (mode-line-modified-help-echo): New functions.
5946 (mode-line-mule-info, mode-line-modified): Use them.
5947 (mode-line-eol-desc, propertized-buffer-identification):
5948 Consistency fixes for help text.
cbe46e5f
CY
5949 (mode-line-coding-system-map): Allow using mouse-3 to invoke
5950 set-buffer-file-coding-system (Bug#289).
5951 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 5952
f2d6a3df
SM
59532012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5954
5955 * simple.el (execute-extended-command): Set real-this-command
5956 (bug#11506).
5957
37269466
CY
59582012-06-02 Chong Yidong <cyd@gnu.org>
5959
5960 Remove incorrect uses of "modeline" in comments, docstrings, and
5961 function/variable names (Bug#10329).
5962
5963 * cus-edit.el (mode-line):
5964 * dframe.el (dframe-mouse-hscroll):
5965 * emacs-lisp/re-builder.el:
5966 * emacs-lisp/easy-mmode.el (define-minor-mode):
5967 * frame.el (set-frame-name):
5968 * help.el (lookup-minor-mode-from-indicator):
5969 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5970 * progmodes/cc-cmds.el (c-toggle-auto-newline)
5971 (c-toggle-hungry-state):
5972 * progmodes/antlr-mode.el (antlr-language-alist):
5973 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5974 * progmodes/vhdl-mode.el (vhdl-mode):
5975 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5976 * term/ns-win.el (ns-face-at-pos):
5977 * term/sup-mouse.el (sup-mouse-report):
5978 * textmodes/flyspell.el (flyspell-mode-line-string):
5979 * textmodes/ispell.el (ispell-highlight-face):
5980 * textmodes/reftex-global.el:
5981 * vc/vc-arch.el (vc-arch-mode-line-string):
5982 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5983 * vc/vc-git.el (vc-git-mode-line-string):
5984 * vc/vc-hooks.el (vc-display-status)
5985 (vc-default-mode-line-string):
5986 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5987
5988 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5989
5990 * dired.el (dired-sort-set-mode-line): Rename from
5991 dired-sort-set-modeline. All callers changed.
5992
5993 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5994 eshell-status-in-modeline.
5995
5996 * foldout.el (foldout-mode-line-string): Rename from
5997 foldout-modeline-string. All callers changed.
5998 (foldout-update-mode-line): Rename from foldout-update-modeline.
5999
6000 * subr.el (redraw-modeline): Make into obsolete alias.
6001
6002 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6003 timeclock-modeline-display. Make old name an alias.
6004 (timeclock-update-mode-line): Likewise. All callers changed.
6005 (timeclock-mode-line-display): No need to check before using
6006 add-hook.
6007 (timeclock-relative, timeclock-day-over-hook)
6008 (timeclock-use-elapsed, timeclock-mode-string)
6009 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6010
6011 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6012 crisp-mode-modeline-string.
6013
6014 * play/solitaire.el (solitaire-build-mode-line): Rename from
6015 solitaire-build-modeline. All callers changed.
6016
6017 * play/zone.el (zone-hiding-mode-line): Rename from
6018 zone-hiding-modeline. All callers changed.
6019 (zone): Remove unusued `modeline-hidden-level' property.
6020
6021 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6022 xscheme-modeline-initialize. All callers changed.
6023
6024 * strokes.el (strokes-lighter): Rename from
6025 strokes-modeline-string.
6026
6027 * textmodes/sgml-mode.el (html-face-tag-alist)
6028 (html-tag-face-alist): Use mode-line face instead of obsolete
6029 alias modeline.
6030
42152ee4
SM
60312012-06-02 Stefan Merten <smerten@oekonux.de>
6032
6033 * textmodes/rst.el: Always require `cl'.
4cf9b38d 6034 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 6035
95f520b5
CY
60362012-06-02 Chong Yidong <cyd@gnu.org>
6037
6038 * image.el (imagemagick-enabled-types): Rename from
6039 imagemagick-types-enable. Add many more types.
6040 (imagemagick-types-inhibit): Change default to nil.
6041 (imagemagick-filter-types): Caller changed.
6042
4a5f187a
SM
60432012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6044
03fef3e6
SM
6045 * emacs-lisp/cl-macs.el: Use backquotes.
6046 (cl-transform-function-property): Use eval-and-compile rather than
6047 abusing `require'.
6048 (defstruct): Use declare-function instead of with-no-warnings.
6049
4a5f187a
SM
6050 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6051 (byte-compile-output-docform): Re-add the print-circle bindings.
6052 (byte-compile-fix-header): Use #$ just because it's shorter.
6053 (byte-compile-output-file-form): Remove defun/defmacro.
6054
bd56924f
MR
60552012-06-01 Martin Rudalics <rudalics@gmx.at>
6056
6057 * simple.el (choose-completion): Remove now obsolete binding for
6058 owindow.
6059
046e38ce
MA
60602012-06-01 Michael Albinus <michael.albinus@gmx.de>
6061
6062 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6063 in order to avoid "Stack overflow in regexp matcher".
6064
32d72c2f
GM
60652012-05-31 Glenn Morris <rgm@gnu.org>
6066
6067 * image.el: For clarity, call imagemagick-register-types at
6068 top-level, rather than relying on a custom :initialize.
6069 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
6070 (imagemagick-filter-types): New function. (Bug#7406)
6071 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
6072 If disabling support, remove elements altogether rather
6073 than using an impossible regexp.
6074 (imagemagick-types-inhibit): Give it the default init function.
6075
dd41169b
SM
60762012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6077
4a5f187a
SM
6078 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6079 Handle arbitrary file name lengths (Bug#11585).
dd41169b 6080
efc00ab1 60812012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
6082
6083 * desktop.el (desktop-read): Clear previous and next buffers for
6084 all windows and bury *Messages* buffer (bug#11556).
6085
500fcedc
SM
60862012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6087
6088 Add `declare' for `defun'. Align `defmacro's with it.
6089 * emacs-lisp/easy-mmode.el (define-minor-mode)
6090 (define-globalized-minor-mode): Don't autoload the var definitions.
6091 * emacs-lisp/byte-run.el: Use lexical-binding.
6092 (defun-declarations-alist, macro-declarations-alist): New vars.
6093 (defmacro, defun): Use them.
6094 (make-obsolete, define-obsolete-function-alias)
6095 (make-obsolete-variable, define-obsolete-variable-alias):
6096 Use `declare'.
6097 (macro-declaration-function): Mark obsolete.
6098 * emacs-lisp/autoload.el: Use lexical-binding.
6099 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6100
6e8a1786
AM
61012012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6102
6103 * textmodes/ispell.el (ispell-with-no-warnings):
6104 Define as a macro.
500fcedc
SM
6105 (ispell-kill-ispell, ispell-change-dictionary):
6106 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
6107 `interactive-p'.
6108
61b108cc
SM
61092012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6110
6111 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6112 (macro-declaration-function): Move var from C code.
6113 (macro-declaration-function): Define function with defalias.
6114 * emacs-lisp/macroexp.el (macroexpand-all-1):
6115 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6116 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6117 defun/defmacro any more.
6118 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6119 Provide fallback for unknown arglist.
6120 (byte-compile-arglist-warn): Change calling convention.
6121 (byte-compile-output-file-form): Move print-vars binding.
6122 (byte-compile-output-docform): Simplify accordingly.
6123 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6124 (byte-compile-defmacro-declaration): Remove.
6125 (byte-compile-file-form-defmumble): Generalize to defalias.
6126 (byte-compile-output-as-comment): Return byte-positions.
6127 Simplify callers accordingly.
6128 (byte-compile-lambda): Use `assert'.
6129 (byte-compile-defun, byte-compile-defmacro): Remove.
6130 (byte-compile-file-form-defalias):
6131 Use byte-compile-file-form-defmumble.
6132 (byte-compile-defalias-warn): Remove.
6133
6d3f7c2f
SM
61342012-05-29 Stefan Merten <smerten@oekonux.de>
6135
6136 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 6137 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
6138
6139 (rst-mode-abbrev-table): Merge definition.
6140 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6141 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6142
6dbaa1c7
UJ
61432012-05-29 Ulf Jasper <ulf.jasper@web.de>
6144
6145 * calendar/icalendar.el
6146 (icalendar-export-region): Export UID properly.
6147
d209e2fb 61482012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
6149 * calendar/icalendar.el (icalendar-import-format):
6150 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
6151 (icalendar-import-format-uid): New.
6152 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6153 Export UID.
6154
6876a58d
SM
61552012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6156
6157 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6158 different alternative patterns.
6159 (pcase-codegen): Be more careful to preserve identity.
6160 (pcase--u1): Don't forget to mark vars as used.
6161
6162 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6163 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6164 (byte-compile-from-buffer): ...rather than here.
6165
6166 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6167 functions from byte-compile-function-environment.
6168
46b7967e
TN
61692012-05-29 Troels Nielsen <bn.troels@gmail.com>
6170
6171 * window.el (window-deletable-p): Avoid deleting the root window
6172 of a frame with an active minibuffer.
6173
69d565e2
MR
61742012-05-29 Martin Rudalics <rudalics@gmx.at>
6175
6176 * simple.el (choose-completion): Use quit-window (Bug#11567).
6177
a149fa51
CY
61782012-05-29 Chong Yidong <cyd@gnu.org>
6179
6180 * whitespace.el (whitespace-cleanup): Fix usage of
6181 whitespace-empty-at-bob-regexp (Bug#11492).
6182
2b311310
AH
61832012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6184
6185 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6186 revert (Bug#11488).
6187
b9cb2387
JL
61882012-05-29 Juri Linkov <juri@jurta.org>
6189
6190 * isearch.el (isearch-mode-map): Bind `M-s _' to
6191 `isearch-toggle-symbol'. Bind `M-s c' to
6192 `isearch-toggle-case-fold'.
6193 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6194 (isearch-forward): Add `M-s _' to the docstring.
6195 (isearch-forward-symbol, isearch-toggle-case-fold)
6196 (isearch-symbol-regexp): New functions. (Bug#11381)
6197
d5e61c1c
JL
61982012-05-29 Juri Linkov <juri@jurta.org>
6199
6200 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6201 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6202 a function, call it to get the regexp.
6203 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6204 property `isearch-message-prefix' instead of the string "word ".
6205 (isearch-search-fun-default): For the case of `isearch-word',
6206 return a lambda that calls re-search-forward/re-search-backward
6207 with a regexp returned by `word-search-regexp' or by the function
6208 in `isearch-word'.
6209
8cbd80f7
JL
62102012-05-29 Juri Linkov <juri@jurta.org>
6211
6212 * isearch.el (isearch-search-fun-default): New function.
6213 (isearch-search-fun): Move default part to the new function
6214 `isearch-search-fun-default'.
6215 (isearch-search-fun-function): Set the default value to
6216 `isearch-search-fun-default'. (Bug#11381)
6217
6218 * comint.el (comint-history-isearch-end):
6219 Use `isearch-search-fun-default'.
6220 (comint-history-isearch-search): Use `isearch-search-fun-default'
6221 and remove spacial case for `isearch-word'.
6222 (comint-history-isearch-wrap): Remove spacial case for
6223 `isearch-word'.
6224
6225 * hexl.el (hexl-isearch-search-function):
6226 Use `isearch-search-fun-default'.
6227
6228 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6229 Use `word-search-regexp' for `isearch-word'.
6230
6231 * misearch.el (multi-isearch-search-fun):
6232 Use `isearch-search-fun-default'.
6233
6234 * simple.el (minibuffer-history-isearch-search):
6235 Use `isearch-search-fun-default' and remove spacial case for
6236 `isearch-word'.
6237 (minibuffer-history-isearch-wrap): Remove spacial case for
6238 `isearch-word'.
6239
6240 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6241 Remove spacial case for `isearch-word'.
6242 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6243
85c8c5b6
AM
62442012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6245
6246 Decrease XEmacs incompatibilities.
6247 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6248 Use `string-match'.
6249 (flyspell-delete-region-overlays): Use alternative definition for
6250 XEmacs.
6251 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6252 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6253 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6254 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6255 `define-obsolete-face-alias' under XEmacs, but old method.
6256
6257 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6258 `with-no-warnings' definition or Emacs alias.
6259 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6260 (ispell-word): Do not use `region-p' if XEmacs.
6261
8cab9efc
AM
62622012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6263
6264 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6265 Check for `ispell-dictionary-base-alist' instead of full
6266 `ispell-dictionary-alist'.
6267 (ispell-init-process): Show spellchecker when starting new Ispell
6268 process.
6269
fda91268
RZ
62702012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6271
6272 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6273 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6274
694ea8e3
JB
62752012-05-27 Juanma Barranquero <lekktu@gmail.com>
6276
6277 * version.el (motif-version-string, gtk-version-string)
6278 (ns-version-string): Declare.
6279
e4d4f539
JL
62802012-05-27 Juri Linkov <juri@jurta.org>
6281
6282 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6283 after the `eval-defun-1' specialcaseing
6284 like in `edebug-eval-defun' (bug#10181).
6285
6286 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6287 like in `eval-defun-1'.
6288
33017faf 62892012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 6290
fda91268
RZ
6291 * mail/sendmail.el (mail-yank-region):
6292 Recognize rmail-yank-current-message in addition to insert-buffer.
6293 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
6294 a *mail* buffer created through rmail-start-mail with sendmail as
6295 mail-user-agent.
6296
33017faf
GM
62972012-05-27 Chong Yidong <cyd@gnu.org>
6298
6299 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6300 Default to 256 (Bug#11267).
6301
6302 * help.el (describe-mode): Doc fix.
6303
04188bb9
GM
63042012-05-26 Glenn Morris <rgm@gnu.org>
6305
38264cc9
GM
6306 * w32-fns.el (w32-init-info): Remove.
6307 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6308
eb7afdad
GM
6309 * info.el (info-initialize): For self-contained NS builds, put the
6310 included info/ directory at the front. (Bug#2791)
6311
04188bb9
GM
6312 * paths.el (Info-default-directory-list): Make it a defcustom,
6313 mainly so that we can use custom-initialize-delay.
6314
a179e3f7
SM
63152012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6316
43416392
SM
6317 * subr.el (buffer-has-markers-at): Mark obsolete.
6318
a179e3f7 6319 * subr.el (lambda): Use declare.
43416392 6320
a179e3f7
SM
6321 * emacs-lisp/lisp-mode.el (lambda):
6322 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6323
34a008d9
AH
63242012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6325
6326 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6327
0a3b289f
GM
63282012-05-26 Glenn Morris <rgm@gnu.org>
6329
6330 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6331
758c81e8
GM
63322012-05-25 Glenn Morris <rgm@gnu.org>
6333
f9f334f0
GM
6334 * paths.el: Remove no-byte-compile.
6335 * loadup.el: No need to load paths.el uncompiled.
6336
87eb79c2
GM
6337 * image.el (imagemagick-types-inhibit): Doc fix.
6338
758c81e8
GM
6339 * version.el: Remove no-byte-compile and associated formatting.
6340 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6341 is ancient code from when there was an "inc-vers.el".
6342
e7e85dc0
SM
63432012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6344
6345 * progmodes/gdb-mi.el: Minor style changes.
6346 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6347 Turn into minor modes.
6348 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6349 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6350 (gdb-shell): Remove unneeded let-binding.
6351 (gdb-get-many-fields): Eliminate O(n²) behavior.
6352
f31237a4
EZ
63532012-05-25 Eli Zaretskii <eliz@gnu.org>
6354
6355 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6356 platforms that don't link in fontset.c.
6357
bc1b21bb
JL
63582012-05-25 Juri Linkov <juri@jurta.org>
6359
6360 Use the same diff color scheme as in modern VCSes (bug#10181).
6361
6362 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6363 to avoid confusion with `diff-added' that now uses green colors.
6364 (diff-removed): Use shades of red.
6365 (diff-added): Use shades of green.
6366 (diff-changed): Leave just the yellow color.
6367 (diff-use-changed-face): New variable.
6368 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6369 how to highlight context diff changes.
6370 (diff-refine-change): Use shades of yellow.
6371 (diff-refine-removed): New face that uses shades of red.
6372 (diff-refine-added): New face that uses shades of green.
6373 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6374 `diff-refine-removed' in the call to `smerge-refine-subst'
6375 depending on the value of `diff-use-changed-face'.
6376
6377 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6378 (smerge-other): Use shades of green.
6379 (smerge-base): Use shades of yellow.
6380 (smerge-refined-change): Empty face.
6381 (smerge-refined-removed): New face that uses shades of red.
6382 (smerge-refined-added): New face that uses shades of green.
6383 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6384 args `props-r' and `props-a', and use them. Doc fix.
6385 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6386 on its value use different faces `smerge-refined-change',
6387 `smerge-refined-removed', `smerge-refined-added' in the call to
6388 `smerge-refine-subst'.
6389
6390 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6391 Add face condition `min-colors 88' with shades of red.
6392 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6393 `min-colors 88' with shades of green.
6394 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6395 `min-colors 88' with shades of yellow.
6396
6df9112c
GM
63972012-05-24 Glenn Morris <rgm@gnu.org>
6398
ead5edc0
GM
6399 * paths.el (prune-directory-list, remote-shell-program): Move to...
6400 * files.el (prune-directory-list, remote-shell-program): ...here.
6401 For the latter, delay initialization, prefer ssh, just search PATH.
6402
f18b81e6
GM
6403 * paths.el (term-file-prefix): Move to faces.el (the only user).
6404 * faces.el (term-file-prefix): Move here, make it a defcustom.
6405
ee2f89a6
GM
6406 * paths.el (news-directory, news-path, news-inews-program):
6407 Move to gnus/nnspool.el.
61a583ca 6408
f8815e4c
GM
6409 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6410
c8f3b42c
GM
6411 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6412 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6413 Make the latter a defcustom, with a delayed initialization.
6414
6df9112c
GM
6415 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6416 These were deleted from Gnus itself late 2010.
6417
5dadff36
JB
64182012-05-22 Juanma Barranquero <lekktu@gmail.com>
6419
9e1701c6
JB
6420 * progmodes/which-func.el (which-func-ff-hook):
6421 Check against user-error, not error.
6422
bd7239f5 6423 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
6424 cl-specs.el, which no longer exists.
6425
3290526d
GM
64262012-05-22 Glenn Morris <rgm@gnu.org>
6427
6428 * info.el (info-emacs-bug): New command.
6429 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6430 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6431
ff0c3cfb
GM
64322012-05-21 Glenn Morris <rgm@gnu.org>
6433
6434 * makefile.w32-in (update-subdirs-SH):
6435 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6436
5814f126
SM
64372012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6438
a52c0aa0
SM
6439 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6440
5814f126
SM
6441 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6442 Simplify Maven regexp, and make sure the file can't start with a space
6443 (bug#11517).
6444
b847032c
GM
64452012-05-21 Glenn Morris <rgm@gnu.org>
6446
6447 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6448 Scrap superfluous subshells.
6449
3858bfe7
SM
64502012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6451
6452 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6453 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6454
d14b0029
JB
64552012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6456
6457 * calc/calc.el (calc-ensure-consistent-units): New variable.
6458
a52c0aa0
SM
6459 * calc/calc-units.el (math-consistent-units-p)
6460 (math-check-unit-consistency): New functions.
6461 (calc-quick-units, calc-convert-units):
6462 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6463 is non-nil.
d14b0029
JB
6464 (calc-extract-units): Fix typo.
6465
60c4db3a
SM
64662012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6467
77f3b62e
SM
6468 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6469
60c4db3a
SM
6470 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6471 (flyspell-default-deplacement-commands): Don't spell check after
6472 repeated window/frame switches (e.g. triggered by mouse-movement).
6473 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6474 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6475 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6476 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6477 Remove unused vars.
6478 (flyspell-get-casechars, flyspell-get-not-casechars):
6479 Simplify; Don't bother removing a ] just to add it back.
6480 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6481
d209e2fb 64822012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
6483
6484 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6485 New functions.
bd7239f5 6486 (math-function-table): Add support for more C functions.
b1a10716 6487
3f1b25b5
AM
64882012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6489
090bd7cb
JB
6490 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6491 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6492 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 6493
b581bb5c
SM
64942012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6495
6496 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6497 their respective macro declarations.
6498 * skeleton.el (define-skeleton):
6499 * progmodes/compile.el (define-compilation-mode):
6500 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6501 (define-ibuffer-filter):
6502 * emacs-lisp/generic.el (define-generic-mode):
6503 * emacs-lisp/easy-mmode.el (define-minor-mode)
6504 (define-globalized-minor-mode):
6505 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6506 * emacs-lisp/byte-run.el (defsubst):
6507 * custom.el (deftheme): Add doc-string metadata.
6508
70b8ef8f
SM
65092012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6510
6511 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6512
b1198e17
SM
65132012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6514
9abdc45d
SM
6515 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6516
b1198e17
SM
6517 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6518 * emacs-lisp/cl-macs.el: Idem.
6519 * emacs-lisp/cl-specs.el: Remove.
6520
4735906a
SM
65212012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6522
6523 Minor renaming of internal CL functions and variables.
6524 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6525 (cl--position): Rename from cl-position.
6526 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6527 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6528 (cl--random-state): Rename from *random-state*.
6529
ac348012
SM
65302012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6531
6532 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6533 parens around the arg list (bug#11499).
6534
a0a79cde
JL
65352012-05-17 Juri Linkov <juri@jurta.org>
6536
6537 * isearch.el (word-search-regexp, word-search-backward)
6538 (word-search-forward, word-search-backward-lax)
6539 (word-search-forward-lax): Move functions from search.c
6540 (bug#10145, bug#11381).
6541
65034a51
AM
65422012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6543
090bd7cb
JB
6544 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6545 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6546 Delay for otherchars as for normal word components.
65034a51 6547
1a72a195
SM
65482012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6549
6550 * minibuffer.el (completion--sifn-requote): Fix last change.
6551 (minibuffer-local-must-match-filename-map):
6552 Move define-obsolete-variable-alias before its var.
6553
fdb058c2
SM
65542012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6555
c41045e6
SM
6556 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6557
036dfb8b
SM
6558 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6559 behavior.
6560 (completion--string-equal-p): New function.
6561 (completion--twq-all): Use it to get better assertion failure data.
6562
2473256d
SM
6563 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6564 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6565 (shell--requote-argument): New functions.
6566 (shell-completion-vars): Use them.
6567 (shell--parse-pcomplete-arguments): Rename from
6568 shell-parse-pcomplete-arguments.
6569 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6570 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6571 Obey comint-file-name-quote-list.
6572
fdb058c2
SM
6573 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6574 (smie-indent-keyword): Use it.
6575
51fa99f1
SM
65762012-05-14 Stefan Merten <smerten@oekonux.de>
6577
6578 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6579
e18afed7 65802012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
6581
6582 * net/rlogin.el (rlogin-mode-map): Fix last change.
6583
e18afed7 65842012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
6585
6586 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6587 the following \r\n using a single `process-send-string', since the
6588 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 6589 with two `process-send-string's (Bug#11444).
8633b1f4 6590
e18afed7 65912012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 6592
fdb058c2
SM
6593 * shell.el (shell-parse-pcomplete-arguments):
6594 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 6595
2d21d7f6
WJ
65962012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6597
e18afed7 6598 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
6599 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6600 (image-transform-width, image-transform-fit-width): New functions.
6601 (image-transform-properties): Use them.
6602 (image-transform-check-size): New function.
6603 (image-toggle-display-image): Use it (for testing).
6604 (image-transform-set-rotation): Reduce angle mod 360.
6605 Delete obsolete comment.
6606
7102e6d0
WJ
66072012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6608
6609 * image-mode.el: Fix scaling (bug#11399).
6610 (image-transform-resize): Doc fix.
6611 (image-transform-properties): Default scale is 1 and height should
6612 be an integer.
6613
06bc5e6e
SM
66142012-05-13 Johan Bockgård <bojohan@gnu.org>
6615
6616 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6617 than hard-coding `car', to fix misbehavior when moving forward.
6618
0ae03b6a
CY
66192012-05-13 Chong Yidong <cyd@gnu.org>
6620
6621 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6622 (tabulated-list-entries, tabulated-list-padding)
6623 (tabulated-list-sort-key): Make permanent-local.
6624
6625 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6626 (electric-buffer-list): Put electric buffer menu
6627 command descriptions in this docstring, instead of the docstring
6628 of electric-buffer-menu-mode. Code cleanups.
6629 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6630 Electric-buffer-menu-mode.
6631 (electric-buffer-update-highlight): Minor code cleanup.
6632
205a7391
MA
66332012-05-13 Michael Albinus <michael.albinus@gmx.de>
6634
6635 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6636 (Bug#11447)
6637
e5bd0a28
SM
66382012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6639
6640 Move define-obsolete-variable-alias before the var's definition.
6641 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6642 * tooltip.el (tooltip-hook):
6643 * textmodes/reftex-toc.el (reftex-toc-map):
6644 * textmodes/reftex-sel.el (reftex-select-label-map)
6645 (reftex-select-bib-map):
6646 * textmodes/reftex-index.el (reftex-index-map)
6647 (reftex-index-phrases-map):
6648 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6649 * progmodes/meta-mode.el (meta-mode-map):
6650 * novice.el (disabled-command-hook):
6651 * loadhist.el (unload-hook-features-list):
6652 * frame.el (blink-cursor):
6653 * files.el (find-file-not-found-hooks, write-file-hooks)
6654 (write-contents-hooks):
6655 * emulation/tpu-edt.el (GOLD-map):
6656 * emacs-lock.el (emacs-lock-from-exiting):
6657 * emacs-lisp/generic.el (generic-font-lock-defaults):
6658 * emacs-lisp/chart.el (chart-map):
6659 * dos-fns.el (register-name-alist):
6660 * dired-x.el (dired-omit-files-p):
6661 * desktop.el (desktop-enable):
6662 * cus-edit.el (custom-mode-hook):
6663 * buff-menu.el (buffer-menu-mode-hook):
6664 * bookmark.el (bookmark-read-annotation-text-func)
6665 (bookmark-exit-hooks):
6666 * allout.el (allout-mode-deactivate-hook)
6667 (allout-exposure-change-hook, allout-structure-added-hook)
6668 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6669 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6670 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6671 comes before the corresponding variable's definition.
6672
ac59c2f6
CY
66732012-05-12 Chong Yidong <cyd@gnu.org>
6674
6675 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
6676 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6677 (Buffer-menu-mode-map): Bind it.
6678 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 6679
dee6c9a3
SM
66802012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6681
2171cea5
SM
6682 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6683 (prolog-upper-case-string, prolog-lower-case-string)
6684 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6685 (prolog-use-smie, prolog-smie-grammar): New vars.
6686 (prolog-smie-forward-token, prolog-smie-backward-token)
6687 (prolog-smie-rules): New funs.
6688 (prolog-comment-indent): Remove.
6689 (prolog-mode-variables): Use default comment indentation instead.
6690 Setup SMIE.
6691 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6692 (prolog-mode): Don't call them any more.
6693 (prolog-electric-colon, prolog-electric-dash)
6694 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6695
aa0382bd
SM
6696 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6697
dbacb4bd
SM
6698 * minibuffer.el (completion--twq-all): Again, allow case differences.
6699
13bdd94c
SM
6700 * term.el: Move keymap initialization code to be more idiomatic.
6701 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6702 (term-terminal-menu): Move initialization into declaration.
6703 (term-escape-char): Let the user set it in her .emacs.
6704
ff46c759
SM
6705 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6706 Provide SMIE-based indentation (not enabled by default yet).
6707 (sh-mode-map): Don't bind electric keys.
6708 Use electric-pair-mode instead of skeleton-pair.
6709 (sh-assignment-regexp): Fit within 80 columns.
6710 (sh-indent-supported): Specify actual shell name instead of boolean.
6711 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6712 (sh-maybe-here-document): Use it. Make obsolete.
6713 (sh-electric-here-document-mode) New minor mode.
6714 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6715 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6716 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6717 (sh-smie-rc-grammar, sh-use-smie): New vars.
6718 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6719 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6720 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6721 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6722 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6723 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6724 (sh-set-shell): Use smie-setup if requested.
6725
dee6c9a3
SM
6726 * term.el (term-set-escape-char): Properly set term-escape-char.
6727 See http://stackoverflow.com/questions/10524656.
6728
9f9aa044
CY
67292012-05-10 Chong Yidong <cyd@gnu.org>
6730
6731 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6732 Use url-generic-parse-url, and handle host names and Windows
6733 filenames properly.
6734 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6735 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6736 URL schemes to work on.
6737 (ffap--toggle-read-only): New function.
6738 (ffap-read-only, ffap-read-only-other-window)
6739 (ffap-read-only-other-frame): Use it.
6740 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6741 necessary for ffap-url-unwrap-remote.
6742
836d29b3
DA
67432012-05-10 Dave Abrahams <dave@boostpro.com>
6744
6745 * cus-start.el (create-lockfiles): Add it.
6746
00fd78ed
CY
67472012-05-09 Chong Yidong <cyd@gnu.org>
6748
6749 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6750 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6751
666b903b 67522012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
6753
6754 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6755
666b903b 67562012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
6757
6758 * ansi-color.el (ansi-color-process-output): Check for validity of
6759 comint-last-output-start before using it. This avoids a bad
6760 interaction with gdb-mi's input/output buffer.
6761
666b903b 67622012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
6763
6764 * files.el (dir-locals-read-from-file):
6765 Mention dir-locals in any error message.
6766
666b903b 67672012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
6768
6769 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6770 package (Bug#11410).
6771
f677562b
CY
6772 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6773 variables into description.
6774
666b903b 67752012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
6776
6777 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6778 shell-delimiter-argument-list (bug#11348).
6779 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6780
b499d8d0
JB
67812012-05-09 Juanma Barranquero <lekktu@gmail.com>
6782
8f6b6da8
JB
6783 * textmodes/rst.el: Silence byte-compiler warnings.
6784 (rst-re-alist, rst-reset-section-caches): Move around.
6785 (rst-re): Use `characterp', not `char-valid-p'.
6786 (font-lock-beg, font-lock-end): Declare.
6787
4824146a
JB
6788 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6789 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6790
b499d8d0
JB
6791 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6792
ad89bb83
GM
67932012-05-08 Glenn Morris <rgm@gnu.org>
6794
6795 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6796
8bba5a75
SM
67972012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6798
49ed9c8e
SM
6799 * vc/log-edit.el: Add GNU coding standards highlighting.
6800 (log-edit-font-lock-gnu-style)
6801 (log-edit-font-lock-gnu-keywords): New vars.
6802 (log-edit-font-lock-keywords): New fun.
6803 (log-edit-mode): Don't fold case in font-lock.
6804 (log-edit-font-lock-keywords): Do not assume case-folding.
6805
07d00b56
SM
6806 * imenu.el: Misc cleanup. Make docstrings out of comments.
6807 Use lexical-binding.
6808 (imenu--index-alist, imenu--last-menubar-index-alist)
6809 (imenu-menubar-modified-tick): Use defvar-local.
6810 (imenu--split-menu): Remove unused var.
6811 (imenu--cleanup-seen): Declare as global.
6812 (imenu--cleanup): Use dolist.
6813
8bba5a75
SM
6814 * subr.el (defvar-local): Add debug spec and doc-string position.
6815
5075bdb5
GM
68162012-05-08 Glenn Morris <rgm@gnu.org>
6817
090bd7cb 6818 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
6819 * language/english.el, language/georgian.el, language/greek.el:
6820 * language/japanese.el, language/khmer.el, language/korean.el:
6821 * language/lao.el, language/misc-lang.el, language/romanian.el:
6822 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6823 * language/thai.el, language/utf-8-lang.el:
6824 Remove no-byte-compile setting.
6825
5075bdb5
GM
6826 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6827
06f679a7
AH
68282012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6829
6830 * progmodes/make-mode.el (makefile-browse):
6831 Remove unnecessary interactive. (Bug#11324)
6832
03794570
GM
68332012-05-07 Glenn Morris <rgm@gnu.org>
6834
af8630f4
GM
6835 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6836
03794570
GM
6837 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6838
f0809a9d
SM
68392012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6840
28be5ce7
SM
6841 * loadup.el: Preload newcomment.el.
6842 * newcomment.el: Move autoload-only code to toplevel.
6843
f0809a9d
SM
6844 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6845 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6846 Handle new :right-align column property.
6847 (tabulated-list-print-col): Idem, plus use `display' text-property to
6848 try and preserve alignment for variable pitch fonts.
6849
1241b724
CY
68502012-05-07 Chong Yidong <cyd@gnu.org>
6851
6852 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6853 (tabulated-list-use-header-line): New var.
6854 (tabulated-list-init-header): Use it.
6855 (tabulated-list-print-fake-header): New function.
6856 (tabulated-list-print): Use it.
6857 (tabulated-list-sort-button-map): Add non-header-line commands.
6858 (tabulated-list-init-header): Add column name property to basic
6859 labels as well.
6860 (tabulated-list-col-sort): Handle non-header-line button case.
6861 (tabulated-list--sort-by-column-name): Fix a corner case.
6862
f0809a9d
SM
6863 * buff-menu.el (list-buffers--refresh):
6864 Handle Buffer-menu-use-header-line.
1241b724 6865
e5f9458f
CY
68662012-05-06 Chong Yidong <cyd@gnu.org>
6867
6868 * buff-menu.el: Convert to Tabulated List mode.
6869 (Buffer-menu-buffer+size-width): Make obsolete.
6870 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6871 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6872 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
6873 documentation into docstring of buffer-menu.
6874 (Buffer-menu-toggle-files-only): Add an informative message.
6875 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6876 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6877 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6878 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6879 (Buffer-menu-execute, Buffer-menu-select)
6880 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6881 (Buffer-menu-bury): Use Tabulated List machinery.
6882 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6883 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 6884 Delete.
e5f9458f
CY
6885 (list-buffers--refresh): New function.
6886 (list-buffers-noselect): Use it.
6887 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6888 (Buffer-menu--pretty-file-name): New helper functions.
6889
6890 * loadup.el: Preload tabulated-list.
6891
6892 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6893 tabulated-list-sort-column.
6894 (tabulated-list-init-header): Add the initial aligning space even
6895 if tabulated-list-padding is zero.
6896
e129292c
CS
68972012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6898
6899 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6900 whose cdr is not a cons cell correctly (bug#11038).
6901
6632d361
CY
69022012-05-06 Chong Yidong <cyd@gnu.org>
6903
e129292c
CS
6904 * emacs-lisp/tabulated-list.el (tabulated-list-format):
6905 Accept additional plist in column descriptors.
6632d361
CY
6906 (tabulated-list-init-header): Obey it.
6907 (tabulated-list-get-entry): New function.
6908 (tabulated-list-put-tag): Use it. Use string-width instead of
6909 length.
6910 (tabulated-list--column-number): New function.
6911 (tabulated-list-print): Use it.
e129292c
CS
6912 (tabulated-list-print-col): New function.
6913 Set `tabulated-list-column-name' property on each column's text.
6632d361 6914 (tabulated-list-print-entry): Use it.
e129292c
CS
6915 (tabulated-list-delete-entry, tabulated-list-set-col):
6916 New functions.
6632d361
CY
6917 (tabulated-list-sort-column): New command (Bug#11337).
6918
3cc99f68
CY
6919 * buff-menu.el (list-buffers): Move C-x C-b binding from
6920 buff-menu.el to bindings.el.
6921
6922 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6923 :advertised-binding feature.
6924
52b61776
TN
69252012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
6926
6927 * progmodes/compile.el (compilation-internal-error-properties):
6928 Calculate start position correctly when end-col is set but
6929 end-line is not (Bug#11382).
6930
ebfe2597
WJ
69312012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
6932
6933 * man.el (Man-unindent): Use text-property-default-nonsticky to
6934 prevent untabify from inheriting face properties (Bug#11408).
6935
6d3f7c2f
SM
69362012-05-05 Stefan Merten <smerten@oekonux.de>
6937
6938 * textmodes/rst.el: Major merge with upstream development up to
6939 Docutils SVN r7399 / rst.el V1.2.1.
6940
6941 Clarify maintainership and authors.
6942
6943 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6944 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6945 (rst-official-version, rst-official-cvs-rev, rst-version)
6946 (rst-package-emacs-version-alist): New functions and variables
6947 for version information.
6948
6949 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6950 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6951 (rst-mode-syntax-table, rst-mode): New and corrected functions
6952 and variables representing reStructuredText features.
6953
6954 (rst-re): New function for reStructuredText regexes. Use in
6955 many places.
6956
6957 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6958 (rst-mode-map): Rebind keys.
6959
6960 (rst-mode-lazy, rst-font-lock-keywords)
6961 (rst-font-lock-extend-region)
6962 (rst-font-lock-extend-region-internal)
6963 (rst-font-lock-extend-region-extend)
6964 (rst-font-lock-find-unindented-line-limit)
6965 (rst-font-lock-find-unindented-line-match)
6966 (rst-adornment-level, rst-font-lock-adornment-level)
6967 (rst-font-lock-adornment-match)
6968 (rst-font-lock-handle-adornment-pre-match-form)
6969 (rst-font-lock-handle-adornment-matcher): Major revision of
6970 font-locking. Integrate with other code. Use `jit-lock-mode'.
6971
6972 (rst-preferred-adornments, rst-adjust-hook)
6973 (rst-new-adornment-down, rst-preferred-bullets)
6974 (rst-preferred-bullets, rst-indent, rst-indent-width)
6975 (rst-indent-field, rst-indent-literal-normal)
6976 (rst-indent-literal-minimized, rst-indent-comment): Change,
6977 extend and improve customization.
6978
6979 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6980 (rst-normalize-cursor-position, rst-get-decoration)
6981 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6982 (rst-rstrip, rst-toc-insert-find-delete-contents)
6983 (rst-shift-fill-region, rst-compute-bullet-tabs)
6984 (rst-debug-print-tabs, rst-debug-mark-found)
6985 (rst-shift-region-guts, rst-shift-region-right)
6986 (rst-shift-region-left, rst-use-char-classes)
6987 (rst-font-lock-keywords-function)
6988 (rst-font-lock-indentation-point)
6989 (rst-font-lock-find-unindented-line-begin)
6990 (rst-font-lock-find-unindented-line-end)
6991 (rst-font-lock-find-unindented-line)
6992 (rst-font-lock-adornment-point, rst-font-lock-level)
6993 (rst-adornment-level-alist): Remove functions and variables.
6994
6995 (rst-compare-adornments, rst-get-adornment-match)
6996 (rst-suggest-new-adornment, rst-get-adornments-around)
6997 (rst-adornment-complete-p, rst-get-next-adornment)
6998 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6999 (rst-straighten-adornments): Standardize function names to
7000 use "adornment" instead of "decoration". Correct callers.
7001 Similar standardizing in many places.
7002
7003 (rst-update-section, rst-adjust, rst-promote-region)
7004 (rst-enumerate-region, rst-bullet-list-region)
7005 (rst-repeat-last-character): Correct use of `interactive'.
7006
7007 (rst-classify-adornment, rst-find-all-adornments)
7008 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7009 (rst-find-leftmost-column, rst-repeat-last-character):
7010 Refactor functions.
7011
7012 (rst-find-title-line, rst-reset-section-caches)
7013 (rst-get-adornments-around, rst-adjust-adornment-work)
7014 (rst-arabic-to-roman, rst-roman-to-arabic)
7015 (rst-insert-list-pos, rst-insert-list-new-item)
7016 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7017 New functions.
7018
7019 (rst-all-sections, rst-section-hierarchy)
7020 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7021 New variables.
7022
7023 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7024 configuration instead of only buffer. Change where necessary.
7025
7026 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7027 (rst-shift-region, rst-adaptive-fill): New functions for
7028 indentation and filling.
7029
7030 (rst-comment-line-break, rst-comment-indent)
7031 (rst-comment-insert-comment, rst-comment-region)
7032 (rst-uncomment-region): New functions for handling comments.
7033
7034 (rst-compile): Quote shell arguments.
7035
7036 (rst-compile-pdf-preview, rst-compile-slides-preview):
7037 Delete temporary files after use.
7038
a43f98b3
GM
70392012-05-05 Glenn Morris <rgm@gnu.org>
7040
48176e8b
GM
7041 * calendar/cal-html.el: Optionally include holidays in the output.
7042 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7043 (cal-html-holidays): New option.
7044 (cal-html-css-default): Add holiday entry.
7045 (holiday-in-range): Autoload it.
7046 (cal-html-htmlify-entry): Add optional class argument.
7047 (cal-html-htmlify-list): Add optional holidays argument.
7048 (cal-html-insert-agenda-days): Include holidays in the output.
7049 (cal-html-one-month): Maybe include holidays.
7050
a43f98b3
GM
7051 * calendar/holidays.el (holiday-in-range):
7052 Move here from cal-tex-list-holidays.
7053 * calendar/cal-tex.el (cal-tex-list-holidays):
7054 Make it an obsolete alias for holiday-in-range. Update all callers.
7055
fef9d149 70562012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
7057
7058 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7059 Nextstep.
7060
248da2f4
RW
70612012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7062
7063 * files.el (file-auto-mode-skip): New var.
7064 (set-auto-mode-1): Use it.
7065
f95e9344
SM
70662012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7067
df96ab1e
SM
7068 * repeat.el: Use lexical-binding.
7069 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7070 (repeat-undo-count): Remove.
7071 (repeat):
7072 * progmodes/octave-mod.el (octave-abbrev-start):
7073 * progmodes/f90.el (f90-abbrev-start):
7074 * face-remap.el (text-scale-adjust):
7075 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7076
5342bb06
SM
7077 * emacs-lisp/pcase.el (pcase--let*): New function.
7078 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7079 a bit more.
7080 (pcase--split-pred): Be more clever about ruling out overlap between
7081 a predicate and some constant pattern.
7082 (pcase--q1): Use `null' instead of (eq foo nil).
7083
f95e9344
SM
7084 * subr.el (setq-local, defvar-local): New macros.
7085 (kbd): Redefine as an alias.
7086 (with-selected-window): Leave unrelated frames alone.
7087 (set-temporary-overlay-map): New function.
7088
71873e2b
SM
70892012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7090
7091 * subr.el (user-error): New function.
7092 * window.el (switch-to-buffer):
7093 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7094 (smerge-match-conflict):
7095 * simple.el (previous-matching-history-element)
7096 (next-matching-history-element, goto-history-element, undo-more)
7097 (undo-start):
7098 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7099 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7100 (next-file, tags-loop-scan, list-tags, complete-tag):
7101 * progmodes/compile.el (compilation-loop):
7102 * mouse.el (mouse-minibuffer-check):
7103 * man.el (Man-bgproc-sentinel, Man-goto-page):
7104 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7105 (Info-history-forward, Info-follow-reference, Info-menu)
7106 (Info-extract-menu-item, Info-extract-menu-counting)
7107 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7108 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7109 (Info-next-reference, Info-prev-reference, Info-index)
7110 (Info-index-next, Info-follow-nearest-node)
7111 (Info-copy-current-node-name):
7112 * imenu.el (imenu--make-index-alist)
7113 (imenu-default-create-index-function, imenu-add-to-menubar):
7114 * files.el (basic-save-buffer, recover-file):
7115 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7116 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7117 (checkdoc-message-text, checkdoc-defun):
7118 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7119 * cus-edit.el (customize-changed-options, customize-rogue)
7120 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7121 (custom-variable-mark-to-reset-standard)
7122 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7123 (custom-file):
7124 * completion.el (check-completion-length):
7125 * comint.el (comint-search-arg)
7126 (comint-previous-matching-input-string-position)
7127 (comint-previous-matching-input)
7128 (comint-replace-by-expanded-history-before-point, comint-send-input)
7129 (comint-copy-old-input, comint-backward-matching-input)
7130 (comint-goto-process-mark, comint-set-process-mark):
7131 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7132 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7133
8a61ee22
SM
71342012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7135
66408d1e
SM
7136 * dabbrev.el (dabbrev--ignore-case-p): New function.
7137 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7138 Use it.
7139
8a61ee22
SM
7140 * files.el (automount-dir-prefix): Mark as obsolete.
7141
3c74813a
GM
71422012-05-04 Glenn Morris <rgm@gnu.org>
7143
7144 * patcomp.el, play/bruce.el: Move to obsolete/.
7145
0bfcf5c5
PE
71462012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7147
7148 Fix minor Y10k bugs.
7149 * arc-mode.el (archive-unixdate):
7150 * autoinsert.el (auto-insert-alist):
7151 * calc/calc-forms.el (math-this-year):
7152 * emacs-lisp/copyright.el (copyright-current-year)
7153 (copyright-update-year, copyright):
7154 * tar-mode.el (tar-clip-time-string):
7155 * time.el (display-time-update):
7156 Don't assume years have 4 digits.
7157
78f3273a
CY
71582012-05-04 Chong Yidong <cyd@gnu.org>
7159
7160 * dos-w32.el (file-name-buffer-file-type-alist)
7161 (direct-print-region-use-command-dot-com):
7162 * ffap.el (ffap-menu-regexp):
7163 * find-file.el (ff-special-constructs):
7164 * follow.el (follow-debug):
7165 * forms.el (forms--debug):
7166 * iswitchb.el (iswitchb-all-frames):
7167 * ido.el (ido-all-frames):
7168 * emacs-lisp/timer.el (timer-max-repeats):
7169 * mail/feedmail.el (feedmail-mail-send-hook)
7170 (feedmail-mail-send-hook-queued):
7171 * mail/footnote.el (footnote-signature-separator):
7172 * mail/mailabbrev.el (mail-alias-separator-string)
7173 (mail-abbrev-mode-regexp):
7174 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7175 * progmodes/idlwave.el (idlwave-libinfo-file)
7176 (idlwave-default-completion-case-is-down)
7177 (idlwave-library-routines): Convert defvars to defcustoms.
7178
7179 * mail/rmail.el (rmail-decode-mime-charset):
7180 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7181 (idlwave-shell-fix-inserted-breaks)
7182 (idlwave-shell-activate-alt-keybindings)
7183 (idlwave-shell-use-breakpoint-glyph):
7184 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7185
f7ae6719
SM
71862012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7187
7188 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7189
47086495
WS
71902012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7191
7192 * progmodes/verilog-mode.el (font-lock-keywords):
7193 Fix mis-highligting auto. Reported by Craig Barner.
7194 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 7195 defines from global name space. Reported by Dan Dever.
47086495
WS
7196 (verilog-auto-reset, verilog-auto-reset-widths)
7197 (verilog-auto-tieoff): Support using unbased numbers for
7198 AUTORESET and AUTOTIEOFF.
7199 (verilog-submit-bug-report): Update variable list.
7200 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 7201 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
7202 (verilog-auto-template-lint): Fix hash error when linting modules
7203 with no used templates.
7204 (verilog-warn, verilog-warn-error)
7205 (verilog-warn-fatal): When non-interactive report multiple
7206 warnings before exiting. Suggested by Brad Dobbie.
7207 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7208 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7209 to report unused template errors. Reported by Brad Dobbie.
7210 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 7211 nets, bug438. Reported by Vns Blore.
47086495
WS
7212 (verilog-auto-inout-module, verilog-auto-reg)
7213 (verilog-read-decls, verilog-read-sub-decls-sig)
7214 (verilog-signals-edit-wire-reg, verilog-signals-with):
7215 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 7216 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
7217 "reg" for backwards compatibility presuming Verilog 2001.
7218 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7219 (verilog-preprocess): Fix replication of preprocess output.
7220 Reported by Brad Dobbie.
7221 (verilog-auto-inst-interfaced-ports):
7222 Create verilog-auto-inst-interfaced-ports, bug429.
7223 Reported by Julian Gorfajn.
7224 (verilog-after-save-font-hook)
7225 (verilog-before-save-font-hook): New variable.
7226 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7227 (verilog-save-font-mods): Wrap disabling fontification, reported
7228 by David Rogoff.
7229 (verilog-do-indent, verilog-pretty-declarations-auto)
7230 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7231 Reported by Pierre-David Pfister.
7232 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7233 of class declarations, bug292. Reported by Kevin Heilman.
7234 (verilog-read-decls): Fix 'parameter type' not appearing in
7235 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7236 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 7237 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
7238 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7239 Reported by David Kravitz.
7240
72412012-05-03 Michael McNamara <mac@mail.brushroad.com>
7242
7243 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7244 assignment with tests in ifs and for loops.
7245 (verilog-extended-complete-re, verilog-complete-reg): Change so
7246 that DPI inport functions don't look like fuction declarations.
7247 (verilog-pretty-expr): Don't line up assignment
7248 operations to the test and increment in if and for loops
7249 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 7250 that DPI inport functions don't look like fuction declarations.
47086495 7251
2e51d4b5
KH
72522012-05-03 Kenichi Handa <handa@m17n.org>
7253
7254 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 7255 decoding, and show a warning message without signaling an error
2e51d4b5
KH
7256 (Bug#11282).
7257
2bd785a2
SM
72582012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7259
7260 * emacs-lisp/bytecomp.el
7261 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7262 since cconv.el might have introduced :fun-body, internal-make-closure,
7263 and friends for bytecomp to handle (bug#11391).
7264 * custom.el (defcustom): Avoid ((λ ..) ..).
7265
99d27583
SM
72662012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7267
7268 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7269
55a71479
JB
72702012-05-02 Juanma Barranquero <lekktu@gmail.com>
7271
7272 * notifications.el (dbus-debug):
7273 * term/linux.el (gpm-mouse-enable):
7274 * term/screen.el (xterm-register-default-colors): Declare.
7275
7b97c764
CY
72762012-05-02 Chong Yidong <cyd@gnu.org>
7277
2bc356d7
CY
7278 * cus-start.el (gc-cons-percentage, exec-suffixes)
7279 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7280 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7281 (make-cursor-line-fully-visible, void-text-area-pointer)
7282 (font-list-limit): Add customization data.
7283
7b97c764
CY
7284 * allout.el (allout-exposure-change-functions)
7285 (allout-structure-added-functions)
7286 (allout-structure-deleted-functions)
7287 (allout-structure-shifted-functions): Rename abnormal hooks from
7288 *-hook, and convert to defcustoms.
5d3385a0
JB
7289 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7290 Convert to defcustoms.
7b97c764
CY
7291 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7292
7293 * allout-widgets.el: Hook callers changed.
7294
90207a15 72952012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
7296
7297 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7298 the yanked message in preference to the default value of
7299 buffer-file-coding-system.
7300
90207a15 73012012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 7302
5d3385a0
JB
7303 * window.el (display-buffer--action-function-custom-type):
7304 Fix entry.
d9558cad 7305
90207a15 73062012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
7307
7308 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7309
d80ac57b
GM
73102012-05-01 Glenn Morris <rgm@gnu.org>
7311
976f7668
GM
7312 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7313
beb83b5a
GM
7314 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7315
d80ac57b
GM
7316 * cus-edit.el (custom-variable-documentation): Simplify with format.
7317
b593d6a9 73182012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 7319 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
7320
7321 * simple.el (suggest-key-bindings, execute-extended-command):
7322 Move from keyboard.c.
7323
782fbf2a
CY
73242012-05-01 Chong Yidong <cyd@gnu.org>
7325
7326 * follow.el: Eliminate advice.
7327 (set-process-filter, process-filter, sit-for): Advice deleted.
7328 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
7329 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7330 Vars deleted.
782fbf2a
CY
7331 (follow-auto): Use a :set function.
7332 (follow-mode): Rewritten. Don't advise process filters.
7333 (follow-switch-to-current-buffer-all, follow-scroll-up)
7334 (follow-scroll-down): Assume follow-mode is bound.
7335 (follow-comint-scroll-to-bottom)
7336 (follow-align-compilation-windows): New functions.
7337 (follow--window-sorter): New function.
7338 (follow-all-followers): Use it to explicitly sort windows by their
7339 positions; don't make assumptions about next-window order.
7340 (follow-windows-start-end, follow-delete-other-windows-and-split)
7341 (follow-calc-win-start): Doc fix.
7342 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7343 vertical-motion unnecessarily.
7344 (follow-adjust-window): New function.
7345 (follow-post-command-hook): Use it.
7346 (follow-call-set-process-filter, follow-call-process-filter)
7347 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7348 (follow-stop-intercept-process-output, follow-generic-filter):
7349 Functions deleted.
7350 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
7351 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7352 New functions, replacing advice on scroll-bar-* commands.
87233a14 7353 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
7354
7355 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
7356 (comint-postoutput-scroll-to-bottom): Use it.
7357 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 7358
290af740
GM
73592012-05-01 Glenn Morris <rgm@gnu.org>
7360
7361 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7362 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7363 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7364 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7365 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7366 Remove no-byte-compile setting.
7367
6eac8dc9
SM
73682012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7369
7370 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7371 all-completions code to not return a number in the last cdr.
7372
9cc7819c
LL
73732012-04-30 Leo Liu <sdl.web@gmail.com>
7374
7375 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7376 read-only error.
7377
c93b886f
CY
73782012-04-29 Chong Yidong <cyd@gnu.org>
7379
7380 * follow.el (follow-calc-win-end): Rewrite to handle partial
7381 screen lines correctly (Bug#8390).
7382 (follow-avoid-tail-recenter): Minor cleanup.
7383
8b6c19f4
SM
73842012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7385
7386 Avoid the obsolete `assoc' package.
7387 * speedbar.el (speedbar-refresh): Avoid adelete.
7388 (speedbar-file-lists): Simplify and avoid aput.
7389 * man.el (Man--sections, Man--refpages): New vars, replacing
7390 Man-sections-alist and Man-refpages-alist.
7391 (Man-build-section-alist, Man-build-references-alist):
7392 Use them; avoid aput.
7393 (Man--last-section, Man--last-refpage): New vars.
7394 (Man-follow-manual-reference): Use them.
7395 Use the `default' arg of completing-read.
7396 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7397
c5bb7569
CY
73982012-04-27 Chong Yidong <cyd@gnu.org>
7399
d1d2e2e8
CY
7400 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7401
15cd8efd
CY
7402 * startup.el (x-apply-session-resources): New function.
7403
7404 * term/ns-win.el (ns-initialize-window-system):
7405 * term/w32-win.el (w32-initialize-window-system):
7406 * term/x-win.el (x-initialize-window-system): Use it to properly
7407 set menu-bar-mode and other vars from X resources, even if the
7408 initial frame is not a window-system frame (Bug#2299).
7409
c5bb7569
CY
7410 * subr.el (read-key): Avoid running filter function when setting
7411 up temporary tool bar entries (Bug#9922).
7412
a8e7d6d7 74132012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
7414
7415 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7416 (Bug#11344)
7417
a8e7d6d7 74182012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
7419
7420 * select.el (xselect--encode-string): New function, split from
7421 xselect-convert-to-string.
7422 (xselect-convert-to-string): Use it.
7423 (xselect-convert-to-filename, xselect-convert-to-os)
7424 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7425 returned strings are properly encoded (Bug#11315).
7426
a8e7d6d7 74272012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
7428
7429 * simple.el (delete-active-region): Move to killing custom group.
7430
a8e7d6d7 74312012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
7432
7433 * progmodes/which-func.el (which-func-current): Quote %
7434 characters for mode-line processing.
7435
578c1d4b 74362012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
7437
7438 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7439 reaching eob (Bug#11286).
7440
a8e7d6d7 74412012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
7442
7443 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7444 (gdb): Make it buffer-local and init to zero.
7445 (gdb-control-commands-regexp): New variable.
7446 (gdb-send): Don't wrap in "-interpreter-exec console" if
7447 gdb-control-level is positive. Increment gdb-control-level
7448 whenever the command matches gdb-control-commands-regexp, and
7449 decrement it each time the command is "end". (Bug#11279)
7450
a8e7d6d7 74512012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
7452
7453 * window.el (adjust-window-trailing-edge, enlarge-window)
7454 (shrink-window, window-resize):
7455 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7456 windows (Bug#11276).
7457
b3608390
CY
74582012-04-27 Chong Yidong <cyd@gnu.org>
7459
7460 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 7461 fix "missing prefix" warning. All callers changed.
b3608390 7462
797e6e88
SM
74632012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7464
7465 * emacs-lisp/assoc.el: Move to obsolete/.
7466
e95a67dc
SM
74672012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7468
657c21e4 7469 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
7470
7471 * term/ns-win.el (ns-define-service):
7472 * progmodes/pascal.el (pascal-goto-defun):
7473 * progmodes/js.el (js--read-tab):
7474 * progmodes/etags.el (tags-lazy-completion-table):
7475 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7476 * emacs-lisp/ewoc.el (ewoc--wrap):
7477 * emacs-lisp/assoc.el (aput, adelete, amake):
7478 * doc-view.el (doc-view-convert-current-doc):
7479 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7480
cb3e7ae0
CY
74812012-04-26 Chong Yidong <cyd@gnu.org>
7482
dce04f7f
CY
7483 * image.el (image-type-from-buffer): Only return supported image
7484 type (Bug#9045).
7485
cb3e7ae0
CY
7486 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7487 value, for symmetry with diff-end-of-hunk.
7488 (diff-split-hunk, diff-find-source-location)
7489 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7490 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7491 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7492 compute the relevant hunk or file properly (Bug#6005).
7493 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7494
0d42eb3e
SM
74952012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7496
7497 * vc/vc-mtn.el:
7498 * vc/vc-hg.el:
7499 * vc/vc-git.el:
7500 * vc/vc-dir.el:
7501 * vc/vc-cvs.el:
7502 * vc/vc-bzr.el:
7503 * vc/vc-arch.el:
7504 * vc/vc.el: Replace lexical-let by lexical-binding.
7505 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7506 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7507 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7508
f08ae1c9
CY
75092012-04-26 Chong Yidong <cyd@gnu.org>
7510
8b71081d
CY
7511 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7512 (diff-mode-shared-map): Bind it to / and [remap undo].
7513
f08ae1c9
CY
7514 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7515 (ediff-window-setup-function): Use it as the default, to set up
7516 windows based on whether the current frame is graphical (Bug#2138).
7517 (ediff-choose-window-setup-function-automatically): Make obsolete.
7518
7519 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7520
ef24141c
SM
75212012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7522
cc356a5d
SM
7523 * ffap.el: Remove old code for obsolete package.
7524 (ffap-complete-as-file-p): Remove.
7525
b4ff4f1f
SM
7526 Use completion-table-with-quoting for comint and pcomplete.
7527 * comint.el (comint--unquote&requote-argument)
7528 (comint--unquote-argument, comint--requote-argument): New functions.
7529 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7530 (comint-quote-filename): Use regexp-opt-charset.
7531 (comint--common-suffix, comint--common-quoted-suffix)
7532 (comint--table-subvert): Remove.
7533 (comint-unquote-function, comint-requote-function): New vars.
7534 (comint--complete-file-name-data): Use them with
7535 completion-table-with-quoting.
7536 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7537 * pcomplete.el (pcomplete-arg-quote-list)
7538 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7539 (pcomplete-unquote-argument-function): Default to non-nil.
7540 (pcomplete-unquote-argument): Simplify.
7541 (pcomplete--common-quoted-suffix): Remove.
7542 (pcomplete-requote-argument-function): New var.
7543 (pcomplete--common-suffix): New function.
7544 (pcomplete-completions-at-point): Use completion-table-with-quoting
7545 and completion-table-subvert.
7546
79c4eeb4
SM
7547 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7548 (minibuffer--double-dollars): Preserve properties.
7549 (completion--sifn-requote): New function.
7550 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7551
ef24141c
SM
7552 * minibuffer.el: Add support for completion of quoted/escaped data.
7553 (completion-table-with-quoting, completion-table-subvert): New funs.
7554 (completion--twq-try, completion--twq-all): New functions.
7555 (completion--nth-completion): New function.
7556 (completion-try-completion, completion-all-completions): Use it.
7557
784e7d6e
LL
75582012-04-25 Leo Liu <sdl.web@gmail.com>
7559
dd2ac746
SM
7560 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7561 Use compilation-message if available to find real filename.
784e7d6e 7562
07875ee7
CY
75632012-04-25 Chong Yidong <cyd@gnu.org>
7564
7565 * vc/diff-mode.el (diff-setup-whitespace): New function.
7566 (diff-mode): Use it.
7567
7568 * vc/diff.el (diff-sentinel):
7569 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7570 Whitespace mode variables based on diff style (Bug#8612).
7571
5055880d
LL
75722012-04-25 Leo Liu <sdl.web@gmail.com>
7573
daf75653
LL
7574 * progmodes/python.el (python-send-region): Add suffix .py to the
7575 temp file.
7576
5055880d
LL
7577 * files.el (auto-mode-alist): Use javascript-mode instead.
7578
db9b177b
AH
75792012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7580
ef24141c 7581 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 7582
090bd7cb 7583 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 7584 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 7585 references, see Bug#9.
ef24141c 7586 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 7587 when receiving a fault reply.
ef24141c 7588 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 7589
090bd7cb 7590 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 7591 (soap-inspect-simple-type): New function.
db9b177b 7592
090bd7cb 7593 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 7594 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
7595 (soap-decode-basic-type, soap-encode-basic-type):
7596 support unsignedInt and double basic types.
db9b177b 7597 (soap-resolve-references-for-simple-type)
ef24141c
SM
7598 (soap-parse-simple-type, soap-encode-simple-type): New function.
7599 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 7600
090bd7cb 7601 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
7602 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7603 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7604 the local name of "soapenc:Array".
7605 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
7606 decoding integer, byte and anyURI xsd types.
7607
1fc6097b
CY
76082012-04-25 Chong Yidong <cyd@gnu.org>
7609
7610 * cus-edit.el (custom-buffer-create-internal): Update header text.
7611
afc6df87
EZ
76122012-04-25 Eli Zaretskii <eliz@gnu.org>
7613
7614 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7615 settings on 'system-type', not on 'window-system'. On MS-Windows,
7616 set interactive-mode on in GDB.
7617
dfbd787f
SM
76182012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7619
7620 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7621 (ruby-syntax-propertize-regexp): Remove.
7622 (ruby-syntax-propertize-function): Split regexp into chunks.
7623 Match following code directly.
7624
85222d44
DG
76252012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7626
51a8ea2a
DG
7627 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7628 (ruby-syntax-propertize-regexp): New function.
7629 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7630 by a special keyword.
7631
85222d44
DG
7632 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7633 (ruby-syntax-general-delimiters-goto-beg)
7634 (ruby-syntax-propertize-general-delimiters): New functions.
7635 (ruby-syntax-propertize-function): Use them to handle GDL.
7636 (ruby-font-lock-keywords): Move old handling of GDL...
7637 (ruby-font-lock-syntactic-keywords): .. to here.
7638 (ruby-calculate-indent): Adjust indentation for GDL.
7639
b613912b
MA
76402012-04-24 Michael Albinus <michael.albinus@gmx.de>
7641
b5380639
MA
7642 * notifications.el (top): Remove unneeded declarations.
7643 (notifications-specification-version): Change to "1.2".
e43042fe 7644 (notifications-interface, notifications-notify-method)
b613912b
MA
7645 (notifications-close-notification-method): Fix docstring.
7646 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
7647 (notifications-notify): Add :action-items, :resident and
7648 :transient hints. Change "image_data" to "image-data" and
7649 "image_path" to "image-path".
b613912b
MA
7650 (notifications-get-capabilities): New defun.
7651
257440aa
LL
76522012-04-24 Leo Liu <sdl.web@gmail.com>
7653
7654 * progmodes/python.el: Move hideshow setup to the end.
7655
b1bac16e
MR
76562012-04-24 Martin Rudalics <rudalics@gmx.at>
7657
7658 * window.el (handle-select-window): Clear echo area since this is
7659 no more done by read_char (Bug#11304).
7660
d81bd059
SM
76612012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7662
7663 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7664 and `/ M' to filter-derived-mode.
7665 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7666 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7667 (ibuffer-mark-by-mode): Use default rather than initial-input.
7668 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7669
c4cf6d91
IA
76702012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7671
7672 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7673 (ibuffer-filter-by-derived-mode): New filter.
7674 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7675
7511ded8
CY
76762012-04-23 Andreas Politz <politza@fh-trier.de>
7677
7678 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7679
775c916b
CY
76802012-04-23 Chong Yidong <cyd@gnu.org>
7681
7682 * cus-edit.el (customize-apropos, customize-apropos-options):
7683 Disable matching of non-option variables (Bug#11176).
7684 (customize-option, customize-option-other-window)
7685 (customize-changed-options): Doc fix.
7686 (customize-apropos-options, customize-apropos-faces)
7687 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7688
7689 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 7690 Fix word list splitting (Bug#11132).
46c71e23
CY
7691 (apropos-symbol, apropos-keybinding, apropos-label)
7692 (apropos-property, apropos-function-button)
7693 (apropos-variable-button, apropos-misc-button): New faces.
7694 (apropos-symbol-face, apropos-keybinding-face)
7695 (apropos-label-face, apropos-property-face, apropos-match-face):
7696 Variables removed (Bug#8396).
7697 (apropos-library-button, apropos-format-plist, apropos-print)
7698 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 7699
2df41f9c
MA
77002012-04-23 Michael Albinus <michael.albinus@gmx.de>
7701
7702 * net/xesam.el (xesam-mode-map): Use let-bound map in
7703 initialization. (Bug#11292)
7704
da00640a
AM
77052012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7706
7707 Preserve ispell session localwords when switching back to
7708 original buffer.
7709
090bd7cb
JB
7710 * textmodes/ispell.el (ispell-buffer-session-localwords):
7711 New buffer-local variable to hold buffer session localwords.
ed9265fc 7712 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
7713 localwords.
7714 (ispell-command-loop, ispell-change-dictionary)
7715 (ispell-buffer-local-words): Preserve session localwords when
7716 needed.
7717
090bd7cb
JB
7718 * textmodes/flyspell.el (flyspell-process-localwords)
7719 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 7720
f621ccf5
AM
77212012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7722
090bd7cb
JB
7723 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7724 using obsolete `translation-table-for-input'.
ef24141c
SM
7725 (ispell-word, ispell-process-line, ispell-complete-word):
7726 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 7727
c2d1019e
CY
77282012-04-22 Chong Yidong <cyd@gnu.org>
7729
7730 * cus-edit.el (custom-variable-menu)
7731 (custom-variable-reset-saved, custom-face-menu)
7732 (custom-face-reset-saved): If there is no saved value, make the
7733 "reset-saved" operation bring back the default (Bug#9509).
7734 (custom-face-state): Properly detect themed faces.
7735
eeddc531
CY
7736 * faces.el (face-spec-set): Stop supporting deprecated form of
7737 third arg.
7738
dcbf5805
MA
77392012-04-22 Michael Albinus <michael.albinus@gmx.de>
7740
7741 Move functions from C to Lisp. Make non-blocking method calls
7742 the default. Implement further D-Bus standard interfaces.
7743
ef24141c
SM
7744 * net/dbus.el (dbus-message-internal): Declare function.
7745 Remove unneeded function declarations.
dcbf5805
MA
7746 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7747 (dbus-message-type-method-return, dbus-message-type-error)
7748 (dbus-message-type-signal): Declare variables. Remove local
7749 definitions.
7750 (dbus-interface-dbus, dbus-interface-peer)
7751 (dbus-interface-introspectable, dbus-interface-properties)
7752 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7753 Adapt docstring.
7754 (dbus-interface-objectmanager): New defconst.
7755 (dbus-call-method, dbus-call-method-asynchronously)
7756 (dbus-send-signal, dbus-method-return-internal)
7757 (dbus-method-error-internal, dbus-register-service)
7758 (dbus-register-signal, dbus-register-method): New defuns, moved
7759 from dbusbind.c
7760 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
7761 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7762 New defuns.
dcbf5805
MA
7763 (dbus-call-method-non-blocking): Make it an obsolete function.
7764 (dbus-unregister-object, dbus-unregister-service)
7765 (dbus-handle-event, dbus-register-property)
7766 (dbus-property-handler): Obey the new structure of
7767 `bus-registered-objects'.
7768 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7769 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7770 Use `dbus-call-method'.
7771
cf20dee0
CY
77722012-04-22 Chong Yidong <cyd@gnu.org>
7773
7774 * cus-edit.el (custom-commands, custom-reset-menu)
7775 (Custom-reset-standard): Tweak labels.
7776 (custom-reset-button-menu): Change default to t.
7777 (custom-buffer-create-internal): For the custom-reset-button-menu
7778 case, put the revert button first.
7779 (custom-group-subtitle): New face.
7780 (custom-group-value-create): Align docstring to a specific column.
7781
7782 * wid-edit.el (widget-documentation-link-add): Don't handle
7783 indentation in this function.
7784 (widget-documentation-string-indent-to): New function.
7785 (widget-documentation-string-value-create): Use it.
7786
7787 * autorevert.el (auto-revert):
7788 * epg-config.el (epg):
7789 * ibuffer.el (ibuffer):
7790 * mpc.el (mpc):
7791 * ses.el (ses):
7792 * eshell/eshell.el (eshell):
7793 * net/ange-ftp.el (ange-ftp):
7794 * progmodes/ebnf2ps.el (postscript):
7795 * progmodes/flymake.el (flymake):
7796 * progmodes/prolog.el (prolog):
7797 * progmodes/verilog-mode.el (verilog-mode):
7798 * progmodes/which-func.el (which-func):
7799 * term/xterm.el (xterm):
7800 * textmodes/picture.el (picture):
7801 * textmodes/tildify.el (tildify):
7802 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7803 customization buffers.
7804
583e23bd
AM
78052012-04-22 Alan Mackenzie <acm@muc.de>
7806
7807 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7808 Adding a ) can hide the resulting (..) from searches. Fix it.
7809 Bound the backward search to the position of the existing (.
7810
7dd51bf1
JB
78112012-04-21 Juanma Barranquero <lekktu@gmail.com>
7812
7813 * progmodes/verilog-mode.el (verilog-mode): Check whether
7814 which-func-modes is t before adding verilog-mode.
7815 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7816
d64a438f
LL
78172012-04-21 Leo Liu <sdl.web@gmail.com>
7818
7dd51bf1 7819 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 7820
081e8d65
MV
78212012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7822
7823 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7824 filling of the last column of a table (Bug#5635).
7825 (woman-find-next-control-line): New arg, specifying an additional
7826 regexp component for the control line.
7827 (woman2-roff-buffer): Use it.
7828 (woman-break-table): New function.
7829 (woman2-TS): Use it.
7830
78312012-04-21 Chong Yidong <cyd@gnu.org>
7832
7833 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7834 (woman-horizontal-escapes, woman-negative-vertical-space)
7835 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7836 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7837
ed571ccb
SM
78382012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7839
7840 * minibuffer.el (completion-file-name-table): Complete user names.
7841
39773899
LL
78422012-04-20 Leo Liu <sdl.web@gmail.com>
7843
7844 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7845 and pcase-let*.
7846
de6ff46d
CY
78472012-04-20 Chong Yidong <cyd@gnu.org>
7848
7849 * server.el (server-execute): Respect initial-buffer-choice if it
7850 is a string and there are no files to open (Bug#2825).
7851 (server-create-window-system-frame, server-create-tty-frame):
7852 Don't switch buffers here.
2d0e8e61
CY
7853 (server-process-filter): Only try to open a window system frame if
7854 compiled with graphical support (Bug#8314).
de6ff46d 7855
54071013
DN
78562012-04-20 Dan Nicolaescu <dann@gnu.org>
7857
7858 * battery.el (battery-echo-area-format): Display remaining time
7859 for sysfs backend too (Bug#11269).
7860 (battery-linux-sysfs): Fix conditional for the charge.
7861
f30d612a
CY
78622012-04-20 Chong Yidong <cyd@gnu.org>
7863
c07a4c0b 7864 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
7865 (gdb-inferior-io--init-proc): New function.
7866 (gdb-init-1): Use it.
7867 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7868 responsible for allocating a new pty and hooking it to gdb when
7869 the old pty gets an EIO due to process exit.
7870 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
7871 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7872 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7873
2116e93c
EZ
78742012-04-20 Eli Zaretskii <eliz@gnu.org>
7875
7876 * window.el (window-min-size, window-sizable, window-min-delta)
7877 (window-max-delta, window--resizable, window-resizable)
7878 (window-total-size, window-full-height-p, window-full-width-p)
7879 (window-in-direction, window--resize-mini-window, window-resize)
7880 (window--resize-child-windows-normal)
7881 (window--resize-child-windows, window--resize-siblings)
7882 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 7883 (enlarge-window, shrink-window): Doc fixes.
2116e93c 7884
c07a4c0b 78852012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 7886
ef24141c
SM
7887 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7888 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
7889 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7890 pty process (Bug#11273).
7891 (gdb-update): New arg to suppress talking to the gdb process.
7892 (gdb-done-or-error): Use it.
7893 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7894 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7895 sentinel not being called.
7896
7897 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7898
d02766ab
CY
7899 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7900
c07a4c0b 79012012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
7902
7903 * net/network-stream.el (open-network-stream): Doc fix.
7904
c07a4c0b 79052012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
7906
7907 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7908
c07a4c0b 79092012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
7910
7911 Ensure searching for keywords is case sensitive.
7912
7913 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7914 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7915 (c-defun-name, c-mark-function, c-cpp-define-name)
7916 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 7917 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 7918
ef24141c
SM
7919 * progmodes/cc-mode.el (c-font-lock-fontify-region):
7920 Bind case-fold-search to nil.
f0f6bc35 7921
c07a4c0b 79222012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
7923
7924 * mail/sendmail.el (mail-bury): Call return action with the right
7925 Rmail buffer (Bug#11242).
7926
9a864fa2
CY
7927 * server.el (server-process-filter): Handle corner case where both
7928 tty and nowait options are present (Bug#11102).
7929
539aa513
EZ
79302012-04-20 Eli Zaretskii <eliz@gnu.org>
7931
7932 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
7933 (top level): Put into the executable the ident-style '$Id:' tag on
7934 windows-nt as well.
539aa513 7935
cfc7d5da
SM
79362012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7937
7938 * electric.el (electric-indent-post-self-insert-function): Check that
7939 electric-indent-mode is enabled in current buffer.
7940
5b01685c
JB
79412012-04-19 Juanma Barranquero <lekktu@gmail.com>
7942
7943 * imenu.el (imenu-progress-message): Restore; it is "used" in
7944 erc/erc-imenu.el and net/snmp-mode.el.
7945
4d6769e1
JB
79462012-04-19 Juanma Barranquero <lekktu@gmail.com>
7947
7948 * avoid.el (mouse-avoidance-mode): Mark unused arg.
7949 (mouse-avoidance-nudge-mouse): Remove unused binding.
7950
7951 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7952
7953 * descr-text.el (describe-char):
7954 * progmodes/python.el (python-describe-symbol):
7955 Don't call `toggle-read-only', set `buffer-read-only'.
7956
7957 * imenu.el (imenu-default-goto-function): Mark unused args.
7958 (imenu-progress-message): Remove obsolete macro; all callers changed.
7959
7960 * subr.el (keymap-canonicalize): Remove unused binding.
7961 (read-passwd): Mark unused arg.
7962
7963 * tutorial.el (tutorial--display-changes): Remove unused binding.
7964 (tutorial--save-tutorial-to): Remove unused variable.
7965
7966 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7967 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7968 (package-generate-autoloads, package-menu--generate)
7969 (package-menu--find-upgrades): Remove unused bindings.
7970
7971 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7972 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7973 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7974 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7975 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7976 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7977 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7978 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7979 (cua-delete-char-rectangle): Mark unused args.
7980 (cua-align-rectangle): Remove unused binding.
7981
7982 * mail/rmail.el (compilation--message->loc)
7983 (epa--find-coding-system-for-mime-charset): Declare.
7984
7985 * net/dbus.el (dbus-register-service): Declare.
7986 (dbus-name-owner-changed-handler): Remove unused binding.
7987
7988 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7989 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7990 (nxml-scan-backward-within): Mark unused arg.
7991 (nxml-dynamic-markup-word): Remove unused binding.
7992
7993 * mouse.el (mouse-menu-major-mode-map):
7994 * emacs-lisp/authors.el (authors-scan-change-log)
7995 (authors-add-to-author-list):
7996 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7997 * emacs-lisp/smie.el (smie-auto-fill):
7998 * mail/sendmail.el (mail-bury):
7999 * mail/unrmail.el (unrmail):
8000 * net/tls.el (open-tls-stream):
8001 * textmodes/picture.el (picture-mouse-set-point):
8002 Remove unused bindings.
8003
8c8fc5df
MA
80042012-04-19 Michael Albinus <michael.albinus@gmx.de>
8005
8006 * net/tramp.el (tramp-action-password): Let-bind
8007 `enable-recursive-minibuffers' to t.
8008
a77b0ac9
SS
80092012-04-18 Sam Steingold <sds@gnu.org>
8010
8011 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8012 instead of 'string to accommodate values like [f11].
8013 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8014 * progmodes/gdb-mi.el: Likewise.
8015
12a106a9
LL
80162012-04-18 Leo Liu <sdl.web@gmail.com>
8017
8018 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8019 current buffer.
8020 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8021 LOCAL is nil.
8022
bc6494ef
CY
80232012-04-18 Chong Yidong <cyd@gnu.org>
8024
8025 * simple.el (line-move): Use forward-line if in batch mode
8026 (Bug#11053).
8027
c09c46b2
CS
80282012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8029
8030 * files.el (after-find-file): Do not try to add a final newline if
8031 the buffer is read-only (Bug#11156).
8032
5f6530ea
RS
80332012-04-17 Richard Stallman <rms@gnu.org>
8034
8035 * mail/rmail.el (rmail-start-mail):
8036 Pass (rmail-mail-return...) for the return-action.
8037 Pass (rmail-yank-current-message...) for the yank-action.
8038 (rmail-yank-current-message): New function.
8039 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8040 (rmail-reply): Likewise.
8041 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8042
8043 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 8044 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
8045 buffer, not newbuf.
8046
197b6f3c
JB
80472012-04-17 Juanma Barranquero <lekktu@gmail.com>
8048
8049 * server.el (server-ensure-safe-dir): Simplify.
8050
2311d8e5 80512012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 8052
2311d8e5
GM
8053 * emacs-lisp/smie.el: Provide smarter auto-filling.
8054 (smie-auto-fill): New function.
8055 (smie-setup): Use it.
98fb480e 8056
2311d8e5
GM
8057 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8058
80592012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
8060
8061 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8062 (comment-indent): Use it.
8063
2311d8e5 80642012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
8065
8066 * ses.el: The overall change is to add cell renaming, that is
8067 setting fancy names for cell symbols other than name matching
8068 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 8069 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 8070 (ses-create-cell-variable): New defun.
2311d8e5 8071 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
8072 (ses-relocate-formula): Relocate formulas only for cells the
8073 symbols of which are not renamed, i.e. symbols whose names do not
8074 match regexp "\\`[A-Z]+[0-9]+\\'".
8075 (ses-relocate-all): Relocate values only for cells the symbols of
8076 which are not renamed.
8077 (ses-load): Create cells variables as the (ses-cell ...) are read,
8078 in order to check row col consistency with cell symbol name only
8079 for cells that are not renamed.
8080 (ses-replace-name-in-formula): New defun.
8081 (ses-rename-cell): New defun.
4bdf2ad2 8082
fc72b15c
PO
80832012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8084
8085 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8086 New option (bug#11118).
8087 (perl-calculate-indent): Respect it.
8088
12e10e61
GM
80892012-04-17 Glenn Morris <rgm@gnu.org>
8090
8091 * dired-aux.el (dired-mark-read-string): Doc fix.
8092
30009afd
DA
80932012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8094
8095 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8096 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8097
41f03f4d
GM
80982012-04-17 Glenn Morris <rgm@gnu.org>
8099
8100 * mouse.el (mouse-drag-track):
8101 * speedbar.el (speedbar-frame-mode):
8102 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8103
f45f90f3
LL
81042012-04-16 Leo Liu <sdl.web@gmail.com>
8105
8106 * progmodes/python.el: Trivial cleanup.
8107
94ee8db5
GM
81082012-04-16 Glenn Morris <rgm@gnu.org>
8109
121b8917
GM
8110 * vc/vc.el (vc-string-prefix-p):
8111 * vc/pcvs-util.el (cvs-string-prefix-p):
8112 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8113 * mpc.el (mpc-string-prefix-p):
8114 Make all of these into obsolete aliases for string-prefix-p.
8115 Update callers.
8116 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8117
1197ecfa
GM
8118 * textmodes/two-column.el: Move custom options to the start.
8119 (frame-width): Remove compat definition.
8120 (2C-associate-buffer, 2C-dissociate):
8121 Use with-current-buffer rather than save-excursion.
8122 (2C-dissociate): Force a mode-line update.
8123 (2C-autoscroll): Use ignore-errors.
8124
099e7202
GM
8125 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8126 Autoload trivia.
8127
bf350d6a
GM
8128 * emacs-lisp/cl-extra.el (*random-state*):
8129 Remove unnecessary declaration.
8130
0e829eab
GM
8131 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8132
e3ad7552
GM
8133 * play/cookie1.el (cookie-snarf):
8134 Give an explicit error if input file cannot be read.
8135
68892d27
GM
8136 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8137
20f0c46d
GM
8138 * progmodes/perl-mode.el (c-macro-expand):
8139 Remove unnecessary autoload (it is in loaddefs.el).
8140
5a0978ce
GM
8141 * textmodes/picture.el (picture-desired-column)
8142 (picture-update-desired-column): Convert comments to doc-strings.
8143 (picture-substitute): Remove function.
8144 (picture-mode-map): Initialize in the defvar.
8145
6b955486
GM
8146 * woman.el: Remove eval-after-load for tar-mode.
8147 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8148 (woman-tar-extract-file): Autoload it.
8149
94ee8db5
GM
8150 * frame.el (automatic-hscrolling): Make this alias obsolete.
8151
177eca34
AM
81522012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8153
090bd7cb 8154 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 8155 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
8156 (ispell-dictionary-base-alist): Revert to original XEmacs
8157 friendly version for default. [:alpha:] will be added in
090bd7cb 8158 `ispell-set-spellchecker-params' if needed.
177eca34 8159
c505aaeb
CY
81602012-04-16 Chong Yidong <cyd@gnu.org>
8161
b19dd9d1 8162 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
8163 (imagemagick-register-types): Use it.
8164 (imagemagick-types-inhibit): Add :set function. Allow new value
8165 of t to inhibit all types.
8166
8167 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8168 so we can preload it.
8169
8170 * loadup.el (fboundp): Preload regexp-opt, needed by
8171 imagemagick-register-types.
8172
60efac0f
CY
81732012-04-15 Chong Yidong <cyd@gnu.org>
8174
8175 * frame.el (scrolling): Remove nearly unused customization group.
8176
8177 * scroll-all.el (scroll-all-mode): Move to windows group.
8178
5dd1713e
CY
81792012-04-15 Chong Yidong <cyd@gnu.org>
8180
8181 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8182
e6fd457e
CY
81832012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8184
8185 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 8186 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 8187
e153c136
GM
81882012-04-15 Glenn Morris <rgm@gnu.org>
8189
8190 * simple.el (process-file-side-effects): Doc fix.
8191
e6fd457e 81922012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
8193
8194 * international/mule-cmds.el (set-language-environment): Doc fix.
8195
3603c3b1
JB
81962012-04-14 Juanma Barranquero <lekktu@gmail.com>
8197
8198 * server.el (server-auth-key, server-generate-key): Doc fixes.
8199 (server-get-auth-key): Doc fix. Use `string-match-p'.
8200 (server-start): Reflow docstring.
8201
e6de100c
LI
82022012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8203
8204 * server.el (server-generate-key): `called-interactively-p'
8205 requires a parameter.
8206
29734c21
MN
82072012-04-14 Michal Nazarewicz <mina86@mina86.com>
8208
8209 * server.el (server-auth-key): New variable.
75f1671a 8210 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
8211 (server-start): Use the new variable and functions to allow
8212 setting a permanent server key (bug#9423).
8213
d65c9521
LL
82142012-04-14 Leo Liu <sdl.web@gmail.com>
8215
8216 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8217
5ae255c7
PE
82182012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8219
8220 Spelling fixes.
8221 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8222 Emacs uses American spelling.
8223
d5e6342e
JB
82242012-04-14 Juanma Barranquero <lekktu@gmail.com>
8225
8226 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8227 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8228 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8229 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8230
ab036cd7
SM
82312012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8232
8233 * progmodes/which-func.el (which-func-modes): Change default.
8234
35dc09a1 82352012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
8236
8237 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8238 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8239
35dc09a1 82402012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
8241
8242 * custom.el (custom-theme-set-variables): Doc fix.
8243
35dc09a1 82442012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
8245
8246 * international/mule.el (set-auto-coding-for-load): Doc fix.
8247
35dc09a1 82482012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 8249
35dc09a1
GM
8250 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8251 imenu work again for Objective C Mode. Correct the *-index values,
8252 these having been disturbed by a previous change in 2011-08.
57f845ee 8253
0de3da9f
AM
8254 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8255 Correct two search limits.
8256
35dc09a1 82572012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
8258
8259 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8260
35dc09a1 82612012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
8262
8263 * international/characters.el: Fix sorting.
8264
35dc09a1 82652012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
8266
8267 * international/characters.el: Add more missing Latin case pairs.
8268
35dc09a1 82692012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
8270
8271 * files.el (dir-locals-set-class-variables): Doc fix.
8272
35dc09a1 82732012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 8274
3f1b5bf8
EZ
8275 * international/characters.el: Add set-case-syntax-pair call for
8276 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8277 counterpart. (Bug#11209)
8278
9f847f41
EZ
8279 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8280
35dc09a1 82812012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
8282
8283 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8284
35dc09a1 82852012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 8286
35dc09a1
GM
8287 * textmodes/ispell.el (ispell-dictionary-base-alist):
8288 Add data for Hebrew.
e2627d21 8289
35dc09a1 82902012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 8291
35dc09a1
GM
8292 * net/rcirc.el (rcirc-cmd-quit):
8293 Revert 2012-03-18 change (Bug#11192).
5c14e333 8294
35dc09a1 82952012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
8296
8297 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8298
35dc09a1 82992012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 8300
4517fe3a
SM
8301 * minibuffer.el (completion-in-region-mode-map):
8302 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 8303
b472a594
VD
83042012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8305
8306 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8307
09b95ce3
MY
83082012-04-13 Masatake YAMATO <yamato@redhat.com>
8309
8310 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8311 to allow `C-M-f' and `C-M-b' to move to the nearest path
8312 separator (bug#9511).
8313
4b63a9ca
LI
83142012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8315
8316 * avoid.el: Require cl when compiling. And also move the
8317 `provide' to the end.
8318
7b55b8bf
TV
83192012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8320
8321 * avoid.el (mouse-avoidance-banish-position): New variable.
8322 (mouse-avoidance-banish-destination): Use it (bug#10165).
8323
adedaa1f
LL
83242012-04-13 Leo Liu <sdl.web@gmail.com>
8325
8326 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8327
70e74021
KB
83282012-04-13 Ken Brown <kbrown@cornell.edu>
8329
8330 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 8331 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
8332 (browse-url-filename-alist): For the same reason, don't modify
8333 file:// URLs on Cygwin.
8334
e75e89ba
SM
83352012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8336
8337 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8338 the region on shift if the binding is already shifted (bug#11221).
8339
82f289a4
GM
83402012-04-12 Glenn Morris <rgm@gnu.org>
8341
8342 * mail/mailpost.el: Move to obsolete/.
8343
d333dc4c
DA
83442012-04-12 Drew Adams <drew.adams@oracle.com>
8345
8346 * imenu.el (imenu--generic-function): Ignore invisible definitions
8347 (bug#10123).
8348
0d15b5ba
VD
83492012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8350
8351 * hexl.el (hexl-bits): New variable.
8352 (hexl-options): Mention the variable in the doc string.
75f1671a 8353 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 8354 (hexl-mode): Mention the new variable.
75f1671a
JB
8355 (hexl-mode, hexl-current-address, hexl-current-address):
8356 Use the displen.
0d15b5ba
VD
8357 (hexl-ascii-start-column): New function.
8358 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8359 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8360
64a440db
AM
83612012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8362
8363 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8364 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8365 the encoding, as expected by hunspell.
8366
6decb6c2
SM
83672012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8368
8369 * battery.el (battery--linux-sysfs-regexp): New const.
8370 (battery-status-function): Use it. Remove yeeloong special case.
8371 (battery-yeeloong-sysfs): Remove.
8372 (battery-echo-area-format): Remove yeeloong special case.
8373
088be6fb
SM
83742012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8375
6622e416
SM
8376 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8377 Reported by Noah Friedman.
8378
088be6fb
SM
8379 * subr.el (read-passwd): Use read-string.
8380
b49f886e
LMI
83812012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8382
8383 * vcursor.el (vcursor-move): Increase the priority of the overlay
8384 (bug#9663).
8385
a63067fc
DD
83862012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8387
8388 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8389 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8390
ac3cf14a
WS
83912012-04-11 William Stevenson <yhvh2000@gmail.com>
8392
8393 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8394 define-minor-mode (bug#10760).
8395
c4fc691b 83962012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 8397
4d6769e1 8398 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
8399 that directories matching `grep-find-ignored-files' won't be
8400 pruned (bug#10351).
8401
af23e2e5
CY
84022012-04-11 Chong Yidong <cyd@gnu.org>
8403
8404 * startup.el (command-line): Remove support for long-obsolete
8405 variable font-lock-face-attributes.
8406
ab7ce8c1
GM
84072012-04-11 Glenn Morris <rgm@gnu.org>
8408
8409 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8410
de8c03dc
SM
84112012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8412
8413 * window.el (window--state-get-1): Obey window-point-insertion-type.
8414
050cc68b
LB
84152012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8416
8417 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8418 to previous function when point is on the first character of a
75f1671a 8419 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 8420
a38c310c
GM
84212012-04-11 Glenn Morris <rgm@gnu.org>
8422
effed0c2
GM
8423 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8424 not just file-errors.
8425
a38c310c
GM
8426 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8427 (vc-bzr-sha1): Use internal sha1.
8428
0221e323
SM
84292012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8430
8431 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8432
43956923
SG
84332012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8434
8435 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8436 that start in the middle of the line (bug#10496).
8437
6a8c9eaf
DN
84382012-04-10 Dan Nicolaescu <dann@gnu.org>
8439
8440 * battery.el (battery-linux-proc-acpi): Only one battery is
8441 discharged at a time, but that seems to confuse battery.el when
8442 computing `rate-type' for the battery not being discharged
8443 (bug#10332).
8444
1930bf5d
SM
84452012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8446
2a718f6f
SM
8447 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8448
599430d0
SM
8449 * international/quail.el: Use dolist and simplify.
8450 (quail-define-package, quail-update-keyboard-layout)
8451 (quail-define-rules): Use dolist.
8452 (quail-insert-kbd-layout, quail-get-translation): CSE.
8453
a2754b6c
SM
8454 * tmm.el: Use dolist, remove left over hook.
8455 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8456 Use dolist.
8457 (calendar-load-hook): Don't mess with it.
8458
1930bf5d
SM
8459 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8460 Use derived-mode-p. Run the diff asynchronously.
8461
9f67961c
LMI
84622012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8463
8464 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8465
2a8ce227
JB
84662012-04-10 Juanma Barranquero <lekktu@gmail.com>
8467
8468 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8469 (list-dynamic-libraries--loaded): New function.
8470 (list-dynamic-libraries--refresh): Use it.
8471
8f33b5f8
NW
84722012-04-10 Nathan Weizenbaum <nweiz@google.com>
8473
1930bf5d
SM
8474 * progmodes/python.el (python-fill-paragraph):
8475 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
8476 disabled (bug#7018).
8477
b12f0439
L
84782012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8479
1930bf5d 8480 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
8481 DOS/MS Windows for the Baltic languages. There are still plenty
8482 of texts written in this encoding/codepage (bug#6519).
b12f0439 8483
57c3bd01
GM
84842012-04-10 Glenn Morris <rgm@gnu.org>
8485
8486 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8487 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8488
6c3eab30
FA
84892012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8490
1930bf5d 8491 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
8492 next-line "n" and previous-line "p" in order to make recentf more
8493 consistent with ibuffer, dired or org-mode (bug#9387).
8494
24d78a88
LMI
84952012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8496
bc72b5d9
LMI
8497 * image.el (put-image): Return the overlay created instead of the
8498 optional input string (bug#7834). Note that this may break code
8499 that is (for some reason or other) depending on `put-image'
8500 returning the string.
8501
bd2dba5a
LMI
8502 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8503
74beb59f
LMI
8504 * simple.el (zap-to-char): Allow zapping using input methods
8505 (bug#1580).
8506
24d78a88
LMI
8507 * textmodes/fill.el (fill-region): Leave point and mark where they
8508 were before filling (bug#5399).
8509
263f20cd
GM
85102012-04-09 Glenn Morris <rgm@gnu.org>
8511
8512 * version.el (emacs-bzr-get-version):
8513 Handle lightweight checkouts of local branches.
8514
58d1f797
AS
85152012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8516
263f20cd 8517 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 8518
b4d3bc10
CY
85192012-04-09 Chong Yidong <cyd@gnu.org>
8520
8521 * custom.el (custom-variable-p): Return nil for non-symbol
8522 arguments instead of signaling an error.
8523 (user-variable-p): Obsolete alias for custom-variable-p.
8524
8525 * apropos.el (apropos-variable):
8526 * files-x.el (read-file-local-variable):
8527 * simple.el (set-variable):
8528 * woman.el (woman-mini-help):
8529 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8530
fd06db5d
GM
85312012-04-09 Glenn Morris <rgm@gnu.org>
8532
e5fcdb5e
GM
8533 * startup.el (normal-top-level): Don't look for leim-list.el
8534 in places where it will not be found. (Bug#910)
8535
fd06db5d
GM
8536 * international/mule-cmds.el (set-default-coding-systems):
8537 * files.el (normal-mode):
8538 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8539 This function was removed with ucs-tables.el in 2008.
8540
b39bb7e1
EZ
85412012-04-08 Eli Zaretskii <eliz@gnu.org>
8542
8543 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8544 ispell-encoding8-command to "-i", without a trailing space.
8545 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8546 separate command-line arguments, to specify the encoding, since
8547 that's how hunspell expects it.
8548
5c5b8e23
GM
85492012-04-08 Glenn Morris <rgm@gnu.org>
8550
8551 * loadup.el: Load bindings before cus-start.
8552 This reduces somewhat the number of "rogue" settings in emacs -Q.
8553
a1ed8b05
GM
85542012-04-07 Glenn Morris <rgm@gnu.org>
8555
8556 * version.el (emacs-bzr-get-version): New function.
dfae128a 8557 (emacs-bzr-version): New variable.
a1ed8b05
GM
8558 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8559 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8560
b142f158
EZ
85612012-04-07 Eli Zaretskii <eliz@gnu.org>
8562
dfae128a
GM
8563 * international/uni-bidi.el, international/uni-category.el:
8564 * international/uni-combining.el, international/uni-decimal.el:
8565 * international/uni-decomposition.el, international/uni-digit.el:
8566 * international/uni-lowercase.el, international/uni-mirrored.el:
8567 * international/uni-name.el, international/uni-numeric.el:
8568 * international/uni-titlecase.el, international/uni-uppercase.el:
8569 Update for Unicode 6.1.
b142f158 8570
9078ead6
EZ
85712012-04-07 Eli Zaretskii <eliz@gnu.org>
8572
8573 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8574
f23d2c7d
LMI
85752012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8576
8577 * window.el (shrink-window): Mention the `window-min-height'
8578 variable in the doc string.
8579
0a0a3573
BG
85802012-04-05 Bastien Guerry <bzg@altern.org>
8581
8582 * color.el (color-lighten-name): Fix typo.
8583
e5248ac9
SM
85842012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8585
8586 * server.el (server--on-display-p): New function.
8587 (server--on-display-p): Use it.
8588
b4243e22
GV
85892012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8590
8591 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8592 (bug#11145).
8593
305d9f44
SM
85942012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8595
8596 * comint.el (comint--common-quoted-suffix): Check string boundary
8597 before comparing (bug#11158).
8598 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8599
3d439cd1
CY
86002012-04-04 Chong Yidong <cyd@gnu.org>
8601
321cc491
CY
8602 * minibuffer.el (completion-extra-properties): Doc fix.
8603
3d439cd1
CY
8604 * subr.el (delayed-warnings-hook): Doc fix.
8605
2d562c0f
DU
86062012-04-04 Daiki Ueno <ueno@unixuser.org>
8607
8608 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8609 selection (Bug#11159).
8610 (epa-insert-keys): Inform that the default public key will be
8611 exported if no key is selected.
8612
4443f204
RS
86132012-04-04 Richard Stallman <rms@gnu.org>
8614
8615 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8616
529c06b6
CY
86172012-04-03 Chong Yidong <cyd@gnu.org>
8618
8619 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8620 mail-insert-file, not its obsolete alias mail-attach-file.
8621
66b907dc
MA
86222012-04-03 Michael Albinus <michael.albinus@gmx.de>
8623
8624 * notifications.el (notifications-notify): Fix docstring.
8625
c0ea195d
GM
86262012-04-02 Glenn Morris <rgm@gnu.org>
8627
8628 * emacs-lisp/authors.el (authors-aliases): Another addition.
8629
5ca64e00
MA
86302012-04-02 Michael Albinus <michael.albinus@gmx.de>
8631
8632 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8633 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8634 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8635
42ee526b
CY
86362012-04-01 Chong Yidong <cyd@gnu.org>
8637
8638 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8639 Handle root directory properly.
8640 (copy-directory): Caller changed.
8641
8642 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8643 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8644
0b021094
GM
86452012-03-31 Glenn Morris <rgm@gnu.org>
8646
40f86458
GM
8647 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8648
7019c177
GM
8649 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8650
a1daddd6
GM
8651 * calendar/calendar.el (calendar-window-list)
8652 (calendar-hide-window): Restore. (Bug#11140)
8653 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8654
0b021094
GM
8655 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8656
40311efc
TV
86572012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8658
8659 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8660 Check if file is a symlink (Bug#10489).
8661
8662 * files.el (copy-directory): Likewise.
8663
5319014e
CY
86642012-03-30 Chong Yidong <cyd@gnu.org>
8665
8666 * image.el (imagemagick-types-inhibit)
8667 (imagemagick-register-types): Doc fix.
8668
935d1290
AM
86692012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8670
090bd7cb 8671 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 8672 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 8673 and treats ~word as ordinary words in pipe mode.
935d1290 8674
61c6e8fd
GM
86752012-03-30 Glenn Morris <rgm@gnu.org>
8676
8677 * tutorial.el (help-with-tutorial): Ensure local variables don't
8678 happen to make the buffer read-only. (Bug#11127)
8679
81fdff00
SM
86802012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8681
8682 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8683 (perl-calculate-indent): Return `noindent' in strings.
8684
6e7a6ec0
SS
86852012-03-28 Sam Steingold <sds@gnu.org>
8686
8687 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8688 instead of the broken adhockery which does not prevent calendar
8689 buffers from being displayed at random after exit.
8690 (calendar-window-list, calendar-hide-window): Remove the broken
8691 adhockery.
8692
fee88ca0
GM
86932012-03-28 Glenn Morris <rgm@gnu.org>
8694
8695 * replace.el (query-replace-map): Doc fix.
8696
38de3354
AS
86972012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8698
8699 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8700 contents. (Bug#11109)
8701
b973155e
SM
87022012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8703
8704 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8705 (bug#11077).
8706 (avl-tree--check, avl-tree--check-node): New funs.
8707
dcb6e7b3
MR
87082012-03-27 Martin Rudalics <rudalics@gmx.at>
8709
8710 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
8711 (switch-to-prev-buffer, switch-to-next-buffer):
8712 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
8713 showing a buffer already is done on the same frame.
8714
b4fa35fa
GM
87152012-03-27 Glenn Morris <rgm@gnu.org>
8716
8717 * startup.el (mail-host-address): Doc fix.
8718
f9210e18
SM
87192012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8720
8721 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8722 than 197 variables.
8723
c0bf7753
AF
87242012-03-26 Ami Fischman <ami@fischman.org>
8725
8726 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8727
33da7b16
GM
87282012-03-26 Glenn Morris <rgm@gnu.org>
8729
02243d9d
GM
8730 * files.el (save-buffers-kill-emacs): Doc fix.
8731
33da7b16
GM
8732 * startup.el (normal-top-level, command-line, command-line-1):
8733 Give them doc strings.
8734
e5a69fd0
EZ
87352012-03-25 Eli Zaretskii <eliz@gnu.org>
8736
8737 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 8738 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 8739
9a69676a
CY
87402012-03-25 Chong Yidong <cyd@gnu.org>
8741
4125cb8b
CY
8742 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8743 theme if it was previously enabled before (Bug#11031).
8744
dd470960
CY
8745 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8746 spec with custom-face-get-current-spec if its :shown-value is not
8747 determined yet (Bug#9337).
4125cb8b 8748 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 8749
9a69676a
CY
8750 * button.el (button-at): Minor addition to docstring.
8751
6e7e90fa
SL
87522012-03-24 Simon Leinen <simon.leinen@gmail.com>
8753
8754 * vc/vc.el (vc-merge): Fix a prompt.
8755
f06e2758
CY
87562012-03-24 Chong Yidong <cyd@gnu.org>
8757
8758 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8759 point (Bug#9623).
8760
6e7e90fa
SL
8761 * button.el (button-at): Minor addition to docstring.
8762
b9d0879b
SM
87632012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8764
8765 * newcomment.el (comment-choose-indent): No space after BOL.
8766
e71cebb3
SS
87672012-03-22 Sam Steingold <sds@gnu.org>
8768
8769 * window.el (switch-to-prev-buffer): Revert last patch because the
8770 bug turned out to be an advertised feature (Elisp manual 28.14).
8771
335aff35
GM
87722012-03-22 Glenn Morris <rgm@gnu.org>
8773
8774 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8775 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8776
c676576a
LMI
87772012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8778
8779 * net/network-stream.el (network-stream-open-starttls): Make error
8780 message under Windows be less misleading.
8781
126f3d39
LW
87822012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8783
8784 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8785 understands (bug#9942).
8786
64fee311
CY
87872012-03-22 Chong Yidong <cyd@gnu.org>
8788
8789 * simple.el (end-of-visible-line): Handle return value of
8790 next-single-property-change properly (Bug#9371).
8791
a640d29a
KH
87922012-03-22 Kenichi Handa <handa@m17n.org>
8793
8794 * international/quail.el (quail-insert-kbd-layout): Fix previous
8795 change. To avoid unwanted bidi reordering, use
8796 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8797
39675016
DG
87982012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8799
8800 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8801 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8802 (ruby-beginning-of-indent): Be more careful with the difference
8803 between word-boundary and symbol boundary.
8804 (ruby-mode-syntax-table): Make : a symbol constituent.
8805
0a6934fc 88062012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 8807
3d008e4f
SM
8808 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8809
0a6934fc
SM
88102012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8811
af67c9d7
SM
8812 * progmodes/etags.el (tags-completion-at-point-function):
8813 Improve last fix.
8814
1acad97c
SM
8815 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8816
e298b5da
SS
88172012-03-21 Sam Steingold <sds@gnu.org>
8818
8819 * progmodes/etags.el (tags-completion-at-point-function):
8820 Avoid the error when point is inside the pattern.
8821
91d82a70
JY
88222012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8823
8824 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8825 line (Bug#10855).
8826
69188b79
CY
88272012-03-21 Drew Adams <drew.adams@oracle.com>
8828
8829 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8830
99fc91fe
AK
88312012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8832
8833 * ido.el (ido-set-current-directory, ido-read-internal)
8834 (ido-choose-completion-string, ido-completion-help): Handle nil
8835 value of ido-completion-buffer (Bug#11008).
8836
087bbb4c
SS
88372012-03-21 Sam Steingold <sds@gnu.org>
8838
8839 * window.el (switch-to-prev-buffer): Do not switch to a visible
8840 window previous buffer, just like with the frame previous buffers.
8841
fb5b8aca
CY
88422012-03-21 Chong Yidong <cyd@gnu.org>
8843
8844 * faces.el (make-face, make-empty-face, copy-face):
8845 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8846 Doc fixes.
8847
dc9924b8
SM
88482012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8849
8850 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8851 (widget-complete): Remove broken use of it.
8852
f0bcceb9
CY
88532012-03-20 Chong Yidong <cyd@gnu.org>
8854
dc9924b8
SM
8855 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8856 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
8857 characters.
8858
ee52ebf3
TH
88592012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8860
8861 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8862 to draw rectangles, not squares. (Regression introduced by revno
8863 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8864
4c5779ab
CY
88652012-03-18 Chong Yidong <cyd@gnu.org>
8866
8867 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8868 it is not yet defined (for temacs).
8869
15360934
LL
88702012-03-18 Leo Liu <sdl.web@gmail.com>
8871
735135f9
PE
8872 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
8873 prefix.
15360934 8874
d9a8eb66
EZ
88752012-03-17 Eli Zaretskii <eliz@gnu.org>
8876
8877 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8878 (ispell-choices-win-default-height, ispell-silently-savep)
8879 (ispell-dictionary-alist, ispell-encoding8-command)
8880 (ispell-check-version, ispell-aspell-find-dictionary)
8881 (ispell-valid-dictionary-list, ispell-words-keyword)
8882 (ispell-get-word, ispell-internal-change-dictionary)
8883 (ispell-region, ispell-skip-region-list)
8884 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8885 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8886 (ispell-message-text-end, ispell-message)
8887 (ispell-buffer-local-parsing): Doc fix.
8888
f02ff80d
J
88892012-03-13 Jambunathan K <kjambunathan@gmail.com>
8890
8891 * htmlfontify.el: Add support for code block fontification for ODT
8892 export (Bug #9914).
8893 (hfy-optimisations): Define new option
8894 `body-text-only'
8895 (hfy-fontify-buffer): Honor above setting.
8896 (hfy-begin-span, hfy-end-span): New routines factored out form
8897 `hfy-fontify-buffer'.
8898 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8899 that permit insertion of custom tags.
8900 (hfy-fontify-buffer): Use above handlers.
8901 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8902 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 8903 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 8904 over multiple runs. This is made possible by having the caller let
f02ff80d
J
8905 bind a special variable `hfy-user-sheet-assoc'.
8906 (htmlfontify-string): New defun.
8907 (hfy-compile-face-map): Make sure that the last char in the
8908 buffer is correctly fontified.
8909 (hfy-face-resolve-face): Whitespace only change.
8910
9ac7a13f
EZ
89112012-03-17 Eli Zaretskii <eliz@gnu.org>
8912
8913 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8914 message more clear.
8915
e2b5bdd7
LL
89162012-03-16 Leo Liu <sdl.web@gmail.com>
8917
8918 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8919
2e492df3
AM
89202012-03-16 Alan Mackenzie <acm@muc.de>
8921
8922 Further optimise the handling of large macros.
8923
8924 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8925 limit to a call of `c-literal-limits'.
8926 (c-determine-+ve-limit): New function.
dc9924b8
SM
8927 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8928 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
8929 In CASE 5B, restrict a search limit to 500.
8930 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8931
8932 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8933 Restrict macro bounds to +-500 from after-change's BEG END.
8934
50e94f0c
LL
89352012-03-16 Leo Liu <sdl.web@gmail.com>
8936
8937 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8938
6f09f6ed
AH
89392012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
8940
8941 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 8942 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 8943
c7e73d51
GM
89442012-03-16 Glenn Morris <rgm@gnu.org>
8945
da986230
GM
8946 * view.el (view-buffer, view-buffer-other-window)
8947 (view-buffer-other-frame): Doc fixes re special mode-class.
8948
0835f01e
GM
8949 * subr.el (eval-after-load): If named feature is provided not from
8950 a file, run after-load forms. (Bug#10946)
8951
c7e73d51
GM
8952 * calendar/calendar.el (calendar-insert-at-column):
8953 Handle non-unit-width characters a bit better. (Bug#10978)
8954
3f2eafd1
CY
89552012-03-15 Chong Yidong <cyd@gnu.org>
8956
8957 * emacs-lisp/ring.el (ring-extend): New function.
8958 (ring-insert+extend): Extend the ring correctly (Bug#11019).
8959
8960 * comint.el (comint-read-input-ring)
8961 (comint-add-to-input-history): Grow comint-input-ring lazily.
8962
103af3fe
SM
89632012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8964
663b1677
SM
8965 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8966 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8967
103af3fe
SM
8968 * imenu.el: Fix multiple inheritance breakage (bug#9199).
8969 (imenu-add-to-menubar): Don't add a redundant index.
8970 (imenu-update-menubar): Handle a dynamically composed keymap.
8971
899cb7cb
KY
89722012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
8973
8974 * mail/sendmail.el (mail-encode-header):
8975 Bind rfc2047-encode-encoded-words to nil.
8976
3809f91d
GM
89772012-03-13 Glenn Morris <rgm@gnu.org>
8978
8979 * calendar/calendar.el (calendar-string-spread):
8980 Handle non-unit-width characters a bit better. (Bug#10978)
8981
9e345a01
LL
89822012-03-13 Leo Liu <sdl.web@gmail.com>
8983
8984 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8985 directory and file as argument (Bug#10822).
8986
4a07df36
KS
89872012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8988
8989 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8990 For dynamically generated code, follow $PC.
8991 (gdb-disassembly-handler-custom): Handle no function name case.
8992
4aaa9356
TL
89932012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8994
8995 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8996 * emulation/ws-mode.el (ws-query-replace):
8997 * sort.el (sort-regexp-fields):
8998 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8999
225979da
SM
90002012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9001
9002 * dabbrev.el: Fix cycle completion order (bug#10963).
9003 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9004 (dabbrev-completion): Don't use an obarray; provide
9005 a cycle-sort-function.
9006
e2f1fdab
LL
90072012-03-12 Leo Liu <sdl.web@gmail.com>
9008
dc9924b8 9009 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
9010 (kill-do-not-save-duplicates): Doc fix.
9011
b19490ed
SM
90122012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9013
9014 * dabbrev.el: Fix cycle completion (bug#10963).
9015 Use lexical binding and wrap to 80 columns.
9016 (dabbrev-completion): Delay computing the list of completions.
9017
4b05d722
KH
90182012-03-12 Kenichi Handa <handa@m17n.org>
9019
9020 * international/quail.el (quail-insert-kbd-layout): Surround each
9021 row by LRO and PDF instead of inserting many LRMs. Pad the left
9022 and right of each non-spacing marks. Insert invisible space
9023 between lower and upper characters to prevent composition.
9024
dbbc2e69
SM
90252012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9026
9027 * minibuffer.el (minibuffer-complete): Don't get confused when the
9028 function is run twice via different commands (bug#10958).
9029 (complete-with-action): Fix docstring.
9030
292112ed
CY
90312012-03-12 Chong Yidong <cyd@gnu.org>
9032
5d1ac394
CY
9033 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9034 (nxml-completion-at-point-function): New function.
9035 (nxml-mode): Use it.
9036 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9037
292112ed
CY
9038 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9039 Load generated autoloads file before byte compiling (Bug#10970).
9040 (package--make-autoloads-and-compile): New helper fun.
9041
4098f8f7
CS
90422012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9043
9044 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9045
8f754691
MA
90462012-03-11 Michael Albinus <michael.albinus@gmx.de>
9047
9048 * autorevert.el (auto-revert-handler): Ensure, that
9049 file-readable-p is applied only for local files or in
9050 auto-revert-tail-mode.
9051
e29ab36b
AS
90522012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9053
dbbc2e69
SM
9054 * server.el (server-eval-at): Handle non-tcp connections.
9055 Decode result string.
ad0bf5b6 9056
e29ab36b
AS
9057 * server.el (server-msg-size): New constant.
9058 (server-reply-print): New function.
9059 (server-eval-and-print): Use it.
9060 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9061 Handle -print-nonl.
9062
de5939ba
CS
90632012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9064
9065 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9066 (Bug#10987).
9067
0c93eabf
CY
90682012-03-11 Chong Yidong <cyd@gnu.org>
9069
397a688f
CY
9070 * simple.el (goto-line): Doc fix (Bug#9938).
9071
2cc775f9
CY
9072 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9073
0c93eabf
CY
9074 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9075 when finished (Bug#10963).
9076
c491fa41
MR
90772012-03-11 Martin Rudalics <rudalics@gmx.at>
9078
9079 * window.el (split-window-below): Fix bug in case where
9080 split-window-keep-point is nil (Bug#10971).
9081
300e8fa5
JL
90822012-03-11 Juri Linkov <juri@jurta.org>
9083
9084 * replace.el (replace-highlight): Set isearch-word to nil
9085 unconditionally. (Bug#10887)
9086
dbf6c5a1
EZ
90872012-03-10 Eli Zaretskii <eliz@gnu.org>
9088
9089 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9090 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 9091 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
9092 (mairix-widget-create-query): Add usage information about mairix
9093 search forms: negating words, searching for substrings, etc.
9094
b9e501de
JP
90952012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9096
9097 * international/fontset.el (font-encoding-alist): Add an entry for
9098 ksx1001 (Bug#5667).
9099
92795c91
RS
91002012-03-10 Richard Stallman <rms@gnu.org>
9101
1694e6c1
RS
9102 * mail/sendmail.el (mail-encode-header):
9103 Set rfc2047-encode-encoded-words.
9104
607e8555
RS
9105 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9106
de3bc99a
RS
9107 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9108 view buffer means not swapped.
9109 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9110 (rmail-write-region-annotate): Error if real text has disappeared.
9111
92795c91
RS
9112 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9113
699bd04e
CY
91142012-03-10 Chong Yidong <cyd@gnu.org>
9115
9116 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
9117 * emulation/cua-base.el (cua--init-keymaps):
9118 Add delete-forward-char to remappings (Bug#9666).
699bd04e 9119
570a1714
MR
91202012-03-10 Martin Rudalics <rudalics@gmx.at>
9121
dbbc2e69
SM
9122 * speedbar.el (speedbar-unhighlight-one-tag-line):
9123 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 9124
82dcf4e4
CY
91252012-03-10 Chong Yidong <cyd@gnu.org>
9126
7a2c7ca7
CY
9127 * minibuffer.el (completion-in-region, completion-help-at-point):
9128 Give the completion field overlay a high priority (Bug#6830).
9129
82dcf4e4
CY
9130 * dired.el (dired-goto-file): Recognize absolute file name
9131 listings (Bug#7126).
9132 (dired-goto-file-1): New helper function.
9133 (dired-toggle-read-only): Inhibit warnings.
9134
052e28ac
MA
91352012-03-09 Michael Albinus <michael.albinus@gmx.de>
9136
75f1671a 9137 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
9138 there are no properties.
9139
95d5e396
LL
91402012-03-09 Leo Liu <sdl.web@gmail.com>
9141
9142 * savehist.el (savehist-printable): Stricter check for string
9143 value (Bug#10937).
9144
3f018d6d
EZ
91452012-03-09 Eli Zaretskii <eliz@gnu.org>
9146
dbbc2e69
SM
9147 * mail/smtpmail.el (smtpmail-send-it):
9148 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
9149 valid mbox format.
9150
f7fd3d79
GM
91512012-03-09 Glenn Morris <rgm@gnu.org>
9152
9153 * files.el (dir-locals-find-file):
9154 Don't check result is regular, readable.
9155 (dir-locals-read-from-file): Demote errors.
9156
6ff6e72f
EZ
91572012-03-08 Eli Zaretskii <eliz@gnu.org>
9158
dbbc2e69
SM
9159 * international/quail.el (quail-insert-kbd-layout):
9160 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
9161 layout cell, to prevent their reordering by bidi display engine.
9162 For details, see the discussion in
9163 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9164
9cec7834
AM
91652012-03-08 Alan Mackenzie <acm@muc.de>
9166
9167 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9168 the starting position; make it extend the marked region when
9169 invoked repeatedly - all under appropriate circumstances.
9170 Fixes bugs #5525, #10906.
9171
9a40b8d4
GM
91722012-03-08 Glenn Morris <rgm@gnu.org>
9173
9174 * files.el (locate-dominating-file, dir-locals-find-file):
9175 Undo 2012-03-06 change.
9176
7a08ed35
EZ
91772012-03-07 Eli Zaretskii <eliz@gnu.org>
9178
dbbc2e69
SM
9179 * international/quail.el (quail-help):
9180 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
9181 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9182 for the reason.
9183
5aca4f71 91842012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
9185
9186 Avoid superfluous registering of signals. (Bug#10807)
9187
9188 * notifications.el (notifications-on-action-object)
9189 (notifications-on-close-object): New defvars.
9190 (notifications-on-action-signal, notifications-on-closed-signal):
9191 Unregister the signal if not needed any longer.
9192 (notifications-notify): Register `notifications-action-signal' or
9193 `notifications-closed-signal', if :on-action or :on-close has been
9194 passed as argument.
9195
78e8b10a
CY
91962012-03-07 Chong Yidong <cyd@gnu.org>
9197
9198 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9199 non-X platforms.
9200
69481eb8
GM
92012012-03-06 Glenn Morris <rgm@gnu.org>
9202
9203 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9204 (x-disown-selection-internal, x-get-selection-internal):
9205 Doc fix (add arglist signatures). (Bug#10783)
9206
133b8e11
KS
92072012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9208
9209 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9210 Handle breakpoints with no "type".
9211
99a83064
GM
92122012-03-06 Glenn Morris <rgm@gnu.org>
9213
9214 * files.el (locate-dominating-file): Add optional predicate argument.
9215 (dir-locals-find-file): Make use of above change.
9216
17798e78
TTN
92172012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9218
9219 * info.el (Info-insert-dir): Also try "dir.gz".
9220
eb182446
GM
92212012-03-06 Glenn Morris <rgm@gnu.org>
9222
8f2114ee
GM
9223 * files.el (dir-locals-find-file):
9224 Ignore non-readable or non-regular files. (Bug#10928)
9225
eb182446
GM
9226 * files.el (locate-dominating-file): Doc fix.
9227
24679323
AS
92282012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9229
9230 * calendar/calendar.el (calendar-set-mode-line):
9231 `getenv' returns a string. (Bug#10951)
9232
01d972a9
LL
92332012-03-05 Leo Liu <sdl.web@gmail.com>
9234
109aa8a9
LL
9235 * simple.el (backward-delete-char-untabify): Constrain point to
9236 field (Bug#10939).
9237
01d972a9
LL
9238 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9239
10607bea
CY
92402012-03-05 Chong Yidong <cyd@gnu.org>
9241
9242 * simple.el (count-words): If called from Lisp, return the word
9243 count, for symmetry with `count-lines'. Arglist changed.
9244 (count-words--message): Args changed. Consolidate counting code
9245 from count-words and count-words-region.
9246 (count-words-region): Caller changed.
9247 (count-lines-region): Make it an obsolete alias.
9248
5dd11cfe
TH
92492012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9250
9251 * saveplace.el (save-place-to-alist)
9252 (save-place-ignore-files-regexp): Allow value nil to disable this
9253 feature.
9254
c349f4e6
CY
92552012-03-04 Chong Yidong <cyd@gnu.org>
9256
9257 * faces.el (face-spec-reset-face): For the default face, reset the
9258 attributes to default values (Bug#10748).
9259
e627be4c
LMI
92602012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9261
9262 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9263 previous patch: Check `message-send-mail-function', and not the
9264 default function (bug#10897).
9265
ebeabff4
MA
92662012-03-04 Michael Albinus <michael.albinus@gmx.de>
9267
a41a6cf4
MA
9268 * notifications.el (notifications-on-action-signal)
9269 (notifications-on-closed-signal): Check for unique service name of
9270 incoming event. Fix error in removing entry.
ebeabff4 9271 (top): Register for signals with wildcard service name.
a41a6cf4 9272 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 9273
c1ca42b4
CY
92742012-03-04 Chong Yidong <cyd@gnu.org>
9275
dc9924b8 9276 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 9277
ea16568d
GM
92782012-03-04 Glenn Morris <rgm@gnu.org>
9279
9280 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9281 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9282 (expand-abbrev, define-abbrev-table): Doc fixes.
9283
fbae4637
LMI
92842012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9285
9286 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9287 `message-default-send-mail-function' and not `send-mail-function'
9288 when doing the prompting for `sendmail-query-once' before sending
9289 in Message buffers (bug#10897).
9290
a1e7225c
LMI
9291 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9292 This is inconsistent with all the other stream functions, which leave
9293 the setting up to the higher levels (if so wanted) (bug#10931).
9294
56d093a9
AM
92952012-03-02 Alan Mackenzie <acm@muc.de>
9296
9297 Depessimize the handling of very large macros.
9298
9299 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9300 (c-macro-cache-syntactic): New variables to implement a one
9301 element macro cache.
9302 (c-invalidate-macro-cache): New function.
9303 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9304 Adapt to use the new cache.
9305 (c-state-safe-place): Use better the cache of safe positions.
9306 (c-state-semi-nonlit-pos-cache)
9307 (c-state-semi-nonlit-pos-cache-limit):
9308 New variables for...
9309 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9310 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
9311 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9312 Use c-state-semi-safe-place.
56d093a9 9313
dbbc2e69
SM
9314 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9315 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 9316
817e5c3d
MA
93172012-03-02 Michael Albinus <michael.albinus@gmx.de>
9318
dbbc2e69
SM
9319 * jka-compr.el (jka-compr-call-process):
9320 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
9321 not remote.
9322
a032a702
MA
93232012-03-01 Michael Albinus <michael.albinus@gmx.de>
9324
9325 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9326 access of FILE2, if FILE1 does not exist.
9327
99a54f21
MA
9328 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9329 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9330
9331 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9332 Add "PAGER=" to `process-environment'.
9333
f6561e1f
MM
93342012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9335
9336 * progmodes/sql.el: Bug fix
9337 (sql-get-login-ext): Save login values in globals.
9338 (sql-get-login): Use new version of `sql-get-login-ext'.
9339 (sql-interactive-mode): Set global `sql-connection' to nil.
9340 (sql-connect): Set global values for connection.
9341 (sql-product-interactive): Save global values as buffer local.
9342
2d44d9cc
LL
93432012-02-29 Leo Liu <sdl.web@gmail.com>
9344
9345 * abbrev.el (define-abbrevs): Reset sys to nil.
9346
96b49301 93472012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9348
bf7f9bc5
JB
9349 * files.el (file-equal-p): Rename from `files-equal-p'.
9350 Return nil when one or both files don't exist.
96b49301 9351 (file-subdir-of-p): Now only top directory must exists,
9352 return nil if it doesn't.
bf7f9bc5
JB
9353 (copy-directory): No need to test with `file-subdir-of-p' after
9354 creating dir.
9355 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9356 to `file-equal-p'.
96b49301 9357
44e97401
GM
93582012-02-28 Glenn Morris <rgm@gnu.org>
9359
9360 * shell.el (shell-mode):
9361 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9362 * play/landmark.el (landmark-font-lock-face-O):
9363 * play/handwrite.el (handwrite):
9364 * play/gomoku.el (gomoku-O):
9365 * net/browse-url.el (browse-url-browser-display):
9366 * international/mule.el (define-charset):
9367 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9368 * filesets.el (filesets-find-file-delay):
9369 * eshell/em-xtra.el (eshell-xtra):
9370 * eshell/em-unix.el (eshell-grep):
9371 * emulation/viper.el (viper-mode):
9372 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9373 * emacs-lisp/easymenu.el (easy-menu-define):
9374 * calendar/timeclock.el (timeclock-use-display-time):
9375 * bs.el (bs-mode):
9376 * bookmark.el (bookmark-save-flag):
9377 Doc fix (standardize possessive apostrophe usage).
9378
c98c6276
CY
93792012-02-27 Chong Yidong <cyd@gnu.org>
9380
bf7f9bc5
JB
9381 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9382 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 9383
c98c6276
CY
9384 * font-lock.el (font-lock-specified-p): Rename from
9385 font-lock-spec-present. Callers changed.
9386
9c62cd04 93872012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 9388
bf7f9bc5
JB
9389 * emacs-lisp/package.el (package-compute-transaction):
9390 Handle holding a package version to t in package-load-list.
8ac9e529 9391
530739c9
MA
93922012-02-26 Michael Albinus <michael.albinus@gmx.de>
9393
9394 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9395 (tramp-get-inode, tramp-get-device): Use cached values.
9396
487915d7
AM
93972012-02-26 Alan Mackenzie <acm@muc.de>
9398
9399 Check there is a font-lock specification before doing initial
9400 fontification.
9401
9402 * font-core.el (font-lock-mode): Move the conditional from
9403 :after-hook to font-lock-initial-fontify.
9404 (font-lock-default-function): Move the check for a specification
9405 to font-lock-spec-present.
9406
dc9924b8 9407 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
9408 (font-lock-spec-present): New function.
9409
4fd96557
JB
94102012-02-26 Jim Blandy <jimb@red-bean.com>
9411
9412 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9413 (gdb-send): Apply it to the operand of the '-interpreter-exec
9414 console' command, so that we can pass arguments with (say) quotes
9415 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9416
9a4888c0
CY
94172012-02-26 Chong Yidong <cyd@gnu.org>
9418
07498861
CY
9419 * help-fns.el (describe-function-1): Clarify description of
9420 remapping (Bug#10844).
9421
9a4888c0
CY
9422 * files.el (files-equal-p): Doc fix.
9423 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9424 and quit the loop once a mismatch is found.
9425
ea8fb88d
JB
94262012-02-25 Juanma Barranquero <lekktu@gmail.com>
9427
9428 * bs.el (bs--show-with-configuration): Don't throw an error
9429 if the window cannot be split; otherwise, subsequent calls to
9430 bs-show fail, restoring a stale window config. (Bug#10882)
9431
525795c1
JD
94322012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9433
9434 * term/ns-win.el (global-map): Bind ns-drag-file to
9435 ns-find-file (Bug#5855, Bug#10050).
9436
f008086f
AS
94372012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9438
9439 * calendar/parse-time.el (parse-time-string): Allow extractor to
9440 return nil.
9441
a3fcfa99
MA
94422012-02-25 Michael Albinus <michael.albinus@gmx.de>
9443
91027d08
JB
9444 * net/tramp.el (tramp-file-name-for-operation):
9445 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
9446
9447 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
9448 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9449 Add COPY-CONTENTS argument.
a3fcfa99 9450
67b0de11
CY
94512012-02-25 Chong Yidong <cyd@gnu.org>
9452
9453 Add custom groups for VC backends, for consistency with vc-bzr.
9454
9455 * vc/vc-arch.el (vc-arch):
9456 * vc/vc-cvs.el (vc-cvs):
9457 * vc/vc-git.el (vc-git):
9458 * vc/vc-hg.el (vc-hg):
9459 * vc/vc-mtn.el (vc-mtn):
9460 * vc/vc-rcs.el (vc-rcs):
9461 * vc/vc-sccs.el (vc-sccs):
9462 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9463 All relevant defcustoms reassigned.
9464
3c9dfce6
CY
94652012-02-25 Chong Yidong <cyd@gnu.org>
9466
1339bf43
CY
9467 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9468
3c9dfce6
CY
9469 * term/x-win.el (x-initialize-window-system): Reduce default for
9470 x-selection-timeout to 5 seconds (Bug#8869).
9471
25b2e303 94722012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9473
ec70a47d
GM
9474 * files.el (files-equal-p, file-subdir-of-p): New functions.
9475 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 9476 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
9477 * dired-aux.el (dired-copy-file-recursive): Same.
9478 (dired-create-files): Modify destination when source is equal to
9479 dest when copying files.
53a46cd0 9480 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 9481
914260cd
MA
94822012-02-24 Michael Albinus <michael.albinus@gmx.de>
9483
9484 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9485 (Bug#10874)
9486
2cb228f7
AM
94872012-02-23 Alan Mackenzie <acm@muc.de>
9488
9489 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9490 parameter "after-hook:" to allow the expansion to run code after
9491 the execution of the mode hooks.
9492
9493 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 9494 from font-lock-mode-internal.
2cb228f7 9495
91027d08 9496 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
9497 :after-hook.
9498
8f0fde21
SM
94992012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9500
3e88618b
SM
9501 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9502 (completion--cache-all-sorted-completions): New function.
9503 (completion-all-sorted-completions): Use it.
9504 (completion--do-completion, minibuffer-force-complete):
9505 Use it to re-instate the flush hook.
9506
8f0fde21
SM
9507 * icomplete.el (icomplete-completions): Replace last fix with a better
9508 one (bug#10850).
9509
8e911f6f
DG
95102012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9511
9512 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9513 when it might call us back infinitely (bug#10797).
9514
49fe4321
GM
95152012-02-23 Glenn Morris <rgm@gnu.org>
9516
9517 * minibuffer.el (completion-category-overrides): Doc fix.
9518
b291b572
SM
95192012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9520
9521 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9522 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9523
31a9ef2e
GM
95242012-02-23 Glenn Morris <rgm@gnu.org>
9525
5e6e6794 9526 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
9527 (authors-obsolete-files-regexps, authors-ignored-files)
9528 (authors-ambiguous-files, authors-renamed-files-alist):
9529 Add more entries.
9530
0bd1e074
JL
95312012-02-23 Juri Linkov <juri@jurta.org>
9532
9533 * isearch.el (isearch-occur): Sync interactive spec with occur's
9534 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9535
b617673c
JL
9536 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9537
19e9789e
JL
95382012-02-22 Juri Linkov <juri@jurta.org>
9539
9540 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9541 (ucs-insert): Doc fix. Check for hex digits in the string.
9542 Don't display `nil' in the error message. (Bug#10857)
9543
f41ce09d
AM
95442012-02-22 Alan Mackenzie <acm@muc.de>
9545
7a71b18d 9546 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 9547
ac2eceee
GM
95482012-02-22 Glenn Morris <rgm@gnu.org>
9549
9550 * ffap.el (ffap-c-path):
9551 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9552
abd1f678
CY
95532012-02-22 Chong Yidong <cyd@gnu.org>
9554
9555 * custom.el (load-theme): Doc fix.
9556
f25aef2e
GM
95572012-02-22 Glenn Morris <rgm@gnu.org>
9558
9559 * dired-x.el (dired-guess-shell-alist-default):
9560 Remove escape sequences from nroff output. (Bug#172)
9561
5f8dc2ca
GM
95622012-02-21 Glenn Morris <rgm@gnu.org>
9563
6ff86ec4
GM
9564 * vc/emerge.el (emerge-defvar-local):
9565 Set `permanent-local' property rather than unused `preserved'.
9566
be3223a3 9567 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
9568 (picture-mode-map): Use it. (Bug#10860)
9569 (picture-mode): Doc fix.
9570
3fe58f4f
JB
95712012-02-21 Juanma Barranquero <lekktu@gmail.com>
9572
9573 * newcomment.el (uncomment-region-default): Remove unused binding.
9574
f9a998c3
GM
95752012-02-21 Glenn Morris <rgm@gnu.org>
9576
9577 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9578 (picture-self-insert, picture-tab-chars): Doc fix.
9579 (picture-mode-map): Fix C-a, C-e.
9580
c6029348
GM
95812012-02-20 Glenn Morris <rgm@gnu.org>
9582
9583 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9584
ab1ce9d7
LL
95852012-02-20 Leo Liu <sdl.web@gmail.com>
9586
9587 * icomplete.el (icomplete-completions): Check FROM arg before
9588 passing to substring (Bug#10850).
9589
0fd40f89
CY
95902012-02-19 Chong Yidong <cyd@gnu.org>
9591
9592 * comint.el: Require ansi-color.
9593 (comint-output-filter-functions): Add ansi-color-process-output.
9594
9595 * ansi-color.el: Don't set comint-output-filter-functions; it is
9596 now in the initial value defined in comint.el.
9597 (ansi-color-apply-face-function): New variable.
9598 (ansi-color-apply-on-region): Use it.
9599 (ansi-color-apply-overlay-face): New function.
9600
9601 * shell.el (shell): No need to require ansi-color.
9602 (shell-mode): Use ansi-color-apply-face-function to highlight
9603 color escapes using font-lock-face property (Bug#10835).
9604
20af2394
CY
96052012-02-19 Chong Yidong <cyd@gnu.org>
9606
9607 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9608 mode-line formats (Bug#10839).
9609
e23a3fbe
GM
96102012-02-18 Glenn Morris <rgm@gnu.org>
9611
b474519e
GM
9612 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9613
9614 * mail/undigest.el (unforward-rmail-message): Doc fix.
9615
e23a3fbe
GM
9616 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9617
57939ff4
EZ
96182012-02-18 Eli Zaretskii <eliz@gnu.org>
9619
9620 * international/characters.el (script-list): Sync with the latest
9621 Unicode Character Database.
9622
0c23686e
AS
96232012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9624
9625 * international/titdic-cnv.el: Remove duplicate coding tag.
9626 * language/cham.el: Likewise.
9627 * language/tai-viet.el: Likewise.
9628
6818b449
GM
96292012-02-18 Glenn Morris <rgm@gnu.org>
9630
9631 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9632 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9633 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9634 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9635 * calendar/holidays.el (holiday-bahai-holidays)
9636 (calendar-holidays, list-holidays):
9637 Use utf-8 Bahá'í in doc-strings, menus, etc.
9638
0311a3fc
TH
96392012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9640
9641 * saveplace.el (save-place-ignore-files-regexp): New variable
9642 allowing for excluding files from saving their location of point.
9643 The default value matches the temporary commit message editing
9644 files from Git, SVN, Bazaar, and Mercurial.
9645 (save-place-to-alist): Use it.
9646
d209e2fb 96472012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 9648 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
9649
9650 * newcomment.el (uncomment-region-default): Don't leave extra space
9651 when an arg is provided (bug#8150).
9652
ee0ce425
TZ
96532012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9654
eb864a71 9655 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 9656
95ddf442
GM
96572012-02-17 Glenn Morris <rgm@gnu.org>
9658
9659 * net/socks.el: Require network-stream. (Bug#10599)
9660
48dd1e39 96612012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
9662
9663 * international/charprop.el:
9664 * international/uni-name.el:
9665 * international/uni-old-name.el:
9666 * international/uni-comment.el: Regenerate.
9667
d68cd087
GM
96682012-02-16 Glenn Morris <rgm@gnu.org>
9669
9670 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9671 Interactively in calendar buffer, give an error if not on a date.
9672
13932042
GM
96732012-02-15 Glenn Morris <rgm@gnu.org>
9674
9675 * shell.el (shell-delimiter-argument-list):
9676 Revert 2011-02-17 change. (Bug#8027)
9677
c3a70e2b
CY
96782012-02-15 Chong Yidong <cyd@gnu.org>
9679
60236b0d
CY
9680 * minibuffer.el (completion-at-point-functions): Doc fix.
9681
c3a70e2b
CY
9682 * custom.el (defcustom): Doc fix; note use of defvar.
9683
9f26dc24
GM
96842012-02-15 Glenn Morris <rgm@gnu.org>
9685
9686 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9687 Doc fixes.
9688
6546b134
GM
96892012-02-14 Glenn Morris <rgm@gnu.org>
9690
9691 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9692
d29b2b4c
LI
96932012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9694
9695 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9696 way the ports list is computed.
835bdcba
LI
9697 (smtpmail-query-smtp-server): Prompt the user for a port number if
9698 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 9699
08dcdbc9
TZ
97002012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9701
9702 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9703
2605051a
GM
97042012-02-13 Glenn Morris <rgm@gnu.org>
9705
9706 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9707
7ee99f32
TZ
97082012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9709
9710 * net/gnutls.el (gnutls-trustfiles): New variable.
9711 (gnutls-negotiate): Use it.
9712
5f0af64f
LI
97132012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9714
9715 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9716 does its stuff if Gnus is running.
9717
c14fcc95
AM
97182012-02-13 Alan Mackenzie <acm@muc.de>
9719
9720 Fix a loop in c-set-fl-decl-start.
9721
7a71b18d 9722 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
9723 c-backward-syntactic-ws actually moves backwards.
9724
142b4d90
LL
97252012-02-13 Leo Liu <sdl.web@gmail.com>
9726
9727 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9728 beginning so that all \C-o chars are removed.
9729
fa9958a6
TZ
97302012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9731
dc9924b8 9732 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 9733
0bc5886a
AM
97342012-02-12 Alan Mackenzie <acm@muc.de>
9735
9736 Fix infinite loop with long macros.
4d6769e1 9737 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 9738
d4bd55e7
CY
97392012-02-12 Chong Yidong <cyd@gnu.org>
9740
9741 * window.el (display-buffer): Doc fix (Bug#10785).
9742
66f3fe22
GM
97432012-02-12 Glenn Morris <rgm@gnu.org>
9744
bd7da63e
GM
9745 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9746 (x-disown-selection-internal, x-get-selection-internal):
9747 Sync docs with the xselect.c versions.
9748
66f3fe22
GM
9749 * allout-widgets.el: Add missing license notice.
9750
3e0d2fa7
GM
97512012-02-11 Glenn Morris <rgm@gnu.org>
9752
cfecdf09
GM
9753 * select.el (x-get-selection-internal, x-own-selection-internal)
9754 (x-disown-selection-internal):
9755 * x-dnd.el (x-get-selection-internal): Update declarations.
9756
6d216d7f
GM
9757 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9758
2bed3f04
GM
9759 * window.el (window-sides-slots):
9760 * tool-bar.el (tool-bar-position):
9761 * term/xterm.el (xterm-extra-capabilities):
9762 * ses.el (ses-self-reference-early-detection):
9763 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9764 (verilog-auto-wire-type)
9765 (verilog-auto-delete-trailing-whitespace)
9766 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9767 (verilog-auto-tieoff-declaration):
9768 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9769 (sql-oracle-statement-starters, sql-oracle-scan-on):
9770 * progmodes/prolog.el (prolog-align-comments-flag)
9771 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9772 (prolog-left-indent-regexp, prolog-paren-indent-p)
9773 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9774 (prolog-types, prolog-mode-specificators)
9775 (prolog-determinism-specificators, prolog-directives)
9776 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9777 (prolog-electric-dot-flag)
9778 (prolog-electric-dot-full-predicate-template)
9779 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9780 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9781 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9782 (prolog-program-switches, prolog-prompt-regexp)
9783 (prolog-debug-on-string, prolog-debug-off-string)
9784 (prolog-trace-on-string, prolog-trace-off-string)
9785 (prolog-zip-on-string, prolog-zip-off-string)
9786 (prolog-use-standard-consult-compile-method-flag)
9787 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9788 (prolog-imenu-max-lines, prolog-info-predicate-index)
9789 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9790 (prolog-char-quote-workaround):
9791 * progmodes/cc-vars.el (c-defun-tactic):
9792 * net/tramp.el (tramp-encoding-command-interactive)
9793 (tramp-local-end-of-line):
9794 * net/soap-client.el (soap-client):
9795 * net/netrc.el (netrc-file):
9796 * net/gnutls.el (gnutls):
9797 * minibuffer.el (completion-category-overrides)
9798 (completion-cycle-threshold)
9799 (completion-pcm-complete-word-inserts-delimiters):
9800 * man.el (Man-name-local-regexp):
9801 * mail/feedmail.el (feedmail-display-full-frame):
9802 * international/characters.el (glyphless-char-display-control):
9803 * eshell/em-ls.el (eshell-ls-date-format):
9804 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9805 (lisp-lambda-list-keyword-parameter-indentation)
9806 (lisp-lambda-list-keyword-parameter-alignment):
9807 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9808 * dired-x.el (dired-omit-verbose):
9809 * cus-theme.el (custom-theme-allow-multiple-selections):
9810 * calc/calc.el (calc-highlight-selections-with-faces)
9811 (calc-lu-field-reference, calc-lu-power-reference)
9812 (calc-note-threshold):
9813 * battery.el (battery-mode-line-limit):
9814 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9815 (archive-7z-update):
9816 * allout.el (allout-prefixed-keybindings)
9817 (allout-unprefixed-keybindings)
9818 (allout-inhibit-auto-fill-on-headline)
9819 (allout-flattened-numbering-abbreviation):
9820 * allout-widgets.el (allout-widgets-auto-activation)
9821 (allout-widgets-icons-dark-subdir)
9822 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9823 (allout-widgets-theme-dark-background)
9824 (allout-widgets-theme-light-background)
9825 (allout-widgets-item-image-properties-emacs)
9826 (allout-widgets-item-image-properties-xemacs)
9827 (allout-widgets-run-unit-tests-on-load)
9828 (allout-widgets-time-decoration-activity)
9829 (allout-widgets-hook-error-post-time)
9830 (allout-widgets-track-decoration):
9831 Add missing :version tags to new defcustoms and defgroups.
9832
5fec1b8e
GM
9833 * progmodes/sql.el (sql-ansi-statement-starters)
9834 (sql-oracle-statement-starters): Add custom type.
9835
3e0d2fa7
GM
9836 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9837 (prolog-system-version): Give it a type.
9838
90b671e2
EZ
98392012-02-11 Eli Zaretskii <eliz@gnu.org>
9840
9841 * term/pc-win.el (x-select-text, x-selection-owner-p)
9842 (x-own-selection-internal, x-disown-selection-internal)
9843 (x-get-selection-internal): Sync doc strings and argument lists
9844 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9845
5eac0c02
LL
98462012-02-11 Leo Liu <sdl.web@gmail.com>
9847
9848 * progmodes/python.el (python-end-of-statement): Fix infinite
9849 loop. (Bug#10788)
9850
f82cb659
GM
98512012-02-10 Glenn Morris <rgm@gnu.org>
9852
9853 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9854 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9855
cc26d239
LI
98562012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9857
9858 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9859 about SMTP before checking the From header.
9860
91027d08 9861 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
9862 into own function for reuse by emacsbug.el.
9863
1be3ca5a
LL
98642012-02-10 Leo Liu <sdl.web@gmail.com>
9865
9866 * subr.el (condition-case-unless-debug): Rename from
9867 condition-case-no-debug. All callers changed.
9868 (with-demoted-errors): Fix caller.
9869
9870 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9871 * nxml/rng-valid.el (rng-do-some-validation):
9872 * emacs-lisp/package.el (package-refresh-contents)
9873 (package-menu-execute):
9874 * desktop.el (desktop-create-buffer):
91027d08 9875 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 9876
b011fbfe
GM
98772012-02-10 Glenn Morris <rgm@gnu.org>
9878
b2096d72
GM
9879 * textmodes/bibtex.el:
9880 Add missing :version tags for new/changed defcustoms.
9881
b011fbfe
GM
9882 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9883
4c7e65bf
LI
98842012-02-09 Lars Ingebrigtsen <larsi@rusty>
9885
9886 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9887 (smtpmail-via-smtp): Use it, or fall back on the From address.
9888 (smtpmail-send-it): Ditto.
9889
f3934f6f
SM
98902012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9891
9892 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9893 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9894 (byte-compile-tmp-var): New const.
9895 (byte-compile-defvar): Use it to minimize .elc size.
9896 Just use `defvar' rather than simulate it (bug#10761).
9897
a075a2c5
GM
98982012-02-09 Glenn Morris <rgm@gnu.org>
9899
cf3aa21b
GM
9900 * files.el (rename-uniquely): Doc fix. (Bug#3806)
9901
354998cd
GM
9902 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9903 Add :version tags.
9904
dc9924b8
SM
9905 * progmodes/compile.el (compilation-error-screen-columns)
9906 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 9907
dab3703d
GM
9908 * vc/log-view.el (log-view-toggle-entry-display):
9909 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9910
3f88cd72
GM
9911 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9912 (report-emacs-bug-can-use-xdg-email):
9913 (report-emacs-bug-insert-to-mailer): Doc fixes.
9914 (report-emacs-bug): Message fix.
9915
d95b247d
GM
9916 * net/browse-url.el (browse-url-can-use-xdg-open)
9917 (browse-url-xdg-open): Doc fixes.
9918
a075a2c5
GM
9919 * electric.el (electric-indent-mode, electric-pair-mode)
9920 (electric-layout-rules, electric-layout-mode): Doc fixes.
9921 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9922
ffb6157e
MR
99232012-02-08 Martin Rudalics <rudalics@gmx.at>
9924
9925 * server.el (server-unselect-display): Don't inadvertently kill
9926 the current buffer. (Bug#10729)
9927
e1ac4066
GM
99282012-02-08 Glenn Morris <rgm@gnu.org>
9929
34e8a2da
GM
9930 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9931 (sql-list-table): Doc fixes.
9932
b4ac6e8c
GM
9933 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9934 Comment out (does nothing).
9935
e1ac4066
GM
9936 * completion.el (dynamic-completion-mode):
9937 * dirtrack.el (dirtrack-debug-mode):
9938 * electric.el (electric-layout-mode):
9939 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9940 * face-remap.el (text-scale-mode, buffer-face-mode):
9941 * iimage.el (iimage-mode):
9942 * image-mode.el (image-transform-mode):
9943 * minibuffer.el (completion-in-region-mode):
9944 * scroll-lock.el (scroll-lock-mode):
9945 * simple.el (next-error-follow-minor-mode):
9946 * tar-mode.el (tar-subfile-mode):
9947 * tooltip.el (tooltip-mode):
9948 * vcursor.el (vcursor-use-vcursor-map):
9949 * wid-browse.el (widget-minor-mode):
9950 * emulation/tpu-edt.el (tpu-edt-mode):
9951 * emulation/tpu-extras.el (tpu-cursor-free-mode):
9952 * international/iso-ascii.el (iso-ascii-mode):
9953 * language/thai-util.el (thai-word-mode):
9954 * mail/supercite.el (sc-minor-mode):
9955 * net/goto-addr.el (goto-address-mode):
9956 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9957 * progmodes/cwarn.el (cwarn-mode):
9958 * progmodes/flymake.el (flymake-mode):
9959 * progmodes/glasses.el (glasses-mode):
9960 * progmodes/hideshow.el (hs-minor-mode):
9961 * progmodes/pascal.el (pascal-outline-mode):
9962 * textmodes/enriched.el (enriched-mode):
9963 * vc/smerge-mode.el (smerge-mode):
9964 Doc fixes (minor mode argument).
9965
5e0d957f
EZ
99662012-02-07 Eli Zaretskii <eliz@gnu.org>
9967
9968 * ls-lisp.el (ls-lisp-sanitize): New function.
9969 (ls-lisp-insert-directory): Use it to fix or remove any elements
9970 in file-alist with missing attributes. (Bug#4673)
9971
98d7371e
AM
99722012-02-07 Alan Mackenzie <acm@muc.de>
9973
9974 Fix spurious recognition of c-in-knr-argdecl.
9975
9976 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9977 putative K&R region.
9978
667ced3a
AM
99792012-02-07 Alan Mackenzie <acm@muc.de>
9980
eb864a71
LM
9981 * progmodes/cc-engine.el (c-forward-objc-directive):
9982 Prevent looping in "#pragma mark @implementation".
667ced3a 9983
5b77774d
MA
99842012-02-07 Michael Albinus <michael.albinus@gmx.de>
9985
9986 * notifications.el (notifications-on-closed-signal): Make `reason'
9987 optional. (Bug#10744)
9988
af008560
GM
99892012-02-07 Glenn Morris <rgm@gnu.org>
9990
60d47423
GM
9991 * emacs-lisp/easy-mmode.el (define-minor-mode):
9992 Doc fixes for the macro and the mode it defines.
9993
dd605cc4
GM
9994 * image.el (imagemagick-types-inhibit): Doc fix.
9995
af008560
GM
9996 * cus-start.el (imagemagick-render-type): Add it.
9997
5cc59a37
LI
99982012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9999
4d6769e1
JB
10000 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10001 Set the default at load time, too, so that `font-lock-fontify-buffer'
10002 can be called without setting up the entire mode first. This fixes
10003 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 10004
9a6dd747
CY
100052012-02-06 Chong Yidong <cyd@gnu.org>
10006
2d16b285
CY
10007 * simple.el (list-processes--refresh): Delete exited processes
10008 (Bug#8094).
10009
171e9b6e
CY
10010 * comint.el (comint-next-prompt): next-single-char-property-change
10011 and prev-single-char-property-change never return nil (Bug#8657).
10012
9a6dd747
CY
10013 * custom.el (defcustom): Doc fix (Bug#9711).
10014
aa4589a7
CY
100152012-02-05 Chong Yidong <cyd@gnu.org>
10016
5c2a252f
CY
10017 * cus-edit.el (custom-variable-reset-backup): Quote the value
10018 before storing it in the customized-value property (Bug#6712).
4aab9006 10019 (custom-display): Add a customization type tag.
983b9602 10020 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 10021
aa4589a7
CY
10022 * wid-edit.el (widget-field-value-get): New optional arg to
10023 suppress trailing whitespace truncation.
10024 (character): Use it (Bug#2689).
10025
1ff980ae
AS
100262012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10027
10028 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10029 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10030
03988c98
CY
100312012-02-05 Chong Yidong <cyd@gnu.org>
10032
eeb6cc88
CY
10033 * cus-edit.el (custom-variable-value-create): For mismatched
10034 types, show the current value (Bug#7600).
10035
03988c98
CY
10036 * custom.el (defcustom): Doc fix.
10037
f8cdeef0
GM
100382012-02-05 Glenn Morris <rgm@gnu.org>
10039
10040 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10041
0696d255
JB
100422012-02-05 Juanma Barranquero <lekktu@gmail.com>
10043
10044 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10045 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10046 (pp-last-sexp): Use `looking-at-p'.
10047
34c99998
GM
100482012-02-04 Glenn Morris <rgm@gnu.org>
10049
8f05da42
GM
10050 * files.el (revert-buffer):
10051 Doc fix (mention revert-buffer-in-progress-p).
10052
f160676e
GM
10053 * emacs-lisp/ert-x.el (ert-simulate-command):
10054 Check deferred-action-list (which is obsolete) is bound.
10055
c7291ad9
GM
10056 * subr.el (with-wrapper-hook): Doc fixes.
10057
34c99998
GM
10058 * simple.el (filter-buffer-substring-functions)
10059 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10060
6283a7d3
LL
100612012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10062
10063 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10064 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10065
e96e3013
LL
100662012-02-04 Leo Liu <sdl.web@gmail.com>
10067
10068 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10069
8ded50f2
GM
100702012-02-04 Glenn Morris <rgm@gnu.org>
10071
82ff1d13
GM
10072 * image.el (image-extension-data): Add obsolete alias.
10073
987a0a16
GM
10074 * isearch.el (isearch-update): Doc fix.
10075
ea32ef46
GM
10076 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10077
8ded50f2
GM
10078 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10079
eea14f31
GM
100802012-02-03 Glenn Morris <rgm@gnu.org>
10081
10082 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10083 (image-animate-timeout): Doc fix.
10084
10085 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10086
12f381b7
GM
100872012-02-02 Glenn Morris <rgm@gnu.org>
10088
953cebf5
GM
10089 * server.el (server-auth-dir): Doc fix.
10090 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10091
12f381b7
GM
10092 * subr.el (run-mode-hooks): Doc fix.
10093
953a8c3b
JL
100942012-02-02 Juri Linkov <juri@jurta.org>
10095
10096 * image-mode.el (image-toggle-display-image): Remove tautological
10097 `major-mode' from the `derived-mode-p' test.
10098
c5d3843c
KH
100992012-02-02 Kenichi Handa <handa@m17n.org>
10100
9f6e692e 10101 * composite.el (compose-region): Cancel previous change.
c5d3843c 10102
159462d4 101032012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
10104
10105 * composite.el (compose-region, compose-string): Signal error for
10106 a null string component (Bug#6988).
10107
9f562668
CY
101082012-02-01 Chong Yidong <cyd@gnu.org>
10109
e2cef717
CY
10110 * view.el (view-buffer-other-window, view-buffer-other-frame):
10111 Handle special modes like view-buffer (Bug#10650).
10112 (view-buffer): Simplify.
10113
9f562668
CY
10114 * frame.el (set-frame-font): Tweak meaning of third argument.
10115
9f6e692e
JB
10116 * dynamic-setting.el (font-setting-change-default-font):
10117 Use set-frame-font (Bug#9982).
9f562668 10118
781acb9f
GM
101192012-02-01 Glenn Morris <rgm@gnu.org>
10120
6035be52
GM
10121 * progmodes/compile.el (compilation-internal-error-properties):
10122 Respect compilation-first-column in the "*compilation*" buffer.
10123
781acb9f
GM
10124 * emacs-lisp/easy-mmode.el (define-minor-mode):
10125 Relax :variable's test for a named function.
10126
abbceb00
AM
101272012-01-31 Alan Mackenzie <acm@muc.de>
10128
10129 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10130 off by one error.
10131
fce3fdeb
CY
101322012-01-31 Chong Yidong <cyd@gnu.org>
10133
10134 * frame.el (set-frame-font): New arg ALL-FRAMES.
10135
10136 * menu-bar.el (menu-set-font): Use set-frame-font.
10137
10138 * faces.el (face-spec-reset-face): Don't apply unspecified
10139 attribute values to the default face.
10140
47893581
JB
101412012-01-31 Juanma Barranquero <lekktu@gmail.com>
10142
10143 * progmodes/cwarn.el (cwarn): Remove dead link.
10144 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10145 Remove * from defcustom docstrings.
10146 (turn-on-cwarn-mode): Make obsolete.
10147 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10148 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10149
e58e988a
GM
101502012-01-31 Glenn Morris <rgm@gnu.org>
10151
60dc2671 10152 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 10153 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 10154 Allow named functions to be used as the cdr of :variable.
e58e988a 10155
7a3f511d
GM
101562012-01-30 Glenn Morris <rgm@gnu.org>
10157
10158 * emacs-lisp/authors.el (authors-fixed-entries):
10159 Remove reference to deleted file rnewspost.el.
10160
cb882333
JB
101612012-01-29 Juanma Barranquero <lekktu@gmail.com>
10162
10163 * window.el (window-with-parameter): Remove unused variable `windows'.
10164 (window--side-check): Remove unused variable `code'.
10165 (window--resize-siblings): Remove unused variable `first'.
10166 (adjust-window-trailing-edge): Remove unused variable `failed'.
10167 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10168 Use `let', not `let*'.
10169 (balance-windows-2): Remove unused variable `found'.
10170 (window--state-put-2): Remove unused variable `splits'.
10171 (window-state-put): Remove unused variable `selected'.
10172 (same-window-p): Use `string-match-p'.
10173 (display-buffer-assq-regexp): Remove unused variable `value'.
10174 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10175 Mark argument ALIST as ignored.
10176 (pop-to-buffer): Remove unused variable `old-window'.
10177
907201af
EZ
101782012-01-29 Eli Zaretskii <eliz@gnu.org>
10179
10180 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10181 and .lzma compressed files.
10182
ea162670
CY
101832012-01-29 Chong Yidong <cyd@gnu.org>
10184
5b95ee8a
CY
10185 * frame.el (window-system-default-frame-alist): Doc fix.
10186
ea162670
CY
10187 * dynamic-setting.el (font-setting-change-default-font): Don't
10188 change the default face if SET-FONT argument is non-nil (Bug#9982).
10189
d6e6f4b1
SB
101902012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10191
10192 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10193
0f29fa41 101942012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
10195
10196 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10197 breakpoints in files outside current directory (Bug#6098).
10198
db174434
CY
101992012-01-29 Chong Yidong <cyd@gnu.org>
10200
6b25e4e2
SE
10201 * progmodes/python.el: Require ansi-color at top-level.
10202
6df6ae42
JB
10203 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10204 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
10205 (lisp-mode-abbrev-table): Add doc.
10206 (lisp-mode-variables): Don't set local-abbrev-table.
10207 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10208
e70ee681
RW
102092012-01-28 Roland Winkler <winkler@gnu.org>
10210
10211 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10212
ace88aa2
RW
102132012-01-28 Roland Winkler <winkler@gnu.org>
10214
10215 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10216 (bibtex-set-dialect): Use it. Either set global values of
10217 dialect-dependent variables or bind these variables buffer-locally
10218 (Bug#10254).
10219 (bibtex-mode): Call bibtex-set-dialect via
10220 hack-local-variables-hook.
eb864a71
LM
10221 (bibtex-dialect): Update docstring.
10222 Add safe-local-variable predicate.
ace88aa2
RW
10223 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10224 bibtex-set-dialect.
10225 (bibtex-mode-map): Define menu for each dialect.
10226 (bibtex-entry): Fix docstring.
10227
93376c5b
CY
102282012-01-28 Chong Yidong <cyd@gnu.org>
10229
10230 * eshell/esh-arg.el (eshell-quote-argument): New function.
10231
10232 * eshell/esh-ext.el (eshell-invoke-batch-file):
10233 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10234 first arg to eshell-parse-command (Bug#10523).
10235
4372494f
DA
102362012-01-28 Drew Adams <drew.adams@oracle.com>
10237
10238 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10239 `default-directory' is non-nil.
10240
4d4ec1f8
EZ
102412012-01-28 Eli Zaretskii <eliz@gnu.org>
10242
10243 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10244 line that displays system-configuration-options. (Bug#9924)
10245
7c188927
DA
102462012-01-28 Drew Adams <drew.adams@oracle.com>
10247
10248 * descr-text.el (describe-char): Show information about POS, in
10249 addition to information about the character at POS. Improve and
10250 update the doc string. Change "code point" to "code point in
10251 charset", to avoid confusion with the character's Unicode code
10252 point shown above that. (Bug#10129)
10253
e0da685a
EZ
102542012-01-28 Eli Zaretskii <eliz@gnu.org>
10255
10256 * descr-text.el (describe-char): Show the raw character, not only
10257 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10258 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10259 for the reasons.
10260
70550acf
PH
102612012-01-28 Phil Hagelberg <phil@hagelb.org>
10262
eb864a71
LM
10263 * emacs-lisp/package.el (package-install):
10264 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 10265
0ce8e868
CY
102662012-01-28 Chong Yidong <cyd@gnu.org>
10267
cb882333
JB
10268 * emacs-lisp/package.el (package-maybe-load-descriptor):
10269 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
10270 (package-maybe-load-descriptor): Use it.
10271 (package-download-transaction): Fully load required packages
10272 inside the loop, so that `require' calls work (Bug#10593).
10273 (package-install): No need to call package-initialize now.
10274
2e7f3bea
CY
102752012-01-28 Chong Yidong <cyd@gnu.org>
10276
6e9bad14
CY
10277 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10278
f823b8ca
CY
10279 * tooltip.el (tooltip-mode): Doc fix.
10280 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10281
2680c309
CY
10282 * frame.el (set-cursor-color): Doc fix (Bug#352).
10283
d7a9e63b
CY
10284 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10285 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10286
2e7f3bea
CY
10287 * cus-edit.el (custom-buffer-create-internal): Fix search button
10288 action (Bug#10542).
2ae01800 10289 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 10290
fc4f7a23
EW
102912012-01-27 Eduard Wiebe <usenet@pusto.de>
10292
10293 * dired.el (dired-mark-files-regexp):
10294 Include any subdirectory components. (Bug#10445)
10295
7dd37071
ML
102962012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10297
10298 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10299 Handle [host]:port syntax. (Bug#10533)
10300
a268160b
AH
103012012-01-27 Alex Harsanyi <harsanyi@mac.com>
10302
10303 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10304
e43273ef
GM
103052012-01-26 Glenn Morris <rgm@gnu.org>
10306
10307 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10308 * term.el (term-raw-escape-map): Use Control-X-prefix.
10309 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10310
1edf595d
MR
103112012-01-25 Martin Rudalics <rudalics@gmx.at>
10312
10313 * window.el (window-state-get, window--state-get-1): Don't deal
10314 with fixed-sizeness of windows. Simplify code.
10315
fa8eafef
JC
103162012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10317
6df6ae42
JB
10318 * window.el (window--state-get-1, window--state-put-2):
10319 Don't save and restore the mark.
fa8eafef 10320
0b21c100
CY
103212012-01-25 Chong Yidong <cyd@gnu.org>
10322
10323 * custom.el (custom-variable-p): Doc fix.
10324
5ae1a6c8
GM
103252012-01-25 Glenn Morris <rgm@gnu.org>
10326
40047858
GM
10327 * dired.el (dired-goto-file): Handle some of the more common
10328 characters that `ls -b' escapes. (Bug#10596)
10329
5ddce96c
GM
10330 * progmodes/compile.el (compilation-next-error-function):
10331 Respect compilation-first-column in the "*compilation*" buffer.
10332 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10333
5ae1a6c8
GM
10334 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10335
b559f1a9
GM
103362012-01-24 Glenn Morris <rgm@gnu.org>
10337
10338 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10339
6725d21a
JD
103402012-01-24 Julien Danjou <julien@danjou.info>
10341
10342 * color.el (color-rgb-to-hsl): Fix value computing.
10343 (color-hue-to-rgb): New function.
10344 (color-hsl-to-rgb): New function.
10345 (color-clamp, color-saturate-hsl, color-saturate-name)
10346 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10347 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10348
70df4bbe
GM
103492012-01-24 Glenn Morris <rgm@gnu.org>
10350
10351 * vc/vc-rcs.el (vc-rcs-create-tag):
10352 * vc/vc-sccs.el (vc-sccs-create-tag):
10353 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10354
802a2ae2
ML
103552012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10356
10357 * eshell/esh-util.el (eshell-read-hosts-file):
10358 Skip comment lines. (Bug#10549)
10359
d7128bb1
ML
10360 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10361
d1a5c3b4
JB
103622012-01-23 Juanma Barranquero <lekktu@gmail.com>
10363
2724d9c7
JB
10364 * subr.el (display-delayed-warnings): Doc fix.
10365 (collapse-delayed-warnings): New function to collapse identical
10366 adjacent warnings.
10367 (delayed-warnings-hook): Add it.
d1a5c3b4 10368
a5509865
MA
103692012-01-22 Michael Albinus <michael.albinus@gmx.de>
10370
10371 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10372
a5509865
MA
10373 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10374 (tramp-default-user-alist): Don't add "pscp".
10375 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10376 property "login-as", if set. (Bug#10530)
10377
cc6d5805
MA
103782012-01-21 Michael Albinus <michael.albinus@gmx.de>
10379
10380 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10381 "plink1" and "psftp". (Bug#10530)
10382
103832012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
10384
10385 * international/mule-cmds.el (prefer-coding-system): Show a
10386 warning message if the default value of file-name-coding-system
10387 was not changed.
10388
f0960428
JC
103892012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10390
cb882333
JB
10391 * windmove.el (windmove-reference-loc):
10392 Fix windmove-reference-loc miscalculation.
f0960428 10393
dd6f2a63
JB
103942012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10395
10396 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10397 default unit.
10398
7b447e9b
GM
103992012-01-21 Glenn Morris <rgm@gnu.org>
10400
117a9ea1
GM
10401 * international/mule.el (auto-coding-alist): Add .tbz.
10402
7b447e9b
GM
10403 * files.el (local-enable-local-variables): Doc fix.
10404 (inhibit-local-variables-regexps): Rename from
10405 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10406 Doc fix. Add some extensions from auto-coding-alist.
10407 (inhibit-local-variables-suffixes):
10408 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10409 (inhibit-local-variables-p):
10410 New function, extracted from set-auto-mode-1.
10411 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10412 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10413 (hack-local-variables): Doc fix. Make the mode-only case
10414 respect enable-local-variables and friends.
10415 Respect inhibit-local-variables-regexps for file-locals, but
10416 not for directory-locals.
10417 (set-visited-file-name):
10418 Take account of inhibit-local-variables-regexps.
10419 Whether it applies may change as the file name is changed.
10420 * jka-cmpr-hook.el (jka-compr-install):
10421 * jka-compr.el (jka-compr-uninstall):
10422 Update for inhibit-first-line-modes-suffixes name change.
10423
dd6e3cdd
MR
104242012-01-20 Martin Rudalics <rudalics@gmx.at>
10425
10426 * help-macro.el (make-help-screen): Temporarily restore original
10427 binding for minor-mode-map-alist (Bug#10454).
10428
0d0deb38
JD
104292012-01-19 Julien Danjou <julien@danjou.info>
10430
10431 * color.el (color-name-to-rgb): Use the white color to find the max
10432 color component value and return correctly computed values.
10433 (color-name-to-rgb): Add missing float conversion for max value.
10434
34a02f46
MR
104352012-01-19 Martin Rudalics <rudalics@gmx.at>
10436
10437 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
10438 special state value for window-persistent-parameters.
10439 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
10440 (window--state-put-2): Reset all window parameters to nil before
10441 assigning values of persistent parameters.
10442
606c44c4
AM
104432012-01-18 Alan Mackenzie <acm@muc.de>
10444
10445 Eliminate sluggishness and hangs in fontification of "semicolon
10446 deserts".
10447
cb882333
JB
10448 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10449 Change value 10000 -> 3000.
606c44c4
AM
10450 (c-state-safe-place): Reformulate so it doesn't stack up an
10451 infinite number of wrong entries in c-state-nonlit-pos-cache.
10452 (c-determine-limit-get-base, c-determine-limit): New functions to
10453 determine backward search limits disregarding literals.
10454 (c-find-decl-spots): Amend commenting.
10455 (c-cheap-inside-bracelist-p): New function which detects "={".
10456
10457 * progmodes/cc-fonts.el
10458 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10459 backward search.
10460 (c-font-lock-declarations): Fix an occurrence of point being
10461 undefined. Check additionally for point being in a bracelist or
10462 near a macro invocation without a semicolon so as to avoid a
10463 fruitless time consuming search for a declarator. Give a more
10464 precise search limit for declarators using the new
10465 c-determine-limit.
10466
f3860cea
GM
104672012-01-18 Glenn Morris <rgm@gnu.org>
10468
10469 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10470 (set-auto-mode): Doc fixes.
10471
1db03b16
GM
104722012-01-17 Glenn Morris <rgm@gnu.org>
10473
0e6038be
GM
10474 * isearch.el (search-nonincremental-instead): Fix doc typo.
10475
1db03b16
GM
10476 * dired.el (dired-insert-directory): Handle newlines in directory name.
10477 (dired-build-subdir-alist): Unescape newlines in directory name.
10478
4cb0aa75
MA
104792012-01-17 Michael Albinus <michael.albinus@gmx.de>
10480
10481 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10482 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10483 (tramp-action-terminal): Use it. (Bug#10530)
10484
1d00653d
SM
104852012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10486
10487 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10488
6a6ee00d
MR
104892012-01-16 Martin Rudalics <rudalics@gmx.at>
10490
10491 * window.el (window-state-ignored-parameters): Remove variable.
10492 (window--state-get-1): Rename argument MARKERS to IGNORE.
10493 Handle persistent window parameters. Make copy of clone-of
10494 parameter only if requested. (Bug#10348)
10495 (window--state-put-2): Install a window parameter only if it has
10496 a non-nil value or an existing parameter shall be overwritten.
10497
97912def
MA
104982012-01-15 Michael Albinus <michael.albinus@gmx.de>
10499
10500 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10501
688070a5
EZ
105022012-01-14 Eli Zaretskii <eliz@gnu.org>
10503
10504 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10505 don't pass the (nil) value of `upnode' to string-match.
10506
301afadc
CY
105072012-01-14 Chong Yidong <cyd@gnu.org>
10508
10509 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 10510 Fix values recognized by the cursorBlink resource.
301afadc 10511
9e5788aa
PE
105122012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10513
10514 * epg.el (epg--make-temp-file): Avoid permission race condition
10515 when running on old Emacs versions (bug#10403).
10516
3cdb7f5a
GM
105172012-01-14 Glenn Morris <rgm@gnu.org>
10518
10519 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10520
8c82b1b4
AM
105212012-01-13 Alan Mackenzie <acm@muc.de>
10522
10523 Fix filling for when filladapt mode is enabled.
10524
10525 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10526 c-mask-paragraph, pass in `fill-paragraph' rather than
10527 `fill-region-as-paragraph'. (This is a reversion of a previous
10528 change.)
eb864a71
LM
10529 * progmodes/cc-mode.el (c-basic-common-init):
10530 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 10531
e517eda4
GM
105322012-01-13 Glenn Morris <rgm@gnu.org>
10533
1498536e
GM
10534 * dired.el (dired-switches-escape-p): New function.
10535 (dired-insert-directory): Use dired-switches-escape-p.
10536 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10537
e517eda4
GM
10538 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10539
328f984d
GM
105402012-01-12 Glenn Morris <rgm@gnu.org>
10541
10542 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10543 changes in adaptive-fill-regexp. (Bug#10276)
10544
2cc769a8
AM
105452012-01-11 Alan Mackenzie <acm@muc.de>
10546
10547 Fix Emacs bug #10463 - put `widen's around the critical spots.
10548
1d00653d 10549 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
10550 widen around each invocation of c-state-pp-to-literal. Remove an
10551 unused let variable.
10552
e52c37fa
GM
105532012-01-11 Glenn Morris <rgm@gnu.org>
10554
10555 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 10556 Doc fix.
e52c37fa 10557
96f8741e
CY
105582012-01-10 Chong Yidong <cyd@gnu.org>
10559
1d00653d
SM
10560 * net/network-stream.el (network-stream-open-starttls):
10561 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
10562 response to the capability command.
10563
b09a806e
GM
105642012-01-10 Glenn Morris <rgm@gnu.org>
10565
10566 * mail/unrmail.el (unrmail): Tweak previous change.
10567
7655cb66
CY
105682012-01-09 Chong Yidong <cyd@gnu.org>
10569
10570 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10571
9d5a8f0b
AM
105722012-01-08 Alan Mackenzie <acm@muc.de>
10573
10574 Optimise font locking in long enum definitions.
10575
10576 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10577 arm to a cond form to handle enums.
10578 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10579 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10580
9a0115ab 105812012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
10582
10583 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 10584 (Bug#10401)
6bb72cbd 10585
f186bb95
LMI
105862012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10587
29232a68
LMI
10588 * faces.el (set-face-attribute): Clarify the meaning of the nil
10589 frame (bug#10294).
10590
4e5d086d
LMI
10591 * subr.el (with-selected-frame): Mention that the selected frame
10592 is restored (bug#9980).
10593
8e66aebe
LMI
10594 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10595 (bug#9759).
10596
cd394be1 10597 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
10598 (password-read): Don't autoload unused function.
10599
adf4e762
JB
106002012-01-07 Juanma Barranquero <lekktu@gmail.com>
10601
10602 * progmodes/which-func.el (which-func-mode): Turn into a
10603 non-interactive function and mark as obsolete (bug#10428).
10604
89bd9ccd
CY
106052012-01-06 Chong Yidong <cyd@gnu.org>
10606
10607 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10608 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10609 functions, along with 1 and -1.
10610
4afee9d5
EZ
106112012-01-06 Eli Zaretskii <eliz@gnu.org>
10612
10613 * time.el (display-time-load-average)
10614 (display-time-default-load-average): Doc fixes. See the thread
10615 starting at
10616 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10617 for the details.
10618
536aea70
GM
106192012-01-06 Glenn Morris <rgm@gnu.org>
10620
665ae865
GM
10621 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10622 has no messages. (Bug#10377)
10623
c869783d
GM
10624 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10625 than Info-edit. (Bug#10385)
10626
2bb4227e
GM
10627 * time.el (display-time-load-average, display-time-next-load-average):
10628 Doc fixes.
10629
7d5944b9
GM
10630 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10631 local setting of buffer-read-only to the input buffer. (Bug#10419)
10632
536aea70
GM
10633 * calendar/calendar.el (calendar-mode):
10634 Locally set scroll-margin to 0. (Bug#10379)
10635
7dccca16
UM
106362012-01-06 Ulrich Mueller <ulm@gentoo.org>
10637
10638 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10639
afbb7930
GM
106402012-01-05 Glenn Morris <rgm@gnu.org>
10641
10642 * eshell/em-unix.el (diff-no-select): Autoload it.
10643 (eshell/diff): Use diff-no-select. (Bug#10420)
10644
04482335
CY
106452012-01-05 Chong Yidong <cyd@gnu.org>
10646
7baca3bc
CY
10647 * shell.el (shell-dynamic-complete-functions): Revert last change.
10648 (shell-command-completion-function): New function.
10649 (shell-completion-vars): Use it to implement
10650 shell-completion-execonly (Bug#10417).
10651
04482335
CY
10652 * custom.el (enable-theme): Don't set custom-safe-themes.
10653
1d00653d
SM
10654 * cus-theme.el (custom-theme-merge-theme):
10655 Ignore custom-enabled-themes and custom-safe-themes.
04482335 10656
bb5aa5d6
MM
106572012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10658
10659 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10660 first prompt in `sql-interacive-mode'.
10661 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 10662 keywords.
6df6ae42 10663 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
10664 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10665 context of original buffer. Invoke `sql-login-hook'.
10666
a7183d7c
EZ
106672012-01-04 Eli Zaretskii <eliz@gnu.org>
10668
10669 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10670 letters in cite-prefix.
10671
a1eacd1e
LMI
106722012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10673
10674 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10675
787cdb34
CY
106762012-01-03 Chong Yidong <cyd@gnu.org>
10677
1d00653d
SM
10678 * shell.el (shell-dynamic-complete-functions):
10679 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
10680 comint-filename-completion first (Bug#10417).
10681
30710442
RS
106822012-01-02 Richard Stallman <rms@gnu.org>
10683
10684 * battery.el (battery-status-function):
10685 Detect when to use battery-yeeloong-sysfs.
10686 (battery-echo-area-format): Add string for Yeeloong.
10687 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10688 (battery-yeeloong-sysfs): New function.
10689
f75bfc33
CY
106902012-01-02 Chong Yidong <cyd@gnu.org>
10691
10692 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10693 (dirtrack): Merge code for handling relative filenames in prompt
10694 from shell-dir-cookie-watcher.
10695 (dirtrack-debug-message): New arg to avoid excess format calls.
10696
10697 * shell.el (shell-dir-cookie-re): Variable deleted.
10698 (shell-dir-cookie-watcher): Function deleted.
10699 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10700 with dirtrack-mode.
10701
651e947e
EZ
107022012-01-01 Eli Zaretskii <eliz@gnu.org>
10703
1d00653d
SM
10704 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10705 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
10706 libgnutls-26.dll.
10707
94d4c7dc
AS
107082011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10709
10710 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10711
8d43f3cd
EZ
107122011-12-31 Eli Zaretskii <eliz@gnu.org>
10713
10714 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10715 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10716
98c8795a
MA
107172011-12-29 Michael Albinus <michael.albinus@gmx.de>
10718
10719 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10720 also for alternative shells.
10721 (tramp-open-connection-setup-interactive-shell): Check, whether
10722 the shell is a busybox.
10723 (tramp-send-command): Don't suppress multiple prompts for
10724 busyboxes, it hurts.
10725
51281b32
CY
107262011-12-28 Chong Yidong <cyd@gnu.org>
10727
10728 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10729 (gdb-get-source-file): Move mode line update to
10730 gdb-get-source-file (Bug#10087).
10731
2170cb53
CY
107322011-12-25 Chong Yidong <cyd@gnu.org>
10733
10734 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10735 gud-gdb-marker-filter without taking it as an argument.
10736 (gud-gdb-run-command-fetch-lines): Caller changed.
10737 (gud-gdb-completion-function): New variable.
10738 (gud-gdb-completion-at-point): Use it.
10739 (gud-gdb-completions-1): Split from gud-gdb-completions.
10740
10741 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10742 function as separate arguments.
10743 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10744 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10745 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10746 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10747 (gdb-stopped, def-gdb-auto-update-trigger)
10748 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
10749 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10750 Callers changed.
2170cb53
CY
10751 (gud-gdbmi-completions): New function.
10752 (gdb): Use it for generating the completion table.
10753
be8b11bb
AM
107542011-12-24 Alan Mackenzie <acm@muc.de>
10755
10756 Introduce a mechanism to widen the region used in context font
1d00653d 10757 locking. Use this to protect declarations from losing their contexts.
be8b11bb 10758
1d00653d
SM
10759 * progmodes/cc-langs.el (c-before-font-lock-functions):
10760 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 10761 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
10762 functions to be run just before context (etc.) font locking.
10763
10764 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 10765 New, functionality extracted from
be8b11bb 10766 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 10767 (c-in-after-change-fontification): New variable.
be8b11bb
AM
10768 (c-after-change): Set c-in-after-change-fontification.
10769 (c-set-fl-decl-start): Rejig its interface, so it can be called
10770 from both after-change and context fontifying.
b81d40f0
JB
10771 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10772 New functions.
10773 (c-standard-font-lock-fontify-region-function): New variable.
10774 (c-font-lock-fontify-region): New function.
be8b11bb 10775
341cf6ac
JL
107762011-12-24 Juri Linkov <juri@jurta.org>
10777
10778 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10779 (Bug#10348)
10780
bffcee0a
MA
107812011-12-23 Michael Albinus <michael.albinus@gmx.de>
10782
10783 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10784 existence of source file. (Bug#10325)
10785
cb5e207c
AM
107862011-12-23 Alan Mackenzie <acm@muc.de>
10787
10788 Fix unstable fontification inside templates.
10789
b81d40f0
JB
10790 * progmodes/cc-langs.el (c-before-font-lock-functions):
10791 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
10792 additionally has c-set-fl-decl-start. The other languages (apart
10793 from AWK) have that as a single entry.
10794
b81d40f0
JB
10795 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10796 The functionality for "local" declarations has been extracted to
cb5e207c
AM
10797 c-set-fl-decl-start.
10798
b81d40f0
JB
10799 * progmodes/cc-mode.el (c-common-init, c-after-change):
10800 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
10801 (c-set-fl-decl-start): New function, extracted from
10802 c-font-lock-enclosing-decls and enhanced.
10803
60ff536c
JB
108042011-12-23 Juanma Barranquero <lekktu@gmail.com>
10805
10806 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10807
1c4757d6
JL
108082011-12-22 Juri Linkov <juri@jurta.org>
10809
10810 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10811
d031f2c7
CY
108122011-12-22 Chong Yidong <cyd@gnu.org>
10813
10814 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10815
bace743a
DA
108162011-12-21 Drew Adams <drew.adams@oracle.com>
10817
10818 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10819
728a1f2b
JC
108202011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10821
10822 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10823
0d373f73
TZ
108242011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10825
fec0aaa4
TZ
10826 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10827 highlighting and support. Fix up comments for capitalization.
10828 (cfengine-mode-debug): New var.
10829 (cfengine3-mode): Change the modeline indicator to "CFE3".
10830 (cfengine3-font-lock-keywords): Improve defun highlighting.
10831 (cfengine2-actions): Rename from `cfengine-actions'.
10832 (cfengine2-font-lock-keywords): Rename from
10833 `cfengine-font-lock-keywords'.
10834 (cfengine2-imenu-expression): Rename from
10835 `cfengine-imenu-expression'.
10836 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10837 (cfengine2-beginning-of-defun): Rename from
10838 `cfengine-beginning-of-defun'.
10839 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10840 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10841 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10842 modeline indicator to "CFE2".
10843 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10844 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 10845
bc86f573
CY
108462011-12-21 Chong Yidong <cyd@gnu.org>
10847
10848 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10849 filename argument.
10850
d45ba96b
MR
108512011-12-20 Martin Rudalics <rudalics@gmx.at>
10852
10853 * window.el (window-normalize-buffer-to-display): Remove.
10854 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10855
a6198c90
CY
108562011-12-19 Chong Yidong <cyd@gnu.org>
10857
10858 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10859 Don't signal an error in a predicate function; return non-nil.
10860 (vc-dir-mark-file): Move the error here.
10861 (vc-dir-mark-unmark): If acting on the region, keep going if one
10862 of the entries cannot be marked/unmarked.
10863 (vc-dir-mark-all-files): If current entry is a directory, mark
10864 only child files, as documented.
10865
34c5fb55
VB
108662011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10867
10868 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10869 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10870 addition.
10871
c803b2b7
JD
108722011-12-18 Jan Djärv <jan.h.d@swipnet.se>
10873
10874 * term/ns-win.el (ns-get-selection-internal)
10875 (ns-store-selection-internal): Declare.
1154d12e
JB
10876 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10877 Declare as obsolete.
10878 (ns-get-pasteboard, ns-paste-secondary):
10879 Use ns-get-selection-internal.
41e9b956 10880 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 10881 Use ns-store-selection-internal.
c803b2b7 10882
9cff91f8 108832011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
10884
10885 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 10886 (vc-deduce-fileset): Doc fix.
99a289d9 10887
f16c898a
AS
108882011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10889
10890 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10891
763237c4
SS
108922011-12-13 Sam Steingold <sds@gnu.org>
10893
10894 * man.el (Man-getpage-in-background): When running under a
10895 window-system, ignore $MANWIDTH and $COLUMNS.
10896
5fc1c122
KH
108972011-12-15 Kenichi Handa <handa@m17n.org>
10898
10899 * language/ethio-util.el: Change coding tag to utf-8-emacs.
10900 (setup-ethiopic-environment-internal): Comment out key-binding for
10901 ethio-toggle-punctuation.
10902
13d49cbb
AM
109032011-12-13 Alan Mackenzie <acm@muc.de>
10904
898169a2
AM
10905 Add the switch statement to AWK Mode.
10906
7a71b18d 10907 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
10908 "default" to the keywords regexp.
10909
7a71b18d 10910 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 10911 expression as the rest.
1d00653d
SM
10912 (c-nonlabel-token-key): Allow string literals for AWK.
10913 Refactor for the other modes.
898169a2 10914
13d49cbb 10915 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 10916 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
10917 routines. Limit backward searching in c-font-lock-enclosing.decl.
10918
10919 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10920 pp-state and literal type in addition to the limits.
1d00653d 10921 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 10922 (c-state-literal-at): Use the above new defun.
1d00653d
SM
10923 (c-slow-in-literal, c-fast-in-literal): Remove.
10924 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
10925
10926 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10927 being in a literal. Add a limit for backward searching.
10928
10929 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10930 c-slow-in-literal.
10931
15e0efc7
SM
109322011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
10933
10934 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10935
454592a6
MR
109362011-12-13 Martin Rudalics <rudalics@gmx.at>
10937
10938 * window.el (delete-other-windows): Use correct frame in call to
10939 window-with-parameter.
10940
87393f26
DP
109412011-12-12 Daniel Pfeiffer <occitan@t-online.de>
10942
10943 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10944 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10945 (makefile-gmake-statements, makefile-makepp-statements):
10946 Use it and add new makepp keywords.
10947 (makefile-makepp-font-lock-keywords): Add new patterns.
10948 (makefile-match-function-end): Match new [...] and [[...]].
10949
11636b22
JB
109502011-12-11 Juanma Barranquero <lekktu@gmail.com>
10951
10952 * ses.el (ses-call-printer-return, ses-cell-property-get)
10953 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10954 (ses-create-cell-variable, ses-reset-header-string)
10955 (ses-cell-set-formula, ses-repair-cell-reference-all)
10956 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10957 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10958 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10959 (ses-aset-with-undo, ses-load, ses-truncate-cell)
10960 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10961 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10962 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10963 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10964 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10965 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10966 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10967 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10968
cf018193
VB
109692011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
10970
10971 * ses.el: The overall change is to add cell renaming, that is
10972 setting fancy names for cell symbols other than name matching
10973 "\\`[A-Z]+[0-9]+\\'" regexp .
10974 (ses-create-cell-variable): New defun.
10975 (ses-relocate-formula): Relocate formulas only for cells the
10976 symbols of which are not renamed, i.e. symbols whose names do not
10977 match regexp "\\`[A-Z]+[0-9]+\\'".
10978 (ses-relocate-all): Relocate values only for cells the symbols of
10979 which are not renamed.
10980 (ses-load): Create cells variables as the (ses-cell ...) are read,
10981 in order to check row col consistency with cell symbol name only
10982 for cells that are not renamed.
10983 (ses-replace-name-in-formula): New defun.
10984 (ses-rename-cell): New defun.
10985
ee957461
CY
109862011-12-11 Chong Yidong <cyd@gnu.org>
10987
10988 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10989 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10990
9a9e9ef0
MR
109912011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10992
10993 * window.el (other-window): Fix docstring.
10994
92a8eba5
EZ
109952011-12-10 Eli Zaretskii <eliz@gnu.org>
10996
10997 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
10998 `from' or `to' address before taking its substring.
10999 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
11000 encoded name is chopped in the middle of the encoded string, and
11001 thus displayed encoded.
11002
e152e577
JB
110032011-12-10 Juanma Barranquero <lekktu@gmail.com>
11004
11005 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11006
e5d84bfe
EZ
110072011-12-10 Eli Zaretskii <eliz@gnu.org>
11008
11009 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11010 to use texinfo-update-node and commands that call it if the
11011 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 11012 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
11013 (texinfo-all-menus-update, texinfo-master-menu)
11014 (texinfo-update-node, texinfo-every-node-update)
11015 (texinfo-multiple-files-update): Doc fix. Warn against updating
11016 all the @node lines.
11017 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
11018 argument is numeric. Explain better in the doc string what the
11019 function really does.
11020 (texinfo-insert-master-menu-list): Improve the error message
11021 displayed if there's no menu in the Top node.
11022 (Bug#2975) See also this thread:
e5d84bfe
EZ
11023 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11024
1d84e9bb
MG
110252011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11026
11027 * speedbar.el (speedbar-supported-extension-expressions):
11028 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11029
382c953b
JB
110302011-12-09 Juanma Barranquero <lekktu@gmail.com>
11031
11032 * printing.el (pr-mode-alist):
11033 * simple.el (filter-buffer-substring-functions)
11034 (completion-list-insert-choice-function):
11035 * window.el (window-with-parameter, window-atom-root)
11036 (window-sides-slots, window-size-fixed, window-min-delta)
11037 (window-max-delta, window--resize-mini-window)
11038 (window--resize-child-windows-normal, window-tree)
11039 (delete-other-windows, quit-window, split-window)
11040 (display-buffer-record-window, special-display-buffer-names)
11041 (special-display-regexps, special-display-popup-frame)
11042 (same-window-p, split-window-sensibly)
11043 (display-buffer-overriding-action, display-buffer-alist)
11044 (display-buffer-base-action, display-buffer, switch-to-buffer)
11045 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11046 (fit-window-to-buffer, recenter-positions)
11047 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11048 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11049 and remove unneeded backslashes in docstrings.
11050
39c9faef
SM
110512011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11052
98449af8
SM
11053 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11054
39c9faef
SM
11055 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11056 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11057 end in ".mk".
11058 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11059 when reading the makefile (bug#10116).
11060
86ed9fdc
SM
110612011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11062
11063 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11064 (bug#10116).
11065
5580f89d
GM
110662011-12-06 Glenn Morris <rgm@gnu.org>
11067
11068 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11069
28d3917c
CY
110702011-12-06 Chong Yidong <cyd@gnu.org>
11071
11072 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11073
a98edce9
JB
110742011-12-06 Juanma Barranquero <lekktu@gmail.com>
11075
11076 * textmodes/table.el (table-shorten-cell): Fix typo.
11077
e65adfac
CG
110782011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11079
11080 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11081
71cc0b74
EZ
110822011-12-05 Eli Zaretskii <eliz@gnu.org>
11083
11084 * descr-text.el (describe-char): Fix display of strong
11085 right-to-left characters and directional embeddings and overrides.
11086
11087 * simple.el (what-cursor-position): Fix display of codepoints of
11088 strong right-to-left characters.
11089
315bc30d
CY
110902011-12-05 Chong Yidong <cyd@gnu.org>
11091
11092 * faces.el (read-color): Doc fix.
11093
58a70b94
GM
110942011-12-05 Glenn Morris <rgm@gnu.org>
11095
11096 * align.el (align--set-marker): Add doc-string.
11097 Don't try to move something that is not a marker. (Bug#10216)
11098
5158face
GM
110992011-12-04 Glenn Morris <rgm@gnu.org>
11100
11101 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11102 overly zealous deletion of trailing whitespace.
11103
520fca41
JB
111042011-12-04 Juanma Barranquero <lekktu@gmail.com>
11105
11106 * server.el (server-delete-client): On Windows, do not try to delete
11107 the only terminal.
11108 (server-process-filter): On Windows, treat requests for a tty frame as
11109 if they were for a GUI frame if the running server is in GUI mode.
11110
5e605a2e
GM
111112011-12-03 Glenn Morris <rgm@gnu.org>
11112
11113 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11114
5c3fe83f
SM
111152011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11116
6f5e57e7
SM
11117 * electric.el: Streamline electric-indent's hook.
11118 (electric-indent-chars): Revert to simple list.
11119 (electric-indent-functions): New var.
11120 (electric-indent-post-self-insert-function): Use it.
11121
5c3fe83f
SM
11122 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11123 there's no inferior buffer (bug#10196).
11124 (prolog-consult-compile): Don't use toggle-read-only.
11125
6bdac736
MA
111262011-12-02 Michael Albinus <michael.albinus@gmx.de>
11127
11128 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11129 interrupt. (Bug#10187)
11130
6131ba7f
SM
111312011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11132
99c79fee
SM
11133 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11134 (bug#9160).
11135
6131ba7f
SM
11136 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11137 (bug#10191).
11138
cb0a02ea
JL
111392011-12-02 Juri Linkov <juri@jurta.org>
11140
11141 * info.el (Info-search): Display "end of manual" when Isearch
11142 reaches the end of single-file Info manual. (Bug#9918)
11143
66e0570c
EZ
111442011-12-02 Eli Zaretskii <eliz@gnu.org>
11145
11146 * isearch.el (isearch-message-prefix): Run the input method part
11147 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11148
02b16839
JL
111492011-12-02 Juri Linkov <juri@jurta.org>
11150
11151 * isearch.el (isearch-occur): Use `word-search-regexp' for
11152 `isearch-word'.
11153 (isearch-search-and-update): Add condition for `isearch-word' and
11154 call `word-search-regexp'. (Bug#10145)
11155
0b950688
GM
111562011-12-01 Glenn Morris <rgm@gnu.org>
11157
11158 * eshell/em-hist.el (eshell-hist-initialize):
11159 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 11160 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 11161
9505c3c7
SM
111622011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11163
11164 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11165
1bbe96b2 111662011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 11167
a1beca85
SM
11168 * progmodes/verilog-mode.el (verilog-pretty-expr):
11169 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
11170 verilog, such as += *= and the like.
11171 (verilog-assignment-operator-re): Regular expression to find the
11172 assigment operator in a verilog assignment.
11173 (verilog-assignment-operation-re): Regular expression to find an
11174 assignment statement for pretty-expr.
11175 (verilog-in-attribute-p): Query returns true if point is in an
11176 attribute context; used to skip these for expression line up from
11177 pretty-expr.
11178 (verilog-in-parameter-p): Query returns true if point is in an
11179 parameter definition context; used to skip these for expression
11180 line up from pretty-expr.
11181 (verilog-in-parenthesis-p): Query returns true if point is in a
11182 parenthetical expression, specifically ( ) but not [ ] or { };
11183 used by pretty-expr.
11184 (verilog-just-one-space): If there is no space, don't add one.
11185 (verilog-get-lineup-indent-2): Specifically skip just attribute
11186 contexts for expression lineup, rather than skipping all
11187 parenthetical expressions.
11188 (verilog-calculate-indent): Fix comment, and fix indent.
11189 (verilog-do-indent): Indent declarations in lists (suggested by
11190 Joachim Lechner).
11191 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11192 skeleton items.
11193 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11194 by Alain Mellan).
11195
1bbe96b2 111962011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
11197
11198 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11199 parameters with embedded comments. Reported by Ray Stevens.
11200 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11201 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11202 Reported by Tim Holt.
11203 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11204 instantiated by upper module causing wrong expansion until AUTOed a
11205 second time. Reported by K C Buckenmaier.
11206 (verilog-diff-auto): Fix showing .* as a difference when
11207 `verilog-auto-star-save' off. Reported by Dan Dever.
11208 (verilog-auto-reset, verilog-read-always-signals)
11209 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11210 temporary signals in reset list if
11211 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
11212 style to each signal's assignment type, bug381.
11213 Reported by Thomas Esposito.
6288f0ca
WS
11214 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11215 (verilog-uvm-statement-re): Support UVM indentation and
11216 highlighting, with old OVM keywords only.
a1beca85 11217 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
11218 Support AUTOTIEOFF creating non-wire data types.
11219 Suggested by Jonathan Greenlaw.
6288f0ca
WS
11220 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11221 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11222 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
11223 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11224 Fix mismatching parenthesis inside commented out code when deleting
382c953b 11225 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
11226 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11227 non-numeric vector width. Reported by Alex Reed.
11228 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 11229 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
11230 (verilog-auto-delete-trailing-whitespace):
11231 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
11232 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11233 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11234 Fix verilog-scan-cache corruption when running user AUTO expansion
11235 hooks that call indentation routines.
11236 (verilog-simplify-range-expression): Fix typo ignoring lower case
11237 identifiers.
11238 (verilog-delete-auto): Fix delete-autos to also remove user created
11239 automatics, as long as they start with AUTO.
11240 (verilog-batch-diff-auto, verilog-diff-auto)
11241 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11242 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11243 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11244 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
11245 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11246 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
11247 is disabled and its cache will get corrupt, causing AUTOS not to
11248 expand. Instead use only -quick functions.
11249 (verilog-scan-region): Fix scanning over escaped quotes.
11250 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11251 (verilog-re-search-backward-quick)
11252 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11253 related functions now ignore strings, to fix misparsing of strings
11254 with magic comments embedded in them.
a1beca85
SM
11255 (verilog-read-auto-template):
11256 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11257 Reported by Brad Dobbie.
11258 (verilog-read-auto-template):
11259 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 11260 Reported by Brad Dobbie.
6288f0ca
WS
11261 (verilog-auto-inst, verilog-auto-inst-param)
11262 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11263 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11264 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
11265 debugging templates without merge conflicts, bug357.
11266 Reported by Brad Dobbie.
11267 (verilog-read-auto-template):
11268 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
11269 Reported by Brad Dobbie.
11270 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11271 abbrevs so user won't be asked to save.
11272 (verilog-read-auto-lisp-present): Fix to start at beginning of
11273 buffer in case called outside of verilog-auto.
11274 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11275 to "X-2". Reported by Matthew Myers.
11276 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11277 all inputs from module templates. Reported by Leith Johnson.
11278 (verilog-module-inside-filename-p): Fix locating programs as with
11279 modules.
11280 (verilog-auto-inst-port): Fix vl-width expressions when using
11281 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11282 (verilog-decls-get-regs, verilog-decls-get-signals,
11283 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11284 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11285 verilog-read-decls): Combine reg and wire structures into one var
11286 structure to represent SystemVerilog concepts.
11287 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11288 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
11289 (verilog-auto-wire-type, verilog-insert-definition):
11290 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
11291 SystemVerilog "logic" keyword instead of "wire"/"reg".
11292 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11293 to declares outputs that also have assignments (presumably in an
a1beca85
SM
11294 ifdef or generate if so there's not a driver conflict).
11295 Reported by Matthew Myers.
11296 (verilog-auto-declare-nettype, verilog-insert-definition):
11297 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
11298 `default_nettype none. Reported by Julian Gorfajn.
11299 (verilog-read-always-signals-recurse, verilog-read-decls)
11300 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11301 malformed end statement, bug325. Reported by Joshua Wise and
11302 Andrew Drake.
11303 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11304 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
11305 when expanding .* in interfaces, bug320.
11306 Reported by Pierre-David Pfister.
6288f0ca 11307 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
11308 name and open parenthesis, bug317.
11309 Reported by Pierre-David Pfister.
6288f0ca
WS
11310 (verilog-simplify-range-expression): Fix simplification of
11311 multiplications inside AUTOWIRE connections, bug303.
11312 (verilog-auto-inst-port): Support parameter expansion in
11313 multidimensional arrays.
11314 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11315 after "assert property". Reported by Julian Gorfajn.
11316 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11317 with multiplication, bug303.
11318 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11319 Reported by Jan Frode Lonnum.
11320
1bbe96b2
GM
113212011-11-30 Juanma Barranquero <lekktu@gmail.com>
11322
11323 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11324 (hfy-shell-file-name, hfy-shell):
11325 * international/fontset.el (x-decompose-font-name): Fix typos.
11326
113272011-11-29 Ken Brown <kbrown@cornell.edu>
11328
11329 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11330 (gdb-version): Remove defvar.
11331 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11332 (gdb-gud-context-command, gdb-non-stop-handler)
11333 (gdb-current-context-command, gdb-stopped): Use it.
11334 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
11335 (gdb-non-stop-handler): Don't enable pretty-printing here.
11336 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
11337 non-stop mode. Use the following.
11338 (gdb-check-target-async): New defun.
11339 (gud-watch, gdb-stopped): Fix whitespace.
11340 (gdb-get-source-file): Don't try to display the source file if
11341 `gdb-main-file' is nil.
11342
113432011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11344
11345 * align.el: Try to generate fewer markers (bug#10047).
11346 (align--set-marker): New macro.
11347 (align-region): Use it.
11348
c935221f
SM
113492011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11350
11351 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11352
e70b5064
CY
113532011-11-29 Chong Yidong <cyd@gnu.org>
11354
11355 * indent.el (indent-for-tab-command, indent-according-to-mode):
11356 Doc fix.
11357 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11358
f3af92b7
MA
113592011-11-29 Michael Albinus <michael.albinus@gmx.de>
11360
11361 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11362 aware of remote file names. (Bug#10124)
11363
ed472be9
CY
113642011-11-29 Chong Yidong <cyd@gnu.org>
11365
11366 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11367
24510c22
SM
113682011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11369
11370 * files.el (find-file): Don't use force-same-window (bug#10144).
11371 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11372 use pop-to-buffer if the selected window can't be used.
11373 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11374
c60c3703
EZ
113752011-11-28 Eli Zaretskii <eliz@gnu.org>
11376
11377 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11378 special-mode-map.
11379
e95def75
CY
113802011-11-28 Chong Yidong <cyd@gnu.org>
11381
11382 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11383
c3f1c606
NR
113842011-11-27 Nick Roberts <nickrob@snap.net.nz>
11385
11386 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11387 gdb-get-source-file-list on gdb-create-source-file-list.
11388
00db469c
EZ
113892011-11-26 Eli Zaretskii <eliz@gnu.org>
11390
11391 * whitespace.el (whitespace-newline): Use a different foreground
11392 color for 16-color light-background displays.
11393
4ad3bc2a
CY
113942011-11-24 Chong Yidong <cyd@gnu.org>
11395
11396 * window.el (display-buffer--special-action): Doc fix.
11397
e9fce1ac
JB
113982011-11-25 Juanma Barranquero <lekktu@gmail.com>
11399
11400 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11401 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11402 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11403 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11404 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11405 (avl-tree-stack-first):
11406 * emacs-lisp/cconv.el (cconv--analyse-use):
11407 * net/gnutls.el (gnutls-negotiate): Fix typos.
11408
cb825e5d
GM
114092011-11-24 Glenn Morris <rgm@gnu.org>
11410
3adbe224
GM
11411 * lpr.el (lpr-windows-system, lpr-lp-system):
11412 * mail/binhex.el (binhex-begin-line):
11413 * progmodes/grep.el (grep-history, grep-find-history):
11414 * textmodes/flyspell.el:
11415 * vc/pcvs-defs.el (cvs-global-menu):
11416 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11417 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11418 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11419
321decc8
GM
11420 * net/tls.el: Fix case of "GnuTLS".
11421
420b63ad
GM
11422 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11423
cb825e5d
GM
11424 * version.el (emacs-build-system): Give it a doc-string.
11425
a0649f08
JL
114262011-11-24 Juri Linkov <juri@jurta.org>
11427
11428 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11429
c0bc0fd4
GM
114302011-11-24 Glenn Morris <rgm@gnu.org>
11431
11432 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11433 if called on a non-mime message just toggle the headers. (Bug#8006)
11434
20db1522
JB
114352011-11-24 Juanma Barranquero <lekktu@gmail.com>
11436
11437 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11438 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11439 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11440 (allout-rebullet-heading, allout-open-sibtopic)
11441 (allout-toggle-current-subtree-encryption)
11442 (allout-toggle-subtree-encryption, allout-encrypt-string)
11443 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11444 (allout-distinctive-bullets-string, allout-auto-activation):
11445 * window.el (window-normalize-buffer-to-display):
11446 * progmodes/verilog-mode.el (verilog-batch-indent):
11447 * textmodes/bibtex.el (bibtex-field-braces-opt)
11448 (bibtex-field-strings-opt):
11449 * vc/cvs-status.el (cvs-tree-merge):
11450 Fix typos.
11451
7262a87c
MA
114522011-11-23 Michael Albinus <michael.albinus@gmx.de>
11453
11454 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11455 `non-essential' to t, in order to avoid remote connections.
11456
283430a1
EZ
114572011-11-23 Eli Zaretskii <eliz@gnu.org>
11458
a1beca85
SM
11459 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11460 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
11461 case-insensitively.
11462
d2992a38
ML
114632011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11464
11465 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11466
50419064
GM
114672011-11-23 Glenn Morris <rgm@gnu.org>
11468
da94eca1
GM
11469 * paths.el (rmail-file-name): Reformat the doc-string so that it
11470 is picked up.
11471
9aac4de2
GM
11472 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11473 (rmail-auto-file): Ignore case in the "special" field names,
11474 as mail-fetch-field does for all others.
11475
8038d2d2
GM
11476 * mail/rmail.el (rmail-forward):
11477 * mail/rmailkwd.el (rmail-set-label):
11478 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11479 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11480
f3fe222a
GM
11481 * mail/rmail.el (rmail-current-message): Doc fix.
11482
50419064
GM
11483 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11484
28109f49
SM
114852011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11486
11487 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11488
394c65f1
GM
114892011-11-22 Glenn Morris <rgm@gnu.org>
11490
11491 * mail/rmailmm.el (test-rmail-mime-handler)
11492 (test-rmail-mime-bulk-handler)
11493 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11494
f2a0aa3a
JL
114952011-11-21 Juri Linkov <juri@jurta.org>
11496
1154d12e
JB
11497 * calc/calc.el (calc-read-key-sequence):
11498 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 11499
9c34a344
LMI
115002011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11501
11502 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11503 Tell the caller that the next line needs recomputation, even
11504 though it doesn't start a sexp (bug#10094).
11505
f04a3be9
SM
115062011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11507
11508 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11509
7978747f
SM
115102011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11511
f04a3be9
SM
11512 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11513 Use force-same-window.
7978747f 11514
fe7a3057
JB
115152011-11-20 Juanma Barranquero <lekktu@gmail.com>
11516
11517 * descr-text.el (describe-char-unicode-data):
11518 * json.el (json-string-escape):
11519 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11520 (Footnote-unicode, Footnote-style-p):
11521 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11522
24901d61
CY
115232011-11-20 Chong Yidong <cyd@gnu.org>
11524
11525 * window.el (replace-buffer-in-windows): Restore interactive spec.
11526
bac7ff22
SM
115272011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11528
24f3d7b9
SM
11529 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11530
bac7ff22
SM
11531 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11532 (byte-compile-global-not-obsolete-vars): New var.
11533 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11534 Use it.
11535 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11536
cd1181db
JB
115372011-11-20 Juanma Barranquero <lekktu@gmail.com>
11538
11539 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11540 * progmodes/pascal.el (electric-pascal-equal):
11541 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11542 * xml.el (xml-substitute-special): Fix typos.
11543
7fb18e9e
GM
115442011-11-20 Glenn Morris <rgm@gnu.org>
11545
11546 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11547 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11548 Doc fixes.
11549 (rmail-decode-mime-charset): Mark as obsolete.
11550
11551 * mail/rmailsum.el (rmail-message-regexp-p-1):
11552 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11553 Before using mime functions, check they are set. (Bug#10077)
11554
d5a6b3ba
JL
115552011-11-19 Juri Linkov <juri@jurta.org>
11556
11557 * info.el (Info-finder-find-node): Use `package--builtins' instead
11558 of `package-alist'. Use node names formed by the pattern "Keyword "
11559 and the keyword name.
11560
e981b61f
AS
115612011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11562
1d00653d 11563 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 11564
3ffbc301
JL
115652011-11-19 Juri Linkov <juri@jurta.org>
11566
11567 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11568 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11569 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11570 `old-history', `old-history-forward'. Add let-binding
11571 `window-selected'. Remove calls to `kill-buffer',
11572 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11573 before calling `Info-find-node', so `Info-find-node-2' will reread
11574 the Info file. Restore window positions only when `window-selected'
11575 is non-nil.
11576
30c62133
JL
115772011-11-19 Juri Linkov <juri@jurta.org>
11578
11579 * isearch.el (isearch-lazy-highlight-new-loop):
11580 Remove condition `(not isearch-error)'. (Bug#9918)
11581
11582 * misearch.el (multi-isearch-search-fun): Add condition
11583 `(not bound)' to ignore lazy-highlighting search.
11584 Add the search-failed message "end of multi" when the end of
11585 multi-sequence is reached. Uncapitalize the search-failed
11586 message "Repeat for next buffer".
11587
11588 * info.el (Info-search): Add the search-failed message
11589 "end of the manual" when the end of the manual is reached
11590 in Isearch mode.
11591
645ca9cf
JL
115922011-11-19 Juri Linkov <juri@jurta.org>
11593
11594 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11595 Use non-destructive `remove' instead of `delete' because
11596 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11597 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11598
df754f66
JL
115992011-11-19 Juri Linkov <juri@jurta.org>
11600
11601 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11602 to nil instead of binding `search-ring' and `regexp-search-ring'.
11603 (Bug#9185)
11604
0e23d96a
EZ
116052011-11-19 Eli Zaretskii <eliz@gnu.org>
11606
11607 * simple.el (line-move): Force movement by logical lines for any
11608 hscrolled window, not only when auto-hscroll-mode is on.
11609 (line-move-visual): Update doc string to that effect. (Bug#10076)
11610
8a6ccb66
AS
116112011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11612
11613 * language/european.el (macintosh): Define as alias for mac-roman.
11614
49ae5b39
EZ
116152011-11-19 Eli Zaretskii <eliz@gnu.org>
11616
11617 * mail/rmailmm.el (rmail-mime-display-header)
11618 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11619 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11620 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11621 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11622 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11623 of a raw aref.
11624 (rmail-mime-entity-segment): To get past the tagline, move forward
11625 2 more lines, to account for the 2 empty lines that precede and
11626 follow the line with the buttons.
11627 (rmail-mime-update-tagline): Move one more line, to get past the
11628 empty line that follows the buttons in the tagline. (Bug#9520)
11629
c56cad4a
MR
116302011-11-19 Martin Rudalics <rudalics@gmx.at>
11631
11632 * window.el (window-max-delta-1, window-min-delta-1)
11633 (window-min-size-1, window-state-get-1, window-state-put-1)
11634 (window-state-put-2): Use "window--" prefix.
11635
cbe71af3
SM
116362011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11637
2ad52c60
SM
11638 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11639 (smie-warning-count): New var.
11640 (smie-set-prec2tab): Use it.
11641 (smie-bnf->prec2): Improve warnings. Add docstring.
11642 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11643 (smie-bnf--set-class): New function.
11644 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11645 corner case.
11646
6944dbc1
SM
11647 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11648 (compilation-error-properties, compilation-move-to-column):
11649 Handle compilation-first-column while in the target buffer.
11650
c400c4d7
SM
11651 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11652 Don't hardcode point-min==1.
11653
6dbe3e96
SM
11654 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11655 (eshell-rewrite-for-command): Remove workaround.
11656 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11657 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11658 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11659
cbe71af3
SM
11660 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11661
a8e1496d
GM
116622011-11-17 Glenn Morris <rgm@gnu.org>
11663
11664 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11665 Ignore buffer-local generated-autoload-file if it is the same
11666 as the global value. (Bug#10049)
11667
df85d315
JB
116682011-11-17 Juanma Barranquero <lekktu@gmail.com>
11669
11670 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11671 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11672 (reftex-toc-previous-heading, reftex-toc-max-level)
11673 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11674 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11675 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11676 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11677 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11678 (reftex-toc-rename-label, reftex-toc-visit-location)
11679 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11680 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11681 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11682 leaving "*toc*" only for references to the buffer.
11683
a0c2d0ae
MR
116842011-11-17 Martin Rudalics <rudalics@gmx.at>
11685
11686 * window.el (window-resize, delete-window, split-window):
11687 Replace window-splits by window-combination-resize.
1d00653d 11688 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 11689
35c0bac8
GM
116902011-11-17 Glenn Morris <rgm@gnu.org>
11691
11692 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11693 Make bash entry derive from sh entry, not shell entry.
11694
d0c8fc8a
MA
116952011-11-16 Michael Albinus <michael.albinus@gmx.de>
11696
7262a87c
MA
11697 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11698 local file name.
11699
7877f373
JB
117002011-11-16 Juanma Barranquero <lekktu@gmail.com>
11701
11702 * menu-bar.el (menu-bar-file-menu):
11703 * printing.el (pr-ps-utility):
11704 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11705 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11706 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11707 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11708 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11709 (icalendar--convert-cyclic-to-ical)
11710 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11711 (icalendar--convert-ical-to-diary)
11712 (icalendar--convert-recurring-to-diary)
11713 (icalendar--convert-non-recurring-all-day-to-diary)
11714 (icalendar-import-format-sample):
11715 * progmodes/idlw-shell.el (idlwave-shell-mode):
11716 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11717 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11718 (vhdl-ps-print-init): Fix typos.
11719
10649b82
KM
117202011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11721
9d0cfcd6
GM
11722 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11723 FSF and collapse date sequence, obscure author/maintainer email address
11724 better, remove extra version line, track relocation of author's webpage.
10649b82 11725
9d0cfcd6
GM
11726 * progmodes/python.el (python-pdbtrack-input-prompt)
11727 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11728 regular python pdb prompts. Adjustments shamelessly taken exactly as
11729 suggested in EmacsWiki page (tiny change):
11730 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 11731
58179cce
JB
117322011-11-16 Juanma Barranquero <lekktu@gmail.com>
11733
11734 * expand.el (expand-pos, expand-index, expand-point):
11735 Remove redundant info from docstring.
11736 (expand-add-abbrevs): Doc fix.
11737 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11738 (expand-sample-perl-mode-expand-list): Fix typos.
11739
11740 * net/dbus.el (dbus-event-member-name):
11741 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11742 * term/pc-win.el (msdos-create-frame-with-faces):
11743 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11744
b6f67890
MR
117452011-11-16 Martin Rudalics <rudalics@gmx.at>
11746
11747 * window.el (split-window, window-state-get-1)
11748 (window-state-put-1, window-state-put-2): Rename occurrences of
11749 window-nest to window-combination-limit.
1d00653d 11750 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 11751
ce7ddba0
CY
117522011-11-16 Chong Yidong <cyd@gnu.org>
11753
11754 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11755 regexp (Bug#10033).
11756
3ae704f4
SM
117572011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11758
11759 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11760 `completing-read' will remove *Completions* and will preserve
11761 current-buffer for us.
11762 (tmm-add-prompt): Users of *Completions* will always (re)set its
11763 major mode.
11764 (tmm-old-comp-map): Remove.
11765
6ad1cdde
GM
117662011-11-16 Glenn Morris <rgm@gnu.org>
11767
11768 * mail/rmailedit.el: Require rmailmm when compiling.
11769 (rmail-old-mime-state): New declaration.
11770 (rmail-edit-current-message): If editing a mime message,
11771 edit the "raw" message from the mbox buffer.
11772 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11773
d20faa20
GM
117742011-11-15 Glenn Morris <rgm@gnu.org>
11775
11776 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11777 which wasn't being used. Add optional arg to force given state.
11778 (rmail-mime): Add optional arg to force given state.
11779
c7015153
JB
117802011-11-15 Juanma Barranquero <lekktu@gmail.com>
11781
11782 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11783 * frame.el (display-mm-dimensions-alist):
11784 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11785 (outline-move-subtree-down):
11786 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11787 (newsticker--treeview-do-get-node):
11788 * net/quickurl.el (quickurl-list-buffer-name):
11789 * progmodes/dcl-mode.el (dcl-mode):
11790 * progmodes/gdb-mi.el (gdb-mapcar*):
11791 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11792
45261b50
GM
117932011-11-15 Glenn Morris <rgm@gnu.org>
11794
11795 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11796 in a boolean sense, so just make it a boolean, and fix the doc.
11797 (rmail-show-mime-function, rmail-mime-feature)
11798 (rmail-require-mime-maybe): Doc fixes.
11799 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11800
11801 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11802
0d26e0b6
JB
118032011-11-15 Juanma Barranquero <lekktu@gmail.com>
11804
11805 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11806 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11807 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11808 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11809
447f30f6
GM
118102011-11-15 Glenn Morris <rgm@gnu.org>
11811
672b871d
GM
11812 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11813 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11814 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11815 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11816 (rmail-mime, rmail-show-mime): Doc fixes.
11817
f6aa5bb1
GM
11818 * term/ns-win.el (mode-line-frame-identification):
11819 Leave it alone. (Bug#10051)
11820
947cd66b
GM
11821 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11822
447f30f6
GM
11823 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11824 Handle empty buffers. (Bug#9978)
11825
0b381c7e
JB
118262011-11-14 Juanma Barranquero <lekktu@gmail.com>
11827
11828 * international/mule.el (define-charset):
11829 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11830 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11831 * progmodes/verilog-mode.el (verilog-backward-token):
11832 * textmodes/ispell.el (lookup-words):
11833 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11834
71e027ac
GM
118352011-11-14 Glenn Morris <rgm@gnu.org>
11836
56632ce4
GM
11837 * progmodes/executable.el
11838 (executable-make-buffer-file-executable-if-script-p):
11839 Handle file-modes returning nil.
11840
40500957
GM
11841 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11842 message - not necessary, and causes problems. (Bug#9831)
11843
071c2340
GM
11844 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11845
d3cfca60
GM
11846 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11847
71e027ac
GM
11848 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11849 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11850 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11851
89d61221
MR
118522011-11-12 Martin Rudalics <rudalics@gmx.at>
11853
11854 * window.el (window-resize, delete-window): Use window-splits
11855 variable instead of function.
11856 (window-state-get-1, window-state-put-2, window-state-put):
11857 Don't deal with windows' splits status.
11858
98282f6f
GM
118592011-11-12 Glenn Morris <rgm@gnu.org>
11860
11861 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11862 (apropos-documentation): Doc fixes.
11863
40a8bdf6
JB
118642011-11-11 Juanma Barranquero <lekktu@gmail.com>
11865
11866 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11867 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11868
65bd19ff
SM
118692011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11870
11871 * electric.el (electric-indent-post-self-insert-function): Make it
11872 possible for a char to only indent in some circumstances.
11873 (electric-indent-mode): Simplify.
11874
54f9154c
MR
118752011-11-11 Martin Rudalics <rudalics@gmx.at>
11876
11877 * window.el (windows-with-parameter): Remove unused function.
11878 (windows-at-side): Rename to window-at-side-list.
11879 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
11880 (window-side-check, window-size-ignore, window-size-fixed-1)
11881 (window-in-direction-2): Prefix with "window--".
11882 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 11883
68cbc58b
GM
118842011-11-11 Glenn Morris <rgm@gnu.org>
11885
11886 * subr.el (eval-after-load): If FILE is already loaded,
11887 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11888
b2621720
GM
118892011-11-10 Glenn Morris <rgm@gnu.org>
11890
9a4de110
GM
11891 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11892 Call svn via vc-svn-command rather than vc-do-command.
11893 (vc-svn-command): Add --non-interactive. (Bug#9993)
11894 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11895
b2621720
GM
11896 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11897 Add toggle-read-only. (Bug#7292)
11898 * files.el (toggle-read-only): Mention that it should only
11899 be used interactively. (Bug#10006)
11900
1dce7193
SM
119012011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
11902
d9ac1a1e
SM
11903 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11904 Adjust regexp for OCaml warnings.
11905
0c325082
SM
11906 * electric.el (electric-pair-post-self-insert-function): Let user
11907 turn it off buffer-locally (bug#9932).
11908
90132c14
SM
11909 * progmodes/python.el (python-beginning-of-statement):
11910 Rewrite (bug#2703).
11911
1dce7193
SM
11912 * progmodes/compile.el: Better handle TABs (bug#9749).
11913 (compilation-internal-error-properties)
11914 (compilation-next-error-function): Obey the target buffer's
11915 compilation-error-screen-columns.
11916
c4e7c63a
JB
119172011-11-09 Juanma Barranquero <lekktu@gmail.com>
11918
11919 * progmodes/meta-mode.el: Remove obsolete comments.
11920 (meta-right-comment-regexp, meta-ignore-comment-regexp):
11921 Fix typos in docstrings.
11922
2cffd681
MR
119232011-11-09 Martin Rudalics <rudalics@gmx.at>
11924
11925 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 11926 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
11927 (window--resizable): New function. Make all callers of
11928 window-resizable call window--resizable instead.
11929 (window-resizable): Rewrite in terms of window--resizable.
11930
0edcba87
GM
119312011-11-08 Glenn Morris <rgm@gnu.org>
11932
11933 * progmodes/delphi.el (delphi-mode-syntax-table):
11934 Let define-derived-mode define a proper syntax table. (Bug#9994)
11935
4b0d61e3
SM
119362011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11937
11938 * window.el: Stay away from defsubst.
11939 (window-list-no-nils): Remove.
11940 (window-state-get-1, window-state-get): Use backquote instead.
11941
cd394be1 119422011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 11943
4b0d61e3 11944 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 11945 Fix incorrect use of default argument in `completing-read'.
11946
e1c2c6f2
MR
119472011-11-08 Martin Rudalics <rudalics@gmx.at>
11948
11949 * window.el (display-buffer-function, special-display-function):
11950 Mention display-buffer-record-window but do not mention
11951 help-setup parameter in doc-strings.
b3f4a882 11952 (window-min-delta): Fix doc-string typo.
e1c2c6f2 11953
105216ed
CY
119542011-11-08 Chong Yidong <cyd@gnu.org>
11955
11956 * window.el (window-total-height, window-total-width): Doc fix.
11957 (window-body-size): Move from C.
11958 (window-body-height, window-body-width): Move to C.
11959
0a9f9ab5
SM
119602011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11961
11962 * window.el: Make special-display like display-buffer-alist (bug#9532).
11963 (display-buffer--special-action): New function, morphed
11964 from display-buffer--special.
11965 (display-buffer): Use it to handle special-display-buffers at higher
11966 priority (just after display-buffer-alist).
11967 (display-buffer-fallback-action, display-buffer--other-frame-action)
11968 (pop-to-buffer-same-window): Remove display-buffer--special.
11969
a769dd15
GM
119702011-11-07 Glenn Morris <rgm@gnu.org>
11971
11972 * calendar/cal-menu.el (cal-menu-set-date-title):
11973 Do nothing if not in a calendar. (Bug#9976)
11974
05a61ee3
SM
119752011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11976
11977 * files.el (find-file): Always use selected-window.
11978
be7f5545
MR
119792011-11-07 Martin Rudalics <rudalics@gmx.at>
11980
11981 * window.el (window-combinations): Make WINDOW argument
11982 mandatory. Rewrite doc-string.
11983 (walk-window-subtree, window-atom-check, window-min-delta)
11984 (window-max-delta, window--resize-this-window)
11985 (window--resize-root-window-vertically, window-tree)
11986 (balance-windows, window-state-put): Rewrite doc-strings as to
11987 not mention the term "subwindow".
11988 (window--resize-subwindows-skip-p): Rename to
11989 window--resize-child-windows-skip-p.
11990 (window--resize-subwindows-normal): Rename to
11991 window--resize-child-windows-normal.
11992 (window--resize-subwindows): Rename to
11993 window--resize-child-windows.
11994 (window-or-subwindow-p): Rename to window--in-subtree-p.
11995
3c6702ef
ML
119962011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11997
11998 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11999 Ensure that mbox format messages end in two newlines (Bug#9974).
12000
49745b39
CY
120012011-11-06 Chong Yidong <cyd@gnu.org>
12002
12003 * window.el (window-combination-p): Function deleted; its
12004 side-effect is not used in any existing code.
12005 (window-combinations, window-combined-p): Call window-*-child
12006 directly.
12007
24300f5f
CY
120082011-11-05 Chong Yidong <cyd@gnu.org>
12009
12010 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
12011 (window-size-ignore, window-state-get): Callers changed.
12012 (window-normalize-window): Rename from window-normalize-any-window.
12013 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 12014 (window-normalize-live-window): Delete.
447f16b8
CY
12015 (window-combination-p, window-combined-p, window-combinations)
12016 (walk-window-subtree, window-atom-root, window-min-size)
12017 (window-sizable, window-sizable-p, window-size-fixed-p)
12018 (window-min-delta, window-max-delta, window-resizable)
12019 (window-resizable-p, window-full-height-p, window-full-width-p)
12020 (window-current-scroll-bars, window-point-1, set-window-point-1)
12021 (window-at-side-p, window-in-direction, window-resize)
12022 (adjust-window-trailing-edge, maximize-window, minimize-window)
12023 (window-deletable-p, delete-window, delete-other-windows)
12024 (record-window-buffer, unrecord-window-buffer)
12025 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12026 (quit-window, split-window, window-state-put)
12027 (set-window-text-height, fit-window-to-buffer)
12028 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 12029
89bd5ee1
EZ
120302011-11-04 Eli Zaretskii <eliz@gnu.org>
12031
53479029
EZ
12032 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12033 rfc2047-decode-string.
12034 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12035 warnings.
12036
89bd5ee1
EZ
12037 * window.el (window-body-height, window-body-width): Mention in
12038 the doc string that the return values are in frame's canonical
12039 units. (Bug#9949)
12040
bd17fdee
AM
120412011-11-03 Alan Mackenzie <acm@muc.de>
12042
12043 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12044 change in cc-engine.el.
12045
acc825c5
SM
120462011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12047
12048 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12049
1885e5b8
MR
120502011-11-02 Martin Rudalics <rudalics@gmx.at>
12051
12052 * window.el (quit-window): Call unrecord-window-buffer after
12053 showing another buffer in the window. (Bug#9937)
acc825c5 12054 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 12055
ebe06da9
JB
120562011-11-02 Juanma Barranquero <lekktu@gmail.com>
12057
12058 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12059 Accept status with more than 9 shelves. (Bug#9935)
12060 Reported by Colin D Bennett <colin@gibibit.com>.
12061
4ee88440
MR
120622011-11-01 Martin Rudalics <rudalics@gmx.at>
12063
12064 * help.el (with-help-window): Don't reference
12065 temp-buffer-show-specifiers in doc-string.
12066
08e1d82c
AS
120672011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12068
12069 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12070 menu-item.
12071
84bd6e9e
VJL
120722011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12073
12074 * whitespace.el: New version 13.2.2.
12075 (whitespace-newline-mode): Disable properly. Reported by Sarah
12076 <EmacsWiki>.
12077
dba0634a
UJ
120782011-10-30 Ulf Jasper <ulf.jasper@web.de>
12079
12080 * net/newst-treeview.el: Remove "Time-stamp".
12081 (newsticker--group-manage-orphan-feeds): Do not call
12082 newsticker--treeview-tree-update.
db22a3c2
JB
12083 (newsticker-treeview-update, newsticker-treeview):
12084 Call newsticker--treeview-tree-update if necessary.
dba0634a 12085
3d8daefe
MR
120862011-10-30 Martin Rudalics <rudalics@gmx.at>
12087
12088 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
12089 (window-iso-combinations): Remove "iso-" infix.
12090 Suggested by Chong Yidong.
3d8daefe
MR
12091 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12092 (window-max-delta-1, window-resize, window--resize-siblings)
12093 (window--resize-this-window, adjust-window-trailing-edge)
12094 (split-window, balance-windows-1)
12095 (shrink-window-if-larger-than-buffer):
12096 * calendar/calendar.el (calendar-generate-window):
db22a3c2 12097 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 12098
1bc4c3ae
SM
120992011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12100
12101 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12102 in place (bug#9907).
12103 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12104 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12105 (eshell-structure-basic-command, eshell-rewrite-while-command)
12106 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12107 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12108 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12109 (eshell-do-pipelines-synchronously, eshell-eval-command):
12110 Use backquotes and prefer setq to set.
12111 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12112 (eshell-macrop): Use functionp.
c1e2f5fa 12113 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 12114
30b65d9c
CY
121152011-10-30 Chong Yidong <cyd@gnu.org>
12116
12117 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12118 instead of set-mark (Bug#9810).
12119
2d197ffb
CY
121202011-10-30 Chong Yidong <cyd@gnu.org>
12121
12122 * window.el (split-window-below, split-window-right): Rename from
12123 split-window-above-each-other and split-window-side-by-side
12124 respectively. All callers changed.
12125 (split-window-sensibly, split-window-sensibly): Use them.
12126 (split-window-keep-point): Doc fix.
12127
12128 * isearch.el: Add isearch-scroll property to split-window-below
12129 and split-window-right.
12130
12131 * follow.el (follow-mode):
12132 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12133 * progmodes/ada-xref.el (ada-gdb-application):
12134 * emulation/vip.el (vip-buffer-in-two-windows):
12135 * image-dired.el (image-dired-dired-with-window-configuration):
12136 * dired-x.el (dired-do-find-marked-files):
12137 * dired.el (dired-pop-to-buffer):
12138 * bs.el (bs--show-with-configuration):
12139 * vc/emerge.el (emerge-setup-windows):
12140 * textmodes/two-column.el (2C-two-columns):
12141 * textmodes/reftex-toc.el (reftex-toc):
12142 * progmodes/gdb-mi.el (gdb-setup-windows):
12143 * progmodes/fortran.el (fortran-window-create):
12144 * net/newst-treeview.el (newsticker--treeview-window-init):
12145 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12146 * emulation/tpu-edt.el (tpu-gold-map):
12147 * emulation/crisp.el (crisp-mode-map):
12148 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12149
38bb2ca8
CY
121502011-10-29 Chong Yidong <cyd@gnu.org>
12151
aa4de341
CY
12152 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12153
e1eb5385
CY
12154 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12155
5d2ece3c
CY
12156 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12157 forged Ispell output (Bug#7904).
12158
38bb2ca8
CY
12159 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12160
d0af9f77
SM
121612011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12162
12163 * doc-view.el: Avoid ugly errors about not finding nil.
12164 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12165 (doc-view-dvipdf-program, doc-view-unoconv-program)
12166 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12167 Avoid nil or absolute file name as default value.
12168 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12169
52bedd34
AM
121702011-10-28 Alan Mackenzie <acm@muc.de>
12171
db22a3c2 12172 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 12173
7e43cfa5
AM
121742011-10-28 Alan Mackenzie <acm@muc.de>
12175
12176 Amend the handling of c-beginning/end-of-defun in nested declaration
12177 scopes.
12178
52bedd34
AM
12179 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12180 cc-langs.el. Change it to a defcustom.
7e43cfa5 12181
52bedd34
AM
12182 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12183 cc-vars.el.
7e43cfa5 12184
d0af9f77
SM
12185 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12186 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 12187
52bedd34 12188 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 12189 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
12190 (c-widen-to-enclosing-decl-scope): New function.
12191 (c-while-widening-to-decl-block): New macro.
12192 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12193 outward for defun boundaries, and correspondingly change symbol
12194 `respect-enclosure' to `go-outward'.
12195 (c-declaration-limits): Change algorithm to report only the "innermost"
12196 defun's boundaries.
12197
1a2ce9ee
DD
121982011-10-28 Deniz Dogan <deniz@dogan.se>
12199
12200 * net/rcirc.el (rcirc-mode): Use hard newlines.
12201
bc97a826
AM
122022011-10-28 Alan Mackenzie <acm@muc.de>
12203
12204 Amend to indent and fontify macros "which include their own semicolon"
12205 correctly, using the "virtual semicolon" mechanism.
12206
52bedd34 12207 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 12208
d0af9f77 12209 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 12210 Recode to scan one line at a time rather than having \n and \r
58179cce 12211 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 12212 (c-forward-label): Amend for virtual semicolons.
58179cce 12213 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 12214
52bedd34
AM
12215 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12216 of the new C macros.
bc97a826 12217
52bedd34 12218 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
12219 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12220 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
12221 (c-opt-cpp-macro-define): Make into a full language variable.
12222 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12223 AWK Mode (including \n, \r) removed, no longer needed.
12224
d0af9f77
SM
12225 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12226 Invoke c-make-macro-with-semi-re.
bc97a826 12227
52bedd34
AM
12228 * progmodes/cc-vars.el (c-macro-with-semi-re):
12229 (c-macro-names-with-semicolon): New variables.
58179cce 12230 (c-make-macro-with-semi-re): New function.
bc97a826 12231
7a6c0941
SM
122322011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12233
12234 * vc/log-edit.el: Fill empty field rather than adding new one.
12235 (log-edit-add-field): New function.
12236 (log-edit-insert-changelog): Use it.
12237
b0c4cdcf
ML
122382011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12239
12240 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12241
ee1f1da9
SM
122422011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12243
12244 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12245 (gdb--check-interpreter): New function.
12246 (gdb): Use it.
12247
51bc5f8b
GM
122482011-10-27 Glenn Morris <rgm@gnu.org>
12249
416a2c45
GM
12250 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12251 (least-positive-float, least-negative-float)
12252 (least-positive-normalized-float, least-negative-normalized-float)
12253 (float-epsilon, float-negative-epsilon):
12254 Remove unnecessary declarations.
12255
12256 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12257 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12258 (least-positive-float, least-negative-float)
12259 (least-positive-normalized-float, least-negative-normalized-float)
12260 (float-epsilon, float-negative-epsilon): Add doc-strings,
12261 based on those in cl.texi.
12262
51bc5f8b
GM
12263 * files.el (set-visited-file-name): If the major-mode changed,
12264 reload the local variables. (Bug#9796)
12265
15de15c6
CY
122662011-10-27 Chong Yidong <cyd@gnu.org>
12267
12268 * subr.el (change-major-mode-after-body-hook): New hook.
12269 (run-mode-hooks): Run it.
12270
ee1f1da9
SM
12271 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12272 Use change-major-mode-before-body-hook.
15de15c6
CY
12273
12274 * simple.el (fundamental-mode):
12275 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12276 change introducing fundamental-mode-hook.
12277
5430d399
JB
122782011-10-26 Juanma Barranquero <lekktu@gmail.com>
12279
acc825c5 12280 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 12281
ad74a69e
MA
122822011-10-26 Michael Albinus <michael.albinus@gmx.de>
12283
12284 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 12285 tramp.el explicitly. (Bug#7583)
ad74a69e 12286
71d4c2a5
SM
122872011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12288
12289 * progmodes/octave-mod.el:
12290 * progmodes/octave-inf.el: Update maintainer.
12291
b1f6fa26
CY
122922011-10-26 Chong Yidong <cyd@gnu.org>
12293
12294 * subr.el (with-wrapper-hook): Rewrite doc.
12295
3f04efd6
MA
122962011-10-25 Michael Albinus <michael.albinus@gmx.de>
12297
12298 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 12299 filenames "/method:foo:". (Bug#9793)
3f04efd6 12300
410488d3
SM
123012011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12302
12303 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12304 (bug#9865).
12305
c1ebb47e
GM
123062011-10-24 Glenn Morris <rgm@gnu.org>
12307
12308 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12309
7f5c46c7
MA
123102011-10-24 Michael Albinus <michael.albinus@gmx.de>
12311
12312 * notifications.el: Add the requirement of a running D-Bus session
12313 bus to the Commentary.
12314
db2440b6
JL
123152011-10-24 Juri Linkov <juri@jurta.org>
12316
12317 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12318 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12319 (Bug#9364)
12320
feecf435
JL
123212011-10-24 Juri Linkov <juri@jurta.org>
12322
12323 * info.el (Info-following-node-name-re): Add newline to the list
12324 of allowed characters for leading space. (Bug#9824)
12325
a3839de2
SM
123262011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12327
acc825c5
SM
12328 * progmodes/octave-inf.el (inferior-octave-mode-map):
12329 Fix C-c C-h binding.
a3839de2
SM
12330 * progmodes/octave-mod.el (octave-help): Remove.
12331
09388e76
MA
123322011-10-23 Michael Albinus <michael.albinus@gmx.de>
12333
12334 Sync with Tramp 2.2.3.
12335
12336 * net/tramp-cache.el (top): Pacify byte-compiler using
12337 `init-file-user' and `site-run-file'.
12338
12339 * net/trampver.el: Update release number.
12340
86c60681
CY
123412011-10-23 Chong Yidong <cyd@gnu.org>
12342
12343 * files.el (toggle-read-only): Remove obsolete comment about
12344 version control.
12345
12346 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12347 for toggle-read-only. Note that this hasn't called vc-next-action
12348 since 2008-05-02, though it wasn't documented at the time.
12349
a3839de2
SM
12350 * vc/ediff-init.el (ediff-toggle-read-only-function):
12351 Use toggle-read-only.
86c60681 12352
cd5495ff
AM
123532011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12354
12355 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12356 of c-parse-state.
12357
00b77525 12358 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 12359 correct faulty logical expression.
cd5495ff
AM
12360 (c-parse-state-state, c-record-parse-state-state):
12361 (c-replay-parse-state-state): New defvar/defuns.
12362 (c-debug-parse-state): Use new functions.
12363
42ee24ed
MR
123642011-10-22 Martin Rudalics <rudalics@gmx.at>
12365
12366 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 12367 last fix. Use window-in-direction correctly.
42ee24ed 12368
a7dee7e7
CY
123692011-10-21 Chong Yidong <cyd@gnu.org>
12370
12371 * progmodes/idlwave.el (idlwave-mode):
12372 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
12373 require-final-newline; that's done in prog-mode.
12374 Suggested by Stefan Monnier.
a7dee7e7 12375
e07b9a6d
MR
123762011-10-21 Martin Rudalics <rudalics@gmx.at>
12377
12378 * mouse.el (mouse-drag-window-above)
12379 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12380 (mouse-drag-mode-line-1, mouse-drag-header-line)
12381 (mouse-drag-vertical-line-rightward-window): Remove.
12382 (mouse-drag-line): New function.
12383 (mouse-drag-mode-line, mouse-drag-header-line)
12384 (mouse-drag-vertical-line): Call mouse-drag-line.
12385 * window.el (window-at-side-p, windows-at-side): New functions.
12386
7e1361d9
UM
123872011-10-21 Ulrich Mueller <ulm@gentoo.org>
12388
12389 * tar-mode.el (tar-grind-file-mode):
12390 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12391
30fcaf3a
CY
123922011-10-21 Chong Yidong <cyd@gnu.org>
12393
12394 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
12395 * progmodes/vera-mode.el (vera-mode):
12396 Use mode-require-final-newline.
30fcaf3a 12397
516eddb0
GM
123982011-10-20 Glenn Morris <rgm@gnu.org>
12399
db22a3c2 12400 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 12401
10d5f513
CS
124022011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12403
12404 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12405
ac6c8639
CY
124062011-10-20 Chong Yidong <cyd@gnu.org>
12407
12408 * emulation/cua-base.el (cua-mode):
12409 * mail/footnote.el (footnote-mode):
12410 * mail/mailabbrev.el (mail-abbrevs-mode):
12411 * net/xesam.el (xesam-minor-mode):
12412 * progmodes/bug-reference.el (bug-reference-mode):
12413 * progmodes/cap-words.el (capitalized-words-mode):
12414 * progmodes/compile.el (compilation-minor-mode)
12415 (compilation-shell-minor-mode):
12416 * progmodes/gud.el (gud-tooltip-mode):
12417 * progmodes/hideif.el (hide-ifdef-mode):
12418 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12419 * progmodes/subword.el (subword-mode):
12420 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12421 * progmodes/which-func.el (which-function-mode):
12422 * term/tvi970.el (tvi970-set-keypad-mode):
12423 * term/vt100.el (vt100-wide-mode):
12424 * textmodes/flyspell.el (flyspell-mode):
12425 * textmodes/ispell.el (ispell-minor-mode):
12426 * textmodes/nroff-mode.el (nroff-electric-mode):
12427 * textmodes/paragraphs.el (use-hard-newlines):
12428 * textmodes/refill.el (refill-mode):
12429 * textmodes/reftex.el (reftex-mode):
12430 * textmodes/rst.el (rst-minor-mode):
12431 * textmodes/sgml-mode.el (html-autoview-mode)
12432 (sgml-electric-tag-pair-mode):
12433 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12434 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12435 * emulation/crisp.el (crisp-mode):
12436 * emacs-lisp/eldoc.el (eldoc-mode):
12437 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12438 minor mode behavior.
12439
aa42ab43
JL
124402011-10-19 Juri Linkov <juri@jurta.org>
12441
12442 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12443 the list of hard-coded chars with escape-glyph face.
12444
89400f1d
SM
124452011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12446
12447 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12448
305c07f6
MA
124492011-10-19 Michael Albinus <michael.albinus@gmx.de>
12450
12451 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12452 running process.
12453
13754b54
GM
124542011-10-19 Glenn Morris <rgm@gnu.org>
12455
12456 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12457 Ignore ignored files. (Bug#9726)
12458
06e21633
CY
124592011-10-19 Chong Yidong <cyd@gnu.org>
12460
12461 Doc fix for minor modes, stating that an omitted argument enables
12462 the mode unconditionally when called from Lisp.
12463
12464 * abbrev.el (abbrev-mode):
12465 * allout.el (allout-mode):
12466 * autoinsert.el (auto-insert-mode):
12467 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12468 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12469 (global-auto-revert-mode):
12470 * battery.el (display-battery-mode):
12471 * composite.el (global-auto-composition-mode)
12472 (auto-composition-mode):
12473 * delsel.el (delete-selection-mode):
12474 * desktop.el (desktop-save-mode):
12475 * dired-x.el (dired-omit-mode):
12476 * dirtrack.el (dirtrack-mode):
12477 * doc-view.el (doc-view-minor-mode):
12478 * double.el (double-mode):
12479 * electric.el (electric-indent-mode, electric-pair-mode):
12480 * emacs-lock.el (emacs-lock-mode):
12481 * epa-hook.el (auto-encryption-mode):
12482 * follow.el (follow-mode):
12483 * font-core.el (font-lock-mode):
12484 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12485 * help.el (temp-buffer-resize-mode):
12486 * hilit-chg.el (highlight-changes-mode)
12487 (highlight-changes-visible-mode):
12488 * hi-lock.el (hi-lock-mode):
12489 * hl-line.el (hl-line-mode, global-hl-line-mode):
12490 * icomplete.el (icomplete-mode):
12491 * ido.el (ido-everywhere):
12492 * image-file.el (auto-image-file-mode):
12493 * image-mode.el (image-minor-mode):
12494 * iswitchb.el (iswitchb-mode):
12495 * jka-cmpr-hook.el (auto-compression-mode):
12496 * linum.el (linum-mode):
12497 * longlines.el (longlines-mode):
12498 * master.el (master-mode):
12499 * mb-depth.el (minibuffer-depth-indicate-mode):
12500 * menu-bar.el (menu-bar-mode):
12501 * minibuf-eldef.el (minibuffer-electric-default-mode):
12502 * mouse-sel.el (mouse-sel-mode):
12503 * msb.el (msb-mode):
12504 * mwheel.el (mouse-wheel-mode):
12505 * outline.el (outline-minor-mode):
12506 * paren.el (show-paren-mode):
12507 * recentf.el (recentf-mode):
12508 * reveal.el (reveal-mode, global-reveal-mode):
12509 * rfn-eshadow.el (file-name-shadow-mode):
12510 * ruler-mode.el (ruler-mode):
12511 * savehist.el (savehist-mode):
12512 * scroll-all.el (scroll-all-mode):
12513 * scroll-bar.el (scroll-bar-mode):
12514 * server.el (server-mode):
12515 * shell.el (shell-dirtrack-mode):
12516 * simple.el (auto-fill-mode, transient-mark-mode)
12517 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12518 (line-number-mode, column-number-mode, size-indication-mode)
12519 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12520 * strokes.el (strokes-mode):
12521 * time.el (display-time-mode):
12522 * t-mouse.el (gpm-mouse-mode):
12523 * tool-bar.el (tool-bar-mode):
12524 * tooltip.el (tooltip-mode):
12525 * type-break.el (type-break-mode-line-message-mode)
12526 (type-break-query-mode):
12527 * view.el (view-mode):
12528 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12529 (global-whitespace-mode, global-whitespace-newline-mode):
12530 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12531
a3839de2
SM
12532 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12533 Fix autogenerated docstring.
06e21633 12534
5214e501
JL
125352011-10-19 Juri Linkov <juri@jurta.org>
12536
12537 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12538 by checking environment variables "DESKTOP_SESSION" and
12539 "XDG_CURRENT_DESKTOP". (Bug#9779)
12540
195f8db9
JL
125412011-10-19 Juri Linkov <juri@jurta.org>
12542
12543 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12544 (browse-url-chromium-program, browse-url-chromium-arguments):
12545 New defcustoms.
12546 (browse-url-default-browser): Check for `browse-url-chromium' and
12547 call `browse-url-chromium-program'.
12548 (browse-url-chromium): New command. (Bug#9779)
12549
343a34ff
JB
125502011-10-18 Juanma Barranquero <lekktu@gmail.com>
12551
12552 * facemenu.el (list-colors-duplicates): On Windows, detect more
12553 duplicates by assuming that only colors matching "^System" are
12554 special "system colors". (Bug#9722)
12555
6978a151
SM
125562011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12557
12558 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12559 to distinguish the author from the committer.
12560
6a80b297
MA
125612011-10-18 Michael Albinus <michael.albinus@gmx.de>
12562
12563 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12564
b31a5677
JK
125652011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12566
12567 * international/mule.el (sgml-html-meta-auto-coding-function):
12568 Add support for detecting encoding in HTML5 specified only as
12569 <meta charset="UTF-8">. Implementation just makes http-equiv and
12570 content-type parts from HTML4 encoding string optional. (Bug#9716)
12571
80c6d77f
GM
125722011-10-18 Glenn Morris <rgm@gnu.org>
12573
12574 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12575
08b0fee8
CY
125762011-10-18 Chong Yidong <cyd@gnu.org>
12577
12578 * faces.el (cursor): Doc fix.
12579
67e729a5
CY
125802011-10-17 Chong Yidong <cyd@gnu.org>
12581
12582 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12583
343a34ff 125842011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
12585
12586 * dirtrack.el (dirtrack): Support shell buffers with path
12587 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12588
0bc06380
TZ
125892011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12590
12591 * json.el: Bump version to 1.3 and note change in History.
12592 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12593
8b79f3e0
SM
125942011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12595
5a7c536b
SM
12596 * comint.el (comint-insert-input, comint-send-input)
12597 (comint-get-old-input-default, comint-backward-matching-input)
12598 (comint-next-prompt): Use nil instead of `input' for field property of
12599 past user input (bug#114).
12600
96a8a0df
SM
12601 * minibuffer.el (completion--replace): Inherit surrounding properties
12602 (bug#114).
12603 (minibuffer-complete-and-exit): Use it.
12604
8b79f3e0
SM
12605 * comint.el (comint--table-subvert): Quote the all-completions output
12606 (bug#9160).
12607
b8f7ff0d
MR
126082011-10-17 Martin Rudalics <rudalics@gmx.at>
12609
8b79f3e0 12610 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 12611
b8f7ff0d 12612 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 12613 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
12614 entries and separate them from frame entries.
12615
c235b555
GM
126162011-10-15 Glenn Morris <rgm@gnu.org>
12617
12618 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12619 Doc fixes.
12620
6bbfa6e1
CY
126212011-10-15 Chong Yidong <cyd@stupidchicken.com>
12622
8b79f3e0
SM
12623 * net/network-stream.el (network-stream-open-starttls):
12624 Improve detection of failure due to lack of TLS support.
ec5c990d 12625
6bbfa6e1
CY
12626 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12627 putting the input text in front and in bold.
12628
98488977
SM
126292011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12630
3d1337be
SM
12631 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12632
ee0b45e4
SM
12633 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12634 empty buffer.
12635
98488977
SM
12636 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12637 unread-command-events rather than pushing yet-another event.
12638
186f4720
EZ
126392011-10-14 Eli Zaretskii <eliz@gnu.org>
12640
12641 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12642 the explanation of the possible choices. Make the options passed
12643 to completing-read shorter.
12644
8b7a997c
AM
126452011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12646
12647 * textmodes/flyspell.el (flyspell-large-region): Make sure
12648 extended character mode is used if defined (Bug#1339).
12649
12587bbb
EZ
126502011-10-13 Eli Zaretskii <eliz@gnu.org>
12651
12652 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
12653 character info for LRE, LRO, RLE, and RLO characters by appending
12654 an invisible PDF.
12587bbb 12655
bad41229
SM
126562011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12657
12658 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12659 even in case of error; add debug spec; simplify data flow.
12660 (with-timeout-handler): Remove.
12661
28dbc92f
MA
126622011-10-12 Michael Albinus <michael.albinus@gmx.de>
12663
12664 Fix Bug#6019, Bug#9315.
12665
12666 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12667 complete `buffer-file-name', the local file name part could look
12668 remotely (for example on VMS).
12669
12670 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12671 `tramp-run-real-handler'.
12672 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12673 already quoted by '"'.
12674
12675 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12676 Let `file-name-handler-alist' be nil, the local file name part
12677 could look remotely (for example on VMS).
12678
e1b0b23a
SM
126792011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12680
12681 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12682 from here...
12683 (flyspell-post-command-hook): ...to here.
12684
a120bde9
SM
126852011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12686
12687 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12688 if not needed.
12689 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12690 using completion. Protect against "slow" callers.
12691 Remove the "message hack".
12692
7ce7717b
JL
126932011-10-11 Juri Linkov <juri@jurta.org>
12694
12695 * isearch.el (isearch-lazy-highlight-word): New variable.
12696 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12697 Use it. (Bug#9727)
12698
c02ee9d6
GM
126992011-10-11 Glenn Morris <rgm@gnu.org>
12700
12701 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12702 like f90-previous-statement does.
12703
93e616fd 127042011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12705
1f190e73 12706 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
12707 only in interactive use, to avoid error.
12708
af7b6078
SM
127092011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12710
12711 * minibuffer.el (completion-file-name-table): Fix last change,
12712 i.e. ignore normal errors but not the other ones.
12713
0563dae9
MR
127142011-10-10 Martin Rudalics <rudalics@gmx.at>
12715
12716 * window.el (special-display-buffer-names)
12717 (special-display-regexps): Remove some remnants of earlier
12718 changes from doc-strings.
366ca7f3
MR
12719 (quit-windows-on): New function.
12720
12721 * vc/vc.el (vc-revert, vc-rollback):
12722 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12723 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 12724 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 12725
49677495
MR
127262011-10-09 Martin Rudalics <rudalics@gmx.at>
12727
12728 * window.el (frame-auto-hide-function): Add version tag.
12729 (Bug#9699)
12730
56f2d1e1
MA
127312011-10-09 Michael Albinus <michael.albinus@gmx.de>
12732
12733 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12734 condition.
12735
112a6592
LL
127362011-10-09 Leo Liu <sdl.web@gmail.com>
12737
12738 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12739 (Bug#9701)
12740
0812589b
GM
127412011-10-08 Glenn Morris <rgm@gnu.org>
12742
12743 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12744 before the first code statement zero indent. (Bug#9690)
12745
b2b0776e
CY
127462011-10-08 Chong Yidong <cyd@stupidchicken.com>
12747
12748 * simple.el (count-words-region): Always count in the region.
12749 Report the number of lines and characters too.
12750 (count-words): New command, which counts in the buffer if the
12751 region is inactive, as count-words-region used to.
12752 (count-words--message): New function. Handle plurals.
12753 (count-lines-region): Make it an alias for count-words-region.
12754
12755 * bindings.el (esc-map): Replace count-lines-region with
12756 count-words-region.
12757
c557cd6b
MR
127582011-10-08 Martin Rudalics <rudalics@gmx.at>
12759
12760 * window.el (window--delete): Delete dedicated frame
12761 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 12762 (switch-to-buffer): Fix doc-string typo.
c557cd6b 12763
61a57ef4 127642011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12765
3a7d293b 12766 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 12767
c3833279
CY
127682011-10-07 Chong Yidong <cyd@stupidchicken.com>
12769
12770 * bindings.el ([M-left],[M-right]): Bind to left-word and
12771 right-word respectively.
12772
21ce8245
GM
127732011-10-07 Glenn Morris <rgm@gnu.org>
12774
12775 * cus-start.el (debug-on-quit): Fix custom type.
12776
6d823bb2
LMI
127772011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12778
0181e193
LMI
12779 * subr.el (define-key-after): Clarify that the function is not
12780 useful for non-menu keymaps.
12781
6d823bb2
LMI
12782 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12783
8e3459ce 127842011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12785
21ce8245 12786 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 12787 in current minibuffer (Fix bug with recursive minibuffers).
12788
a1c2d21e
CY
127892011-10-06 Chong Yidong <cyd@stupidchicken.com>
12790
12791 * progmodes/gdb-mi.el (gdb): Doc fix.
12792
5a4cf282
MR
127932011-10-05 Martin Rudalics <rudalics@gmx.at>
12794
12795 * window.el (frame-auto-hide-function): New option replacing
12796 frame-auto-delete. Suggested by Stefan Monnier.
12797 (window--delete): Call frame-auto-hide-function instead of
12798 investigating frame-auto-delete.
c96111ea
MR
12799 (window-point-1, set-window-point-1): New functions.
12800 (window-in-direction, record-window-buffer, window-state-get-1)
12801 (display-buffer-record-window): Use window-point-1 instead of
12802 window-point.
12803 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 12804
9854542e
SM
128052011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12806
12807 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12808
8943cfb0
GM
128092011-10-05 Glenn Morris <rgm@gnu.org>
12810
12811 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12812 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12813
647ab967
LL
128142011-10-05 Leo Liu <sdl.web@gmail.com>
12815
12816 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12817 works with buffer object.
12818
3ddfbced
SM
128192011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12820
12821 * mpc.el (mpc-tool-bar-map): Add labels.
12822
bdfa5dd2
GM
128232011-10-04 Glenn Morris <rgm@gnu.org>
12824
12825 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12826
0e2070b5
MR
128272011-10-04 Martin Rudalics <rudalics@gmx.at>
12828
12829 * window.el (window--delete): New function.
12830 (frame-auto-delete): Resuscitate option.
12831 (bury-buffer, replace-buffer-in-windows)
12832 (quit-window): Rewrite using window--delete.
12833 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12834 Pass display-buffer-mark-dedicated to window--display-buffer-2
12835 (Bug#9639).
12836
3dc61a09
SM
128372011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12838
915a9b64
SM
12839 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12840 returns a list (bug#9554). Add remote file name completion.
12841 * comint.el (comint--table-subvert): Curry and get quote&unquote
12842 functions as arguments.
12843 (comint--complete-file-name-data): Adjust call accordingly.
12844 * pcomplete.el (pcomplete--table-subvert): Remove.
12845 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12846
3dc61a09
SM
12847 * minibuffer.el (completion-table-case-fold): Use currying.
12848 (completion--styles-type, completion--cycling-threshold-type):
12849 New constants.
12850 (completion-styles, completion-category-overrides)
12851 (completion-cycle-threshold): Use them.
12852 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12853 completion-table-case-fold.
12854
8ea0a993
SB
128552011-10-03 Stephen Berman <stephen.berman@gmx.net>
12856
12857 * minibuffer.el (completion-category-overrides): Fix type of styles
12858 and add more user friendly tags (bug#9660).
12859
8c24b7f6
SM
128602011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12861
12862 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12863 (mule-input-method-string): New widget.
12864 (default-input-method, language-info-custom-alist): Use it.
12865
428fe61a
SM
128662011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12867
32c1fffd
SM
12868 * pcomplete.el: Require comint.
12869 (pcomplete--common-suffix): Remove.
12870 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12871 (pcomplete--table-subvert): Sync with comint--table-subvert.
12872 (pcomplete--entries): Use comint-completion-file-name-table.
12873 * comint.el (comint-unquote-filename): Simplify.
12874 (comint-completion-file-name-table): New function (bug#9616).
12875 (comint--complete-file-name-data): Use it.
12876
428fe61a
SM
12877 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12878 (pcmpl-gnu-tar-buffer): Remove.
12879 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
12880 around. Make sure pcomplete-suffix-list is only changed temporarily.
12881 Don't look inside the tar's file if it's too large.
428fe61a 12882
04c52e2f
CY
128832011-10-01 Chong Yidong <cyd@stupidchicken.com>
12884
ce3cefcc
CY
12885 * cus-edit.el (custom-mode-map):
12886 * epa.el (epa-key-list-mode-map):
12887 * man.el (Man-mode-map):
12888 * startup.el (splash-screen-keymap):
12889 * simple.el (special-mode-map): Use scroll-up-command and
12890 scroll-down-command.
12891
12892 * progmodes/idlw-help.el (idlwave-help-mode-map):
12893 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12894 * net/newst-plainview.el (newsticker-mode-map):
12895 * emulation/ws-mode.el (wordstar-mode-map):
12896 * emulation/vi.el (vi-com-map):
12897 * calc/calc-graph.el (calc-graph-show-dumb):
12898 * term/sun.el (terminal-init-sun):
12899 * term/ns-win.el (global-map):
12900 * progmodes/grep.el (grep-mode-map):
12901 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12902 * mail/rmail.el (rmail-mode-map):
12903 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12904
04c52e2f
CY
12905 * custom.el (custom-safe-themes, load-theme): Treat value of t for
12906 custom-safe-themes as special.
12907
79adf8c8
JD
129082011-10-01 Julien Danjou <julien@danjou.info>
12909
12910 * notifications.el (notifications-notify): Fix docstring.
12911
63bd50d3
PS
129122011-10-01 Per Starbäck <per@starback.se>
12913
12914 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
12915
199e4c7e
MR
129162011-09-30 Martin Rudalics <rudalics@gmx.at>
12917
12918 * startup.el (command-line-1): Fix last fix by inserting
12919 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 12920 (Bug#9605) and (Bug#9636)
199e4c7e 12921
fe5f08dd
EZ
129222011-09-29 Eli Zaretskii <eliz@gnu.org>
12923
12924 * simple.el (line-move): If auto-hscroll-mode is disabled and the
12925 window is hscrolled, move by logical lines. (Bug#9607)
12926 (line-move-visual): Update the doc string to the above effect.
12927
b5516bbd
MR
129282011-09-29 Martin Rudalics <rudalics@gmx.at>
12929
ccee00c0
MR
12930 * window.el (display-buffer-record-window): When WINDOW is the
12931 selected window use `point' instead of `window-point'. (Bug#9626)
12932
b5516bbd
MR
12933 * startup.el (command-line-1): Use insert-before-markers when
12934 inserting initial-scratch-message. (Bug#9605)
ccee00c0 12935
b5516bbd
MR
12936 * help.el (help-window): Remove variable.
12937
52aa0014
GM
129382011-09-29 Glenn Morris <rgm@gnu.org>
12939
12940 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12941
df9a7357
JB
129422011-09-29 Juanma Barranquero <lekktu@gmail.com>
12943
12944 * descr-text.el (describe-char-categories): Accept category
12945 descriptions more than one line long.
12946
a8406c20
SM
129472011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
12948
88d9610c
SM
12949 * simple.el (delete-trailing-whitespace): Fix last change.
12950
a5daf810
SM
12951 * progmodes/perl-mode.el (perl-syntax-propertize-function):
12952 Don't confuse "y => 3" as the beginning of a `y' operation.
12953
a8406c20
SM
12954 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12955 object has more than 4 slots (bug#9613).
12956
a239d4e9
JB
129572011-09-28 Juanma Barranquero <lekktu@gmail.com>
12958
12959 * subr.el (with-output-to-temp-buffer):
12960 * net/quickurl.el (quickurl, quickurl-browse-url):
12961 Fix typos in docstrings.
12962
693fbdb6
EZ
129632011-09-27 Eli Zaretskii <eliz@gnu.org>
12964
12965 * minibuffer.el (completion-styles)
12966 (completion-category-overrides): Cross reference each other in doc
12967 strings.
12968
8b457e28
GM
129692011-09-27 Glenn Morris <rgm@gnu.org>
12970
12971 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12972 to split-string. (Bug#9606)
12973
85a16208
LMI
129742011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12975
12976 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12977 (bug#9615).
12978
502f9ebd
CY
129792011-09-27 Chong Yidong <cyd@stupidchicken.com>
12980
12981 * emacs-lisp/package.el (list-packages): Fix echo area message.
12982
7690bdea
LL
129832011-09-27 Leo Liu <sdl.web@gmail.com>
12984
12985 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12986
e2ee6f30
MA
129872011-09-25 Michael Albinus <michael.albinus@gmx.de>
12988
12989 * net/dbus.el (dbus-unregister-object): Don't release services for
12990 registered signals. (Bug#9581)
12991
f3f98342
TZ
129922011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12993
12994 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12995 function that picks between cfengine 2 and 3 support
12996 automatically. Update docs accordingly.
12997
dd7aa8dd
KH
129982011-09-22 Kenichi Handa <handa@m17n.org>
12999
13000 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13001 ZERO.
13002 (indian-itrans-v5-table-for-tamil): New variable.
13003 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13004
3f2b07f8
KM
130052011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13006
13007 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13008 that's true if the current command involved collapsing of text.
13009 It's reset to false at the beginning of the next command.
13010 (allout-post-command-business): Move the cursor to the beginning
13011 of entry if the cursor is hidden and collapsing activity just
13012 happened.
13013
371d6a61
CY
130142011-09-24 Chong Yidong <cyd@stupidchicken.com>
13015
13016 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13017 tracking (Bug#9541).
13018
2ac2721a
UJ
130192011-09-24 Ulf Jasper <ulf.jasper@web.de>
13020
13021 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
13022 (newsticker-show-news): Automatically load html rendering package
13023 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13024 because w3m-fill-column is let-bound" and the error "Symbol's value
13025 as variable is void: w3m-fill-column".
2ac2721a 13026
fac7ae53
MA
130272011-09-24 Michael Albinus <michael.albinus@gmx.de>
13028
13029 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13030 Release services only if they are defined. (Bug#9581)
13031
e08b633b
RS
130322011-09-23 Richard Stallman <rms@gnu.org>
13033
e488d29c
RS
13034 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13035 distinguish start of paragraph from start of its text.
13036
19c38752
RS
13037 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13038
e08b633b
RS
13039 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13040 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13041 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13042
0a39f27e
AS
130432011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13044
13045 * international/mule-diag.el (mule-diag): Insert a newline after
13046 each fontset description.
13047
db4e950d
SM
130482011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13049
13050 * simple.el (delete-trailing-whitespace):
13051 Document last change; simplify.
13052
eca3f3ea
PW
130532011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13054
d68e189a
PW
13055 * simple.el (delete-trailing-whitespace): Also delete
13056 extra newlines at the end of the buffer.
13057
eca3f3ea
PW
13058 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13059 (picture-newline): Use forward-line so as to ignore fields.
13060
01c157cc
SM
130612011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13062
13063 * subr.el (with-wrapper-hook): Fix edebug spec.
13064
022de23e
LMI
130652011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13066
13067 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13068 (bug#4538).
13069
91683089
MA
130702011-09-23 Michael Albinus <michael.albinus@gmx.de>
13071
eca3f3ea
PW
13072 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13073 Fix nasty bug using wrong cached values.
91683089 13074
5bdd6fa4
AM
130752011-09-23 Alan Mackenzie <acm@muc.de>
13076
13077 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13078
97adfb97
CY
130792011-09-23 Chong Yidong <cyd@stupidchicken.com>
13080
13081 * window.el (pop-to-buffer): Ensure right window is selected if we
13082 chose another frame.
13083
d4ef2b50
EZ
130842011-09-22 Eli Zaretskii <eliz@gnu.org>
13085
13086 * simple.el (what-cursor-position): Use get-char-property-change
13087 and next-single-char-property-change, to be able to show display
13088 properties that come from overlays as well as text properties.
13089
72258fe5
CY
130902011-09-22 Chong Yidong <cyd@stupidchicken.com>
13091
13092 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13093
13094 * cmuscheme.el (run-scheme, switch-to-scheme):
13095 * cus-edit.el (customize-group, custom-buffer-create)
13096 (customize-browse):
13097 * info.el (info):
13098 * shell.el (shell):
13099 * mail/sendmail.el (mail):
13100 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13101
8f098516
RS
131022011-09-22 Richard Stallman <rms@gnu.org>
13103
13104 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13105 move back only to line beg, don't move back over blank lines.
13106
e74f1bb6
MA
131072011-09-22 Michael Albinus <michael.albinus@gmx.de>
13108
13109 * files.el (copy-directory): Set directory attributes only in case
13110 they could be retrieved from the source directory. (Bug#9565)
13111
bfeef8b6
DK
131122011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13113
13114 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13115 (hs-find-block-beginning, hs-hide-level-recursive):
13116 Ignore strings as well as comments. (Bug#9502)
13117
7e423bb8
AS
131182011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13119
13120 * progmodes/sql.el (sql-comint-postgres):
13121 Convert port number to a string. (Bug#9566)
13122
b4d72fcf
MR
131232011-09-22 Martin Rudalics <rudalics@gmx.at>
13124
13125 * window.el (quit-window): Undedicate window when switching to
13126 previous buffer. Reported by Thierry Volpiatto
13127 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
13128 (special-display-popup-frame): When popping up a new frame reset
13129 its previous buffers to nil. Simplify code.
b4d72fcf 13130
a7b88dc6
MA
131312011-09-21 Michael Albinus <michael.albinus@gmx.de>
13132
13133 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13134 and process filter, as done also in `shell-command'.
13135
cf4eacfd
MR
131362011-09-21 Martin Rudalics <rudalics@gmx.at>
13137
eca3f3ea 13138 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
13139 Call set-window-start with NOFORCE argument t.
13140 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
13141 (quit-window): Reword doc-string. Handle new format of
13142 quit-restore parameter. Don't delete window if it has a
13143 previous buffer we can show instead of the present one.
13144 (display-buffer-record-window): Rewrite using a new format for
13145 the quit-restore window parameter
13146 (special-display-popup-frame, display-buffer-same-window)
13147 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13148 (display-buffer-pop-up-window, display-buffer-use-some-window):
13149 Adapt symbol passed to display-buffer-record-window.
13150 * help.el (help-window-setup): Handle new format of quit-restore
13151 parameter.
13152
8d28cb95
SM
131532011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13154
94ab793f
SM
13155 * faces.el (face-list): Fix docstring (bug#9564).
13156
8d28cb95
SM
13157 * window.el (display-buffer--action-function-custom-type):
13158 Don't include internal functions in the Custom interface.
13159
3820edeb
JL
131602011-09-20 Juri Linkov <juri@jurta.org>
13161
13162 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13163 (Info-forward-node, Info-backward-node, Info-next-preorder)
13164 (Info-last-preorder): Use it. (Bug#9528)
13165
5147931d
JL
131662011-09-20 Juri Linkov <juri@jurta.org>
13167
13168 * info.el (Info-last-preorder): Visit last menu item only when
13169 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13170
cf499a1a
JD
131712011-09-20 Julien Danjou <julien@danjou.info>
13172
13173 * password-cache.el (password-cache-remove): Remove entries even if the
13174 value is nil, so that password with a nil value (negative caching) is
13175 possible to invalidate.
13176
f84e2fe2
LM
131772011-09-20 Lawrence Mitchell <wence@gmx.li>
13178
13179 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13180 all whitespace around breakpoint. (Bug#9553)
13181 (f90-find-breakpoint): Only break at whitespace inside a comment.
13182
78054a46
SM
131832011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13184
13185 * minibuffer.el (completion-file-name-table): Keep track of errors.
13186 (completion-table-with-predicate): Handle the case where pred1 is nil.
13187 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13188
345083b2
SM
131892011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13190
e24e27be
SM
13191 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13192 (debugger-return-value): Signal an error if the debugging context does
13193 not await any return value.
13194
345083b2
SM
13195 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13196 * image-mode.el (image-toggle-display-text)
13197 (image-toggle-display-image): Stay away from evil `intangible'.
13198
08d355e3
LL
131992011-09-19 Leo Liu <sdl.web@gmail.com>
13200
13201 * replace.el (occur-revert-arguments): Make it permanent-local.
13202 (occur-mode): Don't call font-lock-defontify.
13203
f01da43f
CY
132042011-09-19 Chong Yidong <cyd@stupidchicken.com>
13205
13206 * net/ldap.el (ldap-search-internal): Don't push empty search
13207 result (Bug#9508).
13208
b6072fa6
SM
132092011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13210
13211 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13212
443d6696
MA
132132011-09-19 Michael Albinus <michael.albinus@gmx.de>
13214
13215 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13216 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13217
7cc6e154
JL
132182011-09-18 Juri Linkov <juri@jurta.org>
13219
13220 * buff-menu.el (Buffer-menu-mode-map):
13221 * dired.el (dired-mode-map):
13222 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13223 (lisp-interaction-mode-map):
13224 * emacs-lisp/package.el (package-menu-mode-map):
13225 * epa.el (epa-key-list-mode-map):
13226 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13227 (menu-bar-options-menu):
13228 * outline.el (outline-mode-menu-bar-map):
13229 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13230 * vc/vc-dir.el (vc-dir-menu-map):
13231 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13232 Capitalize non-function content words in menu item strings.
13233
13234 * dired.el (dired-mode-map): Add menu item for
13235 `image-dired-dired-toggle-marked-thumbs'.
13236
80302a81
JL
132372011-09-18 Juri Linkov <juri@jurta.org>
13238
13239 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13240 to `isearch-case-fold-search' and restore its original value
13241 after the `isearch-mode' call.
13242
46c5cf66
JL
132432011-09-18 Juri Linkov <juri@jurta.org>
13244
13245 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13246 because `zgrep' returns 1 for successful matches (bug#9226).
13247
d18b513b
JL
132482011-09-18 Juri Linkov <juri@jurta.org>
13249
13250 * info.el (Info-extract-menu-node-name): Check the second match
13251 for empty string (second test-case of bug#9528).
13252 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13253 intermediate nodes to the history (first test-case of bug#9528).
13254
72753f87
JL
132552011-09-18 Juri Linkov <juri@jurta.org>
13256
13257 * info.el (Info-mode-syntax-table): New variable.
1154d12e 13258 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 13259
c9384295
JL
132602011-09-18 Juri Linkov <juri@jurta.org>
13261
1154d12e
JB
13262 * info.el (Info-file-supports-index-cookies):
13263 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13264 outputs one more line for long file names (bug#4142).
c9384295 13265
d473dce8
CY
132662011-09-18 Chong Yidong <cyd@stupidchicken.com>
13267
13268 * newcomment.el (comment-normalize-vars): If prompting for
13269 comment-start, set comment-start-skip too (Bug#8424).
13270
2176854d
JB
132712011-09-18 Johan Bockgård <bojohan@gnu.org>
13272
13273 * icomplete.el: Fix previous fix of Bug#5849.
13274 (icomplete-mode): Don't set completion-show-inline-help.
13275 (icomplete-minibuffer-setup): Set completion-show-inline-help
13276 locally during icompletion.
13277
3aace4e4
CY
132782011-09-18 Chong Yidong <cyd@stupidchicken.com>
13279
c940224f
CY
13280 * woman.el (woman2-process-escapes): Don't delete unrecognized
13281 escapes (Bug#7843).
13282
3aace4e4
CY
13283 * files.el (inhibit-first-line-modes-regexps): Add image files.
13284 (hack-local-variables-prop-line): Return nil for malformed
13285 prop-lines (Bug#9044).
13286
710dec63
MA
132872011-09-18 Michael Albinus <michael.albinus@gmx.de>
13288
13289 * net/tramp.el (top): Don't require 'shell.
13290 (tramp-methods): Fix docstring.
13291 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
13292 Return complete remote file name. Handle "smb" case.
13293 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
13294 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13295
13296 * net/tramp-compat.el (top): Require 'shell.
13297
13298 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13299 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13300 `tramp-current-host'.
13301 (tramp-get-remote-tmpdir): Remove.
13302
13303 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13304 `tramp-tmpdir' entries.
13305 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13306 (tramp-smb-handle-file-attributes): Ignore errors.
13307 (tramp-smb-wait-for-output): Check also for process end.
13308
5d5ac8ec
LMI
133092011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13310
13311 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13312 when sending QUIT (bug#9312).
13313
8c0f49f0
CY
133142011-09-17 Chong Yidong <cyd@stupidchicken.com>
13315
13316 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13317 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13318 occur-mode-display-occurrence.
13319 (occur-edit-mode): Add usage message.
13320 (occur-cease-edit): New command.
13321 (occur-after-change-function): Use text properties to find the
13322 position of the prefix text.
13323 (occur-engine): Set stickiness of prefix text properties.
13324
8f1383f7
GM
133252011-09-17 Glenn Morris <rgm@gnu.org>
13326
13327 * progmodes/etags.el (complete-tag):
13328 Fix call to completion-in-region. (Bug#9526)
13329
744ba0e3
JL
133302011-09-17 Juri Linkov <juri@jurta.org>
13331
13332 * textmodes/ispell.el (ispell-word): Add to the error message
13333 the word, ispell program name and current dictionary (bug#9121).
13334 (ispell-tex-arg-end): Capitalize "error" in the error message.
13335
d9bbf400
AS
133362011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13337
13338 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13339 check. (Bug#4251)
13340
8da11505
JL
133412011-09-17 Juri Linkov <juri@jurta.org>
13342
13343 * window.el (window-safe-min-height, window-safe-min-width):
13344 Fix typos (followup to bug#9522).
13345
a91adc7e
SJ
133462011-09-17 Sven Joachim <svenjoac@gmx.de>
13347
13348 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13349
064f328a
EZ
133502011-09-16 Eli Zaretskii <eliz@gnu.org>
13351
13352 * simple.el (line-move): If goal-column is set, move by logical
13353 lines, not by display lines. (Bug#971)
13354 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13355 to reflect the above change.
13356
e69df516
SM
133572011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13358
13359 * image.el (imagemagick-register-types): Use regexp-opt.
13360
cbb0f9ab
CY
133612011-09-15 Chong Yidong <cyd@stupidchicken.com>
13362
13363 * window.el (display-buffer-base-action): Rename from
13364 display-buffer-default-action. Make default value empty.
13365 (display-buffer-overriding-action): Convert to defvar.
13366 (display-buffer-fallback-action): New var.
13367
25322144
CY
133682011-09-15 Chong Yidong <cyd@stupidchicken.com>
13369
13370 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13371 declaration.
13372 (package--add-to-archive-contents): If there is a duplicate entry
13373 with an older version, remove it.
13374 (package-menu-mark-delete, package-menu-mark-install)
13375 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
13376 (package-menu-mark-obsolete-for-deletion):
13377 Use package-menu-get-status instead of a regexp search.
25322144
CY
13378 (package-menu-get-status): Use tabulated-list-entry.
13379 (package-menu-mark-upgrades): New command.
d770725a 13380 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
13381 (package-menu-execute): Do installation before deletion.
13382 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13383 instead of checking major-mode.
13384 (package-menu--find-upgrades): New function.
13385
7520339c
LMI
133862011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13387
13388 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13389 passwords in the log buffer.
65a046c4
LMI
13390 (smtpmail-process-filter): Update the process marker so that the
13391 "broken by peer" status message is inserted in the right place.
7520339c 13392
d3c30954
SM
133932011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13394
3fe48822
SM
13395 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13396 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13397 bibtex-completion-at-point-function.
13398 (bibtex-completion-at-point-function): Use them.
13399
1b8b3954
SM
13400 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13401
d3c30954
SM
13402 * mpc.el (mpc-constraints-tag-lookup): New function.
13403 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13404 also to browser "album|playlist".
13405
72779976
JL
134062011-09-14 Juri Linkov <juri@jurta.org>
13407
13408 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13409 (isearch-edit-string): Use length of `isearch-string' when
13410 `isearch-fail-pos' returns nil.
13411 (isearch-message): Remove duplicate code and call
13412 `isearch-fail-pos' with arg `t'.
13413
a0bf2bcd
CY
134142011-09-14 Chong Yidong <cyd@stupidchicken.com>
13415
17bb0a2d
CY
13416 * replace.el (occur-mode-goto-occurrence): Don't force using other
13417 window (Bug#9499).
13418
a0bf2bcd
CY
13419 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13420
f678e0b6
MR
134212011-09-14 Martin Rudalics <rudalics@gmx.at>
13422
13423 * window.el (display-buffer-window): Remove.
13424 (display-buffer-record-window): Use help-setup window parameter
13425 instead of variable display-buffer-window.
13426 (display-buffer-function, special-display-buffer-names)
13427 (special-display-function): Mention help-setup parameter instead
13428 of display-buffer-window in doc-string.
d3c30954
SM
13429 * help.el (help-window-setup): New argument help-window.
13430 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
13431 Reword some messages.
13432 (with-help-window): Pass window used for displaying the buffer
13433 to help-window-setup. Don't set display-buffer-window.
13434
8e39b2e8
GM
134352011-09-13 Glenn Morris <rgm@gnu.org>
13436
13437 * emacs-lisp/debug.el (debugger-make-xrefs):
13438 Preserve point. (Bug#9462)
13439
85e9c04b
CY
134402011-09-13 Chong Yidong <cyd@stupidchicken.com>
13441
13442 * window.el (window-deletable-p): Use next-frame.
13443
1b36ed6a
MR
134442011-09-13 Martin Rudalics <rudalics@gmx.at>
13445
13446 * window.el (window-auto-delete): Remove.
13447 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 13448 dedication and previous buffers.
1b36ed6a
MR
13449 (switch-to-prev-buffer): Don't delete window.
13450 (delete-windows-on): Delete a window's frame if and only if the
13451 window is dedicated.
13452 (replace-buffer-in-windows): Delete buffer's window or frame if
13453 and only if window is dedicated.
13454 (quit-window): Handle quit-restore as before last change.
4d61f28d 13455 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 13456
ef8ef9fb
CY
134572011-09-13 Chong Yidong <cyd@stupidchicken.com>
13458
13459 * window.el (window-deletable-p): Never delete the last frame on a
13460 given terminal.
13461
b2cba41e
GM
134622011-09-13 Glenn Morris <rgm@gnu.org>
13463
13464 * help.el (describe-key-briefly): Copy previous standard-output change.
13465
51553db6 134662011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
13467
13468 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13469
b7556719
GM
134702011-09-13 Glenn Morris <rgm@gnu.org>
13471
13472 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13473 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13474
64b51947
CY
134752011-09-12 Chong Yidong <cyd@stupidchicken.com>
13476
13477 * dired-aux.el (dired-mark-read-string): Don't return default
13478 value on empty input (Bug#9361).
13479 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13480 Omit initial minibuffer contents.
13481 (dired-do-chmod): Signal an error on empty input.
13482 (dired-mark-read-string): Don't return default on empty input.
13483
13484 * files.el (file-modes-symbolic-to-number): Doc fix.
13485
393a301e
SM
134862011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13487
13488 * international/mule-cmds.el (ucs-completions): Remove.
13489 (read-char-by-name): Use complete-with-action instead; add metadata.
13490
fa5660f9
CY
134912011-09-11 Chong Yidong <cyd@stupidchicken.com>
13492
13493 * window.el (display-buffer--action-function-custom-type)
13494 (display-buffer--action-custom-type): New vars.
13495 (display-buffer-alist, display-buffer-default-action)
13496 (display-buffer-overriding-action): Add defcustom types.
13497
4a592f66
CY
13498 * frame.el (delete-other-frames): Doc fix (Bug#276).
13499
73d56dbd
LMI
135002011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13501
13502 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13503
37ac18a3
CY
135042011-09-11 Chong Yidong <cyd@stupidchicken.com>
13505
13506 Change modes that used same-window-* vars to use switch-to-buffer.
13507
13508 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13509 Use switch-to-buffer.
13510
13511 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
13512 (customize-browse, custom-buffer-create-other-window):
13513 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
13514
13515 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13516 (Info-prev, Info-up, Info-speedbar-goto-node)
13517 (info-display-manual): Use switch-to-buffer.
13518 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13519
13520 * mail/sendmail.el (mail): Use switch-to-buffer.
13521 (mail-recover): Use switch-to-buffer-other-window.
13522
13523 * cmuscheme.el (run-scheme, switch-to-scheme):
13524 * ielm.el (ielm):
13525 * shell.el (shell):
13526 * net/rlogin.el (rlogin):
13527 * net/telnet.el (telnet, rsh):
13528 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13529
10195bd6
AS
135302011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13531
13532 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13533
b322f63a
LMI
135342011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13535
39d7fed6
LMI
13536 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13537 so don't mention it (bug#9301).
ba5a81f1 13538 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 13539
ee0e9f11
LMI
13540 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13541 match `x', `w32' and `ns', like the manual says (bug#9029).
13542
0b1c89c1 13543 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
13544 (process-kill-buffer-query-function): Mention the buffer name in
13545 the query.
0b1c89c1 13546
77549ea8
LMI
13547 * image-mode.el (image-next-line): The line parameter is mandatory
13548 (bug#9258).
13549
803ef892
LMI
13550 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13551 which can be useful (bug#9301).
13552
12980837
LMI
13553 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13554
91054f8f
LMI
13555 * subr.el (match-string): Mention that the current buffer should
13556 be the same as the search was done in (bug#9282).
13557
b322f63a
LMI
13558 * facemenu.el: Disable the remove-* commands if the mark isn't
13559 active (bug#9162).
13560
3199b96f
CY
135612011-09-10 Chong Yidong <cyd@stupidchicken.com>
13562
13563 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13564 of display-buffer.
13565 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13566
13567 * replace.el (occur-mode-goto-occurrence)
13568 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13569 and display-buffer.
13570
13571 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13572 display-buffer.
13573
13574 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13575 special-display and same-window variables.
13576 (mail-other-window): Use switch-to-buffer-other-window.
13577 (mail-other-frame): USe switch-to-buffer-other-frame.
13578
393a301e
SM
13579 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13580 Use display-buffer-other-frame.
3199b96f
CY
13581 (gdb-display-gdb-buffer): Use pop-to-buffer.
13582
13583 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13584
13585 * progmodes/python.el: Don't set same-window-buffer-names.
13586
13587 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13588
13589 * window.el (display-buffer-alist): Add *Python*.
13590
8319e0bf
CY
135912011-09-10 Chong Yidong <cyd@stupidchicken.com>
13592
13593 * window.el (display-buffer-alist): Add entry for buffers
13594 previously handled same-window-*.
13595 (display-buffer-alist, display-buffer-default-action)
13596 (display-buffer-overriding-action): Mark as risky.
13597 (display-buffer-alist): Document action function changes.
13598 (display-buffer--same-window-action)
13599 (display-buffer--other-frame-action): New variables.
13600 (switch-to-buffer, display-buffer-other-frame): Use them.
13601 (display-buffer): Rename reuse-frame entry to reusable-frames.
13602 (display-buffer-reuse-selected-window): Function deleted.
13603 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13604 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13605 (display-buffer-special): New function.
13606 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13607 display-buffer-reuse-or-pop-window. Split off special-display
13608 part into display-buffer-special.
13609 (display-buffer-use-some-window): Don't perform any special
13610 pop-up-frames handling.
13611 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 13612 (display-buffer--maybe-same-window): Rename from
0d3ff375 13613 display-buffer-maybe-same-window.
8319e0bf 13614
919a69aa
CY
13615 * info.el: Don't set same-window-regexps.
13616 (info-setup): New function.
13617 (info-other-window, info): Call it.
13618
13619 * cus-edit.el: Don't set same-window-regexps.
13620 (customize-group): New argument.
13621 (customize-group-other-window): Use it.
13622 (customize-face, customize-face-other-window): Likewise.
13623 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13624
8319e0bf
CY
13625 * net/rlogin.el:
13626 * net/telnet.el:
13627 * progmodes/gud.el: Don't set same-window-regexps.
13628
13629 * cmuscheme.el:
13630 * ielm.el:
13631 * shell.el:
13632 * mail/sendmail.el:
13633 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13634
25173000
JL
136352011-09-10 Juri Linkov <juri@jurta.org>
13636
13637 * isearch.el (isearch-edit-string): Remove obsolete mention of
13638 `C-w' (`isearch-yank-word-or-char') from docstring.
13639 (isearch-query-replace): Fix typo in docstring (bug#9466).
13640
056e44ef
JL
136412011-09-10 Juri Linkov <juri@jurta.org>
13642
13643 * paren.el (show-paren-function): Don't show escaped parens.
13644 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13645
c3760c17
EZ
136462011-09-10 Eli Zaretskii <eliz@gnu.org>
13647
13648 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13649 (mm-default-file-encoding): Remove autoload forms, they are
13650 replaced with autoload cookies in mml.el and mm-encode.el.
13651 (mail-add-attachment): New command.
13652 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13653 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13654 the doc string.
13655 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13656
fece895e
RT
136572011-09-10 Reuben Thomas <rrt@sc3d.org>
13658
e69df516
SM
13659 * simple.el (count-words-region): Use buffer if there's no region
13660 (bug#9429).
fece895e 13661
5e68ce4a
JL
136622011-09-09 Juri Linkov <juri@jurta.org>
13663
13664 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13665 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13666 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13667
0a6b9622
AM
136682011-09-09 Alan Mackenzie <acm@muc.de>
13669
13670 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13671 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13672
14a29deb
EZ
136732011-09-09 Eli Zaretskii <eliz@gnu.org>
13674
13675 Fix for Savannah bug#9392.
13676 * simple.el (mail-encode-mml): New defvar.
13677
13678 * mail/rmail.el (mail-encode-mml): Add a defvar.
13679 (rmail-enable-mime-composing): Default to t.
13680 (rmail-forward): Use MIME method of forwarding only if both
13681 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13682 Set mail-encode-mml non-nil if the MIME method was used.
13683
13684 * mail/sendmail.el (mml-to-mime): Add autoload form.
13685 (mail-encode-mml): Add a defvar.
13686 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13687 to nil.
13688 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13689 message through mml-to-mime, and reset mail-encode-mml to nil.
13690
28c45130
GM
136912011-09-09 Glenn Morris <rgm@gnu.org>
13692
13693 * woman.el (woman-if-body): When processing an .el block,
13694 do not delete the next .el block as well. (Bug#9447)
69f4b618 13695 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 13696
9b1c252e
MR
136972011-09-08 Martin Rudalics <rudalics@gmx.at>
13698
13699 * window.el (window-deletable-p): Make sure window is live before
13700 invoking window-prev-buffers.
13701
567457e3
LL
137022011-09-08 Leo Liu <sdl.web@gmail.com>
13703
13704 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13705
97f05794
JL
137062011-09-08 Juri Linkov <juri@jurta.org>
13707
13708 * progmodes/compile.el (compilation-environment): Make it
13709 a defcustom (bug#8340).
13710
8b0874b5
MR
137112011-09-08 Martin Rudalics <rudalics@gmx.at>
13712
13713 * window.el (frame-auto-delete): Rename to window-auto-delete.
13714 Make it control auto-deletion of windows and/or frames.
13715 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 13716 for deleting window/frame. (Bug#9419)
8b0874b5
MR
13717 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13718 Rewrite handling of case when window/frame can be deleted.
13719 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 13720 argument t. (Bug#9456)
8b0874b5 13721
4feb6e73
CY
137222011-09-07 Chong Yidong <cyd@stupidchicken.com>
13723
13724 * help-mode.el (help-mode): Restore autoload.
13725
91ab9c13
JL
137262011-09-07 Juri Linkov <juri@jurta.org>
13727
13728 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13729 `compilation-environment'. Set buffer-local
13730 `compilation-environment' to `thisenv' later after (funcall mode).
13731 (Bug#8340)
13732
13733 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13734 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13735 instead of replacing its value. (Bug#8340)
13736
0527e251
JL
137372011-09-07 Juri Linkov <juri@jurta.org>
13738
13739 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13740 based on text properties put by `grep-filter' instead of matching
13741 escape sequences.
13742 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13743 to the value of `grep-error-screen-columns' (bug#9438).
13744
249f792c
JL
137452011-09-07 Juri Linkov <juri@jurta.org>
13746
13747 * simple.el (next-error-highlight, next-error-highlight-no-select):
13748 Doc fix (bug#9432).
13749
ff7271b9
OT
137502011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13751
13752 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13753 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13754
183fc730
LL
137552011-09-07 Leo Liu <sdl.web@gmail.com>
13756
13757 * net/rcirc.el (rcirc-mode): Conditionally initialize
13758 rcirc-input-ring.
13759
77694924
SM
137602011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13761
13762 * emacs-lisp/find-func.el (find-function-C-source): Only set
13763 find-function-C-source-directory after checking that we found a source
13764 file there (bug#9440).
13765
d809b8eb
AM
137662011-09-06 Alan Mackenzie <acm@muc.de>
13767
13768 * isearch.el (isearch-other-meta-char): Wherever a key list is
13769 unread, "unread" the prefix arg, too. This fixes bug #8901.
13770
453de99f
OG
137712011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13772
13773 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13774
90439906
JL
137752011-09-05 Juri Linkov <juri@jurta.org>
13776
13777 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13778
f62bd846
JL
137792011-09-05 Juri Linkov <juri@jurta.org>
13780
13781 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13782 keeping point where processing of grep matches begins, and
13783 continue to delete remaining escape sequences from the same point.
13784 (grep-filter): Make leading zero optional in "0?1;31m" because
13785 git-grep emits "\033[1;31m" escape sequences unlike expected
13786 "\033[01;31m" as GNU Grep does (bug#9408).
13787 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13788
045820ec
JL
137892011-09-05 Juri Linkov <juri@jurta.org>
13790
13791 * subr.el (y-or-n-p): Capitalize "yes".
13792
f5e29b9b
MA
137932011-09-04 Michael Albinus <michael.albinus@gmx.de>
13794
13795 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13796 `tramp-cache-unload-hook' where appropriate.
13797 (tramp-methods): Rename `tramp-remote-sh' to
13798 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13799 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13800
13801 * net/tramp-sh.el (top): Don't require 'shell.
13802 (tramp-methods): Add `tramp-remote-shell' and
13803 `tramp-remote-shell-args' entries.
13804 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13805 (tramp-sh-handle-shell-command): Remove.
13806 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13807 Use `tramp-remote-shell'.
13808
2784c434
CY
138092011-09-03 Chong Yidong <cyd@stupidchicken.com>
13810
393a301e 13811 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
13812 (sendmail-query-once): Save directly to send-mail-function.
13813 Update message-send-mail-function too.
13814
13815 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13816
464cdf56
CS
138172011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13818
13819 * progmodes/python.el (python-mode-map): Use correct function to
13820 start python interpreter from menu-bar (as reported by Geert
13821 Kloosterman).
13822 (inferior-python-mode-map): Fix typo.
393a301e 13823 (python-shell-map): Remove.
464cdf56 13824
d37e5c87
DD
138252011-09-03 Deniz Dogan <deniz@dogan.se>
13826
13827 * net/rcirc.el (rcirc-print): Simplify code for
13828 rcirc-scroll-show-maximum-output. There is no need to walk
13829 through all windows to find the right one.
13830
f3ada0ee
CS
138312011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13832
13833 * help.el (help-return-method): Doc fix.
13834
1f3c99ca
MR
138352011-09-03 Martin Rudalics <rudalics@gmx.at>
13836
13837 * window.el (window-deletable-p): Don't return a non-nil value
13838 when there's a buffer that was shown in the window before.
13839 (Bug#9419)
393a301e
SM
13840 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13841 Set window's previous buffers to nil.
1f3c99ca 13842
a3cf097f
EZ
138432011-09-03 Eli Zaretskii <eliz@gnu.org>
13844
13845 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13846 newline before and after the tag line, so it doesn't interfere
13847 with determining the paragraph direction of bidirectional text.
13848
3d03de90
LL
138492011-09-03 Leo Liu <sdl.web@gmail.com>
13850
13851 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13852
c3313451
CY
138532011-09-02 Chong Yidong <cyd@stupidchicken.com>
13854
393a301e 13855 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
13856 (pop-to-buffer): Change interactive spec. Pass second argument
13857 directly to display-buffer.
13858 (display-buffer): Fix interactive spec. Use functionp to
13859 distinguish between a function and a list of functions.
13860
13861 * abbrev.el (edit-abbrevs):
13862 * arc-mode.el (archive-extract):
13863 * autoinsert.el (auto-insert):
13864 * bookmark.el (bookmark-bmenu-list):
13865 * files.el (find-file):
13866 * view.el (view-buffer):
13867 * progmodes/compile.el (compilation-goto-locus):
13868 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13869
89894cd8
CY
138702011-09-02 Chong Yidong <cyd@stupidchicken.com>
13871
13872 * window.el (display-buffer-alist): Doc fix.
13873 (display-buffer): Add docstring. Don't treat
13874 display-buffer-default specially.
13875 (display-buffer-reuse-selected-window)
13876 (display-buffer-same-window, display-buffer-maybe-same-window)
13877 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13878 (display-buffer-pop-up-window)
13879 (display-buffer-reuse-or-pop-window)
13880 (display-buffer-use-some-window): New functions.
13881 (display-buffer-default-action): Use them.
393a301e 13882 (display-buffer-default): Delete.
89894cd8
CY
13883 (pop-to-buffer-1): Fix choice of actions.
13884
ae0bc9fb
SM
138852011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13886
13887 * minibuffer.el (completion--insert-strings): Don't get confused by
13888 completion entries that end with an LF char.
13889
e9d90883
EZ
138902011-09-01 Eli Zaretskii <eliz@gnu.org>
13891
13892 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13893
437014c8
CY
138942011-09-01 Chong Yidong <cyd@stupidchicken.com>
13895
13896 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
13897 (display-buffer-same-window, display-buffer-other-window):
13898 New functions.
437014c8
CY
13899 (pop-to-buffer-1): New function. Use the above.
13900 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 13901 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
13902
13903 * view.el (view-buffer-other-window, view-buffer-other-frame):
13904 Just use pop-to-buffer.
13905
a5e063d5
TV
139062011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13907
13908 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
13909
793d32bb
WH
139102011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
13911
13912 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
13913
d65e4c15
RS
139142011-08-31 Richard Stallman <rms@gnu.org>
13915
13916 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13917 of the separation of rmail-view-buffer from rmail-buffer.
13918 If you say no to "replace original", the decrypt is in the
13919 view buffer. If you say yes, the decrypt goes into the
13920 rmail buffer also.
13921
f818cd2a
MR
139222011-08-31 Martin Rudalics <rudalics@gmx.at>
13923
13924 * window.el (display-buffer-window): Rewrite doc-string.
13925 (display-buffer-record-window): New function.
13926 (display-buffer-macro-specifiers)
13927 (display-buffer-even-window-sizes, display-buffer-set-height)
13928 (display-buffer-set-width, display-buffer-in-window)
13929 (display-buffer-reuse-window, display-buffer-split-specifiers)
13930 (display-buffer-side-specifiers, display-buffer-split-window-1)
13931 (display-buffer-split-window, display-buffer-split-atom-window)
13932 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13933 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13934 (display-buffer-other-window-means-other-frame)
13935 (display-buffer-normalize-special)
13936 (display-buffer-normalize-default)
13937 (display-buffer-normalize-argument)
13938 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13939 (display-buffer-normalize-specifiers, display-buffer-frame)
13940 (display-buffer-same-window, display-buffer-same-frame)
13941 (display-buffer-other-window)
13942 (display-buffer-same-frame-other-window)
13943 (display-buffer-other-frame, pop-to-buffer-same-window)
13944 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13945 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13946 (switch-to-buffer-same-frame)
13947 (switch-to-buffer-other-window-same-frame)
13948 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13949 (display-buffer-alist-set-1, display-buffer-alist-set-2)
13950 (display-buffer-alist-set): Remove.
13951 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
13952 (special-display-regexps, special-display-function):
13953 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
13954 parameter.
13955 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13956 (special-display-frame-alist, special-display-popup-frame)
13957 (same-window-buffer-names, same-window-regexps, same-window-p)
13958 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13959 (split-window-preferred-function, split-height-threshold)
13960 (split-width-threshold, window-splittable-p)
13961 (split-window-sensibly, window--try-to-split-window)
13962 (window--frame-usable-p, even-window-heights)
13963 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
13964 (window--display-buffer-2, display-buffer-other-frame):
13965 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
13966 (display-buffer-default, display-buffer-assq-regexp): New functions.
13967 (display-buffer-alist): Rewrite doc-string.
13968 (display-buffer-default-action)
13969 (display-buffer-overriding-action): New variables.
13970 (display-buffer, switch-to-buffer): Rewrite.
13971 (pop-to-buffer): Restore Emacs 23 behavior but use
13972 window-normalize-buffer-to-display.
13973 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13974 Restore Emacs 23 behavior but use
13975 window-normalize-buffer-to-switch-to.
13976 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
13977 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13978 Rewrite using Emacs 23 options.
f818cd2a 13979
5bc3b51d
MA
139802011-08-31 Michael Albinus <michael.albinus@gmx.de>
13981
13982 * net/tramp.el (tramp-root-regexp): Remove.
13983 (tramp-completion-file-name-regexp-unified)
13984 (tramp-completion-file-name-regexp-separate)
13985 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 13986 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
13987 (tramp-drop-volume-letter): Simplify definition.
13988 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 13989
b1a4f8e1
SM
139902011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13991
13992 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13993 (bug#9356).
13994
5664fa7b
RT
139952011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13996
b1a4f8e1 13997 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 13998
9a45d6c3
JL
139992011-08-29 Juri Linkov <juri@jurta.org>
14000
14001 * isearch.el (isearch-done): Don't display message "Mark saved"
14002 when arg `edit' is non-nil to prevent its flicker in the echo area.
14003
fb87e0fb
CY
140042011-08-28 Chong Yidong <cyd@stupidchicken.com>
14005
14006 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14007 obsolete packages for deletion.
14008
09ac1c2a
CS
140092011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14010
14011 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 14012 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
14013 view-mode from help-mode.
14014 (help-xref-override-view-map): Remove.
14015 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14016 view-mode is not used anymore.
14017
7a1ff57f
CY
140182011-08-28 Chong Yidong <cyd@stupidchicken.com>
14019
14020 * server.el (server-port): Doc fix.
14021
b9696605
CY
14022 * cus-theme.el (custom-theme-choose-mode): Inherit from
14023 special-mode (Bug#9124).
14024 (custom-theme-choose-mode-map): Add special-mode to parent.
14025
ef8cdf8c
AM
140262011-08-28 Alan Mackenzie <acm@muc.de>
14027
14028 * progmodes/cc-fonts.el
14029 (c-make-font-lock-BO-decl-search-function): New function.
14030 (c-basic-matchers-after - "Fontify the clauses after various
14031 keywords"): Extract the three keyword lists for the 3 erroneous
14032 constructs from the list of four, and use the new function above
14033 in place of an old one.
14034
27de4e20
DD
140352011-08-28 Deniz Dogan <deniz@dogan.se>
14036
14037 * net/rcirc.el (rcirc-insert-prev-input)
14038 (rcirc-insert-next-input): Remove unused argument.
14039
356a3681
SM
140402011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14041
14042 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14043
3fc9b218
AM
140442011-08-27 Alan Mackenzie <acm@muc.de>
14045
14046 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14047 handle function pointer parameters properly.
14048
538a061c
MR
140492011-08-27 Martin Rudalics <rudalics@gmx.at>
14050
14051 * window.el (display-buffer-reuse-window): Fix case where
14052 selected window was reused with non-nil OTHER-WINDOW argument.
14053 (Bug#9381)
14054
35b1c40c
DD
140552011-08-27 Deniz Dogan <deniz@dogan.se>
14056
14057 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14058 oftc's NickServ messages.
14059
2f6a3e79
GM
140602011-08-27 Glenn Morris <rgm@gnu.org>
14061
14062 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14063
7254299e
CY
140642011-08-26 Chong Yidong <cyd@stupidchicken.com>
14065
14066 * emacs-lisp/package.el (package-install): Call package-initialize
14067 if called interactively.
14068
f8ccf167
LL
140692011-08-26 Leo Liu <sdl.web@gmail.com>
14070
14071 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14072
3e8cd5ce
JL
140732011-08-25 Juri Linkov <juri@jurta.org>
14074
14075 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14076 `search-whitespace-regexp' (bug#9364).
14077
93eb7113
JL
140782011-08-25 Juri Linkov <juri@jurta.org>
14079
14080 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14081 `regexp-search-ring' to their global values to protect from
14082 updating by `read-from-minibuffer' (bug#9185).
14083
f65d1611
JL
140842011-08-25 Juri Linkov <juri@jurta.org>
14085
14086 * textmodes/ispell.el (ispell-command-loop): Add newline
14087 at the end of the "Use option `i'..." line.
14088
f1cf7a31
JL
140892011-08-25 Juri Linkov <juri@jurta.org>
14090
14091 * battery.el (display-battery-mode): If `battery-status-function'
14092 or `battery-mode-line-format' is nil, display the message and set
14093 `display-battery-mode' to nil (bug#9363).
14094
0c95fcf7
EZ
140952011-08-25 Eli Zaretskii <eliz@gnu.org>
14096
14097 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14098 bidi-string-mark-left-to-right; they are unnecessary now.
14099
a2ebe600
DD
141002011-08-25 Deniz Dogan <deniz@dogan.se>
14101
14102 * net/quickurl.el: Documentation typo fixes.
14103
e4ed06f1
CY
141042011-08-25 Chong Yidong <cyd@stupidchicken.com>
14105
14106 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14107
e5f1c99e
GM
141082011-08-25 Glenn Morris <rgm@gnu.org>
14109
b2948976
GM
14110 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14111
e5f1c99e
GM
14112 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14113 (smtpmail-via-smtp): Handle nil response from smtp.
14114
f22f4808
JL
141152011-08-24 Juri Linkov <juri@jurta.org>
14116
14117 * proced.el (proced-marked): Inherit from `error' instead of
14118 `font-lock-warning-face'.
14119
14120 * ibuffer.el (ibuffer-marked-face): Change default face from
14121 `font-lock-warning-face' to `warning'.
14122 (ibuffer-deletion-face): Change default face from
14123 `font-lock-type-face' to `error'.
14124
14125 * battery.el (battery-update): Use the face `error' instead of
14126 `font-lock-warning-face' (bug#6117).
14127
6a93965e
JL
141282011-08-24 Juri Linkov <juri@jurta.org>
14129
14130 * faces.el (success): Change face color from "Green3" to
14131 "ForestGreen" on light background (bug#9353).
14132
1ed43b09
CY
141332011-08-24 Chong Yidong <cyd@stupidchicken.com>
14134
5664fa7b
RT
14135 * window.el (quit-window): Rename from quit-restore-window.
14136 Use same arglist as old quit-window.
1ed43b09
CY
14137 (frame-auto-delete): Doc fix.
14138
14139 * view.el (view-mode-exit): Use quit-window.
14140
11dcdbb2
JL
141412011-08-24 Juri Linkov <juri@jurta.org>
14142
14143 * isearch.el (isearch-ring-adjust1): Start visiting previous
14144 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14145 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14146 for empty search string (when the last search string is reused
14147 automatically) to adjust the isearch ring to the last element and
14148 prepare the correct index for further M-p commands (bug#9185).
14149
de62b4df
KH
141502011-08-24 Kenichi Handa <handa@m17n.org>
14151
14152 * international/ucs-normalize.el: If decomposition property of
14153 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14154 nil.
14155 (nfd, nfkd): Likewise.
14156
963b492b
SM
141572011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14158
14159 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14160 from process filters aren't reliably transmitted to the surrounding
14161 accept-process-output.
14162 (mpc-proc-check): New function.
14163 (mpc-proc-sync): Use it (bug#8293)
14164
93b6b5e1
SM
141652011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14166
14167 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14168 Add compatibility functions (bug#9313).
14169
bca633fb
EZ
141702011-08-23 Eli Zaretskii <eliz@gnu.org>
14171
b177498a
EZ
14172 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14173
6df6ae42 14174 * international/uni-bidi.el: Regenerate.
bca633fb 14175
0902a04e
KH
141762011-08-23 Kenichi Handa <handa@m17n.org>
14177
14178 * international/charprop.el:
14179 * international/uni-bidi.el:
14180 * international/uni-category.el:
14181 * international/uni-combining.el:
14182 * international/uni-comment.el:
14183 * international/uni-decimal.el:
14184 * international/uni-decomposition.el:
14185 * international/uni-digit.el:
14186 * international/uni-lowercase.el:
14187 * international/uni-mirrored.el:
14188 * international/uni-name.el:
14189 * international/uni-numeric.el:
14190 * international/uni-old-name.el:
14191 * international/uni-titlecase.el:
14192 * international/uni-uppercase.el: Regenerate.
14193
3bbf23bc
MR
141942011-08-23 Martin Rudalics <rudalics@gmx.at>
14195
14196 * help.el (help-window-setup): Fix message displayed when other
14197 window is reused. (Bug#9341)
14198
b3fd59bd
SM
141992011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14200
1802e444
SM
14201 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14202 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14203
b3fd59bd
SM
14204 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14205 Mark obsolete.
14206 * shell.el (shell-parse-pcomplete-arguments): New function.
14207 (shell-completion-vars): Use it instead (bug#9160).
14208
4eb61348
SM
142092011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14210
867cab74
SM
14211 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14212 strings and comments (bug#9333).
14213
4eb61348
SM
14214 * emacs-lisp/debug.el (debug-arglist): New function.
14215 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14216 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14217
262a1439
JL
142182011-08-22 Juri Linkov <juri@jurta.org>
14219
56ee679c
JL
14220 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14221 Revert regexp that highlights output switches to its old
14222 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14223
262a1439
JL
14224 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14225 to check for empty output (bug#9226).
14226
f13f86fb
CY
142272011-08-22 Chong Yidong <cyd@stupidchicken.com>
14228
14229 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14230 symbol-constituent as the default, as that stops font-lock from
14231 working properly (Bug#8843).
14232
c65c9622
LMI
142332011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14234
14235 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14236 `coding-system-for-*' around the process open call to avoid
14237 auth-source side effects.
e7f2c178 14238 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
14239 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14240 probe hangs.
c65c9622 14241
23a8a5ab
CY
142422011-08-21 Chong Yidong <cyd@stupidchicken.com>
14243
ff98b2dd
CY
14244 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14245
23a8a5ab
CY
14246 * emacs-lisp/find-func.el (find-function-noselect): New arg
14247 lisp-only.
14248
14249 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14250 signal an error for built-in functions (Bug#6664).
14251
f5e3c598
LMI
142522011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14253
14254 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14255 (smtpmail-try-auth-methods): Use it.
14256
a3f2468a
CY
142572011-08-21 Chong Yidong <cyd@stupidchicken.com>
14258
2c34e8da
CY
14259 * font-lock.el (font-lock-fontify-region)
14260 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14261 (font-lock-default-unfontify-buffer)
14262 (font-lock-default-fontify-region)
14263 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14264
b3fd59bd
SM
14265 * progmodes/compile.el (compilation-error-properties):
14266 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
14267 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14268 `ant' regexp.
ee31aabc 14269
a3f2468a
CY
14270 * net/browse-url.el (browse-url-firefox): Don't call
14271 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14272
8e999f70
GM
142732011-08-20 Glenn Morris <rgm@gnu.org>
14274
c21a496a
GM
14275 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14276
59ee0542
GM
14277 * tutorial.el (tutorial--default-keys): Update some default bindings.
14278
8e999f70
GM
14279 * files.el (hack-local-variables): Fully ignore case for "mode:".
14280
e3715033
AM
142812011-08-20 Alan Mackenzie <acm@muc.de>
14282
14283 Resolve invalid use of a regexp in regexp-opt.
14284
4d61f28d
JB
14285 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14286 detection for a java annotation.
e3715033 14287
4d61f28d 14288 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
14289 detection for a java annotation.
14290
4d61f28d
JB
14291 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14292 handling for java.
e3715033
AM
14293 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14294
04ed2e9c
CY
142952011-08-20 Chong Yidong <cyd@stupidchicken.com>
14296
14297 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14298 (Bug#9274).
14299
826cee64
AM
143002011-08-20 Alan Mackenzie <acm@muc.de>
14301
58179cce 14302 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
14303 such a construct. Mainly for when jit-lock etc. starts a chunk
14304 here.
14305
58179cce 14306 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 14307 variable.
58179cce 14308 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
14309 c-make-font-lock-search-function.
14310 (c-make-font-lock-search-function): Use the above function.
14311 (c-make-font-lock-context-search-function): New function.
14312 (c-cpp-matchers): Enhance the preprocessor expression case with
14313 the above function
14314 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14315 which takes an expression.
14316
14317 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14318
13009bd8
MR
143192011-08-20 Martin Rudalics <rudalics@gmx.at>
14320
14321 * window.el (display-buffer-reuse-window)
14322 (display-buffer-pop-up-window): Don't reuse or split a side
14323 window.
14324
9234ff7f
GM
143252011-08-19 Glenn Morris <rgm@gnu.org>
14326
14327 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 14328 Downcase "Mode:". (Bug#9331)
9234ff7f 14329
f635daa1
CY
143302011-08-18 Chong Yidong <cyd@stupidchicken.com>
14331
14332 * international/characters.el: Add L and R categories.
14333
14334 * subr.el (bidi-string-mark-left-to-right): Rename from
14335 string-mark-left-to-right. Use category search.
14336
14337 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14338
bc987f8b
JL
143392011-08-18 Juri Linkov <juri@jurta.org>
14340
14341 * faces.el (error, warning, success): New faces with definitions
14342 copied from old default values of `font-lock-warning-face',
14343 `compilation-warning', `compilation-info' (bug#6117).
14344
14345 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14346
14347 * progmodes/compile.el (compilation-error): Inherit from `error'.
14348 (compilation-warning): Inherit from `warning'.
14349 (compilation-info): Inherit from `success'.
14350
14351 * dired.el (dired-marked): Inherit from `warning'.
14352 (dired-flagged): Inherit from `error'.
14353
57173b96
LMI
143542011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14355
3e79eb87
LMI
14356 * mail/smtpmail.el (auth-source): Require to avoid problems with
14357 binding variables (bug#9298). Also clean up some unused
14358 autoloads.
14359
b3fd59bd
SM
14360 * net/network-stream.el (network-stream-open-starttls):
14361 Support using starttls.el without using gnutls-cli.
57173b96 14362
02b404de
JL
143632011-08-17 Juri Linkov <juri@jurta.org>
14364
14365 * progmodes/grep.el (rgrep): Handle the case when
14366 `grep-find-command' is a cons cell (bug#9278).
14367
8c9177f2
MR
143682011-08-17 Martin Rudalics <rudalics@gmx.at>
14369
14370 * window.el (display-buffer-pop-up-frame): Run frame creation
14371 function with BUFFER current (as special-display-popup-frame
14372 does). Reported by Drew Adams.
14373
3644a0ab
DU
143742011-08-17 Daiki Ueno <ueno@unixuser.org>
14375
14376 * epa-mail.el: Simplify GnuPG group expansion using
14377 epg-expand-group.
14378 (epa-mail-group-alist, epa-mail-group-modtime)
14379 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14380 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14381 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14382 Remove.
14383
5e617bc2 143842011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
14385
14386 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14387
9c4aeabf
AM
143882011-08-16 Alan Mackenzie <acm@muc.de>
14389
14390 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14391 Correct, to avoid the inside of macros.
14392
3a99bf64
RS
143932011-08-16 Richard Stallman <rms@gnu.org>
14394
04963aa8
RS
14395 * epa-mail.el: Handle GnuPG group definitions.
14396 (epa-mail-group-alist, epa-mail-group-modtime)
14397 (epa-mail-gnupg-conf-file): New variables.
14398 (epa-mail-parse-groups, epa-mail-sync-groups)
14399 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14400 (epa-mail-expand-recipients): New functions.
14401 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14402
177549d0
RS
14403 * mail/rmail.el (rmail-epa-decrypt): New command.
14404
fe38beef
RS
14405 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14406 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
14407 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14408 (epa-decrypt-armor-in-region): Make error message clearer.
14409
934eacb9
SM
144102011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14411
14412 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14413 and "a2b" to "ab" for `prefix'.
14414
d024fb4e
CY
144152011-08-14 Chong Yidong <cyd@stupidchicken.com>
14416
14417 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14418 filter groups.
de148fee
CY
14419 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14420 Fourquet (Bug#8804).
d024fb4e 14421
62f1ca49
JB
144222011-08-12 Juanma Barranquero <lekktu@gmail.com>
14423
14424 * startup.el (argi): Declare as global variable (bug#9275).
14425
9ccaaa4b
CY
144262011-08-12 Chong Yidong <cyd@stupidchicken.com>
14427
14428 * subr.el (string-mark-left-to-right): Search the entire string
14429 for RTL script, not just the terminating character. Doc fix.
14430
a3dae87a
SM
144312011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14432
6cd18349
SM
14433 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14434 New function.
14435 (js--regexp-literal, js-syntax-propertize-function): Remove.
14436 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14437 (js-mode-map): Don't rebind electric keys.
14438 (js-insert-and-indent): Remove.
14439 (js-mode): Setup electric-layout and electric-indent instead.
14440
a3dae87a
SM
14441 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14442
9d5cb631
DU
144432011-08-12 Daiki Ueno <ueno@unixuser.org>
14444
14445 * epa.el (epa-progress-callback-function): Fix the logic of
14446 displaying progress.
14447 * epa-file.el (epa-file-insert-file-contents): Make progress
14448 display more user-friendly.
14449 (epa-file-write-region): Ditto.
14450
3e26a4a2
CY
144512011-08-10 Chong Yidong <cyd@stupidchicken.com>
14452
14453 * subr.el (string-mark-left-to-right): New function.
14454
14455 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14456 Use string-mark-left-to-right.
14457 (list-buffers-noselect): Caller changed.
14458
a3dae87a
SM
14459 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14460 Use string-mark-left-to-right.
3e26a4a2
CY
14461 (tabulated-list-print): Recenter after moving point.
14462
ac8cf6e6
JL
144632011-08-10 Juri Linkov <juri@jurta.org>
14464
14465 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14466 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14467 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14468
8d96c9a4
CY
144692011-08-09 Chong Yidong <cyd@stupidchicken.com>
14470
14471 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14472 (Bug#7554).
14473
7be1c708 144742011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
14475
14476 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14477 character. (Bug#6594)
14478
37e11a63
CY
144792011-08-08 Chong Yidong <cyd@stupidchicken.com>
14480
839dde57
CY
14481 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14482 (image-dired--with-db-file): New macro.
14483 (image-dired-write-tags, image-dired-remove-tag)
14484 (image-dired-create-gallery-lists, image-dired-write-comments)
14485 (image-dired-get-comment, image-dired-mark-tagged-files)
14486 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14487 (image-dired-gallery-generate): Use insert-file-contents.
14488
37e11a63
CY
14489 * time.el (display-time-world-list, display-time-world-display):
14490 * time-stamp.el (time-stamp-string):
14491 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14492 set-time-zone-rule (Bug#7337).
14493
0b4946c4
DU
144942011-08-08 Daiki Ueno <ueno@unixuser.org>
14495
14496 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14497 (epg-error-to-string, epg-errors-to-string): New function.
14498 (epg-wait-for-completion): Reverse errors list.
14499 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14500 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14501 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14502 (epg-sign-keys, epg-generate-key-from-file)
14503 (epg-generate-key-from-string): Format errors by using
14504 epg-errors-to-string (bug#9255).
14505 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14506
75bfc667
JL
145072011-08-07 Juri Linkov <juri@jurta.org>
14508
14509 * faces.el (list-faces-display): Remove extra angle bracket
14510 from `help-mode-map'.
14511
14512 * info.el (Info-history-toc-nodes): Doc fix.
14513
14514 * longlines.el (longlines-mode): Doc fix.
14515
673e08bb
SM
145162011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14517
4640dd88
SM
14518 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14519 of statements and in a few more cases (bug#9183).
14520
673e08bb
SM
14521 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14522 New functions.
14523 (cl-transform-lambda): Use them (bug#9239).
14524
89b3f019
MR
145252011-08-05 Martin Rudalics <rudalics@gmx.at>
14526
14527 * window.el (display-buffer-same-window)
14528 (display-buffer-same-frame, display-buffer-other-window)
14529 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14530 (pop-to-buffer-other-window)
14531 (pop-to-buffer-same-frame-other-window)
14532 (pop-to-buffer-other-frame): Make them defuns.
14533 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14534
640c8776
SM
145352011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14536
14537 * subr.el (make-composed-keymap): Move from C. Change calling
14538 convention, and improve docstring to bring attention to a subtle point.
14539 * minibuffer.el (completing-read-default): Adjust accordingly.
14540
63648a95
MA
145412011-08-03 Michael Albinus <michael.albinus@gmx.de>
14542
14543 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14544 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14545
14546 * net/trampver.el: Update release number.
14547
b796c9b7
SM
145482011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14549
14550 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14551 "in" (bug#9190).
14552
2239d7d5
LMI
145532011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14554
e07dd7c3
LMI
14555 * mail/sendmail.el (sendmail-query-once): Restore the current
14556 buffer after querying (bug#9074).
14557
0e6a2bd7
LMI
14558 * dired.el (dired-flagged): Use different faces for marked and
14559 flagged files (bug#6117).
14560
ce887515
LMI
14561 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14562 (bug#4433).
14563
92f2affc
LMI
14564 * ido.el (ido-mode): Switch off the message if called
14565 non-interactively.
14566
57d5aff0
LMI
14567 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14568 before 587, since it appears that that's more likely to work for
14569 more people.
14570
98cd6c18 14571 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 14572 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
14573 exist.
14574
b96dec83
LMI
14575 * info.el: Remove the `Info-beginning-of-buffer' function
14576 (bug#8325).
14577
b796c9b7
SM
14578 * net/network-stream.el (network-stream-open-starttls):
14579 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 14580
d90e2ea0
MR
145812011-08-01 Martin Rudalics <rudalics@gmx.at>
14582
14583 * window.el (display-buffer-in-window): Don't set dedicated status
14584 of window here (Bug#9215).
14585 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14586 (display-buffer-pop-up-side-window)
b796c9b7 14587 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 14588
cca09170
SM
145892011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14590
14591 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14592 before binding generated-autoload-file.
14593
027b979c
DD
145942011-08-01 Deniz Dogan <deniz@dogan.se>
14595
14596 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14597
3c7ee4f3
MA
145982011-07-30 Michael Albinus <michael.albinus@gmx.de>
14599
14600 Sync with Tramp 2.2.2.
14601
14602 * net/trampver.el: Update release number.
14603
2cc8e51a
JL
146042011-07-30 Juri Linkov <juri@jurta.org>
14605
14606 * dired-aux.el (dired-touch-initial): Remove function.
14607 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14608 current time, and `default' to the last modification time of the
14609 current marked file (bug#6887).
14610
a514d856
JM
146112011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14612
14613 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 14614 numeric argument to read-number (bug#9163).
a514d856 14615
8a7eddd7
MA
146162011-07-27 Michael Albinus <michael.albinus@gmx.de>
14617
14618 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14619 connection process, it could be nil.
14620
1ddd96f5
LL
146212011-07-27 Leo Liu <sdl.web@gmail.com>
14622
14623 Simplify url handling in rcirc-mode.
14624
14625 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14626 (rcirc-browse-url-at-mouse): Remove.
14627 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14628
b248a85d
AM
146292011-07-26 Alan Mackenzie <acm@muc.de>
14630
14631 Fontify bitfield declarations properly.
14632
14633 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14634 (c-symbol-chars): Now exported as a lang variable.
14635 (c-not-primitive-type-keywords): New lang variable.
14636
14637 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14638 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 14639 parsed as a bitfield declaration.
b248a85d 14640
b796c9b7
SM
14641 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14642 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
14643 (c-punctuation-in): New function.
14644 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14645 declarations properly.
14646
68575ab0
UJ
146472011-07-26 Ulf Jasper <ulf.jasper@web.de>
14648
14649 * calendar/icalendar.el (icalendar--all-events): Take care of
14650 multiple vcalendars in a single file.
b796c9b7 14651 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 14652
0f0a88b9
DD
146532011-07-25 Deniz Dogan <deniz@dogan.se>
14654
14655 * image.el (insert-image): Clarifying docstring.
14656
0b3f36df
MA
146572011-07-24 Michael Albinus <michael.albinus@gmx.de>
14658
14659 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14660 `tramp-send-command-and-check' if there is no error.
14661 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14662
a9901f61
AM
146632011-07-22 Alan Mackenzie <acm@muc.de>
14664
14665 Prevent cc-langs.elc being loaded at run time.
14666
14667 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14668 cc-langs.
14669
4d61f28d 14670 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
14671 "(require 'cc-langs)". Quote a form so it will evaluate at
14672 (cc-mode's) compilation time.
14673
11d074b2
MA
146742011-07-22 Michael Albinus <michael.albinus@gmx.de>
14675
14676 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14677 loading. (Bug#9114)
14678
938b94c8
MR
146792011-07-21 Martin Rudalics <rudalics@gmx.at>
14680
14681 * window.el (display-buffer-pop-up-window)
14682 (display-buffer-pop-up-side-window)
14683 (display-buffer-in-side-window): Call display-buffer-set-height
14684 and display-buffer-set-width after setting the new window's
b796c9b7 14685 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 14686
bfa4f190
SS
146872011-07-20 Sam Steingold <sds@gnu.org>
14688
14689 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14690 (etags-tags-included-tables): Call `convert-standard-filename' on
14691 the file names contained in TAGS so that windows Emacs can handle
14692 TAGS files created by cygwin ctags.
14693
8ca42262
LMI
146942011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14695
14696 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14697 which apparently didn't work.
14698
5db2afd2 146992011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 14700
5db2afd2
RW
14701 * proced.el (proced-send-signal): For *Marked Processes* buffer
14702 put point at beginning of buffer.
14703
92e15d10
SB
147042011-07-19 Stephen Berman <stephen.berman@gmx.net>
14705
14706 * proced.el (proced-format): Make header lines align with the text
14707 (bug#1779).
14708
1bfd59e5
LMI
147092011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14710
14711 * view.el (view-buffer): Allow running in `special' modes if we're
14712 visiting a file (bug#8615).
14713
f5aae37c
MR
147142011-07-19 Martin Rudalics <rudalics@gmx.at>
14715
14716 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
14717 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14718 New functions.
f5aae37c
MR
14719 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14720 more accurately.
14721
bf2c1571
AM
147222011-07-18 Alan Mackenzie <acm@muc.de>
14723
14724 Fontify declarators properly when, e.g., a jit-lock chunk begins
14725 inside a declaration.
14726
14727 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14728
b796c9b7
SM
14729 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14730 New function.
bf2c1571
AM
14731 (c-complex-decl-matchers): Insert reference to
14732 c-font-lock-enclosing-decls.
14733
14734 * progmodes/cc-engine.el (c-backward-single-comment):
14735 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14736 to nil around calls to (forward-comment -1).
14737
4e190b80
LMI
147382011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14739
12dc863d
LMI
14740 * image.el (put-image): Doc typo fix.
14741
a762e966
LMI
14742 * progmodes/etags.el (tags-search): Doc typo fix.
14743
4e190b80
LMI
14744 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14745 password if we get errors 550 to 554.
14746
f019fb21
LMI
147472011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14748
b796c9b7 14749 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 14750
81746738
LMI
14751 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14752 indentation character (bug#6380).
14753
3ee3a1b5
LMI
14754 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14755
c82f64de
LMI
14756 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14757 to clarify what the problem is (bug#4291).
14758
f019fb21
LMI
14759 * simple.el (current-kill): Clarify what
14760 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
14761 (auto-fill-mode): Document `auto-fill-function' in relation to
14762 `auto-fill-mode' (bug#2470).
f019fb21 14763
0794775d
LM
147642011-07-16 Lawrence Mitchell <wence@gmx.li>
14765
14766 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14767 method if slot is read-only (bug#9035).
14768
be39b8cc
MR
147692011-07-16 Martin Rudalics <rudalics@gmx.at>
14770
b796c9b7 14771 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 14772 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
14773 selected before, see discussion of (Bug#8615), (Bug#6954).
14774 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 14775
6ccf7859
GM
147762011-07-15 Glenn Morris <rgm@gnu.org>
14777
14778 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 14779 Respect help-form.
6ccf7859 14780
87e86684
LM
147812011-07-09 Lawrence Mitchell <wence@gmx.li>
14782
14783 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14784 (gnutls-negotiate): Use it.
14785
d6066239
LMI
147862011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14787
b796c9b7
SM
14788 * net/gnutls.el (gnutls-negotiate):
14789 Upcase `gnutls-algorithm-priority'.
d6066239 14790
bd23ebc0
GM
147912011-07-15 Glenn Morris <rgm@gnu.org>
14792
c65bca65
GM
14793 * jka-compr.el (jka-compr-verbose): Move from here...
14794 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14795 Add missing :version tag.
14796 * info.el: No need to require jka-compr when compiling.
bd23ebc0 14797
478615cc
LMI
147982011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14799
7b41decb
LMI
14800 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14801 (gnutls-negotiate): Use it.
14802
dbc44fcd
LMI
14803 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14804
06789f97
LMI
14805 * info.el (Info-beginning-of-buffer): New command.
14806 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14807 announcing `b' as the key (bug#8325).
ab896c37 14808 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 14809
c39da690
LMI
14810 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14811
3aa5f34b
LMI
14812 * international/mule-cmds.el
14813 (describe-specified-language-support): Make the error message
14814 clearer (bug#8905).
14815
4bf0979f
LMI
14816 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14817
478615cc
LMI
14818 * isearch.el (isearch-barrier): Add a doc string, since it's
14819 mentioned in a function doc string (bug#8678).
14820
75c68aa1
MR
148212011-07-15 Martin Rudalics <rudalics@gmx.at>
14822
14823 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14824 buffer argument (Bug#9083) and self-identifying label argument.
14825
a7c33da2
GM
148262011-07-15 Glenn Morris <rgm@gnu.org>
14827
14828 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14829
2f5c6024
LMI
148302011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14831
14832 * man.el (Man-fontify-manpage): Fix message when formatting the
14833 man page (bug#7929).
14834
0bb23927 148352011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
14836
14837 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14838 argument LRM; if non-nil, append an invisible LRM character to the
14839 buffer name.
14840 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14841 last argument non-nil, when formatting buffer names.
0bb23927
EZ
14842 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14843 paragraph direction.
cce4b0a7 14844
621ef9ab
LMI
148452011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14846
d1583c48
LMI
14847 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14848 the man page name (bug#7929).
14849
6a57fb5f
LMI
14850 * image.el (put-image): Mention the `put-image' overlay property
14851 (bug#7834).
14852
d7956b14
LMI
14853 * scroll-bar.el (set-scroll-bar-mode): Mention that
14854 `scroll-bar-mode' lists the values (bug#7772).
14855
5b2d4a66
LMI
14856 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14857 command (bug#7729).
14858
7509a874
LMI
14859 * rect.el (apply-on-rectangle): Return the point after the last
14860 operation.
14861 (string-rectangle): Go to the point after the last operation
14862 (bug#7522).
14863
4fe74b19
LMI
14864 * printing.el (pr-toggle-region): Clarify the documentation
14865 slightly (bug#7493).
14866
b796c9b7
SM
14867 * time.el (display-time-update):
14868 Allow `display-time-mail-function' to return nil (bug#7158).
14869 Fix suggested by Detlev Zundel.
ab283561 14870
fc233c9d
LMI
14871 * vc/diff.el (diff): Clarify the order the file names are read
14872 (bug#7111).
14873
43f5740b
LMI
14874 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14875 the doc string (bug#7015).
14876
f2182a76
LMI
14877 * font-lock.el (font-lock-maximum-decoration): Mention what
14878 numeric levels mean (bug#6935).
14879
621ef9ab
LMI
14880 * startup.el (initial-buffer-choice): Don't mention the `none'
14881 selection, which is against policy.
14882
adc47434
MR
148832011-07-14 Martin Rudalics <rudalics@gmx.at>
14884
b796c9b7
SM
14885 * window.el (display-buffer-normalize-special):
14886 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 14887
7e5bfb8f
EZ
148882011-07-14 Eli Zaretskii <eliz@gnu.org>
14889
14890 * subr.el (version<, version<=, version=): Mention "-CVS" and
14891 "-12345" alpha version numbers.
14892
27fa387a
CY
148932011-07-14 Chong Yidong <cyd@stupidchicken.com>
14894
14895 * bindings.el: Add advertised binding for set-mark-command
14896 (Bug#5772).
14897
8bdfa064
CY
148982011-07-14 Chong Yidong <cyd@stupidchicken.com>
14899
14900 * bindings.el (mode-line-other-buffer):
14901 * bookmark.el (bookmark-bmenu-2-window):
14902 * bs.el (bs-cycle-next, bs-cycle-previous):
14903 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14904 switch-to-buffer.
14905
14906 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 14907 Delete.
8bdfa064 14908
5eba16a3
JB
149092011-07-14 Juanma Barranquero <lekktu@gmail.com>
14910
14911 * follow.el (follow-debug-message, follow-redisplay):
14912 * jka-cmpr-hook.el (with-auto-compression-mode):
14913 Fix typos in docstrings.
14914
15853710
LMI
149152011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14916
a28e4607
LMI
14917 * subr.el (with-silent-modifications): Clarify somewhat what the
14918 macro inhibits (bug#6525).
14919
15853710
LMI
14920 * simple.el (eval-expression): Note what it does if called
14921 interactively (bug#6495).
14922
bee0fcef
CY
149232011-07-13 Chong Yidong <cyd@stupidchicken.com>
14924
b796c9b7
SM
14925 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14926 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
14927
14928 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14929 Remove switch-to-buffer.
14930
58274504
LMI
149312011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14932
bd2fcc8d
LMI
14933 * files.el (make-directory): Clarify that an error will be raised
14934 if there's an error (bug#6397).
14935
0f04b32c
LMI
14936 * startup.el (initial-buffer-choice): Add `none' as a choice
14937 (bug#6234).
14938
465c5fc8
LMI
14939 * subr.el (add-hook): Clarify section about buffer-local hooks
14940 (bug#6218).
14941
58274504
LMI
14942 * dired.el (dired-flagged): Clarify doc string (bug#6117).
14943
bead9a43
JB
149442011-07-13 Juanma Barranquero <lekktu@gmail.com>
14945
14946 * tabify.el (untabify): Preserve the current column so that point
14947 doesn't move (bug#6032).
14948
3af98a7b
LMI
149492011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14950
b796c9b7
SM
14951 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14952 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 14953
6240145a
GM
149542011-07-13 Glenn Morris <rgm@gnu.org>
14955
14956 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
14957 (dired-insert-directory): Give a message the first time
14958 if ls is found not to support --dired.
14959
1d8c2ccc
LMI
149602011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14961
14962 * simple.el (toggle-truncate-lines): Clarify what is toggled
14963 (bug#5580). Text by Drew Adams.
14964
5fc4038e
CY
149652011-07-13 Chong Yidong <cyd@stupidchicken.com>
14966
14967 * simple.el (blink-matching-open): Make the error message from the
14968 last change less verbose.
14969
bf6012e5
DN
149702011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
14971
14972 * font-lock.el (font-lock-comment-face): Use the high contrast
14973 "yellow" color for font-lock-comment-face on low color terminals
14974 using a dark background color (bug#4221).
14975
343c3b5a
LMI
149762011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14977
7e9505c5
LMI
14978 * dired.el (dired-insert-set-properties): Make the doc string
14979 reflect what it does now (bug#5325).
14980
c26fdcf5
LMI
14981 * simple.el (blink-matching-open): Say that we were unable to find
14982 the match within the limit, if we're limited (bug#5122).
14983
bb388cc5
LMI
14984 * international/mule-cmds.el (prefer-coding-system): Add an
14985 example (bug#4869).
14986
343c3b5a
LMI
14987 * progmodes/etags.el (tags-search): Document `file-list-form'
14988 (bug#4731).
14989
2a517d45
LM
149902011-07-13 Lawrence Mitchell <wence@gmx.li>
14991
14992 * net/browse-url.el (browse-url-default-browser)
14993 (browse-url-browser-function): Make the default browser choice a
14994 bit more logical (bug#4300). Also clean up the doc string.
14995
b6c78ef2
JB
149962011-07-13 Juanma Barranquero <lekktu@gmail.com>
14997
14998 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14999 binary endings (bug#4440).
15000
1c4dd947
LMI
150012011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15002
a2014063
LMI
15003 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15004 which can be pretty annoying (bug#8971).
15005
9c9c2d88
LMI
15006 * jka-compr.el (jka-compr-verbose): New variable, and use
15007 throughout (bug#8971).
15008
1c4dd947
LMI
15009 * info.el (Info-find-file): Fall back on the installation
15010 directory if we can't find the info node anywhere else.
15011
a1c9f41b
SO
150122011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15013
15014 * vc/vc.el (vc-revert-file):
15015 Don't set file time-stamp in the past. (Bug#5181)
15016
536f3d36
LMI
150172011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15018
7152b011
LMI
15019 * files.el (after-find-file): Give a better error message when
15020 trying to find a symlink that points to a file that doesn't exist
15021 (bug#4398).
15022
536f3d36
LMI
15023 * progmodes/cc-vars.el: Remove (probably) misleading comment
15024 (bug#4396).
15025
460c0fba
JB
150262011-07-12 Johan Bockgård <bojohan@gnu.org>
15027
15028 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15029
7a6bda45
CY
150302011-07-12 Chong Yidong <cyd@stupidchicken.com>
15031
15032 * mouse-sel.el: Hack restoring functionality, while keeping
15033 compatibility with 2010-07-03 changes to mouse selection.
15034 (mouse-sel-primary-overlay): New var.
15035 (mouse-sel-selection-alist): Use it.
15036 (mouse-sel-mode): Doc fix; remove points that are default features
15037 of mouse.el.
15038
c79598ef
JB
150392011-07-12 Johan Bockgård <bojohan@gnu.org>
15040
15041 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15042 Fix previous fix (bug#2490).
15043
ff8be6ef
RW
150442011-07-12 Roland Winkler <winkler@gnu.org>
15045
b796c9b7
SM
15046 * textmodes/bibtex.el (bibtex-initialize):
15047 Use pop-to-buffer-same-window.
ff8be6ef
RW
15048 (bibtex-search-entries): Fix interactive call.
15049
296ba3ee
LMI
150502011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15051
f5242a02 15052 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
15053 Fontise bytecomp Error lines more correctly (bug#2490).
15054 Fix suggested by Johan Bockgård.
f5242a02 15055
296ba3ee
LMI
15056 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15057
15058 * dired-x.el (dired-guess-default): Use `delete-dups'.
15059
f69fd0d2
CY
150602011-07-12 Chong Yidong <cyd@stupidchicken.com>
15061
15062 * dired.el (dired-mark-prompt):
15063 * dired-aux.el (dired-read-shell-command): Doc fix.
15064
eab5dc07
LMI
150652011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15066
b796c9b7
SM
15067 * mail/sendmail.el (sendmail-query-once):
15068 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
15069 emacs -Q.
15070
15071 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15072
eab5dc07
LMI
15073 * cus-edit.el (custom-file): Take an optional no-error variable.
15074 (customize-save-variable): Set the variable, and give a warning if
15075 running under "emacs -q".
15076
a1e65d42
JB
150772011-07-11 Juanma Barranquero <lekktu@gmail.com>
15078
15079 * loadhist.el (unload-feature-special-hooks):
15080 Add `auto-coding-functions', `fill-nobreak-predicate' and
15081 `find-directory-functions' (bug#5327).
15082
1d52da10
LMI
150832011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15084
be958f1d
LMI
15085 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15086
5bedb26c
LMI
15087 * cus-edit.el (custom-guess-name-alist): -alist variables should
15088 use the `alist' type (bug#3120). Suggested by Drew Adams.
15089
1d52da10
LMI
15090 * printing.el: Add documentation to all the `pr-toggle-' commands.
15091
cd394be1 150922011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
15093
15094 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15095 backends where it makes sense (bug#2623).
15096
dcc88d8a
LMI
150972011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15098
c3de9feb
LMI
15099 * dired-x.el (dired-guess-default): Remove duplicate shell command
15100 entries (bug#2028).
8a93078b 15101 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 15102 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 15103
dcc88d8a
LMI
15104 * subr.el (remove-duplicates): New conveniency function.
15105
505e3645
LMI
151062011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15107
15108 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15109 (bug#1526).
15110
151112011-07-10 Martin Rudalics <rudalics@gmx.at>
15112
15113 * window.el (display-buffer-normalize-default): Don't invert
15114 meaning of even-window-heights. Reported by Eli Zaretskii
15115 <eliz@gnu.org>.
15116
455e4fa1
BR
151172011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15118
15119 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15120
8e0bc3e9
CY
151212011-07-10 Chong Yidong <cyd@stupidchicken.com>
15122
15123 * window.el (display-buffer): Fix arguments to
15124 display-buffer-reuse-window in last change.
15125
fa7c3228
CY
15126 * faces.el (link): Use a less saturated blue on light backgrounds.
15127
15128 * startup.el (fancy-startup-text, fancy-about-text)
15129 (fancy-startup-tail): Use font-lock faces, for background safety.
15130
c0a7f300
BN
151312011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15132
b796c9b7
SM
15133 * emulation/viper-cmd.el (viper-change-state-to-vi):
15134 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 15135
4dc2a129
MR
151362011-07-09 Martin Rudalics <rudalics@gmx.at>
15137
15138 * window.el (display-buffer-default-specifiers): Remove.
15139 (display-buffer-macro-specifiers): Remove default specifiers.
15140 (display-buffer-alist): Default to nil.
b796c9b7 15141 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
15142 (display-buffer-pop-up-window): Allow splitting internal
15143 windows. Check whether a live window was created.
15144 (display-buffer-other-window-means-other-frame)
15145 (display-buffer-normalize-arguments): Rename to
15146 display-buffer-normalize-argument and rewrite. Set the
15147 other-window specifier.
15148 (display-buffer-normalize-special): New function.
15149 (display-buffer-normalize-options): Rename to
15150 display-buffer-normalize-default and rewrite.
15151 (display-buffer-normalize-options-inhibit): Remove.
15152 (display-buffer-normalize-specifiers): Rewrite.
15153 (display-buffer): Process other-window specifier and call
15154 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15155 more faithfully.
b796c9b7 15156 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 15157 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
15158 (display-buffer-in-window, display-buffer-alist-set):
15159 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
15160 <tassilo@member.fsf.org>.
15161
2d43b8c9
LL
151622011-07-09 Leo Liu <sdl.web@gmail.com>
15163
15164 * register.el (insert-register): Restore accidental change on
15165 2011-06-26. (Bug#9028)
15166
7f9b7c53
GM
151672011-07-09 Glenn Morris <rgm@gnu.org>
15168
15169 * subr.el (remq): Handle the empty list. (Bug#9024)
15170
f042cfd8
AS
151712011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15172
15173 * mail/sendmail.el (send-mail-function): No longer delay custom
15174 initialization.
15175 * custom.el (custom-initialize-delay): Doc fix.
15176
856b2f11
SM
151772011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15178
15179 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15180
afae1d68
MA
151812011-07-08 Michael Albinus <michael.albinus@gmx.de>
15182
15183 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15184 human-friendly prompt.
15185
0757af94
SM
151862011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15187
15188 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15189 provided by a particular plugin.
15190
d760b731
LMI
151912011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15192
15193 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15194 save customizations (with "emacs -Q"), just set the variable
15195 instead of erroring out.
15196
15197 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15198
cd79ce90
JL
151992011-07-08 Juri Linkov <juri@jurta.org>
15200
15201 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15202 (archive-zip-update-case): Use 7z if found by `executable-find'.
15203 The order of searching the available programs is the same as in
15204 `archive-zip-extract' (bug#8968).
15205
14cc04aa
CY
152062011-07-07 Chong Yidong <cyd@stupidchicken.com>
15207
15208 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15209 (menu-bar-options-menu): Tweak descriptions.
15210
0a1848ec
LMI
152112011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15212
15213 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15214 menu items into verb phrases (bug#1421). Also refill to fit under
15215 80 columns.
15216
f5bd0689
CY
152172011-07-07 Chong Yidong <cyd@stupidchicken.com>
15218
538e85c6
CY
15219 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15220 (Info-read-node-name): Doc fix (Bug#1084).
15221
f5bd0689
CY
15222 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15223 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15224 (end-of-sexp, beginning-of-sexp)
15225 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15226 (forward-symbol, forward-same-syntax, word-at-point)
15227 (sentence-at-point): Doc fix (Bug#1144).
15228
56ec5115
LMI
152292011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15230
f3f8e37f
LMI
15231 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15232 should cover it (bug#1281).
15233
0757af94 15234 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 15235
e9fce1ac 15236 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
15237 negotiation fails, then possibly try again with a non-encrypted
15238 connection (bug#9017).
15239
56ec5115
LMI
15240 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15241 be used.
15242
c2f9aec8
RS
152432011-07-07 Richard Stallman <rms@gnu.org>
15244
15245 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15246 property, and handle its changed format.
15247 Look for the correct line number.
15248 Use file's line contents (but not past first =) to find
15249 correct line in message.
15250
ef7b981d 152512011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
15252
15253 * international/characters.el (build-unicode-category-table):
15254 Delete it.
0757af94 15255 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 15256
0757af94 15257 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
15258 to src/chartab.c.
15259 (get-char-code-property): Call unicode-property-table-internal to
15260 load a file. Call get-unicode-property-internal where necessary.
15261 (put-char-code-property): Call unicode-property-table-internal to
15262 load a file. Call put-unicode-property-internal where necessary.
15263 put-unicode-property-internal where necessary.
0757af94
SM
15264 (char-code-property-description):
15265 Call unicode-property-table-internal to load a file.
c805dec0
KH
15266
15267 * international/charprop.el:
15268 * international/uni-bidi.el:
15269 * international/uni-category.el:
15270 * international/uni-combining.el:
15271 * international/uni-comment.el:
15272 * international/uni-decimal.el:
15273 * international/uni-decomposition.el:
15274 * international/uni-digit.el:
15275 * international/uni-lowercase.el:
15276 * international/uni-mirrored.el:
15277 * international/uni-name.el:
15278 * international/uni-numeric.el:
15279 * international/uni-old-name.el:
15280 * international/uni-titlecase.el:
15281 * international/uni-uppercase.el: Regenerate.
15282
15283 * loadup.el: Load international/charprop.el before
15284 international/characters.
15285
e14b388a
CY
152862011-07-07 Chong Yidong <cyd@stupidchicken.com>
15287
15288 * window.el (next-buffer, previous-buffer): Signal an error if
15289 called from a minibuffer window.
15290
15291 * bindings.el: Revert 2011-07-04 change.
15292
354cf0ba
RS
152932011-07-06 Richard Stallman <rms@gnu.org>
15294
15295 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15296 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15297 Treat markers like ints.
15298 (rmail-mime-entity): Doc fix.
15299
a48868a7
LMI
153002011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15301
4906cd3d
LMI
15302 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15303 defcustom again for backwards compatibility.
15304
e0457abe
LMI
15305 * simple.el (shell-command-on-region): Fill.
15306
d67f7e1f
LMI
15307 * dired-aux.el (dired-kill-line): Add a doc string.
15308
fe204702
LMI
15309 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15310 to "\\sw\\|\\s_" (bug#358).
15311
a48868a7
LMI
15312 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15313 (dired-unmark-backward): Ditto.
15314 (dired-flag-backup-files): Ditto.
15315
15316 * dired-x.el (dired-mark-sexp): Ditto.
15317
aa8a705c
RS
153182011-07-06 Richard Stallman <rms@gnu.org>
15319
15320 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15321 (rmail-mime-entity): New arg TRUNCATED.
15322 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15323 New functions.
15324 (rmail-mime-save): Warn if entity is truncated.
15325 (rmail-mime-toggle-hidden): Likewise, for showing.
15326 (rmail-mime-process-multipart): Record when an entity is truncated.
15327
a9a936b9
RS
15328 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15329 if ENTITY is a string.
15330
1f2b92cb
LMI
153312011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15332
f4f73198 15333 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
15334 of faces when `M-C-x'-ing their definitions (bug#8378).
15335 Also clean up the code slightly.
f4f73198 15336
12b16734 15337 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 15338 because that makes the colors go away.
12b16734 15339
f0691d22
LMI
15340 * mail/sendmail.el (send-mail-function): Change the default to
15341 `sendmail-query-once'.
9e87df06 15342 (sendmail-query-once): Add an autoload cookie.
f0691d22 15343
1f2b92cb
LMI
15344 * net/network-stream.el (network-stream-open-starttls): Try using
15345 a plain connection even if the server offered STARTTLS, and we
15346 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15347 capability. This should make smtpmail.el work in slightly more
15348 configurations.
15349
1cdd2a1b
MA
153502011-07-06 Michael Albinus <michael.albinus@gmx.de>
15351
15352 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15353 New defun.
15354 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15355
fbcc67e2
MM
153562011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15357
15358 * progmodes/sql.el: Version 3.0
0757af94 15359 (sql-product-alist): Add product :completion-object,
fbcc67e2 15360 :completion-column, and :statement attributes.
0757af94 15361 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 15362 (sql-mode-syntax-table): Mark all punctuation.
0757af94 15363 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
15364 ansi keywords.
15365 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 15366 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
15367 (sql-oracle-show-reserved-words): New function for development.
15368 (sql-product-font-lock): Simplify for source code buffers.
15369 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15370 New functions.
15371 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
15372 (sql-mode-map): Add statement movement functions.
15373 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15374 New variable.
fbcc67e2
MM
15375 (sql-statement-regexp, sql-beginning-of-statement)
15376 (sql-end-of-statement, sql-signum): New functions.
0757af94 15377 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
15378 (sql-show-sqli-buffer): Bug fix.
15379 (sql-interactive-mode): Store connection data as buffer local.
0757af94 15380 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
15381 with sql-interactive-mode.
15382 (sql-save-connection): Save buffer local settings.
0757af94 15383 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
15384 (sql-product-interactive): Bug fix.
15385 (sql-preoutput-hold): New variable.
15386 (sql-interactive-remove-continuation-prompt): Bug fixes.
15387 (sql-debug-redirect): New variable.
15388 (sql-str-literal): New function.
15389 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 15390 Redesign.
fbcc67e2
MM
15391 (sql-oracle-save-settings, sql-oracle-restore-settings)
15392 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15393 (sql-completion-object, sql-completion-column)
15394 (sql-completion-sqlbuf): New variables.
15395 (sql-build-completions-1, sql-build-completions)
15396 (sql-try-completion): New functions.
15397 (sql-read-table-name): Use them.
15398 (sql-contains-names): New buffer local variable.
15399 (sql-list-all, sql-list-table): Use it.
15400 (sql-oracle-completion-types): New variable.
15401 (sql-oracle-completion-object, sql-sqlite-completion-object)
15402 (sql-postgres-completion-object): New functions.
15403
d4eaeab1
GM
154042011-07-06 Glenn Morris <rgm@gnu.org>
15405
15406 * window.el (pop-to-buffer): Doc fix.
15407
322b7dab 154082011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
15409
15410 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15411
322b7dab 154122011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 15413
322b7dab 15414 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 15415
322b7dab 15416 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 15417
605dd5bf
CY
154182011-07-05 Chong Yidong <cyd@stupidchicken.com>
15419
15420 * button.el (button): Inherit from link face. Suggested by Dan
15421 Nicolaescu.
15422
7dbfa719
SM
154232011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15424
3db614b0
SM
15425 * progmodes/gdb-mi.el: Fit in 80 columns.
15426 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15427 switch-to-buffer.
15428
7dbfa719
SM
15429 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15430 if imenu is simply not configured (bug#8941).
15431
919d884a
KM
154322011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15433
15434 * allout.el (allout-post-undo-hook): New allout outline-change
15435 event hook to signal undo activity.
15436 (allout-post-command-business): Run allout-post-undo-hook if an
15437 undo just occurred.
7dbfa719
SM
15438 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15439 * allout-widgets.el (allout-widgets-after-undo-function):
15440 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
15441 in the vicinity of an undo.
15442 (allout-widgets-mode): Include allout-widgets-after-undo-function
15443 on the new allout-post-undo-hook.
15444
450a0f09
SM
154452011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15446
15447 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15448 Let define-derived-mode define it.
15449 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15450 cycles of abbrev-table inheritance (bug#8998).
15451
2de69e00
RW
154522011-07-05 Roland Winkler <winkler@gnu.org>
15453
15454 * textmodes/bibtex.el: Add support for biblatex.
15455 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15456 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15457 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15458 (bibtex-entry-alist, bibtex-field-alist): New variables.
15459 (bibtex-entry-field-alist): Obsolete alias for
15460 bibtex-BibTeX-entry-alist.
15461 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15462 (bibtex-set-dialect): New command.
15463 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
15464 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15465 Bind via bibtex-set-dialect.
2de69e00
RW
15466 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15467 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15468 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15469 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15470 Define via bibtex-set-dialect.
450a0f09
SM
15471 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15472 Obey bibtex-no-opt-remove-re.
2de69e00
RW
15473 (bibtex-vec-push, bibtex-vec-incr): New functions.
15474 (bibtex-format-entry, bibtex-field-list)
15475 (bibtex-print-help-message, bibtex-validate)
15476 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15477
2dcdbdd9
SM
154782011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15479
15480 * progmodes/compile.el (compilation-goto-locus):
15481 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15482 * bs.el (bs-cycle-next, bs-cycle-previous):
15483 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15484 * bindings.el (mode-line-other-buffer):
15485 * autoinsert.el (auto-insert):
15486 * arc-mode.el (archive-extract):
15487 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15488
b27640fe
JB
154892011-07-05 Juanma Barranquero <lekktu@gmail.com>
15490
15491 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15492 Fix check of `emacs-lock-unlockable-modes'.
15493 Coerce true values of `emacs-lock--try-unlocking' to t.
15494
53bbe3ad
JB
154952011-07-05 Juanma Barranquero <lekktu@gmail.com>
15496
15497 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15498 * emacs-lock.el: New file.
15499
1d3cdbc7
JD
155002011-07-05 Julien Danjou <julien@danjou.info>
15501
15502 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15503 than `boundp' to check if face is set.
15504
9173deec
JB
155052011-07-05 Juanma Barranquero <lekktu@gmail.com>
15506
15507 * register.el (registerv-make):
15508 * window.el (window-min-height): Fix typos in docstrings.
15509
869795d6
JD
155102011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15511
9173deec 15512 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
15513 Update doc string.
15514
b768cdcd
JB
155152011-07-04 Juanma Barranquero <lekktu@gmail.com>
15516
15517 * server.el (server-execute): Catch quit and call
15518 `server-return-error' to pass the error back to emacsclient and
15519 close the connection (bug#8942).
15520
13aa217b
KM
155212011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15522
15523 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15524 insecure exception for current topic. Also note that auto-saves
15525 are handled differently.
15526
5d3385a0 15527 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
15528 State variables for tracking auto-save inhibition situation.
15529
15530 (allout-write-contents-hook-handler): Rename from
15531 'allout-write-file-hook-handler', and describe how it depends on
15532 write-contents-functions sensitivity to non-nil value to prevent
15533 file write.
15534
15535 (allout-auto-save-hook-handler): Remove. auto-save does not check
15536 this in individual buffers, only in the starting buffer, so this
15537 is not the right way for us to inhibit auto-save in a buffer
15538 according to its condition.
15539
15540 (allout-mode): Use new allout-write-contents-hook-handler, and
15541 only with write-contents-functions. Remove auto-save provisions -
15542 they're implemented elsewhere.
15543
15544 (allout-before-change-handler): If undo is in progress, note that
15545 for attention of allout-post-command-business.
15546
15547 (allout-post-command-business): If the command we're following was
15548 an undo, check for change in the status of encrypted items and
15549 adjust auto-save inhibitions accordingly.
15550
15551 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15552 according to whether there are or aren't any plain-text topics
15553 pending encryption.
15554
2dcdbdd9 15555 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
15556 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15557 if there are plain-text topics pending encryption.
13aa217b
KM
15558
15559 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15560 buffer-saved-size and some allout state to not inhibit auto-saves
15561 if there are no longer any plain-text topics pending encryption.
15562
0757af94
SM
15563 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15564 No longer provide for exemption of the current topic.
13aa217b 15565
ac89b32c
JL
155662011-07-04 Juri Linkov <juri@jurta.org>
15567
15568 Add 7z operations to delete and save changed members (bug#8968).
15569 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15570 New defcustoms.
15571 (archive-7z-write-file-member): New function.
15572 (archive-7z-summarize): Fix the number of dashes in the
15573 listing output.
15574
8fa39615
SM
155752011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15576
15577 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15578 (bug#8958).
15579
2f11b3f1
CY
155802011-07-04 Chong Yidong <cyd@stupidchicken.com>
15581
d66fef2b
CY
15582 * bindings.el: Ignore next-buffer and previous-buffer in
15583 minibuffer-local-map.
15584
2f11b3f1
CY
15585 * font-lock.el (font-lock-builtin-face): Change light background
15586 color to dark slate blue (Bug#6693).
15587
f932a347
WD
155882011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15589
15590 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15591
c8af70e1
SM
155922011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15593
15594 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15595 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15596 Add switch-to-buffer.
15597
f158badc
LMI
155982011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15599
15600 * isearch.el (isearch-search-fun-function): Clarify further the
15601 meaning of the function returned.
15602
6d95bd46
MA
156032011-07-04 Michael Albinus <michael.albinus@gmx.de>
15604
15605 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15606
15607 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15608 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15609 Use it.
15610 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15611 `tramp-default-remote-path' does not exist.
15612 (tramp-send-command-and-read): New optional argument NOERROR.
15613 (tramp-open-connection-setup-interactive-shell)
15614 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15615 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15616 (tramp-process-sentinel): Flush also process' connection property.
15617 (tramp-sh-handle-start-file-process): Do not set process
15618 sentinel. It is done now ...
15619 (tramp-maybe-open-connection): ... here. (Bug#8929)
15620
909e6b67
MK
156212011-07-04 MON KEY <monkey@sandpframing.com>
15622
15623 * play/animate.el (animate-string): Doc fixes and allow changing
15624 the buffer name (bug#5417).
15625
156262011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15627
c8af70e1 15628 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 15629
f34755dc
PE
156302011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15631
396cec72
PE
15632 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15633 This is simpler and helps future-proof the code.
15634 (timer-until): Use time-subtract and float-time.
08235028 15635 (timer--time-less-p): Use time-less-p.
f34755dc 15636
56e6cc31
JB
156372011-07-04 Juanma Barranquero <lekktu@gmail.com>
15638
3abb79e5
JB
15639 * type-break.el (timep): Use the value of `float-time' to avoid a
15640 byte-compiler warning.
15641
56e6cc31
JB
15642 * server.el (server-eval-and-print): Return any result, even nil.
15643
7b9430b4
PE
156442011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15645
15646 * type-break.el: Accept time formats that the builtins accept.
15647 (timep, type-break-time-difference): Accept any format that
15648 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15649 This is simpler and helps future-proof the code.
15650 (type-break-time-difference): Round rather than ignoring
15651 subseconds components.
15652
3034e9e7
LMI
156532011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15654
15655 * info.el (Info-apropos-matches): Make non-interactive, since it
15656 doesn't seem to do anything useful as a command (bug#8829).
15657
1485f4c0
CY
156582011-07-03 Chong Yidong <cyd@stupidchicken.com>
15659
15660 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 15661 Move from faces.el.
1485f4c0
CY
15662 (frame-default-terminal-background): New function.
15663
15664 * custom.el (custom-push-theme): Don't record faces in `changed'
15665 theme; this doesn't work correctly for per-frame face settings.
15666 (disable-theme): Use face-set-after-frame-default to reset faces.
15667 (custom--frame-color-default): New function.
15668
9fa3dd45
LMI
156692011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15670
c8af70e1 15671 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
15672 (bug#8769).
15673
6cbbc20c
KR
156742011-03-29 Kevin Ryde <user42@zip.com.au>
15675
15676 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15677 `perl-Test2' extend to match possible "fail #N" rep count
15678 (bug#8377).
15679
c7f98048
LMI
156802011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15681
65676592
LMI
15682 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15683 `smtpmail-via-smtp' now returns the error instead of nil.
15684
c7f98048
LMI
15685 * isearch.el (isearch-search-fun-function): Clarify the doc string
15686 (bug#8101).
15687
56e6cc31 156882011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
15689
15690 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15691 unnecessary spaces (bug#8987).
15692
2b216704
LMI
156932011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15694
15695 * net/network-stream.el (open-network-stream): Use the
15696 :end-of-capability command thoughout.
15697
156982011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15699
15700 * net/network-stream.el (open-network-stream): Add the
15701 :end-of-capability command parameter, used by pop3.el.
15702
36adf6ce
LMI
157032011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15704
1ca0da0e
LMI
15705 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15706
fc00f69c
LMI
15707 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15708 for list)" (bug#6475).
15709
28fd8759 15710 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 15711 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
15712 an error (bug#6297).
15713
0dd8b6da
LMI
15714 * man.el (Man-reference-regexp): Allow matching possible
15715 word-wrapped references (bug#6289).
15716
ce1438d6
LMI
15717 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15718 for consistency with the other vc buffers (bug#6197).
15719 (vc-checkin): Ditto.
15720
15721 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15722
36adf6ce
LMI
15723 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15724
e83cc1f7
LMI
157252011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15726
8a20ca4c
LMI
15727 * custom.el (defcustom): Clarify that :set is only used in the
15728 Customize user interface (bug#6089).
15729
83319045
LMI
15730 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15731 associated with a file, refuse to run instead of erroring out
15732 (bug#6084).
15733
a8392169
LMI
15734 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15735 the doc string, since it appears that using `fill-column' always
15736 controls the width (bug#7845).
15737
e83cc1f7
LMI
15738 * simple.el (shell-command-on-region): Say where the error output
15739 went if `shell-command-default-error-buffer' is set (bug#6857).
15740
e47ca23b
KM
157412011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15742
15743 * allout.el (allout-yank-processing): Adjust cursor position for
15744 backwards-deleted space.
15745
15746 (allout-rebullet-heading): Register changes with
15747 allout-exposure-changed-hook, so the modified topic is properly
15748 decorated.
15749
5cf56143
LMI
157502011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15751
08549772
LMI
15752 * minibuffer.el (completion-in-region): Document PREDICATE
15753 (bug#7136).
15754
48e96771
LMI
15755 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15756 of keyword/argument pairs (bug#6904).
15757
c8af70e1
SM
15758 * replace.el (multi-occur):
15759 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 15760
e17d05e2
LMI
157612011-07-02 Drew Adams <drew.adams@oracle.com>
15762
15763 * dired.el (dired-mark-if): Make the message about whether it's
15764 marking or unmarking clearer (bug#8523).
15765
063b0e45
LMI
157662011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15767
15768 * disp-table.el (display-table-print-array): New function.
15769 (describe-display-table): Use it to print the vectors more pretty
15770 (Bug#8859).
15771
28545e04
MR
157722011-07-02 Martin Rudalics <rudalics@gmx.at>
15773
15774 * window.el (window-state-get-1): Don't assign clone numbers.
15775 Add clone-of item to list of window parameters.
15776 (window-state-put-2): Don't process clone numbers.
15777 (display-buffer-alist): Fix doc-string.
15778
3349e122
SM
157792011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15780
15781 * subr.el (remq): Don't allocate if it's not needed.
15782 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15783 (keymap--merge-bindings): New functions.
15784 (keymap-canonicalize): Use them to refine the canonicalization.
15785 * minibuffer.el (minibuffer-local-completion-map)
15786 (minibuffer-local-must-match-map): Move initialization from C.
15787 (minibuffer-local-filename-completion-map): Move initialization from C;
15788 don't inherit from anything here.
15789 (minibuffer-local-filename-must-match-map): Make obsolete.
15790 (completing-read-default): Use make-composed-keymap to combine
15791 minibuffer-local-filename-completion-map with either
15792 minibuffer-local-must-match-map or
15793 minibuffer-local-filename-completion-map.
15794
d224ac83
GM
157952011-07-01 Glenn Morris <rgm@gnu.org>
15796
3de63bf8
GM
15797 * type-break.el (type-break-time-sum): Use dolist.
15798
d224ac83
GM
15799 * textmodes/flyspell.el (flyspell-word-search-backward):
15800 Replace CL function.
15801
1a1e3f32
SM
158022011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15803
fe3f64d5
SM
15804 * mouse.el (mouse--strip-first-event): New function.
15805 (function-key-map): Use it to map fringe clicks to normal clicks
15806 by default.
15807
eb604e34
SM
15808 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15809 (vc-bzr-revision-completion-table): Add support for annotate and date.
15810
1a1e3f32
SM
15811 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15812 inherit from parent.
15813
5bd35902
LMI
158142011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15815
ace6c69c 15816 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 15817 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 15818
191e2bed
LMI
15819 * dired.el (dired-mode): Fix up the doc string as suggested by
15820 Drew Adams (bug#8817).
15821
5bd35902
LMI
15822 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15823 cookie, since the manual says that it should be possible to add
15824 this function to `find-file-hook' (bug#8709).
15825
eee8207a
TZ
158262011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15827
15828 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15829 here. Noted Ted Zlatanov as the maintainer.
15830 (cfengine-common-settings, cfengine-common-syntax): New functions
15831 to set up common things between `cfengine-mode' and
15832 `cfengine3-mode'.
15833 (cfengine3-mode): New mode.
15834 (cfengine3-defuns cfengine3-defuns-regex
15835 (cfengine3-class-selector-regex cfengine3-category-regex)
15836 (cfengine3-vartypes cfengine3-font-lock-keywords)
15837 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 15838 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 15839
36b148cf
MA
158402011-07-01 Michael Albinus <michael.albinus@gmx.de>
15841
15842 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15843
15844 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15845
0bf4ba9a
MR
158462011-07-01 Martin Rudalics <rudalics@gmx.at>
15847
15848 * window.el (same-window-buffer-names, same-window-regexps)
15849 (same-window-p, special-display-frame-alist)
15850 (special-display-popup-frame, special-display-function)
15851 (special-display-buffer-names, special-display-regexps)
15852 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15853 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15854 (split-window-preferred-function, split-height-threshold)
15855 (split-width-threshold, even-window-heights)
15856 (display-buffer-mark-dedicated, window-splittable-p)
15857 (split-window-sensibly, window-safely-shrinkable-p):
15858 Un-obsolete.
15859 (display-buffer): Don't spread args with function specifier
15860 because special-display-popup-frame won't like it.
15861
35837f51
PE
158622011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15863
d0672f86
PE
15864 Time-stamp simplifications and fixes.
15865 These improve accuracy slightly, and future-proof the code
15866 against some potential changes to current-time format.
15867
b9444d97
PE
15868 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15869 by using time-since and float-time.
15870
0ef923dc
PE
15871 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15872 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
15873 + NNN microseconds".
15874
2f81380d
PE
15875 * type-break.el (type-break-time-sum): Rewrite using time-add.
15876
845b5c3e
PE
15877 * play/hanoi.el (hanoi-current-time-float): Remove.
15878 All uses replaced by float-time.
15879
ee6f1be0
PE
15880 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15881 This yields a more-accurate answer.
15882 (rng-time-to-float): Remove; no longer needed.
15883
fe955043
PE
15884 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15885
5777162a
PE
15886 * calendar/timeclock.el (timeclock-seconds-to-time):
15887 Defalias to seconds-to-time, since they're the same thing.
15888
3103f8b6 15889 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 15890 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
15891 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15892
0e61a35f
SM
158932011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15894
15895 * window.el (bury-buffer): Don't iconify the only frame.
15896 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15897 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15898
ddd63a1e
CY
158992011-07-01 Chong Yidong <cyd@stupidchicken.com>
15900
0e61a35f
SM
15901 * eshell/em-smart.el (eshell-smart-display-navigate-list):
15902 Add mouse-yank-primary.
ddd63a1e 15903
055f4923
TZ
159042011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15905
15906 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15907
6a2fb145
SM
159082011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15909
15910 * emacs-lisp/find-func.el (find-library--load-name): New fun.
15911 (find-library-name): Use it to find relative load names when provided
15912 absolute file name (bug#8803).
15913
fd4983f2
LMI
159142011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15915
887d14ad
LMI
15916 * textmodes/flyspell.el (flyspell-word): Consider words that
15917 differ only in case as potential doublons (bug#5687).
15918
c53dc7fc
LMI
15919 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15920 Remove two rather uninteresting debugging-like messages to make
15921 debbugs.el more silent.
15922
fd4983f2
LMI
15923 * comint.el (comint-password-prompt-regexp): Accept "Response" as
15924 a password-like phrase.
15925
7a71b18d 159262011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
15927
15928 * progmodes/cc-guess.el: New file.
15929
6a2fb145 15930 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
15931
15932 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15933 derived from `c-basic-common-init'.
15934
15935 * progmodes/cc-mode.el (top-level): Require cc-guess.
15936 (c-basic-common-init): Use `cc-choose-style-for-mode'.
15937
1fa280a3
LM
159382011-06-30 Lawrence Mitchell <wence@gmx.li>
15939
15940 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15941
e6597158
AM
159422011-06-30 Alan Mackenzie <acm@muc.de>
15943
1fa280a3
LM
15944 * progmodes/cc-engine.el (c-guess-continued-construct):
15945 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
15946 lock is disabled. Name this case as "CASE G".
15947
68ba37fb
KM
159482011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
15949
15950 * allout.el (allout-yank-processing): Fix injection of extra space
15951 between bullet and non-whitespace character in first topic when
15952 pasting, ensuring that the actual spacing in the pasted topic
15953 following the bullet char is preserved. This extra space was
15954 causing pasted encrypted topics to get a decrypted status even
15955 when the content was actually still encrypted. Now the decryption
15956 status from before the paste is preserved.
15957
15958 (allout-flag-region): Set all allout overlays so they evaporate
15959 when reduced to zero length (evanescent), to prevent overlay
15960 leakage.
15961
887a0b34
GM
159622011-06-30 Glenn Morris <rgm@gnu.org>
15963
94b9acce
GM
15964 * w32-fns.el (w32-charset-info-alist): Declare.
15965
1d9b46d4
GM
15966 * find-dired.el (find-grep-options): Simplify.
15967
cc232200
GM
15968 * term/ns-win.el (ns-set-resource): Declare.
15969
28e77c46
GM
15970 * ses.el (row, col): Declare dynamic variables honestly.
15971
887a0b34
GM
15972 * textmodes/reftex-parse.el (index-tags): Declare.
15973
658d8eb8
CY
159742011-06-30 Chong Yidong <cyd@stupidchicken.com>
15975
15976 * cus-edit.el (customize-push-and-save): New function.
15977
15978 * files.el (hack-local-variables-confirm): Use it.
15979
1fa280a3
LM
15980 * custom.el (load-theme): New arg NO-CONFIRM.
15981 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
15982 (custom-enabled-themes): Doc fix.
15983
15984 * cus-theme.el (customize-create-theme)
15985 (custom-theme-merge-theme): Callers to load-theme changed.
15986
bb617717
LMI
159872011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15988
d61bdd5d
LMI
15989 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15990 short URLs have at least one dot in them (bug #7614).
15991
bb617717
LMI
15992 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15993 nil, because using a pty is apparently too slow (bug #895).
15994
2f31f37a
LMI
159952011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15996
15997 * mail/sendmail.el (sendmail-query-once): New function.
15998 (sendmail-query-once-function): New variable.
15999
3076b24e
GM
160002011-06-29 Glenn Morris <rgm@gnu.org>
16001
faf2a174
GM
16002 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16003
3076b24e
GM
16004 * ses.el (top-level): Require cl when compiling.
16005 (ses-set-localvars): Fix error statement.
16006 Call it at compile time to silence a storm of warnings.
16007
5386012d
MR
160082011-06-29 Martin Rudalics <rudalics@gmx.at>
16009
16010 * window.el (normalize-live-buffer): Rename to
16011 window-normalize-buffer.
16012 (normalize-live-frame): Rename to window-normalize-frame.
16013 (normalize-any-window): Rename to window-normalize-any-window.
16014 (normalize-live-window): Rename to window-normalize-live-window.
16015 (make-window-atom): Rename to window-make-atom.
16016 (window-resize-reset): Rename to window--resize-reset.
16017 (window-resize-reset-1): Rename to window--resize-reset-1.
16018 (resize-mini-window): Rename to window--resize-mini-window.
16019 (resize-subwindows-skip-p): Rename to
16020 window--resize-subwindows-skip-p.
16021 (resize-subwindows-normal): Rename to
16022 window--resize-subwindows-normal.
16023 (resize-subwindows): Rename to window--resize-subwindows.
16024 (resize-other-windows): Rename to window--resize-siblings.
16025 (resize-this-window): Rename to window--resize-this-window.
16026 (resize-root-window): Rename to window--resize-root-window.
16027 (resize-root-window-vertically): Rename to
16028 window--resize-root-window-vertically.
16029 (normalize-buffer-to-display): Rename to
16030 window-normalize-buffer-to-display.
16031 (normalize-buffer-to-switch-to): Rename to
16032 window-normalize-buffer-to-switch-to.
16033 Correspondingly update all callers of the functions listed
16034 above.
16035 (display-buffer-alist, display-buffer-normalize-arguments)
16036 (display-buffer-normalize-options, display-buffer)
16037 (display-buffer-alist-set): Use "function" instead of
16038 "fun-with-args".
16039
1176868d
CY
160402011-06-28 Chong Yidong <cyd@stupidchicken.com>
16041
16042 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16043 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16044 debbugs.gnu.org. Mention acknowledgment email.
16045
20a7a65f
LMI
160462011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16047
16048 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16049 buffer multibyteness, since it shouldn't matter.
16050
5f45cca5
MR
160512011-06-28 Martin Rudalics <rudalics@gmx.at>
16052
16053 * window.el (display-buffer-in-side-window): Handle dedicated
16054 windows as in display-buffer-reuse-window.
16055 (display-buffer-normalize-alist): Use value of override
16056 specifier.
16057 (display-buffer-normalize-specifiers): Use value of
16058 other-window-means-other-frame specifier.
16059 (display-buffer-alist): Rewrite some texts in widgets.
16060 (display-buffer): Spread arguments when calling function
16061 specified by fun-with-args.
16062
ad85fe1f
DD
160632011-06-28 Deniz Dogan <deniz@dogan.se>
16064
1fa280a3
LM
16065 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16066 Unnest `let'.
da68c4c8 16067
ad85fe1f
DD
16068 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16069 selectors (Bug#5732).
ec49bd31 16070 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 16071
a08cc025
JA
160722011-06-27 Jari Aalto <jari.aalto@cante.net>
16073
16074 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16075 (eshell-ls-date-format): New defcustom.
16076 (eshell-ls-file): Use it.
16077
e2b551c5
SM
160782011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16079
16080 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16081
8982b231
KY
160822011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16083
16084 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16085 (ange-ftp-make-tmp-name): New arg.
16086 (ange-ftp-file-local-copy): Use it.
16087
36c9fa27
J
160882011-06-27 Jambunathan K <kjambunathan@gmail.com>
16089
16090 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16091 no-conversion (Bug#8870).
16092
d68443dc
MR
160932011-06-27 Martin Rudalics <rudalics@gmx.at>
16094
16095 * window.el (window-right, window-left, window-child)
16096 (window-child-count, window-last-child)
16097 (window-iso-combination-p, walk-window-tree-1)
16098 (window-atom-check-1, window-tree-1, delete-window)
16099 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16100 new naming conventions - window-vchild, window-hchild,
16101 window-next and window-prev are now called window-top-child,
16102 window-left-child, window-next-sibling and window-prev-sibling
16103 respectively.
d615d6d2
MR
16104 (resize-window-reset): Rename to window-resize-reset.
16105 (resize-window-reset-1): Rename to window-resize-reset-1.
16106 (resize-window): Rename to window-resize.
16107 (window-min-height, window-min-width)
16108 (resize-mini-window, resize-this-window, resize-root-window)
16109 (resize-root-window-vertically, adjust-window-trailing-edge)
16110 (enlarge-window, shrink-window, maximize-window)
16111 (minimize-window, delete-window, quit-restore-window)
16112 (split-window, balance-windows, balance-windows-area-adjust)
16113 (balance-windows-area, window-state-put-2)
16114 (display-buffer-even-window-sizes, display-buffer-set-height)
16115 (display-buffer-set-width, set-window-text-height)
16116 (fit-window-to-buffer): Rename all "resize-window" prefixed
16117 calls to use the "window-resize" prefix convention.
16118 (display-buffer-alist): Fix symbol for label specifier.
16119 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16120 corresponding specifier.
16121 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 16122
b6458526
VB
161232011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16124
16125 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16126 convention.
16127 (ses-call-printer): Does not pass an empty string to formatter when the
16128 cell is empty to keep from barking printer Calc math-format-value.
16129
d31fd9ac
RS
161302011-06-27 Richard Stallman <rms@gnu.org>
16131
43d5bf84
RS
16132 * battery.el (battery-mode-line-limit): New variable.
16133 (battery-update): Handle it.
16134
d31fd9ac
RS
16135 * mail/rmailmm.el (rmail-mime-process-multipart):
16136 Handle truncated messages.
16137
819a6054
GM
161382011-06-27 Glenn Morris <rgm@gnu.org>
16139
16140 * progmodes/flymake.el (flymake-err-line-patterns):
16141 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16142
cedc73f2
VB
161432011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16144
819a6054 16145 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
16146 (ses--clean-!, ses--clean-_): New functions.
16147 (ses-range): Add configurability of readout order, and conversion
16148 to Calc vector.
16149
5e5d49b6
VB
16150 * ses.el (ses-repair-cell-reference-all): New function.
16151 (ses-cell-symbol): Set macro as safe, so that it can be used in
16152 formulas.
16153
56e6cc31 16154 * ses.el: Update cycle detection algorithm.
90ca8b49 16155 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 16156 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
16157 (ses-set-localvars): New function.
16158 (ses-make-cell): Add property-list as a cell element.
16159 (ses-cell-property-get-fun, ses-cell-property-get)
16160 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
16161 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16162 New functions.
90ca8b49
VB
16163 (ses-cell-property-set, ses-cell-property-pop)
16164 (ses-cell-property-get-handle): New macro.
16165 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16166 New aliases, used for code readability.
16167 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16168 cycle detection.
16169 (ses-self-reference-early-detection): New defcustom.
fac916bf 16170 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
16171 (ses-mode): Use ses-set-localvars.
16172 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16173 before lauching the update processing.
16174 (ses-initialize-Dijkstra-attempt): New function.
16175 (ses-recalculate-cell): Update for cycle detection based on
16176 Dijkstra algorithm.
16177
2bb63e81
VB
16178 * ses.el: Fix commenting and indenting convention.
16179
c9d29fb8
SM
161802011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16181
16182 * bs.el (bs-cycle-next): Complete last change.
16183
d8e4b68b
JB
161842011-06-27 Drew Adams <drew.adams@oracle.com>
16185
16186 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16187
40098786
LMI
161882011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16189
c9d29fb8
SM
16190 * net/network-stream.el (network-stream-open-starttls):
16191 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
16192 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16193
40098786
LMI
16194 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16195 to binary to possibly avoid line encoding issues on Windows (among
16196 other things).
16197
468d09d4
LMI
161982011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16199
16200 * net/network-stream.el (open-network-stream): Return an :error
16201 saying what the problem was, if possible.
16202
16203 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16204 server.
16205
16206 * net/network-stream.el (network-stream-open-starttls): If we
16207 wanted to use STARTTLS, and the server offered it, but we weren't
16208 able to because we had no STARTTLS support, then close the connection.
16209 (open-network-stream): Return an :error element, if present.
16210
16f07dd7
CY
162112011-06-26 Chong Yidong <cyd@stupidchicken.com>
16212
88821ca0
CY
16213 * hl-line.el (hl-line-sticky-flag): Doc fix.
16214 (global-hl-line-sticky-flag): New option (Bug#8323).
16215 (global-hl-line-highlight): Obey it.
16216
16f07dd7
CY
16217 * vc/vc.el (vc-revert-show-diff): Default to t.
16218
6b5ccddf
KM
162192011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16220
c9d29fb8
SM
16221 * allout-widgets.el (allout-widgets-post-command-business):
16222 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
16223 undecorated when an isearch is continued past, and isearch
16224 automatically collapses them. This leads to "widget leaks", where
16225 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
16226 hidden widgets can slow down cursor travel, substantially.
16227 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
16228 so we're doing without this nicety.
16229
16230 (allout-widgets-tally-string): Don't try to do a hash-table-count
16231 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16232 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16233 *Messages* when allout-widgets-maintain-tally is t.
16234
355f2e07
MR
162352011-06-26 Martin Rudalics <rudalics@gmx.at>
16236
16237 * window.el (display-buffer-normalize-argument): Rename to
16238 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
16239 LABEL argument. Respect special-display-function when popping up
16240 a new frame. Fix code searching for a window showing the buffer
16241 on another frame.
c9d29fb8
SM
16242 (display-buffer-normalize-specifiers):
16243 Call display-buffer-normalize-arguments.
355f2e07
MR
16244 (display-buffer-in-window): Don't undedicate the window if its
16245 buffer remains the same.
16246 Reported by Drew Adams <drew.adams@oracle.com>.
16247 (display-buffer-alist): Add choice for same-window macro
16248 specfier.
16249 (display-buffer): Mention special meaning of LABEL argument in
16250 doc-string. Fix quoting. Don't pop up a new frame even as
16251 fallback.
16252
7ca8fc42
JB
162532011-06-26 Juanma Barranquero <lekktu@gmail.com>
16254
16255 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16256 avoid deleting the current window in some cases (bug#8911).
16257
bc312254
AS
162582011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16259
16260 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16261 (Bug#8934)
16262
2db18f3f
LMI
162632011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16264
c9d29fb8
SM
16265 * net/network-stream.el (network-stream-open-starttls):
16266 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
16267 (network-stream-open-tls): Ditto.
16268
6302e0d3
LL
162692011-06-26 Leo Liu <sdl.web@gmail.com>
16270
16271 * register.el (registerv): New struct.
16272 (registerv-make): New function.
c9d29fb8
SM
16273 (jump-to-register, describe-register-1, insert-register):
16274 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
16275 struct. (Bug#8415)
16276
5fdd4046
CY
162772011-06-26 Chong Yidong <cyd@stupidchicken.com>
16278
2afef60a
CY
16279 * vc/vc.el (vc-revert-show-diff): New defcustom.
16280 (vc-diff-internal): New arg specifying diff buffer.
16281 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16282 reuse an existing *vc-diff* buffer (Bug#8927).
16283
5fdd4046
CY
16284 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16285
e93db24a
GM
162862011-06-26 Glenn Morris <rgm@gnu.org>
16287
16288 * progmodes/f90.el (f90-critical-indent): New option.
16289 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16290 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16291 (f90-mode): Doc fix.
16292 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16293 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16294 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16295 (f90-match-end): Handle block, critical.
16296
eefff499
GM
162972011-06-25 Glenn Morris <rgm@gnu.org>
16298
f6ba4cc9
GM
16299 * calendar/diary-lib.el (diary-included-files): Doc fix.
16300 (diary-include-files): New function, extracted from
16301 diary-include-other-diary-files and diary-mark-included-diary-files.
16302 (diary-include-other-diary-files, diary-mark-included-diary-files):
16303 Just call diary-include-files.
16304 (diary-mark-entries): Reset diary-included-files on first call.
16305
16712304
GM
16306 * calendar/diary-lib.el (diary-mark-entries)
16307 (diary-mark-included-diary-files):
16308 Visit included diary-files in temp buffers.
16309
5d8e0d43
GM
16310 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16311 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16312 (f90-start-block-re, f90-imenu-generic-expression)
16313 (f90-looking-at-program-block-start, f90-no-block-limit):
16314 Add support for submodules.
16315
ccf7a5d5
GM
16316 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16317 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 16318
11fdef7d 163192011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
16320
16321 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16322 buffer-file-type before setting its value, to avoid disastrous
eefff499 16323 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 16324
74f53697
JB
163252011-06-25 Juanma Barranquero <lekktu@gmail.com>
16326
16327 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16328
16329 * ses.el (ses-unload-function):
16330 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16331
16332 * proced.el (proced-unload-function):
16333 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16334
18a4ce5e
AR
163352011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16336
16337 * server.el (server-create-window-system-frame): Add parameters arg.
16338 (server-process-filter): Doc fix. Handle frame-parameters.
16339
519d22cc
JB
163402011-06-25 Juanma Barranquero <lekktu@gmail.com>
16341
16342 Fix bug#8730, bug#8781.
16343
16344 * loadhist.el (unload--set-major-mode): New function.
16345 (unload-feature): Use it.
16346
16347 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16348 (python-unload-function): New function.
16349
c206f5b0
SM
163502011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16351
16352 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16353
f9ad64f3
GS
163542011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16355
16356 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16357 the candidates list.
16358
7d0da90e
JB
163592011-06-24 Juanma Barranquero <lekktu@gmail.com>
16360
16361 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16362
14b4e83d
RS
163632011-06-23 Richard Stallman <rms@gnu.org>
16364
16365 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16366 (rmail-variables): Set next-error-move-function.
16367 (rmail-what-message): Take argument POS.
16368 (rmail-next-error-move): New function.
16369
273d2baf
SM
163702011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16371
16372 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16373 messages for adjacent non-terminals.
16374
56c2cc9a
RS
163752011-06-23 Richard Stallman <rms@gnu.org>
16376
16377 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 16378 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
16379 (rmail-start-mail): Don't specify use of rmail-mail-return;
16380 that's done by mail-bury now.
16381 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 16382
d59eb518
MA
163832011-06-23 Michael Albinus <michael.albinus@gmx.de>
16384
16385 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16386 SIZE is a number.
16387
02cfc6d6
MR
163882011-06-23 Martin Rudalics <rudalics@gmx.at>
16389
16390 * window.el (get-lru-window, get-mru-window)
16391 (get-largest-window): Never return a minibuffer window.
16392 (display-buffer-pop-up-window): Fix a bug that could lead to
16393 reusing the minibuffer window.
16394 (display-buffer): Pass original specifier argument to
16395 display-buffer-function instead of the normalized one.
16396 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16397
4e323265
LL
163982011-06-22 Leo Liu <sdl.web@gmail.com>
16399
16400 * minibuffer.el (completing-read-function)
1f9f395d 16401 (completing-read-default): Move from minibuf.c.
4e323265 16402
7a70468f
RS
164032011-06-22 Richard Stallman <rms@gnu.org>
16404
50718fc2
RS
16405 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16406 to Rmail even if not started by a special Rmail command.
16407
7a70468f
RS
16408 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16409 Copy the buffer currently showing just one message.
16410
297dde5a
RW
164112011-06-22 Roland Winkler <winkler@gnu.org>
16412
16413 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16414 (bibtex-clean-entry): First delete the old key so that a
16415 customized algorithm for generating the new key does not get
16416 confused by the old key.
16417 (bibtex-url): Obey regexp of first step.
16418 (bibtex-search-entries): Do not use add-to-list with local
16419 list-var.
16420
97bb1093
LMI
164212011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16422
16423 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16424 stored a user name, then query for the password first, instead of
16425 waiting for SMTP to give an error message and the trying again.
16426
1c0f1a19
JD
164272011-06-22 Lawrence Mitchell <wence@gmx.li>
16428
16429 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16430 BUFFER in call-process.
16431
396f7c9d
LMI
164322011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16433
16434 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16435 QUIT twice.
ddb7ffee
LMI
16436 (smtpmail-try-auth-methods): Require user name and password from
16437 auth-source.
396f7c9d 16438
8998d1b3
MR
164392011-06-22 Martin Rudalics <rudalics@gmx.at>
16440
16441 * window.el (display-buffer-default-specifiers)
16442 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16443 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 16444 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
16445
16446 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16447 (special-display-frame-alist, special-display-popup-frame):
16448 Remove duplicate declarations. These are now in window.el.
16449
4ea31e07
LMI
164502011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16451
c9d29fb8
SM
16452 * mail/smtpmail.el (smtpmail-via-smtp):
16453 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
16454 server supports it. SMTP servers that support STARTTLS commonly
16455 require it.
16456
16457 * net/network-stream.el (network-stream-open-starttls): Support
16458 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 16459 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 16460
95f41d9a
LMI
16461 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16462 upgrades with `open-network-stream', and rely solely on
16463 auth-source for all credentials. Big changes throughout the file,
16464 but in particular:
c9d29fb8
SM
16465 (smtpmail-auth-credentials): Remove.
16466 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
16467 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16468 MAIL FROM, too.
95f41d9a 16469
c9d29fb8
SM
16470 * net/network-stream.el (network-stream-open-starttls):
16471 Provide support for client certificates both for external and built-in
4ea31e07
LMI
16472 STARTTLS.
16473 (auth-source): Require.
16474 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
16475 (network-stream-certificate): Change cert-cert to cert and
16476 cert-key to key.
4ea31e07 16477
065ec2c7
MA
164782011-06-21 Michael Albinus <michael.albinus@gmx.de>
16479
16480 * net/tramp-cache.el (top): Don't load the persistency file when
16481 "emacs -Q" has been called.
16482
cd93b359
DR
164832011-06-21 Tim Harper <timcharper@gmail.com>
16484
d8e4b68b
JB
16485 * term/ns-win.el (ns-initialize-window-system):
16486 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
16487 resource to NO as it is not yet supported by the NS port.
16488
ae9c0411
JB
164892011-06-21 Juanma Barranquero <lekktu@gmail.com>
16490
16491 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16492 (list-dynamic-libraries): ...not here.
16493
7f3f739f
LL
164942011-06-21 Leo Liu <sdl.web@gmail.com>
16495
16496 * subr.el (sha1): Implement sha1 using secure-hash.
16497
327c8fb1
MR
164982011-06-21 Martin Rudalics <rudalics@gmx.at>
16499
16500 * window.el (display-buffer-alist): In default value do not
16501 enforce searching a window on any but the selected frame.
16502 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16503 (display-buffer-select-window): Remove function.
16504 (display-buffer-in-window): When a window on another frame gets
16505 reused, do not select it any more but just raise its frame if
16506 necessary (Bug#8851) and (Bug#8856).
16507 (display-buffer-normalize-options): Handle pop-up-frames related
16508 options more faithfully.
16509 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16510 window if it is on another frame.
c9d29fb8
SM
16511 (display-buffer-alist, display-buffer-default-specifiers):
16512 Don't make new frame unsplittable by default.
9e9de014
MR
16513 (display-buffer-normalize-argument): Fix doc-string typo and use
16514 'same-frame-other-window instead of 'other-window when associating
16515 with display-buffer-macro-specifiers.
327c8fb1 16516
7cf3f556
VB
165172011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16518
16519 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16520 New functions.
16521 (5x5-mode-map, 5x5-mode-menu): Bind them.
16522 (5x5-draw-grid): Tweak the solver's rendering.
16523
60a406cf
SM
165242011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16525
16526 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16527 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16528
d8e4b68b 165292011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
16530
16531 * menu-bar.el: Use function variable instead of switch-to-buffer.
16532 (menu-bar-select-buffer-function): New variable.
60a406cf 16533 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 16534
478d6f95
SM
165352011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16536
16537 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16538 variable's status.
16539
ca530739
JD
165402011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16541
16542 * x-dnd.el (x-dnd-version-from-flags)
16543 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16544 and long as number (Bug#8899).
16545 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16546
bcd70d97
SM
165472011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16548
60a406cf 16549 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
16550 (completion-try-completion, completion-all-completions): Compute the
16551 metadata argument if it's missing; make it optional (bug#8795).
16552
60a406cf 16553 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
16554 (widget-complete): Use new :completion-function property.
16555 (widget-completions-at-point): New function.
16556 (default): Use :completion-function instead of :complete.
60a406cf
SM
16557 (widget-default-completions): Rename from widget-default-complete;
16558 Rewrite.
bcd70d97
SM
16559 (widget-string-complete, widget-file-complete, widget-color-complete):
16560 Remove functions.
16561 (file, symbol, function, variable, coding-system, color):
16562 * international/mule-cmds.el (default-input-method, charset)
16563 (language-info-custom-alist):
16564 * cus-edit.el (face): Use new property :completions.
16565
16566 * progmodes/pascal.el (pascal-completions-at-point): New function.
16567 (pascal-mode): Use it.
16568 (pascal-mode-map): Use completion-at-point.
16569 (pascal-toggle-completions): Make obsolete.
16570 (pascal-complete-word, pascal-show-completions):
16571 * progmodes/octave-mod.el (octave-complete-symbol):
16572 Redefine as obsolete alias.
16573 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16574 Signal absence of completion info for old Octave,
16575 (inferior-octave-complete): Redefine as obsolete alias.
16576 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16577 (meta-completions-at-point): Rename from meta-complete-symbol and
16578 adapt it for use on completion-at-point-functions.
16579 (meta-common-mode): Use it.
16580 (meta-looking-at-backward, meta-match-buffer): Remove.
16581 (meta-complete-symbol): Redefine as obsolete alias.
16582 (meta-common-mode-map): Use completion-at-point.
16583 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16584 (makefile-mode-map): Use completion-at-point.
16585 (makefile-completions-at-point): Rename from makefile-complete and
16586 adapt it for use on completion-at-point-functions.
16587 (makefile-mode): Use it.
16588 (makefile-complete): Redefine as obsolete alias.
16589
aebf69c8
DD
165902011-06-20 Deniz Dogan <deniz@dogan.se>
16591
16592 * net/rcirc.el: Delete trailing whitespaces once and for all.
16593
bfbbb27d
DC
165942011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16595
16596 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16597
d264a46b
CY
165982011-06-19 Chong Yidong <cyd@stupidchicken.com>
16599
4ca009e5
CY
16600 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16601
d264a46b
CY
16602 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16603
fbf5b3ce
MR
166042011-06-19 Martin Rudalics <rudalics@gmx.at>
16605
16606 * window.el (display-buffer-other-window-means-other-frame):
16607 Call display-buffer-normalize-alist.
16608 (display-buffer-normalize-specifiers-1): Rename to
16609 display-buffer-normalize-argument. New argument other-frame.
16610 Rewrite.
16611 (display-buffer-normalize-specifiers-2): Rename to
16612 display-buffer-normalize-options.
16613 (display-buffer-normalize-alist-1): New function.
16614 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
16615 display-buffer-normalize-alist.
16616 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
16617 (display-buffer-normalize-options-inhibit): New variable.
16618 (display-buffer-normalize-specifiers): Rewrite calling
16619 display-buffer-normalize-alist,
16620 display-buffer-normalize-argument, and
16621 display-buffer-normalize-options. Don't call the latter if
16622 display-buffer-normalize-options-inhibit is non-nil.
16623 (frame-auto-delete): New option.
16624 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
16625 (window-list-no-nils, window-state-ignored-parameters)
16626 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
16627 (window-state-put-1, window-state-put-2, window-state-put):
16628 New functions.
9a028c23
MR
16629 (display-buffer-normalize-options): Move special-display-p group
16630 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 16631
6d10d800
CY
166322011-06-18 Chong Yidong <cyd@stupidchicken.com>
16633
6420d28b
CY
16634 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16635 groups (Bug#8776).
16636 (rx-submatch-n): New function.
16637 (rx): Document it.
16638
ddb8b596
CY
16639 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16640 (Bug#8768).
16641
16642 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16643
77080289
CY
16644 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16645
61dfb316
CY
16646 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16647 anytime existing face settings are present (Bug#8889).
16648
6d10d800
CY
16649 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16650 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16651 Remove unused argument.
16652
be3fb2b8
MR
166532011-06-18 Martin Rudalics <rudalics@gmx.at>
16654
bcd70d97
SM
16655 * window.el (display-buffer-default-specifiers):
16656 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
16657 pop-up-window-min-width, and another reuse-window specifier
16658 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
16659 (display-buffer-normalize-specifiers-2):
16660 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
16661 pop-up-windows is unset. Add a reuse-window specifier for the
16662 case popping up a new window fails.
16663 (special-display-popup-frame): Remove double quoting.
28dec25a 16664 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 16665
1c6d8c76
SM
166662011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16667
16668 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16669 according to comint-completion-addsuffix.
16670
16671 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16672 (pcomplete-suffix-list): Mark as obsolete.
16673 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16674 pcomplete-seen in the closure.
16675 (pcomplete-comint-setup): Setup completion-at-point as well.
16676 (pcomplete--entries): New function.
16677 (pcomplete--env-regexp): New var.
16678 (pcomplete-entries): Rewrite to work with partial-completion and
16679 without relying on pcomplete-suffix-list.
16680 (pcomplete-pare-list): Remove, unused.
16681
25aef8b8
MR
166822011-06-17 Martin Rudalics <rudalics@gmx.at>
16683
16684 * window.el (display-buffer-alist): Set pop-up-window-min-height
16685 and pop-up-window-min-width in default value. Reported by
16686 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16687 other-window-means-other-frame.
16688 (display-buffer-macro-specifiers): Comment out entry for
16689 other-window specifier.
16690 (display-buffer-other-window-means-other-frame): New function.
16691 (display-buffer-normalize-specifiers-1): New arguments
16692 buffer-name and label. Treat other-window case specially.
16693 (display-buffer-normalize-specifiers-2): Treat other-window case
16694 specially.
16695 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
16696 (display-buffer-normalize-specifiers):
16697 Call display-buffer-normalize-specifiers-3.
25aef8b8 16698
dbad4f69
MR
166992011-06-17 Martin Rudalics <rudalics@gmx.at>
16700
16701 * window.el (same-window-p): Fix two typos introduced when
16702 adding with-no-warnings.
d1067961
MR
16703 (display-buffer-normalize-specifiers-1): Don't check
16704 pop-up-frames for 'unset initialization.
16705 (display-buffer-normalize-specifiers-2): Major rewrite using
16706 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16707 (pop-up-frames, display-buffer-reuse-frames)
16708 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16709 Suggested by David Engster <deng@randomsample.de>.
16710 (even-window-heights): Initialize to 'unset.
16711 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
16712 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16713 other window case.
dbad4f69 16714
9b9c9e3a
MR
167152011-06-16 Martin Rudalics <rudalics@gmx.at>
16716
bcd70d97
SM
16717 * window.el (display-buffer-normalize-specifiers-1):
16718 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 16719 second argument of display-buffer (Bug#8865).
981d5c09
MR
16720 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16721 (switch-to-buffer-other-window-same-frame)
16722 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16723 Adams (Bug#8875).
9c2755e9
MR
16724 (display-buffer): Don't check noninteractive when calling
16725 display-buffer-pop-up-frame.
16726 (display-buffer-pop-up-frame): Never pop up a frame in
16727 noninteractive mode (Bug#8857).
67222e1d
MR
16728 (enlarge-window, shrink-window): Don't report an error when the
16729 window can't be resized as requested (Bug#8862).
9b9c9e3a 16730
2b75be67
SM
167312011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16732
9ffdd3ba
SM
16733 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16734
cb581a67
SM
16735 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16736
2b75be67
SM
16737 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16738
8c0e3589
AM
167392011-06-15 Alan Mackenzie <acm@muc.de>
16740
cb581a67
SM
16741 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16742 for declarators, disable knr checking to speed up for normal files.
16743 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 16744
b96e6cde
LMI
167452011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16746
4bba86e6
LMI
16747 * net/network-stream.el (open-network-stream): Add the keyword
16748 :always-query-capabilities for the case where you want to force a
16749 `plain' network connection, but the protocol still requires the
16750 capabilitiy command (i.e., SMTP and EHLO).
16751
2b75be67 16752 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
16753 consistency with other `-live-p' functions.
16754
efdcdbf8
SM
167552011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16756
16757 * window.el (same-window-buffer-names, same-window-regexps)
16758 (special-display-frame-alist, special-display-popup-frame)
16759 (special-display-function, special-display-buffer-names)
16760 (special-display-regexps, pop-up-frame-alist)
16761 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16762 (pop-up-windows, split-window-preferred-function)
16763 (split-height-threshold, split-width-threshold, even-window-heights)
16764 (display-buffer-mark-dedicated): Don't encourage the use of
16765 display-buffer-alist from Elisp code.
16766
c5cde042
DN
167672011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16768
16769 * progmodes/python.el (python-mode): Derive from prog-mode.
16770 * progmodes/ps-mode.el (ps-mode):
16771 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 16772 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
16773 * progmodes/ld-script.el (ld-script-mode): Likewise.
16774
baa1c9ab
MR
167752011-06-15 Martin Rudalics <rudalics@gmx.at>
16776
16777 * window.el (display-buffer-alist): Trim default value to avoid
16778 popping up a new frame (Bug#8857) or reusing an arbitrary window
16779 on another frame.
16780 (display-buffer): Do not fall back on popping up a new frame in
16781 batch mode (Bug#8857).
16782
c5dd5a51
CY
167832011-06-14 Chong Yidong <cyd@stupidchicken.com>
16784
16785 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16786 (custom-theme-summary): New function.
16787 (customize-themes): Use it.
16788
d647b7c4
GM
167892011-06-13 Glenn Morris <rgm@gnu.org>
16790
16791 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16792
9481c002
MR
167932011-06-13 Martin Rudalics <rudalics@gmx.at>
16794
357f93d2
MR
16795 * help.el (help-window): Remove variable.
16796 (help-window-point-marker, temp-buffer-max-height)
16797 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16798 (help-print-return-message): Don't set help-window.
16799 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16800 (help-window-setup-finish): Remove.
16801 (help-window-display-message, help-window-setup)
16802 (with-help-window): Major rewrite based on new
16803 display-buffer-window variable.
16804
16805 * help-mode.el (help-mode-finish): Remove help-window related
16806 code.
16807
16808 * view.el (view-exits-all-viewing-windows): Remove reference to
16809 view-return-to-alist in doc-string.
16810 (view-return-to-alist): Make obsolete.
16811 (view-buffer): Call pop-to-buffer-same-window and remove
16812 undo-window code.
16813 (view-buffer-other-window): Call pop-to-buffer-other-window and
16814 simplify code. Ignore second argument.
16815 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16816 simplify code. Ignore second argument.
16817 (view-return-to-alist-update): Make obsolete.
16818 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16819 Rewrite using quit-restore window parameters.
2b75be67
SM
16820 (view-mode-exit): Rename second argument to EXIT-ONLY.
16821 Rewrite using quit-restore-window.
357f93d2
MR
16822 (View-exit, View-exit-and-edit, View-leave, View-quit)
16823 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16824 appropriate arguments.
16825 (view-end-message): Use quit-restore window parameter.
16826
9481c002
MR
16827 * window.el (display-buffer-function): Rewrite doc-string.
16828 (display-buffer-window, display-buffer-alist): New variables.
16829 (display-buffer-split-specifiers)
16830 (display-buffer-side-specifiers)
16831 (display-buffer-macro-specifiers): New constants.
16832 (display-buffer-even-window-sizes, display-buffer-set-height)
16833 (display-buffer-set-width, display-buffer-select-window)
16834 (display-buffer-in-window, display-buffer-reuse-window)
16835 (display-buffer-split-window-1, display-buffer-split-window)
16836 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16837 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16838 (display-buffer-in-side-window, normalize-buffer-to-display)
16839 (display-buffer-normalize-specifiers-1)
16840 (display-buffer-normalize-specifiers-2)
2b75be67
SM
16841 (display-buffer-normalize-specifiers, display-buffer-frame):
16842 New functions.
9481c002
MR
16843 (display-buffer): Major rewrite.
16844 (display-buffer-other-window, display-buffer-other-frame)
16845 (pop-to-buffer, switch-to-buffer-other-window)
16846 (switch-to-buffer-other-frame): Rewrite.
16847 (display-buffer-same-window, display-buffer-same-frame)
16848 (display-buffer-same-frame-other-window)
16849 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16850 (pop-to-buffer-other-window)
16851 (pop-to-buffer-same-frame-other-window)
16852 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16853 (switch-to-buffer-other-window-same-frame): New functions.
16854 (same-window-p, special-display-p): Rewrite disabling warnings.
16855 Make obsolete.
16856 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16857 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16858 Make obsolete
16859 (same-window-buffer-names, same-window-regexps)
16860 (special-display-frame-alist, special-display-popup-frame)
16861 (special-display-function, special-display-buffer-names)
16862 (special-display-regexps, pop-up-frame-alist)
16863 (pop-up-frame-function, split-window-preferred-function)
16864 (split-height-threshold, split-width-threshold)
16865 (even-window-heights): Make obsolete.
16866
9db51aca
GM
168672011-06-12 Glenn Morris <rgm@gnu.org>
16868
16869 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 16870 Misc simplifications.
9db51aca 16871
39cffb44
MR
168722011-06-12 Martin Rudalics <rudalics@gmx.at>
16873
16874 * window.el (window-safely-shrinkable-p): Restore function which
16875 was inadvertently removed in change from 2011-06-11. Declare as
16876 obsolete.
16877
2b75be67
SM
16878 * calendar/calendar.el (calendar-generate-window):
16879 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
16880 window-safely-shrinkable-p.
16881
a8955be7
GM
168822011-06-12 Glenn Morris <rgm@gnu.org>
16883
16884 * progmodes/fortran.el (fortran-mode-syntax-table):
16885 * progmodes/f90.el (f90-mode-syntax-table):
16886 Set % to punctuation. (Bug#8820)
16887 (f90-find-tag-default): Remove, no longer needed.
16888
f0d4059d
DC
168892011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16890
16891 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16892
1100a63c
CY
168932011-06-11 Chong Yidong <cyd@stupidchicken.com>
16894
16895 * image.el (image-animated-p): Return animation delay in seconds.
16896 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16897 (image-animate-timeout): Remove DELAY argument. Don't assume
16898 every subimage has the same delay; get it from image-animated-p.
16899 (image-animate): Caller changed.
16900
def722bf
MA
169012011-06-11 Michael Albinus <michael.albinus@gmx.de>
16902
16903 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16904 to ignored backtrace functions.
16905
0a2bb1a9
GM
169062011-06-11 Glenn Morris <rgm@gnu.org>
16907
16908 * calendar/appt.el (appt-disp-window-function): Doc fix.
16909 (appt-check): Handle overlapping appointments. (Bug#8337)
16910
6198ccd0
MR
169112011-06-11 Martin Rudalics <rudalics@gmx.at>
16912
16913 * window.el (window-tree-1, window-tree): New functions, moving
16914 the latter to window.el.
16915 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16916 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16917 (bw-refresh-edges): Remove.
16918 (balance-windows-1, balance-windows-2): New functions.
16919 (balance-windows): Rewrite in terms of window tree functions,
16920 balance-windows-1 and balance-windows-2.
16921 (bw-adjust-window): Remove.
16922 (balance-windows-area-adjust): New function with functionality of
16923 bw-adjust-window but using resize-window.
2b75be67
SM
16924 (set-window-text-height): Rewrite doc-string.
16925 Use normalize-live-window and resize-window.
16926 (enlarge-window-horizontally, shrink-window-horizontally):
16927 Rename argument to DELTA.
6198ccd0
MR
16928 (window-buffer-height): New function.
16929 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16930 Rewrite using new window resize routines.
2b75be67
SM
16931 (kill-buffer-and-window, mouse-autoselect-window-select):
16932 Use ignore-errors instead of condition-case.
6198ccd0
MR
16933 (quit-window): Call delete-frame instead of delete-windows-on
16934 for the only buffer on frame.
16935
9397e56f
MR
169362011-06-10 Martin Rudalics <rudalics@gmx.at>
16937
16938 * loadup.el (top-level): Load window before files for the sake
16939 of replace-buffer-in-windows.
16940
16941 * files.el (read-buffer-to-switch)
16942 (switch-to-buffer-other-window)
2b75be67
SM
16943 (switch-to-buffer-other-frame, display-buffer-other-frame):
16944 Move to window.el.
9397e56f
MR
16945
16946 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16947 (previous-buffer): Move to window.el.
16948
16949 * bindings.el (unbury-buffer): Move to window.el.
16950
16951 * window.el (delete-other-windows-vertically): Move after
16952 definition of delete-other-windows.
16953 (other-window, delete-windows-on, replace-buffer-in-windows):
16954 Move here from window.c.
16955 (record-window-buffer, unrecord-window-buffer)
16956 (set-window-buffer-start-and-point, switch-to-prev-buffer)
16957 (switch-to-next-buffer): New functions.
16958 (get-next-valid-buffer, last-buffer, next-buffer): Move here
16959 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
16960 (previous-buffer): Move here from simple.el.
16961 Call switch-to-prev-buffer.
9397e56f
MR
16962 (bury-buffer): Move here from buffer.c. Switch to previous
16963 buffer when window cannot be deleted.
16964 (unbury-buffer): Move here from bindings.el.
16965 (ctl-x-map): Move binding for other-window from window.c to
16966 here.
16967 (read-buffer-to-switch, switch-to-buffer-other-window)
16968 (switch-to-buffer-other-frame): Move here from files.el.
16969 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
16970 (switch-to-buffer): Move here from buffer.c.
16971 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 16972
562dd5e9
MR
169732011-06-10 Martin Rudalics <rudalics@gmx.at>
16974
16975 * window.el (window-min-height, window-min-width): Move here
16976 from window.c. Add defcustoms and rewrite doc-strings.
16977 (resize-mini-window, resize-window): New functions.
16978 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16979 Move here from window.c.
16980 (maximize-window, minimize-window): New functions.
16981 (delete-window, delete-other-windows, split-window): Move here
16982 from window.c.
16983 (window-split-min-size): New function.
16984 (split-window-keep-point): Mention split-window-above-each-other
16985 instead of split-window-vertically.
2b75be67 16986 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
16987 Rename split-window-vertically to split-window-above-each-other
16988 and provide defalias for old definition.
16989 (split-window-side-by-side, split-window-horizontally):
16990 Rename split-window-horizontally to split-window-side-by-side
16991 and provide defalias for the old definition.
562dd5e9
MR
16992 (ctl-x-map): Move bindings for delete-window,
16993 delete-other-windows and enlarge-window here from window.c.
16994 Replace bindings for split-window-vertically and
16995 split-window-horizontally by bindings for
16996 split-window-above-each-other and split-window-side-by-side.
16997
16998 * cus-start.el (all): Remove entries for window-min-height and
16999 window-min-width. Add entries for window-splits and
17000 window-nest.
17001
f0da764a
GM
170022011-06-09 Glenn Morris <rgm@gnu.org>
17003
80675c21
GM
17004 * calendar/appt.el (appt-mode-line): New function.
17005 (appt-check, appt-disp-window): Use it.
17006
f0da764a
GM
17007 * files.el (hack-one-local-variable-eval-safep):
17008 Allow minor-modes with explicit +/-1 arguments.
17009
59f623b7
TZ
170102011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17011
17012 * term/xterm.el (xterm): Add defgroup.
17013 (xterm-extra-capabilities): Add defcustom to supply known xterm
17014 capabilities, skip querying them, or query them (default).
17015 (terminal-init-xterm): Use it.
17016 (terminal-init-xterm-modify-other-keys): New function to set up
17017 modifyOtherKeys support to simplify `terminal-init-xterm'.
17018
9aab8e0d
MR
170192011-06-09 Martin Rudalics <rudalics@gmx.at>
17020
17021 * window.el (resize-window-reset, resize-window-reset-1)
17022 (resize-subwindows-skip-p, resize-subwindows-normal)
17023 (resize-subwindows, resize-other-windows, resize-this-window)
17024 (resize-root-window, resize-root-window-vertically)
17025 (window-deletable-p, window-or-subwindow-p)
17026 (frame-root-window-p): New functions.
17027
e8b08aee
GM
170282011-06-09 Glenn Morris <rgm@gnu.org>
17029
17030 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17031 (ange-ftp-get-files): Use it.
17032
254c37a5
AK
170332011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17034
17035 * mail/sendmail.el (mail-recover-1, mail-recover):
17036 * files.el (recover-file, recover-session):
17037 Handle dired-listing-switches not being just a single short option.
17038
35d7dbd3
GM
170392011-06-09 Glenn Morris <rgm@gnu.org>
17040
17041 * calendar/appt.el (appt-display-message, appt-disp-window):
17042 Handle lists of appointments.
17043
387522b2
MR
170442011-06-08 Martin Rudalics <rudalics@gmx.at>
17045
2b75be67
SM
17046 * window.el (one-window-p): Move down in code.
17047 Rewrite doc-string.
17048 (window-current-scroll-bars): Rewrite doc-string.
17049 Normalize live window argument.
387522b2
MR
17050 (walk-windows, get-window-with-predicate, count-windows):
17051 Rewrite doc-string. Use window-list-1.
17052 (window-in-direction-2, window-in-direction, get-mru-window):
17053 New functions.
17054
d8e4b68b 170552011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
17056
17057 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17058 Doc fix (Bug#8713).
17059
170602011-06-08 Chong Yidong <cyd@stupidchicken.com>
17061
17062 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17063
170642011-06-08 Juanma Barranquero <lekktu@gmail.com>
17065
17066 * loadhist.el (unload-feature-special-hooks):
17067 Add `comint-output-filter-functions'.
17068
0de12c52
IK
170692011-06-08 Ivan Kanis <gnu@kanis.fr>
17070
17071 * calendar/appt.el (appt-check): Move some initializations into the let.
17072
f3d1777e
MR
170732011-06-08 Martin Rudalics <rudalics@gmx.at>
17074
17075 * window.el (window-height): Defalias to window-total-height.
17076 (window-width): Defalias to window-body-width.
17077
18af70d0
CY
170782011-06-07 Chong Yidong <cyd@stupidchicken.com>
17079
17080 * image-mode.el (image-toggle-animation): New command.
17081 (image-mode-map): Bind it to RET.
17082 (image-mode): Update message.
17083 (image-toggle-display-image): Avoid a spurious cache flush.
17084 (image-transform-rotation): Doc fix.
17085 (image-transform-properties): Return quickly in the normal case.
17086 (image-animate-loop): Rename from image-animate-max-time.
17087
2b75be67 17088 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
17089 (create-animated-image): Remove unnecessary function.
17090 (image-animate): Rename from image-animate-start. New arg.
2b75be67 17091 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
17092 (image-animate-timer): Use car-safe.
17093 (image-animate-timeout): Rename argument.
17094
190b47e6
MR
170952011-06-07 Martin Rudalics <rudalics@gmx.at>
17096
17097 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
17098 window.c. Rename first argument to ALL-FRAMES.
17099 Rephrase doc-strings.
17100 (get-buffer-window-list): Rewrite using window-list-1.
17101 Rephrase doc-string.
a1511caf
MR
17102 (window-safe-min-height, window-safe-min-width): New constants.
17103 (window-size-ignore, window-min-size, window-min-size-1)
17104 (window-sizable, window-sizable-p, window-size-fixed-1)
17105 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17106 (window-max-delta-1, window-max-delta, window-resizable)
17107 (window-resizable-p, window-total-height, window-total-width)
17108 (window-body-width): New functions.
17109 (window-full-height-p, window-full-width-p): Rewrite using
17110 window-total-size.
17111 (window-body-height): Rewrite using window-body-size.
190b47e6 17112
85cc1f11
MR
171132011-06-06 Martin Rudalics <rudalics@gmx.at>
17114
17115 * window.el (window-right, window-left, window-child)
17116 (window-child-count, window-last-child, window-any-p)
17117 (normalize-live-buffer, normalize-live-frame)
17118 (normalize-any-window, normalize-live-window)
17119 (window-iso-combination-p, window-iso-combined-p)
17120 (window-iso-combinations)
17121 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17122 (windows-with-parameter, window-with-parameter)
17123 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
17124 (window-atom-check, window-side-check, window-check):
17125 New functions.
85cc1f11
MR
17126 (ignore-window-parameters, window-sides, window-sides-vertical)
17127 (window-sides-slots): New variables.
17128 (window-size-fixed): Move down in code. Minor doc-string fix.
17129
e7156492
AS
171302011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17131
17132 * comint.el (comint-dynamic-complete-as-filename)
17133 (comint-dynamic-complete-filename): Correctly call
17134 completion-in-region.
17135
7e821d0d
DD
171362011-06-05 Deniz Dogan <deniz@dogan.se>
17137
17138 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17139 in last change.
17140
ac09b8a1
DD
171412011-06-05 Deniz Dogan <deniz@dogan.se>
17142
17143 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17144 (rcirc): Use it to prompt for encryption.
17145
34699b85
RW
171462011-06-05 Roland Winkler <winkler@gnu.org>
17147
17148 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17149 (bibtex-search-entries): New command bound to C-c C-a.
17150 (bibtex-display-entries): New function.
17151
004dedd3
RW
171522011-06-05 Roland Winkler <winkler@gnu.org>
17153
17154 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17155 (bibtex-insert-kill): After yanking insert newline if necessary.
17156 (bibtex-initialize): Call bibtex-string-files-init only once.
17157 (bibtex-mode): Do not call easy-menu-add.
17158 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17159 (bibtex-yank): Set arg properly if nil.
17160
022fe7ce
RW
171612011-06-05 Roland Winkler <winkler@gnu.org>
17162
2b75be67
SM
17163 * textmodes/bibtex.el (bibtex-search-entry-globally):
17164 New variable.
022fe7ce
RW
17165 (bibtex-search-entry): Use it.
17166
b7c3692a
RW
171672011-06-05 Roland Winkler <winkler@gnu.org>
17168
17169 * textmodes/bibtex.el (bibtex-entry-format): New option
17170 sort-fields.
17171 (bibtex-format-entry, bibtex-reformat): Honor this option.
17172 (bibtex-parse-entry): Return fields in proper order.
17173
8eda563d
JB
171742011-06-05 Juanma Barranquero <lekktu@gmail.com>
17175
17176 * doc-view.el (doc-view-remove-if): Move computation of result out
17177 of `dolist' to silence misleading lexical-binding warning.
17178
7dbe3dbc
CY
171792011-06-04 Chong Yidong <cyd@stupidchicken.com>
17180
17181 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17182 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17183
0c33dd17
MA
171842011-06-04 Michael Albinus <michael.albinus@gmx.de>
17185
17186 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17187 "SunOS 5.10".
17188
f8f91c2b
MA
171892011-06-04 Michael Albinus <michael.albinus@gmx.de>
17190
17191 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17192 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17193 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17194 (tramp-parse-putty):
17195 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17196 (tramp-completion-function-alist-ssh)
17197 (tramp-completion-function-alist-telnet)
17198 (tramp-completion-function-alist-su)
17199 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17200 cookie.
17201
17202 * net/tramp-ftp.el:
17203 * net/tramp-sh.el:
17204 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17205 load "tramp.el" `tramp-set-completion-function'.
17206
e17d9003
SM
172072011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17208
17209 * shell.el: Require and use pcomplete.
17210 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17211 (shell-completion-vars): Set pcomplete-default-completion-function.
17212
6c4cab03
DD
172132011-06-04 Deniz Dogan <deniz@dogan.se>
17214
17215 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17216 `memq' (Bug#8799).
17217
ea9fafe0
SM
172182011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17219
17220 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17221
b3e945d3
JB
172222011-06-02 Juanma Barranquero <lekktu@gmail.com>
17223
17224 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17225 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17226 * vc/log-view.el (log-view-beginning-of-defun):
17227 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17228 (smerge-refine-forward, smerge-refine-chopup-region):
17229 Silence warning for unused `dotimes' counter variables.
17230
7d520089
SM
172312011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17232
17233 * net/tramp.el (tramp-with-progress-reporter): Rename from
17234 with-progress-reporter. Use `declare'.
17235 * net/tramp-smb.el:
17236 * net/tramp-sh.el:
17237 * net/tramp-gvfs.el: Update all uses.
17238
a1c2400f
JB
172392011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17240
17241 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17242 buffer isn't killed before making it current.
17243
2403c841
SM
172442011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17245
17246 Silence various byte-compiler warnings.
17247 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17248 `access-type' and new obsolescence format.
17249 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17250 new format.
17251 (byte-compile-check-variable): New `access-type' argument.
17252 Only warn if the access-type is obsolete.
17253 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17254 (byte-compile-variable-set): Adjust callers.
17255 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17256 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17257 setting it as obsolete.
17258 * simple.el (minibuffer-completing-symbol):
17259 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17260 access as obsolete.
17261 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17262 obsolete yet.
17263 * international/quail.el (quail-mouse-choose-completion): Remove unused
17264 code referring to obsolete var.
17265 (quail-choose-completion-string): Remove.
17266 * server.el (server-clients-with, server-kill-buffer-query-function)
17267 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17268 * proced.el (proced-send-signal):
17269 * emacs-lisp/lisp.el (lisp-complete-symbol):
17270 Replace completion-annotate-function with completion-extra-properties.
17271
2462470b
SM
172722011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17273
fb5b2591
SM
17274 * simple.el (goto-line): Use read-number.
17275 (overriding-map-is-bound): Remove.
17276 (saved-overriding-map): Change default.
17277 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17278 Take the map as argument.
17279 (universal-argument, negative-argument, digit-argument): Use it.
17280 (restore-overriding-map): Adjust.
17281 (do-auto-fill): Use fill-forward-paragraph.
17282 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17283
fd6fa53f
SM
17284 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17285 (minibuffer-inactive-mode): New major mode.
17286 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17287 the *Messages* buffer" hack.
17288 (mouse-popup-menubar): Don't burp if the event is a normal key.
17289
2462470b
SM
17290 Miscellaneous tweaks.
17291 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17292 lexical scoping as in subr.el's dolist and dotimes.
17293 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17294 Silence compiler warning.
17295 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17296 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17297 * international/ccl.el (ccl-compile): Trivial simplification.
17298 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17299 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17300 `printflag' argument.
17301 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17302 Purecopy the whole obsolescence data.
17303
108bf785
LL
173042011-06-01 Leo Liu <sdl.web@gmail.com>
17305
17306 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17307 improve doc-string as suggested by Marco Pessotto
17308 <melmothx@gmail.com>.
17309 (rcirc-print): Fix last change.
17310
30a23501
SM
173112011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17312
17313 * minibuffer.el (complete-with-action): Return nil for the metadata and
17314 boundaries of non-functional tables.
17315 (completion-table-dynamic): Return nil for the metadata.
17316 (completion-table-with-terminator): Add default case, using
17317 complete-with-action.
17318 (completion--metadata): New function.
17319 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17320 to try and avoid pathological performance problems.
17321 (completion--embedded-envvar-table): Return `category' metadata.
17322
bcd54f83
LMI
173232011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17324
17325 * subr.el (process-alive-p): New tiny convenience function.
17326
e227544d
SM
173272011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17328
17329 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17330 content but also its previous major mode.
17331
e8296fdc
HE
173322011-05-31 Helmut Eller <eller.helmut@gmail.com>
17333
4d61f28d 17334 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
17335 *Backtrace* buffer when we exit with C-M-c.
17336
620c53a6
SM
173372011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17338
17339 * minibuffer.el: Add metadata method to completion tables.
17340 (completion-category-overrides): New defcustom.
17341 (completion-metadata, completion--field-metadata)
17342 (completion-metadata-get, completion--styles)
17343 (completion--cycle-threshold): New functions.
17344 (completion-try-completion, completion-all-completions):
17345 Add `metadata' argument to choose completion-styles.
17346 (completion--do-completion): Use metadata to choose cycling.
17347 (completion-all-sorted-completions): Use metadata for sorting.
17348 Remove :completion-cycle-penalty which is not needed any more.
17349 (completion--try-word-completion): Add `metadata' argument.
17350 (minibuffer-completion-help): Check metadata for annotation function
17351 and sorting.
17352 (completion-file-name-table): Return `category' metadata.
17353 (minibuffer-completing-file-name): Make obsolete.
17354 * simple.el (minibuffer-completing-symbol): Make obsolete.
17355 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17356 completion-try-completion.
17357
1257e755
SM
173582011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17359
17360 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17361
3767e706
LL
173622011-05-30 Leo Liu <sdl.web@gmail.com>
17363
17364 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
17365 (rcirc-print): Decode all incoming messages (bug#8744).
17366 (rcirc-decode-coding-system): Allow value nil for automatic coding
17367 system detection.
3767e706 17368
d1a5d56a
GM
173692011-06-01 Glenn Morris <rgm@gnu.org>
17370
17371 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17372
e8cbec34
CY
173732011-05-29 Chong Yidong <cyd@stupidchicken.com>
17374
17375 * image.el (image-animate-max-time): Allow nil and t values.
17376 Default to nil.
17377 (create-animated-image): Doc fix.
17378 (image-animate-start): Remove second arg; just use
17379 image-animate-max-time.
17380 (image-animate-timeout): Doc fix. Args changed.
17381
17382 * image-mode.el (image-toggle-display-image): Ensure that the
17383 image spec passed to the animate timer is the same object as in
58179cce 17384 the buffer's display property (Bug#6981).
e8cbec34
CY
17385 (image-transform-properties): Doc fix.
17386
17387 * image.el (image-animate-max-time): Default to nil.
17388
159daf87
MR
173892011-05-29 Martin Rudalics <rudalics@gmx.at>
17390
17391 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17392 entire buffer list (Bug#8184).
17393
d66c4c7c
CY
173942011-05-29 Chong Yidong <cyd@stupidchicken.com>
17395
17396 * image.el (imagemagick-types-inhibit)
17397 (imagemagick-register-types): Doc fix.
17398
80aec780
DD
173992011-05-29 Deniz Dogan <deniz@dogan.se>
17400
17401 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17402 default.
17403
1dd3c2d9
CY
174042011-05-29 Chong Yidong <cyd@stupidchicken.com>
17405
17406 * select.el: Don't perform clipboard-manager saving in hooks;
17407 leave the hooks empty.
17408
60e56523
LL
174092011-05-28 Leo Liu <sdl.web@gmail.com>
17410
17411 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17412 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17413 (occur-edit-mode): New major mode (Bug#8463).
17414 (occur-after-change-function): New function.
17415 (occur-engine): Give Occur tags a read-only property.
17416
2b1e1a22
KR
174172011-05-28 Kevin Ryde <user42@zip.com.au>
17418
17419 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17420
5d344e88
CY
174212011-05-28 Chong Yidong <cyd@stupidchicken.com>
17422
8e6ca83d
CY
17423 * bindings.el (help-echo): Make the initial non-indicator dash
17424 empty on graphical terminals (Bug#7295).
17425
5d344e88
CY
17426 * files.el (auto-mode-alist): Move config rule after the
17427 in-stripping one (Bug#8547).
17428
bfbbace7
CY
17429 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17430
fbeba6e2
CY
17431 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17432 setting (Bug#8740).
17433
60ed8c72
AA
174342011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17435
4ac619f0
AA
17436 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17437 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17438 (Bug#8539).
60ed8c72 17439
23db196e
CY
174402011-05-28 Chong Yidong <cyd@stupidchicken.com>
17441
17442 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17443
5012f24c
DK
174442011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17445
17446 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17447 (hs-hide-block-at-point, hs-find-block-beginning)
17448 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17449 (Bug#8279).
17450
6a639b16
GM
174512011-05-28 Glenn Morris <rgm@gnu.org>
17452
17453 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17454
d43eaf2c
CY
174552011-05-28 Chong Yidong <cyd@stupidchicken.com>
17456
5199bde1
CY
17457 * help-fns.el (describe-function-1): If the function is a derived
17458 major mode, print the parent mode.
17459
d43eaf2c
CY
17460 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17461 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17462
423428a8
SM
174632011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17464
0ff8e1ba 17465 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 17466 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
17467 * progmodes/etags.el (tags-completion-at-point-function):
17468 * info-look.el (info-lookup-completions-at-point): Mark as
17469 non-exclusive.
17470 (info-complete): Adjust accordingly.
17471
423428a8
SM
17472 * info-look.el: Convert to lexical-binding and completion-at-point.
17473 (info-lookup-completions-at-point): New function.
17474 (info-complete): Use it and completion-in-region.
17475
b74aa22b
DA
174762011-05-28 Drew Adams <drew.adams@oracle.com>
17477
17478 * isearch.el: Let M-e start with point at the first mismatched char.
17479 (isearch-fail-pos): New function.
17480 (isearch-edit-string): Use it.
17481
66e2e71d
DK
174822011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17483
17484 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17485
b1890b0f 174862011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
17487
17488 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17489 traversal functions for avl-trees.
17490 (avl-tree--stack): New struct.
17491 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17492 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
17493 (avl-tree--do-enter): Add optional `updatefun' arg.
17494 Change return value.
eb95d01d 17495 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
17496 (avl-tree--do-delete): Add `test' and `nilflag' args.
17497 Change return value.
eb95d01d
TC
17498 (avl-tree-member): Add optional `nilflag'
17499 (avl-tree-member-p): New function.
17500 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17501 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17502 (avl-tree-stack-empty-p): New functions.
17503
3769ddcf
TC
17504 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17505 avl-tree--del-balance1 and make it work both ways.
17506 (avl-tree--del-balance2): Remove.
17507 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17508 make it work both ways.
17509 (avl-tree--enter-balance2): Remove.
17510 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17511 New macros.
17512 (avl-tree--mapc, avl-tree-map): Add direction argument.
17513
eb95d01d 175142011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
17515
17516 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17517
a9f737ee
CY
175182011-05-27 Chong Yidong <cyd@stupidchicken.com>
17519
17520 * select.el: Support clipboard managers with built-in function
17521 x-clipboard-manager-save, via delete-frame-functions and
17522 kill-emacs-hook.
17523 (xselect-convert-to-targets): Add MULTIPLE target to list.
17524 (xselect-convert-to-save-targets): New function.
17525
c92a1e54
KH
175262011-05-27 Kenichi Handa <handa@m17n.org>
17527
17528 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17529 let-binding rfc2047-encode-encoded-words to nil.
17530
e145f188
GM
175312011-05-27 Glenn Morris <rgm@gnu.org>
17532
5ec8a862
GM
17533 * mail/emacsbug.el: Don't require url-util.
17534
4b29d9fb
GM
17535 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17536
e145f188
GM
17537 * files.el (set-auto-mode):
17538 Also respect mode: entries at the end of the file. (Bug#8586)
17539
7d15102b
GM
175402011-05-26 Glenn Morris <rgm@gnu.org>
17541
98f593b8
GM
17542 * files.el (hack-local-variables-prop-line, hack-local-variables):
17543 Downcase mode names, as seems to be traditional.
27b48e63 17544 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 17545
7d15102b
GM
17546 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17547 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17548
51d5b4ec
JD
175492011-05-25 Julien Danjou <julien@danjou.info>
17550
17551 * textmodes/rst.el (rst-define-level-faces): Do not define face
17552 symbol if it is already defined.
17553
91513f63
VB
175542011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17555
17556 * play/5x5.el (5x5-new-game, 5x5-randomize):
17557 Reset 5x5-solver-output to nil when a new grid is cast.
17558 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17559 these debugging traces, as defmacro breaks the compiled code.
17560
4d90d6d0
DK
175612011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17562
17563 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17564
e1b90ef6
LL
175652011-05-24 Leo Liu <sdl.web@gmail.com>
17566
17567 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17568 (vc-bzr-sha1): Adapt.
17569
d8e4b68b 17570 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
17571
17572 * bindings.el: Provide sha1 feature.
17573
db0406bb 175742011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
17575
17576 * mail/sendmail.el: Require `rfc2047'.
17577 (mail-insert-from-field): Do not perform RFC2047 encoding.
17578 (mail-encode-header): New function.
17579 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
17580 buffer to the return value of select-message-coding-system.
17581 Call mail-encode-header.
b8d747b9
KH
17582
17583 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17584
db0406bb 175852011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 17586
4d90d6d0
DK
17587 * mail/supercite.el (sc-default-cite-frame):
17588 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 17589
eb8a5e9b
GM
175902011-05-24 Glenn Morris <rgm@gnu.org>
17591
f8630703
GM
17592 * progmodes/python.el (brm-menu): Declare.
17593
8831bbed
GM
17594 * emulation/viper.el (viper-set-hooks): Declare.
17595
eb8a5e9b
GM
17596 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17597 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17598 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17599 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17600 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17601 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17602
a2a25d24
SM
176032011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17604
17605 Add an :exit-function for completion-at-point.
17606
17607 * minibuffer.el (completion--done): New fun.
17608 (completion--do-completion): Use it. New arg `expect-exact'.
17609 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17610 since completion--do-completion does it for us now.
17611 (minibuffer-force-complete): Use completion--done and
17612 completion--replace. Handle sole-completion case with more care.
17613 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17614 (completion-extra-properties): New var.
17615 (completion-annotate-function): Make obsolete.
17616 (minibuffer-completion-help): Adjust accordingly.
17617 Use completion-list-insert-choice-function.
17618 (completion-at-point, completion-help-at-point):
17619 Bind completion-extra-properties.
17620 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17621 * simple.el (completion-list-insert-choice-function): New var.
17622 (completion-setup-function): Preserve it.
17623 (choose-completion): Pay attention to it, shuffle the code a bit.
17624 (choose-completion-string): New arg `insert-function'.
17625
17626 * textmodes/bibtex.el: Convert to lexical binding.
17627 (bibtex-mode-map): Use completion-at-point.
17628 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17629 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17630 (bibtex-complete): Define as obsolete alias.
17631 (bibtex-complete-internal): Remove.
17632 (bibtex-format-entry): Remove unused sub-group in regexp.
17633 * shell.el (shell--command-completion-data)
17634 (shell-environment-variable-completion):
17635 * pcomplete.el (pcomplete-completions-at-point):
17636 * comint.el (comint--complete-file-name-data): Use :exit-function
17637 instead of completion-table-with-terminator so it also works for
17638 choose-completion.
17639
e44e373d
SM
176402011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17641
4f91a816
SM
17642 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17643
782fc819
SM
17644 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17645 (bug#8710).
17646
e44e373d
SM
17647 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17648
381987c3
KM
176492011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17650
17651 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17652 customization variable and implement: If non-nil, auto-fill will
17653 be inhibited while on topic's header line.
17654
b776bc70
VB
176552011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17656
17657 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 17658 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
17659 always have a solution in grid size = 5 cases.
17660 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17661 (5x5-solver-output, 5x5-log-buffer): New vars.
17662 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17663 Make these variables buffer local to achieve 5x5 multi-session-ness.
17664 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17665 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17666 (5x5-solve-suggest): New funs.
17667 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17668 randomize a grid so that we ensure that there is always a solution.
17669 (5x5-make-random-grid): Allow other movement than flipping.
17670
7de88b6e
KR
176712011-05-23 Kevin Ryde <user42@zip.com.au>
17672
17673 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 17674 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
17675 advice and passes PREDICATE.
17676
b1ef1257
SM
176772011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17678
bbca48fe
SM
17679 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17680 byte-compile-lambda if it's actually a lambda.
17681
b1ef1257
SM
17682 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17683 Fix function quoting. Use backquote better.
17684
92a9cc65
YS
176852011-05-22 Yuanle Song <sylecn@gmail.com>
17686
17687 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17688 matching (Bug#8516).
17689
f0fb8059
JA
176902011-01-22 Jari Aalto <jari.aalto@cante.net>
17691
17692 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17693 different face (Bug#8178).
17694
d5b44c93
CY
176952011-05-22 Chong Yidong <cyd@stupidchicken.com>
17696
17697 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17698 defface (Bug#8144).
17699
79106a44
SM
177002011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17701
9c848d8a
SM
17702 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17703 funcall as well (bug#8712). Warn when performing those conversions.
17704 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17705
79106a44
SM
17706 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17707
88dfa756
GM
177082011-05-22 Glenn Morris <rgm@gnu.org>
17709
17710 * files.el (hack-local-variables-prop-line): Small simplifications.
17711 (hack-local-variables, hack-local-variables-prop-line):
17712 If MODE-ONLY, return the mode, rather than just `t'.
17713
b7cf2c79
SM
177142011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17715
17716 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17717
3f1a8558
GM
177182011-05-21 Glenn Morris <rgm@gnu.org>
17719
7e4ccca3
GM
17720 * files.el (hack-local-variables-prop-line, hack-local-variables):
17721 If only interested in the mode, don't bother doing the other stuff.
17722
637d46ca
GM
17723 * image-mode.el (image-after-revert-hook):
17724 Redraw all frames on which the image is visible. (Bug#8567)
17725
973d955b
GM
17726 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17727
3f1a8558
GM
17728 * wid-edit.el (widget-checklist-match-inline):
17729 Fix 2011-04-19 change. (Bug#8649)
17730
96479927
SM
177312011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17732
1dcf791f
SM
17733 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17734 Also allow singlespace after single-letter capitals followed by a dot.
17735
96479927
SM
17736 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17737 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17738
35fd0881
N
177392011-05-20 Nix <nix@esperi.org.uk>
17740
17741 * files.el (basic-save-buffer-2):
17742 Fix handling of break-hardlink-on-save with non-existent files.
17743
82745640
DD
177442011-05-19 Deniz Dogan <deniz@dogan.se>
17745
17746 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 17747 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 17748
4a720484
GM
177492011-05-19 Glenn Morris <rgm@gnu.org>
17750
d1f21341
GM
17751 * progmodes/f90.el (f90-type-def-re):
17752 Handle "type, bind(c)". (Bug#8691)
17753
4a720484
GM
17754 * emacs-lisp/autoload.el (batch-update-autoloads):
17755 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17756
2fb0a219
MA
177572011-05-18 Michael Albinus <michael.albinus@gmx.de>
17758
17759 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17760 property for the correct connection in case of multihops.
17761
e565dd37
GM
177622011-05-18 Glenn Morris <rgm@gnu.org>
17763
c2571358 17764 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
17765 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17766
e565dd37
GM
17767 Rationalize calendar handling of day and month abbrev-arrays.
17768 * calendar/calendar.el (calendar-customized-p): New function.
17769 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17770 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17771 Add :set function.
17772 (calendar-abbrev-length, calendar-day-abbrev-array)
17773 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17774 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17775 Elements may no longer be nil.
17776 (calendar-day-name, calendar-month-name):
17777 Update for changed nature of abbrev arrays.
17778 * calendar/diary-lib.el (diary-name-pattern):
17779 Update for changed nature of abbrev arrays.
17780 (diary-mark-entries-1): Update calendar-make-alist calls.
17781 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17782 * calendar/cal-html.el (cal-html-day-abbrev-array):
17783 Simply inherit from calendar-day-abbrev-array.
17784
1d99a745
SM
177852011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17786
17787 * progmodes/grep.el (grep-mode): Disable default
17788 compilation-directory-matcher setting (bug#8684).
17789
7c1d9aa0
MA
177902011-05-17 Michael Albinus <michael.albinus@gmx.de>
17791
17792 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17793 instead of "head" and "tail". There were problems with SunOS 5.9,
17794 and it performs better.
17795
3952e9d8
GM
177962011-05-17 Glenn Morris <rgm@gnu.org>
17797
2dd12e7f
GM
17798 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17799
e4157b9c
GM
17800 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17801 Replace obsolete function.
17802
8e249bbd
GM
17803 * shell.el (pcomplete-parse-arguments-function): Declare.
17804
3952e9d8
GM
17805 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17806 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17807 (appt-check): Doc fixes.
17808 (appt-disp-window-function, appt-delete-window-function):
17809 Remove needless special case in custom :type.
17810 (appt-display-count): Default to 0, not nil.
17811 (appt-check): Reset appt-display-count to 0, not nil.
17812
c71a0d48 178132011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 17814
c71a0d48
GM
17815 * progmodes/python.el (python-font-lock-keywords):
17816 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 17817
31d55be9
SM
178182011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17819
17820 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17821
3bfacb2f
KR
178222011-05-16 Kevin Ryde <user42@zip.com.au>
17823
17824 * info-look.el (makefile-automake-mode): New setups, looking in
17825 automake manual, then makefile-mode.
17826 (makefile-mode): Remove automake manual, have it just in
17827 makefile-automake-mode since there's various things different or
17828 not relevant to plain make.
17829 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17830 believe a hypothetical automake-mode would go to makefile-mode,
17831 not the other way around.
17832
c8e83751
CY
178332011-05-15 Chong Yidong <cyd@stupidchicken.com>
17834
5e9e35cd
CY
17835 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17836 hunk-end tags (Bug#8672).
17837
c8e83751
CY
17838 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17839 vc-annotate-show-diff-revision-at-line (Bug#8671).
17840
50b23e5a
GM
178412011-05-14 Glenn Morris <rgm@gnu.org>
17842
7210a739
GM
17843 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17844 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
17845 (change-log-font-lock-keywords): Also handle multiple author lines
17846 with leading tabs. (Bug#8644)
7210a739 17847
4691905a
GM
17848 * calendar/appt.el (appt-check): Rename some local variables.
17849 Some simplification/reordering.
17850
50b23e5a
GM
17851 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17852 (feedmail-sendmail-f-doesnt-sell-me-out)
17853 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17854 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17855 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
17856 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17857 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
17858 (feedmail-binmail-gnulinuxish-template):
17859 Rename from feedmail-binmail-linuxish-template.
17860 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17861 Use insert-buffer-substring.
17862
215cda7c
BC
178632011-05-14 Bill Carpenter <bill@carpenter.org>
17864
17865 * mail/feedmail.el (feedmail-patch-level): Increase.
17866 (feedmail-debug): New custom group.
17867 (feedmail-confirm-outgoing-timeout)
17868 (feedmail-sendmail-f-doesnt-sell-me-out)
17869 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17870 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17871 (feedmail-sender-line, feedmail-from-line)
17872 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 17873 (feedmail-spray-this-address)
215cda7c
BC
17874 (feedmail-spray-address-fiddle-plex-list)
17875 (feedmail-queue-use-send-time-for-date)
17876 (feedmail-queue-use-send-time-for-message-id)
17877 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17878 (feedmail-buffer-eating-function):
17879 Doc fixes.
17880 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17881 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17882 (feedmail-message-action-scroll-down): New functions.
17883 (feedmail-queue-directory, feedmail-queue-draft-directory):
17884 Use expand-file-name.
17885 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17886 Remove C-v help entry.
17887 (feedmail-queue-buffer-file-name): New variable.
17888 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17889 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17890 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17891 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17892 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17893 (feedmail-message-action-toggle-spray)
17894 (feedmail-run-the-queue-no-prompts)
17895 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17896 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17897 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17898 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17899 (feedmail-envelope-deducer, feedmail-fiddle-from)
17900 (feedmail-fiddle-sender, feedmail-default-date-generator)
17901 (feedmail-fiddle-date, feedmail-fiddle-message-id)
17902 (feedmail-fiddle-spray-address)
17903 (feedmail-fiddle-list-of-spray-fiddle-plexes)
17904 (feedmail-fiddle-list-of-fiddle-plexes)
17905 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17906 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17907 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17908 Change default. Doc fix.
17909 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17910 (feedmail-binmail-linuxish-template): New constant.
17911 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
17912 Respect feedmail-sendmail-f-doesnt-sell-me-out.
17913 (feedmail-send-it): Add debug call.
17914 Use feedmail-queue-buffer-file-name, and
17915 feedmail-send-it-immediately-wrapper.
17916 (feedmail-message-action-send): Add debug call.
17917 Use feedmail-send-it-immediately-wrapper.
17918 (feedmail-queue-express-to-queue): Add debug call.
17919 Run feedmail-queue-express-hook.
17920 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
17921 (feedmail-message-action-help-blat):
17922 Rename from feedmail-queue-send-edit-prompt-help-first.
17923 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
17924 Check line-endings. Handle errors better.
17925 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17926 Doc fix. Add debug call.
17927 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
17928 Use feedmail-queue-send-edit-prompt-inner.
17929 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17930 (feedmail-queue-send-edit-prompt-inner): New function, extracted
17931 from feedmail-queue-send-edit-prompt.
17932 (feedmail-queue-send-edit-prompt-help)
17933 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17934 (feedmail-tidy-up-slug): Add debug call.
17935 Respect feedmail-queue-slug-suspect-regexp.
17936 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17937 (feedmail-dump-message-to-queue): Add debug call.
17938 Expand queue-directory.
17939 (feedmail-dump-message-to-queue): Change message slightly.
17940 Use feedmail-say-chatter.
17941 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
17942 (feedmail-send-it-immediately-wrapper): New function.
17943 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
17944 Insert empty string rather than newline. Handle full-frame case.
17945 Use catch/throw. Use feedmail-say-chatter.
17946 (feedmail-fiddle-from): Try mail-host-address.
17947 (feedmail-default-message-id-generator): Doc fix.
17948 Bind system-time-locale. Handle missing end.
17949 (feedmail-fiddle-x-mailer): Add debug call.
17950 Handle feedmail-x-mailer-line being nil.
17951 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17952 Add debug call. Use buffer-substring-no-properties.
17953 (feedmail-say-debug, feedmail-say-chatter): New functions.
17954 (feedmail-find-eoh): Give an explicit error.
17955
42c7e61e
UJ
179562011-05-13 Ulf Jasper <ulf.jasper@web.de>
17957
c2571358 17958 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 17959 family from helvetica to sans.
c2571358 17960 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17961 etc/images/newsticker.
17962
c2571358 17963 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
17964 family from helvetica to sans.
17965
17966 * net/newst-plainview.el (newsticker-new-item-face)
17967 (newsticker-old-item-face, newsticker-immortal-item-face)
17968 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 17969 (newsticker-statistics-face): Change default family from
42c7e61e 17970 helvetica to sans.
c2571358 17971 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17972 etc/images/newsticker.
17973
5d3385a0
JB
17974 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17975 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
17976 auto-marking.
17977
8497a297
DV
179782011-05-13 Didier Verna <didier@xemacs.org>
17979
17980 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
17981 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17982 TODO entries.
8497a297
DV
17983 (lisp-lambda-list-keyword-parameter-indentation)
17984 (lisp-lambda-list-keyword-parameter-alignment)
17985 (lisp-lambda-list-keyword-alignment): New customizable user options.
17986 (lisp-indent-defun-method): Improve docstring.
17987 (extended-loop-p): Fix comment.
17988 (lisp-indent-lambda-list-keywords-regexp): New variable.
17989 (lisp-indent-lambda-list): New function.
17990 (lisp-indent-259): Use it.
17991 (lisp-indent-defmethod): Support for more than one
17992 method qualifier and properly indent methods lambda-lists.
17993 (defgeneric): Provide a missing common-lisp-indent-function property.
17994
f278f87f
SM
179952011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17996
17997 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17998 bounds for the empty string (bug#8667).
17999
5233edd7
GM
180002011-05-13 Glenn Morris <rgm@gnu.org>
18001
5237a44f
GM
18002 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18003
8340026c 18004 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 18005 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 18006
5233edd7 18007 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 18008 (appt-time-msg-list): Doc fix.
a5464014 18009 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 18010
92d10796
AS
180112011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18012
18013 * progmodes/ld-script.el (ld-script-keywords)
18014 (ld-script-builtins): Update keywords list.
18015
914a0ae1
SM
180162011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18017
c89be45f
SM
18018 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18019
914a0ae1
SM
18020 * shell.el (shell-completion-vars): New function.
18021 (shell-mode):
18022 * simple.el (read-shell-command): Use it.
18023 (blink-matching-open): No need for " [...]" in minibuffer-message.
18024
98dc3df3
GM
180252011-05-12 Glenn Morris <rgm@gnu.org>
18026
18027 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18028 (appt-check): Simplify.
18029
d2fc7e3d 180302011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 18031
4d61f28d 18032 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
18033 literal "/dev/null".
18034
d2fc7e3d 180352011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
18036
18037 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18038 Fix typo.
18039
d2fc7e3d 180402011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 18041
3f254caa
SM
18042 * progmodes/which-func.el (which-function):
18043 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
18044 which might not be defined (Bug#8260).
18045
d45885f7
GM
180462011-05-12 Glenn Morris <rgm@gnu.org>
18047
18048 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18049 Let byte-compile-initial-macro-environment always take precedence.
18050
488086f4
SM
180512011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18052
18053 * net/rcirc.el: Add support for SSL/TLS connections.
18054 (rcirc-server-alist): New field `encryption'.
18055 (rcirc): Check `encryption' settings.
18056 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18057 Merge make-local-variable into `set'.
18058 (rcirc--connection-open-p): New function.
18059 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18060 the process is not a network process (e.g. running gnutls-cli).
18061 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18062 Make rcirc-(en|de)code-coding-system local here.
18063 (rcirc-mode): Merge make-local-variable into `set'.
18064 (rcirc-parent-buffer): Make permanent buffer-local.
18065 (rcirc-multiline-minor-mode): Don't do it here.
18066 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18067 there's no server buffer.
18068
7d3b9d44
GM
180692011-05-11 Glenn Morris <rgm@gnu.org>
18070
f64049c6
GM
18071 * newcomment.el (comment-kill): Prefix "unused" local.
18072
93c9df73
GM
18073 * term/w32console.el (get-screen-color): Declare.
18074
7d3b9d44
GM
18075 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18076 Handle symbol elements of byte-compile-initial-macro-environment.
18077
9e2dd53f
LL
180782011-05-10 Leo Liu <sdl.web@gmail.com>
18079
488086f4
SM
18080 * bookmark.el (bookmark-bmenu-mode-map):
18081 Bind bookmark-bmenu-search to `/'.
8b340240 18082
9e2dd53f 18083 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
18084 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18085 (Footnote-unicode): New function.
18086 (footnote-style-alist): Add unicode style to the list.
18087 (footnote-style): Doc fix.
9e2dd53f 18088
79b70037
GM
180892011-05-10 Jim Meyering <meyering@redhat.com>
18090
18091 Fix doubled-word typos.
18092 * international/quail.el (quail-insert-kbd-layout): and and -> and
18093 * kermit.el: and and -> and
18094 * net/ldap.el (ldap-search-internal): to to -> to
18095 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18096 * progmodes/js.el (js-mode): and and -> and
18097 * textmodes/artist.el (artist-move-to-xy): at at -> at
18098 (artist-draw-region-trim-line-endings): if if -> if
18099 And Safetyc -> Safety.
18100 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18101
b8f82dc1 181022011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 18103 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
18104
18105 * files.el (hack-one-local-variable-eval-safep):
18106 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18107
4f99f44b
GM
181082011-05-10 Glenn Morris <rgm@gnu.org>
18109
18110 * calendar/diary-lib.el (diary-list-entries-hook)
18111 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18112 (diary-nongregorian-marking-hook, diary-list-entries)
18113 (diary-include-other-diary-files, diary-mark-entries)
18114 (diary-mark-included-diary-files): Doc fixes.
18115
84f29e6b
JB
181162011-05-09 Juanma Barranquero <lekktu@gmail.com>
18117
18118 * misc.el: Require tabulated-list.el during compilation.
18119
9bedd73a
CY
181202011-05-09 Chong Yidong <cyd@stupidchicken.com>
18121
488086f4
SM
18122 * progmodes/compile.el (compilation-start):
18123 Run compilation-filter-hook for the async case too.
9bedd73a
CY
18124 (compilation-filter-hook): Doc fix.
18125
797c735c
DD
181262011-05-09 Deniz Dogan <deniz@dogan.se>
18127
18128 * wdired.el: Remove outdated installation comment. Fix usage
18129 comment.
18130
5f4b1dfe
JB
181312011-05-09 Juanma Barranquero <lekktu@gmail.com>
18132
18133 * misc.el: Implement new command `list-dynamic-libraries'.
18134 (list-dynamic-libraries--loaded-only-p): New variable.
18135 (list-dynamic-libraries--refresh): New function.
18136 (list-dynamic-libraries): New command.
18137
4c44026c
CY
181382011-05-09 Chong Yidong <cyd@stupidchicken.com>
18139
488086f4
SM
18140 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18141 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
18142 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18143 higher priority to avoid clobbering by gnu.
18144
027f966d
CY
181452011-05-08 Chong Yidong <cyd@stupidchicken.com>
18146
18147 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18148 if the face has existing theme settings (Bug#8454).
18149
085f5d7d
CY
181502011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18151
488086f4
SM
18152 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18153 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 18154
2a86a00c
RS
18155 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18156 special file names `.' and `..' (Bug#8259).
18157
d9c54a06
CY
181582011-05-08 Chong Yidong <cyd@stupidchicken.com>
18159
488086f4
SM
18160 * progmodes/grep.el (grep-mode-font-lock-keywords):
18161 Remove buffer-changing entries.
d9c54a06
CY
18162 (grep-filter): New function.
18163 (grep-mode): Add it to compilation-filter-hook.
18164
18165 * progmodes/compile.el (compilation-filter-hook)
18166 (compilation-filter-start): New defvars.
18167 (compilation-filter): Call compilation-filter-hook prior to
18168 updating the process mark.
18169
c4662635
SM
181702011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18171
18172 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18173
b0512a1d
EZ
181742011-05-07 Eli Zaretskii <eliz@gnu.org>
18175
605c9376
EZ
18176 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18177 mailclient-send-it even if window-system is nil. (Bug#8595)
18178
c4662635
SM
18179 * term/w32console.el (terminal-init-w32console):
18180 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
18181 background-mode. (Bug#8597)
18182
d1dc2cc2
SM
181832011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18184
18185 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18186 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18187 New functions.
18188 (defgeneric, eieio--defmethod): Use them.
18189 (eieio-defgeneric): Remove.
18190 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18191
915d1300
GM
181922011-05-07 Glenn Morris <rgm@gnu.org>
18193
a3961c3e
GM
18194 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18195 Use let rather than let*.
18196 (timeclock-find-discrep): Remove unused local.
18197
314347b9
GM
18198 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18199
915d1300
GM
18200 * calendar/appt.el (appt-time-msg-list): Doc fix.
18201
275b59b0
NF
182022011-05-06 Noah Friedman <friedman@splode.com>
18203
18204 * apropos.el (apropos-print-doc): Only use
18205 emacs-lisp-docstring-fill-column when it is bound to an integer,
18206 per that variable's documentation.
18207
6c19f744
SM
182082011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18209
18210 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 18211 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 18212
60f884b2
GM
182132011-05-06 Glenn Morris <rgm@gnu.org>
18214
5006e634
GM
18215 * calendar/appt.el (appt-message-warning-time): Doc fix.
18216 (appt-warning-time-regexp): New option.
18217 (appt-make-list): Respect appt-message-warning-time.
18218
548d0a63
GM
18219 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18220 New options.
18221 (diary-add-to-list): Strip comments from the displayed string.
18222 (diary-mode): Set comment-start and comment-end.
18223
60f884b2
GM
18224 * vc/diff-mode.el (smerge-refine-subst): Declare.
18225 (diff-refine-hunk): Don't require smerge-mode when compiling.
18226
989681bb
JB
182272011-05-06 Juanma Barranquero <lekktu@gmail.com>
18228
18229 * simple.el (list-processes): Return nil as the docstring says.
18230
a6bc05e1
MA
182312011-05-05 Michael Albinus <michael.albinus@gmx.de>
18232
18233 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18234 to "".
18235 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18236 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18237 determining of binary transfer. (Bug#7383)
18238
23c22e9a
MA
182392011-05-05 Michael Albinus <michael.albinus@gmx.de>
18240
c4662635
SM
18241 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18242 Fix port computation bug. (Bug#8618)
23c22e9a 18243
0bff894f
GM
182442011-05-05 Glenn Morris <rgm@gnu.org>
18245
b8296902
GM
18246 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18247
1f522ce8
GM
18248 * simple.el (shell-dynamic-complete-functions)
18249 (comint-dynamic-complete-functions): Declare.
18250
cf5bee67
GM
18251 * net/network-stream.el (gnutls-negotiate):
18252 * simple.el (tabulated-list-print): Fix declarations.
18253
18254 * progmodes/gud.el (syntax-symbol, syntax-point):
18255 Remove unnecessary and incorrect declarations.
18256
0bff894f 18257 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 18258 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 18259
9869b3ae
SM
182602011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18261
18262 Fix earlier half-done eieio-defmethod change (bug#8338).
18263 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18264 Streamline and change calling convention.
18265 (defmethod): Adjust accordingly and simplify.
18266 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18267 new eieio--defmethod.
18268 (slot-boundp): Minor CSE simplification.
18269
9c1d5ac5
MZ
182702011-05-05 Milan Zamazal <pdm@zamazal.org>
18271
18272 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18273 (glasses-make-readable): Use glasses-separate-capital-groups.
18274
455c834e
JB
182752011-05-05 Juanma Barranquero <lekktu@gmail.com>
18276
18277 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18278 (warning-series): Doc fix.
18279 (display-warning): Don't try to create the buffer if we just found it.
18280
9ed7c8cb
CY
182812011-05-04 Chong Yidong <cyd@stupidchicken.com>
18282
18283 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18284 (autoload-find-generated-file): New function.
18285 (generate-file-autoloads): Bind generated-autoload-file to
18286 buffer-file-name.
9869b3ae
SM
18287 (update-file-autoloads, update-directory-autoloads):
18288 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
18289 output file (Bug#7989).
18290 (batch-update-autoloads): Doc fix.
18291
0898ca10
JB
182922011-05-04 Juanma Barranquero <lekktu@gmail.com>
18293
18294 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18295
31dfb76c
GM
182962011-05-04 Glenn Morris <rgm@gnu.org>
18297
f330b642
GM
18298 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18299 function, so it follows changes in calendar-date-style.
18300 (diary-fancy-date-matcher): New function.
18301 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18302 (diary-fancy-font-lock-fontify-region-function):
18303 Use diary-fancy-date-pattern as a function.
18304
31dfb76c
GM
18305 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18306 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18307
48e79d6a
TZ
183082011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18309
18310 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18311 instead of positional arguments. Allow :keylist and :crlfiles
18312 arguments.
18313 (open-gnutls-stream): Call it.
18314
18315 * net/network-stream.el (network-stream-open-starttls): Adjust to
18316 call `gnutls-negotiate' with :process and :hostname arguments.
18317
dd5a5ee0
SM
183182011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18319
ef80fc09
SM
18320 * minibuffer.el (completion--message): New function.
18321 (completion--do-completion, minibuffer-complete)
18322 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18323 (completion--do-completion): Don't ignore completion-auto-help when in
18324 icomplete-mode.
18325
dd5a5ee0
SM
18326 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18327 internal encoding (e.g. tibetan zero is not whitespace).
18328 (global-whitespace-mode): Prefer save-current-buffer.
18329 (whitespace-trailing-regexp): Remove useless save-match-data.
18330 (whitespace-empty-at-bob-regexp): Minor simplification.
18331
b7d22a83
CY
183322011-05-03 Chong Yidong <cyd@stupidchicken.com>
18333
18334 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18335
5192af46
AM
183362011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18337
18338 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 18339 Use `concat' to create string for insertion.
5192af46 18340
5767d190
SM
183412011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18342
18343 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18344 Avoid open-line which runs post-self-insert-hook.
18345 (bibtex-fill-entry): Remove unused `end' var.
18346
bf242939
AM
183472011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18348
5767d190
SM
18349 * textmodes/ispell.el (ispell-add-per-file-word-list):
18350 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 18351
25666126
LL
183522011-05-03 Leo Liu <sdl.web@gmail.com>
18353
18354 * isearch.el (isearch-yank-pop): New command.
5767d190 18355 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
18356 (isearch-forward): Mention it.
18357
52d3c2d0
SM
183582011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18359
1bcace58
SM
18360 * simple.el (minibuffer-complete-shell-command): Remove.
18361 (minibuffer-local-shell-command-map): Use completion-at-point.
18362 (read-shell-command): Setup completion vars here instead.
18363 (read-expression-map): Bind TAB to symbol completion.
18364
52d3c2d0
SM
18365 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18366 error directly rather via storing it into `results'.
18367
35813471
LL
183682011-05-02 Leo Liu <sdl.web@gmail.com>
18369
18370 * vc/diff.el: Fix description.
18371
e793a940
LMI
183722011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18373
18374 * server.el (server-eval-at): New function.
18375
8de66e05
LMI
183762011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18377
18378 * net/network-stream.el (open-network-stream): Take a :nowait
18379 parameter and pass it on to `make-network-process'.
18380 (network-stream-open-plain): Ditto.
18381
dcb79f20
AS
183822011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18383
18384 * faces.el (face-spec-set-match-display): Don't match toolkit
18385 options on terminal frames.
18386
14a7fbd8
SM
183872011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18388
7eabc1be
SM
18389 * progmodes/pascal.el: Use lexical binding.
18390 (pascal-mode-map): Remove author preferences.
18391
14a7fbd8
SM
18392 * pcomplete.el (pcomplete-std-complete): Don't abuse
18393 completion-at-point.
18394
50f84510
JB
183952011-04-28 Juanma Barranquero <lekktu@gmail.com>
18396
6e087a44
JB
18397 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18398 removing code that has been dead since 1991 or so.
18399
50f84510
JB
18400 * startup.el (command-line): When warning about "_emacs", use a
18401 delayed warning to allow the user to filter it out.
18402
0ba690bd
DD
184032011-04-28 Deniz Dogan <deniz@dogan.se>
18404
18405 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18406 user has not joined.
18407
08abfaad
SM
184082011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18409
18410 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18411 aren't any completions at point.
18412
638f053a
JB
184132011-04-28 Juanma Barranquero <lekktu@gmail.com>
18414
18415 * subr.el (display-delayed-warnings): New function.
18416 (delayed-warnings-hook): New variable.
18417
8fff8daa
SM
184182011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18419
08abfaad
SM
18420 * minibuffer.el (completion-at-point, completion-help-at-point):
18421 Don't presume that a given completion-at-point-function will always
18422 use the same calling convention.
18423
8fff8daa
SM
18424 * pcomplete.el (pcomplete-completions-at-point):
18425 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18426 pcomplete-seen is non-nil.
18427 (pcomplete-comint-setup): Also recognize the new comint/shell
18428 completion functions.
18429 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18430 pcomplete-seen is non-nil.
18431
841a1577 184322011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 18433
841a1577 18434 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 18435 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 18436 the first character in the entry. This allows for code to add its
211ec907
UJ
18437 own uid to the entry.
18438 (icalendar--convert-float-to-ical): Add export of
18439 `diary-float'-entries save for those with the optional DAY
18440 argument.
18441
2a782793
DC
184422011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18443
18444 * subr.el (shell-quote-argument): Use alternate escaping strategy
18445 when we spot a variable reference in a string.
18446
0438ce91
DC
184472011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18448
18449 * cus-start.el (all): Define customization for debug-on-event.
18450
841a1577 184512011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
18452
18453 * subr.el (shell-quote-argument): Escape correctly under Windows.
18454
d090ed6c
SM
184552011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18456
18457 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18458
bfd31217
MA
184592011-04-25 Michael Albinus <michael.albinus@gmx.de>
18460
d090ed6c
SM
18461 * net/tramp.el (tramp-process-actions): Add POS argument.
18462 Delete region between POS and (pos).
bfd31217 18463
d090ed6c
SM
18464 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18465 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
18466 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18467
18468 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18469 position in `tramp-process-actions' call.
18470
18471 * net/trampver.el: Update release number.
18472
e92f3bd3
SM
184732011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18474
850256b5
SM
18475 * custom.el (defcustom): Obey lexical-binding.
18476
e92f3bd3
SM
18477 Fix octave-inf completion problems reported by Alexander Klimov.
18478 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18479 Inherit from octave-mode-syntax-table.
18480 (inferior-octave-mode): Set info-lookup-mode.
18481 (inferior-octave-completion-at-point): New function.
18482 (inferior-octave-complete): Use it and completion-in-region.
18483 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18484 comint-filename-completion.
18485 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18486 symbol elements which shouldn't be word elements.
18487 (octave-font-lock-keywords, octave-beginning-of-defun)
18488 (octave-function-header-regexp): Adjust regexps accordingly.
18489 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18490
cd22b309
JB
184912011-04-25 Juanma Barranquero <lekktu@gmail.com>
18492
18493 * net/gnutls.el (gnutls-errorp): Declare before first use.
18494
8b492194
TZ
184952011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18496
18497 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18498 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 18499 default trustfile exists before going to use it. Add missing
5a5fa834 18500 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
18501 Reported by Claudio Bley <claudio.bley@gmail.com>.
18502 (open-gnutls-stream): Add usage example.
18503
18504 * net/network-stream.el (network-stream-open-starttls): Give host
18505 parameter to `gnutls-negotiate'.
18506 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 18507 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 18508
841a1577 185092011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 18510
cd22b309
JB
18511 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18512 Use correct match group (bug#8438).
05842630 18513
3ba7869c
CY
185142011-04-24 Chong Yidong <cyd@stupidchicken.com>
18515
512e3ae1
CY
18516 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18517 (package-menu--generate): New arg specifying packages to show.
18518 (package-menu-refresh, package-menu-execute, list-packages):
18519 Callers changed.
18520 (package-show-package-list): New function, replacing deleted
18521 package--list-packages (renamed because it is non-internal).
18522
18523 * finder.el (finder-list-matches): Use package-show-package-list
18524 instead of deleted package--list-packages.
18525
e92f3bd3
SM
18526 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18527 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
18528 (vc-annotate-mode-map): Bind it to RET.
18529
7031be6d
UR
185302011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18531
18532 * progmodes/etags.el (next-file): Don't use set-buffer to change
18533 buffers (Bug#8478).
18534
4ef177aa
CY
185352011-04-24 Chong Yidong <cyd@stupidchicken.com>
18536
c8d173eb
CY
18537 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18538
4ef177aa
CY
18539 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18540 (apropos-accumulator): Doc fix.
18541 (apropos-function, apropos-macro, apropos-command)
18542 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18543 (apropos-plist): Add face property.
18544 (apropos-symbols-internal): Fix indentation.
18545 (apropos-print): Simplify help, and recognize apropos-multi-type.
18546 (apropos-print-doc): Use button-type-get to extract the button's
18547 face property. Fill docstring (Bug#8352).
18548
4ffd0d6b 185492011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
18550
18551 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18552
c6c32125 18553 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 18554 (mpuz-mode-map): Use mapc.
c6c32125
JB
18555 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18556 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18557 Fix typos in docstrings.
18558
58d468b4
JB
18559 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18560 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18561
6470c3c6
JB
18562 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18563
4ffd0d6b 185642011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
18565
18566 * minibuffer.el (completion--do-completion): Avoid the "Next char
18567 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18568
3ad8bad0
CY
18569 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18570 mouse-2 into unread-command-events, it is interpreted correctly.
18571
71d73c9c 18572 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 18573 (image-toggle-display): Doc fix.
71d73c9c 18574
841a1577 185752011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 18576
4ffd0d6b
GM
18577 * textmodes/page.el (what-page): Use line-number-at-pos to
18578 calculate line number (Bug#6825).
6e1dbaa9 18579
c2fb1b60
JB
185802011-04-22 Juanma Barranquero <lekktu@gmail.com>
18581
18582 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18583 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18584 Pass argument NO-DEFAULT to `find-tag-interactive'.
18585
e02f48d7
JB
185862011-04-22 Juanma Barranquero <lekktu@gmail.com>
18587
18588 Lexical-binding cleanup.
18589
18590 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18591 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18592 * progmodes/ada-prj.el (ada-prj-initialize-values)
18593 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18594 (ada-prj-show-value):
18595 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18596 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18597 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18598 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18599 * progmodes/bug-reference.el (bug-reference-push-button):
18600 * progmodes/fortran.el (fortran-line-length):
18601 * progmodes/glasses.el (glasses-change):
18602 * progmodes/octave-mod.el (octave-fill-paragraph):
18603 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18604 (python-pdbtrack-grub-for-buffer, python-sentinel):
18605 * progmodes/sql.el (sql-save-connection):
18606 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18607 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18608 Mark unused parameters.
18609
18610 * progmodes/compile.el (compilation--flush-directory-cache)
18611 (compilation--flush-parse, compile-internal): Mark unused parameters.
18612 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18613 (compilation-next-error-function): Remove unused variable `timestamp'.
18614
18615 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18616 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18617
18618 * progmodes/dcl-mode.el (dcl-end-of-command):
18619 Remove unused variable `start'.
18620 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18621 (dcl-option-value-basic, dcl-option-value-offset)
18622 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18623 Mark unused parameters.
18624 (dcl-save-local-variable): Remove unused variable `val'.
18625 (mode): Declare.
18626
18627 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18628 Mark unused parameters.
18629 (delphi-ignore-changes): Move before first use.
18630 (delphi-charset-token-at): Remove unused variable `start'.
18631 (delphi-else-start): Remove unused variable `if-count'.
18632 (delphi-comment-block-start, delphi-comment-block-end):
18633 Remove unused variable `kind'.
18634 (delphi-indent-line): Remove unused variable `new-point'.
18635
18636 * progmodes/ebrowse.el (ebrowse-files-list)
18637 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18638 Mark unused parameters. Don't quote `lambda'.
18639 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18640 Don't quote `lambda'.
18641 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18642 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18643 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18644 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18645 Use `ignore-errors'.
18646 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18647 (ebrowse-view/find-file-and-search-pattern)
18648 (ebrowse-view/find-member-declaration/definition):
18649 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18650 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18651 Rename parameter PREFIX-ARG to PREFIX.
18652 (ebrowse-tags-read-name): Remove unused variables `start' and
18653 `member-info'.
18654 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18655 to `tags-file'.
18656
18657 * progmodes/etags.el (local-find-tag-hook): Declare.
18658 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18659 Mark unused parameters.
18660
18661 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18662 (executable-interpret): Mark unused parameter.
18663
18664 * progmodes/flymake.el (flymake-process-sentinel)
18665 (flymake-after-change-function)
18666 (flymake-create-temp-with-folder-structure)
18667 (flymake-get-include-dirs-dot): Mark unused parameters.
18668 (flymake-safe-delete-directory): Remove unused variable `err'.
18669
18670 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18671 (speedbar-timer-fn, speedbar-line-text)
18672 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18673 (speedbar-center-buffer-smartly): Declare functions.
18674 (gdb-find-watch-expression): Remove unused variable `array'.
18675 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18676 (gdb-starting): Mark unused parameters.
18677 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18678 (gdb-table-string): Remove unused variable `res'.
18679 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18680 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18681 (gdb-display-buffer): Remove unused variable `cur-size'.
18682
18683 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18684 allow lexical-binding compilation.
18685 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18686 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18687 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18688 Mark unused parameters.
18689 (gud-gdb-marker-filter): Remove unused variable `match'.
18690 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18691 lambda expressions and funcall them, instead of using `fset'.
18692
18693 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18694 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18695
18696 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18697 variable `header-beg'; use `let'.
18698
18699 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18700 `restart', `last-sexp' and `at-do'.
18701
18702 * progmodes/js.el (js--debug): Mark unused parameter.
18703 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18704 (js--splice-into-items): Remove unused variable `item'.
18705 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18706
18707 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18708 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18709 (makefile-complete): Remove unused variable `try'.
18710 (makefile-fill-paragraph, makefile-match-function-end):
18711 Mark unused parameters.
18712
18713 * progmodes/octave-inf.el (inferior-octave-complete):
18714 Remove unused variable `proc'.
18715 (inferior-octave-output-digest): Mark unused parameter.
18716
18717 * progmodes/perl-mode.el (perl-calculate-indent):
18718 Remove unused variable `err'.
18719
18720 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18721 (prolog-indent-line): Mark unused parameters.
18722 (prolog-indent-line): Remove unused variable `beg'.
18723
18724 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18725 (reporter-dont-compact-list): Declare.
18726
18727 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18728 Remove unused variable `char'.
18729 (sh-debug): Mark unused parameter.
18730 (sh-get-indent-info): Remove unused variable `start'.
18731 (sh-calculate-indent): Remove unused variable `var'.
18732
18733 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18734 (simula-electric-keyword): Remove unused variable `null'.
18735 (simula-search-backward, simula-search-forward): Remove unused
18736 variables `begin' and `end'.
18737
18738 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18739 Remove unused variable `pos'.
18740 (vera-electric-tab, vera-comment-uncomment-region):
18741 Mark unused parameters.
18742 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18743
7ede3b65
CY
187442011-04-22 Chong Yidong <cyd@stupidchicken.com>
18745
18746 * emacs-lisp/package.el (package--builtins, package-alist)
18747 (package-load-descriptor, package-built-in-p, package-activate)
18748 (define-package, package-installed-p)
18749 (package-compute-transaction, package-buffer-info)
18750 (package--push): Doc fix. Distinguish more clearly between
18751 version strings and version lists.
18752
121656e9
JB
187532011-04-21 Juanma Barranquero <lekktu@gmail.com>
18754
18755 Lexical-binding cleanup.
18756
18757 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18758 (5x5-make-mutate-best):
18759 * play/fortune.el (fortune-in-buffer):
18760 * play/gomoku.el (gomoku-init-display):
18761 * play/solitaire.el (solitaire, solitaire-do-check):
18762 * play/tetris.el (tetris-default-update-speed-function):
18763 Mark unused parameters.
18764
18765 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18766 (bubbles--shift): Remove unused variable `char-org'.
18767 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18768 (bubbles--show-images): Remove unused variable `char'.
18769
18770 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18771 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18772 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18773 (decipher-analyze-buffer): Use ?\s.
18774 (decipher-make-checkpoint): Remove unused variable `mapping'.
18775
18776 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18777
18778 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18779 Remove unused variable `result'; use `let'.
18780
18781 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18782 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18783 (gametree-children-shown-p, gametree-compute-reduced-score):
18784 Use `ignore-errors'.
18785
18786 * play/handwrite.el (ps-lpr-switches): Declare.
18787 (handwrite): Remove unused variables `pmin' and `lastp'.
18788
18789 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18790
18791 * play/landmark.el (landmark-init-display)
18792 (landmark-update-naught-weights): Mark unused parameters.
18793 (landmark-y): Remove unused variable `noise'. Simplify.
18794 (landmark-human-plays): Remove unused variable `score'.
18795
18796 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18797 (mpuz-try-proposal): Remove unused variable `game'.
18798
18799 * play/zone.el (life-patterns): Declare.
18800
80f499c7
JB
188012011-04-20 Juanma Barranquero <lekktu@gmail.com>
18802
18803 * vc/vc.el (ediff-vc-internal): Declare function.
18804
024ff170
SM
188052011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18806
c0a193ea
SM
18807 * shell.el: Use lexical-binding and std completion UI.
18808 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18809 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18810 comint-preoutput-filter-functions rather than on
18811 comint-output-filter-functions.
18812 (shell-command-completion, shell--command-completion-data)
18813 (shell-filename-completion, shell-environment-variable-completion)
18814 (shell-c-a-p-replace-by-expanded-directory): New functions.
18815 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18816 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18817 (shell-dynamic-complete-environment-variable): Use them.
18818 (shell-dynamic-complete-as-environment-variable)
18819 (shell-dynamic-complete-as-command): Remove.
18820 (shell-match-partial-variable): Match past point.
18821 * comint.el: Clean up use of completion-at-point-functions.
18822 (comint-completion-at-point): New function.
18823 (comint-mode): Use it completion-at-point-functions.
18824 (comint-dynamic-complete): Make it obsolete.
18825 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18826 (comint-c-a-p-replace-by-expanded-history): New function.
18827 (comint-dynamic-complete-functions)
18828 (comint-replace-by-expanded-history): Use it.
18829 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18830 termination strings. Try harder to avoid second try-completion.
18831 (completion-in-region-mode-map): Disable bindings that don't work yet.
18832
2dbaa080
SM
18833 * comint.el: Use lexical-binding. Require CL.
18834 (comint-dynamic-complete-functions): Use comint-filename-completion.
18835 (comint-completion-addsuffix): Tweak custom type.
18836 (comint-filename-completion, comint--common-suffix)
18837 (comint--common-quoted-suffix, comint--table-subvert)
18838 (comint--complete-file-name-data): New functions.
18839 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18840 (comint-dynamic-list-filename-completions): Use them.
18841 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 18842
2dbaa080
SM
18843 * minibuffer.el (completion-in-region-mode):
18844 Keep completion-in-region-mode--predicate global.
18845 (completion-in-region--postch):
18846 Assume completion-in-region-mode--predicate is not null.
18847
c79a6f38
SM
18848 * progmodes/flymake.el (flymake-start-syntax-check-process):
18849 Obey `dir'. Simplify.
18850
024ff170
SM
18851 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18852 we're in VC after all.
18853
1c6c854e
CS
188542011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18855
18856 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 18857 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
18858 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18859
bed7f140
SM
188602011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18861
332e62ab
SM
18862 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18863 add sanity check.
18864
bed7f140
SM
18865 * obsolete/erc-hecomplete.el: Make obsolete.
18866 * obsolete/: Standardize obsolescence info in the header.
18867
f195c582
GM
188682011-04-20 Glenn Morris <rgm@gnu.org>
18869
18870 * calendar/solar.el (solar-horizontal-coordinates):
18871 Use the longitude argument rather than `calendar-longitude'.
18872 (solar-date-next-longitude): Remove unused locals.
18873
cb79b8c0
VJL
188742011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18875
18876 * whitespace.el: New version 13.2.1.
18877
188782011-04-20 felix <EmacsWiki> (tiny change)
18879
d8e4b68b 18880 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
18881 switching between major modes on a file.
18882
602ea69d
SM
188832011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18884
18885 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18886 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18887 multi-line comments as well.
18888
06b60517
JB
188892011-04-19 Juanma Barranquero <lekktu@gmail.com>
18890
18891 Lexical-binding cleanup.
18892
18893 * arc-mode.el (archive-mode-revert):
18894 * cmuscheme.el (scheme-interactively-start-process):
18895 * custom.el (custom-initialize-delay):
18896 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18897 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18898 * emacs-lock.el (emacs-lock-clear-sentinel):
18899 * ezimage.el (defezimage):
18900 * follow.el (follow-avoid-tail-recenter):
18901 * fringe.el (set-fringe-mode-1):
18902 * generic-x.el (bat-generic-mode-compile):
18903 * help-mode.el (help-info-variable, help-do-xref)
18904 (help-mode-revert-buffer):
18905 * help.el (view-emacs-todo):
18906 * iswitchb.el (iswitchb-completion-help):
18907 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18908 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18909 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18910 * locate.el (locate-update):
18911 * longlines.el (longlines-encode-region)
18912 (longlines-after-change-function):
18913 * outline.el (outline-isearch-open-invisible):
18914 * ps-def.el (declare-function, charset-dimension, char-width)
18915 (encode-char):
18916 * ps-mule.el (ps-mule-plot-string):
18917 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18918 (recentf-edit-list-select, recentf-edit-list-validate)
18919 (recentf-open-files-action):
18920 * rect.el (delete-whitespace-rectangle-line)
18921 (rectangle-number-line-callback):
18922 * register.el (window-configuration-to-register)
18923 (frame-configuration-to-register):
18924 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18925 * select.el (xselect-convert-to-string, xselect-convert-to-length)
18926 (xselect-convert-to-targets, xselect-convert-to-delete)
18927 (xselect-convert-to-filename, xselect-convert-to-charpos)
18928 (xselect-convert-to-lineno, xselect-convert-to-colno)
18929 (xselect-convert-to-os, xselect-convert-to-host)
18930 (xselect-convert-to-user, xselect-convert-to-class)
18931 (xselect-convert-to-name, xselect-convert-to-integer)
18932 (xselect-convert-to-atom, xselect-convert-to-identity):
18933 * subr.el (declare, ignore, process-kill-without-query)
18934 (text-clone-maintain):
18935 * terminal.el (te-get-char, te-tic-sentinel):
18936 * tool-bar.el (tool-bar-make-keymap):
18937 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18938 * type-break.el (type-break-mode, type-break-noninteractive-query):
18939 * view.el (View-back-to-mark):
18940 * wid-browse.el (widget-browse-action, widget-browse-widget)
18941 (widget-browse-widgets, widget-browse-sexp):
18942 * widget.el (define-widget-keywords):
18943 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18944 Mark unused parameters.
18945
18946 * align.el (align-adjust-col-for-rule): Mark unused parameter.
18947 (align-areas): Remove unused variable `look'.
18948 (align-region): Remove unused variables `real-end' and `pos-list'.
18949
18950 * apropos.el (apropos-score-doc): Remove unused variable `i'.
18951
18952 * bindings.el (mode-line-modified, mode-line-remote):
18953 Mark unused parameters.
18954 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18955
18956 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18957 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18958
18959 * comint.el (comint-history-isearch-pop-state)
18960 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18961 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18962 (comint-substitute-in-file-name): Doc fix.
18963
18964 * completion.el (cmpl-statistics-block): Mark unused parameter.
18965 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18966 (save-completions-to-file, load-completions-from-file):
18967 Remove unused local variable `e'.
18968
18969 * composite.el (compose-chars): Remove unused variable `len'.
18970 (lgstring-insert-glyph): Remove unused variable `g'.
18971 (compose-glyph-string): Remove unused variables `ascent',
18972 `descent', `lbearing' and `rbearing'.
18973 (compose-glyph-string-relative): Remove unused variables
18974 `lbearing', `rbearing' and `wadjust'.
18975 (compose-gstring-for-graphic): Remove unused variables `header',
18976 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18977 (compose-gstring-for-terminal): Remove unused variables `header'
18978 and `nchars'. Use `let', not `let*'.
18979
18980 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18981 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18982 (Custom-buffer-done, custom-buffer-create-internal)
18983 (custom-browse-visibility-action, custom-browse-group-tag-action)
18984 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18985 (widget-magic-mouse-down-action, custom-toggle-parent)
18986 (custom-add-parent-links, custom-toggle-hide-variable)
18987 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18988 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18989 (custom-face-menu-create, custom-variable-menu-create, get)
18990 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18991 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18992 (customize-apropos): Remove unused variable `tests'.
18993 (custom-group-value-create): Remove unused variable `hidden-p'.
18994 (sort-fold-case): Declare.
18995
18996 * cus-theme.el (custom-reset-standard-faces-list)
18997 (custom-reset-standard-variables-list): Declare.
18998 (customize-create-theme, custom-theme-revert, custom-theme-write)
18999 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19000 Mark unused parameters.
19001
19002 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19003
19004 * delim-col.el (delimit-columns-max): Move defvar before first use.
19005
19006 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 19007 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
19008
19009 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19010 (auto-insert): Declare.
19011 (desktop-restore-file-buffer): Rename desktop-* parameters;
19012 mark unused ones.
19013 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19014 (desktop-buffer): Rename desktop-* parameters.
19015
19016 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19017 (dframe-reposition-frame-xemacs, dframe-help-echo)
19018 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19019 Mark unused parameters.
19020
19021 * dired-aux.el (backup-extract-version-start, overwrite-query)
19022 (overwrite-backup-query, rename-regexp-query)
19023 (rename-non-directory-query): Declare.
19024 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19025 (dired-add-entry): Remove unused variable `orig-file-name'.
19026 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19027 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19028 `dired-copy-preserve-time' directly.
19029 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19030 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19031
19032 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19033 (dired-virtual-revert, dired-make-relative-symlink):
19034 Mark unused parameters.
19035 (manual-program): Declare.
19036 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19037 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19038 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19039
19040 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19041
19042 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19043
19044 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19045 Declare.
19046
19047 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19048
19049 * electric.el (Electric-command-loop): Rename parameter
19050 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19051
19052 * expand.el (expand-in-literal): Remove unused variable `here'.
19053
19054 * facemenu.el (facemenu-add-new-color):
19055 Remove unused variable `docstring'.
19056
19057 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19058 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19059 (face-attr-construct): Mark unused parameter. Doc fix.
19060 (read-color): Remove unused variable `hex-string'.
19061
19062 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19063 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19064 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19065 (display-buffer-other-frame): Remove unused variable `old-window'.
19066 (kill-buffer-hook): Declare.
19067 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19068 Mark unused parameters.
19069 (after-find-file): Pass 1 to `auto-save-mode', not t.
19070
19071 * files-x.el (auto-insert): Declare.
19072 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19073
19074 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 19075 variable `buf'. Mark unused parameter.
06b60517
JB
19076 (find-lisp-insert-directory): Mark unused parameter.
19077
19078 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19079 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19080 (format-common-tail): Remove, unused.
19081 (format-deannotate-region): Remove unused variable `loc'.
19082 (format-annotate-region): Remove unused variable `p'.
19083 (format-annotate-single-property-change): Remove unused variables
19084 `default' and `tail'.
19085
19086 * forms.el (read-file-filter): Declare.
19087 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19088
19089 * frame.el (frame-creation-function-alist): Mark unused parameter.
19090 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19091
19092 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19093 Remove unused parameters.
19094 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19095 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19096
19097 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19098 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19099 (hfy-prepare-tag-map): Mark unused parameters.
19100 (htmlfontify-buffer): Use `called-interactively-p'.
19101
19102 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19103 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19104 (ibuffer-do-occur): Mark unused parameters.
19105 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19106 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19107
19108 * ibuffer.el: Don't quote `lambda'.
19109 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19110 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19111 Mark unused parameters.
19112
19113 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19114 (ido-completing-read): Mark unused parameters.
19115 (ido-copy-current-word): Mark unused parameters;
19116 remove unused variable `name'.
19117 (ido-sort-merged-list): Remove unused parameter `dirs'.
19118
19119 * ielm.el (ielm-input-sender): Mark unused parameter.
19120 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19121 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19122 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19123 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19124 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19125
19126 * image-dired.el (image-dired-display-thumbs): Remove unused
19127 variables `curr-file' and `count'.
19128 (image-dired-remove-tag): Remove unused variable `start'.
19129 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19130 variable `curr-file'
19131 (image-dired-rotate-original): Remove unused variable `temp-file'.
19132 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19133 Remove unused variable `file'.
19134 (image-dired-gallery-generate): Remove unused variable `curr'.
19135 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19136
19137 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19138
19139 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19140
19141 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19142
19143 * isearch.el (minibuffer-history-symbol): Declare.
19144 (isearch-edit-string): Remove unused variable `err'.
19145 (isearch-message-prefix, isearch-message-suffix):
19146 Mark unused parameters.
19147
19148 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19149
19150 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19151
19152 * makesum.el (double-column): Remove unused variable `cnt'.
19153
19154 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19155 (ido-ignore-item-temp-list): Declare.
19156
19157 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19158 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19159 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19160 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19161 `mouse-col-delta'.
19162
19163 * mouse-sel.el (mouse-extend-internal):
19164 Remove unused variable `orig-window-frame'.
19165
19166 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19167 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19168 Move declarations before first use.
19169 (pcomplete-opt): Mark unused parameters; doc fix.
19170
19171 * proced.el (proced-revert): Mark unused parameter.
19172 (proced-send-signal): Remove unused variable `err'.
19173
19174 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19175 Rename parameter PREFIX-ARG to ARG.
19176 (ps-basic-plot-string, ps-basic-plot-whitespace):
19177 Mark unused parameters.
19178
19179 * replace.el (replace-count): Define.
19180 (occur-revert-function): Mark unused parameters.
19181 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19182 (isearch-case-fold-search, isearch-string): Declare.
19183 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19184 bind `case-fold-search'. Remove unused variables `beg' and `end',
19185 and simplify.
19186 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19187 COUNT and bind `replace-count'.
19188 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19189 to COUNT.
19190
19191 * savehist.el (print-readably, print-string-length): Declare.
19192
19193 * shadowfile.el (shadow-expand-cluster-in-file-name):
19194 Remove unused variable `cluster'.
19195 (shadow-copy-file): Remove unused variable `i'.
19196 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19197 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19198 (shadow-define-literal-group, shadow-define-regexp-group)
19199 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19200
19201 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19202 (shell): Use `called-interactively-p'.
19203 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19204
19205 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19206 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19207 (delete-backward-char): Remove unused variable `ocol'.
19208 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19209 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19210 (event-apply-hyper-modifier, event-apply-shift-modifier)
19211 (event-apply-control-modifier, event-apply-meta-modifier):
19212 Mark unused parameters.
19213 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19214 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19215
19216 * speedbar.el (speedbar-ignored-directory-expressions)
19217 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19218 (speedbar-find-file, speedbar-dir-follow)
19219 (speedbar-directory-buttons-follow, speedbar-tag-find)
19220 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19221 (speedbar-buffers-line-directory, speedbar-buffer-click):
19222 Mark unused parameters.
19223 (speedbar-tag-file): Remove unused variable `mode'.
19224 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19225
19226 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19227
19228 * talk.el (talk): Remove unused variable `display'.
19229
19230 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19231 (tar-write-region-annotate): Mark unused parameter.
19232
19233 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19234 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19235 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19236 warning by another.
19237
19238 * time-stamp.el (time-stamp-string-preprocess):
19239 Remove unused variable `require-padding'.
19240
19241 * tree-widget.el (widget-glyph-enable): Declare.
19242 (tree-widget-action): Mark unused parameter.
19243
19244 * w32-fns.el (x-get-selection): Mark unused parameter.
19245 (autoload-make-program, generated-autoload-file): Declare.
19246
19247 * wdired.el (wdired-revert): Mark unused parameters.
19248 (wdired-xcase-word): Remove unused variable `err'.
19249
19250 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19251 (whitespace-help-scroll): Remove unused variable `data-help'.
19252
19253 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19254 (widget-image-insert, widget-after-change, default)
19255 (widget-default-format-handler, widget-default-notify)
19256 (widget-default-prompt-value, widget-info-link-action)
19257 (widget-url-link-action, widget-function-link-action)
19258 (widget-variable-link-action, widget-file-link-action)
19259 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19260 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19261 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19262 (widget-insert-button-action, widget-delete-button-action, visibility)
19263 (widget-documentation-link-action, widget-documentation-string-action)
19264 (widget-const-prompt-value, widget-regexp-match, symbol)
19265 (widget-coding-system-prompt-value)
19266 (widget-key-sequence-value-to-external, sexp)
19267 (widget-sexp-value-to-internal, character, vector, cons)
19268 (widget-choice-prompt-value, widget-boolean-prompt-value)
19269 (widget-color--choose-action): Mark unused parameters.
19270 (widget-item-match-inline, widget-choice-match-inline)
19271 (widget-checklist-match, widget-checklist-match-inline)
19272 (widget-group-match): Rename parameter VALUES to VALS.
19273 (widget-field-value-set): Remove unused variable `size'.
19274 (widget-color-action): Remove unused variables `value' and `start'.
19275
19276 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 19277 variable `dir'. Doc fix.
06b60517
JB
19278 (windmove-find-other-window): Don't pass it.
19279
19280 * window.el (count-windows): Mark unused parameter.
19281 (bw-adjust-window): Remove unused variable `err'.
19282
19283 * woman.el (woman-file-name): Remove unused variable `default'.
19284 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19285 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19286 (global-font-lock-mode): Declare.
19287 (woman-decode-region): Mark unused parameter.
19288 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19289
19290 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19291 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19292 (x-dnd-handle-moz-url): Remove unused variable `title'.
19293 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19294
19295 * xml.el (xml-parse-tag, xml-parse-attlist):
19296 Remove unused variable `pos'.
19297
bc4f7f3d
GM
192982011-04-19 Glenn Morris <rgm@gnu.org>
19299
19300 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19301 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19302 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19303 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19304 * calendar/cal-html.el (cal-html-insert-minical):
19305 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19306 (calendar-mark-date-pattern):
19307 Prefix "unused" locals.
19308
19309 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19310 optional argument `style'.
19311
19312 * calendar/appt.el (appt-make-list):
19313 * calendar/cal-china.el (calendar-chinese-date-string):
19314 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19315 (diary-hebrew-yahrzeit):
19316 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19317 * calendar/calendar.el (calendar-generate-window):
19318 * calendar/time-date.el (time-to-days):
19319 Remove unused local variables.
19320
16a43933
CY
193212011-04-18 Chong Yidong <cyd@stupidchicken.com>
19322
19323 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19324 glyphless-char-display table.
19325 (tabulated-list-glyphless-char-display): New var.
19326
7eed1860
SS
193272011-04-18 Sam Steingold <sds@gnu.org>
19328
19329 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19330 to acknowledgments.
19331
4d2d1ccd
GM
193322011-04-17 Glenn Morris <rgm@gnu.org>
19333
19334 * calendar/diary-lib.el (diary-sexp-entry):
19335 * calendar/holidays.el (holiday-sexp):
19336 Set debug-on-error rather than the removed stack-trace-on-error.
19337
239da61d
GM
193382011-04-16 Glenn Morris <rgm@gnu.org>
19339
19340 * progmodes/f90.el: Use lexical-binding.
19341 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19342
8b05752a
SM
193432011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19344
daca8ba5
SM
19345 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19346 (mail-mode): Setup mailalias completion here instead.
19347 * mail/mailalias.el: Use lexical-binding.
19348 (pattern, mailalias-done): Declare dynamic.
19349 (mail-completion-at-point-function): New function, from mail-complete.
19350 (mail-complete): Use it.
19351 (mail-completion-expand): New function.
19352 (mail-get-names): Use it.
19353 (mail-directory, mail-directory-process, mail-directory-stream):
19354 Don't use `pattern' for lexically bound arg.
19355
6f542485
SM
19356 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19357
037e7c3f
SM
19358 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19359 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19360 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19361
8b05752a
SM
19362 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19363 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19364 (byte-interactive-p): Define them again, for use when inlining
19365 old code.
19366
49093f60
JB
193672011-04-15 Juanma Barranquero <lekktu@gmail.com>
19368
19369 * loadup.el: Use `string-to-number', not `string-to-int'.
19370
b5b8e7de
SM
193712011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19372
19373 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19374 gud-gdb-complete-command.
19375 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19376 (gud-gdb-completion-at-point): New function.
19377 (gud-gdb-completions): Remove.
19378
f42efeb5
MA
193792011-04-14 Michael Albinus <michael.albinus@gmx.de>
19380
49093f60
JB
19381 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19382 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19383 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19384 whether `executable-find' is bound.
f42efeb5
MA
19385
19386 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19387
e240cc21
SM
193882011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19389
19390 * minibuffer.el (completion-in-region-mode-predicate)
19391 (completion-in-region-mode--predicate): New vars.
19392 (completion-in-region, completion-in-region--postch)
19393 (completion-in-region-mode): Use them.
19394 (completion--capf-wrapper): Also return the hook function.
19395 (completion-at-point, completion-help-at-point):
19396 Adjust and provide a predicate.
c2bd2ab0
SM
19397
19398 Preserve arg names for advice of subr and lexical functions (bug#8457).
19399 * help-fns.el (help-function-arglist): Consolidate the subr and
19400 new-byte-code cases. Add argument `preserve-names' to extract names
19401 from the docstring when needed.
19402 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19403 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19404 (ad-arglist): Use help-function-arglist's new arg.
19405 (ad-definition-type): Use cond.
19406
c183f693
JB
194072011-04-13 Juanma Barranquero <lekktu@gmail.com>
19408
06641a47
JB
19409 * autorevert.el (auto-revert-handler):
19410 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19411 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19412 Don't quote lambda.
19413
c183f693
JB
19414 * image-mode.el (image-transform-set-scale):
19415 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19416
1e3b6001
G
194172011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19418
19419 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 19420 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
19421 Upgrades via gnutls-cli are too slow to be done opportunistically.
19422
2d6af8dd
JB
194232011-04-12 Juanma Barranquero <lekktu@gmail.com>
19424
19425 * dframe.el (dframe-current-frame): Remove spurious quote.
19426
c0749a51
GM
194272011-04-12 Glenn Morris <rgm@gnu.org>
19428
088d0d61
GM
19429 * calendar/cal-tex.el (cal-tex-end-document):
19430 Try to automatically use latin1 input if needed.
19431
c0749a51
GM
19432 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19433 Don't try to cons a mark onto an empty element.
19434
5c90fde0
LL
194352011-04-11 Leo Liu <sdl.web@gmail.com>
19436
19437 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19438 buffers.
19439 (ido-kill-buffer-at-head): Support killing virtual buffers.
19440
369e974d
CY
194412011-04-10 Chong Yidong <cyd@stupidchicken.com>
19442
19443 * minibuffer.el (completion-show-inline-help): New var.
19444 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
19445 (minibuffer-force-complete, minibuffer-complete-word):
19446 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
19447
19448 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19449 to avoid interference from inline help (Bug#5849).
19450
37f1c930
LL
194512011-04-10 Leo Liu <sdl.web@gmail.com>
19452
099c39a4
JB
19453 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19454 Fix typo.
37f1c930 19455
a32d4040
CY
194562011-04-09 Chong Yidong <cyd@stupidchicken.com>
19457
19458 * image-mode.el (image-toggle-display-image): Signal an error if
19459 not in Image mode.
19460 (image-transform-mode, image-transform-resize)
19461 (image-transform-set-rotation): Doc fix.
daca8ba5 19462 (image-transform-set-resize): Delete.
a32d4040
CY
19463 (image-transform-set-scale, image-transform-fit-to-height)
19464 (image-transform-fit-to-width): Handle image-toggle-display-image
19465 and image-transform-resize directly.
19466
099c39a4 194672011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
19468
19469 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
19470 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19471 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
19472 (doc-view-mode-map): Add bindings for the new functions.
19473
099c39a4 194742011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 19475
4d61f28d 19476 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
19477 Fix typo in docstring.
19478
3726838a
EZ
194792011-04-08 Eli Zaretskii <eliz@gnu.org>
19480
04f33f1e
EZ
19481 * files.el (file-size-human-readable): Produce one digit after
19482 decimal, like "ls -lh" does.
19483
19484 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19485 the file size representation.
19486
3726838a
EZ
19487 * simple.el (list-processes): If async subprocesses are not
19488 available, error out with a clear error message.
19489
cbb59342
CY
194902011-04-08 Chong Yidong <cyd@stupidchicken.com>
19491
19492 * help.el (help-form-show): New function, to be called from C.
19493 Put help-form output in a buffer named differently than *Help*.
19494
e3971c44
EZ
194952011-04-08 Eli Zaretskii <eliz@gnu.org>
19496
19497 * files.el (file-size-human-readable): New function.
19498
19499 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19500 computing the representation inline. Don't require `cl'.
19501
12544bbe
GM
195022011-04-08 Glenn Morris <rgm@gnu.org>
19503
a1de6c6a
GM
19504 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19505
3c4671f4
GM
19506 * net/browse-url.el (browse-url-firefox):
19507 Test system-type, not system-configuration.
19508
b605679c
GM
19509 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19510 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19511 Use log-edit-empty-buffer-p. (Bug#7598)
19512
56442f0c
GM
19513 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19514 (rlogin-mode-map): Initialize in the defvar.
19515 (rlogin): Use ignore-errors.
19516
12544bbe
GM
19517 * replace.el (occur-mode-map): Some fixes for menu items.
19518
eb237b0f
AH
195192011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19520
19521 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19522
7d668f2c
CY
195232011-04-06 Chong Yidong <cyd@stupidchicken.com>
19524
e67a13ab
CY
19525 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19526 issuing unused warnings.
19527
19528 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19529 macro directly.
19530
7d668f2c
CY
19531 * simple.el: Lisp reimplement of list-processes. Based on an
19532 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19533 (process-menu-mode): New major mode.
19534 (list-processes--refresh, list-processes):
19535 (process-menu-visit-buffer): New functions.
19536
19537 * files.el (save-buffers-kill-emacs): Don't assume any return
19538 value of list-processes, which is undocumented anyway.
19539
a83ec3c9
CY
195402011-04-06 Chong Yidong <cyd@stupidchicken.com>
19541
19542 * emacs-lisp/tabulated-list.el: New file.
19543
e91a96fe
CY
19544 * emacs-lisp/package.el: Use Tabulated List mode.
19545 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19546 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19547 table format using Tabulated List mode variables.
19548 (package--push): New macro, replacing package-list-maybe-add.
19549 (package-menu--generate): Use package--push. Renamed from
19550 package--generate-package-list.
19551 (package-menu-refresh, list-packages): Use it.
daca8ba5 19552 (package-menu--print-info): Rename from package-print-package.
e91a96fe 19553 Return insertion data instead of inserting it directly.
099c39a4
JB
19554 (package-menu-describe-package, package-menu-execute):
19555 Use tabulated-list-get-id.
e91a96fe
CY
19556 (package-menu-mark-delete, package-menu-mark-install)
19557 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
19558 (package-menu-mark-obsolete-for-deletion):
19559 Use tabulated-list-put-tag.
e91a96fe
CY
19560 (package--list-packages, package-menu-revert)
19561 (package-menu-get-package, package-menu-get-version)
19562 (package-menu-sort-by-column): Functions deleted.
19563 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19564 (package-menu--status-predicate, package-menu--version-predicate)
19565 (package-menu--name-predicate)
19566 (package-menu--description-predicate): Handle arguments in the
19567 Tabulated List format.
19568 (package-list-packages-no-fetch): Call list-packages.
19569
3e214b50
JB
195702011-04-06 Juanma Barranquero <lekktu@gmail.com>
19571
19572 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 19573 (after-find-file): Don't bind it.
3e214b50
JB
19574 (revert-buffer-in-progress-p): New variable.
19575 (revert-buffer): Bind it.
19576 Pass nil for `after-find-file-from-revert-buffer'.
19577
19578 * saveplace.el (save-place-find-file-hook): Use new variable
19579 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19580
3f0f1700
GM
195812011-04-06 Glenn Morris <rgm@gnu.org>
19582
c0274801
GM
19583 * Makefile.in (AUTOGEN_VCS): New variable.
19584 (autoloads): Use $AUTOGEN_VCS.
19585
3f0f1700
GM
19586 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19587 * calendar/calendar.el (calendar-mode-map):
19588 Check for toolkit scroll bars. (Bug#8305)
19589
41ea9e48
CY
195902011-04-05 Chong Yidong <cyd@stupidchicken.com>
19591
19592 * minibuffer.el (completion-in-region--postch)
19593 (completion-in-region-mode): Remove unnecessary messages.
19594
6194c800
JB
195952011-04-05 Juanma Barranquero <lekktu@gmail.com>
19596
33256f14
JB
19597 * font-lock.el (font-lock-refresh-defaults):
19598 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19599 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19600
6194c800
JB
19601 * info.el (Info-directory-list, Info-read-node-name-2)
19602 (Info-split-parameter-string): Doc fixes.
19603 (Info-virtual-nodes): Reflow docstring.
19604 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19605 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19606 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19607 Fix typos in docstrings.
19608 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19609 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19610 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19611 (Info-restore-desktop-buffer): Mark unused parameters.
19612 (Info-directory-find-file, Info-directory-find-node)
19613 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19614 (Info-virtual-index-find-node, Info-apropos-find-file)
19615 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 19616 Mark unused parameters; fix typos in docstrings.
6194c800
JB
19617 (Info-virtual-index): Remove unused local variable `nodename'.
19618
b87a8200 196192011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 19620
b87a8200
DD
19621 * net/rcirc.el: Update my e-mail address.
19622 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 19623
3b2ff876
CY
196242011-04-05 Chong Yidong <cyd@stupidchicken.com>
19625
19626 * startup.el (command-line): Save the cursor's theme-face
19627 directly, instead of using face-override-spec.
19628
19629 * custom.el (load-theme): Minor optimization in assigning faces.
19630
8d17e7ca
JB
196312011-04-04 Juanma Barranquero <lekktu@gmail.com>
19632
19633 * help-fns.el (describe-variable): Complete all variables having
19634 documentation, including keywords.
19635 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19636
2fbc1934
JB
196372011-04-04 Juanma Barranquero <lekktu@gmail.com>
19638
19639 Convert to lexical-binding.
19640
19641 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19642 (bs--get-marked-string, bs--get-modified-string)
19643 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19644 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19645 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19646
19647 * ehelp.el (electric-help-execute-extended)
19648 (electric-help-ctrl-x-prefix):
19649 * hexl.el (hexl-revert-buffer-function):
19650 * linum.el (linum-after-change, linum-after-scroll):
19651 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19652
19653 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19654
74f50695
DU
196552011-04-04 Daiki Ueno <ueno@unixuser.org>
19656
19657 * epa-dired.el:
19658 * epa-mail.el:
19659 * epa-hook.el:
19660 * epa-file.el:
19661 * epa.el:
19662 * epg.el: Use lexical binding.
19663
c11325f7
CY
196642011-04-03 Chong Yidong <cyd@stupidchicken.com>
19665
0d9e9a12
CY
19666 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19667
c11325f7 19668 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
19669 dictionary case for flyspell-mark-duplications-exceptions.
19670 Use regexp matching for languages.
c11325f7
CY
19671 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19672 default dictionary (Bug#7926).
19673
da91b5f2
CY
196742011-04-02 Chong Yidong <cyd@stupidchicken.com>
19675
099c39a4
JB
19676 * emacs-lisp/package.el (package--with-work-buffer):
19677 Recognize https URLs.
da91b5f2 19678
099c39a4
JB
19679 * net/network-stream.el: Move from gnus/proto-stream.el.
19680 Change prefix to network-stream throughout.
da91b5f2
CY
19681 (open-protocol-stream): Merge into open-network-stream, leaving
19682 open-protocol-stream as an alias. Handle nil BUFFER args.
19683
19684 * subr.el (open-network-stream): Move to net/network-stream.el.
19685
afa8e9f6
GM
196862011-04-02 Glenn Morris <rgm@gnu.org>
19687
1d2e369d
GM
19688 * find-dired.el (find-exec-terminator): New option.
19689 (find-ls-option): Test for -ls support.
19690 (find-ls-subdir-switches): Test for -b in find-ls-option.
19691 (find-dired, find-grep-dired): Doc fixes.
19692 (find-dired): Use find-exec-terminator.
19693
8abb7da8 19694 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
19695 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19696 (find-name-arg): Remove purecopy.
8abb7da8 19697
f3ca7378
GM
19698 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19699 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19700 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19701 accordingly. Don't add the null-device if not needed.
19702
afa8e9f6
GM
19703 * files.el (save-some-buffers): Doc fix.
19704
35eae264
EZ
197052011-04-02 Eli Zaretskii <eliz@gnu.org>
19706
19707 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19708
26b51db5
JB
197092011-04-01 Juanma Barranquero <lekktu@gmail.com>
19710
19711 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19712 Use `dolist' rather than `mapcar'.
19713
7200d79c
SM
197142011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19715
03408648 19716 Add lexical binding.
7200d79c 19717
03408648
SM
19718 * subr.el (apply-partially): Use new closures rather than CL.
19719 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19720 (dolist, dotimes): Use slightly different expansion for lexical code.
19721 (functionp): Move to C.
19722 (letrec): New macro.
19723 (with-wrapper-hook): Use it and apply-partially instead of CL.
19724 (eval-after-load): Preserve lexical-binding.
19725 (save-window-excursion, with-output-to-temp-buffer): Turn them
19726 into macros.
7200d79c 19727
03408648
SM
19728 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19729
19730 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19731 than the arglist.
19732 (help-add-fundoc-usage): Don't add `Not documented'.
19733 (help-function-arglist): Handle closures, subroutines, and new
19734 byte-code-functions.
19735 (help-make-usage): Remove leading underscores.
19736 (describe-function-1): Handle closures.
19737 (describe-variable): Use special-variable-p for completion.
19738
19739 * files.el (lexical-binding): Declare safe.
f488fb65 19740
03408648
SM
19741 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19742 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19743 (pcase): Add `let' pattern.
19744 Change memoization so it actually works.
19745 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19746 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19747 <let>: New case.
f488fb65 19748
03408648
SM
19749 * emacs-lisp/macroexp.el: Use lexical binding.
19750 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19751 Don't convert ' to #' without checking that it's indeed quoting
19752 a lambda.
19753
19754 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 19755 Use eval-sexp-add-defvars.
03408648
SM
19756 (eval-sexp-add-defvars): New fun.
19757
19758 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19759
19760 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19761 Don't autoload.
19762 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19763 than the internal `byte-compile-lambda'.
19764 (defmethod): Don't hide code under quotes.
19765 (eieio-defmethod): New `code' argument.
19766
19767 * emacs-lisp/eieio-comp.el: Remove.
19768
19769 * emacs-lisp/edebug.el (edebug-eval-defun)
19770 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19771 (edebug-toggle): Avoid `eval'.
19772
19773 * emacs-lisp/disass.el (disassemble-internal): Handle new
19774 `closure' objects.
19775 (disassemble-1): Handle new byte codes.
19776
19777 * emacs-lisp/cl.el (pushnew): Silence warning.
19778
19779 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19780 (cl-byte-compile-throw): Remove.
19781 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19782
19783 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19784 closures.
19785
19786 * emacs-lisp/cconv.el: New file.
19787
19788 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19789 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19790 (byte-compile-initial-macro-environment):
19791 Handle declare-function here.
19792 (byte-compile--lexical-environment): New var.
19793 (byte-stack-ref, byte-stack-set, byte-discardN)
19794 (byte-discardN-preserve-tos): New lap codes.
19795 (byte-interactive-p): Don't use any more.
19796 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19797 New macros.
19798 (byte-compile-lapcode): Use them and handle new lap codes.
19799 (byte-compile-obsolete): Remove.
19800 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19801 (byte-compile-arglist-warn): Check late def of inlinable funs.
19802 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19803 since they should have been expanded by now.
19804 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19805 (byte-compile-from-buffer): Remove unused second arg.
19806 (byte-compile-preprocess): New function.
19807 (byte-compile-toplevel-file-form): New function to distinguish
19808 file-form calls from outside from file-form calls from hunk-handlers.
19809 (byte-compile-file-form): Simplify.
19810 (byte-compile-file-form-defsubst): Remove.
19811 (byte-compile-file-form-defmumble): Simplify now that
19812 byte-compile-lambda always returns a byte-code-function.
19813 (byte-compile): Preprocess.
19814 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19815 Remove, not used any more.
19816 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19817 (byte-compile-make-args-desc): New funs.
19818 (byte-compile-lambda): Handle lexical functions. Always return
19819 a byte-code-function.
19820 (byte-compile-reserved-constants): New var, to make up room for
19821 closed-over variables.
19822 (byte-compile-constants-vector): Obey it.
19823 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19824 (byte-compile-macroexpand-declare-function): New function.
19825 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19826 byte-code-functions.
19827 (byte-compile-form): Check obsolescence here.
19828 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19829 (byte-compile-variable-ref): Remove.
19830 (byte-compile-dynamic-variable-op): New fun.
19831 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19832 (byte-compile-variable-set): New funs.
19833 (byte-compile-discard): Add 2 args.
19834 (byte-compile-stack-ref, byte-compile-stack-set)
19835 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19836 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19837 macroexpand-all instead.
19838 (byte-compile-quote-form): Remove.
19839 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19840 (byte-compile-bind, byte-compile-unbind): New funs.
19841 (byte-compile-let): Handle let* and lexical binding.
19842 (byte-compile-let*): Remove.
19843 (byte-compile-catch, byte-compile-unwind-protect)
19844 (byte-compile-track-mouse, byte-compile-condition-case):
19845 Handle a new :fun-body form, used for lexical scoping.
19846 (byte-compile-save-window-excursion)
19847 (byte-compile-with-output-to-temp-buffer): Remove.
19848 (byte-compile-defun): Simplify.
19849 (byte-compile-stack-adjustment): New fun.
19850 (byte-compile-out): Use it.
19851 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19852
19853 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19854 handler any more.
19855
19856 * emacs-lisp/byte-opt.el: Use lexical binding.
19857 (byte-inline-lapcode): Remove (to bytecomp).
19858 (byte-compile-inline-expand): Pay attention to inlining to/from
19859 lexically bound code.
19860 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19861 any more.
19862 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19863 any more and don't call compiler-macros.
19864 (byte-compile-splice-in-already-compiled-code): Remove.
19865 (byte-code): Don't inline any more.
19866 (disassemble-offset): Receive `bytes' as argument rather than via
19867 dynamic scoping.
19868 (byte-compile-tag-number): Declare before first use.
19869 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19870 `return' even if make-spliceable.
19871 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19872 obsolete interactive-p.
19873 (byte-optimize-lapcode): Optimize new lap-codes.
19874 Don't trip up on new form of `byte-constant' lap code.
19875
19876 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19877
19878 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19879
19880 * custom.el (custom-initialize-default, custom-declare-variable):
19881 Use `defvar'.
19882
19883 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19884 New variables.
19885 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19886 (COMPILE_FIRST): Add macroexp and cconv.
19887 * makefile.w32-in: Mirror changes in Makefile.in.
19888
19889 * vc/cvs-status.el:
19890 * vc/diff-mode.el:
19891 * vc/log-edit.el:
19892 * vc/log-view.el:
19893 * vc/smerge-mode.el:
19894 * textmodes/bibtex-style.el:
090bd7cb 19895 * textmodes/css-mode.el:
03408648
SM
19896 * startup.el:
19897 * uniquify.el:
da91b5f2
CY
19898 * minibuffer.el:
19899 * newcomment.el:
19900 * reveal.el:
19901 * server.el:
19902 * mpc.el:
19903 * emacs-lisp/smie.el:
19904 * doc-view.el:
19905 * dired.el:
03408648
SM
19906 * abbrev.el: Use lexical binding.
19907
0f0c1f27
EZ
199082011-04-01 Eli Zaretskii <eliz@gnu.org>
19909
19910 * info.el (info-display-manual): New function.
19911
c82b2579
SM
199122011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
19913
19914 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19915
221ddf68
TH
199162011-03-31 Tassilo Horn <tassilo@member.fsf.org>
19917
19918 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 19919 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 19920
cba6e77e
GM
199212011-03-31 Glenn Morris <rgm@gnu.org>
19922
e040639f
GM
19923 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19924
cba6e77e
GM
19925 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19926
6d0f1c9e
CS
199272011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
19928
19929 * progmodes/python.el (python-default-interpreter)
19930 (python-python-command-args, python-jython-command-args)
19931 (python-which-shell, python-which-args, python-which-bufname)
19932 (python-file-queue, python-comint-output-filter-function)
19933 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19934 variables and functions.
19935
3e2d70fd
SM
199362011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
19937
19938 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19939 (completion-in-region-mode): New minor mode.
19940 (completion-in-region): Use it.
19941 (completion-in-region--data, completion-in-region-mode-map): New vars.
19942 (completion-in-region--postch): New function.
19943 (completion--capf-misbehave-funs, completion--capf-safe-funs):
19944 New vars.
19945 (completion--capf-wrapper): New function.
19946 (completion-at-point): Use it to track well-behavedness of
19947 hook functions.
19948 (completion-help-at-point): New command.
19949
f3e4086c
JM
199502011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
19951
19952 * vc/add-log.el (add-change-log-entry): Don't use whitespace
19953 syntax class to search for whitespace on a single line
19954 (Message-ID: <4D938140.4030905@redhat.com>).
19955
eb7ffc14
LL
199562011-03-30 Leo Liu <sdl.web@gmail.com>
19957
19958 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19959 New commands.
19960 (edit-abbrevs-map): Bind them here.
19961 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
19962
d806ab68
KM
199632011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
19964
19965 * allout.el (allout-hide-by-annotation, allout-flag-region):
19966 Reduce possibility of overlay leakage by making them volatile.
19967
19968 * allout-widgets.el (allout-widgets-tally): Define as nil so the
19969 hash is not shared between buffers. Mode initialization is
19970 responsible for giving it a useful starting value.
19971 (allout-item-span): Reduce possibility of overlay leakage by
19972 making them volatile.
19973 (allout-widgets-count-buttons-in-region): Add diagnostic function
19974 for tracking down button overlay leaks.
19975
ea622834
LL
199762011-03-29 Leo Liu <sdl.web@gmail.com>
19977
19978 * ido.el (ido-read-internal): Use the default history var
19979 minibuffer-history if no HISTORY is specified.
19980
b62f8267
G
199812011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19982
03408648
SM
19983 * net/imap.el (imap-shell-open, imap-process-connection-type):
19984 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
19985 Kerberos, SSL, other subprocesses.
19986
947b6566
LL
199872011-03-28 Leo Liu <sdl.web@gmail.com>
19988
19989 * abbrev.el (abbrev-table-empty-p): New function.
19990 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19991 nonempty ones. (Bug#5937)
19992
5ffb62aa
JD
199932011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19994
19995 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19996
7a097943
LL
199972011-03-27 Leo Liu <sdl.web@gmail.com>
19998
19999 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20000 for foreground and background colors.
20001 (ansi-color-make-color-map): Adapt.
20002
c5b40130
LL
200032011-03-25 Leo Liu <sdl.web@gmail.com>
20004
1f48f7d2
LL
20005 * midnight.el (midnight-time-float): Remove. Note it calculates
20006 the microsecond component incorrectly and seconds-to-time does the
20007 same job.
625897ec 20008 Remove redundant (require 'timer).
1f48f7d2 20009
c5b40130
LL
20010 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20011 (ido-completions): Remove unused arguments. (Bug#8329)
20012
d86d2721
SM
200132011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20014
20015 * minibuffer.el (completion--flush-all-sorted-completions):
20016 Remove itself from hook.
20017 (completion-at-point): Let the functions perform the completion
20018 immediately and return nil or t.
20019 * comint.el (comint-dynamic-complete-functions): Now identical to
20020 completion-at-point-functions.
20021 (comint-dynamic-list-input-ring): Remove unused var `index'.
20022 (comint--match-partial-filename, comint--unquote&expand-filename):
20023 New funs, split from comint-match-partial-filename.
20024 (comint-dynamic-complete): Use completion-at-point.
20025 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20026
e8974c48
DA
200272011-03-24 Drew Adams <drew.adams@oracle.com>
20028
20029 * thingatpt.el: Support `defun'.
20030
def71b5e
LL
200312011-03-23 Leo Liu <sdl.web@gmail.com>
20032
cb5af48e
LL
20033 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20034
def71b5e
LL
20035 * help-mode.el (help-mode-finish): Tweak regexp.
20036
927c53e7
GM
200372011-03-23 Glenn Morris <rgm@gnu.org>
20038
18d05bed
GM
20039 * eshell/esh-opt.el (eshell-eval-using-options):
20040 Do not bind unused local variable `eshell-option-stub'.
20041
927c53e7
GM
20042 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20043
9d0da923
JB
200442011-03-22 Juanma Barranquero <lekktu@gmail.com>
20045
20046 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20047 keymap variable in `with-no-warnings' to avoid a warning when the
20048 keymap has been already `defconst'ed.
20049
4b978a67
LL
200502011-03-22 Leo Liu <sdl.web@gmail.com>
20051
20052 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20053 encode all chars in abbrevs; otherwise use emacs-mule or
20054 utf-8-emacs. (Bug#8308)
20055
5fd62452
JB
200562011-03-22 Juanma Barranquero <lekktu@gmail.com>
20057
0b1596c6
JB
20058 * simple.el (backward-delete-char-untabify):
20059 Avoid warning about using `delete-backward-char'.
20060
5fd62452
JB
20061 * image.el (image-type-file-name-regexps): Make it variable.
20062 `imagemagick-register-types' modifies it, and the user may want
20063 to add new extensions for known image types.
20064 (imagemagick-register-types): Throw error if not using ImageMagick.
20065
0b4e93f1
LL
200662011-03-22 Leo Liu <sdl.web@gmail.com>
20067
20068 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20069 located before rcirc-prompt-end-marker.
20070 (rcirc-complete): Error if point is not after rcirc prompt.
20071 Handle the case when table is nil.
9882e214 20072 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 20073
fccee4ab
CY
200742011-03-22 Chong Yidong <cyd@stupidchicken.com>
20075
20076 * custom.el (custom--inhibit-theme-enable): Make it affect only
20077 custom-theme-set-variables and custom-theme-set-faces.
20078 (provide-theme): Ignore custom--inhibit-theme-enable.
20079 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20080 (custom-enabling-themes): Delete variable.
d86d2721
SM
20081 (enable-theme): Accept only loaded themes as arguments.
20082 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
20083 (custom-enabled-themes): Forbid themes from setting this.
20084 Eliminate use of custom-enabling-themes.
20085 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 20086
af896da6
LL
200872011-03-21 Leo Liu <sdl.web@gmail.com>
20088
20089 * ido.el (ido-read-internal): Add ido-selected to history instead
20090 of user input.
20091
78f64af0
SM
200922011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20093
20094 * subr.el (deferred-action-list, deferred-action-function):
20095 Mark obsolete.
20096
b16ac1ec
LL
200972011-03-21 Leo Liu <sdl.web@gmail.com>
20098
810f7698
LL
20099 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20100 change on 2011-02-13 (bug#8309).
20101
b16ac1ec
LL
20102 * minibuffer.el (read-file-name-function): Change default value.
20103 (read-file-name--defaults): Rename from read-file-name-defaults.
20104 (read-file-name-default): Rename from read-file-name.
20105 (read-file-name): Call read-file-name-function.
20106
4e05e67e
GM
201072011-03-21 Glenn Morris <rgm@gnu.org>
20108
20109 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20110 Doc fixes.
20111
4359915b
CY
201122011-03-21 Chong Yidong <cyd@stupidchicken.com>
20113
20114 * cus-theme.el: Add missing provide statement.
20115 (customize-create-theme): Extract theme value correctly.
20116 (custom-theme-visit-theme): Autoload.
20117 (customize-create-theme): Prompt before inserting default faces.
20118
1fe275ee
JB
201192011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20120
20121 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20122 units and musical notes.
20123
cd394be1 201242011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
20125
20126 * ido.el (ido-read-internal): Use completing-read-default.
20127 (ido-completing-read): Fix compatibility with completing-read.
20128
7d476bde
CO
201292011-03-20 Christian Ohler <ohler@gnu.org>
20130
20131 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20132 (ert-delete-all-tests): Use `called-interactively-p' rather than
20133 `interactive-p'.
20134 (ert--make-xrefs-region): Respect END.
20135
fe0fb33e
CY
201362011-03-19 Chong Yidong <cyd@stupidchicken.com>
20137
ff854b0b
CY
20138 * dired-aux.el (dired-create-directory): Signal an error if the
20139 directory already exists (Bug#8246).
20140
fe0fb33e
CY
20141 * facemenu.el (list-colors-display): Call list-faces-display
20142 inside with-help-window.
20143 (list-colors-print): Use display property to align the final
20144 column, instead of checking window-width.
20145
576bce32
EZ
201462011-03-19 Eli Zaretskii <eliz@gnu.org>
20147
4d61f28d 20148 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
20149 windows-nt systems.
20150 (emerge-protect-metachars): Quote correctly for ms-dos and
20151 windows-nt systems.
20152
89c41d68 201532011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
20154
20155 * info.el (info-initialize): Replace all uses of `:' with
20156 path-separator for compatibility with non-Unix systems.
20157 Cache quoting of path-separator. (Bug#8258)
20158
b14e3e21 201592011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
20160
20161 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20162 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20163 (mouse-avoidance-mode): Fix typos in docstrings.
20164
4525ce3e
CY
201652011-03-19 Chong Yidong <cyd@stupidchicken.com>
20166
20167 * startup.el (package-subdirectory-regexp): Move from package.el.
20168 Omit \\` and \\', and let callers add them.
20169
20170 * emacs-lisp/package.el (package-strip-version)
20171 (package-load-all-descriptors): Add \\` and \\' to
20172 package-subdirectory-regexp before using it.
20173 (package-untar-buffer): New arg DIR; ensure that file untars only
20174 into this expected directory. Remove superfluous delete-region.
20175 (package-unpack): Caller changed.
20176 (package-tar-file-info): Use package-subdirectory-regexp.
20177
a904a09a 201782011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 20179
a904a09a
SM
20180 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20181 diff-mode-shared-map (bug#8284).
20182 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
20183
201842011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20185
20186 * calendar/time-date.el (format-seconds): Use assoc instead of
20187 assoc-string, since assoc-string doesn't exist in XEmacs.
20188
171fc304
JB
201892011-03-17 Juanma Barranquero <lekktu@gmail.com>
20190
20191 * custom.el (custom-known-themes): Reflow docstring.
20192 (custom-theme-load-path): Fix typo in docstring.
20193 (load-theme): Fix typo in error message.
20194 (custom-available-themes, custom-variable-theme-value):
20195 Use `let', not `let*'.
20196
d71990a1
JB
201972011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20198
20199 * calc/README: Mention inclusion of musical notes.
20200
20201 * calc/calc-units.el (calc-lu-quant): Rename from
20202 `calc-logunits-quantity'.
20203 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20204 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20205 (calc-db): Rename from `calc-dblevel'.
20206 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20207 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20208 (calc-np): Rename from `calc-nplevel'.
20209 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20210 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20211 (calc-lu-plus): Rename from `calc-logunits-add'.
20212 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20213 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20214 (calc-lu-minus): Rename from `calc-logunits-sub'.
20215 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20216 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20217 (calc-lu-times): Rename from `calc-logunits-mul'.
20218 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20219 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20220 (calc-lu-divide): Rename from `calc-logunits-div'.
20221 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20222 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20223
20224 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20225 functions being autoloaded.
20226
20227 * calc/calc.el (calc-lu-power-reference): Rename from
20228 `calc-logunits-power-reference'.
20229 (calc-lu-field-reference): Rename from
20230 `calc-logunits-field-reference'.
20231
7a71b18d
GM
20232 * calc/calc-help.el (calc-l-prefix-help):
20233 Mention musical note functions.
d71990a1 20234
40c2934b
SM
202352011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20236
20237 * minibuffer.el (completion-all-sorted-completions):
20238 Use :completion-cycle-penalty text property if present.
20239
b0911414
KM
202402011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20241
20242 * allout.el (allout-yank-processing): Adjust for new rebulleting
20243 regime so bullet being yanked is used without prompting the user
20244 for a choice.
20245
8a05b668
JB
202462011-03-16 Juanma Barranquero <lekktu@gmail.com>
20247
20248 * startup.el (command-line): Warn the user that _emacs is deprecated.
20249
5ba5fb81
JB
202502011-03-16 Juanma Barranquero <lekktu@gmail.com>
20251
20252 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20253 (delphi-verbose, delphi-comment-face, delphi-string-face)
20254 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20255 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20256 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20257 (delphi-new-comment-line, delphi-font-lock-defaults)
20258 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20259 Fix typos in docstrings.
20260
2dab465b
KM
202612011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20262
5ba5fb81 20263 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
20264 Invert the roles of character and string values for INSTEAD, so a
20265 string is used for the more common case of a defaulting prompt.
20266
0adf5618
SM
202672011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20268
20269 * progmodes/ruby-mode.el (ruby-backward-sexp):
20270 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20271 * play/gamegrid.el (gamegrid-make-face):
20272 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20273 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20274 * notifications.el (notifications-notify):
20275 * net/xesam.el (xesam-search-engines):
20276 * net/quickurl.el (quickurl-list-insert):
20277 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20278
d72700e5
CY
202792011-03-15 Chong Yidong <cyd@stupidchicken.com>
20280
20281 * startup.el (command-line): Update package subdirectory regexp.
20282
49c5410a
SM
202832011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20284
c6eee9aa
SM
20285 * allout.el (allout-abbreviate-flattened-numbering)
20286 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20287
49c5410a
SM
20288 * subr.el (read-char-choice): Only show the cursor after the prompt,
20289 not after the answer.
20290
047b2bb9
KR
202912011-03-15 Kevin Ryde <user42@zip.com.au>
20292
20293 * help-fns.el (variable-at-point): Skip leading quotes, if any
20294 (bug#8253).
20295
0a57d256
SM
202962011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20297
20298 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20299 warning message.
20300
77c992bc
MA
203012011-03-14 Michael Albinus <michael.albinus@gmx.de>
20302
20303 * shell.el (shell): When called interactively, offer to change the
20304 shell file name on remote hosts.
20305
eebc475d
TZ
203062011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20307
20308 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20309 integration for LDAP parameters. The host, base, user or binddn,
20310 and secret tokens can be specified in a netrc file, for instance.
20311 This is optional because an `auth-source' parameter must be
20312 specified in the search attributes.
20313
9d05d1ba
JB
203142011-03-13 Juanma Barranquero <lekktu@gmail.com>
20315
20316 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20317
09d9db2c
GM
203182011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20319
20320 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20321 into declaration. Remove redundant and harmful binding.
20322
203232011-03-12 Eli Zaretskii <eliz@gnu.org>
20324
20325 * files.el (file-ownership-preserved-p): Pass `integer' as an
20326 explicit 2nd argument to `file-attributes'. If the file's owner
20327 is the Administrators group on Windows, and the current user is
20328 Administrator, consider that a match.
20329
20330 * server.el (server-ensure-safe-dir): Consider server directory
20331 safe on MS-Windows if its owner is the Administrators group while
20332 the current Emacs user is Administrator. Use `=' to compare
20333 numerical UIDs, since they could be integers or floats.
20334
219bd536
JB
203352011-03-12 Juanma Barranquero <lekktu@gmail.com>
20336
20337 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20338
f3afd36b
MA
203392011-03-12 Michael Albinus <michael.albinus@gmx.de>
20340
20341 Sync with Tramp 2.2.1.
20342
20343 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20344
20345 * net/trampver.el: Update release number.
20346
3aaaa6f1
SM
203472011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20348
94642599
SM
20349 * progmodes/compile.el (compilation--previous-directory): Fix up
20350 various nil/dead-marker mismatches (bug#8014).
20351 (compilation-directory-properties, compilation-error-properties):
20352 Don't call it at a position past the one we're about to change.
20353
3aaaa6f1
SM
20354 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20355 Disable obsolescence warnings in the file that declares it.
20356
14239447
KM
203572011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20358
099c39a4
JB
20359 * allout-widgets.el (allout-widgets-tally):
20360 Initialize allout-widgets-tally as a hash table rather than nil to
20361 prevent mode-line redisplay warnings. Also, clarify the module
20362 description and fix a comment typo.
14239447 20363
135e287c
JB
203642011-03-11 Juanma Barranquero <lekktu@gmail.com>
20365
20366 * help-fns.el (describe-variable): Don't complete keywords.
20367 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20368
ffbf300e
CY
203692011-03-10 Chong Yidong <cyd@stupidchicken.com>
20370
ba08b241
CY
20371 * emacs-lisp/package.el (package-version-join): Impose a standard
20372 string representation for pre/alpha/beta version lists.
20373 (package-unpack-single): Standardize the directory name by passing
20374 it through package-version-join.
20375 (package-strip-rcs-id): Accept any version string that does not
20376 signal an error in version-to-list.
ffbf300e 20377
f346fd6b
MA
203782011-03-10 Michael Albinus <michael.albinus@gmx.de>
20379
20380 * simple.el (delete-trailing-whitespace): Return nil for the
20381 benefit of `write-file-functions'.
20382
ccb55d27
GM
203832011-03-10 Glenn Morris <rgm@gnu.org>
20384
5ceaac0c
GM
20385 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20386
02da65ff
GM
20387 * vc/vc-git.el (vc-git-program): New option.
20388 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20389 (vc-git--call): Use it.
20390
b2f603cc
GM
20391 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20392
5772caab
GM
20393 * cus-edit.el (Custom-newline): If no button at point, look
20394 for a subgroup button at start-of-line. (Bug#2298)
20395
ccb55d27
GM
20396 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20397
ec6ecaed
JD
203982011-03-10 Julien Danjou <julien@danjou.info>
20399
20400 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20401 `cursor-type' is nil.
20402
9d5aa01d
JB
204032011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20404
20405 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20406
b6a5875b
KM
204072011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20408
7a71b18d 20409 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
20410 preserves the existing header prefix, rebulleting it if necessary,
20411 rather than replacing it. This is necessary for proper operation
20412 of cooperative addons like allout-widgets.
1154d12e
JB
20413 (allout-make-topic-prefix, allout-rebullet-heading):
20414 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20415 value as alternate bullet to be used, instead of prompting the user
20416 for a bullet character.
b6a5875b 20417
ee545c35
MA
204182011-03-09 Michael Albinus <michael.albinus@gmx.de>
20419
d86d2721
SM
20420 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20421 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
20422 `tramp-default-port'.
20423
c47971d7
DD
204242011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20425
20426 * net/rcirc.el (rcirc-handler-001): Remove useless
20427 with-rcirc-process-buffer.
20428 (rcirc-check-auth-status): Swap arguments to string-match.
20429
13522cb4
GM
204302011-03-09 Glenn Morris <rgm@gnu.org>
20431
0be6f4f1
GM
20432 * shell.el (shell-mode):
20433 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20434
13522cb4
GM
20435 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20436 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20437
515de2e3
CY
204382011-03-08 Chong Yidong <cyd@stupidchicken.com>
20439
20440 * emacs-lisp/package.el (package-refresh-contents)
20441 (package-menu-execute): Use condition-case-no-debug.
20442
b511b994
MA
204432011-03-08 Michael Albinus <michael.albinus@gmx.de>
20444
20445 * simple.el (shell-command-to-string): Use `process-file'.
20446
20447 * emacs-lisp/package.el (package-tar-file-info): Handle also
20448 remote files.
20449
d86d2721
SM
20450 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20451 Use `equal' for upload base check.
b511b994 20452
25bbfb31
AM
204532011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20454
20455 * textmodes/texinfo.el (texinfo-environments):
20456 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20457
be996521
GM
204582011-03-08 Glenn Morris <rgm@gnu.org>
20459
e9c8529f
GM
20460 * cus-start.el (cursor-in-non-selected-windows):
20461 Fix :set quoting oddness. (Bug#8192)
20462
be996521
GM
20463 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20464 in some setf expressions. (Bug#2159)
20465
2bb5649e
CY
204662011-03-08 Chong Yidong <cyd@stupidchicken.com>
20467
20468 * custom.el (custom-available-themes): Return themes in
20469 alphabetical order.
20470
33383987 20471See ChangeLog.15 for earlier changes.
e3d51b27
MR
20472
20473;; Local Variables:
20474;; coding: utf-8
e3d51b27
MR
20475;; End:
20476
acaf905b 20477 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
20478
20479 This file is part of GNU Emacs.
20480
20481 GNU Emacs is free software: you can redistribute it and/or modify
20482 it under the terms of the GNU General Public License as published by
20483 the Free Software Foundation, either version 3 of the License, or
20484 (at your option) any later version.
20485
20486 GNU Emacs is distributed in the hope that it will be useful,
20487 but WITHOUT ANY WARRANTY; without even the implied warranty of
20488 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20489 GNU General Public License for more details.
20490
20491 You should have received a copy of the GNU General Public License
20492 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.