TODO updates; add wishlist section
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
c207708c
SM
12012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 Make inlining of other-mode interpreted functions work (bug#11799).
4 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5 (byte-compile): Use it to fix compilation of lexical-binding closures.
6 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
7 function, if needed.
8
3fd56834
SM
92012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10
04901786
SM
11 * help-mode.el (help-make-xrefs): Don't just withstand
12 cyclic-variable-indirection but any error in documentation-property.
13
1ec4b7b2
SM
14 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
15 memory use.
16 * bindings.el (bindings--define-key): New function.
17 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
18 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
19 * bindings.el: Use it to purecopy define-key bindings.
20
e309e2a5
SM
21 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
22
d5c6faf9
SM
23 * emacs-lisp/cl.el (flet): Mark obsolete.
24 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
25 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
26 * progmodes/js.el (js-c-fill-paragraph):
27 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
28 (ebrowse-switch-member-buffer-to-derived-class):
29 * play/5x5.el (5x5-solver): Use cl-flet.
30
6e9590e2
SM
31 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
32 (cl--symbol-function): New macro.
33 (cl--letf, cl--letf*): Use it.
34
3fd56834
SM
35 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
36 Strip "toggle-" if any.
37
35ff222c
GM
382012-06-27 Glenn Morris <rgm@gnu.org>
39
1ba6038a
GM
40 * info.el (Info-default-directory-list): Move here from paths.el.
41 * paths.el: Remove file, which is now empty.
42 * loadup.el: No longer load "paths".
43
0ea0e51b
GM
44 * custom.el (custom-initialize-delay): Doc fix.
45
35ff222c
GM
46 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
47 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
48 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
49 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
50 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
51 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
52 * eshell/eshell.el (eshell-defgroup): Remove alias.
53
c89926a5
CY
542012-06-27 Chong Yidong <cyd@gnu.org>
55
56 * help.el (help-enable-auto-load): New variable.
57
58 * help-fns.el (help-fns--autoloaded-p): New function.
59 (describe-function-1): Refer to a function as "autoloaded" if it
60 was autoloaded at any time in the past. Perform autoloading if
61 help-enable-auto-load is non-nil.
62
cc06e7e7
EZ
632012-06-26 Eli Zaretskii <eliz@gnu.org>
64
65 * makefile.w32-in (compile, compile-always): Depend on
66 update-subdirs, not on subdirs.el. Otherwise, several different
67 sub-targets of 'bootstrap' running in parallel could
68 simultaneously write to subdirs.el, producing a garbled file.
69
d2c32364
SS
702012-06-26 Sam Steingold <sds@gnu.org>
71
72 * files.el (file-name-base): New convenience function.
0d14cc21
GM
73 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
74 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
75 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
76 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
77 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
78 * textmodes/tex-mode.el: Use it.
79 Did not touch cedet and org because they are maintained elsewhere.
80
5cf983b2
MR
812012-06-26 Martin Rudalics <rudalics@gmx.at>
82
83 * calendar/calendar.el (calendar-exit): Don't try to delete or
84 iconify last frame. See:
85 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
86
8c4f2952
JD
872012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
88
89 * server.el (server-process-filter): Remember dir in the
90 process's `server-client-directory' properties.
91
772b2e2c
CY
922012-06-24 Chong Yidong <cyd@gnu.org>
93
94 * xml.el (xml-parse-tag): Correctly handle comment embedded in
95 non-tag text.
96
711b11e1
JB
972012-06-23 Juanma Barranquero <lekktu@gmail.com>
98
99 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
100
dc5d230c
SM
1012012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
102
103 * help-fns.el (describe-variable): Don't croak when doc is not found.
104 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
105 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
106 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
107 * emacs-lisp/smie.el (smie-next-sexp): CSE.
108 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
109 ((lambda ..) ..).
110 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
111
136e1c1d
CY
1122012-06-23 Chong Yidong <cyd@gnu.org>
113
e8c1cabf
CY
114 * info.el (Info-mouse-follow-link): Accept symbol values of
115 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
116 (Info-fontify-node): Use Info-link-keymap for all navigation
117 buttons, with link-args property to perform the desired action.
118 (Info-link-keymap): Doc fix.
119 (Info-next-link-keymap, Info-prev-link-keymap)
120 (Info-up-link-keymap): Delete now-unused keymaps.
121
0e9e6c6a
CY
1222012-06-23 Chong Yidong <cyd@gnu.org>
123
05e89fea
CY
124 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
125
0e9e6c6a
CY
126 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
127 system abbrevs.
128
129 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
130
e33c6771
SM
1312012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
132
b68581e2
SM
133 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
134 (bug#11719).
135
e33c6771
SM
136 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
137 the requote function doesn't work properly (bug#11714).
138
7117e105
GM
1392012-06-23 Glenn Morris <rgm@gnu.org>
140
141 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
142
36cec983
SM
1432012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
144
145 Further GV/CL cleanups.
146 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
147 gv-expander.
148 (gv--defun-declaration): New function.
149 (defun-declarations-alist): Use it.
150 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
151 (gv-place): Autoload.
152 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
153 original definition of dotimes and dolist.
154 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
155 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
156 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
157 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
158 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
159 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
160 to the function's definition.
161 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
162 * window.el:
163 * files.el:
164 * faces.el:
165 * env.el: Don't use CL.
166
d35af63c
PE
1672012-06-22 Paul Eggert <eggert@cs.ucla.edu>
168
169 Support higher-resolution time stamps (Bug#9000).
170
171 * calendar/time-date.el (with-decoded-time-value): New arg
172 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
173 (encode-time-value): New optional arg PICO. New type 3.
174 (time-to-seconds) [!float-time]: Support the new picoseconds
175 component if it's used.
176 (seconds-to-time, time-subtract, time-add):
177 Support ps-resolution time stamps as well.
178
179 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
180 (timerp): Timer vectors now have length 9, not 8.
181 (timer--time): Support new-style (4-part) time stamps.
182 (timer-next-integral-multiple-of-time): Time stamps now have
183 picosecond resolution, so take a bit more care about rounding.
184 (timer-relative-time, timer-inc-time): New optional arg psecs.
185 (timer-set-time-with-usecs): Set psecs to 0.
186 (timer--activate): Check psecs component, too.
187
188 * proced.el (proced-time-lessp): Support ps-resolution stamps.
189
ac77b21a
SM
1902012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
191
f143bfe3
SM
192 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
193 Move the non-essential binding to the post/pre-command-hook where it is
194 more obviously correct.
195
ac77b21a
SM
196 * subr.el (read-passwd): Don't use a history at all.
197 * savehist.el (savehist-save): Remove password saved accidentally
198 because of the above bug.
199
76386c5a
BG
2002012-06-22 Bastien Guerry <bzg@gnu.org>
201
202 * files.el (toggle-read-only): Display a message telling whether
203 the buffer is read-only or not (bug#11726).
204
2ee3d7f0
SM
2052012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
206
207 * emacs-lisp/gv.el: New file.
208 * subr.el (push, pop): Extend to generalized variables.
209 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
210 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
211 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
212 gv-define-simple-setter, and gv-define-expander.
213 Remove setf-methods defined in gv. Rename cl-setf -> setf.
214 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
215 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
216 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
217 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
218 gv-letplace.
219 (cl-defstruct): Don't define setf-method any more.
220 * emacs-lisp/cl.el (flet): Don't autoload.
221 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
222 (define-setf-expander, defsetf, define-modify-macro)
223 (cl-struct-setf-expander): Move from cl-lib.el.
224 * emacs-lisp/syntax.el:
225 * emacs-lisp/ewoc.el:
226 * emacs-lisp/smie.el:
227 * emacs-lisp/cconv.el:
228 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
229 (timer--time): Use gv-define-simple-setter.
230 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
231 to avoid coding-system problems in subr.el. Adjust all users.
232 (macroexp--maxsize, macroexp-small-p): New functions.
233 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
234 * scroll-bar.el (scroll-bar-mode):
235 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
236 (normal-erase-is-backspace-mode): Don't use the `eq' place.
237 * winner.el (winner-configuration, winner-make-point-alist)
238 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
239 * files.el (locate-file-completion-table): Avoid list*.
240
c5695d1d
CY
2412012-06-22 Chong Yidong <cyd@gnu.org>
242
243 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
244 (dired-create-files): Doc fix (Bug#11329).
245 (dired-do-copy): Doc fix (Bug#11334).
246 (dired-mark-read-string): Doc fix (Bug#11553).
247
2ee3d7f0
SM
248 * dired.el (dired-recursive-copies, dired-recursive-deletes):
249 Doc fix (Bug#11326).
c5695d1d
CY
250 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
251 (dired-dwim-target): Doc fix.
252
253 * wdired.el (wdired-mode): Doc fix.
254
89b5595a
GM
2552012-06-22 Glenn Morris <rgm@gnu.org>
256
575db3f1
GM
257 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
258 (pcmpl-rpm-cache-stamp-file): New constant.
259 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
260 (pcmpl-rpm-packages): Optionally cache list of packages.
261
a4c8dd51
GM
262 * pcmpl-rpm.el (pcmpl-rpm): New group.
263 (pcmpl-rpm-query-options): New option.
264 (pcmpl-rpm-packages): No need to inline it.
265 Use pcmpl-rpm-query-options.
266
89b5595a
GM
267 * calendar/calendar.el (calendar-in-read-only-buffer):
268 Avoid some needless mode changes.
269
e76f0800
CY
2702012-06-21 Chong Yidong <cyd@gnu.org>
271
272 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
273 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 274 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 275
297a8f1d
CY
2762012-06-20 Chong Yidong <cyd@gnu.org>
277
278 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
279
d34c18b1
DR
2802012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
281
282 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
283 (bug#11201).
284
32f7f28e
CY
2852012-06-20 Chong Yidong <cyd@gnu.org>
286
287 * term.el (term-window-width): Handle the case of a missing right
288 fringe (Bug#8837).
289 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
290 (term-mode): Use define-derived-mode. Minor cleanups.
291 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
292 (term-move-columns, term-insert-char, term-emulate-terminal)
293 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 294
493c6688
MA
2952012-06-20 Michael Albinus <michael.albinus@gmx.de>
296
d34c18b1
DR
297 * net/ange-ftp.el (ange-ftp-get-passwd):
298 Bind `enable-recursive-minibuffers'.
493c6688
MA
299 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
300
3f06ecf4
DR
3012012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
302
303 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
304
68f12411
GM
3052012-06-19 Glenn Morris <rgm@gnu.org>
306
307 * progmodes/python.el (python-mode): Derive from prog-mode.
308
b3820318
KG
3092012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
310
311 * emulation/edt.el (edt-default-menu-bar-update-buffers)
312 (edt-user-menu-bar-update-buffers): New functions.
313 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
314
c6bf3022
CY
3152012-06-19 Chong Yidong <cyd@gnu.org>
316
317 * subr.el (with-selected-window): Preserve the selected window's
318 terminal's top-frame (Bug#4702).
319
320 * window.el (save-selected-window): Likewise.
321
25f09295
SM
3222012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
323
324 * progmodes/python.el (python-rx-constituents): Move backquote.
325 (python-skeleton-define, python-define-auxiliary-skeleton):
326 Use `declare'.
327
6b11952a
MA
3282012-06-18 Michael Albinus <michael.albinus@gmx.de>
329
330 * minibuffer.el (read-file-name-default): Revert the patch from
331 2012-06-17.
332
ee4b1330
SM
3332012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
334
335 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
336 (pcase--u1, pcase--q1): Don't use apply-partially.
337
35647f79
GM
3382012-06-18 Glenn Morris <rgm@gnu.org>
339
340 * progmodes/python.el (python-proc, python-buffer)
341 (python-send-receive, python-send-string): Fix obsolete versions.
342
24b0cff0
MR
3432012-06-18 Martin Rudalics <rudalics@gmx.at>
344
345 * window.el (special-display-p): Completely remove stringp
346 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
347
29855149
MA
3482012-06-17 Michael Albinus <michael.albinus@gmx.de>
349
350 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
351
352 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
353
354 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
355 * net/tramp-sh.el (tramp-maybe-open-connection):
356 Throw if `non-essential' is non-nil.
357
07463363
MR
3582012-06-17 Martin Rudalics <rudalics@gmx.at>
359
360 * window.el (special-display-p): Signal an error if BUFFER-NAME
361 is not a string (Bug#11713).
362
48d1354e
PE
3632012-06-17 Paul Eggert <eggert@cs.ucla.edu>
364
365 * progmodes/python.el (python-info-beginning-of-backslash):
366 Rename from python-info-beginning-of-backlash, as a spelling fix.
367
eb4a8a9a
CY
3682012-06-17 Chong Yidong <cyd@gnu.org>
369
370 * term.el (term-emulate-terminal): If term-check-size is called,
371 move point to the process mark without resetting point (Bug#4635).
372
ddfbf826 3732012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
374
375 * international/mule-cmds.el (mule-menu-keymap)
376 (set-language-environment, set-locale-environment): Doc tweaks.
377
9b0e3eba
AA
3782012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
379
380 * cus-face.el (custom-face-attributes): Add wave-style underline
381 attribute.
382 * faces.el (set-face-attribute): Update docstring to describe
383 wave-style underline attribute.
384
771e3eae
CY
3852012-06-16 Chong Yidong <cyd@gnu.org>
386
387 * term/xterm.el (terminal-init-xterm): Discard input before
388 querying background mode (Bug#10959).
389
7ae2ea10
SM
3902012-06-16 Stefan Merten <smerten@oekonux.de>
391
392 * textmodes/rst.el: Added and corrected some comments.
393 (rst-re-alist-def): Improve symbol syntax.
394 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
395 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
396 (rst-official-version, rst-official-cvs-rev): Update version
397 information.
7ae2ea10 398
b6974efa
JB
3992012-06-15 Juanma Barranquero <lekktu@gmail.com>
400
401 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
402 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
403
8826d473
GM
4042012-06-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
405
406 * progmodes/python.el: New python.el merge.
407 (python-guess-indent): Obsolete var.
408 (python-indent-guess-indent-offset): New defcustom.
409 (python-indent): Obsolete var.
410 (python-indent-offset): New defcustom.
411 (python-python-command, python-jython-command): Delete var.
412 (python-shell-interpreter): New defcustom.
413 (python-pdbtrack-do-tracking-p): Delete var.
414 (python-pdbtrack-activate): New defcustom.
415 (python-use-skeletons): Obsolete var.
416 (python-skeleton-autoinsert): New defcustom.
417 (inferior-python-filter-regexp, python-continuation-offset)
418 (python-honour-comment-indentation, python-indent-string-contents)
419 (python-jython-packages, python-mode-hook)
420 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
421 (python-shell-prompt-alist)
422 (python-source-modes): Delete defcustoms.
423 (python-check-buffer-name, python-eldoc-setup-code)
424 (python-eldoc-string-code, python-ffap-setup-code)
425 (python-ffap-string-code, python-fill-comment-function)
426 (python-fill-decorator-function, python-fill-paren-function)
427 (python-fill-string-function, python-imenu-include-defun-type)
428 (python-imenu-make-tree, python-imenu-subtree-root-label)
429 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
430 (python-shell-compilation-regexp-alist)
431 (python-shell-completion-module-string-code)
432 (python-shell-completion-pdb-string-code)
433 (python-shell-completion-setup-code)
434 (python-shell-completion-string-code)
435 (python-shell-enable-font-lock, python-shell-exec-path)
436 (python-shell-extra-pythonpaths)
437 (python-shell-internal-buffer-name, python-shell-interpreter-args)
438 (python-shell-process-environment)
439 (python-shell-prompt-block-regexp)
440 (python-shell-prompt-output-regexp)
441 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
442 (python-shell-send-setup-max-wait, python-shell-setup-codes)
443 (python-shell-virtualenv-path): New defcustoms.
444 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
445 (inferior-python-mode-syntax-table, python--prompt-regexp)
446 (python-buffer, python-command python-python-command)
447 (python-default-template, python-imports, python-indent-index)
448 (python-indent-list, python-indent-list-length)
449 (python-mode-running, python-pdbtrack-is-tracking-p)
450 (python-preoutput-continuation, python-preoutput-leftover)
451 (python-preoutput-result, python-preoutput-skip-next-prompt)
452 (python-prev-dir/file, python-recursing)
453 (python-saved-check-command, python-version-checked)
454 (python-which-func-length-limit)
455 (view-return-to-alist): Delete vars.
456 (python-check-custom-command, python-dotty-syntax-table)
457 (python-imenu-index-alist, python-indent-current-level)
458 (python-indent-dedenters, python-indent-levels)
459 (python-nav-beginning-of-defun-regexp)
460 (python-nav-list-defun-positions-cache)
461 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
462 (python-shell-internal-buffer)
463 (python-skeleton-available): New vars.
464 (def-python-skeleton): Delete macro.
465 (python-skeleton-define): New macro.
466 (python-define-auxiliary-skeleton, python-rx): New macros.
467 (python-insert-class): Delete command.
468 (python-skeleton-class): New command.
469 (python-insert-def): Delete command.
470 (python-skeleton-def): New command.
471 (python-insert-for): Delete command.
472 (python-skeleton-for): New command.
473 (python-insert-if): Delete command.
474 (python-skeleton-if): New command.
475 (python-insert-try/except, python-insert-try/finally): Delete commands.
476 (python-skeleton-try): New command.
477 (python-insert-while): Delete command.
478 (python-skeleton-while): New command.
479 (python-backspace): Delete command.
480 (python-indent-dedent-line-backspace): New command.
481 (python-electric-colon): Delete command.
482 (python-indent-electric-colon): New command.
483 (python-guess-indent): Delete command.
484 (python-indent-guess-indent-offset): New command.
485 (python-shift-left): Delete command.
486 (python-indent-shift-left): New command.
487 (python-shift-right): Delete command.
488 (python-indent-shift-right): New command.
489 (python-find-function): Delete command.
490 (python-nav-jump-to-defun): New command.
491 (python-next-statement): Delete command.
492 (python-nav-forward-sentence): New command.
493 (python-previous-statement): Delete command.
494 (python-nav-backward-sentence): New command.
495 (python-fill-paragraph): Delete command.
496 (python-fill-paragraph-function): New command.
497 (python-send-buffer): Delete command.
498 (python-shell-send-buffer): New command.
499 (python-send-defun): Delete command.
500 (python-shell-send-defun): New command.
501 (python-send-region, python-send-region-and-go): Delete commands.
502 (python-shell-send-region)
503 (python-shell-switch-to-shell): New commands.
504 (python-send-string): Delete command.
505 (python-shell-send-string): New command.
506 (python-switch-to-python): Delete command.
507 (python-shell-switch-to-shell): New command.
508 (python-describe-symbol): Delete command.
509 (python-eldoc-at-point): New command.
510 (python--set-prompt-regexp, python-args-to-list)
511 (python-after-info-look, python-check-version)
512 (python-check-comint-prompt, python-find-imports)
513 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
514 (python-unload-function, python-expand-template)
515 (python-maybe-jython, python-preoutput-filter)
516 (python-pdbtrack-get-source-buffer)
517 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
518 (python-pdbtrack-toggle-stack-tracking)
519 (python-pdbtrack-track-stack-file, python-initial-text)
520 (python-first-word, python-comment-line-p, python-send-command)
521 (python-setup-brm, python-sentinel, python-set-proc)
522 (python-skip-out, python-input-filter, python-outdent-p)
523 (python-outline-level, python-backslash-continuation-line-p)
524 (python-end-of-block, python-end-of-statement, python-mark-block)
525 (python-beginning-of-block, python-beginning-of-statement)
526 (python-blank-line-p, python-beginning-of-string)
527 (python-open-block-statement-p): Delete functions.
528 (python-indent-line, python-indent-line-1): Delete functions.
529 (python-indent-line): New function.
530 (python-indentation-levels): Delete function.
531 (python-indent-calculate-levels): New function.
532 (python-proc): Delete function.
533 (python-shell-get-process): New function.
534 (python-send-receive): Delete function.
535 (python-shell-send-string-no-output): New function.
536 (python-module-path): Delete function.
537 (python-ffap-module-path): New function.
538 (python-completion-at-point)
539 (python-symbol-completions): Delete functions.
540 (python-completion-complete-at-point): New function.
541 (python-load-file): Delete function.
542 (python-shell-send-file): New function.
543 (python-calculate-indentation): Delete function.
544 (python-indent-calculate-indentation): New function.
545 (python-skip-comments/blanks): Delete function.
546 (python-util-forward-comment): New function.
547 (python-continuation-line-p): Delete function.
548 (python-info-continuation-line-p): New function.
549 (python-which-func, python-current-defun): Delete function.
550 (python-info-current-defun): New function.
551 (python-beginning-of-defun): Delete function.
552 (python-nav-beginning-of-defun): New function.
553 (python-close-block-statement-p)
554 (python-block-end-p): Delete function.
555 (python-info-closing-block): New function.
556 (python-comint-output-filter-function)
557 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
558 (python-fill-comment, python-fill-decorator, python-fill-paren)
559 (python-fill-string, python-imenu-make-element-tree)
560 (python-imenu-make-tree, python-imenu-tree-assoc)
561 (python-indent-context, python-indent-dedent-line)
562 (python-indent-line-function)
563 (python-indent-post-self-insert-function)
564 (python-indent-toggle-levels)
565 (python-info-assignment-continuation-line-p)
566 (python-info-beginning-of-backlash)
567 (python-info-block-continuation-line-p)
568 (python-info-closing-block-message)
569 (python-info-line-ends-backslash-p)
570 (python-info-looking-at-beginning-of-defun)
571 (python-info-ppss-context, python-info-ppss-context-type)
572 (python-nav-list-defun-positions, python-nav-read-defun)
573 (python-nav-sentence-end, python-nav-sentence-start)
574 (python-pdbtrack-comint-output-filter-function)
575 (python-pdbtrack-set-tracked-buffer)
576 (python-shell-calculate-exec-path)
577 (python-shell-calculate-process-environment)
578 (python-shell-completion--do-completion-at-point)
579 (python-shell-completion--get-completions)
580 (python-shell-completion-complete-at-point)
581 (python-shell-completion-complete-or-indent)
582 (python-shell-get-or-create-process)
583 (python-shell-get-process-name)
584 (python-shell-internal-get-or-create-process)
585 (python-shell-internal-get-process-name)
586 (python-shell-internal-send-string, python-shell-make-comint)
587 (python-shell-parse-command, python-shell-send-setup-code)
588 (python-skeleton-add-menu-items)
589 (python-util-clone-local-variables, python-util-position)
590 (run-python-internal, python-indentation-levels)
591 (python-nav-beginning-of-defun)
592 (python-completion-complete-at-point): New functions.
593 (run-python): Change arguments. New API requirements.
594
4302f5ba
SM
5952012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
596
f38ea36d
SM
597 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
598 (bug#11649).
599
600 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
601 (macroexp--expand-all): Use it.
602
4302f5ba
SM
603 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
604 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
605 Use `cl-function' instead.
606
33377562
JB
6072012-06-14 Juanma Barranquero <lekktu@gmail.com>
608
609 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
610 Suggested by Stefan Monnier while discussing bug#11657.
611
54c5ba1a
SS
6122012-06-14 Sam Steingold <sds@gnu.org>
613
614 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
615
f9f1b1fe
AS
6162012-06-14 Andreas Schwab <schwab@linux-m68k.org>
617
618 * play/doctor.el (doctor-doc): Remove parameter and use
619 doctor-sent instead of sent.
620 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
621
a81068ba
SM
6222012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
623
5a315f9c
SM
624 * files.el: Require cl-lib.
625 (file-name-non-special): Replace case -> cl-case.
626
627 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
628
a81068ba
SM
629 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
630 mapping from #' to function*.
631
8cca9703
CY
6322012-06-13 Chong Yidong <cyd@gnu.org>
633
634 * mouse.el (mouse-drag-track): Do not set the mark if the user
635 releases the mouse without selecting anything (Bug#11588).
636
a12ac9d7
SM
6372012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
638
ccf1dc18
SM
639 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
640 as well (bug#11646).
641
ef62b23d
SM
642 * loadup.el: Count byte-code functions as well.
643
c4c8444a
SM
644 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
645 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
646
a12ac9d7
SM
647 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
648 (bug#11649). Add cl-defun and cl-defmacro.
649
87e6e64f
DA
6502012-06-13 Drew Adams <drew.adams@oracle.com>
651
652 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
653 Fix last change.
654
682cefaf
MA
6552012-06-13 Michael Albinus <michael.albinus@gmx.de>
656
657 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
658 Otherwise, it blocks in batch mode.
659
773e1f08
JB
6602012-06-13 Juanma Barranquero <lekktu@gmail.com>
661
662 * help-mode.el (bookmark-make-record-default): Declare.
663
60057926
CY
6642012-06-13 Chong Yidong <cyd@gnu.org>
665
666 * emacs-lisp/package.el (list-packages): Compute a list of
667 packages that are newly-available since the last list-packages
668 invocation.
669 (package-menu--new-package-list): New var.
670 (package-menu--generate, package-menu--print-info)
671 (package-menu--status-predicate, package-menu-mark-install):
672 Handle new status label "new".
673
ad4d226c
SM
6742012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
675
676 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
677 conversion to backquotes.
678
f1a4e679
CY
6792012-06-12 Chong Yidong <cyd@gnu.org>
680
681 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
682 Rename from gud-inhibit-global-bindings.
683
684 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
685
686 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
687 hook from nxml-glyph-set-hook.
688
689 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
690 declaration.
691
692 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
693
694 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
695 Convert to defcustom.
696
0c9e42b5
DA
6972012-06-12 Drew Adams <drew.adams@oracle.com>
698
699 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
700 New functions.
701 (help-mode): Use them.
702
09e06855
GM
7032012-06-11 Glenn Morris <rgm@gnu.org>
704
705 * progmodes/fortran.el (fortran-font-lock-keywords-3):
706 Use preprocessor face for directives.
707 (fortran-directive-re): Doc fix.
708
71adb94b
SM
7092012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
710
2eb87922
SM
711 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
712 conversion to backquotes (bug#11652).
713
71adb94b
SM
714 Fix compiler-expansion of CL's cXXr functions (bug#11673).
715 * emacs-lisp/cl-lib.el (cl--defalias): New function.
716 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
717 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
718 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
719 (cl-ninth, cl-tenth): Mark them as inlinable.
720 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
721 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
722 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
723 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
724 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
725 (cl-list*, cl-adjoin): Don't put an autoload manually.
726 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
727 (cl--compiler-macro-list*): Add autoload cookie.
728 (cl--compiler-macro-cXXr): New function.
2eb87922 729
71adb94b
SM
730 * help-fns.el (help-fns--compiler-macro): New function extracted from
731 describe-function-1; follow aliases and use `compiler-macro' property.
732 (describe-function-1): Use it.
733
a6674402
CY
7342012-06-11 Chong Yidong <cyd@gnu.org>
735
736 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
737 is uninstalled, if imagemagick is installed.
738
bb3faf5b
SM
7392012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
740
741 * emacs-lisp/cl-lib.el: Use lexical-binding.
742 (cl-map-extents, cl-maclisp-member): Remove.
743 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
744 (cl--set-substring, cl--block-wrapper, cl--block-throw)
745 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
746 * emacs-lisp/cl-extra.el: Use lexical-binding.
747 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
748 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
749 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
750 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
751 * emacs-lisp/cl-seq.el: Use lexical-binding.
752 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
753 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
754 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
755 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
756 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
757 CL's internals.
758
2fe4b125
MA
7592012-06-11 Michael Albinus <michael.albinus@gmx.de>
760
761 Sync with Tramp 2.2.6-pre.
762
763 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
764 `print-length' and `print-level' to nil, in order to avoid
765 truncation. Reported by Christopher Schmidt
766 <christopher@ristopher.com>.
767
768 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
769
770 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
771 New defmacro.
772 (tramp-compat-copy-directory): Add optional argument
773 COPY-CONTENTS. It is not handled yet.
774
775 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
776 (tramp-ftp-file-name-p): Simplify.
777
778 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
779 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
780 connection vector.
781
782 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
783 (tramp-methods): Do not use `tramp-password-end-of-line'.
784 (tramp-completion-function-alist-putty): Handle UNIX case.
785 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
786 (tramp-do-file-attributes-with-stat)
787 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
788 gid as real numbers. They could run out of integer range on cygwin.
789 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
790 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
791 (tramp-open-connection-setup-interactive-shell):
792 Use `tramp-cleanup'. Move check for busyboxes ...
793 (tramp-find-shell): ... here. Simplify implementation.
794 Set "remote-shell" property also for alternative shells.
795 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
796 If failing, a regular file would be written otherwise.
797 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
798 (tramp-find-inline-encoding): Cache the coding commands in the
799 process cache. Apply test command on the remote side, if defined.
800 (tramp-find-inline-compress): Cache the compress commands in the
801 process cache.
802 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
803 when requested. Handle hops.
804 (tramp-current-connection): New defvar.
87e6e64f
DA
805 (tramp-maybe-open-connection): Use `tramp-cleanup'.
806 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 807 Handle user interrupt. (Bug#10187)
87e6e64f
DA
808 (tramp-get-inline-compress, tramp-get-inline-coding):
809 Read connection properties from the process cache.
2fe4b125
MA
810
811 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
812 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
813 New defconsts.
2fe4b125
MA
814 (tramp-smb-prompt): Extend for powershell prompt.
815 (tramp-smb-file-name-handler-alist): Add handlers for
816 `process-file', `shell-command' and `start-file-process'.
817 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
818 (tramp-smb-winexe-shell-command-switch): New defcustoms.
819 (tramp-smb-file-name-p): Simplify.
820 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
821 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
822 (tramp-smb-shell-quote-argument): New defuns.
823 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
824 Implement using "tar". By this, time-stamps are preserved.
825 (tramp-smb-handle-copy-file): Handle also the case of directories.
826 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
827 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
828 Use `tramp-get-connection-buffer').
2fe4b125
MA
829 (tramp-smb-handle-rename-file): Use "rename", when source and
830 target are on the same share.
87e6e64f
DA
831 (tramp-smb-maybe-open-connection): Handle wrong passwords.
832 Use `tramp-smb-server-version'.
2fe4b125
MA
833 (tramp-smb-wait-for-output): Remove prompt.
834
835 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
836 (tramp-methods, tramp-rsh-end-of-line):
837 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
838 (tramp-save-ad-hoc-proxies): New defcustom.
839 (tramp-completion-function-alist): Adapt docstring.
840 (tramp-default-password-end-of-line): Remove defcustom.
841 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
842 (tramp-user-regexp, tramp-file-name-regexp-unified)
843 (tramp-file-name-regexp-url): Extend regexp by hop separator.
844 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
845 (tramp-remote-file-name-spec-regexp): New defconst.
846 (tramp-file-name-structure): Extend structure for hops.
847 (tramp-get-method-parameter): Move up.
848 (tramp-file-name-p, tramp-dissect-file-name)
849 (with-parsed-tramp-file-name): Handle hops.
850 (tramp-file-name-hop): New defun.
851 (tramp-make-tramp-file-name): New optional arg HOP.
852 (tramp-message-show-progress-reporter-message): New defvar.
853 (tramp-with-progress-reporter): Use it. We cannot use
854 `tramp-message-show-message' here, because this suppresses also
855 error buffers.
856 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
857 `tramp-message-show-message' is nil.
858 Use `tramp-get-connection-buffer'.
2fe4b125
MA
859 (tramp-cleanup): New defun.
860 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
861 (tramp-file-name-handler): If `debug-on-error' is set, propagate
862 an error unchanged.
863 (tramp-completion-handle-file-name-all-completions): Handle hops.
864 Fix an error when called from ido.
865 (tramp-completion-dissect-file-name): Use better local variable
866 name. Add hop to the vector.
867 (tramp-handle-insert-file-contents): Use progress-reporter for the
868 whole scenario.
869 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
870 to `t'.
871 (tramp-check-for-regexp): Simplify search.
872 (tramp-enter-password): Remove it. Move implementation ...
873 (tramp-action-password): ... here.
874 (tramp-mode-string-to-int, tramp-local-host-p)
875 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
876 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
877 Set tramp-autoload cookie.
2fe4b125
MA
878
879 * net/trampver.el: Update release number.
880
8812012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
882 Michael Albinus <michael.albinus@gmx.de>
883
884 * net/tramp.el (tramp-set-completion-function): Fix docstring.
885 (tramp-parse-group, tramp-parse-file)
886 (tramp-parse-shostkeys-sknownhosts): New defuns.
887 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
888 (tramp-parse-shosts-group, tramp-parse-sconfig)
889 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
890 (tramp-parse-sknownhosts, tramp-parse-hosts)
891 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
892 Use them.
893 (tramp-parse-passwd-group, tramp-parse-netrc-group)
894 (tramp-parse-putty-group): Don't narrow.
895 (tramp-parse-putty): Make a loop.
896 (tramp-file-name-handler): Catch the `suppress' signal.
897
72834e10
CY
8982012-06-11 Chong Yidong <cyd@gnu.org>
899
900 * image.el (imagemagick-register-types): Put the ImageMagick entry
901 at the end of image-type-file-name-regexps.
902
a4712e11
JB
9032012-06-11 Johan BockgĂ¥rd <bojohan@gnu.org>
904
905 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
906 (pcase, pcase-let*, pcase-dolist): Use them.
907
82ad98e3
SM
9082012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
909
910 * emacs-lisp/pcase.el (pcase--let*): New function.
911 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
912 (pcase--expand): Use macroexp-let².
913
f80efb86
SM
9142012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
915
916 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
917 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
918 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
919 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
920 * emacs-lisp/derived.el: Use pcase instead of `cl'.
921 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
922
31ca4639 9232012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 924
31ca4639
CY
925 * mail/rmail.el (rmail-yank-current-message): Leave point at
926 correct position. (Bug#11660)
94f0aa34 927
31ca4639 9282012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 929
31ca4639 930 * allout-widgets.el: Fix code header.
9e1b8ec4 931
31ca4639 9322012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 933
f80efb86
SM
934 * cus-edit.el (customize-changed-options-previous-release):
935 Bump to 24.1.
31ca4639 936
642b6d30
AS
9372012-06-09 Andreas Schwab <schwab@linux-m68k.org>
938
939 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
940
4f5d2ba1
CY
9412012-06-09 Chong Yidong <cyd@gnu.org>
942
943 * ebuff-menu.el (electric-buffer-list): Preserve header line.
944
e75852fd
MR
9452012-06-09 Martin Rudalics <rudalics@gmx.at>
946
947 * window.el (special-display-popup-frame): Don't use
948 window--display-buffer (Bug#11651).
949
1e48e282
EZ
9502012-06-09 Eli Zaretskii <eliz@gnu.org>
951
8a26b487
EZ
952 Fix parallel builds: make sure loaddefs.el is not being written
953 while Lisp files are compiled.
954 (compile): Don't depend on 'mh-autoloads'.
955 (compile-CMD, compile-SH): Depend on 'autoloads'.
956 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
957
1e48e282
EZ
958 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
959
6175e34b
CY
9602012-06-09 Chong Yidong <cyd@gnu.org>
961
962 * face-remap.el (face-remap-add-relative, face-remap-set-base)
963 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
964 Doc fixes (Bug#11225).
965
d9857e53
SM
9662012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
967
968 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
969 a function if there's a clear indication that it has a compiler-macro.
970 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
971 (macro-declarations-alist): Add arglist to declaration functions.
972 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
973 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
974 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
975 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
976 Also add autoload to find the compiler macro.
977 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
978 (cl--compiler-macro-member, cl--compiler-macro-assoc)
979 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
980 (cl--compiler-macro-get): New functions, replacing calls to
981 cl-define-compiler-macro.
982 (cl-typep) [compiler-macro]: Use macroexp-let².
983
f81298f8 9842012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
985
986 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
987 string properly, fixes Bug#11473.
988
4b56d0fe
CY
9892012-06-08 Chong Yidong <cyd@gnu.org>
990
991 * faces.el (set-face-attribute): Doc fix.
992 (modify-face): Don't use :bold and :italic.
993 (error, warning, success): Tweak definitions.
994
995 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
996 (custom-modified, custom-set, custom-changed, custom-themed)
997 (custom-saved, custom-button, custom-button-mouse)
998 (custom-button-pressed, custom-state, custom-comment-tag)
999 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
1000 (custom-group-subtitle): Use new-style face specs.
1001 (custom-invalid-face, custom-rogue-face, custom-modified-face)
1002 (custom-set-face, custom-changed-face, custom-saved-face)
1003 (custom-button-face, custom-button-pressed-face)
1004 (custom-documentation-face, custom-state-face)
1005 (custom-comment-face, custom-comment-tag-face)
1006 (custom-variable-tag-face, custom-variable-button-face)
1007 (custom-face-tag-face, custom-group-tag-face-1)
1008 (custom-group-tag-face): Remove obsolete face alias.
1009
1010 * epa.el (epa-validity-high, epa-validity-medium)
1011 (epa-validity-low, epa-mark, epa-field-name, epa-string)
1012 (epa-field-name, epa-field-body):
1013 * font-lock.el (font-lock-comment-face, font-lock-string-face)
1014 (font-lock-keyword-face, font-lock-builtin-face)
1015 (font-lock-function-name-face, font-lock-variable-name-face)
1016 (font-lock-type-face, font-lock-constant-face):
1017 * ido.el (ido-first-match, ido-only-match, ido-subdir)
1018 (ido-virtual, ido-indicator, ido-incomplete-regexp):
1019 * speedbar.el (speedbar-button-face, speedbar-file-face)
1020 (speedbar-directory-face, speedbar-tag-face)
1021 (speedbar-selected-face, speedbar-highlight-face)
1022 (speedbar-separator-face):
1023 * whitespace.el (whitespace-newline, whitespace-space)
1024 (whitespace-hspace, whitespace-tab, whitespace-trailing)
1025 (whitespace-line, whitespace-space-before-tab)
1026 (whitespace-space-after-tab, whitespace-indentation)
1027 (whitespace-empty):
1028 * emulation/cua-base.el (cua-global-mark):
1029 * eshell/em-prompt.el (eshell-prompt):
1030 * net/newst-plainview.el (newsticker-new-item-face)
1031 (newsticker-old-item-face, newsticker-immortal-item-face)
1032 (newsticker-obsolete-item-face, newsticker-date-face)
1033 (newsticker-statistics-face, newsticker-default-face):
1034 * net/newst-reader.el (newsticker-feed-face)
1035 (newsticker-extra-face, newsticker-enclosure-face):
1036 * net/newst-treeview.el (newsticker-treeview-face)
1037 (newsticker-treeview-new-face, newsticker-treeview-old-face)
1038 (newsticker-treeview-immortal-face)
1039 (newsticker-treeview-obsolete-face)
1040 (newsticker-treeview-selection-face):
1041 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
1042 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
1043 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
1044 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
1045 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
1046 (nxml-outline-active-indicator, nxml-outline-ellipsis):
1047 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
1048 (mpuz-text):
1049 * progmodes/vera-mode.el (vera-font-lock-number)
1050 (vera-font-lock-function, vera-font-lock-interface):
1051 * textmodes/table.el (table-cell): Use new-style face specs, and
1052 don't use the old :bold and :italic attributes.
1053
1054 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
1055 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
1056 (ebrowse-member-class, ebrowse-progress): Likewise.
1057 (ebrowse-tree-mark-face, ebrowse-root-class-face)
1058 (ebrowse-file-name-face, ebrowse-default-face)
1059 (ebrowse-member-attribute-face, ebrowse-member-class-face)
1060 (ebrowse-progress-face): Remove obsolete faces.
1061
1062 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1063 Inherit from error and warning faces respectively.
1064
1065 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1066 Likewise.
f80efb86
SM
1067 (flyspell-incorrect-face, flyspell-duplicate-face):
1068 Remove obsolete aliases.
4b56d0fe 1069
03310646
MA
10702012-06-08 Michael Albinus <michael.albinus@gmx.de>
1071
1072 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1073 Avoid infloop.
1074
513749ee
SM
10752012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1076
1077 * startup.el (argv, argi): Make lexically scoped.
1078 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
1079 * emacs-lisp/cl-macs.el: Use lexical-binding.
1080 Rename cl-bind-* to cl--bind-*.
1081 * files.el: Don't require `cl' since it doesn't use it.
1082 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
1083
595ef4ad
JB
10842012-06-08 Juanma Barranquero <lekktu@gmail.com>
1085
1086 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
1087 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
1088 instead of calling external sort utility.
1089 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
1090
e9f66fcb
EZ
10912012-06-08 Eli Zaretskii <eliz@gnu.org>
1092
1093 * descr-text.el (describe-char): Mention how to insert the
1094 character, if the current input method doesn't support it.
1095 See the discussion in this thread for the details:
1096 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
1097
3d10db47
SS
10982012-06-08 Sam Steingold <sds@gnu.org>
1099
1100 * bindings.el (global-map): Bind XF86Forward to next-buffer and
1101 XF86Back to previous-buffer.
1102 (minibuffer-local-map): Bind them to next-history-element and
1103 previous-history-element respectively.
1104 * help-mode.el (help-mode-map): Bind them to help-go-forward and
1105 help-go-back respectively.
1106 * info.el (Info-mode-map): Bind them to Info-history-forward and
1107 Info-history-back respectively.
1108 These are the keys next to Up on the ThinkPad keyboard.
1109
de7e2b36
SM
11102012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1111
1112 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
1113 * emacs-lisp/cl-macs.el: Provide itself.
1114 (cl--labels-convert-cache): New var.
1115 (cl--labels-convert): New function.
1116 (cl-flet, cl-labels): New implementation with new semantics, relying on
1117 lexical-binding.
1118 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
1119 (cl-closure-vars, cl--function-convert-cache)
1120 (cl--function-convert): Move from cl-macs.el.
1121 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
1122 rename by removing the "cl-" prefix.
1123 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
1124
6fa6c4ae
SM
11252012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1126
1127 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
1128 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
1129 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
1130 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
1131 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
1132 (cl-hash-table-count): Add old compatibility aliases.
1133
1134 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
1135 Use macroexpand-all-environment instead.
1136 (cl--old-macroexpand): New var.
1137 (cl--sm-macroexpand): New function.
1138 (cl-symbol-macrolet): Use it during macro expansion.
1139 (cl--function-convert-cache): New var.
1140 (cl--function-convert): New function, extracted from
1141 cl-macroexpand-all.
1142 (cl-lexical-let): Use it.
1143
1144 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
1145 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
1146 (cl-member): Remove old alias.
1147
1148 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
1149 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
1150 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
1151 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
1152 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
1153 (cl-macroexpand-cmacs): Remove var.
1154 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
1155 Use macroexpand-all instead.
1156
4dd1c416
SM
11572012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1158
1159 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
1160 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
1161 (macroexp-copyable-p): New functions and macros.
1162 * emacs-lisp/edebug.el (edebug-unwrap):
1163 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
1164 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
1165 (pcase--let*): Remove.
1166 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
1167 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
1168 macroexp-const-p instead.
1169 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
1170
1171 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
1172 instead of "cl-" for internal definitions. Use macroexp-const-p.
1173 (cl-old-bc-file-form): Remove var.
1174 (cl-const-exprs-p): Remove fun.
1175 (cl-labels, cl-macrolet): Use backquote.
1176 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
1177 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
1178 (cl-define-setf-expander): Rename from cl-define-setf-method.
1179 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
1180
1181 * international/mule-cmds.el: Don't require CL.
1182 (view-hello-file): Don't use `letf'.
1183
ed8bd4d7
SM
11842012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1185
7287f2f3
SM
1186 * tmm.el (tmm-prompt): Use string-prefix-p.
1187 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
1188 (tmm-add-prompt): Use minibuffer-completion-help.
1189 (tmm-delete-map): Remove.
1190
ed8bd4d7
SM
1191 * subr.el (kbd): Make it its own function.
1192
7b4cdbf4
SM
11932012-06-07 Stefan Merten <smerten@oekonux.de>
1194
1195 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
1196 Silence compiler warnings. Fix versions.
ed8bd4d7 1197 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 1198 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 1199 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
1200 (rst-package-emacs-version-alist): Correct Emacs version to
1201 represent major merge with upstream.
ed8bd4d7 1202 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 1203
2b48d721
GM
12042012-06-06 Glenn Morris <rgm@gnu.org>
1205
1206 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
1207 Only print environment variables if set.
1208
fa779ab0
SM
12092012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1210
1211 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
1212 (macroexp--cons): Rename from maybe-cons.
1213 (macroexp--accumulate): Rename from macroexp-accumulate.
1214 (macroexp--all-forms): Rename from macroexpand-all-forms.
1215 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
1216 (macroexp--expand-all): Rename from macroexpand-all-1.
1217
628299e0
SS
12182012-06-06 Sam Steingold <sds@gnu.org>
1219
1220 * calendar/calendar.el (calendar-in-read-only-buffer):
1221 Call `special-mode' to enable the standard read-only keybindings.
1222
b7bb5838
SM
12232012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1224
1225 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
1226 with "loading" messages (bug#11635).
1227
dfb308ba
MA
12282012-06-06 Michael Albinus <michael.albinus@gmx.de>
1229
1230 * files.el (enable-remote-dir-locals): New option.
1231 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
1232
0372ee92
MA
1233 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1234 Ensure, that the temp directory is local.
1235
1236 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
1237 `temporary-file-directory'.
1238
eed0bb91
MA
1239 * progmodes/python.el (python-send-region): Ensure, that the
1240 temporary file is created also in the remote case.
1241
7a58f64d
GM
12422012-06-06 Glenn Morris <rgm@gnu.org>
1243
f7dd4e98
GM
1244 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
1245 (vc-rcs-update-changelog): Use it.
1246
276d5f5d
GM
1247 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
1248
7a58f64d
GM
1249 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
1250 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
1251 (vc-sccs-diff): Replace use of the external vcdiff script.
1252
daed4003
GM
12532012-06-05 Glenn Morris <rgm@gnu.org>
1254
1255 * ledit.el: Move to obsolete/.
1256
48c455c7
SS
12572012-06-05 Sam Steingold <sds@gnu.org>
1258
1259 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
1260 patch (Bug#11140).
1261
57a7d507
SM
12622012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1263
d32926ff
SM
1264 * emacs-list/cust-print.el: Move to obsolete.
1265
53aacf21
SM
1266 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
1267 compiler-macro expansion.
1268
57a7d507
SM
1269 Add native compiler-macro support.
1270 * emacs-lisp/macroexp.el (macroexpand-all-1):
1271 Support compiler-macros directly. Properly follow aliases and apply
1272 the compiler macros more thoroughly.
1273 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
1274 macroexpand now properly follows aliases.
1275 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
1276 (cl-compiler-macroexpand): Use new prop.
1277 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
1278
1279 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
1280
51a5f9d8
MR
12812012-06-05 Martin Rudalics <rudalics@gmx.at>
1282
1283 * window.el (get-lru-window, get-mru-window, get-largest-window):
1284 New argument NOT-SELECTED to avoid picking the selected window.
1285 (window--display-buffer-1, window--display-buffer-2): Replace by
1286 new function window--display-buffer
1287 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
1288 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1289 Use window--display-buffer.
51a5f9d8
MR
1290 (display-buffer-use-some-window): Remove temporary dedication
1291 hack by calling get-lru-window and get-largest-window with
1292 NOT-SELECTED argument non-nil. Call window--display-buffer.
1293
08f9f738
GM
12942012-06-05 Glenn Morris <rgm@gnu.org>
1295
1296 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
1297 Replace external vcdiff script.
1298
e364a2b7
SM
12992012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1300
1301 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
1302
041df390
CY
13032012-06-04 Chong Yidong <cyd@gnu.org>
1304
e364a2b7
SM
1305 * image.el (imagemagick-types-inhibit): Revert last change.
1306 Add INFO and M.
47b36b94 1307 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 1308
7c1898a7
SM
13092012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1310
1311 * emacs-lisp/cl-lib.el: Rename from cl.el.
1312 * emacs-lisp/cl.el: New compatibility file.
1313 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
1314 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
1315 to obey the "cl-" prefix.
1316 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
1317
0c3461de
GM
13182012-06-03 Glenn Morris <rgm@gnu.org>
1319
1e266c88
GM
1320 * emacs-lisp/authors.el (authors-aliases): Addition.
1321
0c3461de
GM
1322 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
1323 Fix :version.
1324
d8a52e15
SM
13252012-06-03 Stefan Merten <smerten@oekonux.de>
1326
1327 * textmodes/rst.el: Add comments.
1328 (rst-transition, rst-adornment): New faces.
1329 (rst-adornment-faces-alist): Make default safe to reevaluate.
1330 Fixes
1331 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
1332 Improve customization tags.
1333 (rst-define-level-faces): Clarify meaning.
1334
5205d6f6
CY
13352012-06-03 Chong Yidong <cyd@gnu.org>
1336
1337 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
1338 (compilation-mode-line-run, compilation-mode-line-exit):
1339 New faces.
5205d6f6
CY
1340 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
1341
757ee657
JD
13422012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
1343
7c1898a7
SM
1344 * progmodes/which-func.el (which-func-update-ediff-windows):
1345 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 1346
5f2c76c6
CY
13472012-06-03 Chong Yidong <cyd@gnu.org>
1348
1349 * bindings.el: Remove explicit help text from format-mode-line.
1350 It is now supplied by mode-line-default-help-echo.
1351 (mode-line-front-space, mode-line-end-spaces)
1352 (mode-line-misc-info): New variables.
1353 (mode-line-modes, mode-line-position): Move the default value to
1354 the variable definition.
1355 (mode-line-default-help-echo): New defcustom.
383f7350
CY
1356 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
1357 (mode-line-modified-help-echo): New functions.
1358 (mode-line-mule-info, mode-line-modified): Use them.
1359 (mode-line-eol-desc, propertized-buffer-identification):
1360 Consistency fixes for help text.
cbe46e5f
CY
1361 (mode-line-coding-system-map): Allow using mouse-3 to invoke
1362 set-buffer-file-coding-system (Bug#289).
1363 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 1364
f2d6a3df
SM
13652012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1366
1367 * simple.el (execute-extended-command): Set real-this-command
1368 (bug#11506).
1369
37269466
CY
13702012-06-02 Chong Yidong <cyd@gnu.org>
1371
1372 Remove incorrect uses of "modeline" in comments, docstrings, and
1373 function/variable names (Bug#10329).
1374
1375 * cus-edit.el (mode-line):
1376 * dframe.el (dframe-mouse-hscroll):
1377 * emacs-lisp/re-builder.el:
1378 * emacs-lisp/easy-mmode.el (define-minor-mode):
1379 * frame.el (set-frame-name):
1380 * help.el (lookup-minor-mode-from-indicator):
1381 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1382 * progmodes/cc-cmds.el (c-toggle-auto-newline)
1383 (c-toggle-hungry-state):
1384 * progmodes/antlr-mode.el (antlr-language-alist):
1385 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1386 * progmodes/vhdl-mode.el (vhdl-mode):
1387 * progmodes/which-func.el (which-func, which-func-cleanup-function):
1388 * term/ns-win.el (ns-face-at-pos):
1389 * term/sup-mouse.el (sup-mouse-report):
1390 * textmodes/flyspell.el (flyspell-mode-line-string):
1391 * textmodes/ispell.el (ispell-highlight-face):
1392 * textmodes/reftex-global.el:
1393 * vc/vc-arch.el (vc-arch-mode-line-string):
1394 * vc/vc-cvs.el (vc-cvs-mode-line-string):
1395 * vc/vc-git.el (vc-git-mode-line-string):
1396 * vc/vc-hooks.el (vc-display-status)
1397 (vc-default-mode-line-string):
1398 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1399
1400 * ansi-color.el (ansi-color-faces-vector): Change default faces.
1401
1402 * dired.el (dired-sort-set-mode-line): Rename from
1403 dired-sort-set-modeline. All callers changed.
1404
1405 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1406 eshell-status-in-modeline.
1407
1408 * foldout.el (foldout-mode-line-string): Rename from
1409 foldout-modeline-string. All callers changed.
1410 (foldout-update-mode-line): Rename from foldout-update-modeline.
1411
1412 * subr.el (redraw-modeline): Make into obsolete alias.
1413
1414 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1415 timeclock-modeline-display. Make old name an alias.
1416 (timeclock-update-mode-line): Likewise. All callers changed.
1417 (timeclock-mode-line-display): No need to check before using
1418 add-hook.
1419 (timeclock-relative, timeclock-day-over-hook)
1420 (timeclock-use-elapsed, timeclock-mode-string)
1421 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1422
1423 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1424 crisp-mode-modeline-string.
1425
1426 * play/solitaire.el (solitaire-build-mode-line): Rename from
1427 solitaire-build-modeline. All callers changed.
1428
1429 * play/zone.el (zone-hiding-mode-line): Rename from
1430 zone-hiding-modeline. All callers changed.
1431 (zone): Remove unusued `modeline-hidden-level' property.
1432
1433 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1434 xscheme-modeline-initialize. All callers changed.
1435
1436 * strokes.el (strokes-lighter): Rename from
1437 strokes-modeline-string.
1438
1439 * textmodes/sgml-mode.el (html-face-tag-alist)
1440 (html-tag-face-alist): Use mode-line face instead of obsolete
1441 alias modeline.
1442
42152ee4
SM
14432012-06-02 Stefan Merten <smerten@oekonux.de>
1444
1445 * textmodes/rst.el: Always require `cl'.
4cf9b38d 1446 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 1447
95f520b5
CY
14482012-06-02 Chong Yidong <cyd@gnu.org>
1449
1450 * image.el (imagemagick-enabled-types): Rename from
1451 imagemagick-types-enable. Add many more types.
1452 (imagemagick-types-inhibit): Change default to nil.
1453 (imagemagick-filter-types): Caller changed.
1454
4a5f187a
SM
14552012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1456
03fef3e6
SM
1457 * emacs-lisp/cl-macs.el: Use backquotes.
1458 (cl-transform-function-property): Use eval-and-compile rather than
1459 abusing `require'.
1460 (defstruct): Use declare-function instead of with-no-warnings.
1461
4a5f187a
SM
1462 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1463 (byte-compile-output-docform): Re-add the print-circle bindings.
1464 (byte-compile-fix-header): Use #$ just because it's shorter.
1465 (byte-compile-output-file-form): Remove defun/defmacro.
1466
bd56924f
MR
14672012-06-01 Martin Rudalics <rudalics@gmx.at>
1468
1469 * simple.el (choose-completion): Remove now obsolete binding for
1470 owindow.
1471
046e38ce
MA
14722012-06-01 Michael Albinus <michael.albinus@gmx.de>
1473
1474 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1475 in order to avoid "Stack overflow in regexp matcher".
1476
32d72c2f
GM
14772012-05-31 Glenn Morris <rgm@gnu.org>
1478
1479 * image.el: For clarity, call imagemagick-register-types at
1480 top-level, rather than relying on a custom :initialize.
1481 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
1482 (imagemagick-filter-types): New function. (Bug#7406)
1483 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
1484 If disabling support, remove elements altogether rather
1485 than using an impossible regexp.
1486 (imagemagick-types-inhibit): Give it the default init function.
1487
dd41169b
SM
14882012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1489
4a5f187a
SM
1490 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1491 Handle arbitrary file name lengths (Bug#11585).
dd41169b 1492
efc00ab1 14932012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
1494
1495 * desktop.el (desktop-read): Clear previous and next buffers for
1496 all windows and bury *Messages* buffer (bug#11556).
1497
500fcedc
SM
14982012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1499
1500 Add `declare' for `defun'. Align `defmacro's with it.
1501 * emacs-lisp/easy-mmode.el (define-minor-mode)
1502 (define-globalized-minor-mode): Don't autoload the var definitions.
1503 * emacs-lisp/byte-run.el: Use lexical-binding.
1504 (defun-declarations-alist, macro-declarations-alist): New vars.
1505 (defmacro, defun): Use them.
1506 (make-obsolete, define-obsolete-function-alias)
1507 (make-obsolete-variable, define-obsolete-variable-alias):
1508 Use `declare'.
1509 (macro-declaration-function): Mark obsolete.
1510 * emacs-lisp/autoload.el: Use lexical-binding.
1511 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
1512
6e8a1786
AM
15132012-05-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
1514
1515 * textmodes/ispell.el (ispell-with-no-warnings):
1516 Define as a macro.
500fcedc
SM
1517 (ispell-kill-ispell, ispell-change-dictionary):
1518 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
1519 `interactive-p'.
1520
61b108cc
SM
15212012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1522
1523 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1524 (macro-declaration-function): Move var from C code.
1525 (macro-declaration-function): Define function with defalias.
1526 * emacs-lisp/macroexp.el (macroexpand-all-1):
1527 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1528 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1529 defun/defmacro any more.
1530 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1531 Provide fallback for unknown arglist.
1532 (byte-compile-arglist-warn): Change calling convention.
1533 (byte-compile-output-file-form): Move print-vars binding.
1534 (byte-compile-output-docform): Simplify accordingly.
1535 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
1536 (byte-compile-defmacro-declaration): Remove.
1537 (byte-compile-file-form-defmumble): Generalize to defalias.
1538 (byte-compile-output-as-comment): Return byte-positions.
1539 Simplify callers accordingly.
1540 (byte-compile-lambda): Use `assert'.
1541 (byte-compile-defun, byte-compile-defmacro): Remove.
1542 (byte-compile-file-form-defalias):
1543 Use byte-compile-file-form-defmumble.
1544 (byte-compile-defalias-warn): Remove.
1545
6d3f7c2f
SM
15462012-05-29 Stefan Merten <smerten@oekonux.de>
1547
1548 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 1549 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
1550
1551 (rst-mode-abbrev-table): Merge definition.
1552 (rst-mode): Make sure `font-lock-defaults' is buffer local.
1553 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
1554
6dbaa1c7
UJ
15552012-05-29 Ulf Jasper <ulf.jasper@web.de>
1556
1557 * calendar/icalendar.el
1558 (icalendar-export-region): Export UID properly.
1559
15602012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
1561 * calendar/icalendar.el (icalendar-import-format):
1562 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
1563 (icalendar-import-format-uid): New.
1564 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
1565 Export UID.
1566
6876a58d
SM
15672012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1568
1569 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
1570 different alternative patterns.
1571 (pcase-codegen): Be more careful to preserve identity.
1572 (pcase--u1): Don't forget to mark vars as used.
1573
1574 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
1575 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
1576 (byte-compile-from-buffer): ...rather than here.
1577
1578 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
1579 functions from byte-compile-function-environment.
1580
46b7967e
TN
15812012-05-29 Troels Nielsen <bn.troels@gmail.com>
1582
1583 * window.el (window-deletable-p): Avoid deleting the root window
1584 of a frame with an active minibuffer.
1585
69d565e2
MR
15862012-05-29 Martin Rudalics <rudalics@gmx.at>
1587
1588 * simple.el (choose-completion): Use quit-window (Bug#11567).
1589
a149fa51
CY
15902012-05-29 Chong Yidong <cyd@gnu.org>
1591
1592 * whitespace.el (whitespace-cleanup): Fix usage of
1593 whitespace-empty-at-bob-regexp (Bug#11492).
1594
2b311310
AH
15952012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1596
1597 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
1598 revert (Bug#11488).
1599
b9cb2387
JL
16002012-05-29 Juri Linkov <juri@jurta.org>
1601
1602 * isearch.el (isearch-mode-map): Bind `M-s _' to
1603 `isearch-toggle-symbol'. Bind `M-s c' to
1604 `isearch-toggle-case-fold'.
1605 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1606 (isearch-forward): Add `M-s _' to the docstring.
1607 (isearch-forward-symbol, isearch-toggle-case-fold)
1608 (isearch-symbol-regexp): New functions. (Bug#11381)
1609
d5e61c1c
JL
16102012-05-29 Juri Linkov <juri@jurta.org>
1611
1612 * isearch.el (isearch-word): Add docstring. (Bug#11381)
1613 (isearch-occur, isearch-search-and-update): If `isearch-word' is
1614 a function, call it to get the regexp.
1615 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1616 property `isearch-message-prefix' instead of the string "word ".
1617 (isearch-search-fun-default): For the case of `isearch-word',
1618 return a lambda that calls re-search-forward/re-search-backward
1619 with a regexp returned by `word-search-regexp' or by the function
1620 in `isearch-word'.
1621
8cbd80f7
JL
16222012-05-29 Juri Linkov <juri@jurta.org>
1623
1624 * isearch.el (isearch-search-fun-default): New function.
1625 (isearch-search-fun): Move default part to the new function
1626 `isearch-search-fun-default'.
1627 (isearch-search-fun-function): Set the default value to
1628 `isearch-search-fun-default'. (Bug#11381)
1629
1630 * comint.el (comint-history-isearch-end):
1631 Use `isearch-search-fun-default'.
1632 (comint-history-isearch-search): Use `isearch-search-fun-default'
1633 and remove spacial case for `isearch-word'.
1634 (comint-history-isearch-wrap): Remove spacial case for
1635 `isearch-word'.
1636
1637 * hexl.el (hexl-isearch-search-function):
1638 Use `isearch-search-fun-default'.
1639
1640 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1641 Use `word-search-regexp' for `isearch-word'.
1642
1643 * misearch.el (multi-isearch-search-fun):
1644 Use `isearch-search-fun-default'.
1645
1646 * simple.el (minibuffer-history-isearch-search):
1647 Use `isearch-search-fun-default' and remove spacial case for
1648 `isearch-word'.
1649 (minibuffer-history-isearch-wrap): Remove spacial case for
1650 `isearch-word'.
1651
1652 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1653 Remove spacial case for `isearch-word'.
1654 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1655
85c8c5b6
AM
16562012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
1657
1658 Decrease XEmacs incompatibilities.
1659 * textmodes/flyspell.el (flyspell-check-pre-word-p):
1660 Use `string-match'.
1661 (flyspell-delete-region-overlays): Use alternative definition for
1662 XEmacs.
1663 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1664 (flyspell-word): Use `process-kill-without-query' if XEmacs.
1665 (flyspell-mode-on): Use `interactive-p' if XEmacs.
1666 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1667 `define-obsolete-face-alias' under XEmacs, but old method.
1668
1669 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1670 `with-no-warnings' definition or Emacs alias.
1671 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1672 (ispell-word): Do not use `region-p' if XEmacs.
1673
8cab9efc
AM
16742012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
1675
1676 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1677 Check for `ispell-dictionary-base-alist' instead of full
1678 `ispell-dictionary-alist'.
1679 (ispell-init-process): Show spellchecker when starting new Ispell
1680 process.
1681
fda91268
RZ
16822012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1683
1684 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1685 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1686
694ea8e3
JB
16872012-05-27 Juanma Barranquero <lekktu@gmail.com>
1688
1689 * version.el (motif-version-string, gtk-version-string)
1690 (ns-version-string): Declare.
1691
e4d4f539
JL
16922012-05-27 Juri Linkov <juri@jurta.org>
1693
1694 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1695 after the `eval-defun-1' specialcaseing
1696 like in `edebug-eval-defun' (bug#10181).
1697
1698 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1699 like in `eval-defun-1'.
1700
33017faf 17012012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 1702
fda91268
RZ
1703 * mail/sendmail.el (mail-yank-region):
1704 Recognize rmail-yank-current-message in addition to insert-buffer.
1705 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
1706 a *mail* buffer created through rmail-start-mail with sendmail as
1707 mail-user-agent.
1708
33017faf
GM
17092012-05-27 Chong Yidong <cyd@gnu.org>
1710
1711 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1712 Default to 256 (Bug#11267).
1713
1714 * help.el (describe-mode): Doc fix.
1715
04188bb9
GM
17162012-05-26 Glenn Morris <rgm@gnu.org>
1717
38264cc9
GM
1718 * w32-fns.el (w32-init-info): Remove.
1719 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1720
eb7afdad
GM
1721 * info.el (info-initialize): For self-contained NS builds, put the
1722 included info/ directory at the front. (Bug#2791)
1723
04188bb9
GM
1724 * paths.el (Info-default-directory-list): Make it a defcustom,
1725 mainly so that we can use custom-initialize-delay.
1726
a179e3f7
SM
17272012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1728
43416392
SM
1729 * subr.el (buffer-has-markers-at): Mark obsolete.
1730
a179e3f7 1731 * subr.el (lambda): Use declare.
43416392 1732
a179e3f7
SM
1733 * emacs-lisp/lisp-mode.el (lambda):
1734 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1735
34a008d9
AH
17362012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1737
1738 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
1739
0a3b289f
GM
17402012-05-26 Glenn Morris <rgm@gnu.org>
1741
1742 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1743
758c81e8
GM
17442012-05-25 Glenn Morris <rgm@gnu.org>
1745
f9f334f0
GM
1746 * paths.el: Remove no-byte-compile.
1747 * loadup.el: No need to load paths.el uncompiled.
1748
87eb79c2
GM
1749 * image.el (imagemagick-types-inhibit): Doc fix.
1750
758c81e8
GM
1751 * version.el: Remove no-byte-compile and associated formatting.
1752 * loadup.el: No need to load version.el uncompiled. AFAICS, this
1753 is ancient code from when there was an "inc-vers.el".
1754
e7e85dc0
SM
17552012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1756
1757 * progmodes/gdb-mi.el: Minor style changes.
1758 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1759 Turn into minor modes.
1760 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1761 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1762 (gdb-shell): Remove unneeded let-binding.
1763 (gdb-get-many-fields): Eliminate O(n²) behavior.
1764
f31237a4
EZ
17652012-05-25 Eli Zaretskii <eliz@gnu.org>
1766
1767 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1768 platforms that don't link in fontset.c.
1769
bc1b21bb
JL
17702012-05-25 Juri Linkov <juri@jurta.org>
1771
1772 Use the same diff color scheme as in modern VCSes (bug#10181).
1773
1774 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1775 to avoid confusion with `diff-added' that now uses green colors.
1776 (diff-removed): Use shades of red.
1777 (diff-added): Use shades of green.
1778 (diff-changed): Leave just the yellow color.
1779 (diff-use-changed-face): New variable.
1780 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1781 how to highlight context diff changes.
1782 (diff-refine-change): Use shades of yellow.
1783 (diff-refine-removed): New face that uses shades of red.
1784 (diff-refine-added): New face that uses shades of green.
1785 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1786 `diff-refine-removed' in the call to `smerge-refine-subst'
1787 depending on the value of `diff-use-changed-face'.
1788
1789 * vc/smerge-mode.el (smerge-mine): Use shades of red.
1790 (smerge-other): Use shades of green.
1791 (smerge-base): Use shades of yellow.
1792 (smerge-refined-change): Empty face.
1793 (smerge-refined-removed): New face that uses shades of red.
1794 (smerge-refined-added): New face that uses shades of green.
1795 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
1796 args `props-r' and `props-a', and use them. Doc fix.
1797 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1798 on its value use different faces `smerge-refined-change',
1799 `smerge-refined-removed', `smerge-refined-added' in the call to
1800 `smerge-refine-subst'.
1801
1802 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1803 Add face condition `min-colors 88' with shades of red.
1804 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1805 `min-colors 88' with shades of green.
1806 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1807 `min-colors 88' with shades of yellow.
1808
6df9112c
GM
18092012-05-24 Glenn Morris <rgm@gnu.org>
1810
ead5edc0
GM
1811 * paths.el (prune-directory-list, remote-shell-program): Move to...
1812 * files.el (prune-directory-list, remote-shell-program): ...here.
1813 For the latter, delay initialization, prefer ssh, just search PATH.
1814
f18b81e6
GM
1815 * paths.el (term-file-prefix): Move to faces.el (the only user).
1816 * faces.el (term-file-prefix): Move here, make it a defcustom.
1817
ee2f89a6
GM
1818 * paths.el (news-directory, news-path, news-inews-program):
1819 Move to gnus/nnspool.el.
61a583ca 1820
f8815e4c
GM
1821 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
1822
c8f3b42c
GM
1823 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
1824 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
1825 Make the latter a defcustom, with a delayed initialization.
1826
6df9112c
GM
1827 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
1828 These were deleted from Gnus itself late 2010.
1829
5dadff36
JB
18302012-05-22 Juanma Barranquero <lekktu@gmail.com>
1831
9e1701c6
JB
1832 * progmodes/which-func.el (which-func-ff-hook):
1833 Check against user-error, not error.
1834
bd7239f5 1835 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
1836 cl-specs.el, which no longer exists.
1837
3290526d
GM
18382012-05-22 Glenn Morris <rgm@gnu.org>
1839
1840 * info.el (info-emacs-bug): New command.
1841 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
1842 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
1843
ff0c3cfb
GM
18442012-05-21 Glenn Morris <rgm@gnu.org>
1845
1846 * makefile.w32-in (update-subdirs-SH):
1847 * Makefile.in (update-subdirs): Update for moved update-subdirs.
1848
5814f126
SM
18492012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1850
a52c0aa0
SM
1851 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
1852
5814f126
SM
1853 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1854 Simplify Maven regexp, and make sure the file can't start with a space
1855 (bug#11517).
1856
b847032c
GM
18572012-05-21 Glenn Morris <rgm@gnu.org>
1858
1859 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1860 Scrap superfluous subshells.
1861
3858bfe7
SM
18622012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
1863
1864 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
1865 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
1866
d14b0029
JB
18672012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
1868
1869 * calc/calc.el (calc-ensure-consistent-units): New variable.
1870
a52c0aa0
SM
1871 * calc/calc-units.el (math-consistent-units-p)
1872 (math-check-unit-consistency): New functions.
1873 (calc-quick-units, calc-convert-units):
1874 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
1875 is non-nil.
d14b0029
JB
1876 (calc-extract-units): Fix typo.
1877
60c4db3a
SM
18782012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1879
77f3b62e
SM
1880 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
1881
60c4db3a
SM
1882 * textmodes/flyspell.el: Commenting style, plus code simplifications.
1883 (flyspell-default-deplacement-commands): Don't spell check after
1884 repeated window/frame switches (e.g. triggered by mouse-movement).
1885 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
1886 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
1887 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
1888 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
1889 Remove unused vars.
1890 (flyspell-get-casechars, flyspell-get-not-casechars):
1891 Simplify; Don't bother removing a ] just to add it back.
1892 * textmodes/ispell.el (ispell-program-name): Use executable-find.
1893
b1a10716
RS
18942012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
1895
1896 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
1897 New functions.
bd7239f5 1898 (math-function-table): Add support for more C functions.
b1a10716 1899
3f1b25b5
AM
19002012-05-18 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
1901
1902 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1903 (flyspell-debug-signal-word-checked): Protect delay handling for
1904 otherchars against empty otherchars.
1905
b581bb5c
SM
19062012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1907
1908 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1909 their respective macro declarations.
1910 * skeleton.el (define-skeleton):
1911 * progmodes/compile.el (define-compilation-mode):
1912 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1913 (define-ibuffer-filter):
1914 * emacs-lisp/generic.el (define-generic-mode):
1915 * emacs-lisp/easy-mmode.el (define-minor-mode)
1916 (define-globalized-minor-mode):
1917 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1918 * emacs-lisp/byte-run.el (defsubst):
1919 * custom.el (deftheme): Add doc-string metadata.
1920
70b8ef8f
SM
19212012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1922
1923 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1924
b1198e17
SM
19252012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1926
9abdc45d
SM
1927 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1928
b1198e17
SM
1929 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1930 * emacs-lisp/cl-macs.el: Idem.
1931 * emacs-lisp/cl-specs.el: Remove.
1932
4735906a
SM
19332012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1934
1935 Minor renaming of internal CL functions and variables.
1936 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1937 (cl--position): Rename from cl-position.
1938 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1939 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1940 (cl--random-state): Rename from *random-state*.
1941
ac348012
SM
19422012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1943
1944 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1945 parens around the arg list (bug#11499).
1946
a0a79cde
JL
19472012-05-17 Juri Linkov <juri@jurta.org>
1948
1949 * isearch.el (word-search-regexp, word-search-backward)
1950 (word-search-forward, word-search-backward-lax)
1951 (word-search-forward-lax): Move functions from search.c
1952 (bug#10145, bug#11381).
1953
65034a51
AM
19542012-05-16 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
1955
1956 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1957 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1958 normal word components.
1959
1a72a195
SM
19602012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1961
1962 * minibuffer.el (completion--sifn-requote): Fix last change.
1963 (minibuffer-local-must-match-filename-map):
1964 Move define-obsolete-variable-alias before its var.
1965
fdb058c2
SM
19662012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1967
c41045e6
SM
1968 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1969
036dfb8b
SM
1970 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1971 behavior.
1972 (completion--string-equal-p): New function.
1973 (completion--twq-all): Use it to get better assertion failure data.
1974
2473256d
SM
1975 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1976 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1977 (shell--requote-argument): New functions.
1978 (shell-completion-vars): Use them.
1979 (shell--parse-pcomplete-arguments): Rename from
1980 shell-parse-pcomplete-arguments.
1981 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1982 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1983 Obey comint-file-name-quote-list.
1984
fdb058c2
SM
1985 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1986 (smie-indent-keyword): Use it.
1987
51fa99f1
SM
19882012-05-14 Stefan Merten <smerten@oekonux.de>
1989
1990 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1991
e18afed7 19922012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
1993
1994 * net/rlogin.el (rlogin-mode-map): Fix last change.
1995
e18afed7 19962012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
1997
1998 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1999 the following \r\n using a single `process-send-string', since the
2000 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 2001 with two `process-send-string's (Bug#11444).
8633b1f4 2002
e18afed7 20032012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 2004
fdb058c2
SM
2005 * shell.el (shell-parse-pcomplete-arguments):
2006 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 2007
2d21d7f6
WJ
20082012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2009
e18afed7 2010 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
2011 (image-transform-scale, image-transform-right-angle-fudge): New vars.
2012 (image-transform-width, image-transform-fit-width): New functions.
2013 (image-transform-properties): Use them.
2014 (image-transform-check-size): New function.
2015 (image-toggle-display-image): Use it (for testing).
2016 (image-transform-set-rotation): Reduce angle mod 360.
2017 Delete obsolete comment.
2018
7102e6d0
WJ
20192012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
2020
2021 * image-mode.el: Fix scaling (bug#11399).
2022 (image-transform-resize): Doc fix.
2023 (image-transform-properties): Default scale is 1 and height should
2024 be an integer.
2025
06bc5e6e
SM
20262012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
2027
2028 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
2029 than hard-coding `car', to fix misbehavior when moving forward.
2030
0ae03b6a
CY
20312012-05-13 Chong Yidong <cyd@gnu.org>
2032
2033 * emacs-lisp/tabulated-list.el (tabulated-list-format)
2034 (tabulated-list-entries, tabulated-list-padding)
2035 (tabulated-list-sort-key): Make permanent-local.
2036
2037 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
2038 (electric-buffer-list): Put electric buffer menu
2039 command descriptions in this docstring, instead of the docstring
2040 of electric-buffer-menu-mode. Code cleanups.
2041 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
2042 Electric-buffer-menu-mode.
2043 (electric-buffer-update-highlight): Minor code cleanup.
2044
205a7391
MA
20452012-05-13 Michael Albinus <michael.albinus@gmx.de>
2046
2047 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
2048 (Bug#11447)
2049
e5bd0a28
SM
20502012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2051
2052 Move define-obsolete-variable-alias before the var's definition.
2053 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
2054 * tooltip.el (tooltip-hook):
2055 * textmodes/reftex-toc.el (reftex-toc-map):
2056 * textmodes/reftex-sel.el (reftex-select-label-map)
2057 (reftex-select-bib-map):
2058 * textmodes/reftex-index.el (reftex-index-map)
2059 (reftex-index-phrases-map):
2060 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
2061 * progmodes/meta-mode.el (meta-mode-map):
2062 * novice.el (disabled-command-hook):
2063 * loadhist.el (unload-hook-features-list):
2064 * frame.el (blink-cursor):
2065 * files.el (find-file-not-found-hooks, write-file-hooks)
2066 (write-contents-hooks):
2067 * emulation/tpu-edt.el (GOLD-map):
2068 * emacs-lock.el (emacs-lock-from-exiting):
2069 * emacs-lisp/generic.el (generic-font-lock-defaults):
2070 * emacs-lisp/chart.el (chart-map):
2071 * dos-fns.el (register-name-alist):
2072 * dired-x.el (dired-omit-files-p):
2073 * desktop.el (desktop-enable):
2074 * cus-edit.el (custom-mode-hook):
2075 * buff-menu.el (buffer-menu-mode-hook):
2076 * bookmark.el (bookmark-read-annotation-text-func)
2077 (bookmark-exit-hooks):
2078 * allout.el (allout-mode-deactivate-hook)
2079 (allout-exposure-change-hook, allout-structure-added-hook)
2080 (allout-structure-deleted-hook, allout-structure-shifted-hook):
2081 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
2082 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
2083 comes before the corresponding variable's definition.
2084
ac59c2f6
CY
20852012-05-12 Chong Yidong <cyd@gnu.org>
2086
2087 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
2088 (Buffer-menu-mouse-select): Restore function (Bug#11459).
2089 (Buffer-menu-mode-map): Bind it.
2090 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 2091
dee6c9a3
SM
20922012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2093
2171cea5
SM
2094 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
2095 (prolog-upper-case-string, prolog-lower-case-string)
2096 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
2097 (prolog-use-smie, prolog-smie-grammar): New vars.
2098 (prolog-smie-forward-token, prolog-smie-backward-token)
2099 (prolog-smie-rules): New funs.
2100 (prolog-comment-indent): Remove.
2101 (prolog-mode-variables): Use default comment indentation instead.
2102 Setup SMIE.
2103 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
2104 (prolog-mode): Don't call them any more.
2105 (prolog-electric-colon, prolog-electric-dash)
2106 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
2107
aa0382bd
SM
2108 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
2109
dbacb4bd
SM
2110 * minibuffer.el (completion--twq-all): Again, allow case differences.
2111
13bdd94c
SM
2112 * term.el: Move keymap initialization code to be more idiomatic.
2113 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
2114 (term-terminal-menu): Move initialization into declaration.
2115 (term-escape-char): Let the user set it in her .emacs.
2116
ff46c759
SM
2117 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
2118 Provide SMIE-based indentation (not enabled by default yet).
2119 (sh-mode-map): Don't bind electric keys.
2120 Use electric-pair-mode instead of skeleton-pair.
2121 (sh-assignment-regexp): Fit within 80 columns.
2122 (sh-indent-supported): Specify actual shell name instead of boolean.
2123 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
2124 (sh-maybe-here-document): Use it. Make obsolete.
2125 (sh-electric-here-document-mode) New minor mode.
2126 (sh-mode): Use it. Don't set sh-indent-supported-here here.
2127 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
2128 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
2129 (sh-smie-rc-grammar, sh-use-smie): New vars.
2130 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
2131 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
2132 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
2133 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
2134 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
2135 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
2136 (sh-set-shell): Use smie-setup if requested.
2137
dee6c9a3
SM
2138 * term.el (term-set-escape-char): Properly set term-escape-char.
2139 See http://stackoverflow.com/questions/10524656.
2140
9f9aa044
CY
21412012-05-10 Chong Yidong <cyd@gnu.org>
2142
2143 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
2144 Use url-generic-parse-url, and handle host names and Windows
2145 filenames properly.
2146 (ffap-url-unwrap-remote): Use url-generic-parse-url.
2147 (ffap-url-unwrap-remote): Accept list values, specifying a list of
2148 URL schemes to work on.
2149 (ffap--toggle-read-only): New function.
2150 (ffap-read-only, ffap-read-only-other-window)
2151 (ffap-read-only-other-frame): Use it.
2152 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
2153 necessary for ffap-url-unwrap-remote.
2154
836d29b3
DA
21552012-05-10 Dave Abrahams <dave@boostpro.com>
2156
2157 * cus-start.el (create-lockfiles): Add it.
2158
00fd78ed
CY
21592012-05-09 Chong Yidong <cyd@gnu.org>
2160
2161 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
2162 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
2163
666b903b 21642012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
2165
2166 * shell.el (shell-completion-vars): Fix last change (bug#11348).
2167
666b903b 21682012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
2169
2170 * ansi-color.el (ansi-color-process-output): Check for validity of
2171 comint-last-output-start before using it. This avoids a bad
2172 interaction with gdb-mi's input/output buffer.
2173
666b903b 21742012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
2175
2176 * files.el (dir-locals-read-from-file):
2177 Mention dir-locals in any error message.
2178
666b903b 21792012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
2180
2181 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
2182 package (Bug#11410).
2183
f677562b
CY
2184 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
2185 variables into description.
2186
666b903b 21872012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
2188
2189 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
2190 shell-delimiter-argument-list (bug#11348).
2191 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
2192
b499d8d0
JB
21932012-05-09 Juanma Barranquero <lekktu@gmail.com>
2194
8f6b6da8
JB
2195 * textmodes/rst.el: Silence byte-compiler warnings.
2196 (rst-re-alist, rst-reset-section-caches): Move around.
2197 (rst-re): Use `characterp', not `char-valid-p'.
2198 (font-lock-beg, font-lock-end): Declare.
2199
4824146a
JB
2200 * progmodes/idlw-shell.el (specs): Remove reference to deleted
2201 variable `idlwave-shell-activate-alt-keybindings' and simplify.
2202
b499d8d0
JB
2203 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
2204
ad89bb83
GM
22052012-05-08 Glenn Morris <rgm@gnu.org>
2206
2207 * files.el (auto-mode-alist): Treat ".make" like ".mk".
2208
8bba5a75
SM
22092012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2210
49ed9c8e
SM
2211 * vc/log-edit.el: Add GNU coding standards highlighting.
2212 (log-edit-font-lock-gnu-style)
2213 (log-edit-font-lock-gnu-keywords): New vars.
2214 (log-edit-font-lock-keywords): New fun.
2215 (log-edit-mode): Don't fold case in font-lock.
2216 (log-edit-font-lock-keywords): Do not assume case-folding.
2217
07d00b56
SM
2218 * imenu.el: Misc cleanup. Make docstrings out of comments.
2219 Use lexical-binding.
2220 (imenu--index-alist, imenu--last-menubar-index-alist)
2221 (imenu-menubar-modified-tick): Use defvar-local.
2222 (imenu--split-menu): Remove unused var.
2223 (imenu--cleanup-seen): Declare as global.
2224 (imenu--cleanup): Use dolist.
2225
8bba5a75
SM
2226 * subr.el (defvar-local): Add debug spec and doc-string position.
2227
5075bdb5
GM
22282012-05-08 Glenn Morris <rgm@gnu.org>
2229
c052c904
GM
2230 * lisp/language/burmese.el, language/cham.el, language/czech.el:
2231 * language/english.el, language/georgian.el, language/greek.el:
2232 * language/japanese.el, language/khmer.el, language/korean.el:
2233 * language/lao.el, language/misc-lang.el, language/romanian.el:
2234 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
2235 * language/thai.el, language/utf-8-lang.el:
2236 Remove no-byte-compile setting.
2237
5075bdb5
GM
2238 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
2239
06f679a7
AH
22402012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2241
2242 * progmodes/make-mode.el (makefile-browse):
2243 Remove unnecessary interactive. (Bug#11324)
2244
03794570
GM
22452012-05-07 Glenn Morris <rgm@gnu.org>
2246
af8630f4
GM
2247 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
2248
03794570
GM
2249 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
2250
f0809a9d
SM
22512012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2252
28be5ce7
SM
2253 * loadup.el: Preload newcomment.el.
2254 * newcomment.el: Move autoload-only code to toplevel.
2255
f0809a9d
SM
2256 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
2257 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2258 Handle new :right-align column property.
2259 (tabulated-list-print-col): Idem, plus use `display' text-property to
2260 try and preserve alignment for variable pitch fonts.
2261
1241b724
CY
22622012-05-07 Chong Yidong <cyd@gnu.org>
2263
2264 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
2265 (tabulated-list-use-header-line): New var.
2266 (tabulated-list-init-header): Use it.
2267 (tabulated-list-print-fake-header): New function.
2268 (tabulated-list-print): Use it.
2269 (tabulated-list-sort-button-map): Add non-header-line commands.
2270 (tabulated-list-init-header): Add column name property to basic
2271 labels as well.
2272 (tabulated-list-col-sort): Handle non-header-line button case.
2273 (tabulated-list--sort-by-column-name): Fix a corner case.
2274
f0809a9d
SM
2275 * buff-menu.el (list-buffers--refresh):
2276 Handle Buffer-menu-use-header-line.
1241b724 2277
e5f9458f
CY
22782012-05-06 Chong Yidong <cyd@gnu.org>
2279
2280 * buff-menu.el: Convert to Tabulated List mode.
2281 (Buffer-menu-buffer+size-width): Make obsolete.
2282 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
2283 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
2284 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
2285 documentation into docstring of buffer-menu.
2286 (Buffer-menu-toggle-files-only): Add an informative message.
2287 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
2288 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
2289 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
2290 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
2291 (Buffer-menu-execute, Buffer-menu-select)
2292 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
2293 (Buffer-menu-bury): Use Tabulated List machinery.
2294 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
2295 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 2296 Delete.
e5f9458f
CY
2297 (list-buffers--refresh): New function.
2298 (list-buffers-noselect): Use it.
2299 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
2300 (Buffer-menu--pretty-file-name): New helper functions.
2301
2302 * loadup.el: Preload tabulated-list.
2303
2304 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
2305 tabulated-list-sort-column.
2306 (tabulated-list-init-header): Add the initial aligning space even
2307 if tabulated-list-padding is zero.
2308
e129292c
CS
23092012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
2310
2311 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
2312 whose cdr is not a cons cell correctly (bug#11038).
2313
6632d361
CY
23142012-05-06 Chong Yidong <cyd@gnu.org>
2315
e129292c
CS
2316 * emacs-lisp/tabulated-list.el (tabulated-list-format):
2317 Accept additional plist in column descriptors.
6632d361
CY
2318 (tabulated-list-init-header): Obey it.
2319 (tabulated-list-get-entry): New function.
2320 (tabulated-list-put-tag): Use it. Use string-width instead of
2321 length.
2322 (tabulated-list--column-number): New function.
2323 (tabulated-list-print): Use it.
e129292c
CS
2324 (tabulated-list-print-col): New function.
2325 Set `tabulated-list-column-name' property on each column's text.
6632d361 2326 (tabulated-list-print-entry): Use it.
e129292c
CS
2327 (tabulated-list-delete-entry, tabulated-list-set-col):
2328 New functions.
6632d361
CY
2329 (tabulated-list-sort-column): New command (Bug#11337).
2330
3cc99f68
CY
2331 * buff-menu.el (list-buffers): Move C-x C-b binding from
2332 buff-menu.el to bindings.el.
2333
2334 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
2335 :advertised-binding feature.
2336
52b61776
TN
23372012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
2338
2339 * progmodes/compile.el (compilation-internal-error-properties):
2340 Calculate start position correctly when end-col is set but
2341 end-line is not (Bug#11382).
2342
ebfe2597
WJ
23432012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
2344
2345 * man.el (Man-unindent): Use text-property-default-nonsticky to
2346 prevent untabify from inheriting face properties (Bug#11408).
2347
6d3f7c2f
SM
23482012-05-05 Stefan Merten <smerten@oekonux.de>
2349
2350 * textmodes/rst.el: Major merge with upstream development up to
2351 Docutils SVN r7399 / rst.el V1.2.1.
2352
2353 Clarify maintainership and authors.
2354
2355 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
2356 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
2357 (rst-official-version, rst-official-cvs-rev, rst-version)
2358 (rst-package-emacs-version-alist): New functions and variables
2359 for version information.
2360
2361 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
2362 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
2363 (rst-mode-syntax-table, rst-mode): New and corrected functions
2364 and variables representing reStructuredText features.
2365
2366 (rst-re): New function for reStructuredText regexes. Use in
2367 many places.
2368
2369 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2370 (rst-mode-map): Rebind keys.
2371
2372 (rst-mode-lazy, rst-font-lock-keywords)
2373 (rst-font-lock-extend-region)
2374 (rst-font-lock-extend-region-internal)
2375 (rst-font-lock-extend-region-extend)
2376 (rst-font-lock-find-unindented-line-limit)
2377 (rst-font-lock-find-unindented-line-match)
2378 (rst-adornment-level, rst-font-lock-adornment-level)
2379 (rst-font-lock-adornment-match)
2380 (rst-font-lock-handle-adornment-pre-match-form)
2381 (rst-font-lock-handle-adornment-matcher): Major revision of
2382 font-locking. Integrate with other code. Use `jit-lock-mode'.
2383
2384 (rst-preferred-adornments, rst-adjust-hook)
2385 (rst-new-adornment-down, rst-preferred-bullets)
2386 (rst-preferred-bullets, rst-indent, rst-indent-width)
2387 (rst-indent-field, rst-indent-literal-normal)
2388 (rst-indent-literal-minimized, rst-indent-comment): Change,
2389 extend and improve customization.
2390
2391 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2392 (rst-normalize-cursor-position, rst-get-decoration)
2393 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2394 (rst-rstrip, rst-toc-insert-find-delete-contents)
2395 (rst-shift-fill-region, rst-compute-bullet-tabs)
2396 (rst-debug-print-tabs, rst-debug-mark-found)
2397 (rst-shift-region-guts, rst-shift-region-right)
2398 (rst-shift-region-left, rst-use-char-classes)
2399 (rst-font-lock-keywords-function)
2400 (rst-font-lock-indentation-point)
2401 (rst-font-lock-find-unindented-line-begin)
2402 (rst-font-lock-find-unindented-line-end)
2403 (rst-font-lock-find-unindented-line)
2404 (rst-font-lock-adornment-point, rst-font-lock-level)
2405 (rst-adornment-level-alist): Remove functions and variables.
2406
2407 (rst-compare-adornments, rst-get-adornment-match)
2408 (rst-suggest-new-adornment, rst-get-adornments-around)
2409 (rst-adornment-complete-p, rst-get-next-adornment)
2410 (rst-adjust-adornment, rst-display-adornments-hierarchy)
2411 (rst-straighten-adornments): Standardize function names to
2412 use "adornment" instead of "decoration". Correct callers.
2413 Similar standardizing in many places.
2414
2415 (rst-update-section, rst-adjust, rst-promote-region)
2416 (rst-enumerate-region, rst-bullet-list-region)
2417 (rst-repeat-last-character): Correct use of `interactive'.
2418
2419 (rst-classify-adornment, rst-find-all-adornments)
2420 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2421 (rst-find-leftmost-column, rst-repeat-last-character):
2422 Refactor functions.
2423
2424 (rst-find-title-line, rst-reset-section-caches)
2425 (rst-get-adornments-around, rst-adjust-adornment-work)
2426 (rst-arabic-to-roman, rst-roman-to-arabic)
2427 (rst-insert-list-pos, rst-insert-list-new-item)
2428 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2429 New functions.
2430
2431 (rst-all-sections, rst-section-hierarchy)
2432 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2433 New variables.
2434
2435 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2436 configuration instead of only buffer. Change where necessary.
2437
2438 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2439 (rst-shift-region, rst-adaptive-fill): New functions for
2440 indentation and filling.
2441
2442 (rst-comment-line-break, rst-comment-indent)
2443 (rst-comment-insert-comment, rst-comment-region)
2444 (rst-uncomment-region): New functions for handling comments.
2445
2446 (rst-compile): Quote shell arguments.
2447
2448 (rst-compile-pdf-preview, rst-compile-slides-preview):
2449 Delete temporary files after use.
2450
a43f98b3
GM
24512012-05-05 Glenn Morris <rgm@gnu.org>
2452
48176e8b
GM
2453 * calendar/cal-html.el: Optionally include holidays in the output.
2454 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2455 (cal-html-holidays): New option.
2456 (cal-html-css-default): Add holiday entry.
2457 (holiday-in-range): Autoload it.
2458 (cal-html-htmlify-entry): Add optional class argument.
2459 (cal-html-htmlify-list): Add optional holidays argument.
2460 (cal-html-insert-agenda-days): Include holidays in the output.
2461 (cal-html-one-month): Maybe include holidays.
2462
a43f98b3
GM
2463 * calendar/holidays.el (holiday-in-range):
2464 Move here from cal-tex-list-holidays.
2465 * calendar/cal-tex.el (cal-tex-list-holidays):
2466 Make it an obsolete alias for holiday-in-range. Update all callers.
2467
fef9d149 24682012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
2469
2470 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2471 Nextstep.
2472
248da2f4
RW
24732012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
2474
2475 * files.el (file-auto-mode-skip): New var.
2476 (set-auto-mode-1): Use it.
2477
f95e9344
SM
24782012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2479
df96ab1e
SM
2480 * repeat.el: Use lexical-binding.
2481 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2482 (repeat-undo-count): Remove.
2483 (repeat):
2484 * progmodes/octave-mod.el (octave-abbrev-start):
2485 * progmodes/f90.el (f90-abbrev-start):
2486 * face-remap.el (text-scale-adjust):
2487 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2488
5342bb06
SM
2489 * emacs-lisp/pcase.el (pcase--let*): New function.
2490 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2491 a bit more.
2492 (pcase--split-pred): Be more clever about ruling out overlap between
2493 a predicate and some constant pattern.
2494 (pcase--q1): Use `null' instead of (eq foo nil).
2495
f95e9344
SM
2496 * subr.el (setq-local, defvar-local): New macros.
2497 (kbd): Redefine as an alias.
2498 (with-selected-window): Leave unrelated frames alone.
2499 (set-temporary-overlay-map): New function.
2500
71873e2b
SM
25012012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2502
2503 * subr.el (user-error): New function.
2504 * window.el (switch-to-buffer):
2505 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2506 (smerge-match-conflict):
2507 * simple.el (previous-matching-history-element)
2508 (next-matching-history-element, goto-history-element, undo-more)
2509 (undo-start):
2510 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2511 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2512 (next-file, tags-loop-scan, list-tags, complete-tag):
2513 * progmodes/compile.el (compilation-loop):
2514 * mouse.el (mouse-minibuffer-check):
2515 * man.el (Man-bgproc-sentinel, Man-goto-page):
2516 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2517 (Info-history-forward, Info-follow-reference, Info-menu)
2518 (Info-extract-menu-item, Info-extract-menu-counting)
2519 (Info-forward-node, Info-backward-node, Info-next-menu-item)
2520 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2521 (Info-next-reference, Info-prev-reference, Info-index)
2522 (Info-index-next, Info-follow-nearest-node)
2523 (Info-copy-current-node-name):
2524 * imenu.el (imenu--make-index-alist)
2525 (imenu-default-create-index-function, imenu-add-to-menubar):
2526 * files.el (basic-save-buffer, recover-file):
2527 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2528 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2529 (checkdoc-message-text, checkdoc-defun):
2530 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2531 * cus-edit.el (customize-changed-options, customize-rogue)
2532 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2533 (custom-variable-mark-to-reset-standard)
2534 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2535 (custom-file):
2536 * completion.el (check-completion-length):
2537 * comint.el (comint-search-arg)
2538 (comint-previous-matching-input-string-position)
2539 (comint-previous-matching-input)
2540 (comint-replace-by-expanded-history-before-point, comint-send-input)
2541 (comint-copy-old-input, comint-backward-matching-input)
2542 (comint-goto-process-mark, comint-set-process-mark):
2543 * calendar/calendar.el (calendar-cursor-to-date): Use it.
2544 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2545
8a61ee22
SM
25462012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2547
66408d1e
SM
2548 * dabbrev.el (dabbrev--ignore-case-p): New function.
2549 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2550 Use it.
2551
8a61ee22
SM
2552 * files.el (automount-dir-prefix): Mark as obsolete.
2553
3c74813a
GM
25542012-05-04 Glenn Morris <rgm@gnu.org>
2555
2556 * patcomp.el, play/bruce.el: Move to obsolete/.
2557
0bfcf5c5
PE
25582012-05-04 Paul Eggert <eggert@cs.ucla.edu>
2559
2560 Fix minor Y10k bugs.
2561 * arc-mode.el (archive-unixdate):
2562 * autoinsert.el (auto-insert-alist):
2563 * calc/calc-forms.el (math-this-year):
2564 * emacs-lisp/copyright.el (copyright-current-year)
2565 (copyright-update-year, copyright):
2566 * tar-mode.el (tar-clip-time-string):
2567 * time.el (display-time-update):
2568 Don't assume years have 4 digits.
2569
78f3273a
CY
25702012-05-04 Chong Yidong <cyd@gnu.org>
2571
2572 * dos-w32.el (file-name-buffer-file-type-alist)
2573 (direct-print-region-use-command-dot-com):
2574 * ffap.el (ffap-menu-regexp):
2575 * find-file.el (ff-special-constructs):
2576 * follow.el (follow-debug):
2577 * forms.el (forms--debug):
2578 * iswitchb.el (iswitchb-all-frames):
2579 * ido.el (ido-all-frames):
2580 * emacs-lisp/timer.el (timer-max-repeats):
2581 * mail/feedmail.el (feedmail-mail-send-hook)
2582 (feedmail-mail-send-hook-queued):
2583 * mail/footnote.el (footnote-signature-separator):
2584 * mail/mailabbrev.el (mail-alias-separator-string)
2585 (mail-abbrev-mode-regexp):
2586 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
2587 * progmodes/idlwave.el (idlwave-libinfo-file)
2588 (idlwave-default-completion-case-is-down)
2589 (idlwave-library-routines): Convert defvars to defcustoms.
2590
2591 * mail/rmail.el (rmail-decode-mime-charset):
2592 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
2593 (idlwave-shell-fix-inserted-breaks)
2594 (idlwave-shell-activate-alt-keybindings)
2595 (idlwave-shell-use-breakpoint-glyph):
2596 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
2597
f7ae6719
SM
25982012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2599
2600 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
2601
47086495
WS
26022012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
2603
2604 * progmodes/verilog-mode.el (font-lock-keywords):
2605 Fix mis-highligting auto. Reported by Craig Barner.
2606 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2607 defines from global name space. Reported by Dan Dever.
2608 (verilog-auto-reset, verilog-auto-reset-widths)
2609 (verilog-auto-tieoff): Support using unbased numbers for
2610 AUTORESET and AUTOTIEOFF.
2611 (verilog-submit-bug-report): Update variable list.
2612 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2613 parenthesis from not matching. Reported by Michael Rytting.
2614 (verilog-auto-template-lint): Fix hash error when linting modules
2615 with no used templates.
2616 (verilog-warn, verilog-warn-error)
2617 (verilog-warn-fatal): When non-interactive report multiple
2618 warnings before exiting. Suggested by Brad Dobbie.
2619 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2620 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2621 to report unused template errors. Reported by Brad Dobbie.
2622 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2623 nets, bug438. Reported by Vns Blore.
2624 (verilog-auto-inout-module, verilog-auto-reg)
2625 (verilog-read-decls, verilog-read-sub-decls-sig)
2626 (verilog-signals-edit-wire-reg, verilog-signals-with):
2627 Fix passing of Verilog data types in ANSI input/output ports
2628 such as "output logic" into the AUTOs. Special case "wire" and
2629 "reg" for backwards compatibility presuming Verilog 2001.
2630 (verilog-auto-ascii-enum): Add "auto enum" as alias.
2631 (verilog-preprocess): Fix replication of preprocess output.
2632 Reported by Brad Dobbie.
2633 (verilog-auto-inst-interfaced-ports):
2634 Create verilog-auto-inst-interfaced-ports, bug429.
2635 Reported by Julian Gorfajn.
2636 (verilog-after-save-font-hook)
2637 (verilog-before-save-font-hook): New variable.
2638 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2639 (verilog-save-font-mods): Wrap disabling fontification, reported
2640 by David Rogoff.
2641 (verilog-do-indent, verilog-pretty-declarations-auto)
2642 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2643 Reported by Pierre-David Pfister.
2644 (verilog-set-auto-endcomments): Fix endtask auto comments outside
2645 of class declarations, bug292. Reported by Kevin Heilman.
2646 (verilog-read-decls): Fix 'parameter type' not appearing in
2647 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
2648 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2649 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2650 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2651 Reported by David Kravitz.
2652
26532012-05-03 Michael McNamara <mac@mail.brushroad.com>
2654
2655 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2656 assignment with tests in ifs and for loops.
2657 (verilog-extended-complete-re, verilog-complete-reg): Change so
2658 that DPI inport functions don't look like fuction declarations.
2659 (verilog-pretty-expr): Don't line up assignment
2660 operations to the test and increment in if and for loops
2661 (verilog-extended-complete-re, verilog-complete-reg): Change so
2662 that DPI inport functions don't look like fuction declarations
2663
2e51d4b5
KH
26642012-05-03 Kenichi Handa <handa@m17n.org>
2665
2666 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 2667 decoding, and show a warning message without signaling an error
2e51d4b5
KH
2668 (Bug#11282).
2669
2bd785a2
SM
26702012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2671
2672 * emacs-lisp/bytecomp.el
2673 (byte-compile-file-form-custom-declare-variable): Compile all elements,
2674 since cconv.el might have introduced :fun-body, internal-make-closure,
2675 and friends for bytecomp to handle (bug#11391).
2676 * custom.el (defcustom): Avoid ((λ ..) ..).
2677
99d27583
SM
26782012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2679
2680 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2681
55a71479
JB
26822012-05-02 Juanma Barranquero <lekktu@gmail.com>
2683
2684 * notifications.el (dbus-debug):
2685 * term/linux.el (gpm-mouse-enable):
2686 * term/screen.el (xterm-register-default-colors): Declare.
2687
7b97c764
CY
26882012-05-02 Chong Yidong <cyd@gnu.org>
2689
2bc356d7
CY
2690 * cus-start.el (gc-cons-percentage, exec-suffixes)
2691 (dos-display-scancodes, dos-hyper-key, dos-super-key)
2692 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2693 (make-cursor-line-fully-visible, void-text-area-pointer)
2694 (font-list-limit): Add customization data.
2695
7b97c764
CY
2696 * allout.el (allout-exposure-change-functions)
2697 (allout-structure-added-functions)
2698 (allout-structure-deleted-functions)
2699 (allout-structure-shifted-functions): Rename abnormal hooks from
2700 *-hook, and convert to defcustoms.
5d3385a0
JB
2701 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2702 Convert to defcustoms.
7b97c764
CY
2703 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2704
2705 * allout-widgets.el: Hook callers changed.
2706
90207a15 27072012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
2708
2709 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2710 the yanked message in preference to the default value of
2711 buffer-file-coding-system.
2712
90207a15 27132012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 2714
5d3385a0
JB
2715 * window.el (display-buffer--action-function-custom-type):
2716 Fix entry.
d9558cad 2717
90207a15 27182012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
2719
2720 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2721
d80ac57b
GM
27222012-05-01 Glenn Morris <rgm@gnu.org>
2723
976f7668
GM
2724 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2725
beb83b5a
GM
2726 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2727
d80ac57b
GM
2728 * cus-edit.el (custom-variable-documentation): Simplify with format.
2729
b593d6a9
AH
27302012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2731 Stefan Monnier <monnier@iro.umontreal.ca>
2732
2733 * simple.el (suggest-key-bindings, execute-extended-command):
2734 Move from keyboard.c.
2735
782fbf2a
CY
27362012-05-01 Chong Yidong <cyd@gnu.org>
2737
2738 * follow.el: Eliminate advice.
2739 (set-process-filter, process-filter, sit-for): Advice deleted.
2740 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
2741 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2742 Vars deleted.
782fbf2a
CY
2743 (follow-auto): Use a :set function.
2744 (follow-mode): Rewritten. Don't advise process filters.
2745 (follow-switch-to-current-buffer-all, follow-scroll-up)
2746 (follow-scroll-down): Assume follow-mode is bound.
2747 (follow-comint-scroll-to-bottom)
2748 (follow-align-compilation-windows): New functions.
2749 (follow--window-sorter): New function.
2750 (follow-all-followers): Use it to explicitly sort windows by their
2751 positions; don't make assumptions about next-window order.
2752 (follow-windows-start-end, follow-delete-other-windows-and-split)
2753 (follow-calc-win-start): Doc fix.
2754 (follow-windows-aligned-p, follow-select-if-visible): Don't call
2755 vertical-motion unnecessarily.
2756 (follow-adjust-window): New function.
2757 (follow-post-command-hook): Use it.
2758 (follow-call-set-process-filter, follow-call-process-filter)
2759 (follow-intercept-process-output, follow-tidy-process-filter-alist)
2760 (follow-stop-intercept-process-output, follow-generic-filter):
2761 Functions deleted.
2762 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
2763 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2764 New functions, replacing advice on scroll-bar-* commands.
87233a14 2765 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
2766
2767 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
2768 (comint-postoutput-scroll-to-bottom): Use it.
2769 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 2770
290af740
GM
27712012-05-01 Glenn Morris <rgm@gnu.org>
2772
2773 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2774 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2775 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2776 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2777 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2778 Remove no-byte-compile setting.
2779
6eac8dc9
SM
27802012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2781
2782 * minibuffer.el (completion-table-with-quoting): Fix compatibility
2783 all-completions code to not return a number in the last cdr.
2784
9cc7819c
LL
27852012-04-30 Leo Liu <sdl.web@gmail.com>
2786
2787 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2788 read-only error.
2789
c93b886f
CY
27902012-04-29 Chong Yidong <cyd@gnu.org>
2791
2792 * follow.el (follow-calc-win-end): Rewrite to handle partial
2793 screen lines correctly (Bug#8390).
2794 (follow-avoid-tail-recenter): Minor cleanup.
2795
8b6c19f4
SM
27962012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2797
2798 Avoid the obsolete `assoc' package.
2799 * speedbar.el (speedbar-refresh): Avoid adelete.
2800 (speedbar-file-lists): Simplify and avoid aput.
2801 * man.el (Man--sections, Man--refpages): New vars, replacing
2802 Man-sections-alist and Man-refpages-alist.
2803 (Man-build-section-alist, Man-build-references-alist):
2804 Use them; avoid aput.
2805 (Man--last-section, Man--last-refpage): New vars.
2806 (Man-follow-manual-reference): Use them.
2807 Use the `default' arg of completing-read.
2808 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
2809
c5bb7569
CY
28102012-04-27 Chong Yidong <cyd@gnu.org>
2811
d1d2e2e8
CY
2812 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2813
15cd8efd
CY
2814 * startup.el (x-apply-session-resources): New function.
2815
2816 * term/ns-win.el (ns-initialize-window-system):
2817 * term/w32-win.el (w32-initialize-window-system):
2818 * term/x-win.el (x-initialize-window-system): Use it to properly
2819 set menu-bar-mode and other vars from X resources, even if the
2820 initial frame is not a window-system frame (Bug#2299).
2821
c5bb7569
CY
2822 * subr.el (read-key): Avoid running filter function when setting
2823 up temporary tool bar entries (Bug#9922).
2824
a8e7d6d7 28252012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
2826
2827 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2828 (Bug#11344)
2829
a8e7d6d7 28302012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
2831
2832 * select.el (xselect--encode-string): New function, split from
2833 xselect-convert-to-string.
2834 (xselect-convert-to-string): Use it.
2835 (xselect-convert-to-filename, xselect-convert-to-os)
2836 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
2837 returned strings are properly encoded (Bug#11315).
2838
a8e7d6d7 28392012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
2840
2841 * simple.el (delete-active-region): Move to killing custom group.
2842
a8e7d6d7 28432012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
2844
2845 * progmodes/which-func.el (which-func-current): Quote %
2846 characters for mode-line processing.
2847
578c1d4b 28482012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
2849
2850 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
2851 reaching eob (Bug#11286).
2852
a8e7d6d7 28532012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
2854
2855 * progmodes/gdb-mi.el (gdb-control-level): New variable.
2856 (gdb): Make it buffer-local and init to zero.
2857 (gdb-control-commands-regexp): New variable.
2858 (gdb-send): Don't wrap in "-interpreter-exec console" if
2859 gdb-control-level is positive. Increment gdb-control-level
2860 whenever the command matches gdb-control-commands-regexp, and
2861 decrement it each time the command is "end". (Bug#11279)
2862
a8e7d6d7 28632012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
2864
2865 * window.el (adjust-window-trailing-edge, enlarge-window)
2866 (shrink-window, window-resize):
2867 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
2868 windows (Bug#11276).
2869
b3608390
CY
28702012-04-27 Chong Yidong <cyd@gnu.org>
2871
2872 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 2873 fix "missing prefix" warning. All callers changed.
b3608390 2874
797e6e88
SM
28752012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2876
2877 * emacs-lisp/assoc.el: Move to obsolete/.
2878
e95a67dc
SM
28792012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2880
657c21e4 2881 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
2882
2883 * term/ns-win.el (ns-define-service):
2884 * progmodes/pascal.el (pascal-goto-defun):
2885 * progmodes/js.el (js--read-tab):
2886 * progmodes/etags.el (tags-lazy-completion-table):
2887 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
2888 * emacs-lisp/ewoc.el (ewoc--wrap):
2889 * emacs-lisp/assoc.el (aput, adelete, amake):
2890 * doc-view.el (doc-view-convert-current-doc):
2891 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
2892
cb3e7ae0
CY
28932012-04-26 Chong Yidong <cyd@gnu.org>
2894
dce04f7f
CY
2895 * image.el (image-type-from-buffer): Only return supported image
2896 type (Bug#9045).
2897
cb3e7ae0
CY
2898 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
2899 value, for symmetry with diff-end-of-hunk.
2900 (diff-split-hunk, diff-find-source-location)
2901 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2902 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2903 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2904 compute the relevant hunk or file properly (Bug#6005).
2905 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2906
0d42eb3e
SM
29072012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2908
2909 * vc/vc-mtn.el:
2910 * vc/vc-hg.el:
2911 * vc/vc-git.el:
2912 * vc/vc-dir.el:
2913 * vc/vc-cvs.el:
2914 * vc/vc-bzr.el:
2915 * vc/vc-arch.el:
2916 * vc/vc.el: Replace lexical-let by lexical-binding.
2917 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2918 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2919 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2920
f08ae1c9
CY
29212012-04-26 Chong Yidong <cyd@gnu.org>
2922
8b71081d
CY
2923 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2924 (diff-mode-shared-map): Bind it to / and [remap undo].
2925
f08ae1c9
CY
2926 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2927 (ediff-window-setup-function): Use it as the default, to set up
2928 windows based on whether the current frame is graphical (Bug#2138).
2929 (ediff-choose-window-setup-function-automatically): Make obsolete.
2930
2931 * vc/ediff-init.el: Always define ediff-pixel-width/height.
2932
ef24141c
SM
29332012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2934
cc356a5d
SM
2935 * ffap.el: Remove old code for obsolete package.
2936 (ffap-complete-as-file-p): Remove.
2937
b4ff4f1f
SM
2938 Use completion-table-with-quoting for comint and pcomplete.
2939 * comint.el (comint--unquote&requote-argument)
2940 (comint--unquote-argument, comint--requote-argument): New functions.
2941 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2942 (comint-quote-filename): Use regexp-opt-charset.
2943 (comint--common-suffix, comint--common-quoted-suffix)
2944 (comint--table-subvert): Remove.
2945 (comint-unquote-function, comint-requote-function): New vars.
2946 (comint--complete-file-name-data): Use them with
2947 completion-table-with-quoting.
2948 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2949 * pcomplete.el (pcomplete-arg-quote-list)
2950 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2951 (pcomplete-unquote-argument-function): Default to non-nil.
2952 (pcomplete-unquote-argument): Simplify.
2953 (pcomplete--common-quoted-suffix): Remove.
2954 (pcomplete-requote-argument-function): New var.
2955 (pcomplete--common-suffix): New function.
2956 (pcomplete-completions-at-point): Use completion-table-with-quoting
2957 and completion-table-subvert.
2958
79c4eeb4
SM
2959 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2960 (minibuffer--double-dollars): Preserve properties.
2961 (completion--sifn-requote): New function.
2962 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2963
ef24141c
SM
2964 * minibuffer.el: Add support for completion of quoted/escaped data.
2965 (completion-table-with-quoting, completion-table-subvert): New funs.
2966 (completion--twq-try, completion--twq-all): New functions.
2967 (completion--nth-completion): New function.
2968 (completion-try-completion, completion-all-completions): Use it.
2969
784e7d6e
LL
29702012-04-25 Leo Liu <sdl.web@gmail.com>
2971
dd2ac746
SM
2972 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2973 Use compilation-message if available to find real filename.
784e7d6e 2974
07875ee7
CY
29752012-04-25 Chong Yidong <cyd@gnu.org>
2976
2977 * vc/diff-mode.el (diff-setup-whitespace): New function.
2978 (diff-mode): Use it.
2979
2980 * vc/diff.el (diff-sentinel):
2981 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2982 Whitespace mode variables based on diff style (Bug#8612).
2983
5055880d
LL
29842012-04-25 Leo Liu <sdl.web@gmail.com>
2985
daf75653
LL
2986 * progmodes/python.el (python-send-region): Add suffix .py to the
2987 temp file.
2988
5055880d
LL
2989 * files.el (auto-mode-alist): Use javascript-mode instead.
2990
db9b177b
AH
29912012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2992
ef24141c 2993 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
2994
2995 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 2996 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 2997 references, see Bug#9.
ef24141c 2998 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 2999 when receiving a fault reply.
ef24141c 3000 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
3001
3002 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 3003 (soap-inspect-simple-type): New function.
db9b177b 3004
ef24141c 3005 * soap-client.el (soap-simple-type): New struct.
db9b177b 3006 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
3007 (soap-decode-basic-type, soap-encode-basic-type):
3008 support unsignedInt and double basic types.
db9b177b 3009 (soap-resolve-references-for-simple-type)
ef24141c
SM
3010 (soap-parse-simple-type, soap-encode-simple-type): New function.
3011 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
3012
3013 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
3014 (soap-default-soapenc-types): Add integer, byte and anyURI types.
3015 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
3016 the local name of "soapenc:Array".
3017 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
3018 decoding integer, byte and anyURI xsd types.
3019
1fc6097b
CY
30202012-04-25 Chong Yidong <cyd@gnu.org>
3021
3022 * cus-edit.el (custom-buffer-create-internal): Update header text.
3023
afc6df87
EZ
30242012-04-25 Eli Zaretskii <eliz@gnu.org>
3025
3026 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
3027 settings on 'system-type', not on 'window-system'. On MS-Windows,
3028 set interactive-mode on in GDB.
3029
dfbd787f
SM
30302012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3031
3032 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
3033 (ruby-syntax-propertize-regexp): Remove.
3034 (ruby-syntax-propertize-function): Split regexp into chunks.
3035 Match following code directly.
3036
85222d44
DG
30372012-04-24 Dmitry Gutov <dgutov@yandex.ru>
3038
51a8ea2a
DG
3039 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
3040 (ruby-syntax-propertize-regexp): New function.
3041 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
3042 by a special keyword.
3043
85222d44
DG
3044 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
3045 (ruby-syntax-general-delimiters-goto-beg)
3046 (ruby-syntax-propertize-general-delimiters): New functions.
3047 (ruby-syntax-propertize-function): Use them to handle GDL.
3048 (ruby-font-lock-keywords): Move old handling of GDL...
3049 (ruby-font-lock-syntactic-keywords): .. to here.
3050 (ruby-calculate-indent): Adjust indentation for GDL.
3051
b613912b
MA
30522012-04-24 Michael Albinus <michael.albinus@gmx.de>
3053
b5380639
MA
3054 * notifications.el (top): Remove unneeded declarations.
3055 (notifications-specification-version): Change to "1.2".
e43042fe 3056 (notifications-interface, notifications-notify-method)
b613912b
MA
3057 (notifications-close-notification-method): Fix docstring.
3058 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
3059 (notifications-notify): Add :action-items, :resident and
3060 :transient hints. Change "image_data" to "image-data" and
3061 "image_path" to "image-path".
b613912b
MA
3062 (notifications-get-capabilities): New defun.
3063
257440aa
LL
30642012-04-24 Leo Liu <sdl.web@gmail.com>
3065
3066 * progmodes/python.el: Move hideshow setup to the end.
3067
b1bac16e
MR
30682012-04-24 Martin Rudalics <rudalics@gmx.at>
3069
3070 * window.el (handle-select-window): Clear echo area since this is
3071 no more done by read_char (Bug#11304).
3072
d81bd059
SM
30732012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
3074
3075 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
3076 and `/ M' to filter-derived-mode.
3077 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
3078 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
3079 (ibuffer-mark-by-mode): Use default rather than initial-input.
3080 (ibuffer-filter-by-derived-mode): Autoload and require-match.
3081
c4cf6d91
IA
30822012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
3083
3084 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
3085 (ibuffer-filter-by-derived-mode): New filter.
3086 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
3087
7511ded8
CY
30882012-04-23 Andreas Politz <politza@fh-trier.de>
3089
3090 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
3091
775c916b
CY
30922012-04-23 Chong Yidong <cyd@gnu.org>
3093
3094 * cus-edit.el (customize-apropos, customize-apropos-options):
3095 Disable matching of non-option variables (Bug#11176).
3096 (customize-option, customize-option-other-window)
3097 (customize-changed-options): Doc fix.
3098 (customize-apropos-options, customize-apropos-faces)
3099 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
3100
3101 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 3102 Fix word list splitting (Bug#11132).
46c71e23
CY
3103 (apropos-symbol, apropos-keybinding, apropos-label)
3104 (apropos-property, apropos-function-button)
3105 (apropos-variable-button, apropos-misc-button): New faces.
3106 (apropos-symbol-face, apropos-keybinding-face)
3107 (apropos-label-face, apropos-property-face, apropos-match-face):
3108 Variables removed (Bug#8396).
3109 (apropos-library-button, apropos-format-plist, apropos-print)
3110 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 3111
2df41f9c
MA
31122012-04-23 Michael Albinus <michael.albinus@gmx.de>
3113
3114 * net/xesam.el (xesam-mode-map): Use let-bound map in
3115 initialization. (Bug#11292)
3116
da00640a
AM
31172012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
3118
3119 Preserve ispell session localwords when switching back to
3120 original buffer.
3121
3122 * ispell.el (ispell-buffer-session-localwords): New buffer-local
3123 variable to hold buffer session localwords.
3124 (ispell-kill-ispell): add option 'clear to delete session
3125 localwords.
3126 (ispell-command-loop, ispell-change-dictionary)
3127 (ispell-buffer-local-words): Preserve session localwords when
3128 needed.
3129
3130 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
3131 Preserve session localwords when needed.
3132
f621ccf5
AM
31332012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
3134
3135 * ispell.el (ispell-insert-word) Remove unneeded function using
3136 obsolete `translation-table-for-input'.
ef24141c
SM
3137 (ispell-word, ispell-process-line, ispell-complete-word):
3138 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 3139
c2d1019e
CY
31402012-04-22 Chong Yidong <cyd@gnu.org>
3141
3142 * cus-edit.el (custom-variable-menu)
3143 (custom-variable-reset-saved, custom-face-menu)
3144 (custom-face-reset-saved): If there is no saved value, make the
3145 "reset-saved" operation bring back the default (Bug#9509).
3146 (custom-face-state): Properly detect themed faces.
3147
eeddc531
CY
3148 * faces.el (face-spec-set): Stop supporting deprecated form of
3149 third arg.
3150
dcbf5805
MA
31512012-04-22 Michael Albinus <michael.albinus@gmx.de>
3152
3153 Move functions from C to Lisp. Make non-blocking method calls
3154 the default. Implement further D-Bus standard interfaces.
3155
ef24141c
SM
3156 * net/dbus.el (dbus-message-internal): Declare function.
3157 Remove unneeded function declarations.
dcbf5805
MA
3158 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
3159 (dbus-message-type-method-return, dbus-message-type-error)
3160 (dbus-message-type-signal): Declare variables. Remove local
3161 definitions.
3162 (dbus-interface-dbus, dbus-interface-peer)
3163 (dbus-interface-introspectable, dbus-interface-properties)
3164 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
3165 Adapt docstring.
3166 (dbus-interface-objectmanager): New defconst.
3167 (dbus-call-method, dbus-call-method-asynchronously)
3168 (dbus-send-signal, dbus-method-return-internal)
3169 (dbus-method-error-internal, dbus-register-service)
3170 (dbus-register-signal, dbus-register-method): New defuns, moved
3171 from dbusbind.c
3172 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
3173 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
3174 New defuns.
dcbf5805
MA
3175 (dbus-call-method-non-blocking): Make it an obsolete function.
3176 (dbus-unregister-object, dbus-unregister-service)
3177 (dbus-handle-event, dbus-register-property)
3178 (dbus-property-handler): Obey the new structure of
3179 `bus-registered-objects'.
3180 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
3181 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
3182 Use `dbus-call-method'.
3183
cf20dee0
CY
31842012-04-22 Chong Yidong <cyd@gnu.org>
3185
3186 * cus-edit.el (custom-commands, custom-reset-menu)
3187 (Custom-reset-standard): Tweak labels.
3188 (custom-reset-button-menu): Change default to t.
3189 (custom-buffer-create-internal): For the custom-reset-button-menu
3190 case, put the revert button first.
3191 (custom-group-subtitle): New face.
3192 (custom-group-value-create): Align docstring to a specific column.
3193
3194 * wid-edit.el (widget-documentation-link-add): Don't handle
3195 indentation in this function.
3196 (widget-documentation-string-indent-to): New function.
3197 (widget-documentation-string-value-create): Use it.
3198
3199 * autorevert.el (auto-revert):
3200 * epg-config.el (epg):
3201 * ibuffer.el (ibuffer):
3202 * mpc.el (mpc):
3203 * ses.el (ses):
3204 * eshell/eshell.el (eshell):
3205 * net/ange-ftp.el (ange-ftp):
3206 * progmodes/ebnf2ps.el (postscript):
3207 * progmodes/flymake.el (flymake):
3208 * progmodes/prolog.el (prolog):
3209 * progmodes/verilog-mode.el (verilog-mode):
3210 * progmodes/which-func.el (which-func):
3211 * term/xterm.el (xterm):
3212 * textmodes/picture.el (picture):
3213 * textmodes/tildify.el (tildify):
3214 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
3215 customization buffers.
3216
583e23bd
AM
32172012-04-22 Alan Mackenzie <acm@muc.de>
3218
3219 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3220 Adding a ) can hide the resulting (..) from searches. Fix it.
3221 Bound the backward search to the position of the existing (.
3222
7dd51bf1
JB
32232012-04-21 Juanma Barranquero <lekktu@gmail.com>
3224
3225 * progmodes/verilog-mode.el (verilog-mode): Check whether
3226 which-func-modes is t before adding verilog-mode.
3227 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
3228
d64a438f
LL
32292012-04-21 Leo Liu <sdl.web@gmail.com>
3230
7dd51bf1 3231 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 3232
081e8d65
MV
32332012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
3234
3235 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
3236 filling of the last column of a table (Bug#5635).
3237 (woman-find-next-control-line): New arg, specifying an additional
3238 regexp component for the control line.
3239 (woman2-roff-buffer): Use it.
3240 (woman-break-table): New function.
3241 (woman2-TS): Use it.
3242
32432012-04-21 Chong Yidong <cyd@gnu.org>
3244
3245 * woman.el (woman-set-buffer-display-table, woman-decode-region)
3246 (woman-horizontal-escapes, woman-negative-vertical-space)
3247 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
3248 (WoMan-warn-ignored): Use ?\s instead of ?\ .
3249
ed571ccb
SM
32502012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3251
3252 * minibuffer.el (completion-file-name-table): Complete user names.
3253
39773899
LL
32542012-04-20 Leo Liu <sdl.web@gmail.com>
3255
3256 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
3257 and pcase-let*.
3258
de6ff46d
CY
32592012-04-20 Chong Yidong <cyd@gnu.org>
3260
3261 * server.el (server-execute): Respect initial-buffer-choice if it
3262 is a string and there are no files to open (Bug#2825).
3263 (server-create-window-system-frame, server-create-tty-frame):
3264 Don't switch buffers here.
2d0e8e61
CY
3265 (server-process-filter): Only try to open a window system frame if
3266 compiled with graphical support (Bug#8314).
de6ff46d 3267
54071013
DN
32682012-04-20 Dan Nicolaescu <dann@gnu.org>
3269
3270 * battery.el (battery-echo-area-format): Display remaining time
3271 for sysfs backend too (Bug#11269).
3272 (battery-linux-sysfs): Fix conditional for the charge.
3273
f30d612a
CY
32742012-04-20 Chong Yidong <cyd@gnu.org>
3275
c07a4c0b 3276 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
3277 (gdb-inferior-io--init-proc): New function.
3278 (gdb-init-1): Use it.
3279 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
3280 responsible for allocating a new pty and hooking it to gdb when
3281 the old pty gets an EIO due to process exit.
3282 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
3283 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
3284 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
3285
2116e93c
EZ
32862012-04-20 Eli Zaretskii <eliz@gnu.org>
3287
3288 * window.el (window-min-size, window-sizable, window-min-delta)
3289 (window-max-delta, window--resizable, window-resizable)
3290 (window-total-size, window-full-height-p, window-full-width-p)
3291 (window-in-direction, window--resize-mini-window, window-resize)
3292 (window--resize-child-windows-normal)
3293 (window--resize-child-windows, window--resize-siblings)
3294 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 3295 (enlarge-window, shrink-window): Doc fixes.
2116e93c 3296
c07a4c0b 32972012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 3298
ef24141c
SM
3299 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
3300 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
3301 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
3302 pty process (Bug#11273).
3303 (gdb-update): New arg to suppress talking to the gdb process.
3304 (gdb-done-or-error): Use it.
3305 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
3306 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
3307 sentinel not being called.
3308
3309 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
3310
d02766ab
CY
3311 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
3312
c07a4c0b 33132012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
3314
3315 * net/network-stream.el (open-network-stream): Doc fix.
3316
c07a4c0b 33172012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
3318
3319 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
3320
c07a4c0b 33212012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
3322
3323 Ensure searching for keywords is case sensitive.
3324
3325 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
3326 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
3327 (c-defun-name, c-mark-function, c-cpp-define-name)
3328 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 3329 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 3330
ef24141c
SM
3331 * progmodes/cc-mode.el (c-font-lock-fontify-region):
3332 Bind case-fold-search to nil.
f0f6bc35 3333
c07a4c0b 33342012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
3335
3336 * mail/sendmail.el (mail-bury): Call return action with the right
3337 Rmail buffer (Bug#11242).
3338
9a864fa2
CY
3339 * server.el (server-process-filter): Handle corner case where both
3340 tty and nowait options are present (Bug#11102).
3341
539aa513
EZ
33422012-04-20 Eli Zaretskii <eliz@gnu.org>
3343
3344 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
3345 (top level): Put into the executable the ident-style '$Id:' tag on
3346 windows-nt as well.
539aa513 3347
cfc7d5da
SM
33482012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3349
3350 * electric.el (electric-indent-post-self-insert-function): Check that
3351 electric-indent-mode is enabled in current buffer.
3352
5b01685c
JB
33532012-04-19 Juanma Barranquero <lekktu@gmail.com>
3354
3355 * imenu.el (imenu-progress-message): Restore; it is "used" in
3356 erc/erc-imenu.el and net/snmp-mode.el.
3357
4d6769e1
JB
33582012-04-19 Juanma Barranquero <lekktu@gmail.com>
3359
3360 * avoid.el (mouse-avoidance-mode): Mark unused arg.
3361 (mouse-avoidance-nudge-mouse): Remove unused binding.
3362
3363 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
3364
3365 * descr-text.el (describe-char):
3366 * progmodes/python.el (python-describe-symbol):
3367 Don't call `toggle-read-only', set `buffer-read-only'.
3368
3369 * imenu.el (imenu-default-goto-function): Mark unused args.
3370 (imenu-progress-message): Remove obsolete macro; all callers changed.
3371
3372 * subr.el (keymap-canonicalize): Remove unused binding.
3373 (read-passwd): Mark unused arg.
3374
3375 * tutorial.el (tutorial--display-changes): Remove unused binding.
3376 (tutorial--save-tutorial-to): Remove unused variable.
3377
3378 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3379 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3380 (package-generate-autoloads, package-menu--generate)
3381 (package-menu--find-upgrades): Remove unused bindings.
3382
3383 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3384 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
3385 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3386 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3387 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3388 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3389 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3390 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3391 (cua-delete-char-rectangle): Mark unused args.
3392 (cua-align-rectangle): Remove unused binding.
3393
3394 * mail/rmail.el (compilation--message->loc)
3395 (epa--find-coding-system-for-mime-charset): Declare.
3396
3397 * net/dbus.el (dbus-register-service): Declare.
3398 (dbus-name-owner-changed-handler): Remove unused binding.
3399
3400 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3401 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3402 (nxml-scan-backward-within): Mark unused arg.
3403 (nxml-dynamic-markup-word): Remove unused binding.
3404
3405 * mouse.el (mouse-menu-major-mode-map):
3406 * emacs-lisp/authors.el (authors-scan-change-log)
3407 (authors-add-to-author-list):
3408 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3409 * emacs-lisp/smie.el (smie-auto-fill):
3410 * mail/sendmail.el (mail-bury):
3411 * mail/unrmail.el (unrmail):
3412 * net/tls.el (open-tls-stream):
3413 * textmodes/picture.el (picture-mouse-set-point):
3414 Remove unused bindings.
3415
8c8fc5df
MA
34162012-04-19 Michael Albinus <michael.albinus@gmx.de>
3417
3418 * net/tramp.el (tramp-action-password): Let-bind
3419 `enable-recursive-minibuffers' to t.
3420
a77b0ac9
SS
34212012-04-18 Sam Steingold <sds@gnu.org>
3422
3423 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3424 instead of 'string to accommodate values like [f11].
3425 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3426 * progmodes/gdb-mi.el: Likewise.
3427
12a106a9
LL
34282012-04-18 Leo Liu <sdl.web@gmail.com>
3429
3430 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3431 current buffer.
3432 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3433 LOCAL is nil.
3434
bc6494ef
CY
34352012-04-18 Chong Yidong <cyd@gnu.org>
3436
3437 * simple.el (line-move): Use forward-line if in batch mode
3438 (Bug#11053).
3439
c09c46b2
CS
34402012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
3441
3442 * files.el (after-find-file): Do not try to add a final newline if
3443 the buffer is read-only (Bug#11156).
3444
5f6530ea
RS
34452012-04-17 Richard Stallman <rms@gnu.org>
3446
3447 * mail/rmail.el (rmail-start-mail):
3448 Pass (rmail-mail-return...) for the return-action.
3449 Pass (rmail-yank-current-message...) for the yank-action.
3450 (rmail-yank-current-message): New function.
3451 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3452 (rmail-reply): Likewise.
3453 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3454
3455 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 3456 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
3457 buffer, not newbuf.
3458
197b6f3c
JB
34592012-04-17 Juanma Barranquero <lekktu@gmail.com>
3460
3461 * server.el (server-ensure-safe-dir): Simplify.
3462
2311d8e5 34632012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 3464
2311d8e5
GM
3465 * emacs-lisp/smie.el: Provide smarter auto-filling.
3466 (smie-auto-fill): New function.
3467 (smie-setup): Use it.
98fb480e 3468
2311d8e5
GM
3469 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3470
34712012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
3472
3473 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3474 (comment-indent): Use it.
3475
2311d8e5 34762012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
3477
3478 * ses.el: The overall change is to add cell renaming, that is
3479 setting fancy names for cell symbols other than name matching
3480 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 3481 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 3482 (ses-create-cell-variable): New defun.
2311d8e5 3483 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
3484 (ses-relocate-formula): Relocate formulas only for cells the
3485 symbols of which are not renamed, i.e. symbols whose names do not
3486 match regexp "\\`[A-Z]+[0-9]+\\'".
3487 (ses-relocate-all): Relocate values only for cells the symbols of
3488 which are not renamed.
3489 (ses-load): Create cells variables as the (ses-cell ...) are read,
3490 in order to check row col consistency with cell symbol name only
3491 for cells that are not renamed.
3492 (ses-replace-name-in-formula): New defun.
3493 (ses-rename-cell): New defun.
4bdf2ad2 3494
fc72b15c
PO
34952012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
3496
3497 * progmodes/perl-mode.el (perl-indent-parens-as-block):
3498 New option (bug#11118).
3499 (perl-calculate-indent): Respect it.
3500
12e10e61
GM
35012012-04-17 Glenn Morris <rgm@gnu.org>
3502
3503 * dired-aux.el (dired-mark-read-string): Doc fix.
3504
30009afd
DA
35052012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
3506
3507 * dired-aux.el (dired-mark-read-string): Offer optional completion.
3508 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
3509
41f03f4d
GM
35102012-04-17 Glenn Morris <rgm@gnu.org>
3511
3512 * mouse.el (mouse-drag-track):
3513 * speedbar.el (speedbar-frame-mode):
3514 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3515
f45f90f3
LL
35162012-04-16 Leo Liu <sdl.web@gmail.com>
3517
3518 * progmodes/python.el: Trivial cleanup.
3519
94ee8db5
GM
35202012-04-16 Glenn Morris <rgm@gnu.org>
3521
121b8917
GM
3522 * vc/vc.el (vc-string-prefix-p):
3523 * vc/pcvs-util.el (cvs-string-prefix-p):
3524 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3525 * mpc.el (mpc-string-prefix-p):
3526 Make all of these into obsolete aliases for string-prefix-p.
3527 Update callers.
3528 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3529
1197ecfa
GM
3530 * textmodes/two-column.el: Move custom options to the start.
3531 (frame-width): Remove compat definition.
3532 (2C-associate-buffer, 2C-dissociate):
3533 Use with-current-buffer rather than save-excursion.
3534 (2C-dissociate): Force a mode-line update.
3535 (2C-autoscroll): Use ignore-errors.
3536
099e7202
GM
3537 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3538 Autoload trivia.
3539
bf350d6a
GM
3540 * emacs-lisp/cl-extra.el (*random-state*):
3541 Remove unnecessary declaration.
3542
0e829eab
GM
3543 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3544
e3ad7552
GM
3545 * play/cookie1.el (cookie-snarf):
3546 Give an explicit error if input file cannot be read.
3547
68892d27
GM
3548 * play/yow.el (yow-file): Use expand-file-name rather than concat.
3549
20f0c46d
GM
3550 * progmodes/perl-mode.el (c-macro-expand):
3551 Remove unnecessary autoload (it is in loaddefs.el).
3552
5a0978ce
GM
3553 * textmodes/picture.el (picture-desired-column)
3554 (picture-update-desired-column): Convert comments to doc-strings.
3555 (picture-substitute): Remove function.
3556 (picture-mode-map): Initialize in the defvar.
3557
6b955486
GM
3558 * woman.el: Remove eval-after-load for tar-mode.
3559 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3560 (woman-tar-extract-file): Autoload it.
3561
94ee8db5
GM
3562 * frame.el (automatic-hscrolling): Make this alias obsolete.
3563
177eca34
AM
35642012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
3565
3566 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 3567 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
3568 (ispell-dictionary-base-alist): Revert to original XEmacs
3569 friendly version for default. [:alpha:] will be added in
3570 `ispell-set-spellchecker-params' if needed
177eca34 3571
c505aaeb
CY
35722012-04-16 Chong Yidong <cyd@gnu.org>
3573
3574 * image.el (imagemagick--extension-regexp): New variable.
3575 (imagemagick-register-types): Use it.
3576 (imagemagick-types-inhibit): Add :set function. Allow new value
3577 of t to inhibit all types.
3578
3579 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
3580 so we can preload it.
3581
3582 * loadup.el (fboundp): Preload regexp-opt, needed by
3583 imagemagick-register-types.
3584
60efac0f
CY
35852012-04-15 Chong Yidong <cyd@gnu.org>
3586
3587 * frame.el (scrolling): Remove nearly unused customization group.
3588
3589 * scroll-all.el (scroll-all-mode): Move to windows group.
3590
5dd1713e
CY
35912012-04-15 Chong Yidong <cyd@gnu.org>
3592
3593 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
3594
e6fd457e
CY
35952012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3596
3597 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 3598 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 3599
e153c136
GM
36002012-04-15 Glenn Morris <rgm@gnu.org>
3601
3602 * simple.el (process-file-side-effects): Doc fix.
3603
e6fd457e 36042012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
3605
3606 * international/mule-cmds.el (set-language-environment): Doc fix.
3607
3603c3b1
JB
36082012-04-14 Juanma Barranquero <lekktu@gmail.com>
3609
3610 * server.el (server-auth-key, server-generate-key): Doc fixes.
3611 (server-get-auth-key): Doc fix. Use `string-match-p'.
3612 (server-start): Reflow docstring.
3613
e6de100c
LI
36142012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
3615
3616 * server.el (server-generate-key): `called-interactively-p'
3617 requires a parameter.
3618
29734c21
MN
36192012-04-14 Michal Nazarewicz <mina86@mina86.com>
3620
3621 * server.el (server-auth-key): New variable.
75f1671a 3622 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
3623 (server-start): Use the new variable and functions to allow
3624 setting a permanent server key (bug#9423).
3625
d65c9521
LL
36262012-04-14 Leo Liu <sdl.web@gmail.com>
3627
3628 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3629
5ae255c7
PE
36302012-04-14 Paul Eggert <eggert@cs.ucla.edu>
3631
3632 Spelling fixes.
3633 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3634 Emacs uses American spelling.
3635
d5e6342e
JB
36362012-04-14 Juanma Barranquero <lekktu@gmail.com>
3637
3638 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3639 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
3640 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3641 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
3642
ab036cd7
SM
36432012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3644
3645 * progmodes/which-func.el (which-func-modes): Change default.
3646
35dc09a1 36472012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
3648
3649 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3650 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3651
35dc09a1 36522012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
3653
3654 * custom.el (custom-theme-set-variables): Doc fix.
3655
35dc09a1 36562012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
3657
3658 * international/mule.el (set-auto-coding-for-load): Doc fix.
3659
35dc09a1 36602012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 3661
35dc09a1
GM
3662 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3663 imenu work again for Objective C Mode. Correct the *-index values,
3664 these having been disturbed by a previous change in 2011-08.
57f845ee 3665
0de3da9f
AM
3666 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3667 Correct two search limits.
3668
35dc09a1 36692012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
3670
3671 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3672
35dc09a1 36732012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
3674
3675 * international/characters.el: Fix sorting.
3676
35dc09a1 36772012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
3678
3679 * international/characters.el: Add more missing Latin case pairs.
3680
35dc09a1 36812012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
3682
3683 * files.el (dir-locals-set-class-variables): Doc fix.
3684
35dc09a1 36852012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 3686
3f1b5bf8
EZ
3687 * international/characters.el: Add set-case-syntax-pair call for
3688 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3689 counterpart. (Bug#11209)
3690
9f847f41
EZ
3691 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
3692
35dc09a1 36932012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
3694
3695 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3696
35dc09a1 36972012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 3698
35dc09a1
GM
3699 * textmodes/ispell.el (ispell-dictionary-base-alist):
3700 Add data for Hebrew.
e2627d21 3701
35dc09a1 37022012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 3703
35dc09a1
GM
3704 * net/rcirc.el (rcirc-cmd-quit):
3705 Revert 2012-03-18 change (Bug#11192).
5c14e333 3706
35dc09a1 37072012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
3708
3709 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3710
35dc09a1 37112012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 3712
4517fe3a
SM
3713 * minibuffer.el (completion-in-region-mode-map):
3714 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 3715
b472a594
VD
37162012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3717
3718 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3719
09b95ce3
MY
37202012-04-13 Masatake YAMATO <yamato@redhat.com>
3721
3722 * minibuffer.el (minibuffer-local-filename-syntax): New variable
3723 to allow `C-M-f' and `C-M-b' to move to the nearest path
3724 separator (bug#9511).
3725
4b63a9ca
LI
37262012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
3727
3728 * avoid.el: Require cl when compiling. And also move the
3729 `provide' to the end.
3730
7b55b8bf
TV
37312012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3732
3733 * avoid.el (mouse-avoidance-banish-position): New variable.
3734 (mouse-avoidance-banish-destination): Use it (bug#10165).
3735
adedaa1f
LL
37362012-04-13 Leo Liu <sdl.web@gmail.com>
3737
3738 * progmodes/which-func.el (which-func-modes): Add objc-mode.
3739
70e74021
KB
37402012-04-13 Ken Brown <kbrown@cornell.edu>
3741
3742 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 3743 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
3744 (browse-url-filename-alist): For the same reason, don't modify
3745 file:// URLs on Cygwin.
3746
e75e89ba
SM
37472012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3748
3749 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3750 the region on shift if the binding is already shifted (bug#11221).
3751
82f289a4
GM
37522012-04-12 Glenn Morris <rgm@gnu.org>
3753
3754 * mail/mailpost.el: Move to obsolete/.
3755
d333dc4c
DA
37562012-04-12 Drew Adams <drew.adams@oracle.com>
3757
3758 * imenu.el (imenu--generic-function): Ignore invisible definitions
3759 (bug#10123).
3760
0d15b5ba
VD
37612012-04-12 Vivek Dasmohapatra <vivek@etla.org>
3762
3763 * hexl.el (hexl-bits): New variable.
3764 (hexl-options): Mention the variable in the doc string.
75f1671a 3765 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 3766 (hexl-mode): Mention the new variable.
75f1671a
JB
3767 (hexl-mode, hexl-current-address, hexl-current-address):
3768 Use the displen.
0d15b5ba
VD
3769 (hexl-ascii-start-column): New function.
3770 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3771 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3772
64a440db
AM
37732012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
3774
3775 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3776 '("-i" ENCODING), in 2 separate command-line arguments, to specify
3777 the encoding, as expected by hunspell.
3778
6decb6c2
SM
37792012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3780
3781 * battery.el (battery--linux-sysfs-regexp): New const.
3782 (battery-status-function): Use it. Remove yeeloong special case.
3783 (battery-yeeloong-sysfs): Remove.
3784 (battery-echo-area-format): Remove yeeloong special case.
3785
088be6fb
SM
37862012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3787
6622e416
SM
3788 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3789 Reported by Noah Friedman.
3790
088be6fb
SM
3791 * subr.el (read-passwd): Use read-string.
3792
b49f886e
LMI
37932012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3794
3795 * vcursor.el (vcursor-move): Increase the priority of the overlay
3796 (bug#9663).
3797
a63067fc
DD
37982012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3799
3800 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3801 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3802
ac3cf14a
WS
38032012-04-11 William Stevenson <yhvh2000@gmail.com>
3804
3805 * textmodes/artist.el (artist-mode): Convert artist-mode to use
3806 define-minor-mode (bug#10760).
3807
c4fc691b 38082012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 3809
4d6769e1 3810 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
3811 that directories matching `grep-find-ignored-files' won't be
3812 pruned (bug#10351).
3813
af23e2e5
CY
38142012-04-11 Chong Yidong <cyd@gnu.org>
3815
3816 * startup.el (command-line): Remove support for long-obsolete
3817 variable font-lock-face-attributes.
3818
ab7ce8c1
GM
38192012-04-11 Glenn Morris <rgm@gnu.org>
3820
3821 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
3822
de8c03dc
SM
38232012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3824
3825 * window.el (window--state-get-1): Obey window-point-insertion-type.
3826
050cc68b
LB
38272012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
3828
3829 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
3830 to previous function when point is on the first character of a
75f1671a 3831 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 3832
a38c310c
GM
38332012-04-11 Glenn Morris <rgm@gnu.org>
3834
effed0c2
GM
3835 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
3836 not just file-errors.
3837
a38c310c
GM
3838 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
3839 (vc-bzr-sha1): Use internal sha1.
3840
0221e323
SM
38412012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3842
3843 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
3844
43956923
SG
38452012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
3846
3847 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
3848 that start in the middle of the line (bug#10496).
3849
6a8c9eaf
DN
38502012-04-10 Dan Nicolaescu <dann@gnu.org>
3851
3852 * battery.el (battery-linux-proc-acpi): Only one battery is
3853 discharged at a time, but that seems to confuse battery.el when
3854 computing `rate-type' for the battery not being discharged
3855 (bug#10332).
3856
1930bf5d
SM
38572012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3858
2a718f6f
SM
3859 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
3860
599430d0
SM
3861 * international/quail.el: Use dolist and simplify.
3862 (quail-define-package, quail-update-keyboard-layout)
3863 (quail-define-rules): Use dolist.
3864 (quail-insert-kbd-layout, quail-get-translation): CSE.
3865
a2754b6c
SM
3866 * tmm.el: Use dolist, remove left over hook.
3867 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
3868 Use dolist.
3869 (calendar-load-hook): Don't mess with it.
3870
1930bf5d
SM
3871 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3872 Use derived-mode-p. Run the diff asynchronously.
3873
9f67961c
LMI
38742012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3875
3876 * obsolete/mouse-sel.el: Add an Obsolete-since header.
3877
2a8ce227
JB
38782012-04-10 Juanma Barranquero <lekktu@gmail.com>
3879
3880 * misc.el: Display absolute path of loaded DLLs (bug#10424).
3881 (list-dynamic-libraries--loaded): New function.
3882 (list-dynamic-libraries--refresh): Use it.
3883
8f33b5f8
NW
38842012-04-10 Nathan Weizenbaum <nweiz@google.com>
3885
1930bf5d
SM
3886 * progmodes/python.el (python-fill-paragraph):
3887 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
3888 disabled (bug#7018).
3889
b12f0439
L
38902012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
3891
1930bf5d 3892 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
3893 DOS/MS Windows for the Baltic languages. There are still plenty
3894 of texts written in this encoding/codepage (bug#6519).
b12f0439 3895
57c3bd01
GM
38962012-04-10 Glenn Morris <rgm@gnu.org>
3897
3898 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
3899 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
3900
6c3eab30
FA
39012012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
3902
1930bf5d 3903 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
3904 next-line "n" and previous-line "p" in order to make recentf more
3905 consistent with ibuffer, dired or org-mode (bug#9387).
3906
24d78a88
LMI
39072012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3908
bc72b5d9
LMI
3909 * image.el (put-image): Return the overlay created instead of the
3910 optional input string (bug#7834). Note that this may break code
3911 that is (for some reason or other) depending on `put-image'
3912 returning the string.
3913
bd2dba5a
LMI
3914 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3915
74beb59f
LMI
3916 * simple.el (zap-to-char): Allow zapping using input methods
3917 (bug#1580).
3918
24d78a88
LMI
3919 * textmodes/fill.el (fill-region): Leave point and mark where they
3920 were before filling (bug#5399).
3921
263f20cd
GM
39222012-04-09 Glenn Morris <rgm@gnu.org>
3923
3924 * version.el (emacs-bzr-get-version):
3925 Handle lightweight checkouts of local branches.
3926
58d1f797
AS
39272012-04-09 Andreas Schwab <schwab@linux-m68k.org>
3928
263f20cd 3929 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 3930
b4d3bc10
CY
39312012-04-09 Chong Yidong <cyd@gnu.org>
3932
3933 * custom.el (custom-variable-p): Return nil for non-symbol
3934 arguments instead of signaling an error.
3935 (user-variable-p): Obsolete alias for custom-variable-p.
3936
3937 * apropos.el (apropos-variable):
3938 * files-x.el (read-file-local-variable):
3939 * simple.el (set-variable):
3940 * woman.el (woman-mini-help):
3941 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3942
fd06db5d
GM
39432012-04-09 Glenn Morris <rgm@gnu.org>
3944
e5fcdb5e
GM
3945 * startup.el (normal-top-level): Don't look for leim-list.el
3946 in places where it will not be found. (Bug#910)
3947
fd06db5d
GM
3948 * international/mule-cmds.el (set-default-coding-systems):
3949 * files.el (normal-mode):
3950 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3951 This function was removed with ucs-tables.el in 2008.
3952
b39bb7e1
EZ
39532012-04-08 Eli Zaretskii <eliz@gnu.org>
3954
3955 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3956 ispell-encoding8-command to "-i", without a trailing space.
3957 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3958 separate command-line arguments, to specify the encoding, since
3959 that's how hunspell expects it.
3960
5c5b8e23
GM
39612012-04-08 Glenn Morris <rgm@gnu.org>
3962
3963 * loadup.el: Load bindings before cus-start.
3964 This reduces somewhat the number of "rogue" settings in emacs -Q.
3965
a1ed8b05
GM
39662012-04-07 Glenn Morris <rgm@gnu.org>
3967
3968 * version.el (emacs-bzr-get-version): New function.
dfae128a 3969 (emacs-bzr-version): New variable.
a1ed8b05
GM
3970 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3971 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3972
b142f158
EZ
39732012-04-07 Eli Zaretskii <eliz@gnu.org>
3974
dfae128a
GM
3975 * international/uni-bidi.el, international/uni-category.el:
3976 * international/uni-combining.el, international/uni-decimal.el:
3977 * international/uni-decomposition.el, international/uni-digit.el:
3978 * international/uni-lowercase.el, international/uni-mirrored.el:
3979 * international/uni-name.el, international/uni-numeric.el:
3980 * international/uni-titlecase.el, international/uni-uppercase.el:
3981 Update for Unicode 6.1.
b142f158 3982
9078ead6
EZ
39832012-04-07 Eli Zaretskii <eliz@gnu.org>
3984
3985 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3986
f23d2c7d
LMI
39872012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3988
3989 * window.el (shrink-window): Mention the `window-min-height'
3990 variable in the doc string.
3991
0a0a3573
BG
39922012-04-05 Bastien Guerry <bzg@altern.org>
3993
3994 * color.el (color-lighten-name): Fix typo.
3995
e5248ac9
SM
39962012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3997
3998 * server.el (server--on-display-p): New function.
3999 (server--on-display-p): Use it.
4000
b4243e22
GV
40012012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
4002
4003 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
4004 (bug#11145).
4005
305d9f44
SM
40062012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
4007
4008 * comint.el (comint--common-quoted-suffix): Check string boundary
4009 before comparing (bug#11158).
4010 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
4011
3d439cd1
CY
40122012-04-04 Chong Yidong <cyd@gnu.org>
4013
321cc491
CY
4014 * minibuffer.el (completion-extra-properties): Doc fix.
4015
3d439cd1
CY
4016 * subr.el (delayed-warnings-hook): Doc fix.
4017
2d562c0f
DU
40182012-04-04 Daiki Ueno <ueno@unixuser.org>
4019
4020 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
4021 selection (Bug#11159).
4022 (epa-insert-keys): Inform that the default public key will be
4023 exported if no key is selected.
4024
4443f204
RS
40252012-04-04 Richard Stallman <rms@gnu.org>
4026
4027 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
4028
529c06b6
CY
40292012-04-03 Chong Yidong <cyd@gnu.org>
4030
4031 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
4032 mail-insert-file, not its obsolete alias mail-attach-file.
4033
66b907dc
MA
40342012-04-03 Michael Albinus <michael.albinus@gmx.de>
4035
4036 * notifications.el (notifications-notify): Fix docstring.
4037
c0ea195d
GM
40382012-04-02 Glenn Morris <rgm@gnu.org>
4039
4040 * emacs-lisp/authors.el (authors-aliases): Another addition.
4041
5ca64e00
MA
40422012-04-02 Michael Albinus <michael.albinus@gmx.de>
4043
4044 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
4045 `tramp-compat-call-process' instead of `tramp-local-call-process'.
4046 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
4047
42ee526b
CY
40482012-04-01 Chong Yidong <cyd@gnu.org>
4049
4050 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
4051 Handle root directory properly.
4052 (copy-directory): Caller changed.
4053
4054 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4055 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
4056
0b021094
GM
40572012-03-31 Glenn Morris <rgm@gnu.org>
4058
40f86458
GM
4059 * term/xterm.el (xterm-extra-capabilities): Doc fix.
4060
7019c177
GM
4061 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
4062
a1daddd6
GM
4063 * calendar/calendar.el (calendar-window-list)
4064 (calendar-hide-window): Restore. (Bug#11140)
4065 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
4066
0b021094
GM
4067 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
4068
40311efc
TV
40692012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4070
4071 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
4072 Check if file is a symlink (Bug#10489).
4073
4074 * files.el (copy-directory): Likewise.
4075
5319014e
CY
40762012-03-30 Chong Yidong <cyd@gnu.org>
4077
4078 * image.el (imagemagick-types-inhibit)
4079 (imagemagick-register-types): Doc fix.
4080
935d1290
AM
40812012-03-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
4082
ef24141c
SM
4083 * ispell.el (ispell-get-extended-character-mode):
4084 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 4085 and treats ~word as ordinary words in pipe mode.
935d1290 4086
61c6e8fd
GM
40872012-03-30 Glenn Morris <rgm@gnu.org>
4088
4089 * tutorial.el (help-with-tutorial): Ensure local variables don't
4090 happen to make the buffer read-only. (Bug#11127)
4091
81fdff00
SM
40922012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4093
4094 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
4095 (perl-calculate-indent): Return `noindent' in strings.
4096
6e7a6ec0
SS
40972012-03-28 Sam Steingold <sds@gnu.org>
4098
4099 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
4100 instead of the broken adhockery which does not prevent calendar
4101 buffers from being displayed at random after exit.
4102 (calendar-window-list, calendar-hide-window): Remove the broken
4103 adhockery.
4104
fee88ca0
GM
41052012-03-28 Glenn Morris <rgm@gnu.org>
4106
4107 * replace.el (query-replace-map): Doc fix.
4108
38de3354
AS
41092012-03-28 Andreas Schwab <schwab@linux-m68k.org>
4110
4111 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
4112 contents. (Bug#11109)
4113
b973155e
SM
41142012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
4115
4116 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
4117 (bug#11077).
4118 (avl-tree--check, avl-tree--check-node): New funs.
4119
dcb6e7b3
MR
41202012-03-27 Martin Rudalics <rudalics@gmx.at>
4121
4122 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
4123 (switch-to-prev-buffer, switch-to-next-buffer):
4124 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
4125 showing a buffer already is done on the same frame.
4126
b4fa35fa
GM
41272012-03-27 Glenn Morris <rgm@gnu.org>
4128
4129 * startup.el (mail-host-address): Doc fix.
4130
f9210e18
SM
41312012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
4132
4133 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
4134 than 197 variables.
4135
c0bf7753
AF
41362012-03-26 Ami Fischman <ami@fischman.org>
4137
4138 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
4139
33da7b16
GM
41402012-03-26 Glenn Morris <rgm@gnu.org>
4141
02243d9d
GM
4142 * files.el (save-buffers-kill-emacs): Doc fix.
4143
33da7b16
GM
4144 * startup.el (normal-top-level, command-line, command-line-1):
4145 Give them doc strings.
4146
e5a69fd0
EZ
41472012-03-25 Eli Zaretskii <eliz@gnu.org>
4148
4149 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 4150 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 4151
9a69676a
CY
41522012-03-25 Chong Yidong <cyd@gnu.org>
4153
4125cb8b
CY
4154 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
4155 theme if it was previously enabled before (Bug#11031).
4156
dd470960
CY
4157 * cus-theme.el (custom-theme-write-faces): Retrieve current face
4158 spec with custom-face-get-current-spec if its :shown-value is not
4159 determined yet (Bug#9337).
4125cb8b 4160 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 4161
9a69676a
CY
4162 * button.el (button-at): Minor addition to docstring.
4163
6e7e90fa
SL
41642012-03-24 Simon Leinen <simon.leinen@gmail.com>
4165
4166 * vc/vc.el (vc-merge): Fix a prompt.
4167
f06e2758
CY
41682012-03-24 Chong Yidong <cyd@gnu.org>
4169
4170 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
4171 point (Bug#9623).
4172
6e7e90fa
SL
4173 * button.el (button-at): Minor addition to docstring.
4174
b9d0879b
SM
41752012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
4176
4177 * newcomment.el (comment-choose-indent): No space after BOL.
4178
e71cebb3
SS
41792012-03-22 Sam Steingold <sds@gnu.org>
4180
4181 * window.el (switch-to-prev-buffer): Revert last patch because the
4182 bug turned out to be an advertised feature (Elisp manual 28.14).
4183
335aff35
GM
41842012-03-22 Glenn Morris <rgm@gnu.org>
4185
4186 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
4187 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
4188
c676576a
LMI
41892012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4190
4191 * net/network-stream.el (network-stream-open-starttls): Make error
4192 message under Windows be less misleading.
4193
126f3d39
LW
41942012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
4195
4196 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
4197 understands (bug#9942).
4198
64fee311
CY
41992012-03-22 Chong Yidong <cyd@gnu.org>
4200
4201 * simple.el (end-of-visible-line): Handle return value of
4202 next-single-property-change properly (Bug#9371).
4203
a640d29a
KH
42042012-03-22 Kenichi Handa <handa@m17n.org>
4205
4206 * international/quail.el (quail-insert-kbd-layout): Fix previous
4207 change. To avoid unwanted bidi reordering, use
4208 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
4209
39675016
DG
42102012-03-21 Dmitry Gutov <dgutov@yandex.ru>
4211
4212 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
4213 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
4214 (ruby-beginning-of-indent): Be more careful with the difference
4215 between word-boundary and symbol boundary.
4216 (ruby-mode-syntax-table): Make : a symbol constituent.
4217
0a6934fc 42182012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 4219
3d008e4f
SM
4220 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
4221
0a6934fc
SM
42222012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4223
af67c9d7
SM
4224 * progmodes/etags.el (tags-completion-at-point-function):
4225 Improve last fix.
4226
1acad97c
SM
4227 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
4228
e298b5da
SS
42292012-03-21 Sam Steingold <sds@gnu.org>
4230
4231 * progmodes/etags.el (tags-completion-at-point-function):
4232 Avoid the error when point is inside the pattern.
4233
91d82a70
JY
42342012-03-21 John Yates <john@yates-sheets.org> (tiny change)
4235
4236 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
4237 line (Bug#10855).
4238
69188b79
CY
42392012-03-21 Drew Adams <drew.adams@oracle.com>
4240
4241 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
4242
99fc91fe
AK
42432012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
4244
4245 * ido.el (ido-set-current-directory, ido-read-internal)
4246 (ido-choose-completion-string, ido-completion-help): Handle nil
4247 value of ido-completion-buffer (Bug#11008).
4248
087bbb4c
SS
42492012-03-21 Sam Steingold <sds@gnu.org>
4250
4251 * window.el (switch-to-prev-buffer): Do not switch to a visible
4252 window previous buffer, just like with the frame previous buffers.
4253
fb5b8aca
CY
42542012-03-21 Chong Yidong <cyd@gnu.org>
4255
4256 * faces.el (make-face, make-empty-face, copy-face):
4257 * face-remap.el (face-remap-add-relative, face-remap-set-base):
4258 Doc fixes.
4259
dc9924b8
SM
42602012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4261
4262 * wid-edit.el (widget-complete-field): Remove (bug#11051).
4263 (widget-complete): Remove broken use of it.
4264
f0bcceb9
CY
42652012-03-20 Chong Yidong <cyd@gnu.org>
4266
dc9924b8
SM
4267 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4268 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
4269 characters.
4270
ee52ebf3
TH
42712012-03-20 Tassilo Horn <tassilo@member.fsf.org>
4272
4273 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
4274 to draw rectangles, not squares. (Regression introduced by revno
4275 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
4276
4c5779ab
CY
42772012-03-18 Chong Yidong <cyd@gnu.org>
4278
4279 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
4280 it is not yet defined (for temacs).
4281
15360934
LL
42822012-03-18 Leo Liu <sdl.web@gmail.com>
4283
dc9924b8 4284 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 4285
d9a8eb66
EZ
42862012-03-17 Eli Zaretskii <eliz@gnu.org>
4287
4288 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
4289 (ispell-choices-win-default-height, ispell-silently-savep)
4290 (ispell-dictionary-alist, ispell-encoding8-command)
4291 (ispell-check-version, ispell-aspell-find-dictionary)
4292 (ispell-valid-dictionary-list, ispell-words-keyword)
4293 (ispell-get-word, ispell-internal-change-dictionary)
4294 (ispell-region, ispell-skip-region-list)
4295 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
4296 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
4297 (ispell-message-text-end, ispell-message)
4298 (ispell-buffer-local-parsing): Doc fix.
4299
f02ff80d
J
43002012-03-13 Jambunathan K <kjambunathan@gmail.com>
4301
4302 * htmlfontify.el: Add support for code block fontification for ODT
4303 export (Bug #9914).
4304 (hfy-optimisations): Define new option
4305 `body-text-only'
4306 (hfy-fontify-buffer): Honor above setting.
4307 (hfy-begin-span, hfy-end-span): New routines factored out form
4308 `hfy-fontify-buffer'.
4309 (hfy-begin-span-handler, hfy-end-span-handler): New variables
4310 that permit insertion of custom tags.
4311 (hfy-fontify-buffer): Use above handlers.
4312 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
4313 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 4314 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 4315 over multiple runs. This is made possible by having the caller let
f02ff80d
J
4316 bind a special variable `hfy-user-sheet-assoc'.
4317 (htmlfontify-string): New defun.
4318 (hfy-compile-face-map): Make sure that the last char in the
4319 buffer is correctly fontified.
4320 (hfy-face-resolve-face): Whitespace only change.
4321
9ac7a13f
EZ
43222012-03-17 Eli Zaretskii <eliz@gnu.org>
4323
4324 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
4325 message more clear.
4326
e2b5bdd7
LL
43272012-03-16 Leo Liu <sdl.web@gmail.com>
4328
4329 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
4330
2e492df3
AM
43312012-03-16 Alan Mackenzie <acm@muc.de>
4332
4333 Further optimise the handling of large macros.
4334
4335 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
4336 limit to a call of `c-literal-limits'.
4337 (c-determine-+ve-limit): New function.
dc9924b8
SM
4338 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
4339 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
4340 In CASE 5B, restrict a search limit to 500.
4341 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
4342
4343 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
4344 Restrict macro bounds to +-500 from after-change's BEG END.
4345
50e94f0c
LL
43462012-03-16 Leo Liu <sdl.web@gmail.com>
4347
4348 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4349
6f09f6ed
AH
43502012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
4351
4352 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 4353 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 4354
c7e73d51
GM
43552012-03-16 Glenn Morris <rgm@gnu.org>
4356
da986230
GM
4357 * view.el (view-buffer, view-buffer-other-window)
4358 (view-buffer-other-frame): Doc fixes re special mode-class.
4359
0835f01e
GM
4360 * subr.el (eval-after-load): If named feature is provided not from
4361 a file, run after-load forms. (Bug#10946)
4362
c7e73d51
GM
4363 * calendar/calendar.el (calendar-insert-at-column):
4364 Handle non-unit-width characters a bit better. (Bug#10978)
4365
3f2eafd1
CY
43662012-03-15 Chong Yidong <cyd@gnu.org>
4367
4368 * emacs-lisp/ring.el (ring-extend): New function.
4369 (ring-insert+extend): Extend the ring correctly (Bug#11019).
4370
4371 * comint.el (comint-read-input-ring)
4372 (comint-add-to-input-history): Grow comint-input-ring lazily.
4373
103af3fe
SM
43742012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4375
663b1677
SM
4376 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4377 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4378
103af3fe
SM
4379 * imenu.el: Fix multiple inheritance breakage (bug#9199).
4380 (imenu-add-to-menubar): Don't add a redundant index.
4381 (imenu-update-menubar): Handle a dynamically composed keymap.
4382
899cb7cb
KY
43832012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
4384
4385 * mail/sendmail.el (mail-encode-header):
4386 Bind rfc2047-encode-encoded-words to nil.
4387
3809f91d
GM
43882012-03-13 Glenn Morris <rgm@gnu.org>
4389
4390 * calendar/calendar.el (calendar-string-spread):
4391 Handle non-unit-width characters a bit better. (Bug#10978)
4392
9e345a01
LL
43932012-03-13 Leo Liu <sdl.web@gmail.com>
4394
4395 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4396 directory and file as argument (Bug#10822).
4397
4a07df36
KS
43982012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4399
4400 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4401 For dynamically generated code, follow $PC.
4402 (gdb-disassembly-handler-custom): Handle no function name case.
4403
4aaa9356
TL
44042012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
4405
4406 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4407 * emulation/ws-mode.el (ws-query-replace):
4408 * sort.el (sort-regexp-fields):
4409 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
4410
225979da
SM
44112012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4412
4413 * dabbrev.el: Fix cycle completion order (bug#10963).
4414 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4415 (dabbrev-completion): Don't use an obarray; provide
4416 a cycle-sort-function.
4417
e2f1fdab
LL
44182012-03-12 Leo Liu <sdl.web@gmail.com>
4419
dc9924b8 4420 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
4421 (kill-do-not-save-duplicates): Doc fix.
4422
b19490ed
SM
44232012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4424
4425 * dabbrev.el: Fix cycle completion (bug#10963).
4426 Use lexical binding and wrap to 80 columns.
4427 (dabbrev-completion): Delay computing the list of completions.
4428
4b05d722
KH
44292012-03-12 Kenichi Handa <handa@m17n.org>
4430
4431 * international/quail.el (quail-insert-kbd-layout): Surround each
4432 row by LRO and PDF instead of inserting many LRMs. Pad the left
4433 and right of each non-spacing marks. Insert invisible space
4434 between lower and upper characters to prevent composition.
4435
dbbc2e69
SM
44362012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4437
4438 * minibuffer.el (minibuffer-complete): Don't get confused when the
4439 function is run twice via different commands (bug#10958).
4440 (complete-with-action): Fix docstring.
4441
292112ed
CY
44422012-03-12 Chong Yidong <cyd@gnu.org>
4443
5d1ac394
CY
4444 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4445 (nxml-completion-at-point-function): New function.
4446 (nxml-mode): Use it.
4447 (nxml-bind-meta-tab-to-complete-flag): Default to t.
4448
292112ed
CY
4449 * emacs-lisp/package.el (package-unpack, package-unpack-single):
4450 Load generated autoloads file before byte compiling (Bug#10970).
4451 (package--make-autoloads-and-compile): New helper fun.
4452
4098f8f7
CS
44532012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
4454
4455 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4456
8f754691
MA
44572012-03-11 Michael Albinus <michael.albinus@gmx.de>
4458
4459 * autorevert.el (auto-revert-handler): Ensure, that
4460 file-readable-p is applied only for local files or in
4461 auto-revert-tail-mode.
4462
e29ab36b
AS
44632012-03-11 Andreas Schwab <schwab@linux-m68k.org>
4464
dbbc2e69
SM
4465 * server.el (server-eval-at): Handle non-tcp connections.
4466 Decode result string.
ad0bf5b6 4467
e29ab36b
AS
4468 * server.el (server-msg-size): New constant.
4469 (server-reply-print): New function.
4470 (server-eval-and-print): Use it.
4471 (server-eval-at): Use server-quote-arg and server-unquote-arg.
4472 Handle -print-nonl.
4473
de5939ba
CS
44742012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
4475
4476 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4477 (Bug#10987).
4478
0c93eabf
CY
44792012-03-11 Chong Yidong <cyd@gnu.org>
4480
397a688f
CY
4481 * simple.el (goto-line): Doc fix (Bug#9938).
4482
2cc775f9
CY
4483 * subr.el (save-window-excursion): Doc fix (Bug#9979).
4484
0c93eabf
CY
4485 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4486 when finished (Bug#10963).
4487
c491fa41
MR
44882012-03-11 Martin Rudalics <rudalics@gmx.at>
4489
4490 * window.el (split-window-below): Fix bug in case where
4491 split-window-keep-point is nil (Bug#10971).
4492
300e8fa5
JL
44932012-03-11 Juri Linkov <juri@jurta.org>
4494
4495 * replace.el (replace-highlight): Set isearch-word to nil
4496 unconditionally. (Bug#10887)
4497
dbf6c5a1
EZ
44982012-03-10 Eli Zaretskii <eliz@gnu.org>
4499
4500 * net/mairix.el (mairix-replace-invalid-chars): Rename from
4501 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 4502 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
4503 (mairix-widget-create-query): Add usage information about mairix
4504 search forms: negating words, searching for substrings, etc.
4505
b9e501de
JP
45062012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
4507
4508 * international/fontset.el (font-encoding-alist): Add an entry for
4509 ksx1001 (Bug#5667).
4510
92795c91
RS
45112012-03-10 Richard Stallman <rms@gnu.org>
4512
1694e6c1
RS
4513 * mail/sendmail.el (mail-encode-header):
4514 Set rfc2047-encode-encoded-words.
4515
607e8555
RS
4516 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4517
de3bc99a
RS
4518 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4519 view buffer means not swapped.
4520 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4521 (rmail-write-region-annotate): Error if real text has disappeared.
4522
92795c91
RS
4523 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4524
699bd04e
CY
45252012-03-10 Chong Yidong <cyd@gnu.org>
4526
4527 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
4528 * emulation/cua-base.el (cua--init-keymaps):
4529 Add delete-forward-char to remappings (Bug#9666).
699bd04e 4530
570a1714
MR
45312012-03-10 Martin Rudalics <rudalics@gmx.at>
4532
dbbc2e69
SM
4533 * speedbar.el (speedbar-unhighlight-one-tag-line):
4534 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 4535
82dcf4e4
CY
45362012-03-10 Chong Yidong <cyd@gnu.org>
4537
7a2c7ca7
CY
4538 * minibuffer.el (completion-in-region, completion-help-at-point):
4539 Give the completion field overlay a high priority (Bug#6830).
4540
82dcf4e4
CY
4541 * dired.el (dired-goto-file): Recognize absolute file name
4542 listings (Bug#7126).
4543 (dired-goto-file-1): New helper function.
4544 (dired-toggle-read-only): Inhibit warnings.
4545
052e28ac
MA
45462012-03-09 Michael Albinus <michael.albinus@gmx.de>
4547
75f1671a 4548 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
4549 there are no properties.
4550
95d5e396
LL
45512012-03-09 Leo Liu <sdl.web@gmail.com>
4552
4553 * savehist.el (savehist-printable): Stricter check for string
4554 value (Bug#10937).
4555
3f018d6d
EZ
45562012-03-09 Eli Zaretskii <eliz@gnu.org>
4557
dbbc2e69
SM
4558 * mail/smtpmail.el (smtpmail-send-it):
4559 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
4560 valid mbox format.
4561
f7fd3d79
GM
45622012-03-09 Glenn Morris <rgm@gnu.org>
4563
4564 * files.el (dir-locals-find-file):
4565 Don't check result is regular, readable.
4566 (dir-locals-read-from-file): Demote errors.
4567
6ff6e72f
EZ
45682012-03-08 Eli Zaretskii <eliz@gnu.org>
4569
dbbc2e69
SM
4570 * international/quail.el (quail-insert-kbd-layout):
4571 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
4572 layout cell, to prevent their reordering by bidi display engine.
4573 For details, see the discussion in
4574 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4575
9cec7834
AM
45762012-03-08 Alan Mackenzie <acm@muc.de>
4577
4578 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
4579 the starting position; make it extend the marked region when
4580 invoked repeatedly - all under appropriate circumstances.
4581 Fixes bugs #5525, #10906.
4582
9a40b8d4
GM
45832012-03-08 Glenn Morris <rgm@gnu.org>
4584
4585 * files.el (locate-dominating-file, dir-locals-find-file):
4586 Undo 2012-03-06 change.
4587
7a08ed35
EZ
45882012-03-07 Eli Zaretskii <eliz@gnu.org>
4589
dbbc2e69
SM
4590 * international/quail.el (quail-help):
4591 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
4592 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
4593 for the reason.
4594
5aca4f71 45952012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
4596
4597 Avoid superfluous registering of signals. (Bug#10807)
4598
4599 * notifications.el (notifications-on-action-object)
4600 (notifications-on-close-object): New defvars.
4601 (notifications-on-action-signal, notifications-on-closed-signal):
4602 Unregister the signal if not needed any longer.
4603 (notifications-notify): Register `notifications-action-signal' or
4604 `notifications-closed-signal', if :on-action or :on-close has been
4605 passed as argument.
4606
78e8b10a
CY
46072012-03-07 Chong Yidong <cyd@gnu.org>
4608
4609 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4610 non-X platforms.
4611
69481eb8
GM
46122012-03-06 Glenn Morris <rgm@gnu.org>
4613
4614 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4615 (x-disown-selection-internal, x-get-selection-internal):
4616 Doc fix (add arglist signatures). (Bug#10783)
4617
133b8e11
KS
46182012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4619
4620 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4621 Handle breakpoints with no "type".
4622
99a83064
GM
46232012-03-06 Glenn Morris <rgm@gnu.org>
4624
4625 * files.el (locate-dominating-file): Add optional predicate argument.
4626 (dir-locals-find-file): Make use of above change.
4627
17798e78
TTN
46282012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
4629
4630 * info.el (Info-insert-dir): Also try "dir.gz".
4631
eb182446
GM
46322012-03-06 Glenn Morris <rgm@gnu.org>
4633
8f2114ee
GM
4634 * files.el (dir-locals-find-file):
4635 Ignore non-readable or non-regular files. (Bug#10928)
4636
eb182446
GM
4637 * files.el (locate-dominating-file): Doc fix.
4638
24679323
AS
46392012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
4640
4641 * calendar/calendar.el (calendar-set-mode-line):
4642 `getenv' returns a string. (Bug#10951)
4643
01d972a9
LL
46442012-03-05 Leo Liu <sdl.web@gmail.com>
4645
109aa8a9
LL
4646 * simple.el (backward-delete-char-untabify): Constrain point to
4647 field (Bug#10939).
4648
01d972a9
LL
4649 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4650
10607bea
CY
46512012-03-05 Chong Yidong <cyd@gnu.org>
4652
4653 * simple.el (count-words): If called from Lisp, return the word
4654 count, for symmetry with `count-lines'. Arglist changed.
4655 (count-words--message): Args changed. Consolidate counting code
4656 from count-words and count-words-region.
4657 (count-words-region): Caller changed.
4658 (count-lines-region): Make it an obsolete alias.
4659
5dd11cfe
TH
46602012-03-04 Tassilo Horn <tassilo@member.fsf.org>
4661
4662 * saveplace.el (save-place-to-alist)
4663 (save-place-ignore-files-regexp): Allow value nil to disable this
4664 feature.
4665
c349f4e6
CY
46662012-03-04 Chong Yidong <cyd@gnu.org>
4667
4668 * faces.el (face-spec-reset-face): For the default face, reset the
4669 attributes to default values (Bug#10748).
4670
e627be4c
LMI
46712012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4672
4673 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4674 previous patch: Check `message-send-mail-function', and not the
4675 default function (bug#10897).
4676
ebeabff4
MA
46772012-03-04 Michael Albinus <michael.albinus@gmx.de>
4678
a41a6cf4
MA
4679 * notifications.el (notifications-on-action-signal)
4680 (notifications-on-closed-signal): Check for unique service name of
4681 incoming event. Fix error in removing entry.
ebeabff4 4682 (top): Register for signals with wildcard service name.
a41a6cf4 4683 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 4684
c1ca42b4
CY
46852012-03-04 Chong Yidong <cyd@gnu.org>
4686
dc9924b8 4687 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 4688
ea16568d
GM
46892012-03-04 Glenn Morris <rgm@gnu.org>
4690
4691 * abbrev.el (copy-abbrev-table, abbrev-table-p)
4692 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4693 (expand-abbrev, define-abbrev-table): Doc fixes.
4694
fbae4637
LMI
46952012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4696
4697 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4698 `message-default-send-mail-function' and not `send-mail-function'
4699 when doing the prompting for `sendmail-query-once' before sending
4700 in Message buffers (bug#10897).
4701
a1e7225c
LMI
4702 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4703 This is inconsistent with all the other stream functions, which leave
4704 the setting up to the higher levels (if so wanted) (bug#10931).
4705
56d093a9
AM
47062012-03-02 Alan Mackenzie <acm@muc.de>
4707
4708 Depessimize the handling of very large macros.
4709
4710 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4711 (c-macro-cache-syntactic): New variables to implement a one
4712 element macro cache.
4713 (c-invalidate-macro-cache): New function.
4714 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4715 Adapt to use the new cache.
4716 (c-state-safe-place): Use better the cache of safe positions.
4717 (c-state-semi-nonlit-pos-cache)
4718 (c-state-semi-nonlit-pos-cache-limit):
4719 New variables for...
4720 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
4721 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
4722 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4723 Use c-state-semi-safe-place.
56d093a9 4724
dbbc2e69
SM
4725 * progmodes/cc-langs.el (c-get-state-before-change-functions):
4726 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 4727
817e5c3d
MA
47282012-03-02 Michael Albinus <michael.albinus@gmx.de>
4729
dbbc2e69
SM
4730 * jka-compr.el (jka-compr-call-process):
4731 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
4732 not remote.
4733
a032a702
MA
47342012-03-01 Michael Albinus <michael.albinus@gmx.de>
4735
4736 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
4737 access of FILE2, if FILE1 does not exist.
4738
99a54f21
MA
4739 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4740 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4741
4742 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4743 Add "PAGER=" to `process-environment'.
4744
f6561e1f
MM
47452012-03-01 Michael R. Mauger <mmaug@yahoo.com>
4746
4747 * progmodes/sql.el: Bug fix
4748 (sql-get-login-ext): Save login values in globals.
4749 (sql-get-login): Use new version of `sql-get-login-ext'.
4750 (sql-interactive-mode): Set global `sql-connection' to nil.
4751 (sql-connect): Set global values for connection.
4752 (sql-product-interactive): Save global values as buffer local.
4753
2d44d9cc
LL
47542012-02-29 Leo Liu <sdl.web@gmail.com>
4755
4756 * abbrev.el (define-abbrevs): Reset sys to nil.
4757
96b49301 47582012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4759
bf7f9bc5
JB
4760 * files.el (file-equal-p): Rename from `files-equal-p'.
4761 Return nil when one or both files don't exist.
96b49301 4762 (file-subdir-of-p): Now only top directory must exists,
4763 return nil if it doesn't.
bf7f9bc5
JB
4764 (copy-directory): No need to test with `file-subdir-of-p' after
4765 creating dir.
4766 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4767 to `file-equal-p'.
96b49301 4768
44e97401
GM
47692012-02-28 Glenn Morris <rgm@gnu.org>
4770
4771 * shell.el (shell-mode):
4772 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4773 * play/landmark.el (landmark-font-lock-face-O):
4774 * play/handwrite.el (handwrite):
4775 * play/gomoku.el (gomoku-O):
4776 * net/browse-url.el (browse-url-browser-display):
4777 * international/mule.el (define-charset):
4778 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4779 * filesets.el (filesets-find-file-delay):
4780 * eshell/em-xtra.el (eshell-xtra):
4781 * eshell/em-unix.el (eshell-grep):
4782 * emulation/viper.el (viper-mode):
4783 * emacs-lisp/regexp-opt.el (regexp-opt-group):
4784 * emacs-lisp/easymenu.el (easy-menu-define):
4785 * calendar/timeclock.el (timeclock-use-display-time):
4786 * bs.el (bs-mode):
4787 * bookmark.el (bookmark-save-flag):
4788 Doc fix (standardize possessive apostrophe usage).
4789
c98c6276
CY
47902012-02-27 Chong Yidong <cyd@gnu.org>
4791
bf7f9bc5
JB
4792 * emulation/viper-cmd.el (viper-intercept-ESC-key):
4793 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 4794
c98c6276
CY
4795 * font-lock.el (font-lock-specified-p): Rename from
4796 font-lock-spec-present. Callers changed.
4797
9c62cd04 47982012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 4799
bf7f9bc5
JB
4800 * emacs-lisp/package.el (package-compute-transaction):
4801 Handle holding a package version to t in package-load-list.
8ac9e529 4802
530739c9
MA
48032012-02-26 Michael Albinus <michael.albinus@gmx.de>
4804
4805 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4806 (tramp-get-inode, tramp-get-device): Use cached values.
4807
487915d7
AM
48082012-02-26 Alan Mackenzie <acm@muc.de>
4809
4810 Check there is a font-lock specification before doing initial
4811 fontification.
4812
4813 * font-core.el (font-lock-mode): Move the conditional from
4814 :after-hook to font-lock-initial-fontify.
4815 (font-lock-default-function): Move the check for a specification
4816 to font-lock-spec-present.
4817
dc9924b8 4818 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
4819 (font-lock-spec-present): New function.
4820
4fd96557
JB
48212012-02-26 Jim Blandy <jimb@red-bean.com>
4822
4823 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4824 (gdb-send): Apply it to the operand of the '-interpreter-exec
4825 console' command, so that we can pass arguments with (say) quotes
4826 in them. Store exact string sent in gdb-debug-log (Bug#10765).
4827
9a4888c0
CY
48282012-02-26 Chong Yidong <cyd@gnu.org>
4829
07498861
CY
4830 * help-fns.el (describe-function-1): Clarify description of
4831 remapping (Bug#10844).
4832
9a4888c0
CY
4833 * files.el (files-equal-p): Doc fix.
4834 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
4835 and quit the loop once a mismatch is found.
4836
ea8fb88d
JB
48372012-02-25 Juanma Barranquero <lekktu@gmail.com>
4838
4839 * bs.el (bs--show-with-configuration): Don't throw an error
4840 if the window cannot be split; otherwise, subsequent calls to
4841 bs-show fail, restoring a stale window config. (Bug#10882)
4842
525795c1
JD
48432012-02-25 Jan Djärv <jan.h.d@swipnet.se>
4844
4845 * term/ns-win.el (global-map): Bind ns-drag-file to
4846 ns-find-file (Bug#5855, Bug#10050).
4847
f008086f
AS
48482012-02-25 Andreas Schwab <schwab@linux-m68k.org>
4849
4850 * calendar/parse-time.el (parse-time-string): Allow extractor to
4851 return nil.
4852
a3fcfa99
MA
48532012-02-25 Michael Albinus <michael.albinus@gmx.de>
4854
91027d08
JB
4855 * net/tramp.el (tramp-file-name-for-operation):
4856 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
4857
4858 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
4859 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4860 Add COPY-CONTENTS argument.
a3fcfa99 4861
67b0de11
CY
48622012-02-25 Chong Yidong <cyd@gnu.org>
4863
4864 Add custom groups for VC backends, for consistency with vc-bzr.
4865
4866 * vc/vc-arch.el (vc-arch):
4867 * vc/vc-cvs.el (vc-cvs):
4868 * vc/vc-git.el (vc-git):
4869 * vc/vc-hg.el (vc-hg):
4870 * vc/vc-mtn.el (vc-mtn):
4871 * vc/vc-rcs.el (vc-rcs):
4872 * vc/vc-sccs.el (vc-sccs):
4873 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
4874 All relevant defcustoms reassigned.
4875
3c9dfce6
CY
48762012-02-25 Chong Yidong <cyd@gnu.org>
4877
1339bf43
CY
4878 * newcomment.el (comment-styles): Add autoload (Bug#10868).
4879
3c9dfce6
CY
4880 * term/x-win.el (x-initialize-window-system): Reduce default for
4881 x-selection-timeout to 5 seconds (Bug#8869).
4882
25b2e303 48832012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4884
ec70a47d
GM
4885 * files.el (files-equal-p, file-subdir-of-p): New functions.
4886 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 4887 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
4888 * dired-aux.el (dired-copy-file-recursive): Same.
4889 (dired-create-files): Modify destination when source is equal to
4890 dest when copying files.
53a46cd0 4891 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 4892
914260cd
MA
48932012-02-24 Michael Albinus <michael.albinus@gmx.de>
4894
4895 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
4896 (Bug#10874)
4897
2cb228f7
AM
48982012-02-23 Alan Mackenzie <acm@muc.de>
4899
4900 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
4901 parameter "after-hook:" to allow the expansion to run code after
4902 the execution of the mode hooks.
4903
4904 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 4905 from font-lock-mode-internal.
2cb228f7 4906
91027d08 4907 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
4908 :after-hook.
4909
8f0fde21
SM
49102012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4911
3e88618b
SM
4912 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4913 (completion--cache-all-sorted-completions): New function.
4914 (completion-all-sorted-completions): Use it.
4915 (completion--do-completion, minibuffer-force-complete):
4916 Use it to re-instate the flush hook.
4917
8f0fde21
SM
4918 * icomplete.el (icomplete-completions): Replace last fix with a better
4919 one (bug#10850).
4920
8e911f6f
DG
49212012-02-23 Dmitry Gutov <dgutov@yandex.ru>
4922
4923 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4924 when it might call us back infinitely (bug#10797).
4925
49fe4321
GM
49262012-02-23 Glenn Morris <rgm@gnu.org>
4927
4928 * minibuffer.el (completion-category-overrides): Doc fix.
4929
b291b572
SM
49302012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4931
4932 * minibuffer.el (completion-table-with-context): Fix inf-loop.
4933 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4934
31a9ef2e
GM
49352012-02-23 Glenn Morris <rgm@gnu.org>
4936
5e6e6794 4937 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
4938 (authors-obsolete-files-regexps, authors-ignored-files)
4939 (authors-ambiguous-files, authors-renamed-files-alist):
4940 Add more entries.
4941
0bd1e074
JL
49422012-02-23 Juri Linkov <juri@jurta.org>
4943
4944 * isearch.el (isearch-occur): Sync interactive spec with occur's
4945 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4946
b617673c
JL
4947 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4948
19e9789e
JL
49492012-02-22 Juri Linkov <juri@jurta.org>
4950
4951 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4952 (ucs-insert): Doc fix. Check for hex digits in the string.
4953 Don't display `nil' in the error message. (Bug#10857)
4954
f41ce09d
AM
49552012-02-22 Alan Mackenzie <acm@muc.de>
4956
7a71b18d 4957 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 4958
ac2eceee
GM
49592012-02-22 Glenn Morris <rgm@gnu.org>
4960
4961 * ffap.el (ffap-c-path):
4962 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4963
abd1f678
CY
49642012-02-22 Chong Yidong <cyd@gnu.org>
4965
4966 * custom.el (load-theme): Doc fix.
4967
f25aef2e
GM
49682012-02-22 Glenn Morris <rgm@gnu.org>
4969
4970 * dired-x.el (dired-guess-shell-alist-default):
4971 Remove escape sequences from nroff output. (Bug#172)
4972
5f8dc2ca
GM
49732012-02-21 Glenn Morris <rgm@gnu.org>
4974
6ff86ec4
GM
4975 * vc/emerge.el (emerge-defvar-local):
4976 Set `permanent-local' property rather than unused `preserved'.
4977
be3223a3 4978 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
4979 (picture-mode-map): Use it. (Bug#10860)
4980 (picture-mode): Doc fix.
4981
3fe58f4f
JB
49822012-02-21 Juanma Barranquero <lekktu@gmail.com>
4983
4984 * newcomment.el (uncomment-region-default): Remove unused binding.
4985
f9a998c3
GM
49862012-02-21 Glenn Morris <rgm@gnu.org>
4987
4988 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4989 (picture-self-insert, picture-tab-chars): Doc fix.
4990 (picture-mode-map): Fix C-a, C-e.
4991
c6029348
GM
49922012-02-20 Glenn Morris <rgm@gnu.org>
4993
4994 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4995
ab1ce9d7
LL
49962012-02-20 Leo Liu <sdl.web@gmail.com>
4997
4998 * icomplete.el (icomplete-completions): Check FROM arg before
4999 passing to substring (Bug#10850).
5000
0fd40f89
CY
50012012-02-19 Chong Yidong <cyd@gnu.org>
5002
5003 * comint.el: Require ansi-color.
5004 (comint-output-filter-functions): Add ansi-color-process-output.
5005
5006 * ansi-color.el: Don't set comint-output-filter-functions; it is
5007 now in the initial value defined in comint.el.
5008 (ansi-color-apply-face-function): New variable.
5009 (ansi-color-apply-on-region): Use it.
5010 (ansi-color-apply-overlay-face): New function.
5011
5012 * shell.el (shell): No need to require ansi-color.
5013 (shell-mode): Use ansi-color-apply-face-function to highlight
5014 color escapes using font-lock-face property (Bug#10835).
5015
20af2394
CY
50162012-02-19 Chong Yidong <cyd@gnu.org>
5017
5018 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
5019 mode-line formats (Bug#10839).
5020
e23a3fbe
GM
50212012-02-18 Glenn Morris <rgm@gnu.org>
5022
b474519e
GM
5023 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
5024
5025 * mail/undigest.el (unforward-rmail-message): Doc fix.
5026
e23a3fbe
GM
5027 * saveplace.el (save-place-ignore-files-regexp): Add :version.
5028
57939ff4
EZ
50292012-02-18 Eli Zaretskii <eliz@gnu.org>
5030
5031 * international/characters.el (script-list): Sync with the latest
5032 Unicode Character Database.
5033
0c23686e
AS
50342012-02-18 Andreas Schwab <schwab@linux-m68k.org>
5035
5036 * international/titdic-cnv.el: Remove duplicate coding tag.
5037 * language/cham.el: Likewise.
5038 * language/tai-viet.el: Likewise.
5039
6818b449
GM
50402012-02-18 Glenn Morris <rgm@gnu.org>
5041
5042 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
5043 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
5044 (calendar-bahai-all-holidays-flag, calendar-other-dates):
5045 * calendar/diary-lib.el (diary-abbreviated-year-flag):
5046 * calendar/holidays.el (holiday-bahai-holidays)
5047 (calendar-holidays, list-holidays):
5048 Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
5049
0311a3fc
TH
50502012-02-17 Tassilo Horn <tassilo@member.fsf.org>
5051
5052 * saveplace.el (save-place-ignore-files-regexp): New variable
5053 allowing for excluding files from saving their location of point.
5054 The default value matches the temporary commit message editing
5055 files from Git, SVN, Bazaar, and Mercurial.
5056 (save-place-to-alist): Use it.
5057
eb864a71
LM
50582012-02-17 Lawrence Mitchell <wence@gmx.li>
5059 Stefan Monnier <monnier@iro.umontreal.ca>
5060
5061 * newcomment.el (uncomment-region-default): Don't leave extra space
5062 when an arg is provided (bug#8150).
5063
ee0ce425
TZ
50642012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
5065
eb864a71 5066 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 5067
95ddf442
GM
50682012-02-17 Glenn Morris <rgm@gnu.org>
5069
5070 * net/socks.el: Require network-stream. (Bug#10599)
5071
48dd1e39 50722012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
5073
5074 * international/charprop.el:
5075 * international/uni-name.el:
5076 * international/uni-old-name.el:
5077 * international/uni-comment.el: Regenerate.
5078
d68cd087
GM
50792012-02-16 Glenn Morris <rgm@gnu.org>
5080
5081 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
5082 Interactively in calendar buffer, give an error if not on a date.
5083
13932042
GM
50842012-02-15 Glenn Morris <rgm@gnu.org>
5085
5086 * shell.el (shell-delimiter-argument-list):
5087 Revert 2011-02-17 change. (Bug#8027)
5088
c3a70e2b
CY
50892012-02-15 Chong Yidong <cyd@gnu.org>
5090
60236b0d
CY
5091 * minibuffer.el (completion-at-point-functions): Doc fix.
5092
c3a70e2b
CY
5093 * custom.el (defcustom): Doc fix; note use of defvar.
5094
9f26dc24
GM
50952012-02-15 Glenn Morris <rgm@gnu.org>
5096
5097 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
5098 Doc fixes.
5099
6546b134
GM
51002012-02-14 Glenn Morris <rgm@gnu.org>
5101
5102 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
5103
d29b2b4c
LI
51042012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
5105
5106 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
5107 way the ports list is computed.
835bdcba
LI
5108 (smtpmail-query-smtp-server): Prompt the user for a port number if
5109 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 5110
08dcdbc9
TZ
51112012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
5112
5113 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
5114
2605051a
GM
51152012-02-13 Glenn Morris <rgm@gnu.org>
5116
5117 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
5118
7ee99f32
TZ
51192012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
5120
5121 * net/gnutls.el (gnutls-trustfiles): New variable.
5122 (gnutls-negotiate): Use it.
5123
5f0af64f
LI
51242012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
5125
5126 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
5127 does its stuff if Gnus is running.
5128
c14fcc95
AM
51292012-02-13 Alan Mackenzie <acm@muc.de>
5130
5131 Fix a loop in c-set-fl-decl-start.
5132
7a71b18d 5133 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
5134 c-backward-syntactic-ws actually moves backwards.
5135
142b4d90
LL
51362012-02-13 Leo Liu <sdl.web@gmail.com>
5137
5138 * net/rcirc.el (rcirc-markup-attributes): Move point to the
5139 beginning so that all \C-o chars are removed.
5140
fa9958a6
TZ
51412012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
5142
dc9924b8 5143 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 5144
0bc5886a
AM
51452012-02-12 Alan Mackenzie <acm@muc.de>
5146
5147 Fix infinite loop with long macros.
4d6769e1 5148 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 5149
d4bd55e7
CY
51502012-02-12 Chong Yidong <cyd@gnu.org>
5151
5152 * window.el (display-buffer): Doc fix (Bug#10785).
5153
66f3fe22
GM
51542012-02-12 Glenn Morris <rgm@gnu.org>
5155
bd7da63e
GM
5156 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5157 (x-disown-selection-internal, x-get-selection-internal):
5158 Sync docs with the xselect.c versions.
5159
66f3fe22
GM
5160 * allout-widgets.el: Add missing license notice.
5161
3e0d2fa7
GM
51622012-02-11 Glenn Morris <rgm@gnu.org>
5163
cfecdf09
GM
5164 * select.el (x-get-selection-internal, x-own-selection-internal)
5165 (x-disown-selection-internal):
5166 * x-dnd.el (x-get-selection-internal): Update declarations.
5167
6d216d7f
GM
5168 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
5169
2bed3f04
GM
5170 * window.el (window-sides-slots):
5171 * tool-bar.el (tool-bar-position):
5172 * term/xterm.el (xterm-extra-capabilities):
5173 * ses.el (ses-self-reference-early-detection):
5174 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
5175 (verilog-auto-wire-type)
5176 (verilog-auto-delete-trailing-whitespace)
5177 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
5178 (verilog-auto-tieoff-declaration):
5179 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
5180 (sql-oracle-statement-starters, sql-oracle-scan-on):
5181 * progmodes/prolog.el (prolog-align-comments-flag)
5182 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
5183 (prolog-left-indent-regexp, prolog-paren-indent-p)
5184 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
5185 (prolog-types, prolog-mode-specificators)
5186 (prolog-determinism-specificators, prolog-directives)
5187 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
5188 (prolog-electric-dot-flag)
5189 (prolog-electric-dot-full-predicate-template)
5190 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
5191 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
5192 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
5193 (prolog-program-switches, prolog-prompt-regexp)
5194 (prolog-debug-on-string, prolog-debug-off-string)
5195 (prolog-trace-on-string, prolog-trace-off-string)
5196 (prolog-zip-on-string, prolog-zip-off-string)
5197 (prolog-use-standard-consult-compile-method-flag)
5198 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
5199 (prolog-imenu-max-lines, prolog-info-predicate-index)
5200 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
5201 (prolog-char-quote-workaround):
5202 * progmodes/cc-vars.el (c-defun-tactic):
5203 * net/tramp.el (tramp-encoding-command-interactive)
5204 (tramp-local-end-of-line):
5205 * net/soap-client.el (soap-client):
5206 * net/netrc.el (netrc-file):
5207 * net/gnutls.el (gnutls):
5208 * minibuffer.el (completion-category-overrides)
5209 (completion-cycle-threshold)
5210 (completion-pcm-complete-word-inserts-delimiters):
5211 * man.el (Man-name-local-regexp):
5212 * mail/feedmail.el (feedmail-display-full-frame):
5213 * international/characters.el (glyphless-char-display-control):
5214 * eshell/em-ls.el (eshell-ls-date-format):
5215 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
5216 (lisp-lambda-list-keyword-parameter-indentation)
5217 (lisp-lambda-list-keyword-parameter-alignment):
5218 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
5219 * dired-x.el (dired-omit-verbose):
5220 * cus-theme.el (custom-theme-allow-multiple-selections):
5221 * calc/calc.el (calc-highlight-selections-with-faces)
5222 (calc-lu-field-reference, calc-lu-power-reference)
5223 (calc-note-threshold):
5224 * battery.el (battery-mode-line-limit):
5225 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5226 (archive-7z-update):
5227 * allout.el (allout-prefixed-keybindings)
5228 (allout-unprefixed-keybindings)
5229 (allout-inhibit-auto-fill-on-headline)
5230 (allout-flattened-numbering-abbreviation):
5231 * allout-widgets.el (allout-widgets-auto-activation)
5232 (allout-widgets-icons-dark-subdir)
5233 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
5234 (allout-widgets-theme-dark-background)
5235 (allout-widgets-theme-light-background)
5236 (allout-widgets-item-image-properties-emacs)
5237 (allout-widgets-item-image-properties-xemacs)
5238 (allout-widgets-run-unit-tests-on-load)
5239 (allout-widgets-time-decoration-activity)
5240 (allout-widgets-hook-error-post-time)
5241 (allout-widgets-track-decoration):
5242 Add missing :version tags to new defcustoms and defgroups.
5243
5fec1b8e
GM
5244 * progmodes/sql.el (sql-ansi-statement-starters)
5245 (sql-oracle-statement-starters): Add custom type.
5246
3e0d2fa7
GM
5247 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
5248 (prolog-system-version): Give it a type.
5249
90b671e2
EZ
52502012-02-11 Eli Zaretskii <eliz@gnu.org>
5251
5252 * term/pc-win.el (x-select-text, x-selection-owner-p)
5253 (x-own-selection-internal, x-disown-selection-internal)
5254 (x-get-selection-internal): Sync doc strings and argument lists
5255 with xselect.c, common-win.el and x-win.el. (Bug#10783)
5256
5eac0c02
LL
52572012-02-11 Leo Liu <sdl.web@gmail.com>
5258
5259 * progmodes/python.el (python-end-of-statement): Fix infinite
5260 loop. (Bug#10788)
5261
f82cb659
GM
52622012-02-10 Glenn Morris <rgm@gnu.org>
5263
5264 * international/mule-cmds.el (unify-8859-on-encoding-mode)
5265 (unify-8859-on-decoding-mode): Properly mark as obsolete.
5266
cc26d239
LI
52672012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
5268
5269 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
5270 about SMTP before checking the From header.
5271
91027d08 5272 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
5273 into own function for reuse by emacsbug.el.
5274
1be3ca5a
LL
52752012-02-10 Leo Liu <sdl.web@gmail.com>
5276
5277 * subr.el (condition-case-unless-debug): Rename from
5278 condition-case-no-debug. All callers changed.
5279 (with-demoted-errors): Fix caller.
5280
5281 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
5282 * nxml/rng-valid.el (rng-do-some-validation):
5283 * emacs-lisp/package.el (package-refresh-contents)
5284 (package-menu-execute):
5285 * desktop.el (desktop-create-buffer):
91027d08 5286 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 5287
b011fbfe
GM
52882012-02-10 Glenn Morris <rgm@gnu.org>
5289
b2096d72
GM
5290 * textmodes/bibtex.el:
5291 Add missing :version tags for new/changed defcustoms.
5292
b011fbfe
GM
5293 * files.el (remote-file-name-inhibit-cache): Doc fixes.
5294
4c7e65bf
LI
52952012-02-09 Lars Ingebrigtsen <larsi@rusty>
5296
5297 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
5298 (smtpmail-via-smtp): Use it, or fall back on the From address.
5299 (smtpmail-send-it): Ditto.
5300
f3934f6f
SM
53012012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
5302
5303 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5304 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
5305 (byte-compile-tmp-var): New const.
5306 (byte-compile-defvar): Use it to minimize .elc size.
5307 Just use `defvar' rather than simulate it (bug#10761).
5308
a075a2c5
GM
53092012-02-09 Glenn Morris <rgm@gnu.org>
5310
cf3aa21b
GM
5311 * files.el (rename-uniquely): Doc fix. (Bug#3806)
5312
354998cd
GM
5313 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
5314 Add :version tags.
5315
dc9924b8
SM
5316 * progmodes/compile.el (compilation-error-screen-columns)
5317 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 5318
dab3703d
GM
5319 * vc/log-view.el (log-view-toggle-entry-display):
5320 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
5321
3f88cd72
GM
5322 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
5323 (report-emacs-bug-can-use-xdg-email):
5324 (report-emacs-bug-insert-to-mailer): Doc fixes.
5325 (report-emacs-bug): Message fix.
5326
d95b247d
GM
5327 * net/browse-url.el (browse-url-can-use-xdg-open)
5328 (browse-url-xdg-open): Doc fixes.
5329
a075a2c5
GM
5330 * electric.el (electric-indent-mode, electric-pair-mode)
5331 (electric-layout-rules, electric-layout-mode): Doc fixes.
5332 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
5333
ffb6157e
MR
53342012-02-08 Martin Rudalics <rudalics@gmx.at>
5335
5336 * server.el (server-unselect-display): Don't inadvertently kill
5337 the current buffer. (Bug#10729)
5338
e1ac4066
GM
53392012-02-08 Glenn Morris <rgm@gnu.org>
5340
34e8a2da
GM
5341 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
5342 (sql-list-table): Doc fixes.
5343
b4ac6e8c
GM
5344 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
5345 Comment out (does nothing).
5346
e1ac4066
GM
5347 * completion.el (dynamic-completion-mode):
5348 * dirtrack.el (dirtrack-debug-mode):
5349 * electric.el (electric-layout-mode):
5350 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
5351 * face-remap.el (text-scale-mode, buffer-face-mode):
5352 * iimage.el (iimage-mode):
5353 * image-mode.el (image-transform-mode):
5354 * minibuffer.el (completion-in-region-mode):
5355 * scroll-lock.el (scroll-lock-mode):
5356 * simple.el (next-error-follow-minor-mode):
5357 * tar-mode.el (tar-subfile-mode):
5358 * tooltip.el (tooltip-mode):
5359 * vcursor.el (vcursor-use-vcursor-map):
5360 * wid-browse.el (widget-minor-mode):
5361 * emulation/tpu-edt.el (tpu-edt-mode):
5362 * emulation/tpu-extras.el (tpu-cursor-free-mode):
5363 * international/iso-ascii.el (iso-ascii-mode):
5364 * language/thai-util.el (thai-word-mode):
5365 * mail/supercite.el (sc-minor-mode):
5366 * net/goto-addr.el (goto-address-mode):
5367 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5368 * progmodes/cwarn.el (cwarn-mode):
5369 * progmodes/flymake.el (flymake-mode):
5370 * progmodes/glasses.el (glasses-mode):
5371 * progmodes/hideshow.el (hs-minor-mode):
5372 * progmodes/pascal.el (pascal-outline-mode):
5373 * textmodes/enriched.el (enriched-mode):
5374 * vc/smerge-mode.el (smerge-mode):
5375 Doc fixes (minor mode argument).
5376
5e0d957f
EZ
53772012-02-07 Eli Zaretskii <eliz@gnu.org>
5378
5379 * ls-lisp.el (ls-lisp-sanitize): New function.
5380 (ls-lisp-insert-directory): Use it to fix or remove any elements
5381 in file-alist with missing attributes. (Bug#4673)
5382
98d7371e
AM
53832012-02-07 Alan Mackenzie <acm@muc.de>
5384
5385 Fix spurious recognition of c-in-knr-argdecl.
5386
5387 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5388 putative K&R region.
5389
667ced3a
AM
53902012-02-07 Alan Mackenzie <acm@muc.de>
5391
eb864a71
LM
5392 * progmodes/cc-engine.el (c-forward-objc-directive):
5393 Prevent looping in "#pragma mark @implementation".
667ced3a 5394
5b77774d
MA
53952012-02-07 Michael Albinus <michael.albinus@gmx.de>
5396
5397 * notifications.el (notifications-on-closed-signal): Make `reason'
5398 optional. (Bug#10744)
5399
af008560
GM
54002012-02-07 Glenn Morris <rgm@gnu.org>
5401
60d47423
GM
5402 * emacs-lisp/easy-mmode.el (define-minor-mode):
5403 Doc fixes for the macro and the mode it defines.
5404
dd605cc4
GM
5405 * image.el (imagemagick-types-inhibit): Doc fix.
5406
af008560
GM
5407 * cus-start.el (imagemagick-render-type): Add it.
5408
5cc59a37
LI
54092012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
5410
4d6769e1
JB
5411 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5412 Set the default at load time, too, so that `font-lock-fontify-buffer'
5413 can be called without setting up the entire mode first. This fixes
5414 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 5415
9a6dd747
CY
54162012-02-06 Chong Yidong <cyd@gnu.org>
5417
2d16b285
CY
5418 * simple.el (list-processes--refresh): Delete exited processes
5419 (Bug#8094).
5420
171e9b6e
CY
5421 * comint.el (comint-next-prompt): next-single-char-property-change
5422 and prev-single-char-property-change never return nil (Bug#8657).
5423
9a6dd747
CY
5424 * custom.el (defcustom): Doc fix (Bug#9711).
5425
aa4589a7
CY
54262012-02-05 Chong Yidong <cyd@gnu.org>
5427
5c2a252f
CY
5428 * cus-edit.el (custom-variable-reset-backup): Quote the value
5429 before storing it in the customized-value property (Bug#6712).
4aab9006 5430 (custom-display): Add a customization type tag.
983b9602 5431 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 5432
aa4589a7
CY
5433 * wid-edit.el (widget-field-value-get): New optional arg to
5434 suppress trailing whitespace truncation.
5435 (character): Use it (Bug#2689).
5436
1ff980ae
AS
54372012-02-05 Andreas Schwab <schwab@linux-m68k.org>
5438
5439 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5440 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5441
03988c98
CY
54422012-02-05 Chong Yidong <cyd@gnu.org>
5443
eeb6cc88
CY
5444 * cus-edit.el (custom-variable-value-create): For mismatched
5445 types, show the current value (Bug#7600).
5446
03988c98
CY
5447 * custom.el (defcustom): Doc fix.
5448
f8cdeef0
GM
54492012-02-05 Glenn Morris <rgm@gnu.org>
5450
5451 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5452
0696d255
JB
54532012-02-05 Juanma Barranquero <lekktu@gmail.com>
5454
5455 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5456 (pp-buffer): Use `ignore-errors', `looking-at-p'.
5457 (pp-last-sexp): Use `looking-at-p'.
5458
34c99998
GM
54592012-02-04 Glenn Morris <rgm@gnu.org>
5460
8f05da42
GM
5461 * files.el (revert-buffer):
5462 Doc fix (mention revert-buffer-in-progress-p).
5463
f160676e
GM
5464 * emacs-lisp/ert-x.el (ert-simulate-command):
5465 Check deferred-action-list (which is obsolete) is bound.
5466
c7291ad9
GM
5467 * subr.el (with-wrapper-hook): Doc fixes.
5468
34c99998
GM
5469 * simple.el (filter-buffer-substring-functions)
5470 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5471
6283a7d3
LL
54722012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
5473
5474 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5475 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
5476
e96e3013
LL
54772012-02-04 Leo Liu <sdl.web@gmail.com>
5478
5479 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5480
8ded50f2
GM
54812012-02-04 Glenn Morris <rgm@gnu.org>
5482
82ff1d13
GM
5483 * image.el (image-extension-data): Add obsolete alias.
5484
987a0a16
GM
5485 * isearch.el (isearch-update): Doc fix.
5486
ea32ef46
GM
5487 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5488
8ded50f2
GM
5489 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5490
eea14f31
GM
54912012-02-03 Glenn Morris <rgm@gnu.org>
5492
5493 * image.el (image-animated-p): Doc fix. Use image-animated-types.
5494 (image-animate-timeout): Doc fix.
5495
5496 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5497
12f381b7
GM
54982012-02-02 Glenn Morris <rgm@gnu.org>
5499
953cebf5
GM
5500 * server.el (server-auth-dir): Doc fix.
5501 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
5502
12f381b7
GM
5503 * subr.el (run-mode-hooks): Doc fix.
5504
953a8c3b
JL
55052012-02-02 Juri Linkov <juri@jurta.org>
5506
5507 * image-mode.el (image-toggle-display-image): Remove tautological
5508 `major-mode' from the `derived-mode-p' test.
5509
c5d3843c
KH
55102012-02-02 Kenichi Handa <handa@m17n.org>
5511
9f6e692e 5512 * composite.el (compose-region): Cancel previous change.
c5d3843c 5513
159462d4 55142012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
5515
5516 * composite.el (compose-region, compose-string): Signal error for
5517 a null string component (Bug#6988).
5518
9f562668
CY
55192012-02-01 Chong Yidong <cyd@gnu.org>
5520
e2cef717
CY
5521 * view.el (view-buffer-other-window, view-buffer-other-frame):
5522 Handle special modes like view-buffer (Bug#10650).
5523 (view-buffer): Simplify.
5524
9f562668
CY
5525 * frame.el (set-frame-font): Tweak meaning of third argument.
5526
9f6e692e
JB
5527 * dynamic-setting.el (font-setting-change-default-font):
5528 Use set-frame-font (Bug#9982).
9f562668 5529
781acb9f
GM
55302012-02-01 Glenn Morris <rgm@gnu.org>
5531
6035be52
GM
5532 * progmodes/compile.el (compilation-internal-error-properties):
5533 Respect compilation-first-column in the "*compilation*" buffer.
5534
781acb9f
GM
5535 * emacs-lisp/easy-mmode.el (define-minor-mode):
5536 Relax :variable's test for a named function.
5537
abbceb00
AM
55382012-01-31 Alan Mackenzie <acm@muc.de>
5539
5540 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5541 off by one error.
5542
fce3fdeb
CY
55432012-01-31 Chong Yidong <cyd@gnu.org>
5544
5545 * frame.el (set-frame-font): New arg ALL-FRAMES.
5546
5547 * menu-bar.el (menu-set-font): Use set-frame-font.
5548
5549 * faces.el (face-spec-reset-face): Don't apply unspecified
5550 attribute values to the default face.
5551
47893581
JB
55522012-01-31 Juanma Barranquero <lekktu@gmail.com>
5553
5554 * progmodes/cwarn.el (cwarn): Remove dead link.
5555 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5556 Remove * from defcustom docstrings.
5557 (turn-on-cwarn-mode): Make obsolete.
5558 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5559 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5560
e58e988a
GM
55612012-01-31 Glenn Morris <rgm@gnu.org>
5562
60dc2671 5563 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 5564 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 5565 Allow named functions to be used as the cdr of :variable.
e58e988a 5566
7a3f511d
GM
55672012-01-30 Glenn Morris <rgm@gnu.org>
5568
5569 * emacs-lisp/authors.el (authors-fixed-entries):
5570 Remove reference to deleted file rnewspost.el.
5571
cb882333
JB
55722012-01-29 Juanma Barranquero <lekktu@gmail.com>
5573
5574 * window.el (window-with-parameter): Remove unused variable `windows'.
5575 (window--side-check): Remove unused variable `code'.
5576 (window--resize-siblings): Remove unused variable `first'.
5577 (adjust-window-trailing-edge): Remove unused variable `failed'.
5578 (window-deletable-p, window--delete): Remove unused variable `buffer'.
5579 Use `let', not `let*'.
5580 (balance-windows-2): Remove unused variable `found'.
5581 (window--state-put-2): Remove unused variable `splits'.
5582 (window-state-put): Remove unused variable `selected'.
5583 (same-window-p): Use `string-match-p'.
5584 (display-buffer-assq-regexp): Remove unused variable `value'.
5585 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5586 Mark argument ALIST as ignored.
5587 (pop-to-buffer): Remove unused variable `old-window'.
5588
907201af
EZ
55892012-01-29 Eli Zaretskii <eliz@gnu.org>
5590
5591 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
5592 and .lzma compressed files.
5593
ea162670
CY
55942012-01-29 Chong Yidong <cyd@gnu.org>
5595
5b95ee8a
CY
5596 * frame.el (window-system-default-frame-alist): Doc fix.
5597
ea162670
CY
5598 * dynamic-setting.el (font-setting-change-default-font): Don't
5599 change the default face if SET-FONT argument is non-nil (Bug#9982).
5600
d6e6f4b1
SB
56012012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
5602
5603 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
5604
0f29fa41 56052012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
5606
5607 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5608 breakpoints in files outside current directory (Bug#6098).
5609
db174434
CY
56102012-01-29 Chong Yidong <cyd@gnu.org>
5611
6b25e4e2
SE
5612 * progmodes/python.el: Require ansi-color at top-level.
5613
6df6ae42
JB
5614 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5615 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
5616 (lisp-mode-abbrev-table): Add doc.
5617 (lisp-mode-variables): Don't set local-abbrev-table.
5618 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5619
e70ee681
RW
56202012-01-28 Roland Winkler <winkler@gnu.org>
5621
5622 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5623
ace88aa2
RW
56242012-01-28 Roland Winkler <winkler@gnu.org>
5625
5626 * textmodes/bibtex.el (bibtex-entry-alist): New function.
5627 (bibtex-set-dialect): Use it. Either set global values of
5628 dialect-dependent variables or bind these variables buffer-locally
5629 (Bug#10254).
5630 (bibtex-mode): Call bibtex-set-dialect via
5631 hack-local-variables-hook.
eb864a71
LM
5632 (bibtex-dialect): Update docstring.
5633 Add safe-local-variable predicate.
ace88aa2
RW
5634 (bibtex-entry-alist, bibtex-field-alist): Initialize via
5635 bibtex-set-dialect.
5636 (bibtex-mode-map): Define menu for each dialect.
5637 (bibtex-entry): Fix docstring.
5638
93376c5b
CY
56392012-01-28 Chong Yidong <cyd@gnu.org>
5640
5641 * eshell/esh-arg.el (eshell-quote-argument): New function.
5642
5643 * eshell/esh-ext.el (eshell-invoke-batch-file):
5644 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5645 first arg to eshell-parse-command (Bug#10523).
5646
4372494f
DA
56472012-01-28 Drew Adams <drew.adams@oracle.com>
5648
5649 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5650 `default-directory' is non-nil.
5651
4d4ec1f8
EZ
56522012-01-28 Eli Zaretskii <eliz@gnu.org>
5653
5654 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5655 line that displays system-configuration-options. (Bug#9924)
5656
7c188927
DA
56572012-01-28 Drew Adams <drew.adams@oracle.com>
5658
5659 * descr-text.el (describe-char): Show information about POS, in
5660 addition to information about the character at POS. Improve and
5661 update the doc string. Change "code point" to "code point in
5662 charset", to avoid confusion with the character's Unicode code
5663 point shown above that. (Bug#10129)
5664
e0da685a
EZ
56652012-01-28 Eli Zaretskii <eliz@gnu.org>
5666
5667 * descr-text.el (describe-char): Show the raw character, not only
5668 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
5669 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5670 for the reasons.
5671
70550acf
PH
56722012-01-28 Phil Hagelberg <phil@hagelb.org>
5673
eb864a71
LM
5674 * emacs-lisp/package.el (package-install):
5675 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 5676
0ce8e868
CY
56772012-01-28 Chong Yidong <cyd@gnu.org>
5678
cb882333
JB
5679 * emacs-lisp/package.el (package-maybe-load-descriptor):
5680 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
5681 (package-maybe-load-descriptor): Use it.
5682 (package-download-transaction): Fully load required packages
5683 inside the loop, so that `require' calls work (Bug#10593).
5684 (package-install): No need to call package-initialize now.
5685
2e7f3bea
CY
56862012-01-28 Chong Yidong <cyd@gnu.org>
5687
6e9bad14
CY
5688 * simple.el (deactivate-mark): Doc fix (Bug#8614).
5689
f823b8ca
CY
5690 * tooltip.el (tooltip-mode): Doc fix.
5691 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5692
2680c309
CY
5693 * frame.el (set-cursor-color): Doc fix (Bug#352).
5694
d7a9e63b
CY
5695 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5696 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5697
2e7f3bea
CY
5698 * cus-edit.el (custom-buffer-create-internal): Fix search button
5699 action (Bug#10542).
2ae01800 5700 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 5701
fc4f7a23
EW
57022012-01-27 Eduard Wiebe <usenet@pusto.de>
5703
5704 * dired.el (dired-mark-files-regexp):
5705 Include any subdirectory components. (Bug#10445)
5706
7dd37071
ML
57072012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5708
5709 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5710 Handle [host]:port syntax. (Bug#10533)
5711
a268160b
AH
57122012-01-27 Alex Harsanyi <harsanyi@mac.com>
5713
5714 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5715
e43273ef
GM
57162012-01-26 Glenn Morris <rgm@gnu.org>
5717
5718 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5719 * term.el (term-raw-escape-map): Use Control-X-prefix.
5720 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
5721
1edf595d
MR
57222012-01-25 Martin Rudalics <rudalics@gmx.at>
5723
5724 * window.el (window-state-get, window--state-get-1): Don't deal
5725 with fixed-sizeness of windows. Simplify code.
5726
fa8eafef
JC
57272012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
5728
6df6ae42
JB
5729 * window.el (window--state-get-1, window--state-put-2):
5730 Don't save and restore the mark.
fa8eafef 5731
0b21c100
CY
57322012-01-25 Chong Yidong <cyd@gnu.org>
5733
5734 * custom.el (custom-variable-p): Doc fix.
5735
5ae1a6c8
GM
57362012-01-25 Glenn Morris <rgm@gnu.org>
5737
40047858
GM
5738 * dired.el (dired-goto-file): Handle some of the more common
5739 characters that `ls -b' escapes. (Bug#10596)
5740
5ddce96c
GM
5741 * progmodes/compile.el (compilation-next-error-function):
5742 Respect compilation-first-column in the "*compilation*" buffer.
5743 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
5744
5ae1a6c8
GM
5745 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
5746
b559f1a9
GM
57472012-01-24 Glenn Morris <rgm@gnu.org>
5748
5749 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
5750
6725d21a
JD
57512012-01-24 Julien Danjou <julien@danjou.info>
5752
5753 * color.el (color-rgb-to-hsl): Fix value computing.
5754 (color-hue-to-rgb): New function.
5755 (color-hsl-to-rgb): New function.
5756 (color-clamp, color-saturate-hsl, color-saturate-name)
5757 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5758 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5759
70df4bbe
GM
57602012-01-24 Glenn Morris <rgm@gnu.org>
5761
5762 * vc/vc-rcs.el (vc-rcs-create-tag):
5763 * vc/vc-sccs.el (vc-sccs-create-tag):
5764 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
5765
802a2ae2
ML
57662012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
5767
5768 * eshell/esh-util.el (eshell-read-hosts-file):
5769 Skip comment lines. (Bug#10549)
5770
d7128bb1
ML
5771 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
5772
d1a5c3b4
JB
57732012-01-23 Juanma Barranquero <lekktu@gmail.com>
5774
2724d9c7
JB
5775 * subr.el (display-delayed-warnings): Doc fix.
5776 (collapse-delayed-warnings): New function to collapse identical
5777 adjacent warnings.
5778 (delayed-warnings-hook): Add it.
d1a5c3b4 5779
a5509865
MA
57802012-01-22 Michael Albinus <michael.albinus@gmx.de>
5781
5782 * net/tramp.el (tramp-action-login): Set connection property "login-as".
5783
a5509865
MA
5784 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5785 (tramp-default-user-alist): Don't add "pscp".
5786 (tramp-do-copy-or-rename-file-out-of-band): Use connection
5787 property "login-as", if set. (Bug#10530)
5788
cc6d5805
MA
57892012-01-21 Michael Albinus <michael.albinus@gmx.de>
5790
5791 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5792 "plink1" and "psftp". (Bug#10530)
5793
57942012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
5795
5796 * international/mule-cmds.el (prefer-coding-system): Show a
5797 warning message if the default value of file-name-coding-system
5798 was not changed.
5799
f0960428
JC
58002012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5801
cb882333
JB
5802 * windmove.el (windmove-reference-loc):
5803 Fix windmove-reference-loc miscalculation.
f0960428 5804
dd6f2a63
JB
58052012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
5806
5807 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5808 default unit.
5809
7b447e9b
GM
58102012-01-21 Glenn Morris <rgm@gnu.org>
5811
117a9ea1
GM
5812 * international/mule.el (auto-coding-alist): Add .tbz.
5813
7b447e9b
GM
5814 * files.el (local-enable-local-variables): Doc fix.
5815 (inhibit-local-variables-regexps): Rename from
5816 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
5817 Doc fix. Add some extensions from auto-coding-alist.
5818 (inhibit-local-variables-suffixes):
5819 Rename from inhibit-first-line-modes-suffixes. Doc fix.
5820 (inhibit-local-variables-p):
5821 New function, extracted from set-auto-mode-1.
5822 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
5823 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
5824 (hack-local-variables): Doc fix. Make the mode-only case
5825 respect enable-local-variables and friends.
5826 Respect inhibit-local-variables-regexps for file-locals, but
5827 not for directory-locals.
5828 (set-visited-file-name):
5829 Take account of inhibit-local-variables-regexps.
5830 Whether it applies may change as the file name is changed.
5831 * jka-cmpr-hook.el (jka-compr-install):
5832 * jka-compr.el (jka-compr-uninstall):
5833 Update for inhibit-first-line-modes-suffixes name change.
5834
dd6e3cdd
MR
58352012-01-20 Martin Rudalics <rudalics@gmx.at>
5836
5837 * help-macro.el (make-help-screen): Temporarily restore original
5838 binding for minor-mode-map-alist (Bug#10454).
5839
0d0deb38
JD
58402012-01-19 Julien Danjou <julien@danjou.info>
5841
5842 * color.el (color-name-to-rgb): Use the white color to find the max
5843 color component value and return correctly computed values.
5844 (color-name-to-rgb): Add missing float conversion for max value.
5845
34a02f46
MR
58462012-01-19 Martin Rudalics <rudalics@gmx.at>
5847
5848 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
5849 special state value for window-persistent-parameters.
5850 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
5851 (window--state-put-2): Reset all window parameters to nil before
5852 assigning values of persistent parameters.
5853
606c44c4
AM
58542012-01-18 Alan Mackenzie <acm@muc.de>
5855
5856 Eliminate sluggishness and hangs in fontification of "semicolon
5857 deserts".
5858
cb882333
JB
5859 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
5860 Change value 10000 -> 3000.
606c44c4
AM
5861 (c-state-safe-place): Reformulate so it doesn't stack up an
5862 infinite number of wrong entries in c-state-nonlit-pos-cache.
5863 (c-determine-limit-get-base, c-determine-limit): New functions to
5864 determine backward search limits disregarding literals.
5865 (c-find-decl-spots): Amend commenting.
5866 (c-cheap-inside-bracelist-p): New function which detects "={".
5867
5868 * progmodes/cc-fonts.el
5869 (c-make-font-lock-BO-decl-search-function): Give a limit to a
5870 backward search.
5871 (c-font-lock-declarations): Fix an occurrence of point being
5872 undefined. Check additionally for point being in a bracelist or
5873 near a macro invocation without a semicolon so as to avoid a
5874 fruitless time consuming search for a declarator. Give a more
5875 precise search limit for declarators using the new
5876 c-determine-limit.
5877
f3860cea
GM
58782012-01-18 Glenn Morris <rgm@gnu.org>
5879
5880 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
5881 (set-auto-mode): Doc fixes.
5882
1db03b16
GM
58832012-01-17 Glenn Morris <rgm@gnu.org>
5884
0e6038be
GM
5885 * isearch.el (search-nonincremental-instead): Fix doc typo.
5886
1db03b16
GM
5887 * dired.el (dired-insert-directory): Handle newlines in directory name.
5888 (dired-build-subdir-alist): Unescape newlines in directory name.
5889
4cb0aa75
MA
58902012-01-17 Michael Albinus <michael.albinus@gmx.de>
5891
5892 * net/tramp.el (tramp-local-end-of-line): New defcustom.
5893 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
5894 (tramp-action-terminal): Use it. (Bug#10530)
5895
1d00653d
SM
58962012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5897
5898 * minibuffer.el (completion--replace): Strip properties (bug#10062).
5899
6a6ee00d
MR
59002012-01-16 Martin Rudalics <rudalics@gmx.at>
5901
5902 * window.el (window-state-ignored-parameters): Remove variable.
5903 (window--state-get-1): Rename argument MARKERS to IGNORE.
5904 Handle persistent window parameters. Make copy of clone-of
5905 parameter only if requested. (Bug#10348)
5906 (window--state-put-2): Install a window parameter only if it has
5907 a non-nil value or an existing parameter shall be overwritten.
5908
97912def
MA
59092012-01-15 Michael Albinus <michael.albinus@gmx.de>
5910
5911 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5912
688070a5
EZ
59132012-01-14 Eli Zaretskii <eliz@gnu.org>
5914
5915 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5916 don't pass the (nil) value of `upnode' to string-match.
5917
301afadc
CY
59182012-01-14 Chong Yidong <cyd@gnu.org>
5919
5920 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 5921 Fix values recognized by the cursorBlink resource.
301afadc 5922
9e5788aa
PE
59232012-01-14 Paul Eggert <eggert@cs.ucla.edu>
5924
5925 * epg.el (epg--make-temp-file): Avoid permission race condition
5926 when running on old Emacs versions (bug#10403).
5927
3cdb7f5a
GM
59282012-01-14 Glenn Morris <rgm@gnu.org>
5929
5930 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5931
8c82b1b4
AM
59322012-01-13 Alan Mackenzie <acm@muc.de>
5933
5934 Fix filling for when filladapt mode is enabled.
5935
5936 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5937 c-mask-paragraph, pass in `fill-paragraph' rather than
5938 `fill-region-as-paragraph'. (This is a reversion of a previous
5939 change.)
eb864a71
LM
5940 * progmodes/cc-mode.el (c-basic-common-init):
5941 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 5942
e517eda4
GM
59432012-01-13 Glenn Morris <rgm@gnu.org>
5944
1498536e
GM
5945 * dired.el (dired-switches-escape-p): New function.
5946 (dired-insert-directory): Use dired-switches-escape-p.
5947 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5948
e517eda4
GM
5949 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5950
328f984d
GM
59512012-01-12 Glenn Morris <rgm@gnu.org>
5952
5953 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5954 changes in adaptive-fill-regexp. (Bug#10276)
5955
2cc769a8
AM
59562012-01-11 Alan Mackenzie <acm@muc.de>
5957
5958 Fix Emacs bug #10463 - put `widen's around the critical spots.
5959
1d00653d 5960 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
5961 widen around each invocation of c-state-pp-to-literal. Remove an
5962 unused let variable.
5963
e52c37fa
GM
59642012-01-11 Glenn Morris <rgm@gnu.org>
5965
5966 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 5967 Doc fix.
e52c37fa 5968
96f8741e
CY
59692012-01-10 Chong Yidong <cyd@gnu.org>
5970
1d00653d
SM
5971 * net/network-stream.el (network-stream-open-starttls):
5972 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
5973 response to the capability command.
5974
b09a806e
GM
59752012-01-10 Glenn Morris <rgm@gnu.org>
5976
5977 * mail/unrmail.el (unrmail): Tweak previous change.
5978
7655cb66
CY
59792012-01-09 Chong Yidong <cyd@gnu.org>
5980
5981 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5982
9d5a8f0b
AM
59832012-01-08 Alan Mackenzie <acm@muc.de>
5984
5985 Optimise font locking in long enum definitions.
5986
5987 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5988 arm to a cond form to handle enums.
5989 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5990 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5991
9a0115ab 59922012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
5993
5994 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 5995 (Bug#10401)
6bb72cbd 5996
f186bb95
LMI
59972012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5998
29232a68
LMI
5999 * faces.el (set-face-attribute): Clarify the meaning of the nil
6000 frame (bug#10294).
6001
4e5d086d
LMI
6002 * subr.el (with-selected-frame): Mention that the selected frame
6003 is restored (bug#9980).
6004
8e66aebe
LMI
6005 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
6006 (bug#9759).
6007
cd394be1 6008 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
6009 (password-read): Don't autoload unused function.
6010
adf4e762
JB
60112012-01-07 Juanma Barranquero <lekktu@gmail.com>
6012
6013 * progmodes/which-func.el (which-func-mode): Turn into a
6014 non-interactive function and mark as obsolete (bug#10428).
6015
89bd9ccd
CY
60162012-01-06 Chong Yidong <cyd@gnu.org>
6017
6018 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
6019 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
6020 functions, along with 1 and -1.
6021
4afee9d5
EZ
60222012-01-06 Eli Zaretskii <eliz@gnu.org>
6023
6024 * time.el (display-time-load-average)
6025 (display-time-default-load-average): Doc fixes. See the thread
6026 starting at
6027 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
6028 for the details.
6029
536aea70
GM
60302012-01-06 Glenn Morris <rgm@gnu.org>
6031
665ae865
GM
6032 * mail/unrmail.el (unrmail): Give an explicit error if the input file
6033 has no messages. (Bug#10377)
6034
c869783d
GM
6035 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
6036 than Info-edit. (Bug#10385)
6037
2bb4227e
GM
6038 * time.el (display-time-load-average, display-time-next-load-average):
6039 Doc fixes.
6040
7d5944b9
GM
6041 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
6042 local setting of buffer-read-only to the input buffer. (Bug#10419)
6043
536aea70
GM
6044 * calendar/calendar.el (calendar-mode):
6045 Locally set scroll-margin to 0. (Bug#10379)
6046
7dccca16
UM
60472012-01-06 Ulrich Mueller <ulm@gentoo.org>
6048
6049 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
6050
afbb7930
GM
60512012-01-05 Glenn Morris <rgm@gnu.org>
6052
6053 * eshell/em-unix.el (diff-no-select): Autoload it.
6054 (eshell/diff): Use diff-no-select. (Bug#10420)
6055
04482335
CY
60562012-01-05 Chong Yidong <cyd@gnu.org>
6057
7baca3bc
CY
6058 * shell.el (shell-dynamic-complete-functions): Revert last change.
6059 (shell-command-completion-function): New function.
6060 (shell-completion-vars): Use it to implement
6061 shell-completion-execonly (Bug#10417).
6062
04482335
CY
6063 * custom.el (enable-theme): Don't set custom-safe-themes.
6064
1d00653d
SM
6065 * cus-theme.el (custom-theme-merge-theme):
6066 Ignore custom-enabled-themes and custom-safe-themes.
04482335 6067
bb5aa5d6
MM
60682012-01-05 Michael R. Mauger <mmaug@yahoo.com>
6069
6070 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
6071 first prompt in `sql-interacive-mode'.
6072 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 6073 keywords.
6df6ae42 6074 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
6075 (sql-product-interactive): Bug fix: Set `sql-buffer' in
6076 context of original buffer. Invoke `sql-login-hook'.
6077
a7183d7c
EZ
60782012-01-04 Eli Zaretskii <eliz@gnu.org>
6079
6080 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
6081 letters in cite-prefix.
6082
a1eacd1e
LMI
60832012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6084
6085 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
6086
787cdb34
CY
60872012-01-03 Chong Yidong <cyd@gnu.org>
6088
1d00653d
SM
6089 * shell.el (shell-dynamic-complete-functions):
6090 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
6091 comint-filename-completion first (Bug#10417).
6092
30710442
RS
60932012-01-02 Richard Stallman <rms@gnu.org>
6094
6095 * battery.el (battery-status-function):
6096 Detect when to use battery-yeeloong-sysfs.
6097 (battery-echo-area-format): Add string for Yeeloong.
6098 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
6099 (battery-yeeloong-sysfs): New function.
6100
f75bfc33
CY
61012012-01-02 Chong Yidong <cyd@gnu.org>
6102
6103 * dirtrack.el (dirtrack-list): Eliminate unused third element.
6104 (dirtrack): Merge code for handling relative filenames in prompt
6105 from shell-dir-cookie-watcher.
6106 (dirtrack-debug-message): New arg to avoid excess format calls.
6107
6108 * shell.el (shell-dir-cookie-re): Variable deleted.
6109 (shell-dir-cookie-watcher): Function deleted.
6110 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
6111 with dirtrack-mode.
6112
651e947e
EZ
61132012-01-01 Eli Zaretskii <eliz@gnu.org>
6114
1d00653d
SM
6115 * term/w32-win.el (dynamic-library-alist) <gnutls>:
6116 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
6117 libgnutls-26.dll.
6118
94d4c7dc
AS
61192011-12-31 Andreas Schwab <schwab@linux-m68k.org>
6120
6121 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
6122
8d43f3cd
EZ
61232011-12-31 Eli Zaretskii <eliz@gnu.org>
6124
6125 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
6126 headers of non-MIME messages, when rmail-enable-mime is non-nil.
6127
98c8795a
MA
61282011-12-29 Michael Albinus <michael.albinus@gmx.de>
6129
6130 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
6131 also for alternative shells.
6132 (tramp-open-connection-setup-interactive-shell): Check, whether
6133 the shell is a busybox.
6134 (tramp-send-command): Don't suppress multiple prompts for
6135 busyboxes, it hurts.
6136
51281b32
CY
61372011-12-28 Chong Yidong <cyd@gnu.org>
6138
6139 * progmodes/gdb-mi.el (gdb-get-source-file-list)
6140 (gdb-get-source-file): Move mode line update to
6141 gdb-get-source-file (Bug#10087).
6142
2170cb53
CY
61432011-12-25 Chong Yidong <cyd@gnu.org>
6144
6145 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
6146 gud-gdb-marker-filter without taking it as an argument.
6147 (gud-gdb-run-command-fetch-lines): Caller changed.
6148 (gud-gdb-completion-function): New variable.
6149 (gud-gdb-completion-at-point): Use it.
6150 (gud-gdb-completions-1): Split from gud-gdb-completions.
6151
6152 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
6153 function as separate arguments.
6154 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
6155 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
6156 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
6157 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
6158 (gdb-stopped, def-gdb-auto-update-trigger)
6159 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
6160 (gdb-get-changed-registers, gdb-get-main-selected-frame):
6161 Callers changed.
2170cb53
CY
6162 (gud-gdbmi-completions): New function.
6163 (gdb): Use it for generating the completion table.
6164
be8b11bb
AM
61652011-12-24 Alan Mackenzie <acm@muc.de>
6166
6167 Introduce a mechanism to widen the region used in context font
1d00653d 6168 locking. Use this to protect declarations from losing their contexts.
be8b11bb 6169
1d00653d
SM
6170 * progmodes/cc-langs.el (c-before-font-lock-functions):
6171 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 6172 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
6173 functions to be run just before context (etc.) font locking.
6174
6175 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 6176 New, functionality extracted from
be8b11bb 6177 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 6178 (c-in-after-change-fontification): New variable.
be8b11bb
AM
6179 (c-after-change): Set c-in-after-change-fontification.
6180 (c-set-fl-decl-start): Rejig its interface, so it can be called
6181 from both after-change and context fontifying.
b81d40f0
JB
6182 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
6183 New functions.
6184 (c-standard-font-lock-fontify-region-function): New variable.
6185 (c-font-lock-fontify-region): New function.
be8b11bb 6186
341cf6ac
JL
61872011-12-24 Juri Linkov <juri@jurta.org>
6188
6189 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
6190 (Bug#10348)
6191
bffcee0a
MA
61922011-12-23 Michael Albinus <michael.albinus@gmx.de>
6193
6194 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
6195 existence of source file. (Bug#10325)
6196
cb5e207c
AM
61972011-12-23 Alan Mackenzie <acm@muc.de>
6198
6199 Fix unstable fontification inside templates.
6200
b81d40f0
JB
6201 * progmodes/cc-langs.el (c-before-font-lock-functions):
6202 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
6203 additionally has c-set-fl-decl-start. The other languages (apart
6204 from AWK) have that as a single entry.
6205
b81d40f0
JB
6206 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6207 The functionality for "local" declarations has been extracted to
cb5e207c
AM
6208 c-set-fl-decl-start.
6209
b81d40f0
JB
6210 * progmodes/cc-mode.el (c-common-init, c-after-change):
6211 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
6212 (c-set-fl-decl-start): New function, extracted from
6213 c-font-lock-enclosing-decls and enhanced.
6214
60ff536c
JB
62152011-12-23 Juanma Barranquero <lekktu@gmail.com>
6216
6217 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
6218
1c4757d6
JL
62192011-12-22 Juri Linkov <juri@jurta.org>
6220
6221 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
6222
d031f2c7
CY
62232011-12-22 Chong Yidong <cyd@gnu.org>
6224
6225 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
6226
bace743a
DA
62272011-12-21 Drew Adams <drew.adams@oracle.com>
6228
6229 * files.el (file-remote-p): Fix docstring. (Bug#10319)
6230
728a1f2b
JC
62312011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6232
6233 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
6234
0d373f73
TZ
62352011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
6236
fec0aaa4
TZ
6237 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
6238 highlighting and support. Fix up comments for capitalization.
6239 (cfengine-mode-debug): New var.
6240 (cfengine3-mode): Change the modeline indicator to "CFE3".
6241 (cfengine3-font-lock-keywords): Improve defun highlighting.
6242 (cfengine2-actions): Rename from `cfengine-actions'.
6243 (cfengine2-font-lock-keywords): Rename from
6244 `cfengine-font-lock-keywords'.
6245 (cfengine2-imenu-expression): Rename from
6246 `cfengine-imenu-expression'.
6247 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
6248 (cfengine2-beginning-of-defun): Rename from
6249 `cfengine-beginning-of-defun'.
6250 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
6251 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
6252 (cfengine2-mode): Rename from `cfengine-mode'. Change the
6253 modeline indicator to "CFE2".
6254 (cfengine-mode): Defalias to `cfengine-auto-mode'.
6255 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 6256
bc86f573
CY
62572011-12-21 Chong Yidong <cyd@gnu.org>
6258
6259 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
6260 filename argument.
6261
d45ba96b
MR
62622011-12-20 Martin Rudalics <rudalics@gmx.at>
6263
6264 * window.el (window-normalize-buffer-to-display): Remove.
6265 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
6266
a6198c90
CY
62672011-12-19 Chong Yidong <cyd@gnu.org>
6268
6269 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
6270 Don't signal an error in a predicate function; return non-nil.
6271 (vc-dir-mark-file): Move the error here.
6272 (vc-dir-mark-unmark): If acting on the region, keep going if one
6273 of the entries cannot be marked/unmarked.
6274 (vc-dir-mark-all-files): If current entry is a directory, mark
6275 only child files, as documented.
6276
34c5fb55
VB
62772011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6278
6279 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
6280 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
6281 addition.
6282
c803b2b7
JD
62832011-12-18 Jan Djärv <jan.h.d@swipnet.se>
6284
6285 * term/ns-win.el (ns-get-selection-internal)
6286 (ns-store-selection-internal): Declare.
1154d12e
JB
6287 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
6288 Declare as obsolete.
6289 (ns-get-pasteboard, ns-paste-secondary):
6290 Use ns-get-selection-internal.
6291 (ns-set-pasteboard, ns-copy-including-secondary):
6292 Use ns-store-selection-internal.
c803b2b7 6293
9cff91f8 62942011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
6295
6296 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 6297 (vc-deduce-fileset): Doc fix.
99a289d9 6298
f16c898a
AS
62992011-12-16 Andreas Schwab <schwab@linux-m68k.org>
6300
6301 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
6302
763237c4
SS
63032011-12-13 Sam Steingold <sds@gnu.org>
6304
6305 * man.el (Man-getpage-in-background): When running under a
6306 window-system, ignore $MANWIDTH and $COLUMNS.
6307
5fc1c122
KH
63082011-12-15 Kenichi Handa <handa@m17n.org>
6309
6310 * language/ethio-util.el: Change coding tag to utf-8-emacs.
6311 (setup-ethiopic-environment-internal): Comment out key-binding for
6312 ethio-toggle-punctuation.
6313
13d49cbb
AM
63142011-12-13 Alan Mackenzie <acm@muc.de>
6315
898169a2
AM
6316 Add the switch statement to AWK Mode.
6317
7a71b18d 6318 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
6319 "default" to the keywords regexp.
6320
7a71b18d 6321 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 6322 expression as the rest.
1d00653d
SM
6323 (c-nonlabel-token-key): Allow string literals for AWK.
6324 Refactor for the other modes.
898169a2 6325
13d49cbb 6326 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 6327 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
6328 routines. Limit backward searching in c-font-lock-enclosing.decl.
6329
6330 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
6331 pp-state and literal type in addition to the limits.
1d00653d 6332 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 6333 (c-state-literal-at): Use the above new defun.
1d00653d
SM
6334 (c-slow-in-literal, c-fast-in-literal): Remove.
6335 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
6336
6337 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
6338 being in a literal. Add a limit for backward searching.
6339
6340 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
6341 c-slow-in-literal.
6342
15e0efc7
SM
63432011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6344
6345 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
6346
454592a6
MR
63472011-12-13 Martin Rudalics <rudalics@gmx.at>
6348
6349 * window.el (delete-other-windows): Use correct frame in call to
6350 window-with-parameter.
6351
87393f26
DP
63522011-12-12 Daniel Pfeiffer <occitan@t-online.de>
6353
6354 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
6355 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
6356 (makefile-gmake-statements, makefile-makepp-statements):
6357 Use it and add new makepp keywords.
6358 (makefile-makepp-font-lock-keywords): Add new patterns.
6359 (makefile-match-function-end): Match new [...] and [[...]].
6360
11636b22
JB
63612011-12-11 Juanma Barranquero <lekktu@gmail.com>
6362
6363 * ses.el (ses-call-printer-return, ses-cell-property-get)
6364 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
6365 (ses-create-cell-variable, ses-reset-header-string)
6366 (ses-cell-set-formula, ses-repair-cell-reference-all)
6367 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6368 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6369 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6370 (ses-aset-with-undo, ses-load, ses-truncate-cell)
6371 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6372 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6373 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6374 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6375 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6376 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6377 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6378 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6379
cf018193
VB
63802011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6381
6382 * ses.el: The overall change is to add cell renaming, that is
6383 setting fancy names for cell symbols other than name matching
6384 "\\`[A-Z]+[0-9]+\\'" regexp .
6385 (ses-create-cell-variable): New defun.
6386 (ses-relocate-formula): Relocate formulas only for cells the
6387 symbols of which are not renamed, i.e. symbols whose names do not
6388 match regexp "\\`[A-Z]+[0-9]+\\'".
6389 (ses-relocate-all): Relocate values only for cells the symbols of
6390 which are not renamed.
6391 (ses-load): Create cells variables as the (ses-cell ...) are read,
6392 in order to check row col consistency with cell symbol name only
6393 for cells that are not renamed.
6394 (ses-replace-name-in-formula): New defun.
6395 (ses-rename-cell): New defun.
6396
ee957461
CY
63972011-12-11 Chong Yidong <cyd@gnu.org>
6398
6399 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6400 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6401
9a9e9ef0
MR
64022011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
6403
6404 * window.el (other-window): Fix docstring.
6405
92a8eba5
EZ
64062011-12-10 Eli Zaretskii <eliz@gnu.org>
6407
6408 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
6409 `from' or `to' address before taking its substring.
6410 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
6411 encoded name is chopped in the middle of the encoded string, and
6412 thus displayed encoded.
6413
e152e577
JB
64142011-12-10 Juanma Barranquero <lekktu@gmail.com>
6415
6416 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6417
e5d84bfe
EZ
64182011-12-10 Eli Zaretskii <eliz@gnu.org>
6419
6420 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
6421 to use texinfo-update-node and commands that call it if the
6422 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 6423 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
6424 (texinfo-all-menus-update, texinfo-master-menu)
6425 (texinfo-update-node, texinfo-every-node-update)
6426 (texinfo-multiple-files-update): Doc fix. Warn against updating
6427 all the @node lines.
6428 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
6429 argument is numeric. Explain better in the doc string what the
6430 function really does.
6431 (texinfo-insert-master-menu-list): Improve the error message
6432 displayed if there's no menu in the Top node.
6433 (Bug#2975) See also this thread:
e5d84bfe
EZ
6434 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6435
1d84e9bb
MG
64362011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
6437
6438 * speedbar.el (speedbar-supported-extension-expressions):
6439 Add .adb and .ads, commonly used for Ada source code (bug#10256).
6440
382c953b
JB
64412011-12-09 Juanma Barranquero <lekktu@gmail.com>
6442
6443 * printing.el (pr-mode-alist):
6444 * simple.el (filter-buffer-substring-functions)
6445 (completion-list-insert-choice-function):
6446 * window.el (window-with-parameter, window-atom-root)
6447 (window-sides-slots, window-size-fixed, window-min-delta)
6448 (window-max-delta, window--resize-mini-window)
6449 (window--resize-child-windows-normal, window-tree)
6450 (delete-other-windows, quit-window, split-window)
6451 (display-buffer-record-window, special-display-buffer-names)
6452 (special-display-regexps, special-display-popup-frame)
6453 (same-window-p, split-window-sensibly)
6454 (display-buffer-overriding-action, display-buffer-alist)
6455 (display-buffer-base-action, display-buffer, switch-to-buffer)
6456 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6457 (fit-window-to-buffer, recenter-positions)
6458 (mouse-autoselect-window-state, mouse-autoselect-window-select):
6459 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6460 and remove unneeded backslashes in docstrings.
6461
39c9faef
SM
64622011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6463
98449af8
SM
6464 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6465
39c9faef
SM
6466 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6467 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6468 end in ".mk".
6469 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6470 when reading the makefile (bug#10116).
6471
86ed9fdc
SM
64722011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6473
6474 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6475 (bug#10116).
6476
5580f89d
GM
64772011-12-06 Glenn Morris <rgm@gnu.org>
6478
6479 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6480
28d3917c
CY
64812011-12-06 Chong Yidong <cyd@gnu.org>
6482
6483 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6484
a98edce9
JB
64852011-12-06 Juanma Barranquero <lekktu@gmail.com>
6486
6487 * textmodes/table.el (table-shorten-cell): Fix typo.
6488
e65adfac
CG
64892011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
6490
6491 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6492
71cc0b74
EZ
64932011-12-05 Eli Zaretskii <eliz@gnu.org>
6494
6495 * descr-text.el (describe-char): Fix display of strong
6496 right-to-left characters and directional embeddings and overrides.
6497
6498 * simple.el (what-cursor-position): Fix display of codepoints of
6499 strong right-to-left characters.
6500
315bc30d
CY
65012011-12-05 Chong Yidong <cyd@gnu.org>
6502
6503 * faces.el (read-color): Doc fix.
6504
58a70b94
GM
65052011-12-05 Glenn Morris <rgm@gnu.org>
6506
6507 * align.el (align--set-marker): Add doc-string.
6508 Don't try to move something that is not a marker. (Bug#10216)
6509
5158face
GM
65102011-12-04 Glenn Morris <rgm@gnu.org>
6511
6512 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6513 overly zealous deletion of trailing whitespace.
6514
520fca41
JB
65152011-12-04 Juanma Barranquero <lekktu@gmail.com>
6516
6517 * server.el (server-delete-client): On Windows, do not try to delete
6518 the only terminal.
6519 (server-process-filter): On Windows, treat requests for a tty frame as
6520 if they were for a GUI frame if the running server is in GUI mode.
6521
5e605a2e
GM
65222011-12-03 Glenn Morris <rgm@gnu.org>
6523
6524 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
6525
5c3fe83f
SM
65262011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
6527
6f5e57e7
SM
6528 * electric.el: Streamline electric-indent's hook.
6529 (electric-indent-chars): Revert to simple list.
6530 (electric-indent-functions): New var.
6531 (electric-indent-post-self-insert-function): Use it.
6532
5c3fe83f
SM
6533 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6534 there's no inferior buffer (bug#10196).
6535 (prolog-consult-compile): Don't use toggle-read-only.
6536
6bdac736
MA
65372011-12-02 Michael Albinus <michael.albinus@gmx.de>
6538
6539 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6540 interrupt. (Bug#10187)
6541
6131ba7f
SM
65422011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6543
99c79fee
SM
6544 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6545 (bug#9160).
6546
6131ba7f
SM
6547 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6548 (bug#10191).
6549
cb0a02ea
JL
65502011-12-02 Juri Linkov <juri@jurta.org>
6551
6552 * info.el (Info-search): Display "end of manual" when Isearch
6553 reaches the end of single-file Info manual. (Bug#9918)
6554
66e0570c
EZ
65552011-12-02 Eli Zaretskii <eliz@gnu.org>
6556
6557 * isearch.el (isearch-message-prefix): Run the input method part
6558 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
6559
02b16839
JL
65602011-12-02 Juri Linkov <juri@jurta.org>
6561
6562 * isearch.el (isearch-occur): Use `word-search-regexp' for
6563 `isearch-word'.
6564 (isearch-search-and-update): Add condition for `isearch-word' and
6565 call `word-search-regexp'. (Bug#10145)
6566
0b950688
GM
65672011-12-01 Glenn Morris <rgm@gnu.org>
6568
6569 * eshell/em-hist.el (eshell-hist-initialize):
6570 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 6571 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 6572
9505c3c7
SM
65732011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6574
6575 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6576
1bbe96b2 65772011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 6578
a1beca85
SM
6579 * progmodes/verilog-mode.el (verilog-pretty-expr):
6580 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
6581 verilog, such as += *= and the like.
6582 (verilog-assignment-operator-re): Regular expression to find the
6583 assigment operator in a verilog assignment.
6584 (verilog-assignment-operation-re): Regular expression to find an
6585 assignment statement for pretty-expr.
6586 (verilog-in-attribute-p): Query returns true if point is in an
6587 attribute context; used to skip these for expression line up from
6588 pretty-expr.
6589 (verilog-in-parameter-p): Query returns true if point is in an
6590 parameter definition context; used to skip these for expression
6591 line up from pretty-expr.
6592 (verilog-in-parenthesis-p): Query returns true if point is in a
6593 parenthetical expression, specifically ( ) but not [ ] or { };
6594 used by pretty-expr.
6595 (verilog-just-one-space): If there is no space, don't add one.
6596 (verilog-get-lineup-indent-2): Specifically skip just attribute
6597 contexts for expression lineup, rather than skipping all
6598 parenthetical expressions.
6599 (verilog-calculate-indent): Fix comment, and fix indent.
6600 (verilog-do-indent): Indent declarations in lists (suggested by
6601 Joachim Lechner).
6602 (verilog-mode-abbrev-table): Populate abbrev mode with the various
6603 skeleton items.
6604 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
6605 by Alain Mellan).
6606
1bbe96b2 66072011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
6608
6609 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6610 parameters with embedded comments. Reported by Ray Stevens.
6611 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6612 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6613 Reported by Tim Holt.
6614 (verilog-auto): Fix AUTOing a upper module then AUTOing module
6615 instantiated by upper module causing wrong expansion until AUTOed a
6616 second time. Reported by K C Buckenmaier.
6617 (verilog-diff-auto): Fix showing .* as a difference when
6618 `verilog-auto-star-save' off. Reported by Dan Dever.
6619 (verilog-auto-reset, verilog-read-always-signals)
6620 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6621 temporary signals in reset list if
6622 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
6623 style to each signal's assignment type, bug381.
6624 Reported by Thomas Esposito.
6288f0ca
WS
6625 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6626 (verilog-uvm-statement-re): Support UVM indentation and
6627 highlighting, with old OVM keywords only.
a1beca85 6628 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
6629 Support AUTOTIEOFF creating non-wire data types.
6630 Suggested by Jonathan Greenlaw.
6288f0ca
WS
6631 (verilog-auto-insert-lisp, verilog-delete-to-paren)
6632 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6633 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
6634 (verilog-read-sub-decls, verilog-read-sub-decls-line):
6635 Fix mismatching parenthesis inside commented out code when deleting
382c953b 6636 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
6637 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6638 non-numeric vector width. Reported by Alex Reed.
6639 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 6640 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
6641 (verilog-auto-delete-trailing-whitespace):
6642 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
6643 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
6644 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6645 Fix verilog-scan-cache corruption when running user AUTO expansion
6646 hooks that call indentation routines.
6647 (verilog-simplify-range-expression): Fix typo ignoring lower case
6648 identifiers.
6649 (verilog-delete-auto): Fix delete-autos to also remove user created
6650 automatics, as long as they start with AUTO.
6651 (verilog-batch-diff-auto, verilog-diff-auto)
6652 (verilog-diff-function): Add `verilog-diff-auto' and bind to
6653 "C-c?" to report differences in AUTO expansion, ignoring spaces.
6654 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6655 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
6656 (verilog-re-search-forward-quick, verilog-syntax-ppss):
6657 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
6658 is disabled and its cache will get corrupt, causing AUTOS not to
6659 expand. Instead use only -quick functions.
6660 (verilog-scan-region): Fix scanning over escaped quotes.
6661 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6662 (verilog-re-search-backward-quick)
6663 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6664 related functions now ignore strings, to fix misparsing of strings
6665 with magic comments embedded in them.
a1beca85
SM
6666 (verilog-read-auto-template):
6667 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6668 Reported by Brad Dobbie.
6669 (verilog-read-auto-template):
6670 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 6671 Reported by Brad Dobbie.
6288f0ca
WS
6672 (verilog-auto-inst, verilog-auto-inst-param)
6673 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6674 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
6675 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
6676 debugging templates without merge conflicts, bug357.
6677 Reported by Brad Dobbie.
6678 (verilog-read-auto-template):
6679 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
6680 Reported by Brad Dobbie.
6681 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6682 abbrevs so user won't be asked to save.
6683 (verilog-read-auto-lisp-present): Fix to start at beginning of
6684 buffer in case called outside of verilog-auto.
6685 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6686 to "X-2". Reported by Matthew Myers.
6687 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6688 all inputs from module templates. Reported by Leith Johnson.
6689 (verilog-module-inside-filename-p): Fix locating programs as with
6690 modules.
6691 (verilog-auto-inst-port): Fix vl-width expressions when using
6692 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
6693 (verilog-decls-get-regs, verilog-decls-get-signals,
6694 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6695 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6696 verilog-read-decls): Combine reg and wire structures into one var
6697 structure to represent SystemVerilog concepts.
6698 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6699 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
6700 (verilog-auto-wire-type, verilog-insert-definition):
6701 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
6702 SystemVerilog "logic" keyword instead of "wire"/"reg".
6703 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6704 to declares outputs that also have assignments (presumably in an
a1beca85
SM
6705 ifdef or generate if so there's not a driver conflict).
6706 Reported by Matthew Myers.
6707 (verilog-auto-declare-nettype, verilog-insert-definition):
6708 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
6709 `default_nettype none. Reported by Julian Gorfajn.
6710 (verilog-read-always-signals-recurse, verilog-read-decls)
6711 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6712 malformed end statement, bug325. Reported by Joshua Wise and
6713 Andrew Drake.
6714 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6715 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
6716 when expanding .* in interfaces, bug320.
6717 Reported by Pierre-David Pfister.
6288f0ca 6718 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
6719 name and open parenthesis, bug317.
6720 Reported by Pierre-David Pfister.
6288f0ca
WS
6721 (verilog-simplify-range-expression): Fix simplification of
6722 multiplications inside AUTOWIRE connections, bug303.
6723 (verilog-auto-inst-port): Support parameter expansion in
6724 multidimensional arrays.
6725 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6726 after "assert property". Reported by Julian Gorfajn.
6727 (verilog-simplify-range-expression): Fix "couldn't merge" errors
6728 with multiplication, bug303.
6729 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6730 Reported by Jan Frode Lonnum.
6731
1bbe96b2
GM
67322011-11-30 Juanma Barranquero <lekktu@gmail.com>
6733
6734 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6735 (hfy-shell-file-name, hfy-shell):
6736 * international/fontset.el (x-decompose-font-name): Fix typos.
6737
67382011-11-29 Ken Brown <kbrown@cornell.edu>
6739
6740 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6741 (gdb-version): Remove defvar.
6742 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6743 (gdb-gud-context-command, gdb-non-stop-handler)
6744 (gdb-current-context-command, gdb-stopped): Use it.
6745 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
6746 (gdb-non-stop-handler): Don't enable pretty-printing here.
6747 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
6748 non-stop mode. Use the following.
6749 (gdb-check-target-async): New defun.
6750 (gud-watch, gdb-stopped): Fix whitespace.
6751 (gdb-get-source-file): Don't try to display the source file if
6752 `gdb-main-file' is nil.
6753
67542011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6755
6756 * align.el: Try to generate fewer markers (bug#10047).
6757 (align--set-marker): New macro.
6758 (align-region): Use it.
6759
c935221f
SM
67602011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6761
6762 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6763
e70b5064
CY
67642011-11-29 Chong Yidong <cyd@gnu.org>
6765
6766 * indent.el (indent-for-tab-command, indent-according-to-mode):
6767 Doc fix.
6768 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6769
f3af92b7
MA
67702011-11-29 Michael Albinus <michael.albinus@gmx.de>
6771
6772 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6773 aware of remote file names. (Bug#10124)
6774
ed472be9
CY
67752011-11-29 Chong Yidong <cyd@gnu.org>
6776
6777 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6778
24510c22
SM
67792011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6780
6781 * files.el (find-file): Don't use force-same-window (bug#10144).
6782 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6783 use pop-to-buffer if the selected window can't be used.
6784 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6785
c60c3703
EZ
67862011-11-28 Eli Zaretskii <eliz@gnu.org>
6787
6788 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6789 special-mode-map.
6790
e95def75
CY
67912011-11-28 Chong Yidong <cyd@gnu.org>
6792
6793 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6794
c3f1c606
NR
67952011-11-27 Nick Roberts <nickrob@snap.net.nz>
6796
6797 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6798 gdb-get-source-file-list on gdb-create-source-file-list.
6799
00db469c
EZ
68002011-11-26 Eli Zaretskii <eliz@gnu.org>
6801
6802 * whitespace.el (whitespace-newline): Use a different foreground
6803 color for 16-color light-background displays.
6804
4ad3bc2a
CY
68052011-11-24 Chong Yidong <cyd@gnu.org>
6806
6807 * window.el (display-buffer--special-action): Doc fix.
6808
e9fce1ac
JB
68092011-11-25 Juanma Barranquero <lekktu@gmail.com>
6810
6811 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6812 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6813 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6814 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6815 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6816 (avl-tree-stack-first):
6817 * emacs-lisp/cconv.el (cconv--analyse-use):
6818 * net/gnutls.el (gnutls-negotiate): Fix typos.
6819
cb825e5d
GM
68202011-11-24 Glenn Morris <rgm@gnu.org>
6821
3adbe224
GM
6822 * lpr.el (lpr-windows-system, lpr-lp-system):
6823 * mail/binhex.el (binhex-begin-line):
6824 * progmodes/grep.el (grep-history, grep-find-history):
6825 * textmodes/flyspell.el:
6826 * vc/pcvs-defs.el (cvs-global-menu):
6827 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
6828 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
6829 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
6830
321decc8
GM
6831 * net/tls.el: Fix case of "GnuTLS".
6832
420b63ad
GM
6833 * paths.el (rmail-file-name): Format doc-string for make-docfile.
6834
cb825e5d
GM
6835 * version.el (emacs-build-system): Give it a doc-string.
6836
a0649f08
JL
68372011-11-24 Juri Linkov <juri@jurta.org>
6838
6839 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
6840
c0bc0fd4
GM
68412011-11-24 Glenn Morris <rgm@gnu.org>
6842
6843 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
6844 if called on a non-mime message just toggle the headers. (Bug#8006)
6845
20db1522
JB
68462011-11-24 Juanma Barranquero <lekktu@gmail.com>
6847
6848 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
6849 (allout-lead-with-comment-string, allout-structure-deleted-hook)
6850 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
6851 (allout-rebullet-heading, allout-open-sibtopic)
6852 (allout-toggle-current-subtree-encryption)
6853 (allout-toggle-subtree-encryption, allout-encrypt-string)
6854 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
6855 (allout-distinctive-bullets-string, allout-auto-activation):
6856 * window.el (window-normalize-buffer-to-display):
6857 * progmodes/verilog-mode.el (verilog-batch-indent):
6858 * textmodes/bibtex.el (bibtex-field-braces-opt)
6859 (bibtex-field-strings-opt):
6860 * vc/cvs-status.el (cvs-tree-merge):
6861 Fix typos.
6862
7262a87c
MA
68632011-11-23 Michael Albinus <michael.albinus@gmx.de>
6864
6865 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
6866 `non-essential' to t, in order to avoid remote connections.
6867
283430a1
EZ
68682011-11-23 Eli Zaretskii <eliz@gnu.org>
6869
a1beca85
SM
6870 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6871 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
6872 case-insensitively.
6873
d2992a38
ML
68742011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6875
6876 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
6877
50419064
GM
68782011-11-23 Glenn Morris <rgm@gnu.org>
6879
da94eca1
GM
6880 * paths.el (rmail-file-name): Reformat the doc-string so that it
6881 is picked up.
6882
9aac4de2
GM
6883 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
6884 (rmail-auto-file): Ignore case in the "special" field names,
6885 as mail-fetch-field does for all others.
6886
8038d2d2
GM
6887 * mail/rmail.el (rmail-forward):
6888 * mail/rmailkwd.el (rmail-set-label):
6889 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
6890 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
6891
f3fe222a
GM
6892 * mail/rmail.el (rmail-current-message): Doc fix.
6893
50419064
GM
6894 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
6895
28109f49
SM
68962011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
6897
6898 * server.el (server-eval-and-print): Allow C-g (bug#6585).
6899
394c65f1
GM
69002011-11-22 Glenn Morris <rgm@gnu.org>
6901
6902 * mail/rmailmm.el (test-rmail-mime-handler)
6903 (test-rmail-mime-bulk-handler)
6904 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6905
f2a0aa3a
JL
69062011-11-21 Juri Linkov <juri@jurta.org>
6907
1154d12e
JB
6908 * calc/calc.el (calc-read-key-sequence):
6909 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 6910
9c34a344
LMI
69112011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6912
6913 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6914 Tell the caller that the next line needs recomputation, even
6915 though it doesn't start a sexp (bug#10094).
6916
f04a3be9
SM
69172011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6918
6919 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6920
7978747f
SM
69212011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6922
f04a3be9
SM
6923 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6924 Use force-same-window.
7978747f 6925
fe7a3057
JB
69262011-11-20 Juanma Barranquero <lekktu@gmail.com>
6927
6928 * descr-text.el (describe-char-unicode-data):
6929 * json.el (json-string-escape):
6930 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6931 (Footnote-unicode, Footnote-style-p):
6932 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6933
24901d61
CY
69342011-11-20 Chong Yidong <cyd@gnu.org>
6935
6936 * window.el (replace-buffer-in-windows): Restore interactive spec.
6937
bac7ff22
SM
69382011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6939
24f3d7b9
SM
6940 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6941
bac7ff22
SM
6942 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6943 (byte-compile-global-not-obsolete-vars): New var.
6944 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6945 Use it.
6946 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6947
cd1181db
JB
69482011-11-20 Juanma Barranquero <lekktu@gmail.com>
6949
6950 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6951 * progmodes/pascal.el (electric-pascal-equal):
6952 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6953 * xml.el (xml-substitute-special): Fix typos.
6954
7fb18e9e
GM
69552011-11-20 Glenn Morris <rgm@gnu.org>
6956
6957 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6958 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6959 Doc fixes.
6960 (rmail-decode-mime-charset): Mark as obsolete.
6961
6962 * mail/rmailsum.el (rmail-message-regexp-p-1):
6963 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6964 Before using mime functions, check they are set. (Bug#10077)
6965
d5a6b3ba
JL
69662011-11-19 Juri Linkov <juri@jurta.org>
6967
6968 * info.el (Info-finder-find-node): Use `package--builtins' instead
6969 of `package-alist'. Use node names formed by the pattern "Keyword "
6970 and the keyword name.
6971
e981b61f
AS
69722011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6973
1d00653d 6974 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 6975
3ffbc301
JL
69762011-11-19 Juri Linkov <juri@jurta.org>
6977
6978 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6979 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6980 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6981 `old-history', `old-history-forward'. Add let-binding
6982 `window-selected'. Remove calls to `kill-buffer',
6983 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6984 before calling `Info-find-node', so `Info-find-node-2' will reread
6985 the Info file. Restore window positions only when `window-selected'
6986 is non-nil.
6987
30c62133
JL
69882011-11-19 Juri Linkov <juri@jurta.org>
6989
6990 * isearch.el (isearch-lazy-highlight-new-loop):
6991 Remove condition `(not isearch-error)'. (Bug#9918)
6992
6993 * misearch.el (multi-isearch-search-fun): Add condition
6994 `(not bound)' to ignore lazy-highlighting search.
6995 Add the search-failed message "end of multi" when the end of
6996 multi-sequence is reached. Uncapitalize the search-failed
6997 message "Repeat for next buffer".
6998
6999 * info.el (Info-search): Add the search-failed message
7000 "end of the manual" when the end of the manual is reached
7001 in Isearch mode.
7002
645ca9cf
JL
70032011-11-19 Juri Linkov <juri@jurta.org>
7004
7005 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
7006 Use non-destructive `remove' instead of `delete' because
7007 `Info-history-list' stored to `Info-isearch-initial-history-list' in
7008 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
7009
df754f66
JL
70102011-11-19 Juri Linkov <juri@jurta.org>
7011
7012 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
7013 to nil instead of binding `search-ring' and `regexp-search-ring'.
7014 (Bug#9185)
7015
0e23d96a
EZ
70162011-11-19 Eli Zaretskii <eliz@gnu.org>
7017
7018 * simple.el (line-move): Force movement by logical lines for any
7019 hscrolled window, not only when auto-hscroll-mode is on.
7020 (line-move-visual): Update doc string to that effect. (Bug#10076)
7021
8a6ccb66
AS
70222011-11-19 Andreas Schwab <schwab@linux-m68k.org>
7023
7024 * language/european.el (macintosh): Define as alias for mac-roman.
7025
49ae5b39
EZ
70262011-11-19 Eli Zaretskii <eliz@gnu.org>
7027
7028 * mail/rmailmm.el (rmail-mime-display-header)
7029 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
7030 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
7031 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
7032 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
7033 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
7034 of a raw aref.
7035 (rmail-mime-entity-segment): To get past the tagline, move forward
7036 2 more lines, to account for the 2 empty lines that precede and
7037 follow the line with the buttons.
7038 (rmail-mime-update-tagline): Move one more line, to get past the
7039 empty line that follows the buttons in the tagline. (Bug#9520)
7040
c56cad4a
MR
70412011-11-19 Martin Rudalics <rudalics@gmx.at>
7042
7043 * window.el (window-max-delta-1, window-min-delta-1)
7044 (window-min-size-1, window-state-get-1, window-state-put-1)
7045 (window-state-put-2): Use "window--" prefix.
7046
cbe71af3
SM
70472011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7048
2ad52c60
SM
7049 * emacs-lisp/smie.el: Improve warnings and conflict detection.
7050 (smie-warning-count): New var.
7051 (smie-set-prec2tab): Use it.
7052 (smie-bnf->prec2): Improve warnings. Add docstring.
7053 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
7054 (smie-bnf--set-class): New function.
7055 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
7056 corner case.
7057
6944dbc1
SM
7058 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
7059 (compilation-error-properties, compilation-move-to-column):
7060 Handle compilation-first-column while in the target buffer.
7061
c400c4d7
SM
7062 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
7063 Don't hardcode point-min==1.
7064
6dbe3e96
SM
7065 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
7066 (eshell-rewrite-for-command): Remove workaround.
7067 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
7068 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
7069 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
7070
cbe71af3
SM
7071 * files-x.el (modify-file-local-variable): Obey commenting conventions.
7072
a8e1496d
GM
70732011-11-17 Glenn Morris <rgm@gnu.org>
7074
7075 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7076 Ignore buffer-local generated-autoload-file if it is the same
7077 as the global value. (Bug#10049)
7078
df85d315
JB
70792011-11-17 Juanma Barranquero <lekktu@gmail.com>
7080
7081 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
7082 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
7083 (reftex-toc-previous-heading, reftex-toc-max-level)
7084 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
7085 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
7086 (reftex-toc-do-promote, reftex-toc-promote-prepare)
7087 (reftex-toc-promote-action, reftex-toc-extract-section-number)
7088 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
7089 (reftex-toc-rename-label, reftex-toc-visit-location)
7090 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
7091 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
7092 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
7093 leaving "*toc*" only for references to the buffer.
7094
a0c2d0ae
MR
70952011-11-17 Martin Rudalics <rudalics@gmx.at>
7096
7097 * window.el (window-resize, delete-window, split-window):
7098 Replace window-splits by window-combination-resize.
1d00653d 7099 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 7100
35c0bac8
GM
71012011-11-17 Glenn Morris <rgm@gnu.org>
7102
7103 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7104 Make bash entry derive from sh entry, not shell entry.
7105
d0c8fc8a
MA
71062011-11-16 Michael Albinus <michael.albinus@gmx.de>
7107
7262a87c
MA
7108 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
7109 local file name.
7110
7877f373
JB
71112011-11-16 Juanma Barranquero <lekktu@gmail.com>
7112
7113 * menu-bar.el (menu-bar-file-menu):
7114 * printing.el (pr-ps-utility):
7115 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
7116 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
7117 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7118 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
7119 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
7120 (icalendar--convert-cyclic-to-ical)
7121 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
7122 (icalendar--convert-ical-to-diary)
7123 (icalendar--convert-recurring-to-diary)
7124 (icalendar--convert-non-recurring-all-day-to-diary)
7125 (icalendar-import-format-sample):
7126 * progmodes/idlw-shell.el (idlwave-shell-mode):
7127 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
7128 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
7129 (vhdl-ps-print-init): Fix typos.
7130
10649b82
KM
71312011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
7132
9d0cfcd6
GM
7133 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
7134 FSF and collapse date sequence, obscure author/maintainer email address
7135 better, remove extra version line, track relocation of author's webpage.
10649b82 7136
9d0cfcd6
GM
7137 * progmodes/python.el (python-pdbtrack-input-prompt)
7138 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
7139 regular python pdb prompts. Adjustments shamelessly taken exactly as
7140 suggested in EmacsWiki page (tiny change):
7141 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 7142
58179cce
JB
71432011-11-16 Juanma Barranquero <lekktu@gmail.com>
7144
7145 * expand.el (expand-pos, expand-index, expand-point):
7146 Remove redundant info from docstring.
7147 (expand-add-abbrevs): Doc fix.
7148 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
7149 (expand-sample-perl-mode-expand-list): Fix typos.
7150
7151 * net/dbus.el (dbus-event-member-name):
7152 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
7153 * term/pc-win.el (msdos-create-frame-with-faces):
7154 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
7155
b6f67890
MR
71562011-11-16 Martin Rudalics <rudalics@gmx.at>
7157
7158 * window.el (split-window, window-state-get-1)
7159 (window-state-put-1, window-state-put-2): Rename occurrences of
7160 window-nest to window-combination-limit.
1d00653d 7161 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 7162
ce7ddba0
CY
71632011-11-16 Chong Yidong <cyd@gnu.org>
7164
7165 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
7166 regexp (Bug#10033).
7167
3ae704f4
SM
71682011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7169
7170 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
7171 `completing-read' will remove *Completions* and will preserve
7172 current-buffer for us.
7173 (tmm-add-prompt): Users of *Completions* will always (re)set its
7174 major mode.
7175 (tmm-old-comp-map): Remove.
7176
6ad1cdde
GM
71772011-11-16 Glenn Morris <rgm@gnu.org>
7178
7179 * mail/rmailedit.el: Require rmailmm when compiling.
7180 (rmail-old-mime-state): New declaration.
7181 (rmail-edit-current-message): If editing a mime message,
7182 edit the "raw" message from the mbox buffer.
7183 (rmail-cease-edit): Handle mime messages. (Bug#9840)
7184
d20faa20
GM
71852011-11-15 Glenn Morris <rgm@gnu.org>
7186
7187 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
7188 which wasn't being used. Add optional arg to force given state.
7189 (rmail-mime): Add optional arg to force given state.
7190
c7015153
JB
71912011-11-15 Juanma Barranquero <lekktu@gmail.com>
7192
7193 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7194 * frame.el (display-mm-dimensions-alist):
7195 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
7196 (outline-move-subtree-down):
7197 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
7198 (newsticker--treeview-do-get-node):
7199 * net/quickurl.el (quickurl-list-buffer-name):
7200 * progmodes/dcl-mode.el (dcl-mode):
7201 * progmodes/gdb-mi.el (gdb-mapcar*):
7202 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
7203
45261b50
GM
72042011-11-15 Glenn Morris <rgm@gnu.org>
7205
7206 * mail/rmail.el (rmail-file-coding-system): It's only ever used
7207 in a boolean sense, so just make it a boolean, and fix the doc.
7208 (rmail-show-mime-function, rmail-mime-feature)
7209 (rmail-require-mime-maybe): Doc fixes.
7210 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
7211
7212 * mail/rmailmm.el (rmail-show-mime): Doc fix.
7213
0d26e0b6
JB
72142011-11-15 Juanma Barranquero <lekktu@gmail.com>
7215
7216 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
7217 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
7218 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
7219 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
7220
447f30f6
GM
72212011-11-15 Glenn Morris <rgm@gnu.org>
7222
672b871d
GM
7223 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
7224 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
7225 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
7226 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
7227 (rmail-mime, rmail-show-mime): Doc fixes.
7228
f6aa5bb1
GM
7229 * term/ns-win.el (mode-line-frame-identification):
7230 Leave it alone. (Bug#10051)
7231
947cd66b
GM
7232 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
7233
447f30f6
GM
7234 * mail/rmailout.el (rmail-output-to-rmail-buffer):
7235 Handle empty buffers. (Bug#9978)
7236
0b381c7e
JB
72372011-11-14 Juanma Barranquero <lekktu@gmail.com>
7238
7239 * international/mule.el (define-charset):
7240 * mail/rmailmm.el (rmail-mime-find-header-encoding):
7241 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
7242 * progmodes/verilog-mode.el (verilog-backward-token):
7243 * textmodes/ispell.el (lookup-words):
7244 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
7245
71e027ac
GM
72462011-11-14 Glenn Morris <rgm@gnu.org>
7247
56632ce4
GM
7248 * progmodes/executable.el
7249 (executable-make-buffer-file-executable-if-script-p):
7250 Handle file-modes returning nil.
7251
40500957
GM
7252 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
7253 message - not necessary, and causes problems. (Bug#9831)
7254
071c2340
GM
7255 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
7256
d3cfca60
GM
7257 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
7258
71e027ac
GM
7259 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
7260 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
7261 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
7262
89d61221
MR
72632011-11-12 Martin Rudalics <rudalics@gmx.at>
7264
7265 * window.el (window-resize, delete-window): Use window-splits
7266 variable instead of function.
7267 (window-state-get-1, window-state-put-2, window-state-put):
7268 Don't deal with windows' splits status.
7269
98282f6f
GM
72702011-11-12 Glenn Morris <rgm@gnu.org>
7271
7272 * apropos.el (apropos-do-all, apropos-library, apropos-value)
7273 (apropos-documentation): Doc fixes.
7274
40a8bdf6
JB
72752011-11-11 Juanma Barranquero <lekktu@gmail.com>
7276
7277 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
7278 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
7279
65bd19ff
SM
72802011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7281
7282 * electric.el (electric-indent-post-self-insert-function): Make it
7283 possible for a char to only indent in some circumstances.
7284 (electric-indent-mode): Simplify.
7285
54f9154c
MR
72862011-11-11 Martin Rudalics <rudalics@gmx.at>
7287
7288 * window.el (windows-with-parameter): Remove unused function.
7289 (windows-at-side): Rename to window-at-side-list.
7290 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
7291 (window-side-check, window-size-ignore, window-size-fixed-1)
7292 (window-in-direction-2): Prefix with "window--".
7293 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 7294
68cbc58b
GM
72952011-11-11 Glenn Morris <rgm@gnu.org>
7296
7297 * subr.el (eval-after-load): If FILE is already loaded,
7298 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
7299
b2621720
GM
73002011-11-10 Glenn Morris <rgm@gnu.org>
7301
9a4de110
GM
7302 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
7303 Call svn via vc-svn-command rather than vc-do-command.
7304 (vc-svn-command): Add --non-interactive. (Bug#9993)
7305 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
7306
b2621720
GM
7307 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7308 Add toggle-read-only. (Bug#7292)
7309 * files.el (toggle-read-only): Mention that it should only
7310 be used interactively. (Bug#10006)
7311
1dce7193
SM
73122011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7313
d9ac1a1e
SM
7314 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7315 Adjust regexp for OCaml warnings.
7316
0c325082
SM
7317 * electric.el (electric-pair-post-self-insert-function): Let user
7318 turn it off buffer-locally (bug#9932).
7319
90132c14
SM
7320 * progmodes/python.el (python-beginning-of-statement):
7321 Rewrite (bug#2703).
7322
1dce7193
SM
7323 * progmodes/compile.el: Better handle TABs (bug#9749).
7324 (compilation-internal-error-properties)
7325 (compilation-next-error-function): Obey the target buffer's
7326 compilation-error-screen-columns.
7327
c4e7c63a
JB
73282011-11-09 Juanma Barranquero <lekktu@gmail.com>
7329
7330 * progmodes/meta-mode.el: Remove obsolete comments.
7331 (meta-right-comment-regexp, meta-ignore-comment-regexp):
7332 Fix typos in docstrings.
7333
2cffd681
MR
73342011-11-09 Martin Rudalics <rudalics@gmx.at>
7335
7336 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 7337 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
7338 (window--resizable): New function. Make all callers of
7339 window-resizable call window--resizable instead.
7340 (window-resizable): Rewrite in terms of window--resizable.
7341
0edcba87
GM
73422011-11-08 Glenn Morris <rgm@gnu.org>
7343
7344 * progmodes/delphi.el (delphi-mode-syntax-table):
7345 Let define-derived-mode define a proper syntax table. (Bug#9994)
7346
4b0d61e3
SM
73472011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7348
7349 * window.el: Stay away from defsubst.
7350 (window-list-no-nils): Remove.
7351 (window-state-get-1, window-state-get): Use backquote instead.
7352
cd394be1 73532011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 7354
4b0d61e3 7355 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 7356 Fix incorrect use of default argument in `completing-read'.
7357
e1c2c6f2
MR
73582011-11-08 Martin Rudalics <rudalics@gmx.at>
7359
7360 * window.el (display-buffer-function, special-display-function):
7361 Mention display-buffer-record-window but do not mention
7362 help-setup parameter in doc-strings.
b3f4a882 7363 (window-min-delta): Fix doc-string typo.
e1c2c6f2 7364
105216ed
CY
73652011-11-08 Chong Yidong <cyd@gnu.org>
7366
7367 * window.el (window-total-height, window-total-width): Doc fix.
7368 (window-body-size): Move from C.
7369 (window-body-height, window-body-width): Move to C.
7370
0a9f9ab5
SM
73712011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7372
7373 * window.el: Make special-display like display-buffer-alist (bug#9532).
7374 (display-buffer--special-action): New function, morphed
7375 from display-buffer--special.
7376 (display-buffer): Use it to handle special-display-buffers at higher
7377 priority (just after display-buffer-alist).
7378 (display-buffer-fallback-action, display-buffer--other-frame-action)
7379 (pop-to-buffer-same-window): Remove display-buffer--special.
7380
a769dd15
GM
73812011-11-07 Glenn Morris <rgm@gnu.org>
7382
7383 * calendar/cal-menu.el (cal-menu-set-date-title):
7384 Do nothing if not in a calendar. (Bug#9976)
7385
05a61ee3
SM
73862011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7387
7388 * files.el (find-file): Always use selected-window.
7389
be7f5545
MR
73902011-11-07 Martin Rudalics <rudalics@gmx.at>
7391
7392 * window.el (window-combinations): Make WINDOW argument
7393 mandatory. Rewrite doc-string.
7394 (walk-window-subtree, window-atom-check, window-min-delta)
7395 (window-max-delta, window--resize-this-window)
7396 (window--resize-root-window-vertically, window-tree)
7397 (balance-windows, window-state-put): Rewrite doc-strings as to
7398 not mention the term "subwindow".
7399 (window--resize-subwindows-skip-p): Rename to
7400 window--resize-child-windows-skip-p.
7401 (window--resize-subwindows-normal): Rename to
7402 window--resize-child-windows-normal.
7403 (window--resize-subwindows): Rename to
7404 window--resize-child-windows.
7405 (window-or-subwindow-p): Rename to window--in-subtree-p.
7406
3c6702ef
ML
74072011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7408
7409 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7410 Ensure that mbox format messages end in two newlines (Bug#9974).
7411
49745b39
CY
74122011-11-06 Chong Yidong <cyd@gnu.org>
7413
7414 * window.el (window-combination-p): Function deleted; its
7415 side-effect is not used in any existing code.
7416 (window-combinations, window-combined-p): Call window-*-child
7417 directly.
7418
24300f5f
CY
74192011-11-05 Chong Yidong <cyd@gnu.org>
7420
7421 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
7422 (window-size-ignore, window-state-get): Callers changed.
7423 (window-normalize-window): Rename from window-normalize-any-window.
7424 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 7425 (window-normalize-live-window): Delete.
447f16b8
CY
7426 (window-combination-p, window-combined-p, window-combinations)
7427 (walk-window-subtree, window-atom-root, window-min-size)
7428 (window-sizable, window-sizable-p, window-size-fixed-p)
7429 (window-min-delta, window-max-delta, window-resizable)
7430 (window-resizable-p, window-full-height-p, window-full-width-p)
7431 (window-current-scroll-bars, window-point-1, set-window-point-1)
7432 (window-at-side-p, window-in-direction, window-resize)
7433 (adjust-window-trailing-edge, maximize-window, minimize-window)
7434 (window-deletable-p, delete-window, delete-other-windows)
7435 (record-window-buffer, unrecord-window-buffer)
7436 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7437 (quit-window, split-window, window-state-put)
7438 (set-window-text-height, fit-window-to-buffer)
7439 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 7440
89bd5ee1
EZ
74412011-11-04 Eli Zaretskii <eliz@gnu.org>
7442
53479029
EZ
7443 * mail/rmail.el (rmail-simplified-subject): Decode subject with
7444 rfc2047-decode-string.
7445 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7446 warnings.
7447
89bd5ee1
EZ
7448 * window.el (window-body-height, window-body-width): Mention in
7449 the doc string that the return values are in frame's canonical
7450 units. (Bug#9949)
7451
bd17fdee
AM
74522011-11-03 Alan Mackenzie <acm@muc.de>
7453
7454 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7455 change in cc-engine.el.
7456
acc825c5
SM
74572011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
7458
7459 * window.el (switch-to-buffer): Use `force-same-window' interactively.
7460
1885e5b8
MR
74612011-11-02 Martin Rudalics <rudalics@gmx.at>
7462
7463 * window.el (quit-window): Call unrecord-window-buffer after
7464 showing another buffer in the window. (Bug#9937)
acc825c5 7465 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 7466
ebe06da9
JB
74672011-11-02 Juanma Barranquero <lekktu@gmail.com>
7468
7469 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7470 Accept status with more than 9 shelves. (Bug#9935)
7471 Reported by Colin D Bennett <colin@gibibit.com>.
7472
4ee88440
MR
74732011-11-01 Martin Rudalics <rudalics@gmx.at>
7474
7475 * help.el (with-help-window): Don't reference
7476 temp-buffer-show-specifiers in doc-string.
7477
08e1d82c
AS
74782011-10-31 Andreas Schwab <schwab@linux-m68k.org>
7479
7480 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7481 menu-item.
7482
84bd6e9e
VJL
74832011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7484
7485 * whitespace.el: New version 13.2.2.
7486 (whitespace-newline-mode): Disable properly. Reported by Sarah
7487 <EmacsWiki>.
7488
dba0634a
UJ
74892011-10-30 Ulf Jasper <ulf.jasper@web.de>
7490
7491 * net/newst-treeview.el: Remove "Time-stamp".
7492 (newsticker--group-manage-orphan-feeds): Do not call
7493 newsticker--treeview-tree-update.
db22a3c2
JB
7494 (newsticker-treeview-update, newsticker-treeview):
7495 Call newsticker--treeview-tree-update if necessary.
dba0634a 7496
3d8daefe
MR
74972011-10-30 Martin Rudalics <rudalics@gmx.at>
7498
7499 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
7500 (window-iso-combinations): Remove "iso-" infix.
7501 Suggested by Chong Yidong.
3d8daefe
MR
7502 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7503 (window-max-delta-1, window-resize, window--resize-siblings)
7504 (window--resize-this-window, adjust-window-trailing-edge)
7505 (split-window, balance-windows-1)
7506 (shrink-window-if-larger-than-buffer):
7507 * calendar/calendar.el (calendar-generate-window):
db22a3c2 7508 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 7509
1bc4c3ae
SM
75102011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7511
7512 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7513 in place (bug#9907).
7514 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7515 (eshell-rewrite-if-command, eshell-rewrite-for-command)
7516 (eshell-structure-basic-command, eshell-rewrite-while-command)
7517 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7518 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7519 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7520 (eshell-do-pipelines-synchronously, eshell-eval-command):
7521 Use backquotes and prefer setq to set.
7522 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7523 (eshell-macrop): Use functionp.
c1e2f5fa 7524 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 7525
30b65d9c
CY
75262011-10-30 Chong Yidong <cyd@gnu.org>
7527
7528 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7529 instead of set-mark (Bug#9810).
7530
2d197ffb
CY
75312011-10-30 Chong Yidong <cyd@gnu.org>
7532
7533 * window.el (split-window-below, split-window-right): Rename from
7534 split-window-above-each-other and split-window-side-by-side
7535 respectively. All callers changed.
7536 (split-window-sensibly, split-window-sensibly): Use them.
7537 (split-window-keep-point): Doc fix.
7538
7539 * isearch.el: Add isearch-scroll property to split-window-below
7540 and split-window-right.
7541
7542 * follow.el (follow-mode):
7543 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7544 * progmodes/ada-xref.el (ada-gdb-application):
7545 * emulation/vip.el (vip-buffer-in-two-windows):
7546 * image-dired.el (image-dired-dired-with-window-configuration):
7547 * dired-x.el (dired-do-find-marked-files):
7548 * dired.el (dired-pop-to-buffer):
7549 * bs.el (bs--show-with-configuration):
7550 * vc/emerge.el (emerge-setup-windows):
7551 * textmodes/two-column.el (2C-two-columns):
7552 * textmodes/reftex-toc.el (reftex-toc):
7553 * progmodes/gdb-mi.el (gdb-setup-windows):
7554 * progmodes/fortran.el (fortran-window-create):
7555 * net/newst-treeview.el (newsticker--treeview-window-init):
7556 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7557 * emulation/tpu-edt.el (tpu-gold-map):
7558 * emulation/crisp.el (crisp-mode-map):
7559 * calendar/calendar.el (calendar-basic-setup): Callers changed.
7560
38bb2ca8
CY
75612011-10-29 Chong Yidong <cyd@gnu.org>
7562
aa4de341
CY
7563 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7564
e1eb5385
CY
7565 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7566
5d2ece3c
CY
7567 * textmodes/flyspell.el (flyspell-word): Fix char offset for
7568 forged Ispell output (Bug#7904).
7569
38bb2ca8
CY
7570 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7571
d0af9f77
SM
75722011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7573
7574 * doc-view.el: Avoid ugly errors about not finding nil.
7575 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7576 (doc-view-dvipdf-program, doc-view-unoconv-program)
7577 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
7578 Avoid nil or absolute file name as default value.
7579 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
7580
52bedd34
AM
75812011-10-28 Alan Mackenzie <acm@muc.de>
7582
db22a3c2 7583 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 7584
7e43cfa5
AM
75852011-10-28 Alan Mackenzie <acm@muc.de>
7586
7587 Amend the handling of c-beginning/end-of-defun in nested declaration
7588 scopes.
7589
52bedd34
AM
7590 * progmodes/cc-vars.el (c-defun-tactic): Move here from
7591 cc-langs.el. Change it to a defcustom.
7e43cfa5 7592
52bedd34
AM
7593 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
7594 cc-vars.el.
7e43cfa5 7595
d0af9f77
SM
7596 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7597 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 7598
52bedd34 7599 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 7600 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
7601 (c-widen-to-enclosing-decl-scope): New function.
7602 (c-while-widening-to-decl-block): New macro.
7603 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
7604 outward for defun boundaries, and correspondingly change symbol
7605 `respect-enclosure' to `go-outward'.
7606 (c-declaration-limits): Change algorithm to report only the "innermost"
7607 defun's boundaries.
7608
1a2ce9ee
DD
76092011-10-28 Deniz Dogan <deniz@dogan.se>
7610
7611 * net/rcirc.el (rcirc-mode): Use hard newlines.
7612
bc97a826
AM
76132011-10-28 Alan Mackenzie <acm@muc.de>
7614
7615 Amend to indent and fontify macros "which include their own semicolon"
7616 correctly, using the "virtual semicolon" mechanism.
7617
52bedd34 7618 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 7619
d0af9f77 7620 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 7621 Recode to scan one line at a time rather than having \n and \r
58179cce 7622 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 7623 (c-forward-label): Amend for virtual semicolons.
58179cce 7624 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 7625
52bedd34
AM
7626 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7627 of the new C macros.
bc97a826 7628
52bedd34 7629 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
7630 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7631 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
7632 (c-opt-cpp-macro-define): Make into a full language variable.
7633 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7634 AWK Mode (including \n, \r) removed, no longer needed.
7635
d0af9f77
SM
7636 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7637 Invoke c-make-macro-with-semi-re.
bc97a826 7638
52bedd34
AM
7639 * progmodes/cc-vars.el (c-macro-with-semi-re):
7640 (c-macro-names-with-semicolon): New variables.
58179cce 7641 (c-make-macro-with-semi-re): New function.
bc97a826 7642
7a6c0941
SM
76432011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7644
7645 * vc/log-edit.el: Fill empty field rather than adding new one.
7646 (log-edit-add-field): New function.
7647 (log-edit-insert-changelog): Use it.
7648
b0c4cdcf
ML
76492011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7650
7651 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7652
ee1f1da9
SM
76532011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7654
7655 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7656 (gdb--check-interpreter): New function.
7657 (gdb): Use it.
7658
51bc5f8b
GM
76592011-10-27 Glenn Morris <rgm@gnu.org>
7660
416a2c45
GM
7661 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7662 (least-positive-float, least-negative-float)
7663 (least-positive-normalized-float, least-negative-normalized-float)
7664 (float-epsilon, float-negative-epsilon):
7665 Remove unnecessary declarations.
7666
7667 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7668 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7669 (least-positive-float, least-negative-float)
7670 (least-positive-normalized-float, least-negative-normalized-float)
7671 (float-epsilon, float-negative-epsilon): Add doc-strings,
7672 based on those in cl.texi.
7673
51bc5f8b
GM
7674 * files.el (set-visited-file-name): If the major-mode changed,
7675 reload the local variables. (Bug#9796)
7676
15de15c6
CY
76772011-10-27 Chong Yidong <cyd@gnu.org>
7678
7679 * subr.el (change-major-mode-after-body-hook): New hook.
7680 (run-mode-hooks): Run it.
7681
ee1f1da9
SM
7682 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7683 Use change-major-mode-before-body-hook.
15de15c6
CY
7684
7685 * simple.el (fundamental-mode):
7686 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7687 change introducing fundamental-mode-hook.
7688
5430d399
JB
76892011-10-26 Juanma Barranquero <lekktu@gmail.com>
7690
acc825c5 7691 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 7692
ad74a69e
MA
76932011-10-26 Michael Albinus <michael.albinus@gmx.de>
7694
7695 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 7696 tramp.el explicitly. (Bug#7583)
ad74a69e 7697
71d4c2a5
SM
76982011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7699
7700 * progmodes/octave-mod.el:
7701 * progmodes/octave-inf.el: Update maintainer.
7702
b1f6fa26
CY
77032011-10-26 Chong Yidong <cyd@gnu.org>
7704
7705 * subr.el (with-wrapper-hook): Rewrite doc.
7706
3f04efd6
MA
77072011-10-25 Michael Albinus <michael.albinus@gmx.de>
7708
7709 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 7710 filenames "/method:foo:". (Bug#9793)
3f04efd6 7711
410488d3
SM
77122011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7713
7714 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7715 (bug#9865).
7716
c1ebb47e
GM
77172011-10-24 Glenn Morris <rgm@gnu.org>
7718
7719 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
7720
7f5c46c7
MA
77212011-10-24 Michael Albinus <michael.albinus@gmx.de>
7722
7723 * notifications.el: Add the requirement of a running D-Bus session
7724 bus to the Commentary.
7725
db2440b6
JL
77262011-10-24 Juri Linkov <juri@jurta.org>
7727
7728 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7729 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7730 (Bug#9364)
7731
feecf435
JL
77322011-10-24 Juri Linkov <juri@jurta.org>
7733
7734 * info.el (Info-following-node-name-re): Add newline to the list
7735 of allowed characters for leading space. (Bug#9824)
7736
a3839de2
SM
77372011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7738
acc825c5
SM
7739 * progmodes/octave-inf.el (inferior-octave-mode-map):
7740 Fix C-c C-h binding.
a3839de2
SM
7741 * progmodes/octave-mod.el (octave-help): Remove.
7742
09388e76
MA
77432011-10-23 Michael Albinus <michael.albinus@gmx.de>
7744
7745 Sync with Tramp 2.2.3.
7746
7747 * net/tramp-cache.el (top): Pacify byte-compiler using
7748 `init-file-user' and `site-run-file'.
7749
7750 * net/trampver.el: Update release number.
7751
86c60681
CY
77522011-10-23 Chong Yidong <cyd@gnu.org>
7753
7754 * files.el (toggle-read-only): Remove obsolete comment about
7755 version control.
7756
7757 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7758 for toggle-read-only. Note that this hasn't called vc-next-action
7759 since 2008-05-02, though it wasn't documented at the time.
7760
a3839de2
SM
7761 * vc/ediff-init.el (ediff-toggle-read-only-function):
7762 Use toggle-read-only.
86c60681 7763
cd5495ff
AM
77642011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
7765
7766 Fix bug #9560, sporadic wrong indentation; improve instrumentation
7767 of c-parse-state.
7768
00b77525 7769 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 7770 correct faulty logical expression.
cd5495ff
AM
7771 (c-parse-state-state, c-record-parse-state-state):
7772 (c-replay-parse-state-state): New defvar/defuns.
7773 (c-debug-parse-state): Use new functions.
7774
42ee24ed
MR
77752011-10-22 Martin Rudalics <rudalics@gmx.at>
7776
7777 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 7778 last fix. Use window-in-direction correctly.
42ee24ed 7779
a7dee7e7
CY
77802011-10-21 Chong Yidong <cyd@gnu.org>
7781
7782 * progmodes/idlwave.el (idlwave-mode):
7783 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
7784 require-final-newline; that's done in prog-mode.
7785 Suggested by Stefan Monnier.
a7dee7e7 7786
e07b9a6d
MR
77872011-10-21 Martin Rudalics <rudalics@gmx.at>
7788
7789 * mouse.el (mouse-drag-window-above)
7790 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7791 (mouse-drag-mode-line-1, mouse-drag-header-line)
7792 (mouse-drag-vertical-line-rightward-window): Remove.
7793 (mouse-drag-line): New function.
7794 (mouse-drag-mode-line, mouse-drag-header-line)
7795 (mouse-drag-vertical-line): Call mouse-drag-line.
7796 * window.el (window-at-side-p, windows-at-side): New functions.
7797
7e1361d9
UM
77982011-10-21 Ulrich Mueller <ulm@gentoo.org>
7799
7800 * tar-mode.el (tar-grind-file-mode):
7801 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
7802
30fcaf3a
CY
78032011-10-21 Chong Yidong <cyd@gnu.org>
7804
7805 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
7806 * progmodes/vera-mode.el (vera-mode):
7807 Use mode-require-final-newline.
30fcaf3a 7808
516eddb0
GM
78092011-10-20 Glenn Morris <rgm@gnu.org>
7810
db22a3c2 7811 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 7812
10d5f513
CS
78132011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
7814
7815 * emulation/cua-base.el (cua-set-mark): Fix case of string.
7816
ac6c8639
CY
78172011-10-20 Chong Yidong <cyd@gnu.org>
7818
7819 * emulation/cua-base.el (cua-mode):
7820 * mail/footnote.el (footnote-mode):
7821 * mail/mailabbrev.el (mail-abbrevs-mode):
7822 * net/xesam.el (xesam-minor-mode):
7823 * progmodes/bug-reference.el (bug-reference-mode):
7824 * progmodes/cap-words.el (capitalized-words-mode):
7825 * progmodes/compile.el (compilation-minor-mode)
7826 (compilation-shell-minor-mode):
7827 * progmodes/gud.el (gud-tooltip-mode):
7828 * progmodes/hideif.el (hide-ifdef-mode):
7829 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
7830 * progmodes/subword.el (subword-mode):
7831 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7832 * progmodes/which-func.el (which-function-mode):
7833 * term/tvi970.el (tvi970-set-keypad-mode):
7834 * term/vt100.el (vt100-wide-mode):
7835 * textmodes/flyspell.el (flyspell-mode):
7836 * textmodes/ispell.el (ispell-minor-mode):
7837 * textmodes/nroff-mode.el (nroff-electric-mode):
7838 * textmodes/paragraphs.el (use-hard-newlines):
7839 * textmodes/refill.el (refill-mode):
7840 * textmodes/reftex.el (reftex-mode):
7841 * textmodes/rst.el (rst-minor-mode):
7842 * textmodes/sgml-mode.el (html-autoview-mode)
7843 (sgml-electric-tag-pair-mode):
7844 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
7845 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
7846 * emulation/crisp.el (crisp-mode):
7847 * emacs-lisp/eldoc.el (eldoc-mode):
7848 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
7849 minor mode behavior.
7850
aa42ab43
JL
78512011-10-19 Juri Linkov <juri@jurta.org>
7852
7853 * descr-text.el (describe-char): Add #x2010 and #x2011 to
7854 the list of hard-coded chars with escape-glyph face.
7855
89400f1d
SM
78562011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7857
7858 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
7859
305c07f6
MA
78602011-10-19 Michael Albinus <michael.albinus@gmx.de>
7861
7862 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
7863 running process.
7864
13754b54
GM
78652011-10-19 Glenn Morris <rgm@gnu.org>
7866
7867 * vc/vc-bzr.el (vc-bzr-after-dir-status):
7868 Ignore ignored files. (Bug#9726)
7869
06e21633
CY
78702011-10-19 Chong Yidong <cyd@gnu.org>
7871
7872 Doc fix for minor modes, stating that an omitted argument enables
7873 the mode unconditionally when called from Lisp.
7874
7875 * abbrev.el (abbrev-mode):
7876 * allout.el (allout-mode):
7877 * autoinsert.el (auto-insert-mode):
7878 * autoarg.el (autoarg-mode, autoarg-kp-mode):
7879 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7880 (global-auto-revert-mode):
7881 * battery.el (display-battery-mode):
7882 * composite.el (global-auto-composition-mode)
7883 (auto-composition-mode):
7884 * delsel.el (delete-selection-mode):
7885 * desktop.el (desktop-save-mode):
7886 * dired-x.el (dired-omit-mode):
7887 * dirtrack.el (dirtrack-mode):
7888 * doc-view.el (doc-view-minor-mode):
7889 * double.el (double-mode):
7890 * electric.el (electric-indent-mode, electric-pair-mode):
7891 * emacs-lock.el (emacs-lock-mode):
7892 * epa-hook.el (auto-encryption-mode):
7893 * follow.el (follow-mode):
7894 * font-core.el (font-lock-mode):
7895 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7896 * help.el (temp-buffer-resize-mode):
7897 * hilit-chg.el (highlight-changes-mode)
7898 (highlight-changes-visible-mode):
7899 * hi-lock.el (hi-lock-mode):
7900 * hl-line.el (hl-line-mode, global-hl-line-mode):
7901 * icomplete.el (icomplete-mode):
7902 * ido.el (ido-everywhere):
7903 * image-file.el (auto-image-file-mode):
7904 * image-mode.el (image-minor-mode):
7905 * iswitchb.el (iswitchb-mode):
7906 * jka-cmpr-hook.el (auto-compression-mode):
7907 * linum.el (linum-mode):
7908 * longlines.el (longlines-mode):
7909 * master.el (master-mode):
7910 * mb-depth.el (minibuffer-depth-indicate-mode):
7911 * menu-bar.el (menu-bar-mode):
7912 * minibuf-eldef.el (minibuffer-electric-default-mode):
7913 * mouse-sel.el (mouse-sel-mode):
7914 * msb.el (msb-mode):
7915 * mwheel.el (mouse-wheel-mode):
7916 * outline.el (outline-minor-mode):
7917 * paren.el (show-paren-mode):
7918 * recentf.el (recentf-mode):
7919 * reveal.el (reveal-mode, global-reveal-mode):
7920 * rfn-eshadow.el (file-name-shadow-mode):
7921 * ruler-mode.el (ruler-mode):
7922 * savehist.el (savehist-mode):
7923 * scroll-all.el (scroll-all-mode):
7924 * scroll-bar.el (scroll-bar-mode):
7925 * server.el (server-mode):
7926 * shell.el (shell-dirtrack-mode):
7927 * simple.el (auto-fill-mode, transient-mark-mode)
7928 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7929 (line-number-mode, column-number-mode, size-indication-mode)
7930 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7931 * strokes.el (strokes-mode):
7932 * time.el (display-time-mode):
7933 * t-mouse.el (gpm-mouse-mode):
7934 * tool-bar.el (tool-bar-mode):
7935 * tooltip.el (tooltip-mode):
7936 * type-break.el (type-break-mode-line-message-mode)
7937 (type-break-query-mode):
7938 * view.el (view-mode):
7939 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7940 (global-whitespace-mode, global-whitespace-newline-mode):
7941 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7942
a3839de2
SM
7943 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7944 Fix autogenerated docstring.
06e21633 7945
5214e501
JL
79462011-10-19 Juri Linkov <juri@jurta.org>
7947
7948 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7949 by checking environment variables "DESKTOP_SESSION" and
7950 "XDG_CURRENT_DESKTOP". (Bug#9779)
7951
195f8db9
JL
79522011-10-19 Juri Linkov <juri@jurta.org>
7953
7954 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7955 (browse-url-chromium-program, browse-url-chromium-arguments):
7956 New defcustoms.
7957 (browse-url-default-browser): Check for `browse-url-chromium' and
7958 call `browse-url-chromium-program'.
7959 (browse-url-chromium): New command. (Bug#9779)
7960
343a34ff
JB
79612011-10-18 Juanma Barranquero <lekktu@gmail.com>
7962
7963 * facemenu.el (list-colors-duplicates): On Windows, detect more
7964 duplicates by assuming that only colors matching "^System" are
7965 special "system colors". (Bug#9722)
7966
6978a151
SM
79672011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7968
7969 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7970 to distinguish the author from the committer.
7971
6a80b297
MA
79722011-10-18 Michael Albinus <michael.albinus@gmx.de>
7973
7974 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7975
b31a5677
JK
79762011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7977
7978 * international/mule.el (sgml-html-meta-auto-coding-function):
7979 Add support for detecting encoding in HTML5 specified only as
7980 <meta charset="UTF-8">. Implementation just makes http-equiv and
7981 content-type parts from HTML4 encoding string optional. (Bug#9716)
7982
80c6d77f
GM
79832011-10-18 Glenn Morris <rgm@gnu.org>
7984
7985 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7986
08b0fee8
CY
79872011-10-18 Chong Yidong <cyd@gnu.org>
7988
7989 * faces.el (cursor): Doc fix.
7990
67e729a5
CY
79912011-10-17 Chong Yidong <cyd@gnu.org>
7992
7993 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7994
343a34ff 79952011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
7996
7997 * dirtrack.el (dirtrack): Support shell buffers with path
7998 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7999
0bc06380
TZ
80002011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
8001
8002 * json.el: Bump version to 1.3 and note change in History.
8003 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
8004
8b79f3e0
SM
80052011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8006
5a7c536b
SM
8007 * comint.el (comint-insert-input, comint-send-input)
8008 (comint-get-old-input-default, comint-backward-matching-input)
8009 (comint-next-prompt): Use nil instead of `input' for field property of
8010 past user input (bug#114).
8011
96a8a0df
SM
8012 * minibuffer.el (completion--replace): Inherit surrounding properties
8013 (bug#114).
8014 (minibuffer-complete-and-exit): Use it.
8015
8b79f3e0
SM
8016 * comint.el (comint--table-subvert): Quote the all-completions output
8017 (bug#9160).
8018
b8f7ff0d
MR
80192011-10-17 Martin Rudalics <rudalics@gmx.at>
8020
8b79f3e0 8021 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 8022
b8f7ff0d 8023 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 8024 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
8025 entries and separate them from frame entries.
8026
c235b555
GM
80272011-10-15 Glenn Morris <rgm@gnu.org>
8028
8029 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
8030 Doc fixes.
8031
6bbfa6e1
CY
80322011-10-15 Chong Yidong <cyd@stupidchicken.com>
8033
8b79f3e0
SM
8034 * net/network-stream.el (network-stream-open-starttls):
8035 Improve detection of failure due to lack of TLS support.
ec5c990d 8036
6bbfa6e1
CY
8037 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
8038 putting the input text in front and in bold.
8039
98488977
SM
80402011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8041
3d1337be
SM
8042 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
8043
ee0b45e4
SM
8044 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
8045 empty buffer.
8046
98488977
SM
8047 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
8048 unread-command-events rather than pushing yet-another event.
8049
186f4720
EZ
80502011-10-14 Eli Zaretskii <eliz@gnu.org>
8051
8052 * mail/sendmail.el (sendmail-query-once): Improve the wording of
8053 the explanation of the possible choices. Make the options passed
8054 to completing-read shorter.
8055
8b7a997c
AM
80562011-10-13 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
8057
8058 * textmodes/flyspell.el (flyspell-large-region): Make sure
8059 extended character mode is used if defined (Bug#1339).
8060
12587bbb
EZ
80612011-10-13 Eli Zaretskii <eliz@gnu.org>
8062
8063 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
8064 character info for LRE, LRO, RLE, and RLO characters by appending
8065 an invisible PDF.
12587bbb 8066
bad41229
SM
80672011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
8068
8069 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
8070 even in case of error; add debug spec; simplify data flow.
8071 (with-timeout-handler): Remove.
8072
28dbc92f
MA
80732011-10-12 Michael Albinus <michael.albinus@gmx.de>
8074
8075 Fix Bug#6019, Bug#9315.
8076
8077 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
8078 complete `buffer-file-name', the local file name part could look
8079 remotely (for example on VMS).
8080
8081 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
8082 `tramp-run-real-handler'.
8083 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
8084 already quoted by '"'.
8085
8086 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
8087 Let `file-name-handler-alist' be nil, the local file name part
8088 could look remotely (for example on VMS).
8089
e1b0b23a
SM
80902011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8091
8092 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
8093 from here...
8094 (flyspell-post-command-hook): ...to here.
8095
a120bde9
SM
80962011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8097
8098 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
8099 if not needed.
8100 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
8101 using completion. Protect against "slow" callers.
8102 Remove the "message hack".
8103
7ce7717b
JL
81042011-10-11 Juri Linkov <juri@jurta.org>
8105
8106 * isearch.el (isearch-lazy-highlight-word): New variable.
8107 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8108 Use it. (Bug#9727)
8109
c02ee9d6
GM
81102011-10-11 Glenn Morris <rgm@gnu.org>
8111
8112 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
8113 like f90-previous-statement does.
8114
93e616fd 81152011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8116
1f190e73 8117 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
8118 only in interactive use, to avoid error.
8119
af7b6078
SM
81202011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8121
8122 * minibuffer.el (completion-file-name-table): Fix last change,
8123 i.e. ignore normal errors but not the other ones.
8124
0563dae9
MR
81252011-10-10 Martin Rudalics <rudalics@gmx.at>
8126
8127 * window.el (special-display-buffer-names)
8128 (special-display-regexps): Remove some remnants of earlier
8129 changes from doc-strings.
366ca7f3
MR
8130 (quit-windows-on): New function.
8131
8132 * vc/vc.el (vc-revert, vc-rollback):
8133 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
8134 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 8135 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 8136
49677495
MR
81372011-10-09 Martin Rudalics <rudalics@gmx.at>
8138
8139 * window.el (frame-auto-hide-function): Add version tag.
8140 (Bug#9699)
8141
56f2d1e1
MA
81422011-10-09 Michael Albinus <michael.albinus@gmx.de>
8143
8144 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
8145 condition.
8146
112a6592
LL
81472011-10-09 Leo Liu <sdl.web@gmail.com>
8148
8149 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
8150 (Bug#9701)
8151
0812589b
GM
81522011-10-08 Glenn Morris <rgm@gnu.org>
8153
8154 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
8155 before the first code statement zero indent. (Bug#9690)
8156
b2b0776e
CY
81572011-10-08 Chong Yidong <cyd@stupidchicken.com>
8158
8159 * simple.el (count-words-region): Always count in the region.
8160 Report the number of lines and characters too.
8161 (count-words): New command, which counts in the buffer if the
8162 region is inactive, as count-words-region used to.
8163 (count-words--message): New function. Handle plurals.
8164 (count-lines-region): Make it an alias for count-words-region.
8165
8166 * bindings.el (esc-map): Replace count-lines-region with
8167 count-words-region.
8168
c557cd6b
MR
81692011-10-08 Martin Rudalics <rudalics@gmx.at>
8170
8171 * window.el (window--delete): Delete dedicated frame
8172 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 8173 (switch-to-buffer): Fix doc-string typo.
c557cd6b 8174
61a57ef4 81752011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8176
3a7d293b 8177 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 8178
c3833279
CY
81792011-10-07 Chong Yidong <cyd@stupidchicken.com>
8180
8181 * bindings.el ([M-left],[M-right]): Bind to left-word and
8182 right-word respectively.
8183
21ce8245
GM
81842011-10-07 Glenn Morris <rgm@gnu.org>
8185
8186 * cus-start.el (debug-on-quit): Fix custom type.
8187
6d823bb2
LMI
81882011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8189
0181e193
LMI
8190 * subr.el (define-key-after): Clarify that the function is not
8191 useful for non-menu keymaps.
8192
6d823bb2
LMI
8193 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
8194
8e3459ce 81952011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8196
21ce8245 8197 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 8198 in current minibuffer (Fix bug with recursive minibuffers).
8199
a1c2d21e
CY
82002011-10-06 Chong Yidong <cyd@stupidchicken.com>
8201
8202 * progmodes/gdb-mi.el (gdb): Doc fix.
8203
5a4cf282
MR
82042011-10-05 Martin Rudalics <rudalics@gmx.at>
8205
8206 * window.el (frame-auto-hide-function): New option replacing
8207 frame-auto-delete. Suggested by Stefan Monnier.
8208 (window--delete): Call frame-auto-hide-function instead of
8209 investigating frame-auto-delete.
c96111ea
MR
8210 (window-point-1, set-window-point-1): New functions.
8211 (window-in-direction, record-window-buffer, window-state-get-1)
8212 (display-buffer-record-window): Use window-point-1 instead of
8213 window-point.
8214 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 8215
9854542e
SM
82162011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8217
8218 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
8219
8943cfb0
GM
82202011-10-05 Glenn Morris <rgm@gnu.org>
8221
8222 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
8223 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
8224
647ab967
LL
82252011-10-05 Leo Liu <sdl.web@gmail.com>
8226
8227 * subr.el (read-char-choice): Fix argument to buffer-live-p which
8228 works with buffer object.
8229
3ddfbced
SM
82302011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8231
8232 * mpc.el (mpc-tool-bar-map): Add labels.
8233
bdfa5dd2
GM
82342011-10-04 Glenn Morris <rgm@gnu.org>
8235
8236 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8237
0e2070b5
MR
82382011-10-04 Martin Rudalics <rudalics@gmx.at>
8239
8240 * window.el (window--delete): New function.
8241 (frame-auto-delete): Resuscitate option.
8242 (bury-buffer, replace-buffer-in-windows)
8243 (quit-window): Rewrite using window--delete.
8244 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8245 Pass display-buffer-mark-dedicated to window--display-buffer-2
8246 (Bug#9639).
8247
3dc61a09
SM
82482011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8249
915a9b64
SM
8250 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
8251 returns a list (bug#9554). Add remote file name completion.
8252 * comint.el (comint--table-subvert): Curry and get quote&unquote
8253 functions as arguments.
8254 (comint--complete-file-name-data): Adjust call accordingly.
8255 * pcomplete.el (pcomplete--table-subvert): Remove.
8256 (pcomplete-completions-at-point): Use comint--table-subvert instead.
8257
3dc61a09
SM
8258 * minibuffer.el (completion-table-case-fold): Use currying.
8259 (completion--styles-type, completion--cycling-threshold-type):
8260 New constants.
8261 (completion-styles, completion-category-overrides)
8262 (completion-cycle-threshold): Use them.
8263 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
8264 completion-table-case-fold.
8265
8ea0a993
SB
82662011-10-03 Stephen Berman <stephen.berman@gmx.net>
8267
8268 * minibuffer.el (completion-category-overrides): Fix type of styles
8269 and add more user friendly tags (bug#9660).
8270
8c24b7f6
SM
82712011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8272
8273 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
8274 (mule-input-method-string): New widget.
8275 (default-input-method, language-info-custom-alist): Use it.
8276
428fe61a
SM
82772011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8278
32c1fffd
SM
8279 * pcomplete.el: Require comint.
8280 (pcomplete--common-suffix): Remove.
8281 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
8282 (pcomplete--table-subvert): Sync with comint--table-subvert.
8283 (pcomplete--entries): Use comint-completion-file-name-table.
8284 * comint.el (comint-unquote-filename): Simplify.
8285 (comint-completion-file-name-table): New function (bug#9616).
8286 (comint--complete-file-name-data): Use it.
8287
428fe61a
SM
8288 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
8289 (pcmpl-gnu-tar-buffer): Remove.
8290 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
8291 around. Make sure pcomplete-suffix-list is only changed temporarily.
8292 Don't look inside the tar's file if it's too large.
428fe61a 8293
04c52e2f
CY
82942011-10-01 Chong Yidong <cyd@stupidchicken.com>
8295
ce3cefcc
CY
8296 * cus-edit.el (custom-mode-map):
8297 * epa.el (epa-key-list-mode-map):
8298 * man.el (Man-mode-map):
8299 * startup.el (splash-screen-keymap):
8300 * simple.el (special-mode-map): Use scroll-up-command and
8301 scroll-down-command.
8302
8303 * progmodes/idlw-help.el (idlwave-help-mode-map):
8304 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
8305 * net/newst-plainview.el (newsticker-mode-map):
8306 * emulation/ws-mode.el (wordstar-mode-map):
8307 * emulation/vi.el (vi-com-map):
8308 * calc/calc-graph.el (calc-graph-show-dumb):
8309 * term/sun.el (terminal-init-sun):
8310 * term/ns-win.el (global-map):
8311 * progmodes/grep.el (grep-mode-map):
8312 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
8313 * mail/rmail.el (rmail-mode-map):
8314 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
8315
04c52e2f
CY
8316 * custom.el (custom-safe-themes, load-theme): Treat value of t for
8317 custom-safe-themes as special.
8318
79adf8c8
JD
83192011-10-01 Julien Danjou <julien@danjou.info>
8320
8321 * notifications.el (notifications-notify): Fix docstring.
8322
63bd50d3
PS
83232011-10-01 Per Starbäck <per@starback.se>
8324
8325 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
8326
199e4c7e
MR
83272011-09-30 Martin Rudalics <rudalics@gmx.at>
8328
8329 * startup.el (command-line-1): Fix last fix by inserting
8330 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 8331 (Bug#9605) and (Bug#9636)
199e4c7e 8332
fe5f08dd
EZ
83332011-09-29 Eli Zaretskii <eliz@gnu.org>
8334
8335 * simple.el (line-move): If auto-hscroll-mode is disabled and the
8336 window is hscrolled, move by logical lines. (Bug#9607)
8337 (line-move-visual): Update the doc string to the above effect.
8338
b5516bbd
MR
83392011-09-29 Martin Rudalics <rudalics@gmx.at>
8340
ccee00c0
MR
8341 * window.el (display-buffer-record-window): When WINDOW is the
8342 selected window use `point' instead of `window-point'. (Bug#9626)
8343
b5516bbd
MR
8344 * startup.el (command-line-1): Use insert-before-markers when
8345 inserting initial-scratch-message. (Bug#9605)
ccee00c0 8346
b5516bbd
MR
8347 * help.el (help-window): Remove variable.
8348
52aa0014
GM
83492011-09-29 Glenn Morris <rgm@gnu.org>
8350
8351 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
8352
df9a7357
JB
83532011-09-29 Juanma Barranquero <lekktu@gmail.com>
8354
8355 * descr-text.el (describe-char-categories): Accept category
8356 descriptions more than one line long.
8357
a8406c20
SM
83582011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8359
88d9610c
SM
8360 * simple.el (delete-trailing-whitespace): Fix last change.
8361
a5daf810
SM
8362 * progmodes/perl-mode.el (perl-syntax-propertize-function):
8363 Don't confuse "y => 3" as the beginning of a `y' operation.
8364
a8406c20
SM
8365 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
8366 object has more than 4 slots (bug#9613).
8367
a239d4e9
JB
83682011-09-28 Juanma Barranquero <lekktu@gmail.com>
8369
8370 * subr.el (with-output-to-temp-buffer):
8371 * net/quickurl.el (quickurl, quickurl-browse-url):
8372 Fix typos in docstrings.
8373
693fbdb6
EZ
83742011-09-27 Eli Zaretskii <eliz@gnu.org>
8375
8376 * minibuffer.el (completion-styles)
8377 (completion-category-overrides): Cross reference each other in doc
8378 strings.
8379
8b457e28
GM
83802011-09-27 Glenn Morris <rgm@gnu.org>
8381
8382 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8383 to split-string. (Bug#9606)
8384
85a16208
LMI
83852011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8386
8387 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8388 (bug#9615).
8389
502f9ebd
CY
83902011-09-27 Chong Yidong <cyd@stupidchicken.com>
8391
8392 * emacs-lisp/package.el (list-packages): Fix echo area message.
8393
7690bdea
LL
83942011-09-27 Leo Liu <sdl.web@gmail.com>
8395
8396 * ido.el (ido-read-internal): Accept cons cell HIST arg.
8397
e2ee6f30
MA
83982011-09-25 Michael Albinus <michael.albinus@gmx.de>
8399
8400 * net/dbus.el (dbus-unregister-object): Don't release services for
8401 registered signals. (Bug#9581)
8402
f3f98342
TZ
84032011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
8404
8405 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8406 function that picks between cfengine 2 and 3 support
8407 automatically. Update docs accordingly.
8408
dd7aa8dd
KH
84092011-09-22 Kenichi Handa <handa@m17n.org>
8410
8411 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8412 ZERO.
8413 (indian-itrans-v5-table-for-tamil): New variable.
8414 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8415
3f2b07f8
KM
84162011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
8417
8418 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8419 that's true if the current command involved collapsing of text.
8420 It's reset to false at the beginning of the next command.
8421 (allout-post-command-business): Move the cursor to the beginning
8422 of entry if the cursor is hidden and collapsing activity just
8423 happened.
8424
371d6a61
CY
84252011-09-24 Chong Yidong <cyd@stupidchicken.com>
8426
8427 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8428 tracking (Bug#9541).
8429
2ac2721a
UJ
84302011-09-24 Ulf Jasper <ulf.jasper@web.de>
8431
8432 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
8433 (newsticker-show-news): Automatically load html rendering package
8434 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
8435 because w3m-fill-column is let-bound" and the error "Symbol's value
8436 as variable is void: w3m-fill-column".
2ac2721a 8437
fac7ae53
MA
84382011-09-24 Michael Albinus <michael.albinus@gmx.de>
8439
8440 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8441 Release services only if they are defined. (Bug#9581)
8442
e08b633b
RS
84432011-09-23 Richard Stallman <rms@gnu.org>
8444
e488d29c
RS
8445 * textmodes/paragraphs.el (forward-sentence): For backwards case,
8446 distinguish start of paragraph from start of its text.
8447
19c38752
RS
8448 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8449
e08b633b
RS
8450 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8451 (rmail-generate-viewer-buffer): Put that hook on view buffer.
8452 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8453
0a39f27e
AS
84542011-09-23 Andreas Schwab <schwab@linux-m68k.org>
8455
8456 * international/mule-diag.el (mule-diag): Insert a newline after
8457 each fontset description.
8458
db4e950d
SM
84592011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8460
8461 * simple.el (delete-trailing-whitespace):
8462 Document last change; simplify.
8463
eca3f3ea
PW
84642011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
8465
d68e189a
PW
8466 * simple.el (delete-trailing-whitespace): Also delete
8467 extra newlines at the end of the buffer.
8468
eca3f3ea
PW
8469 * textmodes/picture.el: Make motion commands obey shift-select-mode.
8470 (picture-newline): Use forward-line so as to ignore fields.
8471
01c157cc
SM
84722011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8473
8474 * subr.el (with-wrapper-hook): Fix edebug spec.
8475
022de23e
LMI
84762011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8477
8478 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8479 (bug#4538).
8480
91683089
MA
84812011-09-23 Michael Albinus <michael.albinus@gmx.de>
8482
eca3f3ea
PW
8483 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8484 Fix nasty bug using wrong cached values.
91683089 8485
5bdd6fa4
AM
84862011-09-23 Alan Mackenzie <acm@muc.de>
8487
8488 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8489
97adfb97
CY
84902011-09-23 Chong Yidong <cyd@stupidchicken.com>
8491
8492 * window.el (pop-to-buffer): Ensure right window is selected if we
8493 chose another frame.
8494
d4ef2b50
EZ
84952011-09-22 Eli Zaretskii <eliz@gnu.org>
8496
8497 * simple.el (what-cursor-position): Use get-char-property-change
8498 and next-single-char-property-change, to be able to show display
8499 properties that come from overlays as well as text properties.
8500
72258fe5
CY
85012011-09-22 Chong Yidong <cyd@stupidchicken.com>
8502
8503 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8504
8505 * cmuscheme.el (run-scheme, switch-to-scheme):
8506 * cus-edit.el (customize-group, custom-buffer-create)
8507 (customize-browse):
8508 * info.el (info):
8509 * shell.el (shell):
8510 * mail/sendmail.el (mail):
8511 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8512
8f098516
RS
85132011-09-22 Richard Stallman <rms@gnu.org>
8514
8515 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8516 move back only to line beg, don't move back over blank lines.
8517
e74f1bb6
MA
85182011-09-22 Michael Albinus <michael.albinus@gmx.de>
8519
8520 * files.el (copy-directory): Set directory attributes only in case
8521 they could be retrieved from the source directory. (Bug#9565)
8522
bfeef8b6
DK
85232011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
8524
8525 * progmodes/hideshow.el (hs-looking-at-block-start-p)
8526 (hs-find-block-beginning, hs-hide-level-recursive):
8527 Ignore strings as well as comments. (Bug#9502)
8528
7e423bb8
AS
85292011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
8530
8531 * progmodes/sql.el (sql-comint-postgres):
8532 Convert port number to a string. (Bug#9566)
8533
b4d72fcf
MR
85342011-09-22 Martin Rudalics <rudalics@gmx.at>
8535
8536 * window.el (quit-window): Undedicate window when switching to
8537 previous buffer. Reported by Thierry Volpiatto
8538 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
8539 (special-display-popup-frame): When popping up a new frame reset
8540 its previous buffers to nil. Simplify code.
b4d72fcf 8541
a7b88dc6
MA
85422011-09-21 Michael Albinus <michael.albinus@gmx.de>
8543
8544 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8545 and process filter, as done also in `shell-command'.
8546
cf4eacfd
MR
85472011-09-21 Martin Rudalics <rudalics@gmx.at>
8548
eca3f3ea 8549 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
8550 Call set-window-start with NOFORCE argument t.
8551 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
8552 (quit-window): Reword doc-string. Handle new format of
8553 quit-restore parameter. Don't delete window if it has a
8554 previous buffer we can show instead of the present one.
8555 (display-buffer-record-window): Rewrite using a new format for
8556 the quit-restore window parameter
8557 (special-display-popup-frame, display-buffer-same-window)
8558 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8559 (display-buffer-pop-up-window, display-buffer-use-some-window):
8560 Adapt symbol passed to display-buffer-record-window.
8561 * help.el (help-window-setup): Handle new format of quit-restore
8562 parameter.
8563
8d28cb95
SM
85642011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
8565
94ab793f
SM
8566 * faces.el (face-list): Fix docstring (bug#9564).
8567
8d28cb95
SM
8568 * window.el (display-buffer--action-function-custom-type):
8569 Don't include internal functions in the Custom interface.
8570
3820edeb
JL
85712011-09-20 Juri Linkov <juri@jurta.org>
8572
8573 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8574 (Info-forward-node, Info-backward-node, Info-next-preorder)
8575 (Info-last-preorder): Use it. (Bug#9528)
8576
5147931d
JL
85772011-09-20 Juri Linkov <juri@jurta.org>
8578
8579 * info.el (Info-last-preorder): Visit last menu item only when
8580 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
8581
cf499a1a
JD
85822011-09-20 Julien Danjou <julien@danjou.info>
8583
8584 * password-cache.el (password-cache-remove): Remove entries even if the
8585 value is nil, so that password with a nil value (negative caching) is
8586 possible to invalidate.
8587
f84e2fe2
LM
85882011-09-20 Lawrence Mitchell <wence@gmx.li>
8589
8590 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
8591 all whitespace around breakpoint. (Bug#9553)
8592 (f90-find-breakpoint): Only break at whitespace inside a comment.
8593
78054a46
SM
85942011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8595
8596 * minibuffer.el (completion-file-name-table): Keep track of errors.
8597 (completion-table-with-predicate): Handle the case where pred1 is nil.
8598 * pcomplete.el (pcomplete-completions-at-point): Simplify.
8599
345083b2
SM
86002011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8601
e24e27be
SM
8602 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
8603 (debugger-return-value): Signal an error if the debugging context does
8604 not await any return value.
8605
345083b2
SM
8606 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8607 * image-mode.el (image-toggle-display-text)
8608 (image-toggle-display-image): Stay away from evil `intangible'.
8609
08d355e3
LL
86102011-09-19 Leo Liu <sdl.web@gmail.com>
8611
8612 * replace.el (occur-revert-arguments): Make it permanent-local.
8613 (occur-mode): Don't call font-lock-defontify.
8614
f01da43f
CY
86152011-09-19 Chong Yidong <cyd@stupidchicken.com>
8616
8617 * net/ldap.el (ldap-search-internal): Don't push empty search
8618 result (Bug#9508).
8619
b6072fa6
SM
86202011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8621
8622 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8623
443d6696
MA
86242011-09-19 Michael Albinus <michael.albinus@gmx.de>
8625
8626 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8627 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8628
7cc6e154
JL
86292011-09-18 Juri Linkov <juri@jurta.org>
8630
8631 * buff-menu.el (Buffer-menu-mode-map):
8632 * dired.el (dired-mode-map):
8633 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8634 (lisp-interaction-mode-map):
8635 * emacs-lisp/package.el (package-menu-mode-map):
8636 * epa.el (epa-key-list-mode-map):
8637 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8638 (menu-bar-options-menu):
8639 * outline.el (outline-mode-menu-bar-map):
8640 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8641 * vc/vc-dir.el (vc-dir-menu-map):
8642 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8643 Capitalize non-function content words in menu item strings.
8644
8645 * dired.el (dired-mode-map): Add menu item for
8646 `image-dired-dired-toggle-marked-thumbs'.
8647
80302a81
JL
86482011-09-18 Juri Linkov <juri@jurta.org>
8649
8650 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8651 to `isearch-case-fold-search' and restore its original value
8652 after the `isearch-mode' call.
8653
46c5cf66
JL
86542011-09-18 Juri Linkov <juri@jurta.org>
8655
8656 * progmodes/grep.el (grep-process-setup): Don't check code for 1
8657 because `zgrep' returns 1 for successful matches (bug#9226).
8658
d18b513b
JL
86592011-09-18 Juri Linkov <juri@jurta.org>
8660
8661 * info.el (Info-extract-menu-node-name): Check the second match
8662 for empty string (second test-case of bug#9528).
8663 (Info-last-preorder): Let-bind `Info-history' to nil to not add
8664 intermediate nodes to the history (first test-case of bug#9528).
8665
72753f87
JL
86662011-09-18 Juri Linkov <juri@jurta.org>
8667
8668 * info.el (Info-mode-syntax-table): New variable.
1154d12e 8669 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 8670
c9384295
JL
86712011-09-18 Juri Linkov <juri@jurta.org>
8672
1154d12e
JB
8673 * info.el (Info-file-supports-index-cookies):
8674 Increment line-beginning-position's arg from 3 to 4 because makeinfo
8675 outputs one more line for long file names (bug#4142).
c9384295 8676
d473dce8
CY
86772011-09-18 Chong Yidong <cyd@stupidchicken.com>
8678
8679 * newcomment.el (comment-normalize-vars): If prompting for
8680 comment-start, set comment-start-skip too (Bug#8424).
8681
2176854d
JB
86822011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
8683
8684 * icomplete.el: Fix previous fix of Bug#5849.
8685 (icomplete-mode): Don't set completion-show-inline-help.
8686 (icomplete-minibuffer-setup): Set completion-show-inline-help
8687 locally during icompletion.
8688
3aace4e4
CY
86892011-09-18 Chong Yidong <cyd@stupidchicken.com>
8690
c940224f
CY
8691 * woman.el (woman2-process-escapes): Don't delete unrecognized
8692 escapes (Bug#7843).
8693
3aace4e4
CY
8694 * files.el (inhibit-first-line-modes-regexps): Add image files.
8695 (hack-local-variables-prop-line): Return nil for malformed
8696 prop-lines (Bug#9044).
8697
710dec63
MA
86982011-09-18 Michael Albinus <michael.albinus@gmx.de>
8699
8700 * net/tramp.el (top): Don't require 'shell.
8701 (tramp-methods): Fix docstring.
8702 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
8703 Return complete remote file name. Handle "smb" case.
8704 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
8705 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8706
8707 * net/tramp-compat.el (top): Require 'shell.
8708
8709 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8710 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8711 `tramp-current-host'.
8712 (tramp-get-remote-tmpdir): Remove.
8713
8714 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8715 `tramp-tmpdir' entries.
8716 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8717 (tramp-smb-handle-file-attributes): Ignore errors.
8718 (tramp-smb-wait-for-output): Check also for process end.
8719
5d5ac8ec
LMI
87202011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8721
8722 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8723 when sending QUIT (bug#9312).
8724
8c0f49f0
CY
87252011-09-17 Chong Yidong <cyd@stupidchicken.com>
8726
8727 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8728 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8729 occur-mode-display-occurrence.
8730 (occur-edit-mode): Add usage message.
8731 (occur-cease-edit): New command.
8732 (occur-after-change-function): Use text properties to find the
8733 position of the prefix text.
8734 (occur-engine): Set stickiness of prefix text properties.
8735
8f1383f7
GM
87362011-09-17 Glenn Morris <rgm@gnu.org>
8737
8738 * progmodes/etags.el (complete-tag):
8739 Fix call to completion-in-region. (Bug#9526)
8740
744ba0e3
JL
87412011-09-17 Juri Linkov <juri@jurta.org>
8742
8743 * textmodes/ispell.el (ispell-word): Add to the error message
8744 the word, ispell program name and current dictionary (bug#9121).
8745 (ispell-tex-arg-end): Capitalize "error" in the error message.
8746
d9bbf400
AS
87472011-09-17 Andreas Schwab <schwab@linux-m68k.org>
8748
8749 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8750 check. (Bug#4251)
8751
8da11505
JL
87522011-09-17 Juri Linkov <juri@jurta.org>
8753
8754 * window.el (window-safe-min-height, window-safe-min-width):
8755 Fix typos (followup to bug#9522).
8756
a91adc7e
SJ
87572011-09-17 Sven Joachim <svenjoac@gmx.de>
8758
8759 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8760
064f328a
EZ
87612011-09-16 Eli Zaretskii <eliz@gnu.org>
8762
8763 * simple.el (line-move): If goal-column is set, move by logical
8764 lines, not by display lines. (Bug#971)
8765 (next-line, previous-line, goal-column, line-move-visual): Doc fix
8766 to reflect the above change.
8767
e69df516
SM
87682011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8769
8770 * image.el (imagemagick-register-types): Use regexp-opt.
8771
cbb0f9ab
CY
87722011-09-15 Chong Yidong <cyd@stupidchicken.com>
8773
8774 * window.el (display-buffer-base-action): Rename from
8775 display-buffer-default-action. Make default value empty.
8776 (display-buffer-overriding-action): Convert to defvar.
8777 (display-buffer-fallback-action): New var.
8778
25322144
CY
87792011-09-15 Chong Yidong <cyd@stupidchicken.com>
8780
8781 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8782 declaration.
8783 (package--add-to-archive-contents): If there is a duplicate entry
8784 with an older version, remove it.
8785 (package-menu-mark-delete, package-menu-mark-install)
8786 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
8787 (package-menu-mark-obsolete-for-deletion):
8788 Use package-menu-get-status instead of a regexp search.
25322144
CY
8789 (package-menu-get-status): Use tabulated-list-entry.
8790 (package-menu-mark-upgrades): New command.
d770725a 8791 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
8792 (package-menu-execute): Do installation before deletion.
8793 (package-menu-refresh, package-menu-execute): Use derived-mode-p
8794 instead of checking major-mode.
8795 (package-menu--find-upgrades): New function.
8796
7520339c
LMI
87972011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8798
8799 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8800 passwords in the log buffer.
65a046c4
LMI
8801 (smtpmail-process-filter): Update the process marker so that the
8802 "broken by peer" status message is inserted in the right place.
7520339c 8803
d3c30954
SM
88042011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8805
3fe48822
SM
8806 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8807 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8808 bibtex-completion-at-point-function.
8809 (bibtex-completion-at-point-function): Use them.
8810
1b8b3954
SM
8811 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8812
d3c30954
SM
8813 * mpc.el (mpc-constraints-tag-lookup): New function.
8814 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8815 also to browser "album|playlist".
8816
72779976
JL
88172011-09-14 Juri Linkov <juri@jurta.org>
8818
8819 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
8820 (isearch-edit-string): Use length of `isearch-string' when
8821 `isearch-fail-pos' returns nil.
8822 (isearch-message): Remove duplicate code and call
8823 `isearch-fail-pos' with arg `t'.
8824
a0bf2bcd
CY
88252011-09-14 Chong Yidong <cyd@stupidchicken.com>
8826
17bb0a2d
CY
8827 * replace.el (occur-mode-goto-occurrence): Don't force using other
8828 window (Bug#9499).
8829
a0bf2bcd
CY
8830 * dired-aux.el (dired-do-chmod): Don't provide initial input.
8831
f678e0b6
MR
88322011-09-14 Martin Rudalics <rudalics@gmx.at>
8833
8834 * window.el (display-buffer-window): Remove.
8835 (display-buffer-record-window): Use help-setup window parameter
8836 instead of variable display-buffer-window.
8837 (display-buffer-function, special-display-buffer-names)
8838 (special-display-function): Mention help-setup parameter instead
8839 of display-buffer-window in doc-string.
d3c30954
SM
8840 * help.el (help-window-setup): New argument help-window.
8841 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
8842 Reword some messages.
8843 (with-help-window): Pass window used for displaying the buffer
8844 to help-window-setup. Don't set display-buffer-window.
8845
8e39b2e8
GM
88462011-09-13 Glenn Morris <rgm@gnu.org>
8847
8848 * emacs-lisp/debug.el (debugger-make-xrefs):
8849 Preserve point. (Bug#9462)
8850
85e9c04b
CY
88512011-09-13 Chong Yidong <cyd@stupidchicken.com>
8852
8853 * window.el (window-deletable-p): Use next-frame.
8854
1b36ed6a
MR
88552011-09-13 Martin Rudalics <rudalics@gmx.at>
8856
8857 * window.el (window-auto-delete): Remove.
8858 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 8859 dedication and previous buffers.
1b36ed6a
MR
8860 (switch-to-prev-buffer): Don't delete window.
8861 (delete-windows-on): Delete a window's frame if and only if the
8862 window is dedicated.
8863 (replace-buffer-in-windows): Delete buffer's window or frame if
8864 and only if window is dedicated.
8865 (quit-window): Handle quit-restore as before last change.
4d61f28d 8866 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 8867
ef8ef9fb
CY
88682011-09-13 Chong Yidong <cyd@stupidchicken.com>
8869
8870 * window.el (window-deletable-p): Never delete the last frame on a
8871 given terminal.
8872
b2cba41e
GM
88732011-09-13 Glenn Morris <rgm@gnu.org>
8874
8875 * help.el (describe-key-briefly): Copy previous standard-output change.
8876
51553db6 88772011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
8878
8879 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
8880
b7556719
GM
88812011-09-13 Glenn Morris <rgm@gnu.org>
8882
8883 * emacs-lisp/lisp-mode.el (lisp-indent-function):
8884 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
8885
64b51947
CY
88862011-09-12 Chong Yidong <cyd@stupidchicken.com>
8887
8888 * dired-aux.el (dired-mark-read-string): Don't return default
8889 value on empty input (Bug#9361).
8890 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
8891 Omit initial minibuffer contents.
8892 (dired-do-chmod): Signal an error on empty input.
8893 (dired-mark-read-string): Don't return default on empty input.
8894
8895 * files.el (file-modes-symbolic-to-number): Doc fix.
8896
393a301e
SM
88972011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8898
8899 * international/mule-cmds.el (ucs-completions): Remove.
8900 (read-char-by-name): Use complete-with-action instead; add metadata.
8901
fa5660f9
CY
89022011-09-11 Chong Yidong <cyd@stupidchicken.com>
8903
8904 * window.el (display-buffer--action-function-custom-type)
8905 (display-buffer--action-custom-type): New vars.
8906 (display-buffer-alist, display-buffer-default-action)
8907 (display-buffer-overriding-action): Add defcustom types.
8908
4a592f66
CY
8909 * frame.el (delete-other-frames): Doc fix (Bug#276).
8910
73d56dbd
LMI
89112011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8912
8913 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8914
37ac18a3
CY
89152011-09-11 Chong Yidong <cyd@stupidchicken.com>
8916
8917 Change modes that used same-window-* vars to use switch-to-buffer.
8918
8919 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8920 Use switch-to-buffer.
8921
8922 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
8923 (customize-browse, custom-buffer-create-other-window):
8924 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
8925
8926 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8927 (Info-prev, Info-up, Info-speedbar-goto-node)
8928 (info-display-manual): Use switch-to-buffer.
8929 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8930
8931 * mail/sendmail.el (mail): Use switch-to-buffer.
8932 (mail-recover): Use switch-to-buffer-other-window.
8933
8934 * cmuscheme.el (run-scheme, switch-to-scheme):
8935 * ielm.el (ielm):
8936 * shell.el (shell):
8937 * net/rlogin.el (rlogin):
8938 * net/telnet.el (telnet, rsh):
8939 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8940
10195bd6
AS
89412011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8942
8943 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8944
b322f63a
LMI
89452011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8946
39d7fed6
LMI
8947 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8948 so don't mention it (bug#9301).
ba5a81f1 8949 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 8950
ee0e9f11
LMI
8951 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8952 match `x', `w32' and `ns', like the manual says (bug#9029).
8953
0b1c89c1 8954 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
8955 (process-kill-buffer-query-function): Mention the buffer name in
8956 the query.
0b1c89c1 8957
77549ea8
LMI
8958 * image-mode.el (image-next-line): The line parameter is mandatory
8959 (bug#9258).
8960
803ef892
LMI
8961 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8962 which can be useful (bug#9301).
8963
12980837
LMI
8964 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8965
91054f8f
LMI
8966 * subr.el (match-string): Mention that the current buffer should
8967 be the same as the search was done in (bug#9282).
8968
b322f63a
LMI
8969 * facemenu.el: Disable the remove-* commands if the mark isn't
8970 active (bug#9162).
8971
3199b96f
CY
89722011-09-10 Chong Yidong <cyd@stupidchicken.com>
8973
8974 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8975 of display-buffer.
8976 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8977
8978 * replace.el (occur-mode-goto-occurrence)
8979 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8980 and display-buffer.
8981
8982 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8983 display-buffer.
8984
8985 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8986 special-display and same-window variables.
8987 (mail-other-window): Use switch-to-buffer-other-window.
8988 (mail-other-frame): USe switch-to-buffer-other-frame.
8989
393a301e
SM
8990 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8991 Use display-buffer-other-frame.
3199b96f
CY
8992 (gdb-display-gdb-buffer): Use pop-to-buffer.
8993
8994 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8995
8996 * progmodes/python.el: Don't set same-window-buffer-names.
8997
8998 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8999
9000 * window.el (display-buffer-alist): Add *Python*.
9001
8319e0bf
CY
90022011-09-10 Chong Yidong <cyd@stupidchicken.com>
9003
9004 * window.el (display-buffer-alist): Add entry for buffers
9005 previously handled same-window-*.
9006 (display-buffer-alist, display-buffer-default-action)
9007 (display-buffer-overriding-action): Mark as risky.
9008 (display-buffer-alist): Document action function changes.
9009 (display-buffer--same-window-action)
9010 (display-buffer--other-frame-action): New variables.
9011 (switch-to-buffer, display-buffer-other-frame): Use them.
9012 (display-buffer): Rename reuse-frame entry to reusable-frames.
9013 (display-buffer-reuse-selected-window): Function deleted.
9014 (display-buffer-reuse-window): Handle reusable-frames alist entry.
9015 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
9016 (display-buffer-special): New function.
9017 (display-buffer--maybe-pop-up-frame-or-window): Rename from
9018 display-buffer-reuse-or-pop-window. Split off special-display
9019 part into display-buffer-special.
9020 (display-buffer-use-some-window): Don't perform any special
9021 pop-up-frames handling.
9022 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 9023 (display-buffer--maybe-same-window): Rename from
0d3ff375 9024 display-buffer-maybe-same-window.
8319e0bf 9025
919a69aa
CY
9026 * info.el: Don't set same-window-regexps.
9027 (info-setup): New function.
9028 (info-other-window, info): Call it.
9029
9030 * cus-edit.el: Don't set same-window-regexps.
9031 (customize-group): New argument.
9032 (customize-group-other-window): Use it.
9033 (customize-face, customize-face-other-window): Likewise.
9034 (custom-buffer-create-other-window): Use pop-to-buffer directly.
9035
8319e0bf
CY
9036 * net/rlogin.el:
9037 * net/telnet.el:
9038 * progmodes/gud.el: Don't set same-window-regexps.
9039
9040 * cmuscheme.el:
9041 * ielm.el:
9042 * shell.el:
9043 * mail/sendmail.el:
9044 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
9045
25173000
JL
90462011-09-10 Juri Linkov <juri@jurta.org>
9047
9048 * isearch.el (isearch-edit-string): Remove obsolete mention of
9049 `C-w' (`isearch-yank-word-or-char') from docstring.
9050 (isearch-query-replace): Fix typo in docstring (bug#9466).
9051
056e44ef
JL
90522011-09-10 Juri Linkov <juri@jurta.org>
9053
9054 * paren.el (show-paren-function): Don't show escaped parens.
9055 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
9056
c3760c17
EZ
90572011-09-10 Eli Zaretskii <eliz@gnu.org>
9058
9059 * mail/sendmail.el (mml-to-mime, mml-attach-file)
9060 (mm-default-file-encoding): Remove autoload forms, they are
9061 replaced with autoload cookies in mml.el and mm-encode.el.
9062 (mail-add-attachment): New command.
9063 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
9064 (mail-mode): Mention mail-insert-file and mail-add-attachment in
9065 the doc string.
9066 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
9067
fece895e
RT
90682011-09-10 Reuben Thomas <rrt@sc3d.org>
9069
e69df516
SM
9070 * simple.el (count-words-region): Use buffer if there's no region
9071 (bug#9429).
fece895e 9072
5e68ce4a
JL
90732011-09-09 Juri Linkov <juri@jurta.org>
9074
9075 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
9076 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
9077 (wdired-isearch-filter-read-only): New function. (Bug#6362)
9078
0a6b9622
AM
90792011-09-09 Alan Mackenzie <acm@muc.de>
9080
9081 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
9082 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
9083
14a29deb
EZ
90842011-09-09 Eli Zaretskii <eliz@gnu.org>
9085
9086 Fix for Savannah bug#9392.
9087 * simple.el (mail-encode-mml): New defvar.
9088
9089 * mail/rmail.el (mail-encode-mml): Add a defvar.
9090 (rmail-enable-mime-composing): Default to t.
9091 (rmail-forward): Use MIME method of forwarding only if both
9092 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
9093 Set mail-encode-mml non-nil if the MIME method was used.
9094
9095 * mail/sendmail.el (mml-to-mime): Add autoload form.
9096 (mail-encode-mml): Add a defvar.
9097 (mail-mode): Make mail-encode-mml buffer-local and initialize it
9098 to nil.
9099 (mail-send): If mail-encode-mml is non-nil, run the outgoing
9100 message through mml-to-mime, and reset mail-encode-mml to nil.
9101
28c45130
GM
91022011-09-09 Glenn Morris <rgm@gnu.org>
9103
9104 * woman.el (woman-if-body): When processing an .el block,
9105 do not delete the next .el block as well. (Bug#9447)
69f4b618 9106 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 9107
9b1c252e
MR
91082011-09-08 Martin Rudalics <rudalics@gmx.at>
9109
9110 * window.el (window-deletable-p): Make sure window is live before
9111 invoking window-prev-buffers.
9112
567457e3
LL
91132011-09-08 Leo Liu <sdl.web@gmail.com>
9114
9115 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
9116
97f05794
JL
91172011-09-08 Juri Linkov <juri@jurta.org>
9118
9119 * progmodes/compile.el (compilation-environment): Make it
9120 a defcustom (bug#8340).
9121
8b0874b5
MR
91222011-09-08 Martin Rudalics <rudalics@gmx.at>
9123
9124 * window.el (frame-auto-delete): Rename to window-auto-delete.
9125 Make it control auto-deletion of windows and/or frames.
9126 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 9127 for deleting window/frame. (Bug#9419)
8b0874b5
MR
9128 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
9129 Rewrite handling of case when window/frame can be deleted.
9130 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 9131 argument t. (Bug#9456)
8b0874b5 9132
4feb6e73
CY
91332011-09-07 Chong Yidong <cyd@stupidchicken.com>
9134
9135 * help-mode.el (help-mode): Restore autoload.
9136
91ab9c13
JL
91372011-09-07 Juri Linkov <juri@jurta.org>
9138
9139 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
9140 `compilation-environment'. Set buffer-local
9141 `compilation-environment' to `thisenv' later after (funcall mode).
9142 (Bug#8340)
9143
9144 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
9145 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
9146 instead of replacing its value. (Bug#8340)
9147
0527e251
JL
91482011-09-07 Juri Linkov <juri@jurta.org>
9149
9150 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
9151 based on text properties put by `grep-filter' instead of matching
9152 escape sequences.
9153 (grep-mode): Set buffer-local `compilation-error-screen-columns'
9154 to the value of `grep-error-screen-columns' (bug#9438).
9155
249f792c
JL
91562011-09-07 Juri Linkov <juri@jurta.org>
9157
9158 * simple.el (next-error-highlight, next-error-highlight-no-select):
9159 Doc fix (bug#9432).
9160
ff7271b9
OT
91612011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
9162
9163 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9164 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
9165
183fc730
LL
91662011-09-07 Leo Liu <sdl.web@gmail.com>
9167
9168 * net/rcirc.el (rcirc-mode): Conditionally initialize
9169 rcirc-input-ring.
9170
77694924
SM
91712011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9172
9173 * emacs-lisp/find-func.el (find-function-C-source): Only set
9174 find-function-C-source-directory after checking that we found a source
9175 file there (bug#9440).
9176
d809b8eb
AM
91772011-09-06 Alan Mackenzie <acm@muc.de>
9178
9179 * isearch.el (isearch-other-meta-char): Wherever a key list is
9180 unread, "unread" the prefix arg, too. This fixes bug #8901.
9181
453de99f
OG
91822011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9183
9184 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
9185
90439906
JL
91862011-09-05 Juri Linkov <juri@jurta.org>
9187
9188 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
9189
f62bd846
JL
91902011-09-05 Juri Linkov <juri@jurta.org>
9191
9192 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
9193 keeping point where processing of grep matches begins, and
9194 continue to delete remaining escape sequences from the same point.
9195 (grep-filter): Make leading zero optional in "0?1;31m" because
9196 git-grep emits "\033[1;31m" escape sequences unlike expected
9197 "\033[01;31m" as GNU Grep does (bug#9408).
9198 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
9199
045820ec
JL
92002011-09-05 Juri Linkov <juri@jurta.org>
9201
9202 * subr.el (y-or-n-p): Capitalize "yes".
9203
f5e29b9b
MA
92042011-09-04 Michael Albinus <michael.albinus@gmx.de>
9205
9206 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
9207 `tramp-cache-unload-hook' where appropriate.
9208 (tramp-methods): Rename `tramp-remote-sh' to
9209 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
9210 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
9211
9212 * net/tramp-sh.el (top): Don't require 'shell.
9213 (tramp-methods): Add `tramp-remote-shell' and
9214 `tramp-remote-shell-args' entries.
9215 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
9216 (tramp-sh-handle-shell-command): Remove.
9217 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9218 Use `tramp-remote-shell'.
9219
2784c434
CY
92202011-09-03 Chong Yidong <cyd@stupidchicken.com>
9221
393a301e 9222 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
9223 (sendmail-query-once): Save directly to send-mail-function.
9224 Update message-send-mail-function too.
9225
9226 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
9227
464cdf56
CS
92282011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9229
9230 * progmodes/python.el (python-mode-map): Use correct function to
9231 start python interpreter from menu-bar (as reported by Geert
9232 Kloosterman).
9233 (inferior-python-mode-map): Fix typo.
393a301e 9234 (python-shell-map): Remove.
464cdf56 9235
d37e5c87
DD
92362011-09-03 Deniz Dogan <deniz@dogan.se>
9237
9238 * net/rcirc.el (rcirc-print): Simplify code for
9239 rcirc-scroll-show-maximum-output. There is no need to walk
9240 through all windows to find the right one.
9241
f3ada0ee
CS
92422011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9243
9244 * help.el (help-return-method): Doc fix.
9245
1f3c99ca
MR
92462011-09-03 Martin Rudalics <rudalics@gmx.at>
9247
9248 * window.el (window-deletable-p): Don't return a non-nil value
9249 when there's a buffer that was shown in the window before.
9250 (Bug#9419)
393a301e
SM
9251 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9252 Set window's previous buffers to nil.
1f3c99ca 9253
a3cf097f
EZ
92542011-09-03 Eli Zaretskii <eliz@gnu.org>
9255
9256 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
9257 newline before and after the tag line, so it doesn't interfere
9258 with determining the paragraph direction of bidirectional text.
9259
3d03de90
LL
92602011-09-03 Leo Liu <sdl.web@gmail.com>
9261
9262 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
9263
c3313451
CY
92642011-09-02 Chong Yidong <cyd@stupidchicken.com>
9265
393a301e 9266 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
9267 (pop-to-buffer): Change interactive spec. Pass second argument
9268 directly to display-buffer.
9269 (display-buffer): Fix interactive spec. Use functionp to
9270 distinguish between a function and a list of functions.
9271
9272 * abbrev.el (edit-abbrevs):
9273 * arc-mode.el (archive-extract):
9274 * autoinsert.el (auto-insert):
9275 * bookmark.el (bookmark-bmenu-list):
9276 * files.el (find-file):
9277 * view.el (view-buffer):
9278 * progmodes/compile.el (compilation-goto-locus):
9279 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
9280
89894cd8
CY
92812011-09-02 Chong Yidong <cyd@stupidchicken.com>
9282
9283 * window.el (display-buffer-alist): Doc fix.
9284 (display-buffer): Add docstring. Don't treat
9285 display-buffer-default specially.
9286 (display-buffer-reuse-selected-window)
9287 (display-buffer-same-window, display-buffer-maybe-same-window)
9288 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9289 (display-buffer-pop-up-window)
9290 (display-buffer-reuse-or-pop-window)
9291 (display-buffer-use-some-window): New functions.
9292 (display-buffer-default-action): Use them.
393a301e 9293 (display-buffer-default): Delete.
89894cd8
CY
9294 (pop-to-buffer-1): Fix choice of actions.
9295
ae0bc9fb
SM
92962011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
9297
9298 * minibuffer.el (completion--insert-strings): Don't get confused by
9299 completion entries that end with an LF char.
9300
e9d90883
EZ
93012011-09-01 Eli Zaretskii <eliz@gnu.org>
9302
9303 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
9304
437014c8
CY
93052011-09-01 Chong Yidong <cyd@stupidchicken.com>
9306
9307 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
9308 (display-buffer-same-window, display-buffer-other-window):
9309 New functions.
437014c8
CY
9310 (pop-to-buffer-1): New function. Use the above.
9311 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 9312 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
9313
9314 * view.el (view-buffer-other-window, view-buffer-other-frame):
9315 Just use pop-to-buffer.
9316
a5e063d5
TV
93172011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9318
9319 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
9320
793d32bb
WH
93212011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
9322
9323 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
9324
d65e4c15
RS
93252011-08-31 Richard Stallman <rms@gnu.org>
9326
9327 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
9328 of the separation of rmail-view-buffer from rmail-buffer.
9329 If you say no to "replace original", the decrypt is in the
9330 view buffer. If you say yes, the decrypt goes into the
9331 rmail buffer also.
9332
f818cd2a
MR
93332011-08-31 Martin Rudalics <rudalics@gmx.at>
9334
9335 * window.el (display-buffer-window): Rewrite doc-string.
9336 (display-buffer-record-window): New function.
9337 (display-buffer-macro-specifiers)
9338 (display-buffer-even-window-sizes, display-buffer-set-height)
9339 (display-buffer-set-width, display-buffer-in-window)
9340 (display-buffer-reuse-window, display-buffer-split-specifiers)
9341 (display-buffer-side-specifiers, display-buffer-split-window-1)
9342 (display-buffer-split-window, display-buffer-split-atom-window)
9343 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9344 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
9345 (display-buffer-other-window-means-other-frame)
9346 (display-buffer-normalize-special)
9347 (display-buffer-normalize-default)
9348 (display-buffer-normalize-argument)
9349 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
9350 (display-buffer-normalize-specifiers, display-buffer-frame)
9351 (display-buffer-same-window, display-buffer-same-frame)
9352 (display-buffer-other-window)
9353 (display-buffer-same-frame-other-window)
9354 (display-buffer-other-frame, pop-to-buffer-same-window)
9355 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
9356 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
9357 (switch-to-buffer-same-frame)
9358 (switch-to-buffer-other-window-same-frame)
9359 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
9360 (display-buffer-alist-set-1, display-buffer-alist-set-2)
9361 (display-buffer-alist-set): Remove.
9362 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
9363 (special-display-regexps, special-display-function):
9364 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
9365 parameter.
9366 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9367 (special-display-frame-alist, special-display-popup-frame)
9368 (same-window-buffer-names, same-window-regexps, same-window-p)
9369 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9370 (split-window-preferred-function, split-height-threshold)
9371 (split-width-threshold, window-splittable-p)
9372 (split-window-sensibly, window--try-to-split-window)
9373 (window--frame-usable-p, even-window-heights)
9374 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
9375 (window--display-buffer-2, display-buffer-other-frame):
9376 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
9377 (display-buffer-default, display-buffer-assq-regexp): New functions.
9378 (display-buffer-alist): Rewrite doc-string.
9379 (display-buffer-default-action)
9380 (display-buffer-overriding-action): New variables.
9381 (display-buffer, switch-to-buffer): Rewrite.
9382 (pop-to-buffer): Restore Emacs 23 behavior but use
9383 window-normalize-buffer-to-display.
9384 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9385 Restore Emacs 23 behavior but use
9386 window-normalize-buffer-to-switch-to.
9387 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
9388 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9389 Rewrite using Emacs 23 options.
f818cd2a 9390
5bc3b51d
MA
93912011-08-31 Michael Albinus <michael.albinus@gmx.de>
9392
9393 * net/tramp.el (tramp-root-regexp): Remove.
9394 (tramp-completion-file-name-regexp-unified)
9395 (tramp-completion-file-name-regexp-separate)
9396 (tramp-completion-file-name-regexp-url): Don't use leading volume
9397 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
9398 (tramp-drop-volume-letter): Simplify definition.
9399 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 9400
b1a4f8e1
SM
94012011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
9402
9403 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9404 (bug#9356).
9405
5664fa7b
RT
94062011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
9407
b1a4f8e1 9408 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 9409
9a45d6c3
JL
94102011-08-29 Juri Linkov <juri@jurta.org>
9411
9412 * isearch.el (isearch-done): Don't display message "Mark saved"
9413 when arg `edit' is non-nil to prevent its flicker in the echo area.
9414
fb87e0fb
CY
94152011-08-28 Chong Yidong <cyd@stupidchicken.com>
9416
9417 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9418 obsolete packages for deletion.
9419
09ac1c2a
CS
94202011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
9421
9422 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 9423 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
9424 view-mode from help-mode.
9425 (help-xref-override-view-map): Remove.
9426 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9427 view-mode is not used anymore.
9428
7a1ff57f
CY
94292011-08-28 Chong Yidong <cyd@stupidchicken.com>
9430
9431 * server.el (server-port): Doc fix.
9432
b9696605
CY
9433 * cus-theme.el (custom-theme-choose-mode): Inherit from
9434 special-mode (Bug#9124).
9435 (custom-theme-choose-mode-map): Add special-mode to parent.
9436
ef8cdf8c
AM
94372011-08-28 Alan Mackenzie <acm@muc.de>
9438
9439 * progmodes/cc-fonts.el
9440 (c-make-font-lock-BO-decl-search-function): New function.
9441 (c-basic-matchers-after - "Fontify the clauses after various
9442 keywords"): Extract the three keyword lists for the 3 erroneous
9443 constructs from the list of four, and use the new function above
9444 in place of an old one.
9445
27de4e20
DD
94462011-08-28 Deniz Dogan <deniz@dogan.se>
9447
9448 * net/rcirc.el (rcirc-insert-prev-input)
9449 (rcirc-insert-next-input): Remove unused argument.
9450
356a3681
SM
94512011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9452
9453 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9454
3fc9b218
AM
94552011-08-27 Alan Mackenzie <acm@muc.de>
9456
9457 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9458 handle function pointer parameters properly.
9459
538a061c
MR
94602011-08-27 Martin Rudalics <rudalics@gmx.at>
9461
9462 * window.el (display-buffer-reuse-window): Fix case where
9463 selected window was reused with non-nil OTHER-WINDOW argument.
9464 (Bug#9381)
9465
35b1c40c
DD
94662011-08-27 Deniz Dogan <deniz@dogan.se>
9467
9468 * net/rcirc.el (rcirc-check-auth-status): Adding support for
9469 oftc's NickServ messages.
9470
2f6a3e79
GM
94712011-08-27 Glenn Morris <rgm@gnu.org>
9472
9473 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
9474
7254299e
CY
94752011-08-26 Chong Yidong <cyd@stupidchicken.com>
9476
9477 * emacs-lisp/package.el (package-install): Call package-initialize
9478 if called interactively.
9479
f8ccf167
LL
94802011-08-26 Leo Liu <sdl.web@gmail.com>
9481
9482 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
9483
3e8cd5ce
JL
94842011-08-25 Juri Linkov <juri@jurta.org>
9485
9486 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9487 `search-whitespace-regexp' (bug#9364).
9488
93eb7113
JL
94892011-08-25 Juri Linkov <juri@jurta.org>
9490
9491 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9492 `regexp-search-ring' to their global values to protect from
9493 updating by `read-from-minibuffer' (bug#9185).
9494
f65d1611
JL
94952011-08-25 Juri Linkov <juri@jurta.org>
9496
9497 * textmodes/ispell.el (ispell-command-loop): Add newline
9498 at the end of the "Use option `i'..." line.
9499
f1cf7a31
JL
95002011-08-25 Juri Linkov <juri@jurta.org>
9501
9502 * battery.el (display-battery-mode): If `battery-status-function'
9503 or `battery-mode-line-format' is nil, display the message and set
9504 `display-battery-mode' to nil (bug#9363).
9505
0c95fcf7
EZ
95062011-08-25 Eli Zaretskii <eliz@gnu.org>
9507
9508 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9509 bidi-string-mark-left-to-right; they are unnecessary now.
9510
a2ebe600
DD
95112011-08-25 Deniz Dogan <deniz@dogan.se>
9512
9513 * net/quickurl.el: Documentation typo fixes.
9514
e4ed06f1
CY
95152011-08-25 Chong Yidong <cyd@stupidchicken.com>
9516
9517 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9518
e5f1c99e
GM
95192011-08-25 Glenn Morris <rgm@gnu.org>
9520
b2948976
GM
9521 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9522
e5f1c99e
GM
9523 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9524 (smtpmail-via-smtp): Handle nil response from smtp.
9525
f22f4808
JL
95262011-08-24 Juri Linkov <juri@jurta.org>
9527
9528 * proced.el (proced-marked): Inherit from `error' instead of
9529 `font-lock-warning-face'.
9530
9531 * ibuffer.el (ibuffer-marked-face): Change default face from
9532 `font-lock-warning-face' to `warning'.
9533 (ibuffer-deletion-face): Change default face from
9534 `font-lock-type-face' to `error'.
9535
9536 * battery.el (battery-update): Use the face `error' instead of
9537 `font-lock-warning-face' (bug#6117).
9538
6a93965e
JL
95392011-08-24 Juri Linkov <juri@jurta.org>
9540
9541 * faces.el (success): Change face color from "Green3" to
9542 "ForestGreen" on light background (bug#9353).
9543
1ed43b09
CY
95442011-08-24 Chong Yidong <cyd@stupidchicken.com>
9545
5664fa7b
RT
9546 * window.el (quit-window): Rename from quit-restore-window.
9547 Use same arglist as old quit-window.
1ed43b09
CY
9548 (frame-auto-delete): Doc fix.
9549
9550 * view.el (view-mode-exit): Use quit-window.
9551
11dcdbb2
JL
95522011-08-24 Juri Linkov <juri@jurta.org>
9553
9554 * isearch.el (isearch-ring-adjust1): Start visiting previous
9555 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9556 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9557 for empty search string (when the last search string is reused
9558 automatically) to adjust the isearch ring to the last element and
9559 prepare the correct index for further M-p commands (bug#9185).
9560
de62b4df
KH
95612011-08-24 Kenichi Handa <handa@m17n.org>
9562
9563 * international/ucs-normalize.el: If decomposition property of
9564 CHAR is the default one (i.e. a list of CHAR itself), treat it as
9565 nil.
9566 (nfd, nfkd): Likewise.
9567
963b492b
SM
95682011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
9569
9570 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9571 from process filters aren't reliably transmitted to the surrounding
9572 accept-process-output.
9573 (mpc-proc-check): New function.
9574 (mpc-proc-sync): Use it (bug#8293)
9575
93b6b5e1
SM
95762011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9577
9578 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
9579 Add compatibility functions (bug#9313).
9580
bca633fb
EZ
95812011-08-23 Eli Zaretskii <eliz@gnu.org>
9582
b177498a
EZ
9583 * cus-start.el (all): Add entry for bidi-paragraph-direction.
9584
6df6ae42 9585 * international/uni-bidi.el: Regenerate.
bca633fb 9586
0902a04e
KH
95872011-08-23 Kenichi Handa <handa@m17n.org>
9588
9589 * international/charprop.el:
9590 * international/uni-bidi.el:
9591 * international/uni-category.el:
9592 * international/uni-combining.el:
9593 * international/uni-comment.el:
9594 * international/uni-decimal.el:
9595 * international/uni-decomposition.el:
9596 * international/uni-digit.el:
9597 * international/uni-lowercase.el:
9598 * international/uni-mirrored.el:
9599 * international/uni-name.el:
9600 * international/uni-numeric.el:
9601 * international/uni-old-name.el:
9602 * international/uni-titlecase.el:
9603 * international/uni-uppercase.el: Regenerate.
9604
3bbf23bc
MR
96052011-08-23 Martin Rudalics <rudalics@gmx.at>
9606
9607 * help.el (help-window-setup): Fix message displayed when other
9608 window is reused. (Bug#9341)
9609
b3fd59bd
SM
96102011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9611
1802e444
SM
9612 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9613 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9614
b3fd59bd
SM
9615 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9616 Mark obsolete.
9617 * shell.el (shell-parse-pcomplete-arguments): New function.
9618 (shell-completion-vars): Use it instead (bug#9160).
9619
4eb61348
SM
96202011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9621
867cab74
SM
9622 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9623 strings and comments (bug#9333).
9624
4eb61348
SM
9625 * emacs-lisp/debug.el (debug-arglist): New function.
9626 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
9627 (debug-on-entry-1): Handle interpreted closures (bug#9120).
9628
262a1439
JL
96292011-08-22 Juri Linkov <juri@jurta.org>
9630
56ee679c
JL
9631 * progmodes/compile.el (compilation-mode-font-lock-keywords):
9632 Revert regexp that highlights output switches to its old
9633 pre-2010-10-28 value and remove one `?' from it (bug#9319).
9634
262a1439
JL
9635 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9636 to check for empty output (bug#9226).
9637
f13f86fb
CY
96382011-08-22 Chong Yidong <cyd@stupidchicken.com>
9639
9640 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9641 symbol-constituent as the default, as that stops font-lock from
9642 working properly (Bug#8843).
9643
c65c9622
LMI
96442011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9645
9646 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9647 `coding-system-for-*' around the process open call to avoid
9648 auth-source side effects.
e7f2c178 9649 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
9650 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9651 probe hangs.
c65c9622 9652
23a8a5ab
CY
96532011-08-21 Chong Yidong <cyd@stupidchicken.com>
9654
ff98b2dd
CY
9655 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9656
23a8a5ab
CY
9657 * emacs-lisp/find-func.el (find-function-noselect): New arg
9658 lisp-only.
9659
9660 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9661 signal an error for built-in functions (Bug#6664).
9662
f5e3c598
LMI
96632011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9664
9665 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9666 (smtpmail-try-auth-methods): Use it.
9667
a3f2468a
CY
96682011-08-21 Chong Yidong <cyd@stupidchicken.com>
9669
2c34e8da
CY
9670 * font-lock.el (font-lock-fontify-region)
9671 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9672 (font-lock-default-unfontify-buffer)
9673 (font-lock-default-fontify-region)
9674 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9675
b3fd59bd
SM
9676 * progmodes/compile.el (compilation-error-properties):
9677 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
9678 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9679 `ant' regexp.
ee31aabc 9680
a3f2468a
CY
9681 * net/browse-url.el (browse-url-firefox): Don't call
9682 browse-url-firefox-sentinel unless using -remote (Bug#9328).
9683
8e999f70
GM
96842011-08-20 Glenn Morris <rgm@gnu.org>
9685
c21a496a
GM
9686 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9687
59ee0542
GM
9688 * tutorial.el (tutorial--default-keys): Update some default bindings.
9689
8e999f70
GM
9690 * files.el (hack-local-variables): Fully ignore case for "mode:".
9691
e3715033
AM
96922011-08-20 Alan Mackenzie <acm@muc.de>
9693
9694 Resolve invalid use of a regexp in regexp-opt.
9695
4d61f28d
JB
9696 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9697 detection for a java annotation.
e3715033 9698
4d61f28d 9699 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
9700 detection for a java annotation.
9701
4d61f28d
JB
9702 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9703 handling for java.
e3715033
AM
9704 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9705
04ed2e9c
CY
97062011-08-20 Chong Yidong <cyd@stupidchicken.com>
9707
9708 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9709 (Bug#9274).
9710
826cee64
AM
97112011-08-20 Alan Mackenzie <acm@muc.de>
9712
58179cce 9713 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
9714 such a construct. Mainly for when jit-lock etc. starts a chunk
9715 here.
9716
58179cce 9717 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 9718 variable.
58179cce 9719 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
9720 c-make-font-lock-search-function.
9721 (c-make-font-lock-search-function): Use the above function.
9722 (c-make-font-lock-context-search-function): New function.
9723 (c-cpp-matchers): Enhance the preprocessor expression case with
9724 the above function
9725 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9726 which takes an expression.
9727
9728 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9729
13009bd8
MR
97302011-08-20 Martin Rudalics <rudalics@gmx.at>
9731
9732 * window.el (display-buffer-reuse-window)
9733 (display-buffer-pop-up-window): Don't reuse or split a side
9734 window.
9735
9234ff7f
GM
97362011-08-19 Glenn Morris <rgm@gnu.org>
9737
9738 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 9739 Downcase "Mode:". (Bug#9331)
9234ff7f 9740
f635daa1
CY
97412011-08-18 Chong Yidong <cyd@stupidchicken.com>
9742
9743 * international/characters.el: Add L and R categories.
9744
9745 * subr.el (bidi-string-mark-left-to-right): Rename from
9746 string-mark-left-to-right. Use category search.
9747
9748 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9749
bc987f8b
JL
97502011-08-18 Juri Linkov <juri@jurta.org>
9751
9752 * faces.el (error, warning, success): New faces with definitions
9753 copied from old default values of `font-lock-warning-face',
9754 `compilation-warning', `compilation-info' (bug#6117).
9755
9756 * font-lock.el (font-lock-warning-face): Inherit from `error'.
9757
9758 * progmodes/compile.el (compilation-error): Inherit from `error'.
9759 (compilation-warning): Inherit from `warning'.
9760 (compilation-info): Inherit from `success'.
9761
9762 * dired.el (dired-marked): Inherit from `warning'.
9763 (dired-flagged): Inherit from `error'.
9764
57173b96
LMI
97652011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9766
3e79eb87
LMI
9767 * mail/smtpmail.el (auth-source): Require to avoid problems with
9768 binding variables (bug#9298). Also clean up some unused
9769 autoloads.
9770
b3fd59bd
SM
9771 * net/network-stream.el (network-stream-open-starttls):
9772 Support using starttls.el without using gnutls-cli.
57173b96 9773
02b404de
JL
97742011-08-17 Juri Linkov <juri@jurta.org>
9775
9776 * progmodes/grep.el (rgrep): Handle the case when
9777 `grep-find-command' is a cons cell (bug#9278).
9778
8c9177f2
MR
97792011-08-17 Martin Rudalics <rudalics@gmx.at>
9780
9781 * window.el (display-buffer-pop-up-frame): Run frame creation
9782 function with BUFFER current (as special-display-popup-frame
9783 does). Reported by Drew Adams.
9784
3644a0ab
DU
97852011-08-17 Daiki Ueno <ueno@unixuser.org>
9786
9787 * epa-mail.el: Simplify GnuPG group expansion using
9788 epg-expand-group.
9789 (epa-mail-group-alist, epa-mail-group-modtime)
9790 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9791 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9792 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9793 Remove.
9794
5e617bc2 97952011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
9796
9797 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9798
9c4aeabf
AM
97992011-08-16 Alan Mackenzie <acm@muc.de>
9800
9801 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9802 Correct, to avoid the inside of macros.
9803
3a99bf64
RS
98042011-08-16 Richard Stallman <rms@gnu.org>
9805
04963aa8
RS
9806 * epa-mail.el: Handle GnuPG group definitions.
9807 (epa-mail-group-alist, epa-mail-group-modtime)
9808 (epa-mail-gnupg-conf-file): New variables.
9809 (epa-mail-parse-groups, epa-mail-sync-groups)
9810 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9811 (epa-mail-expand-recipients): New functions.
9812 (epa-mail-encrypt): Call epa-mail-expand-recipients.
9813
177549d0
RS
9814 * mail/rmail.el (rmail-epa-decrypt): New command.
9815
fe38beef
RS
9816 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9817 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
9818 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
9819 (epa-decrypt-armor-in-region): Make error message clearer.
9820
934eacb9
SM
98212011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9822
9823 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
9824 and "a2b" to "ab" for `prefix'.
9825
d024fb4e
CY
98262011-08-14 Chong Yidong <cyd@stupidchicken.com>
9827
9828 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
9829 filter groups.
de148fee
CY
9830 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
9831 Fourquet (Bug#8804).
d024fb4e 9832
62f1ca49
JB
98332011-08-12 Juanma Barranquero <lekktu@gmail.com>
9834
9835 * startup.el (argi): Declare as global variable (bug#9275).
9836
9ccaaa4b
CY
98372011-08-12 Chong Yidong <cyd@stupidchicken.com>
9838
9839 * subr.el (string-mark-left-to-right): Search the entire string
9840 for RTL script, not just the terminating character. Doc fix.
9841
a3dae87a
SM
98422011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9843
6cd18349
SM
9844 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
9845 New function.
9846 (js--regexp-literal, js-syntax-propertize-function): Remove.
9847 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
9848 (js-mode-map): Don't rebind electric keys.
9849 (js-insert-and-indent): Remove.
9850 (js-mode): Setup electric-layout and electric-indent instead.
9851
a3dae87a
SM
9852 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
9853
9d5cb631
DU
98542011-08-12 Daiki Ueno <ueno@unixuser.org>
9855
9856 * epa.el (epa-progress-callback-function): Fix the logic of
9857 displaying progress.
9858 * epa-file.el (epa-file-insert-file-contents): Make progress
9859 display more user-friendly.
9860 (epa-file-write-region): Ditto.
9861
3e26a4a2
CY
98622011-08-10 Chong Yidong <cyd@stupidchicken.com>
9863
9864 * subr.el (string-mark-left-to-right): New function.
9865
9866 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
9867 Use string-mark-left-to-right.
9868 (list-buffers-noselect): Caller changed.
9869
a3dae87a
SM
9870 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9871 Use string-mark-left-to-right.
3e26a4a2
CY
9872 (tabulated-list-print): Recenter after moving point.
9873
ac8cf6e6
JL
98742011-08-10 Juri Linkov <juri@jurta.org>
9875
9876 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
9877 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
9878 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
9879
8d96c9a4
CY
98802011-08-09 Chong Yidong <cyd@stupidchicken.com>
9881
9882 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
9883 (Bug#7554).
9884
7be1c708 98852011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
9886
9887 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
9888 character. (Bug#6594)
9889
37e11a63
CY
98902011-08-08 Chong Yidong <cyd@stupidchicken.com>
9891
839dde57
CY
9892 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
9893 (image-dired--with-db-file): New macro.
9894 (image-dired-write-tags, image-dired-remove-tag)
9895 (image-dired-create-gallery-lists, image-dired-write-comments)
9896 (image-dired-get-comment, image-dired-mark-tagged-files)
9897 (image-dired-list-tags, image-dired-gallery-generate): Use it.
9898 (image-dired-gallery-generate): Use insert-file-contents.
9899
37e11a63
CY
9900 * time.el (display-time-world-list, display-time-world-display):
9901 * time-stamp.el (time-stamp-string):
9902 * vc/add-log.el (add-change-log-entry): Use setenv instead of
9903 set-time-zone-rule (Bug#7337).
9904
0b4946c4
DU
99052011-08-08 Daiki Ueno <ueno@unixuser.org>
9906
9907 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9908 (epg-error-to-string, epg-errors-to-string): New function.
9909 (epg-wait-for-completion): Reverse errors list.
9910 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9911 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9912 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9913 (epg-sign-keys, epg-generate-key-from-file)
9914 (epg-generate-key-from-string): Format errors by using
9915 epg-errors-to-string (bug#9255).
9916 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9917
75bfc667
JL
99182011-08-07 Juri Linkov <juri@jurta.org>
9919
9920 * faces.el (list-faces-display): Remove extra angle bracket
9921 from `help-mode-map'.
9922
9923 * info.el (Info-history-toc-nodes): Doc fix.
9924
9925 * longlines.el (longlines-mode): Doc fix.
9926
673e08bb
SM
99272011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9928
4640dd88
SM
9929 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9930 of statements and in a few more cases (bug#9183).
9931
673e08bb
SM
9932 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9933 New functions.
9934 (cl-transform-lambda): Use them (bug#9239).
9935
89b3f019
MR
99362011-08-05 Martin Rudalics <rudalics@gmx.at>
9937
9938 * window.el (display-buffer-same-window)
9939 (display-buffer-same-frame, display-buffer-other-window)
9940 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9941 (pop-to-buffer-other-window)
9942 (pop-to-buffer-same-frame-other-window)
9943 (pop-to-buffer-other-frame): Make them defuns.
9944 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9945
640c8776
SM
99462011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9947
9948 * subr.el (make-composed-keymap): Move from C. Change calling
9949 convention, and improve docstring to bring attention to a subtle point.
9950 * minibuffer.el (completing-read-default): Adjust accordingly.
9951
63648a95
MA
99522011-08-03 Michael Albinus <michael.albinus@gmx.de>
9953
9954 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9955 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9956
9957 * net/trampver.el: Update release number.
9958
b796c9b7
SM
99592011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9960
9961 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9962 "in" (bug#9190).
9963
2239d7d5
LMI
99642011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9965
e07dd7c3
LMI
9966 * mail/sendmail.el (sendmail-query-once): Restore the current
9967 buffer after querying (bug#9074).
9968
0e6a2bd7
LMI
9969 * dired.el (dired-flagged): Use different faces for marked and
9970 flagged files (bug#6117).
9971
ce887515
LMI
9972 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9973 (bug#4433).
9974
92f2affc
LMI
9975 * ido.el (ido-mode): Switch off the message if called
9976 non-interactively.
9977
57d5aff0
LMI
9978 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9979 before 587, since it appears that that's more likely to work for
9980 more people.
9981
98cd6c18 9982 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 9983 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
9984 exist.
9985
b96dec83
LMI
9986 * info.el: Remove the `Info-beginning-of-buffer' function
9987 (bug#8325).
9988
b796c9b7
SM
9989 * net/network-stream.el (network-stream-open-starttls):
9990 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 9991
d90e2ea0
MR
99922011-08-01 Martin Rudalics <rudalics@gmx.at>
9993
9994 * window.el (display-buffer-in-window): Don't set dedicated status
9995 of window here (Bug#9215).
9996 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9997 (display-buffer-pop-up-side-window)
b796c9b7 9998 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 9999
cca09170
SM
100002011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10001
10002 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
10003 before binding generated-autoload-file.
10004
027b979c
DD
100052011-08-01 Deniz Dogan <deniz@dogan.se>
10006
10007 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
10008
3c7ee4f3
MA
100092011-07-30 Michael Albinus <michael.albinus@gmx.de>
10010
10011 Sync with Tramp 2.2.2.
10012
10013 * net/trampver.el: Update release number.
10014
2cc8e51a
JL
100152011-07-30 Juri Linkov <juri@jurta.org>
10016
10017 * dired-aux.el (dired-touch-initial): Remove function.
10018 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
10019 current time, and `default' to the last modification time of the
10020 current marked file (bug#6887).
10021
a514d856
JM
100222011-07-28 Jose E. Marchesi <jemarch@gnu.org>
10023
10024 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 10025 numeric argument to read-number (bug#9163).
a514d856 10026
8a7eddd7
MA
100272011-07-27 Michael Albinus <michael.albinus@gmx.de>
10028
10029 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
10030 connection process, it could be nil.
10031
1ddd96f5
LL
100322011-07-27 Leo Liu <sdl.web@gmail.com>
10033
10034 Simplify url handling in rcirc-mode.
10035
10036 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
10037 (rcirc-browse-url-at-mouse): Remove.
10038 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
10039
b248a85d
AM
100402011-07-26 Alan Mackenzie <acm@muc.de>
10041
10042 Fontify bitfield declarations properly.
10043
10044 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
10045 (c-symbol-chars): Now exported as a lang variable.
10046 (c-not-primitive-type-keywords): New lang variable.
10047
10048 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
10049 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 10050 parsed as a bitfield declaration.
b248a85d 10051
b796c9b7
SM
10052 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10053 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
10054 (c-punctuation-in): New function.
10055 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
10056 declarations properly.
10057
68575ab0
UJ
100582011-07-26 Ulf Jasper <ulf.jasper@web.de>
10059
10060 * calendar/icalendar.el (icalendar--all-events): Take care of
10061 multiple vcalendars in a single file.
b796c9b7 10062 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 10063
0f0a88b9
DD
100642011-07-25 Deniz Dogan <deniz@dogan.se>
10065
10066 * image.el (insert-image): Clarifying docstring.
10067
0b3f36df
MA
100682011-07-24 Michael Albinus <michael.albinus@gmx.de>
10069
10070 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
10071 `tramp-send-command-and-check' if there is no error.
10072 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
10073
a9901f61
AM
100742011-07-22 Alan Mackenzie <acm@muc.de>
10075
10076 Prevent cc-langs.elc being loaded at run time.
10077
10078 * progmodes/cc-mode.el: Remove two autoload forms which loaded
10079 cc-langs.
10080
4d61f28d 10081 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
10082 "(require 'cc-langs)". Quote a form so it will evaluate at
10083 (cc-mode's) compilation time.
10084
11d074b2
MA
100852011-07-22 Michael Albinus <michael.albinus@gmx.de>
10086
10087 * net/tramp.el (tramp-file-name-handler): Avoid recursive
10088 loading. (Bug#9114)
10089
938b94c8
MR
100902011-07-21 Martin Rudalics <rudalics@gmx.at>
10091
10092 * window.el (display-buffer-pop-up-window)
10093 (display-buffer-pop-up-side-window)
10094 (display-buffer-in-side-window): Call display-buffer-set-height
10095 and display-buffer-set-width after setting the new window's
b796c9b7 10096 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 10097
bfa4f190
SS
100982011-07-20 Sam Steingold <sds@gnu.org>
10099
10100 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
10101 (etags-tags-included-tables): Call `convert-standard-filename' on
10102 the file names contained in TAGS so that windows Emacs can handle
10103 TAGS files created by cygwin ctags.
10104
8ca42262
LMI
101052011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
10106
10107 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
10108 which apparently didn't work.
10109
5db2afd2 101102011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 10111
5db2afd2
RW
10112 * proced.el (proced-send-signal): For *Marked Processes* buffer
10113 put point at beginning of buffer.
10114
92e15d10
SB
101152011-07-19 Stephen Berman <stephen.berman@gmx.net>
10116
10117 * proced.el (proced-format): Make header lines align with the text
10118 (bug#1779).
10119
1bfd59e5
LMI
101202011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10121
10122 * view.el (view-buffer): Allow running in `special' modes if we're
10123 visiting a file (bug#8615).
10124
f5aae37c
MR
101252011-07-19 Martin Rudalics <rudalics@gmx.at>
10126
10127 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
10128 (display-buffer-alist-set-1, display-buffer-alist-set-2):
10129 New functions.
f5aae37c
MR
10130 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
10131 more accurately.
10132
bf2c1571
AM
101332011-07-18 Alan Mackenzie <acm@muc.de>
10134
10135 Fontify declarators properly when, e.g., a jit-lock chunk begins
10136 inside a declaration.
10137
10138 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
10139
b796c9b7
SM
10140 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10141 New function.
bf2c1571
AM
10142 (c-complex-decl-matchers): Insert reference to
10143 c-font-lock-enclosing-decls.
10144
10145 * progmodes/cc-engine.el (c-backward-single-comment):
10146 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
10147 to nil around calls to (forward-comment -1).
10148
4e190b80
LMI
101492011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10150
12dc863d
LMI
10151 * image.el (put-image): Doc typo fix.
10152
a762e966
LMI
10153 * progmodes/etags.el (tags-search): Doc typo fix.
10154
4e190b80
LMI
10155 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
10156 password if we get errors 550 to 554.
10157
f019fb21
LMI
101582011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10159
b796c9b7 10160 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 10161
81746738
LMI
10162 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
10163 indentation character (bug#6380).
10164
3ee3a1b5
LMI
10165 * files.el (buffer-offer-save): Made permanently local (bug#6241).
10166
c82f64de
LMI
10167 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
10168 to clarify what the problem is (bug#4291).
10169
f019fb21
LMI
10170 * simple.el (current-kill): Clarify what
10171 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
10172 (auto-fill-mode): Document `auto-fill-function' in relation to
10173 `auto-fill-mode' (bug#2470).
f019fb21 10174
0794775d
LM
101752011-07-16 Lawrence Mitchell <wence@gmx.li>
10176
10177 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
10178 method if slot is read-only (bug#9035).
10179
be39b8cc
MR
101802011-07-16 Martin Rudalics <rudalics@gmx.at>
10181
b796c9b7 10182 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 10183 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
10184 selected before, see discussion of (Bug#8615), (Bug#6954).
10185 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 10186
6ccf7859
GM
101872011-07-15 Glenn Morris <rgm@gnu.org>
10188
10189 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 10190 Respect help-form.
6ccf7859 10191
87e86684
LM
101922011-07-09 Lawrence Mitchell <wence@gmx.li>
10193
10194 * net/gnutls.el (gnutls-min-prime-bits): New variable.
10195 (gnutls-negotiate): Use it.
10196
d6066239
LMI
101972011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10198
b796c9b7
SM
10199 * net/gnutls.el (gnutls-negotiate):
10200 Upcase `gnutls-algorithm-priority'.
d6066239 10201
bd23ebc0
GM
102022011-07-15 Glenn Morris <rgm@gnu.org>
10203
c65bca65
GM
10204 * jka-compr.el (jka-compr-verbose): Move from here...
10205 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
10206 Add missing :version tag.
10207 * info.el: No need to require jka-compr when compiling.
bd23ebc0 10208
478615cc
LMI
102092011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10210
7b41decb
LMI
10211 * net/gnutls.el (gnutls-algorithm-priority): New variable.
10212 (gnutls-negotiate): Use it.
10213
dbc44fcd
LMI
10214 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
10215
06789f97
LMI
10216 * info.el (Info-beginning-of-buffer): New command.
10217 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
10218 announcing `b' as the key (bug#8325).
ab896c37 10219 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 10220
c39da690
LMI
10221 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
10222
3aa5f34b
LMI
10223 * international/mule-cmds.el
10224 (describe-specified-language-support): Make the error message
10225 clearer (bug#8905).
10226
4bf0979f
LMI
10227 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
10228
478615cc
LMI
10229 * isearch.el (isearch-barrier): Add a doc string, since it's
10230 mentioned in a function doc string (bug#8678).
10231
75c68aa1
MR
102322011-07-15 Martin Rudalics <rudalics@gmx.at>
10233
10234 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
10235 buffer argument (Bug#9083) and self-identifying label argument.
10236
a7c33da2
GM
102372011-07-15 Glenn Morris <rgm@gnu.org>
10238
10239 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
10240
2f5c6024
LMI
102412011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10242
10243 * man.el (Man-fontify-manpage): Fix message when formatting the
10244 man page (bug#7929).
10245
0bb23927 102462011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
10247
10248 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
10249 argument LRM; if non-nil, append an invisible LRM character to the
10250 buffer name.
10251 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
10252 last argument non-nil, when formatting buffer names.
0bb23927
EZ
10253 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
10254 paragraph direction.
cce4b0a7 10255
621ef9ab
LMI
102562011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10257
d1583c48
LMI
10258 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
10259 the man page name (bug#7929).
10260
6a57fb5f
LMI
10261 * image.el (put-image): Mention the `put-image' overlay property
10262 (bug#7834).
10263
d7956b14
LMI
10264 * scroll-bar.el (set-scroll-bar-mode): Mention that
10265 `scroll-bar-mode' lists the values (bug#7772).
10266
5b2d4a66
LMI
10267 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
10268 command (bug#7729).
10269
7509a874
LMI
10270 * rect.el (apply-on-rectangle): Return the point after the last
10271 operation.
10272 (string-rectangle): Go to the point after the last operation
10273 (bug#7522).
10274
4fe74b19
LMI
10275 * printing.el (pr-toggle-region): Clarify the documentation
10276 slightly (bug#7493).
10277
b796c9b7
SM
10278 * time.el (display-time-update):
10279 Allow `display-time-mail-function' to return nil (bug#7158).
10280 Fix suggested by Detlev Zundel.
ab283561 10281
fc233c9d
LMI
10282 * vc/diff.el (diff): Clarify the order the file names are read
10283 (bug#7111).
10284
43f5740b
LMI
10285 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
10286 the doc string (bug#7015).
10287
f2182a76
LMI
10288 * font-lock.el (font-lock-maximum-decoration): Mention what
10289 numeric levels mean (bug#6935).
10290
621ef9ab
LMI
10291 * startup.el (initial-buffer-choice): Don't mention the `none'
10292 selection, which is against policy.
10293
adc47434
MR
102942011-07-14 Martin Rudalics <rudalics@gmx.at>
10295
b796c9b7
SM
10296 * window.el (display-buffer-normalize-special):
10297 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 10298
7e5bfb8f
EZ
102992011-07-14 Eli Zaretskii <eliz@gnu.org>
10300
10301 * subr.el (version<, version<=, version=): Mention "-CVS" and
10302 "-12345" alpha version numbers.
10303
27fa387a
CY
103042011-07-14 Chong Yidong <cyd@stupidchicken.com>
10305
10306 * bindings.el: Add advertised binding for set-mark-command
10307 (Bug#5772).
10308
8bdfa064
CY
103092011-07-14 Chong Yidong <cyd@stupidchicken.com>
10310
10311 * bindings.el (mode-line-other-buffer):
10312 * bookmark.el (bookmark-bmenu-2-window):
10313 * bs.el (bs-cycle-next, bs-cycle-previous):
10314 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
10315 switch-to-buffer.
10316
10317 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 10318 Delete.
8bdfa064 10319
5eba16a3
JB
103202011-07-14 Juanma Barranquero <lekktu@gmail.com>
10321
10322 * follow.el (follow-debug-message, follow-redisplay):
10323 * jka-cmpr-hook.el (with-auto-compression-mode):
10324 Fix typos in docstrings.
10325
15853710
LMI
103262011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10327
a28e4607
LMI
10328 * subr.el (with-silent-modifications): Clarify somewhat what the
10329 macro inhibits (bug#6525).
10330
15853710
LMI
10331 * simple.el (eval-expression): Note what it does if called
10332 interactively (bug#6495).
10333
bee0fcef
CY
103342011-07-13 Chong Yidong <cyd@stupidchicken.com>
10335
b796c9b7
SM
10336 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
10337 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
10338
10339 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10340 Remove switch-to-buffer.
10341
58274504
LMI
103422011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10343
bd2fcc8d
LMI
10344 * files.el (make-directory): Clarify that an error will be raised
10345 if there's an error (bug#6397).
10346
0f04b32c
LMI
10347 * startup.el (initial-buffer-choice): Add `none' as a choice
10348 (bug#6234).
10349
465c5fc8
LMI
10350 * subr.el (add-hook): Clarify section about buffer-local hooks
10351 (bug#6218).
10352
58274504
LMI
10353 * dired.el (dired-flagged): Clarify doc string (bug#6117).
10354
bead9a43
JB
103552011-07-13 Juanma Barranquero <lekktu@gmail.com>
10356
10357 * tabify.el (untabify): Preserve the current column so that point
10358 doesn't move (bug#6032).
10359
3af98a7b
LMI
103602011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10361
b796c9b7
SM
10362 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
10363 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 10364
6240145a
GM
103652011-07-13 Glenn Morris <rgm@gnu.org>
10366
10367 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
10368 (dired-insert-directory): Give a message the first time
10369 if ls is found not to support --dired.
10370
1d8c2ccc
LMI
103712011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10372
10373 * simple.el (toggle-truncate-lines): Clarify what is toggled
10374 (bug#5580). Text by Drew Adams.
10375
5fc4038e
CY
103762011-07-13 Chong Yidong <cyd@stupidchicken.com>
10377
10378 * simple.el (blink-matching-open): Make the error message from the
10379 last change less verbose.
10380
bf6012e5
DN
103812011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
10382
10383 * font-lock.el (font-lock-comment-face): Use the high contrast
10384 "yellow" color for font-lock-comment-face on low color terminals
10385 using a dark background color (bug#4221).
10386
343c3b5a
LMI
103872011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10388
7e9505c5
LMI
10389 * dired.el (dired-insert-set-properties): Make the doc string
10390 reflect what it does now (bug#5325).
10391
c26fdcf5
LMI
10392 * simple.el (blink-matching-open): Say that we were unable to find
10393 the match within the limit, if we're limited (bug#5122).
10394
bb388cc5
LMI
10395 * international/mule-cmds.el (prefer-coding-system): Add an
10396 example (bug#4869).
10397
343c3b5a
LMI
10398 * progmodes/etags.el (tags-search): Document `file-list-form'
10399 (bug#4731).
10400
2a517d45
LM
104012011-07-13 Lawrence Mitchell <wence@gmx.li>
10402
10403 * net/browse-url.el (browse-url-default-browser)
10404 (browse-url-browser-function): Make the default browser choice a
10405 bit more logical (bug#4300). Also clean up the doc string.
10406
b6c78ef2
JB
104072011-07-13 Juanma Barranquero <lekktu@gmail.com>
10408
10409 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10410 binary endings (bug#4440).
10411
1c4dd947
LMI
104122011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10413
a2014063
LMI
10414 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10415 which can be pretty annoying (bug#8971).
10416
9c9c2d88
LMI
10417 * jka-compr.el (jka-compr-verbose): New variable, and use
10418 throughout (bug#8971).
10419
1c4dd947
LMI
10420 * info.el (Info-find-file): Fall back on the installation
10421 directory if we can't find the info node anywhere else.
10422
a1c9f41b
SO
104232011-07-13 Sergei Organov <osv@javad.com> (tiny change)
10424
10425 * vc/vc.el (vc-revert-file):
10426 Don't set file time-stamp in the past. (Bug#5181)
10427
536f3d36
LMI
104282011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10429
7152b011
LMI
10430 * files.el (after-find-file): Give a better error message when
10431 trying to find a symlink that points to a file that doesn't exist
10432 (bug#4398).
10433
536f3d36
LMI
10434 * progmodes/cc-vars.el: Remove (probably) misleading comment
10435 (bug#4396).
10436
460c0fba
JB
104372011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
10438
10439 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10440
7a6bda45
CY
104412011-07-12 Chong Yidong <cyd@stupidchicken.com>
10442
10443 * mouse-sel.el: Hack restoring functionality, while keeping
10444 compatibility with 2010-07-03 changes to mouse selection.
10445 (mouse-sel-primary-overlay): New var.
10446 (mouse-sel-selection-alist): Use it.
10447 (mouse-sel-mode): Doc fix; remove points that are default features
10448 of mouse.el.
10449
c79598ef
JB
104502011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
10451
10452 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10453 Fix previous fix (bug#2490).
10454
ff8be6ef
RW
104552011-07-12 Roland Winkler <winkler@gnu.org>
10456
b796c9b7
SM
10457 * textmodes/bibtex.el (bibtex-initialize):
10458 Use pop-to-buffer-same-window.
ff8be6ef
RW
10459 (bibtex-search-entries): Fix interactive call.
10460
296ba3ee
LMI
104612011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10462
f5242a02 10463 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
10464 Fontise bytecomp Error lines more correctly (bug#2490).
10465 Fix suggested by Johan BockgĂ¥rd.
f5242a02 10466
296ba3ee
LMI
10467 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10468
10469 * dired-x.el (dired-guess-default): Use `delete-dups'.
10470
f69fd0d2
CY
104712011-07-12 Chong Yidong <cyd@stupidchicken.com>
10472
10473 * dired.el (dired-mark-prompt):
10474 * dired-aux.el (dired-read-shell-command): Doc fix.
10475
eab5dc07
LMI
104762011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10477
b796c9b7
SM
10478 * mail/sendmail.el (sendmail-query-once):
10479 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
10480 emacs -Q.
10481
10482 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10483
eab5dc07
LMI
10484 * cus-edit.el (custom-file): Take an optional no-error variable.
10485 (customize-save-variable): Set the variable, and give a warning if
10486 running under "emacs -q".
10487
a1e65d42
JB
104882011-07-11 Juanma Barranquero <lekktu@gmail.com>
10489
10490 * loadhist.el (unload-feature-special-hooks):
10491 Add `auto-coding-functions', `fill-nobreak-predicate' and
10492 `find-directory-functions' (bug#5327).
10493
1d52da10
LMI
104942011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10495
be958f1d
LMI
10496 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10497
5bedb26c
LMI
10498 * cus-edit.el (custom-guess-name-alist): -alist variables should
10499 use the `alist' type (bug#3120). Suggested by Drew Adams.
10500
1d52da10
LMI
10501 * printing.el: Add documentation to all the `pr-toggle-' commands.
10502
cd394be1 105032011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
10504
10505 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10506 backends where it makes sense (bug#2623).
10507
dcc88d8a
LMI
105082011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10509
c3de9feb
LMI
10510 * dired-x.el (dired-guess-default): Remove duplicate shell command
10511 entries (bug#2028).
8a93078b 10512 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 10513 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 10514
dcc88d8a
LMI
10515 * subr.el (remove-duplicates): New conveniency function.
10516
505e3645
LMI
105172011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10518
10519 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10520 (bug#1526).
10521
105222011-07-10 Martin Rudalics <rudalics@gmx.at>
10523
10524 * window.el (display-buffer-normalize-default): Don't invert
10525 meaning of even-window-heights. Reported by Eli Zaretskii
10526 <eliz@gnu.org>.
10527
455e4fa1
BR
105282011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
10529
10530 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10531
8e0bc3e9
CY
105322011-07-10 Chong Yidong <cyd@stupidchicken.com>
10533
10534 * window.el (display-buffer): Fix arguments to
10535 display-buffer-reuse-window in last change.
10536
fa7c3228
CY
10537 * faces.el (link): Use a less saturated blue on light backgrounds.
10538
10539 * startup.el (fancy-startup-text, fancy-about-text)
10540 (fancy-startup-tail): Use font-lock faces, for background safety.
10541
c0a7f300
BN
105422011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
10543
b796c9b7
SM
10544 * emulation/viper-cmd.el (viper-change-state-to-vi):
10545 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 10546
4dc2a129
MR
105472011-07-09 Martin Rudalics <rudalics@gmx.at>
10548
10549 * window.el (display-buffer-default-specifiers): Remove.
10550 (display-buffer-macro-specifiers): Remove default specifiers.
10551 (display-buffer-alist): Default to nil.
b796c9b7 10552 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
10553 (display-buffer-pop-up-window): Allow splitting internal
10554 windows. Check whether a live window was created.
10555 (display-buffer-other-window-means-other-frame)
10556 (display-buffer-normalize-arguments): Rename to
10557 display-buffer-normalize-argument and rewrite. Set the
10558 other-window specifier.
10559 (display-buffer-normalize-special): New function.
10560 (display-buffer-normalize-options): Rename to
10561 display-buffer-normalize-default and rewrite.
10562 (display-buffer-normalize-options-inhibit): Remove.
10563 (display-buffer-normalize-specifiers): Rewrite.
10564 (display-buffer): Process other-window specifier and call
10565 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
10566 more faithfully.
b796c9b7 10567 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 10568 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
10569 (display-buffer-in-window, display-buffer-alist-set):
10570 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
10571 <tassilo@member.fsf.org>.
10572
2d43b8c9
LL
105732011-07-09 Leo Liu <sdl.web@gmail.com>
10574
10575 * register.el (insert-register): Restore accidental change on
10576 2011-06-26. (Bug#9028)
10577
7f9b7c53
GM
105782011-07-09 Glenn Morris <rgm@gnu.org>
10579
10580 * subr.el (remq): Handle the empty list. (Bug#9024)
10581
f042cfd8
AS
105822011-07-08 Andreas Schwab <schwab@linux-m68k.org>
10583
10584 * mail/sendmail.el (send-mail-function): No longer delay custom
10585 initialization.
10586 * custom.el (custom-initialize-delay): Doc fix.
10587
856b2f11
SM
105882011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10589
10590 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
10591
afae1d68
MA
105922011-07-08 Michael Albinus <michael.albinus@gmx.de>
10593
10594 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
10595 human-friendly prompt.
10596
0757af94
SM
105972011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10598
10599 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
10600 provided by a particular plugin.
10601
d760b731
LMI
106022011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10603
10604 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
10605 save customizations (with "emacs -Q"), just set the variable
10606 instead of erroring out.
10607
10608 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10609
cd79ce90
JL
106102011-07-08 Juri Linkov <juri@jurta.org>
10611
10612 * arc-mode.el (archive-zip-expunge, archive-zip-update)
10613 (archive-zip-update-case): Use 7z if found by `executable-find'.
10614 The order of searching the available programs is the same as in
10615 `archive-zip-extract' (bug#8968).
10616
14cc04aa
CY
106172011-07-07 Chong Yidong <cyd@stupidchicken.com>
10618
10619 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10620 (menu-bar-options-menu): Tweak descriptions.
10621
0a1848ec
LMI
106222011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10623
10624 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10625 menu items into verb phrases (bug#1421). Also refill to fit under
10626 80 columns.
10627
f5bd0689
CY
106282011-07-07 Chong Yidong <cyd@stupidchicken.com>
10629
538e85c6
CY
10630 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10631 (Info-read-node-name): Doc fix (Bug#1084).
10632
f5bd0689
CY
10633 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10634 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10635 (end-of-sexp, beginning-of-sexp)
10636 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10637 (forward-symbol, forward-same-syntax, word-at-point)
10638 (sentence-at-point): Doc fix (Bug#1144).
10639
56ec5115
LMI
106402011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10641
f3f8e37f
LMI
10642 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10643 should cover it (bug#1281).
10644
0757af94 10645 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 10646
e9fce1ac 10647 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
10648 negotiation fails, then possibly try again with a non-encrypted
10649 connection (bug#9017).
10650
56ec5115
LMI
10651 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10652 be used.
10653
c2f9aec8
RS
106542011-07-07 Richard Stallman <rms@gnu.org>
10655
10656 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10657 property, and handle its changed format.
10658 Look for the correct line number.
10659 Use file's line contents (but not past first =) to find
10660 correct line in message.
10661
ef7b981d 106622011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
10663
10664 * international/characters.el (build-unicode-category-table):
10665 Delete it.
0757af94 10666 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 10667
0757af94 10668 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
10669 to src/chartab.c.
10670 (get-char-code-property): Call unicode-property-table-internal to
10671 load a file. Call get-unicode-property-internal where necessary.
10672 (put-char-code-property): Call unicode-property-table-internal to
10673 load a file. Call put-unicode-property-internal where necessary.
10674 put-unicode-property-internal where necessary.
0757af94
SM
10675 (char-code-property-description):
10676 Call unicode-property-table-internal to load a file.
c805dec0
KH
10677
10678 * international/charprop.el:
10679 * international/uni-bidi.el:
10680 * international/uni-category.el:
10681 * international/uni-combining.el:
10682 * international/uni-comment.el:
10683 * international/uni-decimal.el:
10684 * international/uni-decomposition.el:
10685 * international/uni-digit.el:
10686 * international/uni-lowercase.el:
10687 * international/uni-mirrored.el:
10688 * international/uni-name.el:
10689 * international/uni-numeric.el:
10690 * international/uni-old-name.el:
10691 * international/uni-titlecase.el:
10692 * international/uni-uppercase.el: Regenerate.
10693
10694 * loadup.el: Load international/charprop.el before
10695 international/characters.
10696
e14b388a
CY
106972011-07-07 Chong Yidong <cyd@stupidchicken.com>
10698
10699 * window.el (next-buffer, previous-buffer): Signal an error if
10700 called from a minibuffer window.
10701
10702 * bindings.el: Revert 2011-07-04 change.
10703
354cf0ba
RS
107042011-07-06 Richard Stallman <rms@gnu.org>
10705
10706 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10707 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10708 Treat markers like ints.
10709 (rmail-mime-entity): Doc fix.
10710
a48868a7
LMI
107112011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10712
4906cd3d
LMI
10713 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10714 defcustom again for backwards compatibility.
10715
e0457abe
LMI
10716 * simple.el (shell-command-on-region): Fill.
10717
d67f7e1f
LMI
10718 * dired-aux.el (dired-kill-line): Add a doc string.
10719
fe204702
LMI
10720 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10721 to "\\sw\\|\\s_" (bug#358).
10722
a48868a7
LMI
10723 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10724 (dired-unmark-backward): Ditto.
10725 (dired-flag-backup-files): Ditto.
10726
10727 * dired-x.el (dired-mark-sexp): Ditto.
10728
aa8a705c
RS
107292011-07-06 Richard Stallman <rms@gnu.org>
10730
10731 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10732 (rmail-mime-entity): New arg TRUNCATED.
10733 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10734 New functions.
10735 (rmail-mime-save): Warn if entity is truncated.
10736 (rmail-mime-toggle-hidden): Likewise, for showing.
10737 (rmail-mime-process-multipart): Record when an entity is truncated.
10738
a9a936b9
RS
10739 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10740 if ENTITY is a string.
10741
1f2b92cb
LMI
107422011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10743
f4f73198 10744 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
10745 of faces when `M-C-x'-ing their definitions (bug#8378).
10746 Also clean up the code slightly.
f4f73198 10747
12b16734 10748 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 10749 because that makes the colors go away.
12b16734 10750
f0691d22
LMI
10751 * mail/sendmail.el (send-mail-function): Change the default to
10752 `sendmail-query-once'.
9e87df06 10753 (sendmail-query-once): Add an autoload cookie.
f0691d22 10754
1f2b92cb
LMI
10755 * net/network-stream.el (network-stream-open-starttls): Try using
10756 a plain connection even if the server offered STARTTLS, and we
10757 kinda wanted to use it, if Emacs doesn't have any STARTTLS
10758 capability. This should make smtpmail.el work in slightly more
10759 configurations.
10760
1cdd2a1b
MA
107612011-07-06 Michael Albinus <michael.albinus@gmx.de>
10762
10763 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10764 New defun.
10765 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10766
fbcc67e2
MM
107672011-07-06 Michael R. Mauger <mmaug@yahoo.com>
10768
10769 * progmodes/sql.el: Version 3.0
0757af94 10770 (sql-product-alist): Add product :completion-object,
fbcc67e2 10771 :completion-column, and :statement attributes.
0757af94 10772 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 10773 (sql-mode-syntax-table): Mark all punctuation.
0757af94 10774 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
10775 ansi keywords.
10776 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 10777 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
10778 (sql-oracle-show-reserved-words): New function for development.
10779 (sql-product-font-lock): Simplify for source code buffers.
10780 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10781 New functions.
10782 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
10783 (sql-mode-map): Add statement movement functions.
10784 (sql-ansi-statement-starters, sql-oracle-statement-starters):
10785 New variable.
fbcc67e2
MM
10786 (sql-statement-regexp, sql-beginning-of-statement)
10787 (sql-end-of-statement, sql-signum): New functions.
0757af94 10788 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
10789 (sql-show-sqli-buffer): Bug fix.
10790 (sql-interactive-mode): Store connection data as buffer local.
0757af94 10791 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
10792 with sql-interactive-mode.
10793 (sql-save-connection): Save buffer local settings.
0757af94 10794 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
10795 (sql-product-interactive): Bug fix.
10796 (sql-preoutput-hold): New variable.
10797 (sql-interactive-remove-continuation-prompt): Bug fixes.
10798 (sql-debug-redirect): New variable.
10799 (sql-str-literal): New function.
10800 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 10801 Redesign.
fbcc67e2
MM
10802 (sql-oracle-save-settings, sql-oracle-restore-settings)
10803 (sql-oracle-list-all, sql-oracle-list-table): New functions.
10804 (sql-completion-object, sql-completion-column)
10805 (sql-completion-sqlbuf): New variables.
10806 (sql-build-completions-1, sql-build-completions)
10807 (sql-try-completion): New functions.
10808 (sql-read-table-name): Use them.
10809 (sql-contains-names): New buffer local variable.
10810 (sql-list-all, sql-list-table): Use it.
10811 (sql-oracle-completion-types): New variable.
10812 (sql-oracle-completion-object, sql-sqlite-completion-object)
10813 (sql-postgres-completion-object): New functions.
10814
d4eaeab1
GM
108152011-07-06 Glenn Morris <rgm@gnu.org>
10816
10817 * window.el (pop-to-buffer): Doc fix.
10818
322b7dab 108192011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
10820
10821 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
10822
322b7dab 108232011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 10824
322b7dab 10825 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 10826
322b7dab 10827 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 10828
605dd5bf
CY
108292011-07-05 Chong Yidong <cyd@stupidchicken.com>
10830
10831 * button.el (button): Inherit from link face. Suggested by Dan
10832 Nicolaescu.
10833
7dbfa719
SM
108342011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10835
3db614b0
SM
10836 * progmodes/gdb-mi.el: Fit in 80 columns.
10837 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
10838 switch-to-buffer.
10839
7dbfa719
SM
10840 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
10841 if imenu is simply not configured (bug#8941).
10842
919d884a
KM
108432011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
10844
10845 * allout.el (allout-post-undo-hook): New allout outline-change
10846 event hook to signal undo activity.
10847 (allout-post-command-business): Run allout-post-undo-hook if an
10848 undo just occurred.
7dbfa719
SM
10849 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
10850 * allout-widgets.el (allout-widgets-after-undo-function):
10851 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
10852 in the vicinity of an undo.
10853 (allout-widgets-mode): Include allout-widgets-after-undo-function
10854 on the new allout-post-undo-hook.
10855
450a0f09
SM
108562011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10857
10858 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
10859 Let define-derived-mode define it.
10860 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
10861 cycles of abbrev-table inheritance (bug#8998).
10862
2de69e00
RW
108632011-07-05 Roland Winkler <winkler@gnu.org>
10864
10865 * textmodes/bibtex.el: Add support for biblatex.
10866 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
10867 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
10868 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
10869 (bibtex-entry-alist, bibtex-field-alist): New variables.
10870 (bibtex-entry-field-alist): Obsolete alias for
10871 bibtex-BibTeX-entry-alist.
10872 (bibtex-entry-alist, bibtex-field-alist): New widgets.
10873 (bibtex-set-dialect): New command.
10874 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
10875 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
10876 Bind via bibtex-set-dialect.
2de69e00
RW
10877 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
10878 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
10879 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
10880 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
10881 Define via bibtex-set-dialect.
450a0f09
SM
10882 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
10883 Obey bibtex-no-opt-remove-re.
2de69e00
RW
10884 (bibtex-vec-push, bibtex-vec-incr): New functions.
10885 (bibtex-format-entry, bibtex-field-list)
10886 (bibtex-print-help-message, bibtex-validate)
10887 (bibtex-search-entries): Use new format of bibtex-entry-alist.
10888
2dcdbdd9
SM
108892011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10890
10891 * progmodes/compile.el (compilation-goto-locus):
10892 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10893 * bs.el (bs-cycle-next, bs-cycle-previous):
10894 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
10895 * bindings.el (mode-line-other-buffer):
10896 * autoinsert.el (auto-insert):
10897 * arc-mode.el (archive-extract):
10898 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10899
b27640fe
JB
109002011-07-05 Juanma Barranquero <lekktu@gmail.com>
10901
10902 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10903 Fix check of `emacs-lock-unlockable-modes'.
10904 Coerce true values of `emacs-lock--try-unlocking' to t.
10905
53bbe3ad
JB
109062011-07-05 Juanma Barranquero <lekktu@gmail.com>
10907
10908 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10909 * emacs-lock.el: New file.
10910
1d3cdbc7
JD
109112011-07-05 Julien Danjou <julien@danjou.info>
10912
10913 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10914 than `boundp' to check if face is set.
10915
9173deec
JB
109162011-07-05 Juanma Barranquero <lekktu@gmail.com>
10917
10918 * register.el (registerv-make):
10919 * window.el (window-min-height): Fix typos in docstrings.
10920
869795d6
JD
109212011-07-05 Jan Djärv <jan.h.d@swipnet.se>
10922
9173deec 10923 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
10924 Update doc string.
10925
b768cdcd
JB
109262011-07-04 Juanma Barranquero <lekktu@gmail.com>
10927
10928 * server.el (server-execute): Catch quit and call
10929 `server-return-error' to pass the error back to emacsclient and
10930 close the connection (bug#8942).
10931
13aa217b
KM
109322011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10933
10934 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10935 insecure exception for current topic. Also note that auto-saves
10936 are handled differently.
10937
5d3385a0 10938 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
10939 State variables for tracking auto-save inhibition situation.
10940
10941 (allout-write-contents-hook-handler): Rename from
10942 'allout-write-file-hook-handler', and describe how it depends on
10943 write-contents-functions sensitivity to non-nil value to prevent
10944 file write.
10945
10946 (allout-auto-save-hook-handler): Remove. auto-save does not check
10947 this in individual buffers, only in the starting buffer, so this
10948 is not the right way for us to inhibit auto-save in a buffer
10949 according to its condition.
10950
10951 (allout-mode): Use new allout-write-contents-hook-handler, and
10952 only with write-contents-functions. Remove auto-save provisions -
10953 they're implemented elsewhere.
10954
10955 (allout-before-change-handler): If undo is in progress, note that
10956 for attention of allout-post-command-business.
10957
10958 (allout-post-command-business): If the command we're following was
10959 an undo, check for change in the status of encrypted items and
10960 adjust auto-save inhibitions accordingly.
10961
10962 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10963 according to whether there are or aren't any plain-text topics
10964 pending encryption.
10965
2dcdbdd9 10966 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
10967 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10968 if there are plain-text topics pending encryption.
13aa217b
KM
10969
10970 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10971 buffer-saved-size and some allout state to not inhibit auto-saves
10972 if there are no longer any plain-text topics pending encryption.
10973
0757af94
SM
10974 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10975 No longer provide for exemption of the current topic.
13aa217b 10976
ac89b32c
JL
109772011-07-04 Juri Linkov <juri@jurta.org>
10978
10979 Add 7z operations to delete and save changed members (bug#8968).
10980 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10981 New defcustoms.
10982 (archive-7z-write-file-member): New function.
10983 (archive-7z-summarize): Fix the number of dashes in the
10984 listing output.
10985
8fa39615
SM
109862011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10987
10988 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10989 (bug#8958).
10990
2f11b3f1
CY
109912011-07-04 Chong Yidong <cyd@stupidchicken.com>
10992
d66fef2b
CY
10993 * bindings.el: Ignore next-buffer and previous-buffer in
10994 minibuffer-local-map.
10995
2f11b3f1
CY
10996 * font-lock.el (font-lock-builtin-face): Change light background
10997 color to dark slate blue (Bug#6693).
10998
f932a347
WD
109992011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
11000
11001 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
11002
c8af70e1
SM
110032011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11004
11005 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
11006 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11007 Add switch-to-buffer.
11008
f158badc
LMI
110092011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11010
11011 * isearch.el (isearch-search-fun-function): Clarify further the
11012 meaning of the function returned.
11013
6d95bd46
MA
110142011-07-04 Michael Albinus <michael.albinus@gmx.de>
11015
11016 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
11017
11018 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
11019 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
11020 Use it.
11021 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
11022 `tramp-default-remote-path' does not exist.
11023 (tramp-send-command-and-read): New optional argument NOERROR.
11024 (tramp-open-connection-setup-interactive-shell)
11025 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
11026 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
11027 (tramp-process-sentinel): Flush also process' connection property.
11028 (tramp-sh-handle-start-file-process): Do not set process
11029 sentinel. It is done now ...
11030 (tramp-maybe-open-connection): ... here. (Bug#8929)
11031
909e6b67
MK
110322011-07-04 MON KEY <monkey@sandpframing.com>
11033
11034 * play/animate.el (animate-string): Doc fixes and allow changing
11035 the buffer name (bug#5417).
11036
110372011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11038
c8af70e1 11039 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 11040
f34755dc
PE
110412011-07-04 Paul Eggert <eggert@cs.ucla.edu>
11042
396cec72
PE
11043 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
11044 This is simpler and helps future-proof the code.
11045 (timer-until): Use time-subtract and float-time.
08235028 11046 (timer--time-less-p): Use time-less-p.
f34755dc 11047
56e6cc31
JB
110482011-07-04 Juanma Barranquero <lekktu@gmail.com>
11049
3abb79e5
JB
11050 * type-break.el (timep): Use the value of `float-time' to avoid a
11051 byte-compiler warning.
11052
56e6cc31
JB
11053 * server.el (server-eval-and-print): Return any result, even nil.
11054
7b9430b4
PE
110552011-07-03 Paul Eggert <eggert@cs.ucla.edu>
11056
11057 * type-break.el: Accept time formats that the builtins accept.
11058 (timep, type-break-time-difference): Accept any format that
11059 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
11060 This is simpler and helps future-proof the code.
11061 (type-break-time-difference): Round rather than ignoring
11062 subseconds components.
11063
3034e9e7
LMI
110642011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11065
11066 * info.el (Info-apropos-matches): Make non-interactive, since it
11067 doesn't seem to do anything useful as a command (bug#8829).
11068
1485f4c0
CY
110692011-07-03 Chong Yidong <cyd@stupidchicken.com>
11070
11071 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 11072 Move from faces.el.
1485f4c0
CY
11073 (frame-default-terminal-background): New function.
11074
11075 * custom.el (custom-push-theme): Don't record faces in `changed'
11076 theme; this doesn't work correctly for per-frame face settings.
11077 (disable-theme): Use face-set-after-frame-default to reset faces.
11078 (custom--frame-color-default): New function.
11079
9fa3dd45
LMI
110802011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11081
c8af70e1 11082 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
11083 (bug#8769).
11084
6cbbc20c
KR
110852011-03-29 Kevin Ryde <user42@zip.com.au>
11086
11087 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11088 `perl-Test2' extend to match possible "fail #N" rep count
11089 (bug#8377).
11090
c7f98048
LMI
110912011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11092
65676592
LMI
11093 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
11094 `smtpmail-via-smtp' now returns the error instead of nil.
11095
c7f98048
LMI
11096 * isearch.el (isearch-search-fun-function): Clarify the doc string
11097 (bug#8101).
11098
56e6cc31 110992011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
11100
11101 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
11102 unnecessary spaces (bug#8987).
11103
2b216704
LMI
111042011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11105
11106 * net/network-stream.el (open-network-stream): Use the
11107 :end-of-capability command thoughout.
11108
111092011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
11110
11111 * net/network-stream.el (open-network-stream): Add the
11112 :end-of-capability command parameter, used by pop3.el.
11113
36adf6ce
LMI
111142011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11115
1ca0da0e
LMI
11116 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
11117
fc00f69c
LMI
11118 * fringe.el (fringe-query-style): Remove redundant text " (type ?
11119 for list)" (bug#6475).
11120
28fd8759 11121 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 11122 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
11123 an error (bug#6297).
11124
0dd8b6da
LMI
11125 * man.el (Man-reference-regexp): Allow matching possible
11126 word-wrapped references (bug#6289).
11127
ce1438d6
LMI
11128 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
11129 for consistency with the other vc buffers (bug#6197).
11130 (vc-checkin): Ditto.
11131
11132 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
11133
36adf6ce
LMI
11134 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
11135
e83cc1f7
LMI
111362011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11137
8a20ca4c
LMI
11138 * custom.el (defcustom): Clarify that :set is only used in the
11139 Customize user interface (bug#6089).
11140
83319045
LMI
11141 * progmodes/flymake.el (flymake-mode): If the buffer isn't
11142 associated with a file, refuse to run instead of erroring out
11143 (bug#6084).
11144
a8392169
LMI
11145 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
11146 the doc string, since it appears that using `fill-column' always
11147 controls the width (bug#7845).
11148
e83cc1f7
LMI
11149 * simple.el (shell-command-on-region): Say where the error output
11150 went if `shell-command-default-error-buffer' is set (bug#6857).
11151
e47ca23b
KM
111522011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
11153
11154 * allout.el (allout-yank-processing): Adjust cursor position for
11155 backwards-deleted space.
11156
11157 (allout-rebullet-heading): Register changes with
11158 allout-exposure-changed-hook, so the modified topic is properly
11159 decorated.
11160
5cf56143
LMI
111612011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11162
08549772
LMI
11163 * minibuffer.el (completion-in-region): Document PREDICATE
11164 (bug#7136).
11165
48e96771
LMI
11166 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
11167 of keyword/argument pairs (bug#6904).
11168
c8af70e1
SM
11169 * replace.el (multi-occur):
11170 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 11171
e17d05e2
LMI
111722011-07-02 Drew Adams <drew.adams@oracle.com>
11173
11174 * dired.el (dired-mark-if): Make the message about whether it's
11175 marking or unmarking clearer (bug#8523).
11176
063b0e45
LMI
111772011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11178
11179 * disp-table.el (display-table-print-array): New function.
11180 (describe-display-table): Use it to print the vectors more pretty
11181 (Bug#8859).
11182
28545e04
MR
111832011-07-02 Martin Rudalics <rudalics@gmx.at>
11184
11185 * window.el (window-state-get-1): Don't assign clone numbers.
11186 Add clone-of item to list of window parameters.
11187 (window-state-put-2): Don't process clone numbers.
11188 (display-buffer-alist): Fix doc-string.
11189
3349e122
SM
111902011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11191
11192 * subr.el (remq): Don't allocate if it's not needed.
11193 (keymap--menu-item-binding, keymap--menu-item-with-binding)
11194 (keymap--merge-bindings): New functions.
11195 (keymap-canonicalize): Use them to refine the canonicalization.
11196 * minibuffer.el (minibuffer-local-completion-map)
11197 (minibuffer-local-must-match-map): Move initialization from C.
11198 (minibuffer-local-filename-completion-map): Move initialization from C;
11199 don't inherit from anything here.
11200 (minibuffer-local-filename-must-match-map): Make obsolete.
11201 (completing-read-default): Use make-composed-keymap to combine
11202 minibuffer-local-filename-completion-map with either
11203 minibuffer-local-must-match-map or
11204 minibuffer-local-filename-completion-map.
11205
d224ac83
GM
112062011-07-01 Glenn Morris <rgm@gnu.org>
11207
3de63bf8
GM
11208 * type-break.el (type-break-time-sum): Use dolist.
11209
d224ac83
GM
11210 * textmodes/flyspell.el (flyspell-word-search-backward):
11211 Replace CL function.
11212
1a1e3f32
SM
112132011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11214
fe3f64d5
SM
11215 * mouse.el (mouse--strip-first-event): New function.
11216 (function-key-map): Use it to map fringe clicks to normal clicks
11217 by default.
11218
eb604e34
SM
11219 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
11220 (vc-bzr-revision-completion-table): Add support for annotate and date.
11221
1a1e3f32
SM
11222 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
11223 inherit from parent.
11224
5bd35902
LMI
112252011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11226
ace6c69c 11227 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 11228 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 11229
191e2bed
LMI
11230 * dired.el (dired-mode): Fix up the doc string as suggested by
11231 Drew Adams (bug#8817).
11232
5bd35902
LMI
11233 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
11234 cookie, since the manual says that it should be possible to add
11235 this function to `find-file-hook' (bug#8709).
11236
eee8207a
TZ
112372011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11238
11239 * progmodes/cfengine.el: Moved all cfengine3.el functionality
11240 here. Noted Ted Zlatanov as the maintainer.
11241 (cfengine-common-settings, cfengine-common-syntax): New functions
11242 to set up common things between `cfengine-mode' and
11243 `cfengine3-mode'.
11244 (cfengine3-mode): New mode.
11245 (cfengine3-defuns cfengine3-defuns-regex
11246 (cfengine3-class-selector-regex cfengine3-category-regex)
11247 (cfengine3-vartypes cfengine3-font-lock-keywords)
11248 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 11249 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 11250
36b148cf
MA
112512011-07-01 Michael Albinus <michael.albinus@gmx.de>
11252
11253 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
11254
11255 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
11256
0bf4ba9a
MR
112572011-07-01 Martin Rudalics <rudalics@gmx.at>
11258
11259 * window.el (same-window-buffer-names, same-window-regexps)
11260 (same-window-p, special-display-frame-alist)
11261 (special-display-popup-frame, special-display-function)
11262 (special-display-buffer-names, special-display-regexps)
11263 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
11264 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11265 (split-window-preferred-function, split-height-threshold)
11266 (split-width-threshold, even-window-heights)
11267 (display-buffer-mark-dedicated, window-splittable-p)
11268 (split-window-sensibly, window-safely-shrinkable-p):
11269 Un-obsolete.
11270 (display-buffer): Don't spread args with function specifier
11271 because special-display-popup-frame won't like it.
11272
35837f51
PE
112732011-07-01 Paul Eggert <eggert@cs.ucla.edu>
11274
d0672f86
PE
11275 Time-stamp simplifications and fixes.
11276 These improve accuracy slightly, and future-proof the code
11277 against some potential changes to current-time format.
11278
b9444d97
PE
11279 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
11280 by using time-since and float-time.
11281
0ef923dc
PE
11282 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
11283 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
11284 + NNN microseconds".
11285
2f81380d
PE
11286 * type-break.el (type-break-time-sum): Rewrite using time-add.
11287
845b5c3e
PE
11288 * play/hanoi.el (hanoi-current-time-float): Remove.
11289 All uses replaced by float-time.
11290
ee6f1be0
PE
11291 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
11292 This yields a more-accurate answer.
11293 (rng-time-to-float): Remove; no longer needed.
11294
fe955043
PE
11295 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
11296
5777162a
PE
11297 * calendar/timeclock.el (timeclock-seconds-to-time):
11298 Defalias to seconds-to-time, since they're the same thing.
11299
3103f8b6 11300 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 11301 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
11302 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
11303
0e61a35f
SM
113042011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11305
11306 * window.el (bury-buffer): Don't iconify the only frame.
11307 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
11308 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
11309
ddd63a1e
CY
113102011-07-01 Chong Yidong <cyd@stupidchicken.com>
11311
0e61a35f
SM
11312 * eshell/em-smart.el (eshell-smart-display-navigate-list):
11313 Add mouse-yank-primary.
ddd63a1e 11314
055f4923
TZ
113152011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11316
11317 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
11318
6a2fb145
SM
113192011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11320
11321 * emacs-lisp/find-func.el (find-library--load-name): New fun.
11322 (find-library-name): Use it to find relative load names when provided
11323 absolute file name (bug#8803).
11324
fd4983f2
LMI
113252011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11326
887d14ad
LMI
11327 * textmodes/flyspell.el (flyspell-word): Consider words that
11328 differ only in case as potential doublons (bug#5687).
11329
c53dc7fc
LMI
11330 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
11331 Remove two rather uninteresting debugging-like messages to make
11332 debbugs.el more silent.
11333
fd4983f2
LMI
11334 * comint.el (comint-password-prompt-regexp): Accept "Response" as
11335 a password-like phrase.
11336
7a71b18d 113372011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
11338
11339 * progmodes/cc-guess.el: New file.
11340
6a2fb145 11341 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
11342
11343 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
11344 derived from `c-basic-common-init'.
11345
11346 * progmodes/cc-mode.el (top-level): Require cc-guess.
11347 (c-basic-common-init): Use `cc-choose-style-for-mode'.
11348
1fa280a3
LM
113492011-06-30 Lawrence Mitchell <wence@gmx.li>
11350
11351 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
11352
e6597158
AM
113532011-06-30 Alan Mackenzie <acm@muc.de>
11354
1fa280a3
LM
11355 * progmodes/cc-engine.el (c-guess-continued-construct):
11356 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
11357 lock is disabled. Name this case as "CASE G".
11358
68ba37fb
KM
113592011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
11360
11361 * allout.el (allout-yank-processing): Fix injection of extra space
11362 between bullet and non-whitespace character in first topic when
11363 pasting, ensuring that the actual spacing in the pasted topic
11364 following the bullet char is preserved. This extra space was
11365 causing pasted encrypted topics to get a decrypted status even
11366 when the content was actually still encrypted. Now the decryption
11367 status from before the paste is preserved.
11368
11369 (allout-flag-region): Set all allout overlays so they evaporate
11370 when reduced to zero length (evanescent), to prevent overlay
11371 leakage.
11372
887a0b34
GM
113732011-06-30 Glenn Morris <rgm@gnu.org>
11374
94b9acce
GM
11375 * w32-fns.el (w32-charset-info-alist): Declare.
11376
1d9b46d4
GM
11377 * find-dired.el (find-grep-options): Simplify.
11378
cc232200
GM
11379 * term/ns-win.el (ns-set-resource): Declare.
11380
28e77c46
GM
11381 * ses.el (row, col): Declare dynamic variables honestly.
11382
887a0b34
GM
11383 * textmodes/reftex-parse.el (index-tags): Declare.
11384
658d8eb8
CY
113852011-06-30 Chong Yidong <cyd@stupidchicken.com>
11386
11387 * cus-edit.el (customize-push-and-save): New function.
11388
11389 * files.el (hack-local-variables-confirm): Use it.
11390
1fa280a3
LM
11391 * custom.el (load-theme): New arg NO-CONFIRM.
11392 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
11393 (custom-enabled-themes): Doc fix.
11394
11395 * cus-theme.el (customize-create-theme)
11396 (custom-theme-merge-theme): Callers to load-theme changed.
11397
bb617717
LMI
113982011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11399
d61bdd5d
LMI
11400 * thingatpt.el (thing-at-point-short-url-regexp): Require that
11401 short URLs have at least one dot in them (bug #7614).
11402
bb617717
LMI
11403 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11404 nil, because using a pty is apparently too slow (bug #895).
11405
2f31f37a
LMI
114062011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
11407
11408 * mail/sendmail.el (sendmail-query-once): New function.
11409 (sendmail-query-once-function): New variable.
11410
3076b24e
GM
114112011-06-29 Glenn Morris <rgm@gnu.org>
11412
faf2a174
GM
11413 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11414
3076b24e
GM
11415 * ses.el (top-level): Require cl when compiling.
11416 (ses-set-localvars): Fix error statement.
11417 Call it at compile time to silence a storm of warnings.
11418
5386012d
MR
114192011-06-29 Martin Rudalics <rudalics@gmx.at>
11420
11421 * window.el (normalize-live-buffer): Rename to
11422 window-normalize-buffer.
11423 (normalize-live-frame): Rename to window-normalize-frame.
11424 (normalize-any-window): Rename to window-normalize-any-window.
11425 (normalize-live-window): Rename to window-normalize-live-window.
11426 (make-window-atom): Rename to window-make-atom.
11427 (window-resize-reset): Rename to window--resize-reset.
11428 (window-resize-reset-1): Rename to window--resize-reset-1.
11429 (resize-mini-window): Rename to window--resize-mini-window.
11430 (resize-subwindows-skip-p): Rename to
11431 window--resize-subwindows-skip-p.
11432 (resize-subwindows-normal): Rename to
11433 window--resize-subwindows-normal.
11434 (resize-subwindows): Rename to window--resize-subwindows.
11435 (resize-other-windows): Rename to window--resize-siblings.
11436 (resize-this-window): Rename to window--resize-this-window.
11437 (resize-root-window): Rename to window--resize-root-window.
11438 (resize-root-window-vertically): Rename to
11439 window--resize-root-window-vertically.
11440 (normalize-buffer-to-display): Rename to
11441 window-normalize-buffer-to-display.
11442 (normalize-buffer-to-switch-to): Rename to
11443 window-normalize-buffer-to-switch-to.
11444 Correspondingly update all callers of the functions listed
11445 above.
11446 (display-buffer-alist, display-buffer-normalize-arguments)
11447 (display-buffer-normalize-options, display-buffer)
11448 (display-buffer-alist-set): Use "function" instead of
11449 "fun-with-args".
11450
1176868d
CY
114512011-06-28 Chong Yidong <cyd@stupidchicken.com>
11452
11453 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11454 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
11455 debbugs.gnu.org. Mention acknowledgment email.
11456
20a7a65f
LMI
114572011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
11458
11459 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11460 buffer multibyteness, since it shouldn't matter.
11461
5f45cca5
MR
114622011-06-28 Martin Rudalics <rudalics@gmx.at>
11463
11464 * window.el (display-buffer-in-side-window): Handle dedicated
11465 windows as in display-buffer-reuse-window.
11466 (display-buffer-normalize-alist): Use value of override
11467 specifier.
11468 (display-buffer-normalize-specifiers): Use value of
11469 other-window-means-other-frame specifier.
11470 (display-buffer-alist): Rewrite some texts in widgets.
11471 (display-buffer): Spread arguments when calling function
11472 specified by fun-with-args.
11473
ad85fe1f
DD
114742011-06-28 Deniz Dogan <deniz@dogan.se>
11475
1fa280a3
LM
11476 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11477 Unnest `let'.
da68c4c8 11478
ad85fe1f
DD
11479 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11480 selectors (Bug#5732).
ec49bd31 11481 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 11482
a08cc025
JA
114832011-06-27 Jari Aalto <jari.aalto@cante.net>
11484
11485 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11486 (eshell-ls-date-format): New defcustom.
11487 (eshell-ls-file): Use it.
11488
e2b551c5
SM
114892011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11490
11491 * help-fns.el (describe-variable): Fix message for terminal-local vars.
11492
8982b231
KY
114932011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
11494
11495 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11496 (ange-ftp-make-tmp-name): New arg.
11497 (ange-ftp-file-local-copy): Use it.
11498
36c9fa27
J
114992011-06-27 Jambunathan K <kjambunathan@gmail.com>
11500
11501 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11502 no-conversion (Bug#8870).
11503
d68443dc
MR
115042011-06-27 Martin Rudalics <rudalics@gmx.at>
11505
11506 * window.el (window-right, window-left, window-child)
11507 (window-child-count, window-last-child)
11508 (window-iso-combination-p, walk-window-tree-1)
11509 (window-atom-check-1, window-tree-1, delete-window)
11510 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11511 new naming conventions - window-vchild, window-hchild,
11512 window-next and window-prev are now called window-top-child,
11513 window-left-child, window-next-sibling and window-prev-sibling
11514 respectively.
d615d6d2
MR
11515 (resize-window-reset): Rename to window-resize-reset.
11516 (resize-window-reset-1): Rename to window-resize-reset-1.
11517 (resize-window): Rename to window-resize.
11518 (window-min-height, window-min-width)
11519 (resize-mini-window, resize-this-window, resize-root-window)
11520 (resize-root-window-vertically, adjust-window-trailing-edge)
11521 (enlarge-window, shrink-window, maximize-window)
11522 (minimize-window, delete-window, quit-restore-window)
11523 (split-window, balance-windows, balance-windows-area-adjust)
11524 (balance-windows-area, window-state-put-2)
11525 (display-buffer-even-window-sizes, display-buffer-set-height)
11526 (display-buffer-set-width, set-window-text-height)
11527 (fit-window-to-buffer): Rename all "resize-window" prefixed
11528 calls to use the "window-resize" prefix convention.
11529 (display-buffer-alist): Fix symbol for label specifier.
11530 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11531 corresponding specifier.
11532 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 11533
b6458526
VB
115342011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11535
11536 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11537 convention.
11538 (ses-call-printer): Does not pass an empty string to formatter when the
11539 cell is empty to keep from barking printer Calc math-format-value.
11540
d31fd9ac
RS
115412011-06-27 Richard Stallman <rms@gnu.org>
11542
43d5bf84
RS
11543 * battery.el (battery-mode-line-limit): New variable.
11544 (battery-update): Handle it.
11545
d31fd9ac
RS
11546 * mail/rmailmm.el (rmail-mime-process-multipart):
11547 Handle truncated messages.
11548
819a6054
GM
115492011-06-27 Glenn Morris <rgm@gnu.org>
11550
11551 * progmodes/flymake.el (flymake-err-line-patterns):
11552 Allow for column numbers in the ant/javac pattern. (Bug#8866)
11553
cedc73f2
VB
115542011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
11555
819a6054 11556 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
11557 (ses--clean-!, ses--clean-_): New functions.
11558 (ses-range): Add configurability of readout order, and conversion
11559 to Calc vector.
11560
5e5d49b6
VB
11561 * ses.el (ses-repair-cell-reference-all): New function.
11562 (ses-cell-symbol): Set macro as safe, so that it can be used in
11563 formulas.
11564
56e6cc31 11565 * ses.el: Update cycle detection algorithm.
90ca8b49 11566 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 11567 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
11568 (ses-set-localvars): New function.
11569 (ses-make-cell): Add property-list as a cell element.
11570 (ses-cell-property-get-fun, ses-cell-property-get)
11571 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
11572 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11573 New functions.
90ca8b49
VB
11574 (ses-cell-property-set, ses-cell-property-pop)
11575 (ses-cell-property-get-handle): New macro.
11576 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
11577 New aliases, used for code readability.
11578 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
11579 cycle detection.
11580 (ses-self-reference-early-detection): New defcustom.
fac916bf 11581 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
11582 (ses-mode): Use ses-set-localvars.
11583 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
11584 before lauching the update processing.
11585 (ses-initialize-Dijkstra-attempt): New function.
11586 (ses-recalculate-cell): Update for cycle detection based on
11587 Dijkstra algorithm.
11588
2bb63e81
VB
11589 * ses.el: Fix commenting and indenting convention.
11590
c9d29fb8
SM
115912011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11592
11593 * bs.el (bs-cycle-next): Complete last change.
11594
d8e4b68b
JB
115952011-06-27 Drew Adams <drew.adams@oracle.com>
11596
11597 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
11598
40098786
LMI
115992011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11600
c9d29fb8
SM
11601 * net/network-stream.el (network-stream-open-starttls):
11602 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
11603 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
11604
40098786
LMI
11605 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11606 to binary to possibly avoid line encoding issues on Windows (among
11607 other things).
11608
468d09d4
LMI
116092011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11610
11611 * net/network-stream.el (open-network-stream): Return an :error
11612 saying what the problem was, if possible.
11613
11614 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11615 server.
11616
11617 * net/network-stream.el (network-stream-open-starttls): If we
11618 wanted to use STARTTLS, and the server offered it, but we weren't
11619 able to because we had no STARTTLS support, then close the connection.
11620 (open-network-stream): Return an :error element, if present.
11621
16f07dd7
CY
116222011-06-26 Chong Yidong <cyd@stupidchicken.com>
11623
88821ca0
CY
11624 * hl-line.el (hl-line-sticky-flag): Doc fix.
11625 (global-hl-line-sticky-flag): New option (Bug#8323).
11626 (global-hl-line-highlight): Obey it.
11627
16f07dd7
CY
11628 * vc/vc.el (vc-revert-show-diff): Default to t.
11629
6b5ccddf
KM
116302011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
11631
c9d29fb8
SM
11632 * allout-widgets.el (allout-widgets-post-command-business):
11633 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
11634 undecorated when an isearch is continued past, and isearch
11635 automatically collapses them. This leads to "widget leaks", where
11636 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
11637 hidden widgets can slow down cursor travel, substantially.
11638 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
11639 so we're doing without this nicety.
11640
11641 (allout-widgets-tally-string): Don't try to do a hash-table-count
11642 of allout-widgets-tally when it's nil. This eliminates spurious "Error
11643 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11644 *Messages* when allout-widgets-maintain-tally is t.
11645
355f2e07
MR
116462011-06-26 Martin Rudalics <rudalics@gmx.at>
11647
11648 * window.el (display-buffer-normalize-argument): Rename to
11649 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
11650 LABEL argument. Respect special-display-function when popping up
11651 a new frame. Fix code searching for a window showing the buffer
11652 on another frame.
c9d29fb8
SM
11653 (display-buffer-normalize-specifiers):
11654 Call display-buffer-normalize-arguments.
355f2e07
MR
11655 (display-buffer-in-window): Don't undedicate the window if its
11656 buffer remains the same.
11657 Reported by Drew Adams <drew.adams@oracle.com>.
11658 (display-buffer-alist): Add choice for same-window macro
11659 specfier.
11660 (display-buffer): Mention special meaning of LABEL argument in
11661 doc-string. Fix quoting. Don't pop up a new frame even as
11662 fallback.
11663
7ca8fc42
JB
116642011-06-26 Juanma Barranquero <lekktu@gmail.com>
11665
11666 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11667 avoid deleting the current window in some cases (bug#8911).
11668
bc312254
AS
116692011-06-26 Andreas Schwab <schwab@linux-m68k.org>
11670
11671 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11672 (Bug#8934)
11673
2db18f3f
LMI
116742011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11675
c9d29fb8
SM
11676 * net/network-stream.el (network-stream-open-starttls):
11677 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
11678 (network-stream-open-tls): Ditto.
11679
6302e0d3
LL
116802011-06-26 Leo Liu <sdl.web@gmail.com>
11681
11682 * register.el (registerv): New struct.
11683 (registerv-make): New function.
c9d29fb8
SM
11684 (jump-to-register, describe-register-1, insert-register):
11685 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
11686 struct. (Bug#8415)
11687
5fdd4046
CY
116882011-06-26 Chong Yidong <cyd@stupidchicken.com>
11689
2afef60a
CY
11690 * vc/vc.el (vc-revert-show-diff): New defcustom.
11691 (vc-diff-internal): New arg specifying diff buffer.
11692 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
11693 reuse an existing *vc-diff* buffer (Bug#8927).
11694
5fdd4046
CY
11695 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11696
e93db24a
GM
116972011-06-26 Glenn Morris <rgm@gnu.org>
11698
11699 * progmodes/f90.el (f90-critical-indent): New option.
11700 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11701 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11702 (f90-mode): Doc fix.
11703 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11704 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11705 (f90-beginning-of-block, f90-next-block, f90-indent-region)
11706 (f90-match-end): Handle block, critical.
11707
eefff499
GM
117082011-06-25 Glenn Morris <rgm@gnu.org>
11709
f6ba4cc9
GM
11710 * calendar/diary-lib.el (diary-included-files): Doc fix.
11711 (diary-include-files): New function, extracted from
11712 diary-include-other-diary-files and diary-mark-included-diary-files.
11713 (diary-include-other-diary-files, diary-mark-included-diary-files):
11714 Just call diary-include-files.
11715 (diary-mark-entries): Reset diary-included-files on first call.
11716
16712304
GM
11717 * calendar/diary-lib.el (diary-mark-entries)
11718 (diary-mark-included-diary-files):
11719 Visit included diary-files in temp buffers.
11720
5d8e0d43
GM
11721 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11722 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11723 (f90-start-block-re, f90-imenu-generic-expression)
11724 (f90-looking-at-program-block-start, f90-no-block-limit):
11725 Add support for submodules.
11726
ccf7a5d5
GM
11727 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11728 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 11729
11fdef7d 117302011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
11731
11732 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11733 buffer-file-type before setting its value, to avoid disastrous
eefff499 11734 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 11735
74f53697
JB
117362011-06-25 Juanma Barranquero <lekktu@gmail.com>
11737
11738 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11739
11740 * ses.el (ses-unload-function):
11741 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11742
11743 * proced.el (proced-unload-function):
11744 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11745
18a4ce5e
AR
117462011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
11747
11748 * server.el (server-create-window-system-frame): Add parameters arg.
11749 (server-process-filter): Doc fix. Handle frame-parameters.
11750
519d22cc
JB
117512011-06-25 Juanma Barranquero <lekktu@gmail.com>
11752
11753 Fix bug#8730, bug#8781.
11754
11755 * loadhist.el (unload--set-major-mode): New function.
11756 (unload-feature): Use it.
11757
11758 * progmodes/python.el (python-after-info-look): Add autoload cookie.
11759 (python-unload-function): New function.
11760
c206f5b0
SM
117612011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11762
11763 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11764
f9ad64f3
GS
117652011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
11766
11767 * net/browse-url.el (browse-url-firefox-program): Add icecat to
11768 the candidates list.
11769
7d0da90e
JB
117702011-06-24 Juanma Barranquero <lekktu@gmail.com>
11771
11772 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11773
14b4e83d
RS
117742011-06-23 Richard Stallman <rms@gnu.org>
11775
11776 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11777 (rmail-variables): Set next-error-move-function.
11778 (rmail-what-message): Take argument POS.
11779 (rmail-next-error-move): New function.
11780
273d2baf
SM
117812011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11782
11783 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11784 messages for adjacent non-terminals.
11785
56c2cc9a
RS
117862011-06-23 Richard Stallman <rms@gnu.org>
11787
11788 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 11789 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
11790 (rmail-start-mail): Don't specify use of rmail-mail-return;
11791 that's done by mail-bury now.
11792 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 11793
d59eb518
MA
117942011-06-23 Michael Albinus <michael.albinus@gmx.de>
11795
11796 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11797 SIZE is a number.
11798
02cfc6d6
MR
117992011-06-23 Martin Rudalics <rudalics@gmx.at>
11800
11801 * window.el (get-lru-window, get-mru-window)
11802 (get-largest-window): Never return a minibuffer window.
11803 (display-buffer-pop-up-window): Fix a bug that could lead to
11804 reusing the minibuffer window.
11805 (display-buffer): Pass original specifier argument to
11806 display-buffer-function instead of the normalized one.
11807 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11808
4e323265
LL
118092011-06-22 Leo Liu <sdl.web@gmail.com>
11810
11811 * minibuffer.el (completing-read-function)
11812 (completing-read-default): Move from minibuf.c
11813
7a70468f
RS
118142011-06-22 Richard Stallman <rms@gnu.org>
11815
50718fc2
RS
11816 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11817 to Rmail even if not started by a special Rmail command.
11818
7a70468f
RS
11819 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
11820 Copy the buffer currently showing just one message.
11821
297dde5a
RW
118222011-06-22 Roland Winkler <winkler@gnu.org>
11823
11824 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
11825 (bibtex-clean-entry): First delete the old key so that a
11826 customized algorithm for generating the new key does not get
11827 confused by the old key.
11828 (bibtex-url): Obey regexp of first step.
11829 (bibtex-search-entries): Do not use add-to-list with local
11830 list-var.
11831
97bb1093
LMI
118322011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11833
11834 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
11835 stored a user name, then query for the password first, instead of
11836 waiting for SMTP to give an error message and the trying again.
11837
1c0f1a19
JD
118382011-06-22 Lawrence Mitchell <wence@gmx.li>
11839
11840 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
11841 BUFFER in call-process.
11842
396f7c9d
LMI
118432011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11844
11845 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
11846 QUIT twice.
ddb7ffee
LMI
11847 (smtpmail-try-auth-methods): Require user name and password from
11848 auth-source.
396f7c9d 11849
8998d1b3
MR
118502011-06-22 Martin Rudalics <rudalics@gmx.at>
11851
11852 * window.el (display-buffer-default-specifiers)
11853 (display-buffer-alist): Remove entries for pop-up-frame-alist.
11854 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 11855 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
11856
11857 * frame.el (pop-up-frame-alist, pop-up-frame-function)
11858 (special-display-frame-alist, special-display-popup-frame):
11859 Remove duplicate declarations. These are now in window.el.
11860
4ea31e07
LMI
118612011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11862
c9d29fb8
SM
11863 * mail/smtpmail.el (smtpmail-via-smtp):
11864 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
11865 server supports it. SMTP servers that support STARTTLS commonly
11866 require it.
11867
11868 * net/network-stream.el (network-stream-open-starttls): Support
11869 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 11870 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 11871
95f41d9a
LMI
11872 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
11873 upgrades with `open-network-stream', and rely solely on
11874 auth-source for all credentials. Big changes throughout the file,
11875 but in particular:
c9d29fb8
SM
11876 (smtpmail-auth-credentials): Remove.
11877 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
11878 (smtpmail-via-smtp): Check for servers saying they want AUTH after
11879 MAIL FROM, too.
95f41d9a 11880
c9d29fb8
SM
11881 * net/network-stream.el (network-stream-open-starttls):
11882 Provide support for client certificates both for external and built-in
4ea31e07
LMI
11883 STARTTLS.
11884 (auth-source): Require.
11885 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
11886 (network-stream-certificate): Change cert-cert to cert and
11887 cert-key to key.
4ea31e07 11888
065ec2c7
MA
118892011-06-21 Michael Albinus <michael.albinus@gmx.de>
11890
11891 * net/tramp-cache.el (top): Don't load the persistency file when
11892 "emacs -Q" has been called.
11893
cd93b359
DR
118942011-06-21 Tim Harper <timcharper@gmail.com>
11895
d8e4b68b
JB
11896 * term/ns-win.el (ns-initialize-window-system):
11897 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
11898 resource to NO as it is not yet supported by the NS port.
11899
ae9c0411
JB
119002011-06-21 Juanma Barranquero <lekktu@gmail.com>
11901
11902 * misc.el (list-dynamic-libraries--refresh): Compute header here...
11903 (list-dynamic-libraries): ...not here.
11904
7f3f739f
LL
119052011-06-21 Leo Liu <sdl.web@gmail.com>
11906
11907 * subr.el (sha1): Implement sha1 using secure-hash.
11908
327c8fb1
MR
119092011-06-21 Martin Rudalics <rudalics@gmx.at>
11910
11911 * window.el (display-buffer-alist): In default value do not
11912 enforce searching a window on any but the selected frame.
11913 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11914 (display-buffer-select-window): Remove function.
11915 (display-buffer-in-window): When a window on another frame gets
11916 reused, do not select it any more but just raise its frame if
11917 necessary (Bug#8851) and (Bug#8856).
11918 (display-buffer-normalize-options): Handle pop-up-frames related
11919 options more faithfully.
11920 (pop-to-buffer): Don't rely on `display-buffer' selecting the
11921 window if it is on another frame.
c9d29fb8
SM
11922 (display-buffer-alist, display-buffer-default-specifiers):
11923 Don't make new frame unsplittable by default.
9e9de014
MR
11924 (display-buffer-normalize-argument): Fix doc-string typo and use
11925 'same-frame-other-window instead of 'other-window when associating
11926 with display-buffer-macro-specifiers.
327c8fb1 11927
7cf3f556
VB
119282011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
11929
11930 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11931 New functions.
11932 (5x5-mode-map, 5x5-mode-menu): Bind them.
11933 (5x5-draw-grid): Tweak the solver's rendering.
11934
60a406cf
SM
119352011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11936
11937 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11938 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11939
d8e4b68b 119402011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
11941
11942 * menu-bar.el: Use function variable instead of switch-to-buffer.
11943 (menu-bar-select-buffer-function): New variable.
60a406cf 11944 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 11945
478d6f95
SM
119462011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11947
11948 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11949 variable's status.
11950
ca530739
JD
119512011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11952
11953 * x-dnd.el (x-dnd-version-from-flags)
11954 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11955 and long as number (Bug#8899).
11956 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11957
bcd70d97
SM
119582011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11959
60a406cf 11960 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
11961 (completion-try-completion, completion-all-completions): Compute the
11962 metadata argument if it's missing; make it optional (bug#8795).
11963
60a406cf 11964 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
11965 (widget-complete): Use new :completion-function property.
11966 (widget-completions-at-point): New function.
11967 (default): Use :completion-function instead of :complete.
60a406cf
SM
11968 (widget-default-completions): Rename from widget-default-complete;
11969 Rewrite.
bcd70d97
SM
11970 (widget-string-complete, widget-file-complete, widget-color-complete):
11971 Remove functions.
11972 (file, symbol, function, variable, coding-system, color):
11973 * international/mule-cmds.el (default-input-method, charset)
11974 (language-info-custom-alist):
11975 * cus-edit.el (face): Use new property :completions.
11976
11977 * progmodes/pascal.el (pascal-completions-at-point): New function.
11978 (pascal-mode): Use it.
11979 (pascal-mode-map): Use completion-at-point.
11980 (pascal-toggle-completions): Make obsolete.
11981 (pascal-complete-word, pascal-show-completions):
11982 * progmodes/octave-mod.el (octave-complete-symbol):
11983 Redefine as obsolete alias.
11984 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11985 Signal absence of completion info for old Octave,
11986 (inferior-octave-complete): Redefine as obsolete alias.
11987 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11988 (meta-completions-at-point): Rename from meta-complete-symbol and
11989 adapt it for use on completion-at-point-functions.
11990 (meta-common-mode): Use it.
11991 (meta-looking-at-backward, meta-match-buffer): Remove.
11992 (meta-complete-symbol): Redefine as obsolete alias.
11993 (meta-common-mode-map): Use completion-at-point.
11994 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11995 (makefile-mode-map): Use completion-at-point.
11996 (makefile-completions-at-point): Rename from makefile-complete and
11997 adapt it for use on completion-at-point-functions.
11998 (makefile-mode): Use it.
11999 (makefile-complete): Redefine as obsolete alias.
12000
aebf69c8
DD
120012011-06-20 Deniz Dogan <deniz@dogan.se>
12002
12003 * net/rcirc.el: Delete trailing whitespaces once and for all.
12004
bfbbb27d
DC
120052011-06-20 Daniel Colascione <dan.colascione@gmail.com>
12006
12007 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
12008
d264a46b
CY
120092011-06-19 Chong Yidong <cyd@stupidchicken.com>
12010
4ca009e5
CY
12011 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
12012
d264a46b
CY
12013 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
12014
fbf5b3ce
MR
120152011-06-19 Martin Rudalics <rudalics@gmx.at>
12016
12017 * window.el (display-buffer-other-window-means-other-frame):
12018 Call display-buffer-normalize-alist.
12019 (display-buffer-normalize-specifiers-1): Rename to
12020 display-buffer-normalize-argument. New argument other-frame.
12021 Rewrite.
12022 (display-buffer-normalize-specifiers-2): Rename to
12023 display-buffer-normalize-options.
12024 (display-buffer-normalize-alist-1): New function.
12025 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
12026 display-buffer-normalize-alist.
12027 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
12028 (display-buffer-normalize-options-inhibit): New variable.
12029 (display-buffer-normalize-specifiers): Rewrite calling
12030 display-buffer-normalize-alist,
12031 display-buffer-normalize-argument, and
12032 display-buffer-normalize-options. Don't call the latter if
12033 display-buffer-normalize-options-inhibit is non-nil.
12034 (frame-auto-delete): New option.
12035 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
12036 (window-list-no-nils, window-state-ignored-parameters)
12037 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
12038 (window-state-put-1, window-state-put-2, window-state-put):
12039 New functions.
9a028c23
MR
12040 (display-buffer-normalize-options): Move special-display-p group
12041 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 12042
6d10d800
CY
120432011-06-18 Chong Yidong <cyd@stupidchicken.com>
12044
6420d28b
CY
12045 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
12046 groups (Bug#8776).
12047 (rx-submatch-n): New function.
12048 (rx): Document it.
12049
ddb8b596
CY
12050 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
12051 (Bug#8768).
12052
12053 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
12054
77080289
CY
12055 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
12056
61dfb316
CY
12057 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
12058 anytime existing face settings are present (Bug#8889).
12059
6d10d800
CY
12060 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
12061 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
12062 Remove unused argument.
12063
be3fb2b8
MR
120642011-06-18 Martin Rudalics <rudalics@gmx.at>
12065
bcd70d97
SM
12066 * window.el (display-buffer-default-specifiers):
12067 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
12068 pop-up-window-min-width, and another reuse-window specifier
12069 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
12070 (display-buffer-normalize-specifiers-2):
12071 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
12072 pop-up-windows is unset. Add a reuse-window specifier for the
12073 case popping up a new window fails.
12074 (special-display-popup-frame): Remove double quoting.
28dec25a 12075 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 12076
1c6d8c76
SM
120772011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12078
12079 * shell.el (shell-completion-vars): Set pcomplete-termination-string
12080 according to comint-completion-addsuffix.
12081
12082 * pcomplete.el: Convert to lexical binding and fix bug#8819.
12083 (pcomplete-suffix-list): Mark as obsolete.
12084 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
12085 pcomplete-seen in the closure.
12086 (pcomplete-comint-setup): Setup completion-at-point as well.
12087 (pcomplete--entries): New function.
12088 (pcomplete--env-regexp): New var.
12089 (pcomplete-entries): Rewrite to work with partial-completion and
12090 without relying on pcomplete-suffix-list.
12091 (pcomplete-pare-list): Remove, unused.
12092
25aef8b8
MR
120932011-06-17 Martin Rudalics <rudalics@gmx.at>
12094
12095 * window.el (display-buffer-alist): Set pop-up-window-min-height
12096 and pop-up-window-min-width in default value. Reported by
12097 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
12098 other-window-means-other-frame.
12099 (display-buffer-macro-specifiers): Comment out entry for
12100 other-window specifier.
12101 (display-buffer-other-window-means-other-frame): New function.
12102 (display-buffer-normalize-specifiers-1): New arguments
12103 buffer-name and label. Treat other-window case specially.
12104 (display-buffer-normalize-specifiers-2): Treat other-window case
12105 specially.
12106 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
12107 (display-buffer-normalize-specifiers):
12108 Call display-buffer-normalize-specifiers-3.
25aef8b8 12109
dbad4f69
MR
121102011-06-17 Martin Rudalics <rudalics@gmx.at>
12111
12112 * window.el (same-window-p): Fix two typos introduced when
12113 adding with-no-warnings.
d1067961
MR
12114 (display-buffer-normalize-specifiers-1): Don't check
12115 pop-up-frames for 'unset initialization.
12116 (display-buffer-normalize-specifiers-2): Major rewrite using
12117 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
12118 (pop-up-frames, display-buffer-reuse-frames)
12119 (display-buffer-mark-dedicated): Don't initialize to 'unset.
12120 Suggested by David Engster <deng@randomsample.de>.
12121 (even-window-heights): Initialize to 'unset.
12122 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
12123 (display-buffer-macro-specifiers): Don't pop up a new frame in the
12124 other window case.
dbad4f69 12125
9b9c9e3a
MR
121262011-06-16 Martin Rudalics <rudalics@gmx.at>
12127
bcd70d97
SM
12128 * window.el (display-buffer-normalize-specifiers-1):
12129 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 12130 second argument of display-buffer (Bug#8865).
981d5c09
MR
12131 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
12132 (switch-to-buffer-other-window-same-frame)
12133 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
12134 Adams (Bug#8875).
9c2755e9
MR
12135 (display-buffer): Don't check noninteractive when calling
12136 display-buffer-pop-up-frame.
12137 (display-buffer-pop-up-frame): Never pop up a frame in
12138 noninteractive mode (Bug#8857).
67222e1d
MR
12139 (enlarge-window, shrink-window): Don't report an error when the
12140 window can't be resized as requested (Bug#8862).
9b9c9e3a 12141
2b75be67
SM
121422011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12143
9ffdd3ba
SM
12144 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
12145
cb581a67
SM
12146 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
12147
2b75be67
SM
12148 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
12149
8c0e3589
AM
121502011-06-15 Alan Mackenzie <acm@muc.de>
12151
cb581a67
SM
12152 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
12153 for declarators, disable knr checking to speed up for normal files.
12154 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 12155
b96e6cde
LMI
121562011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12157
4bba86e6
LMI
12158 * net/network-stream.el (open-network-stream): Add the keyword
12159 :always-query-capabilities for the case where you want to force a
12160 `plain' network connection, but the protocol still requires the
12161 capabilitiy command (i.e., SMTP and EHLO).
12162
2b75be67 12163 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
12164 consistency with other `-live-p' functions.
12165
efdcdbf8
SM
121662011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12167
12168 * window.el (same-window-buffer-names, same-window-regexps)
12169 (special-display-frame-alist, special-display-popup-frame)
12170 (special-display-function, special-display-buffer-names)
12171 (special-display-regexps, pop-up-frame-alist)
12172 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
12173 (pop-up-windows, split-window-preferred-function)
12174 (split-height-threshold, split-width-threshold, even-window-heights)
12175 (display-buffer-mark-dedicated): Don't encourage the use of
12176 display-buffer-alist from Elisp code.
12177
c5cde042
DN
121782011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
12179
12180 * progmodes/python.el (python-mode): Derive from prog-mode.
12181 * progmodes/ps-mode.el (ps-mode):
12182 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 12183 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
12184 * progmodes/ld-script.el (ld-script-mode): Likewise.
12185
baa1c9ab
MR
121862011-06-15 Martin Rudalics <rudalics@gmx.at>
12187
12188 * window.el (display-buffer-alist): Trim default value to avoid
12189 popping up a new frame (Bug#8857) or reusing an arbitrary window
12190 on another frame.
12191 (display-buffer): Do not fall back on popping up a new frame in
12192 batch mode (Bug#8857).
12193
c5dd5a51
CY
121942011-06-14 Chong Yidong <cyd@stupidchicken.com>
12195
12196 * cus-theme.el (describe-theme-1): Use custom-theme-p.
12197 (custom-theme-summary): New function.
12198 (customize-themes): Use it.
12199
d647b7c4
GM
122002011-06-13 Glenn Morris <rgm@gnu.org>
12201
12202 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
12203
9481c002
MR
122042011-06-13 Martin Rudalics <rudalics@gmx.at>
12205
357f93d2
MR
12206 * help.el (help-window): Remove variable.
12207 (help-window-point-marker, temp-buffer-max-height)
12208 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
12209 (help-print-return-message): Don't set help-window.
12210 (resize-temp-buffer-window): Rewrite cod eand doc-string.
12211 (help-window-setup-finish): Remove.
12212 (help-window-display-message, help-window-setup)
12213 (with-help-window): Major rewrite based on new
12214 display-buffer-window variable.
12215
12216 * help-mode.el (help-mode-finish): Remove help-window related
12217 code.
12218
12219 * view.el (view-exits-all-viewing-windows): Remove reference to
12220 view-return-to-alist in doc-string.
12221 (view-return-to-alist): Make obsolete.
12222 (view-buffer): Call pop-to-buffer-same-window and remove
12223 undo-window code.
12224 (view-buffer-other-window): Call pop-to-buffer-other-window and
12225 simplify code. Ignore second argument.
12226 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
12227 simplify code. Ignore second argument.
12228 (view-return-to-alist-update): Make obsolete.
12229 (view-mode-enter): Rename second argument to QUIT-RESTORE.
12230 Rewrite using quit-restore window parameters.
2b75be67
SM
12231 (view-mode-exit): Rename second argument to EXIT-ONLY.
12232 Rewrite using quit-restore-window.
357f93d2
MR
12233 (View-exit, View-exit-and-edit, View-leave, View-quit)
12234 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
12235 appropriate arguments.
12236 (view-end-message): Use quit-restore window parameter.
12237
9481c002
MR
12238 * window.el (display-buffer-function): Rewrite doc-string.
12239 (display-buffer-window, display-buffer-alist): New variables.
12240 (display-buffer-split-specifiers)
12241 (display-buffer-side-specifiers)
12242 (display-buffer-macro-specifiers): New constants.
12243 (display-buffer-even-window-sizes, display-buffer-set-height)
12244 (display-buffer-set-width, display-buffer-select-window)
12245 (display-buffer-in-window, display-buffer-reuse-window)
12246 (display-buffer-split-window-1, display-buffer-split-window)
12247 (display-buffer-split-atom-window, display-buffer-pop-up-window)
12248 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
12249 (display-buffer-in-side-window, normalize-buffer-to-display)
12250 (display-buffer-normalize-specifiers-1)
12251 (display-buffer-normalize-specifiers-2)
2b75be67
SM
12252 (display-buffer-normalize-specifiers, display-buffer-frame):
12253 New functions.
9481c002
MR
12254 (display-buffer): Major rewrite.
12255 (display-buffer-other-window, display-buffer-other-frame)
12256 (pop-to-buffer, switch-to-buffer-other-window)
12257 (switch-to-buffer-other-frame): Rewrite.
12258 (display-buffer-same-window, display-buffer-same-frame)
12259 (display-buffer-same-frame-other-window)
12260 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12261 (pop-to-buffer-other-window)
12262 (pop-to-buffer-same-frame-other-window)
12263 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
12264 (switch-to-buffer-other-window-same-frame): New functions.
12265 (same-window-p, special-display-p): Rewrite disabling warnings.
12266 Make obsolete.
12267 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12268 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
12269 Make obsolete
12270 (same-window-buffer-names, same-window-regexps)
12271 (special-display-frame-alist, special-display-popup-frame)
12272 (special-display-function, special-display-buffer-names)
12273 (special-display-regexps, pop-up-frame-alist)
12274 (pop-up-frame-function, split-window-preferred-function)
12275 (split-height-threshold, split-width-threshold)
12276 (even-window-heights): Make obsolete.
12277
9db51aca
GM
122782011-06-12 Glenn Morris <rgm@gnu.org>
12279
12280 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 12281 Misc simplifications.
9db51aca 12282
39cffb44
MR
122832011-06-12 Martin Rudalics <rudalics@gmx.at>
12284
12285 * window.el (window-safely-shrinkable-p): Restore function which
12286 was inadvertently removed in change from 2011-06-11. Declare as
12287 obsolete.
12288
2b75be67
SM
12289 * calendar/calendar.el (calendar-generate-window):
12290 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
12291 window-safely-shrinkable-p.
12292
a8955be7
GM
122932011-06-12 Glenn Morris <rgm@gnu.org>
12294
12295 * progmodes/fortran.el (fortran-mode-syntax-table):
12296 * progmodes/f90.el (f90-mode-syntax-table):
12297 Set % to punctuation. (Bug#8820)
12298 (f90-find-tag-default): Remove, no longer needed.
12299
f0d4059d
DC
123002011-06-12 Daniel Colascione <dan.colascione@gmail.com>
12301
12302 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
12303
1100a63c
CY
123042011-06-11 Chong Yidong <cyd@stupidchicken.com>
12305
12306 * image.el (image-animated-p): Return animation delay in seconds.
12307 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
12308 (image-animate-timeout): Remove DELAY argument. Don't assume
12309 every subimage has the same delay; get it from image-animated-p.
12310 (image-animate): Caller changed.
12311
def722bf
MA
123122011-06-11 Michael Albinus <michael.albinus@gmx.de>
12313
12314 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
12315 to ignored backtrace functions.
12316
0a2bb1a9
GM
123172011-06-11 Glenn Morris <rgm@gnu.org>
12318
12319 * calendar/appt.el (appt-disp-window-function): Doc fix.
12320 (appt-check): Handle overlapping appointments. (Bug#8337)
12321
6198ccd0
MR
123222011-06-11 Martin Rudalics <rudalics@gmx.at>
12323
12324 * window.el (window-tree-1, window-tree): New functions, moving
12325 the latter to window.el.
12326 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
12327 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
12328 (bw-refresh-edges): Remove.
12329 (balance-windows-1, balance-windows-2): New functions.
12330 (balance-windows): Rewrite in terms of window tree functions,
12331 balance-windows-1 and balance-windows-2.
12332 (bw-adjust-window): Remove.
12333 (balance-windows-area-adjust): New function with functionality of
12334 bw-adjust-window but using resize-window.
2b75be67
SM
12335 (set-window-text-height): Rewrite doc-string.
12336 Use normalize-live-window and resize-window.
12337 (enlarge-window-horizontally, shrink-window-horizontally):
12338 Rename argument to DELTA.
6198ccd0
MR
12339 (window-buffer-height): New function.
12340 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
12341 Rewrite using new window resize routines.
2b75be67
SM
12342 (kill-buffer-and-window, mouse-autoselect-window-select):
12343 Use ignore-errors instead of condition-case.
6198ccd0
MR
12344 (quit-window): Call delete-frame instead of delete-windows-on
12345 for the only buffer on frame.
12346
9397e56f
MR
123472011-06-10 Martin Rudalics <rudalics@gmx.at>
12348
12349 * loadup.el (top-level): Load window before files for the sake
12350 of replace-buffer-in-windows.
12351
12352 * files.el (read-buffer-to-switch)
12353 (switch-to-buffer-other-window)
2b75be67
SM
12354 (switch-to-buffer-other-frame, display-buffer-other-frame):
12355 Move to window.el.
9397e56f
MR
12356
12357 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
12358 (previous-buffer): Move to window.el.
12359
12360 * bindings.el (unbury-buffer): Move to window.el.
12361
12362 * window.el (delete-other-windows-vertically): Move after
12363 definition of delete-other-windows.
12364 (other-window, delete-windows-on, replace-buffer-in-windows):
12365 Move here from window.c.
12366 (record-window-buffer, unrecord-window-buffer)
12367 (set-window-buffer-start-and-point, switch-to-prev-buffer)
12368 (switch-to-next-buffer): New functions.
12369 (get-next-valid-buffer, last-buffer, next-buffer): Move here
12370 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
12371 (previous-buffer): Move here from simple.el.
12372 Call switch-to-prev-buffer.
9397e56f
MR
12373 (bury-buffer): Move here from buffer.c. Switch to previous
12374 buffer when window cannot be deleted.
12375 (unbury-buffer): Move here from bindings.el.
12376 (ctl-x-map): Move binding for other-window from window.c to
12377 here.
12378 (read-buffer-to-switch, switch-to-buffer-other-window)
12379 (switch-to-buffer-other-frame): Move here from files.el.
12380 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
12381 (switch-to-buffer): Move here from buffer.c.
12382 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 12383
562dd5e9
MR
123842011-06-10 Martin Rudalics <rudalics@gmx.at>
12385
12386 * window.el (window-min-height, window-min-width): Move here
12387 from window.c. Add defcustoms and rewrite doc-strings.
12388 (resize-mini-window, resize-window): New functions.
12389 (adjust-window-trailing-edge, enlarge-window, shrink-window):
12390 Move here from window.c.
12391 (maximize-window, minimize-window): New functions.
12392 (delete-window, delete-other-windows, split-window): Move here
12393 from window.c.
12394 (window-split-min-size): New function.
12395 (split-window-keep-point): Mention split-window-above-each-other
12396 instead of split-window-vertically.
2b75be67 12397 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
12398 Rename split-window-vertically to split-window-above-each-other
12399 and provide defalias for old definition.
12400 (split-window-side-by-side, split-window-horizontally):
12401 Rename split-window-horizontally to split-window-side-by-side
12402 and provide defalias for the old definition.
562dd5e9
MR
12403 (ctl-x-map): Move bindings for delete-window,
12404 delete-other-windows and enlarge-window here from window.c.
12405 Replace bindings for split-window-vertically and
12406 split-window-horizontally by bindings for
12407 split-window-above-each-other and split-window-side-by-side.
12408
12409 * cus-start.el (all): Remove entries for window-min-height and
12410 window-min-width. Add entries for window-splits and
12411 window-nest.
12412
f0da764a
GM
124132011-06-09 Glenn Morris <rgm@gnu.org>
12414
80675c21
GM
12415 * calendar/appt.el (appt-mode-line): New function.
12416 (appt-check, appt-disp-window): Use it.
12417
f0da764a
GM
12418 * files.el (hack-one-local-variable-eval-safep):
12419 Allow minor-modes with explicit +/-1 arguments.
12420
59f623b7
TZ
124212011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
12422
12423 * term/xterm.el (xterm): Add defgroup.
12424 (xterm-extra-capabilities): Add defcustom to supply known xterm
12425 capabilities, skip querying them, or query them (default).
12426 (terminal-init-xterm): Use it.
12427 (terminal-init-xterm-modify-other-keys): New function to set up
12428 modifyOtherKeys support to simplify `terminal-init-xterm'.
12429
9aab8e0d
MR
124302011-06-09 Martin Rudalics <rudalics@gmx.at>
12431
12432 * window.el (resize-window-reset, resize-window-reset-1)
12433 (resize-subwindows-skip-p, resize-subwindows-normal)
12434 (resize-subwindows, resize-other-windows, resize-this-window)
12435 (resize-root-window, resize-root-window-vertically)
12436 (window-deletable-p, window-or-subwindow-p)
12437 (frame-root-window-p): New functions.
12438
e8b08aee
GM
124392011-06-09 Glenn Morris <rgm@gnu.org>
12440
12441 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12442 (ange-ftp-get-files): Use it.
12443
254c37a5
AK
124442011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
12445
12446 * mail/sendmail.el (mail-recover-1, mail-recover):
12447 * files.el (recover-file, recover-session):
12448 Handle dired-listing-switches not being just a single short option.
12449
35d7dbd3
GM
124502011-06-09 Glenn Morris <rgm@gnu.org>
12451
12452 * calendar/appt.el (appt-display-message, appt-disp-window):
12453 Handle lists of appointments.
12454
387522b2
MR
124552011-06-08 Martin Rudalics <rudalics@gmx.at>
12456
2b75be67
SM
12457 * window.el (one-window-p): Move down in code.
12458 Rewrite doc-string.
12459 (window-current-scroll-bars): Rewrite doc-string.
12460 Normalize live window argument.
387522b2
MR
12461 (walk-windows, get-window-with-predicate, count-windows):
12462 Rewrite doc-string. Use window-list-1.
12463 (window-in-direction-2, window-in-direction, get-mru-window):
12464 New functions.
12465
d8e4b68b 124662011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
12467
12468 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12469 Doc fix (Bug#8713).
12470
124712011-06-08 Chong Yidong <cyd@stupidchicken.com>
12472
12473 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12474
124752011-06-08 Juanma Barranquero <lekktu@gmail.com>
12476
12477 * loadhist.el (unload-feature-special-hooks):
12478 Add `comint-output-filter-functions'.
12479
0de12c52
IK
124802011-06-08 Ivan Kanis <gnu@kanis.fr>
12481
12482 * calendar/appt.el (appt-check): Move some initializations into the let.
12483
f3d1777e
MR
124842011-06-08 Martin Rudalics <rudalics@gmx.at>
12485
12486 * window.el (window-height): Defalias to window-total-height.
12487 (window-width): Defalias to window-body-width.
12488
18af70d0
CY
124892011-06-07 Chong Yidong <cyd@stupidchicken.com>
12490
12491 * image-mode.el (image-toggle-animation): New command.
12492 (image-mode-map): Bind it to RET.
12493 (image-mode): Update message.
12494 (image-toggle-display-image): Avoid a spurious cache flush.
12495 (image-transform-rotation): Doc fix.
12496 (image-transform-properties): Return quickly in the normal case.
12497 (image-animate-loop): Rename from image-animate-max-time.
12498
2b75be67 12499 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
12500 (create-animated-image): Remove unnecessary function.
12501 (image-animate): Rename from image-animate-start. New arg.
2b75be67 12502 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
12503 (image-animate-timer): Use car-safe.
12504 (image-animate-timeout): Rename argument.
12505
190b47e6
MR
125062011-06-07 Martin Rudalics <rudalics@gmx.at>
12507
12508 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
12509 window.c. Rename first argument to ALL-FRAMES.
12510 Rephrase doc-strings.
12511 (get-buffer-window-list): Rewrite using window-list-1.
12512 Rephrase doc-string.
a1511caf
MR
12513 (window-safe-min-height, window-safe-min-width): New constants.
12514 (window-size-ignore, window-min-size, window-min-size-1)
12515 (window-sizable, window-sizable-p, window-size-fixed-1)
12516 (window-size-fixed-p, window-min-delta-1, window-min-delta)
12517 (window-max-delta-1, window-max-delta, window-resizable)
12518 (window-resizable-p, window-total-height, window-total-width)
12519 (window-body-width): New functions.
12520 (window-full-height-p, window-full-width-p): Rewrite using
12521 window-total-size.
12522 (window-body-height): Rewrite using window-body-size.
190b47e6 12523
85cc1f11
MR
125242011-06-06 Martin Rudalics <rudalics@gmx.at>
12525
12526 * window.el (window-right, window-left, window-child)
12527 (window-child-count, window-last-child, window-any-p)
12528 (normalize-live-buffer, normalize-live-frame)
12529 (normalize-any-window, normalize-live-window)
12530 (window-iso-combination-p, window-iso-combined-p)
12531 (window-iso-combinations)
12532 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12533 (windows-with-parameter, window-with-parameter)
12534 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
12535 (window-atom-check, window-side-check, window-check):
12536 New functions.
85cc1f11
MR
12537 (ignore-window-parameters, window-sides, window-sides-vertical)
12538 (window-sides-slots): New variables.
12539 (window-size-fixed): Move down in code. Minor doc-string fix.
12540
e7156492
AS
125412011-06-05 Andreas Schwab <schwab@linux-m68k.org>
12542
12543 * comint.el (comint-dynamic-complete-as-filename)
12544 (comint-dynamic-complete-filename): Correctly call
12545 completion-in-region.
12546
7e821d0d
DD
125472011-06-05 Deniz Dogan <deniz@dogan.se>
12548
12549 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12550 in last change.
12551
ac09b8a1
DD
125522011-06-05 Deniz Dogan <deniz@dogan.se>
12553
12554 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12555 (rcirc): Use it to prompt for encryption.
12556
34699b85
RW
125572011-06-05 Roland Winkler <winkler@gnu.org>
12558
12559 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12560 (bibtex-search-entries): New command bound to C-c C-a.
12561 (bibtex-display-entries): New function.
12562
004dedd3
RW
125632011-06-05 Roland Winkler <winkler@gnu.org>
12564
12565 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12566 (bibtex-insert-kill): After yanking insert newline if necessary.
12567 (bibtex-initialize): Call bibtex-string-files-init only once.
12568 (bibtex-mode): Do not call easy-menu-add.
12569 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12570 (bibtex-yank): Set arg properly if nil.
12571
022fe7ce
RW
125722011-06-05 Roland Winkler <winkler@gnu.org>
12573
2b75be67
SM
12574 * textmodes/bibtex.el (bibtex-search-entry-globally):
12575 New variable.
022fe7ce
RW
12576 (bibtex-search-entry): Use it.
12577
b7c3692a
RW
125782011-06-05 Roland Winkler <winkler@gnu.org>
12579
12580 * textmodes/bibtex.el (bibtex-entry-format): New option
12581 sort-fields.
12582 (bibtex-format-entry, bibtex-reformat): Honor this option.
12583 (bibtex-parse-entry): Return fields in proper order.
12584
8eda563d
JB
125852011-06-05 Juanma Barranquero <lekktu@gmail.com>
12586
12587 * doc-view.el (doc-view-remove-if): Move computation of result out
12588 of `dolist' to silence misleading lexical-binding warning.
12589
7dbe3dbc
CY
125902011-06-04 Chong Yidong <cyd@stupidchicken.com>
12591
12592 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
12593 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
12594
0c33dd17
MA
125952011-06-04 Michael Albinus <michael.albinus@gmx.de>
12596
12597 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
12598 "SunOS 5.10".
12599
f8f91c2b
MA
126002011-06-04 Michael Albinus <michael.albinus@gmx.de>
12601
12602 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
12603 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
12604 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
12605 (tramp-parse-putty):
12606 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12607 (tramp-completion-function-alist-ssh)
12608 (tramp-completion-function-alist-telnet)
12609 (tramp-completion-function-alist-su)
12610 (tramp-completion-function-alist-putty): Set `tramp-autoload'
12611 cookie.
12612
12613 * net/tramp-ftp.el:
12614 * net/tramp-sh.el:
12615 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12616 load "tramp.el" `tramp-set-completion-function'.
12617
e17d9003
SM
126182011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12619
12620 * shell.el: Require and use pcomplete.
12621 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12622 (shell-completion-vars): Set pcomplete-default-completion-function.
12623
6c4cab03
DD
126242011-06-04 Deniz Dogan <deniz@dogan.se>
12625
12626 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12627 `memq' (Bug#8799).
12628
ea9fafe0
SM
126292011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12630
12631 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12632
b3e945d3
JB
126332011-06-02 Juanma Barranquero <lekktu@gmail.com>
12634
12635 * bs.el (bs--mark-unmark, bs--nth-wrapper):
12636 * mpc.el (mpc-select-extend, mpc-songpointer-context):
12637 * vc/log-view.el (log-view-beginning-of-defun):
12638 * vc/smerge-mode.el (smerge-apply-resolution-patch)
12639 (smerge-refine-forward, smerge-refine-chopup-region):
12640 Silence warning for unused `dotimes' counter variables.
12641
7d520089
SM
126422011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12643
12644 * net/tramp.el (tramp-with-progress-reporter): Rename from
12645 with-progress-reporter. Use `declare'.
12646 * net/tramp-smb.el:
12647 * net/tramp-sh.el:
12648 * net/tramp-gvfs.el: Update all uses.
12649
a1c2400f
JB
126502011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
12651
12652 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12653 buffer isn't killed before making it current.
12654
2403c841
SM
126552011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12656
12657 Silence various byte-compiler warnings.
12658 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12659 `access-type' and new obsolescence format.
12660 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12661 new format.
12662 (byte-compile-check-variable): New `access-type' argument.
12663 Only warn if the access-type is obsolete.
12664 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12665 (byte-compile-variable-set): Adjust callers.
12666 * help-fns.el (describe-variable): Adjust to new obsolescence format.
12667 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12668 setting it as obsolete.
12669 * simple.el (minibuffer-completing-symbol):
12670 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12671 access as obsolete.
12672 * minibuffer.el (minibuffer-completing-file-name): Don't make it
12673 obsolete yet.
12674 * international/quail.el (quail-mouse-choose-completion): Remove unused
12675 code referring to obsolete var.
12676 (quail-choose-completion-string): Remove.
12677 * server.el (server-clients-with, server-kill-buffer-query-function)
12678 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12679 * proced.el (proced-send-signal):
12680 * emacs-lisp/lisp.el (lisp-complete-symbol):
12681 Replace completion-annotate-function with completion-extra-properties.
12682
2462470b
SM
126832011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12684
fb5b2591
SM
12685 * simple.el (goto-line): Use read-number.
12686 (overriding-map-is-bound): Remove.
12687 (saved-overriding-map): Change default.
12688 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12689 Take the map as argument.
12690 (universal-argument, negative-argument, digit-argument): Use it.
12691 (restore-overriding-map): Adjust.
12692 (do-auto-fill): Use fill-forward-paragraph.
12693 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12694
fd6fa53f
SM
12695 * minibuffer.el (minibuffer-inactive-mode-map): New var.
12696 (minibuffer-inactive-mode): New major mode.
12697 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12698 the *Messages* buffer" hack.
12699 (mouse-popup-menubar): Don't burp if the event is a normal key.
12700
2462470b
SM
12701 Miscellaneous tweaks.
12702 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12703 lexical scoping as in subr.el's dolist and dotimes.
12704 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12705 Silence compiler warning.
12706 * thingatpt.el (forward-whitespace): Trivial coding style fix.
12707 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12708 * international/ccl.el (ccl-compile): Trivial simplification.
12709 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12710 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12711 `printflag' argument.
12712 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12713 Purecopy the whole obsolescence data.
12714
108bf785
LL
127152011-06-01 Leo Liu <sdl.web@gmail.com>
12716
12717 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12718 improve doc-string as suggested by Marco Pessotto
12719 <melmothx@gmail.com>.
12720 (rcirc-print): Fix last change.
12721
30a23501
SM
127222011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12723
12724 * minibuffer.el (complete-with-action): Return nil for the metadata and
12725 boundaries of non-functional tables.
12726 (completion-table-dynamic): Return nil for the metadata.
12727 (completion-table-with-terminator): Add default case, using
12728 complete-with-action.
12729 (completion--metadata): New function.
12730 (completion-all-sorted-completions, minibuffer-completion-help): Use it
12731 to try and avoid pathological performance problems.
12732 (completion--embedded-envvar-table): Return `category' metadata.
12733
bcd54f83
LMI
127342011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
12735
12736 * subr.el (process-alive-p): New tiny convenience function.
12737
e227544d
SM
127382011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12739
12740 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12741 content but also its previous major mode.
12742
e8296fdc
HE
127432011-05-31 Helmut Eller <eller.helmut@gmail.com>
12744
4d61f28d 12745 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
12746 *Backtrace* buffer when we exit with C-M-c.
12747
620c53a6
SM
127482011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12749
12750 * minibuffer.el: Add metadata method to completion tables.
12751 (completion-category-overrides): New defcustom.
12752 (completion-metadata, completion--field-metadata)
12753 (completion-metadata-get, completion--styles)
12754 (completion--cycle-threshold): New functions.
12755 (completion-try-completion, completion-all-completions):
12756 Add `metadata' argument to choose completion-styles.
12757 (completion--do-completion): Use metadata to choose cycling.
12758 (completion-all-sorted-completions): Use metadata for sorting.
12759 Remove :completion-cycle-penalty which is not needed any more.
12760 (completion--try-word-completion): Add `metadata' argument.
12761 (minibuffer-completion-help): Check metadata for annotation function
12762 and sorting.
12763 (completion-file-name-table): Return `category' metadata.
12764 (minibuffer-completing-file-name): Make obsolete.
12765 * simple.el (minibuffer-completing-symbol): Make obsolete.
12766 * icomplete.el (icomplete-completions): Pass new `metadata' param to
12767 completion-try-completion.
12768
1257e755
SM
127692011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12770
12771 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12772
3767e706
LL
127732011-05-30 Leo Liu <sdl.web@gmail.com>
12774
12775 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
12776 (rcirc-print): Decode all incoming messages (bug#8744).
12777 (rcirc-decode-coding-system): Allow value nil for automatic coding
12778 system detection.
3767e706 12779
d1a5d56a
GM
127802011-06-01 Glenn Morris <rgm@gnu.org>
12781
12782 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12783
e8cbec34
CY
127842011-05-29 Chong Yidong <cyd@stupidchicken.com>
12785
12786 * image.el (image-animate-max-time): Allow nil and t values.
12787 Default to nil.
12788 (create-animated-image): Doc fix.
12789 (image-animate-start): Remove second arg; just use
12790 image-animate-max-time.
12791 (image-animate-timeout): Doc fix. Args changed.
12792
12793 * image-mode.el (image-toggle-display-image): Ensure that the
12794 image spec passed to the animate timer is the same object as in
58179cce 12795 the buffer's display property (Bug#6981).
e8cbec34
CY
12796 (image-transform-properties): Doc fix.
12797
12798 * image.el (image-animate-max-time): Default to nil.
12799
159daf87
MR
128002011-05-29 Martin Rudalics <rudalics@gmx.at>
12801
12802 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12803 entire buffer list (Bug#8184).
12804
d66c4c7c
CY
128052011-05-29 Chong Yidong <cyd@stupidchicken.com>
12806
12807 * image.el (imagemagick-types-inhibit)
12808 (imagemagick-register-types): Doc fix.
12809
80aec780
DD
128102011-05-29 Deniz Dogan <deniz@dogan.se>
12811
12812 * net/rcirc.el (rcirc): Use the user's stored encryption method by
12813 default.
12814
1dd3c2d9
CY
128152011-05-29 Chong Yidong <cyd@stupidchicken.com>
12816
12817 * select.el: Don't perform clipboard-manager saving in hooks;
12818 leave the hooks empty.
12819
60e56523
LL
128202011-05-28 Leo Liu <sdl.web@gmail.com>
12821
12822 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
12823 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
12824 (occur-edit-mode): New major mode (Bug#8463).
12825 (occur-after-change-function): New function.
12826 (occur-engine): Give Occur tags a read-only property.
12827
2b1e1a22
KR
128282011-05-28 Kevin Ryde <user42@zip.com.au>
12829
12830 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
12831
5d344e88
CY
128322011-05-28 Chong Yidong <cyd@stupidchicken.com>
12833
8e6ca83d
CY
12834 * bindings.el (help-echo): Make the initial non-indicator dash
12835 empty on graphical terminals (Bug#7295).
12836
5d344e88
CY
12837 * files.el (auto-mode-alist): Move config rule after the
12838 in-stripping one (Bug#8547).
12839
bfbbace7
CY
12840 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
12841
fbeba6e2
CY
12842 * startup.el (normal-splash-screen): Remove gratuitous mode-line
12843 setting (Bug#8740).
12844
60ed8c72
AA
128452011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
12846
4ac619f0
AA
12847 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
12848 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
12849 (Bug#8539).
60ed8c72 12850
23db196e
CY
128512011-05-28 Chong Yidong <cyd@stupidchicken.com>
12852
12853 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
12854
5012f24c
DK
128552011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
12856
12857 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
12858 (hs-hide-block-at-point, hs-find-block-beginning)
12859 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
12860 (Bug#8279).
12861
6a639b16
GM
128622011-05-28 Glenn Morris <rgm@gnu.org>
12863
12864 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
12865
d43eaf2c
CY
128662011-05-28 Chong Yidong <cyd@stupidchicken.com>
12867
5199bde1
CY
12868 * help-fns.el (describe-function-1): If the function is a derived
12869 major mode, print the parent mode.
12870
d43eaf2c
CY
12871 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
12872 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
12873
423428a8
SM
128742011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12875
0ff8e1ba 12876 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 12877 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
12878 * progmodes/etags.el (tags-completion-at-point-function):
12879 * info-look.el (info-lookup-completions-at-point): Mark as
12880 non-exclusive.
12881 (info-complete): Adjust accordingly.
12882
423428a8
SM
12883 * info-look.el: Convert to lexical-binding and completion-at-point.
12884 (info-lookup-completions-at-point): New function.
12885 (info-complete): Use it and completion-in-region.
12886
b74aa22b
DA
128872011-05-28 Drew Adams <drew.adams@oracle.com>
12888
12889 * isearch.el: Let M-e start with point at the first mismatched char.
12890 (isearch-fail-pos): New function.
12891 (isearch-edit-string): Use it.
12892
66e2e71d
DK
128932011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12894
12895 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12896
b1890b0f 128972011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
12898
12899 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
12900 traversal functions for avl-trees.
12901 (avl-tree--stack): New struct.
12902 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12903 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
12904 (avl-tree--do-enter): Add optional `updatefun' arg.
12905 Change return value.
eb95d01d 12906 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
12907 (avl-tree--do-delete): Add `test' and `nilflag' args.
12908 Change return value.
eb95d01d
TC
12909 (avl-tree-member): Add optional `nilflag'
12910 (avl-tree-member-p): New function.
12911 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12912 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12913 (avl-tree-stack-empty-p): New functions.
12914
3769ddcf
TC
12915 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12916 avl-tree--del-balance1 and make it work both ways.
12917 (avl-tree--del-balance2): Remove.
12918 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12919 make it work both ways.
12920 (avl-tree--enter-balance2): Remove.
12921 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12922 New macros.
12923 (avl-tree--mapc, avl-tree-map): Add direction argument.
12924
eb95d01d 129252011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
12926
12927 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12928
a9f737ee
CY
129292011-05-27 Chong Yidong <cyd@stupidchicken.com>
12930
12931 * select.el: Support clipboard managers with built-in function
12932 x-clipboard-manager-save, via delete-frame-functions and
12933 kill-emacs-hook.
12934 (xselect-convert-to-targets): Add MULTIPLE target to list.
12935 (xselect-convert-to-save-targets): New function.
12936
c92a1e54
KH
129372011-05-27 Kenichi Handa <handa@m17n.org>
12938
12939 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12940 let-binding rfc2047-encode-encoded-words to nil.
12941
e145f188
GM
129422011-05-27 Glenn Morris <rgm@gnu.org>
12943
5ec8a862
GM
12944 * mail/emacsbug.el: Don't require url-util.
12945
4b29d9fb
GM
12946 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12947
e145f188
GM
12948 * files.el (set-auto-mode):
12949 Also respect mode: entries at the end of the file. (Bug#8586)
12950
7d15102b
GM
129512011-05-26 Glenn Morris <rgm@gnu.org>
12952
98f593b8
GM
12953 * files.el (hack-local-variables-prop-line, hack-local-variables):
12954 Downcase mode names, as seems to be traditional.
27b48e63 12955 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 12956
7d15102b
GM
12957 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12958 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12959
51d5b4ec
JD
129602011-05-25 Julien Danjou <julien@danjou.info>
12961
12962 * textmodes/rst.el (rst-define-level-faces): Do not define face
12963 symbol if it is already defined.
12964
91513f63
VB
129652011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
12966
12967 * play/5x5.el (5x5-new-game, 5x5-randomize):
12968 Reset 5x5-solver-output to nil when a new grid is cast.
12969 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12970 these debugging traces, as defmacro breaks the compiled code.
12971
4d90d6d0
DK
129722011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12973
12974 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12975
e1b90ef6
LL
129762011-05-24 Leo Liu <sdl.web@gmail.com>
12977
12978 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12979 (vc-bzr-sha1): Adapt.
12980
d8e4b68b 12981 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
12982
12983 * bindings.el: Provide sha1 feature.
12984
db0406bb 129852011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
12986
12987 * mail/sendmail.el: Require `rfc2047'.
12988 (mail-insert-from-field): Do not perform RFC2047 encoding.
12989 (mail-encode-header): New function.
12990 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
12991 buffer to the return value of select-message-coding-system.
12992 Call mail-encode-header.
b8d747b9
KH
12993
12994 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12995
db0406bb 129962011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 12997
4d90d6d0
DK
12998 * mail/supercite.el (sc-default-cite-frame):
12999 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 13000
eb8a5e9b
GM
130012011-05-24 Glenn Morris <rgm@gnu.org>
13002
f8630703
GM
13003 * progmodes/python.el (brm-menu): Declare.
13004
8831bbed
GM
13005 * emulation/viper.el (viper-set-hooks): Declare.
13006
eb8a5e9b
GM
13007 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
13008 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
13009 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
13010 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
13011 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
13012 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
13013
a2a25d24
SM
130142011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13015
13016 Add an :exit-function for completion-at-point.
13017
13018 * minibuffer.el (completion--done): New fun.
13019 (completion--do-completion): Use it. New arg `expect-exact'.
13020 (minibuffer-complete, minibuffer-complete-word): Don't output message,
13021 since completion--do-completion does it for us now.
13022 (minibuffer-force-complete): Use completion--done and
13023 completion--replace. Handle sole-completion case with more care.
13024 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
13025 (completion-extra-properties): New var.
13026 (completion-annotate-function): Make obsolete.
13027 (minibuffer-completion-help): Adjust accordingly.
13028 Use completion-list-insert-choice-function.
13029 (completion-at-point, completion-help-at-point):
13030 Bind completion-extra-properties.
13031 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
13032 * simple.el (completion-list-insert-choice-function): New var.
13033 (completion-setup-function): Preserve it.
13034 (choose-completion): Pay attention to it, shuffle the code a bit.
13035 (choose-completion-string): New arg `insert-function'.
13036
13037 * textmodes/bibtex.el: Convert to lexical binding.
13038 (bibtex-mode-map): Use completion-at-point.
13039 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
13040 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
13041 (bibtex-complete): Define as obsolete alias.
13042 (bibtex-complete-internal): Remove.
13043 (bibtex-format-entry): Remove unused sub-group in regexp.
13044 * shell.el (shell--command-completion-data)
13045 (shell-environment-variable-completion):
13046 * pcomplete.el (pcomplete-completions-at-point):
13047 * comint.el (comint--complete-file-name-data): Use :exit-function
13048 instead of completion-table-with-terminator so it also works for
13049 choose-completion.
13050
e44e373d
SM
130512011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13052
4f91a816
SM
13053 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
13054
782fc819
SM
13055 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
13056 (bug#8710).
13057
e44e373d
SM
13058 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
13059
381987c3
KM
130602011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
13061
13062 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
13063 customization variable and implement: If non-nil, auto-fill will
13064 be inhibited while on topic's header line.
13065
b776bc70
VB
130662011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
13067
13068 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 13069 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
13070 always have a solution in grid size = 5 cases.
13071 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
13072 (5x5-solver-output, 5x5-log-buffer): New vars.
13073 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
13074 Make these variables buffer local to achieve 5x5 multi-session-ness.
13075 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
13076 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
13077 (5x5-solve-suggest): New funs.
13078 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
13079 randomize a grid so that we ensure that there is always a solution.
13080 (5x5-make-random-grid): Allow other movement than flipping.
13081
7de88b6e
KR
130822011-05-23 Kevin Ryde <user42@zip.com.au>
13083
13084 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 13085 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
13086 advice and passes PREDICATE.
13087
b1ef1257
SM
130882011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13089
bbca48fe
SM
13090 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
13091 byte-compile-lambda if it's actually a lambda.
13092
b1ef1257
SM
13093 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
13094 Fix function quoting. Use backquote better.
13095
92a9cc65
YS
130962011-05-22 Yuanle Song <sylecn@gmail.com>
13097
13098 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
13099 matching (Bug#8516).
13100
f0fb8059
JA
131012011-01-22 Jari Aalto <jari.aalto@cante.net>
13102
13103 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
13104 different face (Bug#8178).
13105
d5b44c93
CY
131062011-05-22 Chong Yidong <cyd@stupidchicken.com>
13107
13108 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
13109 defface (Bug#8144).
13110
79106a44
SM
131112011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
13112
9c848d8a
SM
13113 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
13114 funcall as well (bug#8712). Warn when performing those conversions.
13115 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
13116
79106a44
SM
13117 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
13118
88dfa756
GM
131192011-05-22 Glenn Morris <rgm@gnu.org>
13120
13121 * files.el (hack-local-variables-prop-line): Small simplifications.
13122 (hack-local-variables, hack-local-variables-prop-line):
13123 If MODE-ONLY, return the mode, rather than just `t'.
13124
b7cf2c79
SM
131252011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13126
13127 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
13128
3f1a8558
GM
131292011-05-21 Glenn Morris <rgm@gnu.org>
13130
7e4ccca3
GM
13131 * files.el (hack-local-variables-prop-line, hack-local-variables):
13132 If only interested in the mode, don't bother doing the other stuff.
13133
637d46ca
GM
13134 * image-mode.el (image-after-revert-hook):
13135 Redraw all frames on which the image is visible. (Bug#8567)
13136
973d955b
GM
13137 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
13138
3f1a8558
GM
13139 * wid-edit.el (widget-checklist-match-inline):
13140 Fix 2011-04-19 change. (Bug#8649)
13141
96479927
SM
131422011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
13143
1dcf791f
SM
13144 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
13145 Also allow singlespace after single-letter capitals followed by a dot.
13146
96479927
SM
13147 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
13148 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
13149
35fd0881
N
131502011-05-20 Nix <nix@esperi.org.uk>
13151
13152 * files.el (basic-save-buffer-2):
13153 Fix handling of break-hardlink-on-save with non-existent files.
13154
82745640
DD
131552011-05-19 Deniz Dogan <deniz@dogan.se>
13156
13157 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 13158 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 13159
4a720484
GM
131602011-05-19 Glenn Morris <rgm@gnu.org>
13161
d1f21341
GM
13162 * progmodes/f90.el (f90-type-def-re):
13163 Handle "type, bind(c)". (Bug#8691)
13164
4a720484
GM
13165 * emacs-lisp/autoload.el (batch-update-autoloads):
13166 Set autoload-excludes by parsing loadup.el rather than Makefiles.
13167
2fb0a219
MA
131682011-05-18 Michael Albinus <michael.albinus@gmx.de>
13169
13170 * net/tramp.el (tramp-process-actions): Set "first-password-request"
13171 property for the correct connection in case of multihops.
13172
e565dd37
GM
131732011-05-18 Glenn Morris <rgm@gnu.org>
13174
c2571358 13175 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
13176 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
13177
e565dd37
GM
13178 Rationalize calendar handling of day and month abbrev-arrays.
13179 * calendar/calendar.el (calendar-customized-p): New function.
13180 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
13181 (calendar-day-name-array, calendar-month-name-array): Doc fix.
13182 Add :set function.
13183 (calendar-abbrev-length, calendar-day-abbrev-array)
13184 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
13185 (calendar-day-abbrev-array, calendar-month-abbrev-array):
13186 Elements may no longer be nil.
13187 (calendar-day-name, calendar-month-name):
13188 Update for changed nature of abbrev arrays.
13189 * calendar/diary-lib.el (diary-name-pattern):
13190 Update for changed nature of abbrev arrays.
13191 (diary-mark-entries-1): Update calendar-make-alist calls.
13192 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
13193 * calendar/cal-html.el (cal-html-day-abbrev-array):
13194 Simply inherit from calendar-day-abbrev-array.
13195
1d99a745
SM
131962011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13197
13198 * progmodes/grep.el (grep-mode): Disable default
13199 compilation-directory-matcher setting (bug#8684).
13200
7c1d9aa0
MA
132012011-05-17 Michael Albinus <michael.albinus@gmx.de>
13202
13203 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
13204 instead of "head" and "tail". There were problems with SunOS 5.9,
13205 and it performs better.
13206
3952e9d8
GM
132072011-05-17 Glenn Morris <rgm@gnu.org>
13208
2dd12e7f
GM
13209 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
13210
e4157b9c
GM
13211 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
13212 Replace obsolete function.
13213
8e249bbd
GM
13214 * shell.el (pcomplete-parse-arguments-function): Declare.
13215
3952e9d8
GM
13216 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
13217 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
13218 (appt-check): Doc fixes.
13219 (appt-disp-window-function, appt-delete-window-function):
13220 Remove needless special case in custom :type.
13221 (appt-display-count): Default to 0, not nil.
13222 (appt-check): Reset appt-display-count to 0, not nil.
13223
c71a0d48 132242011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 13225
c71a0d48
GM
13226 * progmodes/python.el (python-font-lock-keywords):
13227 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 13228
31d55be9
SM
132292011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13230
13231 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
13232
3bfacb2f
KR
132332011-05-16 Kevin Ryde <user42@zip.com.au>
13234
13235 * info-look.el (makefile-automake-mode): New setups, looking in
13236 automake manual, then makefile-mode.
13237 (makefile-mode): Remove automake manual, have it just in
13238 makefile-automake-mode since there's various things different or
13239 not relevant to plain make.
13240 (makefile-mode): Remove "other-modes" non-existent automake-mode,
13241 believe a hypothetical automake-mode would go to makefile-mode,
13242 not the other way around.
13243
c8e83751
CY
132442011-05-15 Chong Yidong <cyd@stupidchicken.com>
13245
5e9e35cd
CY
13246 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
13247 hunk-end tags (Bug#8672).
13248
c8e83751
CY
13249 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
13250 vc-annotate-show-diff-revision-at-line (Bug#8671).
13251
50b23e5a
GM
132522011-05-14 Glenn Morris <rgm@gnu.org>
13253
7210a739
GM
13254 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
13255 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
13256 (change-log-font-lock-keywords): Also handle multiple author lines
13257 with leading tabs. (Bug#8644)
7210a739 13258
4691905a
GM
13259 * calendar/appt.el (appt-check): Rename some local variables.
13260 Some simplification/reordering.
13261
50b23e5a
GM
13262 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
13263 (feedmail-sendmail-f-doesnt-sell-me-out)
13264 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13265 (feedmail-debug-sit-for, feedmail-queue-express-hook)
13266 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
13267 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
13268 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
13269 (feedmail-binmail-gnulinuxish-template):
13270 Rename from feedmail-binmail-linuxish-template.
13271 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
13272 Use insert-buffer-substring.
13273
215cda7c
BC
132742011-05-14 Bill Carpenter <bill@carpenter.org>
13275
13276 * mail/feedmail.el (feedmail-patch-level): Increase.
13277 (feedmail-debug): New custom group.
13278 (feedmail-confirm-outgoing-timeout)
13279 (feedmail-sendmail-f-doesnt-sell-me-out)
13280 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13281 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
13282 (feedmail-sender-line, feedmail-from-line)
13283 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 13284 (feedmail-spray-this-address)
215cda7c
BC
13285 (feedmail-spray-address-fiddle-plex-list)
13286 (feedmail-queue-use-send-time-for-date)
13287 (feedmail-queue-use-send-time-for-message-id)
13288 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
13289 (feedmail-buffer-eating-function):
13290 Doc fixes.
13291 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
13292 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
13293 (feedmail-message-action-scroll-down): New functions.
13294 (feedmail-queue-directory, feedmail-queue-draft-directory):
13295 Use expand-file-name.
13296 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
13297 Remove C-v help entry.
13298 (feedmail-queue-buffer-file-name): New variable.
13299 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
13300 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
13301 (feedmail-message-action-send-strong, feedmail-message-action-edit)
13302 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
13303 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
13304 (feedmail-message-action-toggle-spray)
13305 (feedmail-run-the-queue-no-prompts)
13306 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
13307 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
13308 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
13309 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
13310 (feedmail-envelope-deducer, feedmail-fiddle-from)
13311 (feedmail-fiddle-sender, feedmail-default-date-generator)
13312 (feedmail-fiddle-date, feedmail-fiddle-message-id)
13313 (feedmail-fiddle-spray-address)
13314 (feedmail-fiddle-list-of-spray-fiddle-plexes)
13315 (feedmail-fiddle-list-of-fiddle-plexes)
13316 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
13317 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
13318 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
13319 Change default. Doc fix.
13320 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
13321 (feedmail-binmail-linuxish-template): New constant.
13322 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
13323 Respect feedmail-sendmail-f-doesnt-sell-me-out.
13324 (feedmail-send-it): Add debug call.
13325 Use feedmail-queue-buffer-file-name, and
13326 feedmail-send-it-immediately-wrapper.
13327 (feedmail-message-action-send): Add debug call.
13328 Use feedmail-send-it-immediately-wrapper.
13329 (feedmail-queue-express-to-queue): Add debug call.
13330 Run feedmail-queue-express-hook.
13331 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
13332 (feedmail-message-action-help-blat):
13333 Rename from feedmail-queue-send-edit-prompt-help-first.
13334 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
13335 Check line-endings. Handle errors better.
13336 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
13337 Doc fix. Add debug call.
13338 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
13339 Use feedmail-queue-send-edit-prompt-inner.
13340 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
13341 (feedmail-queue-send-edit-prompt-inner): New function, extracted
13342 from feedmail-queue-send-edit-prompt.
13343 (feedmail-queue-send-edit-prompt-help)
13344 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
13345 (feedmail-tidy-up-slug): Add debug call.
13346 Respect feedmail-queue-slug-suspect-regexp.
13347 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
13348 (feedmail-dump-message-to-queue): Add debug call.
13349 Expand queue-directory.
13350 (feedmail-dump-message-to-queue): Change message slightly.
13351 Use feedmail-say-chatter.
13352 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
13353 (feedmail-send-it-immediately-wrapper): New function.
13354 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
13355 Insert empty string rather than newline. Handle full-frame case.
13356 Use catch/throw. Use feedmail-say-chatter.
13357 (feedmail-fiddle-from): Try mail-host-address.
13358 (feedmail-default-message-id-generator): Doc fix.
13359 Bind system-time-locale. Handle missing end.
13360 (feedmail-fiddle-x-mailer): Add debug call.
13361 Handle feedmail-x-mailer-line being nil.
13362 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
13363 Add debug call. Use buffer-substring-no-properties.
13364 (feedmail-say-debug, feedmail-say-chatter): New functions.
13365 (feedmail-find-eoh): Give an explicit error.
13366
42c7e61e
UJ
133672011-05-13 Ulf Jasper <ulf.jasper@web.de>
13368
c2571358 13369 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 13370 family from helvetica to sans.
c2571358 13371 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13372 etc/images/newsticker.
13373
c2571358 13374 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
13375 family from helvetica to sans.
13376
13377 * net/newst-plainview.el (newsticker-new-item-face)
13378 (newsticker-old-item-face, newsticker-immortal-item-face)
13379 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 13380 (newsticker-statistics-face): Change default family from
42c7e61e 13381 helvetica to sans.
c2571358 13382 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13383 etc/images/newsticker.
13384
5d3385a0
JB
13385 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13386 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
13387 auto-marking.
13388
8497a297
DV
133892011-05-13 Didier Verna <didier@xemacs.org>
13390
13391 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
13392 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13393 TODO entries.
8497a297
DV
13394 (lisp-lambda-list-keyword-parameter-indentation)
13395 (lisp-lambda-list-keyword-parameter-alignment)
13396 (lisp-lambda-list-keyword-alignment): New customizable user options.
13397 (lisp-indent-defun-method): Improve docstring.
13398 (extended-loop-p): Fix comment.
13399 (lisp-indent-lambda-list-keywords-regexp): New variable.
13400 (lisp-indent-lambda-list): New function.
13401 (lisp-indent-259): Use it.
13402 (lisp-indent-defmethod): Support for more than one
13403 method qualifier and properly indent methods lambda-lists.
13404 (defgeneric): Provide a missing common-lisp-indent-function property.
13405
f278f87f
SM
134062011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13407
13408 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13409 bounds for the empty string (bug#8667).
13410
5233edd7
GM
134112011-05-13 Glenn Morris <rgm@gnu.org>
13412
5237a44f
GM
13413 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13414
8340026c 13415 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 13416 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 13417
5233edd7 13418 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 13419 (appt-time-msg-list): Doc fix.
a5464014 13420 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 13421
92d10796
AS
134222011-05-12 Andreas Schwab <schwab@linux-m68k.org>
13423
13424 * progmodes/ld-script.el (ld-script-keywords)
13425 (ld-script-builtins): Update keywords list.
13426
914a0ae1
SM
134272011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13428
c89be45f
SM
13429 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13430
914a0ae1
SM
13431 * shell.el (shell-completion-vars): New function.
13432 (shell-mode):
13433 * simple.el (read-shell-command): Use it.
13434 (blink-matching-open): No need for " [...]" in minibuffer-message.
13435
98dc3df3
GM
134362011-05-12 Glenn Morris <rgm@gnu.org>
13437
13438 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13439 (appt-check): Simplify.
13440
d2fc7e3d 134412011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 13442
4d61f28d 13443 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
13444 literal "/dev/null".
13445
d2fc7e3d 134462011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
13447
13448 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13449 Fix typo.
13450
d2fc7e3d 134512011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 13452
3f254caa
SM
13453 * progmodes/which-func.el (which-function):
13454 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
13455 which might not be defined (Bug#8260).
13456
d45885f7
GM
134572011-05-12 Glenn Morris <rgm@gnu.org>
13458
13459 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13460 Let byte-compile-initial-macro-environment always take precedence.
13461
488086f4
SM
134622011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13463
13464 * net/rcirc.el: Add support for SSL/TLS connections.
13465 (rcirc-server-alist): New field `encryption'.
13466 (rcirc): Check `encryption' settings.
13467 (rcirc-connect): New arg `encryption'. Use open-network-stream.
13468 Merge make-local-variable into `set'.
13469 (rcirc--connection-open-p): New function.
13470 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13471 the process is not a network process (e.g. running gnutls-cli).
13472 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13473 Make rcirc-(en|de)code-coding-system local here.
13474 (rcirc-mode): Merge make-local-variable into `set'.
13475 (rcirc-parent-buffer): Make permanent buffer-local.
13476 (rcirc-multiline-minor-mode): Don't do it here.
13477 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13478 there's no server buffer.
13479
7d3b9d44
GM
134802011-05-11 Glenn Morris <rgm@gnu.org>
13481
f64049c6
GM
13482 * newcomment.el (comment-kill): Prefix "unused" local.
13483
93c9df73
GM
13484 * term/w32console.el (get-screen-color): Declare.
13485
7d3b9d44
GM
13486 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13487 Handle symbol elements of byte-compile-initial-macro-environment.
13488
9e2dd53f
LL
134892011-05-10 Leo Liu <sdl.web@gmail.com>
13490
488086f4
SM
13491 * bookmark.el (bookmark-bmenu-mode-map):
13492 Bind bookmark-bmenu-search to `/'.
8b340240 13493
9e2dd53f 13494 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
13495 (footnote-unicode-string, footnote-unicode-regexp): New variable.
13496 (Footnote-unicode): New function.
13497 (footnote-style-alist): Add unicode style to the list.
13498 (footnote-style): Doc fix.
9e2dd53f 13499
79b70037
GM
135002011-05-10 Jim Meyering <meyering@redhat.com>
13501
13502 Fix doubled-word typos.
13503 * international/quail.el (quail-insert-kbd-layout): and and -> and
13504 * kermit.el: and and -> and
13505 * net/ldap.el (ldap-search-internal): to to -> to
13506 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13507 * progmodes/js.el (js-mode): and and -> and
13508 * textmodes/artist.el (artist-move-to-xy): at at -> at
13509 (artist-draw-region-trim-line-endings): if if -> if
13510 And Safetyc -> Safety.
13511 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13512
b8f82dc1 135132011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 13514 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
13515
13516 * files.el (hack-one-local-variable-eval-safep):
13517 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
13518
4f99f44b
GM
135192011-05-10 Glenn Morris <rgm@gnu.org>
13520
13521 * calendar/diary-lib.el (diary-list-entries-hook)
13522 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13523 (diary-nongregorian-marking-hook, diary-list-entries)
13524 (diary-include-other-diary-files, diary-mark-entries)
13525 (diary-mark-included-diary-files): Doc fixes.
13526
84f29e6b
JB
135272011-05-09 Juanma Barranquero <lekktu@gmail.com>
13528
13529 * misc.el: Require tabulated-list.el during compilation.
13530
9bedd73a
CY
135312011-05-09 Chong Yidong <cyd@stupidchicken.com>
13532
488086f4
SM
13533 * progmodes/compile.el (compilation-start):
13534 Run compilation-filter-hook for the async case too.
9bedd73a
CY
13535 (compilation-filter-hook): Doc fix.
13536
797c735c
DD
135372011-05-09 Deniz Dogan <deniz@dogan.se>
13538
13539 * wdired.el: Remove outdated installation comment. Fix usage
13540 comment.
13541
5f4b1dfe
JB
135422011-05-09 Juanma Barranquero <lekktu@gmail.com>
13543
13544 * misc.el: Implement new command `list-dynamic-libraries'.
13545 (list-dynamic-libraries--loaded-only-p): New variable.
13546 (list-dynamic-libraries--refresh): New function.
13547 (list-dynamic-libraries): New command.
13548
4c44026c
CY
135492011-05-09 Chong Yidong <cyd@stupidchicken.com>
13550
488086f4
SM
13551 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13552 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
13553 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
13554 higher priority to avoid clobbering by gnu.
13555
027f966d
CY
135562011-05-08 Chong Yidong <cyd@stupidchicken.com>
13557
13558 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13559 if the face has existing theme settings (Bug#8454).
13560
085f5d7d
CY
135612011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
13562
488086f4
SM
13563 * progmodes/perl-mode.el (perl-imenu-generic-expression):
13564 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 13565
2a86a00c
RS
13566 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13567 special file names `.' and `..' (Bug#8259).
13568
d9c54a06
CY
135692011-05-08 Chong Yidong <cyd@stupidchicken.com>
13570
488086f4
SM
13571 * progmodes/grep.el (grep-mode-font-lock-keywords):
13572 Remove buffer-changing entries.
d9c54a06
CY
13573 (grep-filter): New function.
13574 (grep-mode): Add it to compilation-filter-hook.
13575
13576 * progmodes/compile.el (compilation-filter-hook)
13577 (compilation-filter-start): New defvars.
13578 (compilation-filter): Call compilation-filter-hook prior to
13579 updating the process mark.
13580
c4662635
SM
135812011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13582
13583 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
13584
b0512a1d
EZ
135852011-05-07 Eli Zaretskii <eliz@gnu.org>
13586
605c9376
EZ
13587 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
13588 mailclient-send-it even if window-system is nil. (Bug#8595)
13589
c4662635
SM
13590 * term/w32console.el (terminal-init-w32console):
13591 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
13592 background-mode. (Bug#8597)
13593
d1dc2cc2
SM
135942011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13595
13596 Make bytecomp.el understand that defmethod defines funs (bug#8631).
13597 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
13598 New functions.
13599 (defgeneric, eieio--defmethod): Use them.
13600 (eieio-defgeneric): Remove.
13601 (defmethod): Call defgeneric in a way visible to the byte-compiler.
13602
915d1300
GM
136032011-05-07 Glenn Morris <rgm@gnu.org>
13604
a3961c3e
GM
13605 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13606 Use let rather than let*.
13607 (timeclock-find-discrep): Remove unused local.
13608
314347b9
GM
13609 * calendar/diary-lib.el (diary-comment-start): Doc fix.
13610
915d1300
GM
13611 * calendar/appt.el (appt-time-msg-list): Doc fix.
13612
275b59b0
NF
136132011-05-06 Noah Friedman <friedman@splode.com>
13614
13615 * apropos.el (apropos-print-doc): Only use
13616 emacs-lisp-docstring-fill-column when it is bound to an integer,
13617 per that variable's documentation.
13618
6c19f744
SM
136192011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13620
13621 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 13622 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 13623
60f884b2
GM
136242011-05-06 Glenn Morris <rgm@gnu.org>
13625
5006e634
GM
13626 * calendar/appt.el (appt-message-warning-time): Doc fix.
13627 (appt-warning-time-regexp): New option.
13628 (appt-make-list): Respect appt-message-warning-time.
13629
548d0a63
GM
13630 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13631 New options.
13632 (diary-add-to-list): Strip comments from the displayed string.
13633 (diary-mode): Set comment-start and comment-end.
13634
60f884b2
GM
13635 * vc/diff-mode.el (smerge-refine-subst): Declare.
13636 (diff-refine-hunk): Don't require smerge-mode when compiling.
13637
989681bb
JB
136382011-05-06 Juanma Barranquero <lekktu@gmail.com>
13639
13640 * simple.el (list-processes): Return nil as the docstring says.
13641
a6bc05e1
MA
136422011-05-05 Michael Albinus <michael.albinus@gmx.de>
13643
13644 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13645 to "".
13646 (ange-ftp-write-region, ange-ftp-insert-file-contents)
13647 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13648 determining of binary transfer. (Bug#7383)
13649
23c22e9a
MA
136502011-05-05 Michael Albinus <michael.albinus@gmx.de>
13651
c4662635
SM
13652 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13653 Fix port computation bug. (Bug#8618)
23c22e9a 13654
0bff894f
GM
136552011-05-05 Glenn Morris <rgm@gnu.org>
13656
b8296902
GM
13657 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13658
1f522ce8
GM
13659 * simple.el (shell-dynamic-complete-functions)
13660 (comint-dynamic-complete-functions): Declare.
13661
cf5bee67
GM
13662 * net/network-stream.el (gnutls-negotiate):
13663 * simple.el (tabulated-list-print): Fix declarations.
13664
13665 * progmodes/gud.el (syntax-symbol, syntax-point):
13666 Remove unnecessary and incorrect declarations.
13667
0bff894f
GM
13668 * emacs-lisp/check-declare.el (check-declare-scan):
13669 Handle byte-compile-initial-macro-environment in bytecomp.el
13670
9869b3ae
SM
136712011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13672
13673 Fix earlier half-done eieio-defmethod change (bug#8338).
13674 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13675 Streamline and change calling convention.
13676 (defmethod): Adjust accordingly and simplify.
13677 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13678 new eieio--defmethod.
13679 (slot-boundp): Minor CSE simplification.
13680
9c1d5ac5
MZ
136812011-05-05 Milan Zamazal <pdm@zamazal.org>
13682
13683 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13684 (glasses-make-readable): Use glasses-separate-capital-groups.
13685
455c834e
JB
136862011-05-05 Juanma Barranquero <lekktu@gmail.com>
13687
13688 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13689 (warning-series): Doc fix.
13690 (display-warning): Don't try to create the buffer if we just found it.
13691
9ed7c8cb
CY
136922011-05-04 Chong Yidong <cyd@stupidchicken.com>
13693
13694 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13695 (autoload-find-generated-file): New function.
13696 (generate-file-autoloads): Bind generated-autoload-file to
13697 buffer-file-name.
9869b3ae
SM
13698 (update-file-autoloads, update-directory-autoloads):
13699 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
13700 output file (Bug#7989).
13701 (batch-update-autoloads): Doc fix.
13702
0898ca10
JB
137032011-05-04 Juanma Barranquero <lekktu@gmail.com>
13704
13705 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13706
31dfb76c
GM
137072011-05-04 Glenn Morris <rgm@gnu.org>
13708
f330b642
GM
13709 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13710 function, so it follows changes in calendar-date-style.
13711 (diary-fancy-date-matcher): New function.
13712 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13713 (diary-fancy-font-lock-fontify-region-function):
13714 Use diary-fancy-date-pattern as a function.
13715
31dfb76c
GM
13716 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13717 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13718
48e79d6a
TZ
137192011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
13720
13721 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13722 instead of positional arguments. Allow :keylist and :crlfiles
13723 arguments.
13724 (open-gnutls-stream): Call it.
13725
13726 * net/network-stream.el (network-stream-open-starttls): Adjust to
13727 call `gnutls-negotiate' with :process and :hostname arguments.
13728
dd5a5ee0
SM
137292011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13730
ef80fc09
SM
13731 * minibuffer.el (completion--message): New function.
13732 (completion--do-completion, minibuffer-complete)
13733 (minibuffer-force-complete, minibuffer-complete-word): Use it.
13734 (completion--do-completion): Don't ignore completion-auto-help when in
13735 icomplete-mode.
13736
dd5a5ee0
SM
13737 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13738 internal encoding (e.g. tibetan zero is not whitespace).
13739 (global-whitespace-mode): Prefer save-current-buffer.
13740 (whitespace-trailing-regexp): Remove useless save-match-data.
13741 (whitespace-empty-at-bob-regexp): Minor simplification.
13742
b7d22a83
CY
137432011-05-03 Chong Yidong <cyd@stupidchicken.com>
13744
13745 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13746
5192af46
AM
137472011-05-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13748
13749 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 13750 Use `concat' to create string for insertion.
5192af46 13751
5767d190
SM
137522011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13753
13754 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13755 Avoid open-line which runs post-self-insert-hook.
13756 (bibtex-fill-entry): Remove unused `end' var.
13757
bf242939
AM
137582011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
13759
5767d190
SM
13760 * textmodes/ispell.el (ispell-add-per-file-word-list):
13761 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 13762
25666126
LL
137632011-05-03 Leo Liu <sdl.web@gmail.com>
13764
13765 * isearch.el (isearch-yank-pop): New command.
5767d190 13766 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
13767 (isearch-forward): Mention it.
13768
52d3c2d0
SM
137692011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13770
1bcace58
SM
13771 * simple.el (minibuffer-complete-shell-command): Remove.
13772 (minibuffer-local-shell-command-map): Use completion-at-point.
13773 (read-shell-command): Setup completion vars here instead.
13774 (read-expression-map): Bind TAB to symbol completion.
13775
52d3c2d0
SM
13776 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13777 error directly rather via storing it into `results'.
13778
35813471
LL
137792011-05-02 Leo Liu <sdl.web@gmail.com>
13780
13781 * vc/diff.el: Fix description.
13782
e793a940
LMI
137832011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13784
13785 * server.el (server-eval-at): New function.
13786
8de66e05
LMI
137872011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13788
13789 * net/network-stream.el (open-network-stream): Take a :nowait
13790 parameter and pass it on to `make-network-process'.
13791 (network-stream-open-plain): Ditto.
13792
dcb79f20
AS
137932011-04-30 Andreas Schwab <schwab@linux-m68k.org>
13794
13795 * faces.el (face-spec-set-match-display): Don't match toolkit
13796 options on terminal frames.
13797
14a7fbd8
SM
137982011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
13799
7eabc1be
SM
13800 * progmodes/pascal.el: Use lexical binding.
13801 (pascal-mode-map): Remove author preferences.
13802
14a7fbd8
SM
13803 * pcomplete.el (pcomplete-std-complete): Don't abuse
13804 completion-at-point.
13805
50f84510
JB
138062011-04-28 Juanma Barranquero <lekktu@gmail.com>
13807
6e087a44
JB
13808 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13809 removing code that has been dead since 1991 or so.
13810
50f84510
JB
13811 * startup.el (command-line): When warning about "_emacs", use a
13812 delayed warning to allow the user to filter it out.
13813
0ba690bd
DD
138142011-04-28 Deniz Dogan <deniz@dogan.se>
13815
13816 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13817 user has not joined.
13818
08abfaad
SM
138192011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13820
13821 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
13822 aren't any completions at point.
13823
638f053a
JB
138242011-04-28 Juanma Barranquero <lekktu@gmail.com>
13825
13826 * subr.el (display-delayed-warnings): New function.
13827 (delayed-warnings-hook): New variable.
13828
8fff8daa
SM
138292011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13830
08abfaad
SM
13831 * minibuffer.el (completion-at-point, completion-help-at-point):
13832 Don't presume that a given completion-at-point-function will always
13833 use the same calling convention.
13834
8fff8daa
SM
13835 * pcomplete.el (pcomplete-completions-at-point):
13836 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
13837 pcomplete-seen is non-nil.
13838 (pcomplete-comint-setup): Also recognize the new comint/shell
13839 completion functions.
13840 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
13841 pcomplete-seen is non-nil.
13842
841a1577 138432011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 13844
841a1577 13845 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 13846 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 13847 the first character in the entry. This allows for code to add its
211ec907
UJ
13848 own uid to the entry.
13849 (icalendar--convert-float-to-ical): Add export of
13850 `diary-float'-entries save for those with the optional DAY
13851 argument.
13852
2a782793
DC
138532011-04-27 Daniel Colascione <dan.colascione@gmail.com>
13854
13855 * subr.el (shell-quote-argument): Use alternate escaping strategy
13856 when we spot a variable reference in a string.
13857
0438ce91
DC
138582011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13859
13860 * cus-start.el (all): Define customization for debug-on-event.
13861
841a1577 138622011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
13863
13864 * subr.el (shell-quote-argument): Escape correctly under Windows.
13865
d090ed6c
SM
138662011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13867
13868 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
13869
bfd31217
MA
138702011-04-25 Michael Albinus <michael.albinus@gmx.de>
13871
d090ed6c
SM
13872 * net/tramp.el (tramp-process-actions): Add POS argument.
13873 Delete region between POS and (pos).
bfd31217 13874
d090ed6c
SM
13875 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13876 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
13877 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
13878
13879 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
13880 position in `tramp-process-actions' call.
13881
13882 * net/trampver.el: Update release number.
13883
e92f3bd3
SM
138842011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13885
850256b5
SM
13886 * custom.el (defcustom): Obey lexical-binding.
13887
e92f3bd3
SM
13888 Fix octave-inf completion problems reported by Alexander Klimov.
13889 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
13890 Inherit from octave-mode-syntax-table.
13891 (inferior-octave-mode): Set info-lookup-mode.
13892 (inferior-octave-completion-at-point): New function.
13893 (inferior-octave-complete): Use it and completion-in-region.
13894 (inferior-octave-dynamic-complete-functions): Use it as well, and use
13895 comint-filename-completion.
13896 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13897 symbol elements which shouldn't be word elements.
13898 (octave-font-lock-keywords, octave-beginning-of-defun)
13899 (octave-function-header-regexp): Adjust regexps accordingly.
13900 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13901
cd22b309
JB
139022011-04-25 Juanma Barranquero <lekktu@gmail.com>
13903
13904 * net/gnutls.el (gnutls-errorp): Declare before first use.
13905
8b492194
TZ
139062011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
13907
13908 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13909 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 13910 default trustfile exists before going to use it. Add missing
5a5fa834 13911 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
13912 Reported by Claudio Bley <claudio.bley@gmail.com>.
13913 (open-gnutls-stream): Add usage example.
13914
13915 * net/network-stream.el (network-stream-open-starttls): Give host
13916 parameter to `gnutls-negotiate'.
13917 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 13918 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 13919
841a1577 139202011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 13921
cd22b309
JB
13922 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13923 Use correct match group (bug#8438).
05842630 13924
3ba7869c
CY
139252011-04-24 Chong Yidong <cyd@stupidchicken.com>
13926
512e3ae1
CY
13927 * emacs-lisp/package.el (package-built-in-p): Fix typo.
13928 (package-menu--generate): New arg specifying packages to show.
13929 (package-menu-refresh, package-menu-execute, list-packages):
13930 Callers changed.
13931 (package-show-package-list): New function, replacing deleted
13932 package--list-packages (renamed because it is non-internal).
13933
13934 * finder.el (finder-list-matches): Use package-show-package-list
13935 instead of deleted package--list-packages.
13936
e92f3bd3
SM
13937 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13938 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
13939 (vc-annotate-mode-map): Bind it to RET.
13940
7031be6d
UR
139412011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13942
13943 * progmodes/etags.el (next-file): Don't use set-buffer to change
13944 buffers (Bug#8478).
13945
4ef177aa
CY
139462011-04-24 Chong Yidong <cyd@stupidchicken.com>
13947
c8d173eb
CY
13948 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13949
4ef177aa
CY
13950 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13951 (apropos-accumulator): Doc fix.
13952 (apropos-function, apropos-macro, apropos-command)
13953 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13954 (apropos-plist): Add face property.
13955 (apropos-symbols-internal): Fix indentation.
13956 (apropos-print): Simplify help, and recognize apropos-multi-type.
13957 (apropos-print-doc): Use button-type-get to extract the button's
13958 face property. Fill docstring (Bug#8352).
13959
4ffd0d6b 139602011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
13961
13962 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13963
c6c32125 13964 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 13965 (mpuz-mode-map): Use mapc.
c6c32125
JB
13966 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13967 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13968 Fix typos in docstrings.
13969
58d468b4
JB
13970 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13971 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13972
6470c3c6
JB
13973 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13974
4ffd0d6b 139752011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
13976
13977 * minibuffer.el (completion--do-completion): Avoid the "Next char
13978 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13979
3ad8bad0
CY
13980 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13981 mouse-2 into unread-command-events, it is interpreted correctly.
13982
71d73c9c 13983 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 13984 (image-toggle-display): Doc fix.
71d73c9c 13985
841a1577 139862011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 13987
4ffd0d6b
GM
13988 * textmodes/page.el (what-page): Use line-number-at-pos to
13989 calculate line number (Bug#6825).
6e1dbaa9 13990
c2fb1b60
JB
139912011-04-22 Juanma Barranquero <lekktu@gmail.com>
13992
13993 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13994 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13995 Pass argument NO-DEFAULT to `find-tag-interactive'.
13996
e02f48d7
JB
139972011-04-22 Juanma Barranquero <lekktu@gmail.com>
13998
13999 Lexical-binding cleanup.
14000
14001 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
14002 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
14003 * progmodes/ada-prj.el (ada-prj-initialize-values)
14004 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
14005 (ada-prj-show-value):
14006 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
14007 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
14008 (antlr-invalidate-context-cache, antlr-options-menu-filter)
14009 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
14010 * progmodes/bug-reference.el (bug-reference-push-button):
14011 * progmodes/fortran.el (fortran-line-length):
14012 * progmodes/glasses.el (glasses-change):
14013 * progmodes/octave-mod.el (octave-fill-paragraph):
14014 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
14015 (python-pdbtrack-grub-for-buffer, python-sentinel):
14016 * progmodes/sql.el (sql-save-connection):
14017 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
14018 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
14019 Mark unused parameters.
14020
14021 * progmodes/compile.el (compilation--flush-directory-cache)
14022 (compilation--flush-parse, compile-internal): Mark unused parameters.
14023 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
14024 (compilation-next-error-function): Remove unused variable `timestamp'.
14025
14026 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
14027 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
14028
14029 * progmodes/dcl-mode.el (dcl-end-of-command):
14030 Remove unused variable `start'.
14031 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
14032 (dcl-option-value-basic, dcl-option-value-offset)
14033 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
14034 Mark unused parameters.
14035 (dcl-save-local-variable): Remove unused variable `val'.
14036 (mode): Declare.
14037
14038 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
14039 Mark unused parameters.
14040 (delphi-ignore-changes): Move before first use.
14041 (delphi-charset-token-at): Remove unused variable `start'.
14042 (delphi-else-start): Remove unused variable `if-count'.
14043 (delphi-comment-block-start, delphi-comment-block-end):
14044 Remove unused variable `kind'.
14045 (delphi-indent-line): Remove unused variable `new-point'.
14046
14047 * progmodes/ebrowse.el (ebrowse-files-list)
14048 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
14049 Mark unused parameters. Don't quote `lambda'.
14050 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
14051 Don't quote `lambda'.
14052 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
14053 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
14054 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
14055 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
14056 Use `ignore-errors'.
14057 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
14058 (ebrowse-view/find-file-and-search-pattern)
14059 (ebrowse-view/find-member-declaration/definition):
14060 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
14061 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
14062 Rename parameter PREFIX-ARG to PREFIX.
14063 (ebrowse-tags-read-name): Remove unused variables `start' and
14064 `member-info'.
14065 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
14066 to `tags-file'.
14067
14068 * progmodes/etags.el (local-find-tag-hook): Declare.
14069 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
14070 Mark unused parameters.
14071
14072 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
14073 (executable-interpret): Mark unused parameter.
14074
14075 * progmodes/flymake.el (flymake-process-sentinel)
14076 (flymake-after-change-function)
14077 (flymake-create-temp-with-folder-structure)
14078 (flymake-get-include-dirs-dot): Mark unused parameters.
14079 (flymake-safe-delete-directory): Remove unused variable `err'.
14080
14081 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
14082 (speedbar-timer-fn, speedbar-line-text)
14083 (speedbar-change-expand-button-char, speedbar-delete-subblock)
14084 (speedbar-center-buffer-smartly): Declare functions.
14085 (gdb-find-watch-expression): Remove unused variable `array'.
14086 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
14087 (gdb-starting): Mark unused parameters.
14088 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
14089 (gdb-table-string): Remove unused variable `res'.
14090 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
14091 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
14092 (gdb-display-buffer): Remove unused variable `cur-size'.
14093
14094 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
14095 allow lexical-binding compilation.
14096 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
14097 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
14098 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
14099 Mark unused parameters.
14100 (gud-gdb-marker-filter): Remove unused variable `match'.
14101 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
14102 lambda expressions and funcall them, instead of using `fset'.
14103
14104 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
14105 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
14106
14107 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
14108 variable `header-beg'; use `let'.
14109
14110 * progmodes/icon.el (indent-icon-exp): Remove unused variables
14111 `restart', `last-sexp' and `at-do'.
14112
14113 * progmodes/js.el (js--debug): Mark unused parameter.
14114 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
14115 (js--splice-into-items): Remove unused variable `item'.
14116 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
14117
14118 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
14119 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
14120 (makefile-complete): Remove unused variable `try'.
14121 (makefile-fill-paragraph, makefile-match-function-end):
14122 Mark unused parameters.
14123
14124 * progmodes/octave-inf.el (inferior-octave-complete):
14125 Remove unused variable `proc'.
14126 (inferior-octave-output-digest): Mark unused parameter.
14127
14128 * progmodes/perl-mode.el (perl-calculate-indent):
14129 Remove unused variable `err'.
14130
14131 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
14132 (prolog-indent-line): Mark unused parameters.
14133 (prolog-indent-line): Remove unused variable `beg'.
14134
14135 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
14136 (reporter-dont-compact-list): Declare.
14137
14138 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
14139 Remove unused variable `char'.
14140 (sh-debug): Mark unused parameter.
14141 (sh-get-indent-info): Remove unused variable `start'.
14142 (sh-calculate-indent): Remove unused variable `var'.
14143
14144 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
14145 (simula-electric-keyword): Remove unused variable `null'.
14146 (simula-search-backward, simula-search-forward): Remove unused
14147 variables `begin' and `end'.
14148
14149 * progmodes/vera-mode.el (vera-guess-basic-syntax):
14150 Remove unused variable `pos'.
14151 (vera-electric-tab, vera-comment-uncomment-region):
14152 Mark unused parameters.
14153 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
14154
7ede3b65
CY
141552011-04-22 Chong Yidong <cyd@stupidchicken.com>
14156
14157 * emacs-lisp/package.el (package--builtins, package-alist)
14158 (package-load-descriptor, package-built-in-p, package-activate)
14159 (define-package, package-installed-p)
14160 (package-compute-transaction, package-buffer-info)
14161 (package--push): Doc fix. Distinguish more clearly between
14162 version strings and version lists.
14163
121656e9
JB
141642011-04-21 Juanma Barranquero <lekktu@gmail.com>
14165
14166 Lexical-binding cleanup.
14167
14168 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
14169 (5x5-make-mutate-best):
14170 * play/fortune.el (fortune-in-buffer):
14171 * play/gomoku.el (gomoku-init-display):
14172 * play/solitaire.el (solitaire, solitaire-do-check):
14173 * play/tetris.el (tetris-default-update-speed-function):
14174 Mark unused parameters.
14175
14176 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
14177 (bubbles--shift): Remove unused variable `char-org'.
14178 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
14179 (bubbles--show-images): Remove unused variable `char'.
14180
14181 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
14182 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
14183 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
14184 (decipher-analyze-buffer): Use ?\s.
14185 (decipher-make-checkpoint): Remove unused variable `mapping'.
14186
14187 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
14188
14189 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
14190 Remove unused variable `result'; use `let'.
14191
14192 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
14193 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
14194 (gametree-children-shown-p, gametree-compute-reduced-score):
14195 Use `ignore-errors'.
14196
14197 * play/handwrite.el (ps-lpr-switches): Declare.
14198 (handwrite): Remove unused variables `pmin' and `lastp'.
14199
14200 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
14201
14202 * play/landmark.el (landmark-init-display)
14203 (landmark-update-naught-weights): Mark unused parameters.
14204 (landmark-y): Remove unused variable `noise'. Simplify.
14205 (landmark-human-plays): Remove unused variable `score'.
14206
14207 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
14208 (mpuz-try-proposal): Remove unused variable `game'.
14209
14210 * play/zone.el (life-patterns): Declare.
14211
80f499c7
JB
142122011-04-20 Juanma Barranquero <lekktu@gmail.com>
14213
14214 * vc/vc.el (ediff-vc-internal): Declare function.
14215
024ff170
SM
142162011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14217
c0a193ea
SM
14218 * shell.el: Use lexical-binding and std completion UI.
14219 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
14220 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
14221 comint-preoutput-filter-functions rather than on
14222 comint-output-filter-functions.
14223 (shell-command-completion, shell--command-completion-data)
14224 (shell-filename-completion, shell-environment-variable-completion)
14225 (shell-c-a-p-replace-by-expanded-directory): New functions.
14226 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
14227 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
14228 (shell-dynamic-complete-environment-variable): Use them.
14229 (shell-dynamic-complete-as-environment-variable)
14230 (shell-dynamic-complete-as-command): Remove.
14231 (shell-match-partial-variable): Match past point.
14232 * comint.el: Clean up use of completion-at-point-functions.
14233 (comint-completion-at-point): New function.
14234 (comint-mode): Use it completion-at-point-functions.
14235 (comint-dynamic-complete): Make it obsolete.
14236 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
14237 (comint-c-a-p-replace-by-expanded-history): New function.
14238 (comint-dynamic-complete-functions)
14239 (comint-replace-by-expanded-history): Use it.
14240 * minibuffer.el (completion-table-with-terminator): Allow dynamic
14241 termination strings. Try harder to avoid second try-completion.
14242 (completion-in-region-mode-map): Disable bindings that don't work yet.
14243
2dbaa080
SM
14244 * comint.el: Use lexical-binding. Require CL.
14245 (comint-dynamic-complete-functions): Use comint-filename-completion.
14246 (comint-completion-addsuffix): Tweak custom type.
14247 (comint-filename-completion, comint--common-suffix)
14248 (comint--common-quoted-suffix, comint--table-subvert)
14249 (comint--complete-file-name-data): New functions.
14250 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
14251 (comint-dynamic-list-filename-completions): Use them.
14252 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 14253
2dbaa080
SM
14254 * minibuffer.el (completion-in-region-mode):
14255 Keep completion-in-region-mode--predicate global.
14256 (completion-in-region--postch):
14257 Assume completion-in-region-mode--predicate is not null.
14258
c79a6f38
SM
14259 * progmodes/flymake.el (flymake-start-syntax-check-process):
14260 Obey `dir'. Simplify.
14261
024ff170
SM
14262 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
14263 we're in VC after all.
14264
1c6c854e
CS
142652011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
14266
14267 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 14268 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
14269 (vc-version-diff): Use vc-diff-build-argument-list-internal.
14270
bed7f140
SM
142712011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14272
332e62ab
SM
14273 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
14274 add sanity check.
14275
bed7f140
SM
14276 * obsolete/erc-hecomplete.el: Make obsolete.
14277 * obsolete/: Standardize obsolescence info in the header.
14278
f195c582
GM
142792011-04-20 Glenn Morris <rgm@gnu.org>
14280
14281 * calendar/solar.el (solar-horizontal-coordinates):
14282 Use the longitude argument rather than `calendar-longitude'.
14283 (solar-date-next-longitude): Remove unused locals.
14284
cb79b8c0
VJL
142852011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14286
14287 * whitespace.el: New version 13.2.1.
14288
142892011-04-20 felix <EmacsWiki> (tiny change)
14290
d8e4b68b 14291 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
14292 switching between major modes on a file.
14293
602ea69d
SM
142942011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14295
14296 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
14297 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
14298 multi-line comments as well.
14299
06b60517
JB
143002011-04-19 Juanma Barranquero <lekktu@gmail.com>
14301
14302 Lexical-binding cleanup.
14303
14304 * arc-mode.el (archive-mode-revert):
14305 * cmuscheme.el (scheme-interactively-start-process):
14306 * custom.el (custom-initialize-delay):
14307 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
14308 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
14309 * emacs-lock.el (emacs-lock-clear-sentinel):
14310 * ezimage.el (defezimage):
14311 * follow.el (follow-avoid-tail-recenter):
14312 * fringe.el (set-fringe-mode-1):
14313 * generic-x.el (bat-generic-mode-compile):
14314 * help-mode.el (help-info-variable, help-do-xref)
14315 (help-mode-revert-buffer):
14316 * help.el (view-emacs-todo):
14317 * iswitchb.el (iswitchb-completion-help):
14318 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
14319 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
14320 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
14321 * locate.el (locate-update):
14322 * longlines.el (longlines-encode-region)
14323 (longlines-after-change-function):
14324 * outline.el (outline-isearch-open-invisible):
14325 * ps-def.el (declare-function, charset-dimension, char-width)
14326 (encode-char):
14327 * ps-mule.el (ps-mule-plot-string):
14328 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
14329 (recentf-edit-list-select, recentf-edit-list-validate)
14330 (recentf-open-files-action):
14331 * rect.el (delete-whitespace-rectangle-line)
14332 (rectangle-number-line-callback):
14333 * register.el (window-configuration-to-register)
14334 (frame-configuration-to-register):
14335 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
14336 * select.el (xselect-convert-to-string, xselect-convert-to-length)
14337 (xselect-convert-to-targets, xselect-convert-to-delete)
14338 (xselect-convert-to-filename, xselect-convert-to-charpos)
14339 (xselect-convert-to-lineno, xselect-convert-to-colno)
14340 (xselect-convert-to-os, xselect-convert-to-host)
14341 (xselect-convert-to-user, xselect-convert-to-class)
14342 (xselect-convert-to-name, xselect-convert-to-integer)
14343 (xselect-convert-to-atom, xselect-convert-to-identity):
14344 * subr.el (declare, ignore, process-kill-without-query)
14345 (text-clone-maintain):
14346 * terminal.el (te-get-char, te-tic-sentinel):
14347 * tool-bar.el (tool-bar-make-keymap):
14348 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
14349 * type-break.el (type-break-mode, type-break-noninteractive-query):
14350 * view.el (View-back-to-mark):
14351 * wid-browse.el (widget-browse-action, widget-browse-widget)
14352 (widget-browse-widgets, widget-browse-sexp):
14353 * widget.el (define-widget-keywords):
14354 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
14355 Mark unused parameters.
14356
14357 * align.el (align-adjust-col-for-rule): Mark unused parameter.
14358 (align-areas): Remove unused variable `look'.
14359 (align-region): Remove unused variables `real-end' and `pos-list'.
14360
14361 * apropos.el (apropos-score-doc): Remove unused variable `i'.
14362
14363 * bindings.el (mode-line-modified, mode-line-remote):
14364 Mark unused parameters.
14365 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
14366
14367 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14368 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14369
14370 * comint.el (comint-history-isearch-pop-state)
14371 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14372 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14373 (comint-substitute-in-file-name): Doc fix.
14374
14375 * completion.el (cmpl-statistics-block): Mark unused parameter.
14376 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14377 (save-completions-to-file, load-completions-from-file):
14378 Remove unused local variable `e'.
14379
14380 * composite.el (compose-chars): Remove unused variable `len'.
14381 (lgstring-insert-glyph): Remove unused variable `g'.
14382 (compose-glyph-string): Remove unused variables `ascent',
14383 `descent', `lbearing' and `rbearing'.
14384 (compose-glyph-string-relative): Remove unused variables
14385 `lbearing', `rbearing' and `wadjust'.
14386 (compose-gstring-for-graphic): Remove unused variables `header',
14387 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
14388 (compose-gstring-for-terminal): Remove unused variables `header'
14389 and `nchars'. Use `let', not `let*'.
14390
14391 * cus-edit.el (Custom-set, Custom-save, custom-reset)
14392 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14393 (Custom-buffer-done, custom-buffer-create-internal)
14394 (custom-browse-visibility-action, custom-browse-group-tag-action)
14395 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14396 (widget-magic-mouse-down-action, custom-toggle-parent)
14397 (custom-add-parent-links, custom-toggle-hide-variable)
14398 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14399 (custom-toggle-hide-face, face, hook, custom-group-link-action)
14400 (custom-face-menu-create, custom-variable-menu-create, get)
14401 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14402 (custom-reset-standard-save-and-update): Remove unused variable `value'.
14403 (customize-apropos): Remove unused variable `tests'.
14404 (custom-group-value-create): Remove unused variable `hidden-p'.
14405 (sort-fold-case): Declare.
14406
14407 * cus-theme.el (custom-reset-standard-faces-list)
14408 (custom-reset-standard-variables-list): Declare.
14409 (customize-create-theme, custom-theme-revert, custom-theme-write)
14410 (custom-theme-choose-mode, customize-themes, custom-theme-save):
14411 Mark unused parameters.
14412
14413 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14414
14415 * delim-col.el (delimit-columns-max): Move defvar before first use.
14416
14417 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 14418 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
14419
14420 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14421 (auto-insert): Declare.
14422 (desktop-restore-file-buffer): Rename desktop-* parameters;
14423 mark unused ones.
14424 (desktop-create-buffer): Rename desktop-* parameters and bind them.
14425 (desktop-buffer): Rename desktop-* parameters.
14426
14427 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14428 (dframe-reposition-frame-xemacs, dframe-help-echo)
14429 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14430 Mark unused parameters.
14431
14432 * dired-aux.el (backup-extract-version-start, overwrite-query)
14433 (overwrite-backup-query, rename-regexp-query)
14434 (rename-non-directory-query): Declare.
14435 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14436 (dired-add-entry): Remove unused variable `orig-file-name'.
14437 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14438 Use parameter PRESERVE-TIME instead of accessing dynamic variable
14439 `dired-copy-preserve-time' directly.
14440 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14441 (dired-insert-subdir-newpos): Rename unused variable `pos'.
14442
14443 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14444 (dired-virtual-revert, dired-make-relative-symlink):
14445 Mark unused parameters.
14446 (manual-program): Declare.
14447 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14448 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14449 wrapped in `with-no-warnings' to avoid replacing one warning by another.
14450
14451 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14452
14453 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14454
14455 * echistory.el (electric-history-in-progress, Helper-return-blurb):
14456 Declare.
14457
14458 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14459
14460 * electric.el (Electric-command-loop): Rename parameter
14461 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14462
14463 * expand.el (expand-in-literal): Remove unused variable `here'.
14464
14465 * facemenu.el (facemenu-add-new-color):
14466 Remove unused variable `docstring'.
14467
14468 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14469 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14470 (face-attr-construct): Mark unused parameter. Doc fix.
14471 (read-color): Remove unused variable `hex-string'.
14472
14473 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14474 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14475 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14476 (display-buffer-other-frame): Remove unused variable `old-window'.
14477 (kill-buffer-hook): Declare.
14478 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14479 Mark unused parameters.
14480 (after-find-file): Pass 1 to `auto-save-mode', not t.
14481
14482 * files-x.el (auto-insert): Declare.
14483 (modify-file-local-variable-prop-line): Remove unused variable `val'.
14484
14485 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 14486 variable `buf'. Mark unused parameter.
06b60517
JB
14487 (find-lisp-insert-directory): Mark unused parameter.
14488
14489 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14490 (format-encode-region): Remove unused variables `cur-buf' and `result'.
14491 (format-common-tail): Remove, unused.
14492 (format-deannotate-region): Remove unused variable `loc'.
14493 (format-annotate-region): Remove unused variable `p'.
14494 (format-annotate-single-property-change): Remove unused variables
14495 `default' and `tail'.
14496
14497 * forms.el (read-file-filter): Declare.
14498 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14499
14500 * frame.el (frame-creation-function-alist): Mark unused parameter.
14501 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14502
14503 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14504 Remove unused parameters.
14505 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14506 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14507
14508 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14509 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14510 (hfy-prepare-tag-map): Mark unused parameters.
14511 (htmlfontify-buffer): Use `called-interactively-p'.
14512
14513 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14514 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14515 (ibuffer-do-occur): Mark unused parameters.
14516 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14517 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14518
14519 * ibuffer.el: Don't quote `lambda'.
14520 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14521 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14522 Mark unused parameters.
14523
14524 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14525 (ido-completing-read): Mark unused parameters.
14526 (ido-copy-current-word): Mark unused parameters;
14527 remove unused variable `name'.
14528 (ido-sort-merged-list): Remove unused parameter `dirs'.
14529
14530 * ielm.el (ielm-input-sender): Mark unused parameter.
14531 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14532 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14533 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14534 `ielm-string' as a dynamic variable accessible from the IELM prompt.
14535 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
14536
14537 * image-dired.el (image-dired-display-thumbs): Remove unused
14538 variables `curr-file' and `count'.
14539 (image-dired-remove-tag): Remove unused variable `start'.
14540 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14541 variable `curr-file'
14542 (image-dired-rotate-original): Remove unused variable `temp-file'.
14543 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14544 Remove unused variable `file'.
14545 (image-dired-gallery-generate): Remove unused variable `curr'.
14546 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14547
14548 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14549
14550 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14551
14552 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14553
14554 * isearch.el (minibuffer-history-symbol): Declare.
14555 (isearch-edit-string): Remove unused variable `err'.
14556 (isearch-message-prefix, isearch-message-suffix):
14557 Mark unused parameters.
14558
14559 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14560
14561 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14562
14563 * makesum.el (double-column): Remove unused variable `cnt'.
14564
14565 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14566 (ido-ignore-item-temp-list): Declare.
14567
14568 * mouse-drag.el (mouse-drag-throw): Remove unused variables
14569 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14570 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14571 (mouse-drag-drag): Remove unused variables `mouse-delta' and
14572 `mouse-col-delta'.
14573
14574 * mouse-sel.el (mouse-extend-internal):
14575 Remove unused variable `orig-window-frame'.
14576
14577 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
14578 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
14579 Move declarations before first use.
14580 (pcomplete-opt): Mark unused parameters; doc fix.
14581
14582 * proced.el (proced-revert): Mark unused parameter.
14583 (proced-send-signal): Remove unused variable `err'.
14584
14585 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
14586 Rename parameter PREFIX-ARG to ARG.
14587 (ps-basic-plot-string, ps-basic-plot-whitespace):
14588 Mark unused parameters.
14589
14590 * replace.el (replace-count): Define.
14591 (occur-revert-function): Mark unused parameters.
14592 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
14593 (isearch-case-fold-search, isearch-string): Declare.
14594 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
14595 bind `case-fold-search'. Remove unused variables `beg' and `end',
14596 and simplify.
14597 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
14598 COUNT and bind `replace-count'.
14599 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
14600 to COUNT.
14601
14602 * savehist.el (print-readably, print-string-length): Declare.
14603
14604 * shadowfile.el (shadow-expand-cluster-in-file-name):
14605 Remove unused variable `cluster'.
14606 (shadow-copy-file): Remove unused variable `i'.
14607 (shadow-noquery, shadow-clusters, shadow-site-cluster)
14608 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14609 (shadow-define-literal-group, shadow-define-regexp-group)
14610 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14611
14612 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14613 (shell): Use `called-interactively-p'.
14614 (shell-directory-tracker): Remove unused variable `chdir-failure'.
14615
14616 * simple.el (compilation-context-lines, comint-file-name-quote-list)
14617 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14618 (delete-backward-char): Remove unused variable `ocol'.
14619 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14620 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14621 (event-apply-hyper-modifier, event-apply-shift-modifier)
14622 (event-apply-control-modifier, event-apply-meta-modifier):
14623 Mark unused parameters.
14624 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14625 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14626
14627 * speedbar.el (speedbar-ignored-directory-expressions)
14628 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14629 (speedbar-find-file, speedbar-dir-follow)
14630 (speedbar-directory-buttons-follow, speedbar-tag-find)
14631 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14632 (speedbar-buffers-line-directory, speedbar-buffer-click):
14633 Mark unused parameters.
14634 (speedbar-tag-file): Remove unused variable `mode'.
14635 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14636
14637 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14638
14639 * talk.el (talk): Remove unused variable `display'.
14640
14641 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14642 (tar-write-region-annotate): Mark unused parameter.
14643
14644 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14645 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14646 Declare them, wrapped in `with-no-warnings' to avoid replacing one
14647 warning by another.
14648
14649 * time-stamp.el (time-stamp-string-preprocess):
14650 Remove unused variable `require-padding'.
14651
14652 * tree-widget.el (widget-glyph-enable): Declare.
14653 (tree-widget-action): Mark unused parameter.
14654
14655 * w32-fns.el (x-get-selection): Mark unused parameter.
14656 (autoload-make-program, generated-autoload-file): Declare.
14657
14658 * wdired.el (wdired-revert): Mark unused parameters.
14659 (wdired-xcase-word): Remove unused variable `err'.
14660
14661 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14662 (whitespace-help-scroll): Remove unused variable `data-help'.
14663
14664 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14665 (widget-image-insert, widget-after-change, default)
14666 (widget-default-format-handler, widget-default-notify)
14667 (widget-default-prompt-value, widget-info-link-action)
14668 (widget-url-link-action, widget-function-link-action)
14669 (widget-variable-link-action, widget-file-link-action)
14670 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14671 (widget-field-prompt-internal, widget-field-action, widget-field-match)
14672 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14673 (widget-insert-button-action, widget-delete-button-action, visibility)
14674 (widget-documentation-link-action, widget-documentation-string-action)
14675 (widget-const-prompt-value, widget-regexp-match, symbol)
14676 (widget-coding-system-prompt-value)
14677 (widget-key-sequence-value-to-external, sexp)
14678 (widget-sexp-value-to-internal, character, vector, cons)
14679 (widget-choice-prompt-value, widget-boolean-prompt-value)
14680 (widget-color--choose-action): Mark unused parameters.
14681 (widget-item-match-inline, widget-choice-match-inline)
14682 (widget-checklist-match, widget-checklist-match-inline)
14683 (widget-group-match): Rename parameter VALUES to VALS.
14684 (widget-field-value-set): Remove unused variable `size'.
14685 (widget-color-action): Remove unused variables `value' and `start'.
14686
14687 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 14688 variable `dir'. Doc fix.
06b60517
JB
14689 (windmove-find-other-window): Don't pass it.
14690
14691 * window.el (count-windows): Mark unused parameter.
14692 (bw-adjust-window): Remove unused variable `err'.
14693
14694 * woman.el (woman-file-name): Remove unused variable `default'.
14695 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14696 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14697 (global-font-lock-mode): Declare.
14698 (woman-decode-region): Mark unused parameter.
14699 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14700
14701 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14702 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14703 (x-dnd-handle-moz-url): Remove unused variable `title'.
14704 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14705
14706 * xml.el (xml-parse-tag, xml-parse-attlist):
14707 Remove unused variable `pos'.
14708
bc4f7f3d
GM
147092011-04-19 Glenn Morris <rgm@gnu.org>
14710
14711 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14712 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14713 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14714 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14715 * calendar/cal-html.el (cal-html-insert-minical):
14716 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14717 (calendar-mark-date-pattern):
14718 Prefix "unused" locals.
14719
14720 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14721 optional argument `style'.
14722
14723 * calendar/appt.el (appt-make-list):
14724 * calendar/cal-china.el (calendar-chinese-date-string):
14725 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14726 (diary-hebrew-yahrzeit):
14727 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14728 * calendar/calendar.el (calendar-generate-window):
14729 * calendar/time-date.el (time-to-days):
14730 Remove unused local variables.
14731
16a43933
CY
147322011-04-18 Chong Yidong <cyd@stupidchicken.com>
14733
14734 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14735 glyphless-char-display table.
14736 (tabulated-list-glyphless-char-display): New var.
14737
7eed1860
SS
147382011-04-18 Sam Steingold <sds@gnu.org>
14739
14740 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14741 to acknowledgments.
14742
4d2d1ccd
GM
147432011-04-17 Glenn Morris <rgm@gnu.org>
14744
14745 * calendar/diary-lib.el (diary-sexp-entry):
14746 * calendar/holidays.el (holiday-sexp):
14747 Set debug-on-error rather than the removed stack-trace-on-error.
14748
239da61d
GM
147492011-04-16 Glenn Morris <rgm@gnu.org>
14750
14751 * progmodes/f90.el: Use lexical-binding.
14752 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14753
8b05752a
SM
147542011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14755
daca8ba5
SM
14756 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14757 (mail-mode): Setup mailalias completion here instead.
14758 * mail/mailalias.el: Use lexical-binding.
14759 (pattern, mailalias-done): Declare dynamic.
14760 (mail-completion-at-point-function): New function, from mail-complete.
14761 (mail-complete): Use it.
14762 (mail-completion-expand): New function.
14763 (mail-get-names): Use it.
14764 (mail-directory, mail-directory-process, mail-directory-stream):
14765 Don't use `pattern' for lexically bound arg.
14766
6f542485
SM
14767 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14768
037e7c3f
SM
14769 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14770 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14771 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14772
8b05752a
SM
14773 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14774 (byte-save-window-excursion, byte-temp-output-buffer-setup)
14775 (byte-interactive-p): Define them again, for use when inlining
14776 old code.
14777
49093f60
JB
147782011-04-15 Juanma Barranquero <lekktu@gmail.com>
14779
14780 * loadup.el: Use `string-to-number', not `string-to-int'.
14781
b5b8e7de
SM
147822011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14783
14784 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14785 gud-gdb-complete-command.
14786 (gud-gdb-completions): New function, from gud-gdb-complete-command.
14787 (gud-gdb-completion-at-point): New function.
14788 (gud-gdb-completions): Remove.
14789
f42efeb5
MA
147902011-04-14 Michael Albinus <michael.albinus@gmx.de>
14791
49093f60
JB
14792 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14793 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
14794 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14795 whether `executable-find' is bound.
f42efeb5
MA
14796
14797 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14798
e240cc21
SM
147992011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14800
14801 * minibuffer.el (completion-in-region-mode-predicate)
14802 (completion-in-region-mode--predicate): New vars.
14803 (completion-in-region, completion-in-region--postch)
14804 (completion-in-region-mode): Use them.
14805 (completion--capf-wrapper): Also return the hook function.
14806 (completion-at-point, completion-help-at-point):
14807 Adjust and provide a predicate.
c2bd2ab0
SM
14808
14809 Preserve arg names for advice of subr and lexical functions (bug#8457).
14810 * help-fns.el (help-function-arglist): Consolidate the subr and
14811 new-byte-code cases. Add argument `preserve-names' to extract names
14812 from the docstring when needed.
14813 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14814 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14815 (ad-arglist): Use help-function-arglist's new arg.
14816 (ad-definition-type): Use cond.
14817
c183f693
JB
148182011-04-13 Juanma Barranquero <lekktu@gmail.com>
14819
06641a47
JB
14820 * autorevert.el (auto-revert-handler):
14821 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
14822 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
14823 Don't quote lambda.
14824
c183f693
JB
14825 * image-mode.el (image-transform-set-scale):
14826 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
14827
1e3b6001
G
148282011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14829
14830 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 14831 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
14832 Upgrades via gnutls-cli are too slow to be done opportunistically.
14833
2d6af8dd
JB
148342011-04-12 Juanma Barranquero <lekktu@gmail.com>
14835
14836 * dframe.el (dframe-current-frame): Remove spurious quote.
14837
c0749a51
GM
148382011-04-12 Glenn Morris <rgm@gnu.org>
14839
088d0d61
GM
14840 * calendar/cal-tex.el (cal-tex-end-document):
14841 Try to automatically use latin1 input if needed.
14842
c0749a51
GM
14843 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
14844 Don't try to cons a mark onto an empty element.
14845
5c90fde0
LL
148462011-04-11 Leo Liu <sdl.web@gmail.com>
14847
14848 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
14849 buffers.
14850 (ido-kill-buffer-at-head): Support killing virtual buffers.
14851
369e974d
CY
148522011-04-10 Chong Yidong <cyd@stupidchicken.com>
14853
14854 * minibuffer.el (completion-show-inline-help): New var.
14855 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
14856 (minibuffer-force-complete, minibuffer-complete-word):
14857 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
14858
14859 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
14860 to avoid interference from inline help (Bug#5849).
14861
37f1c930
LL
148622011-04-10 Leo Liu <sdl.web@gmail.com>
14863
099c39a4
JB
14864 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14865 Fix typo.
37f1c930 14866
a32d4040
CY
148672011-04-09 Chong Yidong <cyd@stupidchicken.com>
14868
14869 * image-mode.el (image-toggle-display-image): Signal an error if
14870 not in Image mode.
14871 (image-transform-mode, image-transform-resize)
14872 (image-transform-set-rotation): Doc fix.
daca8ba5 14873 (image-transform-set-resize): Delete.
a32d4040
CY
14874 (image-transform-set-scale, image-transform-fit-to-height)
14875 (image-transform-fit-to-width): Handle image-toggle-display-image
14876 and image-transform-resize directly.
14877
099c39a4 148782011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
14879
14880 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
14881 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
14882 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
14883 (doc-view-mode-map): Add bindings for the new functions.
14884
099c39a4 148852011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 14886
4d61f28d 14887 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
14888 Fix typo in docstring.
14889
3726838a
EZ
148902011-04-08 Eli Zaretskii <eliz@gnu.org>
14891
04f33f1e
EZ
14892 * files.el (file-size-human-readable): Produce one digit after
14893 decimal, like "ls -lh" does.
14894
14895 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14896 the file size representation.
14897
3726838a
EZ
14898 * simple.el (list-processes): If async subprocesses are not
14899 available, error out with a clear error message.
14900
cbb59342
CY
149012011-04-08 Chong Yidong <cyd@stupidchicken.com>
14902
14903 * help.el (help-form-show): New function, to be called from C.
14904 Put help-form output in a buffer named differently than *Help*.
14905
e3971c44
EZ
149062011-04-08 Eli Zaretskii <eliz@gnu.org>
14907
14908 * files.el (file-size-human-readable): New function.
14909
14910 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14911 computing the representation inline. Don't require `cl'.
14912
12544bbe
GM
149132011-04-08 Glenn Morris <rgm@gnu.org>
14914
a1de6c6a
GM
14915 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14916
3c4671f4
GM
14917 * net/browse-url.el (browse-url-firefox):
14918 Test system-type, not system-configuration.
14919
b605679c
GM
14920 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14921 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14922 Use log-edit-empty-buffer-p. (Bug#7598)
14923
56442f0c
GM
14924 * net/rlogin.el (rlogin-process-connection-type): Simplify.
14925 (rlogin-mode-map): Initialize in the defvar.
14926 (rlogin): Use ignore-errors.
14927
12544bbe
GM
14928 * replace.el (occur-mode-map): Some fixes for menu items.
14929
eb237b0f
AH
149302011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14931
14932 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14933
7d668f2c
CY
149342011-04-06 Chong Yidong <cyd@stupidchicken.com>
14935
e67a13ab
CY
14936 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14937 issuing unused warnings.
14938
14939 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14940 macro directly.
14941
7d668f2c
CY
14942 * simple.el: Lisp reimplement of list-processes. Based on an
14943 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14944 (process-menu-mode): New major mode.
14945 (list-processes--refresh, list-processes):
14946 (process-menu-visit-buffer): New functions.
14947
14948 * files.el (save-buffers-kill-emacs): Don't assume any return
14949 value of list-processes, which is undocumented anyway.
14950
a83ec3c9
CY
149512011-04-06 Chong Yidong <cyd@stupidchicken.com>
14952
14953 * emacs-lisp/tabulated-list.el: New file.
14954
e91a96fe
CY
14955 * emacs-lisp/package.el: Use Tabulated List mode.
14956 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14957 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14958 table format using Tabulated List mode variables.
14959 (package--push): New macro, replacing package-list-maybe-add.
14960 (package-menu--generate): Use package--push. Renamed from
14961 package--generate-package-list.
14962 (package-menu-refresh, list-packages): Use it.
daca8ba5 14963 (package-menu--print-info): Rename from package-print-package.
e91a96fe 14964 Return insertion data instead of inserting it directly.
099c39a4
JB
14965 (package-menu-describe-package, package-menu-execute):
14966 Use tabulated-list-get-id.
e91a96fe
CY
14967 (package-menu-mark-delete, package-menu-mark-install)
14968 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
14969 (package-menu-mark-obsolete-for-deletion):
14970 Use tabulated-list-put-tag.
e91a96fe
CY
14971 (package--list-packages, package-menu-revert)
14972 (package-menu-get-package, package-menu-get-version)
14973 (package-menu-sort-by-column): Functions deleted.
14974 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14975 (package-menu--status-predicate, package-menu--version-predicate)
14976 (package-menu--name-predicate)
14977 (package-menu--description-predicate): Handle arguments in the
14978 Tabulated List format.
14979 (package-list-packages-no-fetch): Call list-packages.
14980
3e214b50
JB
149812011-04-06 Juanma Barranquero <lekktu@gmail.com>
14982
14983 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 14984 (after-find-file): Don't bind it.
3e214b50
JB
14985 (revert-buffer-in-progress-p): New variable.
14986 (revert-buffer): Bind it.
14987 Pass nil for `after-find-file-from-revert-buffer'.
14988
14989 * saveplace.el (save-place-find-file-hook): Use new variable
14990 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14991
3f0f1700
GM
149922011-04-06 Glenn Morris <rgm@gnu.org>
14993
c0274801
GM
14994 * Makefile.in (AUTOGEN_VCS): New variable.
14995 (autoloads): Use $AUTOGEN_VCS.
14996
3f0f1700
GM
14997 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14998 * calendar/calendar.el (calendar-mode-map):
14999 Check for toolkit scroll bars. (Bug#8305)
15000
41ea9e48
CY
150012011-04-05 Chong Yidong <cyd@stupidchicken.com>
15002
15003 * minibuffer.el (completion-in-region--postch)
15004 (completion-in-region-mode): Remove unnecessary messages.
15005
6194c800
JB
150062011-04-05 Juanma Barranquero <lekktu@gmail.com>
15007
33256f14
JB
15008 * font-lock.el (font-lock-refresh-defaults):
15009 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
15010 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
15011
6194c800
JB
15012 * info.el (Info-directory-list, Info-read-node-name-2)
15013 (Info-split-parameter-string): Doc fixes.
15014 (Info-virtual-nodes): Reflow docstring.
15015 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
15016 (Info-apropos-toc-nodes, info-finder, Info-get-token)
15017 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
15018 Fix typos in docstrings.
15019 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
15020 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
15021 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
15022 (Info-restore-desktop-buffer): Mark unused parameters.
15023 (Info-directory-find-file, Info-directory-find-node)
15024 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
15025 (Info-virtual-index-find-node, Info-apropos-find-file)
15026 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 15027 Mark unused parameters; fix typos in docstrings.
6194c800
JB
15028 (Info-virtual-index): Remove unused local variable `nodename'.
15029
b87a8200 150302011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 15031
b87a8200
DD
15032 * net/rcirc.el: Update my e-mail address.
15033 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 15034
3b2ff876
CY
150352011-04-05 Chong Yidong <cyd@stupidchicken.com>
15036
15037 * startup.el (command-line): Save the cursor's theme-face
15038 directly, instead of using face-override-spec.
15039
15040 * custom.el (load-theme): Minor optimization in assigning faces.
15041
8d17e7ca
JB
150422011-04-04 Juanma Barranquero <lekktu@gmail.com>
15043
15044 * help-fns.el (describe-variable): Complete all variables having
15045 documentation, including keywords.
15046 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
15047
2fbc1934
JB
150482011-04-04 Juanma Barranquero <lekktu@gmail.com>
15049
15050 Convert to lexical-binding.
15051
15052 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
15053 (bs--get-marked-string, bs--get-modified-string)
15054 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
15055 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
15056 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
15057
15058 * ehelp.el (electric-help-execute-extended)
15059 (electric-help-ctrl-x-prefix):
15060 * hexl.el (hexl-revert-buffer-function):
15061 * linum.el (linum-after-change, linum-after-scroll):
15062 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
15063
15064 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
15065
74f50695
DU
150662011-04-04 Daiki Ueno <ueno@unixuser.org>
15067
15068 * epa-dired.el:
15069 * epa-mail.el:
15070 * epa-hook.el:
15071 * epa-file.el:
15072 * epa.el:
15073 * epg.el: Use lexical binding.
15074
c11325f7
CY
150752011-04-03 Chong Yidong <cyd@stupidchicken.com>
15076
0d9e9a12
CY
15077 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
15078
c11325f7 15079 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
15080 dictionary case for flyspell-mark-duplications-exceptions.
15081 Use regexp matching for languages.
c11325f7
CY
15082 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
15083 default dictionary (Bug#7926).
15084
da91b5f2
CY
150852011-04-02 Chong Yidong <cyd@stupidchicken.com>
15086
099c39a4
JB
15087 * emacs-lisp/package.el (package--with-work-buffer):
15088 Recognize https URLs.
da91b5f2 15089
099c39a4
JB
15090 * net/network-stream.el: Move from gnus/proto-stream.el.
15091 Change prefix to network-stream throughout.
da91b5f2
CY
15092 (open-protocol-stream): Merge into open-network-stream, leaving
15093 open-protocol-stream as an alias. Handle nil BUFFER args.
15094
15095 * subr.el (open-network-stream): Move to net/network-stream.el.
15096
afa8e9f6
GM
150972011-04-02 Glenn Morris <rgm@gnu.org>
15098
1d2e369d
GM
15099 * find-dired.el (find-exec-terminator): New option.
15100 (find-ls-option): Test for -ls support.
15101 (find-ls-subdir-switches): Test for -b in find-ls-option.
15102 (find-dired, find-grep-dired): Doc fixes.
15103 (find-dired): Use find-exec-terminator.
15104
8abb7da8 15105 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
15106 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
15107 (find-name-arg): Remove purecopy.
8abb7da8 15108
f3ca7378
GM
15109 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
15110 (grep-compute-defaults): Check for `-exec COMMAND +' support.
15111 Set grep-find-use-xargs, grep-find-command, and grep-find-template
15112 accordingly. Don't add the null-device if not needed.
15113
afa8e9f6
GM
15114 * files.el (save-some-buffers): Doc fix.
15115
35eae264
EZ
151162011-04-02 Eli Zaretskii <eliz@gnu.org>
15117
15118 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
15119
26b51db5
JB
151202011-04-01 Juanma Barranquero <lekktu@gmail.com>
15121
15122 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
15123 Use `dolist' rather than `mapcar'.
15124
7200d79c
SM
151252011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15126
03408648 15127 Add lexical binding.
7200d79c 15128
03408648
SM
15129 * subr.el (apply-partially): Use new closures rather than CL.
15130 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
15131 (dolist, dotimes): Use slightly different expansion for lexical code.
15132 (functionp): Move to C.
15133 (letrec): New macro.
15134 (with-wrapper-hook): Use it and apply-partially instead of CL.
15135 (eval-after-load): Preserve lexical-binding.
15136 (save-window-excursion, with-output-to-temp-buffer): Turn them
15137 into macros.
7200d79c 15138
03408648
SM
15139 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
15140
15141 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
15142 than the arglist.
15143 (help-add-fundoc-usage): Don't add `Not documented'.
15144 (help-function-arglist): Handle closures, subroutines, and new
15145 byte-code-functions.
15146 (help-make-usage): Remove leading underscores.
15147 (describe-function-1): Handle closures.
15148 (describe-variable): Use special-variable-p for completion.
15149
15150 * files.el (lexical-binding): Declare safe.
f488fb65 15151
03408648
SM
15152 * emacs-lisp/pcase.el: Don't use destructuring-bind.
15153 (pcase--memoize): Rename from pcase-memoize. Change weakness.
15154 (pcase): Add `let' pattern.
15155 Change memoization so it actually works.
15156 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
15157 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
15158 <let>: New case.
f488fb65 15159
03408648
SM
15160 * emacs-lisp/macroexp.el: Use lexical binding.
15161 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
15162 Don't convert ' to #' without checking that it's indeed quoting
15163 a lambda.
15164
15165 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 15166 Use eval-sexp-add-defvars.
03408648
SM
15167 (eval-sexp-add-defvars): New fun.
15168
15169 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
15170
15171 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
15172 Don't autoload.
15173 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
15174 than the internal `byte-compile-lambda'.
15175 (defmethod): Don't hide code under quotes.
15176 (eieio-defmethod): New `code' argument.
15177
15178 * emacs-lisp/eieio-comp.el: Remove.
15179
15180 * emacs-lisp/edebug.el (edebug-eval-defun)
15181 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
15182 (edebug-toggle): Avoid `eval'.
15183
15184 * emacs-lisp/disass.el (disassemble-internal): Handle new
15185 `closure' objects.
15186 (disassemble-1): Handle new byte codes.
15187
15188 * emacs-lisp/cl.el (pushnew): Silence warning.
15189
15190 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
15191 (cl-byte-compile-throw): Remove.
15192 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
15193
15194 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
15195 closures.
15196
15197 * emacs-lisp/cconv.el: New file.
15198
15199 * emacs-lisp/bytecomp.el: Use lexical binding instead of
15200 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
15201 (byte-compile-initial-macro-environment):
15202 Handle declare-function here.
15203 (byte-compile--lexical-environment): New var.
15204 (byte-stack-ref, byte-stack-set, byte-discardN)
15205 (byte-discardN-preserve-tos): New lap codes.
15206 (byte-interactive-p): Don't use any more.
15207 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
15208 New macros.
15209 (byte-compile-lapcode): Use them and handle new lap codes.
15210 (byte-compile-obsolete): Remove.
15211 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
15212 (byte-compile-arglist-warn): Check late def of inlinable funs.
15213 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
15214 since they should have been expanded by now.
15215 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
15216 (byte-compile-from-buffer): Remove unused second arg.
15217 (byte-compile-preprocess): New function.
15218 (byte-compile-toplevel-file-form): New function to distinguish
15219 file-form calls from outside from file-form calls from hunk-handlers.
15220 (byte-compile-file-form): Simplify.
15221 (byte-compile-file-form-defsubst): Remove.
15222 (byte-compile-file-form-defmumble): Simplify now that
15223 byte-compile-lambda always returns a byte-code-function.
15224 (byte-compile): Preprocess.
15225 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
15226 Remove, not used any more.
15227 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
15228 (byte-compile-make-args-desc): New funs.
15229 (byte-compile-lambda): Handle lexical functions. Always return
15230 a byte-code-function.
15231 (byte-compile-reserved-constants): New var, to make up room for
15232 closed-over variables.
15233 (byte-compile-constants-vector): Obey it.
15234 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
15235 (byte-compile-macroexpand-declare-function): New function.
15236 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
15237 byte-code-functions.
15238 (byte-compile-form): Check obsolescence here.
15239 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
15240 (byte-compile-variable-ref): Remove.
15241 (byte-compile-dynamic-variable-op): New fun.
15242 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15243 (byte-compile-variable-set): New funs.
15244 (byte-compile-discard): Add 2 args.
15245 (byte-compile-stack-ref, byte-compile-stack-set)
15246 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
15247 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
15248 macroexpand-all instead.
15249 (byte-compile-quote-form): Remove.
15250 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
15251 (byte-compile-bind, byte-compile-unbind): New funs.
15252 (byte-compile-let): Handle let* and lexical binding.
15253 (byte-compile-let*): Remove.
15254 (byte-compile-catch, byte-compile-unwind-protect)
15255 (byte-compile-track-mouse, byte-compile-condition-case):
15256 Handle a new :fun-body form, used for lexical scoping.
15257 (byte-compile-save-window-excursion)
15258 (byte-compile-with-output-to-temp-buffer): Remove.
15259 (byte-compile-defun): Simplify.
15260 (byte-compile-stack-adjustment): New fun.
15261 (byte-compile-out): Use it.
15262 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
15263
15264 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
15265 handler any more.
15266
15267 * emacs-lisp/byte-opt.el: Use lexical binding.
15268 (byte-inline-lapcode): Remove (to bytecomp).
15269 (byte-compile-inline-expand): Pay attention to inlining to/from
15270 lexically bound code.
15271 (byte-compile-unfold-lambda): Don't handle byte-code-functions
15272 any more.
15273 (byte-optimize-form-code-walker): Don't handle save-window-excursion
15274 any more and don't call compiler-macros.
15275 (byte-compile-splice-in-already-compiled-code): Remove.
15276 (byte-code): Don't inline any more.
15277 (disassemble-offset): Receive `bytes' as argument rather than via
15278 dynamic scoping.
15279 (byte-compile-tag-number): Declare before first use.
15280 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
15281 `return' even if make-spliceable.
15282 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
15283 obsolete interactive-p.
15284 (byte-optimize-lapcode): Optimize new lap-codes.
15285 Don't trip up on new form of `byte-constant' lap code.
15286
15287 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
15288
15289 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
15290
15291 * custom.el (custom-initialize-default, custom-declare-variable):
15292 Use `defvar'.
15293
15294 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
15295 New variables.
15296 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
15297 (COMPILE_FIRST): Add macroexp and cconv.
15298 * makefile.w32-in: Mirror changes in Makefile.in.
15299
15300 * vc/cvs-status.el:
15301 * vc/diff-mode.el:
15302 * vc/log-edit.el:
15303 * vc/log-view.el:
15304 * vc/smerge-mode.el:
15305 * textmodes/bibtex-style.el:
15306 * textmodes/css.el:
15307 * startup.el:
15308 * uniquify.el:
da91b5f2
CY
15309 * minibuffer.el:
15310 * newcomment.el:
15311 * reveal.el:
15312 * server.el:
15313 * mpc.el:
15314 * emacs-lisp/smie.el:
15315 * doc-view.el:
15316 * dired.el:
03408648
SM
15317 * abbrev.el: Use lexical binding.
15318
0f0c1f27
EZ
153192011-04-01 Eli Zaretskii <eliz@gnu.org>
15320
15321 * info.el (info-display-manual): New function.
15322
c82b2579
SM
153232011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15324
15325 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
15326
221ddf68
TH
153272011-03-31 Tassilo Horn <tassilo@member.fsf.org>
15328
15329 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 15330 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 15331
cba6e77e
GM
153322011-03-31 Glenn Morris <rgm@gnu.org>
15333
e040639f
GM
15334 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
15335
cba6e77e
GM
15336 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
15337
6d0f1c9e
CS
153382011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
15339
15340 * progmodes/python.el (python-default-interpreter)
15341 (python-python-command-args, python-jython-command-args)
15342 (python-which-shell, python-which-args, python-which-bufname)
15343 (python-file-queue, python-comint-output-filter-function)
15344 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
15345 variables and functions.
15346
3e2d70fd
SM
153472011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15348
15349 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
15350 (completion-in-region-mode): New minor mode.
15351 (completion-in-region): Use it.
15352 (completion-in-region--data, completion-in-region-mode-map): New vars.
15353 (completion-in-region--postch): New function.
15354 (completion--capf-misbehave-funs, completion--capf-safe-funs):
15355 New vars.
15356 (completion--capf-wrapper): New function.
15357 (completion-at-point): Use it to track well-behavedness of
15358 hook functions.
15359 (completion-help-at-point): New command.
15360
f3e4086c
JM
153612011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
15362
15363 * vc/add-log.el (add-change-log-entry): Don't use whitespace
15364 syntax class to search for whitespace on a single line
15365 (Message-ID: <4D938140.4030905@redhat.com>).
15366
eb7ffc14
LL
153672011-03-30 Leo Liu <sdl.web@gmail.com>
15368
15369 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15370 New commands.
15371 (edit-abbrevs-map): Bind them here.
15372 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
15373
d806ab68
KM
153742011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
15375
15376 * allout.el (allout-hide-by-annotation, allout-flag-region):
15377 Reduce possibility of overlay leakage by making them volatile.
15378
15379 * allout-widgets.el (allout-widgets-tally): Define as nil so the
15380 hash is not shared between buffers. Mode initialization is
15381 responsible for giving it a useful starting value.
15382 (allout-item-span): Reduce possibility of overlay leakage by
15383 making them volatile.
15384 (allout-widgets-count-buttons-in-region): Add diagnostic function
15385 for tracking down button overlay leaks.
15386
ea622834
LL
153872011-03-29 Leo Liu <sdl.web@gmail.com>
15388
15389 * ido.el (ido-read-internal): Use the default history var
15390 minibuffer-history if no HISTORY is specified.
15391
b62f8267
G
153922011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
15393
03408648
SM
15394 * net/imap.el (imap-shell-open, imap-process-connection-type):
15395 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
15396 Kerberos, SSL, other subprocesses.
15397
947b6566
LL
153982011-03-28 Leo Liu <sdl.web@gmail.com>
15399
15400 * abbrev.el (abbrev-table-empty-p): New function.
15401 (prepare-abbrev-list-buffer): Place empty abbrev tables after
15402 nonempty ones. (Bug#5937)
15403
5ffb62aa
JD
154042011-03-27 Jan Djärv <jan.h.d@swipnet.se>
15405
15406 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15407
7a097943
LL
154082011-03-27 Leo Liu <sdl.web@gmail.com>
15409
15410 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15411 for foreground and background colors.
15412 (ansi-color-make-color-map): Adapt.
15413
c5b40130
LL
154142011-03-25 Leo Liu <sdl.web@gmail.com>
15415
1f48f7d2
LL
15416 * midnight.el (midnight-time-float): Remove. Note it calculates
15417 the microsecond component incorrectly and seconds-to-time does the
15418 same job.
625897ec 15419 Remove redundant (require 'timer).
1f48f7d2 15420
c5b40130
LL
15421 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15422 (ido-completions): Remove unused arguments. (Bug#8329)
15423
d86d2721
SM
154242011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
15425
15426 * minibuffer.el (completion--flush-all-sorted-completions):
15427 Remove itself from hook.
15428 (completion-at-point): Let the functions perform the completion
15429 immediately and return nil or t.
15430 * comint.el (comint-dynamic-complete-functions): Now identical to
15431 completion-at-point-functions.
15432 (comint-dynamic-list-input-ring): Remove unused var `index'.
15433 (comint--match-partial-filename, comint--unquote&expand-filename):
15434 New funs, split from comint-match-partial-filename.
15435 (comint-dynamic-complete): Use completion-at-point.
15436 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15437
e8974c48
DA
154382011-03-24 Drew Adams <drew.adams@oracle.com>
15439
15440 * thingatpt.el: Support `defun'.
15441
def71b5e
LL
154422011-03-23 Leo Liu <sdl.web@gmail.com>
15443
cb5af48e
LL
15444 * abbrevlist.el: Move to obsolete/abbrevlist.el.
15445
def71b5e
LL
15446 * help-mode.el (help-mode-finish): Tweak regexp.
15447
927c53e7
GM
154482011-03-23 Glenn Morris <rgm@gnu.org>
15449
18d05bed
GM
15450 * eshell/esh-opt.el (eshell-eval-using-options):
15451 Do not bind unused local variable `eshell-option-stub'.
15452
927c53e7
GM
15453 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15454
9d0da923
JB
154552011-03-22 Juanma Barranquero <lekktu@gmail.com>
15456
15457 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15458 keymap variable in `with-no-warnings' to avoid a warning when the
15459 keymap has been already `defconst'ed.
15460
4b978a67
LL
154612011-03-22 Leo Liu <sdl.web@gmail.com>
15462
15463 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15464 encode all chars in abbrevs; otherwise use emacs-mule or
15465 utf-8-emacs. (Bug#8308)
15466
5fd62452
JB
154672011-03-22 Juanma Barranquero <lekktu@gmail.com>
15468
0b1596c6
JB
15469 * simple.el (backward-delete-char-untabify):
15470 Avoid warning about using `delete-backward-char'.
15471
5fd62452
JB
15472 * image.el (image-type-file-name-regexps): Make it variable.
15473 `imagemagick-register-types' modifies it, and the user may want
15474 to add new extensions for known image types.
15475 (imagemagick-register-types): Throw error if not using ImageMagick.
15476
0b4e93f1
LL
154772011-03-22 Leo Liu <sdl.web@gmail.com>
15478
15479 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15480 located before rcirc-prompt-end-marker.
15481 (rcirc-complete): Error if point is not after rcirc prompt.
15482 Handle the case when table is nil.
9882e214 15483 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 15484
fccee4ab
CY
154852011-03-22 Chong Yidong <cyd@stupidchicken.com>
15486
15487 * custom.el (custom--inhibit-theme-enable): Make it affect only
15488 custom-theme-set-variables and custom-theme-set-faces.
15489 (provide-theme): Ignore custom--inhibit-theme-enable.
15490 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15491 (custom-enabling-themes): Delete variable.
d86d2721
SM
15492 (enable-theme): Accept only loaded themes as arguments.
15493 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
15494 (custom-enabled-themes): Forbid themes from setting this.
15495 Eliminate use of custom-enabling-themes.
15496 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 15497
af896da6
LL
154982011-03-21 Leo Liu <sdl.web@gmail.com>
15499
15500 * ido.el (ido-read-internal): Add ido-selected to history instead
15501 of user input.
15502
78f64af0
SM
155032011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15504
15505 * subr.el (deferred-action-list, deferred-action-function):
15506 Mark obsolete.
15507
b16ac1ec
LL
155082011-03-21 Leo Liu <sdl.web@gmail.com>
15509
810f7698
LL
15510 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15511 change on 2011-02-13 (bug#8309).
15512
b16ac1ec
LL
15513 * minibuffer.el (read-file-name-function): Change default value.
15514 (read-file-name--defaults): Rename from read-file-name-defaults.
15515 (read-file-name-default): Rename from read-file-name.
15516 (read-file-name): Call read-file-name-function.
15517
4e05e67e
GM
155182011-03-21 Glenn Morris <rgm@gnu.org>
15519
15520 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15521 Doc fixes.
15522
4359915b
CY
155232011-03-21 Chong Yidong <cyd@stupidchicken.com>
15524
15525 * cus-theme.el: Add missing provide statement.
15526 (customize-create-theme): Extract theme value correctly.
15527 (custom-theme-visit-theme): Autoload.
15528 (customize-create-theme): Prompt before inserting default faces.
15529
1fe275ee
JB
155302011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
15531
15532 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15533 units and musical notes.
15534
cd394be1 155352011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
15536
15537 * ido.el (ido-read-internal): Use completing-read-default.
15538 (ido-completing-read): Fix compatibility with completing-read.
15539
7d476bde
CO
155402011-03-20 Christian Ohler <ohler@gnu.org>
15541
15542 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15543 (ert-delete-all-tests): Use `called-interactively-p' rather than
15544 `interactive-p'.
15545 (ert--make-xrefs-region): Respect END.
15546
fe0fb33e
CY
155472011-03-19 Chong Yidong <cyd@stupidchicken.com>
15548
ff854b0b
CY
15549 * dired-aux.el (dired-create-directory): Signal an error if the
15550 directory already exists (Bug#8246).
15551
fe0fb33e
CY
15552 * facemenu.el (list-colors-display): Call list-faces-display
15553 inside with-help-window.
15554 (list-colors-print): Use display property to align the final
15555 column, instead of checking window-width.
15556
576bce32
EZ
155572011-03-19 Eli Zaretskii <eliz@gnu.org>
15558
4d61f28d 15559 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
15560 windows-nt systems.
15561 (emerge-protect-metachars): Quote correctly for ms-dos and
15562 windows-nt systems.
15563
89c41d68 155642011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
15565
15566 * info.el (info-initialize): Replace all uses of `:' with
15567 path-separator for compatibility with non-Unix systems.
15568 Cache quoting of path-separator. (Bug#8258)
15569
b14e3e21 155702011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
15571
15572 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15573 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15574 (mouse-avoidance-mode): Fix typos in docstrings.
15575
4525ce3e
CY
155762011-03-19 Chong Yidong <cyd@stupidchicken.com>
15577
15578 * startup.el (package-subdirectory-regexp): Move from package.el.
15579 Omit \\` and \\', and let callers add them.
15580
15581 * emacs-lisp/package.el (package-strip-version)
15582 (package-load-all-descriptors): Add \\` and \\' to
15583 package-subdirectory-regexp before using it.
15584 (package-untar-buffer): New arg DIR; ensure that file untars only
15585 into this expected directory. Remove superfluous delete-region.
15586 (package-unpack): Caller changed.
15587 (package-tar-file-info): Use package-subdirectory-regexp.
15588
a904a09a 155892011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 15590
a904a09a
SM
15591 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
15592 diff-mode-shared-map (bug#8284).
15593 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
15594
155952011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15596
15597 * calendar/time-date.el (format-seconds): Use assoc instead of
15598 assoc-string, since assoc-string doesn't exist in XEmacs.
15599
171fc304
JB
156002011-03-17 Juanma Barranquero <lekktu@gmail.com>
15601
15602 * custom.el (custom-known-themes): Reflow docstring.
15603 (custom-theme-load-path): Fix typo in docstring.
15604 (load-theme): Fix typo in error message.
15605 (custom-available-themes, custom-variable-theme-value):
15606 Use `let', not `let*'.
15607
d71990a1
JB
156082011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15609
15610 * calc/README: Mention inclusion of musical notes.
15611
15612 * calc/calc-units.el (calc-lu-quant): Rename from
15613 `calc-logunits-quantity'.
15614 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15615 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15616 (calc-db): Rename from `calc-dblevel'.
15617 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15618 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15619 (calc-np): Rename from `calc-nplevel'.
15620 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15621 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15622 (calc-lu-plus): Rename from `calc-logunits-add'.
15623 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15624 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15625 (calc-lu-minus): Rename from `calc-logunits-sub'.
15626 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15627 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15628 (calc-lu-times): Rename from `calc-logunits-mul'.
15629 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15630 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15631 (calc-lu-divide): Rename from `calc-logunits-div'.
15632 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15633 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15634
15635 * calc/calc-ext.el (calc-init-extensions): Update the names of the
15636 functions being autoloaded.
15637
15638 * calc/calc.el (calc-lu-power-reference): Rename from
15639 `calc-logunits-power-reference'.
15640 (calc-lu-field-reference): Rename from
15641 `calc-logunits-field-reference'.
15642
7a71b18d
GM
15643 * calc/calc-help.el (calc-l-prefix-help):
15644 Mention musical note functions.
d71990a1 15645
40c2934b
SM
156462011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
15647
15648 * minibuffer.el (completion-all-sorted-completions):
15649 Use :completion-cycle-penalty text property if present.
15650
b0911414
KM
156512011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
15652
15653 * allout.el (allout-yank-processing): Adjust for new rebulleting
15654 regime so bullet being yanked is used without prompting the user
15655 for a choice.
15656
8a05b668
JB
156572011-03-16 Juanma Barranquero <lekktu@gmail.com>
15658
15659 * startup.el (command-line): Warn the user that _emacs is deprecated.
15660
5ba5fb81
JB
156612011-03-16 Juanma Barranquero <lekktu@gmail.com>
15662
15663 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15664 (delphi-verbose, delphi-comment-face, delphi-string-face)
15665 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15666 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15667 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15668 (delphi-new-comment-line, delphi-font-lock-defaults)
15669 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15670 Fix typos in docstrings.
15671
2dab465b
KM
156722011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
15673
5ba5fb81 15674 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
15675 Invert the roles of character and string values for INSTEAD, so a
15676 string is used for the more common case of a defaulting prompt.
15677
0adf5618
SM
156782011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15679
15680 * progmodes/ruby-mode.el (ruby-backward-sexp):
15681 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15682 * play/gamegrid.el (gamegrid-make-face):
15683 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15684 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15685 * notifications.el (notifications-notify):
15686 * net/xesam.el (xesam-search-engines):
15687 * net/quickurl.el (quickurl-list-insert):
15688 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15689
d72700e5
CY
156902011-03-15 Chong Yidong <cyd@stupidchicken.com>
15691
15692 * startup.el (command-line): Update package subdirectory regexp.
15693
49c5410a
SM
156942011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15695
c6eee9aa
SM
15696 * allout.el (allout-abbreviate-flattened-numbering)
15697 (allout-mode-deactivate-hook): Fix up obsolescence "date".
15698
49c5410a
SM
15699 * subr.el (read-char-choice): Only show the cursor after the prompt,
15700 not after the answer.
15701
047b2bb9
KR
157022011-03-15 Kevin Ryde <user42@zip.com.au>
15703
15704 * help-fns.el (variable-at-point): Skip leading quotes, if any
15705 (bug#8253).
15706
0a57d256
SM
157072011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15708
15709 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15710 warning message.
15711
77c992bc
MA
157122011-03-14 Michael Albinus <michael.albinus@gmx.de>
15713
15714 * shell.el (shell): When called interactively, offer to change the
15715 shell file name on remote hosts.
15716
eebc475d
TZ
157172011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15718
15719 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15720 integration for LDAP parameters. The host, base, user or binddn,
15721 and secret tokens can be specified in a netrc file, for instance.
15722 This is optional because an `auth-source' parameter must be
15723 specified in the search attributes.
15724
9d05d1ba
JB
157252011-03-13 Juanma Barranquero <lekktu@gmail.com>
15726
15727 * help.el (describe-mode): Link to the mode's definition (bug#8185).
15728
09d9db2c
GM
157292011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15730
15731 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15732 into declaration. Remove redundant and harmful binding.
15733
157342011-03-12 Eli Zaretskii <eliz@gnu.org>
15735
15736 * files.el (file-ownership-preserved-p): Pass `integer' as an
15737 explicit 2nd argument to `file-attributes'. If the file's owner
15738 is the Administrators group on Windows, and the current user is
15739 Administrator, consider that a match.
15740
15741 * server.el (server-ensure-safe-dir): Consider server directory
15742 safe on MS-Windows if its owner is the Administrators group while
15743 the current Emacs user is Administrator. Use `=' to compare
15744 numerical UIDs, since they could be integers or floats.
15745
219bd536
JB
157462011-03-12 Juanma Barranquero <lekktu@gmail.com>
15747
15748 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15749
f3afd36b
MA
157502011-03-12 Michael Albinus <michael.albinus@gmx.de>
15751
15752 Sync with Tramp 2.2.1.
15753
15754 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15755
15756 * net/trampver.el: Update release number.
15757
3aaaa6f1
SM
157582011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15759
94642599
SM
15760 * progmodes/compile.el (compilation--previous-directory): Fix up
15761 various nil/dead-marker mismatches (bug#8014).
15762 (compilation-directory-properties, compilation-error-properties):
15763 Don't call it at a position past the one we're about to change.
15764
3aaaa6f1
SM
15765 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15766 Disable obsolescence warnings in the file that declares it.
15767
14239447
KM
157682011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
15769
099c39a4
JB
15770 * allout-widgets.el (allout-widgets-tally):
15771 Initialize allout-widgets-tally as a hash table rather than nil to
15772 prevent mode-line redisplay warnings. Also, clarify the module
15773 description and fix a comment typo.
14239447 15774
135e287c
JB
157752011-03-11 Juanma Barranquero <lekktu@gmail.com>
15776
15777 * help-fns.el (describe-variable): Don't complete keywords.
15778 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15779
ffbf300e
CY
157802011-03-10 Chong Yidong <cyd@stupidchicken.com>
15781
ba08b241
CY
15782 * emacs-lisp/package.el (package-version-join): Impose a standard
15783 string representation for pre/alpha/beta version lists.
15784 (package-unpack-single): Standardize the directory name by passing
15785 it through package-version-join.
15786 (package-strip-rcs-id): Accept any version string that does not
15787 signal an error in version-to-list.
ffbf300e 15788
f346fd6b
MA
157892011-03-10 Michael Albinus <michael.albinus@gmx.de>
15790
15791 * simple.el (delete-trailing-whitespace): Return nil for the
15792 benefit of `write-file-functions'.
15793
ccb55d27
GM
157942011-03-10 Glenn Morris <rgm@gnu.org>
15795
5ceaac0c
GM
15796 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15797
02da65ff
GM
15798 * vc/vc-git.el (vc-git-program): New option.
15799 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15800 (vc-git--call): Use it.
15801
b2f603cc
GM
15802 * eshell/esh-util.el (eshell-condition-case): Doc fix.
15803
5772caab
GM
15804 * cus-edit.el (Custom-newline): If no button at point, look
15805 for a subgroup button at start-of-line. (Bug#2298)
15806
ccb55d27
GM
15807 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15808
ec6ecaed
JD
158092011-03-10 Julien Danjou <julien@danjou.info>
15810
15811 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15812 `cursor-type' is nil.
15813
9d5aa01d
JB
158142011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
15815
15816 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15817
b6a5875b
KM
158182011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
15819
7a71b18d 15820 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
15821 preserves the existing header prefix, rebulleting it if necessary,
15822 rather than replacing it. This is necessary for proper operation
15823 of cooperative addons like allout-widgets.
1154d12e
JB
15824 (allout-make-topic-prefix, allout-rebullet-heading):
15825 Change SOLICIT arg to INSTEAD, and interpret additionally a string
15826 value as alternate bullet to be used, instead of prompting the user
15827 for a bullet character.
b6a5875b 15828
ee545c35
MA
158292011-03-09 Michael Albinus <michael.albinus@gmx.de>
15830
d86d2721
SM
15831 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15832 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
15833 `tramp-default-port'.
15834
c47971d7
DD
158352011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15836
15837 * net/rcirc.el (rcirc-handler-001): Remove useless
15838 with-rcirc-process-buffer.
15839 (rcirc-check-auth-status): Swap arguments to string-match.
15840
13522cb4
GM
158412011-03-09 Glenn Morris <rgm@gnu.org>
15842
0be6f4f1
GM
15843 * shell.el (shell-mode):
15844 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
15845
13522cb4
GM
15846 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
15847 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
15848
515de2e3
CY
158492011-03-08 Chong Yidong <cyd@stupidchicken.com>
15850
15851 * emacs-lisp/package.el (package-refresh-contents)
15852 (package-menu-execute): Use condition-case-no-debug.
15853
b511b994
MA
158542011-03-08 Michael Albinus <michael.albinus@gmx.de>
15855
15856 * simple.el (shell-command-to-string): Use `process-file'.
15857
15858 * emacs-lisp/package.el (package-tar-file-info): Handle also
15859 remote files.
15860
d86d2721
SM
15861 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15862 Use `equal' for upload base check.
b511b994 15863
25bbfb31
AM
158642011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
15865
15866 * textmodes/texinfo.el (texinfo-environments):
15867 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
15868
be996521
GM
158692011-03-08 Glenn Morris <rgm@gnu.org>
15870
e9c8529f
GM
15871 * cus-start.el (cursor-in-non-selected-windows):
15872 Fix :set quoting oddness. (Bug#8192)
15873
be996521
GM
15874 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
15875 in some setf expressions. (Bug#2159)
15876
2bb5649e
CY
158772011-03-08 Chong Yidong <cyd@stupidchicken.com>
15878
15879 * custom.el (custom-available-themes): Return themes in
15880 alphabetical order.
15881
33383987 15882See ChangeLog.15 for earlier changes.
e3d51b27
MR
15883
15884;; Local Variables:
15885;; coding: utf-8
e3d51b27
MR
15886;; End:
15887
acaf905b 15888 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
15889
15890 This file is part of GNU Emacs.
15891
15892 GNU Emacs is free software: you can redistribute it and/or modify
15893 it under the terms of the GNU General Public License as published by
15894 the Free Software Foundation, either version 3 of the License, or
15895 (at your option) any later version.
15896
15897 GNU Emacs is distributed in the hope that it will be useful,
15898 but WITHOUT ANY WARRANTY; without even the implied warranty of
15899 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15900 GNU General Public License for more details.
15901
15902 You should have received a copy of the GNU General Public License
15903 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.