* xml.el: Implement XML parameter entities.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
7f3fbd5d
CY
12012-06-30 Chong Yidong <cyd@gnu.org>
2
3 * xml.el: Implement XML parameter entities.
4 (xml-parameter-entity-alist): New variable.
5 (xml-parse-region, xml-parse-fragment): Preserve previous values
6 of xml-entity-alist and xml-parameter-entity-alist, so that
7 repeated calls on different documents do not change them.
8 (xml-parse-tag): Fix doctype regexp.
9 (xml--entity-replacement-text): New function.
10 (xml-parse-dtd): Use it. Don't handle system entities; doing that
11 properly requires url retrieval which is unimplemented.
12 (xml-escape-string): Doc fix.
13
3cfbebba
SM
142012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
15
16 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
17
2af3565e
DA
182012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
19
20 * fringe.el (fringe-mode): Doc fix.
21
929df0e7
MA
222012-06-29 Michael Albinus <michael.albinus@gmx.de>
23
24 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
25 is non-nil.
26 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
27 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
28
c8d3a25c 292012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 30
c8d3a25c
GM
31 * calendar/cal-dst.el (calendar-current-time-zone):
32 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 33
c8d3a25c 342012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
35
36 * progmodes/which-func.el (which-func-format):
37 Add mouse-face. (Bug#11698)
38
c8d3a25c
GM
392012-06-29 Leo Liu <sdl.web@gmail.com>
40
41 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
42
432012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
44
45 * minibuffer.el (minibuffer-confirm-exit-commands):
46 Add completion-at-point (bug#11725).
47
482012-06-29 Glenn Morris <rgm@gnu.org>
49
50 * progmodes/f90.el (f90-font-lock-keywords-2):
51 Add some preprocessor elements. (Bug#10499)
52
532012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
54
55 * progmodes/cperl-mode.el (cperl-update-syntaxification):
56 Use syntax-propertize (bug#11739).
57
2badeec4
JB
582012-06-28 Juanma Barranquero <lekktu@gmail.com>
59
60 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
61
ae4969c2
JD
622012-06-28 Julien Danjou <julien@danjou.info>
63
64 * term.el (term-handle-colors-array): Use a set of new faces to
65 color the terminal. Also uses :inverse-video property.
66 (term-default-fg-color): Set to nil by default, deprecate in favor
67 of `term-face'.
68 (term-default-bg-color): Set to nil by default, deprecate in favor
69 of `term-face'.
70 (term-current-face): Use `term-face' by default.
71 (term-bold-attribute): Variable deleted.
72
1c9bd870
GM
732012-06-28 Glenn Morris <rgm@gnu.org>
74
75 * simple.el (completion-list-mode-finish):
76 Don't use toggle-read-only. (Since completion-list-mode has
77 a special mode-class, it wasn't doing anything extra anyway.)
78
c207708c
SM
792012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
80
81 Make inlining of other-mode interpreted functions work (bug#11799).
82 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
83 (byte-compile): Use it to fix compilation of lexical-binding closures.
84 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
85 function, if needed.
86
3fd56834
SM
872012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
88
04901786
SM
89 * help-mode.el (help-make-xrefs): Don't just withstand
90 cyclic-variable-indirection but any error in documentation-property.
91
1ec4b7b2
SM
92 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
93 memory use.
94 * bindings.el (bindings--define-key): New function.
95 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
96 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
97 * bindings.el: Use it to purecopy define-key bindings.
98
e309e2a5
SM
99 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
100
d5c6faf9
SM
101 * emacs-lisp/cl.el (flet): Mark obsolete.
102 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
103 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
104 * progmodes/js.el (js-c-fill-paragraph):
105 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
106 (ebrowse-switch-member-buffer-to-derived-class):
107 * play/5x5.el (5x5-solver): Use cl-flet.
108
6e9590e2
SM
109 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
110 (cl--symbol-function): New macro.
111 (cl--letf, cl--letf*): Use it.
112
3fd56834
SM
113 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
114 Strip "toggle-" if any.
115
35ff222c
GM
1162012-06-27 Glenn Morris <rgm@gnu.org>
117
1ba6038a
GM
118 * info.el (Info-default-directory-list): Move here from paths.el.
119 * paths.el: Remove file, which is now empty.
120 * loadup.el: No longer load "paths".
121
0ea0e51b
GM
122 * custom.el (custom-initialize-delay): Doc fix.
123
35ff222c
GM
124 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
125 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
126 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
127 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
128 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
129 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
130 * eshell/eshell.el (eshell-defgroup): Remove alias.
131
c89926a5
CY
1322012-06-27 Chong Yidong <cyd@gnu.org>
133
134 * help.el (help-enable-auto-load): New variable.
135
136 * help-fns.el (help-fns--autoloaded-p): New function.
137 (describe-function-1): Refer to a function as "autoloaded" if it
138 was autoloaded at any time in the past. Perform autoloading if
139 help-enable-auto-load is non-nil.
140
cc06e7e7
EZ
1412012-06-26 Eli Zaretskii <eliz@gnu.org>
142
143 * makefile.w32-in (compile, compile-always): Depend on
144 update-subdirs, not on subdirs.el. Otherwise, several different
145 sub-targets of 'bootstrap' running in parallel could
146 simultaneously write to subdirs.el, producing a garbled file.
147
d2c32364
SS
1482012-06-26 Sam Steingold <sds@gnu.org>
149
150 * files.el (file-name-base): New convenience function.
0d14cc21
GM
151 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
152 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
153 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
154 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
155 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
156 * textmodes/tex-mode.el: Use it.
157 Did not touch cedet and org because they are maintained elsewhere.
158
5cf983b2
MR
1592012-06-26 Martin Rudalics <rudalics@gmx.at>
160
161 * calendar/calendar.el (calendar-exit): Don't try to delete or
162 iconify last frame. See:
163 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
164
8c4f2952
JD
1652012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
166
167 * server.el (server-process-filter): Remember dir in the
168 process's `server-client-directory' properties.
169
772b2e2c
CY
1702012-06-24 Chong Yidong <cyd@gnu.org>
171
172 * xml.el (xml-parse-tag): Correctly handle comment embedded in
173 non-tag text.
174
711b11e1
JB
1752012-06-23 Juanma Barranquero <lekktu@gmail.com>
176
177 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
178
dc5d230c
SM
1792012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
180
181 * help-fns.el (describe-variable): Don't croak when doc is not found.
182 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
183 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
184 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
185 * emacs-lisp/smie.el (smie-next-sexp): CSE.
186 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
187 ((lambda ..) ..).
188 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
189
136e1c1d
CY
1902012-06-23 Chong Yidong <cyd@gnu.org>
191
e8c1cabf
CY
192 * info.el (Info-mouse-follow-link): Accept symbol values of
193 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
194 (Info-fontify-node): Use Info-link-keymap for all navigation
195 buttons, with link-args property to perform the desired action.
196 (Info-link-keymap): Doc fix.
197 (Info-next-link-keymap, Info-prev-link-keymap)
198 (Info-up-link-keymap): Delete now-unused keymaps.
199
0e9e6c6a
CY
2002012-06-23 Chong Yidong <cyd@gnu.org>
201
05e89fea
CY
202 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
203
0e9e6c6a
CY
204 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
205 system abbrevs.
206
207 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
208
e33c6771
SM
2092012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
210
b68581e2
SM
211 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
212 (bug#11719).
213
e33c6771
SM
214 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
215 the requote function doesn't work properly (bug#11714).
216
7117e105
GM
2172012-06-23 Glenn Morris <rgm@gnu.org>
218
219 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
220
36cec983
SM
2212012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
222
223 Further GV/CL cleanups.
224 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
225 gv-expander.
226 (gv--defun-declaration): New function.
227 (defun-declarations-alist): Use it.
228 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
229 (gv-place): Autoload.
230 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
231 original definition of dotimes and dolist.
232 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
233 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
234 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
235 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
236 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
237 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
238 to the function's definition.
239 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
240 * window.el:
241 * files.el:
242 * faces.el:
243 * env.el: Don't use CL.
244
d35af63c
PE
2452012-06-22 Paul Eggert <eggert@cs.ucla.edu>
246
247 Support higher-resolution time stamps (Bug#9000).
248
249 * calendar/time-date.el (with-decoded-time-value): New arg
250 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
251 (encode-time-value): New optional arg PICO. New type 3.
252 (time-to-seconds) [!float-time]: Support the new picoseconds
253 component if it's used.
254 (seconds-to-time, time-subtract, time-add):
255 Support ps-resolution time stamps as well.
256
257 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
258 (timerp): Timer vectors now have length 9, not 8.
259 (timer--time): Support new-style (4-part) time stamps.
260 (timer-next-integral-multiple-of-time): Time stamps now have
261 picosecond resolution, so take a bit more care about rounding.
262 (timer-relative-time, timer-inc-time): New optional arg psecs.
263 (timer-set-time-with-usecs): Set psecs to 0.
264 (timer--activate): Check psecs component, too.
265
266 * proced.el (proced-time-lessp): Support ps-resolution stamps.
267
ac77b21a
SM
2682012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
269
f143bfe3
SM
270 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
271 Move the non-essential binding to the post/pre-command-hook where it is
272 more obviously correct.
273
ac77b21a
SM
274 * subr.el (read-passwd): Don't use a history at all.
275 * savehist.el (savehist-save): Remove password saved accidentally
276 because of the above bug.
277
76386c5a
BG
2782012-06-22 Bastien Guerry <bzg@gnu.org>
279
280 * files.el (toggle-read-only): Display a message telling whether
281 the buffer is read-only or not (bug#11726).
282
2ee3d7f0
SM
2832012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
284
285 * emacs-lisp/gv.el: New file.
286 * subr.el (push, pop): Extend to generalized variables.
287 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
288 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
289 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
290 gv-define-simple-setter, and gv-define-expander.
291 Remove setf-methods defined in gv. Rename cl-setf -> setf.
292 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
293 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
294 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
295 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
296 gv-letplace.
297 (cl-defstruct): Don't define setf-method any more.
298 * emacs-lisp/cl.el (flet): Don't autoload.
299 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
300 (define-setf-expander, defsetf, define-modify-macro)
301 (cl-struct-setf-expander): Move from cl-lib.el.
302 * emacs-lisp/syntax.el:
303 * emacs-lisp/ewoc.el:
304 * emacs-lisp/smie.el:
305 * emacs-lisp/cconv.el:
306 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
307 (timer--time): Use gv-define-simple-setter.
308 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
309 to avoid coding-system problems in subr.el. Adjust all users.
310 (macroexp--maxsize, macroexp-small-p): New functions.
311 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
312 * scroll-bar.el (scroll-bar-mode):
313 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
314 (normal-erase-is-backspace-mode): Don't use the `eq' place.
315 * winner.el (winner-configuration, winner-make-point-alist)
316 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
317 * files.el (locate-file-completion-table): Avoid list*.
318
c5695d1d
CY
3192012-06-22 Chong Yidong <cyd@gnu.org>
320
321 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
322 (dired-create-files): Doc fix (Bug#11329).
323 (dired-do-copy): Doc fix (Bug#11334).
324 (dired-mark-read-string): Doc fix (Bug#11553).
325
2ee3d7f0
SM
326 * dired.el (dired-recursive-copies, dired-recursive-deletes):
327 Doc fix (Bug#11326).
c5695d1d
CY
328 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
329 (dired-dwim-target): Doc fix.
330
331 * wdired.el (wdired-mode): Doc fix.
332
89b5595a
GM
3332012-06-22 Glenn Morris <rgm@gnu.org>
334
575db3f1
GM
335 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
336 (pcmpl-rpm-cache-stamp-file): New constant.
337 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
338 (pcmpl-rpm-packages): Optionally cache list of packages.
339
a4c8dd51
GM
340 * pcmpl-rpm.el (pcmpl-rpm): New group.
341 (pcmpl-rpm-query-options): New option.
342 (pcmpl-rpm-packages): No need to inline it.
343 Use pcmpl-rpm-query-options.
344
89b5595a
GM
345 * calendar/calendar.el (calendar-in-read-only-buffer):
346 Avoid some needless mode changes.
347
e76f0800
CY
3482012-06-21 Chong Yidong <cyd@gnu.org>
349
350 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
351 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 352 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 353
297a8f1d
CY
3542012-06-20 Chong Yidong <cyd@gnu.org>
355
356 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
357
d34c18b1
DR
3582012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
359
360 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
361 (bug#11201).
362
32f7f28e
CY
3632012-06-20 Chong Yidong <cyd@gnu.org>
364
365 * term.el (term-window-width): Handle the case of a missing right
366 fringe (Bug#8837).
367 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
368 (term-mode): Use define-derived-mode. Minor cleanups.
369 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
370 (term-move-columns, term-insert-char, term-emulate-terminal)
371 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 372
493c6688
MA
3732012-06-20 Michael Albinus <michael.albinus@gmx.de>
374
d34c18b1
DR
375 * net/ange-ftp.el (ange-ftp-get-passwd):
376 Bind `enable-recursive-minibuffers'.
493c6688
MA
377 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
378
3f06ecf4
DR
3792012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
380
381 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
382
68f12411
GM
3832012-06-19 Glenn Morris <rgm@gnu.org>
384
385 * progmodes/python.el (python-mode): Derive from prog-mode.
386
b3820318
KG
3872012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
388
389 * emulation/edt.el (edt-default-menu-bar-update-buffers)
390 (edt-user-menu-bar-update-buffers): New functions.
391 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
392
c6bf3022
CY
3932012-06-19 Chong Yidong <cyd@gnu.org>
394
395 * subr.el (with-selected-window): Preserve the selected window's
396 terminal's top-frame (Bug#4702).
397
398 * window.el (save-selected-window): Likewise.
399
25f09295
SM
4002012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
401
402 * progmodes/python.el (python-rx-constituents): Move backquote.
403 (python-skeleton-define, python-define-auxiliary-skeleton):
404 Use `declare'.
405
6b11952a
MA
4062012-06-18 Michael Albinus <michael.albinus@gmx.de>
407
408 * minibuffer.el (read-file-name-default): Revert the patch from
409 2012-06-17.
410
ee4b1330
SM
4112012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
412
413 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
414 (pcase--u1, pcase--q1): Don't use apply-partially.
415
35647f79
GM
4162012-06-18 Glenn Morris <rgm@gnu.org>
417
418 * progmodes/python.el (python-proc, python-buffer)
419 (python-send-receive, python-send-string): Fix obsolete versions.
420
24b0cff0
MR
4212012-06-18 Martin Rudalics <rudalics@gmx.at>
422
423 * window.el (special-display-p): Completely remove stringp
424 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
425
29855149
MA
4262012-06-17 Michael Albinus <michael.albinus@gmx.de>
427
428 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
429
430 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
431
432 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
433 * net/tramp-sh.el (tramp-maybe-open-connection):
434 Throw if `non-essential' is non-nil.
435
07463363
MR
4362012-06-17 Martin Rudalics <rudalics@gmx.at>
437
438 * window.el (special-display-p): Signal an error if BUFFER-NAME
439 is not a string (Bug#11713).
440
48d1354e
PE
4412012-06-17 Paul Eggert <eggert@cs.ucla.edu>
442
443 * progmodes/python.el (python-info-beginning-of-backslash):
444 Rename from python-info-beginning-of-backlash, as a spelling fix.
445
eb4a8a9a
CY
4462012-06-17 Chong Yidong <cyd@gnu.org>
447
448 * term.el (term-emulate-terminal): If term-check-size is called,
449 move point to the process mark without resetting point (Bug#4635).
450
ddfbf826 4512012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
452
453 * international/mule-cmds.el (mule-menu-keymap)
454 (set-language-environment, set-locale-environment): Doc tweaks.
455
9b0e3eba
AA
4562012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
457
458 * cus-face.el (custom-face-attributes): Add wave-style underline
459 attribute.
460 * faces.el (set-face-attribute): Update docstring to describe
461 wave-style underline attribute.
462
771e3eae
CY
4632012-06-16 Chong Yidong <cyd@gnu.org>
464
465 * term/xterm.el (terminal-init-xterm): Discard input before
466 querying background mode (Bug#10959).
467
7ae2ea10
SM
4682012-06-16 Stefan Merten <smerten@oekonux.de>
469
470 * textmodes/rst.el: Added and corrected some comments.
471 (rst-re-alist-def): Improve symbol syntax.
472 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
473 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
474 (rst-official-version, rst-official-cvs-rev): Update version
475 information.
7ae2ea10 476
b6974efa
JB
4772012-06-15 Juanma Barranquero <lekktu@gmail.com>
478
479 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
480 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
481
8826d473
GM
4822012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
483
484 * progmodes/python.el: New python.el merge.
485 (python-guess-indent): Obsolete var.
486 (python-indent-guess-indent-offset): New defcustom.
487 (python-indent): Obsolete var.
488 (python-indent-offset): New defcustom.
489 (python-python-command, python-jython-command): Delete var.
490 (python-shell-interpreter): New defcustom.
491 (python-pdbtrack-do-tracking-p): Delete var.
492 (python-pdbtrack-activate): New defcustom.
493 (python-use-skeletons): Obsolete var.
494 (python-skeleton-autoinsert): New defcustom.
495 (inferior-python-filter-regexp, python-continuation-offset)
496 (python-honour-comment-indentation, python-indent-string-contents)
497 (python-jython-packages, python-mode-hook)
498 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
499 (python-shell-prompt-alist)
500 (python-source-modes): Delete defcustoms.
501 (python-check-buffer-name, python-eldoc-setup-code)
502 (python-eldoc-string-code, python-ffap-setup-code)
503 (python-ffap-string-code, python-fill-comment-function)
504 (python-fill-decorator-function, python-fill-paren-function)
505 (python-fill-string-function, python-imenu-include-defun-type)
506 (python-imenu-make-tree, python-imenu-subtree-root-label)
507 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
508 (python-shell-compilation-regexp-alist)
509 (python-shell-completion-module-string-code)
510 (python-shell-completion-pdb-string-code)
511 (python-shell-completion-setup-code)
512 (python-shell-completion-string-code)
513 (python-shell-enable-font-lock, python-shell-exec-path)
514 (python-shell-extra-pythonpaths)
515 (python-shell-internal-buffer-name, python-shell-interpreter-args)
516 (python-shell-process-environment)
517 (python-shell-prompt-block-regexp)
518 (python-shell-prompt-output-regexp)
519 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
520 (python-shell-send-setup-max-wait, python-shell-setup-codes)
521 (python-shell-virtualenv-path): New defcustoms.
522 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
523 (inferior-python-mode-syntax-table, python--prompt-regexp)
524 (python-buffer, python-command python-python-command)
525 (python-default-template, python-imports, python-indent-index)
526 (python-indent-list, python-indent-list-length)
527 (python-mode-running, python-pdbtrack-is-tracking-p)
528 (python-preoutput-continuation, python-preoutput-leftover)
529 (python-preoutput-result, python-preoutput-skip-next-prompt)
530 (python-prev-dir/file, python-recursing)
531 (python-saved-check-command, python-version-checked)
532 (python-which-func-length-limit)
533 (view-return-to-alist): Delete vars.
534 (python-check-custom-command, python-dotty-syntax-table)
535 (python-imenu-index-alist, python-indent-current-level)
536 (python-indent-dedenters, python-indent-levels)
537 (python-nav-beginning-of-defun-regexp)
538 (python-nav-list-defun-positions-cache)
539 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
540 (python-shell-internal-buffer)
541 (python-skeleton-available): New vars.
542 (def-python-skeleton): Delete macro.
543 (python-skeleton-define): New macro.
544 (python-define-auxiliary-skeleton, python-rx): New macros.
545 (python-insert-class): Delete command.
546 (python-skeleton-class): New command.
547 (python-insert-def): Delete command.
548 (python-skeleton-def): New command.
549 (python-insert-for): Delete command.
550 (python-skeleton-for): New command.
551 (python-insert-if): Delete command.
552 (python-skeleton-if): New command.
553 (python-insert-try/except, python-insert-try/finally): Delete commands.
554 (python-skeleton-try): New command.
555 (python-insert-while): Delete command.
556 (python-skeleton-while): New command.
557 (python-backspace): Delete command.
558 (python-indent-dedent-line-backspace): New command.
559 (python-electric-colon): Delete command.
560 (python-indent-electric-colon): New command.
561 (python-guess-indent): Delete command.
562 (python-indent-guess-indent-offset): New command.
563 (python-shift-left): Delete command.
564 (python-indent-shift-left): New command.
565 (python-shift-right): Delete command.
566 (python-indent-shift-right): New command.
567 (python-find-function): Delete command.
568 (python-nav-jump-to-defun): New command.
569 (python-next-statement): Delete command.
570 (python-nav-forward-sentence): New command.
571 (python-previous-statement): Delete command.
572 (python-nav-backward-sentence): New command.
573 (python-fill-paragraph): Delete command.
574 (python-fill-paragraph-function): New command.
575 (python-send-buffer): Delete command.
576 (python-shell-send-buffer): New command.
577 (python-send-defun): Delete command.
578 (python-shell-send-defun): New command.
579 (python-send-region, python-send-region-and-go): Delete commands.
580 (python-shell-send-region)
581 (python-shell-switch-to-shell): New commands.
582 (python-send-string): Delete command.
583 (python-shell-send-string): New command.
584 (python-switch-to-python): Delete command.
585 (python-shell-switch-to-shell): New command.
586 (python-describe-symbol): Delete command.
587 (python-eldoc-at-point): New command.
588 (python--set-prompt-regexp, python-args-to-list)
589 (python-after-info-look, python-check-version)
590 (python-check-comint-prompt, python-find-imports)
591 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
592 (python-unload-function, python-expand-template)
593 (python-maybe-jython, python-preoutput-filter)
594 (python-pdbtrack-get-source-buffer)
595 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
596 (python-pdbtrack-toggle-stack-tracking)
597 (python-pdbtrack-track-stack-file, python-initial-text)
598 (python-first-word, python-comment-line-p, python-send-command)
599 (python-setup-brm, python-sentinel, python-set-proc)
600 (python-skip-out, python-input-filter, python-outdent-p)
601 (python-outline-level, python-backslash-continuation-line-p)
602 (python-end-of-block, python-end-of-statement, python-mark-block)
603 (python-beginning-of-block, python-beginning-of-statement)
604 (python-blank-line-p, python-beginning-of-string)
605 (python-open-block-statement-p): Delete functions.
606 (python-indent-line, python-indent-line-1): Delete functions.
607 (python-indent-line): New function.
608 (python-indentation-levels): Delete function.
609 (python-indent-calculate-levels): New function.
610 (python-proc): Delete function.
611 (python-shell-get-process): New function.
612 (python-send-receive): Delete function.
613 (python-shell-send-string-no-output): New function.
614 (python-module-path): Delete function.
615 (python-ffap-module-path): New function.
616 (python-completion-at-point)
617 (python-symbol-completions): Delete functions.
618 (python-completion-complete-at-point): New function.
619 (python-load-file): Delete function.
620 (python-shell-send-file): New function.
621 (python-calculate-indentation): Delete function.
622 (python-indent-calculate-indentation): New function.
623 (python-skip-comments/blanks): Delete function.
624 (python-util-forward-comment): New function.
625 (python-continuation-line-p): Delete function.
626 (python-info-continuation-line-p): New function.
627 (python-which-func, python-current-defun): Delete function.
628 (python-info-current-defun): New function.
629 (python-beginning-of-defun): Delete function.
630 (python-nav-beginning-of-defun): New function.
631 (python-close-block-statement-p)
632 (python-block-end-p): Delete function.
633 (python-info-closing-block): New function.
634 (python-comint-output-filter-function)
635 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
636 (python-fill-comment, python-fill-decorator, python-fill-paren)
637 (python-fill-string, python-imenu-make-element-tree)
638 (python-imenu-make-tree, python-imenu-tree-assoc)
639 (python-indent-context, python-indent-dedent-line)
640 (python-indent-line-function)
641 (python-indent-post-self-insert-function)
642 (python-indent-toggle-levels)
643 (python-info-assignment-continuation-line-p)
644 (python-info-beginning-of-backlash)
645 (python-info-block-continuation-line-p)
646 (python-info-closing-block-message)
647 (python-info-line-ends-backslash-p)
648 (python-info-looking-at-beginning-of-defun)
649 (python-info-ppss-context, python-info-ppss-context-type)
650 (python-nav-list-defun-positions, python-nav-read-defun)
651 (python-nav-sentence-end, python-nav-sentence-start)
652 (python-pdbtrack-comint-output-filter-function)
653 (python-pdbtrack-set-tracked-buffer)
654 (python-shell-calculate-exec-path)
655 (python-shell-calculate-process-environment)
656 (python-shell-completion--do-completion-at-point)
657 (python-shell-completion--get-completions)
658 (python-shell-completion-complete-at-point)
659 (python-shell-completion-complete-or-indent)
660 (python-shell-get-or-create-process)
661 (python-shell-get-process-name)
662 (python-shell-internal-get-or-create-process)
663 (python-shell-internal-get-process-name)
664 (python-shell-internal-send-string, python-shell-make-comint)
665 (python-shell-parse-command, python-shell-send-setup-code)
666 (python-skeleton-add-menu-items)
667 (python-util-clone-local-variables, python-util-position)
668 (run-python-internal, python-indentation-levels)
669 (python-nav-beginning-of-defun)
670 (python-completion-complete-at-point): New functions.
671 (run-python): Change arguments. New API requirements.
672
4302f5ba
SM
6732012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
674
f38ea36d
SM
675 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
676 (bug#11649).
677
678 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
679 (macroexp--expand-all): Use it.
680
4302f5ba
SM
681 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
682 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
683 Use `cl-function' instead.
684
33377562
JB
6852012-06-14 Juanma Barranquero <lekktu@gmail.com>
686
687 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
688 Suggested by Stefan Monnier while discussing bug#11657.
689
54c5ba1a
SS
6902012-06-14 Sam Steingold <sds@gnu.org>
691
692 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
693
f9f1b1fe
AS
6942012-06-14 Andreas Schwab <schwab@linux-m68k.org>
695
696 * play/doctor.el (doctor-doc): Remove parameter and use
697 doctor-sent instead of sent.
698 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
699
a81068ba
SM
7002012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
701
5a315f9c
SM
702 * files.el: Require cl-lib.
703 (file-name-non-special): Replace case -> cl-case.
704
705 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
706
a81068ba
SM
707 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
708 mapping from #' to function*.
709
8cca9703
CY
7102012-06-13 Chong Yidong <cyd@gnu.org>
711
712 * mouse.el (mouse-drag-track): Do not set the mark if the user
713 releases the mouse without selecting anything (Bug#11588).
714
a12ac9d7
SM
7152012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
716
ccf1dc18
SM
717 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
718 as well (bug#11646).
719
ef62b23d
SM
720 * loadup.el: Count byte-code functions as well.
721
c4c8444a
SM
722 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
723 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
724
a12ac9d7
SM
725 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
726 (bug#11649). Add cl-defun and cl-defmacro.
727
87e6e64f
DA
7282012-06-13 Drew Adams <drew.adams@oracle.com>
729
730 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
731 Fix last change.
732
682cefaf
MA
7332012-06-13 Michael Albinus <michael.albinus@gmx.de>
734
735 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
736 Otherwise, it blocks in batch mode.
737
773e1f08
JB
7382012-06-13 Juanma Barranquero <lekktu@gmail.com>
739
740 * help-mode.el (bookmark-make-record-default): Declare.
741
60057926
CY
7422012-06-13 Chong Yidong <cyd@gnu.org>
743
744 * emacs-lisp/package.el (list-packages): Compute a list of
745 packages that are newly-available since the last list-packages
746 invocation.
747 (package-menu--new-package-list): New var.
748 (package-menu--generate, package-menu--print-info)
749 (package-menu--status-predicate, package-menu-mark-install):
750 Handle new status label "new".
751
ad4d226c
SM
7522012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
753
754 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
755 conversion to backquotes.
756
f1a4e679
CY
7572012-06-12 Chong Yidong <cyd@gnu.org>
758
759 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
760 Rename from gud-inhibit-global-bindings.
761
762 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
763
764 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
765 hook from nxml-glyph-set-hook.
766
767 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
768 declaration.
769
770 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
771
772 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
773 Convert to defcustom.
774
0c9e42b5
DA
7752012-06-12 Drew Adams <drew.adams@oracle.com>
776
777 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
778 New functions.
779 (help-mode): Use them.
780
09e06855
GM
7812012-06-11 Glenn Morris <rgm@gnu.org>
782
783 * progmodes/fortran.el (fortran-font-lock-keywords-3):
784 Use preprocessor face for directives.
785 (fortran-directive-re): Doc fix.
786
71adb94b
SM
7872012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
788
2eb87922
SM
789 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
790 conversion to backquotes (bug#11652).
791
71adb94b
SM
792 Fix compiler-expansion of CL's cXXr functions (bug#11673).
793 * emacs-lisp/cl-lib.el (cl--defalias): New function.
794 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
795 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
796 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
797 (cl-ninth, cl-tenth): Mark them as inlinable.
798 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
799 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
800 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
801 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
802 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
803 (cl-list*, cl-adjoin): Don't put an autoload manually.
804 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
805 (cl--compiler-macro-list*): Add autoload cookie.
806 (cl--compiler-macro-cXXr): New function.
2eb87922 807
71adb94b
SM
808 * help-fns.el (help-fns--compiler-macro): New function extracted from
809 describe-function-1; follow aliases and use `compiler-macro' property.
810 (describe-function-1): Use it.
811
a6674402
CY
8122012-06-11 Chong Yidong <cyd@gnu.org>
813
814 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
815 is uninstalled, if imagemagick is installed.
816
bb3faf5b
SM
8172012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
818
819 * emacs-lisp/cl-lib.el: Use lexical-binding.
820 (cl-map-extents, cl-maclisp-member): Remove.
821 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
822 (cl--set-substring, cl--block-wrapper, cl--block-throw)
823 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
824 * emacs-lisp/cl-extra.el: Use lexical-binding.
825 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
826 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
827 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
828 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
829 * emacs-lisp/cl-seq.el: Use lexical-binding.
830 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
831 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
832 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
833 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
834 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
835 CL's internals.
836
2fe4b125
MA
8372012-06-11 Michael Albinus <michael.albinus@gmx.de>
838
839 Sync with Tramp 2.2.6-pre.
840
841 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
842 `print-length' and `print-level' to nil, in order to avoid
843 truncation. Reported by Christopher Schmidt
844 <christopher@ristopher.com>.
845
846 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
847
848 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
849 New defmacro.
850 (tramp-compat-copy-directory): Add optional argument
851 COPY-CONTENTS. It is not handled yet.
852
853 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
854 (tramp-ftp-file-name-p): Simplify.
855
856 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
857 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
858 connection vector.
859
860 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
861 (tramp-methods): Do not use `tramp-password-end-of-line'.
862 (tramp-completion-function-alist-putty): Handle UNIX case.
863 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
864 (tramp-do-file-attributes-with-stat)
865 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
866 gid as real numbers. They could run out of integer range on cygwin.
867 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
868 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
869 (tramp-open-connection-setup-interactive-shell):
870 Use `tramp-cleanup'. Move check for busyboxes ...
871 (tramp-find-shell): ... here. Simplify implementation.
872 Set "remote-shell" property also for alternative shells.
873 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
874 If failing, a regular file would be written otherwise.
875 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
876 (tramp-find-inline-encoding): Cache the coding commands in the
877 process cache. Apply test command on the remote side, if defined.
878 (tramp-find-inline-compress): Cache the compress commands in the
879 process cache.
880 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
881 when requested. Handle hops.
882 (tramp-current-connection): New defvar.
87e6e64f
DA
883 (tramp-maybe-open-connection): Use `tramp-cleanup'.
884 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 885 Handle user interrupt. (Bug#10187)
87e6e64f
DA
886 (tramp-get-inline-compress, tramp-get-inline-coding):
887 Read connection properties from the process cache.
2fe4b125
MA
888
889 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
890 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
891 New defconsts.
2fe4b125
MA
892 (tramp-smb-prompt): Extend for powershell prompt.
893 (tramp-smb-file-name-handler-alist): Add handlers for
894 `process-file', `shell-command' and `start-file-process'.
895 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
896 (tramp-smb-winexe-shell-command-switch): New defcustoms.
897 (tramp-smb-file-name-p): Simplify.
898 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
899 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
900 (tramp-smb-shell-quote-argument): New defuns.
901 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
902 Implement using "tar". By this, time-stamps are preserved.
903 (tramp-smb-handle-copy-file): Handle also the case of directories.
904 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
905 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
906 Use `tramp-get-connection-buffer').
2fe4b125
MA
907 (tramp-smb-handle-rename-file): Use "rename", when source and
908 target are on the same share.
87e6e64f
DA
909 (tramp-smb-maybe-open-connection): Handle wrong passwords.
910 Use `tramp-smb-server-version'.
2fe4b125
MA
911 (tramp-smb-wait-for-output): Remove prompt.
912
913 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
914 (tramp-methods, tramp-rsh-end-of-line):
915 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
916 (tramp-save-ad-hoc-proxies): New defcustom.
917 (tramp-completion-function-alist): Adapt docstring.
918 (tramp-default-password-end-of-line): Remove defcustom.
919 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
920 (tramp-user-regexp, tramp-file-name-regexp-unified)
921 (tramp-file-name-regexp-url): Extend regexp by hop separator.
922 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
923 (tramp-remote-file-name-spec-regexp): New defconst.
924 (tramp-file-name-structure): Extend structure for hops.
925 (tramp-get-method-parameter): Move up.
926 (tramp-file-name-p, tramp-dissect-file-name)
927 (with-parsed-tramp-file-name): Handle hops.
928 (tramp-file-name-hop): New defun.
929 (tramp-make-tramp-file-name): New optional arg HOP.
930 (tramp-message-show-progress-reporter-message): New defvar.
931 (tramp-with-progress-reporter): Use it. We cannot use
932 `tramp-message-show-message' here, because this suppresses also
933 error buffers.
934 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
935 `tramp-message-show-message' is nil.
936 Use `tramp-get-connection-buffer'.
2fe4b125
MA
937 (tramp-cleanup): New defun.
938 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
939 (tramp-file-name-handler): If `debug-on-error' is set, propagate
940 an error unchanged.
941 (tramp-completion-handle-file-name-all-completions): Handle hops.
942 Fix an error when called from ido.
943 (tramp-completion-dissect-file-name): Use better local variable
944 name. Add hop to the vector.
945 (tramp-handle-insert-file-contents): Use progress-reporter for the
946 whole scenario.
947 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
948 to `t'.
949 (tramp-check-for-regexp): Simplify search.
950 (tramp-enter-password): Remove it. Move implementation ...
951 (tramp-action-password): ... here.
952 (tramp-mode-string-to-int, tramp-local-host-p)
953 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
954 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
955 Set tramp-autoload cookie.
2fe4b125
MA
956
957 * net/trampver.el: Update release number.
958
9592012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
960 Michael Albinus <michael.albinus@gmx.de>
961
962 * net/tramp.el (tramp-set-completion-function): Fix docstring.
963 (tramp-parse-group, tramp-parse-file)
964 (tramp-parse-shostkeys-sknownhosts): New defuns.
965 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
966 (tramp-parse-shosts-group, tramp-parse-sconfig)
967 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
968 (tramp-parse-sknownhosts, tramp-parse-hosts)
969 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
970 Use them.
971 (tramp-parse-passwd-group, tramp-parse-netrc-group)
972 (tramp-parse-putty-group): Don't narrow.
973 (tramp-parse-putty): Make a loop.
974 (tramp-file-name-handler): Catch the `suppress' signal.
975
72834e10
CY
9762012-06-11 Chong Yidong <cyd@gnu.org>
977
978 * image.el (imagemagick-register-types): Put the ImageMagick entry
979 at the end of image-type-file-name-regexps.
980
a4712e11
JB
9812012-06-11 Johan Bockgård <bojohan@gnu.org>
982
983 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
984 (pcase, pcase-let*, pcase-dolist): Use them.
985
82ad98e3
SM
9862012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
987
988 * emacs-lisp/pcase.el (pcase--let*): New function.
989 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
990 (pcase--expand): Use macroexp-let².
991
f80efb86
SM
9922012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
993
994 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
995 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
996 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
997 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
998 * emacs-lisp/derived.el: Use pcase instead of `cl'.
999 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
1000
31ca4639 10012012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 1002
31ca4639
CY
1003 * mail/rmail.el (rmail-yank-current-message): Leave point at
1004 correct position. (Bug#11660)
94f0aa34 1005
31ca4639 10062012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 1007
31ca4639 1008 * allout-widgets.el: Fix code header.
9e1b8ec4 1009
31ca4639 10102012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 1011
f80efb86
SM
1012 * cus-edit.el (customize-changed-options-previous-release):
1013 Bump to 24.1.
31ca4639 1014
642b6d30
AS
10152012-06-09 Andreas Schwab <schwab@linux-m68k.org>
1016
1017 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
1018
4f5d2ba1
CY
10192012-06-09 Chong Yidong <cyd@gnu.org>
1020
1021 * ebuff-menu.el (electric-buffer-list): Preserve header line.
1022
e75852fd
MR
10232012-06-09 Martin Rudalics <rudalics@gmx.at>
1024
1025 * window.el (special-display-popup-frame): Don't use
1026 window--display-buffer (Bug#11651).
1027
1e48e282
EZ
10282012-06-09 Eli Zaretskii <eliz@gnu.org>
1029
8a26b487
EZ
1030 Fix parallel builds: make sure loaddefs.el is not being written
1031 while Lisp files are compiled.
1032 (compile): Don't depend on 'mh-autoloads'.
1033 (compile-CMD, compile-SH): Depend on 'autoloads'.
1034 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
1035
1e48e282
EZ
1036 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
1037
6175e34b
CY
10382012-06-09 Chong Yidong <cyd@gnu.org>
1039
1040 * face-remap.el (face-remap-add-relative, face-remap-set-base)
1041 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
1042 Doc fixes (Bug#11225).
1043
d9857e53
SM
10442012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
1045
1046 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
1047 a function if there's a clear indication that it has a compiler-macro.
1048 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
1049 (macro-declarations-alist): Add arglist to declaration functions.
1050 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
1051 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
1052 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
1053 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
1054 Also add autoload to find the compiler macro.
1055 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
1056 (cl--compiler-macro-member, cl--compiler-macro-assoc)
1057 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
1058 (cl--compiler-macro-get): New functions, replacing calls to
1059 cl-define-compiler-macro.
1060 (cl-typep) [compiler-macro]: Use macroexp-let².
1061
f81298f8 10622012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
1063
1064 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
1065 string properly, fixes Bug#11473.
1066
4b56d0fe
CY
10672012-06-08 Chong Yidong <cyd@gnu.org>
1068
1069 * faces.el (set-face-attribute): Doc fix.
1070 (modify-face): Don't use :bold and :italic.
1071 (error, warning, success): Tweak definitions.
1072
1073 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
1074 (custom-modified, custom-set, custom-changed, custom-themed)
1075 (custom-saved, custom-button, custom-button-mouse)
1076 (custom-button-pressed, custom-state, custom-comment-tag)
1077 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
1078 (custom-group-subtitle): Use new-style face specs.
1079 (custom-invalid-face, custom-rogue-face, custom-modified-face)
1080 (custom-set-face, custom-changed-face, custom-saved-face)
1081 (custom-button-face, custom-button-pressed-face)
1082 (custom-documentation-face, custom-state-face)
1083 (custom-comment-face, custom-comment-tag-face)
1084 (custom-variable-tag-face, custom-variable-button-face)
1085 (custom-face-tag-face, custom-group-tag-face-1)
1086 (custom-group-tag-face): Remove obsolete face alias.
1087
1088 * epa.el (epa-validity-high, epa-validity-medium)
1089 (epa-validity-low, epa-mark, epa-field-name, epa-string)
1090 (epa-field-name, epa-field-body):
1091 * font-lock.el (font-lock-comment-face, font-lock-string-face)
1092 (font-lock-keyword-face, font-lock-builtin-face)
1093 (font-lock-function-name-face, font-lock-variable-name-face)
1094 (font-lock-type-face, font-lock-constant-face):
1095 * ido.el (ido-first-match, ido-only-match, ido-subdir)
1096 (ido-virtual, ido-indicator, ido-incomplete-regexp):
1097 * speedbar.el (speedbar-button-face, speedbar-file-face)
1098 (speedbar-directory-face, speedbar-tag-face)
1099 (speedbar-selected-face, speedbar-highlight-face)
1100 (speedbar-separator-face):
1101 * whitespace.el (whitespace-newline, whitespace-space)
1102 (whitespace-hspace, whitespace-tab, whitespace-trailing)
1103 (whitespace-line, whitespace-space-before-tab)
1104 (whitespace-space-after-tab, whitespace-indentation)
1105 (whitespace-empty):
1106 * emulation/cua-base.el (cua-global-mark):
1107 * eshell/em-prompt.el (eshell-prompt):
1108 * net/newst-plainview.el (newsticker-new-item-face)
1109 (newsticker-old-item-face, newsticker-immortal-item-face)
1110 (newsticker-obsolete-item-face, newsticker-date-face)
1111 (newsticker-statistics-face, newsticker-default-face):
1112 * net/newst-reader.el (newsticker-feed-face)
1113 (newsticker-extra-face, newsticker-enclosure-face):
1114 * net/newst-treeview.el (newsticker-treeview-face)
1115 (newsticker-treeview-new-face, newsticker-treeview-old-face)
1116 (newsticker-treeview-immortal-face)
1117 (newsticker-treeview-obsolete-face)
1118 (newsticker-treeview-selection-face):
1119 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
1120 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
1121 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
1122 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
1123 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
1124 (nxml-outline-active-indicator, nxml-outline-ellipsis):
1125 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
1126 (mpuz-text):
1127 * progmodes/vera-mode.el (vera-font-lock-number)
1128 (vera-font-lock-function, vera-font-lock-interface):
1129 * textmodes/table.el (table-cell): Use new-style face specs, and
1130 don't use the old :bold and :italic attributes.
1131
1132 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
1133 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
1134 (ebrowse-member-class, ebrowse-progress): Likewise.
1135 (ebrowse-tree-mark-face, ebrowse-root-class-face)
1136 (ebrowse-file-name-face, ebrowse-default-face)
1137 (ebrowse-member-attribute-face, ebrowse-member-class-face)
1138 (ebrowse-progress-face): Remove obsolete faces.
1139
1140 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1141 Inherit from error and warning faces respectively.
1142
1143 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1144 Likewise.
f80efb86
SM
1145 (flyspell-incorrect-face, flyspell-duplicate-face):
1146 Remove obsolete aliases.
4b56d0fe 1147
03310646
MA
11482012-06-08 Michael Albinus <michael.albinus@gmx.de>
1149
1150 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1151 Avoid infloop.
1152
513749ee
SM
11532012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1154
1155 * startup.el (argv, argi): Make lexically scoped.
1156 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
1157 * emacs-lisp/cl-macs.el: Use lexical-binding.
1158 Rename cl-bind-* to cl--bind-*.
1159 * files.el: Don't require `cl' since it doesn't use it.
1160 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
1161
595ef4ad
JB
11622012-06-08 Juanma Barranquero <lekktu@gmail.com>
1163
1164 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
1165 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
1166 instead of calling external sort utility.
1167 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
1168
e9f66fcb
EZ
11692012-06-08 Eli Zaretskii <eliz@gnu.org>
1170
1171 * descr-text.el (describe-char): Mention how to insert the
1172 character, if the current input method doesn't support it.
1173 See the discussion in this thread for the details:
1174 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
1175
3d10db47
SS
11762012-06-08 Sam Steingold <sds@gnu.org>
1177
1178 * bindings.el (global-map): Bind XF86Forward to next-buffer and
1179 XF86Back to previous-buffer.
1180 (minibuffer-local-map): Bind them to next-history-element and
1181 previous-history-element respectively.
1182 * help-mode.el (help-mode-map): Bind them to help-go-forward and
1183 help-go-back respectively.
1184 * info.el (Info-mode-map): Bind them to Info-history-forward and
1185 Info-history-back respectively.
1186 These are the keys next to Up on the ThinkPad keyboard.
1187
de7e2b36
SM
11882012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1189
1190 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
1191 * emacs-lisp/cl-macs.el: Provide itself.
1192 (cl--labels-convert-cache): New var.
1193 (cl--labels-convert): New function.
1194 (cl-flet, cl-labels): New implementation with new semantics, relying on
1195 lexical-binding.
1196 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
1197 (cl-closure-vars, cl--function-convert-cache)
1198 (cl--function-convert): Move from cl-macs.el.
1199 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
1200 rename by removing the "cl-" prefix.
1201 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
1202
6fa6c4ae
SM
12032012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1204
1205 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
1206 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
1207 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
1208 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
1209 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
1210 (cl-hash-table-count): Add old compatibility aliases.
1211
1212 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
1213 Use macroexpand-all-environment instead.
1214 (cl--old-macroexpand): New var.
1215 (cl--sm-macroexpand): New function.
1216 (cl-symbol-macrolet): Use it during macro expansion.
1217 (cl--function-convert-cache): New var.
1218 (cl--function-convert): New function, extracted from
1219 cl-macroexpand-all.
1220 (cl-lexical-let): Use it.
1221
1222 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
1223 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
1224 (cl-member): Remove old alias.
1225
1226 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
1227 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
1228 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
1229 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
1230 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
1231 (cl-macroexpand-cmacs): Remove var.
1232 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
1233 Use macroexpand-all instead.
1234
4dd1c416
SM
12352012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1236
1237 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
1238 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
1239 (macroexp-copyable-p): New functions and macros.
1240 * emacs-lisp/edebug.el (edebug-unwrap):
1241 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
1242 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
1243 (pcase--let*): Remove.
1244 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
1245 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
1246 macroexp-const-p instead.
1247 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
1248
1249 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
1250 instead of "cl-" for internal definitions. Use macroexp-const-p.
1251 (cl-old-bc-file-form): Remove var.
1252 (cl-const-exprs-p): Remove fun.
1253 (cl-labels, cl-macrolet): Use backquote.
1254 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
1255 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
1256 (cl-define-setf-expander): Rename from cl-define-setf-method.
1257 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
1258
1259 * international/mule-cmds.el: Don't require CL.
1260 (view-hello-file): Don't use `letf'.
1261
ed8bd4d7
SM
12622012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1263
7287f2f3
SM
1264 * tmm.el (tmm-prompt): Use string-prefix-p.
1265 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
1266 (tmm-add-prompt): Use minibuffer-completion-help.
1267 (tmm-delete-map): Remove.
1268
ed8bd4d7
SM
1269 * subr.el (kbd): Make it its own function.
1270
7b4cdbf4
SM
12712012-06-07 Stefan Merten <smerten@oekonux.de>
1272
1273 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
1274 Silence compiler warnings. Fix versions.
ed8bd4d7 1275 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 1276 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 1277 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
1278 (rst-package-emacs-version-alist): Correct Emacs version to
1279 represent major merge with upstream.
ed8bd4d7 1280 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 1281
2b48d721
GM
12822012-06-06 Glenn Morris <rgm@gnu.org>
1283
1284 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
1285 Only print environment variables if set.
1286
fa779ab0
SM
12872012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1288
1289 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
1290 (macroexp--cons): Rename from maybe-cons.
1291 (macroexp--accumulate): Rename from macroexp-accumulate.
1292 (macroexp--all-forms): Rename from macroexpand-all-forms.
1293 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
1294 (macroexp--expand-all): Rename from macroexpand-all-1.
1295
628299e0
SS
12962012-06-06 Sam Steingold <sds@gnu.org>
1297
1298 * calendar/calendar.el (calendar-in-read-only-buffer):
1299 Call `special-mode' to enable the standard read-only keybindings.
1300
b7bb5838
SM
13012012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1302
1303 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
1304 with "loading" messages (bug#11635).
1305
dfb308ba
MA
13062012-06-06 Michael Albinus <michael.albinus@gmx.de>
1307
1308 * files.el (enable-remote-dir-locals): New option.
1309 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
1310
0372ee92
MA
1311 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1312 Ensure, that the temp directory is local.
1313
1314 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
1315 `temporary-file-directory'.
1316
eed0bb91
MA
1317 * progmodes/python.el (python-send-region): Ensure, that the
1318 temporary file is created also in the remote case.
1319
7a58f64d
GM
13202012-06-06 Glenn Morris <rgm@gnu.org>
1321
f7dd4e98
GM
1322 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
1323 (vc-rcs-update-changelog): Use it.
1324
276d5f5d
GM
1325 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
1326
7a58f64d
GM
1327 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
1328 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
1329 (vc-sccs-diff): Replace use of the external vcdiff script.
1330
daed4003
GM
13312012-06-05 Glenn Morris <rgm@gnu.org>
1332
1333 * ledit.el: Move to obsolete/.
1334
48c455c7
SS
13352012-06-05 Sam Steingold <sds@gnu.org>
1336
1337 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
1338 patch (Bug#11140).
1339
57a7d507
SM
13402012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1341
d32926ff
SM
1342 * emacs-list/cust-print.el: Move to obsolete.
1343
53aacf21
SM
1344 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
1345 compiler-macro expansion.
1346
57a7d507
SM
1347 Add native compiler-macro support.
1348 * emacs-lisp/macroexp.el (macroexpand-all-1):
1349 Support compiler-macros directly. Properly follow aliases and apply
1350 the compiler macros more thoroughly.
1351 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
1352 macroexpand now properly follows aliases.
1353 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
1354 (cl-compiler-macroexpand): Use new prop.
1355 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
1356
1357 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
1358
51a5f9d8
MR
13592012-06-05 Martin Rudalics <rudalics@gmx.at>
1360
1361 * window.el (get-lru-window, get-mru-window, get-largest-window):
1362 New argument NOT-SELECTED to avoid picking the selected window.
1363 (window--display-buffer-1, window--display-buffer-2): Replace by
1364 new function window--display-buffer
1365 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
1366 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1367 Use window--display-buffer.
51a5f9d8
MR
1368 (display-buffer-use-some-window): Remove temporary dedication
1369 hack by calling get-lru-window and get-largest-window with
1370 NOT-SELECTED argument non-nil. Call window--display-buffer.
1371
08f9f738
GM
13722012-06-05 Glenn Morris <rgm@gnu.org>
1373
1374 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
1375 Replace external vcdiff script.
1376
e364a2b7
SM
13772012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1378
1379 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
1380
041df390
CY
13812012-06-04 Chong Yidong <cyd@gnu.org>
1382
e364a2b7
SM
1383 * image.el (imagemagick-types-inhibit): Revert last change.
1384 Add INFO and M.
47b36b94 1385 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 1386
7c1898a7
SM
13872012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1388
1389 * emacs-lisp/cl-lib.el: Rename from cl.el.
1390 * emacs-lisp/cl.el: New compatibility file.
1391 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
1392 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
1393 to obey the "cl-" prefix.
1394 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
1395
0c3461de
GM
13962012-06-03 Glenn Morris <rgm@gnu.org>
1397
1e266c88
GM
1398 * emacs-lisp/authors.el (authors-aliases): Addition.
1399
0c3461de
GM
1400 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
1401 Fix :version.
1402
d8a52e15
SM
14032012-06-03 Stefan Merten <smerten@oekonux.de>
1404
1405 * textmodes/rst.el: Add comments.
1406 (rst-transition, rst-adornment): New faces.
1407 (rst-adornment-faces-alist): Make default safe to reevaluate.
1408 Fixes
1409 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
1410 Improve customization tags.
1411 (rst-define-level-faces): Clarify meaning.
1412
5205d6f6
CY
14132012-06-03 Chong Yidong <cyd@gnu.org>
1414
1415 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
1416 (compilation-mode-line-run, compilation-mode-line-exit):
1417 New faces.
5205d6f6
CY
1418 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
1419
757ee657
JD
14202012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
1421
7c1898a7
SM
1422 * progmodes/which-func.el (which-func-update-ediff-windows):
1423 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 1424
5f2c76c6
CY
14252012-06-03 Chong Yidong <cyd@gnu.org>
1426
1427 * bindings.el: Remove explicit help text from format-mode-line.
1428 It is now supplied by mode-line-default-help-echo.
1429 (mode-line-front-space, mode-line-end-spaces)
1430 (mode-line-misc-info): New variables.
1431 (mode-line-modes, mode-line-position): Move the default value to
1432 the variable definition.
1433 (mode-line-default-help-echo): New defcustom.
383f7350
CY
1434 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
1435 (mode-line-modified-help-echo): New functions.
1436 (mode-line-mule-info, mode-line-modified): Use them.
1437 (mode-line-eol-desc, propertized-buffer-identification):
1438 Consistency fixes for help text.
cbe46e5f
CY
1439 (mode-line-coding-system-map): Allow using mouse-3 to invoke
1440 set-buffer-file-coding-system (Bug#289).
1441 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 1442
f2d6a3df
SM
14432012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1444
1445 * simple.el (execute-extended-command): Set real-this-command
1446 (bug#11506).
1447
37269466
CY
14482012-06-02 Chong Yidong <cyd@gnu.org>
1449
1450 Remove incorrect uses of "modeline" in comments, docstrings, and
1451 function/variable names (Bug#10329).
1452
1453 * cus-edit.el (mode-line):
1454 * dframe.el (dframe-mouse-hscroll):
1455 * emacs-lisp/re-builder.el:
1456 * emacs-lisp/easy-mmode.el (define-minor-mode):
1457 * frame.el (set-frame-name):
1458 * help.el (lookup-minor-mode-from-indicator):
1459 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1460 * progmodes/cc-cmds.el (c-toggle-auto-newline)
1461 (c-toggle-hungry-state):
1462 * progmodes/antlr-mode.el (antlr-language-alist):
1463 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1464 * progmodes/vhdl-mode.el (vhdl-mode):
1465 * progmodes/which-func.el (which-func, which-func-cleanup-function):
1466 * term/ns-win.el (ns-face-at-pos):
1467 * term/sup-mouse.el (sup-mouse-report):
1468 * textmodes/flyspell.el (flyspell-mode-line-string):
1469 * textmodes/ispell.el (ispell-highlight-face):
1470 * textmodes/reftex-global.el:
1471 * vc/vc-arch.el (vc-arch-mode-line-string):
1472 * vc/vc-cvs.el (vc-cvs-mode-line-string):
1473 * vc/vc-git.el (vc-git-mode-line-string):
1474 * vc/vc-hooks.el (vc-display-status)
1475 (vc-default-mode-line-string):
1476 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1477
1478 * ansi-color.el (ansi-color-faces-vector): Change default faces.
1479
1480 * dired.el (dired-sort-set-mode-line): Rename from
1481 dired-sort-set-modeline. All callers changed.
1482
1483 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1484 eshell-status-in-modeline.
1485
1486 * foldout.el (foldout-mode-line-string): Rename from
1487 foldout-modeline-string. All callers changed.
1488 (foldout-update-mode-line): Rename from foldout-update-modeline.
1489
1490 * subr.el (redraw-modeline): Make into obsolete alias.
1491
1492 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1493 timeclock-modeline-display. Make old name an alias.
1494 (timeclock-update-mode-line): Likewise. All callers changed.
1495 (timeclock-mode-line-display): No need to check before using
1496 add-hook.
1497 (timeclock-relative, timeclock-day-over-hook)
1498 (timeclock-use-elapsed, timeclock-mode-string)
1499 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1500
1501 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1502 crisp-mode-modeline-string.
1503
1504 * play/solitaire.el (solitaire-build-mode-line): Rename from
1505 solitaire-build-modeline. All callers changed.
1506
1507 * play/zone.el (zone-hiding-mode-line): Rename from
1508 zone-hiding-modeline. All callers changed.
1509 (zone): Remove unusued `modeline-hidden-level' property.
1510
1511 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1512 xscheme-modeline-initialize. All callers changed.
1513
1514 * strokes.el (strokes-lighter): Rename from
1515 strokes-modeline-string.
1516
1517 * textmodes/sgml-mode.el (html-face-tag-alist)
1518 (html-tag-face-alist): Use mode-line face instead of obsolete
1519 alias modeline.
1520
42152ee4
SM
15212012-06-02 Stefan Merten <smerten@oekonux.de>
1522
1523 * textmodes/rst.el: Always require `cl'.
4cf9b38d 1524 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 1525
95f520b5
CY
15262012-06-02 Chong Yidong <cyd@gnu.org>
1527
1528 * image.el (imagemagick-enabled-types): Rename from
1529 imagemagick-types-enable. Add many more types.
1530 (imagemagick-types-inhibit): Change default to nil.
1531 (imagemagick-filter-types): Caller changed.
1532
4a5f187a
SM
15332012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1534
03fef3e6
SM
1535 * emacs-lisp/cl-macs.el: Use backquotes.
1536 (cl-transform-function-property): Use eval-and-compile rather than
1537 abusing `require'.
1538 (defstruct): Use declare-function instead of with-no-warnings.
1539
4a5f187a
SM
1540 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1541 (byte-compile-output-docform): Re-add the print-circle bindings.
1542 (byte-compile-fix-header): Use #$ just because it's shorter.
1543 (byte-compile-output-file-form): Remove defun/defmacro.
1544
bd56924f
MR
15452012-06-01 Martin Rudalics <rudalics@gmx.at>
1546
1547 * simple.el (choose-completion): Remove now obsolete binding for
1548 owindow.
1549
046e38ce
MA
15502012-06-01 Michael Albinus <michael.albinus@gmx.de>
1551
1552 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1553 in order to avoid "Stack overflow in regexp matcher".
1554
32d72c2f
GM
15552012-05-31 Glenn Morris <rgm@gnu.org>
1556
1557 * image.el: For clarity, call imagemagick-register-types at
1558 top-level, rather than relying on a custom :initialize.
1559 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
1560 (imagemagick-filter-types): New function. (Bug#7406)
1561 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
1562 If disabling support, remove elements altogether rather
1563 than using an impossible regexp.
1564 (imagemagick-types-inhibit): Give it the default init function.
1565
dd41169b
SM
15662012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1567
4a5f187a
SM
1568 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1569 Handle arbitrary file name lengths (Bug#11585).
dd41169b 1570
efc00ab1 15712012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
1572
1573 * desktop.el (desktop-read): Clear previous and next buffers for
1574 all windows and bury *Messages* buffer (bug#11556).
1575
500fcedc
SM
15762012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1577
1578 Add `declare' for `defun'. Align `defmacro's with it.
1579 * emacs-lisp/easy-mmode.el (define-minor-mode)
1580 (define-globalized-minor-mode): Don't autoload the var definitions.
1581 * emacs-lisp/byte-run.el: Use lexical-binding.
1582 (defun-declarations-alist, macro-declarations-alist): New vars.
1583 (defmacro, defun): Use them.
1584 (make-obsolete, define-obsolete-function-alias)
1585 (make-obsolete-variable, define-obsolete-variable-alias):
1586 Use `declare'.
1587 (macro-declaration-function): Mark obsolete.
1588 * emacs-lisp/autoload.el: Use lexical-binding.
1589 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
1590
6e8a1786
AM
15912012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1592
1593 * textmodes/ispell.el (ispell-with-no-warnings):
1594 Define as a macro.
500fcedc
SM
1595 (ispell-kill-ispell, ispell-change-dictionary):
1596 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
1597 `interactive-p'.
1598
61b108cc
SM
15992012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1600
1601 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1602 (macro-declaration-function): Move var from C code.
1603 (macro-declaration-function): Define function with defalias.
1604 * emacs-lisp/macroexp.el (macroexpand-all-1):
1605 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1606 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1607 defun/defmacro any more.
1608 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1609 Provide fallback for unknown arglist.
1610 (byte-compile-arglist-warn): Change calling convention.
1611 (byte-compile-output-file-form): Move print-vars binding.
1612 (byte-compile-output-docform): Simplify accordingly.
1613 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
1614 (byte-compile-defmacro-declaration): Remove.
1615 (byte-compile-file-form-defmumble): Generalize to defalias.
1616 (byte-compile-output-as-comment): Return byte-positions.
1617 Simplify callers accordingly.
1618 (byte-compile-lambda): Use `assert'.
1619 (byte-compile-defun, byte-compile-defmacro): Remove.
1620 (byte-compile-file-form-defalias):
1621 Use byte-compile-file-form-defmumble.
1622 (byte-compile-defalias-warn): Remove.
1623
6d3f7c2f
SM
16242012-05-29 Stefan Merten <smerten@oekonux.de>
1625
1626 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 1627 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
1628
1629 (rst-mode-abbrev-table): Merge definition.
1630 (rst-mode): Make sure `font-lock-defaults' is buffer local.
1631 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
1632
6dbaa1c7
UJ
16332012-05-29 Ulf Jasper <ulf.jasper@web.de>
1634
1635 * calendar/icalendar.el
1636 (icalendar-export-region): Export UID properly.
1637
16382012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
1639 * calendar/icalendar.el (icalendar-import-format):
1640 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
1641 (icalendar-import-format-uid): New.
1642 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
1643 Export UID.
1644
6876a58d
SM
16452012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1646
1647 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
1648 different alternative patterns.
1649 (pcase-codegen): Be more careful to preserve identity.
1650 (pcase--u1): Don't forget to mark vars as used.
1651
1652 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
1653 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
1654 (byte-compile-from-buffer): ...rather than here.
1655
1656 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
1657 functions from byte-compile-function-environment.
1658
46b7967e
TN
16592012-05-29 Troels Nielsen <bn.troels@gmail.com>
1660
1661 * window.el (window-deletable-p): Avoid deleting the root window
1662 of a frame with an active minibuffer.
1663
69d565e2
MR
16642012-05-29 Martin Rudalics <rudalics@gmx.at>
1665
1666 * simple.el (choose-completion): Use quit-window (Bug#11567).
1667
a149fa51
CY
16682012-05-29 Chong Yidong <cyd@gnu.org>
1669
1670 * whitespace.el (whitespace-cleanup): Fix usage of
1671 whitespace-empty-at-bob-regexp (Bug#11492).
1672
2b311310
AH
16732012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1674
1675 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
1676 revert (Bug#11488).
1677
b9cb2387
JL
16782012-05-29 Juri Linkov <juri@jurta.org>
1679
1680 * isearch.el (isearch-mode-map): Bind `M-s _' to
1681 `isearch-toggle-symbol'. Bind `M-s c' to
1682 `isearch-toggle-case-fold'.
1683 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1684 (isearch-forward): Add `M-s _' to the docstring.
1685 (isearch-forward-symbol, isearch-toggle-case-fold)
1686 (isearch-symbol-regexp): New functions. (Bug#11381)
1687
d5e61c1c
JL
16882012-05-29 Juri Linkov <juri@jurta.org>
1689
1690 * isearch.el (isearch-word): Add docstring. (Bug#11381)
1691 (isearch-occur, isearch-search-and-update): If `isearch-word' is
1692 a function, call it to get the regexp.
1693 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1694 property `isearch-message-prefix' instead of the string "word ".
1695 (isearch-search-fun-default): For the case of `isearch-word',
1696 return a lambda that calls re-search-forward/re-search-backward
1697 with a regexp returned by `word-search-regexp' or by the function
1698 in `isearch-word'.
1699
8cbd80f7
JL
17002012-05-29 Juri Linkov <juri@jurta.org>
1701
1702 * isearch.el (isearch-search-fun-default): New function.
1703 (isearch-search-fun): Move default part to the new function
1704 `isearch-search-fun-default'.
1705 (isearch-search-fun-function): Set the default value to
1706 `isearch-search-fun-default'. (Bug#11381)
1707
1708 * comint.el (comint-history-isearch-end):
1709 Use `isearch-search-fun-default'.
1710 (comint-history-isearch-search): Use `isearch-search-fun-default'
1711 and remove spacial case for `isearch-word'.
1712 (comint-history-isearch-wrap): Remove spacial case for
1713 `isearch-word'.
1714
1715 * hexl.el (hexl-isearch-search-function):
1716 Use `isearch-search-fun-default'.
1717
1718 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1719 Use `word-search-regexp' for `isearch-word'.
1720
1721 * misearch.el (multi-isearch-search-fun):
1722 Use `isearch-search-fun-default'.
1723
1724 * simple.el (minibuffer-history-isearch-search):
1725 Use `isearch-search-fun-default' and remove spacial case for
1726 `isearch-word'.
1727 (minibuffer-history-isearch-wrap): Remove spacial case for
1728 `isearch-word'.
1729
1730 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1731 Remove spacial case for `isearch-word'.
1732 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1733
85c8c5b6
AM
17342012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1735
1736 Decrease XEmacs incompatibilities.
1737 * textmodes/flyspell.el (flyspell-check-pre-word-p):
1738 Use `string-match'.
1739 (flyspell-delete-region-overlays): Use alternative definition for
1740 XEmacs.
1741 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1742 (flyspell-word): Use `process-kill-without-query' if XEmacs.
1743 (flyspell-mode-on): Use `interactive-p' if XEmacs.
1744 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1745 `define-obsolete-face-alias' under XEmacs, but old method.
1746
1747 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1748 `with-no-warnings' definition or Emacs alias.
1749 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1750 (ispell-word): Do not use `region-p' if XEmacs.
1751
8cab9efc
AM
17522012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1753
1754 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1755 Check for `ispell-dictionary-base-alist' instead of full
1756 `ispell-dictionary-alist'.
1757 (ispell-init-process): Show spellchecker when starting new Ispell
1758 process.
1759
fda91268
RZ
17602012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1761
1762 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1763 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1764
694ea8e3
JB
17652012-05-27 Juanma Barranquero <lekktu@gmail.com>
1766
1767 * version.el (motif-version-string, gtk-version-string)
1768 (ns-version-string): Declare.
1769
e4d4f539
JL
17702012-05-27 Juri Linkov <juri@jurta.org>
1771
1772 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1773 after the `eval-defun-1' specialcaseing
1774 like in `edebug-eval-defun' (bug#10181).
1775
1776 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1777 like in `eval-defun-1'.
1778
33017faf 17792012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 1780
fda91268
RZ
1781 * mail/sendmail.el (mail-yank-region):
1782 Recognize rmail-yank-current-message in addition to insert-buffer.
1783 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
1784 a *mail* buffer created through rmail-start-mail with sendmail as
1785 mail-user-agent.
1786
33017faf
GM
17872012-05-27 Chong Yidong <cyd@gnu.org>
1788
1789 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1790 Default to 256 (Bug#11267).
1791
1792 * help.el (describe-mode): Doc fix.
1793
04188bb9
GM
17942012-05-26 Glenn Morris <rgm@gnu.org>
1795
38264cc9
GM
1796 * w32-fns.el (w32-init-info): Remove.
1797 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1798
eb7afdad
GM
1799 * info.el (info-initialize): For self-contained NS builds, put the
1800 included info/ directory at the front. (Bug#2791)
1801
04188bb9
GM
1802 * paths.el (Info-default-directory-list): Make it a defcustom,
1803 mainly so that we can use custom-initialize-delay.
1804
a179e3f7
SM
18052012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1806
43416392
SM
1807 * subr.el (buffer-has-markers-at): Mark obsolete.
1808
a179e3f7 1809 * subr.el (lambda): Use declare.
43416392 1810
a179e3f7
SM
1811 * emacs-lisp/lisp-mode.el (lambda):
1812 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1813
34a008d9
AH
18142012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1815
1816 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
1817
0a3b289f
GM
18182012-05-26 Glenn Morris <rgm@gnu.org>
1819
1820 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1821
758c81e8
GM
18222012-05-25 Glenn Morris <rgm@gnu.org>
1823
f9f334f0
GM
1824 * paths.el: Remove no-byte-compile.
1825 * loadup.el: No need to load paths.el uncompiled.
1826
87eb79c2
GM
1827 * image.el (imagemagick-types-inhibit): Doc fix.
1828
758c81e8
GM
1829 * version.el: Remove no-byte-compile and associated formatting.
1830 * loadup.el: No need to load version.el uncompiled. AFAICS, this
1831 is ancient code from when there was an "inc-vers.el".
1832
e7e85dc0
SM
18332012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1834
1835 * progmodes/gdb-mi.el: Minor style changes.
1836 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1837 Turn into minor modes.
1838 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1839 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1840 (gdb-shell): Remove unneeded let-binding.
1841 (gdb-get-many-fields): Eliminate O(n²) behavior.
1842
f31237a4
EZ
18432012-05-25 Eli Zaretskii <eliz@gnu.org>
1844
1845 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1846 platforms that don't link in fontset.c.
1847
bc1b21bb
JL
18482012-05-25 Juri Linkov <juri@jurta.org>
1849
1850 Use the same diff color scheme as in modern VCSes (bug#10181).
1851
1852 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1853 to avoid confusion with `diff-added' that now uses green colors.
1854 (diff-removed): Use shades of red.
1855 (diff-added): Use shades of green.
1856 (diff-changed): Leave just the yellow color.
1857 (diff-use-changed-face): New variable.
1858 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1859 how to highlight context diff changes.
1860 (diff-refine-change): Use shades of yellow.
1861 (diff-refine-removed): New face that uses shades of red.
1862 (diff-refine-added): New face that uses shades of green.
1863 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1864 `diff-refine-removed' in the call to `smerge-refine-subst'
1865 depending on the value of `diff-use-changed-face'.
1866
1867 * vc/smerge-mode.el (smerge-mine): Use shades of red.
1868 (smerge-other): Use shades of green.
1869 (smerge-base): Use shades of yellow.
1870 (smerge-refined-change): Empty face.
1871 (smerge-refined-removed): New face that uses shades of red.
1872 (smerge-refined-added): New face that uses shades of green.
1873 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
1874 args `props-r' and `props-a', and use them. Doc fix.
1875 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1876 on its value use different faces `smerge-refined-change',
1877 `smerge-refined-removed', `smerge-refined-added' in the call to
1878 `smerge-refine-subst'.
1879
1880 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1881 Add face condition `min-colors 88' with shades of red.
1882 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1883 `min-colors 88' with shades of green.
1884 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1885 `min-colors 88' with shades of yellow.
1886
6df9112c
GM
18872012-05-24 Glenn Morris <rgm@gnu.org>
1888
ead5edc0
GM
1889 * paths.el (prune-directory-list, remote-shell-program): Move to...
1890 * files.el (prune-directory-list, remote-shell-program): ...here.
1891 For the latter, delay initialization, prefer ssh, just search PATH.
1892
f18b81e6
GM
1893 * paths.el (term-file-prefix): Move to faces.el (the only user).
1894 * faces.el (term-file-prefix): Move here, make it a defcustom.
1895
ee2f89a6
GM
1896 * paths.el (news-directory, news-path, news-inews-program):
1897 Move to gnus/nnspool.el.
61a583ca 1898
f8815e4c
GM
1899 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
1900
c8f3b42c
GM
1901 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
1902 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
1903 Make the latter a defcustom, with a delayed initialization.
1904
6df9112c
GM
1905 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
1906 These were deleted from Gnus itself late 2010.
1907
5dadff36
JB
19082012-05-22 Juanma Barranquero <lekktu@gmail.com>
1909
9e1701c6
JB
1910 * progmodes/which-func.el (which-func-ff-hook):
1911 Check against user-error, not error.
1912
bd7239f5 1913 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
1914 cl-specs.el, which no longer exists.
1915
3290526d
GM
19162012-05-22 Glenn Morris <rgm@gnu.org>
1917
1918 * info.el (info-emacs-bug): New command.
1919 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
1920 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
1921
ff0c3cfb
GM
19222012-05-21 Glenn Morris <rgm@gnu.org>
1923
1924 * makefile.w32-in (update-subdirs-SH):
1925 * Makefile.in (update-subdirs): Update for moved update-subdirs.
1926
5814f126
SM
19272012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1928
a52c0aa0
SM
1929 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
1930
5814f126
SM
1931 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1932 Simplify Maven regexp, and make sure the file can't start with a space
1933 (bug#11517).
1934
b847032c
GM
19352012-05-21 Glenn Morris <rgm@gnu.org>
1936
1937 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1938 Scrap superfluous subshells.
1939
3858bfe7
SM
19402012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
1941
1942 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
1943 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
1944
d14b0029
JB
19452012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
1946
1947 * calc/calc.el (calc-ensure-consistent-units): New variable.
1948
a52c0aa0
SM
1949 * calc/calc-units.el (math-consistent-units-p)
1950 (math-check-unit-consistency): New functions.
1951 (calc-quick-units, calc-convert-units):
1952 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
1953 is non-nil.
d14b0029
JB
1954 (calc-extract-units): Fix typo.
1955
60c4db3a
SM
19562012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1957
77f3b62e
SM
1958 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
1959
60c4db3a
SM
1960 * textmodes/flyspell.el: Commenting style, plus code simplifications.
1961 (flyspell-default-deplacement-commands): Don't spell check after
1962 repeated window/frame switches (e.g. triggered by mouse-movement).
1963 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
1964 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
1965 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
1966 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
1967 Remove unused vars.
1968 (flyspell-get-casechars, flyspell-get-not-casechars):
1969 Simplify; Don't bother removing a ] just to add it back.
1970 * textmodes/ispell.el (ispell-program-name): Use executable-find.
1971
b1a10716
RS
19722012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1973
1974 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
1975 New functions.
bd7239f5 1976 (math-function-table): Add support for more C functions.
b1a10716 1977
3f1b25b5
AM
19782012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1979
1980 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1981 (flyspell-debug-signal-word-checked): Protect delay handling for
1982 otherchars against empty otherchars.
1983
b581bb5c
SM
19842012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1985
1986 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1987 their respective macro declarations.
1988 * skeleton.el (define-skeleton):
1989 * progmodes/compile.el (define-compilation-mode):
1990 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1991 (define-ibuffer-filter):
1992 * emacs-lisp/generic.el (define-generic-mode):
1993 * emacs-lisp/easy-mmode.el (define-minor-mode)
1994 (define-globalized-minor-mode):
1995 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1996 * emacs-lisp/byte-run.el (defsubst):
1997 * custom.el (deftheme): Add doc-string metadata.
1998
70b8ef8f
SM
19992012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2000
2001 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
2002
b1198e17
SM
20032012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2004
9abdc45d
SM
2005 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
2006
b1198e17
SM
2007 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
2008 * emacs-lisp/cl-macs.el: Idem.
2009 * emacs-lisp/cl-specs.el: Remove.
2010
4735906a
SM
20112012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2012
2013 Minor renaming of internal CL functions and variables.
2014 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
2015 (cl--position): Rename from cl-position.
2016 (cl--delete-duplicates): Rename from cl-delete-duplicates.
2017 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
2018 (cl--random-state): Rename from *random-state*.
2019
ac348012
SM
20202012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2021
2022 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
2023 parens around the arg list (bug#11499).
2024
a0a79cde
JL
20252012-05-17 Juri Linkov <juri@jurta.org>
2026
2027 * isearch.el (word-search-regexp, word-search-backward)
2028 (word-search-forward, word-search-backward-lax)
2029 (word-search-forward-lax): Move functions from search.c
2030 (bug#10145, bug#11381).
2031
65034a51
AM
20322012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2033
2034 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
2035 (flyspell-debug-signal-word-checked): Delay for otherchars as for
2036 normal word components.
2037
1a72a195
SM
20382012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
2039
2040 * minibuffer.el (completion--sifn-requote): Fix last change.
2041 (minibuffer-local-must-match-filename-map):
2042 Move define-obsolete-variable-alias before its var.
2043
fdb058c2
SM
20442012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
2045
c41045e6
SM
2046 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
2047
036dfb8b
SM
2048 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
2049 behavior.
2050 (completion--string-equal-p): New function.
2051 (completion--twq-all): Use it to get better assertion failure data.
2052
2473256d
SM
2053 Only handle ".." and '..' quoting in shell-mode (bug#11466).
2054 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
2055 (shell--requote-argument): New functions.
2056 (shell-completion-vars): Use them.
2057 (shell--parse-pcomplete-arguments): Rename from
2058 shell-parse-pcomplete-arguments.
2059 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
2060 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
2061 Obey comint-file-name-quote-list.
2062
fdb058c2
SM
2063 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
2064 (smie-indent-keyword): Use it.
2065
51fa99f1
SM
20662012-05-14 Stefan Merten <smerten@oekonux.de>
2067
2068 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
2069
e18afed7 20702012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
2071
2072 * net/rlogin.el (rlogin-mode-map): Fix last change.
2073
e18afed7 20742012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
2075
2076 * mail/smtpmail.el (smtpmail-send-command): Send the command and
2077 the following \r\n using a single `process-send-string', since the
2078 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 2079 with two `process-send-string's (Bug#11444).
8633b1f4 2080
e18afed7 20812012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 2082
fdb058c2
SM
2083 * shell.el (shell-parse-pcomplete-arguments):
2084 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 2085
2d21d7f6
WJ
20862012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2087
e18afed7 2088 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
2089 (image-transform-scale, image-transform-right-angle-fudge): New vars.
2090 (image-transform-width, image-transform-fit-width): New functions.
2091 (image-transform-properties): Use them.
2092 (image-transform-check-size): New function.
2093 (image-toggle-display-image): Use it (for testing).
2094 (image-transform-set-rotation): Reduce angle mod 360.
2095 Delete obsolete comment.
2096
7102e6d0
WJ
20972012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2098
2099 * image-mode.el: Fix scaling (bug#11399).
2100 (image-transform-resize): Doc fix.
2101 (image-transform-properties): Default scale is 1 and height should
2102 be an integer.
2103
06bc5e6e
SM
21042012-05-13 Johan Bockgård <bojohan@gnu.org>
2105
2106 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
2107 than hard-coding `car', to fix misbehavior when moving forward.
2108
0ae03b6a
CY
21092012-05-13 Chong Yidong <cyd@gnu.org>
2110
2111 * emacs-lisp/tabulated-list.el (tabulated-list-format)
2112 (tabulated-list-entries, tabulated-list-padding)
2113 (tabulated-list-sort-key): Make permanent-local.
2114
2115 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
2116 (electric-buffer-list): Put electric buffer menu
2117 command descriptions in this docstring, instead of the docstring
2118 of electric-buffer-menu-mode. Code cleanups.
2119 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
2120 Electric-buffer-menu-mode.
2121 (electric-buffer-update-highlight): Minor code cleanup.
2122
205a7391
MA
21232012-05-13 Michael Albinus <michael.albinus@gmx.de>
2124
2125 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
2126 (Bug#11447)
2127
e5bd0a28
SM
21282012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2129
2130 Move define-obsolete-variable-alias before the var's definition.
2131 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
2132 * tooltip.el (tooltip-hook):
2133 * textmodes/reftex-toc.el (reftex-toc-map):
2134 * textmodes/reftex-sel.el (reftex-select-label-map)
2135 (reftex-select-bib-map):
2136 * textmodes/reftex-index.el (reftex-index-map)
2137 (reftex-index-phrases-map):
2138 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
2139 * progmodes/meta-mode.el (meta-mode-map):
2140 * novice.el (disabled-command-hook):
2141 * loadhist.el (unload-hook-features-list):
2142 * frame.el (blink-cursor):
2143 * files.el (find-file-not-found-hooks, write-file-hooks)
2144 (write-contents-hooks):
2145 * emulation/tpu-edt.el (GOLD-map):
2146 * emacs-lock.el (emacs-lock-from-exiting):
2147 * emacs-lisp/generic.el (generic-font-lock-defaults):
2148 * emacs-lisp/chart.el (chart-map):
2149 * dos-fns.el (register-name-alist):
2150 * dired-x.el (dired-omit-files-p):
2151 * desktop.el (desktop-enable):
2152 * cus-edit.el (custom-mode-hook):
2153 * buff-menu.el (buffer-menu-mode-hook):
2154 * bookmark.el (bookmark-read-annotation-text-func)
2155 (bookmark-exit-hooks):
2156 * allout.el (allout-mode-deactivate-hook)
2157 (allout-exposure-change-hook, allout-structure-added-hook)
2158 (allout-structure-deleted-hook, allout-structure-shifted-hook):
2159 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
2160 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
2161 comes before the corresponding variable's definition.
2162
ac59c2f6
CY
21632012-05-12 Chong Yidong <cyd@gnu.org>
2164
2165 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
2166 (Buffer-menu-mouse-select): Restore function (Bug#11459).
2167 (Buffer-menu-mode-map): Bind it.
2168 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 2169
dee6c9a3
SM
21702012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2171
2171cea5
SM
2172 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
2173 (prolog-upper-case-string, prolog-lower-case-string)
2174 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
2175 (prolog-use-smie, prolog-smie-grammar): New vars.
2176 (prolog-smie-forward-token, prolog-smie-backward-token)
2177 (prolog-smie-rules): New funs.
2178 (prolog-comment-indent): Remove.
2179 (prolog-mode-variables): Use default comment indentation instead.
2180 Setup SMIE.
2181 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
2182 (prolog-mode): Don't call them any more.
2183 (prolog-electric-colon, prolog-electric-dash)
2184 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
2185
aa0382bd
SM
2186 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
2187
dbacb4bd
SM
2188 * minibuffer.el (completion--twq-all): Again, allow case differences.
2189
13bdd94c
SM
2190 * term.el: Move keymap initialization code to be more idiomatic.
2191 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
2192 (term-terminal-menu): Move initialization into declaration.
2193 (term-escape-char): Let the user set it in her .emacs.
2194
ff46c759
SM
2195 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
2196 Provide SMIE-based indentation (not enabled by default yet).
2197 (sh-mode-map): Don't bind electric keys.
2198 Use electric-pair-mode instead of skeleton-pair.
2199 (sh-assignment-regexp): Fit within 80 columns.
2200 (sh-indent-supported): Specify actual shell name instead of boolean.
2201 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
2202 (sh-maybe-here-document): Use it. Make obsolete.
2203 (sh-electric-here-document-mode) New minor mode.
2204 (sh-mode): Use it. Don't set sh-indent-supported-here here.
2205 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
2206 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
2207 (sh-smie-rc-grammar, sh-use-smie): New vars.
2208 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
2209 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
2210 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
2211 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
2212 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
2213 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
2214 (sh-set-shell): Use smie-setup if requested.
2215
dee6c9a3
SM
2216 * term.el (term-set-escape-char): Properly set term-escape-char.
2217 See http://stackoverflow.com/questions/10524656.
2218
9f9aa044
CY
22192012-05-10 Chong Yidong <cyd@gnu.org>
2220
2221 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
2222 Use url-generic-parse-url, and handle host names and Windows
2223 filenames properly.
2224 (ffap-url-unwrap-remote): Use url-generic-parse-url.
2225 (ffap-url-unwrap-remote): Accept list values, specifying a list of
2226 URL schemes to work on.
2227 (ffap--toggle-read-only): New function.
2228 (ffap-read-only, ffap-read-only-other-window)
2229 (ffap-read-only-other-frame): Use it.
2230 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
2231 necessary for ffap-url-unwrap-remote.
2232
836d29b3
DA
22332012-05-10 Dave Abrahams <dave@boostpro.com>
2234
2235 * cus-start.el (create-lockfiles): Add it.
2236
00fd78ed
CY
22372012-05-09 Chong Yidong <cyd@gnu.org>
2238
2239 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
2240 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
2241
666b903b 22422012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
2243
2244 * shell.el (shell-completion-vars): Fix last change (bug#11348).
2245
666b903b 22462012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
2247
2248 * ansi-color.el (ansi-color-process-output): Check for validity of
2249 comint-last-output-start before using it. This avoids a bad
2250 interaction with gdb-mi's input/output buffer.
2251
666b903b 22522012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
2253
2254 * files.el (dir-locals-read-from-file):
2255 Mention dir-locals in any error message.
2256
666b903b 22572012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
2258
2259 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
2260 package (Bug#11410).
2261
f677562b
CY
2262 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
2263 variables into description.
2264
666b903b 22652012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
2266
2267 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
2268 shell-delimiter-argument-list (bug#11348).
2269 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
2270
b499d8d0
JB
22712012-05-09 Juanma Barranquero <lekktu@gmail.com>
2272
8f6b6da8
JB
2273 * textmodes/rst.el: Silence byte-compiler warnings.
2274 (rst-re-alist, rst-reset-section-caches): Move around.
2275 (rst-re): Use `characterp', not `char-valid-p'.
2276 (font-lock-beg, font-lock-end): Declare.
2277
4824146a
JB
2278 * progmodes/idlw-shell.el (specs): Remove reference to deleted
2279 variable `idlwave-shell-activate-alt-keybindings' and simplify.
2280
b499d8d0
JB
2281 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
2282
ad89bb83
GM
22832012-05-08 Glenn Morris <rgm@gnu.org>
2284
2285 * files.el (auto-mode-alist): Treat ".make" like ".mk".
2286
8bba5a75
SM
22872012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2288
49ed9c8e
SM
2289 * vc/log-edit.el: Add GNU coding standards highlighting.
2290 (log-edit-font-lock-gnu-style)
2291 (log-edit-font-lock-gnu-keywords): New vars.
2292 (log-edit-font-lock-keywords): New fun.
2293 (log-edit-mode): Don't fold case in font-lock.
2294 (log-edit-font-lock-keywords): Do not assume case-folding.
2295
07d00b56
SM
2296 * imenu.el: Misc cleanup. Make docstrings out of comments.
2297 Use lexical-binding.
2298 (imenu--index-alist, imenu--last-menubar-index-alist)
2299 (imenu-menubar-modified-tick): Use defvar-local.
2300 (imenu--split-menu): Remove unused var.
2301 (imenu--cleanup-seen): Declare as global.
2302 (imenu--cleanup): Use dolist.
2303
8bba5a75
SM
2304 * subr.el (defvar-local): Add debug spec and doc-string position.
2305
5075bdb5
GM
23062012-05-08 Glenn Morris <rgm@gnu.org>
2307
c052c904
GM
2308 * lisp/language/burmese.el, language/cham.el, language/czech.el:
2309 * language/english.el, language/georgian.el, language/greek.el:
2310 * language/japanese.el, language/khmer.el, language/korean.el:
2311 * language/lao.el, language/misc-lang.el, language/romanian.el:
2312 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
2313 * language/thai.el, language/utf-8-lang.el:
2314 Remove no-byte-compile setting.
2315
5075bdb5
GM
2316 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
2317
06f679a7
AH
23182012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2319
2320 * progmodes/make-mode.el (makefile-browse):
2321 Remove unnecessary interactive. (Bug#11324)
2322
03794570
GM
23232012-05-07 Glenn Morris <rgm@gnu.org>
2324
af8630f4
GM
2325 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
2326
03794570
GM
2327 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
2328
f0809a9d
SM
23292012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2330
28be5ce7
SM
2331 * loadup.el: Preload newcomment.el.
2332 * newcomment.el: Move autoload-only code to toplevel.
2333
f0809a9d
SM
2334 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
2335 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2336 Handle new :right-align column property.
2337 (tabulated-list-print-col): Idem, plus use `display' text-property to
2338 try and preserve alignment for variable pitch fonts.
2339
1241b724
CY
23402012-05-07 Chong Yidong <cyd@gnu.org>
2341
2342 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
2343 (tabulated-list-use-header-line): New var.
2344 (tabulated-list-init-header): Use it.
2345 (tabulated-list-print-fake-header): New function.
2346 (tabulated-list-print): Use it.
2347 (tabulated-list-sort-button-map): Add non-header-line commands.
2348 (tabulated-list-init-header): Add column name property to basic
2349 labels as well.
2350 (tabulated-list-col-sort): Handle non-header-line button case.
2351 (tabulated-list--sort-by-column-name): Fix a corner case.
2352
f0809a9d
SM
2353 * buff-menu.el (list-buffers--refresh):
2354 Handle Buffer-menu-use-header-line.
1241b724 2355
e5f9458f
CY
23562012-05-06 Chong Yidong <cyd@gnu.org>
2357
2358 * buff-menu.el: Convert to Tabulated List mode.
2359 (Buffer-menu-buffer+size-width): Make obsolete.
2360 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
2361 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
2362 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
2363 documentation into docstring of buffer-menu.
2364 (Buffer-menu-toggle-files-only): Add an informative message.
2365 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
2366 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
2367 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
2368 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
2369 (Buffer-menu-execute, Buffer-menu-select)
2370 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
2371 (Buffer-menu-bury): Use Tabulated List machinery.
2372 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
2373 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 2374 Delete.
e5f9458f
CY
2375 (list-buffers--refresh): New function.
2376 (list-buffers-noselect): Use it.
2377 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
2378 (Buffer-menu--pretty-file-name): New helper functions.
2379
2380 * loadup.el: Preload tabulated-list.
2381
2382 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
2383 tabulated-list-sort-column.
2384 (tabulated-list-init-header): Add the initial aligning space even
2385 if tabulated-list-padding is zero.
2386
e129292c
CS
23872012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
2388
2389 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
2390 whose cdr is not a cons cell correctly (bug#11038).
2391
6632d361
CY
23922012-05-06 Chong Yidong <cyd@gnu.org>
2393
e129292c
CS
2394 * emacs-lisp/tabulated-list.el (tabulated-list-format):
2395 Accept additional plist in column descriptors.
6632d361
CY
2396 (tabulated-list-init-header): Obey it.
2397 (tabulated-list-get-entry): New function.
2398 (tabulated-list-put-tag): Use it. Use string-width instead of
2399 length.
2400 (tabulated-list--column-number): New function.
2401 (tabulated-list-print): Use it.
e129292c
CS
2402 (tabulated-list-print-col): New function.
2403 Set `tabulated-list-column-name' property on each column's text.
6632d361 2404 (tabulated-list-print-entry): Use it.
e129292c
CS
2405 (tabulated-list-delete-entry, tabulated-list-set-col):
2406 New functions.
6632d361
CY
2407 (tabulated-list-sort-column): New command (Bug#11337).
2408
3cc99f68
CY
2409 * buff-menu.el (list-buffers): Move C-x C-b binding from
2410 buff-menu.el to bindings.el.
2411
2412 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
2413 :advertised-binding feature.
2414
52b61776
TN
24152012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
2416
2417 * progmodes/compile.el (compilation-internal-error-properties):
2418 Calculate start position correctly when end-col is set but
2419 end-line is not (Bug#11382).
2420
ebfe2597
WJ
24212012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
2422
2423 * man.el (Man-unindent): Use text-property-default-nonsticky to
2424 prevent untabify from inheriting face properties (Bug#11408).
2425
6d3f7c2f
SM
24262012-05-05 Stefan Merten <smerten@oekonux.de>
2427
2428 * textmodes/rst.el: Major merge with upstream development up to
2429 Docutils SVN r7399 / rst.el V1.2.1.
2430
2431 Clarify maintainership and authors.
2432
2433 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
2434 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
2435 (rst-official-version, rst-official-cvs-rev, rst-version)
2436 (rst-package-emacs-version-alist): New functions and variables
2437 for version information.
2438
2439 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
2440 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
2441 (rst-mode-syntax-table, rst-mode): New and corrected functions
2442 and variables representing reStructuredText features.
2443
2444 (rst-re): New function for reStructuredText regexes. Use in
2445 many places.
2446
2447 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2448 (rst-mode-map): Rebind keys.
2449
2450 (rst-mode-lazy, rst-font-lock-keywords)
2451 (rst-font-lock-extend-region)
2452 (rst-font-lock-extend-region-internal)
2453 (rst-font-lock-extend-region-extend)
2454 (rst-font-lock-find-unindented-line-limit)
2455 (rst-font-lock-find-unindented-line-match)
2456 (rst-adornment-level, rst-font-lock-adornment-level)
2457 (rst-font-lock-adornment-match)
2458 (rst-font-lock-handle-adornment-pre-match-form)
2459 (rst-font-lock-handle-adornment-matcher): Major revision of
2460 font-locking. Integrate with other code. Use `jit-lock-mode'.
2461
2462 (rst-preferred-adornments, rst-adjust-hook)
2463 (rst-new-adornment-down, rst-preferred-bullets)
2464 (rst-preferred-bullets, rst-indent, rst-indent-width)
2465 (rst-indent-field, rst-indent-literal-normal)
2466 (rst-indent-literal-minimized, rst-indent-comment): Change,
2467 extend and improve customization.
2468
2469 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2470 (rst-normalize-cursor-position, rst-get-decoration)
2471 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2472 (rst-rstrip, rst-toc-insert-find-delete-contents)
2473 (rst-shift-fill-region, rst-compute-bullet-tabs)
2474 (rst-debug-print-tabs, rst-debug-mark-found)
2475 (rst-shift-region-guts, rst-shift-region-right)
2476 (rst-shift-region-left, rst-use-char-classes)
2477 (rst-font-lock-keywords-function)
2478 (rst-font-lock-indentation-point)
2479 (rst-font-lock-find-unindented-line-begin)
2480 (rst-font-lock-find-unindented-line-end)
2481 (rst-font-lock-find-unindented-line)
2482 (rst-font-lock-adornment-point, rst-font-lock-level)
2483 (rst-adornment-level-alist): Remove functions and variables.
2484
2485 (rst-compare-adornments, rst-get-adornment-match)
2486 (rst-suggest-new-adornment, rst-get-adornments-around)
2487 (rst-adornment-complete-p, rst-get-next-adornment)
2488 (rst-adjust-adornment, rst-display-adornments-hierarchy)
2489 (rst-straighten-adornments): Standardize function names to
2490 use "adornment" instead of "decoration". Correct callers.
2491 Similar standardizing in many places.
2492
2493 (rst-update-section, rst-adjust, rst-promote-region)
2494 (rst-enumerate-region, rst-bullet-list-region)
2495 (rst-repeat-last-character): Correct use of `interactive'.
2496
2497 (rst-classify-adornment, rst-find-all-adornments)
2498 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2499 (rst-find-leftmost-column, rst-repeat-last-character):
2500 Refactor functions.
2501
2502 (rst-find-title-line, rst-reset-section-caches)
2503 (rst-get-adornments-around, rst-adjust-adornment-work)
2504 (rst-arabic-to-roman, rst-roman-to-arabic)
2505 (rst-insert-list-pos, rst-insert-list-new-item)
2506 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2507 New functions.
2508
2509 (rst-all-sections, rst-section-hierarchy)
2510 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2511 New variables.
2512
2513 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2514 configuration instead of only buffer. Change where necessary.
2515
2516 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2517 (rst-shift-region, rst-adaptive-fill): New functions for
2518 indentation and filling.
2519
2520 (rst-comment-line-break, rst-comment-indent)
2521 (rst-comment-insert-comment, rst-comment-region)
2522 (rst-uncomment-region): New functions for handling comments.
2523
2524 (rst-compile): Quote shell arguments.
2525
2526 (rst-compile-pdf-preview, rst-compile-slides-preview):
2527 Delete temporary files after use.
2528
a43f98b3
GM
25292012-05-05 Glenn Morris <rgm@gnu.org>
2530
48176e8b
GM
2531 * calendar/cal-html.el: Optionally include holidays in the output.
2532 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2533 (cal-html-holidays): New option.
2534 (cal-html-css-default): Add holiday entry.
2535 (holiday-in-range): Autoload it.
2536 (cal-html-htmlify-entry): Add optional class argument.
2537 (cal-html-htmlify-list): Add optional holidays argument.
2538 (cal-html-insert-agenda-days): Include holidays in the output.
2539 (cal-html-one-month): Maybe include holidays.
2540
a43f98b3
GM
2541 * calendar/holidays.el (holiday-in-range):
2542 Move here from cal-tex-list-holidays.
2543 * calendar/cal-tex.el (cal-tex-list-holidays):
2544 Make it an obsolete alias for holiday-in-range. Update all callers.
2545
fef9d149 25462012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
2547
2548 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2549 Nextstep.
2550
248da2f4
RW
25512012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
2552
2553 * files.el (file-auto-mode-skip): New var.
2554 (set-auto-mode-1): Use it.
2555
f95e9344
SM
25562012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2557
df96ab1e
SM
2558 * repeat.el: Use lexical-binding.
2559 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2560 (repeat-undo-count): Remove.
2561 (repeat):
2562 * progmodes/octave-mod.el (octave-abbrev-start):
2563 * progmodes/f90.el (f90-abbrev-start):
2564 * face-remap.el (text-scale-adjust):
2565 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2566
5342bb06
SM
2567 * emacs-lisp/pcase.el (pcase--let*): New function.
2568 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2569 a bit more.
2570 (pcase--split-pred): Be more clever about ruling out overlap between
2571 a predicate and some constant pattern.
2572 (pcase--q1): Use `null' instead of (eq foo nil).
2573
f95e9344
SM
2574 * subr.el (setq-local, defvar-local): New macros.
2575 (kbd): Redefine as an alias.
2576 (with-selected-window): Leave unrelated frames alone.
2577 (set-temporary-overlay-map): New function.
2578
71873e2b
SM
25792012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2580
2581 * subr.el (user-error): New function.
2582 * window.el (switch-to-buffer):
2583 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2584 (smerge-match-conflict):
2585 * simple.el (previous-matching-history-element)
2586 (next-matching-history-element, goto-history-element, undo-more)
2587 (undo-start):
2588 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2589 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2590 (next-file, tags-loop-scan, list-tags, complete-tag):
2591 * progmodes/compile.el (compilation-loop):
2592 * mouse.el (mouse-minibuffer-check):
2593 * man.el (Man-bgproc-sentinel, Man-goto-page):
2594 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2595 (Info-history-forward, Info-follow-reference, Info-menu)
2596 (Info-extract-menu-item, Info-extract-menu-counting)
2597 (Info-forward-node, Info-backward-node, Info-next-menu-item)
2598 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2599 (Info-next-reference, Info-prev-reference, Info-index)
2600 (Info-index-next, Info-follow-nearest-node)
2601 (Info-copy-current-node-name):
2602 * imenu.el (imenu--make-index-alist)
2603 (imenu-default-create-index-function, imenu-add-to-menubar):
2604 * files.el (basic-save-buffer, recover-file):
2605 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2606 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2607 (checkdoc-message-text, checkdoc-defun):
2608 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2609 * cus-edit.el (customize-changed-options, customize-rogue)
2610 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2611 (custom-variable-mark-to-reset-standard)
2612 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2613 (custom-file):
2614 * completion.el (check-completion-length):
2615 * comint.el (comint-search-arg)
2616 (comint-previous-matching-input-string-position)
2617 (comint-previous-matching-input)
2618 (comint-replace-by-expanded-history-before-point, comint-send-input)
2619 (comint-copy-old-input, comint-backward-matching-input)
2620 (comint-goto-process-mark, comint-set-process-mark):
2621 * calendar/calendar.el (calendar-cursor-to-date): Use it.
2622 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2623
8a61ee22
SM
26242012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2625
66408d1e
SM
2626 * dabbrev.el (dabbrev--ignore-case-p): New function.
2627 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2628 Use it.
2629
8a61ee22
SM
2630 * files.el (automount-dir-prefix): Mark as obsolete.
2631
3c74813a
GM
26322012-05-04 Glenn Morris <rgm@gnu.org>
2633
2634 * patcomp.el, play/bruce.el: Move to obsolete/.
2635
0bfcf5c5
PE
26362012-05-04 Paul Eggert <eggert@cs.ucla.edu>
2637
2638 Fix minor Y10k bugs.
2639 * arc-mode.el (archive-unixdate):
2640 * autoinsert.el (auto-insert-alist):
2641 * calc/calc-forms.el (math-this-year):
2642 * emacs-lisp/copyright.el (copyright-current-year)
2643 (copyright-update-year, copyright):
2644 * tar-mode.el (tar-clip-time-string):
2645 * time.el (display-time-update):
2646 Don't assume years have 4 digits.
2647
78f3273a
CY
26482012-05-04 Chong Yidong <cyd@gnu.org>
2649
2650 * dos-w32.el (file-name-buffer-file-type-alist)
2651 (direct-print-region-use-command-dot-com):
2652 * ffap.el (ffap-menu-regexp):
2653 * find-file.el (ff-special-constructs):
2654 * follow.el (follow-debug):
2655 * forms.el (forms--debug):
2656 * iswitchb.el (iswitchb-all-frames):
2657 * ido.el (ido-all-frames):
2658 * emacs-lisp/timer.el (timer-max-repeats):
2659 * mail/feedmail.el (feedmail-mail-send-hook)
2660 (feedmail-mail-send-hook-queued):
2661 * mail/footnote.el (footnote-signature-separator):
2662 * mail/mailabbrev.el (mail-alias-separator-string)
2663 (mail-abbrev-mode-regexp):
2664 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
2665 * progmodes/idlwave.el (idlwave-libinfo-file)
2666 (idlwave-default-completion-case-is-down)
2667 (idlwave-library-routines): Convert defvars to defcustoms.
2668
2669 * mail/rmail.el (rmail-decode-mime-charset):
2670 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
2671 (idlwave-shell-fix-inserted-breaks)
2672 (idlwave-shell-activate-alt-keybindings)
2673 (idlwave-shell-use-breakpoint-glyph):
2674 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
2675
f7ae6719
SM
26762012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2677
2678 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
2679
47086495
WS
26802012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
2681
2682 * progmodes/verilog-mode.el (font-lock-keywords):
2683 Fix mis-highligting auto. Reported by Craig Barner.
2684 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2685 defines from global name space. Reported by Dan Dever.
2686 (verilog-auto-reset, verilog-auto-reset-widths)
2687 (verilog-auto-tieoff): Support using unbased numbers for
2688 AUTORESET and AUTOTIEOFF.
2689 (verilog-submit-bug-report): Update variable list.
2690 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2691 parenthesis from not matching. Reported by Michael Rytting.
2692 (verilog-auto-template-lint): Fix hash error when linting modules
2693 with no used templates.
2694 (verilog-warn, verilog-warn-error)
2695 (verilog-warn-fatal): When non-interactive report multiple
2696 warnings before exiting. Suggested by Brad Dobbie.
2697 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2698 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2699 to report unused template errors. Reported by Brad Dobbie.
2700 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2701 nets, bug438. Reported by Vns Blore.
2702 (verilog-auto-inout-module, verilog-auto-reg)
2703 (verilog-read-decls, verilog-read-sub-decls-sig)
2704 (verilog-signals-edit-wire-reg, verilog-signals-with):
2705 Fix passing of Verilog data types in ANSI input/output ports
2706 such as "output logic" into the AUTOs. Special case "wire" and
2707 "reg" for backwards compatibility presuming Verilog 2001.
2708 (verilog-auto-ascii-enum): Add "auto enum" as alias.
2709 (verilog-preprocess): Fix replication of preprocess output.
2710 Reported by Brad Dobbie.
2711 (verilog-auto-inst-interfaced-ports):
2712 Create verilog-auto-inst-interfaced-ports, bug429.
2713 Reported by Julian Gorfajn.
2714 (verilog-after-save-font-hook)
2715 (verilog-before-save-font-hook): New variable.
2716 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2717 (verilog-save-font-mods): Wrap disabling fontification, reported
2718 by David Rogoff.
2719 (verilog-do-indent, verilog-pretty-declarations-auto)
2720 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2721 Reported by Pierre-David Pfister.
2722 (verilog-set-auto-endcomments): Fix endtask auto comments outside
2723 of class declarations, bug292. Reported by Kevin Heilman.
2724 (verilog-read-decls): Fix 'parameter type' not appearing in
2725 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
2726 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2727 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2728 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2729 Reported by David Kravitz.
2730
27312012-05-03 Michael McNamara <mac@mail.brushroad.com>
2732
2733 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2734 assignment with tests in ifs and for loops.
2735 (verilog-extended-complete-re, verilog-complete-reg): Change so
2736 that DPI inport functions don't look like fuction declarations.
2737 (verilog-pretty-expr): Don't line up assignment
2738 operations to the test and increment in if and for loops
2739 (verilog-extended-complete-re, verilog-complete-reg): Change so
2740 that DPI inport functions don't look like fuction declarations
2741
2e51d4b5
KH
27422012-05-03 Kenichi Handa <handa@m17n.org>
2743
2744 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 2745 decoding, and show a warning message without signaling an error
2e51d4b5
KH
2746 (Bug#11282).
2747
2bd785a2
SM
27482012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2749
2750 * emacs-lisp/bytecomp.el
2751 (byte-compile-file-form-custom-declare-variable): Compile all elements,
2752 since cconv.el might have introduced :fun-body, internal-make-closure,
2753 and friends for bytecomp to handle (bug#11391).
2754 * custom.el (defcustom): Avoid ((λ ..) ..).
2755
99d27583
SM
27562012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2757
2758 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2759
55a71479
JB
27602012-05-02 Juanma Barranquero <lekktu@gmail.com>
2761
2762 * notifications.el (dbus-debug):
2763 * term/linux.el (gpm-mouse-enable):
2764 * term/screen.el (xterm-register-default-colors): Declare.
2765
7b97c764
CY
27662012-05-02 Chong Yidong <cyd@gnu.org>
2767
2bc356d7
CY
2768 * cus-start.el (gc-cons-percentage, exec-suffixes)
2769 (dos-display-scancodes, dos-hyper-key, dos-super-key)
2770 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2771 (make-cursor-line-fully-visible, void-text-area-pointer)
2772 (font-list-limit): Add customization data.
2773
7b97c764
CY
2774 * allout.el (allout-exposure-change-functions)
2775 (allout-structure-added-functions)
2776 (allout-structure-deleted-functions)
2777 (allout-structure-shifted-functions): Rename abnormal hooks from
2778 *-hook, and convert to defcustoms.
5d3385a0
JB
2779 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2780 Convert to defcustoms.
7b97c764
CY
2781 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2782
2783 * allout-widgets.el: Hook callers changed.
2784
90207a15 27852012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
2786
2787 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2788 the yanked message in preference to the default value of
2789 buffer-file-coding-system.
2790
90207a15 27912012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 2792
5d3385a0
JB
2793 * window.el (display-buffer--action-function-custom-type):
2794 Fix entry.
d9558cad 2795
90207a15 27962012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
2797
2798 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2799
d80ac57b
GM
28002012-05-01 Glenn Morris <rgm@gnu.org>
2801
976f7668
GM
2802 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2803
beb83b5a
GM
2804 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2805
d80ac57b
GM
2806 * cus-edit.el (custom-variable-documentation): Simplify with format.
2807
b593d6a9
AH
28082012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2809 Stefan Monnier <monnier@iro.umontreal.ca>
2810
2811 * simple.el (suggest-key-bindings, execute-extended-command):
2812 Move from keyboard.c.
2813
782fbf2a
CY
28142012-05-01 Chong Yidong <cyd@gnu.org>
2815
2816 * follow.el: Eliminate advice.
2817 (set-process-filter, process-filter, sit-for): Advice deleted.
2818 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
2819 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2820 Vars deleted.
782fbf2a
CY
2821 (follow-auto): Use a :set function.
2822 (follow-mode): Rewritten. Don't advise process filters.
2823 (follow-switch-to-current-buffer-all, follow-scroll-up)
2824 (follow-scroll-down): Assume follow-mode is bound.
2825 (follow-comint-scroll-to-bottom)
2826 (follow-align-compilation-windows): New functions.
2827 (follow--window-sorter): New function.
2828 (follow-all-followers): Use it to explicitly sort windows by their
2829 positions; don't make assumptions about next-window order.
2830 (follow-windows-start-end, follow-delete-other-windows-and-split)
2831 (follow-calc-win-start): Doc fix.
2832 (follow-windows-aligned-p, follow-select-if-visible): Don't call
2833 vertical-motion unnecessarily.
2834 (follow-adjust-window): New function.
2835 (follow-post-command-hook): Use it.
2836 (follow-call-set-process-filter, follow-call-process-filter)
2837 (follow-intercept-process-output, follow-tidy-process-filter-alist)
2838 (follow-stop-intercept-process-output, follow-generic-filter):
2839 Functions deleted.
2840 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
2841 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2842 New functions, replacing advice on scroll-bar-* commands.
87233a14 2843 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
2844
2845 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
2846 (comint-postoutput-scroll-to-bottom): Use it.
2847 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 2848
290af740
GM
28492012-05-01 Glenn Morris <rgm@gnu.org>
2850
2851 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2852 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2853 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2854 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2855 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2856 Remove no-byte-compile setting.
2857
6eac8dc9
SM
28582012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2859
2860 * minibuffer.el (completion-table-with-quoting): Fix compatibility
2861 all-completions code to not return a number in the last cdr.
2862
9cc7819c
LL
28632012-04-30 Leo Liu <sdl.web@gmail.com>
2864
2865 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2866 read-only error.
2867
c93b886f
CY
28682012-04-29 Chong Yidong <cyd@gnu.org>
2869
2870 * follow.el (follow-calc-win-end): Rewrite to handle partial
2871 screen lines correctly (Bug#8390).
2872 (follow-avoid-tail-recenter): Minor cleanup.
2873
8b6c19f4
SM
28742012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2875
2876 Avoid the obsolete `assoc' package.
2877 * speedbar.el (speedbar-refresh): Avoid adelete.
2878 (speedbar-file-lists): Simplify and avoid aput.
2879 * man.el (Man--sections, Man--refpages): New vars, replacing
2880 Man-sections-alist and Man-refpages-alist.
2881 (Man-build-section-alist, Man-build-references-alist):
2882 Use them; avoid aput.
2883 (Man--last-section, Man--last-refpage): New vars.
2884 (Man-follow-manual-reference): Use them.
2885 Use the `default' arg of completing-read.
2886 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
2887
c5bb7569
CY
28882012-04-27 Chong Yidong <cyd@gnu.org>
2889
d1d2e2e8
CY
2890 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2891
15cd8efd
CY
2892 * startup.el (x-apply-session-resources): New function.
2893
2894 * term/ns-win.el (ns-initialize-window-system):
2895 * term/w32-win.el (w32-initialize-window-system):
2896 * term/x-win.el (x-initialize-window-system): Use it to properly
2897 set menu-bar-mode and other vars from X resources, even if the
2898 initial frame is not a window-system frame (Bug#2299).
2899
c5bb7569
CY
2900 * subr.el (read-key): Avoid running filter function when setting
2901 up temporary tool bar entries (Bug#9922).
2902
a8e7d6d7 29032012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
2904
2905 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2906 (Bug#11344)
2907
a8e7d6d7 29082012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
2909
2910 * select.el (xselect--encode-string): New function, split from
2911 xselect-convert-to-string.
2912 (xselect-convert-to-string): Use it.
2913 (xselect-convert-to-filename, xselect-convert-to-os)
2914 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
2915 returned strings are properly encoded (Bug#11315).
2916
a8e7d6d7 29172012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
2918
2919 * simple.el (delete-active-region): Move to killing custom group.
2920
a8e7d6d7 29212012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
2922
2923 * progmodes/which-func.el (which-func-current): Quote %
2924 characters for mode-line processing.
2925
578c1d4b 29262012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
2927
2928 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
2929 reaching eob (Bug#11286).
2930
a8e7d6d7 29312012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
2932
2933 * progmodes/gdb-mi.el (gdb-control-level): New variable.
2934 (gdb): Make it buffer-local and init to zero.
2935 (gdb-control-commands-regexp): New variable.
2936 (gdb-send): Don't wrap in "-interpreter-exec console" if
2937 gdb-control-level is positive. Increment gdb-control-level
2938 whenever the command matches gdb-control-commands-regexp, and
2939 decrement it each time the command is "end". (Bug#11279)
2940
a8e7d6d7 29412012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
2942
2943 * window.el (adjust-window-trailing-edge, enlarge-window)
2944 (shrink-window, window-resize):
2945 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
2946 windows (Bug#11276).
2947
b3608390
CY
29482012-04-27 Chong Yidong <cyd@gnu.org>
2949
2950 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 2951 fix "missing prefix" warning. All callers changed.
b3608390 2952
797e6e88
SM
29532012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2954
2955 * emacs-lisp/assoc.el: Move to obsolete/.
2956
e95a67dc
SM
29572012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2958
657c21e4 2959 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
2960
2961 * term/ns-win.el (ns-define-service):
2962 * progmodes/pascal.el (pascal-goto-defun):
2963 * progmodes/js.el (js--read-tab):
2964 * progmodes/etags.el (tags-lazy-completion-table):
2965 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
2966 * emacs-lisp/ewoc.el (ewoc--wrap):
2967 * emacs-lisp/assoc.el (aput, adelete, amake):
2968 * doc-view.el (doc-view-convert-current-doc):
2969 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
2970
cb3e7ae0
CY
29712012-04-26 Chong Yidong <cyd@gnu.org>
2972
dce04f7f
CY
2973 * image.el (image-type-from-buffer): Only return supported image
2974 type (Bug#9045).
2975
cb3e7ae0
CY
2976 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
2977 value, for symmetry with diff-end-of-hunk.
2978 (diff-split-hunk, diff-find-source-location)
2979 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2980 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2981 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2982 compute the relevant hunk or file properly (Bug#6005).
2983 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2984
0d42eb3e
SM
29852012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2986
2987 * vc/vc-mtn.el:
2988 * vc/vc-hg.el:
2989 * vc/vc-git.el:
2990 * vc/vc-dir.el:
2991 * vc/vc-cvs.el:
2992 * vc/vc-bzr.el:
2993 * vc/vc-arch.el:
2994 * vc/vc.el: Replace lexical-let by lexical-binding.
2995 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2996 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2997 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2998
f08ae1c9
CY
29992012-04-26 Chong Yidong <cyd@gnu.org>
3000
8b71081d
CY
3001 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
3002 (diff-mode-shared-map): Bind it to / and [remap undo].
3003
f08ae1c9
CY
3004 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
3005 (ediff-window-setup-function): Use it as the default, to set up
3006 windows based on whether the current frame is graphical (Bug#2138).
3007 (ediff-choose-window-setup-function-automatically): Make obsolete.
3008
3009 * vc/ediff-init.el: Always define ediff-pixel-width/height.
3010
ef24141c
SM
30112012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3012
cc356a5d
SM
3013 * ffap.el: Remove old code for obsolete package.
3014 (ffap-complete-as-file-p): Remove.
3015
b4ff4f1f
SM
3016 Use completion-table-with-quoting for comint and pcomplete.
3017 * comint.el (comint--unquote&requote-argument)
3018 (comint--unquote-argument, comint--requote-argument): New functions.
3019 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
3020 (comint-quote-filename): Use regexp-opt-charset.
3021 (comint--common-suffix, comint--common-quoted-suffix)
3022 (comint--table-subvert): Remove.
3023 (comint-unquote-function, comint-requote-function): New vars.
3024 (comint--complete-file-name-data): Use them with
3025 completion-table-with-quoting.
3026 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
3027 * pcomplete.el (pcomplete-arg-quote-list)
3028 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
3029 (pcomplete-unquote-argument-function): Default to non-nil.
3030 (pcomplete-unquote-argument): Simplify.
3031 (pcomplete--common-quoted-suffix): Remove.
3032 (pcomplete-requote-argument-function): New var.
3033 (pcomplete--common-suffix): New function.
3034 (pcomplete-completions-at-point): Use completion-table-with-quoting
3035 and completion-table-subvert.
3036
79c4eeb4
SM
3037 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
3038 (minibuffer--double-dollars): Preserve properties.
3039 (completion--sifn-requote): New function.
3040 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
3041
ef24141c
SM
3042 * minibuffer.el: Add support for completion of quoted/escaped data.
3043 (completion-table-with-quoting, completion-table-subvert): New funs.
3044 (completion--twq-try, completion--twq-all): New functions.
3045 (completion--nth-completion): New function.
3046 (completion-try-completion, completion-all-completions): Use it.
3047
784e7d6e
LL
30482012-04-25 Leo Liu <sdl.web@gmail.com>
3049
dd2ac746
SM
3050 * progmodes/python.el (python-pdbtrack-get-source-buffer):
3051 Use compilation-message if available to find real filename.
784e7d6e 3052
07875ee7
CY
30532012-04-25 Chong Yidong <cyd@gnu.org>
3054
3055 * vc/diff-mode.el (diff-setup-whitespace): New function.
3056 (diff-mode): Use it.
3057
3058 * vc/diff.el (diff-sentinel):
3059 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
3060 Whitespace mode variables based on diff style (Bug#8612).
3061
5055880d
LL
30622012-04-25 Leo Liu <sdl.web@gmail.com>
3063
daf75653
LL
3064 * progmodes/python.el (python-send-region): Add suffix .py to the
3065 temp file.
3066
5055880d
LL
3067 * files.el (auto-mode-alist): Use javascript-mode instead.
3068
db9b177b
AH
30692012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
3070
ef24141c 3071 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
3072
3073 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 3074 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 3075 references, see Bug#9.
ef24141c 3076 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 3077 when receiving a fault reply.
ef24141c 3078 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
3079
3080 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 3081 (soap-inspect-simple-type): New function.
db9b177b 3082
ef24141c 3083 * soap-client.el (soap-simple-type): New struct.
db9b177b 3084 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
3085 (soap-decode-basic-type, soap-encode-basic-type):
3086 support unsignedInt and double basic types.
db9b177b 3087 (soap-resolve-references-for-simple-type)
ef24141c
SM
3088 (soap-parse-simple-type, soap-encode-simple-type): New function.
3089 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
3090
3091 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
3092 (soap-default-soapenc-types): Add integer, byte and anyURI types.
3093 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
3094 the local name of "soapenc:Array".
3095 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
3096 decoding integer, byte and anyURI xsd types.
3097
1fc6097b
CY
30982012-04-25 Chong Yidong <cyd@gnu.org>
3099
3100 * cus-edit.el (custom-buffer-create-internal): Update header text.
3101
afc6df87
EZ
31022012-04-25 Eli Zaretskii <eliz@gnu.org>
3103
3104 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
3105 settings on 'system-type', not on 'window-system'. On MS-Windows,
3106 set interactive-mode on in GDB.
3107
dfbd787f
SM
31082012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3109
3110 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
3111 (ruby-syntax-propertize-regexp): Remove.
3112 (ruby-syntax-propertize-function): Split regexp into chunks.
3113 Match following code directly.
3114
85222d44
DG
31152012-04-24 Dmitry Gutov <dgutov@yandex.ru>
3116
51a8ea2a
DG
3117 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
3118 (ruby-syntax-propertize-regexp): New function.
3119 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
3120 by a special keyword.
3121
85222d44
DG
3122 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
3123 (ruby-syntax-general-delimiters-goto-beg)
3124 (ruby-syntax-propertize-general-delimiters): New functions.
3125 (ruby-syntax-propertize-function): Use them to handle GDL.
3126 (ruby-font-lock-keywords): Move old handling of GDL...
3127 (ruby-font-lock-syntactic-keywords): .. to here.
3128 (ruby-calculate-indent): Adjust indentation for GDL.
3129
b613912b
MA
31302012-04-24 Michael Albinus <michael.albinus@gmx.de>
3131
b5380639
MA
3132 * notifications.el (top): Remove unneeded declarations.
3133 (notifications-specification-version): Change to "1.2".
e43042fe 3134 (notifications-interface, notifications-notify-method)
b613912b
MA
3135 (notifications-close-notification-method): Fix docstring.
3136 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
3137 (notifications-notify): Add :action-items, :resident and
3138 :transient hints. Change "image_data" to "image-data" and
3139 "image_path" to "image-path".
b613912b
MA
3140 (notifications-get-capabilities): New defun.
3141
257440aa
LL
31422012-04-24 Leo Liu <sdl.web@gmail.com>
3143
3144 * progmodes/python.el: Move hideshow setup to the end.
3145
b1bac16e
MR
31462012-04-24 Martin Rudalics <rudalics@gmx.at>
3147
3148 * window.el (handle-select-window): Clear echo area since this is
3149 no more done by read_char (Bug#11304).
3150
d81bd059
SM
31512012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3152
3153 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
3154 and `/ M' to filter-derived-mode.
3155 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
3156 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
3157 (ibuffer-mark-by-mode): Use default rather than initial-input.
3158 (ibuffer-filter-by-derived-mode): Autoload and require-match.
3159
c4cf6d91
IA
31602012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
3161
3162 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
3163 (ibuffer-filter-by-derived-mode): New filter.
3164 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
3165
7511ded8
CY
31662012-04-23 Andreas Politz <politza@fh-trier.de>
3167
3168 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
3169
775c916b
CY
31702012-04-23 Chong Yidong <cyd@gnu.org>
3171
3172 * cus-edit.el (customize-apropos, customize-apropos-options):
3173 Disable matching of non-option variables (Bug#11176).
3174 (customize-option, customize-option-other-window)
3175 (customize-changed-options): Doc fix.
3176 (customize-apropos-options, customize-apropos-faces)
3177 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
3178
3179 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 3180 Fix word list splitting (Bug#11132).
46c71e23
CY
3181 (apropos-symbol, apropos-keybinding, apropos-label)
3182 (apropos-property, apropos-function-button)
3183 (apropos-variable-button, apropos-misc-button): New faces.
3184 (apropos-symbol-face, apropos-keybinding-face)
3185 (apropos-label-face, apropos-property-face, apropos-match-face):
3186 Variables removed (Bug#8396).
3187 (apropos-library-button, apropos-format-plist, apropos-print)
3188 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 3189
2df41f9c
MA
31902012-04-23 Michael Albinus <michael.albinus@gmx.de>
3191
3192 * net/xesam.el (xesam-mode-map): Use let-bound map in
3193 initialization. (Bug#11292)
3194
da00640a
AM
31952012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3196
3197 Preserve ispell session localwords when switching back to
3198 original buffer.
3199
3200 * ispell.el (ispell-buffer-session-localwords): New buffer-local
3201 variable to hold buffer session localwords.
3202 (ispell-kill-ispell): add option 'clear to delete session
3203 localwords.
3204 (ispell-command-loop, ispell-change-dictionary)
3205 (ispell-buffer-local-words): Preserve session localwords when
3206 needed.
3207
3208 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
3209 Preserve session localwords when needed.
3210
f621ccf5
AM
32112012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3212
3213 * ispell.el (ispell-insert-word) Remove unneeded function using
3214 obsolete `translation-table-for-input'.
ef24141c
SM
3215 (ispell-word, ispell-process-line, ispell-complete-word):
3216 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 3217
c2d1019e
CY
32182012-04-22 Chong Yidong <cyd@gnu.org>
3219
3220 * cus-edit.el (custom-variable-menu)
3221 (custom-variable-reset-saved, custom-face-menu)
3222 (custom-face-reset-saved): If there is no saved value, make the
3223 "reset-saved" operation bring back the default (Bug#9509).
3224 (custom-face-state): Properly detect themed faces.
3225
eeddc531
CY
3226 * faces.el (face-spec-set): Stop supporting deprecated form of
3227 third arg.
3228
dcbf5805
MA
32292012-04-22 Michael Albinus <michael.albinus@gmx.de>
3230
3231 Move functions from C to Lisp. Make non-blocking method calls
3232 the default. Implement further D-Bus standard interfaces.
3233
ef24141c
SM
3234 * net/dbus.el (dbus-message-internal): Declare function.
3235 Remove unneeded function declarations.
dcbf5805
MA
3236 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
3237 (dbus-message-type-method-return, dbus-message-type-error)
3238 (dbus-message-type-signal): Declare variables. Remove local
3239 definitions.
3240 (dbus-interface-dbus, dbus-interface-peer)
3241 (dbus-interface-introspectable, dbus-interface-properties)
3242 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
3243 Adapt docstring.
3244 (dbus-interface-objectmanager): New defconst.
3245 (dbus-call-method, dbus-call-method-asynchronously)
3246 (dbus-send-signal, dbus-method-return-internal)
3247 (dbus-method-error-internal, dbus-register-service)
3248 (dbus-register-signal, dbus-register-method): New defuns, moved
3249 from dbusbind.c
3250 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
3251 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
3252 New defuns.
dcbf5805
MA
3253 (dbus-call-method-non-blocking): Make it an obsolete function.
3254 (dbus-unregister-object, dbus-unregister-service)
3255 (dbus-handle-event, dbus-register-property)
3256 (dbus-property-handler): Obey the new structure of
3257 `bus-registered-objects'.
3258 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
3259 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
3260 Use `dbus-call-method'.
3261
cf20dee0
CY
32622012-04-22 Chong Yidong <cyd@gnu.org>
3263
3264 * cus-edit.el (custom-commands, custom-reset-menu)
3265 (Custom-reset-standard): Tweak labels.
3266 (custom-reset-button-menu): Change default to t.
3267 (custom-buffer-create-internal): For the custom-reset-button-menu
3268 case, put the revert button first.
3269 (custom-group-subtitle): New face.
3270 (custom-group-value-create): Align docstring to a specific column.
3271
3272 * wid-edit.el (widget-documentation-link-add): Don't handle
3273 indentation in this function.
3274 (widget-documentation-string-indent-to): New function.
3275 (widget-documentation-string-value-create): Use it.
3276
3277 * autorevert.el (auto-revert):
3278 * epg-config.el (epg):
3279 * ibuffer.el (ibuffer):
3280 * mpc.el (mpc):
3281 * ses.el (ses):
3282 * eshell/eshell.el (eshell):
3283 * net/ange-ftp.el (ange-ftp):
3284 * progmodes/ebnf2ps.el (postscript):
3285 * progmodes/flymake.el (flymake):
3286 * progmodes/prolog.el (prolog):
3287 * progmodes/verilog-mode.el (verilog-mode):
3288 * progmodes/which-func.el (which-func):
3289 * term/xterm.el (xterm):
3290 * textmodes/picture.el (picture):
3291 * textmodes/tildify.el (tildify):
3292 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
3293 customization buffers.
3294
583e23bd
AM
32952012-04-22 Alan Mackenzie <acm@muc.de>
3296
3297 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3298 Adding a ) can hide the resulting (..) from searches. Fix it.
3299 Bound the backward search to the position of the existing (.
3300
7dd51bf1
JB
33012012-04-21 Juanma Barranquero <lekktu@gmail.com>
3302
3303 * progmodes/verilog-mode.el (verilog-mode): Check whether
3304 which-func-modes is t before adding verilog-mode.
3305 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
3306
d64a438f
LL
33072012-04-21 Leo Liu <sdl.web@gmail.com>
3308
7dd51bf1 3309 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 3310
081e8d65
MV
33112012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
3312
3313 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
3314 filling of the last column of a table (Bug#5635).
3315 (woman-find-next-control-line): New arg, specifying an additional
3316 regexp component for the control line.
3317 (woman2-roff-buffer): Use it.
3318 (woman-break-table): New function.
3319 (woman2-TS): Use it.
3320
33212012-04-21 Chong Yidong <cyd@gnu.org>
3322
3323 * woman.el (woman-set-buffer-display-table, woman-decode-region)
3324 (woman-horizontal-escapes, woman-negative-vertical-space)
3325 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
3326 (WoMan-warn-ignored): Use ?\s instead of ?\ .
3327
ed571ccb
SM
33282012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3329
3330 * minibuffer.el (completion-file-name-table): Complete user names.
3331
39773899
LL
33322012-04-20 Leo Liu <sdl.web@gmail.com>
3333
3334 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
3335 and pcase-let*.
3336
de6ff46d
CY
33372012-04-20 Chong Yidong <cyd@gnu.org>
3338
3339 * server.el (server-execute): Respect initial-buffer-choice if it
3340 is a string and there are no files to open (Bug#2825).
3341 (server-create-window-system-frame, server-create-tty-frame):
3342 Don't switch buffers here.
2d0e8e61
CY
3343 (server-process-filter): Only try to open a window system frame if
3344 compiled with graphical support (Bug#8314).
de6ff46d 3345
54071013
DN
33462012-04-20 Dan Nicolaescu <dann@gnu.org>
3347
3348 * battery.el (battery-echo-area-format): Display remaining time
3349 for sysfs backend too (Bug#11269).
3350 (battery-linux-sysfs): Fix conditional for the charge.
3351
f30d612a
CY
33522012-04-20 Chong Yidong <cyd@gnu.org>
3353
c07a4c0b 3354 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
3355 (gdb-inferior-io--init-proc): New function.
3356 (gdb-init-1): Use it.
3357 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
3358 responsible for allocating a new pty and hooking it to gdb when
3359 the old pty gets an EIO due to process exit.
3360 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
3361 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
3362 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
3363
2116e93c
EZ
33642012-04-20 Eli Zaretskii <eliz@gnu.org>
3365
3366 * window.el (window-min-size, window-sizable, window-min-delta)
3367 (window-max-delta, window--resizable, window-resizable)
3368 (window-total-size, window-full-height-p, window-full-width-p)
3369 (window-in-direction, window--resize-mini-window, window-resize)
3370 (window--resize-child-windows-normal)
3371 (window--resize-child-windows, window--resize-siblings)
3372 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 3373 (enlarge-window, shrink-window): Doc fixes.
2116e93c 3374
c07a4c0b 33752012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 3376
ef24141c
SM
3377 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
3378 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
3379 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
3380 pty process (Bug#11273).
3381 (gdb-update): New arg to suppress talking to the gdb process.
3382 (gdb-done-or-error): Use it.
3383 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
3384 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
3385 sentinel not being called.
3386
3387 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
3388
d02766ab
CY
3389 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
3390
c07a4c0b 33912012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
3392
3393 * net/network-stream.el (open-network-stream): Doc fix.
3394
c07a4c0b 33952012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
3396
3397 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
3398
c07a4c0b 33992012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
3400
3401 Ensure searching for keywords is case sensitive.
3402
3403 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
3404 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
3405 (c-defun-name, c-mark-function, c-cpp-define-name)
3406 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 3407 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 3408
ef24141c
SM
3409 * progmodes/cc-mode.el (c-font-lock-fontify-region):
3410 Bind case-fold-search to nil.
f0f6bc35 3411
c07a4c0b 34122012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
3413
3414 * mail/sendmail.el (mail-bury): Call return action with the right
3415 Rmail buffer (Bug#11242).
3416
9a864fa2
CY
3417 * server.el (server-process-filter): Handle corner case where both
3418 tty and nowait options are present (Bug#11102).
3419
539aa513
EZ
34202012-04-20 Eli Zaretskii <eliz@gnu.org>
3421
3422 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
3423 (top level): Put into the executable the ident-style '$Id:' tag on
3424 windows-nt as well.
539aa513 3425
cfc7d5da
SM
34262012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3427
3428 * electric.el (electric-indent-post-self-insert-function): Check that
3429 electric-indent-mode is enabled in current buffer.
3430
5b01685c
JB
34312012-04-19 Juanma Barranquero <lekktu@gmail.com>
3432
3433 * imenu.el (imenu-progress-message): Restore; it is "used" in
3434 erc/erc-imenu.el and net/snmp-mode.el.
3435
4d6769e1
JB
34362012-04-19 Juanma Barranquero <lekktu@gmail.com>
3437
3438 * avoid.el (mouse-avoidance-mode): Mark unused arg.
3439 (mouse-avoidance-nudge-mouse): Remove unused binding.
3440
3441 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
3442
3443 * descr-text.el (describe-char):
3444 * progmodes/python.el (python-describe-symbol):
3445 Don't call `toggle-read-only', set `buffer-read-only'.
3446
3447 * imenu.el (imenu-default-goto-function): Mark unused args.
3448 (imenu-progress-message): Remove obsolete macro; all callers changed.
3449
3450 * subr.el (keymap-canonicalize): Remove unused binding.
3451 (read-passwd): Mark unused arg.
3452
3453 * tutorial.el (tutorial--display-changes): Remove unused binding.
3454 (tutorial--save-tutorial-to): Remove unused variable.
3455
3456 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3457 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3458 (package-generate-autoloads, package-menu--generate)
3459 (package-menu--find-upgrades): Remove unused bindings.
3460
3461 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3462 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
3463 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3464 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3465 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3466 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3467 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3468 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3469 (cua-delete-char-rectangle): Mark unused args.
3470 (cua-align-rectangle): Remove unused binding.
3471
3472 * mail/rmail.el (compilation--message->loc)
3473 (epa--find-coding-system-for-mime-charset): Declare.
3474
3475 * net/dbus.el (dbus-register-service): Declare.
3476 (dbus-name-owner-changed-handler): Remove unused binding.
3477
3478 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3479 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3480 (nxml-scan-backward-within): Mark unused arg.
3481 (nxml-dynamic-markup-word): Remove unused binding.
3482
3483 * mouse.el (mouse-menu-major-mode-map):
3484 * emacs-lisp/authors.el (authors-scan-change-log)
3485 (authors-add-to-author-list):
3486 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3487 * emacs-lisp/smie.el (smie-auto-fill):
3488 * mail/sendmail.el (mail-bury):
3489 * mail/unrmail.el (unrmail):
3490 * net/tls.el (open-tls-stream):
3491 * textmodes/picture.el (picture-mouse-set-point):
3492 Remove unused bindings.
3493
8c8fc5df
MA
34942012-04-19 Michael Albinus <michael.albinus@gmx.de>
3495
3496 * net/tramp.el (tramp-action-password): Let-bind
3497 `enable-recursive-minibuffers' to t.
3498
a77b0ac9
SS
34992012-04-18 Sam Steingold <sds@gnu.org>
3500
3501 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3502 instead of 'string to accommodate values like [f11].
3503 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3504 * progmodes/gdb-mi.el: Likewise.
3505
12a106a9
LL
35062012-04-18 Leo Liu <sdl.web@gmail.com>
3507
3508 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3509 current buffer.
3510 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3511 LOCAL is nil.
3512
bc6494ef
CY
35132012-04-18 Chong Yidong <cyd@gnu.org>
3514
3515 * simple.el (line-move): Use forward-line if in batch mode
3516 (Bug#11053).
3517
c09c46b2
CS
35182012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
3519
3520 * files.el (after-find-file): Do not try to add a final newline if
3521 the buffer is read-only (Bug#11156).
3522
5f6530ea
RS
35232012-04-17 Richard Stallman <rms@gnu.org>
3524
3525 * mail/rmail.el (rmail-start-mail):
3526 Pass (rmail-mail-return...) for the return-action.
3527 Pass (rmail-yank-current-message...) for the yank-action.
3528 (rmail-yank-current-message): New function.
3529 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3530 (rmail-reply): Likewise.
3531 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3532
3533 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 3534 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
3535 buffer, not newbuf.
3536
197b6f3c
JB
35372012-04-17 Juanma Barranquero <lekktu@gmail.com>
3538
3539 * server.el (server-ensure-safe-dir): Simplify.
3540
2311d8e5 35412012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 3542
2311d8e5
GM
3543 * emacs-lisp/smie.el: Provide smarter auto-filling.
3544 (smie-auto-fill): New function.
3545 (smie-setup): Use it.
98fb480e 3546
2311d8e5
GM
3547 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3548
35492012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
3550
3551 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3552 (comment-indent): Use it.
3553
2311d8e5 35542012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
3555
3556 * ses.el: The overall change is to add cell renaming, that is
3557 setting fancy names for cell symbols other than name matching
3558 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 3559 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 3560 (ses-create-cell-variable): New defun.
2311d8e5 3561 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
3562 (ses-relocate-formula): Relocate formulas only for cells the
3563 symbols of which are not renamed, i.e. symbols whose names do not
3564 match regexp "\\`[A-Z]+[0-9]+\\'".
3565 (ses-relocate-all): Relocate values only for cells the symbols of
3566 which are not renamed.
3567 (ses-load): Create cells variables as the (ses-cell ...) are read,
3568 in order to check row col consistency with cell symbol name only
3569 for cells that are not renamed.
3570 (ses-replace-name-in-formula): New defun.
3571 (ses-rename-cell): New defun.
4bdf2ad2 3572
fc72b15c
PO
35732012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
3574
3575 * progmodes/perl-mode.el (perl-indent-parens-as-block):
3576 New option (bug#11118).
3577 (perl-calculate-indent): Respect it.
3578
12e10e61
GM
35792012-04-17 Glenn Morris <rgm@gnu.org>
3580
3581 * dired-aux.el (dired-mark-read-string): Doc fix.
3582
30009afd
DA
35832012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
3584
3585 * dired-aux.el (dired-mark-read-string): Offer optional completion.
3586 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
3587
41f03f4d
GM
35882012-04-17 Glenn Morris <rgm@gnu.org>
3589
3590 * mouse.el (mouse-drag-track):
3591 * speedbar.el (speedbar-frame-mode):
3592 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3593
f45f90f3
LL
35942012-04-16 Leo Liu <sdl.web@gmail.com>
3595
3596 * progmodes/python.el: Trivial cleanup.
3597
94ee8db5
GM
35982012-04-16 Glenn Morris <rgm@gnu.org>
3599
121b8917
GM
3600 * vc/vc.el (vc-string-prefix-p):
3601 * vc/pcvs-util.el (cvs-string-prefix-p):
3602 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3603 * mpc.el (mpc-string-prefix-p):
3604 Make all of these into obsolete aliases for string-prefix-p.
3605 Update callers.
3606 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3607
1197ecfa
GM
3608 * textmodes/two-column.el: Move custom options to the start.
3609 (frame-width): Remove compat definition.
3610 (2C-associate-buffer, 2C-dissociate):
3611 Use with-current-buffer rather than save-excursion.
3612 (2C-dissociate): Force a mode-line update.
3613 (2C-autoscroll): Use ignore-errors.
3614
099e7202
GM
3615 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3616 Autoload trivia.
3617
bf350d6a
GM
3618 * emacs-lisp/cl-extra.el (*random-state*):
3619 Remove unnecessary declaration.
3620
0e829eab
GM
3621 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3622
e3ad7552
GM
3623 * play/cookie1.el (cookie-snarf):
3624 Give an explicit error if input file cannot be read.
3625
68892d27
GM
3626 * play/yow.el (yow-file): Use expand-file-name rather than concat.
3627
20f0c46d
GM
3628 * progmodes/perl-mode.el (c-macro-expand):
3629 Remove unnecessary autoload (it is in loaddefs.el).
3630
5a0978ce
GM
3631 * textmodes/picture.el (picture-desired-column)
3632 (picture-update-desired-column): Convert comments to doc-strings.
3633 (picture-substitute): Remove function.
3634 (picture-mode-map): Initialize in the defvar.
3635
6b955486
GM
3636 * woman.el: Remove eval-after-load for tar-mode.
3637 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3638 (woman-tar-extract-file): Autoload it.
3639
94ee8db5
GM
3640 * frame.el (automatic-hscrolling): Make this alias obsolete.
3641
177eca34
AM
36422012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3643
3644 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 3645 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
3646 (ispell-dictionary-base-alist): Revert to original XEmacs
3647 friendly version for default. [:alpha:] will be added in
3648 `ispell-set-spellchecker-params' if needed
177eca34 3649
c505aaeb
CY
36502012-04-16 Chong Yidong <cyd@gnu.org>
3651
3652 * image.el (imagemagick--extension-regexp): New variable.
3653 (imagemagick-register-types): Use it.
3654 (imagemagick-types-inhibit): Add :set function. Allow new value
3655 of t to inhibit all types.
3656
3657 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
3658 so we can preload it.
3659
3660 * loadup.el (fboundp): Preload regexp-opt, needed by
3661 imagemagick-register-types.
3662
60efac0f
CY
36632012-04-15 Chong Yidong <cyd@gnu.org>
3664
3665 * frame.el (scrolling): Remove nearly unused customization group.
3666
3667 * scroll-all.el (scroll-all-mode): Move to windows group.
3668
5dd1713e
CY
36692012-04-15 Chong Yidong <cyd@gnu.org>
3670
3671 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
3672
e6fd457e
CY
36732012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3674
3675 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 3676 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 3677
e153c136
GM
36782012-04-15 Glenn Morris <rgm@gnu.org>
3679
3680 * simple.el (process-file-side-effects): Doc fix.
3681
e6fd457e 36822012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
3683
3684 * international/mule-cmds.el (set-language-environment): Doc fix.
3685
3603c3b1
JB
36862012-04-14 Juanma Barranquero <lekktu@gmail.com>
3687
3688 * server.el (server-auth-key, server-generate-key): Doc fixes.
3689 (server-get-auth-key): Doc fix. Use `string-match-p'.
3690 (server-start): Reflow docstring.
3691
e6de100c
LI
36922012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
3693
3694 * server.el (server-generate-key): `called-interactively-p'
3695 requires a parameter.
3696
29734c21
MN
36972012-04-14 Michal Nazarewicz <mina86@mina86.com>
3698
3699 * server.el (server-auth-key): New variable.
75f1671a 3700 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
3701 (server-start): Use the new variable and functions to allow
3702 setting a permanent server key (bug#9423).
3703
d65c9521
LL
37042012-04-14 Leo Liu <sdl.web@gmail.com>
3705
3706 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3707
5ae255c7
PE
37082012-04-14 Paul Eggert <eggert@cs.ucla.edu>
3709
3710 Spelling fixes.
3711 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3712 Emacs uses American spelling.
3713
d5e6342e
JB
37142012-04-14 Juanma Barranquero <lekktu@gmail.com>
3715
3716 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3717 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
3718 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3719 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
3720
ab036cd7
SM
37212012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3722
3723 * progmodes/which-func.el (which-func-modes): Change default.
3724
35dc09a1 37252012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
3726
3727 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3728 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3729
35dc09a1 37302012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
3731
3732 * custom.el (custom-theme-set-variables): Doc fix.
3733
35dc09a1 37342012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
3735
3736 * international/mule.el (set-auto-coding-for-load): Doc fix.
3737
35dc09a1 37382012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 3739
35dc09a1
GM
3740 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3741 imenu work again for Objective C Mode. Correct the *-index values,
3742 these having been disturbed by a previous change in 2011-08.
57f845ee 3743
0de3da9f
AM
3744 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3745 Correct two search limits.
3746
35dc09a1 37472012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
3748
3749 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3750
35dc09a1 37512012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
3752
3753 * international/characters.el: Fix sorting.
3754
35dc09a1 37552012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
3756
3757 * international/characters.el: Add more missing Latin case pairs.
3758
35dc09a1 37592012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
3760
3761 * files.el (dir-locals-set-class-variables): Doc fix.
3762
35dc09a1 37632012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 3764
3f1b5bf8
EZ
3765 * international/characters.el: Add set-case-syntax-pair call for
3766 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3767 counterpart. (Bug#11209)
3768
9f847f41
EZ
3769 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
3770
35dc09a1 37712012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
3772
3773 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3774
35dc09a1 37752012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 3776
35dc09a1
GM
3777 * textmodes/ispell.el (ispell-dictionary-base-alist):
3778 Add data for Hebrew.
e2627d21 3779
35dc09a1 37802012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 3781
35dc09a1
GM
3782 * net/rcirc.el (rcirc-cmd-quit):
3783 Revert 2012-03-18 change (Bug#11192).
5c14e333 3784
35dc09a1 37852012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
3786
3787 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3788
35dc09a1 37892012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 3790
4517fe3a
SM
3791 * minibuffer.el (completion-in-region-mode-map):
3792 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 3793
b472a594
VD
37942012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3795
3796 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3797
09b95ce3
MY
37982012-04-13 Masatake YAMATO <yamato@redhat.com>
3799
3800 * minibuffer.el (minibuffer-local-filename-syntax): New variable
3801 to allow `C-M-f' and `C-M-b' to move to the nearest path
3802 separator (bug#9511).
3803
4b63a9ca
LI
38042012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
3805
3806 * avoid.el: Require cl when compiling. And also move the
3807 `provide' to the end.
3808
7b55b8bf
TV
38092012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3810
3811 * avoid.el (mouse-avoidance-banish-position): New variable.
3812 (mouse-avoidance-banish-destination): Use it (bug#10165).
3813
adedaa1f
LL
38142012-04-13 Leo Liu <sdl.web@gmail.com>
3815
3816 * progmodes/which-func.el (which-func-modes): Add objc-mode.
3817
70e74021
KB
38182012-04-13 Ken Brown <kbrown@cornell.edu>
3819
3820 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 3821 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
3822 (browse-url-filename-alist): For the same reason, don't modify
3823 file:// URLs on Cygwin.
3824
e75e89ba
SM
38252012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3826
3827 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3828 the region on shift if the binding is already shifted (bug#11221).
3829
82f289a4
GM
38302012-04-12 Glenn Morris <rgm@gnu.org>
3831
3832 * mail/mailpost.el: Move to obsolete/.
3833
d333dc4c
DA
38342012-04-12 Drew Adams <drew.adams@oracle.com>
3835
3836 * imenu.el (imenu--generic-function): Ignore invisible definitions
3837 (bug#10123).
3838
0d15b5ba
VD
38392012-04-12 Vivek Dasmohapatra <vivek@etla.org>
3840
3841 * hexl.el (hexl-bits): New variable.
3842 (hexl-options): Mention the variable in the doc string.
75f1671a 3843 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 3844 (hexl-mode): Mention the new variable.
75f1671a
JB
3845 (hexl-mode, hexl-current-address, hexl-current-address):
3846 Use the displen.
0d15b5ba
VD
3847 (hexl-ascii-start-column): New function.
3848 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3849 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3850
64a440db
AM
38512012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3852
3853 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3854 '("-i" ENCODING), in 2 separate command-line arguments, to specify
3855 the encoding, as expected by hunspell.
3856
6decb6c2
SM
38572012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3858
3859 * battery.el (battery--linux-sysfs-regexp): New const.
3860 (battery-status-function): Use it. Remove yeeloong special case.
3861 (battery-yeeloong-sysfs): Remove.
3862 (battery-echo-area-format): Remove yeeloong special case.
3863
088be6fb
SM
38642012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3865
6622e416
SM
3866 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3867 Reported by Noah Friedman.
3868
088be6fb
SM
3869 * subr.el (read-passwd): Use read-string.
3870
b49f886e
LMI
38712012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3872
3873 * vcursor.el (vcursor-move): Increase the priority of the overlay
3874 (bug#9663).
3875
a63067fc
DD
38762012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3877
3878 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3879 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3880
ac3cf14a
WS
38812012-04-11 William Stevenson <yhvh2000@gmail.com>
3882
3883 * textmodes/artist.el (artist-mode): Convert artist-mode to use
3884 define-minor-mode (bug#10760).
3885
c4fc691b 38862012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 3887
4d6769e1 3888 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
3889 that directories matching `grep-find-ignored-files' won't be
3890 pruned (bug#10351).
3891
af23e2e5
CY
38922012-04-11 Chong Yidong <cyd@gnu.org>
3893
3894 * startup.el (command-line): Remove support for long-obsolete
3895 variable font-lock-face-attributes.
3896
ab7ce8c1
GM
38972012-04-11 Glenn Morris <rgm@gnu.org>
3898
3899 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
3900
de8c03dc
SM
39012012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3902
3903 * window.el (window--state-get-1): Obey window-point-insertion-type.
3904
050cc68b
LB
39052012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
3906
3907 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
3908 to previous function when point is on the first character of a
75f1671a 3909 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 3910
a38c310c
GM
39112012-04-11 Glenn Morris <rgm@gnu.org>
3912
effed0c2
GM
3913 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
3914 not just file-errors.
3915
a38c310c
GM
3916 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
3917 (vc-bzr-sha1): Use internal sha1.
3918
0221e323
SM
39192012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3920
3921 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
3922
43956923
SG
39232012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
3924
3925 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
3926 that start in the middle of the line (bug#10496).
3927
6a8c9eaf
DN
39282012-04-10 Dan Nicolaescu <dann@gnu.org>
3929
3930 * battery.el (battery-linux-proc-acpi): Only one battery is
3931 discharged at a time, but that seems to confuse battery.el when
3932 computing `rate-type' for the battery not being discharged
3933 (bug#10332).
3934
1930bf5d
SM
39352012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3936
2a718f6f
SM
3937 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
3938
599430d0
SM
3939 * international/quail.el: Use dolist and simplify.
3940 (quail-define-package, quail-update-keyboard-layout)
3941 (quail-define-rules): Use dolist.
3942 (quail-insert-kbd-layout, quail-get-translation): CSE.
3943
a2754b6c
SM
3944 * tmm.el: Use dolist, remove left over hook.
3945 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
3946 Use dolist.
3947 (calendar-load-hook): Don't mess with it.
3948
1930bf5d
SM
3949 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3950 Use derived-mode-p. Run the diff asynchronously.
3951
9f67961c
LMI
39522012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3953
3954 * obsolete/mouse-sel.el: Add an Obsolete-since header.
3955
2a8ce227
JB
39562012-04-10 Juanma Barranquero <lekktu@gmail.com>
3957
3958 * misc.el: Display absolute path of loaded DLLs (bug#10424).
3959 (list-dynamic-libraries--loaded): New function.
3960 (list-dynamic-libraries--refresh): Use it.
3961
8f33b5f8
NW
39622012-04-10 Nathan Weizenbaum <nweiz@google.com>
3963
1930bf5d
SM
3964 * progmodes/python.el (python-fill-paragraph):
3965 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
3966 disabled (bug#7018).
3967
b12f0439
L
39682012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
3969
1930bf5d 3970 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
3971 DOS/MS Windows for the Baltic languages. There are still plenty
3972 of texts written in this encoding/codepage (bug#6519).
b12f0439 3973
57c3bd01
GM
39742012-04-10 Glenn Morris <rgm@gnu.org>
3975
3976 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
3977 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
3978
6c3eab30
FA
39792012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
3980
1930bf5d 3981 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
3982 next-line "n" and previous-line "p" in order to make recentf more
3983 consistent with ibuffer, dired or org-mode (bug#9387).
3984
24d78a88
LMI
39852012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3986
bc72b5d9
LMI
3987 * image.el (put-image): Return the overlay created instead of the
3988 optional input string (bug#7834). Note that this may break code
3989 that is (for some reason or other) depending on `put-image'
3990 returning the string.
3991
bd2dba5a
LMI
3992 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3993
74beb59f
LMI
3994 * simple.el (zap-to-char): Allow zapping using input methods
3995 (bug#1580).
3996
24d78a88
LMI
3997 * textmodes/fill.el (fill-region): Leave point and mark where they
3998 were before filling (bug#5399).
3999
263f20cd
GM
40002012-04-09 Glenn Morris <rgm@gnu.org>
4001
4002 * version.el (emacs-bzr-get-version):
4003 Handle lightweight checkouts of local branches.
4004
58d1f797
AS
40052012-04-09 Andreas Schwab <schwab@linux-m68k.org>
4006
263f20cd 4007 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 4008
b4d3bc10
CY
40092012-04-09 Chong Yidong <cyd@gnu.org>
4010
4011 * custom.el (custom-variable-p): Return nil for non-symbol
4012 arguments instead of signaling an error.
4013 (user-variable-p): Obsolete alias for custom-variable-p.
4014
4015 * apropos.el (apropos-variable):
4016 * files-x.el (read-file-local-variable):
4017 * simple.el (set-variable):
4018 * woman.el (woman-mini-help):
4019 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
4020
fd06db5d
GM
40212012-04-09 Glenn Morris <rgm@gnu.org>
4022
e5fcdb5e
GM
4023 * startup.el (normal-top-level): Don't look for leim-list.el
4024 in places where it will not be found. (Bug#910)
4025
fd06db5d
GM
4026 * international/mule-cmds.el (set-default-coding-systems):
4027 * files.el (normal-mode):
4028 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
4029 This function was removed with ucs-tables.el in 2008.
4030
b39bb7e1
EZ
40312012-04-08 Eli Zaretskii <eliz@gnu.org>
4032
4033 * textmodes/ispell.el (ispell-check-version): For hunspell, set
4034 ispell-encoding8-command to "-i", without a trailing space.
4035 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
4036 separate command-line arguments, to specify the encoding, since
4037 that's how hunspell expects it.
4038
5c5b8e23
GM
40392012-04-08 Glenn Morris <rgm@gnu.org>
4040
4041 * loadup.el: Load bindings before cus-start.
4042 This reduces somewhat the number of "rogue" settings in emacs -Q.
4043
a1ed8b05
GM
40442012-04-07 Glenn Morris <rgm@gnu.org>
4045
4046 * version.el (emacs-bzr-get-version): New function.
dfae128a 4047 (emacs-bzr-version): New variable.
a1ed8b05
GM
4048 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
4049 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
4050
b142f158
EZ
40512012-04-07 Eli Zaretskii <eliz@gnu.org>
4052
dfae128a
GM
4053 * international/uni-bidi.el, international/uni-category.el:
4054 * international/uni-combining.el, international/uni-decimal.el:
4055 * international/uni-decomposition.el, international/uni-digit.el:
4056 * international/uni-lowercase.el, international/uni-mirrored.el:
4057 * international/uni-name.el, international/uni-numeric.el:
4058 * international/uni-titlecase.el, international/uni-uppercase.el:
4059 Update for Unicode 6.1.
b142f158 4060
9078ead6
EZ
40612012-04-07 Eli Zaretskii <eliz@gnu.org>
4062
4063 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
4064
f23d2c7d
LMI
40652012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4066
4067 * window.el (shrink-window): Mention the `window-min-height'
4068 variable in the doc string.
4069
0a0a3573
BG
40702012-04-05 Bastien Guerry <bzg@altern.org>
4071
4072 * color.el (color-lighten-name): Fix typo.
4073
e5248ac9
SM
40742012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4075
4076 * server.el (server--on-display-p): New function.
4077 (server--on-display-p): Use it.
4078
b4243e22
GV
40792012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
4080
4081 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
4082 (bug#11145).
4083
305d9f44
SM
40842012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4085
4086 * comint.el (comint--common-quoted-suffix): Check string boundary
4087 before comparing (bug#11158).
4088 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
4089
3d439cd1
CY
40902012-04-04 Chong Yidong <cyd@gnu.org>
4091
321cc491
CY
4092 * minibuffer.el (completion-extra-properties): Doc fix.
4093
3d439cd1
CY
4094 * subr.el (delayed-warnings-hook): Doc fix.
4095
2d562c0f
DU
40962012-04-04 Daiki Ueno <ueno@unixuser.org>
4097
4098 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
4099 selection (Bug#11159).
4100 (epa-insert-keys): Inform that the default public key will be
4101 exported if no key is selected.
4102
4443f204
RS
41032012-04-04 Richard Stallman <rms@gnu.org>
4104
4105 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
4106
529c06b6
CY
41072012-04-03 Chong Yidong <cyd@gnu.org>
4108
4109 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
4110 mail-insert-file, not its obsolete alias mail-attach-file.
4111
66b907dc
MA
41122012-04-03 Michael Albinus <michael.albinus@gmx.de>
4113
4114 * notifications.el (notifications-notify): Fix docstring.
4115
c0ea195d
GM
41162012-04-02 Glenn Morris <rgm@gnu.org>
4117
4118 * emacs-lisp/authors.el (authors-aliases): Another addition.
4119
5ca64e00
MA
41202012-04-02 Michael Albinus <michael.albinus@gmx.de>
4121
4122 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
4123 `tramp-compat-call-process' instead of `tramp-local-call-process'.
4124 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
4125
42ee526b
CY
41262012-04-01 Chong Yidong <cyd@gnu.org>
4127
4128 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
4129 Handle root directory properly.
4130 (copy-directory): Caller changed.
4131
4132 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4133 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
4134
0b021094
GM
41352012-03-31 Glenn Morris <rgm@gnu.org>
4136
40f86458
GM
4137 * term/xterm.el (xterm-extra-capabilities): Doc fix.
4138
7019c177
GM
4139 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
4140
a1daddd6
GM
4141 * calendar/calendar.el (calendar-window-list)
4142 (calendar-hide-window): Restore. (Bug#11140)
4143 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
4144
0b021094
GM
4145 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
4146
40311efc
TV
41472012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4148
4149 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4150 Check if file is a symlink (Bug#10489).
4151
4152 * files.el (copy-directory): Likewise.
4153
5319014e
CY
41542012-03-30 Chong Yidong <cyd@gnu.org>
4155
4156 * image.el (imagemagick-types-inhibit)
4157 (imagemagick-register-types): Doc fix.
4158
935d1290
AM
41592012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4160
ef24141c
SM
4161 * ispell.el (ispell-get-extended-character-mode):
4162 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 4163 and treats ~word as ordinary words in pipe mode.
935d1290 4164
61c6e8fd
GM
41652012-03-30 Glenn Morris <rgm@gnu.org>
4166
4167 * tutorial.el (help-with-tutorial): Ensure local variables don't
4168 happen to make the buffer read-only. (Bug#11127)
4169
81fdff00
SM
41702012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4171
4172 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
4173 (perl-calculate-indent): Return `noindent' in strings.
4174
6e7a6ec0
SS
41752012-03-28 Sam Steingold <sds@gnu.org>
4176
4177 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
4178 instead of the broken adhockery which does not prevent calendar
4179 buffers from being displayed at random after exit.
4180 (calendar-window-list, calendar-hide-window): Remove the broken
4181 adhockery.
4182
fee88ca0
GM
41832012-03-28 Glenn Morris <rgm@gnu.org>
4184
4185 * replace.el (query-replace-map): Doc fix.
4186
38de3354
AS
41872012-03-28 Andreas Schwab <schwab@linux-m68k.org>
4188
4189 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
4190 contents. (Bug#11109)
4191
b973155e
SM
41922012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4193
4194 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
4195 (bug#11077).
4196 (avl-tree--check, avl-tree--check-node): New funs.
4197
dcb6e7b3
MR
41982012-03-27 Martin Rudalics <rudalics@gmx.at>
4199
4200 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
4201 (switch-to-prev-buffer, switch-to-next-buffer):
4202 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
4203 showing a buffer already is done on the same frame.
4204
b4fa35fa
GM
42052012-03-27 Glenn Morris <rgm@gnu.org>
4206
4207 * startup.el (mail-host-address): Doc fix.
4208
f9210e18
SM
42092012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4210
4211 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
4212 than 197 variables.
4213
c0bf7753
AF
42142012-03-26 Ami Fischman <ami@fischman.org>
4215
4216 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
4217
33da7b16
GM
42182012-03-26 Glenn Morris <rgm@gnu.org>
4219
02243d9d
GM
4220 * files.el (save-buffers-kill-emacs): Doc fix.
4221
33da7b16
GM
4222 * startup.el (normal-top-level, command-line, command-line-1):
4223 Give them doc strings.
4224
e5a69fd0
EZ
42252012-03-25 Eli Zaretskii <eliz@gnu.org>
4226
4227 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 4228 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 4229
9a69676a
CY
42302012-03-25 Chong Yidong <cyd@gnu.org>
4231
4125cb8b
CY
4232 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
4233 theme if it was previously enabled before (Bug#11031).
4234
dd470960
CY
4235 * cus-theme.el (custom-theme-write-faces): Retrieve current face
4236 spec with custom-face-get-current-spec if its :shown-value is not
4237 determined yet (Bug#9337).
4125cb8b 4238 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 4239
9a69676a
CY
4240 * button.el (button-at): Minor addition to docstring.
4241
6e7e90fa
SL
42422012-03-24 Simon Leinen <simon.leinen@gmail.com>
4243
4244 * vc/vc.el (vc-merge): Fix a prompt.
4245
f06e2758
CY
42462012-03-24 Chong Yidong <cyd@gnu.org>
4247
4248 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
4249 point (Bug#9623).
4250
6e7e90fa
SL
4251 * button.el (button-at): Minor addition to docstring.
4252
b9d0879b
SM
42532012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
4254
4255 * newcomment.el (comment-choose-indent): No space after BOL.
4256
e71cebb3
SS
42572012-03-22 Sam Steingold <sds@gnu.org>
4258
4259 * window.el (switch-to-prev-buffer): Revert last patch because the
4260 bug turned out to be an advertised feature (Elisp manual 28.14).
4261
335aff35
GM
42622012-03-22 Glenn Morris <rgm@gnu.org>
4263
4264 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
4265 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
4266
c676576a
LMI
42672012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4268
4269 * net/network-stream.el (network-stream-open-starttls): Make error
4270 message under Windows be less misleading.
4271
126f3d39
LW
42722012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
4273
4274 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
4275 understands (bug#9942).
4276
64fee311
CY
42772012-03-22 Chong Yidong <cyd@gnu.org>
4278
4279 * simple.el (end-of-visible-line): Handle return value of
4280 next-single-property-change properly (Bug#9371).
4281
a640d29a
KH
42822012-03-22 Kenichi Handa <handa@m17n.org>
4283
4284 * international/quail.el (quail-insert-kbd-layout): Fix previous
4285 change. To avoid unwanted bidi reordering, use
4286 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
4287
39675016
DG
42882012-03-21 Dmitry Gutov <dgutov@yandex.ru>
4289
4290 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
4291 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
4292 (ruby-beginning-of-indent): Be more careful with the difference
4293 between word-boundary and symbol boundary.
4294 (ruby-mode-syntax-table): Make : a symbol constituent.
4295
0a6934fc 42962012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 4297
3d008e4f
SM
4298 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
4299
0a6934fc
SM
43002012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4301
af67c9d7
SM
4302 * progmodes/etags.el (tags-completion-at-point-function):
4303 Improve last fix.
4304
1acad97c
SM
4305 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
4306
e298b5da
SS
43072012-03-21 Sam Steingold <sds@gnu.org>
4308
4309 * progmodes/etags.el (tags-completion-at-point-function):
4310 Avoid the error when point is inside the pattern.
4311
91d82a70
JY
43122012-03-21 John Yates <john@yates-sheets.org> (tiny change)
4313
4314 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
4315 line (Bug#10855).
4316
69188b79
CY
43172012-03-21 Drew Adams <drew.adams@oracle.com>
4318
4319 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
4320
99fc91fe
AK
43212012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
4322
4323 * ido.el (ido-set-current-directory, ido-read-internal)
4324 (ido-choose-completion-string, ido-completion-help): Handle nil
4325 value of ido-completion-buffer (Bug#11008).
4326
087bbb4c
SS
43272012-03-21 Sam Steingold <sds@gnu.org>
4328
4329 * window.el (switch-to-prev-buffer): Do not switch to a visible
4330 window previous buffer, just like with the frame previous buffers.
4331
fb5b8aca
CY
43322012-03-21 Chong Yidong <cyd@gnu.org>
4333
4334 * faces.el (make-face, make-empty-face, copy-face):
4335 * face-remap.el (face-remap-add-relative, face-remap-set-base):
4336 Doc fixes.
4337
dc9924b8
SM
43382012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4339
4340 * wid-edit.el (widget-complete-field): Remove (bug#11051).
4341 (widget-complete): Remove broken use of it.
4342
f0bcceb9
CY
43432012-03-20 Chong Yidong <cyd@gnu.org>
4344
dc9924b8
SM
4345 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4346 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
4347 characters.
4348
ee52ebf3
TH
43492012-03-20 Tassilo Horn <tassilo@member.fsf.org>
4350
4351 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
4352 to draw rectangles, not squares. (Regression introduced by revno
4353 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
4354
4c5779ab
CY
43552012-03-18 Chong Yidong <cyd@gnu.org>
4356
4357 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
4358 it is not yet defined (for temacs).
4359
15360934
LL
43602012-03-18 Leo Liu <sdl.web@gmail.com>
4361
dc9924b8 4362 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 4363
d9a8eb66
EZ
43642012-03-17 Eli Zaretskii <eliz@gnu.org>
4365
4366 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
4367 (ispell-choices-win-default-height, ispell-silently-savep)
4368 (ispell-dictionary-alist, ispell-encoding8-command)
4369 (ispell-check-version, ispell-aspell-find-dictionary)
4370 (ispell-valid-dictionary-list, ispell-words-keyword)
4371 (ispell-get-word, ispell-internal-change-dictionary)
4372 (ispell-region, ispell-skip-region-list)
4373 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
4374 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
4375 (ispell-message-text-end, ispell-message)
4376 (ispell-buffer-local-parsing): Doc fix.
4377
f02ff80d
J
43782012-03-13 Jambunathan K <kjambunathan@gmail.com>
4379
4380 * htmlfontify.el: Add support for code block fontification for ODT
4381 export (Bug #9914).
4382 (hfy-optimisations): Define new option
4383 `body-text-only'
4384 (hfy-fontify-buffer): Honor above setting.
4385 (hfy-begin-span, hfy-end-span): New routines factored out form
4386 `hfy-fontify-buffer'.
4387 (hfy-begin-span-handler, hfy-end-span-handler): New variables
4388 that permit insertion of custom tags.
4389 (hfy-fontify-buffer): Use above handlers.
4390 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
4391 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 4392 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 4393 over multiple runs. This is made possible by having the caller let
f02ff80d
J
4394 bind a special variable `hfy-user-sheet-assoc'.
4395 (htmlfontify-string): New defun.
4396 (hfy-compile-face-map): Make sure that the last char in the
4397 buffer is correctly fontified.
4398 (hfy-face-resolve-face): Whitespace only change.
4399
9ac7a13f
EZ
44002012-03-17 Eli Zaretskii <eliz@gnu.org>
4401
4402 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
4403 message more clear.
4404
e2b5bdd7
LL
44052012-03-16 Leo Liu <sdl.web@gmail.com>
4406
4407 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
4408
2e492df3
AM
44092012-03-16 Alan Mackenzie <acm@muc.de>
4410
4411 Further optimise the handling of large macros.
4412
4413 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
4414 limit to a call of `c-literal-limits'.
4415 (c-determine-+ve-limit): New function.
dc9924b8
SM
4416 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
4417 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
4418 In CASE 5B, restrict a search limit to 500.
4419 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
4420
4421 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
4422 Restrict macro bounds to +-500 from after-change's BEG END.
4423
50e94f0c
LL
44242012-03-16 Leo Liu <sdl.web@gmail.com>
4425
4426 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4427
6f09f6ed
AH
44282012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
4429
4430 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 4431 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 4432
c7e73d51
GM
44332012-03-16 Glenn Morris <rgm@gnu.org>
4434
da986230
GM
4435 * view.el (view-buffer, view-buffer-other-window)
4436 (view-buffer-other-frame): Doc fixes re special mode-class.
4437
0835f01e
GM
4438 * subr.el (eval-after-load): If named feature is provided not from
4439 a file, run after-load forms. (Bug#10946)
4440
c7e73d51
GM
4441 * calendar/calendar.el (calendar-insert-at-column):
4442 Handle non-unit-width characters a bit better. (Bug#10978)
4443
3f2eafd1
CY
44442012-03-15 Chong Yidong <cyd@gnu.org>
4445
4446 * emacs-lisp/ring.el (ring-extend): New function.
4447 (ring-insert+extend): Extend the ring correctly (Bug#11019).
4448
4449 * comint.el (comint-read-input-ring)
4450 (comint-add-to-input-history): Grow comint-input-ring lazily.
4451
103af3fe
SM
44522012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4453
663b1677
SM
4454 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4455 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4456
103af3fe
SM
4457 * imenu.el: Fix multiple inheritance breakage (bug#9199).
4458 (imenu-add-to-menubar): Don't add a redundant index.
4459 (imenu-update-menubar): Handle a dynamically composed keymap.
4460
899cb7cb
KY
44612012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
4462
4463 * mail/sendmail.el (mail-encode-header):
4464 Bind rfc2047-encode-encoded-words to nil.
4465
3809f91d
GM
44662012-03-13 Glenn Morris <rgm@gnu.org>
4467
4468 * calendar/calendar.el (calendar-string-spread):
4469 Handle non-unit-width characters a bit better. (Bug#10978)
4470
9e345a01
LL
44712012-03-13 Leo Liu <sdl.web@gmail.com>
4472
4473 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4474 directory and file as argument (Bug#10822).
4475
4a07df36
KS
44762012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4477
4478 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4479 For dynamically generated code, follow $PC.
4480 (gdb-disassembly-handler-custom): Handle no function name case.
4481
4aaa9356
TL
44822012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
4483
4484 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4485 * emulation/ws-mode.el (ws-query-replace):
4486 * sort.el (sort-regexp-fields):
4487 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
4488
225979da
SM
44892012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4490
4491 * dabbrev.el: Fix cycle completion order (bug#10963).
4492 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4493 (dabbrev-completion): Don't use an obarray; provide
4494 a cycle-sort-function.
4495
e2f1fdab
LL
44962012-03-12 Leo Liu <sdl.web@gmail.com>
4497
dc9924b8 4498 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
4499 (kill-do-not-save-duplicates): Doc fix.
4500
b19490ed
SM
45012012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4502
4503 * dabbrev.el: Fix cycle completion (bug#10963).
4504 Use lexical binding and wrap to 80 columns.
4505 (dabbrev-completion): Delay computing the list of completions.
4506
4b05d722
KH
45072012-03-12 Kenichi Handa <handa@m17n.org>
4508
4509 * international/quail.el (quail-insert-kbd-layout): Surround each
4510 row by LRO and PDF instead of inserting many LRMs. Pad the left
4511 and right of each non-spacing marks. Insert invisible space
4512 between lower and upper characters to prevent composition.
4513
dbbc2e69
SM
45142012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4515
4516 * minibuffer.el (minibuffer-complete): Don't get confused when the
4517 function is run twice via different commands (bug#10958).
4518 (complete-with-action): Fix docstring.
4519
292112ed
CY
45202012-03-12 Chong Yidong <cyd@gnu.org>
4521
5d1ac394
CY
4522 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4523 (nxml-completion-at-point-function): New function.
4524 (nxml-mode): Use it.
4525 (nxml-bind-meta-tab-to-complete-flag): Default to t.
4526
292112ed
CY
4527 * emacs-lisp/package.el (package-unpack, package-unpack-single):
4528 Load generated autoloads file before byte compiling (Bug#10970).
4529 (package--make-autoloads-and-compile): New helper fun.
4530
4098f8f7
CS
45312012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
4532
4533 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4534
8f754691
MA
45352012-03-11 Michael Albinus <michael.albinus@gmx.de>
4536
4537 * autorevert.el (auto-revert-handler): Ensure, that
4538 file-readable-p is applied only for local files or in
4539 auto-revert-tail-mode.
4540
e29ab36b
AS
45412012-03-11 Andreas Schwab <schwab@linux-m68k.org>
4542
dbbc2e69
SM
4543 * server.el (server-eval-at): Handle non-tcp connections.
4544 Decode result string.
ad0bf5b6 4545
e29ab36b
AS
4546 * server.el (server-msg-size): New constant.
4547 (server-reply-print): New function.
4548 (server-eval-and-print): Use it.
4549 (server-eval-at): Use server-quote-arg and server-unquote-arg.
4550 Handle -print-nonl.
4551
de5939ba
CS
45522012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
4553
4554 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4555 (Bug#10987).
4556
0c93eabf
CY
45572012-03-11 Chong Yidong <cyd@gnu.org>
4558
397a688f
CY
4559 * simple.el (goto-line): Doc fix (Bug#9938).
4560
2cc775f9
CY
4561 * subr.el (save-window-excursion): Doc fix (Bug#9979).
4562
0c93eabf
CY
4563 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4564 when finished (Bug#10963).
4565
c491fa41
MR
45662012-03-11 Martin Rudalics <rudalics@gmx.at>
4567
4568 * window.el (split-window-below): Fix bug in case where
4569 split-window-keep-point is nil (Bug#10971).
4570
300e8fa5
JL
45712012-03-11 Juri Linkov <juri@jurta.org>
4572
4573 * replace.el (replace-highlight): Set isearch-word to nil
4574 unconditionally. (Bug#10887)
4575
dbf6c5a1
EZ
45762012-03-10 Eli Zaretskii <eliz@gnu.org>
4577
4578 * net/mairix.el (mairix-replace-invalid-chars): Rename from
4579 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 4580 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
4581 (mairix-widget-create-query): Add usage information about mairix
4582 search forms: negating words, searching for substrings, etc.
4583
b9e501de
JP
45842012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
4585
4586 * international/fontset.el (font-encoding-alist): Add an entry for
4587 ksx1001 (Bug#5667).
4588
92795c91
RS
45892012-03-10 Richard Stallman <rms@gnu.org>
4590
1694e6c1
RS
4591 * mail/sendmail.el (mail-encode-header):
4592 Set rfc2047-encode-encoded-words.
4593
607e8555
RS
4594 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4595
de3bc99a
RS
4596 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4597 view buffer means not swapped.
4598 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4599 (rmail-write-region-annotate): Error if real text has disappeared.
4600
92795c91
RS
4601 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4602
699bd04e
CY
46032012-03-10 Chong Yidong <cyd@gnu.org>
4604
4605 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
4606 * emulation/cua-base.el (cua--init-keymaps):
4607 Add delete-forward-char to remappings (Bug#9666).
699bd04e 4608
570a1714
MR
46092012-03-10 Martin Rudalics <rudalics@gmx.at>
4610
dbbc2e69
SM
4611 * speedbar.el (speedbar-unhighlight-one-tag-line):
4612 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 4613
82dcf4e4
CY
46142012-03-10 Chong Yidong <cyd@gnu.org>
4615
7a2c7ca7
CY
4616 * minibuffer.el (completion-in-region, completion-help-at-point):
4617 Give the completion field overlay a high priority (Bug#6830).
4618
82dcf4e4
CY
4619 * dired.el (dired-goto-file): Recognize absolute file name
4620 listings (Bug#7126).
4621 (dired-goto-file-1): New helper function.
4622 (dired-toggle-read-only): Inhibit warnings.
4623
052e28ac
MA
46242012-03-09 Michael Albinus <michael.albinus@gmx.de>
4625
75f1671a 4626 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
4627 there are no properties.
4628
95d5e396
LL
46292012-03-09 Leo Liu <sdl.web@gmail.com>
4630
4631 * savehist.el (savehist-printable): Stricter check for string
4632 value (Bug#10937).
4633
3f018d6d
EZ
46342012-03-09 Eli Zaretskii <eliz@gnu.org>
4635
dbbc2e69
SM
4636 * mail/smtpmail.el (smtpmail-send-it):
4637 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
4638 valid mbox format.
4639
f7fd3d79
GM
46402012-03-09 Glenn Morris <rgm@gnu.org>
4641
4642 * files.el (dir-locals-find-file):
4643 Don't check result is regular, readable.
4644 (dir-locals-read-from-file): Demote errors.
4645
6ff6e72f
EZ
46462012-03-08 Eli Zaretskii <eliz@gnu.org>
4647
dbbc2e69
SM
4648 * international/quail.el (quail-insert-kbd-layout):
4649 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
4650 layout cell, to prevent their reordering by bidi display engine.
4651 For details, see the discussion in
4652 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4653
9cec7834
AM
46542012-03-08 Alan Mackenzie <acm@muc.de>
4655
4656 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
4657 the starting position; make it extend the marked region when
4658 invoked repeatedly - all under appropriate circumstances.
4659 Fixes bugs #5525, #10906.
4660
9a40b8d4
GM
46612012-03-08 Glenn Morris <rgm@gnu.org>
4662
4663 * files.el (locate-dominating-file, dir-locals-find-file):
4664 Undo 2012-03-06 change.
4665
7a08ed35
EZ
46662012-03-07 Eli Zaretskii <eliz@gnu.org>
4667
dbbc2e69
SM
4668 * international/quail.el (quail-help):
4669 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
4670 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
4671 for the reason.
4672
5aca4f71 46732012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
4674
4675 Avoid superfluous registering of signals. (Bug#10807)
4676
4677 * notifications.el (notifications-on-action-object)
4678 (notifications-on-close-object): New defvars.
4679 (notifications-on-action-signal, notifications-on-closed-signal):
4680 Unregister the signal if not needed any longer.
4681 (notifications-notify): Register `notifications-action-signal' or
4682 `notifications-closed-signal', if :on-action or :on-close has been
4683 passed as argument.
4684
78e8b10a
CY
46852012-03-07 Chong Yidong <cyd@gnu.org>
4686
4687 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4688 non-X platforms.
4689
69481eb8
GM
46902012-03-06 Glenn Morris <rgm@gnu.org>
4691
4692 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4693 (x-disown-selection-internal, x-get-selection-internal):
4694 Doc fix (add arglist signatures). (Bug#10783)
4695
133b8e11
KS
46962012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4697
4698 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4699 Handle breakpoints with no "type".
4700
99a83064
GM
47012012-03-06 Glenn Morris <rgm@gnu.org>
4702
4703 * files.el (locate-dominating-file): Add optional predicate argument.
4704 (dir-locals-find-file): Make use of above change.
4705
17798e78
TTN
47062012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
4707
4708 * info.el (Info-insert-dir): Also try "dir.gz".
4709
eb182446
GM
47102012-03-06 Glenn Morris <rgm@gnu.org>
4711
8f2114ee
GM
4712 * files.el (dir-locals-find-file):
4713 Ignore non-readable or non-regular files. (Bug#10928)
4714
eb182446
GM
4715 * files.el (locate-dominating-file): Doc fix.
4716
24679323
AS
47172012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
4718
4719 * calendar/calendar.el (calendar-set-mode-line):
4720 `getenv' returns a string. (Bug#10951)
4721
01d972a9
LL
47222012-03-05 Leo Liu <sdl.web@gmail.com>
4723
109aa8a9
LL
4724 * simple.el (backward-delete-char-untabify): Constrain point to
4725 field (Bug#10939).
4726
01d972a9
LL
4727 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4728
10607bea
CY
47292012-03-05 Chong Yidong <cyd@gnu.org>
4730
4731 * simple.el (count-words): If called from Lisp, return the word
4732 count, for symmetry with `count-lines'. Arglist changed.
4733 (count-words--message): Args changed. Consolidate counting code
4734 from count-words and count-words-region.
4735 (count-words-region): Caller changed.
4736 (count-lines-region): Make it an obsolete alias.
4737
5dd11cfe
TH
47382012-03-04 Tassilo Horn <tassilo@member.fsf.org>
4739
4740 * saveplace.el (save-place-to-alist)
4741 (save-place-ignore-files-regexp): Allow value nil to disable this
4742 feature.
4743
c349f4e6
CY
47442012-03-04 Chong Yidong <cyd@gnu.org>
4745
4746 * faces.el (face-spec-reset-face): For the default face, reset the
4747 attributes to default values (Bug#10748).
4748
e627be4c
LMI
47492012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4750
4751 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4752 previous patch: Check `message-send-mail-function', and not the
4753 default function (bug#10897).
4754
ebeabff4
MA
47552012-03-04 Michael Albinus <michael.albinus@gmx.de>
4756
a41a6cf4
MA
4757 * notifications.el (notifications-on-action-signal)
4758 (notifications-on-closed-signal): Check for unique service name of
4759 incoming event. Fix error in removing entry.
ebeabff4 4760 (top): Register for signals with wildcard service name.
a41a6cf4 4761 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 4762
c1ca42b4
CY
47632012-03-04 Chong Yidong <cyd@gnu.org>
4764
dc9924b8 4765 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 4766
ea16568d
GM
47672012-03-04 Glenn Morris <rgm@gnu.org>
4768
4769 * abbrev.el (copy-abbrev-table, abbrev-table-p)
4770 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4771 (expand-abbrev, define-abbrev-table): Doc fixes.
4772
fbae4637
LMI
47732012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4774
4775 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4776 `message-default-send-mail-function' and not `send-mail-function'
4777 when doing the prompting for `sendmail-query-once' before sending
4778 in Message buffers (bug#10897).
4779
a1e7225c
LMI
4780 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4781 This is inconsistent with all the other stream functions, which leave
4782 the setting up to the higher levels (if so wanted) (bug#10931).
4783
56d093a9
AM
47842012-03-02 Alan Mackenzie <acm@muc.de>
4785
4786 Depessimize the handling of very large macros.
4787
4788 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4789 (c-macro-cache-syntactic): New variables to implement a one
4790 element macro cache.
4791 (c-invalidate-macro-cache): New function.
4792 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4793 Adapt to use the new cache.
4794 (c-state-safe-place): Use better the cache of safe positions.
4795 (c-state-semi-nonlit-pos-cache)
4796 (c-state-semi-nonlit-pos-cache-limit):
4797 New variables for...
4798 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
4799 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
4800 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4801 Use c-state-semi-safe-place.
56d093a9 4802
dbbc2e69
SM
4803 * progmodes/cc-langs.el (c-get-state-before-change-functions):
4804 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 4805
817e5c3d
MA
48062012-03-02 Michael Albinus <michael.albinus@gmx.de>
4807
dbbc2e69
SM
4808 * jka-compr.el (jka-compr-call-process):
4809 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
4810 not remote.
4811
a032a702
MA
48122012-03-01 Michael Albinus <michael.albinus@gmx.de>
4813
4814 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
4815 access of FILE2, if FILE1 does not exist.
4816
99a54f21
MA
4817 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4818 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4819
4820 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4821 Add "PAGER=" to `process-environment'.
4822
f6561e1f
MM
48232012-03-01 Michael R. Mauger <mmaug@yahoo.com>
4824
4825 * progmodes/sql.el: Bug fix
4826 (sql-get-login-ext): Save login values in globals.
4827 (sql-get-login): Use new version of `sql-get-login-ext'.
4828 (sql-interactive-mode): Set global `sql-connection' to nil.
4829 (sql-connect): Set global values for connection.
4830 (sql-product-interactive): Save global values as buffer local.
4831
2d44d9cc
LL
48322012-02-29 Leo Liu <sdl.web@gmail.com>
4833
4834 * abbrev.el (define-abbrevs): Reset sys to nil.
4835
96b49301 48362012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4837
bf7f9bc5
JB
4838 * files.el (file-equal-p): Rename from `files-equal-p'.
4839 Return nil when one or both files don't exist.
96b49301 4840 (file-subdir-of-p): Now only top directory must exists,
4841 return nil if it doesn't.
bf7f9bc5
JB
4842 (copy-directory): No need to test with `file-subdir-of-p' after
4843 creating dir.
4844 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4845 to `file-equal-p'.
96b49301 4846
44e97401
GM
48472012-02-28 Glenn Morris <rgm@gnu.org>
4848
4849 * shell.el (shell-mode):
4850 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4851 * play/landmark.el (landmark-font-lock-face-O):
4852 * play/handwrite.el (handwrite):
4853 * play/gomoku.el (gomoku-O):
4854 * net/browse-url.el (browse-url-browser-display):
4855 * international/mule.el (define-charset):
4856 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4857 * filesets.el (filesets-find-file-delay):
4858 * eshell/em-xtra.el (eshell-xtra):
4859 * eshell/em-unix.el (eshell-grep):
4860 * emulation/viper.el (viper-mode):
4861 * emacs-lisp/regexp-opt.el (regexp-opt-group):
4862 * emacs-lisp/easymenu.el (easy-menu-define):
4863 * calendar/timeclock.el (timeclock-use-display-time):
4864 * bs.el (bs-mode):
4865 * bookmark.el (bookmark-save-flag):
4866 Doc fix (standardize possessive apostrophe usage).
4867
c98c6276
CY
48682012-02-27 Chong Yidong <cyd@gnu.org>
4869
bf7f9bc5
JB
4870 * emulation/viper-cmd.el (viper-intercept-ESC-key):
4871 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 4872
c98c6276
CY
4873 * font-lock.el (font-lock-specified-p): Rename from
4874 font-lock-spec-present. Callers changed.
4875
9c62cd04 48762012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 4877
bf7f9bc5
JB
4878 * emacs-lisp/package.el (package-compute-transaction):
4879 Handle holding a package version to t in package-load-list.
8ac9e529 4880
530739c9
MA
48812012-02-26 Michael Albinus <michael.albinus@gmx.de>
4882
4883 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4884 (tramp-get-inode, tramp-get-device): Use cached values.
4885
487915d7
AM
48862012-02-26 Alan Mackenzie <acm@muc.de>
4887
4888 Check there is a font-lock specification before doing initial
4889 fontification.
4890
4891 * font-core.el (font-lock-mode): Move the conditional from
4892 :after-hook to font-lock-initial-fontify.
4893 (font-lock-default-function): Move the check for a specification
4894 to font-lock-spec-present.
4895
dc9924b8 4896 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
4897 (font-lock-spec-present): New function.
4898
4fd96557
JB
48992012-02-26 Jim Blandy <jimb@red-bean.com>
4900
4901 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4902 (gdb-send): Apply it to the operand of the '-interpreter-exec
4903 console' command, so that we can pass arguments with (say) quotes
4904 in them. Store exact string sent in gdb-debug-log (Bug#10765).
4905
9a4888c0
CY
49062012-02-26 Chong Yidong <cyd@gnu.org>
4907
07498861
CY
4908 * help-fns.el (describe-function-1): Clarify description of
4909 remapping (Bug#10844).
4910
9a4888c0
CY
4911 * files.el (files-equal-p): Doc fix.
4912 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
4913 and quit the loop once a mismatch is found.
4914
ea8fb88d
JB
49152012-02-25 Juanma Barranquero <lekktu@gmail.com>
4916
4917 * bs.el (bs--show-with-configuration): Don't throw an error
4918 if the window cannot be split; otherwise, subsequent calls to
4919 bs-show fail, restoring a stale window config. (Bug#10882)
4920
525795c1
JD
49212012-02-25 Jan Djärv <jan.h.d@swipnet.se>
4922
4923 * term/ns-win.el (global-map): Bind ns-drag-file to
4924 ns-find-file (Bug#5855, Bug#10050).
4925
f008086f
AS
49262012-02-25 Andreas Schwab <schwab@linux-m68k.org>
4927
4928 * calendar/parse-time.el (parse-time-string): Allow extractor to
4929 return nil.
4930
a3fcfa99
MA
49312012-02-25 Michael Albinus <michael.albinus@gmx.de>
4932
91027d08
JB
4933 * net/tramp.el (tramp-file-name-for-operation):
4934 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
4935
4936 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
4937 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4938 Add COPY-CONTENTS argument.
a3fcfa99 4939
67b0de11
CY
49402012-02-25 Chong Yidong <cyd@gnu.org>
4941
4942 Add custom groups for VC backends, for consistency with vc-bzr.
4943
4944 * vc/vc-arch.el (vc-arch):
4945 * vc/vc-cvs.el (vc-cvs):
4946 * vc/vc-git.el (vc-git):
4947 * vc/vc-hg.el (vc-hg):
4948 * vc/vc-mtn.el (vc-mtn):
4949 * vc/vc-rcs.el (vc-rcs):
4950 * vc/vc-sccs.el (vc-sccs):
4951 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
4952 All relevant defcustoms reassigned.
4953
3c9dfce6
CY
49542012-02-25 Chong Yidong <cyd@gnu.org>
4955
1339bf43
CY
4956 * newcomment.el (comment-styles): Add autoload (Bug#10868).
4957
3c9dfce6
CY
4958 * term/x-win.el (x-initialize-window-system): Reduce default for
4959 x-selection-timeout to 5 seconds (Bug#8869).
4960
25b2e303 49612012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4962
ec70a47d
GM
4963 * files.el (files-equal-p, file-subdir-of-p): New functions.
4964 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 4965 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
4966 * dired-aux.el (dired-copy-file-recursive): Same.
4967 (dired-create-files): Modify destination when source is equal to
4968 dest when copying files.
53a46cd0 4969 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 4970
914260cd
MA
49712012-02-24 Michael Albinus <michael.albinus@gmx.de>
4972
4973 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
4974 (Bug#10874)
4975
2cb228f7
AM
49762012-02-23 Alan Mackenzie <acm@muc.de>
4977
4978 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
4979 parameter "after-hook:" to allow the expansion to run code after
4980 the execution of the mode hooks.
4981
4982 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 4983 from font-lock-mode-internal.
2cb228f7 4984
91027d08 4985 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
4986 :after-hook.
4987
8f0fde21
SM
49882012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4989
3e88618b
SM
4990 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4991 (completion--cache-all-sorted-completions): New function.
4992 (completion-all-sorted-completions): Use it.
4993 (completion--do-completion, minibuffer-force-complete):
4994 Use it to re-instate the flush hook.
4995
8f0fde21
SM
4996 * icomplete.el (icomplete-completions): Replace last fix with a better
4997 one (bug#10850).
4998
8e911f6f
DG
49992012-02-23 Dmitry Gutov <dgutov@yandex.ru>
5000
5001 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
5002 when it might call us back infinitely (bug#10797).
5003
49fe4321
GM
50042012-02-23 Glenn Morris <rgm@gnu.org>
5005
5006 * minibuffer.el (completion-category-overrides): Doc fix.
5007
b291b572
SM
50082012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
5009
5010 * minibuffer.el (completion-table-with-context): Fix inf-loop.
5011 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
5012
31a9ef2e
GM
50132012-02-23 Glenn Morris <rgm@gnu.org>
5014
5e6e6794 5015 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
5016 (authors-obsolete-files-regexps, authors-ignored-files)
5017 (authors-ambiguous-files, authors-renamed-files-alist):
5018 Add more entries.
5019
0bd1e074
JL
50202012-02-23 Juri Linkov <juri@jurta.org>
5021
5022 * isearch.el (isearch-occur): Sync interactive spec with occur's
5023 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
5024
b617673c
JL
5025 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
5026
19e9789e
JL
50272012-02-22 Juri Linkov <juri@jurta.org>
5028
5029 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
5030 (ucs-insert): Doc fix. Check for hex digits in the string.
5031 Don't display `nil' in the error message. (Bug#10857)
5032
f41ce09d
AM
50332012-02-22 Alan Mackenzie <acm@muc.de>
5034
7a71b18d 5035 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 5036
ac2eceee
GM
50372012-02-22 Glenn Morris <rgm@gnu.org>
5038
5039 * ffap.el (ffap-c-path):
5040 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
5041
abd1f678
CY
50422012-02-22 Chong Yidong <cyd@gnu.org>
5043
5044 * custom.el (load-theme): Doc fix.
5045
f25aef2e
GM
50462012-02-22 Glenn Morris <rgm@gnu.org>
5047
5048 * dired-x.el (dired-guess-shell-alist-default):
5049 Remove escape sequences from nroff output. (Bug#172)
5050
5f8dc2ca
GM
50512012-02-21 Glenn Morris <rgm@gnu.org>
5052
6ff86ec4
GM
5053 * vc/emerge.el (emerge-defvar-local):
5054 Set `permanent-local' property rather than unused `preserved'.
5055
be3223a3 5056 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
5057 (picture-mode-map): Use it. (Bug#10860)
5058 (picture-mode): Doc fix.
5059
3fe58f4f
JB
50602012-02-21 Juanma Barranquero <lekktu@gmail.com>
5061
5062 * newcomment.el (uncomment-region-default): Remove unused binding.
5063
f9a998c3
GM
50642012-02-21 Glenn Morris <rgm@gnu.org>
5065
5066 * textmodes/picture.el (picture-motion, picture-motion-reverse)
5067 (picture-self-insert, picture-tab-chars): Doc fix.
5068 (picture-mode-map): Fix C-a, C-e.
5069
c6029348
GM
50702012-02-20 Glenn Morris <rgm@gnu.org>
5071
5072 * emacs-lisp/authors.el (authors-aliases): Add another entry.
5073
ab1ce9d7
LL
50742012-02-20 Leo Liu <sdl.web@gmail.com>
5075
5076 * icomplete.el (icomplete-completions): Check FROM arg before
5077 passing to substring (Bug#10850).
5078
0fd40f89
CY
50792012-02-19 Chong Yidong <cyd@gnu.org>
5080
5081 * comint.el: Require ansi-color.
5082 (comint-output-filter-functions): Add ansi-color-process-output.
5083
5084 * ansi-color.el: Don't set comint-output-filter-functions; it is
5085 now in the initial value defined in comint.el.
5086 (ansi-color-apply-face-function): New variable.
5087 (ansi-color-apply-on-region): Use it.
5088 (ansi-color-apply-overlay-face): New function.
5089
5090 * shell.el (shell): No need to require ansi-color.
5091 (shell-mode): Use ansi-color-apply-face-function to highlight
5092 color escapes using font-lock-face property (Bug#10835).
5093
20af2394
CY
50942012-02-19 Chong Yidong <cyd@gnu.org>
5095
5096 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
5097 mode-line formats (Bug#10839).
5098
e23a3fbe
GM
50992012-02-18 Glenn Morris <rgm@gnu.org>
5100
b474519e
GM
5101 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
5102
5103 * mail/undigest.el (unforward-rmail-message): Doc fix.
5104
e23a3fbe
GM
5105 * saveplace.el (save-place-ignore-files-regexp): Add :version.
5106
57939ff4
EZ
51072012-02-18 Eli Zaretskii <eliz@gnu.org>
5108
5109 * international/characters.el (script-list): Sync with the latest
5110 Unicode Character Database.
5111
0c23686e
AS
51122012-02-18 Andreas Schwab <schwab@linux-m68k.org>
5113
5114 * international/titdic-cnv.el: Remove duplicate coding tag.
5115 * language/cham.el: Likewise.
5116 * language/tai-viet.el: Likewise.
5117
6818b449
GM
51182012-02-18 Glenn Morris <rgm@gnu.org>
5119
5120 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
5121 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
5122 (calendar-bahai-all-holidays-flag, calendar-other-dates):
5123 * calendar/diary-lib.el (diary-abbreviated-year-flag):
5124 * calendar/holidays.el (holiday-bahai-holidays)
5125 (calendar-holidays, list-holidays):
5126 Use utf-8 Bahá'í in doc-strings, menus, etc.
5127
0311a3fc
TH
51282012-02-17 Tassilo Horn <tassilo@member.fsf.org>
5129
5130 * saveplace.el (save-place-ignore-files-regexp): New variable
5131 allowing for excluding files from saving their location of point.
5132 The default value matches the temporary commit message editing
5133 files from Git, SVN, Bazaar, and Mercurial.
5134 (save-place-to-alist): Use it.
5135
eb864a71
LM
51362012-02-17 Lawrence Mitchell <wence@gmx.li>
5137 Stefan Monnier <monnier@iro.umontreal.ca>
5138
5139 * newcomment.el (uncomment-region-default): Don't leave extra space
5140 when an arg is provided (bug#8150).
5141
ee0ce425
TZ
51422012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
5143
eb864a71 5144 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 5145
95ddf442
GM
51462012-02-17 Glenn Morris <rgm@gnu.org>
5147
5148 * net/socks.el: Require network-stream. (Bug#10599)
5149
48dd1e39 51502012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
5151
5152 * international/charprop.el:
5153 * international/uni-name.el:
5154 * international/uni-old-name.el:
5155 * international/uni-comment.el: Regenerate.
5156
d68cd087
GM
51572012-02-16 Glenn Morris <rgm@gnu.org>
5158
5159 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
5160 Interactively in calendar buffer, give an error if not on a date.
5161
13932042
GM
51622012-02-15 Glenn Morris <rgm@gnu.org>
5163
5164 * shell.el (shell-delimiter-argument-list):
5165 Revert 2011-02-17 change. (Bug#8027)
5166
c3a70e2b
CY
51672012-02-15 Chong Yidong <cyd@gnu.org>
5168
60236b0d
CY
5169 * minibuffer.el (completion-at-point-functions): Doc fix.
5170
c3a70e2b
CY
5171 * custom.el (defcustom): Doc fix; note use of defvar.
5172
9f26dc24
GM
51732012-02-15 Glenn Morris <rgm@gnu.org>
5174
5175 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
5176 Doc fixes.
5177
6546b134
GM
51782012-02-14 Glenn Morris <rgm@gnu.org>
5179
5180 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
5181
d29b2b4c
LI
51822012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
5183
5184 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
5185 way the ports list is computed.
835bdcba
LI
5186 (smtpmail-query-smtp-server): Prompt the user for a port number if
5187 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 5188
08dcdbc9
TZ
51892012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
5190
5191 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
5192
2605051a
GM
51932012-02-13 Glenn Morris <rgm@gnu.org>
5194
5195 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
5196
7ee99f32
TZ
51972012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
5198
5199 * net/gnutls.el (gnutls-trustfiles): New variable.
5200 (gnutls-negotiate): Use it.
5201
5f0af64f
LI
52022012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
5203
5204 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
5205 does its stuff if Gnus is running.
5206
c14fcc95
AM
52072012-02-13 Alan Mackenzie <acm@muc.de>
5208
5209 Fix a loop in c-set-fl-decl-start.
5210
7a71b18d 5211 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
5212 c-backward-syntactic-ws actually moves backwards.
5213
142b4d90
LL
52142012-02-13 Leo Liu <sdl.web@gmail.com>
5215
5216 * net/rcirc.el (rcirc-markup-attributes): Move point to the
5217 beginning so that all \C-o chars are removed.
5218
fa9958a6
TZ
52192012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
5220
dc9924b8 5221 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 5222
0bc5886a
AM
52232012-02-12 Alan Mackenzie <acm@muc.de>
5224
5225 Fix infinite loop with long macros.
4d6769e1 5226 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 5227
d4bd55e7
CY
52282012-02-12 Chong Yidong <cyd@gnu.org>
5229
5230 * window.el (display-buffer): Doc fix (Bug#10785).
5231
66f3fe22
GM
52322012-02-12 Glenn Morris <rgm@gnu.org>
5233
bd7da63e
GM
5234 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5235 (x-disown-selection-internal, x-get-selection-internal):
5236 Sync docs with the xselect.c versions.
5237
66f3fe22
GM
5238 * allout-widgets.el: Add missing license notice.
5239
3e0d2fa7
GM
52402012-02-11 Glenn Morris <rgm@gnu.org>
5241
cfecdf09
GM
5242 * select.el (x-get-selection-internal, x-own-selection-internal)
5243 (x-disown-selection-internal):
5244 * x-dnd.el (x-get-selection-internal): Update declarations.
5245
6d216d7f
GM
5246 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
5247
2bed3f04
GM
5248 * window.el (window-sides-slots):
5249 * tool-bar.el (tool-bar-position):
5250 * term/xterm.el (xterm-extra-capabilities):
5251 * ses.el (ses-self-reference-early-detection):
5252 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
5253 (verilog-auto-wire-type)
5254 (verilog-auto-delete-trailing-whitespace)
5255 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
5256 (verilog-auto-tieoff-declaration):
5257 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
5258 (sql-oracle-statement-starters, sql-oracle-scan-on):
5259 * progmodes/prolog.el (prolog-align-comments-flag)
5260 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
5261 (prolog-left-indent-regexp, prolog-paren-indent-p)
5262 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
5263 (prolog-types, prolog-mode-specificators)
5264 (prolog-determinism-specificators, prolog-directives)
5265 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
5266 (prolog-electric-dot-flag)
5267 (prolog-electric-dot-full-predicate-template)
5268 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
5269 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
5270 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
5271 (prolog-program-switches, prolog-prompt-regexp)
5272 (prolog-debug-on-string, prolog-debug-off-string)
5273 (prolog-trace-on-string, prolog-trace-off-string)
5274 (prolog-zip-on-string, prolog-zip-off-string)
5275 (prolog-use-standard-consult-compile-method-flag)
5276 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
5277 (prolog-imenu-max-lines, prolog-info-predicate-index)
5278 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
5279 (prolog-char-quote-workaround):
5280 * progmodes/cc-vars.el (c-defun-tactic):
5281 * net/tramp.el (tramp-encoding-command-interactive)
5282 (tramp-local-end-of-line):
5283 * net/soap-client.el (soap-client):
5284 * net/netrc.el (netrc-file):
5285 * net/gnutls.el (gnutls):
5286 * minibuffer.el (completion-category-overrides)
5287 (completion-cycle-threshold)
5288 (completion-pcm-complete-word-inserts-delimiters):
5289 * man.el (Man-name-local-regexp):
5290 * mail/feedmail.el (feedmail-display-full-frame):
5291 * international/characters.el (glyphless-char-display-control):
5292 * eshell/em-ls.el (eshell-ls-date-format):
5293 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
5294 (lisp-lambda-list-keyword-parameter-indentation)
5295 (lisp-lambda-list-keyword-parameter-alignment):
5296 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
5297 * dired-x.el (dired-omit-verbose):
5298 * cus-theme.el (custom-theme-allow-multiple-selections):
5299 * calc/calc.el (calc-highlight-selections-with-faces)
5300 (calc-lu-field-reference, calc-lu-power-reference)
5301 (calc-note-threshold):
5302 * battery.el (battery-mode-line-limit):
5303 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5304 (archive-7z-update):
5305 * allout.el (allout-prefixed-keybindings)
5306 (allout-unprefixed-keybindings)
5307 (allout-inhibit-auto-fill-on-headline)
5308 (allout-flattened-numbering-abbreviation):
5309 * allout-widgets.el (allout-widgets-auto-activation)
5310 (allout-widgets-icons-dark-subdir)
5311 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
5312 (allout-widgets-theme-dark-background)
5313 (allout-widgets-theme-light-background)
5314 (allout-widgets-item-image-properties-emacs)
5315 (allout-widgets-item-image-properties-xemacs)
5316 (allout-widgets-run-unit-tests-on-load)
5317 (allout-widgets-time-decoration-activity)
5318 (allout-widgets-hook-error-post-time)
5319 (allout-widgets-track-decoration):
5320 Add missing :version tags to new defcustoms and defgroups.
5321
5fec1b8e
GM
5322 * progmodes/sql.el (sql-ansi-statement-starters)
5323 (sql-oracle-statement-starters): Add custom type.
5324
3e0d2fa7
GM
5325 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
5326 (prolog-system-version): Give it a type.
5327
90b671e2
EZ
53282012-02-11 Eli Zaretskii <eliz@gnu.org>
5329
5330 * term/pc-win.el (x-select-text, x-selection-owner-p)
5331 (x-own-selection-internal, x-disown-selection-internal)
5332 (x-get-selection-internal): Sync doc strings and argument lists
5333 with xselect.c, common-win.el and x-win.el. (Bug#10783)
5334
5eac0c02
LL
53352012-02-11 Leo Liu <sdl.web@gmail.com>
5336
5337 * progmodes/python.el (python-end-of-statement): Fix infinite
5338 loop. (Bug#10788)
5339
f82cb659
GM
53402012-02-10 Glenn Morris <rgm@gnu.org>
5341
5342 * international/mule-cmds.el (unify-8859-on-encoding-mode)
5343 (unify-8859-on-decoding-mode): Properly mark as obsolete.
5344
cc26d239
LI
53452012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
5346
5347 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
5348 about SMTP before checking the From header.
5349
91027d08 5350 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
5351 into own function for reuse by emacsbug.el.
5352
1be3ca5a
LL
53532012-02-10 Leo Liu <sdl.web@gmail.com>
5354
5355 * subr.el (condition-case-unless-debug): Rename from
5356 condition-case-no-debug. All callers changed.
5357 (with-demoted-errors): Fix caller.
5358
5359 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
5360 * nxml/rng-valid.el (rng-do-some-validation):
5361 * emacs-lisp/package.el (package-refresh-contents)
5362 (package-menu-execute):
5363 * desktop.el (desktop-create-buffer):
91027d08 5364 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 5365
b011fbfe
GM
53662012-02-10 Glenn Morris <rgm@gnu.org>
5367
b2096d72
GM
5368 * textmodes/bibtex.el:
5369 Add missing :version tags for new/changed defcustoms.
5370
b011fbfe
GM
5371 * files.el (remote-file-name-inhibit-cache): Doc fixes.
5372
4c7e65bf
LI
53732012-02-09 Lars Ingebrigtsen <larsi@rusty>
5374
5375 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
5376 (smtpmail-via-smtp): Use it, or fall back on the From address.
5377 (smtpmail-send-it): Ditto.
5378
f3934f6f
SM
53792012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
5380
5381 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5382 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
5383 (byte-compile-tmp-var): New const.
5384 (byte-compile-defvar): Use it to minimize .elc size.
5385 Just use `defvar' rather than simulate it (bug#10761).
5386
a075a2c5
GM
53872012-02-09 Glenn Morris <rgm@gnu.org>
5388
cf3aa21b
GM
5389 * files.el (rename-uniquely): Doc fix. (Bug#3806)
5390
354998cd
GM
5391 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
5392 Add :version tags.
5393
dc9924b8
SM
5394 * progmodes/compile.el (compilation-error-screen-columns)
5395 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 5396
dab3703d
GM
5397 * vc/log-view.el (log-view-toggle-entry-display):
5398 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
5399
3f88cd72
GM
5400 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
5401 (report-emacs-bug-can-use-xdg-email):
5402 (report-emacs-bug-insert-to-mailer): Doc fixes.
5403 (report-emacs-bug): Message fix.
5404
d95b247d
GM
5405 * net/browse-url.el (browse-url-can-use-xdg-open)
5406 (browse-url-xdg-open): Doc fixes.
5407
a075a2c5
GM
5408 * electric.el (electric-indent-mode, electric-pair-mode)
5409 (electric-layout-rules, electric-layout-mode): Doc fixes.
5410 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
5411
ffb6157e
MR
54122012-02-08 Martin Rudalics <rudalics@gmx.at>
5413
5414 * server.el (server-unselect-display): Don't inadvertently kill
5415 the current buffer. (Bug#10729)
5416
e1ac4066
GM
54172012-02-08 Glenn Morris <rgm@gnu.org>
5418
34e8a2da
GM
5419 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
5420 (sql-list-table): Doc fixes.
5421
b4ac6e8c
GM
5422 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
5423 Comment out (does nothing).
5424
e1ac4066
GM
5425 * completion.el (dynamic-completion-mode):
5426 * dirtrack.el (dirtrack-debug-mode):
5427 * electric.el (electric-layout-mode):
5428 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
5429 * face-remap.el (text-scale-mode, buffer-face-mode):
5430 * iimage.el (iimage-mode):
5431 * image-mode.el (image-transform-mode):
5432 * minibuffer.el (completion-in-region-mode):
5433 * scroll-lock.el (scroll-lock-mode):
5434 * simple.el (next-error-follow-minor-mode):
5435 * tar-mode.el (tar-subfile-mode):
5436 * tooltip.el (tooltip-mode):
5437 * vcursor.el (vcursor-use-vcursor-map):
5438 * wid-browse.el (widget-minor-mode):
5439 * emulation/tpu-edt.el (tpu-edt-mode):
5440 * emulation/tpu-extras.el (tpu-cursor-free-mode):
5441 * international/iso-ascii.el (iso-ascii-mode):
5442 * language/thai-util.el (thai-word-mode):
5443 * mail/supercite.el (sc-minor-mode):
5444 * net/goto-addr.el (goto-address-mode):
5445 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5446 * progmodes/cwarn.el (cwarn-mode):
5447 * progmodes/flymake.el (flymake-mode):
5448 * progmodes/glasses.el (glasses-mode):
5449 * progmodes/hideshow.el (hs-minor-mode):
5450 * progmodes/pascal.el (pascal-outline-mode):
5451 * textmodes/enriched.el (enriched-mode):
5452 * vc/smerge-mode.el (smerge-mode):
5453 Doc fixes (minor mode argument).
5454
5e0d957f
EZ
54552012-02-07 Eli Zaretskii <eliz@gnu.org>
5456
5457 * ls-lisp.el (ls-lisp-sanitize): New function.
5458 (ls-lisp-insert-directory): Use it to fix or remove any elements
5459 in file-alist with missing attributes. (Bug#4673)
5460
98d7371e
AM
54612012-02-07 Alan Mackenzie <acm@muc.de>
5462
5463 Fix spurious recognition of c-in-knr-argdecl.
5464
5465 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5466 putative K&R region.
5467
667ced3a
AM
54682012-02-07 Alan Mackenzie <acm@muc.de>
5469
eb864a71
LM
5470 * progmodes/cc-engine.el (c-forward-objc-directive):
5471 Prevent looping in "#pragma mark @implementation".
667ced3a 5472
5b77774d
MA
54732012-02-07 Michael Albinus <michael.albinus@gmx.de>
5474
5475 * notifications.el (notifications-on-closed-signal): Make `reason'
5476 optional. (Bug#10744)
5477
af008560
GM
54782012-02-07 Glenn Morris <rgm@gnu.org>
5479
60d47423
GM
5480 * emacs-lisp/easy-mmode.el (define-minor-mode):
5481 Doc fixes for the macro and the mode it defines.
5482
dd605cc4
GM
5483 * image.el (imagemagick-types-inhibit): Doc fix.
5484
af008560
GM
5485 * cus-start.el (imagemagick-render-type): Add it.
5486
5cc59a37
LI
54872012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
5488
4d6769e1
JB
5489 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5490 Set the default at load time, too, so that `font-lock-fontify-buffer'
5491 can be called without setting up the entire mode first. This fixes
5492 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 5493
9a6dd747
CY
54942012-02-06 Chong Yidong <cyd@gnu.org>
5495
2d16b285
CY
5496 * simple.el (list-processes--refresh): Delete exited processes
5497 (Bug#8094).
5498
171e9b6e
CY
5499 * comint.el (comint-next-prompt): next-single-char-property-change
5500 and prev-single-char-property-change never return nil (Bug#8657).
5501
9a6dd747
CY
5502 * custom.el (defcustom): Doc fix (Bug#9711).
5503
aa4589a7
CY
55042012-02-05 Chong Yidong <cyd@gnu.org>
5505
5c2a252f
CY
5506 * cus-edit.el (custom-variable-reset-backup): Quote the value
5507 before storing it in the customized-value property (Bug#6712).
4aab9006 5508 (custom-display): Add a customization type tag.
983b9602 5509 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 5510
aa4589a7
CY
5511 * wid-edit.el (widget-field-value-get): New optional arg to
5512 suppress trailing whitespace truncation.
5513 (character): Use it (Bug#2689).
5514
1ff980ae
AS
55152012-02-05 Andreas Schwab <schwab@linux-m68k.org>
5516
5517 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5518 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5519
03988c98
CY
55202012-02-05 Chong Yidong <cyd@gnu.org>
5521
eeb6cc88
CY
5522 * cus-edit.el (custom-variable-value-create): For mismatched
5523 types, show the current value (Bug#7600).
5524
03988c98
CY
5525 * custom.el (defcustom): Doc fix.
5526
f8cdeef0
GM
55272012-02-05 Glenn Morris <rgm@gnu.org>
5528
5529 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5530
0696d255
JB
55312012-02-05 Juanma Barranquero <lekktu@gmail.com>
5532
5533 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5534 (pp-buffer): Use `ignore-errors', `looking-at-p'.
5535 (pp-last-sexp): Use `looking-at-p'.
5536
34c99998
GM
55372012-02-04 Glenn Morris <rgm@gnu.org>
5538
8f05da42
GM
5539 * files.el (revert-buffer):
5540 Doc fix (mention revert-buffer-in-progress-p).
5541
f160676e
GM
5542 * emacs-lisp/ert-x.el (ert-simulate-command):
5543 Check deferred-action-list (which is obsolete) is bound.
5544
c7291ad9
GM
5545 * subr.el (with-wrapper-hook): Doc fixes.
5546
34c99998
GM
5547 * simple.el (filter-buffer-substring-functions)
5548 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5549
6283a7d3
LL
55502012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
5551
5552 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5553 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
5554
e96e3013
LL
55552012-02-04 Leo Liu <sdl.web@gmail.com>
5556
5557 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5558
8ded50f2
GM
55592012-02-04 Glenn Morris <rgm@gnu.org>
5560
82ff1d13
GM
5561 * image.el (image-extension-data): Add obsolete alias.
5562
987a0a16
GM
5563 * isearch.el (isearch-update): Doc fix.
5564
ea32ef46
GM
5565 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5566
8ded50f2
GM
5567 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5568
eea14f31
GM
55692012-02-03 Glenn Morris <rgm@gnu.org>
5570
5571 * image.el (image-animated-p): Doc fix. Use image-animated-types.
5572 (image-animate-timeout): Doc fix.
5573
5574 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5575
12f381b7
GM
55762012-02-02 Glenn Morris <rgm@gnu.org>
5577
953cebf5
GM
5578 * server.el (server-auth-dir): Doc fix.
5579 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
5580
12f381b7
GM
5581 * subr.el (run-mode-hooks): Doc fix.
5582
953a8c3b
JL
55832012-02-02 Juri Linkov <juri@jurta.org>
5584
5585 * image-mode.el (image-toggle-display-image): Remove tautological
5586 `major-mode' from the `derived-mode-p' test.
5587
c5d3843c
KH
55882012-02-02 Kenichi Handa <handa@m17n.org>
5589
9f6e692e 5590 * composite.el (compose-region): Cancel previous change.
c5d3843c 5591
159462d4 55922012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
5593
5594 * composite.el (compose-region, compose-string): Signal error for
5595 a null string component (Bug#6988).
5596
9f562668
CY
55972012-02-01 Chong Yidong <cyd@gnu.org>
5598
e2cef717
CY
5599 * view.el (view-buffer-other-window, view-buffer-other-frame):
5600 Handle special modes like view-buffer (Bug#10650).
5601 (view-buffer): Simplify.
5602
9f562668
CY
5603 * frame.el (set-frame-font): Tweak meaning of third argument.
5604
9f6e692e
JB
5605 * dynamic-setting.el (font-setting-change-default-font):
5606 Use set-frame-font (Bug#9982).
9f562668 5607
781acb9f
GM
56082012-02-01 Glenn Morris <rgm@gnu.org>
5609
6035be52
GM
5610 * progmodes/compile.el (compilation-internal-error-properties):
5611 Respect compilation-first-column in the "*compilation*" buffer.
5612
781acb9f
GM
5613 * emacs-lisp/easy-mmode.el (define-minor-mode):
5614 Relax :variable's test for a named function.
5615
abbceb00
AM
56162012-01-31 Alan Mackenzie <acm@muc.de>
5617
5618 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5619 off by one error.
5620
fce3fdeb
CY
56212012-01-31 Chong Yidong <cyd@gnu.org>
5622
5623 * frame.el (set-frame-font): New arg ALL-FRAMES.
5624
5625 * menu-bar.el (menu-set-font): Use set-frame-font.
5626
5627 * faces.el (face-spec-reset-face): Don't apply unspecified
5628 attribute values to the default face.
5629
47893581
JB
56302012-01-31 Juanma Barranquero <lekktu@gmail.com>
5631
5632 * progmodes/cwarn.el (cwarn): Remove dead link.
5633 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5634 Remove * from defcustom docstrings.
5635 (turn-on-cwarn-mode): Make obsolete.
5636 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5637 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5638
e58e988a
GM
56392012-01-31 Glenn Morris <rgm@gnu.org>
5640
60dc2671 5641 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 5642 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 5643 Allow named functions to be used as the cdr of :variable.
e58e988a 5644
7a3f511d
GM
56452012-01-30 Glenn Morris <rgm@gnu.org>
5646
5647 * emacs-lisp/authors.el (authors-fixed-entries):
5648 Remove reference to deleted file rnewspost.el.
5649
cb882333
JB
56502012-01-29 Juanma Barranquero <lekktu@gmail.com>
5651
5652 * window.el (window-with-parameter): Remove unused variable `windows'.
5653 (window--side-check): Remove unused variable `code'.
5654 (window--resize-siblings): Remove unused variable `first'.
5655 (adjust-window-trailing-edge): Remove unused variable `failed'.
5656 (window-deletable-p, window--delete): Remove unused variable `buffer'.
5657 Use `let', not `let*'.
5658 (balance-windows-2): Remove unused variable `found'.
5659 (window--state-put-2): Remove unused variable `splits'.
5660 (window-state-put): Remove unused variable `selected'.
5661 (same-window-p): Use `string-match-p'.
5662 (display-buffer-assq-regexp): Remove unused variable `value'.
5663 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5664 Mark argument ALIST as ignored.
5665 (pop-to-buffer): Remove unused variable `old-window'.
5666
907201af
EZ
56672012-01-29 Eli Zaretskii <eliz@gnu.org>
5668
5669 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
5670 and .lzma compressed files.
5671
ea162670
CY
56722012-01-29 Chong Yidong <cyd@gnu.org>
5673
5b95ee8a
CY
5674 * frame.el (window-system-default-frame-alist): Doc fix.
5675
ea162670
CY
5676 * dynamic-setting.el (font-setting-change-default-font): Don't
5677 change the default face if SET-FONT argument is non-nil (Bug#9982).
5678
d6e6f4b1
SB
56792012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
5680
5681 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
5682
0f29fa41 56832012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
5684
5685 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5686 breakpoints in files outside current directory (Bug#6098).
5687
db174434
CY
56882012-01-29 Chong Yidong <cyd@gnu.org>
5689
6b25e4e2
SE
5690 * progmodes/python.el: Require ansi-color at top-level.
5691
6df6ae42
JB
5692 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5693 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
5694 (lisp-mode-abbrev-table): Add doc.
5695 (lisp-mode-variables): Don't set local-abbrev-table.
5696 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5697
e70ee681
RW
56982012-01-28 Roland Winkler <winkler@gnu.org>
5699
5700 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5701
ace88aa2
RW
57022012-01-28 Roland Winkler <winkler@gnu.org>
5703
5704 * textmodes/bibtex.el (bibtex-entry-alist): New function.
5705 (bibtex-set-dialect): Use it. Either set global values of
5706 dialect-dependent variables or bind these variables buffer-locally
5707 (Bug#10254).
5708 (bibtex-mode): Call bibtex-set-dialect via
5709 hack-local-variables-hook.
eb864a71
LM
5710 (bibtex-dialect): Update docstring.
5711 Add safe-local-variable predicate.
ace88aa2
RW
5712 (bibtex-entry-alist, bibtex-field-alist): Initialize via
5713 bibtex-set-dialect.
5714 (bibtex-mode-map): Define menu for each dialect.
5715 (bibtex-entry): Fix docstring.
5716
93376c5b
CY
57172012-01-28 Chong Yidong <cyd@gnu.org>
5718
5719 * eshell/esh-arg.el (eshell-quote-argument): New function.
5720
5721 * eshell/esh-ext.el (eshell-invoke-batch-file):
5722 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5723 first arg to eshell-parse-command (Bug#10523).
5724
4372494f
DA
57252012-01-28 Drew Adams <drew.adams@oracle.com>
5726
5727 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5728 `default-directory' is non-nil.
5729
4d4ec1f8
EZ
57302012-01-28 Eli Zaretskii <eliz@gnu.org>
5731
5732 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5733 line that displays system-configuration-options. (Bug#9924)
5734
7c188927
DA
57352012-01-28 Drew Adams <drew.adams@oracle.com>
5736
5737 * descr-text.el (describe-char): Show information about POS, in
5738 addition to information about the character at POS. Improve and
5739 update the doc string. Change "code point" to "code point in
5740 charset", to avoid confusion with the character's Unicode code
5741 point shown above that. (Bug#10129)
5742
e0da685a
EZ
57432012-01-28 Eli Zaretskii <eliz@gnu.org>
5744
5745 * descr-text.el (describe-char): Show the raw character, not only
5746 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
5747 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5748 for the reasons.
5749
70550acf
PH
57502012-01-28 Phil Hagelberg <phil@hagelb.org>
5751
eb864a71
LM
5752 * emacs-lisp/package.el (package-install):
5753 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 5754
0ce8e868
CY
57552012-01-28 Chong Yidong <cyd@gnu.org>
5756
cb882333
JB
5757 * emacs-lisp/package.el (package-maybe-load-descriptor):
5758 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
5759 (package-maybe-load-descriptor): Use it.
5760 (package-download-transaction): Fully load required packages
5761 inside the loop, so that `require' calls work (Bug#10593).
5762 (package-install): No need to call package-initialize now.
5763
2e7f3bea
CY
57642012-01-28 Chong Yidong <cyd@gnu.org>
5765
6e9bad14
CY
5766 * simple.el (deactivate-mark): Doc fix (Bug#8614).
5767
f823b8ca
CY
5768 * tooltip.el (tooltip-mode): Doc fix.
5769 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5770
2680c309
CY
5771 * frame.el (set-cursor-color): Doc fix (Bug#352).
5772
d7a9e63b
CY
5773 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5774 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5775
2e7f3bea
CY
5776 * cus-edit.el (custom-buffer-create-internal): Fix search button
5777 action (Bug#10542).
2ae01800 5778 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 5779
fc4f7a23
EW
57802012-01-27 Eduard Wiebe <usenet@pusto.de>
5781
5782 * dired.el (dired-mark-files-regexp):
5783 Include any subdirectory components. (Bug#10445)
5784
7dd37071
ML
57852012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5786
5787 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5788 Handle [host]:port syntax. (Bug#10533)
5789
a268160b
AH
57902012-01-27 Alex Harsanyi <harsanyi@mac.com>
5791
5792 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5793
e43273ef
GM
57942012-01-26 Glenn Morris <rgm@gnu.org>
5795
5796 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5797 * term.el (term-raw-escape-map): Use Control-X-prefix.
5798 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
5799
1edf595d
MR
58002012-01-25 Martin Rudalics <rudalics@gmx.at>
5801
5802 * window.el (window-state-get, window--state-get-1): Don't deal
5803 with fixed-sizeness of windows. Simplify code.
5804
fa8eafef
JC
58052012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
5806
6df6ae42
JB
5807 * window.el (window--state-get-1, window--state-put-2):
5808 Don't save and restore the mark.
fa8eafef 5809
0b21c100
CY
58102012-01-25 Chong Yidong <cyd@gnu.org>
5811
5812 * custom.el (custom-variable-p): Doc fix.
5813
5ae1a6c8
GM
58142012-01-25 Glenn Morris <rgm@gnu.org>
5815
40047858
GM
5816 * dired.el (dired-goto-file): Handle some of the more common
5817 characters that `ls -b' escapes. (Bug#10596)
5818
5ddce96c
GM
5819 * progmodes/compile.el (compilation-next-error-function):
5820 Respect compilation-first-column in the "*compilation*" buffer.
5821 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
5822
5ae1a6c8
GM
5823 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
5824
b559f1a9
GM
58252012-01-24 Glenn Morris <rgm@gnu.org>
5826
5827 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
5828
6725d21a
JD
58292012-01-24 Julien Danjou <julien@danjou.info>
5830
5831 * color.el (color-rgb-to-hsl): Fix value computing.
5832 (color-hue-to-rgb): New function.
5833 (color-hsl-to-rgb): New function.
5834 (color-clamp, color-saturate-hsl, color-saturate-name)
5835 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5836 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5837
70df4bbe
GM
58382012-01-24 Glenn Morris <rgm@gnu.org>
5839
5840 * vc/vc-rcs.el (vc-rcs-create-tag):
5841 * vc/vc-sccs.el (vc-sccs-create-tag):
5842 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
5843
802a2ae2
ML
58442012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
5845
5846 * eshell/esh-util.el (eshell-read-hosts-file):
5847 Skip comment lines. (Bug#10549)
5848
d7128bb1
ML
5849 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
5850
d1a5c3b4
JB
58512012-01-23 Juanma Barranquero <lekktu@gmail.com>
5852
2724d9c7
JB
5853 * subr.el (display-delayed-warnings): Doc fix.
5854 (collapse-delayed-warnings): New function to collapse identical
5855 adjacent warnings.
5856 (delayed-warnings-hook): Add it.
d1a5c3b4 5857
a5509865
MA
58582012-01-22 Michael Albinus <michael.albinus@gmx.de>
5859
5860 * net/tramp.el (tramp-action-login): Set connection property "login-as".
5861
a5509865
MA
5862 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5863 (tramp-default-user-alist): Don't add "pscp".
5864 (tramp-do-copy-or-rename-file-out-of-band): Use connection
5865 property "login-as", if set. (Bug#10530)
5866
cc6d5805
MA
58672012-01-21 Michael Albinus <michael.albinus@gmx.de>
5868
5869 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5870 "plink1" and "psftp". (Bug#10530)
5871
58722012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
5873
5874 * international/mule-cmds.el (prefer-coding-system): Show a
5875 warning message if the default value of file-name-coding-system
5876 was not changed.
5877
f0960428
JC
58782012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5879
cb882333
JB
5880 * windmove.el (windmove-reference-loc):
5881 Fix windmove-reference-loc miscalculation.
f0960428 5882
dd6f2a63
JB
58832012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
5884
5885 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5886 default unit.
5887
7b447e9b
GM
58882012-01-21 Glenn Morris <rgm@gnu.org>
5889
117a9ea1
GM
5890 * international/mule.el (auto-coding-alist): Add .tbz.
5891
7b447e9b
GM
5892 * files.el (local-enable-local-variables): Doc fix.
5893 (inhibit-local-variables-regexps): Rename from
5894 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
5895 Doc fix. Add some extensions from auto-coding-alist.
5896 (inhibit-local-variables-suffixes):
5897 Rename from inhibit-first-line-modes-suffixes. Doc fix.
5898 (inhibit-local-variables-p):
5899 New function, extracted from set-auto-mode-1.
5900 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
5901 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
5902 (hack-local-variables): Doc fix. Make the mode-only case
5903 respect enable-local-variables and friends.
5904 Respect inhibit-local-variables-regexps for file-locals, but
5905 not for directory-locals.
5906 (set-visited-file-name):
5907 Take account of inhibit-local-variables-regexps.
5908 Whether it applies may change as the file name is changed.
5909 * jka-cmpr-hook.el (jka-compr-install):
5910 * jka-compr.el (jka-compr-uninstall):
5911 Update for inhibit-first-line-modes-suffixes name change.
5912
dd6e3cdd
MR
59132012-01-20 Martin Rudalics <rudalics@gmx.at>
5914
5915 * help-macro.el (make-help-screen): Temporarily restore original
5916 binding for minor-mode-map-alist (Bug#10454).
5917
0d0deb38
JD
59182012-01-19 Julien Danjou <julien@danjou.info>
5919
5920 * color.el (color-name-to-rgb): Use the white color to find the max
5921 color component value and return correctly computed values.
5922 (color-name-to-rgb): Add missing float conversion for max value.
5923
34a02f46
MR
59242012-01-19 Martin Rudalics <rudalics@gmx.at>
5925
5926 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
5927 special state value for window-persistent-parameters.
5928 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
5929 (window--state-put-2): Reset all window parameters to nil before
5930 assigning values of persistent parameters.
5931
606c44c4
AM
59322012-01-18 Alan Mackenzie <acm@muc.de>
5933
5934 Eliminate sluggishness and hangs in fontification of "semicolon
5935 deserts".
5936
cb882333
JB
5937 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
5938 Change value 10000 -> 3000.
606c44c4
AM
5939 (c-state-safe-place): Reformulate so it doesn't stack up an
5940 infinite number of wrong entries in c-state-nonlit-pos-cache.
5941 (c-determine-limit-get-base, c-determine-limit): New functions to
5942 determine backward search limits disregarding literals.
5943 (c-find-decl-spots): Amend commenting.
5944 (c-cheap-inside-bracelist-p): New function which detects "={".
5945
5946 * progmodes/cc-fonts.el
5947 (c-make-font-lock-BO-decl-search-function): Give a limit to a
5948 backward search.
5949 (c-font-lock-declarations): Fix an occurrence of point being
5950 undefined. Check additionally for point being in a bracelist or
5951 near a macro invocation without a semicolon so as to avoid a
5952 fruitless time consuming search for a declarator. Give a more
5953 precise search limit for declarators using the new
5954 c-determine-limit.
5955
f3860cea
GM
59562012-01-18 Glenn Morris <rgm@gnu.org>
5957
5958 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
5959 (set-auto-mode): Doc fixes.
5960
1db03b16
GM
59612012-01-17 Glenn Morris <rgm@gnu.org>
5962
0e6038be
GM
5963 * isearch.el (search-nonincremental-instead): Fix doc typo.
5964
1db03b16
GM
5965 * dired.el (dired-insert-directory): Handle newlines in directory name.
5966 (dired-build-subdir-alist): Unescape newlines in directory name.
5967
4cb0aa75
MA
59682012-01-17 Michael Albinus <michael.albinus@gmx.de>
5969
5970 * net/tramp.el (tramp-local-end-of-line): New defcustom.
5971 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
5972 (tramp-action-terminal): Use it. (Bug#10530)
5973
1d00653d
SM
59742012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5975
5976 * minibuffer.el (completion--replace): Strip properties (bug#10062).
5977
6a6ee00d
MR
59782012-01-16 Martin Rudalics <rudalics@gmx.at>
5979
5980 * window.el (window-state-ignored-parameters): Remove variable.
5981 (window--state-get-1): Rename argument MARKERS to IGNORE.
5982 Handle persistent window parameters. Make copy of clone-of
5983 parameter only if requested. (Bug#10348)
5984 (window--state-put-2): Install a window parameter only if it has
5985 a non-nil value or an existing parameter shall be overwritten.
5986
97912def
MA
59872012-01-15 Michael Albinus <michael.albinus@gmx.de>
5988
5989 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5990
688070a5
EZ
59912012-01-14 Eli Zaretskii <eliz@gnu.org>
5992
5993 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5994 don't pass the (nil) value of `upnode' to string-match.
5995
301afadc
CY
59962012-01-14 Chong Yidong <cyd@gnu.org>
5997
5998 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 5999 Fix values recognized by the cursorBlink resource.
301afadc 6000
9e5788aa
PE
60012012-01-14 Paul Eggert <eggert@cs.ucla.edu>
6002
6003 * epg.el (epg--make-temp-file): Avoid permission race condition
6004 when running on old Emacs versions (bug#10403).
6005
3cdb7f5a
GM
60062012-01-14 Glenn Morris <rgm@gnu.org>
6007
6008 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
6009
8c82b1b4
AM
60102012-01-13 Alan Mackenzie <acm@muc.de>
6011
6012 Fix filling for when filladapt mode is enabled.
6013
6014 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
6015 c-mask-paragraph, pass in `fill-paragraph' rather than
6016 `fill-region-as-paragraph'. (This is a reversion of a previous
6017 change.)
eb864a71
LM
6018 * progmodes/cc-mode.el (c-basic-common-init):
6019 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 6020
e517eda4
GM
60212012-01-13 Glenn Morris <rgm@gnu.org>
6022
1498536e
GM
6023 * dired.el (dired-switches-escape-p): New function.
6024 (dired-insert-directory): Use dired-switches-escape-p.
6025 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
6026
e517eda4
GM
6027 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
6028
328f984d
GM
60292012-01-12 Glenn Morris <rgm@gnu.org>
6030
6031 * mail/sendmail.el (mail-mode): Update paragraph-separate for
6032 changes in adaptive-fill-regexp. (Bug#10276)
6033
2cc769a8
AM
60342012-01-11 Alan Mackenzie <acm@muc.de>
6035
6036 Fix Emacs bug #10463 - put `widen's around the critical spots.
6037
1d00653d 6038 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
6039 widen around each invocation of c-state-pp-to-literal. Remove an
6040 unused let variable.
6041
e52c37fa
GM
60422012-01-11 Glenn Morris <rgm@gnu.org>
6043
6044 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 6045 Doc fix.
e52c37fa 6046
96f8741e
CY
60472012-01-10 Chong Yidong <cyd@gnu.org>
6048
1d00653d
SM
6049 * net/network-stream.el (network-stream-open-starttls):
6050 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
6051 response to the capability command.
6052
b09a806e
GM
60532012-01-10 Glenn Morris <rgm@gnu.org>
6054
6055 * mail/unrmail.el (unrmail): Tweak previous change.
6056
7655cb66
CY
60572012-01-09 Chong Yidong <cyd@gnu.org>
6058
6059 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
6060
9d5a8f0b
AM
60612012-01-08 Alan Mackenzie <acm@muc.de>
6062
6063 Optimise font locking in long enum definitions.
6064
6065 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
6066 arm to a cond form to handle enums.
6067 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
6068 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
6069
9a0115ab 60702012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
6071
6072 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 6073 (Bug#10401)
6bb72cbd 6074
f186bb95
LMI
60752012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6076
29232a68
LMI
6077 * faces.el (set-face-attribute): Clarify the meaning of the nil
6078 frame (bug#10294).
6079
4e5d086d
LMI
6080 * subr.el (with-selected-frame): Mention that the selected frame
6081 is restored (bug#9980).
6082
8e66aebe
LMI
6083 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
6084 (bug#9759).
6085
cd394be1 6086 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
6087 (password-read): Don't autoload unused function.
6088
adf4e762
JB
60892012-01-07 Juanma Barranquero <lekktu@gmail.com>
6090
6091 * progmodes/which-func.el (which-func-mode): Turn into a
6092 non-interactive function and mark as obsolete (bug#10428).
6093
89bd9ccd
CY
60942012-01-06 Chong Yidong <cyd@gnu.org>
6095
6096 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
6097 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
6098 functions, along with 1 and -1.
6099
4afee9d5
EZ
61002012-01-06 Eli Zaretskii <eliz@gnu.org>
6101
6102 * time.el (display-time-load-average)
6103 (display-time-default-load-average): Doc fixes. See the thread
6104 starting at
6105 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
6106 for the details.
6107
536aea70
GM
61082012-01-06 Glenn Morris <rgm@gnu.org>
6109
665ae865
GM
6110 * mail/unrmail.el (unrmail): Give an explicit error if the input file
6111 has no messages. (Bug#10377)
6112
c869783d
GM
6113 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
6114 than Info-edit. (Bug#10385)
6115
2bb4227e
GM
6116 * time.el (display-time-load-average, display-time-next-load-average):
6117 Doc fixes.
6118
7d5944b9
GM
6119 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
6120 local setting of buffer-read-only to the input buffer. (Bug#10419)
6121
536aea70
GM
6122 * calendar/calendar.el (calendar-mode):
6123 Locally set scroll-margin to 0. (Bug#10379)
6124
7dccca16
UM
61252012-01-06 Ulrich Mueller <ulm@gentoo.org>
6126
6127 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
6128
afbb7930
GM
61292012-01-05 Glenn Morris <rgm@gnu.org>
6130
6131 * eshell/em-unix.el (diff-no-select): Autoload it.
6132 (eshell/diff): Use diff-no-select. (Bug#10420)
6133
04482335
CY
61342012-01-05 Chong Yidong <cyd@gnu.org>
6135
7baca3bc
CY
6136 * shell.el (shell-dynamic-complete-functions): Revert last change.
6137 (shell-command-completion-function): New function.
6138 (shell-completion-vars): Use it to implement
6139 shell-completion-execonly (Bug#10417).
6140
04482335
CY
6141 * custom.el (enable-theme): Don't set custom-safe-themes.
6142
1d00653d
SM
6143 * cus-theme.el (custom-theme-merge-theme):
6144 Ignore custom-enabled-themes and custom-safe-themes.
04482335 6145
bb5aa5d6
MM
61462012-01-05 Michael R. Mauger <mmaug@yahoo.com>
6147
6148 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
6149 first prompt in `sql-interacive-mode'.
6150 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 6151 keywords.
6df6ae42 6152 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
6153 (sql-product-interactive): Bug fix: Set `sql-buffer' in
6154 context of original buffer. Invoke `sql-login-hook'.
6155
a7183d7c
EZ
61562012-01-04 Eli Zaretskii <eliz@gnu.org>
6157
6158 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
6159 letters in cite-prefix.
6160
a1eacd1e
LMI
61612012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6162
6163 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
6164
787cdb34
CY
61652012-01-03 Chong Yidong <cyd@gnu.org>
6166
1d00653d
SM
6167 * shell.el (shell-dynamic-complete-functions):
6168 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
6169 comint-filename-completion first (Bug#10417).
6170
30710442
RS
61712012-01-02 Richard Stallman <rms@gnu.org>
6172
6173 * battery.el (battery-status-function):
6174 Detect when to use battery-yeeloong-sysfs.
6175 (battery-echo-area-format): Add string for Yeeloong.
6176 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
6177 (battery-yeeloong-sysfs): New function.
6178
f75bfc33
CY
61792012-01-02 Chong Yidong <cyd@gnu.org>
6180
6181 * dirtrack.el (dirtrack-list): Eliminate unused third element.
6182 (dirtrack): Merge code for handling relative filenames in prompt
6183 from shell-dir-cookie-watcher.
6184 (dirtrack-debug-message): New arg to avoid excess format calls.
6185
6186 * shell.el (shell-dir-cookie-re): Variable deleted.
6187 (shell-dir-cookie-watcher): Function deleted.
6188 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
6189 with dirtrack-mode.
6190
651e947e
EZ
61912012-01-01 Eli Zaretskii <eliz@gnu.org>
6192
1d00653d
SM
6193 * term/w32-win.el (dynamic-library-alist) <gnutls>:
6194 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
6195 libgnutls-26.dll.
6196
94d4c7dc
AS
61972011-12-31 Andreas Schwab <schwab@linux-m68k.org>
6198
6199 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
6200
8d43f3cd
EZ
62012011-12-31 Eli Zaretskii <eliz@gnu.org>
6202
6203 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
6204 headers of non-MIME messages, when rmail-enable-mime is non-nil.
6205
98c8795a
MA
62062011-12-29 Michael Albinus <michael.albinus@gmx.de>
6207
6208 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
6209 also for alternative shells.
6210 (tramp-open-connection-setup-interactive-shell): Check, whether
6211 the shell is a busybox.
6212 (tramp-send-command): Don't suppress multiple prompts for
6213 busyboxes, it hurts.
6214
51281b32
CY
62152011-12-28 Chong Yidong <cyd@gnu.org>
6216
6217 * progmodes/gdb-mi.el (gdb-get-source-file-list)
6218 (gdb-get-source-file): Move mode line update to
6219 gdb-get-source-file (Bug#10087).
6220
2170cb53
CY
62212011-12-25 Chong Yidong <cyd@gnu.org>
6222
6223 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
6224 gud-gdb-marker-filter without taking it as an argument.
6225 (gud-gdb-run-command-fetch-lines): Caller changed.
6226 (gud-gdb-completion-function): New variable.
6227 (gud-gdb-completion-at-point): Use it.
6228 (gud-gdb-completions-1): Split from gud-gdb-completions.
6229
6230 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
6231 function as separate arguments.
6232 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
6233 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
6234 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
6235 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
6236 (gdb-stopped, def-gdb-auto-update-trigger)
6237 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
6238 (gdb-get-changed-registers, gdb-get-main-selected-frame):
6239 Callers changed.
2170cb53
CY
6240 (gud-gdbmi-completions): New function.
6241 (gdb): Use it for generating the completion table.
6242
be8b11bb
AM
62432011-12-24 Alan Mackenzie <acm@muc.de>
6244
6245 Introduce a mechanism to widen the region used in context font
1d00653d 6246 locking. Use this to protect declarations from losing their contexts.
be8b11bb 6247
1d00653d
SM
6248 * progmodes/cc-langs.el (c-before-font-lock-functions):
6249 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 6250 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
6251 functions to be run just before context (etc.) font locking.
6252
6253 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 6254 New, functionality extracted from
be8b11bb 6255 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 6256 (c-in-after-change-fontification): New variable.
be8b11bb
AM
6257 (c-after-change): Set c-in-after-change-fontification.
6258 (c-set-fl-decl-start): Rejig its interface, so it can be called
6259 from both after-change and context fontifying.
b81d40f0
JB
6260 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
6261 New functions.
6262 (c-standard-font-lock-fontify-region-function): New variable.
6263 (c-font-lock-fontify-region): New function.
be8b11bb 6264
341cf6ac
JL
62652011-12-24 Juri Linkov <juri@jurta.org>
6266
6267 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
6268 (Bug#10348)
6269
bffcee0a
MA
62702011-12-23 Michael Albinus <michael.albinus@gmx.de>
6271
6272 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
6273 existence of source file. (Bug#10325)
6274
cb5e207c
AM
62752011-12-23 Alan Mackenzie <acm@muc.de>
6276
6277 Fix unstable fontification inside templates.
6278
b81d40f0
JB
6279 * progmodes/cc-langs.el (c-before-font-lock-functions):
6280 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
6281 additionally has c-set-fl-decl-start. The other languages (apart
6282 from AWK) have that as a single entry.
6283
b81d40f0
JB
6284 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6285 The functionality for "local" declarations has been extracted to
cb5e207c
AM
6286 c-set-fl-decl-start.
6287
b81d40f0
JB
6288 * progmodes/cc-mode.el (c-common-init, c-after-change):
6289 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
6290 (c-set-fl-decl-start): New function, extracted from
6291 c-font-lock-enclosing-decls and enhanced.
6292
60ff536c
JB
62932011-12-23 Juanma Barranquero <lekktu@gmail.com>
6294
6295 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
6296
1c4757d6
JL
62972011-12-22 Juri Linkov <juri@jurta.org>
6298
6299 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
6300
d031f2c7
CY
63012011-12-22 Chong Yidong <cyd@gnu.org>
6302
6303 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
6304
bace743a
DA
63052011-12-21 Drew Adams <drew.adams@oracle.com>
6306
6307 * files.el (file-remote-p): Fix docstring. (Bug#10319)
6308
728a1f2b
JC
63092011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6310
6311 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
6312
0d373f73
TZ
63132011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
6314
fec0aaa4
TZ
6315 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
6316 highlighting and support. Fix up comments for capitalization.
6317 (cfengine-mode-debug): New var.
6318 (cfengine3-mode): Change the modeline indicator to "CFE3".
6319 (cfengine3-font-lock-keywords): Improve defun highlighting.
6320 (cfengine2-actions): Rename from `cfengine-actions'.
6321 (cfengine2-font-lock-keywords): Rename from
6322 `cfengine-font-lock-keywords'.
6323 (cfengine2-imenu-expression): Rename from
6324 `cfengine-imenu-expression'.
6325 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
6326 (cfengine2-beginning-of-defun): Rename from
6327 `cfengine-beginning-of-defun'.
6328 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
6329 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
6330 (cfengine2-mode): Rename from `cfengine-mode'. Change the
6331 modeline indicator to "CFE2".
6332 (cfengine-mode): Defalias to `cfengine-auto-mode'.
6333 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 6334
bc86f573
CY
63352011-12-21 Chong Yidong <cyd@gnu.org>
6336
6337 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
6338 filename argument.
6339
d45ba96b
MR
63402011-12-20 Martin Rudalics <rudalics@gmx.at>
6341
6342 * window.el (window-normalize-buffer-to-display): Remove.
6343 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
6344
a6198c90
CY
63452011-12-19 Chong Yidong <cyd@gnu.org>
6346
6347 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
6348 Don't signal an error in a predicate function; return non-nil.
6349 (vc-dir-mark-file): Move the error here.
6350 (vc-dir-mark-unmark): If acting on the region, keep going if one
6351 of the entries cannot be marked/unmarked.
6352 (vc-dir-mark-all-files): If current entry is a directory, mark
6353 only child files, as documented.
6354
34c5fb55
VB
63552011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
6356
6357 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
6358 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
6359 addition.
6360
c803b2b7
JD
63612011-12-18 Jan Djärv <jan.h.d@swipnet.se>
6362
6363 * term/ns-win.el (ns-get-selection-internal)
6364 (ns-store-selection-internal): Declare.
1154d12e
JB
6365 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
6366 Declare as obsolete.
6367 (ns-get-pasteboard, ns-paste-secondary):
6368 Use ns-get-selection-internal.
6369 (ns-set-pasteboard, ns-copy-including-secondary):
6370 Use ns-store-selection-internal.
c803b2b7 6371
9cff91f8 63722011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
6373
6374 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 6375 (vc-deduce-fileset): Doc fix.
99a289d9 6376
f16c898a
AS
63772011-12-16 Andreas Schwab <schwab@linux-m68k.org>
6378
6379 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
6380
763237c4
SS
63812011-12-13 Sam Steingold <sds@gnu.org>
6382
6383 * man.el (Man-getpage-in-background): When running under a
6384 window-system, ignore $MANWIDTH and $COLUMNS.
6385
5fc1c122
KH
63862011-12-15 Kenichi Handa <handa@m17n.org>
6387
6388 * language/ethio-util.el: Change coding tag to utf-8-emacs.
6389 (setup-ethiopic-environment-internal): Comment out key-binding for
6390 ethio-toggle-punctuation.
6391
13d49cbb
AM
63922011-12-13 Alan Mackenzie <acm@muc.de>
6393
898169a2
AM
6394 Add the switch statement to AWK Mode.
6395
7a71b18d 6396 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
6397 "default" to the keywords regexp.
6398
7a71b18d 6399 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 6400 expression as the rest.
1d00653d
SM
6401 (c-nonlabel-token-key): Allow string literals for AWK.
6402 Refactor for the other modes.
898169a2 6403
13d49cbb 6404 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 6405 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
6406 routines. Limit backward searching in c-font-lock-enclosing.decl.
6407
6408 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
6409 pp-state and literal type in addition to the limits.
1d00653d 6410 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 6411 (c-state-literal-at): Use the above new defun.
1d00653d
SM
6412 (c-slow-in-literal, c-fast-in-literal): Remove.
6413 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
6414
6415 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
6416 being in a literal. Add a limit for backward searching.
6417
6418 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
6419 c-slow-in-literal.
6420
15e0efc7
SM
64212011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6422
6423 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
6424
454592a6
MR
64252011-12-13 Martin Rudalics <rudalics@gmx.at>
6426
6427 * window.el (delete-other-windows): Use correct frame in call to
6428 window-with-parameter.
6429
87393f26
DP
64302011-12-12 Daniel Pfeiffer <occitan@t-online.de>
6431
6432 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
6433 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
6434 (makefile-gmake-statements, makefile-makepp-statements):
6435 Use it and add new makepp keywords.
6436 (makefile-makepp-font-lock-keywords): Add new patterns.
6437 (makefile-match-function-end): Match new [...] and [[...]].
6438
11636b22
JB
64392011-12-11 Juanma Barranquero <lekktu@gmail.com>
6440
6441 * ses.el (ses-call-printer-return, ses-cell-property-get)
6442 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
6443 (ses-create-cell-variable, ses-reset-header-string)
6444 (ses-cell-set-formula, ses-repair-cell-reference-all)
6445 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6446 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6447 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6448 (ses-aset-with-undo, ses-load, ses-truncate-cell)
6449 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6450 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6451 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6452 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6453 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6454 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6455 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6456 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6457
cf018193
VB
64582011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
6459
6460 * ses.el: The overall change is to add cell renaming, that is
6461 setting fancy names for cell symbols other than name matching
6462 "\\`[A-Z]+[0-9]+\\'" regexp .
6463 (ses-create-cell-variable): New defun.
6464 (ses-relocate-formula): Relocate formulas only for cells the
6465 symbols of which are not renamed, i.e. symbols whose names do not
6466 match regexp "\\`[A-Z]+[0-9]+\\'".
6467 (ses-relocate-all): Relocate values only for cells the symbols of
6468 which are not renamed.
6469 (ses-load): Create cells variables as the (ses-cell ...) are read,
6470 in order to check row col consistency with cell symbol name only
6471 for cells that are not renamed.
6472 (ses-replace-name-in-formula): New defun.
6473 (ses-rename-cell): New defun.
6474
ee957461
CY
64752011-12-11 Chong Yidong <cyd@gnu.org>
6476
6477 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6478 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6479
9a9e9ef0
MR
64802011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
6481
6482 * window.el (other-window): Fix docstring.
6483
92a8eba5
EZ
64842011-12-10 Eli Zaretskii <eliz@gnu.org>
6485
6486 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
6487 `from' or `to' address before taking its substring.
6488 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
6489 encoded name is chopped in the middle of the encoded string, and
6490 thus displayed encoded.
6491
e152e577
JB
64922011-12-10 Juanma Barranquero <lekktu@gmail.com>
6493
6494 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6495
e5d84bfe
EZ
64962011-12-10 Eli Zaretskii <eliz@gnu.org>
6497
6498 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
6499 to use texinfo-update-node and commands that call it if the
6500 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 6501 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
6502 (texinfo-all-menus-update, texinfo-master-menu)
6503 (texinfo-update-node, texinfo-every-node-update)
6504 (texinfo-multiple-files-update): Doc fix. Warn against updating
6505 all the @node lines.
6506 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
6507 argument is numeric. Explain better in the doc string what the
6508 function really does.
6509 (texinfo-insert-master-menu-list): Improve the error message
6510 displayed if there's no menu in the Top node.
6511 (Bug#2975) See also this thread:
e5d84bfe
EZ
6512 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6513
1d84e9bb
MG
65142011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
6515
6516 * speedbar.el (speedbar-supported-extension-expressions):
6517 Add .adb and .ads, commonly used for Ada source code (bug#10256).
6518
382c953b
JB
65192011-12-09 Juanma Barranquero <lekktu@gmail.com>
6520
6521 * printing.el (pr-mode-alist):
6522 * simple.el (filter-buffer-substring-functions)
6523 (completion-list-insert-choice-function):
6524 * window.el (window-with-parameter, window-atom-root)
6525 (window-sides-slots, window-size-fixed, window-min-delta)
6526 (window-max-delta, window--resize-mini-window)
6527 (window--resize-child-windows-normal, window-tree)
6528 (delete-other-windows, quit-window, split-window)
6529 (display-buffer-record-window, special-display-buffer-names)
6530 (special-display-regexps, special-display-popup-frame)
6531 (same-window-p, split-window-sensibly)
6532 (display-buffer-overriding-action, display-buffer-alist)
6533 (display-buffer-base-action, display-buffer, switch-to-buffer)
6534 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6535 (fit-window-to-buffer, recenter-positions)
6536 (mouse-autoselect-window-state, mouse-autoselect-window-select):
6537 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6538 and remove unneeded backslashes in docstrings.
6539
39c9faef
SM
65402011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6541
98449af8
SM
6542 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6543
39c9faef
SM
6544 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6545 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6546 end in ".mk".
6547 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6548 when reading the makefile (bug#10116).
6549
86ed9fdc
SM
65502011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6551
6552 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6553 (bug#10116).
6554
5580f89d
GM
65552011-12-06 Glenn Morris <rgm@gnu.org>
6556
6557 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6558
28d3917c
CY
65592011-12-06 Chong Yidong <cyd@gnu.org>
6560
6561 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6562
a98edce9
JB
65632011-12-06 Juanma Barranquero <lekktu@gmail.com>
6564
6565 * textmodes/table.el (table-shorten-cell): Fix typo.
6566
e65adfac
CG
65672011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
6568
6569 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6570
71cc0b74
EZ
65712011-12-05 Eli Zaretskii <eliz@gnu.org>
6572
6573 * descr-text.el (describe-char): Fix display of strong
6574 right-to-left characters and directional embeddings and overrides.
6575
6576 * simple.el (what-cursor-position): Fix display of codepoints of
6577 strong right-to-left characters.
6578
315bc30d
CY
65792011-12-05 Chong Yidong <cyd@gnu.org>
6580
6581 * faces.el (read-color): Doc fix.
6582
58a70b94
GM
65832011-12-05 Glenn Morris <rgm@gnu.org>
6584
6585 * align.el (align--set-marker): Add doc-string.
6586 Don't try to move something that is not a marker. (Bug#10216)
6587
5158face
GM
65882011-12-04 Glenn Morris <rgm@gnu.org>
6589
6590 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6591 overly zealous deletion of trailing whitespace.
6592
520fca41
JB
65932011-12-04 Juanma Barranquero <lekktu@gmail.com>
6594
6595 * server.el (server-delete-client): On Windows, do not try to delete
6596 the only terminal.
6597 (server-process-filter): On Windows, treat requests for a tty frame as
6598 if they were for a GUI frame if the running server is in GUI mode.
6599
5e605a2e
GM
66002011-12-03 Glenn Morris <rgm@gnu.org>
6601
6602 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
6603
5c3fe83f
SM
66042011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
6605
6f5e57e7
SM
6606 * electric.el: Streamline electric-indent's hook.
6607 (electric-indent-chars): Revert to simple list.
6608 (electric-indent-functions): New var.
6609 (electric-indent-post-self-insert-function): Use it.
6610
5c3fe83f
SM
6611 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6612 there's no inferior buffer (bug#10196).
6613 (prolog-consult-compile): Don't use toggle-read-only.
6614
6bdac736
MA
66152011-12-02 Michael Albinus <michael.albinus@gmx.de>
6616
6617 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6618 interrupt. (Bug#10187)
6619
6131ba7f
SM
66202011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6621
99c79fee
SM
6622 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6623 (bug#9160).
6624
6131ba7f
SM
6625 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6626 (bug#10191).
6627
cb0a02ea
JL
66282011-12-02 Juri Linkov <juri@jurta.org>
6629
6630 * info.el (Info-search): Display "end of manual" when Isearch
6631 reaches the end of single-file Info manual. (Bug#9918)
6632
66e0570c
EZ
66332011-12-02 Eli Zaretskii <eliz@gnu.org>
6634
6635 * isearch.el (isearch-message-prefix): Run the input method part
6636 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
6637
02b16839
JL
66382011-12-02 Juri Linkov <juri@jurta.org>
6639
6640 * isearch.el (isearch-occur): Use `word-search-regexp' for
6641 `isearch-word'.
6642 (isearch-search-and-update): Add condition for `isearch-word' and
6643 call `word-search-regexp'. (Bug#10145)
6644
0b950688
GM
66452011-12-01 Glenn Morris <rgm@gnu.org>
6646
6647 * eshell/em-hist.el (eshell-hist-initialize):
6648 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 6649 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 6650
9505c3c7
SM
66512011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6652
6653 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6654
1bbe96b2 66552011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 6656
a1beca85
SM
6657 * progmodes/verilog-mode.el (verilog-pretty-expr):
6658 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
6659 verilog, such as += *= and the like.
6660 (verilog-assignment-operator-re): Regular expression to find the
6661 assigment operator in a verilog assignment.
6662 (verilog-assignment-operation-re): Regular expression to find an
6663 assignment statement for pretty-expr.
6664 (verilog-in-attribute-p): Query returns true if point is in an
6665 attribute context; used to skip these for expression line up from
6666 pretty-expr.
6667 (verilog-in-parameter-p): Query returns true if point is in an
6668 parameter definition context; used to skip these for expression
6669 line up from pretty-expr.
6670 (verilog-in-parenthesis-p): Query returns true if point is in a
6671 parenthetical expression, specifically ( ) but not [ ] or { };
6672 used by pretty-expr.
6673 (verilog-just-one-space): If there is no space, don't add one.
6674 (verilog-get-lineup-indent-2): Specifically skip just attribute
6675 contexts for expression lineup, rather than skipping all
6676 parenthetical expressions.
6677 (verilog-calculate-indent): Fix comment, and fix indent.
6678 (verilog-do-indent): Indent declarations in lists (suggested by
6679 Joachim Lechner).
6680 (verilog-mode-abbrev-table): Populate abbrev mode with the various
6681 skeleton items.
6682 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
6683 by Alain Mellan).
6684
1bbe96b2 66852011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
6686
6687 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6688 parameters with embedded comments. Reported by Ray Stevens.
6689 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6690 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6691 Reported by Tim Holt.
6692 (verilog-auto): Fix AUTOing a upper module then AUTOing module
6693 instantiated by upper module causing wrong expansion until AUTOed a
6694 second time. Reported by K C Buckenmaier.
6695 (verilog-diff-auto): Fix showing .* as a difference when
6696 `verilog-auto-star-save' off. Reported by Dan Dever.
6697 (verilog-auto-reset, verilog-read-always-signals)
6698 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6699 temporary signals in reset list if
6700 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
6701 style to each signal's assignment type, bug381.
6702 Reported by Thomas Esposito.
6288f0ca
WS
6703 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6704 (verilog-uvm-statement-re): Support UVM indentation and
6705 highlighting, with old OVM keywords only.
a1beca85 6706 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
6707 Support AUTOTIEOFF creating non-wire data types.
6708 Suggested by Jonathan Greenlaw.
6288f0ca
WS
6709 (verilog-auto-insert-lisp, verilog-delete-to-paren)
6710 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6711 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
6712 (verilog-read-sub-decls, verilog-read-sub-decls-line):
6713 Fix mismatching parenthesis inside commented out code when deleting
382c953b 6714 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
6715 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6716 non-numeric vector width. Reported by Alex Reed.
6717 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 6718 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
6719 (verilog-auto-delete-trailing-whitespace):
6720 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
6721 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
6722 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6723 Fix verilog-scan-cache corruption when running user AUTO expansion
6724 hooks that call indentation routines.
6725 (verilog-simplify-range-expression): Fix typo ignoring lower case
6726 identifiers.
6727 (verilog-delete-auto): Fix delete-autos to also remove user created
6728 automatics, as long as they start with AUTO.
6729 (verilog-batch-diff-auto, verilog-diff-auto)
6730 (verilog-diff-function): Add `verilog-diff-auto' and bind to
6731 "C-c?" to report differences in AUTO expansion, ignoring spaces.
6732 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6733 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
6734 (verilog-re-search-forward-quick, verilog-syntax-ppss):
6735 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
6736 is disabled and its cache will get corrupt, causing AUTOS not to
6737 expand. Instead use only -quick functions.
6738 (verilog-scan-region): Fix scanning over escaped quotes.
6739 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6740 (verilog-re-search-backward-quick)
6741 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6742 related functions now ignore strings, to fix misparsing of strings
6743 with magic comments embedded in them.
a1beca85
SM
6744 (verilog-read-auto-template):
6745 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6746 Reported by Brad Dobbie.
6747 (verilog-read-auto-template):
6748 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 6749 Reported by Brad Dobbie.
6288f0ca
WS
6750 (verilog-auto-inst, verilog-auto-inst-param)
6751 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6752 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
6753 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
6754 debugging templates without merge conflicts, bug357.
6755 Reported by Brad Dobbie.
6756 (verilog-read-auto-template):
6757 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
6758 Reported by Brad Dobbie.
6759 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6760 abbrevs so user won't be asked to save.
6761 (verilog-read-auto-lisp-present): Fix to start at beginning of
6762 buffer in case called outside of verilog-auto.
6763 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6764 to "X-2". Reported by Matthew Myers.
6765 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6766 all inputs from module templates. Reported by Leith Johnson.
6767 (verilog-module-inside-filename-p): Fix locating programs as with
6768 modules.
6769 (verilog-auto-inst-port): Fix vl-width expressions when using
6770 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
6771 (verilog-decls-get-regs, verilog-decls-get-signals,
6772 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6773 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6774 verilog-read-decls): Combine reg and wire structures into one var
6775 structure to represent SystemVerilog concepts.
6776 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6777 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
6778 (verilog-auto-wire-type, verilog-insert-definition):
6779 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
6780 SystemVerilog "logic" keyword instead of "wire"/"reg".
6781 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6782 to declares outputs that also have assignments (presumably in an
a1beca85
SM
6783 ifdef or generate if so there's not a driver conflict).
6784 Reported by Matthew Myers.
6785 (verilog-auto-declare-nettype, verilog-insert-definition):
6786 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
6787 `default_nettype none. Reported by Julian Gorfajn.
6788 (verilog-read-always-signals-recurse, verilog-read-decls)
6789 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6790 malformed end statement, bug325. Reported by Joshua Wise and
6791 Andrew Drake.
6792 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6793 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
6794 when expanding .* in interfaces, bug320.
6795 Reported by Pierre-David Pfister.
6288f0ca 6796 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
6797 name and open parenthesis, bug317.
6798 Reported by Pierre-David Pfister.
6288f0ca
WS
6799 (verilog-simplify-range-expression): Fix simplification of
6800 multiplications inside AUTOWIRE connections, bug303.
6801 (verilog-auto-inst-port): Support parameter expansion in
6802 multidimensional arrays.
6803 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6804 after "assert property". Reported by Julian Gorfajn.
6805 (verilog-simplify-range-expression): Fix "couldn't merge" errors
6806 with multiplication, bug303.
6807 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6808 Reported by Jan Frode Lonnum.
6809
1bbe96b2
GM
68102011-11-30 Juanma Barranquero <lekktu@gmail.com>
6811
6812 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6813 (hfy-shell-file-name, hfy-shell):
6814 * international/fontset.el (x-decompose-font-name): Fix typos.
6815
68162011-11-29 Ken Brown <kbrown@cornell.edu>
6817
6818 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6819 (gdb-version): Remove defvar.
6820 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6821 (gdb-gud-context-command, gdb-non-stop-handler)
6822 (gdb-current-context-command, gdb-stopped): Use it.
6823 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
6824 (gdb-non-stop-handler): Don't enable pretty-printing here.
6825 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
6826 non-stop mode. Use the following.
6827 (gdb-check-target-async): New defun.
6828 (gud-watch, gdb-stopped): Fix whitespace.
6829 (gdb-get-source-file): Don't try to display the source file if
6830 `gdb-main-file' is nil.
6831
68322011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6833
6834 * align.el: Try to generate fewer markers (bug#10047).
6835 (align--set-marker): New macro.
6836 (align-region): Use it.
6837
c935221f
SM
68382011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6839
6840 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6841
e70b5064
CY
68422011-11-29 Chong Yidong <cyd@gnu.org>
6843
6844 * indent.el (indent-for-tab-command, indent-according-to-mode):
6845 Doc fix.
6846 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6847
f3af92b7
MA
68482011-11-29 Michael Albinus <michael.albinus@gmx.de>
6849
6850 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6851 aware of remote file names. (Bug#10124)
6852
ed472be9
CY
68532011-11-29 Chong Yidong <cyd@gnu.org>
6854
6855 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6856
24510c22
SM
68572011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6858
6859 * files.el (find-file): Don't use force-same-window (bug#10144).
6860 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6861 use pop-to-buffer if the selected window can't be used.
6862 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6863
c60c3703
EZ
68642011-11-28 Eli Zaretskii <eliz@gnu.org>
6865
6866 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6867 special-mode-map.
6868
e95def75
CY
68692011-11-28 Chong Yidong <cyd@gnu.org>
6870
6871 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6872
c3f1c606
NR
68732011-11-27 Nick Roberts <nickrob@snap.net.nz>
6874
6875 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6876 gdb-get-source-file-list on gdb-create-source-file-list.
6877
00db469c
EZ
68782011-11-26 Eli Zaretskii <eliz@gnu.org>
6879
6880 * whitespace.el (whitespace-newline): Use a different foreground
6881 color for 16-color light-background displays.
6882
4ad3bc2a
CY
68832011-11-24 Chong Yidong <cyd@gnu.org>
6884
6885 * window.el (display-buffer--special-action): Doc fix.
6886
e9fce1ac
JB
68872011-11-25 Juanma Barranquero <lekktu@gmail.com>
6888
6889 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6890 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6891 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6892 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6893 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6894 (avl-tree-stack-first):
6895 * emacs-lisp/cconv.el (cconv--analyse-use):
6896 * net/gnutls.el (gnutls-negotiate): Fix typos.
6897
cb825e5d
GM
68982011-11-24 Glenn Morris <rgm@gnu.org>
6899
3adbe224
GM
6900 * lpr.el (lpr-windows-system, lpr-lp-system):
6901 * mail/binhex.el (binhex-begin-line):
6902 * progmodes/grep.el (grep-history, grep-find-history):
6903 * textmodes/flyspell.el:
6904 * vc/pcvs-defs.el (cvs-global-menu):
6905 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
6906 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
6907 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
6908
321decc8
GM
6909 * net/tls.el: Fix case of "GnuTLS".
6910
420b63ad
GM
6911 * paths.el (rmail-file-name): Format doc-string for make-docfile.
6912
cb825e5d
GM
6913 * version.el (emacs-build-system): Give it a doc-string.
6914
a0649f08
JL
69152011-11-24 Juri Linkov <juri@jurta.org>
6916
6917 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
6918
c0bc0fd4
GM
69192011-11-24 Glenn Morris <rgm@gnu.org>
6920
6921 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
6922 if called on a non-mime message just toggle the headers. (Bug#8006)
6923
20db1522
JB
69242011-11-24 Juanma Barranquero <lekktu@gmail.com>
6925
6926 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
6927 (allout-lead-with-comment-string, allout-structure-deleted-hook)
6928 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
6929 (allout-rebullet-heading, allout-open-sibtopic)
6930 (allout-toggle-current-subtree-encryption)
6931 (allout-toggle-subtree-encryption, allout-encrypt-string)
6932 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
6933 (allout-distinctive-bullets-string, allout-auto-activation):
6934 * window.el (window-normalize-buffer-to-display):
6935 * progmodes/verilog-mode.el (verilog-batch-indent):
6936 * textmodes/bibtex.el (bibtex-field-braces-opt)
6937 (bibtex-field-strings-opt):
6938 * vc/cvs-status.el (cvs-tree-merge):
6939 Fix typos.
6940
7262a87c
MA
69412011-11-23 Michael Albinus <michael.albinus@gmx.de>
6942
6943 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
6944 `non-essential' to t, in order to avoid remote connections.
6945
283430a1
EZ
69462011-11-23 Eli Zaretskii <eliz@gnu.org>
6947
a1beca85
SM
6948 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6949 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
6950 case-insensitively.
6951
d2992a38
ML
69522011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6953
6954 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
6955
50419064
GM
69562011-11-23 Glenn Morris <rgm@gnu.org>
6957
da94eca1
GM
6958 * paths.el (rmail-file-name): Reformat the doc-string so that it
6959 is picked up.
6960
9aac4de2
GM
6961 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
6962 (rmail-auto-file): Ignore case in the "special" field names,
6963 as mail-fetch-field does for all others.
6964
8038d2d2
GM
6965 * mail/rmail.el (rmail-forward):
6966 * mail/rmailkwd.el (rmail-set-label):
6967 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
6968 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
6969
f3fe222a
GM
6970 * mail/rmail.el (rmail-current-message): Doc fix.
6971
50419064
GM
6972 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
6973
28109f49
SM
69742011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
6975
6976 * server.el (server-eval-and-print): Allow C-g (bug#6585).
6977
394c65f1
GM
69782011-11-22 Glenn Morris <rgm@gnu.org>
6979
6980 * mail/rmailmm.el (test-rmail-mime-handler)
6981 (test-rmail-mime-bulk-handler)
6982 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6983
f2a0aa3a
JL
69842011-11-21 Juri Linkov <juri@jurta.org>
6985
1154d12e
JB
6986 * calc/calc.el (calc-read-key-sequence):
6987 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 6988
9c34a344
LMI
69892011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6990
6991 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6992 Tell the caller that the next line needs recomputation, even
6993 though it doesn't start a sexp (bug#10094).
6994
f04a3be9
SM
69952011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6996
6997 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6998
7978747f
SM
69992011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7000
f04a3be9
SM
7001 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7002 Use force-same-window.
7978747f 7003
fe7a3057
JB
70042011-11-20 Juanma Barranquero <lekktu@gmail.com>
7005
7006 * descr-text.el (describe-char-unicode-data):
7007 * json.el (json-string-escape):
7008 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
7009 (Footnote-unicode, Footnote-style-p):
7010 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
7011
24901d61
CY
70122011-11-20 Chong Yidong <cyd@gnu.org>
7013
7014 * window.el (replace-buffer-in-windows): Restore interactive spec.
7015
bac7ff22
SM
70162011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
7017
24f3d7b9
SM
7018 * electric.el (electric-indent-mode): Fix last change (too optimistic).
7019
bac7ff22
SM
7020 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
7021 (byte-compile-global-not-obsolete-vars): New var.
7022 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
7023 Use it.
7024 (byte-compile-warn-obsolete): Align text with the one in *Help*.
7025
cd1181db
JB
70262011-11-20 Juanma Barranquero <lekktu@gmail.com>
7027
7028 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
7029 * progmodes/pascal.el (electric-pascal-equal):
7030 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
7031 * xml.el (xml-substitute-special): Fix typos.
7032
7fb18e9e
GM
70332011-11-20 Glenn Morris <rgm@gnu.org>
7034
7035 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
7036 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
7037 Doc fixes.
7038 (rmail-decode-mime-charset): Mark as obsolete.
7039
7040 * mail/rmailsum.el (rmail-message-regexp-p-1):
7041 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
7042 Before using mime functions, check they are set. (Bug#10077)
7043
d5a6b3ba
JL
70442011-11-19 Juri Linkov <juri@jurta.org>
7045
7046 * info.el (Info-finder-find-node): Use `package--builtins' instead
7047 of `package-alist'. Use node names formed by the pattern "Keyword "
7048 and the keyword name.
7049
e981b61f
AS
70502011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7051
1d00653d 7052 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 7053
3ffbc301
JL
70542011-11-19 Juri Linkov <juri@jurta.org>
7055
7056 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
7057 that calls `revert-buffer' on all Info buffers. (Bug#9915)
7058 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
7059 `old-history', `old-history-forward'. Add let-binding
7060 `window-selected'. Remove calls to `kill-buffer',
7061 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
7062 before calling `Info-find-node', so `Info-find-node-2' will reread
7063 the Info file. Restore window positions only when `window-selected'
7064 is non-nil.
7065
30c62133
JL
70662011-11-19 Juri Linkov <juri@jurta.org>
7067
7068 * isearch.el (isearch-lazy-highlight-new-loop):
7069 Remove condition `(not isearch-error)'. (Bug#9918)
7070
7071 * misearch.el (multi-isearch-search-fun): Add condition
7072 `(not bound)' to ignore lazy-highlighting search.
7073 Add the search-failed message "end of multi" when the end of
7074 multi-sequence is reached. Uncapitalize the search-failed
7075 message "Repeat for next buffer".
7076
7077 * info.el (Info-search): Add the search-failed message
7078 "end of the manual" when the end of the manual is reached
7079 in Isearch mode.
7080
645ca9cf
JL
70812011-11-19 Juri Linkov <juri@jurta.org>
7082
7083 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
7084 Use non-destructive `remove' instead of `delete' because
7085 `Info-history-list' stored to `Info-isearch-initial-history-list' in
7086 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
7087
df754f66
JL
70882011-11-19 Juri Linkov <juri@jurta.org>
7089
7090 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
7091 to nil instead of binding `search-ring' and `regexp-search-ring'.
7092 (Bug#9185)
7093
0e23d96a
EZ
70942011-11-19 Eli Zaretskii <eliz@gnu.org>
7095
7096 * simple.el (line-move): Force movement by logical lines for any
7097 hscrolled window, not only when auto-hscroll-mode is on.
7098 (line-move-visual): Update doc string to that effect. (Bug#10076)
7099
8a6ccb66
AS
71002011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7101
7102 * language/european.el (macintosh): Define as alias for mac-roman.
7103
49ae5b39
EZ
71042011-11-19 Eli Zaretskii <eliz@gnu.org>
7105
7106 * mail/rmailmm.el (rmail-mime-display-header)
7107 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
7108 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
7109 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
7110 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
7111 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
7112 of a raw aref.
7113 (rmail-mime-entity-segment): To get past the tagline, move forward
7114 2 more lines, to account for the 2 empty lines that precede and
7115 follow the line with the buttons.
7116 (rmail-mime-update-tagline): Move one more line, to get past the
7117 empty line that follows the buttons in the tagline. (Bug#9520)
7118
c56cad4a
MR
71192011-11-19 Martin Rudalics <rudalics@gmx.at>
7120
7121 * window.el (window-max-delta-1, window-min-delta-1)
7122 (window-min-size-1, window-state-get-1, window-state-put-1)
7123 (window-state-put-2): Use "window--" prefix.
7124
cbe71af3
SM
71252011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7126
2ad52c60
SM
7127 * emacs-lisp/smie.el: Improve warnings and conflict detection.
7128 (smie-warning-count): New var.
7129 (smie-set-prec2tab): Use it.
7130 (smie-bnf->prec2): Improve warnings. Add docstring.
7131 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
7132 (smie-bnf--set-class): New function.
7133 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
7134 corner case.
7135
6944dbc1
SM
7136 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
7137 (compilation-error-properties, compilation-move-to-column):
7138 Handle compilation-first-column while in the target buffer.
7139
c400c4d7
SM
7140 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
7141 Don't hardcode point-min==1.
7142
6dbe3e96
SM
7143 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
7144 (eshell-rewrite-for-command): Remove workaround.
7145 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
7146 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
7147 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
7148
cbe71af3
SM
7149 * files-x.el (modify-file-local-variable): Obey commenting conventions.
7150
a8e1496d
GM
71512011-11-17 Glenn Morris <rgm@gnu.org>
7152
7153 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7154 Ignore buffer-local generated-autoload-file if it is the same
7155 as the global value. (Bug#10049)
7156
df85d315
JB
71572011-11-17 Juanma Barranquero <lekktu@gmail.com>
7158
7159 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
7160 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
7161 (reftex-toc-previous-heading, reftex-toc-max-level)
7162 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
7163 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
7164 (reftex-toc-do-promote, reftex-toc-promote-prepare)
7165 (reftex-toc-promote-action, reftex-toc-extract-section-number)
7166 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
7167 (reftex-toc-rename-label, reftex-toc-visit-location)
7168 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
7169 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
7170 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
7171 leaving "*toc*" only for references to the buffer.
7172
a0c2d0ae
MR
71732011-11-17 Martin Rudalics <rudalics@gmx.at>
7174
7175 * window.el (window-resize, delete-window, split-window):
7176 Replace window-splits by window-combination-resize.
1d00653d 7177 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 7178
35c0bac8
GM
71792011-11-17 Glenn Morris <rgm@gnu.org>
7180
7181 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7182 Make bash entry derive from sh entry, not shell entry.
7183
d0c8fc8a
MA
71842011-11-16 Michael Albinus <michael.albinus@gmx.de>
7185
7262a87c
MA
7186 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
7187 local file name.
7188
7877f373
JB
71892011-11-16 Juanma Barranquero <lekktu@gmail.com>
7190
7191 * menu-bar.el (menu-bar-file-menu):
7192 * printing.el (pr-ps-utility):
7193 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
7194 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
7195 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7196 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
7197 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
7198 (icalendar--convert-cyclic-to-ical)
7199 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
7200 (icalendar--convert-ical-to-diary)
7201 (icalendar--convert-recurring-to-diary)
7202 (icalendar--convert-non-recurring-all-day-to-diary)
7203 (icalendar-import-format-sample):
7204 * progmodes/idlw-shell.el (idlwave-shell-mode):
7205 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
7206 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
7207 (vhdl-ps-print-init): Fix typos.
7208
10649b82
KM
72092011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
7210
9d0cfcd6
GM
7211 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
7212 FSF and collapse date sequence, obscure author/maintainer email address
7213 better, remove extra version line, track relocation of author's webpage.
10649b82 7214
9d0cfcd6
GM
7215 * progmodes/python.el (python-pdbtrack-input-prompt)
7216 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
7217 regular python pdb prompts. Adjustments shamelessly taken exactly as
7218 suggested in EmacsWiki page (tiny change):
7219 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 7220
58179cce
JB
72212011-11-16 Juanma Barranquero <lekktu@gmail.com>
7222
7223 * expand.el (expand-pos, expand-index, expand-point):
7224 Remove redundant info from docstring.
7225 (expand-add-abbrevs): Doc fix.
7226 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
7227 (expand-sample-perl-mode-expand-list): Fix typos.
7228
7229 * net/dbus.el (dbus-event-member-name):
7230 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
7231 * term/pc-win.el (msdos-create-frame-with-faces):
7232 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
7233
b6f67890
MR
72342011-11-16 Martin Rudalics <rudalics@gmx.at>
7235
7236 * window.el (split-window, window-state-get-1)
7237 (window-state-put-1, window-state-put-2): Rename occurrences of
7238 window-nest to window-combination-limit.
1d00653d 7239 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 7240
ce7ddba0
CY
72412011-11-16 Chong Yidong <cyd@gnu.org>
7242
7243 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
7244 regexp (Bug#10033).
7245
3ae704f4
SM
72462011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7247
7248 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
7249 `completing-read' will remove *Completions* and will preserve
7250 current-buffer for us.
7251 (tmm-add-prompt): Users of *Completions* will always (re)set its
7252 major mode.
7253 (tmm-old-comp-map): Remove.
7254
6ad1cdde
GM
72552011-11-16 Glenn Morris <rgm@gnu.org>
7256
7257 * mail/rmailedit.el: Require rmailmm when compiling.
7258 (rmail-old-mime-state): New declaration.
7259 (rmail-edit-current-message): If editing a mime message,
7260 edit the "raw" message from the mbox buffer.
7261 (rmail-cease-edit): Handle mime messages. (Bug#9840)
7262
d20faa20
GM
72632011-11-15 Glenn Morris <rgm@gnu.org>
7264
7265 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
7266 which wasn't being used. Add optional arg to force given state.
7267 (rmail-mime): Add optional arg to force given state.
7268
c7015153
JB
72692011-11-15 Juanma Barranquero <lekktu@gmail.com>
7270
7271 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7272 * frame.el (display-mm-dimensions-alist):
7273 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
7274 (outline-move-subtree-down):
7275 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
7276 (newsticker--treeview-do-get-node):
7277 * net/quickurl.el (quickurl-list-buffer-name):
7278 * progmodes/dcl-mode.el (dcl-mode):
7279 * progmodes/gdb-mi.el (gdb-mapcar*):
7280 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
7281
45261b50
GM
72822011-11-15 Glenn Morris <rgm@gnu.org>
7283
7284 * mail/rmail.el (rmail-file-coding-system): It's only ever used
7285 in a boolean sense, so just make it a boolean, and fix the doc.
7286 (rmail-show-mime-function, rmail-mime-feature)
7287 (rmail-require-mime-maybe): Doc fixes.
7288 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
7289
7290 * mail/rmailmm.el (rmail-show-mime): Doc fix.
7291
0d26e0b6
JB
72922011-11-15 Juanma Barranquero <lekktu@gmail.com>
7293
7294 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
7295 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
7296 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
7297 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
7298
447f30f6
GM
72992011-11-15 Glenn Morris <rgm@gnu.org>
7300
672b871d
GM
7301 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
7302 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
7303 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
7304 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
7305 (rmail-mime, rmail-show-mime): Doc fixes.
7306
f6aa5bb1
GM
7307 * term/ns-win.el (mode-line-frame-identification):
7308 Leave it alone. (Bug#10051)
7309
947cd66b
GM
7310 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
7311
447f30f6
GM
7312 * mail/rmailout.el (rmail-output-to-rmail-buffer):
7313 Handle empty buffers. (Bug#9978)
7314
0b381c7e
JB
73152011-11-14 Juanma Barranquero <lekktu@gmail.com>
7316
7317 * international/mule.el (define-charset):
7318 * mail/rmailmm.el (rmail-mime-find-header-encoding):
7319 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
7320 * progmodes/verilog-mode.el (verilog-backward-token):
7321 * textmodes/ispell.el (lookup-words):
7322 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
7323
71e027ac
GM
73242011-11-14 Glenn Morris <rgm@gnu.org>
7325
56632ce4
GM
7326 * progmodes/executable.el
7327 (executable-make-buffer-file-executable-if-script-p):
7328 Handle file-modes returning nil.
7329
40500957
GM
7330 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
7331 message - not necessary, and causes problems. (Bug#9831)
7332
071c2340
GM
7333 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
7334
d3cfca60
GM
7335 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
7336
71e027ac
GM
7337 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
7338 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
7339 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
7340
89d61221
MR
73412011-11-12 Martin Rudalics <rudalics@gmx.at>
7342
7343 * window.el (window-resize, delete-window): Use window-splits
7344 variable instead of function.
7345 (window-state-get-1, window-state-put-2, window-state-put):
7346 Don't deal with windows' splits status.
7347
98282f6f
GM
73482011-11-12 Glenn Morris <rgm@gnu.org>
7349
7350 * apropos.el (apropos-do-all, apropos-library, apropos-value)
7351 (apropos-documentation): Doc fixes.
7352
40a8bdf6
JB
73532011-11-11 Juanma Barranquero <lekktu@gmail.com>
7354
7355 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
7356 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
7357
65bd19ff
SM
73582011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7359
7360 * electric.el (electric-indent-post-self-insert-function): Make it
7361 possible for a char to only indent in some circumstances.
7362 (electric-indent-mode): Simplify.
7363
54f9154c
MR
73642011-11-11 Martin Rudalics <rudalics@gmx.at>
7365
7366 * window.el (windows-with-parameter): Remove unused function.
7367 (windows-at-side): Rename to window-at-side-list.
7368 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
7369 (window-side-check, window-size-ignore, window-size-fixed-1)
7370 (window-in-direction-2): Prefix with "window--".
7371 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 7372
68cbc58b
GM
73732011-11-11 Glenn Morris <rgm@gnu.org>
7374
7375 * subr.el (eval-after-load): If FILE is already loaded,
7376 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
7377
b2621720
GM
73782011-11-10 Glenn Morris <rgm@gnu.org>
7379
9a4de110
GM
7380 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
7381 Call svn via vc-svn-command rather than vc-do-command.
7382 (vc-svn-command): Add --non-interactive. (Bug#9993)
7383 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
7384
b2621720
GM
7385 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7386 Add toggle-read-only. (Bug#7292)
7387 * files.el (toggle-read-only): Mention that it should only
7388 be used interactively. (Bug#10006)
7389
1dce7193
SM
73902011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7391
d9ac1a1e
SM
7392 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7393 Adjust regexp for OCaml warnings.
7394
0c325082
SM
7395 * electric.el (electric-pair-post-self-insert-function): Let user
7396 turn it off buffer-locally (bug#9932).
7397
90132c14
SM
7398 * progmodes/python.el (python-beginning-of-statement):
7399 Rewrite (bug#2703).
7400
1dce7193
SM
7401 * progmodes/compile.el: Better handle TABs (bug#9749).
7402 (compilation-internal-error-properties)
7403 (compilation-next-error-function): Obey the target buffer's
7404 compilation-error-screen-columns.
7405
c4e7c63a
JB
74062011-11-09 Juanma Barranquero <lekktu@gmail.com>
7407
7408 * progmodes/meta-mode.el: Remove obsolete comments.
7409 (meta-right-comment-regexp, meta-ignore-comment-regexp):
7410 Fix typos in docstrings.
7411
2cffd681
MR
74122011-11-09 Martin Rudalics <rudalics@gmx.at>
7413
7414 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 7415 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
7416 (window--resizable): New function. Make all callers of
7417 window-resizable call window--resizable instead.
7418 (window-resizable): Rewrite in terms of window--resizable.
7419
0edcba87
GM
74202011-11-08 Glenn Morris <rgm@gnu.org>
7421
7422 * progmodes/delphi.el (delphi-mode-syntax-table):
7423 Let define-derived-mode define a proper syntax table. (Bug#9994)
7424
4b0d61e3
SM
74252011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7426
7427 * window.el: Stay away from defsubst.
7428 (window-list-no-nils): Remove.
7429 (window-state-get-1, window-state-get): Use backquote instead.
7430
cd394be1 74312011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 7432
4b0d61e3 7433 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 7434 Fix incorrect use of default argument in `completing-read'.
7435
e1c2c6f2
MR
74362011-11-08 Martin Rudalics <rudalics@gmx.at>
7437
7438 * window.el (display-buffer-function, special-display-function):
7439 Mention display-buffer-record-window but do not mention
7440 help-setup parameter in doc-strings.
b3f4a882 7441 (window-min-delta): Fix doc-string typo.
e1c2c6f2 7442
105216ed
CY
74432011-11-08 Chong Yidong <cyd@gnu.org>
7444
7445 * window.el (window-total-height, window-total-width): Doc fix.
7446 (window-body-size): Move from C.
7447 (window-body-height, window-body-width): Move to C.
7448
0a9f9ab5
SM
74492011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7450
7451 * window.el: Make special-display like display-buffer-alist (bug#9532).
7452 (display-buffer--special-action): New function, morphed
7453 from display-buffer--special.
7454 (display-buffer): Use it to handle special-display-buffers at higher
7455 priority (just after display-buffer-alist).
7456 (display-buffer-fallback-action, display-buffer--other-frame-action)
7457 (pop-to-buffer-same-window): Remove display-buffer--special.
7458
a769dd15
GM
74592011-11-07 Glenn Morris <rgm@gnu.org>
7460
7461 * calendar/cal-menu.el (cal-menu-set-date-title):
7462 Do nothing if not in a calendar. (Bug#9976)
7463
05a61ee3
SM
74642011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7465
7466 * files.el (find-file): Always use selected-window.
7467
be7f5545
MR
74682011-11-07 Martin Rudalics <rudalics@gmx.at>
7469
7470 * window.el (window-combinations): Make WINDOW argument
7471 mandatory. Rewrite doc-string.
7472 (walk-window-subtree, window-atom-check, window-min-delta)
7473 (window-max-delta, window--resize-this-window)
7474 (window--resize-root-window-vertically, window-tree)
7475 (balance-windows, window-state-put): Rewrite doc-strings as to
7476 not mention the term "subwindow".
7477 (window--resize-subwindows-skip-p): Rename to
7478 window--resize-child-windows-skip-p.
7479 (window--resize-subwindows-normal): Rename to
7480 window--resize-child-windows-normal.
7481 (window--resize-subwindows): Rename to
7482 window--resize-child-windows.
7483 (window-or-subwindow-p): Rename to window--in-subtree-p.
7484
3c6702ef
ML
74852011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7486
7487 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7488 Ensure that mbox format messages end in two newlines (Bug#9974).
7489
49745b39
CY
74902011-11-06 Chong Yidong <cyd@gnu.org>
7491
7492 * window.el (window-combination-p): Function deleted; its
7493 side-effect is not used in any existing code.
7494 (window-combinations, window-combined-p): Call window-*-child
7495 directly.
7496
24300f5f
CY
74972011-11-05 Chong Yidong <cyd@gnu.org>
7498
7499 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
7500 (window-size-ignore, window-state-get): Callers changed.
7501 (window-normalize-window): Rename from window-normalize-any-window.
7502 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 7503 (window-normalize-live-window): Delete.
447f16b8
CY
7504 (window-combination-p, window-combined-p, window-combinations)
7505 (walk-window-subtree, window-atom-root, window-min-size)
7506 (window-sizable, window-sizable-p, window-size-fixed-p)
7507 (window-min-delta, window-max-delta, window-resizable)
7508 (window-resizable-p, window-full-height-p, window-full-width-p)
7509 (window-current-scroll-bars, window-point-1, set-window-point-1)
7510 (window-at-side-p, window-in-direction, window-resize)
7511 (adjust-window-trailing-edge, maximize-window, minimize-window)
7512 (window-deletable-p, delete-window, delete-other-windows)
7513 (record-window-buffer, unrecord-window-buffer)
7514 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7515 (quit-window, split-window, window-state-put)
7516 (set-window-text-height, fit-window-to-buffer)
7517 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 7518
89bd5ee1
EZ
75192011-11-04 Eli Zaretskii <eliz@gnu.org>
7520
53479029
EZ
7521 * mail/rmail.el (rmail-simplified-subject): Decode subject with
7522 rfc2047-decode-string.
7523 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7524 warnings.
7525
89bd5ee1
EZ
7526 * window.el (window-body-height, window-body-width): Mention in
7527 the doc string that the return values are in frame's canonical
7528 units. (Bug#9949)
7529
bd17fdee
AM
75302011-11-03 Alan Mackenzie <acm@muc.de>
7531
7532 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7533 change in cc-engine.el.
7534
acc825c5
SM
75352011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
7536
7537 * window.el (switch-to-buffer): Use `force-same-window' interactively.
7538
1885e5b8
MR
75392011-11-02 Martin Rudalics <rudalics@gmx.at>
7540
7541 * window.el (quit-window): Call unrecord-window-buffer after
7542 showing another buffer in the window. (Bug#9937)
acc825c5 7543 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 7544
ebe06da9
JB
75452011-11-02 Juanma Barranquero <lekktu@gmail.com>
7546
7547 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7548 Accept status with more than 9 shelves. (Bug#9935)
7549 Reported by Colin D Bennett <colin@gibibit.com>.
7550
4ee88440
MR
75512011-11-01 Martin Rudalics <rudalics@gmx.at>
7552
7553 * help.el (with-help-window): Don't reference
7554 temp-buffer-show-specifiers in doc-string.
7555
08e1d82c
AS
75562011-10-31 Andreas Schwab <schwab@linux-m68k.org>
7557
7558 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7559 menu-item.
7560
84bd6e9e
VJL
75612011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7562
7563 * whitespace.el: New version 13.2.2.
7564 (whitespace-newline-mode): Disable properly. Reported by Sarah
7565 <EmacsWiki>.
7566
dba0634a
UJ
75672011-10-30 Ulf Jasper <ulf.jasper@web.de>
7568
7569 * net/newst-treeview.el: Remove "Time-stamp".
7570 (newsticker--group-manage-orphan-feeds): Do not call
7571 newsticker--treeview-tree-update.
db22a3c2
JB
7572 (newsticker-treeview-update, newsticker-treeview):
7573 Call newsticker--treeview-tree-update if necessary.
dba0634a 7574
3d8daefe
MR
75752011-10-30 Martin Rudalics <rudalics@gmx.at>
7576
7577 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
7578 (window-iso-combinations): Remove "iso-" infix.
7579 Suggested by Chong Yidong.
3d8daefe
MR
7580 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7581 (window-max-delta-1, window-resize, window--resize-siblings)
7582 (window--resize-this-window, adjust-window-trailing-edge)
7583 (split-window, balance-windows-1)
7584 (shrink-window-if-larger-than-buffer):
7585 * calendar/calendar.el (calendar-generate-window):
db22a3c2 7586 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 7587
1bc4c3ae
SM
75882011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7589
7590 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7591 in place (bug#9907).
7592 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7593 (eshell-rewrite-if-command, eshell-rewrite-for-command)
7594 (eshell-structure-basic-command, eshell-rewrite-while-command)
7595 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7596 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7597 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7598 (eshell-do-pipelines-synchronously, eshell-eval-command):
7599 Use backquotes and prefer setq to set.
7600 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7601 (eshell-macrop): Use functionp.
c1e2f5fa 7602 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 7603
30b65d9c
CY
76042011-10-30 Chong Yidong <cyd@gnu.org>
7605
7606 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7607 instead of set-mark (Bug#9810).
7608
2d197ffb
CY
76092011-10-30 Chong Yidong <cyd@gnu.org>
7610
7611 * window.el (split-window-below, split-window-right): Rename from
7612 split-window-above-each-other and split-window-side-by-side
7613 respectively. All callers changed.
7614 (split-window-sensibly, split-window-sensibly): Use them.
7615 (split-window-keep-point): Doc fix.
7616
7617 * isearch.el: Add isearch-scroll property to split-window-below
7618 and split-window-right.
7619
7620 * follow.el (follow-mode):
7621 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7622 * progmodes/ada-xref.el (ada-gdb-application):
7623 * emulation/vip.el (vip-buffer-in-two-windows):
7624 * image-dired.el (image-dired-dired-with-window-configuration):
7625 * dired-x.el (dired-do-find-marked-files):
7626 * dired.el (dired-pop-to-buffer):
7627 * bs.el (bs--show-with-configuration):
7628 * vc/emerge.el (emerge-setup-windows):
7629 * textmodes/two-column.el (2C-two-columns):
7630 * textmodes/reftex-toc.el (reftex-toc):
7631 * progmodes/gdb-mi.el (gdb-setup-windows):
7632 * progmodes/fortran.el (fortran-window-create):
7633 * net/newst-treeview.el (newsticker--treeview-window-init):
7634 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7635 * emulation/tpu-edt.el (tpu-gold-map):
7636 * emulation/crisp.el (crisp-mode-map):
7637 * calendar/calendar.el (calendar-basic-setup): Callers changed.
7638
38bb2ca8
CY
76392011-10-29 Chong Yidong <cyd@gnu.org>
7640
aa4de341
CY
7641 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7642
e1eb5385
CY
7643 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7644
5d2ece3c
CY
7645 * textmodes/flyspell.el (flyspell-word): Fix char offset for
7646 forged Ispell output (Bug#7904).
7647
38bb2ca8
CY
7648 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7649
d0af9f77
SM
76502011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7651
7652 * doc-view.el: Avoid ugly errors about not finding nil.
7653 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7654 (doc-view-dvipdf-program, doc-view-unoconv-program)
7655 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
7656 Avoid nil or absolute file name as default value.
7657 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
7658
52bedd34
AM
76592011-10-28 Alan Mackenzie <acm@muc.de>
7660
db22a3c2 7661 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 7662
7e43cfa5
AM
76632011-10-28 Alan Mackenzie <acm@muc.de>
7664
7665 Amend the handling of c-beginning/end-of-defun in nested declaration
7666 scopes.
7667
52bedd34
AM
7668 * progmodes/cc-vars.el (c-defun-tactic): Move here from
7669 cc-langs.el. Change it to a defcustom.
7e43cfa5 7670
52bedd34
AM
7671 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
7672 cc-vars.el.
7e43cfa5 7673
d0af9f77
SM
7674 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7675 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 7676
52bedd34 7677 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 7678 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
7679 (c-widen-to-enclosing-decl-scope): New function.
7680 (c-while-widening-to-decl-block): New macro.
7681 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
7682 outward for defun boundaries, and correspondingly change symbol
7683 `respect-enclosure' to `go-outward'.
7684 (c-declaration-limits): Change algorithm to report only the "innermost"
7685 defun's boundaries.
7686
1a2ce9ee
DD
76872011-10-28 Deniz Dogan <deniz@dogan.se>
7688
7689 * net/rcirc.el (rcirc-mode): Use hard newlines.
7690
bc97a826
AM
76912011-10-28 Alan Mackenzie <acm@muc.de>
7692
7693 Amend to indent and fontify macros "which include their own semicolon"
7694 correctly, using the "virtual semicolon" mechanism.
7695
52bedd34 7696 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 7697
d0af9f77 7698 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 7699 Recode to scan one line at a time rather than having \n and \r
58179cce 7700 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 7701 (c-forward-label): Amend for virtual semicolons.
58179cce 7702 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 7703
52bedd34
AM
7704 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7705 of the new C macros.
bc97a826 7706
52bedd34 7707 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
7708 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7709 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
7710 (c-opt-cpp-macro-define): Make into a full language variable.
7711 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7712 AWK Mode (including \n, \r) removed, no longer needed.
7713
d0af9f77
SM
7714 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7715 Invoke c-make-macro-with-semi-re.
bc97a826 7716
52bedd34
AM
7717 * progmodes/cc-vars.el (c-macro-with-semi-re):
7718 (c-macro-names-with-semicolon): New variables.
58179cce 7719 (c-make-macro-with-semi-re): New function.
bc97a826 7720
7a6c0941
SM
77212011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7722
7723 * vc/log-edit.el: Fill empty field rather than adding new one.
7724 (log-edit-add-field): New function.
7725 (log-edit-insert-changelog): Use it.
7726
b0c4cdcf
ML
77272011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7728
7729 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7730
ee1f1da9
SM
77312011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7732
7733 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7734 (gdb--check-interpreter): New function.
7735 (gdb): Use it.
7736
51bc5f8b
GM
77372011-10-27 Glenn Morris <rgm@gnu.org>
7738
416a2c45
GM
7739 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7740 (least-positive-float, least-negative-float)
7741 (least-positive-normalized-float, least-negative-normalized-float)
7742 (float-epsilon, float-negative-epsilon):
7743 Remove unnecessary declarations.
7744
7745 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7746 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7747 (least-positive-float, least-negative-float)
7748 (least-positive-normalized-float, least-negative-normalized-float)
7749 (float-epsilon, float-negative-epsilon): Add doc-strings,
7750 based on those in cl.texi.
7751
51bc5f8b
GM
7752 * files.el (set-visited-file-name): If the major-mode changed,
7753 reload the local variables. (Bug#9796)
7754
15de15c6
CY
77552011-10-27 Chong Yidong <cyd@gnu.org>
7756
7757 * subr.el (change-major-mode-after-body-hook): New hook.
7758 (run-mode-hooks): Run it.
7759
ee1f1da9
SM
7760 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7761 Use change-major-mode-before-body-hook.
15de15c6
CY
7762
7763 * simple.el (fundamental-mode):
7764 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7765 change introducing fundamental-mode-hook.
7766
5430d399
JB
77672011-10-26 Juanma Barranquero <lekktu@gmail.com>
7768
acc825c5 7769 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 7770
ad74a69e
MA
77712011-10-26 Michael Albinus <michael.albinus@gmx.de>
7772
7773 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 7774 tramp.el explicitly. (Bug#7583)
ad74a69e 7775
71d4c2a5
SM
77762011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7777
7778 * progmodes/octave-mod.el:
7779 * progmodes/octave-inf.el: Update maintainer.
7780
b1f6fa26
CY
77812011-10-26 Chong Yidong <cyd@gnu.org>
7782
7783 * subr.el (with-wrapper-hook): Rewrite doc.
7784
3f04efd6
MA
77852011-10-25 Michael Albinus <michael.albinus@gmx.de>
7786
7787 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 7788 filenames "/method:foo:". (Bug#9793)
3f04efd6 7789
410488d3
SM
77902011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7791
7792 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7793 (bug#9865).
7794
c1ebb47e
GM
77952011-10-24 Glenn Morris <rgm@gnu.org>
7796
7797 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
7798
7f5c46c7
MA
77992011-10-24 Michael Albinus <michael.albinus@gmx.de>
7800
7801 * notifications.el: Add the requirement of a running D-Bus session
7802 bus to the Commentary.
7803
db2440b6
JL
78042011-10-24 Juri Linkov <juri@jurta.org>
7805
7806 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7807 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7808 (Bug#9364)
7809
feecf435
JL
78102011-10-24 Juri Linkov <juri@jurta.org>
7811
7812 * info.el (Info-following-node-name-re): Add newline to the list
7813 of allowed characters for leading space. (Bug#9824)
7814
a3839de2
SM
78152011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7816
acc825c5
SM
7817 * progmodes/octave-inf.el (inferior-octave-mode-map):
7818 Fix C-c C-h binding.
a3839de2
SM
7819 * progmodes/octave-mod.el (octave-help): Remove.
7820
09388e76
MA
78212011-10-23 Michael Albinus <michael.albinus@gmx.de>
7822
7823 Sync with Tramp 2.2.3.
7824
7825 * net/tramp-cache.el (top): Pacify byte-compiler using
7826 `init-file-user' and `site-run-file'.
7827
7828 * net/trampver.el: Update release number.
7829
86c60681
CY
78302011-10-23 Chong Yidong <cyd@gnu.org>
7831
7832 * files.el (toggle-read-only): Remove obsolete comment about
7833 version control.
7834
7835 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7836 for toggle-read-only. Note that this hasn't called vc-next-action
7837 since 2008-05-02, though it wasn't documented at the time.
7838
a3839de2
SM
7839 * vc/ediff-init.el (ediff-toggle-read-only-function):
7840 Use toggle-read-only.
86c60681 7841
cd5495ff
AM
78422011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
7843
7844 Fix bug #9560, sporadic wrong indentation; improve instrumentation
7845 of c-parse-state.
7846
00b77525 7847 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 7848 correct faulty logical expression.
cd5495ff
AM
7849 (c-parse-state-state, c-record-parse-state-state):
7850 (c-replay-parse-state-state): New defvar/defuns.
7851 (c-debug-parse-state): Use new functions.
7852
42ee24ed
MR
78532011-10-22 Martin Rudalics <rudalics@gmx.at>
7854
7855 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 7856 last fix. Use window-in-direction correctly.
42ee24ed 7857
a7dee7e7
CY
78582011-10-21 Chong Yidong <cyd@gnu.org>
7859
7860 * progmodes/idlwave.el (idlwave-mode):
7861 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
7862 require-final-newline; that's done in prog-mode.
7863 Suggested by Stefan Monnier.
a7dee7e7 7864
e07b9a6d
MR
78652011-10-21 Martin Rudalics <rudalics@gmx.at>
7866
7867 * mouse.el (mouse-drag-window-above)
7868 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7869 (mouse-drag-mode-line-1, mouse-drag-header-line)
7870 (mouse-drag-vertical-line-rightward-window): Remove.
7871 (mouse-drag-line): New function.
7872 (mouse-drag-mode-line, mouse-drag-header-line)
7873 (mouse-drag-vertical-line): Call mouse-drag-line.
7874 * window.el (window-at-side-p, windows-at-side): New functions.
7875
7e1361d9
UM
78762011-10-21 Ulrich Mueller <ulm@gentoo.org>
7877
7878 * tar-mode.el (tar-grind-file-mode):
7879 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
7880
30fcaf3a
CY
78812011-10-21 Chong Yidong <cyd@gnu.org>
7882
7883 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
7884 * progmodes/vera-mode.el (vera-mode):
7885 Use mode-require-final-newline.
30fcaf3a 7886
516eddb0
GM
78872011-10-20 Glenn Morris <rgm@gnu.org>
7888
db22a3c2 7889 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 7890
10d5f513
CS
78912011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
7892
7893 * emulation/cua-base.el (cua-set-mark): Fix case of string.
7894
ac6c8639
CY
78952011-10-20 Chong Yidong <cyd@gnu.org>
7896
7897 * emulation/cua-base.el (cua-mode):
7898 * mail/footnote.el (footnote-mode):
7899 * mail/mailabbrev.el (mail-abbrevs-mode):
7900 * net/xesam.el (xesam-minor-mode):
7901 * progmodes/bug-reference.el (bug-reference-mode):
7902 * progmodes/cap-words.el (capitalized-words-mode):
7903 * progmodes/compile.el (compilation-minor-mode)
7904 (compilation-shell-minor-mode):
7905 * progmodes/gud.el (gud-tooltip-mode):
7906 * progmodes/hideif.el (hide-ifdef-mode):
7907 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
7908 * progmodes/subword.el (subword-mode):
7909 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7910 * progmodes/which-func.el (which-function-mode):
7911 * term/tvi970.el (tvi970-set-keypad-mode):
7912 * term/vt100.el (vt100-wide-mode):
7913 * textmodes/flyspell.el (flyspell-mode):
7914 * textmodes/ispell.el (ispell-minor-mode):
7915 * textmodes/nroff-mode.el (nroff-electric-mode):
7916 * textmodes/paragraphs.el (use-hard-newlines):
7917 * textmodes/refill.el (refill-mode):
7918 * textmodes/reftex.el (reftex-mode):
7919 * textmodes/rst.el (rst-minor-mode):
7920 * textmodes/sgml-mode.el (html-autoview-mode)
7921 (sgml-electric-tag-pair-mode):
7922 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
7923 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
7924 * emulation/crisp.el (crisp-mode):
7925 * emacs-lisp/eldoc.el (eldoc-mode):
7926 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
7927 minor mode behavior.
7928
aa42ab43
JL
79292011-10-19 Juri Linkov <juri@jurta.org>
7930
7931 * descr-text.el (describe-char): Add #x2010 and #x2011 to
7932 the list of hard-coded chars with escape-glyph face.
7933
89400f1d
SM
79342011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7935
7936 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
7937
305c07f6
MA
79382011-10-19 Michael Albinus <michael.albinus@gmx.de>
7939
7940 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
7941 running process.
7942
13754b54
GM
79432011-10-19 Glenn Morris <rgm@gnu.org>
7944
7945 * vc/vc-bzr.el (vc-bzr-after-dir-status):
7946 Ignore ignored files. (Bug#9726)
7947
06e21633
CY
79482011-10-19 Chong Yidong <cyd@gnu.org>
7949
7950 Doc fix for minor modes, stating that an omitted argument enables
7951 the mode unconditionally when called from Lisp.
7952
7953 * abbrev.el (abbrev-mode):
7954 * allout.el (allout-mode):
7955 * autoinsert.el (auto-insert-mode):
7956 * autoarg.el (autoarg-mode, autoarg-kp-mode):
7957 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7958 (global-auto-revert-mode):
7959 * battery.el (display-battery-mode):
7960 * composite.el (global-auto-composition-mode)
7961 (auto-composition-mode):
7962 * delsel.el (delete-selection-mode):
7963 * desktop.el (desktop-save-mode):
7964 * dired-x.el (dired-omit-mode):
7965 * dirtrack.el (dirtrack-mode):
7966 * doc-view.el (doc-view-minor-mode):
7967 * double.el (double-mode):
7968 * electric.el (electric-indent-mode, electric-pair-mode):
7969 * emacs-lock.el (emacs-lock-mode):
7970 * epa-hook.el (auto-encryption-mode):
7971 * follow.el (follow-mode):
7972 * font-core.el (font-lock-mode):
7973 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7974 * help.el (temp-buffer-resize-mode):
7975 * hilit-chg.el (highlight-changes-mode)
7976 (highlight-changes-visible-mode):
7977 * hi-lock.el (hi-lock-mode):
7978 * hl-line.el (hl-line-mode, global-hl-line-mode):
7979 * icomplete.el (icomplete-mode):
7980 * ido.el (ido-everywhere):
7981 * image-file.el (auto-image-file-mode):
7982 * image-mode.el (image-minor-mode):
7983 * iswitchb.el (iswitchb-mode):
7984 * jka-cmpr-hook.el (auto-compression-mode):
7985 * linum.el (linum-mode):
7986 * longlines.el (longlines-mode):
7987 * master.el (master-mode):
7988 * mb-depth.el (minibuffer-depth-indicate-mode):
7989 * menu-bar.el (menu-bar-mode):
7990 * minibuf-eldef.el (minibuffer-electric-default-mode):
7991 * mouse-sel.el (mouse-sel-mode):
7992 * msb.el (msb-mode):
7993 * mwheel.el (mouse-wheel-mode):
7994 * outline.el (outline-minor-mode):
7995 * paren.el (show-paren-mode):
7996 * recentf.el (recentf-mode):
7997 * reveal.el (reveal-mode, global-reveal-mode):
7998 * rfn-eshadow.el (file-name-shadow-mode):
7999 * ruler-mode.el (ruler-mode):
8000 * savehist.el (savehist-mode):
8001 * scroll-all.el (scroll-all-mode):
8002 * scroll-bar.el (scroll-bar-mode):
8003 * server.el (server-mode):
8004 * shell.el (shell-dirtrack-mode):
8005 * simple.el (auto-fill-mode, transient-mark-mode)
8006 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
8007 (line-number-mode, column-number-mode, size-indication-mode)
8008 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
8009 * strokes.el (strokes-mode):
8010 * time.el (display-time-mode):
8011 * t-mouse.el (gpm-mouse-mode):
8012 * tool-bar.el (tool-bar-mode):
8013 * tooltip.el (tooltip-mode):
8014 * type-break.el (type-break-mode-line-message-mode)
8015 (type-break-query-mode):
8016 * view.el (view-mode):
8017 * whitespace.el (whitespace-mode, whitespace-newline-mode)
8018 (global-whitespace-mode, global-whitespace-newline-mode):
8019 * xt-mouse.el (xterm-mouse-mode): Doc fix.
8020
a3839de2
SM
8021 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8022 Fix autogenerated docstring.
06e21633 8023
5214e501
JL
80242011-10-19 Juri Linkov <juri@jurta.org>
8025
8026 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
8027 by checking environment variables "DESKTOP_SESSION" and
8028 "XDG_CURRENT_DESKTOP". (Bug#9779)
8029
195f8db9
JL
80302011-10-19 Juri Linkov <juri@jurta.org>
8031
8032 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
8033 (browse-url-chromium-program, browse-url-chromium-arguments):
8034 New defcustoms.
8035 (browse-url-default-browser): Check for `browse-url-chromium' and
8036 call `browse-url-chromium-program'.
8037 (browse-url-chromium): New command. (Bug#9779)
8038
343a34ff
JB
80392011-10-18 Juanma Barranquero <lekktu@gmail.com>
8040
8041 * facemenu.el (list-colors-duplicates): On Windows, detect more
8042 duplicates by assuming that only colors matching "^System" are
8043 special "system colors". (Bug#9722)
8044
6978a151
SM
80452011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
8046
8047 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
8048 to distinguish the author from the committer.
8049
6a80b297
MA
80502011-10-18 Michael Albinus <michael.albinus@gmx.de>
8051
8052 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
8053
b31a5677
JK
80542011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
8055
8056 * international/mule.el (sgml-html-meta-auto-coding-function):
8057 Add support for detecting encoding in HTML5 specified only as
8058 <meta charset="UTF-8">. Implementation just makes http-equiv and
8059 content-type parts from HTML4 encoding string optional. (Bug#9716)
8060
80c6d77f
GM
80612011-10-18 Glenn Morris <rgm@gnu.org>
8062
8063 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
8064
08b0fee8
CY
80652011-10-18 Chong Yidong <cyd@gnu.org>
8066
8067 * faces.el (cursor): Doc fix.
8068
67e729a5
CY
80692011-10-17 Chong Yidong <cyd@gnu.org>
8070
8071 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
8072
343a34ff 80732011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
8074
8075 * dirtrack.el (dirtrack): Support shell buffers with path
8076 prefixes, e.g. tramp-based remote shells. (Bug#9647)
8077
0bc06380
TZ
80782011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
8079
8080 * json.el: Bump version to 1.3 and note change in History.
8081 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
8082
8b79f3e0
SM
80832011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8084
5a7c536b
SM
8085 * comint.el (comint-insert-input, comint-send-input)
8086 (comint-get-old-input-default, comint-backward-matching-input)
8087 (comint-next-prompt): Use nil instead of `input' for field property of
8088 past user input (bug#114).
8089
96a8a0df
SM
8090 * minibuffer.el (completion--replace): Inherit surrounding properties
8091 (bug#114).
8092 (minibuffer-complete-and-exit): Use it.
8093
8b79f3e0
SM
8094 * comint.el (comint--table-subvert): Quote the all-completions output
8095 (bug#9160).
8096
b8f7ff0d
MR
80972011-10-17 Martin Rudalics <rudalics@gmx.at>
8098
8b79f3e0 8099 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 8100
b8f7ff0d 8101 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 8102 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
8103 entries and separate them from frame entries.
8104
c235b555
GM
81052011-10-15 Glenn Morris <rgm@gnu.org>
8106
8107 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
8108 Doc fixes.
8109
6bbfa6e1
CY
81102011-10-15 Chong Yidong <cyd@stupidchicken.com>
8111
8b79f3e0
SM
8112 * net/network-stream.el (network-stream-open-starttls):
8113 Improve detection of failure due to lack of TLS support.
ec5c990d 8114
6bbfa6e1
CY
8115 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
8116 putting the input text in front and in bold.
8117
98488977
SM
81182011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8119
3d1337be
SM
8120 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
8121
ee0b45e4
SM
8122 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
8123 empty buffer.
8124
98488977
SM
8125 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
8126 unread-command-events rather than pushing yet-another event.
8127
186f4720
EZ
81282011-10-14 Eli Zaretskii <eliz@gnu.org>
8129
8130 * mail/sendmail.el (sendmail-query-once): Improve the wording of
8131 the explanation of the possible choices. Make the options passed
8132 to completing-read shorter.
8133
8b7a997c
AM
81342011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8135
8136 * textmodes/flyspell.el (flyspell-large-region): Make sure
8137 extended character mode is used if defined (Bug#1339).
8138
12587bbb
EZ
81392011-10-13 Eli Zaretskii <eliz@gnu.org>
8140
8141 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
8142 character info for LRE, LRO, RLE, and RLO characters by appending
8143 an invisible PDF.
12587bbb 8144
bad41229
SM
81452011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
8146
8147 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
8148 even in case of error; add debug spec; simplify data flow.
8149 (with-timeout-handler): Remove.
8150
28dbc92f
MA
81512011-10-12 Michael Albinus <michael.albinus@gmx.de>
8152
8153 Fix Bug#6019, Bug#9315.
8154
8155 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
8156 complete `buffer-file-name', the local file name part could look
8157 remotely (for example on VMS).
8158
8159 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
8160 `tramp-run-real-handler'.
8161 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
8162 already quoted by '"'.
8163
8164 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
8165 Let `file-name-handler-alist' be nil, the local file name part
8166 could look remotely (for example on VMS).
8167
e1b0b23a
SM
81682011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8169
8170 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
8171 from here...
8172 (flyspell-post-command-hook): ...to here.
8173
a120bde9
SM
81742011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8175
8176 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
8177 if not needed.
8178 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
8179 using completion. Protect against "slow" callers.
8180 Remove the "message hack".
8181
7ce7717b
JL
81822011-10-11 Juri Linkov <juri@jurta.org>
8183
8184 * isearch.el (isearch-lazy-highlight-word): New variable.
8185 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8186 Use it. (Bug#9727)
8187
c02ee9d6
GM
81882011-10-11 Glenn Morris <rgm@gnu.org>
8189
8190 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
8191 like f90-previous-statement does.
8192
93e616fd 81932011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8194
1f190e73 8195 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
8196 only in interactive use, to avoid error.
8197
af7b6078
SM
81982011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8199
8200 * minibuffer.el (completion-file-name-table): Fix last change,
8201 i.e. ignore normal errors but not the other ones.
8202
0563dae9
MR
82032011-10-10 Martin Rudalics <rudalics@gmx.at>
8204
8205 * window.el (special-display-buffer-names)
8206 (special-display-regexps): Remove some remnants of earlier
8207 changes from doc-strings.
366ca7f3
MR
8208 (quit-windows-on): New function.
8209
8210 * vc/vc.el (vc-revert, vc-rollback):
8211 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
8212 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 8213 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 8214
49677495
MR
82152011-10-09 Martin Rudalics <rudalics@gmx.at>
8216
8217 * window.el (frame-auto-hide-function): Add version tag.
8218 (Bug#9699)
8219
56f2d1e1
MA
82202011-10-09 Michael Albinus <michael.albinus@gmx.de>
8221
8222 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
8223 condition.
8224
112a6592
LL
82252011-10-09 Leo Liu <sdl.web@gmail.com>
8226
8227 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
8228 (Bug#9701)
8229
0812589b
GM
82302011-10-08 Glenn Morris <rgm@gnu.org>
8231
8232 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
8233 before the first code statement zero indent. (Bug#9690)
8234
b2b0776e
CY
82352011-10-08 Chong Yidong <cyd@stupidchicken.com>
8236
8237 * simple.el (count-words-region): Always count in the region.
8238 Report the number of lines and characters too.
8239 (count-words): New command, which counts in the buffer if the
8240 region is inactive, as count-words-region used to.
8241 (count-words--message): New function. Handle plurals.
8242 (count-lines-region): Make it an alias for count-words-region.
8243
8244 * bindings.el (esc-map): Replace count-lines-region with
8245 count-words-region.
8246
c557cd6b
MR
82472011-10-08 Martin Rudalics <rudalics@gmx.at>
8248
8249 * window.el (window--delete): Delete dedicated frame
8250 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 8251 (switch-to-buffer): Fix doc-string typo.
c557cd6b 8252
61a57ef4 82532011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8254
3a7d293b 8255 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 8256
c3833279
CY
82572011-10-07 Chong Yidong <cyd@stupidchicken.com>
8258
8259 * bindings.el ([M-left],[M-right]): Bind to left-word and
8260 right-word respectively.
8261
21ce8245
GM
82622011-10-07 Glenn Morris <rgm@gnu.org>
8263
8264 * cus-start.el (debug-on-quit): Fix custom type.
8265
6d823bb2
LMI
82662011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8267
0181e193
LMI
8268 * subr.el (define-key-after): Clarify that the function is not
8269 useful for non-menu keymaps.
8270
6d823bb2
LMI
8271 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
8272
8e3459ce 82732011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8274
21ce8245 8275 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 8276 in current minibuffer (Fix bug with recursive minibuffers).
8277
a1c2d21e
CY
82782011-10-06 Chong Yidong <cyd@stupidchicken.com>
8279
8280 * progmodes/gdb-mi.el (gdb): Doc fix.
8281
5a4cf282
MR
82822011-10-05 Martin Rudalics <rudalics@gmx.at>
8283
8284 * window.el (frame-auto-hide-function): New option replacing
8285 frame-auto-delete. Suggested by Stefan Monnier.
8286 (window--delete): Call frame-auto-hide-function instead of
8287 investigating frame-auto-delete.
c96111ea
MR
8288 (window-point-1, set-window-point-1): New functions.
8289 (window-in-direction, record-window-buffer, window-state-get-1)
8290 (display-buffer-record-window): Use window-point-1 instead of
8291 window-point.
8292 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 8293
9854542e
SM
82942011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8295
8296 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
8297
8943cfb0
GM
82982011-10-05 Glenn Morris <rgm@gnu.org>
8299
8300 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
8301 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
8302
647ab967
LL
83032011-10-05 Leo Liu <sdl.web@gmail.com>
8304
8305 * subr.el (read-char-choice): Fix argument to buffer-live-p which
8306 works with buffer object.
8307
3ddfbced
SM
83082011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8309
8310 * mpc.el (mpc-tool-bar-map): Add labels.
8311
bdfa5dd2
GM
83122011-10-04 Glenn Morris <rgm@gnu.org>
8313
8314 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8315
0e2070b5
MR
83162011-10-04 Martin Rudalics <rudalics@gmx.at>
8317
8318 * window.el (window--delete): New function.
8319 (frame-auto-delete): Resuscitate option.
8320 (bury-buffer, replace-buffer-in-windows)
8321 (quit-window): Rewrite using window--delete.
8322 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8323 Pass display-buffer-mark-dedicated to window--display-buffer-2
8324 (Bug#9639).
8325
3dc61a09
SM
83262011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8327
915a9b64
SM
8328 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
8329 returns a list (bug#9554). Add remote file name completion.
8330 * comint.el (comint--table-subvert): Curry and get quote&unquote
8331 functions as arguments.
8332 (comint--complete-file-name-data): Adjust call accordingly.
8333 * pcomplete.el (pcomplete--table-subvert): Remove.
8334 (pcomplete-completions-at-point): Use comint--table-subvert instead.
8335
3dc61a09
SM
8336 * minibuffer.el (completion-table-case-fold): Use currying.
8337 (completion--styles-type, completion--cycling-threshold-type):
8338 New constants.
8339 (completion-styles, completion-category-overrides)
8340 (completion-cycle-threshold): Use them.
8341 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
8342 completion-table-case-fold.
8343
8ea0a993
SB
83442011-10-03 Stephen Berman <stephen.berman@gmx.net>
8345
8346 * minibuffer.el (completion-category-overrides): Fix type of styles
8347 and add more user friendly tags (bug#9660).
8348
8c24b7f6
SM
83492011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8350
8351 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
8352 (mule-input-method-string): New widget.
8353 (default-input-method, language-info-custom-alist): Use it.
8354
428fe61a
SM
83552011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8356
32c1fffd
SM
8357 * pcomplete.el: Require comint.
8358 (pcomplete--common-suffix): Remove.
8359 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
8360 (pcomplete--table-subvert): Sync with comint--table-subvert.
8361 (pcomplete--entries): Use comint-completion-file-name-table.
8362 * comint.el (comint-unquote-filename): Simplify.
8363 (comint-completion-file-name-table): New function (bug#9616).
8364 (comint--complete-file-name-data): Use it.
8365
428fe61a
SM
8366 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
8367 (pcmpl-gnu-tar-buffer): Remove.
8368 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
8369 around. Make sure pcomplete-suffix-list is only changed temporarily.
8370 Don't look inside the tar's file if it's too large.
428fe61a 8371
04c52e2f
CY
83722011-10-01 Chong Yidong <cyd@stupidchicken.com>
8373
ce3cefcc
CY
8374 * cus-edit.el (custom-mode-map):
8375 * epa.el (epa-key-list-mode-map):
8376 * man.el (Man-mode-map):
8377 * startup.el (splash-screen-keymap):
8378 * simple.el (special-mode-map): Use scroll-up-command and
8379 scroll-down-command.
8380
8381 * progmodes/idlw-help.el (idlwave-help-mode-map):
8382 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
8383 * net/newst-plainview.el (newsticker-mode-map):
8384 * emulation/ws-mode.el (wordstar-mode-map):
8385 * emulation/vi.el (vi-com-map):
8386 * calc/calc-graph.el (calc-graph-show-dumb):
8387 * term/sun.el (terminal-init-sun):
8388 * term/ns-win.el (global-map):
8389 * progmodes/grep.el (grep-mode-map):
8390 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
8391 * mail/rmail.el (rmail-mode-map):
8392 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
8393
04c52e2f
CY
8394 * custom.el (custom-safe-themes, load-theme): Treat value of t for
8395 custom-safe-themes as special.
8396
79adf8c8
JD
83972011-10-01 Julien Danjou <julien@danjou.info>
8398
8399 * notifications.el (notifications-notify): Fix docstring.
8400
63bd50d3
PS
84012011-10-01 Per Starbäck <per@starback.se>
8402
8403 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
8404
199e4c7e
MR
84052011-09-30 Martin Rudalics <rudalics@gmx.at>
8406
8407 * startup.el (command-line-1): Fix last fix by inserting
8408 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 8409 (Bug#9605) and (Bug#9636)
199e4c7e 8410
fe5f08dd
EZ
84112011-09-29 Eli Zaretskii <eliz@gnu.org>
8412
8413 * simple.el (line-move): If auto-hscroll-mode is disabled and the
8414 window is hscrolled, move by logical lines. (Bug#9607)
8415 (line-move-visual): Update the doc string to the above effect.
8416
b5516bbd
MR
84172011-09-29 Martin Rudalics <rudalics@gmx.at>
8418
ccee00c0
MR
8419 * window.el (display-buffer-record-window): When WINDOW is the
8420 selected window use `point' instead of `window-point'. (Bug#9626)
8421
b5516bbd
MR
8422 * startup.el (command-line-1): Use insert-before-markers when
8423 inserting initial-scratch-message. (Bug#9605)
ccee00c0 8424
b5516bbd
MR
8425 * help.el (help-window): Remove variable.
8426
52aa0014
GM
84272011-09-29 Glenn Morris <rgm@gnu.org>
8428
8429 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
8430
df9a7357
JB
84312011-09-29 Juanma Barranquero <lekktu@gmail.com>
8432
8433 * descr-text.el (describe-char-categories): Accept category
8434 descriptions more than one line long.
8435
a8406c20
SM
84362011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8437
88d9610c
SM
8438 * simple.el (delete-trailing-whitespace): Fix last change.
8439
a5daf810
SM
8440 * progmodes/perl-mode.el (perl-syntax-propertize-function):
8441 Don't confuse "y => 3" as the beginning of a `y' operation.
8442
a8406c20
SM
8443 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
8444 object has more than 4 slots (bug#9613).
8445
a239d4e9
JB
84462011-09-28 Juanma Barranquero <lekktu@gmail.com>
8447
8448 * subr.el (with-output-to-temp-buffer):
8449 * net/quickurl.el (quickurl, quickurl-browse-url):
8450 Fix typos in docstrings.
8451
693fbdb6
EZ
84522011-09-27 Eli Zaretskii <eliz@gnu.org>
8453
8454 * minibuffer.el (completion-styles)
8455 (completion-category-overrides): Cross reference each other in doc
8456 strings.
8457
8b457e28
GM
84582011-09-27 Glenn Morris <rgm@gnu.org>
8459
8460 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8461 to split-string. (Bug#9606)
8462
85a16208
LMI
84632011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8464
8465 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8466 (bug#9615).
8467
502f9ebd
CY
84682011-09-27 Chong Yidong <cyd@stupidchicken.com>
8469
8470 * emacs-lisp/package.el (list-packages): Fix echo area message.
8471
7690bdea
LL
84722011-09-27 Leo Liu <sdl.web@gmail.com>
8473
8474 * ido.el (ido-read-internal): Accept cons cell HIST arg.
8475
e2ee6f30
MA
84762011-09-25 Michael Albinus <michael.albinus@gmx.de>
8477
8478 * net/dbus.el (dbus-unregister-object): Don't release services for
8479 registered signals. (Bug#9581)
8480
f3f98342
TZ
84812011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
8482
8483 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8484 function that picks between cfengine 2 and 3 support
8485 automatically. Update docs accordingly.
8486
dd7aa8dd
KH
84872011-09-22 Kenichi Handa <handa@m17n.org>
8488
8489 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8490 ZERO.
8491 (indian-itrans-v5-table-for-tamil): New variable.
8492 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8493
3f2b07f8
KM
84942011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
8495
8496 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8497 that's true if the current command involved collapsing of text.
8498 It's reset to false at the beginning of the next command.
8499 (allout-post-command-business): Move the cursor to the beginning
8500 of entry if the cursor is hidden and collapsing activity just
8501 happened.
8502
371d6a61
CY
85032011-09-24 Chong Yidong <cyd@stupidchicken.com>
8504
8505 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8506 tracking (Bug#9541).
8507
2ac2721a
UJ
85082011-09-24 Ulf Jasper <ulf.jasper@web.de>
8509
8510 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
8511 (newsticker-show-news): Automatically load html rendering package
8512 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
8513 because w3m-fill-column is let-bound" and the error "Symbol's value
8514 as variable is void: w3m-fill-column".
2ac2721a 8515
fac7ae53
MA
85162011-09-24 Michael Albinus <michael.albinus@gmx.de>
8517
8518 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8519 Release services only if they are defined. (Bug#9581)
8520
e08b633b
RS
85212011-09-23 Richard Stallman <rms@gnu.org>
8522
e488d29c
RS
8523 * textmodes/paragraphs.el (forward-sentence): For backwards case,
8524 distinguish start of paragraph from start of its text.
8525
19c38752
RS
8526 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8527
e08b633b
RS
8528 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8529 (rmail-generate-viewer-buffer): Put that hook on view buffer.
8530 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8531
0a39f27e
AS
85322011-09-23 Andreas Schwab <schwab@linux-m68k.org>
8533
8534 * international/mule-diag.el (mule-diag): Insert a newline after
8535 each fontset description.
8536
db4e950d
SM
85372011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8538
8539 * simple.el (delete-trailing-whitespace):
8540 Document last change; simplify.
8541
eca3f3ea
PW
85422011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
8543
d68e189a
PW
8544 * simple.el (delete-trailing-whitespace): Also delete
8545 extra newlines at the end of the buffer.
8546
eca3f3ea
PW
8547 * textmodes/picture.el: Make motion commands obey shift-select-mode.
8548 (picture-newline): Use forward-line so as to ignore fields.
8549
01c157cc
SM
85502011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8551
8552 * subr.el (with-wrapper-hook): Fix edebug spec.
8553
022de23e
LMI
85542011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8555
8556 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8557 (bug#4538).
8558
91683089
MA
85592011-09-23 Michael Albinus <michael.albinus@gmx.de>
8560
eca3f3ea
PW
8561 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8562 Fix nasty bug using wrong cached values.
91683089 8563
5bdd6fa4
AM
85642011-09-23 Alan Mackenzie <acm@muc.de>
8565
8566 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8567
97adfb97
CY
85682011-09-23 Chong Yidong <cyd@stupidchicken.com>
8569
8570 * window.el (pop-to-buffer): Ensure right window is selected if we
8571 chose another frame.
8572
d4ef2b50
EZ
85732011-09-22 Eli Zaretskii <eliz@gnu.org>
8574
8575 * simple.el (what-cursor-position): Use get-char-property-change
8576 and next-single-char-property-change, to be able to show display
8577 properties that come from overlays as well as text properties.
8578
72258fe5
CY
85792011-09-22 Chong Yidong <cyd@stupidchicken.com>
8580
8581 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8582
8583 * cmuscheme.el (run-scheme, switch-to-scheme):
8584 * cus-edit.el (customize-group, custom-buffer-create)
8585 (customize-browse):
8586 * info.el (info):
8587 * shell.el (shell):
8588 * mail/sendmail.el (mail):
8589 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8590
8f098516
RS
85912011-09-22 Richard Stallman <rms@gnu.org>
8592
8593 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8594 move back only to line beg, don't move back over blank lines.
8595
e74f1bb6
MA
85962011-09-22 Michael Albinus <michael.albinus@gmx.de>
8597
8598 * files.el (copy-directory): Set directory attributes only in case
8599 they could be retrieved from the source directory. (Bug#9565)
8600
bfeef8b6
DK
86012011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
8602
8603 * progmodes/hideshow.el (hs-looking-at-block-start-p)
8604 (hs-find-block-beginning, hs-hide-level-recursive):
8605 Ignore strings as well as comments. (Bug#9502)
8606
7e423bb8
AS
86072011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
8608
8609 * progmodes/sql.el (sql-comint-postgres):
8610 Convert port number to a string. (Bug#9566)
8611
b4d72fcf
MR
86122011-09-22 Martin Rudalics <rudalics@gmx.at>
8613
8614 * window.el (quit-window): Undedicate window when switching to
8615 previous buffer. Reported by Thierry Volpiatto
8616 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
8617 (special-display-popup-frame): When popping up a new frame reset
8618 its previous buffers to nil. Simplify code.
b4d72fcf 8619
a7b88dc6
MA
86202011-09-21 Michael Albinus <michael.albinus@gmx.de>
8621
8622 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8623 and process filter, as done also in `shell-command'.
8624
cf4eacfd
MR
86252011-09-21 Martin Rudalics <rudalics@gmx.at>
8626
eca3f3ea 8627 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
8628 Call set-window-start with NOFORCE argument t.
8629 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
8630 (quit-window): Reword doc-string. Handle new format of
8631 quit-restore parameter. Don't delete window if it has a
8632 previous buffer we can show instead of the present one.
8633 (display-buffer-record-window): Rewrite using a new format for
8634 the quit-restore window parameter
8635 (special-display-popup-frame, display-buffer-same-window)
8636 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8637 (display-buffer-pop-up-window, display-buffer-use-some-window):
8638 Adapt symbol passed to display-buffer-record-window.
8639 * help.el (help-window-setup): Handle new format of quit-restore
8640 parameter.
8641
8d28cb95
SM
86422011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
8643
94ab793f
SM
8644 * faces.el (face-list): Fix docstring (bug#9564).
8645
8d28cb95
SM
8646 * window.el (display-buffer--action-function-custom-type):
8647 Don't include internal functions in the Custom interface.
8648
3820edeb
JL
86492011-09-20 Juri Linkov <juri@jurta.org>
8650
8651 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8652 (Info-forward-node, Info-backward-node, Info-next-preorder)
8653 (Info-last-preorder): Use it. (Bug#9528)
8654
5147931d
JL
86552011-09-20 Juri Linkov <juri@jurta.org>
8656
8657 * info.el (Info-last-preorder): Visit last menu item only when
8658 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
8659
cf499a1a
JD
86602011-09-20 Julien Danjou <julien@danjou.info>
8661
8662 * password-cache.el (password-cache-remove): Remove entries even if the
8663 value is nil, so that password with a nil value (negative caching) is
8664 possible to invalidate.
8665
f84e2fe2
LM
86662011-09-20 Lawrence Mitchell <wence@gmx.li>
8667
8668 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
8669 all whitespace around breakpoint. (Bug#9553)
8670 (f90-find-breakpoint): Only break at whitespace inside a comment.
8671
78054a46
SM
86722011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8673
8674 * minibuffer.el (completion-file-name-table): Keep track of errors.
8675 (completion-table-with-predicate): Handle the case where pred1 is nil.
8676 * pcomplete.el (pcomplete-completions-at-point): Simplify.
8677
345083b2
SM
86782011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8679
e24e27be
SM
8680 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
8681 (debugger-return-value): Signal an error if the debugging context does
8682 not await any return value.
8683
345083b2
SM
8684 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8685 * image-mode.el (image-toggle-display-text)
8686 (image-toggle-display-image): Stay away from evil `intangible'.
8687
08d355e3
LL
86882011-09-19 Leo Liu <sdl.web@gmail.com>
8689
8690 * replace.el (occur-revert-arguments): Make it permanent-local.
8691 (occur-mode): Don't call font-lock-defontify.
8692
f01da43f
CY
86932011-09-19 Chong Yidong <cyd@stupidchicken.com>
8694
8695 * net/ldap.el (ldap-search-internal): Don't push empty search
8696 result (Bug#9508).
8697
b6072fa6
SM
86982011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8699
8700 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8701
443d6696
MA
87022011-09-19 Michael Albinus <michael.albinus@gmx.de>
8703
8704 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8705 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8706
7cc6e154
JL
87072011-09-18 Juri Linkov <juri@jurta.org>
8708
8709 * buff-menu.el (Buffer-menu-mode-map):
8710 * dired.el (dired-mode-map):
8711 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8712 (lisp-interaction-mode-map):
8713 * emacs-lisp/package.el (package-menu-mode-map):
8714 * epa.el (epa-key-list-mode-map):
8715 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8716 (menu-bar-options-menu):
8717 * outline.el (outline-mode-menu-bar-map):
8718 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8719 * vc/vc-dir.el (vc-dir-menu-map):
8720 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8721 Capitalize non-function content words in menu item strings.
8722
8723 * dired.el (dired-mode-map): Add menu item for
8724 `image-dired-dired-toggle-marked-thumbs'.
8725
80302a81
JL
87262011-09-18 Juri Linkov <juri@jurta.org>
8727
8728 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8729 to `isearch-case-fold-search' and restore its original value
8730 after the `isearch-mode' call.
8731
46c5cf66
JL
87322011-09-18 Juri Linkov <juri@jurta.org>
8733
8734 * progmodes/grep.el (grep-process-setup): Don't check code for 1
8735 because `zgrep' returns 1 for successful matches (bug#9226).
8736
d18b513b
JL
87372011-09-18 Juri Linkov <juri@jurta.org>
8738
8739 * info.el (Info-extract-menu-node-name): Check the second match
8740 for empty string (second test-case of bug#9528).
8741 (Info-last-preorder): Let-bind `Info-history' to nil to not add
8742 intermediate nodes to the history (first test-case of bug#9528).
8743
72753f87
JL
87442011-09-18 Juri Linkov <juri@jurta.org>
8745
8746 * info.el (Info-mode-syntax-table): New variable.
1154d12e 8747 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 8748
c9384295
JL
87492011-09-18 Juri Linkov <juri@jurta.org>
8750
1154d12e
JB
8751 * info.el (Info-file-supports-index-cookies):
8752 Increment line-beginning-position's arg from 3 to 4 because makeinfo
8753 outputs one more line for long file names (bug#4142).
c9384295 8754
d473dce8
CY
87552011-09-18 Chong Yidong <cyd@stupidchicken.com>
8756
8757 * newcomment.el (comment-normalize-vars): If prompting for
8758 comment-start, set comment-start-skip too (Bug#8424).
8759
2176854d
JB
87602011-09-18 Johan Bockgård <bojohan@gnu.org>
8761
8762 * icomplete.el: Fix previous fix of Bug#5849.
8763 (icomplete-mode): Don't set completion-show-inline-help.
8764 (icomplete-minibuffer-setup): Set completion-show-inline-help
8765 locally during icompletion.
8766
3aace4e4
CY
87672011-09-18 Chong Yidong <cyd@stupidchicken.com>
8768
c940224f
CY
8769 * woman.el (woman2-process-escapes): Don't delete unrecognized
8770 escapes (Bug#7843).
8771
3aace4e4
CY
8772 * files.el (inhibit-first-line-modes-regexps): Add image files.
8773 (hack-local-variables-prop-line): Return nil for malformed
8774 prop-lines (Bug#9044).
8775
710dec63
MA
87762011-09-18 Michael Albinus <michael.albinus@gmx.de>
8777
8778 * net/tramp.el (top): Don't require 'shell.
8779 (tramp-methods): Fix docstring.
8780 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
8781 Return complete remote file name. Handle "smb" case.
8782 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
8783 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8784
8785 * net/tramp-compat.el (top): Require 'shell.
8786
8787 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8788 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8789 `tramp-current-host'.
8790 (tramp-get-remote-tmpdir): Remove.
8791
8792 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8793 `tramp-tmpdir' entries.
8794 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8795 (tramp-smb-handle-file-attributes): Ignore errors.
8796 (tramp-smb-wait-for-output): Check also for process end.
8797
5d5ac8ec
LMI
87982011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8799
8800 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8801 when sending QUIT (bug#9312).
8802
8c0f49f0
CY
88032011-09-17 Chong Yidong <cyd@stupidchicken.com>
8804
8805 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8806 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8807 occur-mode-display-occurrence.
8808 (occur-edit-mode): Add usage message.
8809 (occur-cease-edit): New command.
8810 (occur-after-change-function): Use text properties to find the
8811 position of the prefix text.
8812 (occur-engine): Set stickiness of prefix text properties.
8813
8f1383f7
GM
88142011-09-17 Glenn Morris <rgm@gnu.org>
8815
8816 * progmodes/etags.el (complete-tag):
8817 Fix call to completion-in-region. (Bug#9526)
8818
744ba0e3
JL
88192011-09-17 Juri Linkov <juri@jurta.org>
8820
8821 * textmodes/ispell.el (ispell-word): Add to the error message
8822 the word, ispell program name and current dictionary (bug#9121).
8823 (ispell-tex-arg-end): Capitalize "error" in the error message.
8824
d9bbf400
AS
88252011-09-17 Andreas Schwab <schwab@linux-m68k.org>
8826
8827 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8828 check. (Bug#4251)
8829
8da11505
JL
88302011-09-17 Juri Linkov <juri@jurta.org>
8831
8832 * window.el (window-safe-min-height, window-safe-min-width):
8833 Fix typos (followup to bug#9522).
8834
a91adc7e
SJ
88352011-09-17 Sven Joachim <svenjoac@gmx.de>
8836
8837 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8838
064f328a
EZ
88392011-09-16 Eli Zaretskii <eliz@gnu.org>
8840
8841 * simple.el (line-move): If goal-column is set, move by logical
8842 lines, not by display lines. (Bug#971)
8843 (next-line, previous-line, goal-column, line-move-visual): Doc fix
8844 to reflect the above change.
8845
e69df516
SM
88462011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8847
8848 * image.el (imagemagick-register-types): Use regexp-opt.
8849
cbb0f9ab
CY
88502011-09-15 Chong Yidong <cyd@stupidchicken.com>
8851
8852 * window.el (display-buffer-base-action): Rename from
8853 display-buffer-default-action. Make default value empty.
8854 (display-buffer-overriding-action): Convert to defvar.
8855 (display-buffer-fallback-action): New var.
8856
25322144
CY
88572011-09-15 Chong Yidong <cyd@stupidchicken.com>
8858
8859 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8860 declaration.
8861 (package--add-to-archive-contents): If there is a duplicate entry
8862 with an older version, remove it.
8863 (package-menu-mark-delete, package-menu-mark-install)
8864 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
8865 (package-menu-mark-obsolete-for-deletion):
8866 Use package-menu-get-status instead of a regexp search.
25322144
CY
8867 (package-menu-get-status): Use tabulated-list-entry.
8868 (package-menu-mark-upgrades): New command.
d770725a 8869 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
8870 (package-menu-execute): Do installation before deletion.
8871 (package-menu-refresh, package-menu-execute): Use derived-mode-p
8872 instead of checking major-mode.
8873 (package-menu--find-upgrades): New function.
8874
7520339c
LMI
88752011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8876
8877 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8878 passwords in the log buffer.
65a046c4
LMI
8879 (smtpmail-process-filter): Update the process marker so that the
8880 "broken by peer" status message is inserted in the right place.
7520339c 8881
d3c30954
SM
88822011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8883
3fe48822
SM
8884 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8885 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8886 bibtex-completion-at-point-function.
8887 (bibtex-completion-at-point-function): Use them.
8888
1b8b3954
SM
8889 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8890
d3c30954
SM
8891 * mpc.el (mpc-constraints-tag-lookup): New function.
8892 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8893 also to browser "album|playlist".
8894
72779976
JL
88952011-09-14 Juri Linkov <juri@jurta.org>
8896
8897 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
8898 (isearch-edit-string): Use length of `isearch-string' when
8899 `isearch-fail-pos' returns nil.
8900 (isearch-message): Remove duplicate code and call
8901 `isearch-fail-pos' with arg `t'.
8902
a0bf2bcd
CY
89032011-09-14 Chong Yidong <cyd@stupidchicken.com>
8904
17bb0a2d
CY
8905 * replace.el (occur-mode-goto-occurrence): Don't force using other
8906 window (Bug#9499).
8907
a0bf2bcd
CY
8908 * dired-aux.el (dired-do-chmod): Don't provide initial input.
8909
f678e0b6
MR
89102011-09-14 Martin Rudalics <rudalics@gmx.at>
8911
8912 * window.el (display-buffer-window): Remove.
8913 (display-buffer-record-window): Use help-setup window parameter
8914 instead of variable display-buffer-window.
8915 (display-buffer-function, special-display-buffer-names)
8916 (special-display-function): Mention help-setup parameter instead
8917 of display-buffer-window in doc-string.
d3c30954
SM
8918 * help.el (help-window-setup): New argument help-window.
8919 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
8920 Reword some messages.
8921 (with-help-window): Pass window used for displaying the buffer
8922 to help-window-setup. Don't set display-buffer-window.
8923
8e39b2e8
GM
89242011-09-13 Glenn Morris <rgm@gnu.org>
8925
8926 * emacs-lisp/debug.el (debugger-make-xrefs):
8927 Preserve point. (Bug#9462)
8928
85e9c04b
CY
89292011-09-13 Chong Yidong <cyd@stupidchicken.com>
8930
8931 * window.el (window-deletable-p): Use next-frame.
8932
1b36ed6a
MR
89332011-09-13 Martin Rudalics <rudalics@gmx.at>
8934
8935 * window.el (window-auto-delete): Remove.
8936 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 8937 dedication and previous buffers.
1b36ed6a
MR
8938 (switch-to-prev-buffer): Don't delete window.
8939 (delete-windows-on): Delete a window's frame if and only if the
8940 window is dedicated.
8941 (replace-buffer-in-windows): Delete buffer's window or frame if
8942 and only if window is dedicated.
8943 (quit-window): Handle quit-restore as before last change.
4d61f28d 8944 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 8945
ef8ef9fb
CY
89462011-09-13 Chong Yidong <cyd@stupidchicken.com>
8947
8948 * window.el (window-deletable-p): Never delete the last frame on a
8949 given terminal.
8950
b2cba41e
GM
89512011-09-13 Glenn Morris <rgm@gnu.org>
8952
8953 * help.el (describe-key-briefly): Copy previous standard-output change.
8954
51553db6 89552011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
8956
8957 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
8958
b7556719
GM
89592011-09-13 Glenn Morris <rgm@gnu.org>
8960
8961 * emacs-lisp/lisp-mode.el (lisp-indent-function):
8962 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
8963
64b51947
CY
89642011-09-12 Chong Yidong <cyd@stupidchicken.com>
8965
8966 * dired-aux.el (dired-mark-read-string): Don't return default
8967 value on empty input (Bug#9361).
8968 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
8969 Omit initial minibuffer contents.
8970 (dired-do-chmod): Signal an error on empty input.
8971 (dired-mark-read-string): Don't return default on empty input.
8972
8973 * files.el (file-modes-symbolic-to-number): Doc fix.
8974
393a301e
SM
89752011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8976
8977 * international/mule-cmds.el (ucs-completions): Remove.
8978 (read-char-by-name): Use complete-with-action instead; add metadata.
8979
fa5660f9
CY
89802011-09-11 Chong Yidong <cyd@stupidchicken.com>
8981
8982 * window.el (display-buffer--action-function-custom-type)
8983 (display-buffer--action-custom-type): New vars.
8984 (display-buffer-alist, display-buffer-default-action)
8985 (display-buffer-overriding-action): Add defcustom types.
8986
4a592f66
CY
8987 * frame.el (delete-other-frames): Doc fix (Bug#276).
8988
73d56dbd
LMI
89892011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8990
8991 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8992
37ac18a3
CY
89932011-09-11 Chong Yidong <cyd@stupidchicken.com>
8994
8995 Change modes that used same-window-* vars to use switch-to-buffer.
8996
8997 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8998 Use switch-to-buffer.
8999
9000 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
9001 (customize-browse, custom-buffer-create-other-window):
9002 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
9003
9004 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
9005 (Info-prev, Info-up, Info-speedbar-goto-node)
9006 (info-display-manual): Use switch-to-buffer.
9007 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
9008
9009 * mail/sendmail.el (mail): Use switch-to-buffer.
9010 (mail-recover): Use switch-to-buffer-other-window.
9011
9012 * cmuscheme.el (run-scheme, switch-to-scheme):
9013 * ielm.el (ielm):
9014 * shell.el (shell):
9015 * net/rlogin.el (rlogin):
9016 * net/telnet.el (telnet, rsh):
9017 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
9018
10195bd6
AS
90192011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9020
9021 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
9022
b322f63a
LMI
90232011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9024
39d7fed6
LMI
9025 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
9026 so don't mention it (bug#9301).
ba5a81f1 9027 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 9028
ee0e9f11
LMI
9029 * faces.el (face-spec-set-match-display): Make `(type graphic)'
9030 match `x', `w32' and `ns', like the manual says (bug#9029).
9031
0b1c89c1 9032 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
9033 (process-kill-buffer-query-function): Mention the buffer name in
9034 the query.
0b1c89c1 9035
77549ea8
LMI
9036 * image-mode.el (image-next-line): The line parameter is mandatory
9037 (bug#9258).
9038
803ef892
LMI
9039 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
9040 which can be useful (bug#9301).
9041
12980837
LMI
9042 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
9043
91054f8f
LMI
9044 * subr.el (match-string): Mention that the current buffer should
9045 be the same as the search was done in (bug#9282).
9046
b322f63a
LMI
9047 * facemenu.el: Disable the remove-* commands if the mark isn't
9048 active (bug#9162).
9049
3199b96f
CY
90502011-09-10 Chong Yidong <cyd@stupidchicken.com>
9051
9052 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
9053 of display-buffer.
9054 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
9055
9056 * replace.el (occur-mode-goto-occurrence)
9057 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
9058 and display-buffer.
9059
9060 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
9061 display-buffer.
9062
9063 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
9064 special-display and same-window variables.
9065 (mail-other-window): Use switch-to-buffer-other-window.
9066 (mail-other-frame): USe switch-to-buffer-other-frame.
9067
393a301e
SM
9068 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
9069 Use display-buffer-other-frame.
3199b96f
CY
9070 (gdb-display-gdb-buffer): Use pop-to-buffer.
9071
9072 * progmodes/gud.el (gud-goto-info): Use info-other-window.
9073
9074 * progmodes/python.el: Don't set same-window-buffer-names.
9075
9076 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
9077
9078 * window.el (display-buffer-alist): Add *Python*.
9079
8319e0bf
CY
90802011-09-10 Chong Yidong <cyd@stupidchicken.com>
9081
9082 * window.el (display-buffer-alist): Add entry for buffers
9083 previously handled same-window-*.
9084 (display-buffer-alist, display-buffer-default-action)
9085 (display-buffer-overriding-action): Mark as risky.
9086 (display-buffer-alist): Document action function changes.
9087 (display-buffer--same-window-action)
9088 (display-buffer--other-frame-action): New variables.
9089 (switch-to-buffer, display-buffer-other-frame): Use them.
9090 (display-buffer): Rename reuse-frame entry to reusable-frames.
9091 (display-buffer-reuse-selected-window): Function deleted.
9092 (display-buffer-reuse-window): Handle reusable-frames alist entry.
9093 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
9094 (display-buffer-special): New function.
9095 (display-buffer--maybe-pop-up-frame-or-window): Rename from
9096 display-buffer-reuse-or-pop-window. Split off special-display
9097 part into display-buffer-special.
9098 (display-buffer-use-some-window): Don't perform any special
9099 pop-up-frames handling.
9100 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 9101 (display-buffer--maybe-same-window): Rename from
0d3ff375 9102 display-buffer-maybe-same-window.
8319e0bf 9103
919a69aa
CY
9104 * info.el: Don't set same-window-regexps.
9105 (info-setup): New function.
9106 (info-other-window, info): Call it.
9107
9108 * cus-edit.el: Don't set same-window-regexps.
9109 (customize-group): New argument.
9110 (customize-group-other-window): Use it.
9111 (customize-face, customize-face-other-window): Likewise.
9112 (custom-buffer-create-other-window): Use pop-to-buffer directly.
9113
8319e0bf
CY
9114 * net/rlogin.el:
9115 * net/telnet.el:
9116 * progmodes/gud.el: Don't set same-window-regexps.
9117
9118 * cmuscheme.el:
9119 * ielm.el:
9120 * shell.el:
9121 * mail/sendmail.el:
9122 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
9123
25173000
JL
91242011-09-10 Juri Linkov <juri@jurta.org>
9125
9126 * isearch.el (isearch-edit-string): Remove obsolete mention of
9127 `C-w' (`isearch-yank-word-or-char') from docstring.
9128 (isearch-query-replace): Fix typo in docstring (bug#9466).
9129
056e44ef
JL
91302011-09-10 Juri Linkov <juri@jurta.org>
9131
9132 * paren.el (show-paren-function): Don't show escaped parens.
9133 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
9134
c3760c17
EZ
91352011-09-10 Eli Zaretskii <eliz@gnu.org>
9136
9137 * mail/sendmail.el (mml-to-mime, mml-attach-file)
9138 (mm-default-file-encoding): Remove autoload forms, they are
9139 replaced with autoload cookies in mml.el and mm-encode.el.
9140 (mail-add-attachment): New command.
9141 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
9142 (mail-mode): Mention mail-insert-file and mail-add-attachment in
9143 the doc string.
9144 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
9145
fece895e
RT
91462011-09-10 Reuben Thomas <rrt@sc3d.org>
9147
e69df516
SM
9148 * simple.el (count-words-region): Use buffer if there's no region
9149 (bug#9429).
fece895e 9150
5e68ce4a
JL
91512011-09-09 Juri Linkov <juri@jurta.org>
9152
9153 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
9154 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
9155 (wdired-isearch-filter-read-only): New function. (Bug#6362)
9156
0a6b9622
AM
91572011-09-09 Alan Mackenzie <acm@muc.de>
9158
9159 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
9160 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
9161
14a29deb
EZ
91622011-09-09 Eli Zaretskii <eliz@gnu.org>
9163
9164 Fix for Savannah bug#9392.
9165 * simple.el (mail-encode-mml): New defvar.
9166
9167 * mail/rmail.el (mail-encode-mml): Add a defvar.
9168 (rmail-enable-mime-composing): Default to t.
9169 (rmail-forward): Use MIME method of forwarding only if both
9170 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
9171 Set mail-encode-mml non-nil if the MIME method was used.
9172
9173 * mail/sendmail.el (mml-to-mime): Add autoload form.
9174 (mail-encode-mml): Add a defvar.
9175 (mail-mode): Make mail-encode-mml buffer-local and initialize it
9176 to nil.
9177 (mail-send): If mail-encode-mml is non-nil, run the outgoing
9178 message through mml-to-mime, and reset mail-encode-mml to nil.
9179
28c45130
GM
91802011-09-09 Glenn Morris <rgm@gnu.org>
9181
9182 * woman.el (woman-if-body): When processing an .el block,
9183 do not delete the next .el block as well. (Bug#9447)
69f4b618 9184 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 9185
9b1c252e
MR
91862011-09-08 Martin Rudalics <rudalics@gmx.at>
9187
9188 * window.el (window-deletable-p): Make sure window is live before
9189 invoking window-prev-buffers.
9190
567457e3
LL
91912011-09-08 Leo Liu <sdl.web@gmail.com>
9192
9193 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
9194
97f05794
JL
91952011-09-08 Juri Linkov <juri@jurta.org>
9196
9197 * progmodes/compile.el (compilation-environment): Make it
9198 a defcustom (bug#8340).
9199
8b0874b5
MR
92002011-09-08 Martin Rudalics <rudalics@gmx.at>
9201
9202 * window.el (frame-auto-delete): Rename to window-auto-delete.
9203 Make it control auto-deletion of windows and/or frames.
9204 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 9205 for deleting window/frame. (Bug#9419)
8b0874b5
MR
9206 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
9207 Rewrite handling of case when window/frame can be deleted.
9208 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 9209 argument t. (Bug#9456)
8b0874b5 9210
4feb6e73
CY
92112011-09-07 Chong Yidong <cyd@stupidchicken.com>
9212
9213 * help-mode.el (help-mode): Restore autoload.
9214
91ab9c13
JL
92152011-09-07 Juri Linkov <juri@jurta.org>
9216
9217 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
9218 `compilation-environment'. Set buffer-local
9219 `compilation-environment' to `thisenv' later after (funcall mode).
9220 (Bug#8340)
9221
9222 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
9223 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
9224 instead of replacing its value. (Bug#8340)
9225
0527e251
JL
92262011-09-07 Juri Linkov <juri@jurta.org>
9227
9228 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
9229 based on text properties put by `grep-filter' instead of matching
9230 escape sequences.
9231 (grep-mode): Set buffer-local `compilation-error-screen-columns'
9232 to the value of `grep-error-screen-columns' (bug#9438).
9233
249f792c
JL
92342011-09-07 Juri Linkov <juri@jurta.org>
9235
9236 * simple.el (next-error-highlight, next-error-highlight-no-select):
9237 Doc fix (bug#9432).
9238
ff7271b9
OT
92392011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
9240
9241 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9242 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
9243
183fc730
LL
92442011-09-07 Leo Liu <sdl.web@gmail.com>
9245
9246 * net/rcirc.el (rcirc-mode): Conditionally initialize
9247 rcirc-input-ring.
9248
77694924
SM
92492011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9250
9251 * emacs-lisp/find-func.el (find-function-C-source): Only set
9252 find-function-C-source-directory after checking that we found a source
9253 file there (bug#9440).
9254
d809b8eb
AM
92552011-09-06 Alan Mackenzie <acm@muc.de>
9256
9257 * isearch.el (isearch-other-meta-char): Wherever a key list is
9258 unread, "unread" the prefix arg, too. This fixes bug #8901.
9259
453de99f
OG
92602011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9261
9262 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
9263
90439906
JL
92642011-09-05 Juri Linkov <juri@jurta.org>
9265
9266 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
9267
f62bd846
JL
92682011-09-05 Juri Linkov <juri@jurta.org>
9269
9270 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
9271 keeping point where processing of grep matches begins, and
9272 continue to delete remaining escape sequences from the same point.
9273 (grep-filter): Make leading zero optional in "0?1;31m" because
9274 git-grep emits "\033[1;31m" escape sequences unlike expected
9275 "\033[01;31m" as GNU Grep does (bug#9408).
9276 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
9277
045820ec
JL
92782011-09-05 Juri Linkov <juri@jurta.org>
9279
9280 * subr.el (y-or-n-p): Capitalize "yes".
9281
f5e29b9b
MA
92822011-09-04 Michael Albinus <michael.albinus@gmx.de>
9283
9284 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
9285 `tramp-cache-unload-hook' where appropriate.
9286 (tramp-methods): Rename `tramp-remote-sh' to
9287 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
9288 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
9289
9290 * net/tramp-sh.el (top): Don't require 'shell.
9291 (tramp-methods): Add `tramp-remote-shell' and
9292 `tramp-remote-shell-args' entries.
9293 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
9294 (tramp-sh-handle-shell-command): Remove.
9295 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9296 Use `tramp-remote-shell'.
9297
2784c434
CY
92982011-09-03 Chong Yidong <cyd@stupidchicken.com>
9299
393a301e 9300 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
9301 (sendmail-query-once): Save directly to send-mail-function.
9302 Update message-send-mail-function too.
9303
9304 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
9305
464cdf56
CS
93062011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9307
9308 * progmodes/python.el (python-mode-map): Use correct function to
9309 start python interpreter from menu-bar (as reported by Geert
9310 Kloosterman).
9311 (inferior-python-mode-map): Fix typo.
393a301e 9312 (python-shell-map): Remove.
464cdf56 9313
d37e5c87
DD
93142011-09-03 Deniz Dogan <deniz@dogan.se>
9315
9316 * net/rcirc.el (rcirc-print): Simplify code for
9317 rcirc-scroll-show-maximum-output. There is no need to walk
9318 through all windows to find the right one.
9319
f3ada0ee
CS
93202011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9321
9322 * help.el (help-return-method): Doc fix.
9323
1f3c99ca
MR
93242011-09-03 Martin Rudalics <rudalics@gmx.at>
9325
9326 * window.el (window-deletable-p): Don't return a non-nil value
9327 when there's a buffer that was shown in the window before.
9328 (Bug#9419)
393a301e
SM
9329 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9330 Set window's previous buffers to nil.
1f3c99ca 9331
a3cf097f
EZ
93322011-09-03 Eli Zaretskii <eliz@gnu.org>
9333
9334 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
9335 newline before and after the tag line, so it doesn't interfere
9336 with determining the paragraph direction of bidirectional text.
9337
3d03de90
LL
93382011-09-03 Leo Liu <sdl.web@gmail.com>
9339
9340 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
9341
c3313451
CY
93422011-09-02 Chong Yidong <cyd@stupidchicken.com>
9343
393a301e 9344 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
9345 (pop-to-buffer): Change interactive spec. Pass second argument
9346 directly to display-buffer.
9347 (display-buffer): Fix interactive spec. Use functionp to
9348 distinguish between a function and a list of functions.
9349
9350 * abbrev.el (edit-abbrevs):
9351 * arc-mode.el (archive-extract):
9352 * autoinsert.el (auto-insert):
9353 * bookmark.el (bookmark-bmenu-list):
9354 * files.el (find-file):
9355 * view.el (view-buffer):
9356 * progmodes/compile.el (compilation-goto-locus):
9357 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
9358
89894cd8
CY
93592011-09-02 Chong Yidong <cyd@stupidchicken.com>
9360
9361 * window.el (display-buffer-alist): Doc fix.
9362 (display-buffer): Add docstring. Don't treat
9363 display-buffer-default specially.
9364 (display-buffer-reuse-selected-window)
9365 (display-buffer-same-window, display-buffer-maybe-same-window)
9366 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9367 (display-buffer-pop-up-window)
9368 (display-buffer-reuse-or-pop-window)
9369 (display-buffer-use-some-window): New functions.
9370 (display-buffer-default-action): Use them.
393a301e 9371 (display-buffer-default): Delete.
89894cd8
CY
9372 (pop-to-buffer-1): Fix choice of actions.
9373
ae0bc9fb
SM
93742011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
9375
9376 * minibuffer.el (completion--insert-strings): Don't get confused by
9377 completion entries that end with an LF char.
9378
e9d90883
EZ
93792011-09-01 Eli Zaretskii <eliz@gnu.org>
9380
9381 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
9382
437014c8
CY
93832011-09-01 Chong Yidong <cyd@stupidchicken.com>
9384
9385 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
9386 (display-buffer-same-window, display-buffer-other-window):
9387 New functions.
437014c8
CY
9388 (pop-to-buffer-1): New function. Use the above.
9389 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 9390 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
9391
9392 * view.el (view-buffer-other-window, view-buffer-other-frame):
9393 Just use pop-to-buffer.
9394
a5e063d5
TV
93952011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9396
9397 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
9398
793d32bb
WH
93992011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
9400
9401 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
9402
d65e4c15
RS
94032011-08-31 Richard Stallman <rms@gnu.org>
9404
9405 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
9406 of the separation of rmail-view-buffer from rmail-buffer.
9407 If you say no to "replace original", the decrypt is in the
9408 view buffer. If you say yes, the decrypt goes into the
9409 rmail buffer also.
9410
f818cd2a
MR
94112011-08-31 Martin Rudalics <rudalics@gmx.at>
9412
9413 * window.el (display-buffer-window): Rewrite doc-string.
9414 (display-buffer-record-window): New function.
9415 (display-buffer-macro-specifiers)
9416 (display-buffer-even-window-sizes, display-buffer-set-height)
9417 (display-buffer-set-width, display-buffer-in-window)
9418 (display-buffer-reuse-window, display-buffer-split-specifiers)
9419 (display-buffer-side-specifiers, display-buffer-split-window-1)
9420 (display-buffer-split-window, display-buffer-split-atom-window)
9421 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9422 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
9423 (display-buffer-other-window-means-other-frame)
9424 (display-buffer-normalize-special)
9425 (display-buffer-normalize-default)
9426 (display-buffer-normalize-argument)
9427 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
9428 (display-buffer-normalize-specifiers, display-buffer-frame)
9429 (display-buffer-same-window, display-buffer-same-frame)
9430 (display-buffer-other-window)
9431 (display-buffer-same-frame-other-window)
9432 (display-buffer-other-frame, pop-to-buffer-same-window)
9433 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
9434 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
9435 (switch-to-buffer-same-frame)
9436 (switch-to-buffer-other-window-same-frame)
9437 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
9438 (display-buffer-alist-set-1, display-buffer-alist-set-2)
9439 (display-buffer-alist-set): Remove.
9440 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
9441 (special-display-regexps, special-display-function):
9442 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
9443 parameter.
9444 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9445 (special-display-frame-alist, special-display-popup-frame)
9446 (same-window-buffer-names, same-window-regexps, same-window-p)
9447 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9448 (split-window-preferred-function, split-height-threshold)
9449 (split-width-threshold, window-splittable-p)
9450 (split-window-sensibly, window--try-to-split-window)
9451 (window--frame-usable-p, even-window-heights)
9452 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
9453 (window--display-buffer-2, display-buffer-other-frame):
9454 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
9455 (display-buffer-default, display-buffer-assq-regexp): New functions.
9456 (display-buffer-alist): Rewrite doc-string.
9457 (display-buffer-default-action)
9458 (display-buffer-overriding-action): New variables.
9459 (display-buffer, switch-to-buffer): Rewrite.
9460 (pop-to-buffer): Restore Emacs 23 behavior but use
9461 window-normalize-buffer-to-display.
9462 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9463 Restore Emacs 23 behavior but use
9464 window-normalize-buffer-to-switch-to.
9465 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
9466 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9467 Rewrite using Emacs 23 options.
f818cd2a 9468
5bc3b51d
MA
94692011-08-31 Michael Albinus <michael.albinus@gmx.de>
9470
9471 * net/tramp.el (tramp-root-regexp): Remove.
9472 (tramp-completion-file-name-regexp-unified)
9473 (tramp-completion-file-name-regexp-separate)
9474 (tramp-completion-file-name-regexp-url): Don't use leading volume
9475 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
9476 (tramp-drop-volume-letter): Simplify definition.
9477 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 9478
b1a4f8e1
SM
94792011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
9480
9481 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9482 (bug#9356).
9483
5664fa7b
RT
94842011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
9485
b1a4f8e1 9486 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 9487
9a45d6c3
JL
94882011-08-29 Juri Linkov <juri@jurta.org>
9489
9490 * isearch.el (isearch-done): Don't display message "Mark saved"
9491 when arg `edit' is non-nil to prevent its flicker in the echo area.
9492
fb87e0fb
CY
94932011-08-28 Chong Yidong <cyd@stupidchicken.com>
9494
9495 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9496 obsolete packages for deletion.
9497
09ac1c2a
CS
94982011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
9499
9500 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 9501 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
9502 view-mode from help-mode.
9503 (help-xref-override-view-map): Remove.
9504 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9505 view-mode is not used anymore.
9506
7a1ff57f
CY
95072011-08-28 Chong Yidong <cyd@stupidchicken.com>
9508
9509 * server.el (server-port): Doc fix.
9510
b9696605
CY
9511 * cus-theme.el (custom-theme-choose-mode): Inherit from
9512 special-mode (Bug#9124).
9513 (custom-theme-choose-mode-map): Add special-mode to parent.
9514
ef8cdf8c
AM
95152011-08-28 Alan Mackenzie <acm@muc.de>
9516
9517 * progmodes/cc-fonts.el
9518 (c-make-font-lock-BO-decl-search-function): New function.
9519 (c-basic-matchers-after - "Fontify the clauses after various
9520 keywords"): Extract the three keyword lists for the 3 erroneous
9521 constructs from the list of four, and use the new function above
9522 in place of an old one.
9523
27de4e20
DD
95242011-08-28 Deniz Dogan <deniz@dogan.se>
9525
9526 * net/rcirc.el (rcirc-insert-prev-input)
9527 (rcirc-insert-next-input): Remove unused argument.
9528
356a3681
SM
95292011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9530
9531 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9532
3fc9b218
AM
95332011-08-27 Alan Mackenzie <acm@muc.de>
9534
9535 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9536 handle function pointer parameters properly.
9537
538a061c
MR
95382011-08-27 Martin Rudalics <rudalics@gmx.at>
9539
9540 * window.el (display-buffer-reuse-window): Fix case where
9541 selected window was reused with non-nil OTHER-WINDOW argument.
9542 (Bug#9381)
9543
35b1c40c
DD
95442011-08-27 Deniz Dogan <deniz@dogan.se>
9545
9546 * net/rcirc.el (rcirc-check-auth-status): Adding support for
9547 oftc's NickServ messages.
9548
2f6a3e79
GM
95492011-08-27 Glenn Morris <rgm@gnu.org>
9550
9551 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
9552
7254299e
CY
95532011-08-26 Chong Yidong <cyd@stupidchicken.com>
9554
9555 * emacs-lisp/package.el (package-install): Call package-initialize
9556 if called interactively.
9557
f8ccf167
LL
95582011-08-26 Leo Liu <sdl.web@gmail.com>
9559
9560 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
9561
3e8cd5ce
JL
95622011-08-25 Juri Linkov <juri@jurta.org>
9563
9564 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9565 `search-whitespace-regexp' (bug#9364).
9566
93eb7113
JL
95672011-08-25 Juri Linkov <juri@jurta.org>
9568
9569 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9570 `regexp-search-ring' to their global values to protect from
9571 updating by `read-from-minibuffer' (bug#9185).
9572
f65d1611
JL
95732011-08-25 Juri Linkov <juri@jurta.org>
9574
9575 * textmodes/ispell.el (ispell-command-loop): Add newline
9576 at the end of the "Use option `i'..." line.
9577
f1cf7a31
JL
95782011-08-25 Juri Linkov <juri@jurta.org>
9579
9580 * battery.el (display-battery-mode): If `battery-status-function'
9581 or `battery-mode-line-format' is nil, display the message and set
9582 `display-battery-mode' to nil (bug#9363).
9583
0c95fcf7
EZ
95842011-08-25 Eli Zaretskii <eliz@gnu.org>
9585
9586 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9587 bidi-string-mark-left-to-right; they are unnecessary now.
9588
a2ebe600
DD
95892011-08-25 Deniz Dogan <deniz@dogan.se>
9590
9591 * net/quickurl.el: Documentation typo fixes.
9592
e4ed06f1
CY
95932011-08-25 Chong Yidong <cyd@stupidchicken.com>
9594
9595 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9596
e5f1c99e
GM
95972011-08-25 Glenn Morris <rgm@gnu.org>
9598
b2948976
GM
9599 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9600
e5f1c99e
GM
9601 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9602 (smtpmail-via-smtp): Handle nil response from smtp.
9603
f22f4808
JL
96042011-08-24 Juri Linkov <juri@jurta.org>
9605
9606 * proced.el (proced-marked): Inherit from `error' instead of
9607 `font-lock-warning-face'.
9608
9609 * ibuffer.el (ibuffer-marked-face): Change default face from
9610 `font-lock-warning-face' to `warning'.
9611 (ibuffer-deletion-face): Change default face from
9612 `font-lock-type-face' to `error'.
9613
9614 * battery.el (battery-update): Use the face `error' instead of
9615 `font-lock-warning-face' (bug#6117).
9616
6a93965e
JL
96172011-08-24 Juri Linkov <juri@jurta.org>
9618
9619 * faces.el (success): Change face color from "Green3" to
9620 "ForestGreen" on light background (bug#9353).
9621
1ed43b09
CY
96222011-08-24 Chong Yidong <cyd@stupidchicken.com>
9623
5664fa7b
RT
9624 * window.el (quit-window): Rename from quit-restore-window.
9625 Use same arglist as old quit-window.
1ed43b09
CY
9626 (frame-auto-delete): Doc fix.
9627
9628 * view.el (view-mode-exit): Use quit-window.
9629
11dcdbb2
JL
96302011-08-24 Juri Linkov <juri@jurta.org>
9631
9632 * isearch.el (isearch-ring-adjust1): Start visiting previous
9633 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9634 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9635 for empty search string (when the last search string is reused
9636 automatically) to adjust the isearch ring to the last element and
9637 prepare the correct index for further M-p commands (bug#9185).
9638
de62b4df
KH
96392011-08-24 Kenichi Handa <handa@m17n.org>
9640
9641 * international/ucs-normalize.el: If decomposition property of
9642 CHAR is the default one (i.e. a list of CHAR itself), treat it as
9643 nil.
9644 (nfd, nfkd): Likewise.
9645
963b492b
SM
96462011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
9647
9648 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9649 from process filters aren't reliably transmitted to the surrounding
9650 accept-process-output.
9651 (mpc-proc-check): New function.
9652 (mpc-proc-sync): Use it (bug#8293)
9653
93b6b5e1
SM
96542011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9655
9656 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
9657 Add compatibility functions (bug#9313).
9658
bca633fb
EZ
96592011-08-23 Eli Zaretskii <eliz@gnu.org>
9660
b177498a
EZ
9661 * cus-start.el (all): Add entry for bidi-paragraph-direction.
9662
6df6ae42 9663 * international/uni-bidi.el: Regenerate.
bca633fb 9664
0902a04e
KH
96652011-08-23 Kenichi Handa <handa@m17n.org>
9666
9667 * international/charprop.el:
9668 * international/uni-bidi.el:
9669 * international/uni-category.el:
9670 * international/uni-combining.el:
9671 * international/uni-comment.el:
9672 * international/uni-decimal.el:
9673 * international/uni-decomposition.el:
9674 * international/uni-digit.el:
9675 * international/uni-lowercase.el:
9676 * international/uni-mirrored.el:
9677 * international/uni-name.el:
9678 * international/uni-numeric.el:
9679 * international/uni-old-name.el:
9680 * international/uni-titlecase.el:
9681 * international/uni-uppercase.el: Regenerate.
9682
3bbf23bc
MR
96832011-08-23 Martin Rudalics <rudalics@gmx.at>
9684
9685 * help.el (help-window-setup): Fix message displayed when other
9686 window is reused. (Bug#9341)
9687
b3fd59bd
SM
96882011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9689
1802e444
SM
9690 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9691 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9692
b3fd59bd
SM
9693 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9694 Mark obsolete.
9695 * shell.el (shell-parse-pcomplete-arguments): New function.
9696 (shell-completion-vars): Use it instead (bug#9160).
9697
4eb61348
SM
96982011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9699
867cab74
SM
9700 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9701 strings and comments (bug#9333).
9702
4eb61348
SM
9703 * emacs-lisp/debug.el (debug-arglist): New function.
9704 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
9705 (debug-on-entry-1): Handle interpreted closures (bug#9120).
9706
262a1439
JL
97072011-08-22 Juri Linkov <juri@jurta.org>
9708
56ee679c
JL
9709 * progmodes/compile.el (compilation-mode-font-lock-keywords):
9710 Revert regexp that highlights output switches to its old
9711 pre-2010-10-28 value and remove one `?' from it (bug#9319).
9712
262a1439
JL
9713 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9714 to check for empty output (bug#9226).
9715
f13f86fb
CY
97162011-08-22 Chong Yidong <cyd@stupidchicken.com>
9717
9718 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9719 symbol-constituent as the default, as that stops font-lock from
9720 working properly (Bug#8843).
9721
c65c9622
LMI
97222011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9723
9724 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9725 `coding-system-for-*' around the process open call to avoid
9726 auth-source side effects.
e7f2c178 9727 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
9728 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9729 probe hangs.
c65c9622 9730
23a8a5ab
CY
97312011-08-21 Chong Yidong <cyd@stupidchicken.com>
9732
ff98b2dd
CY
9733 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9734
23a8a5ab
CY
9735 * emacs-lisp/find-func.el (find-function-noselect): New arg
9736 lisp-only.
9737
9738 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9739 signal an error for built-in functions (Bug#6664).
9740
f5e3c598
LMI
97412011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9742
9743 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9744 (smtpmail-try-auth-methods): Use it.
9745
a3f2468a
CY
97462011-08-21 Chong Yidong <cyd@stupidchicken.com>
9747
2c34e8da
CY
9748 * font-lock.el (font-lock-fontify-region)
9749 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9750 (font-lock-default-unfontify-buffer)
9751 (font-lock-default-fontify-region)
9752 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9753
b3fd59bd
SM
9754 * progmodes/compile.el (compilation-error-properties):
9755 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
9756 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9757 `ant' regexp.
ee31aabc 9758
a3f2468a
CY
9759 * net/browse-url.el (browse-url-firefox): Don't call
9760 browse-url-firefox-sentinel unless using -remote (Bug#9328).
9761
8e999f70
GM
97622011-08-20 Glenn Morris <rgm@gnu.org>
9763
c21a496a
GM
9764 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9765
59ee0542
GM
9766 * tutorial.el (tutorial--default-keys): Update some default bindings.
9767
8e999f70
GM
9768 * files.el (hack-local-variables): Fully ignore case for "mode:".
9769
e3715033
AM
97702011-08-20 Alan Mackenzie <acm@muc.de>
9771
9772 Resolve invalid use of a regexp in regexp-opt.
9773
4d61f28d
JB
9774 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9775 detection for a java annotation.
e3715033 9776
4d61f28d 9777 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
9778 detection for a java annotation.
9779
4d61f28d
JB
9780 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9781 handling for java.
e3715033
AM
9782 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9783
04ed2e9c
CY
97842011-08-20 Chong Yidong <cyd@stupidchicken.com>
9785
9786 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9787 (Bug#9274).
9788
826cee64
AM
97892011-08-20 Alan Mackenzie <acm@muc.de>
9790
58179cce 9791 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
9792 such a construct. Mainly for when jit-lock etc. starts a chunk
9793 here.
9794
58179cce 9795 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 9796 variable.
58179cce 9797 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
9798 c-make-font-lock-search-function.
9799 (c-make-font-lock-search-function): Use the above function.
9800 (c-make-font-lock-context-search-function): New function.
9801 (c-cpp-matchers): Enhance the preprocessor expression case with
9802 the above function
9803 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9804 which takes an expression.
9805
9806 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9807
13009bd8
MR
98082011-08-20 Martin Rudalics <rudalics@gmx.at>
9809
9810 * window.el (display-buffer-reuse-window)
9811 (display-buffer-pop-up-window): Don't reuse or split a side
9812 window.
9813
9234ff7f
GM
98142011-08-19 Glenn Morris <rgm@gnu.org>
9815
9816 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 9817 Downcase "Mode:". (Bug#9331)
9234ff7f 9818
f635daa1
CY
98192011-08-18 Chong Yidong <cyd@stupidchicken.com>
9820
9821 * international/characters.el: Add L and R categories.
9822
9823 * subr.el (bidi-string-mark-left-to-right): Rename from
9824 string-mark-left-to-right. Use category search.
9825
9826 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9827
bc987f8b
JL
98282011-08-18 Juri Linkov <juri@jurta.org>
9829
9830 * faces.el (error, warning, success): New faces with definitions
9831 copied from old default values of `font-lock-warning-face',
9832 `compilation-warning', `compilation-info' (bug#6117).
9833
9834 * font-lock.el (font-lock-warning-face): Inherit from `error'.
9835
9836 * progmodes/compile.el (compilation-error): Inherit from `error'.
9837 (compilation-warning): Inherit from `warning'.
9838 (compilation-info): Inherit from `success'.
9839
9840 * dired.el (dired-marked): Inherit from `warning'.
9841 (dired-flagged): Inherit from `error'.
9842
57173b96
LMI
98432011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9844
3e79eb87
LMI
9845 * mail/smtpmail.el (auth-source): Require to avoid problems with
9846 binding variables (bug#9298). Also clean up some unused
9847 autoloads.
9848
b3fd59bd
SM
9849 * net/network-stream.el (network-stream-open-starttls):
9850 Support using starttls.el without using gnutls-cli.
57173b96 9851
02b404de
JL
98522011-08-17 Juri Linkov <juri@jurta.org>
9853
9854 * progmodes/grep.el (rgrep): Handle the case when
9855 `grep-find-command' is a cons cell (bug#9278).
9856
8c9177f2
MR
98572011-08-17 Martin Rudalics <rudalics@gmx.at>
9858
9859 * window.el (display-buffer-pop-up-frame): Run frame creation
9860 function with BUFFER current (as special-display-popup-frame
9861 does). Reported by Drew Adams.
9862
3644a0ab
DU
98632011-08-17 Daiki Ueno <ueno@unixuser.org>
9864
9865 * epa-mail.el: Simplify GnuPG group expansion using
9866 epg-expand-group.
9867 (epa-mail-group-alist, epa-mail-group-modtime)
9868 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9869 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9870 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9871 Remove.
9872
5e617bc2 98732011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
9874
9875 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9876
9c4aeabf
AM
98772011-08-16 Alan Mackenzie <acm@muc.de>
9878
9879 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9880 Correct, to avoid the inside of macros.
9881
3a99bf64
RS
98822011-08-16 Richard Stallman <rms@gnu.org>
9883
04963aa8
RS
9884 * epa-mail.el: Handle GnuPG group definitions.
9885 (epa-mail-group-alist, epa-mail-group-modtime)
9886 (epa-mail-gnupg-conf-file): New variables.
9887 (epa-mail-parse-groups, epa-mail-sync-groups)
9888 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9889 (epa-mail-expand-recipients): New functions.
9890 (epa-mail-encrypt): Call epa-mail-expand-recipients.
9891
177549d0
RS
9892 * mail/rmail.el (rmail-epa-decrypt): New command.
9893
fe38beef
RS
9894 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9895 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
9896 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
9897 (epa-decrypt-armor-in-region): Make error message clearer.
9898
934eacb9
SM
98992011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9900
9901 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
9902 and "a2b" to "ab" for `prefix'.
9903
d024fb4e
CY
99042011-08-14 Chong Yidong <cyd@stupidchicken.com>
9905
9906 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
9907 filter groups.
de148fee
CY
9908 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
9909 Fourquet (Bug#8804).
d024fb4e 9910
62f1ca49
JB
99112011-08-12 Juanma Barranquero <lekktu@gmail.com>
9912
9913 * startup.el (argi): Declare as global variable (bug#9275).
9914
9ccaaa4b
CY
99152011-08-12 Chong Yidong <cyd@stupidchicken.com>
9916
9917 * subr.el (string-mark-left-to-right): Search the entire string
9918 for RTL script, not just the terminating character. Doc fix.
9919
a3dae87a
SM
99202011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9921
6cd18349
SM
9922 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
9923 New function.
9924 (js--regexp-literal, js-syntax-propertize-function): Remove.
9925 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
9926 (js-mode-map): Don't rebind electric keys.
9927 (js-insert-and-indent): Remove.
9928 (js-mode): Setup electric-layout and electric-indent instead.
9929
a3dae87a
SM
9930 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
9931
9d5cb631
DU
99322011-08-12 Daiki Ueno <ueno@unixuser.org>
9933
9934 * epa.el (epa-progress-callback-function): Fix the logic of
9935 displaying progress.
9936 * epa-file.el (epa-file-insert-file-contents): Make progress
9937 display more user-friendly.
9938 (epa-file-write-region): Ditto.
9939
3e26a4a2
CY
99402011-08-10 Chong Yidong <cyd@stupidchicken.com>
9941
9942 * subr.el (string-mark-left-to-right): New function.
9943
9944 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
9945 Use string-mark-left-to-right.
9946 (list-buffers-noselect): Caller changed.
9947
a3dae87a
SM
9948 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9949 Use string-mark-left-to-right.
3e26a4a2
CY
9950 (tabulated-list-print): Recenter after moving point.
9951
ac8cf6e6
JL
99522011-08-10 Juri Linkov <juri@jurta.org>
9953
9954 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
9955 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
9956 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
9957
8d96c9a4
CY
99582011-08-09 Chong Yidong <cyd@stupidchicken.com>
9959
9960 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
9961 (Bug#7554).
9962
7be1c708 99632011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
9964
9965 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
9966 character. (Bug#6594)
9967
37e11a63
CY
99682011-08-08 Chong Yidong <cyd@stupidchicken.com>
9969
839dde57
CY
9970 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
9971 (image-dired--with-db-file): New macro.
9972 (image-dired-write-tags, image-dired-remove-tag)
9973 (image-dired-create-gallery-lists, image-dired-write-comments)
9974 (image-dired-get-comment, image-dired-mark-tagged-files)
9975 (image-dired-list-tags, image-dired-gallery-generate): Use it.
9976 (image-dired-gallery-generate): Use insert-file-contents.
9977
37e11a63
CY
9978 * time.el (display-time-world-list, display-time-world-display):
9979 * time-stamp.el (time-stamp-string):
9980 * vc/add-log.el (add-change-log-entry): Use setenv instead of
9981 set-time-zone-rule (Bug#7337).
9982
0b4946c4
DU
99832011-08-08 Daiki Ueno <ueno@unixuser.org>
9984
9985 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9986 (epg-error-to-string, epg-errors-to-string): New function.
9987 (epg-wait-for-completion): Reverse errors list.
9988 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9989 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9990 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9991 (epg-sign-keys, epg-generate-key-from-file)
9992 (epg-generate-key-from-string): Format errors by using
9993 epg-errors-to-string (bug#9255).
9994 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9995
75bfc667
JL
99962011-08-07 Juri Linkov <juri@jurta.org>
9997
9998 * faces.el (list-faces-display): Remove extra angle bracket
9999 from `help-mode-map'.
10000
10001 * info.el (Info-history-toc-nodes): Doc fix.
10002
10003 * longlines.el (longlines-mode): Doc fix.
10004
673e08bb
SM
100052011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10006
4640dd88
SM
10007 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
10008 of statements and in a few more cases (bug#9183).
10009
673e08bb
SM
10010 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
10011 New functions.
10012 (cl-transform-lambda): Use them (bug#9239).
10013
89b3f019
MR
100142011-08-05 Martin Rudalics <rudalics@gmx.at>
10015
10016 * window.el (display-buffer-same-window)
10017 (display-buffer-same-frame, display-buffer-other-window)
10018 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10019 (pop-to-buffer-other-window)
10020 (pop-to-buffer-same-frame-other-window)
10021 (pop-to-buffer-other-frame): Make them defuns.
10022 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
10023
640c8776
SM
100242011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10025
10026 * subr.el (make-composed-keymap): Move from C. Change calling
10027 convention, and improve docstring to bring attention to a subtle point.
10028 * minibuffer.el (completing-read-default): Adjust accordingly.
10029
63648a95
MA
100302011-08-03 Michael Albinus <michael.albinus@gmx.de>
10031
10032 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10033 (tramp-open-shell): Use `tramp-shell-quote-argument'.
10034
10035 * net/trampver.el: Update release number.
10036
b796c9b7
SM
100372011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10038
10039 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
10040 "in" (bug#9190).
10041
2239d7d5
LMI
100422011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10043
e07dd7c3
LMI
10044 * mail/sendmail.el (sendmail-query-once): Restore the current
10045 buffer after querying (bug#9074).
10046
0e6a2bd7
LMI
10047 * dired.el (dired-flagged): Use different faces for marked and
10048 flagged files (bug#6117).
10049
ce887515
LMI
10050 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
10051 (bug#4433).
10052
92f2affc
LMI
10053 * ido.el (ido-mode): Switch off the message if called
10054 non-interactively.
10055
57d5aff0
LMI
10056 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
10057 before 587, since it appears that that's more likely to work for
10058 more people.
10059
98cd6c18 10060 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 10061 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
10062 exist.
10063
b96dec83
LMI
10064 * info.el: Remove the `Info-beginning-of-buffer' function
10065 (bug#8325).
10066
b796c9b7
SM
10067 * net/network-stream.el (network-stream-open-starttls):
10068 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 10069
d90e2ea0
MR
100702011-08-01 Martin Rudalics <rudalics@gmx.at>
10071
10072 * window.el (display-buffer-in-window): Don't set dedicated status
10073 of window here (Bug#9215).
10074 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10075 (display-buffer-pop-up-side-window)
b796c9b7 10076 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 10077
cca09170
SM
100782011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10079
10080 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
10081 before binding generated-autoload-file.
10082
027b979c
DD
100832011-08-01 Deniz Dogan <deniz@dogan.se>
10084
10085 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
10086
3c7ee4f3
MA
100872011-07-30 Michael Albinus <michael.albinus@gmx.de>
10088
10089 Sync with Tramp 2.2.2.
10090
10091 * net/trampver.el: Update release number.
10092
2cc8e51a
JL
100932011-07-30 Juri Linkov <juri@jurta.org>
10094
10095 * dired-aux.el (dired-touch-initial): Remove function.
10096 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
10097 current time, and `default' to the last modification time of the
10098 current marked file (bug#6887).
10099
a514d856
JM
101002011-07-28 Jose E. Marchesi <jemarch@gnu.org>
10101
10102 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 10103 numeric argument to read-number (bug#9163).
a514d856 10104
8a7eddd7
MA
101052011-07-27 Michael Albinus <michael.albinus@gmx.de>
10106
10107 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
10108 connection process, it could be nil.
10109
1ddd96f5
LL
101102011-07-27 Leo Liu <sdl.web@gmail.com>
10111
10112 Simplify url handling in rcirc-mode.
10113
10114 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
10115 (rcirc-browse-url-at-mouse): Remove.
10116 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
10117
b248a85d
AM
101182011-07-26 Alan Mackenzie <acm@muc.de>
10119
10120 Fontify bitfield declarations properly.
10121
10122 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
10123 (c-symbol-chars): Now exported as a lang variable.
10124 (c-not-primitive-type-keywords): New lang variable.
10125
10126 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
10127 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 10128 parsed as a bitfield declaration.
b248a85d 10129
b796c9b7
SM
10130 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10131 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
10132 (c-punctuation-in): New function.
10133 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
10134 declarations properly.
10135
68575ab0
UJ
101362011-07-26 Ulf Jasper <ulf.jasper@web.de>
10137
10138 * calendar/icalendar.el (icalendar--all-events): Take care of
10139 multiple vcalendars in a single file.
b796c9b7 10140 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 10141
0f0a88b9
DD
101422011-07-25 Deniz Dogan <deniz@dogan.se>
10143
10144 * image.el (insert-image): Clarifying docstring.
10145
0b3f36df
MA
101462011-07-24 Michael Albinus <michael.albinus@gmx.de>
10147
10148 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
10149 `tramp-send-command-and-check' if there is no error.
10150 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
10151
a9901f61
AM
101522011-07-22 Alan Mackenzie <acm@muc.de>
10153
10154 Prevent cc-langs.elc being loaded at run time.
10155
10156 * progmodes/cc-mode.el: Remove two autoload forms which loaded
10157 cc-langs.
10158
4d61f28d 10159 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
10160 "(require 'cc-langs)". Quote a form so it will evaluate at
10161 (cc-mode's) compilation time.
10162
11d074b2
MA
101632011-07-22 Michael Albinus <michael.albinus@gmx.de>
10164
10165 * net/tramp.el (tramp-file-name-handler): Avoid recursive
10166 loading. (Bug#9114)
10167
938b94c8
MR
101682011-07-21 Martin Rudalics <rudalics@gmx.at>
10169
10170 * window.el (display-buffer-pop-up-window)
10171 (display-buffer-pop-up-side-window)
10172 (display-buffer-in-side-window): Call display-buffer-set-height
10173 and display-buffer-set-width after setting the new window's
b796c9b7 10174 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 10175
bfa4f190
SS
101762011-07-20 Sam Steingold <sds@gnu.org>
10177
10178 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
10179 (etags-tags-included-tables): Call `convert-standard-filename' on
10180 the file names contained in TAGS so that windows Emacs can handle
10181 TAGS files created by cygwin ctags.
10182
8ca42262
LMI
101832011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
10184
10185 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
10186 which apparently didn't work.
10187
5db2afd2 101882011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 10189
5db2afd2
RW
10190 * proced.el (proced-send-signal): For *Marked Processes* buffer
10191 put point at beginning of buffer.
10192
92e15d10
SB
101932011-07-19 Stephen Berman <stephen.berman@gmx.net>
10194
10195 * proced.el (proced-format): Make header lines align with the text
10196 (bug#1779).
10197
1bfd59e5
LMI
101982011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10199
10200 * view.el (view-buffer): Allow running in `special' modes if we're
10201 visiting a file (bug#8615).
10202
f5aae37c
MR
102032011-07-19 Martin Rudalics <rudalics@gmx.at>
10204
10205 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
10206 (display-buffer-alist-set-1, display-buffer-alist-set-2):
10207 New functions.
f5aae37c
MR
10208 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
10209 more accurately.
10210
bf2c1571
AM
102112011-07-18 Alan Mackenzie <acm@muc.de>
10212
10213 Fontify declarators properly when, e.g., a jit-lock chunk begins
10214 inside a declaration.
10215
10216 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
10217
b796c9b7
SM
10218 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10219 New function.
bf2c1571
AM
10220 (c-complex-decl-matchers): Insert reference to
10221 c-font-lock-enclosing-decls.
10222
10223 * progmodes/cc-engine.el (c-backward-single-comment):
10224 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
10225 to nil around calls to (forward-comment -1).
10226
4e190b80
LMI
102272011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10228
12dc863d
LMI
10229 * image.el (put-image): Doc typo fix.
10230
a762e966
LMI
10231 * progmodes/etags.el (tags-search): Doc typo fix.
10232
4e190b80
LMI
10233 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
10234 password if we get errors 550 to 554.
10235
f019fb21
LMI
102362011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10237
b796c9b7 10238 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 10239
81746738
LMI
10240 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
10241 indentation character (bug#6380).
10242
3ee3a1b5
LMI
10243 * files.el (buffer-offer-save): Made permanently local (bug#6241).
10244
c82f64de
LMI
10245 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
10246 to clarify what the problem is (bug#4291).
10247
f019fb21
LMI
10248 * simple.el (current-kill): Clarify what
10249 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
10250 (auto-fill-mode): Document `auto-fill-function' in relation to
10251 `auto-fill-mode' (bug#2470).
f019fb21 10252
0794775d
LM
102532011-07-16 Lawrence Mitchell <wence@gmx.li>
10254
10255 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
10256 method if slot is read-only (bug#9035).
10257
be39b8cc
MR
102582011-07-16 Martin Rudalics <rudalics@gmx.at>
10259
b796c9b7 10260 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 10261 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
10262 selected before, see discussion of (Bug#8615), (Bug#6954).
10263 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 10264
6ccf7859
GM
102652011-07-15 Glenn Morris <rgm@gnu.org>
10266
10267 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 10268 Respect help-form.
6ccf7859 10269
87e86684
LM
102702011-07-09 Lawrence Mitchell <wence@gmx.li>
10271
10272 * net/gnutls.el (gnutls-min-prime-bits): New variable.
10273 (gnutls-negotiate): Use it.
10274
d6066239
LMI
102752011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10276
b796c9b7
SM
10277 * net/gnutls.el (gnutls-negotiate):
10278 Upcase `gnutls-algorithm-priority'.
d6066239 10279
bd23ebc0
GM
102802011-07-15 Glenn Morris <rgm@gnu.org>
10281
c65bca65
GM
10282 * jka-compr.el (jka-compr-verbose): Move from here...
10283 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
10284 Add missing :version tag.
10285 * info.el: No need to require jka-compr when compiling.
bd23ebc0 10286
478615cc
LMI
102872011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10288
7b41decb
LMI
10289 * net/gnutls.el (gnutls-algorithm-priority): New variable.
10290 (gnutls-negotiate): Use it.
10291
dbc44fcd
LMI
10292 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
10293
06789f97
LMI
10294 * info.el (Info-beginning-of-buffer): New command.
10295 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
10296 announcing `b' as the key (bug#8325).
ab896c37 10297 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 10298
c39da690
LMI
10299 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
10300
3aa5f34b
LMI
10301 * international/mule-cmds.el
10302 (describe-specified-language-support): Make the error message
10303 clearer (bug#8905).
10304
4bf0979f
LMI
10305 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
10306
478615cc
LMI
10307 * isearch.el (isearch-barrier): Add a doc string, since it's
10308 mentioned in a function doc string (bug#8678).
10309
75c68aa1
MR
103102011-07-15 Martin Rudalics <rudalics@gmx.at>
10311
10312 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
10313 buffer argument (Bug#9083) and self-identifying label argument.
10314
a7c33da2
GM
103152011-07-15 Glenn Morris <rgm@gnu.org>
10316
10317 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
10318
2f5c6024
LMI
103192011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10320
10321 * man.el (Man-fontify-manpage): Fix message when formatting the
10322 man page (bug#7929).
10323
0bb23927 103242011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
10325
10326 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
10327 argument LRM; if non-nil, append an invisible LRM character to the
10328 buffer name.
10329 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
10330 last argument non-nil, when formatting buffer names.
0bb23927
EZ
10331 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
10332 paragraph direction.
cce4b0a7 10333
621ef9ab
LMI
103342011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10335
d1583c48
LMI
10336 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
10337 the man page name (bug#7929).
10338
6a57fb5f
LMI
10339 * image.el (put-image): Mention the `put-image' overlay property
10340 (bug#7834).
10341
d7956b14
LMI
10342 * scroll-bar.el (set-scroll-bar-mode): Mention that
10343 `scroll-bar-mode' lists the values (bug#7772).
10344
5b2d4a66
LMI
10345 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
10346 command (bug#7729).
10347
7509a874
LMI
10348 * rect.el (apply-on-rectangle): Return the point after the last
10349 operation.
10350 (string-rectangle): Go to the point after the last operation
10351 (bug#7522).
10352
4fe74b19
LMI
10353 * printing.el (pr-toggle-region): Clarify the documentation
10354 slightly (bug#7493).
10355
b796c9b7
SM
10356 * time.el (display-time-update):
10357 Allow `display-time-mail-function' to return nil (bug#7158).
10358 Fix suggested by Detlev Zundel.
ab283561 10359
fc233c9d
LMI
10360 * vc/diff.el (diff): Clarify the order the file names are read
10361 (bug#7111).
10362
43f5740b
LMI
10363 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
10364 the doc string (bug#7015).
10365
f2182a76
LMI
10366 * font-lock.el (font-lock-maximum-decoration): Mention what
10367 numeric levels mean (bug#6935).
10368
621ef9ab
LMI
10369 * startup.el (initial-buffer-choice): Don't mention the `none'
10370 selection, which is against policy.
10371
adc47434
MR
103722011-07-14 Martin Rudalics <rudalics@gmx.at>
10373
b796c9b7
SM
10374 * window.el (display-buffer-normalize-special):
10375 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 10376
7e5bfb8f
EZ
103772011-07-14 Eli Zaretskii <eliz@gnu.org>
10378
10379 * subr.el (version<, version<=, version=): Mention "-CVS" and
10380 "-12345" alpha version numbers.
10381
27fa387a
CY
103822011-07-14 Chong Yidong <cyd@stupidchicken.com>
10383
10384 * bindings.el: Add advertised binding for set-mark-command
10385 (Bug#5772).
10386
8bdfa064
CY
103872011-07-14 Chong Yidong <cyd@stupidchicken.com>
10388
10389 * bindings.el (mode-line-other-buffer):
10390 * bookmark.el (bookmark-bmenu-2-window):
10391 * bs.el (bs-cycle-next, bs-cycle-previous):
10392 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
10393 switch-to-buffer.
10394
10395 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 10396 Delete.
8bdfa064 10397
5eba16a3
JB
103982011-07-14 Juanma Barranquero <lekktu@gmail.com>
10399
10400 * follow.el (follow-debug-message, follow-redisplay):
10401 * jka-cmpr-hook.el (with-auto-compression-mode):
10402 Fix typos in docstrings.
10403
15853710
LMI
104042011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10405
a28e4607
LMI
10406 * subr.el (with-silent-modifications): Clarify somewhat what the
10407 macro inhibits (bug#6525).
10408
15853710
LMI
10409 * simple.el (eval-expression): Note what it does if called
10410 interactively (bug#6495).
10411
bee0fcef
CY
104122011-07-13 Chong Yidong <cyd@stupidchicken.com>
10413
b796c9b7
SM
10414 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
10415 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
10416
10417 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10418 Remove switch-to-buffer.
10419
58274504
LMI
104202011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10421
bd2fcc8d
LMI
10422 * files.el (make-directory): Clarify that an error will be raised
10423 if there's an error (bug#6397).
10424
0f04b32c
LMI
10425 * startup.el (initial-buffer-choice): Add `none' as a choice
10426 (bug#6234).
10427
465c5fc8
LMI
10428 * subr.el (add-hook): Clarify section about buffer-local hooks
10429 (bug#6218).
10430
58274504
LMI
10431 * dired.el (dired-flagged): Clarify doc string (bug#6117).
10432
bead9a43
JB
104332011-07-13 Juanma Barranquero <lekktu@gmail.com>
10434
10435 * tabify.el (untabify): Preserve the current column so that point
10436 doesn't move (bug#6032).
10437
3af98a7b
LMI
104382011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10439
b796c9b7
SM
10440 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
10441 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 10442
6240145a
GM
104432011-07-13 Glenn Morris <rgm@gnu.org>
10444
10445 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
10446 (dired-insert-directory): Give a message the first time
10447 if ls is found not to support --dired.
10448
1d8c2ccc
LMI
104492011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10450
10451 * simple.el (toggle-truncate-lines): Clarify what is toggled
10452 (bug#5580). Text by Drew Adams.
10453
5fc4038e
CY
104542011-07-13 Chong Yidong <cyd@stupidchicken.com>
10455
10456 * simple.el (blink-matching-open): Make the error message from the
10457 last change less verbose.
10458
bf6012e5
DN
104592011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
10460
10461 * font-lock.el (font-lock-comment-face): Use the high contrast
10462 "yellow" color for font-lock-comment-face on low color terminals
10463 using a dark background color (bug#4221).
10464
343c3b5a
LMI
104652011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10466
7e9505c5
LMI
10467 * dired.el (dired-insert-set-properties): Make the doc string
10468 reflect what it does now (bug#5325).
10469
c26fdcf5
LMI
10470 * simple.el (blink-matching-open): Say that we were unable to find
10471 the match within the limit, if we're limited (bug#5122).
10472
bb388cc5
LMI
10473 * international/mule-cmds.el (prefer-coding-system): Add an
10474 example (bug#4869).
10475
343c3b5a
LMI
10476 * progmodes/etags.el (tags-search): Document `file-list-form'
10477 (bug#4731).
10478
2a517d45
LM
104792011-07-13 Lawrence Mitchell <wence@gmx.li>
10480
10481 * net/browse-url.el (browse-url-default-browser)
10482 (browse-url-browser-function): Make the default browser choice a
10483 bit more logical (bug#4300). Also clean up the doc string.
10484
b6c78ef2
JB
104852011-07-13 Juanma Barranquero <lekktu@gmail.com>
10486
10487 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10488 binary endings (bug#4440).
10489
1c4dd947
LMI
104902011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10491
a2014063
LMI
10492 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10493 which can be pretty annoying (bug#8971).
10494
9c9c2d88
LMI
10495 * jka-compr.el (jka-compr-verbose): New variable, and use
10496 throughout (bug#8971).
10497
1c4dd947
LMI
10498 * info.el (Info-find-file): Fall back on the installation
10499 directory if we can't find the info node anywhere else.
10500
a1c9f41b
SO
105012011-07-13 Sergei Organov <osv@javad.com> (tiny change)
10502
10503 * vc/vc.el (vc-revert-file):
10504 Don't set file time-stamp in the past. (Bug#5181)
10505
536f3d36
LMI
105062011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10507
7152b011
LMI
10508 * files.el (after-find-file): Give a better error message when
10509 trying to find a symlink that points to a file that doesn't exist
10510 (bug#4398).
10511
536f3d36
LMI
10512 * progmodes/cc-vars.el: Remove (probably) misleading comment
10513 (bug#4396).
10514
460c0fba
JB
105152011-07-12 Johan Bockgård <bojohan@gnu.org>
10516
10517 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10518
7a6bda45
CY
105192011-07-12 Chong Yidong <cyd@stupidchicken.com>
10520
10521 * mouse-sel.el: Hack restoring functionality, while keeping
10522 compatibility with 2010-07-03 changes to mouse selection.
10523 (mouse-sel-primary-overlay): New var.
10524 (mouse-sel-selection-alist): Use it.
10525 (mouse-sel-mode): Doc fix; remove points that are default features
10526 of mouse.el.
10527
c79598ef
JB
105282011-07-12 Johan Bockgård <bojohan@gnu.org>
10529
10530 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10531 Fix previous fix (bug#2490).
10532
ff8be6ef
RW
105332011-07-12 Roland Winkler <winkler@gnu.org>
10534
b796c9b7
SM
10535 * textmodes/bibtex.el (bibtex-initialize):
10536 Use pop-to-buffer-same-window.
ff8be6ef
RW
10537 (bibtex-search-entries): Fix interactive call.
10538
296ba3ee
LMI
105392011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10540
f5242a02 10541 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
10542 Fontise bytecomp Error lines more correctly (bug#2490).
10543 Fix suggested by Johan Bockgård.
f5242a02 10544
296ba3ee
LMI
10545 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10546
10547 * dired-x.el (dired-guess-default): Use `delete-dups'.
10548
f69fd0d2
CY
105492011-07-12 Chong Yidong <cyd@stupidchicken.com>
10550
10551 * dired.el (dired-mark-prompt):
10552 * dired-aux.el (dired-read-shell-command): Doc fix.
10553
eab5dc07
LMI
105542011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10555
b796c9b7
SM
10556 * mail/sendmail.el (sendmail-query-once):
10557 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
10558 emacs -Q.
10559
10560 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10561
eab5dc07
LMI
10562 * cus-edit.el (custom-file): Take an optional no-error variable.
10563 (customize-save-variable): Set the variable, and give a warning if
10564 running under "emacs -q".
10565
a1e65d42
JB
105662011-07-11 Juanma Barranquero <lekktu@gmail.com>
10567
10568 * loadhist.el (unload-feature-special-hooks):
10569 Add `auto-coding-functions', `fill-nobreak-predicate' and
10570 `find-directory-functions' (bug#5327).
10571
1d52da10
LMI
105722011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10573
be958f1d
LMI
10574 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10575
5bedb26c
LMI
10576 * cus-edit.el (custom-guess-name-alist): -alist variables should
10577 use the `alist' type (bug#3120). Suggested by Drew Adams.
10578
1d52da10
LMI
10579 * printing.el: Add documentation to all the `pr-toggle-' commands.
10580
cd394be1 105812011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
10582
10583 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10584 backends where it makes sense (bug#2623).
10585
dcc88d8a
LMI
105862011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10587
c3de9feb
LMI
10588 * dired-x.el (dired-guess-default): Remove duplicate shell command
10589 entries (bug#2028).
8a93078b 10590 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 10591 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 10592
dcc88d8a
LMI
10593 * subr.el (remove-duplicates): New conveniency function.
10594
505e3645
LMI
105952011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10596
10597 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10598 (bug#1526).
10599
106002011-07-10 Martin Rudalics <rudalics@gmx.at>
10601
10602 * window.el (display-buffer-normalize-default): Don't invert
10603 meaning of even-window-heights. Reported by Eli Zaretskii
10604 <eliz@gnu.org>.
10605
455e4fa1
BR
106062011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
10607
10608 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10609
8e0bc3e9
CY
106102011-07-10 Chong Yidong <cyd@stupidchicken.com>
10611
10612 * window.el (display-buffer): Fix arguments to
10613 display-buffer-reuse-window in last change.
10614
fa7c3228
CY
10615 * faces.el (link): Use a less saturated blue on light backgrounds.
10616
10617 * startup.el (fancy-startup-text, fancy-about-text)
10618 (fancy-startup-tail): Use font-lock faces, for background safety.
10619
c0a7f300
BN
106202011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
10621
b796c9b7
SM
10622 * emulation/viper-cmd.el (viper-change-state-to-vi):
10623 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 10624
4dc2a129
MR
106252011-07-09 Martin Rudalics <rudalics@gmx.at>
10626
10627 * window.el (display-buffer-default-specifiers): Remove.
10628 (display-buffer-macro-specifiers): Remove default specifiers.
10629 (display-buffer-alist): Default to nil.
b796c9b7 10630 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
10631 (display-buffer-pop-up-window): Allow splitting internal
10632 windows. Check whether a live window was created.
10633 (display-buffer-other-window-means-other-frame)
10634 (display-buffer-normalize-arguments): Rename to
10635 display-buffer-normalize-argument and rewrite. Set the
10636 other-window specifier.
10637 (display-buffer-normalize-special): New function.
10638 (display-buffer-normalize-options): Rename to
10639 display-buffer-normalize-default and rewrite.
10640 (display-buffer-normalize-options-inhibit): Remove.
10641 (display-buffer-normalize-specifiers): Rewrite.
10642 (display-buffer): Process other-window specifier and call
10643 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
10644 more faithfully.
b796c9b7 10645 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 10646 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
10647 (display-buffer-in-window, display-buffer-alist-set):
10648 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
10649 <tassilo@member.fsf.org>.
10650
2d43b8c9
LL
106512011-07-09 Leo Liu <sdl.web@gmail.com>
10652
10653 * register.el (insert-register): Restore accidental change on
10654 2011-06-26. (Bug#9028)
10655
7f9b7c53
GM
106562011-07-09 Glenn Morris <rgm@gnu.org>
10657
10658 * subr.el (remq): Handle the empty list. (Bug#9024)
10659
f042cfd8
AS
106602011-07-08 Andreas Schwab <schwab@linux-m68k.org>
10661
10662 * mail/sendmail.el (send-mail-function): No longer delay custom
10663 initialization.
10664 * custom.el (custom-initialize-delay): Doc fix.
10665
856b2f11
SM
106662011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10667
10668 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
10669
afae1d68
MA
106702011-07-08 Michael Albinus <michael.albinus@gmx.de>
10671
10672 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
10673 human-friendly prompt.
10674
0757af94
SM
106752011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10676
10677 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
10678 provided by a particular plugin.
10679
d760b731
LMI
106802011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10681
10682 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
10683 save customizations (with "emacs -Q"), just set the variable
10684 instead of erroring out.
10685
10686 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10687
cd79ce90
JL
106882011-07-08 Juri Linkov <juri@jurta.org>
10689
10690 * arc-mode.el (archive-zip-expunge, archive-zip-update)
10691 (archive-zip-update-case): Use 7z if found by `executable-find'.
10692 The order of searching the available programs is the same as in
10693 `archive-zip-extract' (bug#8968).
10694
14cc04aa
CY
106952011-07-07 Chong Yidong <cyd@stupidchicken.com>
10696
10697 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10698 (menu-bar-options-menu): Tweak descriptions.
10699
0a1848ec
LMI
107002011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10701
10702 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10703 menu items into verb phrases (bug#1421). Also refill to fit under
10704 80 columns.
10705
f5bd0689
CY
107062011-07-07 Chong Yidong <cyd@stupidchicken.com>
10707
538e85c6
CY
10708 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10709 (Info-read-node-name): Doc fix (Bug#1084).
10710
f5bd0689
CY
10711 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10712 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10713 (end-of-sexp, beginning-of-sexp)
10714 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10715 (forward-symbol, forward-same-syntax, word-at-point)
10716 (sentence-at-point): Doc fix (Bug#1144).
10717
56ec5115
LMI
107182011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10719
f3f8e37f
LMI
10720 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10721 should cover it (bug#1281).
10722
0757af94 10723 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 10724
e9fce1ac 10725 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
10726 negotiation fails, then possibly try again with a non-encrypted
10727 connection (bug#9017).
10728
56ec5115
LMI
10729 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10730 be used.
10731
c2f9aec8
RS
107322011-07-07 Richard Stallman <rms@gnu.org>
10733
10734 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10735 property, and handle its changed format.
10736 Look for the correct line number.
10737 Use file's line contents (but not past first =) to find
10738 correct line in message.
10739
ef7b981d 107402011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
10741
10742 * international/characters.el (build-unicode-category-table):
10743 Delete it.
0757af94 10744 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 10745
0757af94 10746 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
10747 to src/chartab.c.
10748 (get-char-code-property): Call unicode-property-table-internal to
10749 load a file. Call get-unicode-property-internal where necessary.
10750 (put-char-code-property): Call unicode-property-table-internal to
10751 load a file. Call put-unicode-property-internal where necessary.
10752 put-unicode-property-internal where necessary.
0757af94
SM
10753 (char-code-property-description):
10754 Call unicode-property-table-internal to load a file.
c805dec0
KH
10755
10756 * international/charprop.el:
10757 * international/uni-bidi.el:
10758 * international/uni-category.el:
10759 * international/uni-combining.el:
10760 * international/uni-comment.el:
10761 * international/uni-decimal.el:
10762 * international/uni-decomposition.el:
10763 * international/uni-digit.el:
10764 * international/uni-lowercase.el:
10765 * international/uni-mirrored.el:
10766 * international/uni-name.el:
10767 * international/uni-numeric.el:
10768 * international/uni-old-name.el:
10769 * international/uni-titlecase.el:
10770 * international/uni-uppercase.el: Regenerate.
10771
10772 * loadup.el: Load international/charprop.el before
10773 international/characters.
10774
e14b388a
CY
107752011-07-07 Chong Yidong <cyd@stupidchicken.com>
10776
10777 * window.el (next-buffer, previous-buffer): Signal an error if
10778 called from a minibuffer window.
10779
10780 * bindings.el: Revert 2011-07-04 change.
10781
354cf0ba
RS
107822011-07-06 Richard Stallman <rms@gnu.org>
10783
10784 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10785 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10786 Treat markers like ints.
10787 (rmail-mime-entity): Doc fix.
10788
a48868a7
LMI
107892011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10790
4906cd3d
LMI
10791 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10792 defcustom again for backwards compatibility.
10793
e0457abe
LMI
10794 * simple.el (shell-command-on-region): Fill.
10795
d67f7e1f
LMI
10796 * dired-aux.el (dired-kill-line): Add a doc string.
10797
fe204702
LMI
10798 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10799 to "\\sw\\|\\s_" (bug#358).
10800
a48868a7
LMI
10801 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10802 (dired-unmark-backward): Ditto.
10803 (dired-flag-backup-files): Ditto.
10804
10805 * dired-x.el (dired-mark-sexp): Ditto.
10806
aa8a705c
RS
108072011-07-06 Richard Stallman <rms@gnu.org>
10808
10809 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10810 (rmail-mime-entity): New arg TRUNCATED.
10811 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10812 New functions.
10813 (rmail-mime-save): Warn if entity is truncated.
10814 (rmail-mime-toggle-hidden): Likewise, for showing.
10815 (rmail-mime-process-multipart): Record when an entity is truncated.
10816
a9a936b9
RS
10817 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10818 if ENTITY is a string.
10819
1f2b92cb
LMI
108202011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10821
f4f73198 10822 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
10823 of faces when `M-C-x'-ing their definitions (bug#8378).
10824 Also clean up the code slightly.
f4f73198 10825
12b16734 10826 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 10827 because that makes the colors go away.
12b16734 10828
f0691d22
LMI
10829 * mail/sendmail.el (send-mail-function): Change the default to
10830 `sendmail-query-once'.
9e87df06 10831 (sendmail-query-once): Add an autoload cookie.
f0691d22 10832
1f2b92cb
LMI
10833 * net/network-stream.el (network-stream-open-starttls): Try using
10834 a plain connection even if the server offered STARTTLS, and we
10835 kinda wanted to use it, if Emacs doesn't have any STARTTLS
10836 capability. This should make smtpmail.el work in slightly more
10837 configurations.
10838
1cdd2a1b
MA
108392011-07-06 Michael Albinus <michael.albinus@gmx.de>
10840
10841 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10842 New defun.
10843 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10844
fbcc67e2
MM
108452011-07-06 Michael R. Mauger <mmaug@yahoo.com>
10846
10847 * progmodes/sql.el: Version 3.0
0757af94 10848 (sql-product-alist): Add product :completion-object,
fbcc67e2 10849 :completion-column, and :statement attributes.
0757af94 10850 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 10851 (sql-mode-syntax-table): Mark all punctuation.
0757af94 10852 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
10853 ansi keywords.
10854 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 10855 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
10856 (sql-oracle-show-reserved-words): New function for development.
10857 (sql-product-font-lock): Simplify for source code buffers.
10858 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10859 New functions.
10860 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
10861 (sql-mode-map): Add statement movement functions.
10862 (sql-ansi-statement-starters, sql-oracle-statement-starters):
10863 New variable.
fbcc67e2
MM
10864 (sql-statement-regexp, sql-beginning-of-statement)
10865 (sql-end-of-statement, sql-signum): New functions.
0757af94 10866 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
10867 (sql-show-sqli-buffer): Bug fix.
10868 (sql-interactive-mode): Store connection data as buffer local.
0757af94 10869 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
10870 with sql-interactive-mode.
10871 (sql-save-connection): Save buffer local settings.
0757af94 10872 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
10873 (sql-product-interactive): Bug fix.
10874 (sql-preoutput-hold): New variable.
10875 (sql-interactive-remove-continuation-prompt): Bug fixes.
10876 (sql-debug-redirect): New variable.
10877 (sql-str-literal): New function.
10878 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 10879 Redesign.
fbcc67e2
MM
10880 (sql-oracle-save-settings, sql-oracle-restore-settings)
10881 (sql-oracle-list-all, sql-oracle-list-table): New functions.
10882 (sql-completion-object, sql-completion-column)
10883 (sql-completion-sqlbuf): New variables.
10884 (sql-build-completions-1, sql-build-completions)
10885 (sql-try-completion): New functions.
10886 (sql-read-table-name): Use them.
10887 (sql-contains-names): New buffer local variable.
10888 (sql-list-all, sql-list-table): Use it.
10889 (sql-oracle-completion-types): New variable.
10890 (sql-oracle-completion-object, sql-sqlite-completion-object)
10891 (sql-postgres-completion-object): New functions.
10892
d4eaeab1
GM
108932011-07-06 Glenn Morris <rgm@gnu.org>
10894
10895 * window.el (pop-to-buffer): Doc fix.
10896
322b7dab 108972011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
10898
10899 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
10900
322b7dab 109012011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 10902
322b7dab 10903 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 10904
322b7dab 10905 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 10906
605dd5bf
CY
109072011-07-05 Chong Yidong <cyd@stupidchicken.com>
10908
10909 * button.el (button): Inherit from link face. Suggested by Dan
10910 Nicolaescu.
10911
7dbfa719
SM
109122011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10913
3db614b0
SM
10914 * progmodes/gdb-mi.el: Fit in 80 columns.
10915 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
10916 switch-to-buffer.
10917
7dbfa719
SM
10918 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
10919 if imenu is simply not configured (bug#8941).
10920
919d884a
KM
109212011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
10922
10923 * allout.el (allout-post-undo-hook): New allout outline-change
10924 event hook to signal undo activity.
10925 (allout-post-command-business): Run allout-post-undo-hook if an
10926 undo just occurred.
7dbfa719
SM
10927 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
10928 * allout-widgets.el (allout-widgets-after-undo-function):
10929 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
10930 in the vicinity of an undo.
10931 (allout-widgets-mode): Include allout-widgets-after-undo-function
10932 on the new allout-post-undo-hook.
10933
450a0f09
SM
109342011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10935
10936 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
10937 Let define-derived-mode define it.
10938 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
10939 cycles of abbrev-table inheritance (bug#8998).
10940
2de69e00
RW
109412011-07-05 Roland Winkler <winkler@gnu.org>
10942
10943 * textmodes/bibtex.el: Add support for biblatex.
10944 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
10945 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
10946 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
10947 (bibtex-entry-alist, bibtex-field-alist): New variables.
10948 (bibtex-entry-field-alist): Obsolete alias for
10949 bibtex-BibTeX-entry-alist.
10950 (bibtex-entry-alist, bibtex-field-alist): New widgets.
10951 (bibtex-set-dialect): New command.
10952 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
10953 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
10954 Bind via bibtex-set-dialect.
2de69e00
RW
10955 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
10956 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
10957 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
10958 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
10959 Define via bibtex-set-dialect.
450a0f09
SM
10960 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
10961 Obey bibtex-no-opt-remove-re.
2de69e00
RW
10962 (bibtex-vec-push, bibtex-vec-incr): New functions.
10963 (bibtex-format-entry, bibtex-field-list)
10964 (bibtex-print-help-message, bibtex-validate)
10965 (bibtex-search-entries): Use new format of bibtex-entry-alist.
10966
2dcdbdd9
SM
109672011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10968
10969 * progmodes/compile.el (compilation-goto-locus):
10970 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10971 * bs.el (bs-cycle-next, bs-cycle-previous):
10972 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
10973 * bindings.el (mode-line-other-buffer):
10974 * autoinsert.el (auto-insert):
10975 * arc-mode.el (archive-extract):
10976 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10977
b27640fe
JB
109782011-07-05 Juanma Barranquero <lekktu@gmail.com>
10979
10980 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10981 Fix check of `emacs-lock-unlockable-modes'.
10982 Coerce true values of `emacs-lock--try-unlocking' to t.
10983
53bbe3ad
JB
109842011-07-05 Juanma Barranquero <lekktu@gmail.com>
10985
10986 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10987 * emacs-lock.el: New file.
10988
1d3cdbc7
JD
109892011-07-05 Julien Danjou <julien@danjou.info>
10990
10991 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10992 than `boundp' to check if face is set.
10993
9173deec
JB
109942011-07-05 Juanma Barranquero <lekktu@gmail.com>
10995
10996 * register.el (registerv-make):
10997 * window.el (window-min-height): Fix typos in docstrings.
10998
869795d6
JD
109992011-07-05 Jan Djärv <jan.h.d@swipnet.se>
11000
9173deec 11001 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
11002 Update doc string.
11003
b768cdcd
JB
110042011-07-04 Juanma Barranquero <lekktu@gmail.com>
11005
11006 * server.el (server-execute): Catch quit and call
11007 `server-return-error' to pass the error back to emacsclient and
11008 close the connection (bug#8942).
11009
13aa217b
KM
110102011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
11011
11012 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
11013 insecure exception for current topic. Also note that auto-saves
11014 are handled differently.
11015
5d3385a0 11016 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
11017 State variables for tracking auto-save inhibition situation.
11018
11019 (allout-write-contents-hook-handler): Rename from
11020 'allout-write-file-hook-handler', and describe how it depends on
11021 write-contents-functions sensitivity to non-nil value to prevent
11022 file write.
11023
11024 (allout-auto-save-hook-handler): Remove. auto-save does not check
11025 this in individual buffers, only in the starting buffer, so this
11026 is not the right way for us to inhibit auto-save in a buffer
11027 according to its condition.
11028
11029 (allout-mode): Use new allout-write-contents-hook-handler, and
11030 only with write-contents-functions. Remove auto-save provisions -
11031 they're implemented elsewhere.
11032
11033 (allout-before-change-handler): If undo is in progress, note that
11034 for attention of allout-post-command-business.
11035
11036 (allout-post-command-business): If the command we're following was
11037 an undo, check for change in the status of encrypted items and
11038 adjust auto-save inhibitions accordingly.
11039
11040 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
11041 according to whether there are or aren't any plain-text topics
11042 pending encryption.
11043
2dcdbdd9 11044 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
11045 Adjust buffer-saved-size and some allout state to inhibit auto-saves
11046 if there are plain-text topics pending encryption.
13aa217b
KM
11047
11048 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
11049 buffer-saved-size and some allout state to not inhibit auto-saves
11050 if there are no longer any plain-text topics pending encryption.
11051
0757af94
SM
11052 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
11053 No longer provide for exemption of the current topic.
13aa217b 11054
ac89b32c
JL
110552011-07-04 Juri Linkov <juri@jurta.org>
11056
11057 Add 7z operations to delete and save changed members (bug#8968).
11058 * arc-mode.el (archive-7z-expunge, archive-7z-update):
11059 New defcustoms.
11060 (archive-7z-write-file-member): New function.
11061 (archive-7z-summarize): Fix the number of dashes in the
11062 listing output.
11063
8fa39615
SM
110642011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11065
11066 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
11067 (bug#8958).
11068
2f11b3f1
CY
110692011-07-04 Chong Yidong <cyd@stupidchicken.com>
11070
d66fef2b
CY
11071 * bindings.el: Ignore next-buffer and previous-buffer in
11072 minibuffer-local-map.
11073
2f11b3f1
CY
11074 * font-lock.el (font-lock-builtin-face): Change light background
11075 color to dark slate blue (Bug#6693).
11076
f932a347
WD
110772011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
11078
11079 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
11080
c8af70e1
SM
110812011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11082
11083 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
11084 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11085 Add switch-to-buffer.
11086
f158badc
LMI
110872011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11088
11089 * isearch.el (isearch-search-fun-function): Clarify further the
11090 meaning of the function returned.
11091
6d95bd46
MA
110922011-07-04 Michael Albinus <michael.albinus@gmx.de>
11093
11094 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
11095
11096 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
11097 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
11098 Use it.
11099 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
11100 `tramp-default-remote-path' does not exist.
11101 (tramp-send-command-and-read): New optional argument NOERROR.
11102 (tramp-open-connection-setup-interactive-shell)
11103 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
11104 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
11105 (tramp-process-sentinel): Flush also process' connection property.
11106 (tramp-sh-handle-start-file-process): Do not set process
11107 sentinel. It is done now ...
11108 (tramp-maybe-open-connection): ... here. (Bug#8929)
11109
909e6b67
MK
111102011-07-04 MON KEY <monkey@sandpframing.com>
11111
11112 * play/animate.el (animate-string): Doc fixes and allow changing
11113 the buffer name (bug#5417).
11114
111152011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11116
c8af70e1 11117 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 11118
f34755dc
PE
111192011-07-04 Paul Eggert <eggert@cs.ucla.edu>
11120
396cec72
PE
11121 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
11122 This is simpler and helps future-proof the code.
11123 (timer-until): Use time-subtract and float-time.
08235028 11124 (timer--time-less-p): Use time-less-p.
f34755dc 11125
56e6cc31
JB
111262011-07-04 Juanma Barranquero <lekktu@gmail.com>
11127
3abb79e5
JB
11128 * type-break.el (timep): Use the value of `float-time' to avoid a
11129 byte-compiler warning.
11130
56e6cc31
JB
11131 * server.el (server-eval-and-print): Return any result, even nil.
11132
7b9430b4
PE
111332011-07-03 Paul Eggert <eggert@cs.ucla.edu>
11134
11135 * type-break.el: Accept time formats that the builtins accept.
11136 (timep, type-break-time-difference): Accept any format that
11137 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
11138 This is simpler and helps future-proof the code.
11139 (type-break-time-difference): Round rather than ignoring
11140 subseconds components.
11141
3034e9e7
LMI
111422011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11143
11144 * info.el (Info-apropos-matches): Make non-interactive, since it
11145 doesn't seem to do anything useful as a command (bug#8829).
11146
1485f4c0
CY
111472011-07-03 Chong Yidong <cyd@stupidchicken.com>
11148
11149 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 11150 Move from faces.el.
1485f4c0
CY
11151 (frame-default-terminal-background): New function.
11152
11153 * custom.el (custom-push-theme): Don't record faces in `changed'
11154 theme; this doesn't work correctly for per-frame face settings.
11155 (disable-theme): Use face-set-after-frame-default to reset faces.
11156 (custom--frame-color-default): New function.
11157
9fa3dd45
LMI
111582011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11159
c8af70e1 11160 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
11161 (bug#8769).
11162
6cbbc20c
KR
111632011-03-29 Kevin Ryde <user42@zip.com.au>
11164
11165 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11166 `perl-Test2' extend to match possible "fail #N" rep count
11167 (bug#8377).
11168
c7f98048
LMI
111692011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11170
65676592
LMI
11171 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
11172 `smtpmail-via-smtp' now returns the error instead of nil.
11173
c7f98048
LMI
11174 * isearch.el (isearch-search-fun-function): Clarify the doc string
11175 (bug#8101).
11176
56e6cc31 111772011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
11178
11179 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
11180 unnecessary spaces (bug#8987).
11181
2b216704
LMI
111822011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11183
11184 * net/network-stream.el (open-network-stream): Use the
11185 :end-of-capability command thoughout.
11186
111872011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
11188
11189 * net/network-stream.el (open-network-stream): Add the
11190 :end-of-capability command parameter, used by pop3.el.
11191
36adf6ce
LMI
111922011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11193
1ca0da0e
LMI
11194 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
11195
fc00f69c
LMI
11196 * fringe.el (fringe-query-style): Remove redundant text " (type ?
11197 for list)" (bug#6475).
11198
28fd8759 11199 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 11200 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
11201 an error (bug#6297).
11202
0dd8b6da
LMI
11203 * man.el (Man-reference-regexp): Allow matching possible
11204 word-wrapped references (bug#6289).
11205
ce1438d6
LMI
11206 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
11207 for consistency with the other vc buffers (bug#6197).
11208 (vc-checkin): Ditto.
11209
11210 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
11211
36adf6ce
LMI
11212 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
11213
e83cc1f7
LMI
112142011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11215
8a20ca4c
LMI
11216 * custom.el (defcustom): Clarify that :set is only used in the
11217 Customize user interface (bug#6089).
11218
83319045
LMI
11219 * progmodes/flymake.el (flymake-mode): If the buffer isn't
11220 associated with a file, refuse to run instead of erroring out
11221 (bug#6084).
11222
a8392169
LMI
11223 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
11224 the doc string, since it appears that using `fill-column' always
11225 controls the width (bug#7845).
11226
e83cc1f7
LMI
11227 * simple.el (shell-command-on-region): Say where the error output
11228 went if `shell-command-default-error-buffer' is set (bug#6857).
11229
e47ca23b
KM
112302011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
11231
11232 * allout.el (allout-yank-processing): Adjust cursor position for
11233 backwards-deleted space.
11234
11235 (allout-rebullet-heading): Register changes with
11236 allout-exposure-changed-hook, so the modified topic is properly
11237 decorated.
11238
5cf56143
LMI
112392011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11240
08549772
LMI
11241 * minibuffer.el (completion-in-region): Document PREDICATE
11242 (bug#7136).
11243
48e96771
LMI
11244 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
11245 of keyword/argument pairs (bug#6904).
11246
c8af70e1
SM
11247 * replace.el (multi-occur):
11248 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 11249
e17d05e2
LMI
112502011-07-02 Drew Adams <drew.adams@oracle.com>
11251
11252 * dired.el (dired-mark-if): Make the message about whether it's
11253 marking or unmarking clearer (bug#8523).
11254
063b0e45
LMI
112552011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11256
11257 * disp-table.el (display-table-print-array): New function.
11258 (describe-display-table): Use it to print the vectors more pretty
11259 (Bug#8859).
11260
28545e04
MR
112612011-07-02 Martin Rudalics <rudalics@gmx.at>
11262
11263 * window.el (window-state-get-1): Don't assign clone numbers.
11264 Add clone-of item to list of window parameters.
11265 (window-state-put-2): Don't process clone numbers.
11266 (display-buffer-alist): Fix doc-string.
11267
3349e122
SM
112682011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11269
11270 * subr.el (remq): Don't allocate if it's not needed.
11271 (keymap--menu-item-binding, keymap--menu-item-with-binding)
11272 (keymap--merge-bindings): New functions.
11273 (keymap-canonicalize): Use them to refine the canonicalization.
11274 * minibuffer.el (minibuffer-local-completion-map)
11275 (minibuffer-local-must-match-map): Move initialization from C.
11276 (minibuffer-local-filename-completion-map): Move initialization from C;
11277 don't inherit from anything here.
11278 (minibuffer-local-filename-must-match-map): Make obsolete.
11279 (completing-read-default): Use make-composed-keymap to combine
11280 minibuffer-local-filename-completion-map with either
11281 minibuffer-local-must-match-map or
11282 minibuffer-local-filename-completion-map.
11283
d224ac83
GM
112842011-07-01 Glenn Morris <rgm@gnu.org>
11285
3de63bf8
GM
11286 * type-break.el (type-break-time-sum): Use dolist.
11287
d224ac83
GM
11288 * textmodes/flyspell.el (flyspell-word-search-backward):
11289 Replace CL function.
11290
1a1e3f32
SM
112912011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11292
fe3f64d5
SM
11293 * mouse.el (mouse--strip-first-event): New function.
11294 (function-key-map): Use it to map fringe clicks to normal clicks
11295 by default.
11296
eb604e34
SM
11297 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
11298 (vc-bzr-revision-completion-table): Add support for annotate and date.
11299
1a1e3f32
SM
11300 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
11301 inherit from parent.
11302
5bd35902
LMI
113032011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11304
ace6c69c 11305 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 11306 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 11307
191e2bed
LMI
11308 * dired.el (dired-mode): Fix up the doc string as suggested by
11309 Drew Adams (bug#8817).
11310
5bd35902
LMI
11311 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
11312 cookie, since the manual says that it should be possible to add
11313 this function to `find-file-hook' (bug#8709).
11314
eee8207a
TZ
113152011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11316
11317 * progmodes/cfengine.el: Moved all cfengine3.el functionality
11318 here. Noted Ted Zlatanov as the maintainer.
11319 (cfengine-common-settings, cfengine-common-syntax): New functions
11320 to set up common things between `cfengine-mode' and
11321 `cfengine3-mode'.
11322 (cfengine3-mode): New mode.
11323 (cfengine3-defuns cfengine3-defuns-regex
11324 (cfengine3-class-selector-regex cfengine3-category-regex)
11325 (cfengine3-vartypes cfengine3-font-lock-keywords)
11326 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 11327 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 11328
36b148cf
MA
113292011-07-01 Michael Albinus <michael.albinus@gmx.de>
11330
11331 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
11332
11333 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
11334
0bf4ba9a
MR
113352011-07-01 Martin Rudalics <rudalics@gmx.at>
11336
11337 * window.el (same-window-buffer-names, same-window-regexps)
11338 (same-window-p, special-display-frame-alist)
11339 (special-display-popup-frame, special-display-function)
11340 (special-display-buffer-names, special-display-regexps)
11341 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
11342 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11343 (split-window-preferred-function, split-height-threshold)
11344 (split-width-threshold, even-window-heights)
11345 (display-buffer-mark-dedicated, window-splittable-p)
11346 (split-window-sensibly, window-safely-shrinkable-p):
11347 Un-obsolete.
11348 (display-buffer): Don't spread args with function specifier
11349 because special-display-popup-frame won't like it.
11350
35837f51
PE
113512011-07-01 Paul Eggert <eggert@cs.ucla.edu>
11352
d0672f86
PE
11353 Time-stamp simplifications and fixes.
11354 These improve accuracy slightly, and future-proof the code
11355 against some potential changes to current-time format.
11356
b9444d97
PE
11357 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
11358 by using time-since and float-time.
11359
0ef923dc
PE
11360 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
11361 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
11362 + NNN microseconds".
11363
2f81380d
PE
11364 * type-break.el (type-break-time-sum): Rewrite using time-add.
11365
845b5c3e
PE
11366 * play/hanoi.el (hanoi-current-time-float): Remove.
11367 All uses replaced by float-time.
11368
ee6f1be0
PE
11369 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
11370 This yields a more-accurate answer.
11371 (rng-time-to-float): Remove; no longer needed.
11372
fe955043
PE
11373 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
11374
5777162a
PE
11375 * calendar/timeclock.el (timeclock-seconds-to-time):
11376 Defalias to seconds-to-time, since they're the same thing.
11377
3103f8b6 11378 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 11379 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
11380 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
11381
0e61a35f
SM
113822011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11383
11384 * window.el (bury-buffer): Don't iconify the only frame.
11385 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
11386 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
11387
ddd63a1e
CY
113882011-07-01 Chong Yidong <cyd@stupidchicken.com>
11389
0e61a35f
SM
11390 * eshell/em-smart.el (eshell-smart-display-navigate-list):
11391 Add mouse-yank-primary.
ddd63a1e 11392
055f4923
TZ
113932011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11394
11395 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
11396
6a2fb145
SM
113972011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11398
11399 * emacs-lisp/find-func.el (find-library--load-name): New fun.
11400 (find-library-name): Use it to find relative load names when provided
11401 absolute file name (bug#8803).
11402
fd4983f2
LMI
114032011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11404
887d14ad
LMI
11405 * textmodes/flyspell.el (flyspell-word): Consider words that
11406 differ only in case as potential doublons (bug#5687).
11407
c53dc7fc
LMI
11408 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
11409 Remove two rather uninteresting debugging-like messages to make
11410 debbugs.el more silent.
11411
fd4983f2
LMI
11412 * comint.el (comint-password-prompt-regexp): Accept "Response" as
11413 a password-like phrase.
11414
7a71b18d 114152011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
11416
11417 * progmodes/cc-guess.el: New file.
11418
6a2fb145 11419 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
11420
11421 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
11422 derived from `c-basic-common-init'.
11423
11424 * progmodes/cc-mode.el (top-level): Require cc-guess.
11425 (c-basic-common-init): Use `cc-choose-style-for-mode'.
11426
1fa280a3
LM
114272011-06-30 Lawrence Mitchell <wence@gmx.li>
11428
11429 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
11430
e6597158
AM
114312011-06-30 Alan Mackenzie <acm@muc.de>
11432
1fa280a3
LM
11433 * progmodes/cc-engine.el (c-guess-continued-construct):
11434 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
11435 lock is disabled. Name this case as "CASE G".
11436
68ba37fb
KM
114372011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
11438
11439 * allout.el (allout-yank-processing): Fix injection of extra space
11440 between bullet and non-whitespace character in first topic when
11441 pasting, ensuring that the actual spacing in the pasted topic
11442 following the bullet char is preserved. This extra space was
11443 causing pasted encrypted topics to get a decrypted status even
11444 when the content was actually still encrypted. Now the decryption
11445 status from before the paste is preserved.
11446
11447 (allout-flag-region): Set all allout overlays so they evaporate
11448 when reduced to zero length (evanescent), to prevent overlay
11449 leakage.
11450
887a0b34
GM
114512011-06-30 Glenn Morris <rgm@gnu.org>
11452
94b9acce
GM
11453 * w32-fns.el (w32-charset-info-alist): Declare.
11454
1d9b46d4
GM
11455 * find-dired.el (find-grep-options): Simplify.
11456
cc232200
GM
11457 * term/ns-win.el (ns-set-resource): Declare.
11458
28e77c46
GM
11459 * ses.el (row, col): Declare dynamic variables honestly.
11460
887a0b34
GM
11461 * textmodes/reftex-parse.el (index-tags): Declare.
11462
658d8eb8
CY
114632011-06-30 Chong Yidong <cyd@stupidchicken.com>
11464
11465 * cus-edit.el (customize-push-and-save): New function.
11466
11467 * files.el (hack-local-variables-confirm): Use it.
11468
1fa280a3
LM
11469 * custom.el (load-theme): New arg NO-CONFIRM.
11470 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
11471 (custom-enabled-themes): Doc fix.
11472
11473 * cus-theme.el (customize-create-theme)
11474 (custom-theme-merge-theme): Callers to load-theme changed.
11475
bb617717
LMI
114762011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11477
d61bdd5d
LMI
11478 * thingatpt.el (thing-at-point-short-url-regexp): Require that
11479 short URLs have at least one dot in them (bug #7614).
11480
bb617717
LMI
11481 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11482 nil, because using a pty is apparently too slow (bug #895).
11483
2f31f37a
LMI
114842011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
11485
11486 * mail/sendmail.el (sendmail-query-once): New function.
11487 (sendmail-query-once-function): New variable.
11488
3076b24e
GM
114892011-06-29 Glenn Morris <rgm@gnu.org>
11490
faf2a174
GM
11491 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11492
3076b24e
GM
11493 * ses.el (top-level): Require cl when compiling.
11494 (ses-set-localvars): Fix error statement.
11495 Call it at compile time to silence a storm of warnings.
11496
5386012d
MR
114972011-06-29 Martin Rudalics <rudalics@gmx.at>
11498
11499 * window.el (normalize-live-buffer): Rename to
11500 window-normalize-buffer.
11501 (normalize-live-frame): Rename to window-normalize-frame.
11502 (normalize-any-window): Rename to window-normalize-any-window.
11503 (normalize-live-window): Rename to window-normalize-live-window.
11504 (make-window-atom): Rename to window-make-atom.
11505 (window-resize-reset): Rename to window--resize-reset.
11506 (window-resize-reset-1): Rename to window--resize-reset-1.
11507 (resize-mini-window): Rename to window--resize-mini-window.
11508 (resize-subwindows-skip-p): Rename to
11509 window--resize-subwindows-skip-p.
11510 (resize-subwindows-normal): Rename to
11511 window--resize-subwindows-normal.
11512 (resize-subwindows): Rename to window--resize-subwindows.
11513 (resize-other-windows): Rename to window--resize-siblings.
11514 (resize-this-window): Rename to window--resize-this-window.
11515 (resize-root-window): Rename to window--resize-root-window.
11516 (resize-root-window-vertically): Rename to
11517 window--resize-root-window-vertically.
11518 (normalize-buffer-to-display): Rename to
11519 window-normalize-buffer-to-display.
11520 (normalize-buffer-to-switch-to): Rename to
11521 window-normalize-buffer-to-switch-to.
11522 Correspondingly update all callers of the functions listed
11523 above.
11524 (display-buffer-alist, display-buffer-normalize-arguments)
11525 (display-buffer-normalize-options, display-buffer)
11526 (display-buffer-alist-set): Use "function" instead of
11527 "fun-with-args".
11528
1176868d
CY
115292011-06-28 Chong Yidong <cyd@stupidchicken.com>
11530
11531 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11532 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
11533 debbugs.gnu.org. Mention acknowledgment email.
11534
20a7a65f
LMI
115352011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
11536
11537 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11538 buffer multibyteness, since it shouldn't matter.
11539
5f45cca5
MR
115402011-06-28 Martin Rudalics <rudalics@gmx.at>
11541
11542 * window.el (display-buffer-in-side-window): Handle dedicated
11543 windows as in display-buffer-reuse-window.
11544 (display-buffer-normalize-alist): Use value of override
11545 specifier.
11546 (display-buffer-normalize-specifiers): Use value of
11547 other-window-means-other-frame specifier.
11548 (display-buffer-alist): Rewrite some texts in widgets.
11549 (display-buffer): Spread arguments when calling function
11550 specified by fun-with-args.
11551
ad85fe1f
DD
115522011-06-28 Deniz Dogan <deniz@dogan.se>
11553
1fa280a3
LM
11554 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11555 Unnest `let'.
da68c4c8 11556
ad85fe1f
DD
11557 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11558 selectors (Bug#5732).
ec49bd31 11559 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 11560
a08cc025
JA
115612011-06-27 Jari Aalto <jari.aalto@cante.net>
11562
11563 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11564 (eshell-ls-date-format): New defcustom.
11565 (eshell-ls-file): Use it.
11566
e2b551c5
SM
115672011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11568
11569 * help-fns.el (describe-variable): Fix message for terminal-local vars.
11570
8982b231
KY
115712011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
11572
11573 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11574 (ange-ftp-make-tmp-name): New arg.
11575 (ange-ftp-file-local-copy): Use it.
11576
36c9fa27
J
115772011-06-27 Jambunathan K <kjambunathan@gmail.com>
11578
11579 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11580 no-conversion (Bug#8870).
11581
d68443dc
MR
115822011-06-27 Martin Rudalics <rudalics@gmx.at>
11583
11584 * window.el (window-right, window-left, window-child)
11585 (window-child-count, window-last-child)
11586 (window-iso-combination-p, walk-window-tree-1)
11587 (window-atom-check-1, window-tree-1, delete-window)
11588 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11589 new naming conventions - window-vchild, window-hchild,
11590 window-next and window-prev are now called window-top-child,
11591 window-left-child, window-next-sibling and window-prev-sibling
11592 respectively.
d615d6d2
MR
11593 (resize-window-reset): Rename to window-resize-reset.
11594 (resize-window-reset-1): Rename to window-resize-reset-1.
11595 (resize-window): Rename to window-resize.
11596 (window-min-height, window-min-width)
11597 (resize-mini-window, resize-this-window, resize-root-window)
11598 (resize-root-window-vertically, adjust-window-trailing-edge)
11599 (enlarge-window, shrink-window, maximize-window)
11600 (minimize-window, delete-window, quit-restore-window)
11601 (split-window, balance-windows, balance-windows-area-adjust)
11602 (balance-windows-area, window-state-put-2)
11603 (display-buffer-even-window-sizes, display-buffer-set-height)
11604 (display-buffer-set-width, set-window-text-height)
11605 (fit-window-to-buffer): Rename all "resize-window" prefixed
11606 calls to use the "window-resize" prefix convention.
11607 (display-buffer-alist): Fix symbol for label specifier.
11608 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11609 corresponding specifier.
11610 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 11611
b6458526
VB
116122011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11613
11614 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11615 convention.
11616 (ses-call-printer): Does not pass an empty string to formatter when the
11617 cell is empty to keep from barking printer Calc math-format-value.
11618
d31fd9ac
RS
116192011-06-27 Richard Stallman <rms@gnu.org>
11620
43d5bf84
RS
11621 * battery.el (battery-mode-line-limit): New variable.
11622 (battery-update): Handle it.
11623
d31fd9ac
RS
11624 * mail/rmailmm.el (rmail-mime-process-multipart):
11625 Handle truncated messages.
11626
819a6054
GM
116272011-06-27 Glenn Morris <rgm@gnu.org>
11628
11629 * progmodes/flymake.el (flymake-err-line-patterns):
11630 Allow for column numbers in the ant/javac pattern. (Bug#8866)
11631
cedc73f2
VB
116322011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11633
819a6054 11634 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
11635 (ses--clean-!, ses--clean-_): New functions.
11636 (ses-range): Add configurability of readout order, and conversion
11637 to Calc vector.
11638
5e5d49b6
VB
11639 * ses.el (ses-repair-cell-reference-all): New function.
11640 (ses-cell-symbol): Set macro as safe, so that it can be used in
11641 formulas.
11642
56e6cc31 11643 * ses.el: Update cycle detection algorithm.
90ca8b49 11644 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 11645 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
11646 (ses-set-localvars): New function.
11647 (ses-make-cell): Add property-list as a cell element.
11648 (ses-cell-property-get-fun, ses-cell-property-get)
11649 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
11650 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11651 New functions.
90ca8b49
VB
11652 (ses-cell-property-set, ses-cell-property-pop)
11653 (ses-cell-property-get-handle): New macro.
11654 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
11655 New aliases, used for code readability.
11656 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
11657 cycle detection.
11658 (ses-self-reference-early-detection): New defcustom.
fac916bf 11659 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
11660 (ses-mode): Use ses-set-localvars.
11661 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
11662 before lauching the update processing.
11663 (ses-initialize-Dijkstra-attempt): New function.
11664 (ses-recalculate-cell): Update for cycle detection based on
11665 Dijkstra algorithm.
11666
2bb63e81
VB
11667 * ses.el: Fix commenting and indenting convention.
11668
c9d29fb8
SM
116692011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11670
11671 * bs.el (bs-cycle-next): Complete last change.
11672
d8e4b68b
JB
116732011-06-27 Drew Adams <drew.adams@oracle.com>
11674
11675 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
11676
40098786
LMI
116772011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11678
c9d29fb8
SM
11679 * net/network-stream.el (network-stream-open-starttls):
11680 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
11681 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
11682
40098786
LMI
11683 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11684 to binary to possibly avoid line encoding issues on Windows (among
11685 other things).
11686
468d09d4
LMI
116872011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11688
11689 * net/network-stream.el (open-network-stream): Return an :error
11690 saying what the problem was, if possible.
11691
11692 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11693 server.
11694
11695 * net/network-stream.el (network-stream-open-starttls): If we
11696 wanted to use STARTTLS, and the server offered it, but we weren't
11697 able to because we had no STARTTLS support, then close the connection.
11698 (open-network-stream): Return an :error element, if present.
11699
16f07dd7
CY
117002011-06-26 Chong Yidong <cyd@stupidchicken.com>
11701
88821ca0
CY
11702 * hl-line.el (hl-line-sticky-flag): Doc fix.
11703 (global-hl-line-sticky-flag): New option (Bug#8323).
11704 (global-hl-line-highlight): Obey it.
11705
16f07dd7
CY
11706 * vc/vc.el (vc-revert-show-diff): Default to t.
11707
6b5ccddf
KM
117082011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
11709
c9d29fb8
SM
11710 * allout-widgets.el (allout-widgets-post-command-business):
11711 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
11712 undecorated when an isearch is continued past, and isearch
11713 automatically collapses them. This leads to "widget leaks", where
11714 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
11715 hidden widgets can slow down cursor travel, substantially.
11716 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
11717 so we're doing without this nicety.
11718
11719 (allout-widgets-tally-string): Don't try to do a hash-table-count
11720 of allout-widgets-tally when it's nil. This eliminates spurious "Error
11721 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11722 *Messages* when allout-widgets-maintain-tally is t.
11723
355f2e07
MR
117242011-06-26 Martin Rudalics <rudalics@gmx.at>
11725
11726 * window.el (display-buffer-normalize-argument): Rename to
11727 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
11728 LABEL argument. Respect special-display-function when popping up
11729 a new frame. Fix code searching for a window showing the buffer
11730 on another frame.
c9d29fb8
SM
11731 (display-buffer-normalize-specifiers):
11732 Call display-buffer-normalize-arguments.
355f2e07
MR
11733 (display-buffer-in-window): Don't undedicate the window if its
11734 buffer remains the same.
11735 Reported by Drew Adams <drew.adams@oracle.com>.
11736 (display-buffer-alist): Add choice for same-window macro
11737 specfier.
11738 (display-buffer): Mention special meaning of LABEL argument in
11739 doc-string. Fix quoting. Don't pop up a new frame even as
11740 fallback.
11741
7ca8fc42
JB
117422011-06-26 Juanma Barranquero <lekktu@gmail.com>
11743
11744 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11745 avoid deleting the current window in some cases (bug#8911).
11746
bc312254
AS
117472011-06-26 Andreas Schwab <schwab@linux-m68k.org>
11748
11749 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11750 (Bug#8934)
11751
2db18f3f
LMI
117522011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11753
c9d29fb8
SM
11754 * net/network-stream.el (network-stream-open-starttls):
11755 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
11756 (network-stream-open-tls): Ditto.
11757
6302e0d3
LL
117582011-06-26 Leo Liu <sdl.web@gmail.com>
11759
11760 * register.el (registerv): New struct.
11761 (registerv-make): New function.
c9d29fb8
SM
11762 (jump-to-register, describe-register-1, insert-register):
11763 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
11764 struct. (Bug#8415)
11765
5fdd4046
CY
117662011-06-26 Chong Yidong <cyd@stupidchicken.com>
11767
2afef60a
CY
11768 * vc/vc.el (vc-revert-show-diff): New defcustom.
11769 (vc-diff-internal): New arg specifying diff buffer.
11770 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
11771 reuse an existing *vc-diff* buffer (Bug#8927).
11772
5fdd4046
CY
11773 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11774
e93db24a
GM
117752011-06-26 Glenn Morris <rgm@gnu.org>
11776
11777 * progmodes/f90.el (f90-critical-indent): New option.
11778 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11779 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11780 (f90-mode): Doc fix.
11781 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11782 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11783 (f90-beginning-of-block, f90-next-block, f90-indent-region)
11784 (f90-match-end): Handle block, critical.
11785
eefff499
GM
117862011-06-25 Glenn Morris <rgm@gnu.org>
11787
f6ba4cc9
GM
11788 * calendar/diary-lib.el (diary-included-files): Doc fix.
11789 (diary-include-files): New function, extracted from
11790 diary-include-other-diary-files and diary-mark-included-diary-files.
11791 (diary-include-other-diary-files, diary-mark-included-diary-files):
11792 Just call diary-include-files.
11793 (diary-mark-entries): Reset diary-included-files on first call.
11794
16712304
GM
11795 * calendar/diary-lib.el (diary-mark-entries)
11796 (diary-mark-included-diary-files):
11797 Visit included diary-files in temp buffers.
11798
5d8e0d43
GM
11799 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11800 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11801 (f90-start-block-re, f90-imenu-generic-expression)
11802 (f90-looking-at-program-block-start, f90-no-block-limit):
11803 Add support for submodules.
11804
ccf7a5d5
GM
11805 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11806 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 11807
11fdef7d 118082011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
11809
11810 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11811 buffer-file-type before setting its value, to avoid disastrous
eefff499 11812 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 11813
74f53697
JB
118142011-06-25 Juanma Barranquero <lekktu@gmail.com>
11815
11816 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11817
11818 * ses.el (ses-unload-function):
11819 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11820
11821 * proced.el (proced-unload-function):
11822 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11823
18a4ce5e
AR
118242011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
11825
11826 * server.el (server-create-window-system-frame): Add parameters arg.
11827 (server-process-filter): Doc fix. Handle frame-parameters.
11828
519d22cc
JB
118292011-06-25 Juanma Barranquero <lekktu@gmail.com>
11830
11831 Fix bug#8730, bug#8781.
11832
11833 * loadhist.el (unload--set-major-mode): New function.
11834 (unload-feature): Use it.
11835
11836 * progmodes/python.el (python-after-info-look): Add autoload cookie.
11837 (python-unload-function): New function.
11838
c206f5b0
SM
118392011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11840
11841 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11842
f9ad64f3
GS
118432011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
11844
11845 * net/browse-url.el (browse-url-firefox-program): Add icecat to
11846 the candidates list.
11847
7d0da90e
JB
118482011-06-24 Juanma Barranquero <lekktu@gmail.com>
11849
11850 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11851
14b4e83d
RS
118522011-06-23 Richard Stallman <rms@gnu.org>
11853
11854 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11855 (rmail-variables): Set next-error-move-function.
11856 (rmail-what-message): Take argument POS.
11857 (rmail-next-error-move): New function.
11858
273d2baf
SM
118592011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11860
11861 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11862 messages for adjacent non-terminals.
11863
56c2cc9a
RS
118642011-06-23 Richard Stallman <rms@gnu.org>
11865
11866 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 11867 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
11868 (rmail-start-mail): Don't specify use of rmail-mail-return;
11869 that's done by mail-bury now.
11870 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 11871
d59eb518
MA
118722011-06-23 Michael Albinus <michael.albinus@gmx.de>
11873
11874 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11875 SIZE is a number.
11876
02cfc6d6
MR
118772011-06-23 Martin Rudalics <rudalics@gmx.at>
11878
11879 * window.el (get-lru-window, get-mru-window)
11880 (get-largest-window): Never return a minibuffer window.
11881 (display-buffer-pop-up-window): Fix a bug that could lead to
11882 reusing the minibuffer window.
11883 (display-buffer): Pass original specifier argument to
11884 display-buffer-function instead of the normalized one.
11885 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11886
4e323265
LL
118872011-06-22 Leo Liu <sdl.web@gmail.com>
11888
11889 * minibuffer.el (completing-read-function)
11890 (completing-read-default): Move from minibuf.c
11891
7a70468f
RS
118922011-06-22 Richard Stallman <rms@gnu.org>
11893
50718fc2
RS
11894 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11895 to Rmail even if not started by a special Rmail command.
11896
7a70468f
RS
11897 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
11898 Copy the buffer currently showing just one message.
11899
297dde5a
RW
119002011-06-22 Roland Winkler <winkler@gnu.org>
11901
11902 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
11903 (bibtex-clean-entry): First delete the old key so that a
11904 customized algorithm for generating the new key does not get
11905 confused by the old key.
11906 (bibtex-url): Obey regexp of first step.
11907 (bibtex-search-entries): Do not use add-to-list with local
11908 list-var.
11909
97bb1093
LMI
119102011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11911
11912 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
11913 stored a user name, then query for the password first, instead of
11914 waiting for SMTP to give an error message and the trying again.
11915
1c0f1a19
JD
119162011-06-22 Lawrence Mitchell <wence@gmx.li>
11917
11918 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
11919 BUFFER in call-process.
11920
396f7c9d
LMI
119212011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11922
11923 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
11924 QUIT twice.
ddb7ffee
LMI
11925 (smtpmail-try-auth-methods): Require user name and password from
11926 auth-source.
396f7c9d 11927
8998d1b3
MR
119282011-06-22 Martin Rudalics <rudalics@gmx.at>
11929
11930 * window.el (display-buffer-default-specifiers)
11931 (display-buffer-alist): Remove entries for pop-up-frame-alist.
11932 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 11933 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
11934
11935 * frame.el (pop-up-frame-alist, pop-up-frame-function)
11936 (special-display-frame-alist, special-display-popup-frame):
11937 Remove duplicate declarations. These are now in window.el.
11938
4ea31e07
LMI
119392011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11940
c9d29fb8
SM
11941 * mail/smtpmail.el (smtpmail-via-smtp):
11942 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
11943 server supports it. SMTP servers that support STARTTLS commonly
11944 require it.
11945
11946 * net/network-stream.el (network-stream-open-starttls): Support
11947 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 11948 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 11949
95f41d9a
LMI
11950 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
11951 upgrades with `open-network-stream', and rely solely on
11952 auth-source for all credentials. Big changes throughout the file,
11953 but in particular:
c9d29fb8
SM
11954 (smtpmail-auth-credentials): Remove.
11955 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
11956 (smtpmail-via-smtp): Check for servers saying they want AUTH after
11957 MAIL FROM, too.
95f41d9a 11958
c9d29fb8
SM
11959 * net/network-stream.el (network-stream-open-starttls):
11960 Provide support for client certificates both for external and built-in
4ea31e07
LMI
11961 STARTTLS.
11962 (auth-source): Require.
11963 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
11964 (network-stream-certificate): Change cert-cert to cert and
11965 cert-key to key.
4ea31e07 11966
065ec2c7
MA
119672011-06-21 Michael Albinus <michael.albinus@gmx.de>
11968
11969 * net/tramp-cache.el (top): Don't load the persistency file when
11970 "emacs -Q" has been called.
11971
cd93b359
DR
119722011-06-21 Tim Harper <timcharper@gmail.com>
11973
d8e4b68b
JB
11974 * term/ns-win.el (ns-initialize-window-system):
11975 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
11976 resource to NO as it is not yet supported by the NS port.
11977
ae9c0411
JB
119782011-06-21 Juanma Barranquero <lekktu@gmail.com>
11979
11980 * misc.el (list-dynamic-libraries--refresh): Compute header here...
11981 (list-dynamic-libraries): ...not here.
11982
7f3f739f
LL
119832011-06-21 Leo Liu <sdl.web@gmail.com>
11984
11985 * subr.el (sha1): Implement sha1 using secure-hash.
11986
327c8fb1
MR
119872011-06-21 Martin Rudalics <rudalics@gmx.at>
11988
11989 * window.el (display-buffer-alist): In default value do not
11990 enforce searching a window on any but the selected frame.
11991 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11992 (display-buffer-select-window): Remove function.
11993 (display-buffer-in-window): When a window on another frame gets
11994 reused, do not select it any more but just raise its frame if
11995 necessary (Bug#8851) and (Bug#8856).
11996 (display-buffer-normalize-options): Handle pop-up-frames related
11997 options more faithfully.
11998 (pop-to-buffer): Don't rely on `display-buffer' selecting the
11999 window if it is on another frame.
c9d29fb8
SM
12000 (display-buffer-alist, display-buffer-default-specifiers):
12001 Don't make new frame unsplittable by default.
9e9de014
MR
12002 (display-buffer-normalize-argument): Fix doc-string typo and use
12003 'same-frame-other-window instead of 'other-window when associating
12004 with display-buffer-macro-specifiers.
327c8fb1 12005
7cf3f556
VB
120062011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
12007
12008 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
12009 New functions.
12010 (5x5-mode-map, 5x5-mode-menu): Bind them.
12011 (5x5-draw-grid): Tweak the solver's rendering.
12012
60a406cf
SM
120132011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12014
12015 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
12016 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
12017
d8e4b68b 120182011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
12019
12020 * menu-bar.el: Use function variable instead of switch-to-buffer.
12021 (menu-bar-select-buffer-function): New variable.
60a406cf 12022 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 12023
478d6f95
SM
120242011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12025
12026 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
12027 variable's status.
12028
ca530739
JD
120292011-06-20 Jan Djärv <jan.h.d@swipnet.se>
12030
12031 * x-dnd.el (x-dnd-version-from-flags)
12032 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
12033 and long as number (Bug#8899).
12034 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
12035
bcd70d97
SM
120362011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12037
60a406cf 12038 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
12039 (completion-try-completion, completion-all-completions): Compute the
12040 metadata argument if it's missing; make it optional (bug#8795).
12041
60a406cf 12042 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
12043 (widget-complete): Use new :completion-function property.
12044 (widget-completions-at-point): New function.
12045 (default): Use :completion-function instead of :complete.
60a406cf
SM
12046 (widget-default-completions): Rename from widget-default-complete;
12047 Rewrite.
bcd70d97
SM
12048 (widget-string-complete, widget-file-complete, widget-color-complete):
12049 Remove functions.
12050 (file, symbol, function, variable, coding-system, color):
12051 * international/mule-cmds.el (default-input-method, charset)
12052 (language-info-custom-alist):
12053 * cus-edit.el (face): Use new property :completions.
12054
12055 * progmodes/pascal.el (pascal-completions-at-point): New function.
12056 (pascal-mode): Use it.
12057 (pascal-mode-map): Use completion-at-point.
12058 (pascal-toggle-completions): Make obsolete.
12059 (pascal-complete-word, pascal-show-completions):
12060 * progmodes/octave-mod.el (octave-complete-symbol):
12061 Redefine as obsolete alias.
12062 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
12063 Signal absence of completion info for old Octave,
12064 (inferior-octave-complete): Redefine as obsolete alias.
12065 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
12066 (meta-completions-at-point): Rename from meta-complete-symbol and
12067 adapt it for use on completion-at-point-functions.
12068 (meta-common-mode): Use it.
12069 (meta-looking-at-backward, meta-match-buffer): Remove.
12070 (meta-complete-symbol): Redefine as obsolete alias.
12071 (meta-common-mode-map): Use completion-at-point.
12072 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
12073 (makefile-mode-map): Use completion-at-point.
12074 (makefile-completions-at-point): Rename from makefile-complete and
12075 adapt it for use on completion-at-point-functions.
12076 (makefile-mode): Use it.
12077 (makefile-complete): Redefine as obsolete alias.
12078
aebf69c8
DD
120792011-06-20 Deniz Dogan <deniz@dogan.se>
12080
12081 * net/rcirc.el: Delete trailing whitespaces once and for all.
12082
bfbbb27d
DC
120832011-06-20 Daniel Colascione <dan.colascione@gmail.com>
12084
12085 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
12086
d264a46b
CY
120872011-06-19 Chong Yidong <cyd@stupidchicken.com>
12088
4ca009e5
CY
12089 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
12090
d264a46b
CY
12091 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
12092
fbf5b3ce
MR
120932011-06-19 Martin Rudalics <rudalics@gmx.at>
12094
12095 * window.el (display-buffer-other-window-means-other-frame):
12096 Call display-buffer-normalize-alist.
12097 (display-buffer-normalize-specifiers-1): Rename to
12098 display-buffer-normalize-argument. New argument other-frame.
12099 Rewrite.
12100 (display-buffer-normalize-specifiers-2): Rename to
12101 display-buffer-normalize-options.
12102 (display-buffer-normalize-alist-1): New function.
12103 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
12104 display-buffer-normalize-alist.
12105 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
12106 (display-buffer-normalize-options-inhibit): New variable.
12107 (display-buffer-normalize-specifiers): Rewrite calling
12108 display-buffer-normalize-alist,
12109 display-buffer-normalize-argument, and
12110 display-buffer-normalize-options. Don't call the latter if
12111 display-buffer-normalize-options-inhibit is non-nil.
12112 (frame-auto-delete): New option.
12113 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
12114 (window-list-no-nils, window-state-ignored-parameters)
12115 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
12116 (window-state-put-1, window-state-put-2, window-state-put):
12117 New functions.
9a028c23
MR
12118 (display-buffer-normalize-options): Move special-display-p group
12119 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 12120
6d10d800
CY
121212011-06-18 Chong Yidong <cyd@stupidchicken.com>
12122
6420d28b
CY
12123 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
12124 groups (Bug#8776).
12125 (rx-submatch-n): New function.
12126 (rx): Document it.
12127
ddb8b596
CY
12128 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
12129 (Bug#8768).
12130
12131 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
12132
77080289
CY
12133 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
12134
61dfb316
CY
12135 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
12136 anytime existing face settings are present (Bug#8889).
12137
6d10d800
CY
12138 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
12139 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
12140 Remove unused argument.
12141
be3fb2b8
MR
121422011-06-18 Martin Rudalics <rudalics@gmx.at>
12143
bcd70d97
SM
12144 * window.el (display-buffer-default-specifiers):
12145 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
12146 pop-up-window-min-width, and another reuse-window specifier
12147 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
12148 (display-buffer-normalize-specifiers-2):
12149 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
12150 pop-up-windows is unset. Add a reuse-window specifier for the
12151 case popping up a new window fails.
12152 (special-display-popup-frame): Remove double quoting.
28dec25a 12153 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 12154
1c6d8c76
SM
121552011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12156
12157 * shell.el (shell-completion-vars): Set pcomplete-termination-string
12158 according to comint-completion-addsuffix.
12159
12160 * pcomplete.el: Convert to lexical binding and fix bug#8819.
12161 (pcomplete-suffix-list): Mark as obsolete.
12162 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
12163 pcomplete-seen in the closure.
12164 (pcomplete-comint-setup): Setup completion-at-point as well.
12165 (pcomplete--entries): New function.
12166 (pcomplete--env-regexp): New var.
12167 (pcomplete-entries): Rewrite to work with partial-completion and
12168 without relying on pcomplete-suffix-list.
12169 (pcomplete-pare-list): Remove, unused.
12170
25aef8b8
MR
121712011-06-17 Martin Rudalics <rudalics@gmx.at>
12172
12173 * window.el (display-buffer-alist): Set pop-up-window-min-height
12174 and pop-up-window-min-width in default value. Reported by
12175 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
12176 other-window-means-other-frame.
12177 (display-buffer-macro-specifiers): Comment out entry for
12178 other-window specifier.
12179 (display-buffer-other-window-means-other-frame): New function.
12180 (display-buffer-normalize-specifiers-1): New arguments
12181 buffer-name and label. Treat other-window case specially.
12182 (display-buffer-normalize-specifiers-2): Treat other-window case
12183 specially.
12184 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
12185 (display-buffer-normalize-specifiers):
12186 Call display-buffer-normalize-specifiers-3.
25aef8b8 12187
dbad4f69
MR
121882011-06-17 Martin Rudalics <rudalics@gmx.at>
12189
12190 * window.el (same-window-p): Fix two typos introduced when
12191 adding with-no-warnings.
d1067961
MR
12192 (display-buffer-normalize-specifiers-1): Don't check
12193 pop-up-frames for 'unset initialization.
12194 (display-buffer-normalize-specifiers-2): Major rewrite using
12195 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
12196 (pop-up-frames, display-buffer-reuse-frames)
12197 (display-buffer-mark-dedicated): Don't initialize to 'unset.
12198 Suggested by David Engster <deng@randomsample.de>.
12199 (even-window-heights): Initialize to 'unset.
12200 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
12201 (display-buffer-macro-specifiers): Don't pop up a new frame in the
12202 other window case.
dbad4f69 12203
9b9c9e3a
MR
122042011-06-16 Martin Rudalics <rudalics@gmx.at>
12205
bcd70d97
SM
12206 * window.el (display-buffer-normalize-specifiers-1):
12207 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 12208 second argument of display-buffer (Bug#8865).
981d5c09
MR
12209 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
12210 (switch-to-buffer-other-window-same-frame)
12211 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
12212 Adams (Bug#8875).
9c2755e9
MR
12213 (display-buffer): Don't check noninteractive when calling
12214 display-buffer-pop-up-frame.
12215 (display-buffer-pop-up-frame): Never pop up a frame in
12216 noninteractive mode (Bug#8857).
67222e1d
MR
12217 (enlarge-window, shrink-window): Don't report an error when the
12218 window can't be resized as requested (Bug#8862).
9b9c9e3a 12219
2b75be67
SM
122202011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12221
9ffdd3ba
SM
12222 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
12223
cb581a67
SM
12224 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
12225
2b75be67
SM
12226 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
12227
8c0e3589
AM
122282011-06-15 Alan Mackenzie <acm@muc.de>
12229
cb581a67
SM
12230 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
12231 for declarators, disable knr checking to speed up for normal files.
12232 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 12233
b96e6cde
LMI
122342011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12235
4bba86e6
LMI
12236 * net/network-stream.el (open-network-stream): Add the keyword
12237 :always-query-capabilities for the case where you want to force a
12238 `plain' network connection, but the protocol still requires the
12239 capabilitiy command (i.e., SMTP and EHLO).
12240
2b75be67 12241 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
12242 consistency with other `-live-p' functions.
12243
efdcdbf8
SM
122442011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12245
12246 * window.el (same-window-buffer-names, same-window-regexps)
12247 (special-display-frame-alist, special-display-popup-frame)
12248 (special-display-function, special-display-buffer-names)
12249 (special-display-regexps, pop-up-frame-alist)
12250 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
12251 (pop-up-windows, split-window-preferred-function)
12252 (split-height-threshold, split-width-threshold, even-window-heights)
12253 (display-buffer-mark-dedicated): Don't encourage the use of
12254 display-buffer-alist from Elisp code.
12255
c5cde042
DN
122562011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
12257
12258 * progmodes/python.el (python-mode): Derive from prog-mode.
12259 * progmodes/ps-mode.el (ps-mode):
12260 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 12261 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
12262 * progmodes/ld-script.el (ld-script-mode): Likewise.
12263
baa1c9ab
MR
122642011-06-15 Martin Rudalics <rudalics@gmx.at>
12265
12266 * window.el (display-buffer-alist): Trim default value to avoid
12267 popping up a new frame (Bug#8857) or reusing an arbitrary window
12268 on another frame.
12269 (display-buffer): Do not fall back on popping up a new frame in
12270 batch mode (Bug#8857).
12271
c5dd5a51
CY
122722011-06-14 Chong Yidong <cyd@stupidchicken.com>
12273
12274 * cus-theme.el (describe-theme-1): Use custom-theme-p.
12275 (custom-theme-summary): New function.
12276 (customize-themes): Use it.
12277
d647b7c4
GM
122782011-06-13 Glenn Morris <rgm@gnu.org>
12279
12280 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
12281
9481c002
MR
122822011-06-13 Martin Rudalics <rudalics@gmx.at>
12283
357f93d2
MR
12284 * help.el (help-window): Remove variable.
12285 (help-window-point-marker, temp-buffer-max-height)
12286 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
12287 (help-print-return-message): Don't set help-window.
12288 (resize-temp-buffer-window): Rewrite cod eand doc-string.
12289 (help-window-setup-finish): Remove.
12290 (help-window-display-message, help-window-setup)
12291 (with-help-window): Major rewrite based on new
12292 display-buffer-window variable.
12293
12294 * help-mode.el (help-mode-finish): Remove help-window related
12295 code.
12296
12297 * view.el (view-exits-all-viewing-windows): Remove reference to
12298 view-return-to-alist in doc-string.
12299 (view-return-to-alist): Make obsolete.
12300 (view-buffer): Call pop-to-buffer-same-window and remove
12301 undo-window code.
12302 (view-buffer-other-window): Call pop-to-buffer-other-window and
12303 simplify code. Ignore second argument.
12304 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
12305 simplify code. Ignore second argument.
12306 (view-return-to-alist-update): Make obsolete.
12307 (view-mode-enter): Rename second argument to QUIT-RESTORE.
12308 Rewrite using quit-restore window parameters.
2b75be67
SM
12309 (view-mode-exit): Rename second argument to EXIT-ONLY.
12310 Rewrite using quit-restore-window.
357f93d2
MR
12311 (View-exit, View-exit-and-edit, View-leave, View-quit)
12312 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
12313 appropriate arguments.
12314 (view-end-message): Use quit-restore window parameter.
12315
9481c002
MR
12316 * window.el (display-buffer-function): Rewrite doc-string.
12317 (display-buffer-window, display-buffer-alist): New variables.
12318 (display-buffer-split-specifiers)
12319 (display-buffer-side-specifiers)
12320 (display-buffer-macro-specifiers): New constants.
12321 (display-buffer-even-window-sizes, display-buffer-set-height)
12322 (display-buffer-set-width, display-buffer-select-window)
12323 (display-buffer-in-window, display-buffer-reuse-window)
12324 (display-buffer-split-window-1, display-buffer-split-window)
12325 (display-buffer-split-atom-window, display-buffer-pop-up-window)
12326 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
12327 (display-buffer-in-side-window, normalize-buffer-to-display)
12328 (display-buffer-normalize-specifiers-1)
12329 (display-buffer-normalize-specifiers-2)
2b75be67
SM
12330 (display-buffer-normalize-specifiers, display-buffer-frame):
12331 New functions.
9481c002
MR
12332 (display-buffer): Major rewrite.
12333 (display-buffer-other-window, display-buffer-other-frame)
12334 (pop-to-buffer, switch-to-buffer-other-window)
12335 (switch-to-buffer-other-frame): Rewrite.
12336 (display-buffer-same-window, display-buffer-same-frame)
12337 (display-buffer-same-frame-other-window)
12338 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12339 (pop-to-buffer-other-window)
12340 (pop-to-buffer-same-frame-other-window)
12341 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
12342 (switch-to-buffer-other-window-same-frame): New functions.
12343 (same-window-p, special-display-p): Rewrite disabling warnings.
12344 Make obsolete.
12345 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12346 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
12347 Make obsolete
12348 (same-window-buffer-names, same-window-regexps)
12349 (special-display-frame-alist, special-display-popup-frame)
12350 (special-display-function, special-display-buffer-names)
12351 (special-display-regexps, pop-up-frame-alist)
12352 (pop-up-frame-function, split-window-preferred-function)
12353 (split-height-threshold, split-width-threshold)
12354 (even-window-heights): Make obsolete.
12355
9db51aca
GM
123562011-06-12 Glenn Morris <rgm@gnu.org>
12357
12358 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 12359 Misc simplifications.
9db51aca 12360
39cffb44
MR
123612011-06-12 Martin Rudalics <rudalics@gmx.at>
12362
12363 * window.el (window-safely-shrinkable-p): Restore function which
12364 was inadvertently removed in change from 2011-06-11. Declare as
12365 obsolete.
12366
2b75be67
SM
12367 * calendar/calendar.el (calendar-generate-window):
12368 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
12369 window-safely-shrinkable-p.
12370
a8955be7
GM
123712011-06-12 Glenn Morris <rgm@gnu.org>
12372
12373 * progmodes/fortran.el (fortran-mode-syntax-table):
12374 * progmodes/f90.el (f90-mode-syntax-table):
12375 Set % to punctuation. (Bug#8820)
12376 (f90-find-tag-default): Remove, no longer needed.
12377
f0d4059d
DC
123782011-06-12 Daniel Colascione <dan.colascione@gmail.com>
12379
12380 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
12381
1100a63c
CY
123822011-06-11 Chong Yidong <cyd@stupidchicken.com>
12383
12384 * image.el (image-animated-p): Return animation delay in seconds.
12385 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
12386 (image-animate-timeout): Remove DELAY argument. Don't assume
12387 every subimage has the same delay; get it from image-animated-p.
12388 (image-animate): Caller changed.
12389
def722bf
MA
123902011-06-11 Michael Albinus <michael.albinus@gmx.de>
12391
12392 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
12393 to ignored backtrace functions.
12394
0a2bb1a9
GM
123952011-06-11 Glenn Morris <rgm@gnu.org>
12396
12397 * calendar/appt.el (appt-disp-window-function): Doc fix.
12398 (appt-check): Handle overlapping appointments. (Bug#8337)
12399
6198ccd0
MR
124002011-06-11 Martin Rudalics <rudalics@gmx.at>
12401
12402 * window.el (window-tree-1, window-tree): New functions, moving
12403 the latter to window.el.
12404 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
12405 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
12406 (bw-refresh-edges): Remove.
12407 (balance-windows-1, balance-windows-2): New functions.
12408 (balance-windows): Rewrite in terms of window tree functions,
12409 balance-windows-1 and balance-windows-2.
12410 (bw-adjust-window): Remove.
12411 (balance-windows-area-adjust): New function with functionality of
12412 bw-adjust-window but using resize-window.
2b75be67
SM
12413 (set-window-text-height): Rewrite doc-string.
12414 Use normalize-live-window and resize-window.
12415 (enlarge-window-horizontally, shrink-window-horizontally):
12416 Rename argument to DELTA.
6198ccd0
MR
12417 (window-buffer-height): New function.
12418 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
12419 Rewrite using new window resize routines.
2b75be67
SM
12420 (kill-buffer-and-window, mouse-autoselect-window-select):
12421 Use ignore-errors instead of condition-case.
6198ccd0
MR
12422 (quit-window): Call delete-frame instead of delete-windows-on
12423 for the only buffer on frame.
12424
9397e56f
MR
124252011-06-10 Martin Rudalics <rudalics@gmx.at>
12426
12427 * loadup.el (top-level): Load window before files for the sake
12428 of replace-buffer-in-windows.
12429
12430 * files.el (read-buffer-to-switch)
12431 (switch-to-buffer-other-window)
2b75be67
SM
12432 (switch-to-buffer-other-frame, display-buffer-other-frame):
12433 Move to window.el.
9397e56f
MR
12434
12435 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
12436 (previous-buffer): Move to window.el.
12437
12438 * bindings.el (unbury-buffer): Move to window.el.
12439
12440 * window.el (delete-other-windows-vertically): Move after
12441 definition of delete-other-windows.
12442 (other-window, delete-windows-on, replace-buffer-in-windows):
12443 Move here from window.c.
12444 (record-window-buffer, unrecord-window-buffer)
12445 (set-window-buffer-start-and-point, switch-to-prev-buffer)
12446 (switch-to-next-buffer): New functions.
12447 (get-next-valid-buffer, last-buffer, next-buffer): Move here
12448 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
12449 (previous-buffer): Move here from simple.el.
12450 Call switch-to-prev-buffer.
9397e56f
MR
12451 (bury-buffer): Move here from buffer.c. Switch to previous
12452 buffer when window cannot be deleted.
12453 (unbury-buffer): Move here from bindings.el.
12454 (ctl-x-map): Move binding for other-window from window.c to
12455 here.
12456 (read-buffer-to-switch, switch-to-buffer-other-window)
12457 (switch-to-buffer-other-frame): Move here from files.el.
12458 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
12459 (switch-to-buffer): Move here from buffer.c.
12460 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 12461
562dd5e9
MR
124622011-06-10 Martin Rudalics <rudalics@gmx.at>
12463
12464 * window.el (window-min-height, window-min-width): Move here
12465 from window.c. Add defcustoms and rewrite doc-strings.
12466 (resize-mini-window, resize-window): New functions.
12467 (adjust-window-trailing-edge, enlarge-window, shrink-window):
12468 Move here from window.c.
12469 (maximize-window, minimize-window): New functions.
12470 (delete-window, delete-other-windows, split-window): Move here
12471 from window.c.
12472 (window-split-min-size): New function.
12473 (split-window-keep-point): Mention split-window-above-each-other
12474 instead of split-window-vertically.
2b75be67 12475 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
12476 Rename split-window-vertically to split-window-above-each-other
12477 and provide defalias for old definition.
12478 (split-window-side-by-side, split-window-horizontally):
12479 Rename split-window-horizontally to split-window-side-by-side
12480 and provide defalias for the old definition.
562dd5e9
MR
12481 (ctl-x-map): Move bindings for delete-window,
12482 delete-other-windows and enlarge-window here from window.c.
12483 Replace bindings for split-window-vertically and
12484 split-window-horizontally by bindings for
12485 split-window-above-each-other and split-window-side-by-side.
12486
12487 * cus-start.el (all): Remove entries for window-min-height and
12488 window-min-width. Add entries for window-splits and
12489 window-nest.
12490
f0da764a
GM
124912011-06-09 Glenn Morris <rgm@gnu.org>
12492
80675c21
GM
12493 * calendar/appt.el (appt-mode-line): New function.
12494 (appt-check, appt-disp-window): Use it.
12495
f0da764a
GM
12496 * files.el (hack-one-local-variable-eval-safep):
12497 Allow minor-modes with explicit +/-1 arguments.
12498
59f623b7
TZ
124992011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
12500
12501 * term/xterm.el (xterm): Add defgroup.
12502 (xterm-extra-capabilities): Add defcustom to supply known xterm
12503 capabilities, skip querying them, or query them (default).
12504 (terminal-init-xterm): Use it.
12505 (terminal-init-xterm-modify-other-keys): New function to set up
12506 modifyOtherKeys support to simplify `terminal-init-xterm'.
12507
9aab8e0d
MR
125082011-06-09 Martin Rudalics <rudalics@gmx.at>
12509
12510 * window.el (resize-window-reset, resize-window-reset-1)
12511 (resize-subwindows-skip-p, resize-subwindows-normal)
12512 (resize-subwindows, resize-other-windows, resize-this-window)
12513 (resize-root-window, resize-root-window-vertically)
12514 (window-deletable-p, window-or-subwindow-p)
12515 (frame-root-window-p): New functions.
12516
e8b08aee
GM
125172011-06-09 Glenn Morris <rgm@gnu.org>
12518
12519 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12520 (ange-ftp-get-files): Use it.
12521
254c37a5
AK
125222011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
12523
12524 * mail/sendmail.el (mail-recover-1, mail-recover):
12525 * files.el (recover-file, recover-session):
12526 Handle dired-listing-switches not being just a single short option.
12527
35d7dbd3
GM
125282011-06-09 Glenn Morris <rgm@gnu.org>
12529
12530 * calendar/appt.el (appt-display-message, appt-disp-window):
12531 Handle lists of appointments.
12532
387522b2
MR
125332011-06-08 Martin Rudalics <rudalics@gmx.at>
12534
2b75be67
SM
12535 * window.el (one-window-p): Move down in code.
12536 Rewrite doc-string.
12537 (window-current-scroll-bars): Rewrite doc-string.
12538 Normalize live window argument.
387522b2
MR
12539 (walk-windows, get-window-with-predicate, count-windows):
12540 Rewrite doc-string. Use window-list-1.
12541 (window-in-direction-2, window-in-direction, get-mru-window):
12542 New functions.
12543
d8e4b68b 125442011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
12545
12546 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12547 Doc fix (Bug#8713).
12548
125492011-06-08 Chong Yidong <cyd@stupidchicken.com>
12550
12551 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12552
125532011-06-08 Juanma Barranquero <lekktu@gmail.com>
12554
12555 * loadhist.el (unload-feature-special-hooks):
12556 Add `comint-output-filter-functions'.
12557
0de12c52
IK
125582011-06-08 Ivan Kanis <gnu@kanis.fr>
12559
12560 * calendar/appt.el (appt-check): Move some initializations into the let.
12561
f3d1777e
MR
125622011-06-08 Martin Rudalics <rudalics@gmx.at>
12563
12564 * window.el (window-height): Defalias to window-total-height.
12565 (window-width): Defalias to window-body-width.
12566
18af70d0
CY
125672011-06-07 Chong Yidong <cyd@stupidchicken.com>
12568
12569 * image-mode.el (image-toggle-animation): New command.
12570 (image-mode-map): Bind it to RET.
12571 (image-mode): Update message.
12572 (image-toggle-display-image): Avoid a spurious cache flush.
12573 (image-transform-rotation): Doc fix.
12574 (image-transform-properties): Return quickly in the normal case.
12575 (image-animate-loop): Rename from image-animate-max-time.
12576
2b75be67 12577 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
12578 (create-animated-image): Remove unnecessary function.
12579 (image-animate): Rename from image-animate-start. New arg.
2b75be67 12580 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
12581 (image-animate-timer): Use car-safe.
12582 (image-animate-timeout): Rename argument.
12583
190b47e6
MR
125842011-06-07 Martin Rudalics <rudalics@gmx.at>
12585
12586 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
12587 window.c. Rename first argument to ALL-FRAMES.
12588 Rephrase doc-strings.
12589 (get-buffer-window-list): Rewrite using window-list-1.
12590 Rephrase doc-string.
a1511caf
MR
12591 (window-safe-min-height, window-safe-min-width): New constants.
12592 (window-size-ignore, window-min-size, window-min-size-1)
12593 (window-sizable, window-sizable-p, window-size-fixed-1)
12594 (window-size-fixed-p, window-min-delta-1, window-min-delta)
12595 (window-max-delta-1, window-max-delta, window-resizable)
12596 (window-resizable-p, window-total-height, window-total-width)
12597 (window-body-width): New functions.
12598 (window-full-height-p, window-full-width-p): Rewrite using
12599 window-total-size.
12600 (window-body-height): Rewrite using window-body-size.
190b47e6 12601
85cc1f11
MR
126022011-06-06 Martin Rudalics <rudalics@gmx.at>
12603
12604 * window.el (window-right, window-left, window-child)
12605 (window-child-count, window-last-child, window-any-p)
12606 (normalize-live-buffer, normalize-live-frame)
12607 (normalize-any-window, normalize-live-window)
12608 (window-iso-combination-p, window-iso-combined-p)
12609 (window-iso-combinations)
12610 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12611 (windows-with-parameter, window-with-parameter)
12612 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
12613 (window-atom-check, window-side-check, window-check):
12614 New functions.
85cc1f11
MR
12615 (ignore-window-parameters, window-sides, window-sides-vertical)
12616 (window-sides-slots): New variables.
12617 (window-size-fixed): Move down in code. Minor doc-string fix.
12618
e7156492
AS
126192011-06-05 Andreas Schwab <schwab@linux-m68k.org>
12620
12621 * comint.el (comint-dynamic-complete-as-filename)
12622 (comint-dynamic-complete-filename): Correctly call
12623 completion-in-region.
12624
7e821d0d
DD
126252011-06-05 Deniz Dogan <deniz@dogan.se>
12626
12627 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12628 in last change.
12629
ac09b8a1
DD
126302011-06-05 Deniz Dogan <deniz@dogan.se>
12631
12632 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12633 (rcirc): Use it to prompt for encryption.
12634
34699b85
RW
126352011-06-05 Roland Winkler <winkler@gnu.org>
12636
12637 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12638 (bibtex-search-entries): New command bound to C-c C-a.
12639 (bibtex-display-entries): New function.
12640
004dedd3
RW
126412011-06-05 Roland Winkler <winkler@gnu.org>
12642
12643 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12644 (bibtex-insert-kill): After yanking insert newline if necessary.
12645 (bibtex-initialize): Call bibtex-string-files-init only once.
12646 (bibtex-mode): Do not call easy-menu-add.
12647 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12648 (bibtex-yank): Set arg properly if nil.
12649
022fe7ce
RW
126502011-06-05 Roland Winkler <winkler@gnu.org>
12651
2b75be67
SM
12652 * textmodes/bibtex.el (bibtex-search-entry-globally):
12653 New variable.
022fe7ce
RW
12654 (bibtex-search-entry): Use it.
12655
b7c3692a
RW
126562011-06-05 Roland Winkler <winkler@gnu.org>
12657
12658 * textmodes/bibtex.el (bibtex-entry-format): New option
12659 sort-fields.
12660 (bibtex-format-entry, bibtex-reformat): Honor this option.
12661 (bibtex-parse-entry): Return fields in proper order.
12662
8eda563d
JB
126632011-06-05 Juanma Barranquero <lekktu@gmail.com>
12664
12665 * doc-view.el (doc-view-remove-if): Move computation of result out
12666 of `dolist' to silence misleading lexical-binding warning.
12667
7dbe3dbc
CY
126682011-06-04 Chong Yidong <cyd@stupidchicken.com>
12669
12670 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
12671 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
12672
0c33dd17
MA
126732011-06-04 Michael Albinus <michael.albinus@gmx.de>
12674
12675 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
12676 "SunOS 5.10".
12677
f8f91c2b
MA
126782011-06-04 Michael Albinus <michael.albinus@gmx.de>
12679
12680 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
12681 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
12682 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
12683 (tramp-parse-putty):
12684 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12685 (tramp-completion-function-alist-ssh)
12686 (tramp-completion-function-alist-telnet)
12687 (tramp-completion-function-alist-su)
12688 (tramp-completion-function-alist-putty): Set `tramp-autoload'
12689 cookie.
12690
12691 * net/tramp-ftp.el:
12692 * net/tramp-sh.el:
12693 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12694 load "tramp.el" `tramp-set-completion-function'.
12695
e17d9003
SM
126962011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12697
12698 * shell.el: Require and use pcomplete.
12699 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12700 (shell-completion-vars): Set pcomplete-default-completion-function.
12701
6c4cab03
DD
127022011-06-04 Deniz Dogan <deniz@dogan.se>
12703
12704 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12705 `memq' (Bug#8799).
12706
ea9fafe0
SM
127072011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12708
12709 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12710
b3e945d3
JB
127112011-06-02 Juanma Barranquero <lekktu@gmail.com>
12712
12713 * bs.el (bs--mark-unmark, bs--nth-wrapper):
12714 * mpc.el (mpc-select-extend, mpc-songpointer-context):
12715 * vc/log-view.el (log-view-beginning-of-defun):
12716 * vc/smerge-mode.el (smerge-apply-resolution-patch)
12717 (smerge-refine-forward, smerge-refine-chopup-region):
12718 Silence warning for unused `dotimes' counter variables.
12719
7d520089
SM
127202011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12721
12722 * net/tramp.el (tramp-with-progress-reporter): Rename from
12723 with-progress-reporter. Use `declare'.
12724 * net/tramp-smb.el:
12725 * net/tramp-sh.el:
12726 * net/tramp-gvfs.el: Update all uses.
12727
a1c2400f
JB
127282011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
12729
12730 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12731 buffer isn't killed before making it current.
12732
2403c841
SM
127332011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12734
12735 Silence various byte-compiler warnings.
12736 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12737 `access-type' and new obsolescence format.
12738 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12739 new format.
12740 (byte-compile-check-variable): New `access-type' argument.
12741 Only warn if the access-type is obsolete.
12742 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12743 (byte-compile-variable-set): Adjust callers.
12744 * help-fns.el (describe-variable): Adjust to new obsolescence format.
12745 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12746 setting it as obsolete.
12747 * simple.el (minibuffer-completing-symbol):
12748 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12749 access as obsolete.
12750 * minibuffer.el (minibuffer-completing-file-name): Don't make it
12751 obsolete yet.
12752 * international/quail.el (quail-mouse-choose-completion): Remove unused
12753 code referring to obsolete var.
12754 (quail-choose-completion-string): Remove.
12755 * server.el (server-clients-with, server-kill-buffer-query-function)
12756 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12757 * proced.el (proced-send-signal):
12758 * emacs-lisp/lisp.el (lisp-complete-symbol):
12759 Replace completion-annotate-function with completion-extra-properties.
12760
2462470b
SM
127612011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12762
fb5b2591
SM
12763 * simple.el (goto-line): Use read-number.
12764 (overriding-map-is-bound): Remove.
12765 (saved-overriding-map): Change default.
12766 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12767 Take the map as argument.
12768 (universal-argument, negative-argument, digit-argument): Use it.
12769 (restore-overriding-map): Adjust.
12770 (do-auto-fill): Use fill-forward-paragraph.
12771 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12772
fd6fa53f
SM
12773 * minibuffer.el (minibuffer-inactive-mode-map): New var.
12774 (minibuffer-inactive-mode): New major mode.
12775 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12776 the *Messages* buffer" hack.
12777 (mouse-popup-menubar): Don't burp if the event is a normal key.
12778
2462470b
SM
12779 Miscellaneous tweaks.
12780 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12781 lexical scoping as in subr.el's dolist and dotimes.
12782 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12783 Silence compiler warning.
12784 * thingatpt.el (forward-whitespace): Trivial coding style fix.
12785 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12786 * international/ccl.el (ccl-compile): Trivial simplification.
12787 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12788 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12789 `printflag' argument.
12790 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12791 Purecopy the whole obsolescence data.
12792
108bf785
LL
127932011-06-01 Leo Liu <sdl.web@gmail.com>
12794
12795 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12796 improve doc-string as suggested by Marco Pessotto
12797 <melmothx@gmail.com>.
12798 (rcirc-print): Fix last change.
12799
30a23501
SM
128002011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12801
12802 * minibuffer.el (complete-with-action): Return nil for the metadata and
12803 boundaries of non-functional tables.
12804 (completion-table-dynamic): Return nil for the metadata.
12805 (completion-table-with-terminator): Add default case, using
12806 complete-with-action.
12807 (completion--metadata): New function.
12808 (completion-all-sorted-completions, minibuffer-completion-help): Use it
12809 to try and avoid pathological performance problems.
12810 (completion--embedded-envvar-table): Return `category' metadata.
12811
bcd54f83
LMI
128122011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
12813
12814 * subr.el (process-alive-p): New tiny convenience function.
12815
e227544d
SM
128162011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12817
12818 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12819 content but also its previous major mode.
12820
e8296fdc
HE
128212011-05-31 Helmut Eller <eller.helmut@gmail.com>
12822
4d61f28d 12823 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
12824 *Backtrace* buffer when we exit with C-M-c.
12825
620c53a6
SM
128262011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12827
12828 * minibuffer.el: Add metadata method to completion tables.
12829 (completion-category-overrides): New defcustom.
12830 (completion-metadata, completion--field-metadata)
12831 (completion-metadata-get, completion--styles)
12832 (completion--cycle-threshold): New functions.
12833 (completion-try-completion, completion-all-completions):
12834 Add `metadata' argument to choose completion-styles.
12835 (completion--do-completion): Use metadata to choose cycling.
12836 (completion-all-sorted-completions): Use metadata for sorting.
12837 Remove :completion-cycle-penalty which is not needed any more.
12838 (completion--try-word-completion): Add `metadata' argument.
12839 (minibuffer-completion-help): Check metadata for annotation function
12840 and sorting.
12841 (completion-file-name-table): Return `category' metadata.
12842 (minibuffer-completing-file-name): Make obsolete.
12843 * simple.el (minibuffer-completing-symbol): Make obsolete.
12844 * icomplete.el (icomplete-completions): Pass new `metadata' param to
12845 completion-try-completion.
12846
1257e755
SM
128472011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12848
12849 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12850
3767e706
LL
128512011-05-30 Leo Liu <sdl.web@gmail.com>
12852
12853 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
12854 (rcirc-print): Decode all incoming messages (bug#8744).
12855 (rcirc-decode-coding-system): Allow value nil for automatic coding
12856 system detection.
3767e706 12857
d1a5d56a
GM
128582011-06-01 Glenn Morris <rgm@gnu.org>
12859
12860 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12861
e8cbec34
CY
128622011-05-29 Chong Yidong <cyd@stupidchicken.com>
12863
12864 * image.el (image-animate-max-time): Allow nil and t values.
12865 Default to nil.
12866 (create-animated-image): Doc fix.
12867 (image-animate-start): Remove second arg; just use
12868 image-animate-max-time.
12869 (image-animate-timeout): Doc fix. Args changed.
12870
12871 * image-mode.el (image-toggle-display-image): Ensure that the
12872 image spec passed to the animate timer is the same object as in
58179cce 12873 the buffer's display property (Bug#6981).
e8cbec34
CY
12874 (image-transform-properties): Doc fix.
12875
12876 * image.el (image-animate-max-time): Default to nil.
12877
159daf87
MR
128782011-05-29 Martin Rudalics <rudalics@gmx.at>
12879
12880 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12881 entire buffer list (Bug#8184).
12882
d66c4c7c
CY
128832011-05-29 Chong Yidong <cyd@stupidchicken.com>
12884
12885 * image.el (imagemagick-types-inhibit)
12886 (imagemagick-register-types): Doc fix.
12887
80aec780
DD
128882011-05-29 Deniz Dogan <deniz@dogan.se>
12889
12890 * net/rcirc.el (rcirc): Use the user's stored encryption method by
12891 default.
12892
1dd3c2d9
CY
128932011-05-29 Chong Yidong <cyd@stupidchicken.com>
12894
12895 * select.el: Don't perform clipboard-manager saving in hooks;
12896 leave the hooks empty.
12897
60e56523
LL
128982011-05-28 Leo Liu <sdl.web@gmail.com>
12899
12900 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
12901 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
12902 (occur-edit-mode): New major mode (Bug#8463).
12903 (occur-after-change-function): New function.
12904 (occur-engine): Give Occur tags a read-only property.
12905
2b1e1a22
KR
129062011-05-28 Kevin Ryde <user42@zip.com.au>
12907
12908 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
12909
5d344e88
CY
129102011-05-28 Chong Yidong <cyd@stupidchicken.com>
12911
8e6ca83d
CY
12912 * bindings.el (help-echo): Make the initial non-indicator dash
12913 empty on graphical terminals (Bug#7295).
12914
5d344e88
CY
12915 * files.el (auto-mode-alist): Move config rule after the
12916 in-stripping one (Bug#8547).
12917
bfbbace7
CY
12918 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
12919
fbeba6e2
CY
12920 * startup.el (normal-splash-screen): Remove gratuitous mode-line
12921 setting (Bug#8740).
12922
60ed8c72
AA
129232011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
12924
4ac619f0
AA
12925 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
12926 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
12927 (Bug#8539).
60ed8c72 12928
23db196e
CY
129292011-05-28 Chong Yidong <cyd@stupidchicken.com>
12930
12931 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
12932
5012f24c
DK
129332011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
12934
12935 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
12936 (hs-hide-block-at-point, hs-find-block-beginning)
12937 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
12938 (Bug#8279).
12939
6a639b16
GM
129402011-05-28 Glenn Morris <rgm@gnu.org>
12941
12942 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
12943
d43eaf2c
CY
129442011-05-28 Chong Yidong <cyd@stupidchicken.com>
12945
5199bde1
CY
12946 * help-fns.el (describe-function-1): If the function is a derived
12947 major mode, print the parent mode.
12948
d43eaf2c
CY
12949 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
12950 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
12951
423428a8
SM
129522011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12953
0ff8e1ba 12954 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 12955 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
12956 * progmodes/etags.el (tags-completion-at-point-function):
12957 * info-look.el (info-lookup-completions-at-point): Mark as
12958 non-exclusive.
12959 (info-complete): Adjust accordingly.
12960
423428a8
SM
12961 * info-look.el: Convert to lexical-binding and completion-at-point.
12962 (info-lookup-completions-at-point): New function.
12963 (info-complete): Use it and completion-in-region.
12964
b74aa22b
DA
129652011-05-28 Drew Adams <drew.adams@oracle.com>
12966
12967 * isearch.el: Let M-e start with point at the first mismatched char.
12968 (isearch-fail-pos): New function.
12969 (isearch-edit-string): Use it.
12970
66e2e71d
DK
129712011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12972
12973 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12974
b1890b0f 129752011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
12976
12977 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
12978 traversal functions for avl-trees.
12979 (avl-tree--stack): New struct.
12980 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12981 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
12982 (avl-tree--do-enter): Add optional `updatefun' arg.
12983 Change return value.
eb95d01d 12984 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
12985 (avl-tree--do-delete): Add `test' and `nilflag' args.
12986 Change return value.
eb95d01d
TC
12987 (avl-tree-member): Add optional `nilflag'
12988 (avl-tree-member-p): New function.
12989 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12990 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12991 (avl-tree-stack-empty-p): New functions.
12992
3769ddcf
TC
12993 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12994 avl-tree--del-balance1 and make it work both ways.
12995 (avl-tree--del-balance2): Remove.
12996 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12997 make it work both ways.
12998 (avl-tree--enter-balance2): Remove.
12999 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
13000 New macros.
13001 (avl-tree--mapc, avl-tree-map): Add direction argument.
13002
eb95d01d 130032011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
13004
13005 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
13006
a9f737ee
CY
130072011-05-27 Chong Yidong <cyd@stupidchicken.com>
13008
13009 * select.el: Support clipboard managers with built-in function
13010 x-clipboard-manager-save, via delete-frame-functions and
13011 kill-emacs-hook.
13012 (xselect-convert-to-targets): Add MULTIPLE target to list.
13013 (xselect-convert-to-save-targets): New function.
13014
c92a1e54
KH
130152011-05-27 Kenichi Handa <handa@m17n.org>
13016
13017 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
13018 let-binding rfc2047-encode-encoded-words to nil.
13019
e145f188
GM
130202011-05-27 Glenn Morris <rgm@gnu.org>
13021
5ec8a862
GM
13022 * mail/emacsbug.el: Don't require url-util.
13023
4b29d9fb
GM
13024 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
13025
e145f188
GM
13026 * files.el (set-auto-mode):
13027 Also respect mode: entries at the end of the file. (Bug#8586)
13028
7d15102b
GM
130292011-05-26 Glenn Morris <rgm@gnu.org>
13030
98f593b8
GM
13031 * files.el (hack-local-variables-prop-line, hack-local-variables):
13032 Downcase mode names, as seems to be traditional.
27b48e63 13033 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 13034
7d15102b
GM
13035 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
13036 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
13037
51d5b4ec
JD
130382011-05-25 Julien Danjou <julien@danjou.info>
13039
13040 * textmodes/rst.el (rst-define-level-faces): Do not define face
13041 symbol if it is already defined.
13042
91513f63
VB
130432011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
13044
13045 * play/5x5.el (5x5-new-game, 5x5-randomize):
13046 Reset 5x5-solver-output to nil when a new grid is cast.
13047 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
13048 these debugging traces, as defmacro breaks the compiled code.
13049
4d90d6d0
DK
130502011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
13051
13052 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
13053
e1b90ef6
LL
130542011-05-24 Leo Liu <sdl.web@gmail.com>
13055
13056 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
13057 (vc-bzr-sha1): Adapt.
13058
d8e4b68b 13059 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
13060
13061 * bindings.el: Provide sha1 feature.
13062
db0406bb 130632011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
13064
13065 * mail/sendmail.el: Require `rfc2047'.
13066 (mail-insert-from-field): Do not perform RFC2047 encoding.
13067 (mail-encode-header): New function.
13068 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
13069 buffer to the return value of select-message-coding-system.
13070 Call mail-encode-header.
b8d747b9
KH
13071
13072 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
13073
db0406bb 130742011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 13075
4d90d6d0
DK
13076 * mail/supercite.el (sc-default-cite-frame):
13077 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 13078
eb8a5e9b
GM
130792011-05-24 Glenn Morris <rgm@gnu.org>
13080
f8630703
GM
13081 * progmodes/python.el (brm-menu): Declare.
13082
8831bbed
GM
13083 * emulation/viper.el (viper-set-hooks): Declare.
13084
eb8a5e9b
GM
13085 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
13086 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
13087 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
13088 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
13089 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
13090 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
13091
a2a25d24
SM
130922011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13093
13094 Add an :exit-function for completion-at-point.
13095
13096 * minibuffer.el (completion--done): New fun.
13097 (completion--do-completion): Use it. New arg `expect-exact'.
13098 (minibuffer-complete, minibuffer-complete-word): Don't output message,
13099 since completion--do-completion does it for us now.
13100 (minibuffer-force-complete): Use completion--done and
13101 completion--replace. Handle sole-completion case with more care.
13102 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
13103 (completion-extra-properties): New var.
13104 (completion-annotate-function): Make obsolete.
13105 (minibuffer-completion-help): Adjust accordingly.
13106 Use completion-list-insert-choice-function.
13107 (completion-at-point, completion-help-at-point):
13108 Bind completion-extra-properties.
13109 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
13110 * simple.el (completion-list-insert-choice-function): New var.
13111 (completion-setup-function): Preserve it.
13112 (choose-completion): Pay attention to it, shuffle the code a bit.
13113 (choose-completion-string): New arg `insert-function'.
13114
13115 * textmodes/bibtex.el: Convert to lexical binding.
13116 (bibtex-mode-map): Use completion-at-point.
13117 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
13118 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
13119 (bibtex-complete): Define as obsolete alias.
13120 (bibtex-complete-internal): Remove.
13121 (bibtex-format-entry): Remove unused sub-group in regexp.
13122 * shell.el (shell--command-completion-data)
13123 (shell-environment-variable-completion):
13124 * pcomplete.el (pcomplete-completions-at-point):
13125 * comint.el (comint--complete-file-name-data): Use :exit-function
13126 instead of completion-table-with-terminator so it also works for
13127 choose-completion.
13128
e44e373d
SM
131292011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13130
4f91a816
SM
13131 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
13132
782fc819
SM
13133 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
13134 (bug#8710).
13135
e44e373d
SM
13136 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
13137
381987c3
KM
131382011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
13139
13140 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
13141 customization variable and implement: If non-nil, auto-fill will
13142 be inhibited while on topic's header line.
13143
b776bc70
VB
131442011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
13145
13146 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 13147 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
13148 always have a solution in grid size = 5 cases.
13149 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
13150 (5x5-solver-output, 5x5-log-buffer): New vars.
13151 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
13152 Make these variables buffer local to achieve 5x5 multi-session-ness.
13153 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
13154 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
13155 (5x5-solve-suggest): New funs.
13156 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
13157 randomize a grid so that we ensure that there is always a solution.
13158 (5x5-make-random-grid): Allow other movement than flipping.
13159
7de88b6e
KR
131602011-05-23 Kevin Ryde <user42@zip.com.au>
13161
13162 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 13163 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
13164 advice and passes PREDICATE.
13165
b1ef1257
SM
131662011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13167
bbca48fe
SM
13168 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
13169 byte-compile-lambda if it's actually a lambda.
13170
b1ef1257
SM
13171 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
13172 Fix function quoting. Use backquote better.
13173
92a9cc65
YS
131742011-05-22 Yuanle Song <sylecn@gmail.com>
13175
13176 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
13177 matching (Bug#8516).
13178
f0fb8059
JA
131792011-01-22 Jari Aalto <jari.aalto@cante.net>
13180
13181 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
13182 different face (Bug#8178).
13183
d5b44c93
CY
131842011-05-22 Chong Yidong <cyd@stupidchicken.com>
13185
13186 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
13187 defface (Bug#8144).
13188
79106a44
SM
131892011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
13190
9c848d8a
SM
13191 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
13192 funcall as well (bug#8712). Warn when performing those conversions.
13193 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
13194
79106a44
SM
13195 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
13196
88dfa756
GM
131972011-05-22 Glenn Morris <rgm@gnu.org>
13198
13199 * files.el (hack-local-variables-prop-line): Small simplifications.
13200 (hack-local-variables, hack-local-variables-prop-line):
13201 If MODE-ONLY, return the mode, rather than just `t'.
13202
b7cf2c79
SM
132032011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13204
13205 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
13206
3f1a8558
GM
132072011-05-21 Glenn Morris <rgm@gnu.org>
13208
7e4ccca3
GM
13209 * files.el (hack-local-variables-prop-line, hack-local-variables):
13210 If only interested in the mode, don't bother doing the other stuff.
13211
637d46ca
GM
13212 * image-mode.el (image-after-revert-hook):
13213 Redraw all frames on which the image is visible. (Bug#8567)
13214
973d955b
GM
13215 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
13216
3f1a8558
GM
13217 * wid-edit.el (widget-checklist-match-inline):
13218 Fix 2011-04-19 change. (Bug#8649)
13219
96479927
SM
132202011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
13221
1dcf791f
SM
13222 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
13223 Also allow singlespace after single-letter capitals followed by a dot.
13224
96479927
SM
13225 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
13226 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
13227
35fd0881
N
132282011-05-20 Nix <nix@esperi.org.uk>
13229
13230 * files.el (basic-save-buffer-2):
13231 Fix handling of break-hardlink-on-save with non-existent files.
13232
82745640
DD
132332011-05-19 Deniz Dogan <deniz@dogan.se>
13234
13235 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 13236 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 13237
4a720484
GM
132382011-05-19 Glenn Morris <rgm@gnu.org>
13239
d1f21341
GM
13240 * progmodes/f90.el (f90-type-def-re):
13241 Handle "type, bind(c)". (Bug#8691)
13242
4a720484
GM
13243 * emacs-lisp/autoload.el (batch-update-autoloads):
13244 Set autoload-excludes by parsing loadup.el rather than Makefiles.
13245
2fb0a219
MA
132462011-05-18 Michael Albinus <michael.albinus@gmx.de>
13247
13248 * net/tramp.el (tramp-process-actions): Set "first-password-request"
13249 property for the correct connection in case of multihops.
13250
e565dd37
GM
132512011-05-18 Glenn Morris <rgm@gnu.org>
13252
c2571358 13253 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
13254 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
13255
e565dd37
GM
13256 Rationalize calendar handling of day and month abbrev-arrays.
13257 * calendar/calendar.el (calendar-customized-p): New function.
13258 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
13259 (calendar-day-name-array, calendar-month-name-array): Doc fix.
13260 Add :set function.
13261 (calendar-abbrev-length, calendar-day-abbrev-array)
13262 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
13263 (calendar-day-abbrev-array, calendar-month-abbrev-array):
13264 Elements may no longer be nil.
13265 (calendar-day-name, calendar-month-name):
13266 Update for changed nature of abbrev arrays.
13267 * calendar/diary-lib.el (diary-name-pattern):
13268 Update for changed nature of abbrev arrays.
13269 (diary-mark-entries-1): Update calendar-make-alist calls.
13270 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
13271 * calendar/cal-html.el (cal-html-day-abbrev-array):
13272 Simply inherit from calendar-day-abbrev-array.
13273
1d99a745
SM
132742011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13275
13276 * progmodes/grep.el (grep-mode): Disable default
13277 compilation-directory-matcher setting (bug#8684).
13278
7c1d9aa0
MA
132792011-05-17 Michael Albinus <michael.albinus@gmx.de>
13280
13281 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
13282 instead of "head" and "tail". There were problems with SunOS 5.9,
13283 and it performs better.
13284
3952e9d8
GM
132852011-05-17 Glenn Morris <rgm@gnu.org>
13286
2dd12e7f
GM
13287 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
13288
e4157b9c
GM
13289 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
13290 Replace obsolete function.
13291
8e249bbd
GM
13292 * shell.el (pcomplete-parse-arguments-function): Declare.
13293
3952e9d8
GM
13294 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
13295 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
13296 (appt-check): Doc fixes.
13297 (appt-disp-window-function, appt-delete-window-function):
13298 Remove needless special case in custom :type.
13299 (appt-display-count): Default to 0, not nil.
13300 (appt-check): Reset appt-display-count to 0, not nil.
13301
c71a0d48 133022011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 13303
c71a0d48
GM
13304 * progmodes/python.el (python-font-lock-keywords):
13305 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 13306
31d55be9
SM
133072011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13308
13309 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
13310
3bfacb2f
KR
133112011-05-16 Kevin Ryde <user42@zip.com.au>
13312
13313 * info-look.el (makefile-automake-mode): New setups, looking in
13314 automake manual, then makefile-mode.
13315 (makefile-mode): Remove automake manual, have it just in
13316 makefile-automake-mode since there's various things different or
13317 not relevant to plain make.
13318 (makefile-mode): Remove "other-modes" non-existent automake-mode,
13319 believe a hypothetical automake-mode would go to makefile-mode,
13320 not the other way around.
13321
c8e83751
CY
133222011-05-15 Chong Yidong <cyd@stupidchicken.com>
13323
5e9e35cd
CY
13324 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
13325 hunk-end tags (Bug#8672).
13326
c8e83751
CY
13327 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
13328 vc-annotate-show-diff-revision-at-line (Bug#8671).
13329
50b23e5a
GM
133302011-05-14 Glenn Morris <rgm@gnu.org>
13331
7210a739
GM
13332 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
13333 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
13334 (change-log-font-lock-keywords): Also handle multiple author lines
13335 with leading tabs. (Bug#8644)
7210a739 13336
4691905a
GM
13337 * calendar/appt.el (appt-check): Rename some local variables.
13338 Some simplification/reordering.
13339
50b23e5a
GM
13340 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
13341 (feedmail-sendmail-f-doesnt-sell-me-out)
13342 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13343 (feedmail-debug-sit-for, feedmail-queue-express-hook)
13344 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
13345 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
13346 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
13347 (feedmail-binmail-gnulinuxish-template):
13348 Rename from feedmail-binmail-linuxish-template.
13349 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
13350 Use insert-buffer-substring.
13351
215cda7c
BC
133522011-05-14 Bill Carpenter <bill@carpenter.org>
13353
13354 * mail/feedmail.el (feedmail-patch-level): Increase.
13355 (feedmail-debug): New custom group.
13356 (feedmail-confirm-outgoing-timeout)
13357 (feedmail-sendmail-f-doesnt-sell-me-out)
13358 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13359 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
13360 (feedmail-sender-line, feedmail-from-line)
13361 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 13362 (feedmail-spray-this-address)
215cda7c
BC
13363 (feedmail-spray-address-fiddle-plex-list)
13364 (feedmail-queue-use-send-time-for-date)
13365 (feedmail-queue-use-send-time-for-message-id)
13366 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
13367 (feedmail-buffer-eating-function):
13368 Doc fixes.
13369 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
13370 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
13371 (feedmail-message-action-scroll-down): New functions.
13372 (feedmail-queue-directory, feedmail-queue-draft-directory):
13373 Use expand-file-name.
13374 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
13375 Remove C-v help entry.
13376 (feedmail-queue-buffer-file-name): New variable.
13377 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
13378 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
13379 (feedmail-message-action-send-strong, feedmail-message-action-edit)
13380 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
13381 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
13382 (feedmail-message-action-toggle-spray)
13383 (feedmail-run-the-queue-no-prompts)
13384 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
13385 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
13386 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
13387 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
13388 (feedmail-envelope-deducer, feedmail-fiddle-from)
13389 (feedmail-fiddle-sender, feedmail-default-date-generator)
13390 (feedmail-fiddle-date, feedmail-fiddle-message-id)
13391 (feedmail-fiddle-spray-address)
13392 (feedmail-fiddle-list-of-spray-fiddle-plexes)
13393 (feedmail-fiddle-list-of-fiddle-plexes)
13394 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
13395 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
13396 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
13397 Change default. Doc fix.
13398 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
13399 (feedmail-binmail-linuxish-template): New constant.
13400 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
13401 Respect feedmail-sendmail-f-doesnt-sell-me-out.
13402 (feedmail-send-it): Add debug call.
13403 Use feedmail-queue-buffer-file-name, and
13404 feedmail-send-it-immediately-wrapper.
13405 (feedmail-message-action-send): Add debug call.
13406 Use feedmail-send-it-immediately-wrapper.
13407 (feedmail-queue-express-to-queue): Add debug call.
13408 Run feedmail-queue-express-hook.
13409 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
13410 (feedmail-message-action-help-blat):
13411 Rename from feedmail-queue-send-edit-prompt-help-first.
13412 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
13413 Check line-endings. Handle errors better.
13414 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
13415 Doc fix. Add debug call.
13416 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
13417 Use feedmail-queue-send-edit-prompt-inner.
13418 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
13419 (feedmail-queue-send-edit-prompt-inner): New function, extracted
13420 from feedmail-queue-send-edit-prompt.
13421 (feedmail-queue-send-edit-prompt-help)
13422 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
13423 (feedmail-tidy-up-slug): Add debug call.
13424 Respect feedmail-queue-slug-suspect-regexp.
13425 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
13426 (feedmail-dump-message-to-queue): Add debug call.
13427 Expand queue-directory.
13428 (feedmail-dump-message-to-queue): Change message slightly.
13429 Use feedmail-say-chatter.
13430 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
13431 (feedmail-send-it-immediately-wrapper): New function.
13432 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
13433 Insert empty string rather than newline. Handle full-frame case.
13434 Use catch/throw. Use feedmail-say-chatter.
13435 (feedmail-fiddle-from): Try mail-host-address.
13436 (feedmail-default-message-id-generator): Doc fix.
13437 Bind system-time-locale. Handle missing end.
13438 (feedmail-fiddle-x-mailer): Add debug call.
13439 Handle feedmail-x-mailer-line being nil.
13440 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
13441 Add debug call. Use buffer-substring-no-properties.
13442 (feedmail-say-debug, feedmail-say-chatter): New functions.
13443 (feedmail-find-eoh): Give an explicit error.
13444
42c7e61e
UJ
134452011-05-13 Ulf Jasper <ulf.jasper@web.de>
13446
c2571358 13447 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 13448 family from helvetica to sans.
c2571358 13449 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13450 etc/images/newsticker.
13451
c2571358 13452 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
13453 family from helvetica to sans.
13454
13455 * net/newst-plainview.el (newsticker-new-item-face)
13456 (newsticker-old-item-face, newsticker-immortal-item-face)
13457 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 13458 (newsticker-statistics-face): Change default family from
42c7e61e 13459 helvetica to sans.
c2571358 13460 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13461 etc/images/newsticker.
13462
5d3385a0
JB
13463 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13464 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
13465 auto-marking.
13466
8497a297
DV
134672011-05-13 Didier Verna <didier@xemacs.org>
13468
13469 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
13470 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13471 TODO entries.
8497a297
DV
13472 (lisp-lambda-list-keyword-parameter-indentation)
13473 (lisp-lambda-list-keyword-parameter-alignment)
13474 (lisp-lambda-list-keyword-alignment): New customizable user options.
13475 (lisp-indent-defun-method): Improve docstring.
13476 (extended-loop-p): Fix comment.
13477 (lisp-indent-lambda-list-keywords-regexp): New variable.
13478 (lisp-indent-lambda-list): New function.
13479 (lisp-indent-259): Use it.
13480 (lisp-indent-defmethod): Support for more than one
13481 method qualifier and properly indent methods lambda-lists.
13482 (defgeneric): Provide a missing common-lisp-indent-function property.
13483
f278f87f
SM
134842011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13485
13486 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13487 bounds for the empty string (bug#8667).
13488
5233edd7
GM
134892011-05-13 Glenn Morris <rgm@gnu.org>
13490
5237a44f
GM
13491 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13492
8340026c 13493 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 13494 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 13495
5233edd7 13496 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 13497 (appt-time-msg-list): Doc fix.
a5464014 13498 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 13499
92d10796
AS
135002011-05-12 Andreas Schwab <schwab@linux-m68k.org>
13501
13502 * progmodes/ld-script.el (ld-script-keywords)
13503 (ld-script-builtins): Update keywords list.
13504
914a0ae1
SM
135052011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13506
c89be45f
SM
13507 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13508
914a0ae1
SM
13509 * shell.el (shell-completion-vars): New function.
13510 (shell-mode):
13511 * simple.el (read-shell-command): Use it.
13512 (blink-matching-open): No need for " [...]" in minibuffer-message.
13513
98dc3df3
GM
135142011-05-12 Glenn Morris <rgm@gnu.org>
13515
13516 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13517 (appt-check): Simplify.
13518
d2fc7e3d 135192011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 13520
4d61f28d 13521 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
13522 literal "/dev/null".
13523
d2fc7e3d 135242011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
13525
13526 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13527 Fix typo.
13528
d2fc7e3d 135292011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 13530
3f254caa
SM
13531 * progmodes/which-func.el (which-function):
13532 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
13533 which might not be defined (Bug#8260).
13534
d45885f7
GM
135352011-05-12 Glenn Morris <rgm@gnu.org>
13536
13537 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13538 Let byte-compile-initial-macro-environment always take precedence.
13539
488086f4
SM
135402011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13541
13542 * net/rcirc.el: Add support for SSL/TLS connections.
13543 (rcirc-server-alist): New field `encryption'.
13544 (rcirc): Check `encryption' settings.
13545 (rcirc-connect): New arg `encryption'. Use open-network-stream.
13546 Merge make-local-variable into `set'.
13547 (rcirc--connection-open-p): New function.
13548 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13549 the process is not a network process (e.g. running gnutls-cli).
13550 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13551 Make rcirc-(en|de)code-coding-system local here.
13552 (rcirc-mode): Merge make-local-variable into `set'.
13553 (rcirc-parent-buffer): Make permanent buffer-local.
13554 (rcirc-multiline-minor-mode): Don't do it here.
13555 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13556 there's no server buffer.
13557
7d3b9d44
GM
135582011-05-11 Glenn Morris <rgm@gnu.org>
13559
f64049c6
GM
13560 * newcomment.el (comment-kill): Prefix "unused" local.
13561
93c9df73
GM
13562 * term/w32console.el (get-screen-color): Declare.
13563
7d3b9d44
GM
13564 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13565 Handle symbol elements of byte-compile-initial-macro-environment.
13566
9e2dd53f
LL
135672011-05-10 Leo Liu <sdl.web@gmail.com>
13568
488086f4
SM
13569 * bookmark.el (bookmark-bmenu-mode-map):
13570 Bind bookmark-bmenu-search to `/'.
8b340240 13571
9e2dd53f 13572 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
13573 (footnote-unicode-string, footnote-unicode-regexp): New variable.
13574 (Footnote-unicode): New function.
13575 (footnote-style-alist): Add unicode style to the list.
13576 (footnote-style): Doc fix.
9e2dd53f 13577
79b70037
GM
135782011-05-10 Jim Meyering <meyering@redhat.com>
13579
13580 Fix doubled-word typos.
13581 * international/quail.el (quail-insert-kbd-layout): and and -> and
13582 * kermit.el: and and -> and
13583 * net/ldap.el (ldap-search-internal): to to -> to
13584 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13585 * progmodes/js.el (js-mode): and and -> and
13586 * textmodes/artist.el (artist-move-to-xy): at at -> at
13587 (artist-draw-region-trim-line-endings): if if -> if
13588 And Safetyc -> Safety.
13589 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13590
b8f82dc1 135912011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 13592 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
13593
13594 * files.el (hack-one-local-variable-eval-safep):
13595 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
13596
4f99f44b
GM
135972011-05-10 Glenn Morris <rgm@gnu.org>
13598
13599 * calendar/diary-lib.el (diary-list-entries-hook)
13600 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13601 (diary-nongregorian-marking-hook, diary-list-entries)
13602 (diary-include-other-diary-files, diary-mark-entries)
13603 (diary-mark-included-diary-files): Doc fixes.
13604
84f29e6b
JB
136052011-05-09 Juanma Barranquero <lekktu@gmail.com>
13606
13607 * misc.el: Require tabulated-list.el during compilation.
13608
9bedd73a
CY
136092011-05-09 Chong Yidong <cyd@stupidchicken.com>
13610
488086f4
SM
13611 * progmodes/compile.el (compilation-start):
13612 Run compilation-filter-hook for the async case too.
9bedd73a
CY
13613 (compilation-filter-hook): Doc fix.
13614
797c735c
DD
136152011-05-09 Deniz Dogan <deniz@dogan.se>
13616
13617 * wdired.el: Remove outdated installation comment. Fix usage
13618 comment.
13619
5f4b1dfe
JB
136202011-05-09 Juanma Barranquero <lekktu@gmail.com>
13621
13622 * misc.el: Implement new command `list-dynamic-libraries'.
13623 (list-dynamic-libraries--loaded-only-p): New variable.
13624 (list-dynamic-libraries--refresh): New function.
13625 (list-dynamic-libraries): New command.
13626
4c44026c
CY
136272011-05-09 Chong Yidong <cyd@stupidchicken.com>
13628
488086f4
SM
13629 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13630 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
13631 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
13632 higher priority to avoid clobbering by gnu.
13633
027f966d
CY
136342011-05-08 Chong Yidong <cyd@stupidchicken.com>
13635
13636 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13637 if the face has existing theme settings (Bug#8454).
13638
085f5d7d
CY
136392011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
13640
488086f4
SM
13641 * progmodes/perl-mode.el (perl-imenu-generic-expression):
13642 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 13643
2a86a00c
RS
13644 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13645 special file names `.' and `..' (Bug#8259).
13646
d9c54a06
CY
136472011-05-08 Chong Yidong <cyd@stupidchicken.com>
13648
488086f4
SM
13649 * progmodes/grep.el (grep-mode-font-lock-keywords):
13650 Remove buffer-changing entries.
d9c54a06
CY
13651 (grep-filter): New function.
13652 (grep-mode): Add it to compilation-filter-hook.
13653
13654 * progmodes/compile.el (compilation-filter-hook)
13655 (compilation-filter-start): New defvars.
13656 (compilation-filter): Call compilation-filter-hook prior to
13657 updating the process mark.
13658
c4662635
SM
136592011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13660
13661 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
13662
b0512a1d
EZ
136632011-05-07 Eli Zaretskii <eliz@gnu.org>
13664
605c9376
EZ
13665 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
13666 mailclient-send-it even if window-system is nil. (Bug#8595)
13667
c4662635
SM
13668 * term/w32console.el (terminal-init-w32console):
13669 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
13670 background-mode. (Bug#8597)
13671
d1dc2cc2
SM
136722011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13673
13674 Make bytecomp.el understand that defmethod defines funs (bug#8631).
13675 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
13676 New functions.
13677 (defgeneric, eieio--defmethod): Use them.
13678 (eieio-defgeneric): Remove.
13679 (defmethod): Call defgeneric in a way visible to the byte-compiler.
13680
915d1300
GM
136812011-05-07 Glenn Morris <rgm@gnu.org>
13682
a3961c3e
GM
13683 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13684 Use let rather than let*.
13685 (timeclock-find-discrep): Remove unused local.
13686
314347b9
GM
13687 * calendar/diary-lib.el (diary-comment-start): Doc fix.
13688
915d1300
GM
13689 * calendar/appt.el (appt-time-msg-list): Doc fix.
13690
275b59b0
NF
136912011-05-06 Noah Friedman <friedman@splode.com>
13692
13693 * apropos.el (apropos-print-doc): Only use
13694 emacs-lisp-docstring-fill-column when it is bound to an integer,
13695 per that variable's documentation.
13696
6c19f744
SM
136972011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13698
13699 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 13700 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 13701
60f884b2
GM
137022011-05-06 Glenn Morris <rgm@gnu.org>
13703
5006e634
GM
13704 * calendar/appt.el (appt-message-warning-time): Doc fix.
13705 (appt-warning-time-regexp): New option.
13706 (appt-make-list): Respect appt-message-warning-time.
13707
548d0a63
GM
13708 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13709 New options.
13710 (diary-add-to-list): Strip comments from the displayed string.
13711 (diary-mode): Set comment-start and comment-end.
13712
60f884b2
GM
13713 * vc/diff-mode.el (smerge-refine-subst): Declare.
13714 (diff-refine-hunk): Don't require smerge-mode when compiling.
13715
989681bb
JB
137162011-05-06 Juanma Barranquero <lekktu@gmail.com>
13717
13718 * simple.el (list-processes): Return nil as the docstring says.
13719
a6bc05e1
MA
137202011-05-05 Michael Albinus <michael.albinus@gmx.de>
13721
13722 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13723 to "".
13724 (ange-ftp-write-region, ange-ftp-insert-file-contents)
13725 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13726 determining of binary transfer. (Bug#7383)
13727
23c22e9a
MA
137282011-05-05 Michael Albinus <michael.albinus@gmx.de>
13729
c4662635
SM
13730 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13731 Fix port computation bug. (Bug#8618)
23c22e9a 13732
0bff894f
GM
137332011-05-05 Glenn Morris <rgm@gnu.org>
13734
b8296902
GM
13735 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13736
1f522ce8
GM
13737 * simple.el (shell-dynamic-complete-functions)
13738 (comint-dynamic-complete-functions): Declare.
13739
cf5bee67
GM
13740 * net/network-stream.el (gnutls-negotiate):
13741 * simple.el (tabulated-list-print): Fix declarations.
13742
13743 * progmodes/gud.el (syntax-symbol, syntax-point):
13744 Remove unnecessary and incorrect declarations.
13745
0bff894f
GM
13746 * emacs-lisp/check-declare.el (check-declare-scan):
13747 Handle byte-compile-initial-macro-environment in bytecomp.el
13748
9869b3ae
SM
137492011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13750
13751 Fix earlier half-done eieio-defmethod change (bug#8338).
13752 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13753 Streamline and change calling convention.
13754 (defmethod): Adjust accordingly and simplify.
13755 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13756 new eieio--defmethod.
13757 (slot-boundp): Minor CSE simplification.
13758
9c1d5ac5
MZ
137592011-05-05 Milan Zamazal <pdm@zamazal.org>
13760
13761 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13762 (glasses-make-readable): Use glasses-separate-capital-groups.
13763
455c834e
JB
137642011-05-05 Juanma Barranquero <lekktu@gmail.com>
13765
13766 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13767 (warning-series): Doc fix.
13768 (display-warning): Don't try to create the buffer if we just found it.
13769
9ed7c8cb
CY
137702011-05-04 Chong Yidong <cyd@stupidchicken.com>
13771
13772 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13773 (autoload-find-generated-file): New function.
13774 (generate-file-autoloads): Bind generated-autoload-file to
13775 buffer-file-name.
9869b3ae
SM
13776 (update-file-autoloads, update-directory-autoloads):
13777 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
13778 output file (Bug#7989).
13779 (batch-update-autoloads): Doc fix.
13780
0898ca10
JB
137812011-05-04 Juanma Barranquero <lekktu@gmail.com>
13782
13783 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13784
31dfb76c
GM
137852011-05-04 Glenn Morris <rgm@gnu.org>
13786
f330b642
GM
13787 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13788 function, so it follows changes in calendar-date-style.
13789 (diary-fancy-date-matcher): New function.
13790 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13791 (diary-fancy-font-lock-fontify-region-function):
13792 Use diary-fancy-date-pattern as a function.
13793
31dfb76c
GM
13794 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13795 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13796
48e79d6a
TZ
137972011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
13798
13799 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13800 instead of positional arguments. Allow :keylist and :crlfiles
13801 arguments.
13802 (open-gnutls-stream): Call it.
13803
13804 * net/network-stream.el (network-stream-open-starttls): Adjust to
13805 call `gnutls-negotiate' with :process and :hostname arguments.
13806
dd5a5ee0
SM
138072011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13808
ef80fc09
SM
13809 * minibuffer.el (completion--message): New function.
13810 (completion--do-completion, minibuffer-complete)
13811 (minibuffer-force-complete, minibuffer-complete-word): Use it.
13812 (completion--do-completion): Don't ignore completion-auto-help when in
13813 icomplete-mode.
13814
dd5a5ee0
SM
13815 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13816 internal encoding (e.g. tibetan zero is not whitespace).
13817 (global-whitespace-mode): Prefer save-current-buffer.
13818 (whitespace-trailing-regexp): Remove useless save-match-data.
13819 (whitespace-empty-at-bob-regexp): Minor simplification.
13820
b7d22a83
CY
138212011-05-03 Chong Yidong <cyd@stupidchicken.com>
13822
13823 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13824
5192af46
AM
138252011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13826
13827 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 13828 Use `concat' to create string for insertion.
5192af46 13829
5767d190
SM
138302011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13831
13832 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13833 Avoid open-line which runs post-self-insert-hook.
13834 (bibtex-fill-entry): Remove unused `end' var.
13835
bf242939
AM
138362011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
13837
5767d190
SM
13838 * textmodes/ispell.el (ispell-add-per-file-word-list):
13839 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 13840
25666126
LL
138412011-05-03 Leo Liu <sdl.web@gmail.com>
13842
13843 * isearch.el (isearch-yank-pop): New command.
5767d190 13844 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
13845 (isearch-forward): Mention it.
13846
52d3c2d0
SM
138472011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13848
1bcace58
SM
13849 * simple.el (minibuffer-complete-shell-command): Remove.
13850 (minibuffer-local-shell-command-map): Use completion-at-point.
13851 (read-shell-command): Setup completion vars here instead.
13852 (read-expression-map): Bind TAB to symbol completion.
13853
52d3c2d0
SM
13854 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13855 error directly rather via storing it into `results'.
13856
35813471
LL
138572011-05-02 Leo Liu <sdl.web@gmail.com>
13858
13859 * vc/diff.el: Fix description.
13860
e793a940
LMI
138612011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13862
13863 * server.el (server-eval-at): New function.
13864
8de66e05
LMI
138652011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13866
13867 * net/network-stream.el (open-network-stream): Take a :nowait
13868 parameter and pass it on to `make-network-process'.
13869 (network-stream-open-plain): Ditto.
13870
dcb79f20
AS
138712011-04-30 Andreas Schwab <schwab@linux-m68k.org>
13872
13873 * faces.el (face-spec-set-match-display): Don't match toolkit
13874 options on terminal frames.
13875
14a7fbd8
SM
138762011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
13877
7eabc1be
SM
13878 * progmodes/pascal.el: Use lexical binding.
13879 (pascal-mode-map): Remove author preferences.
13880
14a7fbd8
SM
13881 * pcomplete.el (pcomplete-std-complete): Don't abuse
13882 completion-at-point.
13883
50f84510
JB
138842011-04-28 Juanma Barranquero <lekktu@gmail.com>
13885
6e087a44
JB
13886 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13887 removing code that has been dead since 1991 or so.
13888
50f84510
JB
13889 * startup.el (command-line): When warning about "_emacs", use a
13890 delayed warning to allow the user to filter it out.
13891
0ba690bd
DD
138922011-04-28 Deniz Dogan <deniz@dogan.se>
13893
13894 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13895 user has not joined.
13896
08abfaad
SM
138972011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13898
13899 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
13900 aren't any completions at point.
13901
638f053a
JB
139022011-04-28 Juanma Barranquero <lekktu@gmail.com>
13903
13904 * subr.el (display-delayed-warnings): New function.
13905 (delayed-warnings-hook): New variable.
13906
8fff8daa
SM
139072011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13908
08abfaad
SM
13909 * minibuffer.el (completion-at-point, completion-help-at-point):
13910 Don't presume that a given completion-at-point-function will always
13911 use the same calling convention.
13912
8fff8daa
SM
13913 * pcomplete.el (pcomplete-completions-at-point):
13914 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
13915 pcomplete-seen is non-nil.
13916 (pcomplete-comint-setup): Also recognize the new comint/shell
13917 completion functions.
13918 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
13919 pcomplete-seen is non-nil.
13920
841a1577 139212011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 13922
841a1577 13923 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 13924 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 13925 the first character in the entry. This allows for code to add its
211ec907
UJ
13926 own uid to the entry.
13927 (icalendar--convert-float-to-ical): Add export of
13928 `diary-float'-entries save for those with the optional DAY
13929 argument.
13930
2a782793
DC
139312011-04-27 Daniel Colascione <dan.colascione@gmail.com>
13932
13933 * subr.el (shell-quote-argument): Use alternate escaping strategy
13934 when we spot a variable reference in a string.
13935
0438ce91
DC
139362011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13937
13938 * cus-start.el (all): Define customization for debug-on-event.
13939
841a1577 139402011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
13941
13942 * subr.el (shell-quote-argument): Escape correctly under Windows.
13943
d090ed6c
SM
139442011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13945
13946 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
13947
bfd31217
MA
139482011-04-25 Michael Albinus <michael.albinus@gmx.de>
13949
d090ed6c
SM
13950 * net/tramp.el (tramp-process-actions): Add POS argument.
13951 Delete region between POS and (pos).
bfd31217 13952
d090ed6c
SM
13953 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13954 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
13955 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
13956
13957 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
13958 position in `tramp-process-actions' call.
13959
13960 * net/trampver.el: Update release number.
13961
e92f3bd3
SM
139622011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13963
850256b5
SM
13964 * custom.el (defcustom): Obey lexical-binding.
13965
e92f3bd3
SM
13966 Fix octave-inf completion problems reported by Alexander Klimov.
13967 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
13968 Inherit from octave-mode-syntax-table.
13969 (inferior-octave-mode): Set info-lookup-mode.
13970 (inferior-octave-completion-at-point): New function.
13971 (inferior-octave-complete): Use it and completion-in-region.
13972 (inferior-octave-dynamic-complete-functions): Use it as well, and use
13973 comint-filename-completion.
13974 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13975 symbol elements which shouldn't be word elements.
13976 (octave-font-lock-keywords, octave-beginning-of-defun)
13977 (octave-function-header-regexp): Adjust regexps accordingly.
13978 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13979
cd22b309
JB
139802011-04-25 Juanma Barranquero <lekktu@gmail.com>
13981
13982 * net/gnutls.el (gnutls-errorp): Declare before first use.
13983
8b492194
TZ
139842011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
13985
13986 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13987 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 13988 default trustfile exists before going to use it. Add missing
5a5fa834 13989 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
13990 Reported by Claudio Bley <claudio.bley@gmail.com>.
13991 (open-gnutls-stream): Add usage example.
13992
13993 * net/network-stream.el (network-stream-open-starttls): Give host
13994 parameter to `gnutls-negotiate'.
13995 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 13996 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 13997
841a1577 139982011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 13999
cd22b309
JB
14000 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
14001 Use correct match group (bug#8438).
05842630 14002
3ba7869c
CY
140032011-04-24 Chong Yidong <cyd@stupidchicken.com>
14004
512e3ae1
CY
14005 * emacs-lisp/package.el (package-built-in-p): Fix typo.
14006 (package-menu--generate): New arg specifying packages to show.
14007 (package-menu-refresh, package-menu-execute, list-packages):
14008 Callers changed.
14009 (package-show-package-list): New function, replacing deleted
14010 package--list-packages (renamed because it is non-internal).
14011
14012 * finder.el (finder-list-matches): Use package-show-package-list
14013 instead of deleted package--list-packages.
14014
e92f3bd3
SM
14015 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
14016 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
14017 (vc-annotate-mode-map): Bind it to RET.
14018
7031be6d
UR
140192011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
14020
14021 * progmodes/etags.el (next-file): Don't use set-buffer to change
14022 buffers (Bug#8478).
14023
4ef177aa
CY
140242011-04-24 Chong Yidong <cyd@stupidchicken.com>
14025
c8d173eb
CY
14026 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
14027
4ef177aa
CY
14028 * apropos.el (apropos-label-face): Avoid variable-pitch face.
14029 (apropos-accumulator): Doc fix.
14030 (apropos-function, apropos-macro, apropos-command)
14031 (apropos-variable, apropos-face, apropos-group, apropos-widget)
14032 (apropos-plist): Add face property.
14033 (apropos-symbols-internal): Fix indentation.
14034 (apropos-print): Simplify help, and recognize apropos-multi-type.
14035 (apropos-print-doc): Use button-type-get to extract the button's
14036 face property. Fill docstring (Bug#8352).
14037
4ffd0d6b 140382011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
14039
14040 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
14041
c6c32125 14042 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 14043 (mpuz-mode-map): Use mapc.
c6c32125
JB
14044 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
14045 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
14046 Fix typos in docstrings.
14047
58d468b4
JB
14048 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
14049 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
14050
6470c3c6
JB
14051 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
14052
4ffd0d6b 140532011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
14054
14055 * minibuffer.el (completion--do-completion): Avoid the "Next char
14056 not unique" prompt if icomplete-mode is enabled (Bug#5849).
14057
3ad8bad0
CY
14058 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
14059 mouse-2 into unread-command-events, it is interpreted correctly.
14060
71d73c9c 14061 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 14062 (image-toggle-display): Doc fix.
71d73c9c 14063
841a1577 140642011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 14065
4ffd0d6b
GM
14066 * textmodes/page.el (what-page): Use line-number-at-pos to
14067 calculate line number (Bug#6825).
6e1dbaa9 14068
c2fb1b60
JB
140692011-04-22 Juanma Barranquero <lekktu@gmail.com>
14070
14071 * eshell/esh-mode.el (find-tag-interactive): Declare function.
14072 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
14073 Pass argument NO-DEFAULT to `find-tag-interactive'.
14074
e02f48d7
JB
140752011-04-22 Juanma Barranquero <lekktu@gmail.com>
14076
14077 Lexical-binding cleanup.
14078
14079 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
14080 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
14081 * progmodes/ada-prj.el (ada-prj-initialize-values)
14082 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
14083 (ada-prj-show-value):
14084 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
14085 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
14086 (antlr-invalidate-context-cache, antlr-options-menu-filter)
14087 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
14088 * progmodes/bug-reference.el (bug-reference-push-button):
14089 * progmodes/fortran.el (fortran-line-length):
14090 * progmodes/glasses.el (glasses-change):
14091 * progmodes/octave-mod.el (octave-fill-paragraph):
14092 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
14093 (python-pdbtrack-grub-for-buffer, python-sentinel):
14094 * progmodes/sql.el (sql-save-connection):
14095 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
14096 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
14097 Mark unused parameters.
14098
14099 * progmodes/compile.el (compilation--flush-directory-cache)
14100 (compilation--flush-parse, compile-internal): Mark unused parameters.
14101 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
14102 (compilation-next-error-function): Remove unused variable `timestamp'.
14103
14104 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
14105 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
14106
14107 * progmodes/dcl-mode.el (dcl-end-of-command):
14108 Remove unused variable `start'.
14109 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
14110 (dcl-option-value-basic, dcl-option-value-offset)
14111 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
14112 Mark unused parameters.
14113 (dcl-save-local-variable): Remove unused variable `val'.
14114 (mode): Declare.
14115
14116 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
14117 Mark unused parameters.
14118 (delphi-ignore-changes): Move before first use.
14119 (delphi-charset-token-at): Remove unused variable `start'.
14120 (delphi-else-start): Remove unused variable `if-count'.
14121 (delphi-comment-block-start, delphi-comment-block-end):
14122 Remove unused variable `kind'.
14123 (delphi-indent-line): Remove unused variable `new-point'.
14124
14125 * progmodes/ebrowse.el (ebrowse-files-list)
14126 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
14127 Mark unused parameters. Don't quote `lambda'.
14128 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
14129 Don't quote `lambda'.
14130 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
14131 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
14132 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
14133 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
14134 Use `ignore-errors'.
14135 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
14136 (ebrowse-view/find-file-and-search-pattern)
14137 (ebrowse-view/find-member-declaration/definition):
14138 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
14139 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
14140 Rename parameter PREFIX-ARG to PREFIX.
14141 (ebrowse-tags-read-name): Remove unused variables `start' and
14142 `member-info'.
14143 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
14144 to `tags-file'.
14145
14146 * progmodes/etags.el (local-find-tag-hook): Declare.
14147 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
14148 Mark unused parameters.
14149
14150 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
14151 (executable-interpret): Mark unused parameter.
14152
14153 * progmodes/flymake.el (flymake-process-sentinel)
14154 (flymake-after-change-function)
14155 (flymake-create-temp-with-folder-structure)
14156 (flymake-get-include-dirs-dot): Mark unused parameters.
14157 (flymake-safe-delete-directory): Remove unused variable `err'.
14158
14159 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
14160 (speedbar-timer-fn, speedbar-line-text)
14161 (speedbar-change-expand-button-char, speedbar-delete-subblock)
14162 (speedbar-center-buffer-smartly): Declare functions.
14163 (gdb-find-watch-expression): Remove unused variable `array'.
14164 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
14165 (gdb-starting): Mark unused parameters.
14166 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
14167 (gdb-table-string): Remove unused variable `res'.
14168 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
14169 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
14170 (gdb-display-buffer): Remove unused variable `cur-size'.
14171
14172 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
14173 allow lexical-binding compilation.
14174 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
14175 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
14176 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
14177 Mark unused parameters.
14178 (gud-gdb-marker-filter): Remove unused variable `match'.
14179 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
14180 lambda expressions and funcall them, instead of using `fset'.
14181
14182 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
14183 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
14184
14185 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
14186 variable `header-beg'; use `let'.
14187
14188 * progmodes/icon.el (indent-icon-exp): Remove unused variables
14189 `restart', `last-sexp' and `at-do'.
14190
14191 * progmodes/js.el (js--debug): Mark unused parameter.
14192 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
14193 (js--splice-into-items): Remove unused variable `item'.
14194 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
14195
14196 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
14197 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
14198 (makefile-complete): Remove unused variable `try'.
14199 (makefile-fill-paragraph, makefile-match-function-end):
14200 Mark unused parameters.
14201
14202 * progmodes/octave-inf.el (inferior-octave-complete):
14203 Remove unused variable `proc'.
14204 (inferior-octave-output-digest): Mark unused parameter.
14205
14206 * progmodes/perl-mode.el (perl-calculate-indent):
14207 Remove unused variable `err'.
14208
14209 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
14210 (prolog-indent-line): Mark unused parameters.
14211 (prolog-indent-line): Remove unused variable `beg'.
14212
14213 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
14214 (reporter-dont-compact-list): Declare.
14215
14216 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
14217 Remove unused variable `char'.
14218 (sh-debug): Mark unused parameter.
14219 (sh-get-indent-info): Remove unused variable `start'.
14220 (sh-calculate-indent): Remove unused variable `var'.
14221
14222 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
14223 (simula-electric-keyword): Remove unused variable `null'.
14224 (simula-search-backward, simula-search-forward): Remove unused
14225 variables `begin' and `end'.
14226
14227 * progmodes/vera-mode.el (vera-guess-basic-syntax):
14228 Remove unused variable `pos'.
14229 (vera-electric-tab, vera-comment-uncomment-region):
14230 Mark unused parameters.
14231 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
14232
7ede3b65
CY
142332011-04-22 Chong Yidong <cyd@stupidchicken.com>
14234
14235 * emacs-lisp/package.el (package--builtins, package-alist)
14236 (package-load-descriptor, package-built-in-p, package-activate)
14237 (define-package, package-installed-p)
14238 (package-compute-transaction, package-buffer-info)
14239 (package--push): Doc fix. Distinguish more clearly between
14240 version strings and version lists.
14241
121656e9
JB
142422011-04-21 Juanma Barranquero <lekktu@gmail.com>
14243
14244 Lexical-binding cleanup.
14245
14246 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
14247 (5x5-make-mutate-best):
14248 * play/fortune.el (fortune-in-buffer):
14249 * play/gomoku.el (gomoku-init-display):
14250 * play/solitaire.el (solitaire, solitaire-do-check):
14251 * play/tetris.el (tetris-default-update-speed-function):
14252 Mark unused parameters.
14253
14254 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
14255 (bubbles--shift): Remove unused variable `char-org'.
14256 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
14257 (bubbles--show-images): Remove unused variable `char'.
14258
14259 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
14260 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
14261 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
14262 (decipher-analyze-buffer): Use ?\s.
14263 (decipher-make-checkpoint): Remove unused variable `mapping'.
14264
14265 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
14266
14267 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
14268 Remove unused variable `result'; use `let'.
14269
14270 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
14271 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
14272 (gametree-children-shown-p, gametree-compute-reduced-score):
14273 Use `ignore-errors'.
14274
14275 * play/handwrite.el (ps-lpr-switches): Declare.
14276 (handwrite): Remove unused variables `pmin' and `lastp'.
14277
14278 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
14279
14280 * play/landmark.el (landmark-init-display)
14281 (landmark-update-naught-weights): Mark unused parameters.
14282 (landmark-y): Remove unused variable `noise'. Simplify.
14283 (landmark-human-plays): Remove unused variable `score'.
14284
14285 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
14286 (mpuz-try-proposal): Remove unused variable `game'.
14287
14288 * play/zone.el (life-patterns): Declare.
14289
80f499c7
JB
142902011-04-20 Juanma Barranquero <lekktu@gmail.com>
14291
14292 * vc/vc.el (ediff-vc-internal): Declare function.
14293
024ff170
SM
142942011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14295
c0a193ea
SM
14296 * shell.el: Use lexical-binding and std completion UI.
14297 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
14298 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
14299 comint-preoutput-filter-functions rather than on
14300 comint-output-filter-functions.
14301 (shell-command-completion, shell--command-completion-data)
14302 (shell-filename-completion, shell-environment-variable-completion)
14303 (shell-c-a-p-replace-by-expanded-directory): New functions.
14304 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
14305 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
14306 (shell-dynamic-complete-environment-variable): Use them.
14307 (shell-dynamic-complete-as-environment-variable)
14308 (shell-dynamic-complete-as-command): Remove.
14309 (shell-match-partial-variable): Match past point.
14310 * comint.el: Clean up use of completion-at-point-functions.
14311 (comint-completion-at-point): New function.
14312 (comint-mode): Use it completion-at-point-functions.
14313 (comint-dynamic-complete): Make it obsolete.
14314 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
14315 (comint-c-a-p-replace-by-expanded-history): New function.
14316 (comint-dynamic-complete-functions)
14317 (comint-replace-by-expanded-history): Use it.
14318 * minibuffer.el (completion-table-with-terminator): Allow dynamic
14319 termination strings. Try harder to avoid second try-completion.
14320 (completion-in-region-mode-map): Disable bindings that don't work yet.
14321
2dbaa080
SM
14322 * comint.el: Use lexical-binding. Require CL.
14323 (comint-dynamic-complete-functions): Use comint-filename-completion.
14324 (comint-completion-addsuffix): Tweak custom type.
14325 (comint-filename-completion, comint--common-suffix)
14326 (comint--common-quoted-suffix, comint--table-subvert)
14327 (comint--complete-file-name-data): New functions.
14328 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
14329 (comint-dynamic-list-filename-completions): Use them.
14330 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 14331
2dbaa080
SM
14332 * minibuffer.el (completion-in-region-mode):
14333 Keep completion-in-region-mode--predicate global.
14334 (completion-in-region--postch):
14335 Assume completion-in-region-mode--predicate is not null.
14336
c79a6f38
SM
14337 * progmodes/flymake.el (flymake-start-syntax-check-process):
14338 Obey `dir'. Simplify.
14339
024ff170
SM
14340 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
14341 we're in VC after all.
14342
1c6c854e
CS
143432011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
14344
14345 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 14346 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
14347 (vc-version-diff): Use vc-diff-build-argument-list-internal.
14348
bed7f140
SM
143492011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14350
332e62ab
SM
14351 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
14352 add sanity check.
14353
bed7f140
SM
14354 * obsolete/erc-hecomplete.el: Make obsolete.
14355 * obsolete/: Standardize obsolescence info in the header.
14356
f195c582
GM
143572011-04-20 Glenn Morris <rgm@gnu.org>
14358
14359 * calendar/solar.el (solar-horizontal-coordinates):
14360 Use the longitude argument rather than `calendar-longitude'.
14361 (solar-date-next-longitude): Remove unused locals.
14362
cb79b8c0
VJL
143632011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14364
14365 * whitespace.el: New version 13.2.1.
14366
143672011-04-20 felix <EmacsWiki> (tiny change)
14368
d8e4b68b 14369 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
14370 switching between major modes on a file.
14371
602ea69d
SM
143722011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14373
14374 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
14375 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
14376 multi-line comments as well.
14377
06b60517
JB
143782011-04-19 Juanma Barranquero <lekktu@gmail.com>
14379
14380 Lexical-binding cleanup.
14381
14382 * arc-mode.el (archive-mode-revert):
14383 * cmuscheme.el (scheme-interactively-start-process):
14384 * custom.el (custom-initialize-delay):
14385 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
14386 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
14387 * emacs-lock.el (emacs-lock-clear-sentinel):
14388 * ezimage.el (defezimage):
14389 * follow.el (follow-avoid-tail-recenter):
14390 * fringe.el (set-fringe-mode-1):
14391 * generic-x.el (bat-generic-mode-compile):
14392 * help-mode.el (help-info-variable, help-do-xref)
14393 (help-mode-revert-buffer):
14394 * help.el (view-emacs-todo):
14395 * iswitchb.el (iswitchb-completion-help):
14396 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
14397 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
14398 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
14399 * locate.el (locate-update):
14400 * longlines.el (longlines-encode-region)
14401 (longlines-after-change-function):
14402 * outline.el (outline-isearch-open-invisible):
14403 * ps-def.el (declare-function, charset-dimension, char-width)
14404 (encode-char):
14405 * ps-mule.el (ps-mule-plot-string):
14406 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
14407 (recentf-edit-list-select, recentf-edit-list-validate)
14408 (recentf-open-files-action):
14409 * rect.el (delete-whitespace-rectangle-line)
14410 (rectangle-number-line-callback):
14411 * register.el (window-configuration-to-register)
14412 (frame-configuration-to-register):
14413 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
14414 * select.el (xselect-convert-to-string, xselect-convert-to-length)
14415 (xselect-convert-to-targets, xselect-convert-to-delete)
14416 (xselect-convert-to-filename, xselect-convert-to-charpos)
14417 (xselect-convert-to-lineno, xselect-convert-to-colno)
14418 (xselect-convert-to-os, xselect-convert-to-host)
14419 (xselect-convert-to-user, xselect-convert-to-class)
14420 (xselect-convert-to-name, xselect-convert-to-integer)
14421 (xselect-convert-to-atom, xselect-convert-to-identity):
14422 * subr.el (declare, ignore, process-kill-without-query)
14423 (text-clone-maintain):
14424 * terminal.el (te-get-char, te-tic-sentinel):
14425 * tool-bar.el (tool-bar-make-keymap):
14426 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
14427 * type-break.el (type-break-mode, type-break-noninteractive-query):
14428 * view.el (View-back-to-mark):
14429 * wid-browse.el (widget-browse-action, widget-browse-widget)
14430 (widget-browse-widgets, widget-browse-sexp):
14431 * widget.el (define-widget-keywords):
14432 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
14433 Mark unused parameters.
14434
14435 * align.el (align-adjust-col-for-rule): Mark unused parameter.
14436 (align-areas): Remove unused variable `look'.
14437 (align-region): Remove unused variables `real-end' and `pos-list'.
14438
14439 * apropos.el (apropos-score-doc): Remove unused variable `i'.
14440
14441 * bindings.el (mode-line-modified, mode-line-remote):
14442 Mark unused parameters.
14443 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
14444
14445 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14446 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14447
14448 * comint.el (comint-history-isearch-pop-state)
14449 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14450 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14451 (comint-substitute-in-file-name): Doc fix.
14452
14453 * completion.el (cmpl-statistics-block): Mark unused parameter.
14454 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14455 (save-completions-to-file, load-completions-from-file):
14456 Remove unused local variable `e'.
14457
14458 * composite.el (compose-chars): Remove unused variable `len'.
14459 (lgstring-insert-glyph): Remove unused variable `g'.
14460 (compose-glyph-string): Remove unused variables `ascent',
14461 `descent', `lbearing' and `rbearing'.
14462 (compose-glyph-string-relative): Remove unused variables
14463 `lbearing', `rbearing' and `wadjust'.
14464 (compose-gstring-for-graphic): Remove unused variables `header',
14465 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
14466 (compose-gstring-for-terminal): Remove unused variables `header'
14467 and `nchars'. Use `let', not `let*'.
14468
14469 * cus-edit.el (Custom-set, Custom-save, custom-reset)
14470 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14471 (Custom-buffer-done, custom-buffer-create-internal)
14472 (custom-browse-visibility-action, custom-browse-group-tag-action)
14473 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14474 (widget-magic-mouse-down-action, custom-toggle-parent)
14475 (custom-add-parent-links, custom-toggle-hide-variable)
14476 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14477 (custom-toggle-hide-face, face, hook, custom-group-link-action)
14478 (custom-face-menu-create, custom-variable-menu-create, get)
14479 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14480 (custom-reset-standard-save-and-update): Remove unused variable `value'.
14481 (customize-apropos): Remove unused variable `tests'.
14482 (custom-group-value-create): Remove unused variable `hidden-p'.
14483 (sort-fold-case): Declare.
14484
14485 * cus-theme.el (custom-reset-standard-faces-list)
14486 (custom-reset-standard-variables-list): Declare.
14487 (customize-create-theme, custom-theme-revert, custom-theme-write)
14488 (custom-theme-choose-mode, customize-themes, custom-theme-save):
14489 Mark unused parameters.
14490
14491 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14492
14493 * delim-col.el (delimit-columns-max): Move defvar before first use.
14494
14495 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 14496 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
14497
14498 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14499 (auto-insert): Declare.
14500 (desktop-restore-file-buffer): Rename desktop-* parameters;
14501 mark unused ones.
14502 (desktop-create-buffer): Rename desktop-* parameters and bind them.
14503 (desktop-buffer): Rename desktop-* parameters.
14504
14505 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14506 (dframe-reposition-frame-xemacs, dframe-help-echo)
14507 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14508 Mark unused parameters.
14509
14510 * dired-aux.el (backup-extract-version-start, overwrite-query)
14511 (overwrite-backup-query, rename-regexp-query)
14512 (rename-non-directory-query): Declare.
14513 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14514 (dired-add-entry): Remove unused variable `orig-file-name'.
14515 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14516 Use parameter PRESERVE-TIME instead of accessing dynamic variable
14517 `dired-copy-preserve-time' directly.
14518 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14519 (dired-insert-subdir-newpos): Rename unused variable `pos'.
14520
14521 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14522 (dired-virtual-revert, dired-make-relative-symlink):
14523 Mark unused parameters.
14524 (manual-program): Declare.
14525 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14526 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14527 wrapped in `with-no-warnings' to avoid replacing one warning by another.
14528
14529 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14530
14531 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14532
14533 * echistory.el (electric-history-in-progress, Helper-return-blurb):
14534 Declare.
14535
14536 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14537
14538 * electric.el (Electric-command-loop): Rename parameter
14539 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14540
14541 * expand.el (expand-in-literal): Remove unused variable `here'.
14542
14543 * facemenu.el (facemenu-add-new-color):
14544 Remove unused variable `docstring'.
14545
14546 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14547 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14548 (face-attr-construct): Mark unused parameter. Doc fix.
14549 (read-color): Remove unused variable `hex-string'.
14550
14551 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14552 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14553 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14554 (display-buffer-other-frame): Remove unused variable `old-window'.
14555 (kill-buffer-hook): Declare.
14556 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14557 Mark unused parameters.
14558 (after-find-file): Pass 1 to `auto-save-mode', not t.
14559
14560 * files-x.el (auto-insert): Declare.
14561 (modify-file-local-variable-prop-line): Remove unused variable `val'.
14562
14563 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 14564 variable `buf'. Mark unused parameter.
06b60517
JB
14565 (find-lisp-insert-directory): Mark unused parameter.
14566
14567 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14568 (format-encode-region): Remove unused variables `cur-buf' and `result'.
14569 (format-common-tail): Remove, unused.
14570 (format-deannotate-region): Remove unused variable `loc'.
14571 (format-annotate-region): Remove unused variable `p'.
14572 (format-annotate-single-property-change): Remove unused variables
14573 `default' and `tail'.
14574
14575 * forms.el (read-file-filter): Declare.
14576 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14577
14578 * frame.el (frame-creation-function-alist): Mark unused parameter.
14579 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14580
14581 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14582 Remove unused parameters.
14583 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14584 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14585
14586 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14587 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14588 (hfy-prepare-tag-map): Mark unused parameters.
14589 (htmlfontify-buffer): Use `called-interactively-p'.
14590
14591 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14592 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14593 (ibuffer-do-occur): Mark unused parameters.
14594 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14595 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14596
14597 * ibuffer.el: Don't quote `lambda'.
14598 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14599 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14600 Mark unused parameters.
14601
14602 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14603 (ido-completing-read): Mark unused parameters.
14604 (ido-copy-current-word): Mark unused parameters;
14605 remove unused variable `name'.
14606 (ido-sort-merged-list): Remove unused parameter `dirs'.
14607
14608 * ielm.el (ielm-input-sender): Mark unused parameter.
14609 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14610 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14611 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14612 `ielm-string' as a dynamic variable accessible from the IELM prompt.
14613 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
14614
14615 * image-dired.el (image-dired-display-thumbs): Remove unused
14616 variables `curr-file' and `count'.
14617 (image-dired-remove-tag): Remove unused variable `start'.
14618 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14619 variable `curr-file'
14620 (image-dired-rotate-original): Remove unused variable `temp-file'.
14621 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14622 Remove unused variable `file'.
14623 (image-dired-gallery-generate): Remove unused variable `curr'.
14624 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14625
14626 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14627
14628 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14629
14630 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14631
14632 * isearch.el (minibuffer-history-symbol): Declare.
14633 (isearch-edit-string): Remove unused variable `err'.
14634 (isearch-message-prefix, isearch-message-suffix):
14635 Mark unused parameters.
14636
14637 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14638
14639 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14640
14641 * makesum.el (double-column): Remove unused variable `cnt'.
14642
14643 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14644 (ido-ignore-item-temp-list): Declare.
14645
14646 * mouse-drag.el (mouse-drag-throw): Remove unused variables
14647 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14648 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14649 (mouse-drag-drag): Remove unused variables `mouse-delta' and
14650 `mouse-col-delta'.
14651
14652 * mouse-sel.el (mouse-extend-internal):
14653 Remove unused variable `orig-window-frame'.
14654
14655 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
14656 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
14657 Move declarations before first use.
14658 (pcomplete-opt): Mark unused parameters; doc fix.
14659
14660 * proced.el (proced-revert): Mark unused parameter.
14661 (proced-send-signal): Remove unused variable `err'.
14662
14663 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
14664 Rename parameter PREFIX-ARG to ARG.
14665 (ps-basic-plot-string, ps-basic-plot-whitespace):
14666 Mark unused parameters.
14667
14668 * replace.el (replace-count): Define.
14669 (occur-revert-function): Mark unused parameters.
14670 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
14671 (isearch-case-fold-search, isearch-string): Declare.
14672 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
14673 bind `case-fold-search'. Remove unused variables `beg' and `end',
14674 and simplify.
14675 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
14676 COUNT and bind `replace-count'.
14677 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
14678 to COUNT.
14679
14680 * savehist.el (print-readably, print-string-length): Declare.
14681
14682 * shadowfile.el (shadow-expand-cluster-in-file-name):
14683 Remove unused variable `cluster'.
14684 (shadow-copy-file): Remove unused variable `i'.
14685 (shadow-noquery, shadow-clusters, shadow-site-cluster)
14686 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14687 (shadow-define-literal-group, shadow-define-regexp-group)
14688 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14689
14690 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14691 (shell): Use `called-interactively-p'.
14692 (shell-directory-tracker): Remove unused variable `chdir-failure'.
14693
14694 * simple.el (compilation-context-lines, comint-file-name-quote-list)
14695 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14696 (delete-backward-char): Remove unused variable `ocol'.
14697 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14698 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14699 (event-apply-hyper-modifier, event-apply-shift-modifier)
14700 (event-apply-control-modifier, event-apply-meta-modifier):
14701 Mark unused parameters.
14702 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14703 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14704
14705 * speedbar.el (speedbar-ignored-directory-expressions)
14706 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14707 (speedbar-find-file, speedbar-dir-follow)
14708 (speedbar-directory-buttons-follow, speedbar-tag-find)
14709 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14710 (speedbar-buffers-line-directory, speedbar-buffer-click):
14711 Mark unused parameters.
14712 (speedbar-tag-file): Remove unused variable `mode'.
14713 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14714
14715 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14716
14717 * talk.el (talk): Remove unused variable `display'.
14718
14719 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14720 (tar-write-region-annotate): Mark unused parameter.
14721
14722 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14723 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14724 Declare them, wrapped in `with-no-warnings' to avoid replacing one
14725 warning by another.
14726
14727 * time-stamp.el (time-stamp-string-preprocess):
14728 Remove unused variable `require-padding'.
14729
14730 * tree-widget.el (widget-glyph-enable): Declare.
14731 (tree-widget-action): Mark unused parameter.
14732
14733 * w32-fns.el (x-get-selection): Mark unused parameter.
14734 (autoload-make-program, generated-autoload-file): Declare.
14735
14736 * wdired.el (wdired-revert): Mark unused parameters.
14737 (wdired-xcase-word): Remove unused variable `err'.
14738
14739 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14740 (whitespace-help-scroll): Remove unused variable `data-help'.
14741
14742 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14743 (widget-image-insert, widget-after-change, default)
14744 (widget-default-format-handler, widget-default-notify)
14745 (widget-default-prompt-value, widget-info-link-action)
14746 (widget-url-link-action, widget-function-link-action)
14747 (widget-variable-link-action, widget-file-link-action)
14748 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14749 (widget-field-prompt-internal, widget-field-action, widget-field-match)
14750 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14751 (widget-insert-button-action, widget-delete-button-action, visibility)
14752 (widget-documentation-link-action, widget-documentation-string-action)
14753 (widget-const-prompt-value, widget-regexp-match, symbol)
14754 (widget-coding-system-prompt-value)
14755 (widget-key-sequence-value-to-external, sexp)
14756 (widget-sexp-value-to-internal, character, vector, cons)
14757 (widget-choice-prompt-value, widget-boolean-prompt-value)
14758 (widget-color--choose-action): Mark unused parameters.
14759 (widget-item-match-inline, widget-choice-match-inline)
14760 (widget-checklist-match, widget-checklist-match-inline)
14761 (widget-group-match): Rename parameter VALUES to VALS.
14762 (widget-field-value-set): Remove unused variable `size'.
14763 (widget-color-action): Remove unused variables `value' and `start'.
14764
14765 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 14766 variable `dir'. Doc fix.
06b60517
JB
14767 (windmove-find-other-window): Don't pass it.
14768
14769 * window.el (count-windows): Mark unused parameter.
14770 (bw-adjust-window): Remove unused variable `err'.
14771
14772 * woman.el (woman-file-name): Remove unused variable `default'.
14773 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14774 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14775 (global-font-lock-mode): Declare.
14776 (woman-decode-region): Mark unused parameter.
14777 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14778
14779 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14780 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14781 (x-dnd-handle-moz-url): Remove unused variable `title'.
14782 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14783
14784 * xml.el (xml-parse-tag, xml-parse-attlist):
14785 Remove unused variable `pos'.
14786
bc4f7f3d
GM
147872011-04-19 Glenn Morris <rgm@gnu.org>
14788
14789 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14790 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14791 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14792 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14793 * calendar/cal-html.el (cal-html-insert-minical):
14794 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14795 (calendar-mark-date-pattern):
14796 Prefix "unused" locals.
14797
14798 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14799 optional argument `style'.
14800
14801 * calendar/appt.el (appt-make-list):
14802 * calendar/cal-china.el (calendar-chinese-date-string):
14803 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14804 (diary-hebrew-yahrzeit):
14805 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14806 * calendar/calendar.el (calendar-generate-window):
14807 * calendar/time-date.el (time-to-days):
14808 Remove unused local variables.
14809
16a43933
CY
148102011-04-18 Chong Yidong <cyd@stupidchicken.com>
14811
14812 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14813 glyphless-char-display table.
14814 (tabulated-list-glyphless-char-display): New var.
14815
7eed1860
SS
148162011-04-18 Sam Steingold <sds@gnu.org>
14817
14818 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14819 to acknowledgments.
14820
4d2d1ccd
GM
148212011-04-17 Glenn Morris <rgm@gnu.org>
14822
14823 * calendar/diary-lib.el (diary-sexp-entry):
14824 * calendar/holidays.el (holiday-sexp):
14825 Set debug-on-error rather than the removed stack-trace-on-error.
14826
239da61d
GM
148272011-04-16 Glenn Morris <rgm@gnu.org>
14828
14829 * progmodes/f90.el: Use lexical-binding.
14830 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14831
8b05752a
SM
148322011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14833
daca8ba5
SM
14834 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14835 (mail-mode): Setup mailalias completion here instead.
14836 * mail/mailalias.el: Use lexical-binding.
14837 (pattern, mailalias-done): Declare dynamic.
14838 (mail-completion-at-point-function): New function, from mail-complete.
14839 (mail-complete): Use it.
14840 (mail-completion-expand): New function.
14841 (mail-get-names): Use it.
14842 (mail-directory, mail-directory-process, mail-directory-stream):
14843 Don't use `pattern' for lexically bound arg.
14844
6f542485
SM
14845 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14846
037e7c3f
SM
14847 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14848 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14849 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14850
8b05752a
SM
14851 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14852 (byte-save-window-excursion, byte-temp-output-buffer-setup)
14853 (byte-interactive-p): Define them again, for use when inlining
14854 old code.
14855
49093f60
JB
148562011-04-15 Juanma Barranquero <lekktu@gmail.com>
14857
14858 * loadup.el: Use `string-to-number', not `string-to-int'.
14859
b5b8e7de
SM
148602011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14861
14862 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14863 gud-gdb-complete-command.
14864 (gud-gdb-completions): New function, from gud-gdb-complete-command.
14865 (gud-gdb-completion-at-point): New function.
14866 (gud-gdb-completions): Remove.
14867
f42efeb5
MA
148682011-04-14 Michael Albinus <michael.albinus@gmx.de>
14869
49093f60
JB
14870 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14871 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
14872 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14873 whether `executable-find' is bound.
f42efeb5
MA
14874
14875 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14876
e240cc21
SM
148772011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14878
14879 * minibuffer.el (completion-in-region-mode-predicate)
14880 (completion-in-region-mode--predicate): New vars.
14881 (completion-in-region, completion-in-region--postch)
14882 (completion-in-region-mode): Use them.
14883 (completion--capf-wrapper): Also return the hook function.
14884 (completion-at-point, completion-help-at-point):
14885 Adjust and provide a predicate.
c2bd2ab0
SM
14886
14887 Preserve arg names for advice of subr and lexical functions (bug#8457).
14888 * help-fns.el (help-function-arglist): Consolidate the subr and
14889 new-byte-code cases. Add argument `preserve-names' to extract names
14890 from the docstring when needed.
14891 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14892 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14893 (ad-arglist): Use help-function-arglist's new arg.
14894 (ad-definition-type): Use cond.
14895
c183f693
JB
148962011-04-13 Juanma Barranquero <lekktu@gmail.com>
14897
06641a47
JB
14898 * autorevert.el (auto-revert-handler):
14899 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
14900 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
14901 Don't quote lambda.
14902
c183f693
JB
14903 * image-mode.el (image-transform-set-scale):
14904 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
14905
1e3b6001
G
149062011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14907
14908 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 14909 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
14910 Upgrades via gnutls-cli are too slow to be done opportunistically.
14911
2d6af8dd
JB
149122011-04-12 Juanma Barranquero <lekktu@gmail.com>
14913
14914 * dframe.el (dframe-current-frame): Remove spurious quote.
14915
c0749a51
GM
149162011-04-12 Glenn Morris <rgm@gnu.org>
14917
088d0d61
GM
14918 * calendar/cal-tex.el (cal-tex-end-document):
14919 Try to automatically use latin1 input if needed.
14920
c0749a51
GM
14921 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
14922 Don't try to cons a mark onto an empty element.
14923
5c90fde0
LL
149242011-04-11 Leo Liu <sdl.web@gmail.com>
14925
14926 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
14927 buffers.
14928 (ido-kill-buffer-at-head): Support killing virtual buffers.
14929
369e974d
CY
149302011-04-10 Chong Yidong <cyd@stupidchicken.com>
14931
14932 * minibuffer.el (completion-show-inline-help): New var.
14933 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
14934 (minibuffer-force-complete, minibuffer-complete-word):
14935 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
14936
14937 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
14938 to avoid interference from inline help (Bug#5849).
14939
37f1c930
LL
149402011-04-10 Leo Liu <sdl.web@gmail.com>
14941
099c39a4
JB
14942 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14943 Fix typo.
37f1c930 14944
a32d4040
CY
149452011-04-09 Chong Yidong <cyd@stupidchicken.com>
14946
14947 * image-mode.el (image-toggle-display-image): Signal an error if
14948 not in Image mode.
14949 (image-transform-mode, image-transform-resize)
14950 (image-transform-set-rotation): Doc fix.
daca8ba5 14951 (image-transform-set-resize): Delete.
a32d4040
CY
14952 (image-transform-set-scale, image-transform-fit-to-height)
14953 (image-transform-fit-to-width): Handle image-toggle-display-image
14954 and image-transform-resize directly.
14955
099c39a4 149562011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
14957
14958 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
14959 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
14960 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
14961 (doc-view-mode-map): Add bindings for the new functions.
14962
099c39a4 149632011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 14964
4d61f28d 14965 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
14966 Fix typo in docstring.
14967
3726838a
EZ
149682011-04-08 Eli Zaretskii <eliz@gnu.org>
14969
04f33f1e
EZ
14970 * files.el (file-size-human-readable): Produce one digit after
14971 decimal, like "ls -lh" does.
14972
14973 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14974 the file size representation.
14975
3726838a
EZ
14976 * simple.el (list-processes): If async subprocesses are not
14977 available, error out with a clear error message.
14978
cbb59342
CY
149792011-04-08 Chong Yidong <cyd@stupidchicken.com>
14980
14981 * help.el (help-form-show): New function, to be called from C.
14982 Put help-form output in a buffer named differently than *Help*.
14983
e3971c44
EZ
149842011-04-08 Eli Zaretskii <eliz@gnu.org>
14985
14986 * files.el (file-size-human-readable): New function.
14987
14988 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14989 computing the representation inline. Don't require `cl'.
14990
12544bbe
GM
149912011-04-08 Glenn Morris <rgm@gnu.org>
14992
a1de6c6a
GM
14993 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14994
3c4671f4
GM
14995 * net/browse-url.el (browse-url-firefox):
14996 Test system-type, not system-configuration.
14997
b605679c
GM
14998 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14999 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
15000 Use log-edit-empty-buffer-p. (Bug#7598)
15001
56442f0c
GM
15002 * net/rlogin.el (rlogin-process-connection-type): Simplify.
15003 (rlogin-mode-map): Initialize in the defvar.
15004 (rlogin): Use ignore-errors.
15005
12544bbe
GM
15006 * replace.el (occur-mode-map): Some fixes for menu items.
15007
eb237b0f
AH
150082011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
15009
15010 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
15011
7d668f2c
CY
150122011-04-06 Chong Yidong <cyd@stupidchicken.com>
15013
e67a13ab
CY
15014 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
15015 issuing unused warnings.
15016
15017 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
15018 macro directly.
15019
7d668f2c
CY
15020 * simple.el: Lisp reimplement of list-processes. Based on an
15021 earlier reimplementation by Leo Liu, but using tabulated-list.el.
15022 (process-menu-mode): New major mode.
15023 (list-processes--refresh, list-processes):
15024 (process-menu-visit-buffer): New functions.
15025
15026 * files.el (save-buffers-kill-emacs): Don't assume any return
15027 value of list-processes, which is undocumented anyway.
15028
a83ec3c9
CY
150292011-04-06 Chong Yidong <cyd@stupidchicken.com>
15030
15031 * emacs-lisp/tabulated-list.el: New file.
15032
e91a96fe
CY
15033 * emacs-lisp/package.el: Use Tabulated List mode.
15034 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
15035 (package-menu-mode): Derive from tabulated-list-mode. Set up the
15036 table format using Tabulated List mode variables.
15037 (package--push): New macro, replacing package-list-maybe-add.
15038 (package-menu--generate): Use package--push. Renamed from
15039 package--generate-package-list.
15040 (package-menu-refresh, list-packages): Use it.
daca8ba5 15041 (package-menu--print-info): Rename from package-print-package.
e91a96fe 15042 Return insertion data instead of inserting it directly.
099c39a4
JB
15043 (package-menu-describe-package, package-menu-execute):
15044 Use tabulated-list-get-id.
e91a96fe
CY
15045 (package-menu-mark-delete, package-menu-mark-install)
15046 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
15047 (package-menu-mark-obsolete-for-deletion):
15048 Use tabulated-list-put-tag.
e91a96fe
CY
15049 (package--list-packages, package-menu-revert)
15050 (package-menu-get-package, package-menu-get-version)
15051 (package-menu-sort-by-column): Functions deleted.
15052 (package-menu-package-list, package-menu-sort-key): Vars deleted.
15053 (package-menu--status-predicate, package-menu--version-predicate)
15054 (package-menu--name-predicate)
15055 (package-menu--description-predicate): Handle arguments in the
15056 Tabulated List format.
15057 (package-list-packages-no-fetch): Call list-packages.
15058
3e214b50
JB
150592011-04-06 Juanma Barranquero <lekktu@gmail.com>
15060
15061 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 15062 (after-find-file): Don't bind it.
3e214b50
JB
15063 (revert-buffer-in-progress-p): New variable.
15064 (revert-buffer): Bind it.
15065 Pass nil for `after-find-file-from-revert-buffer'.
15066
15067 * saveplace.el (save-place-find-file-hook): Use new variable
15068 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
15069
3f0f1700
GM
150702011-04-06 Glenn Morris <rgm@gnu.org>
15071
c0274801
GM
15072 * Makefile.in (AUTOGEN_VCS): New variable.
15073 (autoloads): Use $AUTOGEN_VCS.
15074
3f0f1700
GM
15075 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
15076 * calendar/calendar.el (calendar-mode-map):
15077 Check for toolkit scroll bars. (Bug#8305)
15078
41ea9e48
CY
150792011-04-05 Chong Yidong <cyd@stupidchicken.com>
15080
15081 * minibuffer.el (completion-in-region--postch)
15082 (completion-in-region-mode): Remove unnecessary messages.
15083
6194c800
JB
150842011-04-05 Juanma Barranquero <lekktu@gmail.com>
15085
33256f14
JB
15086 * font-lock.el (font-lock-refresh-defaults):
15087 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
15088 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
15089
6194c800
JB
15090 * info.el (Info-directory-list, Info-read-node-name-2)
15091 (Info-split-parameter-string): Doc fixes.
15092 (Info-virtual-nodes): Reflow docstring.
15093 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
15094 (Info-apropos-toc-nodes, info-finder, Info-get-token)
15095 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
15096 Fix typos in docstrings.
15097 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
15098 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
15099 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
15100 (Info-restore-desktop-buffer): Mark unused parameters.
15101 (Info-directory-find-file, Info-directory-find-node)
15102 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
15103 (Info-virtual-index-find-node, Info-apropos-find-file)
15104 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 15105 Mark unused parameters; fix typos in docstrings.
6194c800
JB
15106 (Info-virtual-index): Remove unused local variable `nodename'.
15107
b87a8200 151082011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 15109
b87a8200
DD
15110 * net/rcirc.el: Update my e-mail address.
15111 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 15112
3b2ff876
CY
151132011-04-05 Chong Yidong <cyd@stupidchicken.com>
15114
15115 * startup.el (command-line): Save the cursor's theme-face
15116 directly, instead of using face-override-spec.
15117
15118 * custom.el (load-theme): Minor optimization in assigning faces.
15119
8d17e7ca
JB
151202011-04-04 Juanma Barranquero <lekktu@gmail.com>
15121
15122 * help-fns.el (describe-variable): Complete all variables having
15123 documentation, including keywords.
15124 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
15125
2fbc1934
JB
151262011-04-04 Juanma Barranquero <lekktu@gmail.com>
15127
15128 Convert to lexical-binding.
15129
15130 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
15131 (bs--get-marked-string, bs--get-modified-string)
15132 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
15133 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
15134 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
15135
15136 * ehelp.el (electric-help-execute-extended)
15137 (electric-help-ctrl-x-prefix):
15138 * hexl.el (hexl-revert-buffer-function):
15139 * linum.el (linum-after-change, linum-after-scroll):
15140 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
15141
15142 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
15143
74f50695
DU
151442011-04-04 Daiki Ueno <ueno@unixuser.org>
15145
15146 * epa-dired.el:
15147 * epa-mail.el:
15148 * epa-hook.el:
15149 * epa-file.el:
15150 * epa.el:
15151 * epg.el: Use lexical binding.
15152
c11325f7
CY
151532011-04-03 Chong Yidong <cyd@stupidchicken.com>
15154
0d9e9a12
CY
15155 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
15156
c11325f7 15157 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
15158 dictionary case for flyspell-mark-duplications-exceptions.
15159 Use regexp matching for languages.
c11325f7
CY
15160 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
15161 default dictionary (Bug#7926).
15162
da91b5f2
CY
151632011-04-02 Chong Yidong <cyd@stupidchicken.com>
15164
099c39a4
JB
15165 * emacs-lisp/package.el (package--with-work-buffer):
15166 Recognize https URLs.
da91b5f2 15167
099c39a4
JB
15168 * net/network-stream.el: Move from gnus/proto-stream.el.
15169 Change prefix to network-stream throughout.
da91b5f2
CY
15170 (open-protocol-stream): Merge into open-network-stream, leaving
15171 open-protocol-stream as an alias. Handle nil BUFFER args.
15172
15173 * subr.el (open-network-stream): Move to net/network-stream.el.
15174
afa8e9f6
GM
151752011-04-02 Glenn Morris <rgm@gnu.org>
15176
1d2e369d
GM
15177 * find-dired.el (find-exec-terminator): New option.
15178 (find-ls-option): Test for -ls support.
15179 (find-ls-subdir-switches): Test for -b in find-ls-option.
15180 (find-dired, find-grep-dired): Doc fixes.
15181 (find-dired): Use find-exec-terminator.
15182
8abb7da8 15183 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
15184 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
15185 (find-name-arg): Remove purecopy.
8abb7da8 15186
f3ca7378
GM
15187 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
15188 (grep-compute-defaults): Check for `-exec COMMAND +' support.
15189 Set grep-find-use-xargs, grep-find-command, and grep-find-template
15190 accordingly. Don't add the null-device if not needed.
15191
afa8e9f6
GM
15192 * files.el (save-some-buffers): Doc fix.
15193
35eae264
EZ
151942011-04-02 Eli Zaretskii <eliz@gnu.org>
15195
15196 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
15197
26b51db5
JB
151982011-04-01 Juanma Barranquero <lekktu@gmail.com>
15199
15200 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
15201 Use `dolist' rather than `mapcar'.
15202
7200d79c
SM
152032011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15204
03408648 15205 Add lexical binding.
7200d79c 15206
03408648
SM
15207 * subr.el (apply-partially): Use new closures rather than CL.
15208 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
15209 (dolist, dotimes): Use slightly different expansion for lexical code.
15210 (functionp): Move to C.
15211 (letrec): New macro.
15212 (with-wrapper-hook): Use it and apply-partially instead of CL.
15213 (eval-after-load): Preserve lexical-binding.
15214 (save-window-excursion, with-output-to-temp-buffer): Turn them
15215 into macros.
7200d79c 15216
03408648
SM
15217 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
15218
15219 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
15220 than the arglist.
15221 (help-add-fundoc-usage): Don't add `Not documented'.
15222 (help-function-arglist): Handle closures, subroutines, and new
15223 byte-code-functions.
15224 (help-make-usage): Remove leading underscores.
15225 (describe-function-1): Handle closures.
15226 (describe-variable): Use special-variable-p for completion.
15227
15228 * files.el (lexical-binding): Declare safe.
f488fb65 15229
03408648
SM
15230 * emacs-lisp/pcase.el: Don't use destructuring-bind.
15231 (pcase--memoize): Rename from pcase-memoize. Change weakness.
15232 (pcase): Add `let' pattern.
15233 Change memoization so it actually works.
15234 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
15235 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
15236 <let>: New case.
f488fb65 15237
03408648
SM
15238 * emacs-lisp/macroexp.el: Use lexical binding.
15239 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
15240 Don't convert ' to #' without checking that it's indeed quoting
15241 a lambda.
15242
15243 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 15244 Use eval-sexp-add-defvars.
03408648
SM
15245 (eval-sexp-add-defvars): New fun.
15246
15247 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
15248
15249 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
15250 Don't autoload.
15251 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
15252 than the internal `byte-compile-lambda'.
15253 (defmethod): Don't hide code under quotes.
15254 (eieio-defmethod): New `code' argument.
15255
15256 * emacs-lisp/eieio-comp.el: Remove.
15257
15258 * emacs-lisp/edebug.el (edebug-eval-defun)
15259 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
15260 (edebug-toggle): Avoid `eval'.
15261
15262 * emacs-lisp/disass.el (disassemble-internal): Handle new
15263 `closure' objects.
15264 (disassemble-1): Handle new byte codes.
15265
15266 * emacs-lisp/cl.el (pushnew): Silence warning.
15267
15268 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
15269 (cl-byte-compile-throw): Remove.
15270 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
15271
15272 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
15273 closures.
15274
15275 * emacs-lisp/cconv.el: New file.
15276
15277 * emacs-lisp/bytecomp.el: Use lexical binding instead of
15278 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
15279 (byte-compile-initial-macro-environment):
15280 Handle declare-function here.
15281 (byte-compile--lexical-environment): New var.
15282 (byte-stack-ref, byte-stack-set, byte-discardN)
15283 (byte-discardN-preserve-tos): New lap codes.
15284 (byte-interactive-p): Don't use any more.
15285 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
15286 New macros.
15287 (byte-compile-lapcode): Use them and handle new lap codes.
15288 (byte-compile-obsolete): Remove.
15289 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
15290 (byte-compile-arglist-warn): Check late def of inlinable funs.
15291 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
15292 since they should have been expanded by now.
15293 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
15294 (byte-compile-from-buffer): Remove unused second arg.
15295 (byte-compile-preprocess): New function.
15296 (byte-compile-toplevel-file-form): New function to distinguish
15297 file-form calls from outside from file-form calls from hunk-handlers.
15298 (byte-compile-file-form): Simplify.
15299 (byte-compile-file-form-defsubst): Remove.
15300 (byte-compile-file-form-defmumble): Simplify now that
15301 byte-compile-lambda always returns a byte-code-function.
15302 (byte-compile): Preprocess.
15303 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
15304 Remove, not used any more.
15305 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
15306 (byte-compile-make-args-desc): New funs.
15307 (byte-compile-lambda): Handle lexical functions. Always return
15308 a byte-code-function.
15309 (byte-compile-reserved-constants): New var, to make up room for
15310 closed-over variables.
15311 (byte-compile-constants-vector): Obey it.
15312 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
15313 (byte-compile-macroexpand-declare-function): New function.
15314 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
15315 byte-code-functions.
15316 (byte-compile-form): Check obsolescence here.
15317 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
15318 (byte-compile-variable-ref): Remove.
15319 (byte-compile-dynamic-variable-op): New fun.
15320 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15321 (byte-compile-variable-set): New funs.
15322 (byte-compile-discard): Add 2 args.
15323 (byte-compile-stack-ref, byte-compile-stack-set)
15324 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
15325 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
15326 macroexpand-all instead.
15327 (byte-compile-quote-form): Remove.
15328 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
15329 (byte-compile-bind, byte-compile-unbind): New funs.
15330 (byte-compile-let): Handle let* and lexical binding.
15331 (byte-compile-let*): Remove.
15332 (byte-compile-catch, byte-compile-unwind-protect)
15333 (byte-compile-track-mouse, byte-compile-condition-case):
15334 Handle a new :fun-body form, used for lexical scoping.
15335 (byte-compile-save-window-excursion)
15336 (byte-compile-with-output-to-temp-buffer): Remove.
15337 (byte-compile-defun): Simplify.
15338 (byte-compile-stack-adjustment): New fun.
15339 (byte-compile-out): Use it.
15340 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
15341
15342 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
15343 handler any more.
15344
15345 * emacs-lisp/byte-opt.el: Use lexical binding.
15346 (byte-inline-lapcode): Remove (to bytecomp).
15347 (byte-compile-inline-expand): Pay attention to inlining to/from
15348 lexically bound code.
15349 (byte-compile-unfold-lambda): Don't handle byte-code-functions
15350 any more.
15351 (byte-optimize-form-code-walker): Don't handle save-window-excursion
15352 any more and don't call compiler-macros.
15353 (byte-compile-splice-in-already-compiled-code): Remove.
15354 (byte-code): Don't inline any more.
15355 (disassemble-offset): Receive `bytes' as argument rather than via
15356 dynamic scoping.
15357 (byte-compile-tag-number): Declare before first use.
15358 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
15359 `return' even if make-spliceable.
15360 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
15361 obsolete interactive-p.
15362 (byte-optimize-lapcode): Optimize new lap-codes.
15363 Don't trip up on new form of `byte-constant' lap code.
15364
15365 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
15366
15367 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
15368
15369 * custom.el (custom-initialize-default, custom-declare-variable):
15370 Use `defvar'.
15371
15372 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
15373 New variables.
15374 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
15375 (COMPILE_FIRST): Add macroexp and cconv.
15376 * makefile.w32-in: Mirror changes in Makefile.in.
15377
15378 * vc/cvs-status.el:
15379 * vc/diff-mode.el:
15380 * vc/log-edit.el:
15381 * vc/log-view.el:
15382 * vc/smerge-mode.el:
15383 * textmodes/bibtex-style.el:
15384 * textmodes/css.el:
15385 * startup.el:
15386 * uniquify.el:
da91b5f2
CY
15387 * minibuffer.el:
15388 * newcomment.el:
15389 * reveal.el:
15390 * server.el:
15391 * mpc.el:
15392 * emacs-lisp/smie.el:
15393 * doc-view.el:
15394 * dired.el:
03408648
SM
15395 * abbrev.el: Use lexical binding.
15396
0f0c1f27
EZ
153972011-04-01 Eli Zaretskii <eliz@gnu.org>
15398
15399 * info.el (info-display-manual): New function.
15400
c82b2579
SM
154012011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15402
15403 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
15404
221ddf68
TH
154052011-03-31 Tassilo Horn <tassilo@member.fsf.org>
15406
15407 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 15408 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 15409
cba6e77e
GM
154102011-03-31 Glenn Morris <rgm@gnu.org>
15411
e040639f
GM
15412 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
15413
cba6e77e
GM
15414 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
15415
6d0f1c9e
CS
154162011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
15417
15418 * progmodes/python.el (python-default-interpreter)
15419 (python-python-command-args, python-jython-command-args)
15420 (python-which-shell, python-which-args, python-which-bufname)
15421 (python-file-queue, python-comint-output-filter-function)
15422 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
15423 variables and functions.
15424
3e2d70fd
SM
154252011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15426
15427 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
15428 (completion-in-region-mode): New minor mode.
15429 (completion-in-region): Use it.
15430 (completion-in-region--data, completion-in-region-mode-map): New vars.
15431 (completion-in-region--postch): New function.
15432 (completion--capf-misbehave-funs, completion--capf-safe-funs):
15433 New vars.
15434 (completion--capf-wrapper): New function.
15435 (completion-at-point): Use it to track well-behavedness of
15436 hook functions.
15437 (completion-help-at-point): New command.
15438
f3e4086c
JM
154392011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
15440
15441 * vc/add-log.el (add-change-log-entry): Don't use whitespace
15442 syntax class to search for whitespace on a single line
15443 (Message-ID: <4D938140.4030905@redhat.com>).
15444
eb7ffc14
LL
154452011-03-30 Leo Liu <sdl.web@gmail.com>
15446
15447 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15448 New commands.
15449 (edit-abbrevs-map): Bind them here.
15450 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
15451
d806ab68
KM
154522011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
15453
15454 * allout.el (allout-hide-by-annotation, allout-flag-region):
15455 Reduce possibility of overlay leakage by making them volatile.
15456
15457 * allout-widgets.el (allout-widgets-tally): Define as nil so the
15458 hash is not shared between buffers. Mode initialization is
15459 responsible for giving it a useful starting value.
15460 (allout-item-span): Reduce possibility of overlay leakage by
15461 making them volatile.
15462 (allout-widgets-count-buttons-in-region): Add diagnostic function
15463 for tracking down button overlay leaks.
15464
ea622834
LL
154652011-03-29 Leo Liu <sdl.web@gmail.com>
15466
15467 * ido.el (ido-read-internal): Use the default history var
15468 minibuffer-history if no HISTORY is specified.
15469
b62f8267
G
154702011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
15471
03408648
SM
15472 * net/imap.el (imap-shell-open, imap-process-connection-type):
15473 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
15474 Kerberos, SSL, other subprocesses.
15475
947b6566
LL
154762011-03-28 Leo Liu <sdl.web@gmail.com>
15477
15478 * abbrev.el (abbrev-table-empty-p): New function.
15479 (prepare-abbrev-list-buffer): Place empty abbrev tables after
15480 nonempty ones. (Bug#5937)
15481
5ffb62aa
JD
154822011-03-27 Jan Djärv <jan.h.d@swipnet.se>
15483
15484 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15485
7a097943
LL
154862011-03-27 Leo Liu <sdl.web@gmail.com>
15487
15488 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15489 for foreground and background colors.
15490 (ansi-color-make-color-map): Adapt.
15491
c5b40130
LL
154922011-03-25 Leo Liu <sdl.web@gmail.com>
15493
1f48f7d2
LL
15494 * midnight.el (midnight-time-float): Remove. Note it calculates
15495 the microsecond component incorrectly and seconds-to-time does the
15496 same job.
625897ec 15497 Remove redundant (require 'timer).
1f48f7d2 15498
c5b40130
LL
15499 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15500 (ido-completions): Remove unused arguments. (Bug#8329)
15501
d86d2721
SM
155022011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
15503
15504 * minibuffer.el (completion--flush-all-sorted-completions):
15505 Remove itself from hook.
15506 (completion-at-point): Let the functions perform the completion
15507 immediately and return nil or t.
15508 * comint.el (comint-dynamic-complete-functions): Now identical to
15509 completion-at-point-functions.
15510 (comint-dynamic-list-input-ring): Remove unused var `index'.
15511 (comint--match-partial-filename, comint--unquote&expand-filename):
15512 New funs, split from comint-match-partial-filename.
15513 (comint-dynamic-complete): Use completion-at-point.
15514 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15515
e8974c48
DA
155162011-03-24 Drew Adams <drew.adams@oracle.com>
15517
15518 * thingatpt.el: Support `defun'.
15519
def71b5e
LL
155202011-03-23 Leo Liu <sdl.web@gmail.com>
15521
cb5af48e
LL
15522 * abbrevlist.el: Move to obsolete/abbrevlist.el.
15523
def71b5e
LL
15524 * help-mode.el (help-mode-finish): Tweak regexp.
15525
927c53e7
GM
155262011-03-23 Glenn Morris <rgm@gnu.org>
15527
18d05bed
GM
15528 * eshell/esh-opt.el (eshell-eval-using-options):
15529 Do not bind unused local variable `eshell-option-stub'.
15530
927c53e7
GM
15531 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15532
9d0da923
JB
155332011-03-22 Juanma Barranquero <lekktu@gmail.com>
15534
15535 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15536 keymap variable in `with-no-warnings' to avoid a warning when the
15537 keymap has been already `defconst'ed.
15538
4b978a67
LL
155392011-03-22 Leo Liu <sdl.web@gmail.com>
15540
15541 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15542 encode all chars in abbrevs; otherwise use emacs-mule or
15543 utf-8-emacs. (Bug#8308)
15544
5fd62452
JB
155452011-03-22 Juanma Barranquero <lekktu@gmail.com>
15546
0b1596c6
JB
15547 * simple.el (backward-delete-char-untabify):
15548 Avoid warning about using `delete-backward-char'.
15549
5fd62452
JB
15550 * image.el (image-type-file-name-regexps): Make it variable.
15551 `imagemagick-register-types' modifies it, and the user may want
15552 to add new extensions for known image types.
15553 (imagemagick-register-types): Throw error if not using ImageMagick.
15554
0b4e93f1
LL
155552011-03-22 Leo Liu <sdl.web@gmail.com>
15556
15557 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15558 located before rcirc-prompt-end-marker.
15559 (rcirc-complete): Error if point is not after rcirc prompt.
15560 Handle the case when table is nil.
9882e214 15561 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 15562
fccee4ab
CY
155632011-03-22 Chong Yidong <cyd@stupidchicken.com>
15564
15565 * custom.el (custom--inhibit-theme-enable): Make it affect only
15566 custom-theme-set-variables and custom-theme-set-faces.
15567 (provide-theme): Ignore custom--inhibit-theme-enable.
15568 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15569 (custom-enabling-themes): Delete variable.
d86d2721
SM
15570 (enable-theme): Accept only loaded themes as arguments.
15571 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
15572 (custom-enabled-themes): Forbid themes from setting this.
15573 Eliminate use of custom-enabling-themes.
15574 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 15575
af896da6
LL
155762011-03-21 Leo Liu <sdl.web@gmail.com>
15577
15578 * ido.el (ido-read-internal): Add ido-selected to history instead
15579 of user input.
15580
78f64af0
SM
155812011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15582
15583 * subr.el (deferred-action-list, deferred-action-function):
15584 Mark obsolete.
15585
b16ac1ec
LL
155862011-03-21 Leo Liu <sdl.web@gmail.com>
15587
810f7698
LL
15588 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15589 change on 2011-02-13 (bug#8309).
15590
b16ac1ec
LL
15591 * minibuffer.el (read-file-name-function): Change default value.
15592 (read-file-name--defaults): Rename from read-file-name-defaults.
15593 (read-file-name-default): Rename from read-file-name.
15594 (read-file-name): Call read-file-name-function.
15595
4e05e67e
GM
155962011-03-21 Glenn Morris <rgm@gnu.org>
15597
15598 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15599 Doc fixes.
15600
4359915b
CY
156012011-03-21 Chong Yidong <cyd@stupidchicken.com>
15602
15603 * cus-theme.el: Add missing provide statement.
15604 (customize-create-theme): Extract theme value correctly.
15605 (custom-theme-visit-theme): Autoload.
15606 (customize-create-theme): Prompt before inserting default faces.
15607
1fe275ee
JB
156082011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
15609
15610 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15611 units and musical notes.
15612
cd394be1 156132011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
15614
15615 * ido.el (ido-read-internal): Use completing-read-default.
15616 (ido-completing-read): Fix compatibility with completing-read.
15617
7d476bde
CO
156182011-03-20 Christian Ohler <ohler@gnu.org>
15619
15620 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15621 (ert-delete-all-tests): Use `called-interactively-p' rather than
15622 `interactive-p'.
15623 (ert--make-xrefs-region): Respect END.
15624
fe0fb33e
CY
156252011-03-19 Chong Yidong <cyd@stupidchicken.com>
15626
ff854b0b
CY
15627 * dired-aux.el (dired-create-directory): Signal an error if the
15628 directory already exists (Bug#8246).
15629
fe0fb33e
CY
15630 * facemenu.el (list-colors-display): Call list-faces-display
15631 inside with-help-window.
15632 (list-colors-print): Use display property to align the final
15633 column, instead of checking window-width.
15634
576bce32
EZ
156352011-03-19 Eli Zaretskii <eliz@gnu.org>
15636
4d61f28d 15637 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
15638 windows-nt systems.
15639 (emerge-protect-metachars): Quote correctly for ms-dos and
15640 windows-nt systems.
15641
89c41d68 156422011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
15643
15644 * info.el (info-initialize): Replace all uses of `:' with
15645 path-separator for compatibility with non-Unix systems.
15646 Cache quoting of path-separator. (Bug#8258)
15647
b14e3e21 156482011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
15649
15650 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15651 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15652 (mouse-avoidance-mode): Fix typos in docstrings.
15653
4525ce3e
CY
156542011-03-19 Chong Yidong <cyd@stupidchicken.com>
15655
15656 * startup.el (package-subdirectory-regexp): Move from package.el.
15657 Omit \\` and \\', and let callers add them.
15658
15659 * emacs-lisp/package.el (package-strip-version)
15660 (package-load-all-descriptors): Add \\` and \\' to
15661 package-subdirectory-regexp before using it.
15662 (package-untar-buffer): New arg DIR; ensure that file untars only
15663 into this expected directory. Remove superfluous delete-region.
15664 (package-unpack): Caller changed.
15665 (package-tar-file-info): Use package-subdirectory-regexp.
15666
a904a09a 156672011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 15668
a904a09a
SM
15669 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
15670 diff-mode-shared-map (bug#8284).
15671 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
15672
156732011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15674
15675 * calendar/time-date.el (format-seconds): Use assoc instead of
15676 assoc-string, since assoc-string doesn't exist in XEmacs.
15677
171fc304
JB
156782011-03-17 Juanma Barranquero <lekktu@gmail.com>
15679
15680 * custom.el (custom-known-themes): Reflow docstring.
15681 (custom-theme-load-path): Fix typo in docstring.
15682 (load-theme): Fix typo in error message.
15683 (custom-available-themes, custom-variable-theme-value):
15684 Use `let', not `let*'.
15685
d71990a1
JB
156862011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15687
15688 * calc/README: Mention inclusion of musical notes.
15689
15690 * calc/calc-units.el (calc-lu-quant): Rename from
15691 `calc-logunits-quantity'.
15692 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15693 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15694 (calc-db): Rename from `calc-dblevel'.
15695 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15696 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15697 (calc-np): Rename from `calc-nplevel'.
15698 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15699 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15700 (calc-lu-plus): Rename from `calc-logunits-add'.
15701 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15702 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15703 (calc-lu-minus): Rename from `calc-logunits-sub'.
15704 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15705 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15706 (calc-lu-times): Rename from `calc-logunits-mul'.
15707 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15708 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15709 (calc-lu-divide): Rename from `calc-logunits-div'.
15710 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15711 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15712
15713 * calc/calc-ext.el (calc-init-extensions): Update the names of the
15714 functions being autoloaded.
15715
15716 * calc/calc.el (calc-lu-power-reference): Rename from
15717 `calc-logunits-power-reference'.
15718 (calc-lu-field-reference): Rename from
15719 `calc-logunits-field-reference'.
15720
7a71b18d
GM
15721 * calc/calc-help.el (calc-l-prefix-help):
15722 Mention musical note functions.
d71990a1 15723
40c2934b
SM
157242011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
15725
15726 * minibuffer.el (completion-all-sorted-completions):
15727 Use :completion-cycle-penalty text property if present.
15728
b0911414
KM
157292011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
15730
15731 * allout.el (allout-yank-processing): Adjust for new rebulleting
15732 regime so bullet being yanked is used without prompting the user
15733 for a choice.
15734
8a05b668
JB
157352011-03-16 Juanma Barranquero <lekktu@gmail.com>
15736
15737 * startup.el (command-line): Warn the user that _emacs is deprecated.
15738
5ba5fb81
JB
157392011-03-16 Juanma Barranquero <lekktu@gmail.com>
15740
15741 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15742 (delphi-verbose, delphi-comment-face, delphi-string-face)
15743 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15744 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15745 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15746 (delphi-new-comment-line, delphi-font-lock-defaults)
15747 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15748 Fix typos in docstrings.
15749
2dab465b
KM
157502011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
15751
5ba5fb81 15752 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
15753 Invert the roles of character and string values for INSTEAD, so a
15754 string is used for the more common case of a defaulting prompt.
15755
0adf5618
SM
157562011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15757
15758 * progmodes/ruby-mode.el (ruby-backward-sexp):
15759 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15760 * play/gamegrid.el (gamegrid-make-face):
15761 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15762 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15763 * notifications.el (notifications-notify):
15764 * net/xesam.el (xesam-search-engines):
15765 * net/quickurl.el (quickurl-list-insert):
15766 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15767
d72700e5
CY
157682011-03-15 Chong Yidong <cyd@stupidchicken.com>
15769
15770 * startup.el (command-line): Update package subdirectory regexp.
15771
49c5410a
SM
157722011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15773
c6eee9aa
SM
15774 * allout.el (allout-abbreviate-flattened-numbering)
15775 (allout-mode-deactivate-hook): Fix up obsolescence "date".
15776
49c5410a
SM
15777 * subr.el (read-char-choice): Only show the cursor after the prompt,
15778 not after the answer.
15779
047b2bb9
KR
157802011-03-15 Kevin Ryde <user42@zip.com.au>
15781
15782 * help-fns.el (variable-at-point): Skip leading quotes, if any
15783 (bug#8253).
15784
0a57d256
SM
157852011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15786
15787 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15788 warning message.
15789
77c992bc
MA
157902011-03-14 Michael Albinus <michael.albinus@gmx.de>
15791
15792 * shell.el (shell): When called interactively, offer to change the
15793 shell file name on remote hosts.
15794
eebc475d
TZ
157952011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15796
15797 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15798 integration for LDAP parameters. The host, base, user or binddn,
15799 and secret tokens can be specified in a netrc file, for instance.
15800 This is optional because an `auth-source' parameter must be
15801 specified in the search attributes.
15802
9d05d1ba
JB
158032011-03-13 Juanma Barranquero <lekktu@gmail.com>
15804
15805 * help.el (describe-mode): Link to the mode's definition (bug#8185).
15806
09d9db2c
GM
158072011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15808
15809 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15810 into declaration. Remove redundant and harmful binding.
15811
158122011-03-12 Eli Zaretskii <eliz@gnu.org>
15813
15814 * files.el (file-ownership-preserved-p): Pass `integer' as an
15815 explicit 2nd argument to `file-attributes'. If the file's owner
15816 is the Administrators group on Windows, and the current user is
15817 Administrator, consider that a match.
15818
15819 * server.el (server-ensure-safe-dir): Consider server directory
15820 safe on MS-Windows if its owner is the Administrators group while
15821 the current Emacs user is Administrator. Use `=' to compare
15822 numerical UIDs, since they could be integers or floats.
15823
219bd536
JB
158242011-03-12 Juanma Barranquero <lekktu@gmail.com>
15825
15826 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15827
f3afd36b
MA
158282011-03-12 Michael Albinus <michael.albinus@gmx.de>
15829
15830 Sync with Tramp 2.2.1.
15831
15832 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15833
15834 * net/trampver.el: Update release number.
15835
3aaaa6f1
SM
158362011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15837
94642599
SM
15838 * progmodes/compile.el (compilation--previous-directory): Fix up
15839 various nil/dead-marker mismatches (bug#8014).
15840 (compilation-directory-properties, compilation-error-properties):
15841 Don't call it at a position past the one we're about to change.
15842
3aaaa6f1
SM
15843 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15844 Disable obsolescence warnings in the file that declares it.
15845
14239447
KM
158462011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
15847
099c39a4
JB
15848 * allout-widgets.el (allout-widgets-tally):
15849 Initialize allout-widgets-tally as a hash table rather than nil to
15850 prevent mode-line redisplay warnings. Also, clarify the module
15851 description and fix a comment typo.
14239447 15852
135e287c
JB
158532011-03-11 Juanma Barranquero <lekktu@gmail.com>
15854
15855 * help-fns.el (describe-variable): Don't complete keywords.
15856 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15857
ffbf300e
CY
158582011-03-10 Chong Yidong <cyd@stupidchicken.com>
15859
ba08b241
CY
15860 * emacs-lisp/package.el (package-version-join): Impose a standard
15861 string representation for pre/alpha/beta version lists.
15862 (package-unpack-single): Standardize the directory name by passing
15863 it through package-version-join.
15864 (package-strip-rcs-id): Accept any version string that does not
15865 signal an error in version-to-list.
ffbf300e 15866
f346fd6b
MA
158672011-03-10 Michael Albinus <michael.albinus@gmx.de>
15868
15869 * simple.el (delete-trailing-whitespace): Return nil for the
15870 benefit of `write-file-functions'.
15871
ccb55d27
GM
158722011-03-10 Glenn Morris <rgm@gnu.org>
15873
5ceaac0c
GM
15874 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15875
02da65ff
GM
15876 * vc/vc-git.el (vc-git-program): New option.
15877 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15878 (vc-git--call): Use it.
15879
b2f603cc
GM
15880 * eshell/esh-util.el (eshell-condition-case): Doc fix.
15881
5772caab
GM
15882 * cus-edit.el (Custom-newline): If no button at point, look
15883 for a subgroup button at start-of-line. (Bug#2298)
15884
ccb55d27
GM
15885 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15886
ec6ecaed
JD
158872011-03-10 Julien Danjou <julien@danjou.info>
15888
15889 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15890 `cursor-type' is nil.
15891
9d5aa01d
JB
158922011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
15893
15894 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15895
b6a5875b
KM
158962011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
15897
7a71b18d 15898 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
15899 preserves the existing header prefix, rebulleting it if necessary,
15900 rather than replacing it. This is necessary for proper operation
15901 of cooperative addons like allout-widgets.
1154d12e
JB
15902 (allout-make-topic-prefix, allout-rebullet-heading):
15903 Change SOLICIT arg to INSTEAD, and interpret additionally a string
15904 value as alternate bullet to be used, instead of prompting the user
15905 for a bullet character.
b6a5875b 15906
ee545c35
MA
159072011-03-09 Michael Albinus <michael.albinus@gmx.de>
15908
d86d2721
SM
15909 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15910 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
15911 `tramp-default-port'.
15912
c47971d7
DD
159132011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15914
15915 * net/rcirc.el (rcirc-handler-001): Remove useless
15916 with-rcirc-process-buffer.
15917 (rcirc-check-auth-status): Swap arguments to string-match.
15918
13522cb4
GM
159192011-03-09 Glenn Morris <rgm@gnu.org>
15920
0be6f4f1
GM
15921 * shell.el (shell-mode):
15922 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
15923
13522cb4
GM
15924 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
15925 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
15926
515de2e3
CY
159272011-03-08 Chong Yidong <cyd@stupidchicken.com>
15928
15929 * emacs-lisp/package.el (package-refresh-contents)
15930 (package-menu-execute): Use condition-case-no-debug.
15931
b511b994
MA
159322011-03-08 Michael Albinus <michael.albinus@gmx.de>
15933
15934 * simple.el (shell-command-to-string): Use `process-file'.
15935
15936 * emacs-lisp/package.el (package-tar-file-info): Handle also
15937 remote files.
15938
d86d2721
SM
15939 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15940 Use `equal' for upload base check.
b511b994 15941
25bbfb31
AM
159422011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
15943
15944 * textmodes/texinfo.el (texinfo-environments):
15945 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
15946
be996521
GM
159472011-03-08 Glenn Morris <rgm@gnu.org>
15948
e9c8529f
GM
15949 * cus-start.el (cursor-in-non-selected-windows):
15950 Fix :set quoting oddness. (Bug#8192)
15951
be996521
GM
15952 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
15953 in some setf expressions. (Bug#2159)
15954
2bb5649e
CY
159552011-03-08 Chong Yidong <cyd@stupidchicken.com>
15956
15957 * custom.el (custom-available-themes): Return themes in
15958 alphabetical order.
15959
33383987 15960See ChangeLog.15 for earlier changes.
e3d51b27
MR
15961
15962;; Local Variables:
15963;; coding: utf-8
e3d51b27
MR
15964;; End:
15965
acaf905b 15966 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
15967
15968 This file is part of GNU Emacs.
15969
15970 GNU Emacs is free software: you can redistribute it and/or modify
15971 it under the terms of the GNU General Public License as published by
15972 the Free Software Foundation, either version 3 of the License, or
15973 (at your option) any later version.
15974
15975 GNU Emacs is distributed in the hope that it will be useful,
15976 but WITHOUT ANY WARRANTY; without even the implied warranty of
15977 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15978 GNU General Public License for more details.
15979
15980 You should have received a copy of the GNU General Public License
15981 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.