* lisp/subr.el (read-passwd): Don't use a history at all.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
ac77b21a
SM
12012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * subr.el (read-passwd): Don't use a history at all.
4 * savehist.el (savehist-save): Remove password saved accidentally
5 because of the above bug.
6
76386c5a
BG
72012-06-22 Bastien Guerry <bzg@gnu.org>
8
9 * files.el (toggle-read-only): Display a message telling whether
10 the buffer is read-only or not (bug#11726).
11
2ee3d7f0
SM
122012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
13
14 * emacs-lisp/gv.el: New file.
15 * subr.el (push, pop): Extend to generalized variables.
16 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
17 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
18 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
19 gv-define-simple-setter, and gv-define-expander.
20 Remove setf-methods defined in gv. Rename cl-setf -> setf.
21 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
22 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
23 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
24 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
25 gv-letplace.
26 (cl-defstruct): Don't define setf-method any more.
27 * emacs-lisp/cl.el (flet): Don't autoload.
28 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
29 (define-setf-expander, defsetf, define-modify-macro)
30 (cl-struct-setf-expander): Move from cl-lib.el.
31 * emacs-lisp/syntax.el:
32 * emacs-lisp/ewoc.el:
33 * emacs-lisp/smie.el:
34 * emacs-lisp/cconv.el:
35 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
36 (timer--time): Use gv-define-simple-setter.
37 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
38 to avoid coding-system problems in subr.el. Adjust all users.
39 (macroexp--maxsize, macroexp-small-p): New functions.
40 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
41 * scroll-bar.el (scroll-bar-mode):
42 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
43 (normal-erase-is-backspace-mode): Don't use the `eq' place.
44 * winner.el (winner-configuration, winner-make-point-alist)
45 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
46 * files.el (locate-file-completion-table): Avoid list*.
47
c5695d1d
CY
482012-06-22 Chong Yidong <cyd@gnu.org>
49
50 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
51 (dired-create-files): Doc fix (Bug#11329).
52 (dired-do-copy): Doc fix (Bug#11334).
53 (dired-mark-read-string): Doc fix (Bug#11553).
54
2ee3d7f0
SM
55 * dired.el (dired-recursive-copies, dired-recursive-deletes):
56 Doc fix (Bug#11326).
c5695d1d
CY
57 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
58 (dired-dwim-target): Doc fix.
59
60 * wdired.el (wdired-mode): Doc fix.
61
89b5595a
GM
622012-06-22 Glenn Morris <rgm@gnu.org>
63
575db3f1
GM
64 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
65 (pcmpl-rpm-cache-stamp-file): New constant.
66 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
67 (pcmpl-rpm-packages): Optionally cache list of packages.
68
a4c8dd51
GM
69 * pcmpl-rpm.el (pcmpl-rpm): New group.
70 (pcmpl-rpm-query-options): New option.
71 (pcmpl-rpm-packages): No need to inline it.
72 Use pcmpl-rpm-query-options.
73
89b5595a
GM
74 * calendar/calendar.el (calendar-in-read-only-buffer):
75 Avoid some needless mode changes.
76
e76f0800
CY
772012-06-21 Chong Yidong <cyd@gnu.org>
78
79 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
80 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 81 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 82
297a8f1d
CY
832012-06-20 Chong Yidong <cyd@gnu.org>
84
85 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
86
d34c18b1
DR
872012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
88
89 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
90 (bug#11201).
91
32f7f28e
CY
922012-06-20 Chong Yidong <cyd@gnu.org>
93
94 * term.el (term-window-width): Handle the case of a missing right
95 fringe (Bug#8837).
96 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
97 (term-mode): Use define-derived-mode. Minor cleanups.
98 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
99 (term-move-columns, term-insert-char, term-emulate-terminal)
100 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 101
493c6688
MA
1022012-06-20 Michael Albinus <michael.albinus@gmx.de>
103
d34c18b1
DR
104 * net/ange-ftp.el (ange-ftp-get-passwd):
105 Bind `enable-recursive-minibuffers'.
493c6688
MA
106 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
107
3f06ecf4
DR
1082012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
109
110 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
111
68f12411
GM
1122012-06-19 Glenn Morris <rgm@gnu.org>
113
114 * progmodes/python.el (python-mode): Derive from prog-mode.
115
b3820318
KG
1162012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
117
118 * emulation/edt.el (edt-default-menu-bar-update-buffers)
119 (edt-user-menu-bar-update-buffers): New functions.
120 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
121
c6bf3022
CY
1222012-06-19 Chong Yidong <cyd@gnu.org>
123
124 * subr.el (with-selected-window): Preserve the selected window's
125 terminal's top-frame (Bug#4702).
126
127 * window.el (save-selected-window): Likewise.
128
25f09295
SM
1292012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
130
131 * progmodes/python.el (python-rx-constituents): Move backquote.
132 (python-skeleton-define, python-define-auxiliary-skeleton):
133 Use `declare'.
134
6b11952a
MA
1352012-06-18 Michael Albinus <michael.albinus@gmx.de>
136
137 * minibuffer.el (read-file-name-default): Revert the patch from
138 2012-06-17.
139
ee4b1330
SM
1402012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
141
142 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
143 (pcase--u1, pcase--q1): Don't use apply-partially.
144
35647f79
GM
1452012-06-18 Glenn Morris <rgm@gnu.org>
146
147 * progmodes/python.el (python-proc, python-buffer)
148 (python-send-receive, python-send-string): Fix obsolete versions.
149
24b0cff0
MR
1502012-06-18 Martin Rudalics <rudalics@gmx.at>
151
152 * window.el (special-display-p): Completely remove stringp
153 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
154
29855149
MA
1552012-06-17 Michael Albinus <michael.albinus@gmx.de>
156
157 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
158
159 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
160
161 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
162 * net/tramp-sh.el (tramp-maybe-open-connection):
163 Throw if `non-essential' is non-nil.
164
07463363
MR
1652012-06-17 Martin Rudalics <rudalics@gmx.at>
166
167 * window.el (special-display-p): Signal an error if BUFFER-NAME
168 is not a string (Bug#11713).
169
48d1354e
PE
1702012-06-17 Paul Eggert <eggert@cs.ucla.edu>
171
172 * progmodes/python.el (python-info-beginning-of-backslash):
173 Rename from python-info-beginning-of-backlash, as a spelling fix.
174
eb4a8a9a
CY
1752012-06-17 Chong Yidong <cyd@gnu.org>
176
177 * term.el (term-emulate-terminal): If term-check-size is called,
178 move point to the process mark without resetting point (Bug#4635).
179
ddfbf826 1802012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
181
182 * international/mule-cmds.el (mule-menu-keymap)
183 (set-language-environment, set-locale-environment): Doc tweaks.
184
9b0e3eba
AA
1852012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
186
187 * cus-face.el (custom-face-attributes): Add wave-style underline
188 attribute.
189 * faces.el (set-face-attribute): Update docstring to describe
190 wave-style underline attribute.
191
771e3eae
CY
1922012-06-16 Chong Yidong <cyd@gnu.org>
193
194 * term/xterm.el (terminal-init-xterm): Discard input before
195 querying background mode (Bug#10959).
196
7ae2ea10
SM
1972012-06-16 Stefan Merten <smerten@oekonux.de>
198
199 * textmodes/rst.el: Added and corrected some comments.
200 (rst-re-alist-def): Improve symbol syntax.
201 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
202 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
203 (rst-official-version, rst-official-cvs-rev): Update version
204 information.
7ae2ea10 205
b6974efa
JB
2062012-06-15 Juanma Barranquero <lekktu@gmail.com>
207
208 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
209 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
210
8826d473
GM
2112012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
212
213 * progmodes/python.el: New python.el merge.
214 (python-guess-indent): Obsolete var.
215 (python-indent-guess-indent-offset): New defcustom.
216 (python-indent): Obsolete var.
217 (python-indent-offset): New defcustom.
218 (python-python-command, python-jython-command): Delete var.
219 (python-shell-interpreter): New defcustom.
220 (python-pdbtrack-do-tracking-p): Delete var.
221 (python-pdbtrack-activate): New defcustom.
222 (python-use-skeletons): Obsolete var.
223 (python-skeleton-autoinsert): New defcustom.
224 (inferior-python-filter-regexp, python-continuation-offset)
225 (python-honour-comment-indentation, python-indent-string-contents)
226 (python-jython-packages, python-mode-hook)
227 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
228 (python-shell-prompt-alist)
229 (python-source-modes): Delete defcustoms.
230 (python-check-buffer-name, python-eldoc-setup-code)
231 (python-eldoc-string-code, python-ffap-setup-code)
232 (python-ffap-string-code, python-fill-comment-function)
233 (python-fill-decorator-function, python-fill-paren-function)
234 (python-fill-string-function, python-imenu-include-defun-type)
235 (python-imenu-make-tree, python-imenu-subtree-root-label)
236 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
237 (python-shell-compilation-regexp-alist)
238 (python-shell-completion-module-string-code)
239 (python-shell-completion-pdb-string-code)
240 (python-shell-completion-setup-code)
241 (python-shell-completion-string-code)
242 (python-shell-enable-font-lock, python-shell-exec-path)
243 (python-shell-extra-pythonpaths)
244 (python-shell-internal-buffer-name, python-shell-interpreter-args)
245 (python-shell-process-environment)
246 (python-shell-prompt-block-regexp)
247 (python-shell-prompt-output-regexp)
248 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
249 (python-shell-send-setup-max-wait, python-shell-setup-codes)
250 (python-shell-virtualenv-path): New defcustoms.
251 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
252 (inferior-python-mode-syntax-table, python--prompt-regexp)
253 (python-buffer, python-command python-python-command)
254 (python-default-template, python-imports, python-indent-index)
255 (python-indent-list, python-indent-list-length)
256 (python-mode-running, python-pdbtrack-is-tracking-p)
257 (python-preoutput-continuation, python-preoutput-leftover)
258 (python-preoutput-result, python-preoutput-skip-next-prompt)
259 (python-prev-dir/file, python-recursing)
260 (python-saved-check-command, python-version-checked)
261 (python-which-func-length-limit)
262 (view-return-to-alist): Delete vars.
263 (python-check-custom-command, python-dotty-syntax-table)
264 (python-imenu-index-alist, python-indent-current-level)
265 (python-indent-dedenters, python-indent-levels)
266 (python-nav-beginning-of-defun-regexp)
267 (python-nav-list-defun-positions-cache)
268 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
269 (python-shell-internal-buffer)
270 (python-skeleton-available): New vars.
271 (def-python-skeleton): Delete macro.
272 (python-skeleton-define): New macro.
273 (python-define-auxiliary-skeleton, python-rx): New macros.
274 (python-insert-class): Delete command.
275 (python-skeleton-class): New command.
276 (python-insert-def): Delete command.
277 (python-skeleton-def): New command.
278 (python-insert-for): Delete command.
279 (python-skeleton-for): New command.
280 (python-insert-if): Delete command.
281 (python-skeleton-if): New command.
282 (python-insert-try/except, python-insert-try/finally): Delete commands.
283 (python-skeleton-try): New command.
284 (python-insert-while): Delete command.
285 (python-skeleton-while): New command.
286 (python-backspace): Delete command.
287 (python-indent-dedent-line-backspace): New command.
288 (python-electric-colon): Delete command.
289 (python-indent-electric-colon): New command.
290 (python-guess-indent): Delete command.
291 (python-indent-guess-indent-offset): New command.
292 (python-shift-left): Delete command.
293 (python-indent-shift-left): New command.
294 (python-shift-right): Delete command.
295 (python-indent-shift-right): New command.
296 (python-find-function): Delete command.
297 (python-nav-jump-to-defun): New command.
298 (python-next-statement): Delete command.
299 (python-nav-forward-sentence): New command.
300 (python-previous-statement): Delete command.
301 (python-nav-backward-sentence): New command.
302 (python-fill-paragraph): Delete command.
303 (python-fill-paragraph-function): New command.
304 (python-send-buffer): Delete command.
305 (python-shell-send-buffer): New command.
306 (python-send-defun): Delete command.
307 (python-shell-send-defun): New command.
308 (python-send-region, python-send-region-and-go): Delete commands.
309 (python-shell-send-region)
310 (python-shell-switch-to-shell): New commands.
311 (python-send-string): Delete command.
312 (python-shell-send-string): New command.
313 (python-switch-to-python): Delete command.
314 (python-shell-switch-to-shell): New command.
315 (python-describe-symbol): Delete command.
316 (python-eldoc-at-point): New command.
317 (python--set-prompt-regexp, python-args-to-list)
318 (python-after-info-look, python-check-version)
319 (python-check-comint-prompt, python-find-imports)
320 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
321 (python-unload-function, python-expand-template)
322 (python-maybe-jython, python-preoutput-filter)
323 (python-pdbtrack-get-source-buffer)
324 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
325 (python-pdbtrack-toggle-stack-tracking)
326 (python-pdbtrack-track-stack-file, python-initial-text)
327 (python-first-word, python-comment-line-p, python-send-command)
328 (python-setup-brm, python-sentinel, python-set-proc)
329 (python-skip-out, python-input-filter, python-outdent-p)
330 (python-outline-level, python-backslash-continuation-line-p)
331 (python-end-of-block, python-end-of-statement, python-mark-block)
332 (python-beginning-of-block, python-beginning-of-statement)
333 (python-blank-line-p, python-beginning-of-string)
334 (python-open-block-statement-p): Delete functions.
335 (python-indent-line, python-indent-line-1): Delete functions.
336 (python-indent-line): New function.
337 (python-indentation-levels): Delete function.
338 (python-indent-calculate-levels): New function.
339 (python-proc): Delete function.
340 (python-shell-get-process): New function.
341 (python-send-receive): Delete function.
342 (python-shell-send-string-no-output): New function.
343 (python-module-path): Delete function.
344 (python-ffap-module-path): New function.
345 (python-completion-at-point)
346 (python-symbol-completions): Delete functions.
347 (python-completion-complete-at-point): New function.
348 (python-load-file): Delete function.
349 (python-shell-send-file): New function.
350 (python-calculate-indentation): Delete function.
351 (python-indent-calculate-indentation): New function.
352 (python-skip-comments/blanks): Delete function.
353 (python-util-forward-comment): New function.
354 (python-continuation-line-p): Delete function.
355 (python-info-continuation-line-p): New function.
356 (python-which-func, python-current-defun): Delete function.
357 (python-info-current-defun): New function.
358 (python-beginning-of-defun): Delete function.
359 (python-nav-beginning-of-defun): New function.
360 (python-close-block-statement-p)
361 (python-block-end-p): Delete function.
362 (python-info-closing-block): New function.
363 (python-comint-output-filter-function)
364 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
365 (python-fill-comment, python-fill-decorator, python-fill-paren)
366 (python-fill-string, python-imenu-make-element-tree)
367 (python-imenu-make-tree, python-imenu-tree-assoc)
368 (python-indent-context, python-indent-dedent-line)
369 (python-indent-line-function)
370 (python-indent-post-self-insert-function)
371 (python-indent-toggle-levels)
372 (python-info-assignment-continuation-line-p)
373 (python-info-beginning-of-backlash)
374 (python-info-block-continuation-line-p)
375 (python-info-closing-block-message)
376 (python-info-line-ends-backslash-p)
377 (python-info-looking-at-beginning-of-defun)
378 (python-info-ppss-context, python-info-ppss-context-type)
379 (python-nav-list-defun-positions, python-nav-read-defun)
380 (python-nav-sentence-end, python-nav-sentence-start)
381 (python-pdbtrack-comint-output-filter-function)
382 (python-pdbtrack-set-tracked-buffer)
383 (python-shell-calculate-exec-path)
384 (python-shell-calculate-process-environment)
385 (python-shell-completion--do-completion-at-point)
386 (python-shell-completion--get-completions)
387 (python-shell-completion-complete-at-point)
388 (python-shell-completion-complete-or-indent)
389 (python-shell-get-or-create-process)
390 (python-shell-get-process-name)
391 (python-shell-internal-get-or-create-process)
392 (python-shell-internal-get-process-name)
393 (python-shell-internal-send-string, python-shell-make-comint)
394 (python-shell-parse-command, python-shell-send-setup-code)
395 (python-skeleton-add-menu-items)
396 (python-util-clone-local-variables, python-util-position)
397 (run-python-internal, python-indentation-levels)
398 (python-nav-beginning-of-defun)
399 (python-completion-complete-at-point): New functions.
400 (run-python): Change arguments. New API requirements.
401
4302f5ba
SM
4022012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
403
f38ea36d
SM
404 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
405 (bug#11649).
406
407 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
408 (macroexp--expand-all): Use it.
409
4302f5ba
SM
410 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
411 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
412 Use `cl-function' instead.
413
33377562
JB
4142012-06-14 Juanma Barranquero <lekktu@gmail.com>
415
416 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
417 Suggested by Stefan Monnier while discussing bug#11657.
418
54c5ba1a
SS
4192012-06-14 Sam Steingold <sds@gnu.org>
420
421 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
422
f9f1b1fe
AS
4232012-06-14 Andreas Schwab <schwab@linux-m68k.org>
424
425 * play/doctor.el (doctor-doc): Remove parameter and use
426 doctor-sent instead of sent.
427 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
428
a81068ba
SM
4292012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
430
5a315f9c
SM
431 * files.el: Require cl-lib.
432 (file-name-non-special): Replace case -> cl-case.
433
434 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
435
a81068ba
SM
436 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
437 mapping from #' to function*.
438
8cca9703
CY
4392012-06-13 Chong Yidong <cyd@gnu.org>
440
441 * mouse.el (mouse-drag-track): Do not set the mark if the user
442 releases the mouse without selecting anything (Bug#11588).
443
a12ac9d7
SM
4442012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
445
ccf1dc18
SM
446 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
447 as well (bug#11646).
448
ef62b23d
SM
449 * loadup.el: Count byte-code functions as well.
450
c4c8444a
SM
451 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
452 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
453
a12ac9d7
SM
454 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
455 (bug#11649). Add cl-defun and cl-defmacro.
456
87e6e64f
DA
4572012-06-13 Drew Adams <drew.adams@oracle.com>
458
459 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
460 Fix last change.
461
682cefaf
MA
4622012-06-13 Michael Albinus <michael.albinus@gmx.de>
463
464 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
465 Otherwise, it blocks in batch mode.
466
773e1f08
JB
4672012-06-13 Juanma Barranquero <lekktu@gmail.com>
468
469 * help-mode.el (bookmark-make-record-default): Declare.
470
60057926
CY
4712012-06-13 Chong Yidong <cyd@gnu.org>
472
473 * emacs-lisp/package.el (list-packages): Compute a list of
474 packages that are newly-available since the last list-packages
475 invocation.
476 (package-menu--new-package-list): New var.
477 (package-menu--generate, package-menu--print-info)
478 (package-menu--status-predicate, package-menu-mark-install):
479 Handle new status label "new".
480
ad4d226c
SM
4812012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
482
483 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
484 conversion to backquotes.
485
f1a4e679
CY
4862012-06-12 Chong Yidong <cyd@gnu.org>
487
488 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
489 Rename from gud-inhibit-global-bindings.
490
491 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
492
493 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
494 hook from nxml-glyph-set-hook.
495
496 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
497 declaration.
498
499 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
500
501 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
502 Convert to defcustom.
503
0c9e42b5
DA
5042012-06-12 Drew Adams <drew.adams@oracle.com>
505
506 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
507 New functions.
508 (help-mode): Use them.
509
09e06855
GM
5102012-06-11 Glenn Morris <rgm@gnu.org>
511
512 * progmodes/fortran.el (fortran-font-lock-keywords-3):
513 Use preprocessor face for directives.
514 (fortran-directive-re): Doc fix.
515
71adb94b
SM
5162012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
517
2eb87922
SM
518 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
519 conversion to backquotes (bug#11652).
520
71adb94b
SM
521 Fix compiler-expansion of CL's cXXr functions (bug#11673).
522 * emacs-lisp/cl-lib.el (cl--defalias): New function.
523 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
524 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
525 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
526 (cl-ninth, cl-tenth): Mark them as inlinable.
527 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
528 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
529 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
530 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
531 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
532 (cl-list*, cl-adjoin): Don't put an autoload manually.
533 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
534 (cl--compiler-macro-list*): Add autoload cookie.
535 (cl--compiler-macro-cXXr): New function.
2eb87922 536
71adb94b
SM
537 * help-fns.el (help-fns--compiler-macro): New function extracted from
538 describe-function-1; follow aliases and use `compiler-macro' property.
539 (describe-function-1): Use it.
540
a6674402
CY
5412012-06-11 Chong Yidong <cyd@gnu.org>
542
543 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
544 is uninstalled, if imagemagick is installed.
545
bb3faf5b
SM
5462012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
547
548 * emacs-lisp/cl-lib.el: Use lexical-binding.
549 (cl-map-extents, cl-maclisp-member): Remove.
550 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
551 (cl--set-substring, cl--block-wrapper, cl--block-throw)
552 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
553 * emacs-lisp/cl-extra.el: Use lexical-binding.
554 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
555 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
556 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
557 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
558 * emacs-lisp/cl-seq.el: Use lexical-binding.
559 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
560 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
561 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
562 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
563 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
564 CL's internals.
565
2fe4b125
MA
5662012-06-11 Michael Albinus <michael.albinus@gmx.de>
567
568 Sync with Tramp 2.2.6-pre.
569
570 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
571 `print-length' and `print-level' to nil, in order to avoid
572 truncation. Reported by Christopher Schmidt
573 <christopher@ristopher.com>.
574
575 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
576
577 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
578 New defmacro.
579 (tramp-compat-copy-directory): Add optional argument
580 COPY-CONTENTS. It is not handled yet.
581
582 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
583 (tramp-ftp-file-name-p): Simplify.
584
585 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
586 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
587 connection vector.
588
589 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
590 (tramp-methods): Do not use `tramp-password-end-of-line'.
591 (tramp-completion-function-alist-putty): Handle UNIX case.
592 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
593 (tramp-do-file-attributes-with-stat)
594 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
595 gid as real numbers. They could run out of integer range on cygwin.
596 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
597 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
598 (tramp-open-connection-setup-interactive-shell):
599 Use `tramp-cleanup'. Move check for busyboxes ...
600 (tramp-find-shell): ... here. Simplify implementation.
601 Set "remote-shell" property also for alternative shells.
602 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
603 If failing, a regular file would be written otherwise.
604 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
605 (tramp-find-inline-encoding): Cache the coding commands in the
606 process cache. Apply test command on the remote side, if defined.
607 (tramp-find-inline-compress): Cache the compress commands in the
608 process cache.
609 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
610 when requested. Handle hops.
611 (tramp-current-connection): New defvar.
87e6e64f
DA
612 (tramp-maybe-open-connection): Use `tramp-cleanup'.
613 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 614 Handle user interrupt. (Bug#10187)
87e6e64f
DA
615 (tramp-get-inline-compress, tramp-get-inline-coding):
616 Read connection properties from the process cache.
2fe4b125
MA
617
618 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
619 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
620 New defconsts.
2fe4b125
MA
621 (tramp-smb-prompt): Extend for powershell prompt.
622 (tramp-smb-file-name-handler-alist): Add handlers for
623 `process-file', `shell-command' and `start-file-process'.
624 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
625 (tramp-smb-winexe-shell-command-switch): New defcustoms.
626 (tramp-smb-file-name-p): Simplify.
627 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
628 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
629 (tramp-smb-shell-quote-argument): New defuns.
630 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
631 Implement using "tar". By this, time-stamps are preserved.
632 (tramp-smb-handle-copy-file): Handle also the case of directories.
633 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
634 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
635 Use `tramp-get-connection-buffer').
2fe4b125
MA
636 (tramp-smb-handle-rename-file): Use "rename", when source and
637 target are on the same share.
87e6e64f
DA
638 (tramp-smb-maybe-open-connection): Handle wrong passwords.
639 Use `tramp-smb-server-version'.
2fe4b125
MA
640 (tramp-smb-wait-for-output): Remove prompt.
641
642 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
643 (tramp-methods, tramp-rsh-end-of-line):
644 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
645 (tramp-save-ad-hoc-proxies): New defcustom.
646 (tramp-completion-function-alist): Adapt docstring.
647 (tramp-default-password-end-of-line): Remove defcustom.
648 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
649 (tramp-user-regexp, tramp-file-name-regexp-unified)
650 (tramp-file-name-regexp-url): Extend regexp by hop separator.
651 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
652 (tramp-remote-file-name-spec-regexp): New defconst.
653 (tramp-file-name-structure): Extend structure for hops.
654 (tramp-get-method-parameter): Move up.
655 (tramp-file-name-p, tramp-dissect-file-name)
656 (with-parsed-tramp-file-name): Handle hops.
657 (tramp-file-name-hop): New defun.
658 (tramp-make-tramp-file-name): New optional arg HOP.
659 (tramp-message-show-progress-reporter-message): New defvar.
660 (tramp-with-progress-reporter): Use it. We cannot use
661 `tramp-message-show-message' here, because this suppresses also
662 error buffers.
663 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
664 `tramp-message-show-message' is nil.
665 Use `tramp-get-connection-buffer'.
2fe4b125
MA
666 (tramp-cleanup): New defun.
667 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
668 (tramp-file-name-handler): If `debug-on-error' is set, propagate
669 an error unchanged.
670 (tramp-completion-handle-file-name-all-completions): Handle hops.
671 Fix an error when called from ido.
672 (tramp-completion-dissect-file-name): Use better local variable
673 name. Add hop to the vector.
674 (tramp-handle-insert-file-contents): Use progress-reporter for the
675 whole scenario.
676 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
677 to `t'.
678 (tramp-check-for-regexp): Simplify search.
679 (tramp-enter-password): Remove it. Move implementation ...
680 (tramp-action-password): ... here.
681 (tramp-mode-string-to-int, tramp-local-host-p)
682 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
683 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
684 Set tramp-autoload cookie.
2fe4b125
MA
685
686 * net/trampver.el: Update release number.
687
6882012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
689 Michael Albinus <michael.albinus@gmx.de>
690
691 * net/tramp.el (tramp-set-completion-function): Fix docstring.
692 (tramp-parse-group, tramp-parse-file)
693 (tramp-parse-shostkeys-sknownhosts): New defuns.
694 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
695 (tramp-parse-shosts-group, tramp-parse-sconfig)
696 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
697 (tramp-parse-sknownhosts, tramp-parse-hosts)
698 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
699 Use them.
700 (tramp-parse-passwd-group, tramp-parse-netrc-group)
701 (tramp-parse-putty-group): Don't narrow.
702 (tramp-parse-putty): Make a loop.
703 (tramp-file-name-handler): Catch the `suppress' signal.
704
72834e10
CY
7052012-06-11 Chong Yidong <cyd@gnu.org>
706
707 * image.el (imagemagick-register-types): Put the ImageMagick entry
708 at the end of image-type-file-name-regexps.
709
a4712e11
JB
7102012-06-11 Johan Bockgård <bojohan@gnu.org>
711
712 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
713 (pcase, pcase-let*, pcase-dolist): Use them.
714
82ad98e3
SM
7152012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
716
717 * emacs-lisp/pcase.el (pcase--let*): New function.
718 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
719 (pcase--expand): Use macroexp-let².
720
f80efb86
SM
7212012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
722
723 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
724 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
725 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
726 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
727 * emacs-lisp/derived.el: Use pcase instead of `cl'.
728 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
729
31ca4639 7302012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 731
31ca4639
CY
732 * mail/rmail.el (rmail-yank-current-message): Leave point at
733 correct position. (Bug#11660)
94f0aa34 734
31ca4639 7352012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 736
31ca4639 737 * allout-widgets.el: Fix code header.
9e1b8ec4 738
31ca4639 7392012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 740
f80efb86
SM
741 * cus-edit.el (customize-changed-options-previous-release):
742 Bump to 24.1.
31ca4639 743
642b6d30
AS
7442012-06-09 Andreas Schwab <schwab@linux-m68k.org>
745
746 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
747
4f5d2ba1
CY
7482012-06-09 Chong Yidong <cyd@gnu.org>
749
750 * ebuff-menu.el (electric-buffer-list): Preserve header line.
751
e75852fd
MR
7522012-06-09 Martin Rudalics <rudalics@gmx.at>
753
754 * window.el (special-display-popup-frame): Don't use
755 window--display-buffer (Bug#11651).
756
1e48e282
EZ
7572012-06-09 Eli Zaretskii <eliz@gnu.org>
758
8a26b487
EZ
759 Fix parallel builds: make sure loaddefs.el is not being written
760 while Lisp files are compiled.
761 (compile): Don't depend on 'mh-autoloads'.
762 (compile-CMD, compile-SH): Depend on 'autoloads'.
763 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
764
1e48e282
EZ
765 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
766
6175e34b
CY
7672012-06-09 Chong Yidong <cyd@gnu.org>
768
769 * face-remap.el (face-remap-add-relative, face-remap-set-base)
770 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
771 Doc fixes (Bug#11225).
772
d9857e53
SM
7732012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
774
775 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
776 a function if there's a clear indication that it has a compiler-macro.
777 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
778 (macro-declarations-alist): Add arglist to declaration functions.
779 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
780 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
781 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
782 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
783 Also add autoload to find the compiler macro.
784 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
785 (cl--compiler-macro-member, cl--compiler-macro-assoc)
786 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
787 (cl--compiler-macro-get): New functions, replacing calls to
788 cl-define-compiler-macro.
789 (cl-typep) [compiler-macro]: Use macroexp-let².
790
f81298f8 7912012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
792
793 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
794 string properly, fixes Bug#11473.
795
4b56d0fe
CY
7962012-06-08 Chong Yidong <cyd@gnu.org>
797
798 * faces.el (set-face-attribute): Doc fix.
799 (modify-face): Don't use :bold and :italic.
800 (error, warning, success): Tweak definitions.
801
802 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
803 (custom-modified, custom-set, custom-changed, custom-themed)
804 (custom-saved, custom-button, custom-button-mouse)
805 (custom-button-pressed, custom-state, custom-comment-tag)
806 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
807 (custom-group-subtitle): Use new-style face specs.
808 (custom-invalid-face, custom-rogue-face, custom-modified-face)
809 (custom-set-face, custom-changed-face, custom-saved-face)
810 (custom-button-face, custom-button-pressed-face)
811 (custom-documentation-face, custom-state-face)
812 (custom-comment-face, custom-comment-tag-face)
813 (custom-variable-tag-face, custom-variable-button-face)
814 (custom-face-tag-face, custom-group-tag-face-1)
815 (custom-group-tag-face): Remove obsolete face alias.
816
817 * epa.el (epa-validity-high, epa-validity-medium)
818 (epa-validity-low, epa-mark, epa-field-name, epa-string)
819 (epa-field-name, epa-field-body):
820 * font-lock.el (font-lock-comment-face, font-lock-string-face)
821 (font-lock-keyword-face, font-lock-builtin-face)
822 (font-lock-function-name-face, font-lock-variable-name-face)
823 (font-lock-type-face, font-lock-constant-face):
824 * ido.el (ido-first-match, ido-only-match, ido-subdir)
825 (ido-virtual, ido-indicator, ido-incomplete-regexp):
826 * speedbar.el (speedbar-button-face, speedbar-file-face)
827 (speedbar-directory-face, speedbar-tag-face)
828 (speedbar-selected-face, speedbar-highlight-face)
829 (speedbar-separator-face):
830 * whitespace.el (whitespace-newline, whitespace-space)
831 (whitespace-hspace, whitespace-tab, whitespace-trailing)
832 (whitespace-line, whitespace-space-before-tab)
833 (whitespace-space-after-tab, whitespace-indentation)
834 (whitespace-empty):
835 * emulation/cua-base.el (cua-global-mark):
836 * eshell/em-prompt.el (eshell-prompt):
837 * net/newst-plainview.el (newsticker-new-item-face)
838 (newsticker-old-item-face, newsticker-immortal-item-face)
839 (newsticker-obsolete-item-face, newsticker-date-face)
840 (newsticker-statistics-face, newsticker-default-face):
841 * net/newst-reader.el (newsticker-feed-face)
842 (newsticker-extra-face, newsticker-enclosure-face):
843 * net/newst-treeview.el (newsticker-treeview-face)
844 (newsticker-treeview-new-face, newsticker-treeview-old-face)
845 (newsticker-treeview-immortal-face)
846 (newsticker-treeview-obsolete-face)
847 (newsticker-treeview-selection-face):
848 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
849 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
850 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
851 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
852 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
853 (nxml-outline-active-indicator, nxml-outline-ellipsis):
854 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
855 (mpuz-text):
856 * progmodes/vera-mode.el (vera-font-lock-number)
857 (vera-font-lock-function, vera-font-lock-interface):
858 * textmodes/table.el (table-cell): Use new-style face specs, and
859 don't use the old :bold and :italic attributes.
860
861 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
862 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
863 (ebrowse-member-class, ebrowse-progress): Likewise.
864 (ebrowse-tree-mark-face, ebrowse-root-class-face)
865 (ebrowse-file-name-face, ebrowse-default-face)
866 (ebrowse-member-attribute-face, ebrowse-member-class-face)
867 (ebrowse-progress-face): Remove obsolete faces.
868
869 * progmodes/flymake.el (flymake-errline, flymake-warnline):
870 Inherit from error and warning faces respectively.
871
872 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
873 Likewise.
f80efb86
SM
874 (flyspell-incorrect-face, flyspell-duplicate-face):
875 Remove obsolete aliases.
4b56d0fe 876
03310646
MA
8772012-06-08 Michael Albinus <michael.albinus@gmx.de>
878
879 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
880 Avoid infloop.
881
513749ee
SM
8822012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
883
884 * startup.el (argv, argi): Make lexically scoped.
885 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
886 * emacs-lisp/cl-macs.el: Use lexical-binding.
887 Rename cl-bind-* to cl--bind-*.
888 * files.el: Don't require `cl' since it doesn't use it.
889 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
890
595ef4ad
JB
8912012-06-08 Juanma Barranquero <lekktu@gmail.com>
892
893 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
894 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
895 instead of calling external sort utility.
896 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
897
e9f66fcb
EZ
8982012-06-08 Eli Zaretskii <eliz@gnu.org>
899
900 * descr-text.el (describe-char): Mention how to insert the
901 character, if the current input method doesn't support it.
902 See the discussion in this thread for the details:
903 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
904
3d10db47
SS
9052012-06-08 Sam Steingold <sds@gnu.org>
906
907 * bindings.el (global-map): Bind XF86Forward to next-buffer and
908 XF86Back to previous-buffer.
909 (minibuffer-local-map): Bind them to next-history-element and
910 previous-history-element respectively.
911 * help-mode.el (help-mode-map): Bind them to help-go-forward and
912 help-go-back respectively.
913 * info.el (Info-mode-map): Bind them to Info-history-forward and
914 Info-history-back respectively.
915 These are the keys next to Up on the ThinkPad keyboard.
916
de7e2b36
SM
9172012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
918
919 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
920 * emacs-lisp/cl-macs.el: Provide itself.
921 (cl--labels-convert-cache): New var.
922 (cl--labels-convert): New function.
923 (cl-flet, cl-labels): New implementation with new semantics, relying on
924 lexical-binding.
925 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
926 (cl-closure-vars, cl--function-convert-cache)
927 (cl--function-convert): Move from cl-macs.el.
928 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
929 rename by removing the "cl-" prefix.
930 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
931
6fa6c4ae
SM
9322012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
933
934 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
935 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
936 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
937 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
938 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
939 (cl-hash-table-count): Add old compatibility aliases.
940
941 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
942 Use macroexpand-all-environment instead.
943 (cl--old-macroexpand): New var.
944 (cl--sm-macroexpand): New function.
945 (cl-symbol-macrolet): Use it during macro expansion.
946 (cl--function-convert-cache): New var.
947 (cl--function-convert): New function, extracted from
948 cl-macroexpand-all.
949 (cl-lexical-let): Use it.
950
951 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
952 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
953 (cl-member): Remove old alias.
954
955 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
956 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
957 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
958 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
959 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
960 (cl-macroexpand-cmacs): Remove var.
961 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
962 Use macroexpand-all instead.
963
4dd1c416
SM
9642012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
965
966 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
967 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
968 (macroexp-copyable-p): New functions and macros.
969 * emacs-lisp/edebug.el (edebug-unwrap):
970 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
971 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
972 (pcase--let*): Remove.
973 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
974 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
975 macroexp-const-p instead.
976 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
977
978 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
979 instead of "cl-" for internal definitions. Use macroexp-const-p.
980 (cl-old-bc-file-form): Remove var.
981 (cl-const-exprs-p): Remove fun.
982 (cl-labels, cl-macrolet): Use backquote.
983 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
984 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
985 (cl-define-setf-expander): Rename from cl-define-setf-method.
986 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
987
988 * international/mule-cmds.el: Don't require CL.
989 (view-hello-file): Don't use `letf'.
990
ed8bd4d7
SM
9912012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
992
7287f2f3
SM
993 * tmm.el (tmm-prompt): Use string-prefix-p.
994 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
995 (tmm-add-prompt): Use minibuffer-completion-help.
996 (tmm-delete-map): Remove.
997
ed8bd4d7
SM
998 * subr.el (kbd): Make it its own function.
999
7b4cdbf4
SM
10002012-06-07 Stefan Merten <smerten@oekonux.de>
1001
1002 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
1003 Silence compiler warnings. Fix versions.
ed8bd4d7 1004 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 1005 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 1006 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
1007 (rst-package-emacs-version-alist): Correct Emacs version to
1008 represent major merge with upstream.
ed8bd4d7 1009 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 1010
2b48d721
GM
10112012-06-06 Glenn Morris <rgm@gnu.org>
1012
1013 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
1014 Only print environment variables if set.
1015
fa779ab0
SM
10162012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1017
1018 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
1019 (macroexp--cons): Rename from maybe-cons.
1020 (macroexp--accumulate): Rename from macroexp-accumulate.
1021 (macroexp--all-forms): Rename from macroexpand-all-forms.
1022 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
1023 (macroexp--expand-all): Rename from macroexpand-all-1.
1024
628299e0
SS
10252012-06-06 Sam Steingold <sds@gnu.org>
1026
1027 * calendar/calendar.el (calendar-in-read-only-buffer):
1028 Call `special-mode' to enable the standard read-only keybindings.
1029
b7bb5838
SM
10302012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1031
1032 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
1033 with "loading" messages (bug#11635).
1034
dfb308ba
MA
10352012-06-06 Michael Albinus <michael.albinus@gmx.de>
1036
1037 * files.el (enable-remote-dir-locals): New option.
1038 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
1039
0372ee92
MA
1040 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1041 Ensure, that the temp directory is local.
1042
1043 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
1044 `temporary-file-directory'.
1045
eed0bb91
MA
1046 * progmodes/python.el (python-send-region): Ensure, that the
1047 temporary file is created also in the remote case.
1048
7a58f64d
GM
10492012-06-06 Glenn Morris <rgm@gnu.org>
1050
f7dd4e98
GM
1051 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
1052 (vc-rcs-update-changelog): Use it.
1053
276d5f5d
GM
1054 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
1055
7a58f64d
GM
1056 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
1057 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
1058 (vc-sccs-diff): Replace use of the external vcdiff script.
1059
daed4003
GM
10602012-06-05 Glenn Morris <rgm@gnu.org>
1061
1062 * ledit.el: Move to obsolete/.
1063
48c455c7
SS
10642012-06-05 Sam Steingold <sds@gnu.org>
1065
1066 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
1067 patch (Bug#11140).
1068
57a7d507
SM
10692012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1070
d32926ff
SM
1071 * emacs-list/cust-print.el: Move to obsolete.
1072
53aacf21
SM
1073 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
1074 compiler-macro expansion.
1075
57a7d507
SM
1076 Add native compiler-macro support.
1077 * emacs-lisp/macroexp.el (macroexpand-all-1):
1078 Support compiler-macros directly. Properly follow aliases and apply
1079 the compiler macros more thoroughly.
1080 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
1081 macroexpand now properly follows aliases.
1082 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
1083 (cl-compiler-macroexpand): Use new prop.
1084 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
1085
1086 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
1087
51a5f9d8
MR
10882012-06-05 Martin Rudalics <rudalics@gmx.at>
1089
1090 * window.el (get-lru-window, get-mru-window, get-largest-window):
1091 New argument NOT-SELECTED to avoid picking the selected window.
1092 (window--display-buffer-1, window--display-buffer-2): Replace by
1093 new function window--display-buffer
1094 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
1095 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1096 Use window--display-buffer.
51a5f9d8
MR
1097 (display-buffer-use-some-window): Remove temporary dedication
1098 hack by calling get-lru-window and get-largest-window with
1099 NOT-SELECTED argument non-nil. Call window--display-buffer.
1100
08f9f738
GM
11012012-06-05 Glenn Morris <rgm@gnu.org>
1102
1103 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
1104 Replace external vcdiff script.
1105
e364a2b7
SM
11062012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1107
1108 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
1109
041df390
CY
11102012-06-04 Chong Yidong <cyd@gnu.org>
1111
e364a2b7
SM
1112 * image.el (imagemagick-types-inhibit): Revert last change.
1113 Add INFO and M.
47b36b94 1114 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 1115
7c1898a7
SM
11162012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1117
1118 * emacs-lisp/cl-lib.el: Rename from cl.el.
1119 * emacs-lisp/cl.el: New compatibility file.
1120 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
1121 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
1122 to obey the "cl-" prefix.
1123 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
1124
0c3461de
GM
11252012-06-03 Glenn Morris <rgm@gnu.org>
1126
1e266c88
GM
1127 * emacs-lisp/authors.el (authors-aliases): Addition.
1128
0c3461de
GM
1129 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
1130 Fix :version.
1131
d8a52e15
SM
11322012-06-03 Stefan Merten <smerten@oekonux.de>
1133
1134 * textmodes/rst.el: Add comments.
1135 (rst-transition, rst-adornment): New faces.
1136 (rst-adornment-faces-alist): Make default safe to reevaluate.
1137 Fixes
1138 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
1139 Improve customization tags.
1140 (rst-define-level-faces): Clarify meaning.
1141
5205d6f6
CY
11422012-06-03 Chong Yidong <cyd@gnu.org>
1143
1144 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
1145 (compilation-mode-line-run, compilation-mode-line-exit):
1146 New faces.
5205d6f6
CY
1147 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
1148
757ee657
JD
11492012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
1150
7c1898a7
SM
1151 * progmodes/which-func.el (which-func-update-ediff-windows):
1152 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 1153
5f2c76c6
CY
11542012-06-03 Chong Yidong <cyd@gnu.org>
1155
1156 * bindings.el: Remove explicit help text from format-mode-line.
1157 It is now supplied by mode-line-default-help-echo.
1158 (mode-line-front-space, mode-line-end-spaces)
1159 (mode-line-misc-info): New variables.
1160 (mode-line-modes, mode-line-position): Move the default value to
1161 the variable definition.
1162 (mode-line-default-help-echo): New defcustom.
383f7350
CY
1163 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
1164 (mode-line-modified-help-echo): New functions.
1165 (mode-line-mule-info, mode-line-modified): Use them.
1166 (mode-line-eol-desc, propertized-buffer-identification):
1167 Consistency fixes for help text.
cbe46e5f
CY
1168 (mode-line-coding-system-map): Allow using mouse-3 to invoke
1169 set-buffer-file-coding-system (Bug#289).
1170 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 1171
f2d6a3df
SM
11722012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1173
1174 * simple.el (execute-extended-command): Set real-this-command
1175 (bug#11506).
1176
37269466
CY
11772012-06-02 Chong Yidong <cyd@gnu.org>
1178
1179 Remove incorrect uses of "modeline" in comments, docstrings, and
1180 function/variable names (Bug#10329).
1181
1182 * cus-edit.el (mode-line):
1183 * dframe.el (dframe-mouse-hscroll):
1184 * emacs-lisp/re-builder.el:
1185 * emacs-lisp/easy-mmode.el (define-minor-mode):
1186 * frame.el (set-frame-name):
1187 * help.el (lookup-minor-mode-from-indicator):
1188 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1189 * progmodes/cc-cmds.el (c-toggle-auto-newline)
1190 (c-toggle-hungry-state):
1191 * progmodes/antlr-mode.el (antlr-language-alist):
1192 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1193 * progmodes/vhdl-mode.el (vhdl-mode):
1194 * progmodes/which-func.el (which-func, which-func-cleanup-function):
1195 * term/ns-win.el (ns-face-at-pos):
1196 * term/sup-mouse.el (sup-mouse-report):
1197 * textmodes/flyspell.el (flyspell-mode-line-string):
1198 * textmodes/ispell.el (ispell-highlight-face):
1199 * textmodes/reftex-global.el:
1200 * vc/vc-arch.el (vc-arch-mode-line-string):
1201 * vc/vc-cvs.el (vc-cvs-mode-line-string):
1202 * vc/vc-git.el (vc-git-mode-line-string):
1203 * vc/vc-hooks.el (vc-display-status)
1204 (vc-default-mode-line-string):
1205 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1206
1207 * ansi-color.el (ansi-color-faces-vector): Change default faces.
1208
1209 * dired.el (dired-sort-set-mode-line): Rename from
1210 dired-sort-set-modeline. All callers changed.
1211
1212 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1213 eshell-status-in-modeline.
1214
1215 * foldout.el (foldout-mode-line-string): Rename from
1216 foldout-modeline-string. All callers changed.
1217 (foldout-update-mode-line): Rename from foldout-update-modeline.
1218
1219 * subr.el (redraw-modeline): Make into obsolete alias.
1220
1221 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1222 timeclock-modeline-display. Make old name an alias.
1223 (timeclock-update-mode-line): Likewise. All callers changed.
1224 (timeclock-mode-line-display): No need to check before using
1225 add-hook.
1226 (timeclock-relative, timeclock-day-over-hook)
1227 (timeclock-use-elapsed, timeclock-mode-string)
1228 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1229
1230 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1231 crisp-mode-modeline-string.
1232
1233 * play/solitaire.el (solitaire-build-mode-line): Rename from
1234 solitaire-build-modeline. All callers changed.
1235
1236 * play/zone.el (zone-hiding-mode-line): Rename from
1237 zone-hiding-modeline. All callers changed.
1238 (zone): Remove unusued `modeline-hidden-level' property.
1239
1240 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1241 xscheme-modeline-initialize. All callers changed.
1242
1243 * strokes.el (strokes-lighter): Rename from
1244 strokes-modeline-string.
1245
1246 * textmodes/sgml-mode.el (html-face-tag-alist)
1247 (html-tag-face-alist): Use mode-line face instead of obsolete
1248 alias modeline.
1249
42152ee4
SM
12502012-06-02 Stefan Merten <smerten@oekonux.de>
1251
1252 * textmodes/rst.el: Always require `cl'.
4cf9b38d 1253 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 1254
95f520b5
CY
12552012-06-02 Chong Yidong <cyd@gnu.org>
1256
1257 * image.el (imagemagick-enabled-types): Rename from
1258 imagemagick-types-enable. Add many more types.
1259 (imagemagick-types-inhibit): Change default to nil.
1260 (imagemagick-filter-types): Caller changed.
1261
4a5f187a
SM
12622012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1263
03fef3e6
SM
1264 * emacs-lisp/cl-macs.el: Use backquotes.
1265 (cl-transform-function-property): Use eval-and-compile rather than
1266 abusing `require'.
1267 (defstruct): Use declare-function instead of with-no-warnings.
1268
4a5f187a
SM
1269 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1270 (byte-compile-output-docform): Re-add the print-circle bindings.
1271 (byte-compile-fix-header): Use #$ just because it's shorter.
1272 (byte-compile-output-file-form): Remove defun/defmacro.
1273
bd56924f
MR
12742012-06-01 Martin Rudalics <rudalics@gmx.at>
1275
1276 * simple.el (choose-completion): Remove now obsolete binding for
1277 owindow.
1278
046e38ce
MA
12792012-06-01 Michael Albinus <michael.albinus@gmx.de>
1280
1281 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1282 in order to avoid "Stack overflow in regexp matcher".
1283
32d72c2f
GM
12842012-05-31 Glenn Morris <rgm@gnu.org>
1285
1286 * image.el: For clarity, call imagemagick-register-types at
1287 top-level, rather than relying on a custom :initialize.
1288 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
1289 (imagemagick-filter-types): New function. (Bug#7406)
1290 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
1291 If disabling support, remove elements altogether rather
1292 than using an impossible regexp.
1293 (imagemagick-types-inhibit): Give it the default init function.
1294
dd41169b
SM
12952012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1296
4a5f187a
SM
1297 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1298 Handle arbitrary file name lengths (Bug#11585).
dd41169b 1299
efc00ab1 13002012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
1301
1302 * desktop.el (desktop-read): Clear previous and next buffers for
1303 all windows and bury *Messages* buffer (bug#11556).
1304
500fcedc
SM
13052012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1306
1307 Add `declare' for `defun'. Align `defmacro's with it.
1308 * emacs-lisp/easy-mmode.el (define-minor-mode)
1309 (define-globalized-minor-mode): Don't autoload the var definitions.
1310 * emacs-lisp/byte-run.el: Use lexical-binding.
1311 (defun-declarations-alist, macro-declarations-alist): New vars.
1312 (defmacro, defun): Use them.
1313 (make-obsolete, define-obsolete-function-alias)
1314 (make-obsolete-variable, define-obsolete-variable-alias):
1315 Use `declare'.
1316 (macro-declaration-function): Mark obsolete.
1317 * emacs-lisp/autoload.el: Use lexical-binding.
1318 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
1319
6e8a1786
AM
13202012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1321
1322 * textmodes/ispell.el (ispell-with-no-warnings):
1323 Define as a macro.
500fcedc
SM
1324 (ispell-kill-ispell, ispell-change-dictionary):
1325 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
1326 `interactive-p'.
1327
61b108cc
SM
13282012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1329
1330 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1331 (macro-declaration-function): Move var from C code.
1332 (macro-declaration-function): Define function with defalias.
1333 * emacs-lisp/macroexp.el (macroexpand-all-1):
1334 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1335 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1336 defun/defmacro any more.
1337 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1338 Provide fallback for unknown arglist.
1339 (byte-compile-arglist-warn): Change calling convention.
1340 (byte-compile-output-file-form): Move print-vars binding.
1341 (byte-compile-output-docform): Simplify accordingly.
1342 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
1343 (byte-compile-defmacro-declaration): Remove.
1344 (byte-compile-file-form-defmumble): Generalize to defalias.
1345 (byte-compile-output-as-comment): Return byte-positions.
1346 Simplify callers accordingly.
1347 (byte-compile-lambda): Use `assert'.
1348 (byte-compile-defun, byte-compile-defmacro): Remove.
1349 (byte-compile-file-form-defalias):
1350 Use byte-compile-file-form-defmumble.
1351 (byte-compile-defalias-warn): Remove.
1352
6d3f7c2f
SM
13532012-05-29 Stefan Merten <smerten@oekonux.de>
1354
1355 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 1356 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
1357
1358 (rst-mode-abbrev-table): Merge definition.
1359 (rst-mode): Make sure `font-lock-defaults' is buffer local.
1360 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
1361
6dbaa1c7
UJ
13622012-05-29 Ulf Jasper <ulf.jasper@web.de>
1363
1364 * calendar/icalendar.el
1365 (icalendar-export-region): Export UID properly.
1366
13672012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
1368 * calendar/icalendar.el (icalendar-import-format):
1369 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
1370 (icalendar-import-format-uid): New.
1371 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
1372 Export UID.
1373
6876a58d
SM
13742012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1375
1376 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
1377 different alternative patterns.
1378 (pcase-codegen): Be more careful to preserve identity.
1379 (pcase--u1): Don't forget to mark vars as used.
1380
1381 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
1382 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
1383 (byte-compile-from-buffer): ...rather than here.
1384
1385 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
1386 functions from byte-compile-function-environment.
1387
46b7967e
TN
13882012-05-29 Troels Nielsen <bn.troels@gmail.com>
1389
1390 * window.el (window-deletable-p): Avoid deleting the root window
1391 of a frame with an active minibuffer.
1392
69d565e2
MR
13932012-05-29 Martin Rudalics <rudalics@gmx.at>
1394
1395 * simple.el (choose-completion): Use quit-window (Bug#11567).
1396
a149fa51
CY
13972012-05-29 Chong Yidong <cyd@gnu.org>
1398
1399 * whitespace.el (whitespace-cleanup): Fix usage of
1400 whitespace-empty-at-bob-regexp (Bug#11492).
1401
2b311310
AH
14022012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1403
1404 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
1405 revert (Bug#11488).
1406
b9cb2387
JL
14072012-05-29 Juri Linkov <juri@jurta.org>
1408
1409 * isearch.el (isearch-mode-map): Bind `M-s _' to
1410 `isearch-toggle-symbol'. Bind `M-s c' to
1411 `isearch-toggle-case-fold'.
1412 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1413 (isearch-forward): Add `M-s _' to the docstring.
1414 (isearch-forward-symbol, isearch-toggle-case-fold)
1415 (isearch-symbol-regexp): New functions. (Bug#11381)
1416
d5e61c1c
JL
14172012-05-29 Juri Linkov <juri@jurta.org>
1418
1419 * isearch.el (isearch-word): Add docstring. (Bug#11381)
1420 (isearch-occur, isearch-search-and-update): If `isearch-word' is
1421 a function, call it to get the regexp.
1422 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1423 property `isearch-message-prefix' instead of the string "word ".
1424 (isearch-search-fun-default): For the case of `isearch-word',
1425 return a lambda that calls re-search-forward/re-search-backward
1426 with a regexp returned by `word-search-regexp' or by the function
1427 in `isearch-word'.
1428
8cbd80f7
JL
14292012-05-29 Juri Linkov <juri@jurta.org>
1430
1431 * isearch.el (isearch-search-fun-default): New function.
1432 (isearch-search-fun): Move default part to the new function
1433 `isearch-search-fun-default'.
1434 (isearch-search-fun-function): Set the default value to
1435 `isearch-search-fun-default'. (Bug#11381)
1436
1437 * comint.el (comint-history-isearch-end):
1438 Use `isearch-search-fun-default'.
1439 (comint-history-isearch-search): Use `isearch-search-fun-default'
1440 and remove spacial case for `isearch-word'.
1441 (comint-history-isearch-wrap): Remove spacial case for
1442 `isearch-word'.
1443
1444 * hexl.el (hexl-isearch-search-function):
1445 Use `isearch-search-fun-default'.
1446
1447 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1448 Use `word-search-regexp' for `isearch-word'.
1449
1450 * misearch.el (multi-isearch-search-fun):
1451 Use `isearch-search-fun-default'.
1452
1453 * simple.el (minibuffer-history-isearch-search):
1454 Use `isearch-search-fun-default' and remove spacial case for
1455 `isearch-word'.
1456 (minibuffer-history-isearch-wrap): Remove spacial case for
1457 `isearch-word'.
1458
1459 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1460 Remove spacial case for `isearch-word'.
1461 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1462
85c8c5b6
AM
14632012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1464
1465 Decrease XEmacs incompatibilities.
1466 * textmodes/flyspell.el (flyspell-check-pre-word-p):
1467 Use `string-match'.
1468 (flyspell-delete-region-overlays): Use alternative definition for
1469 XEmacs.
1470 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1471 (flyspell-word): Use `process-kill-without-query' if XEmacs.
1472 (flyspell-mode-on): Use `interactive-p' if XEmacs.
1473 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1474 `define-obsolete-face-alias' under XEmacs, but old method.
1475
1476 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1477 `with-no-warnings' definition or Emacs alias.
1478 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1479 (ispell-word): Do not use `region-p' if XEmacs.
1480
8cab9efc
AM
14812012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1482
1483 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1484 Check for `ispell-dictionary-base-alist' instead of full
1485 `ispell-dictionary-alist'.
1486 (ispell-init-process): Show spellchecker when starting new Ispell
1487 process.
1488
fda91268
RZ
14892012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1490
1491 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1492 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1493
694ea8e3
JB
14942012-05-27 Juanma Barranquero <lekktu@gmail.com>
1495
1496 * version.el (motif-version-string, gtk-version-string)
1497 (ns-version-string): Declare.
1498
e4d4f539
JL
14992012-05-27 Juri Linkov <juri@jurta.org>
1500
1501 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1502 after the `eval-defun-1' specialcaseing
1503 like in `edebug-eval-defun' (bug#10181).
1504
1505 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1506 like in `eval-defun-1'.
1507
33017faf 15082012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 1509
fda91268
RZ
1510 * mail/sendmail.el (mail-yank-region):
1511 Recognize rmail-yank-current-message in addition to insert-buffer.
1512 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
1513 a *mail* buffer created through rmail-start-mail with sendmail as
1514 mail-user-agent.
1515
33017faf
GM
15162012-05-27 Chong Yidong <cyd@gnu.org>
1517
1518 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1519 Default to 256 (Bug#11267).
1520
1521 * help.el (describe-mode): Doc fix.
1522
04188bb9
GM
15232012-05-26 Glenn Morris <rgm@gnu.org>
1524
38264cc9
GM
1525 * w32-fns.el (w32-init-info): Remove.
1526 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1527
eb7afdad
GM
1528 * info.el (info-initialize): For self-contained NS builds, put the
1529 included info/ directory at the front. (Bug#2791)
1530
04188bb9
GM
1531 * paths.el (Info-default-directory-list): Make it a defcustom,
1532 mainly so that we can use custom-initialize-delay.
1533
a179e3f7
SM
15342012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1535
43416392
SM
1536 * subr.el (buffer-has-markers-at): Mark obsolete.
1537
a179e3f7 1538 * subr.el (lambda): Use declare.
43416392 1539
a179e3f7
SM
1540 * emacs-lisp/lisp-mode.el (lambda):
1541 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1542
34a008d9
AH
15432012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1544
1545 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
1546
0a3b289f
GM
15472012-05-26 Glenn Morris <rgm@gnu.org>
1548
1549 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1550
758c81e8
GM
15512012-05-25 Glenn Morris <rgm@gnu.org>
1552
f9f334f0
GM
1553 * paths.el: Remove no-byte-compile.
1554 * loadup.el: No need to load paths.el uncompiled.
1555
87eb79c2
GM
1556 * image.el (imagemagick-types-inhibit): Doc fix.
1557
758c81e8
GM
1558 * version.el: Remove no-byte-compile and associated formatting.
1559 * loadup.el: No need to load version.el uncompiled. AFAICS, this
1560 is ancient code from when there was an "inc-vers.el".
1561
e7e85dc0
SM
15622012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1563
1564 * progmodes/gdb-mi.el: Minor style changes.
1565 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1566 Turn into minor modes.
1567 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1568 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1569 (gdb-shell): Remove unneeded let-binding.
1570 (gdb-get-many-fields): Eliminate O(n²) behavior.
1571
f31237a4
EZ
15722012-05-25 Eli Zaretskii <eliz@gnu.org>
1573
1574 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1575 platforms that don't link in fontset.c.
1576
bc1b21bb
JL
15772012-05-25 Juri Linkov <juri@jurta.org>
1578
1579 Use the same diff color scheme as in modern VCSes (bug#10181).
1580
1581 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1582 to avoid confusion with `diff-added' that now uses green colors.
1583 (diff-removed): Use shades of red.
1584 (diff-added): Use shades of green.
1585 (diff-changed): Leave just the yellow color.
1586 (diff-use-changed-face): New variable.
1587 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1588 how to highlight context diff changes.
1589 (diff-refine-change): Use shades of yellow.
1590 (diff-refine-removed): New face that uses shades of red.
1591 (diff-refine-added): New face that uses shades of green.
1592 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1593 `diff-refine-removed' in the call to `smerge-refine-subst'
1594 depending on the value of `diff-use-changed-face'.
1595
1596 * vc/smerge-mode.el (smerge-mine): Use shades of red.
1597 (smerge-other): Use shades of green.
1598 (smerge-base): Use shades of yellow.
1599 (smerge-refined-change): Empty face.
1600 (smerge-refined-removed): New face that uses shades of red.
1601 (smerge-refined-added): New face that uses shades of green.
1602 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
1603 args `props-r' and `props-a', and use them. Doc fix.
1604 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1605 on its value use different faces `smerge-refined-change',
1606 `smerge-refined-removed', `smerge-refined-added' in the call to
1607 `smerge-refine-subst'.
1608
1609 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1610 Add face condition `min-colors 88' with shades of red.
1611 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1612 `min-colors 88' with shades of green.
1613 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1614 `min-colors 88' with shades of yellow.
1615
6df9112c
GM
16162012-05-24 Glenn Morris <rgm@gnu.org>
1617
ead5edc0
GM
1618 * paths.el (prune-directory-list, remote-shell-program): Move to...
1619 * files.el (prune-directory-list, remote-shell-program): ...here.
1620 For the latter, delay initialization, prefer ssh, just search PATH.
1621
f18b81e6
GM
1622 * paths.el (term-file-prefix): Move to faces.el (the only user).
1623 * faces.el (term-file-prefix): Move here, make it a defcustom.
1624
ee2f89a6
GM
1625 * paths.el (news-directory, news-path, news-inews-program):
1626 Move to gnus/nnspool.el.
61a583ca 1627
f8815e4c
GM
1628 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
1629
c8f3b42c
GM
1630 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
1631 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
1632 Make the latter a defcustom, with a delayed initialization.
1633
6df9112c
GM
1634 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
1635 These were deleted from Gnus itself late 2010.
1636
5dadff36
JB
16372012-05-22 Juanma Barranquero <lekktu@gmail.com>
1638
9e1701c6
JB
1639 * progmodes/which-func.el (which-func-ff-hook):
1640 Check against user-error, not error.
1641
bd7239f5 1642 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
1643 cl-specs.el, which no longer exists.
1644
3290526d
GM
16452012-05-22 Glenn Morris <rgm@gnu.org>
1646
1647 * info.el (info-emacs-bug): New command.
1648 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
1649 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
1650
ff0c3cfb
GM
16512012-05-21 Glenn Morris <rgm@gnu.org>
1652
1653 * makefile.w32-in (update-subdirs-SH):
1654 * Makefile.in (update-subdirs): Update for moved update-subdirs.
1655
5814f126
SM
16562012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1657
a52c0aa0
SM
1658 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
1659
5814f126
SM
1660 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1661 Simplify Maven regexp, and make sure the file can't start with a space
1662 (bug#11517).
1663
b847032c
GM
16642012-05-21 Glenn Morris <rgm@gnu.org>
1665
1666 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1667 Scrap superfluous subshells.
1668
3858bfe7
SM
16692012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
1670
1671 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
1672 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
1673
d14b0029
JB
16742012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
1675
1676 * calc/calc.el (calc-ensure-consistent-units): New variable.
1677
a52c0aa0
SM
1678 * calc/calc-units.el (math-consistent-units-p)
1679 (math-check-unit-consistency): New functions.
1680 (calc-quick-units, calc-convert-units):
1681 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
1682 is non-nil.
d14b0029
JB
1683 (calc-extract-units): Fix typo.
1684
60c4db3a
SM
16852012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1686
77f3b62e
SM
1687 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
1688
60c4db3a
SM
1689 * textmodes/flyspell.el: Commenting style, plus code simplifications.
1690 (flyspell-default-deplacement-commands): Don't spell check after
1691 repeated window/frame switches (e.g. triggered by mouse-movement).
1692 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
1693 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
1694 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
1695 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
1696 Remove unused vars.
1697 (flyspell-get-casechars, flyspell-get-not-casechars):
1698 Simplify; Don't bother removing a ] just to add it back.
1699 * textmodes/ispell.el (ispell-program-name): Use executable-find.
1700
b1a10716
RS
17012012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1702
1703 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
1704 New functions.
bd7239f5 1705 (math-function-table): Add support for more C functions.
b1a10716 1706
3f1b25b5
AM
17072012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1708
1709 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1710 (flyspell-debug-signal-word-checked): Protect delay handling for
1711 otherchars against empty otherchars.
1712
b581bb5c
SM
17132012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1714
1715 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1716 their respective macro declarations.
1717 * skeleton.el (define-skeleton):
1718 * progmodes/compile.el (define-compilation-mode):
1719 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1720 (define-ibuffer-filter):
1721 * emacs-lisp/generic.el (define-generic-mode):
1722 * emacs-lisp/easy-mmode.el (define-minor-mode)
1723 (define-globalized-minor-mode):
1724 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1725 * emacs-lisp/byte-run.el (defsubst):
1726 * custom.el (deftheme): Add doc-string metadata.
1727
70b8ef8f
SM
17282012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1729
1730 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1731
b1198e17
SM
17322012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1733
9abdc45d
SM
1734 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1735
b1198e17
SM
1736 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1737 * emacs-lisp/cl-macs.el: Idem.
1738 * emacs-lisp/cl-specs.el: Remove.
1739
4735906a
SM
17402012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1741
1742 Minor renaming of internal CL functions and variables.
1743 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1744 (cl--position): Rename from cl-position.
1745 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1746 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1747 (cl--random-state): Rename from *random-state*.
1748
ac348012
SM
17492012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1750
1751 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1752 parens around the arg list (bug#11499).
1753
a0a79cde
JL
17542012-05-17 Juri Linkov <juri@jurta.org>
1755
1756 * isearch.el (word-search-regexp, word-search-backward)
1757 (word-search-forward, word-search-backward-lax)
1758 (word-search-forward-lax): Move functions from search.c
1759 (bug#10145, bug#11381).
1760
65034a51
AM
17612012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1762
1763 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1764 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1765 normal word components.
1766
1a72a195
SM
17672012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1768
1769 * minibuffer.el (completion--sifn-requote): Fix last change.
1770 (minibuffer-local-must-match-filename-map):
1771 Move define-obsolete-variable-alias before its var.
1772
fdb058c2
SM
17732012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1774
c41045e6
SM
1775 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1776
036dfb8b
SM
1777 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1778 behavior.
1779 (completion--string-equal-p): New function.
1780 (completion--twq-all): Use it to get better assertion failure data.
1781
2473256d
SM
1782 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1783 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1784 (shell--requote-argument): New functions.
1785 (shell-completion-vars): Use them.
1786 (shell--parse-pcomplete-arguments): Rename from
1787 shell-parse-pcomplete-arguments.
1788 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1789 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1790 Obey comint-file-name-quote-list.
1791
fdb058c2
SM
1792 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1793 (smie-indent-keyword): Use it.
1794
51fa99f1
SM
17952012-05-14 Stefan Merten <smerten@oekonux.de>
1796
1797 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1798
e18afed7 17992012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
1800
1801 * net/rlogin.el (rlogin-mode-map): Fix last change.
1802
e18afed7 18032012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
1804
1805 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1806 the following \r\n using a single `process-send-string', since the
1807 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 1808 with two `process-send-string's (Bug#11444).
8633b1f4 1809
e18afed7 18102012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 1811
fdb058c2
SM
1812 * shell.el (shell-parse-pcomplete-arguments):
1813 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 1814
2d21d7f6
WJ
18152012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1816
e18afed7 1817 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
1818 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1819 (image-transform-width, image-transform-fit-width): New functions.
1820 (image-transform-properties): Use them.
1821 (image-transform-check-size): New function.
1822 (image-toggle-display-image): Use it (for testing).
1823 (image-transform-set-rotation): Reduce angle mod 360.
1824 Delete obsolete comment.
1825
7102e6d0
WJ
18262012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1827
1828 * image-mode.el: Fix scaling (bug#11399).
1829 (image-transform-resize): Doc fix.
1830 (image-transform-properties): Default scale is 1 and height should
1831 be an integer.
1832
06bc5e6e
SM
18332012-05-13 Johan Bockgård <bojohan@gnu.org>
1834
1835 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1836 than hard-coding `car', to fix misbehavior when moving forward.
1837
0ae03b6a
CY
18382012-05-13 Chong Yidong <cyd@gnu.org>
1839
1840 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1841 (tabulated-list-entries, tabulated-list-padding)
1842 (tabulated-list-sort-key): Make permanent-local.
1843
1844 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1845 (electric-buffer-list): Put electric buffer menu
1846 command descriptions in this docstring, instead of the docstring
1847 of electric-buffer-menu-mode. Code cleanups.
1848 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1849 Electric-buffer-menu-mode.
1850 (electric-buffer-update-highlight): Minor code cleanup.
1851
205a7391
MA
18522012-05-13 Michael Albinus <michael.albinus@gmx.de>
1853
1854 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1855 (Bug#11447)
1856
e5bd0a28
SM
18572012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1858
1859 Move define-obsolete-variable-alias before the var's definition.
1860 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1861 * tooltip.el (tooltip-hook):
1862 * textmodes/reftex-toc.el (reftex-toc-map):
1863 * textmodes/reftex-sel.el (reftex-select-label-map)
1864 (reftex-select-bib-map):
1865 * textmodes/reftex-index.el (reftex-index-map)
1866 (reftex-index-phrases-map):
1867 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1868 * progmodes/meta-mode.el (meta-mode-map):
1869 * novice.el (disabled-command-hook):
1870 * loadhist.el (unload-hook-features-list):
1871 * frame.el (blink-cursor):
1872 * files.el (find-file-not-found-hooks, write-file-hooks)
1873 (write-contents-hooks):
1874 * emulation/tpu-edt.el (GOLD-map):
1875 * emacs-lock.el (emacs-lock-from-exiting):
1876 * emacs-lisp/generic.el (generic-font-lock-defaults):
1877 * emacs-lisp/chart.el (chart-map):
1878 * dos-fns.el (register-name-alist):
1879 * dired-x.el (dired-omit-files-p):
1880 * desktop.el (desktop-enable):
1881 * cus-edit.el (custom-mode-hook):
1882 * buff-menu.el (buffer-menu-mode-hook):
1883 * bookmark.el (bookmark-read-annotation-text-func)
1884 (bookmark-exit-hooks):
1885 * allout.el (allout-mode-deactivate-hook)
1886 (allout-exposure-change-hook, allout-structure-added-hook)
1887 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1888 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1889 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1890 comes before the corresponding variable's definition.
1891
ac59c2f6
CY
18922012-05-12 Chong Yidong <cyd@gnu.org>
1893
1894 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
1895 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1896 (Buffer-menu-mode-map): Bind it.
1897 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 1898
dee6c9a3
SM
18992012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1900
2171cea5
SM
1901 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1902 (prolog-upper-case-string, prolog-lower-case-string)
1903 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1904 (prolog-use-smie, prolog-smie-grammar): New vars.
1905 (prolog-smie-forward-token, prolog-smie-backward-token)
1906 (prolog-smie-rules): New funs.
1907 (prolog-comment-indent): Remove.
1908 (prolog-mode-variables): Use default comment indentation instead.
1909 Setup SMIE.
1910 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1911 (prolog-mode): Don't call them any more.
1912 (prolog-electric-colon, prolog-electric-dash)
1913 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1914
aa0382bd
SM
1915 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1916
dbacb4bd
SM
1917 * minibuffer.el (completion--twq-all): Again, allow case differences.
1918
13bdd94c
SM
1919 * term.el: Move keymap initialization code to be more idiomatic.
1920 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1921 (term-terminal-menu): Move initialization into declaration.
1922 (term-escape-char): Let the user set it in her .emacs.
1923
ff46c759
SM
1924 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1925 Provide SMIE-based indentation (not enabled by default yet).
1926 (sh-mode-map): Don't bind electric keys.
1927 Use electric-pair-mode instead of skeleton-pair.
1928 (sh-assignment-regexp): Fit within 80 columns.
1929 (sh-indent-supported): Specify actual shell name instead of boolean.
1930 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1931 (sh-maybe-here-document): Use it. Make obsolete.
1932 (sh-electric-here-document-mode) New minor mode.
1933 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1934 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1935 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1936 (sh-smie-rc-grammar, sh-use-smie): New vars.
1937 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1938 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1939 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1940 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1941 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1942 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1943 (sh-set-shell): Use smie-setup if requested.
1944
dee6c9a3
SM
1945 * term.el (term-set-escape-char): Properly set term-escape-char.
1946 See http://stackoverflow.com/questions/10524656.
1947
9f9aa044
CY
19482012-05-10 Chong Yidong <cyd@gnu.org>
1949
1950 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1951 Use url-generic-parse-url, and handle host names and Windows
1952 filenames properly.
1953 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1954 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1955 URL schemes to work on.
1956 (ffap--toggle-read-only): New function.
1957 (ffap-read-only, ffap-read-only-other-window)
1958 (ffap-read-only-other-frame): Use it.
1959 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1960 necessary for ffap-url-unwrap-remote.
1961
836d29b3
DA
19622012-05-10 Dave Abrahams <dave@boostpro.com>
1963
1964 * cus-start.el (create-lockfiles): Add it.
1965
00fd78ed
CY
19662012-05-09 Chong Yidong <cyd@gnu.org>
1967
1968 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1969 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1970
666b903b 19712012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
1972
1973 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1974
666b903b 19752012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
1976
1977 * ansi-color.el (ansi-color-process-output): Check for validity of
1978 comint-last-output-start before using it. This avoids a bad
1979 interaction with gdb-mi's input/output buffer.
1980
666b903b 19812012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
1982
1983 * files.el (dir-locals-read-from-file):
1984 Mention dir-locals in any error message.
1985
666b903b 19862012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
1987
1988 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1989 package (Bug#11410).
1990
f677562b
CY
1991 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1992 variables into description.
1993
666b903b 19942012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
1995
1996 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1997 shell-delimiter-argument-list (bug#11348).
1998 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1999
b499d8d0
JB
20002012-05-09 Juanma Barranquero <lekktu@gmail.com>
2001
8f6b6da8
JB
2002 * textmodes/rst.el: Silence byte-compiler warnings.
2003 (rst-re-alist, rst-reset-section-caches): Move around.
2004 (rst-re): Use `characterp', not `char-valid-p'.
2005 (font-lock-beg, font-lock-end): Declare.
2006
4824146a
JB
2007 * progmodes/idlw-shell.el (specs): Remove reference to deleted
2008 variable `idlwave-shell-activate-alt-keybindings' and simplify.
2009
b499d8d0
JB
2010 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
2011
ad89bb83
GM
20122012-05-08 Glenn Morris <rgm@gnu.org>
2013
2014 * files.el (auto-mode-alist): Treat ".make" like ".mk".
2015
8bba5a75
SM
20162012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2017
49ed9c8e
SM
2018 * vc/log-edit.el: Add GNU coding standards highlighting.
2019 (log-edit-font-lock-gnu-style)
2020 (log-edit-font-lock-gnu-keywords): New vars.
2021 (log-edit-font-lock-keywords): New fun.
2022 (log-edit-mode): Don't fold case in font-lock.
2023 (log-edit-font-lock-keywords): Do not assume case-folding.
2024
07d00b56
SM
2025 * imenu.el: Misc cleanup. Make docstrings out of comments.
2026 Use lexical-binding.
2027 (imenu--index-alist, imenu--last-menubar-index-alist)
2028 (imenu-menubar-modified-tick): Use defvar-local.
2029 (imenu--split-menu): Remove unused var.
2030 (imenu--cleanup-seen): Declare as global.
2031 (imenu--cleanup): Use dolist.
2032
8bba5a75
SM
2033 * subr.el (defvar-local): Add debug spec and doc-string position.
2034
5075bdb5
GM
20352012-05-08 Glenn Morris <rgm@gnu.org>
2036
c052c904
GM
2037 * lisp/language/burmese.el, language/cham.el, language/czech.el:
2038 * language/english.el, language/georgian.el, language/greek.el:
2039 * language/japanese.el, language/khmer.el, language/korean.el:
2040 * language/lao.el, language/misc-lang.el, language/romanian.el:
2041 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
2042 * language/thai.el, language/utf-8-lang.el:
2043 Remove no-byte-compile setting.
2044
5075bdb5
GM
2045 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
2046
06f679a7
AH
20472012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2048
2049 * progmodes/make-mode.el (makefile-browse):
2050 Remove unnecessary interactive. (Bug#11324)
2051
03794570
GM
20522012-05-07 Glenn Morris <rgm@gnu.org>
2053
af8630f4
GM
2054 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
2055
03794570
GM
2056 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
2057
f0809a9d
SM
20582012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2059
28be5ce7
SM
2060 * loadup.el: Preload newcomment.el.
2061 * newcomment.el: Move autoload-only code to toplevel.
2062
f0809a9d
SM
2063 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
2064 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2065 Handle new :right-align column property.
2066 (tabulated-list-print-col): Idem, plus use `display' text-property to
2067 try and preserve alignment for variable pitch fonts.
2068
1241b724
CY
20692012-05-07 Chong Yidong <cyd@gnu.org>
2070
2071 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
2072 (tabulated-list-use-header-line): New var.
2073 (tabulated-list-init-header): Use it.
2074 (tabulated-list-print-fake-header): New function.
2075 (tabulated-list-print): Use it.
2076 (tabulated-list-sort-button-map): Add non-header-line commands.
2077 (tabulated-list-init-header): Add column name property to basic
2078 labels as well.
2079 (tabulated-list-col-sort): Handle non-header-line button case.
2080 (tabulated-list--sort-by-column-name): Fix a corner case.
2081
f0809a9d
SM
2082 * buff-menu.el (list-buffers--refresh):
2083 Handle Buffer-menu-use-header-line.
1241b724 2084
e5f9458f
CY
20852012-05-06 Chong Yidong <cyd@gnu.org>
2086
2087 * buff-menu.el: Convert to Tabulated List mode.
2088 (Buffer-menu-buffer+size-width): Make obsolete.
2089 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
2090 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
2091 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
2092 documentation into docstring of buffer-menu.
2093 (Buffer-menu-toggle-files-only): Add an informative message.
2094 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
2095 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
2096 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
2097 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
2098 (Buffer-menu-execute, Buffer-menu-select)
2099 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
2100 (Buffer-menu-bury): Use Tabulated List machinery.
2101 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
2102 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 2103 Delete.
e5f9458f
CY
2104 (list-buffers--refresh): New function.
2105 (list-buffers-noselect): Use it.
2106 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
2107 (Buffer-menu--pretty-file-name): New helper functions.
2108
2109 * loadup.el: Preload tabulated-list.
2110
2111 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
2112 tabulated-list-sort-column.
2113 (tabulated-list-init-header): Add the initial aligning space even
2114 if tabulated-list-padding is zero.
2115
e129292c
CS
21162012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
2117
2118 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
2119 whose cdr is not a cons cell correctly (bug#11038).
2120
6632d361
CY
21212012-05-06 Chong Yidong <cyd@gnu.org>
2122
e129292c
CS
2123 * emacs-lisp/tabulated-list.el (tabulated-list-format):
2124 Accept additional plist in column descriptors.
6632d361
CY
2125 (tabulated-list-init-header): Obey it.
2126 (tabulated-list-get-entry): New function.
2127 (tabulated-list-put-tag): Use it. Use string-width instead of
2128 length.
2129 (tabulated-list--column-number): New function.
2130 (tabulated-list-print): Use it.
e129292c
CS
2131 (tabulated-list-print-col): New function.
2132 Set `tabulated-list-column-name' property on each column's text.
6632d361 2133 (tabulated-list-print-entry): Use it.
e129292c
CS
2134 (tabulated-list-delete-entry, tabulated-list-set-col):
2135 New functions.
6632d361
CY
2136 (tabulated-list-sort-column): New command (Bug#11337).
2137
3cc99f68
CY
2138 * buff-menu.el (list-buffers): Move C-x C-b binding from
2139 buff-menu.el to bindings.el.
2140
2141 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
2142 :advertised-binding feature.
2143
52b61776
TN
21442012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
2145
2146 * progmodes/compile.el (compilation-internal-error-properties):
2147 Calculate start position correctly when end-col is set but
2148 end-line is not (Bug#11382).
2149
ebfe2597
WJ
21502012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
2151
2152 * man.el (Man-unindent): Use text-property-default-nonsticky to
2153 prevent untabify from inheriting face properties (Bug#11408).
2154
6d3f7c2f
SM
21552012-05-05 Stefan Merten <smerten@oekonux.de>
2156
2157 * textmodes/rst.el: Major merge with upstream development up to
2158 Docutils SVN r7399 / rst.el V1.2.1.
2159
2160 Clarify maintainership and authors.
2161
2162 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
2163 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
2164 (rst-official-version, rst-official-cvs-rev, rst-version)
2165 (rst-package-emacs-version-alist): New functions and variables
2166 for version information.
2167
2168 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
2169 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
2170 (rst-mode-syntax-table, rst-mode): New and corrected functions
2171 and variables representing reStructuredText features.
2172
2173 (rst-re): New function for reStructuredText regexes. Use in
2174 many places.
2175
2176 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2177 (rst-mode-map): Rebind keys.
2178
2179 (rst-mode-lazy, rst-font-lock-keywords)
2180 (rst-font-lock-extend-region)
2181 (rst-font-lock-extend-region-internal)
2182 (rst-font-lock-extend-region-extend)
2183 (rst-font-lock-find-unindented-line-limit)
2184 (rst-font-lock-find-unindented-line-match)
2185 (rst-adornment-level, rst-font-lock-adornment-level)
2186 (rst-font-lock-adornment-match)
2187 (rst-font-lock-handle-adornment-pre-match-form)
2188 (rst-font-lock-handle-adornment-matcher): Major revision of
2189 font-locking. Integrate with other code. Use `jit-lock-mode'.
2190
2191 (rst-preferred-adornments, rst-adjust-hook)
2192 (rst-new-adornment-down, rst-preferred-bullets)
2193 (rst-preferred-bullets, rst-indent, rst-indent-width)
2194 (rst-indent-field, rst-indent-literal-normal)
2195 (rst-indent-literal-minimized, rst-indent-comment): Change,
2196 extend and improve customization.
2197
2198 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2199 (rst-normalize-cursor-position, rst-get-decoration)
2200 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2201 (rst-rstrip, rst-toc-insert-find-delete-contents)
2202 (rst-shift-fill-region, rst-compute-bullet-tabs)
2203 (rst-debug-print-tabs, rst-debug-mark-found)
2204 (rst-shift-region-guts, rst-shift-region-right)
2205 (rst-shift-region-left, rst-use-char-classes)
2206 (rst-font-lock-keywords-function)
2207 (rst-font-lock-indentation-point)
2208 (rst-font-lock-find-unindented-line-begin)
2209 (rst-font-lock-find-unindented-line-end)
2210 (rst-font-lock-find-unindented-line)
2211 (rst-font-lock-adornment-point, rst-font-lock-level)
2212 (rst-adornment-level-alist): Remove functions and variables.
2213
2214 (rst-compare-adornments, rst-get-adornment-match)
2215 (rst-suggest-new-adornment, rst-get-adornments-around)
2216 (rst-adornment-complete-p, rst-get-next-adornment)
2217 (rst-adjust-adornment, rst-display-adornments-hierarchy)
2218 (rst-straighten-adornments): Standardize function names to
2219 use "adornment" instead of "decoration". Correct callers.
2220 Similar standardizing in many places.
2221
2222 (rst-update-section, rst-adjust, rst-promote-region)
2223 (rst-enumerate-region, rst-bullet-list-region)
2224 (rst-repeat-last-character): Correct use of `interactive'.
2225
2226 (rst-classify-adornment, rst-find-all-adornments)
2227 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2228 (rst-find-leftmost-column, rst-repeat-last-character):
2229 Refactor functions.
2230
2231 (rst-find-title-line, rst-reset-section-caches)
2232 (rst-get-adornments-around, rst-adjust-adornment-work)
2233 (rst-arabic-to-roman, rst-roman-to-arabic)
2234 (rst-insert-list-pos, rst-insert-list-new-item)
2235 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2236 New functions.
2237
2238 (rst-all-sections, rst-section-hierarchy)
2239 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2240 New variables.
2241
2242 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2243 configuration instead of only buffer. Change where necessary.
2244
2245 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2246 (rst-shift-region, rst-adaptive-fill): New functions for
2247 indentation and filling.
2248
2249 (rst-comment-line-break, rst-comment-indent)
2250 (rst-comment-insert-comment, rst-comment-region)
2251 (rst-uncomment-region): New functions for handling comments.
2252
2253 (rst-compile): Quote shell arguments.
2254
2255 (rst-compile-pdf-preview, rst-compile-slides-preview):
2256 Delete temporary files after use.
2257
a43f98b3
GM
22582012-05-05 Glenn Morris <rgm@gnu.org>
2259
48176e8b
GM
2260 * calendar/cal-html.el: Optionally include holidays in the output.
2261 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2262 (cal-html-holidays): New option.
2263 (cal-html-css-default): Add holiday entry.
2264 (holiday-in-range): Autoload it.
2265 (cal-html-htmlify-entry): Add optional class argument.
2266 (cal-html-htmlify-list): Add optional holidays argument.
2267 (cal-html-insert-agenda-days): Include holidays in the output.
2268 (cal-html-one-month): Maybe include holidays.
2269
a43f98b3
GM
2270 * calendar/holidays.el (holiday-in-range):
2271 Move here from cal-tex-list-holidays.
2272 * calendar/cal-tex.el (cal-tex-list-holidays):
2273 Make it an obsolete alias for holiday-in-range. Update all callers.
2274
fef9d149 22752012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
2276
2277 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2278 Nextstep.
2279
248da2f4
RW
22802012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
2281
2282 * files.el (file-auto-mode-skip): New var.
2283 (set-auto-mode-1): Use it.
2284
f95e9344
SM
22852012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2286
df96ab1e
SM
2287 * repeat.el: Use lexical-binding.
2288 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2289 (repeat-undo-count): Remove.
2290 (repeat):
2291 * progmodes/octave-mod.el (octave-abbrev-start):
2292 * progmodes/f90.el (f90-abbrev-start):
2293 * face-remap.el (text-scale-adjust):
2294 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2295
5342bb06
SM
2296 * emacs-lisp/pcase.el (pcase--let*): New function.
2297 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2298 a bit more.
2299 (pcase--split-pred): Be more clever about ruling out overlap between
2300 a predicate and some constant pattern.
2301 (pcase--q1): Use `null' instead of (eq foo nil).
2302
f95e9344
SM
2303 * subr.el (setq-local, defvar-local): New macros.
2304 (kbd): Redefine as an alias.
2305 (with-selected-window): Leave unrelated frames alone.
2306 (set-temporary-overlay-map): New function.
2307
71873e2b
SM
23082012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2309
2310 * subr.el (user-error): New function.
2311 * window.el (switch-to-buffer):
2312 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2313 (smerge-match-conflict):
2314 * simple.el (previous-matching-history-element)
2315 (next-matching-history-element, goto-history-element, undo-more)
2316 (undo-start):
2317 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2318 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2319 (next-file, tags-loop-scan, list-tags, complete-tag):
2320 * progmodes/compile.el (compilation-loop):
2321 * mouse.el (mouse-minibuffer-check):
2322 * man.el (Man-bgproc-sentinel, Man-goto-page):
2323 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2324 (Info-history-forward, Info-follow-reference, Info-menu)
2325 (Info-extract-menu-item, Info-extract-menu-counting)
2326 (Info-forward-node, Info-backward-node, Info-next-menu-item)
2327 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2328 (Info-next-reference, Info-prev-reference, Info-index)
2329 (Info-index-next, Info-follow-nearest-node)
2330 (Info-copy-current-node-name):
2331 * imenu.el (imenu--make-index-alist)
2332 (imenu-default-create-index-function, imenu-add-to-menubar):
2333 * files.el (basic-save-buffer, recover-file):
2334 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2335 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2336 (checkdoc-message-text, checkdoc-defun):
2337 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2338 * cus-edit.el (customize-changed-options, customize-rogue)
2339 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2340 (custom-variable-mark-to-reset-standard)
2341 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2342 (custom-file):
2343 * completion.el (check-completion-length):
2344 * comint.el (comint-search-arg)
2345 (comint-previous-matching-input-string-position)
2346 (comint-previous-matching-input)
2347 (comint-replace-by-expanded-history-before-point, comint-send-input)
2348 (comint-copy-old-input, comint-backward-matching-input)
2349 (comint-goto-process-mark, comint-set-process-mark):
2350 * calendar/calendar.el (calendar-cursor-to-date): Use it.
2351 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2352
8a61ee22
SM
23532012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2354
66408d1e
SM
2355 * dabbrev.el (dabbrev--ignore-case-p): New function.
2356 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2357 Use it.
2358
8a61ee22
SM
2359 * files.el (automount-dir-prefix): Mark as obsolete.
2360
3c74813a
GM
23612012-05-04 Glenn Morris <rgm@gnu.org>
2362
2363 * patcomp.el, play/bruce.el: Move to obsolete/.
2364
0bfcf5c5
PE
23652012-05-04 Paul Eggert <eggert@cs.ucla.edu>
2366
2367 Fix minor Y10k bugs.
2368 * arc-mode.el (archive-unixdate):
2369 * autoinsert.el (auto-insert-alist):
2370 * calc/calc-forms.el (math-this-year):
2371 * emacs-lisp/copyright.el (copyright-current-year)
2372 (copyright-update-year, copyright):
2373 * tar-mode.el (tar-clip-time-string):
2374 * time.el (display-time-update):
2375 Don't assume years have 4 digits.
2376
78f3273a
CY
23772012-05-04 Chong Yidong <cyd@gnu.org>
2378
2379 * dos-w32.el (file-name-buffer-file-type-alist)
2380 (direct-print-region-use-command-dot-com):
2381 * ffap.el (ffap-menu-regexp):
2382 * find-file.el (ff-special-constructs):
2383 * follow.el (follow-debug):
2384 * forms.el (forms--debug):
2385 * iswitchb.el (iswitchb-all-frames):
2386 * ido.el (ido-all-frames):
2387 * emacs-lisp/timer.el (timer-max-repeats):
2388 * mail/feedmail.el (feedmail-mail-send-hook)
2389 (feedmail-mail-send-hook-queued):
2390 * mail/footnote.el (footnote-signature-separator):
2391 * mail/mailabbrev.el (mail-alias-separator-string)
2392 (mail-abbrev-mode-regexp):
2393 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
2394 * progmodes/idlwave.el (idlwave-libinfo-file)
2395 (idlwave-default-completion-case-is-down)
2396 (idlwave-library-routines): Convert defvars to defcustoms.
2397
2398 * mail/rmail.el (rmail-decode-mime-charset):
2399 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
2400 (idlwave-shell-fix-inserted-breaks)
2401 (idlwave-shell-activate-alt-keybindings)
2402 (idlwave-shell-use-breakpoint-glyph):
2403 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
2404
f7ae6719
SM
24052012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2406
2407 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
2408
47086495
WS
24092012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
2410
2411 * progmodes/verilog-mode.el (font-lock-keywords):
2412 Fix mis-highligting auto. Reported by Craig Barner.
2413 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2414 defines from global name space. Reported by Dan Dever.
2415 (verilog-auto-reset, verilog-auto-reset-widths)
2416 (verilog-auto-tieoff): Support using unbased numbers for
2417 AUTORESET and AUTOTIEOFF.
2418 (verilog-submit-bug-report): Update variable list.
2419 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2420 parenthesis from not matching. Reported by Michael Rytting.
2421 (verilog-auto-template-lint): Fix hash error when linting modules
2422 with no used templates.
2423 (verilog-warn, verilog-warn-error)
2424 (verilog-warn-fatal): When non-interactive report multiple
2425 warnings before exiting. Suggested by Brad Dobbie.
2426 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2427 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2428 to report unused template errors. Reported by Brad Dobbie.
2429 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2430 nets, bug438. Reported by Vns Blore.
2431 (verilog-auto-inout-module, verilog-auto-reg)
2432 (verilog-read-decls, verilog-read-sub-decls-sig)
2433 (verilog-signals-edit-wire-reg, verilog-signals-with):
2434 Fix passing of Verilog data types in ANSI input/output ports
2435 such as "output logic" into the AUTOs. Special case "wire" and
2436 "reg" for backwards compatibility presuming Verilog 2001.
2437 (verilog-auto-ascii-enum): Add "auto enum" as alias.
2438 (verilog-preprocess): Fix replication of preprocess output.
2439 Reported by Brad Dobbie.
2440 (verilog-auto-inst-interfaced-ports):
2441 Create verilog-auto-inst-interfaced-ports, bug429.
2442 Reported by Julian Gorfajn.
2443 (verilog-after-save-font-hook)
2444 (verilog-before-save-font-hook): New variable.
2445 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2446 (verilog-save-font-mods): Wrap disabling fontification, reported
2447 by David Rogoff.
2448 (verilog-do-indent, verilog-pretty-declarations-auto)
2449 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2450 Reported by Pierre-David Pfister.
2451 (verilog-set-auto-endcomments): Fix endtask auto comments outside
2452 of class declarations, bug292. Reported by Kevin Heilman.
2453 (verilog-read-decls): Fix 'parameter type' not appearing in
2454 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
2455 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2456 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2457 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2458 Reported by David Kravitz.
2459
24602012-05-03 Michael McNamara <mac@mail.brushroad.com>
2461
2462 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2463 assignment with tests in ifs and for loops.
2464 (verilog-extended-complete-re, verilog-complete-reg): Change so
2465 that DPI inport functions don't look like fuction declarations.
2466 (verilog-pretty-expr): Don't line up assignment
2467 operations to the test and increment in if and for loops
2468 (verilog-extended-complete-re, verilog-complete-reg): Change so
2469 that DPI inport functions don't look like fuction declarations
2470
2e51d4b5
KH
24712012-05-03 Kenichi Handa <handa@m17n.org>
2472
2473 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 2474 decoding, and show a warning message without signaling an error
2e51d4b5
KH
2475 (Bug#11282).
2476
2bd785a2
SM
24772012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2478
2479 * emacs-lisp/bytecomp.el
2480 (byte-compile-file-form-custom-declare-variable): Compile all elements,
2481 since cconv.el might have introduced :fun-body, internal-make-closure,
2482 and friends for bytecomp to handle (bug#11391).
2483 * custom.el (defcustom): Avoid ((λ ..) ..).
2484
99d27583
SM
24852012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2486
2487 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2488
55a71479
JB
24892012-05-02 Juanma Barranquero <lekktu@gmail.com>
2490
2491 * notifications.el (dbus-debug):
2492 * term/linux.el (gpm-mouse-enable):
2493 * term/screen.el (xterm-register-default-colors): Declare.
2494
7b97c764
CY
24952012-05-02 Chong Yidong <cyd@gnu.org>
2496
2bc356d7
CY
2497 * cus-start.el (gc-cons-percentage, exec-suffixes)
2498 (dos-display-scancodes, dos-hyper-key, dos-super-key)
2499 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2500 (make-cursor-line-fully-visible, void-text-area-pointer)
2501 (font-list-limit): Add customization data.
2502
7b97c764
CY
2503 * allout.el (allout-exposure-change-functions)
2504 (allout-structure-added-functions)
2505 (allout-structure-deleted-functions)
2506 (allout-structure-shifted-functions): Rename abnormal hooks from
2507 *-hook, and convert to defcustoms.
5d3385a0
JB
2508 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2509 Convert to defcustoms.
7b97c764
CY
2510 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2511
2512 * allout-widgets.el: Hook callers changed.
2513
90207a15 25142012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
2515
2516 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2517 the yanked message in preference to the default value of
2518 buffer-file-coding-system.
2519
90207a15 25202012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 2521
5d3385a0
JB
2522 * window.el (display-buffer--action-function-custom-type):
2523 Fix entry.
d9558cad 2524
90207a15 25252012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
2526
2527 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2528
d80ac57b
GM
25292012-05-01 Glenn Morris <rgm@gnu.org>
2530
976f7668
GM
2531 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2532
beb83b5a
GM
2533 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2534
d80ac57b
GM
2535 * cus-edit.el (custom-variable-documentation): Simplify with format.
2536
b593d6a9
AH
25372012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2538 Stefan Monnier <monnier@iro.umontreal.ca>
2539
2540 * simple.el (suggest-key-bindings, execute-extended-command):
2541 Move from keyboard.c.
2542
782fbf2a
CY
25432012-05-01 Chong Yidong <cyd@gnu.org>
2544
2545 * follow.el: Eliminate advice.
2546 (set-process-filter, process-filter, sit-for): Advice deleted.
2547 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
2548 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2549 Vars deleted.
782fbf2a
CY
2550 (follow-auto): Use a :set function.
2551 (follow-mode): Rewritten. Don't advise process filters.
2552 (follow-switch-to-current-buffer-all, follow-scroll-up)
2553 (follow-scroll-down): Assume follow-mode is bound.
2554 (follow-comint-scroll-to-bottom)
2555 (follow-align-compilation-windows): New functions.
2556 (follow--window-sorter): New function.
2557 (follow-all-followers): Use it to explicitly sort windows by their
2558 positions; don't make assumptions about next-window order.
2559 (follow-windows-start-end, follow-delete-other-windows-and-split)
2560 (follow-calc-win-start): Doc fix.
2561 (follow-windows-aligned-p, follow-select-if-visible): Don't call
2562 vertical-motion unnecessarily.
2563 (follow-adjust-window): New function.
2564 (follow-post-command-hook): Use it.
2565 (follow-call-set-process-filter, follow-call-process-filter)
2566 (follow-intercept-process-output, follow-tidy-process-filter-alist)
2567 (follow-stop-intercept-process-output, follow-generic-filter):
2568 Functions deleted.
2569 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
2570 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2571 New functions, replacing advice on scroll-bar-* commands.
87233a14 2572 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
2573
2574 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
2575 (comint-postoutput-scroll-to-bottom): Use it.
2576 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 2577
290af740
GM
25782012-05-01 Glenn Morris <rgm@gnu.org>
2579
2580 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2581 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2582 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2583 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2584 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2585 Remove no-byte-compile setting.
2586
6eac8dc9
SM
25872012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2588
2589 * minibuffer.el (completion-table-with-quoting): Fix compatibility
2590 all-completions code to not return a number in the last cdr.
2591
9cc7819c
LL
25922012-04-30 Leo Liu <sdl.web@gmail.com>
2593
2594 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2595 read-only error.
2596
c93b886f
CY
25972012-04-29 Chong Yidong <cyd@gnu.org>
2598
2599 * follow.el (follow-calc-win-end): Rewrite to handle partial
2600 screen lines correctly (Bug#8390).
2601 (follow-avoid-tail-recenter): Minor cleanup.
2602
8b6c19f4
SM
26032012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2604
2605 Avoid the obsolete `assoc' package.
2606 * speedbar.el (speedbar-refresh): Avoid adelete.
2607 (speedbar-file-lists): Simplify and avoid aput.
2608 * man.el (Man--sections, Man--refpages): New vars, replacing
2609 Man-sections-alist and Man-refpages-alist.
2610 (Man-build-section-alist, Man-build-references-alist):
2611 Use them; avoid aput.
2612 (Man--last-section, Man--last-refpage): New vars.
2613 (Man-follow-manual-reference): Use them.
2614 Use the `default' arg of completing-read.
2615 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
2616
c5bb7569
CY
26172012-04-27 Chong Yidong <cyd@gnu.org>
2618
d1d2e2e8
CY
2619 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2620
15cd8efd
CY
2621 * startup.el (x-apply-session-resources): New function.
2622
2623 * term/ns-win.el (ns-initialize-window-system):
2624 * term/w32-win.el (w32-initialize-window-system):
2625 * term/x-win.el (x-initialize-window-system): Use it to properly
2626 set menu-bar-mode and other vars from X resources, even if the
2627 initial frame is not a window-system frame (Bug#2299).
2628
c5bb7569
CY
2629 * subr.el (read-key): Avoid running filter function when setting
2630 up temporary tool bar entries (Bug#9922).
2631
a8e7d6d7 26322012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
2633
2634 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2635 (Bug#11344)
2636
a8e7d6d7 26372012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
2638
2639 * select.el (xselect--encode-string): New function, split from
2640 xselect-convert-to-string.
2641 (xselect-convert-to-string): Use it.
2642 (xselect-convert-to-filename, xselect-convert-to-os)
2643 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
2644 returned strings are properly encoded (Bug#11315).
2645
a8e7d6d7 26462012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
2647
2648 * simple.el (delete-active-region): Move to killing custom group.
2649
a8e7d6d7 26502012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
2651
2652 * progmodes/which-func.el (which-func-current): Quote %
2653 characters for mode-line processing.
2654
578c1d4b 26552012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
2656
2657 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
2658 reaching eob (Bug#11286).
2659
a8e7d6d7 26602012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
2661
2662 * progmodes/gdb-mi.el (gdb-control-level): New variable.
2663 (gdb): Make it buffer-local and init to zero.
2664 (gdb-control-commands-regexp): New variable.
2665 (gdb-send): Don't wrap in "-interpreter-exec console" if
2666 gdb-control-level is positive. Increment gdb-control-level
2667 whenever the command matches gdb-control-commands-regexp, and
2668 decrement it each time the command is "end". (Bug#11279)
2669
a8e7d6d7 26702012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
2671
2672 * window.el (adjust-window-trailing-edge, enlarge-window)
2673 (shrink-window, window-resize):
2674 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
2675 windows (Bug#11276).
2676
b3608390
CY
26772012-04-27 Chong Yidong <cyd@gnu.org>
2678
2679 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 2680 fix "missing prefix" warning. All callers changed.
b3608390 2681
797e6e88
SM
26822012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2683
2684 * emacs-lisp/assoc.el: Move to obsolete/.
2685
e95a67dc
SM
26862012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2687
657c21e4 2688 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
2689
2690 * term/ns-win.el (ns-define-service):
2691 * progmodes/pascal.el (pascal-goto-defun):
2692 * progmodes/js.el (js--read-tab):
2693 * progmodes/etags.el (tags-lazy-completion-table):
2694 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
2695 * emacs-lisp/ewoc.el (ewoc--wrap):
2696 * emacs-lisp/assoc.el (aput, adelete, amake):
2697 * doc-view.el (doc-view-convert-current-doc):
2698 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
2699
cb3e7ae0
CY
27002012-04-26 Chong Yidong <cyd@gnu.org>
2701
dce04f7f
CY
2702 * image.el (image-type-from-buffer): Only return supported image
2703 type (Bug#9045).
2704
cb3e7ae0
CY
2705 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
2706 value, for symmetry with diff-end-of-hunk.
2707 (diff-split-hunk, diff-find-source-location)
2708 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2709 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2710 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2711 compute the relevant hunk or file properly (Bug#6005).
2712 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2713
0d42eb3e
SM
27142012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2715
2716 * vc/vc-mtn.el:
2717 * vc/vc-hg.el:
2718 * vc/vc-git.el:
2719 * vc/vc-dir.el:
2720 * vc/vc-cvs.el:
2721 * vc/vc-bzr.el:
2722 * vc/vc-arch.el:
2723 * vc/vc.el: Replace lexical-let by lexical-binding.
2724 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2725 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2726 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2727
f08ae1c9
CY
27282012-04-26 Chong Yidong <cyd@gnu.org>
2729
8b71081d
CY
2730 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2731 (diff-mode-shared-map): Bind it to / and [remap undo].
2732
f08ae1c9
CY
2733 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2734 (ediff-window-setup-function): Use it as the default, to set up
2735 windows based on whether the current frame is graphical (Bug#2138).
2736 (ediff-choose-window-setup-function-automatically): Make obsolete.
2737
2738 * vc/ediff-init.el: Always define ediff-pixel-width/height.
2739
ef24141c
SM
27402012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2741
cc356a5d
SM
2742 * ffap.el: Remove old code for obsolete package.
2743 (ffap-complete-as-file-p): Remove.
2744
b4ff4f1f
SM
2745 Use completion-table-with-quoting for comint and pcomplete.
2746 * comint.el (comint--unquote&requote-argument)
2747 (comint--unquote-argument, comint--requote-argument): New functions.
2748 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2749 (comint-quote-filename): Use regexp-opt-charset.
2750 (comint--common-suffix, comint--common-quoted-suffix)
2751 (comint--table-subvert): Remove.
2752 (comint-unquote-function, comint-requote-function): New vars.
2753 (comint--complete-file-name-data): Use them with
2754 completion-table-with-quoting.
2755 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2756 * pcomplete.el (pcomplete-arg-quote-list)
2757 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2758 (pcomplete-unquote-argument-function): Default to non-nil.
2759 (pcomplete-unquote-argument): Simplify.
2760 (pcomplete--common-quoted-suffix): Remove.
2761 (pcomplete-requote-argument-function): New var.
2762 (pcomplete--common-suffix): New function.
2763 (pcomplete-completions-at-point): Use completion-table-with-quoting
2764 and completion-table-subvert.
2765
79c4eeb4
SM
2766 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2767 (minibuffer--double-dollars): Preserve properties.
2768 (completion--sifn-requote): New function.
2769 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2770
ef24141c
SM
2771 * minibuffer.el: Add support for completion of quoted/escaped data.
2772 (completion-table-with-quoting, completion-table-subvert): New funs.
2773 (completion--twq-try, completion--twq-all): New functions.
2774 (completion--nth-completion): New function.
2775 (completion-try-completion, completion-all-completions): Use it.
2776
784e7d6e
LL
27772012-04-25 Leo Liu <sdl.web@gmail.com>
2778
dd2ac746
SM
2779 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2780 Use compilation-message if available to find real filename.
784e7d6e 2781
07875ee7
CY
27822012-04-25 Chong Yidong <cyd@gnu.org>
2783
2784 * vc/diff-mode.el (diff-setup-whitespace): New function.
2785 (diff-mode): Use it.
2786
2787 * vc/diff.el (diff-sentinel):
2788 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2789 Whitespace mode variables based on diff style (Bug#8612).
2790
5055880d
LL
27912012-04-25 Leo Liu <sdl.web@gmail.com>
2792
daf75653
LL
2793 * progmodes/python.el (python-send-region): Add suffix .py to the
2794 temp file.
2795
5055880d
LL
2796 * files.el (auto-mode-alist): Use javascript-mode instead.
2797
db9b177b
AH
27982012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2799
ef24141c 2800 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
2801
2802 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 2803 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 2804 references, see Bug#9.
ef24141c 2805 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 2806 when receiving a fault reply.
ef24141c 2807 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
2808
2809 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 2810 (soap-inspect-simple-type): New function.
db9b177b 2811
ef24141c 2812 * soap-client.el (soap-simple-type): New struct.
db9b177b 2813 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
2814 (soap-decode-basic-type, soap-encode-basic-type):
2815 support unsignedInt and double basic types.
db9b177b 2816 (soap-resolve-references-for-simple-type)
ef24141c
SM
2817 (soap-parse-simple-type, soap-encode-simple-type): New function.
2818 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
2819
2820 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
2821 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2822 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2823 the local name of "soapenc:Array".
2824 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
2825 decoding integer, byte and anyURI xsd types.
2826
1fc6097b
CY
28272012-04-25 Chong Yidong <cyd@gnu.org>
2828
2829 * cus-edit.el (custom-buffer-create-internal): Update header text.
2830
afc6df87
EZ
28312012-04-25 Eli Zaretskii <eliz@gnu.org>
2832
2833 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2834 settings on 'system-type', not on 'window-system'. On MS-Windows,
2835 set interactive-mode on in GDB.
2836
dfbd787f
SM
28372012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2838
2839 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2840 (ruby-syntax-propertize-regexp): Remove.
2841 (ruby-syntax-propertize-function): Split regexp into chunks.
2842 Match following code directly.
2843
85222d44
DG
28442012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2845
51a8ea2a
DG
2846 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2847 (ruby-syntax-propertize-regexp): New function.
2848 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2849 by a special keyword.
2850
85222d44
DG
2851 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2852 (ruby-syntax-general-delimiters-goto-beg)
2853 (ruby-syntax-propertize-general-delimiters): New functions.
2854 (ruby-syntax-propertize-function): Use them to handle GDL.
2855 (ruby-font-lock-keywords): Move old handling of GDL...
2856 (ruby-font-lock-syntactic-keywords): .. to here.
2857 (ruby-calculate-indent): Adjust indentation for GDL.
2858
b613912b
MA
28592012-04-24 Michael Albinus <michael.albinus@gmx.de>
2860
b5380639
MA
2861 * notifications.el (top): Remove unneeded declarations.
2862 (notifications-specification-version): Change to "1.2".
e43042fe 2863 (notifications-interface, notifications-notify-method)
b613912b
MA
2864 (notifications-close-notification-method): Fix docstring.
2865 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
2866 (notifications-notify): Add :action-items, :resident and
2867 :transient hints. Change "image_data" to "image-data" and
2868 "image_path" to "image-path".
b613912b
MA
2869 (notifications-get-capabilities): New defun.
2870
257440aa
LL
28712012-04-24 Leo Liu <sdl.web@gmail.com>
2872
2873 * progmodes/python.el: Move hideshow setup to the end.
2874
b1bac16e
MR
28752012-04-24 Martin Rudalics <rudalics@gmx.at>
2876
2877 * window.el (handle-select-window): Clear echo area since this is
2878 no more done by read_char (Bug#11304).
2879
d81bd059
SM
28802012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2881
2882 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2883 and `/ M' to filter-derived-mode.
2884 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2885 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2886 (ibuffer-mark-by-mode): Use default rather than initial-input.
2887 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2888
c4cf6d91
IA
28892012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2890
2891 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2892 (ibuffer-filter-by-derived-mode): New filter.
2893 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2894
7511ded8
CY
28952012-04-23 Andreas Politz <politza@fh-trier.de>
2896
2897 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2898
775c916b
CY
28992012-04-23 Chong Yidong <cyd@gnu.org>
2900
2901 * cus-edit.el (customize-apropos, customize-apropos-options):
2902 Disable matching of non-option variables (Bug#11176).
2903 (customize-option, customize-option-other-window)
2904 (customize-changed-options): Doc fix.
2905 (customize-apropos-options, customize-apropos-faces)
2906 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2907
2908 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 2909 Fix word list splitting (Bug#11132).
46c71e23
CY
2910 (apropos-symbol, apropos-keybinding, apropos-label)
2911 (apropos-property, apropos-function-button)
2912 (apropos-variable-button, apropos-misc-button): New faces.
2913 (apropos-symbol-face, apropos-keybinding-face)
2914 (apropos-label-face, apropos-property-face, apropos-match-face):
2915 Variables removed (Bug#8396).
2916 (apropos-library-button, apropos-format-plist, apropos-print)
2917 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 2918
2df41f9c
MA
29192012-04-23 Michael Albinus <michael.albinus@gmx.de>
2920
2921 * net/xesam.el (xesam-mode-map): Use let-bound map in
2922 initialization. (Bug#11292)
2923
da00640a
AM
29242012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2925
2926 Preserve ispell session localwords when switching back to
2927 original buffer.
2928
2929 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2930 variable to hold buffer session localwords.
2931 (ispell-kill-ispell): add option 'clear to delete session
2932 localwords.
2933 (ispell-command-loop, ispell-change-dictionary)
2934 (ispell-buffer-local-words): Preserve session localwords when
2935 needed.
2936
2937 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2938 Preserve session localwords when needed.
2939
f621ccf5
AM
29402012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2941
2942 * ispell.el (ispell-insert-word) Remove unneeded function using
2943 obsolete `translation-table-for-input'.
ef24141c
SM
2944 (ispell-word, ispell-process-line, ispell-complete-word):
2945 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 2946
c2d1019e
CY
29472012-04-22 Chong Yidong <cyd@gnu.org>
2948
2949 * cus-edit.el (custom-variable-menu)
2950 (custom-variable-reset-saved, custom-face-menu)
2951 (custom-face-reset-saved): If there is no saved value, make the
2952 "reset-saved" operation bring back the default (Bug#9509).
2953 (custom-face-state): Properly detect themed faces.
2954
eeddc531
CY
2955 * faces.el (face-spec-set): Stop supporting deprecated form of
2956 third arg.
2957
dcbf5805
MA
29582012-04-22 Michael Albinus <michael.albinus@gmx.de>
2959
2960 Move functions from C to Lisp. Make non-blocking method calls
2961 the default. Implement further D-Bus standard interfaces.
2962
ef24141c
SM
2963 * net/dbus.el (dbus-message-internal): Declare function.
2964 Remove unneeded function declarations.
dcbf5805
MA
2965 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2966 (dbus-message-type-method-return, dbus-message-type-error)
2967 (dbus-message-type-signal): Declare variables. Remove local
2968 definitions.
2969 (dbus-interface-dbus, dbus-interface-peer)
2970 (dbus-interface-introspectable, dbus-interface-properties)
2971 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2972 Adapt docstring.
2973 (dbus-interface-objectmanager): New defconst.
2974 (dbus-call-method, dbus-call-method-asynchronously)
2975 (dbus-send-signal, dbus-method-return-internal)
2976 (dbus-method-error-internal, dbus-register-service)
2977 (dbus-register-signal, dbus-register-method): New defuns, moved
2978 from dbusbind.c
2979 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
2980 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2981 New defuns.
dcbf5805
MA
2982 (dbus-call-method-non-blocking): Make it an obsolete function.
2983 (dbus-unregister-object, dbus-unregister-service)
2984 (dbus-handle-event, dbus-register-property)
2985 (dbus-property-handler): Obey the new structure of
2986 `bus-registered-objects'.
2987 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2988 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2989 Use `dbus-call-method'.
2990
cf20dee0
CY
29912012-04-22 Chong Yidong <cyd@gnu.org>
2992
2993 * cus-edit.el (custom-commands, custom-reset-menu)
2994 (Custom-reset-standard): Tweak labels.
2995 (custom-reset-button-menu): Change default to t.
2996 (custom-buffer-create-internal): For the custom-reset-button-menu
2997 case, put the revert button first.
2998 (custom-group-subtitle): New face.
2999 (custom-group-value-create): Align docstring to a specific column.
3000
3001 * wid-edit.el (widget-documentation-link-add): Don't handle
3002 indentation in this function.
3003 (widget-documentation-string-indent-to): New function.
3004 (widget-documentation-string-value-create): Use it.
3005
3006 * autorevert.el (auto-revert):
3007 * epg-config.el (epg):
3008 * ibuffer.el (ibuffer):
3009 * mpc.el (mpc):
3010 * ses.el (ses):
3011 * eshell/eshell.el (eshell):
3012 * net/ange-ftp.el (ange-ftp):
3013 * progmodes/ebnf2ps.el (postscript):
3014 * progmodes/flymake.el (flymake):
3015 * progmodes/prolog.el (prolog):
3016 * progmodes/verilog-mode.el (verilog-mode):
3017 * progmodes/which-func.el (which-func):
3018 * term/xterm.el (xterm):
3019 * textmodes/picture.el (picture):
3020 * textmodes/tildify.el (tildify):
3021 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
3022 customization buffers.
3023
583e23bd
AM
30242012-04-22 Alan Mackenzie <acm@muc.de>
3025
3026 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3027 Adding a ) can hide the resulting (..) from searches. Fix it.
3028 Bound the backward search to the position of the existing (.
3029
7dd51bf1
JB
30302012-04-21 Juanma Barranquero <lekktu@gmail.com>
3031
3032 * progmodes/verilog-mode.el (verilog-mode): Check whether
3033 which-func-modes is t before adding verilog-mode.
3034 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
3035
d64a438f
LL
30362012-04-21 Leo Liu <sdl.web@gmail.com>
3037
7dd51bf1 3038 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 3039
081e8d65
MV
30402012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
3041
3042 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
3043 filling of the last column of a table (Bug#5635).
3044 (woman-find-next-control-line): New arg, specifying an additional
3045 regexp component for the control line.
3046 (woman2-roff-buffer): Use it.
3047 (woman-break-table): New function.
3048 (woman2-TS): Use it.
3049
30502012-04-21 Chong Yidong <cyd@gnu.org>
3051
3052 * woman.el (woman-set-buffer-display-table, woman-decode-region)
3053 (woman-horizontal-escapes, woman-negative-vertical-space)
3054 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
3055 (WoMan-warn-ignored): Use ?\s instead of ?\ .
3056
ed571ccb
SM
30572012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3058
3059 * minibuffer.el (completion-file-name-table): Complete user names.
3060
39773899
LL
30612012-04-20 Leo Liu <sdl.web@gmail.com>
3062
3063 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
3064 and pcase-let*.
3065
de6ff46d
CY
30662012-04-20 Chong Yidong <cyd@gnu.org>
3067
3068 * server.el (server-execute): Respect initial-buffer-choice if it
3069 is a string and there are no files to open (Bug#2825).
3070 (server-create-window-system-frame, server-create-tty-frame):
3071 Don't switch buffers here.
2d0e8e61
CY
3072 (server-process-filter): Only try to open a window system frame if
3073 compiled with graphical support (Bug#8314).
de6ff46d 3074
54071013
DN
30752012-04-20 Dan Nicolaescu <dann@gnu.org>
3076
3077 * battery.el (battery-echo-area-format): Display remaining time
3078 for sysfs backend too (Bug#11269).
3079 (battery-linux-sysfs): Fix conditional for the charge.
3080
f30d612a
CY
30812012-04-20 Chong Yidong <cyd@gnu.org>
3082
c07a4c0b 3083 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
3084 (gdb-inferior-io--init-proc): New function.
3085 (gdb-init-1): Use it.
3086 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
3087 responsible for allocating a new pty and hooking it to gdb when
3088 the old pty gets an EIO due to process exit.
3089 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
3090 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
3091 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
3092
2116e93c
EZ
30932012-04-20 Eli Zaretskii <eliz@gnu.org>
3094
3095 * window.el (window-min-size, window-sizable, window-min-delta)
3096 (window-max-delta, window--resizable, window-resizable)
3097 (window-total-size, window-full-height-p, window-full-width-p)
3098 (window-in-direction, window--resize-mini-window, window-resize)
3099 (window--resize-child-windows-normal)
3100 (window--resize-child-windows, window--resize-siblings)
3101 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 3102 (enlarge-window, shrink-window): Doc fixes.
2116e93c 3103
c07a4c0b 31042012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 3105
ef24141c
SM
3106 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
3107 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
3108 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
3109 pty process (Bug#11273).
3110 (gdb-update): New arg to suppress talking to the gdb process.
3111 (gdb-done-or-error): Use it.
3112 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
3113 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
3114 sentinel not being called.
3115
3116 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
3117
d02766ab
CY
3118 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
3119
c07a4c0b 31202012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
3121
3122 * net/network-stream.el (open-network-stream): Doc fix.
3123
c07a4c0b 31242012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
3125
3126 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
3127
c07a4c0b 31282012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
3129
3130 Ensure searching for keywords is case sensitive.
3131
3132 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
3133 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
3134 (c-defun-name, c-mark-function, c-cpp-define-name)
3135 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 3136 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 3137
ef24141c
SM
3138 * progmodes/cc-mode.el (c-font-lock-fontify-region):
3139 Bind case-fold-search to nil.
f0f6bc35 3140
c07a4c0b 31412012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
3142
3143 * mail/sendmail.el (mail-bury): Call return action with the right
3144 Rmail buffer (Bug#11242).
3145
9a864fa2
CY
3146 * server.el (server-process-filter): Handle corner case where both
3147 tty and nowait options are present (Bug#11102).
3148
539aa513
EZ
31492012-04-20 Eli Zaretskii <eliz@gnu.org>
3150
3151 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
3152 (top level): Put into the executable the ident-style '$Id:' tag on
3153 windows-nt as well.
539aa513 3154
cfc7d5da
SM
31552012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3156
3157 * electric.el (electric-indent-post-self-insert-function): Check that
3158 electric-indent-mode is enabled in current buffer.
3159
5b01685c
JB
31602012-04-19 Juanma Barranquero <lekktu@gmail.com>
3161
3162 * imenu.el (imenu-progress-message): Restore; it is "used" in
3163 erc/erc-imenu.el and net/snmp-mode.el.
3164
4d6769e1
JB
31652012-04-19 Juanma Barranquero <lekktu@gmail.com>
3166
3167 * avoid.el (mouse-avoidance-mode): Mark unused arg.
3168 (mouse-avoidance-nudge-mouse): Remove unused binding.
3169
3170 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
3171
3172 * descr-text.el (describe-char):
3173 * progmodes/python.el (python-describe-symbol):
3174 Don't call `toggle-read-only', set `buffer-read-only'.
3175
3176 * imenu.el (imenu-default-goto-function): Mark unused args.
3177 (imenu-progress-message): Remove obsolete macro; all callers changed.
3178
3179 * subr.el (keymap-canonicalize): Remove unused binding.
3180 (read-passwd): Mark unused arg.
3181
3182 * tutorial.el (tutorial--display-changes): Remove unused binding.
3183 (tutorial--save-tutorial-to): Remove unused variable.
3184
3185 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3186 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3187 (package-generate-autoloads, package-menu--generate)
3188 (package-menu--find-upgrades): Remove unused bindings.
3189
3190 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3191 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
3192 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3193 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3194 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3195 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3196 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3197 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3198 (cua-delete-char-rectangle): Mark unused args.
3199 (cua-align-rectangle): Remove unused binding.
3200
3201 * mail/rmail.el (compilation--message->loc)
3202 (epa--find-coding-system-for-mime-charset): Declare.
3203
3204 * net/dbus.el (dbus-register-service): Declare.
3205 (dbus-name-owner-changed-handler): Remove unused binding.
3206
3207 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3208 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3209 (nxml-scan-backward-within): Mark unused arg.
3210 (nxml-dynamic-markup-word): Remove unused binding.
3211
3212 * mouse.el (mouse-menu-major-mode-map):
3213 * emacs-lisp/authors.el (authors-scan-change-log)
3214 (authors-add-to-author-list):
3215 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3216 * emacs-lisp/smie.el (smie-auto-fill):
3217 * mail/sendmail.el (mail-bury):
3218 * mail/unrmail.el (unrmail):
3219 * net/tls.el (open-tls-stream):
3220 * textmodes/picture.el (picture-mouse-set-point):
3221 Remove unused bindings.
3222
8c8fc5df
MA
32232012-04-19 Michael Albinus <michael.albinus@gmx.de>
3224
3225 * net/tramp.el (tramp-action-password): Let-bind
3226 `enable-recursive-minibuffers' to t.
3227
a77b0ac9
SS
32282012-04-18 Sam Steingold <sds@gnu.org>
3229
3230 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3231 instead of 'string to accommodate values like [f11].
3232 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3233 * progmodes/gdb-mi.el: Likewise.
3234
12a106a9
LL
32352012-04-18 Leo Liu <sdl.web@gmail.com>
3236
3237 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3238 current buffer.
3239 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3240 LOCAL is nil.
3241
bc6494ef
CY
32422012-04-18 Chong Yidong <cyd@gnu.org>
3243
3244 * simple.el (line-move): Use forward-line if in batch mode
3245 (Bug#11053).
3246
c09c46b2
CS
32472012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
3248
3249 * files.el (after-find-file): Do not try to add a final newline if
3250 the buffer is read-only (Bug#11156).
3251
5f6530ea
RS
32522012-04-17 Richard Stallman <rms@gnu.org>
3253
3254 * mail/rmail.el (rmail-start-mail):
3255 Pass (rmail-mail-return...) for the return-action.
3256 Pass (rmail-yank-current-message...) for the yank-action.
3257 (rmail-yank-current-message): New function.
3258 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3259 (rmail-reply): Likewise.
3260 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3261
3262 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 3263 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
3264 buffer, not newbuf.
3265
197b6f3c
JB
32662012-04-17 Juanma Barranquero <lekktu@gmail.com>
3267
3268 * server.el (server-ensure-safe-dir): Simplify.
3269
2311d8e5 32702012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 3271
2311d8e5
GM
3272 * emacs-lisp/smie.el: Provide smarter auto-filling.
3273 (smie-auto-fill): New function.
3274 (smie-setup): Use it.
98fb480e 3275
2311d8e5
GM
3276 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3277
32782012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
3279
3280 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3281 (comment-indent): Use it.
3282
2311d8e5 32832012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
3284
3285 * ses.el: The overall change is to add cell renaming, that is
3286 setting fancy names for cell symbols other than name matching
3287 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 3288 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 3289 (ses-create-cell-variable): New defun.
2311d8e5 3290 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
3291 (ses-relocate-formula): Relocate formulas only for cells the
3292 symbols of which are not renamed, i.e. symbols whose names do not
3293 match regexp "\\`[A-Z]+[0-9]+\\'".
3294 (ses-relocate-all): Relocate values only for cells the symbols of
3295 which are not renamed.
3296 (ses-load): Create cells variables as the (ses-cell ...) are read,
3297 in order to check row col consistency with cell symbol name only
3298 for cells that are not renamed.
3299 (ses-replace-name-in-formula): New defun.
3300 (ses-rename-cell): New defun.
4bdf2ad2 3301
fc72b15c
PO
33022012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
3303
3304 * progmodes/perl-mode.el (perl-indent-parens-as-block):
3305 New option (bug#11118).
3306 (perl-calculate-indent): Respect it.
3307
12e10e61
GM
33082012-04-17 Glenn Morris <rgm@gnu.org>
3309
3310 * dired-aux.el (dired-mark-read-string): Doc fix.
3311
30009afd
DA
33122012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
3313
3314 * dired-aux.el (dired-mark-read-string): Offer optional completion.
3315 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
3316
41f03f4d
GM
33172012-04-17 Glenn Morris <rgm@gnu.org>
3318
3319 * mouse.el (mouse-drag-track):
3320 * speedbar.el (speedbar-frame-mode):
3321 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3322
f45f90f3
LL
33232012-04-16 Leo Liu <sdl.web@gmail.com>
3324
3325 * progmodes/python.el: Trivial cleanup.
3326
94ee8db5
GM
33272012-04-16 Glenn Morris <rgm@gnu.org>
3328
121b8917
GM
3329 * vc/vc.el (vc-string-prefix-p):
3330 * vc/pcvs-util.el (cvs-string-prefix-p):
3331 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3332 * mpc.el (mpc-string-prefix-p):
3333 Make all of these into obsolete aliases for string-prefix-p.
3334 Update callers.
3335 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3336
1197ecfa
GM
3337 * textmodes/two-column.el: Move custom options to the start.
3338 (frame-width): Remove compat definition.
3339 (2C-associate-buffer, 2C-dissociate):
3340 Use with-current-buffer rather than save-excursion.
3341 (2C-dissociate): Force a mode-line update.
3342 (2C-autoscroll): Use ignore-errors.
3343
099e7202
GM
3344 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3345 Autoload trivia.
3346
bf350d6a
GM
3347 * emacs-lisp/cl-extra.el (*random-state*):
3348 Remove unnecessary declaration.
3349
0e829eab
GM
3350 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3351
e3ad7552
GM
3352 * play/cookie1.el (cookie-snarf):
3353 Give an explicit error if input file cannot be read.
3354
68892d27
GM
3355 * play/yow.el (yow-file): Use expand-file-name rather than concat.
3356
20f0c46d
GM
3357 * progmodes/perl-mode.el (c-macro-expand):
3358 Remove unnecessary autoload (it is in loaddefs.el).
3359
5a0978ce
GM
3360 * textmodes/picture.el (picture-desired-column)
3361 (picture-update-desired-column): Convert comments to doc-strings.
3362 (picture-substitute): Remove function.
3363 (picture-mode-map): Initialize in the defvar.
3364
6b955486
GM
3365 * woman.el: Remove eval-after-load for tar-mode.
3366 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3367 (woman-tar-extract-file): Autoload it.
3368
94ee8db5
GM
3369 * frame.el (automatic-hscrolling): Make this alias obsolete.
3370
177eca34
AM
33712012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3372
3373 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 3374 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
3375 (ispell-dictionary-base-alist): Revert to original XEmacs
3376 friendly version for default. [:alpha:] will be added in
3377 `ispell-set-spellchecker-params' if needed
177eca34 3378
c505aaeb
CY
33792012-04-16 Chong Yidong <cyd@gnu.org>
3380
3381 * image.el (imagemagick--extension-regexp): New variable.
3382 (imagemagick-register-types): Use it.
3383 (imagemagick-types-inhibit): Add :set function. Allow new value
3384 of t to inhibit all types.
3385
3386 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
3387 so we can preload it.
3388
3389 * loadup.el (fboundp): Preload regexp-opt, needed by
3390 imagemagick-register-types.
3391
60efac0f
CY
33922012-04-15 Chong Yidong <cyd@gnu.org>
3393
3394 * frame.el (scrolling): Remove nearly unused customization group.
3395
3396 * scroll-all.el (scroll-all-mode): Move to windows group.
3397
5dd1713e
CY
33982012-04-15 Chong Yidong <cyd@gnu.org>
3399
3400 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
3401
e6fd457e
CY
34022012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3403
3404 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 3405 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 3406
e153c136
GM
34072012-04-15 Glenn Morris <rgm@gnu.org>
3408
3409 * simple.el (process-file-side-effects): Doc fix.
3410
e6fd457e 34112012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
3412
3413 * international/mule-cmds.el (set-language-environment): Doc fix.
3414
3603c3b1
JB
34152012-04-14 Juanma Barranquero <lekktu@gmail.com>
3416
3417 * server.el (server-auth-key, server-generate-key): Doc fixes.
3418 (server-get-auth-key): Doc fix. Use `string-match-p'.
3419 (server-start): Reflow docstring.
3420
e6de100c
LI
34212012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
3422
3423 * server.el (server-generate-key): `called-interactively-p'
3424 requires a parameter.
3425
29734c21
MN
34262012-04-14 Michal Nazarewicz <mina86@mina86.com>
3427
3428 * server.el (server-auth-key): New variable.
75f1671a 3429 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
3430 (server-start): Use the new variable and functions to allow
3431 setting a permanent server key (bug#9423).
3432
d65c9521
LL
34332012-04-14 Leo Liu <sdl.web@gmail.com>
3434
3435 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3436
5ae255c7
PE
34372012-04-14 Paul Eggert <eggert@cs.ucla.edu>
3438
3439 Spelling fixes.
3440 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3441 Emacs uses American spelling.
3442
d5e6342e
JB
34432012-04-14 Juanma Barranquero <lekktu@gmail.com>
3444
3445 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3446 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
3447 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3448 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
3449
ab036cd7
SM
34502012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3451
3452 * progmodes/which-func.el (which-func-modes): Change default.
3453
35dc09a1 34542012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
3455
3456 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3457 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3458
35dc09a1 34592012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
3460
3461 * custom.el (custom-theme-set-variables): Doc fix.
3462
35dc09a1 34632012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
3464
3465 * international/mule.el (set-auto-coding-for-load): Doc fix.
3466
35dc09a1 34672012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 3468
35dc09a1
GM
3469 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3470 imenu work again for Objective C Mode. Correct the *-index values,
3471 these having been disturbed by a previous change in 2011-08.
57f845ee 3472
0de3da9f
AM
3473 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3474 Correct two search limits.
3475
35dc09a1 34762012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
3477
3478 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3479
35dc09a1 34802012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
3481
3482 * international/characters.el: Fix sorting.
3483
35dc09a1 34842012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
3485
3486 * international/characters.el: Add more missing Latin case pairs.
3487
35dc09a1 34882012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
3489
3490 * files.el (dir-locals-set-class-variables): Doc fix.
3491
35dc09a1 34922012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 3493
3f1b5bf8
EZ
3494 * international/characters.el: Add set-case-syntax-pair call for
3495 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3496 counterpart. (Bug#11209)
3497
9f847f41
EZ
3498 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
3499
35dc09a1 35002012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
3501
3502 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3503
35dc09a1 35042012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 3505
35dc09a1
GM
3506 * textmodes/ispell.el (ispell-dictionary-base-alist):
3507 Add data for Hebrew.
e2627d21 3508
35dc09a1 35092012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 3510
35dc09a1
GM
3511 * net/rcirc.el (rcirc-cmd-quit):
3512 Revert 2012-03-18 change (Bug#11192).
5c14e333 3513
35dc09a1 35142012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
3515
3516 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3517
35dc09a1 35182012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 3519
4517fe3a
SM
3520 * minibuffer.el (completion-in-region-mode-map):
3521 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 3522
b472a594
VD
35232012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3524
3525 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3526
09b95ce3
MY
35272012-04-13 Masatake YAMATO <yamato@redhat.com>
3528
3529 * minibuffer.el (minibuffer-local-filename-syntax): New variable
3530 to allow `C-M-f' and `C-M-b' to move to the nearest path
3531 separator (bug#9511).
3532
4b63a9ca
LI
35332012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
3534
3535 * avoid.el: Require cl when compiling. And also move the
3536 `provide' to the end.
3537
7b55b8bf
TV
35382012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3539
3540 * avoid.el (mouse-avoidance-banish-position): New variable.
3541 (mouse-avoidance-banish-destination): Use it (bug#10165).
3542
adedaa1f
LL
35432012-04-13 Leo Liu <sdl.web@gmail.com>
3544
3545 * progmodes/which-func.el (which-func-modes): Add objc-mode.
3546
70e74021
KB
35472012-04-13 Ken Brown <kbrown@cornell.edu>
3548
3549 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 3550 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
3551 (browse-url-filename-alist): For the same reason, don't modify
3552 file:// URLs on Cygwin.
3553
e75e89ba
SM
35542012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3555
3556 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3557 the region on shift if the binding is already shifted (bug#11221).
3558
82f289a4
GM
35592012-04-12 Glenn Morris <rgm@gnu.org>
3560
3561 * mail/mailpost.el: Move to obsolete/.
3562
d333dc4c
DA
35632012-04-12 Drew Adams <drew.adams@oracle.com>
3564
3565 * imenu.el (imenu--generic-function): Ignore invisible definitions
3566 (bug#10123).
3567
0d15b5ba
VD
35682012-04-12 Vivek Dasmohapatra <vivek@etla.org>
3569
3570 * hexl.el (hexl-bits): New variable.
3571 (hexl-options): Mention the variable in the doc string.
75f1671a 3572 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 3573 (hexl-mode): Mention the new variable.
75f1671a
JB
3574 (hexl-mode, hexl-current-address, hexl-current-address):
3575 Use the displen.
0d15b5ba
VD
3576 (hexl-ascii-start-column): New function.
3577 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3578 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3579
64a440db
AM
35802012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3581
3582 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3583 '("-i" ENCODING), in 2 separate command-line arguments, to specify
3584 the encoding, as expected by hunspell.
3585
6decb6c2
SM
35862012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3587
3588 * battery.el (battery--linux-sysfs-regexp): New const.
3589 (battery-status-function): Use it. Remove yeeloong special case.
3590 (battery-yeeloong-sysfs): Remove.
3591 (battery-echo-area-format): Remove yeeloong special case.
3592
088be6fb
SM
35932012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3594
6622e416
SM
3595 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3596 Reported by Noah Friedman.
3597
088be6fb
SM
3598 * subr.el (read-passwd): Use read-string.
3599
b49f886e
LMI
36002012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3601
3602 * vcursor.el (vcursor-move): Increase the priority of the overlay
3603 (bug#9663).
3604
a63067fc
DD
36052012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3606
3607 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3608 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3609
ac3cf14a
WS
36102012-04-11 William Stevenson <yhvh2000@gmail.com>
3611
3612 * textmodes/artist.el (artist-mode): Convert artist-mode to use
3613 define-minor-mode (bug#10760).
3614
c4fc691b 36152012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 3616
4d6769e1 3617 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
3618 that directories matching `grep-find-ignored-files' won't be
3619 pruned (bug#10351).
3620
af23e2e5
CY
36212012-04-11 Chong Yidong <cyd@gnu.org>
3622
3623 * startup.el (command-line): Remove support for long-obsolete
3624 variable font-lock-face-attributes.
3625
ab7ce8c1
GM
36262012-04-11 Glenn Morris <rgm@gnu.org>
3627
3628 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
3629
de8c03dc
SM
36302012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3631
3632 * window.el (window--state-get-1): Obey window-point-insertion-type.
3633
050cc68b
LB
36342012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
3635
3636 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
3637 to previous function when point is on the first character of a
75f1671a 3638 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 3639
a38c310c
GM
36402012-04-11 Glenn Morris <rgm@gnu.org>
3641
effed0c2
GM
3642 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
3643 not just file-errors.
3644
a38c310c
GM
3645 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
3646 (vc-bzr-sha1): Use internal sha1.
3647
0221e323
SM
36482012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3649
3650 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
3651
43956923
SG
36522012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
3653
3654 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
3655 that start in the middle of the line (bug#10496).
3656
6a8c9eaf
DN
36572012-04-10 Dan Nicolaescu <dann@gnu.org>
3658
3659 * battery.el (battery-linux-proc-acpi): Only one battery is
3660 discharged at a time, but that seems to confuse battery.el when
3661 computing `rate-type' for the battery not being discharged
3662 (bug#10332).
3663
1930bf5d
SM
36642012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3665
2a718f6f
SM
3666 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
3667
599430d0
SM
3668 * international/quail.el: Use dolist and simplify.
3669 (quail-define-package, quail-update-keyboard-layout)
3670 (quail-define-rules): Use dolist.
3671 (quail-insert-kbd-layout, quail-get-translation): CSE.
3672
a2754b6c
SM
3673 * tmm.el: Use dolist, remove left over hook.
3674 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
3675 Use dolist.
3676 (calendar-load-hook): Don't mess with it.
3677
1930bf5d
SM
3678 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3679 Use derived-mode-p. Run the diff asynchronously.
3680
9f67961c
LMI
36812012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3682
3683 * obsolete/mouse-sel.el: Add an Obsolete-since header.
3684
2a8ce227
JB
36852012-04-10 Juanma Barranquero <lekktu@gmail.com>
3686
3687 * misc.el: Display absolute path of loaded DLLs (bug#10424).
3688 (list-dynamic-libraries--loaded): New function.
3689 (list-dynamic-libraries--refresh): Use it.
3690
8f33b5f8
NW
36912012-04-10 Nathan Weizenbaum <nweiz@google.com>
3692
1930bf5d
SM
3693 * progmodes/python.el (python-fill-paragraph):
3694 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
3695 disabled (bug#7018).
3696
b12f0439
L
36972012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
3698
1930bf5d 3699 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
3700 DOS/MS Windows for the Baltic languages. There are still plenty
3701 of texts written in this encoding/codepage (bug#6519).
b12f0439 3702
57c3bd01
GM
37032012-04-10 Glenn Morris <rgm@gnu.org>
3704
3705 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
3706 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
3707
6c3eab30
FA
37082012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
3709
1930bf5d 3710 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
3711 next-line "n" and previous-line "p" in order to make recentf more
3712 consistent with ibuffer, dired or org-mode (bug#9387).
3713
24d78a88
LMI
37142012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3715
bc72b5d9
LMI
3716 * image.el (put-image): Return the overlay created instead of the
3717 optional input string (bug#7834). Note that this may break code
3718 that is (for some reason or other) depending on `put-image'
3719 returning the string.
3720
bd2dba5a
LMI
3721 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3722
74beb59f
LMI
3723 * simple.el (zap-to-char): Allow zapping using input methods
3724 (bug#1580).
3725
24d78a88
LMI
3726 * textmodes/fill.el (fill-region): Leave point and mark where they
3727 were before filling (bug#5399).
3728
263f20cd
GM
37292012-04-09 Glenn Morris <rgm@gnu.org>
3730
3731 * version.el (emacs-bzr-get-version):
3732 Handle lightweight checkouts of local branches.
3733
58d1f797
AS
37342012-04-09 Andreas Schwab <schwab@linux-m68k.org>
3735
263f20cd 3736 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 3737
b4d3bc10
CY
37382012-04-09 Chong Yidong <cyd@gnu.org>
3739
3740 * custom.el (custom-variable-p): Return nil for non-symbol
3741 arguments instead of signaling an error.
3742 (user-variable-p): Obsolete alias for custom-variable-p.
3743
3744 * apropos.el (apropos-variable):
3745 * files-x.el (read-file-local-variable):
3746 * simple.el (set-variable):
3747 * woman.el (woman-mini-help):
3748 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3749
fd06db5d
GM
37502012-04-09 Glenn Morris <rgm@gnu.org>
3751
e5fcdb5e
GM
3752 * startup.el (normal-top-level): Don't look for leim-list.el
3753 in places where it will not be found. (Bug#910)
3754
fd06db5d
GM
3755 * international/mule-cmds.el (set-default-coding-systems):
3756 * files.el (normal-mode):
3757 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3758 This function was removed with ucs-tables.el in 2008.
3759
b39bb7e1
EZ
37602012-04-08 Eli Zaretskii <eliz@gnu.org>
3761
3762 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3763 ispell-encoding8-command to "-i", without a trailing space.
3764 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3765 separate command-line arguments, to specify the encoding, since
3766 that's how hunspell expects it.
3767
5c5b8e23
GM
37682012-04-08 Glenn Morris <rgm@gnu.org>
3769
3770 * loadup.el: Load bindings before cus-start.
3771 This reduces somewhat the number of "rogue" settings in emacs -Q.
3772
a1ed8b05
GM
37732012-04-07 Glenn Morris <rgm@gnu.org>
3774
3775 * version.el (emacs-bzr-get-version): New function.
dfae128a 3776 (emacs-bzr-version): New variable.
a1ed8b05
GM
3777 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3778 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3779
b142f158
EZ
37802012-04-07 Eli Zaretskii <eliz@gnu.org>
3781
dfae128a
GM
3782 * international/uni-bidi.el, international/uni-category.el:
3783 * international/uni-combining.el, international/uni-decimal.el:
3784 * international/uni-decomposition.el, international/uni-digit.el:
3785 * international/uni-lowercase.el, international/uni-mirrored.el:
3786 * international/uni-name.el, international/uni-numeric.el:
3787 * international/uni-titlecase.el, international/uni-uppercase.el:
3788 Update for Unicode 6.1.
b142f158 3789
9078ead6
EZ
37902012-04-07 Eli Zaretskii <eliz@gnu.org>
3791
3792 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3793
f23d2c7d
LMI
37942012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3795
3796 * window.el (shrink-window): Mention the `window-min-height'
3797 variable in the doc string.
3798
0a0a3573
BG
37992012-04-05 Bastien Guerry <bzg@altern.org>
3800
3801 * color.el (color-lighten-name): Fix typo.
3802
e5248ac9
SM
38032012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3804
3805 * server.el (server--on-display-p): New function.
3806 (server--on-display-p): Use it.
3807
b4243e22
GV
38082012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3809
3810 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3811 (bug#11145).
3812
305d9f44
SM
38132012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3814
3815 * comint.el (comint--common-quoted-suffix): Check string boundary
3816 before comparing (bug#11158).
3817 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3818
3d439cd1
CY
38192012-04-04 Chong Yidong <cyd@gnu.org>
3820
321cc491
CY
3821 * minibuffer.el (completion-extra-properties): Doc fix.
3822
3d439cd1
CY
3823 * subr.el (delayed-warnings-hook): Doc fix.
3824
2d562c0f
DU
38252012-04-04 Daiki Ueno <ueno@unixuser.org>
3826
3827 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3828 selection (Bug#11159).
3829 (epa-insert-keys): Inform that the default public key will be
3830 exported if no key is selected.
3831
4443f204
RS
38322012-04-04 Richard Stallman <rms@gnu.org>
3833
3834 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3835
529c06b6
CY
38362012-04-03 Chong Yidong <cyd@gnu.org>
3837
3838 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3839 mail-insert-file, not its obsolete alias mail-attach-file.
3840
66b907dc
MA
38412012-04-03 Michael Albinus <michael.albinus@gmx.de>
3842
3843 * notifications.el (notifications-notify): Fix docstring.
3844
c0ea195d
GM
38452012-04-02 Glenn Morris <rgm@gnu.org>
3846
3847 * emacs-lisp/authors.el (authors-aliases): Another addition.
3848
5ca64e00
MA
38492012-04-02 Michael Albinus <michael.albinus@gmx.de>
3850
3851 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3852 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3853 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3854
42ee526b
CY
38552012-04-01 Chong Yidong <cyd@gnu.org>
3856
3857 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3858 Handle root directory properly.
3859 (copy-directory): Caller changed.
3860
3861 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3862 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3863
0b021094
GM
38642012-03-31 Glenn Morris <rgm@gnu.org>
3865
40f86458
GM
3866 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3867
7019c177
GM
3868 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3869
a1daddd6
GM
3870 * calendar/calendar.el (calendar-window-list)
3871 (calendar-hide-window): Restore. (Bug#11140)
3872 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3873
0b021094
GM
3874 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3875
40311efc
TV
38762012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3877
3878 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3879 Check if file is a symlink (Bug#10489).
3880
3881 * files.el (copy-directory): Likewise.
3882
5319014e
CY
38832012-03-30 Chong Yidong <cyd@gnu.org>
3884
3885 * image.el (imagemagick-types-inhibit)
3886 (imagemagick-register-types): Doc fix.
3887
935d1290
AM
38882012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3889
ef24141c
SM
3890 * ispell.el (ispell-get-extended-character-mode):
3891 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 3892 and treats ~word as ordinary words in pipe mode.
935d1290 3893
61c6e8fd
GM
38942012-03-30 Glenn Morris <rgm@gnu.org>
3895
3896 * tutorial.el (help-with-tutorial): Ensure local variables don't
3897 happen to make the buffer read-only. (Bug#11127)
3898
81fdff00
SM
38992012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3900
3901 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3902 (perl-calculate-indent): Return `noindent' in strings.
3903
6e7a6ec0
SS
39042012-03-28 Sam Steingold <sds@gnu.org>
3905
3906 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3907 instead of the broken adhockery which does not prevent calendar
3908 buffers from being displayed at random after exit.
3909 (calendar-window-list, calendar-hide-window): Remove the broken
3910 adhockery.
3911
fee88ca0
GM
39122012-03-28 Glenn Morris <rgm@gnu.org>
3913
3914 * replace.el (query-replace-map): Doc fix.
3915
38de3354
AS
39162012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3917
3918 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3919 contents. (Bug#11109)
3920
b973155e
SM
39212012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3922
3923 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3924 (bug#11077).
3925 (avl-tree--check, avl-tree--check-node): New funs.
3926
dcb6e7b3
MR
39272012-03-27 Martin Rudalics <rudalics@gmx.at>
3928
3929 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
3930 (switch-to-prev-buffer, switch-to-next-buffer):
3931 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
3932 showing a buffer already is done on the same frame.
3933
b4fa35fa
GM
39342012-03-27 Glenn Morris <rgm@gnu.org>
3935
3936 * startup.el (mail-host-address): Doc fix.
3937
f9210e18
SM
39382012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3939
3940 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3941 than 197 variables.
3942
c0bf7753
AF
39432012-03-26 Ami Fischman <ami@fischman.org>
3944
3945 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3946
33da7b16
GM
39472012-03-26 Glenn Morris <rgm@gnu.org>
3948
02243d9d
GM
3949 * files.el (save-buffers-kill-emacs): Doc fix.
3950
33da7b16
GM
3951 * startup.el (normal-top-level, command-line, command-line-1):
3952 Give them doc strings.
3953
e5a69fd0
EZ
39542012-03-25 Eli Zaretskii <eliz@gnu.org>
3955
3956 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 3957 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 3958
9a69676a
CY
39592012-03-25 Chong Yidong <cyd@gnu.org>
3960
4125cb8b
CY
3961 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3962 theme if it was previously enabled before (Bug#11031).
3963
dd470960
CY
3964 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3965 spec with custom-face-get-current-spec if its :shown-value is not
3966 determined yet (Bug#9337).
4125cb8b 3967 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 3968
9a69676a
CY
3969 * button.el (button-at): Minor addition to docstring.
3970
6e7e90fa
SL
39712012-03-24 Simon Leinen <simon.leinen@gmail.com>
3972
3973 * vc/vc.el (vc-merge): Fix a prompt.
3974
f06e2758
CY
39752012-03-24 Chong Yidong <cyd@gnu.org>
3976
3977 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3978 point (Bug#9623).
3979
6e7e90fa
SL
3980 * button.el (button-at): Minor addition to docstring.
3981
b9d0879b
SM
39822012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3983
3984 * newcomment.el (comment-choose-indent): No space after BOL.
3985
e71cebb3
SS
39862012-03-22 Sam Steingold <sds@gnu.org>
3987
3988 * window.el (switch-to-prev-buffer): Revert last patch because the
3989 bug turned out to be an advertised feature (Elisp manual 28.14).
3990
335aff35
GM
39912012-03-22 Glenn Morris <rgm@gnu.org>
3992
3993 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3994 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3995
c676576a
LMI
39962012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3997
3998 * net/network-stream.el (network-stream-open-starttls): Make error
3999 message under Windows be less misleading.
4000
126f3d39
LW
40012012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
4002
4003 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
4004 understands (bug#9942).
4005
64fee311
CY
40062012-03-22 Chong Yidong <cyd@gnu.org>
4007
4008 * simple.el (end-of-visible-line): Handle return value of
4009 next-single-property-change properly (Bug#9371).
4010
a640d29a
KH
40112012-03-22 Kenichi Handa <handa@m17n.org>
4012
4013 * international/quail.el (quail-insert-kbd-layout): Fix previous
4014 change. To avoid unwanted bidi reordering, use
4015 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
4016
39675016
DG
40172012-03-21 Dmitry Gutov <dgutov@yandex.ru>
4018
4019 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
4020 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
4021 (ruby-beginning-of-indent): Be more careful with the difference
4022 between word-boundary and symbol boundary.
4023 (ruby-mode-syntax-table): Make : a symbol constituent.
4024
0a6934fc 40252012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 4026
3d008e4f
SM
4027 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
4028
0a6934fc
SM
40292012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4030
af67c9d7
SM
4031 * progmodes/etags.el (tags-completion-at-point-function):
4032 Improve last fix.
4033
1acad97c
SM
4034 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
4035
e298b5da
SS
40362012-03-21 Sam Steingold <sds@gnu.org>
4037
4038 * progmodes/etags.el (tags-completion-at-point-function):
4039 Avoid the error when point is inside the pattern.
4040
91d82a70
JY
40412012-03-21 John Yates <john@yates-sheets.org> (tiny change)
4042
4043 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
4044 line (Bug#10855).
4045
69188b79
CY
40462012-03-21 Drew Adams <drew.adams@oracle.com>
4047
4048 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
4049
99fc91fe
AK
40502012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
4051
4052 * ido.el (ido-set-current-directory, ido-read-internal)
4053 (ido-choose-completion-string, ido-completion-help): Handle nil
4054 value of ido-completion-buffer (Bug#11008).
4055
087bbb4c
SS
40562012-03-21 Sam Steingold <sds@gnu.org>
4057
4058 * window.el (switch-to-prev-buffer): Do not switch to a visible
4059 window previous buffer, just like with the frame previous buffers.
4060
fb5b8aca
CY
40612012-03-21 Chong Yidong <cyd@gnu.org>
4062
4063 * faces.el (make-face, make-empty-face, copy-face):
4064 * face-remap.el (face-remap-add-relative, face-remap-set-base):
4065 Doc fixes.
4066
dc9924b8
SM
40672012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4068
4069 * wid-edit.el (widget-complete-field): Remove (bug#11051).
4070 (widget-complete): Remove broken use of it.
4071
f0bcceb9
CY
40722012-03-20 Chong Yidong <cyd@gnu.org>
4073
dc9924b8
SM
4074 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4075 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
4076 characters.
4077
ee52ebf3
TH
40782012-03-20 Tassilo Horn <tassilo@member.fsf.org>
4079
4080 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
4081 to draw rectangles, not squares. (Regression introduced by revno
4082 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
4083
4c5779ab
CY
40842012-03-18 Chong Yidong <cyd@gnu.org>
4085
4086 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
4087 it is not yet defined (for temacs).
4088
15360934
LL
40892012-03-18 Leo Liu <sdl.web@gmail.com>
4090
dc9924b8 4091 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 4092
d9a8eb66
EZ
40932012-03-17 Eli Zaretskii <eliz@gnu.org>
4094
4095 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
4096 (ispell-choices-win-default-height, ispell-silently-savep)
4097 (ispell-dictionary-alist, ispell-encoding8-command)
4098 (ispell-check-version, ispell-aspell-find-dictionary)
4099 (ispell-valid-dictionary-list, ispell-words-keyword)
4100 (ispell-get-word, ispell-internal-change-dictionary)
4101 (ispell-region, ispell-skip-region-list)
4102 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
4103 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
4104 (ispell-message-text-end, ispell-message)
4105 (ispell-buffer-local-parsing): Doc fix.
4106
f02ff80d
J
41072012-03-13 Jambunathan K <kjambunathan@gmail.com>
4108
4109 * htmlfontify.el: Add support for code block fontification for ODT
4110 export (Bug #9914).
4111 (hfy-optimisations): Define new option
4112 `body-text-only'
4113 (hfy-fontify-buffer): Honor above setting.
4114 (hfy-begin-span, hfy-end-span): New routines factored out form
4115 `hfy-fontify-buffer'.
4116 (hfy-begin-span-handler, hfy-end-span-handler): New variables
4117 that permit insertion of custom tags.
4118 (hfy-fontify-buffer): Use above handlers.
4119 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
4120 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 4121 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 4122 over multiple runs. This is made possible by having the caller let
f02ff80d
J
4123 bind a special variable `hfy-user-sheet-assoc'.
4124 (htmlfontify-string): New defun.
4125 (hfy-compile-face-map): Make sure that the last char in the
4126 buffer is correctly fontified.
4127 (hfy-face-resolve-face): Whitespace only change.
4128
9ac7a13f
EZ
41292012-03-17 Eli Zaretskii <eliz@gnu.org>
4130
4131 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
4132 message more clear.
4133
e2b5bdd7
LL
41342012-03-16 Leo Liu <sdl.web@gmail.com>
4135
4136 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
4137
2e492df3
AM
41382012-03-16 Alan Mackenzie <acm@muc.de>
4139
4140 Further optimise the handling of large macros.
4141
4142 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
4143 limit to a call of `c-literal-limits'.
4144 (c-determine-+ve-limit): New function.
dc9924b8
SM
4145 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
4146 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
4147 In CASE 5B, restrict a search limit to 500.
4148 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
4149
4150 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
4151 Restrict macro bounds to +-500 from after-change's BEG END.
4152
50e94f0c
LL
41532012-03-16 Leo Liu <sdl.web@gmail.com>
4154
4155 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4156
6f09f6ed
AH
41572012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
4158
4159 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 4160 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 4161
c7e73d51
GM
41622012-03-16 Glenn Morris <rgm@gnu.org>
4163
da986230
GM
4164 * view.el (view-buffer, view-buffer-other-window)
4165 (view-buffer-other-frame): Doc fixes re special mode-class.
4166
0835f01e
GM
4167 * subr.el (eval-after-load): If named feature is provided not from
4168 a file, run after-load forms. (Bug#10946)
4169
c7e73d51
GM
4170 * calendar/calendar.el (calendar-insert-at-column):
4171 Handle non-unit-width characters a bit better. (Bug#10978)
4172
3f2eafd1
CY
41732012-03-15 Chong Yidong <cyd@gnu.org>
4174
4175 * emacs-lisp/ring.el (ring-extend): New function.
4176 (ring-insert+extend): Extend the ring correctly (Bug#11019).
4177
4178 * comint.el (comint-read-input-ring)
4179 (comint-add-to-input-history): Grow comint-input-ring lazily.
4180
103af3fe
SM
41812012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4182
663b1677
SM
4183 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4184 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4185
103af3fe
SM
4186 * imenu.el: Fix multiple inheritance breakage (bug#9199).
4187 (imenu-add-to-menubar): Don't add a redundant index.
4188 (imenu-update-menubar): Handle a dynamically composed keymap.
4189
899cb7cb
KY
41902012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
4191
4192 * mail/sendmail.el (mail-encode-header):
4193 Bind rfc2047-encode-encoded-words to nil.
4194
3809f91d
GM
41952012-03-13 Glenn Morris <rgm@gnu.org>
4196
4197 * calendar/calendar.el (calendar-string-spread):
4198 Handle non-unit-width characters a bit better. (Bug#10978)
4199
9e345a01
LL
42002012-03-13 Leo Liu <sdl.web@gmail.com>
4201
4202 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4203 directory and file as argument (Bug#10822).
4204
4a07df36
KS
42052012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4206
4207 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4208 For dynamically generated code, follow $PC.
4209 (gdb-disassembly-handler-custom): Handle no function name case.
4210
4aaa9356
TL
42112012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
4212
4213 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4214 * emulation/ws-mode.el (ws-query-replace):
4215 * sort.el (sort-regexp-fields):
4216 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
4217
225979da
SM
42182012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4219
4220 * dabbrev.el: Fix cycle completion order (bug#10963).
4221 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4222 (dabbrev-completion): Don't use an obarray; provide
4223 a cycle-sort-function.
4224
e2f1fdab
LL
42252012-03-12 Leo Liu <sdl.web@gmail.com>
4226
dc9924b8 4227 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
4228 (kill-do-not-save-duplicates): Doc fix.
4229
b19490ed
SM
42302012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4231
4232 * dabbrev.el: Fix cycle completion (bug#10963).
4233 Use lexical binding and wrap to 80 columns.
4234 (dabbrev-completion): Delay computing the list of completions.
4235
4b05d722
KH
42362012-03-12 Kenichi Handa <handa@m17n.org>
4237
4238 * international/quail.el (quail-insert-kbd-layout): Surround each
4239 row by LRO and PDF instead of inserting many LRMs. Pad the left
4240 and right of each non-spacing marks. Insert invisible space
4241 between lower and upper characters to prevent composition.
4242
dbbc2e69
SM
42432012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4244
4245 * minibuffer.el (minibuffer-complete): Don't get confused when the
4246 function is run twice via different commands (bug#10958).
4247 (complete-with-action): Fix docstring.
4248
292112ed
CY
42492012-03-12 Chong Yidong <cyd@gnu.org>
4250
5d1ac394
CY
4251 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4252 (nxml-completion-at-point-function): New function.
4253 (nxml-mode): Use it.
4254 (nxml-bind-meta-tab-to-complete-flag): Default to t.
4255
292112ed
CY
4256 * emacs-lisp/package.el (package-unpack, package-unpack-single):
4257 Load generated autoloads file before byte compiling (Bug#10970).
4258 (package--make-autoloads-and-compile): New helper fun.
4259
4098f8f7
CS
42602012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
4261
4262 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4263
8f754691
MA
42642012-03-11 Michael Albinus <michael.albinus@gmx.de>
4265
4266 * autorevert.el (auto-revert-handler): Ensure, that
4267 file-readable-p is applied only for local files or in
4268 auto-revert-tail-mode.
4269
e29ab36b
AS
42702012-03-11 Andreas Schwab <schwab@linux-m68k.org>
4271
dbbc2e69
SM
4272 * server.el (server-eval-at): Handle non-tcp connections.
4273 Decode result string.
ad0bf5b6 4274
e29ab36b
AS
4275 * server.el (server-msg-size): New constant.
4276 (server-reply-print): New function.
4277 (server-eval-and-print): Use it.
4278 (server-eval-at): Use server-quote-arg and server-unquote-arg.
4279 Handle -print-nonl.
4280
de5939ba
CS
42812012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
4282
4283 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4284 (Bug#10987).
4285
0c93eabf
CY
42862012-03-11 Chong Yidong <cyd@gnu.org>
4287
397a688f
CY
4288 * simple.el (goto-line): Doc fix (Bug#9938).
4289
2cc775f9
CY
4290 * subr.el (save-window-excursion): Doc fix (Bug#9979).
4291
0c93eabf
CY
4292 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4293 when finished (Bug#10963).
4294
c491fa41
MR
42952012-03-11 Martin Rudalics <rudalics@gmx.at>
4296
4297 * window.el (split-window-below): Fix bug in case where
4298 split-window-keep-point is nil (Bug#10971).
4299
300e8fa5
JL
43002012-03-11 Juri Linkov <juri@jurta.org>
4301
4302 * replace.el (replace-highlight): Set isearch-word to nil
4303 unconditionally. (Bug#10887)
4304
dbf6c5a1
EZ
43052012-03-10 Eli Zaretskii <eliz@gnu.org>
4306
4307 * net/mairix.el (mairix-replace-invalid-chars): Rename from
4308 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 4309 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
4310 (mairix-widget-create-query): Add usage information about mairix
4311 search forms: negating words, searching for substrings, etc.
4312
b9e501de
JP
43132012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
4314
4315 * international/fontset.el (font-encoding-alist): Add an entry for
4316 ksx1001 (Bug#5667).
4317
92795c91
RS
43182012-03-10 Richard Stallman <rms@gnu.org>
4319
1694e6c1
RS
4320 * mail/sendmail.el (mail-encode-header):
4321 Set rfc2047-encode-encoded-words.
4322
607e8555
RS
4323 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4324
de3bc99a
RS
4325 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4326 view buffer means not swapped.
4327 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4328 (rmail-write-region-annotate): Error if real text has disappeared.
4329
92795c91
RS
4330 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4331
699bd04e
CY
43322012-03-10 Chong Yidong <cyd@gnu.org>
4333
4334 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
4335 * emulation/cua-base.el (cua--init-keymaps):
4336 Add delete-forward-char to remappings (Bug#9666).
699bd04e 4337
570a1714
MR
43382012-03-10 Martin Rudalics <rudalics@gmx.at>
4339
dbbc2e69
SM
4340 * speedbar.el (speedbar-unhighlight-one-tag-line):
4341 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 4342
82dcf4e4
CY
43432012-03-10 Chong Yidong <cyd@gnu.org>
4344
7a2c7ca7
CY
4345 * minibuffer.el (completion-in-region, completion-help-at-point):
4346 Give the completion field overlay a high priority (Bug#6830).
4347
82dcf4e4
CY
4348 * dired.el (dired-goto-file): Recognize absolute file name
4349 listings (Bug#7126).
4350 (dired-goto-file-1): New helper function.
4351 (dired-toggle-read-only): Inhibit warnings.
4352
052e28ac
MA
43532012-03-09 Michael Albinus <michael.albinus@gmx.de>
4354
75f1671a 4355 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
4356 there are no properties.
4357
95d5e396
LL
43582012-03-09 Leo Liu <sdl.web@gmail.com>
4359
4360 * savehist.el (savehist-printable): Stricter check for string
4361 value (Bug#10937).
4362
3f018d6d
EZ
43632012-03-09 Eli Zaretskii <eliz@gnu.org>
4364
dbbc2e69
SM
4365 * mail/smtpmail.el (smtpmail-send-it):
4366 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
4367 valid mbox format.
4368
f7fd3d79
GM
43692012-03-09 Glenn Morris <rgm@gnu.org>
4370
4371 * files.el (dir-locals-find-file):
4372 Don't check result is regular, readable.
4373 (dir-locals-read-from-file): Demote errors.
4374
6ff6e72f
EZ
43752012-03-08 Eli Zaretskii <eliz@gnu.org>
4376
dbbc2e69
SM
4377 * international/quail.el (quail-insert-kbd-layout):
4378 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
4379 layout cell, to prevent their reordering by bidi display engine.
4380 For details, see the discussion in
4381 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4382
9cec7834
AM
43832012-03-08 Alan Mackenzie <acm@muc.de>
4384
4385 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
4386 the starting position; make it extend the marked region when
4387 invoked repeatedly - all under appropriate circumstances.
4388 Fixes bugs #5525, #10906.
4389
9a40b8d4
GM
43902012-03-08 Glenn Morris <rgm@gnu.org>
4391
4392 * files.el (locate-dominating-file, dir-locals-find-file):
4393 Undo 2012-03-06 change.
4394
7a08ed35
EZ
43952012-03-07 Eli Zaretskii <eliz@gnu.org>
4396
dbbc2e69
SM
4397 * international/quail.el (quail-help):
4398 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
4399 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
4400 for the reason.
4401
5aca4f71 44022012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
4403
4404 Avoid superfluous registering of signals. (Bug#10807)
4405
4406 * notifications.el (notifications-on-action-object)
4407 (notifications-on-close-object): New defvars.
4408 (notifications-on-action-signal, notifications-on-closed-signal):
4409 Unregister the signal if not needed any longer.
4410 (notifications-notify): Register `notifications-action-signal' or
4411 `notifications-closed-signal', if :on-action or :on-close has been
4412 passed as argument.
4413
78e8b10a
CY
44142012-03-07 Chong Yidong <cyd@gnu.org>
4415
4416 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4417 non-X platforms.
4418
69481eb8
GM
44192012-03-06 Glenn Morris <rgm@gnu.org>
4420
4421 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4422 (x-disown-selection-internal, x-get-selection-internal):
4423 Doc fix (add arglist signatures). (Bug#10783)
4424
133b8e11
KS
44252012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4426
4427 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4428 Handle breakpoints with no "type".
4429
99a83064
GM
44302012-03-06 Glenn Morris <rgm@gnu.org>
4431
4432 * files.el (locate-dominating-file): Add optional predicate argument.
4433 (dir-locals-find-file): Make use of above change.
4434
17798e78
TTN
44352012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
4436
4437 * info.el (Info-insert-dir): Also try "dir.gz".
4438
eb182446
GM
44392012-03-06 Glenn Morris <rgm@gnu.org>
4440
8f2114ee
GM
4441 * files.el (dir-locals-find-file):
4442 Ignore non-readable or non-regular files. (Bug#10928)
4443
eb182446
GM
4444 * files.el (locate-dominating-file): Doc fix.
4445
24679323
AS
44462012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
4447
4448 * calendar/calendar.el (calendar-set-mode-line):
4449 `getenv' returns a string. (Bug#10951)
4450
01d972a9
LL
44512012-03-05 Leo Liu <sdl.web@gmail.com>
4452
109aa8a9
LL
4453 * simple.el (backward-delete-char-untabify): Constrain point to
4454 field (Bug#10939).
4455
01d972a9
LL
4456 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4457
10607bea
CY
44582012-03-05 Chong Yidong <cyd@gnu.org>
4459
4460 * simple.el (count-words): If called from Lisp, return the word
4461 count, for symmetry with `count-lines'. Arglist changed.
4462 (count-words--message): Args changed. Consolidate counting code
4463 from count-words and count-words-region.
4464 (count-words-region): Caller changed.
4465 (count-lines-region): Make it an obsolete alias.
4466
5dd11cfe
TH
44672012-03-04 Tassilo Horn <tassilo@member.fsf.org>
4468
4469 * saveplace.el (save-place-to-alist)
4470 (save-place-ignore-files-regexp): Allow value nil to disable this
4471 feature.
4472
c349f4e6
CY
44732012-03-04 Chong Yidong <cyd@gnu.org>
4474
4475 * faces.el (face-spec-reset-face): For the default face, reset the
4476 attributes to default values (Bug#10748).
4477
e627be4c
LMI
44782012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4479
4480 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4481 previous patch: Check `message-send-mail-function', and not the
4482 default function (bug#10897).
4483
ebeabff4
MA
44842012-03-04 Michael Albinus <michael.albinus@gmx.de>
4485
a41a6cf4
MA
4486 * notifications.el (notifications-on-action-signal)
4487 (notifications-on-closed-signal): Check for unique service name of
4488 incoming event. Fix error in removing entry.
ebeabff4 4489 (top): Register for signals with wildcard service name.
a41a6cf4 4490 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 4491
c1ca42b4
CY
44922012-03-04 Chong Yidong <cyd@gnu.org>
4493
dc9924b8 4494 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 4495
ea16568d
GM
44962012-03-04 Glenn Morris <rgm@gnu.org>
4497
4498 * abbrev.el (copy-abbrev-table, abbrev-table-p)
4499 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4500 (expand-abbrev, define-abbrev-table): Doc fixes.
4501
fbae4637
LMI
45022012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4503
4504 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4505 `message-default-send-mail-function' and not `send-mail-function'
4506 when doing the prompting for `sendmail-query-once' before sending
4507 in Message buffers (bug#10897).
4508
a1e7225c
LMI
4509 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4510 This is inconsistent with all the other stream functions, which leave
4511 the setting up to the higher levels (if so wanted) (bug#10931).
4512
56d093a9
AM
45132012-03-02 Alan Mackenzie <acm@muc.de>
4514
4515 Depessimize the handling of very large macros.
4516
4517 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4518 (c-macro-cache-syntactic): New variables to implement a one
4519 element macro cache.
4520 (c-invalidate-macro-cache): New function.
4521 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4522 Adapt to use the new cache.
4523 (c-state-safe-place): Use better the cache of safe positions.
4524 (c-state-semi-nonlit-pos-cache)
4525 (c-state-semi-nonlit-pos-cache-limit):
4526 New variables for...
4527 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
4528 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
4529 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4530 Use c-state-semi-safe-place.
56d093a9 4531
dbbc2e69
SM
4532 * progmodes/cc-langs.el (c-get-state-before-change-functions):
4533 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 4534
817e5c3d
MA
45352012-03-02 Michael Albinus <michael.albinus@gmx.de>
4536
dbbc2e69
SM
4537 * jka-compr.el (jka-compr-call-process):
4538 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
4539 not remote.
4540
a032a702
MA
45412012-03-01 Michael Albinus <michael.albinus@gmx.de>
4542
4543 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
4544 access of FILE2, if FILE1 does not exist.
4545
99a54f21
MA
4546 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4547 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4548
4549 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4550 Add "PAGER=" to `process-environment'.
4551
f6561e1f
MM
45522012-03-01 Michael R. Mauger <mmaug@yahoo.com>
4553
4554 * progmodes/sql.el: Bug fix
4555 (sql-get-login-ext): Save login values in globals.
4556 (sql-get-login): Use new version of `sql-get-login-ext'.
4557 (sql-interactive-mode): Set global `sql-connection' to nil.
4558 (sql-connect): Set global values for connection.
4559 (sql-product-interactive): Save global values as buffer local.
4560
2d44d9cc
LL
45612012-02-29 Leo Liu <sdl.web@gmail.com>
4562
4563 * abbrev.el (define-abbrevs): Reset sys to nil.
4564
96b49301 45652012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4566
bf7f9bc5
JB
4567 * files.el (file-equal-p): Rename from `files-equal-p'.
4568 Return nil when one or both files don't exist.
96b49301 4569 (file-subdir-of-p): Now only top directory must exists,
4570 return nil if it doesn't.
bf7f9bc5
JB
4571 (copy-directory): No need to test with `file-subdir-of-p' after
4572 creating dir.
4573 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4574 to `file-equal-p'.
96b49301 4575
44e97401
GM
45762012-02-28 Glenn Morris <rgm@gnu.org>
4577
4578 * shell.el (shell-mode):
4579 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4580 * play/landmark.el (landmark-font-lock-face-O):
4581 * play/handwrite.el (handwrite):
4582 * play/gomoku.el (gomoku-O):
4583 * net/browse-url.el (browse-url-browser-display):
4584 * international/mule.el (define-charset):
4585 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4586 * filesets.el (filesets-find-file-delay):
4587 * eshell/em-xtra.el (eshell-xtra):
4588 * eshell/em-unix.el (eshell-grep):
4589 * emulation/viper.el (viper-mode):
4590 * emacs-lisp/regexp-opt.el (regexp-opt-group):
4591 * emacs-lisp/easymenu.el (easy-menu-define):
4592 * calendar/timeclock.el (timeclock-use-display-time):
4593 * bs.el (bs-mode):
4594 * bookmark.el (bookmark-save-flag):
4595 Doc fix (standardize possessive apostrophe usage).
4596
c98c6276
CY
45972012-02-27 Chong Yidong <cyd@gnu.org>
4598
bf7f9bc5
JB
4599 * emulation/viper-cmd.el (viper-intercept-ESC-key):
4600 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 4601
c98c6276
CY
4602 * font-lock.el (font-lock-specified-p): Rename from
4603 font-lock-spec-present. Callers changed.
4604
9c62cd04 46052012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 4606
bf7f9bc5
JB
4607 * emacs-lisp/package.el (package-compute-transaction):
4608 Handle holding a package version to t in package-load-list.
8ac9e529 4609
530739c9
MA
46102012-02-26 Michael Albinus <michael.albinus@gmx.de>
4611
4612 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4613 (tramp-get-inode, tramp-get-device): Use cached values.
4614
487915d7
AM
46152012-02-26 Alan Mackenzie <acm@muc.de>
4616
4617 Check there is a font-lock specification before doing initial
4618 fontification.
4619
4620 * font-core.el (font-lock-mode): Move the conditional from
4621 :after-hook to font-lock-initial-fontify.
4622 (font-lock-default-function): Move the check for a specification
4623 to font-lock-spec-present.
4624
dc9924b8 4625 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
4626 (font-lock-spec-present): New function.
4627
4fd96557
JB
46282012-02-26 Jim Blandy <jimb@red-bean.com>
4629
4630 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4631 (gdb-send): Apply it to the operand of the '-interpreter-exec
4632 console' command, so that we can pass arguments with (say) quotes
4633 in them. Store exact string sent in gdb-debug-log (Bug#10765).
4634
9a4888c0
CY
46352012-02-26 Chong Yidong <cyd@gnu.org>
4636
07498861
CY
4637 * help-fns.el (describe-function-1): Clarify description of
4638 remapping (Bug#10844).
4639
9a4888c0
CY
4640 * files.el (files-equal-p): Doc fix.
4641 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
4642 and quit the loop once a mismatch is found.
4643
ea8fb88d
JB
46442012-02-25 Juanma Barranquero <lekktu@gmail.com>
4645
4646 * bs.el (bs--show-with-configuration): Don't throw an error
4647 if the window cannot be split; otherwise, subsequent calls to
4648 bs-show fail, restoring a stale window config. (Bug#10882)
4649
525795c1
JD
46502012-02-25 Jan Djärv <jan.h.d@swipnet.se>
4651
4652 * term/ns-win.el (global-map): Bind ns-drag-file to
4653 ns-find-file (Bug#5855, Bug#10050).
4654
f008086f
AS
46552012-02-25 Andreas Schwab <schwab@linux-m68k.org>
4656
4657 * calendar/parse-time.el (parse-time-string): Allow extractor to
4658 return nil.
4659
a3fcfa99
MA
46602012-02-25 Michael Albinus <michael.albinus@gmx.de>
4661
91027d08
JB
4662 * net/tramp.el (tramp-file-name-for-operation):
4663 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
4664
4665 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
4666 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4667 Add COPY-CONTENTS argument.
a3fcfa99 4668
67b0de11
CY
46692012-02-25 Chong Yidong <cyd@gnu.org>
4670
4671 Add custom groups for VC backends, for consistency with vc-bzr.
4672
4673 * vc/vc-arch.el (vc-arch):
4674 * vc/vc-cvs.el (vc-cvs):
4675 * vc/vc-git.el (vc-git):
4676 * vc/vc-hg.el (vc-hg):
4677 * vc/vc-mtn.el (vc-mtn):
4678 * vc/vc-rcs.el (vc-rcs):
4679 * vc/vc-sccs.el (vc-sccs):
4680 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
4681 All relevant defcustoms reassigned.
4682
3c9dfce6
CY
46832012-02-25 Chong Yidong <cyd@gnu.org>
4684
1339bf43
CY
4685 * newcomment.el (comment-styles): Add autoload (Bug#10868).
4686
3c9dfce6
CY
4687 * term/x-win.el (x-initialize-window-system): Reduce default for
4688 x-selection-timeout to 5 seconds (Bug#8869).
4689
25b2e303 46902012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4691
ec70a47d
GM
4692 * files.el (files-equal-p, file-subdir-of-p): New functions.
4693 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 4694 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
4695 * dired-aux.el (dired-copy-file-recursive): Same.
4696 (dired-create-files): Modify destination when source is equal to
4697 dest when copying files.
53a46cd0 4698 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 4699
914260cd
MA
47002012-02-24 Michael Albinus <michael.albinus@gmx.de>
4701
4702 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
4703 (Bug#10874)
4704
2cb228f7
AM
47052012-02-23 Alan Mackenzie <acm@muc.de>
4706
4707 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
4708 parameter "after-hook:" to allow the expansion to run code after
4709 the execution of the mode hooks.
4710
4711 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 4712 from font-lock-mode-internal.
2cb228f7 4713
91027d08 4714 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
4715 :after-hook.
4716
8f0fde21
SM
47172012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4718
3e88618b
SM
4719 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4720 (completion--cache-all-sorted-completions): New function.
4721 (completion-all-sorted-completions): Use it.
4722 (completion--do-completion, minibuffer-force-complete):
4723 Use it to re-instate the flush hook.
4724
8f0fde21
SM
4725 * icomplete.el (icomplete-completions): Replace last fix with a better
4726 one (bug#10850).
4727
8e911f6f
DG
47282012-02-23 Dmitry Gutov <dgutov@yandex.ru>
4729
4730 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4731 when it might call us back infinitely (bug#10797).
4732
49fe4321
GM
47332012-02-23 Glenn Morris <rgm@gnu.org>
4734
4735 * minibuffer.el (completion-category-overrides): Doc fix.
4736
b291b572
SM
47372012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4738
4739 * minibuffer.el (completion-table-with-context): Fix inf-loop.
4740 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4741
31a9ef2e
GM
47422012-02-23 Glenn Morris <rgm@gnu.org>
4743
5e6e6794 4744 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
4745 (authors-obsolete-files-regexps, authors-ignored-files)
4746 (authors-ambiguous-files, authors-renamed-files-alist):
4747 Add more entries.
4748
0bd1e074
JL
47492012-02-23 Juri Linkov <juri@jurta.org>
4750
4751 * isearch.el (isearch-occur): Sync interactive spec with occur's
4752 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4753
b617673c
JL
4754 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4755
19e9789e
JL
47562012-02-22 Juri Linkov <juri@jurta.org>
4757
4758 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4759 (ucs-insert): Doc fix. Check for hex digits in the string.
4760 Don't display `nil' in the error message. (Bug#10857)
4761
f41ce09d
AM
47622012-02-22 Alan Mackenzie <acm@muc.de>
4763
7a71b18d 4764 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 4765
ac2eceee
GM
47662012-02-22 Glenn Morris <rgm@gnu.org>
4767
4768 * ffap.el (ffap-c-path):
4769 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4770
abd1f678
CY
47712012-02-22 Chong Yidong <cyd@gnu.org>
4772
4773 * custom.el (load-theme): Doc fix.
4774
f25aef2e
GM
47752012-02-22 Glenn Morris <rgm@gnu.org>
4776
4777 * dired-x.el (dired-guess-shell-alist-default):
4778 Remove escape sequences from nroff output. (Bug#172)
4779
5f8dc2ca
GM
47802012-02-21 Glenn Morris <rgm@gnu.org>
4781
6ff86ec4
GM
4782 * vc/emerge.el (emerge-defvar-local):
4783 Set `permanent-local' property rather than unused `preserved'.
4784
be3223a3 4785 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
4786 (picture-mode-map): Use it. (Bug#10860)
4787 (picture-mode): Doc fix.
4788
3fe58f4f
JB
47892012-02-21 Juanma Barranquero <lekktu@gmail.com>
4790
4791 * newcomment.el (uncomment-region-default): Remove unused binding.
4792
f9a998c3
GM
47932012-02-21 Glenn Morris <rgm@gnu.org>
4794
4795 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4796 (picture-self-insert, picture-tab-chars): Doc fix.
4797 (picture-mode-map): Fix C-a, C-e.
4798
c6029348
GM
47992012-02-20 Glenn Morris <rgm@gnu.org>
4800
4801 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4802
ab1ce9d7
LL
48032012-02-20 Leo Liu <sdl.web@gmail.com>
4804
4805 * icomplete.el (icomplete-completions): Check FROM arg before
4806 passing to substring (Bug#10850).
4807
0fd40f89
CY
48082012-02-19 Chong Yidong <cyd@gnu.org>
4809
4810 * comint.el: Require ansi-color.
4811 (comint-output-filter-functions): Add ansi-color-process-output.
4812
4813 * ansi-color.el: Don't set comint-output-filter-functions; it is
4814 now in the initial value defined in comint.el.
4815 (ansi-color-apply-face-function): New variable.
4816 (ansi-color-apply-on-region): Use it.
4817 (ansi-color-apply-overlay-face): New function.
4818
4819 * shell.el (shell): No need to require ansi-color.
4820 (shell-mode): Use ansi-color-apply-face-function to highlight
4821 color escapes using font-lock-face property (Bug#10835).
4822
20af2394
CY
48232012-02-19 Chong Yidong <cyd@gnu.org>
4824
4825 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4826 mode-line formats (Bug#10839).
4827
e23a3fbe
GM
48282012-02-18 Glenn Morris <rgm@gnu.org>
4829
b474519e
GM
4830 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4831
4832 * mail/undigest.el (unforward-rmail-message): Doc fix.
4833
e23a3fbe
GM
4834 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4835
57939ff4
EZ
48362012-02-18 Eli Zaretskii <eliz@gnu.org>
4837
4838 * international/characters.el (script-list): Sync with the latest
4839 Unicode Character Database.
4840
0c23686e
AS
48412012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4842
4843 * international/titdic-cnv.el: Remove duplicate coding tag.
4844 * language/cham.el: Likewise.
4845 * language/tai-viet.el: Likewise.
4846
6818b449
GM
48472012-02-18 Glenn Morris <rgm@gnu.org>
4848
4849 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4850 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4851 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4852 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4853 * calendar/holidays.el (holiday-bahai-holidays)
4854 (calendar-holidays, list-holidays):
4855 Use utf-8 Bahá'í in doc-strings, menus, etc.
4856
0311a3fc
TH
48572012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4858
4859 * saveplace.el (save-place-ignore-files-regexp): New variable
4860 allowing for excluding files from saving their location of point.
4861 The default value matches the temporary commit message editing
4862 files from Git, SVN, Bazaar, and Mercurial.
4863 (save-place-to-alist): Use it.
4864
eb864a71
LM
48652012-02-17 Lawrence Mitchell <wence@gmx.li>
4866 Stefan Monnier <monnier@iro.umontreal.ca>
4867
4868 * newcomment.el (uncomment-region-default): Don't leave extra space
4869 when an arg is provided (bug#8150).
4870
ee0ce425
TZ
48712012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4872
eb864a71 4873 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 4874
95ddf442
GM
48752012-02-17 Glenn Morris <rgm@gnu.org>
4876
4877 * net/socks.el: Require network-stream. (Bug#10599)
4878
48dd1e39 48792012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
4880
4881 * international/charprop.el:
4882 * international/uni-name.el:
4883 * international/uni-old-name.el:
4884 * international/uni-comment.el: Regenerate.
4885
d68cd087
GM
48862012-02-16 Glenn Morris <rgm@gnu.org>
4887
4888 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4889 Interactively in calendar buffer, give an error if not on a date.
4890
13932042
GM
48912012-02-15 Glenn Morris <rgm@gnu.org>
4892
4893 * shell.el (shell-delimiter-argument-list):
4894 Revert 2011-02-17 change. (Bug#8027)
4895
c3a70e2b
CY
48962012-02-15 Chong Yidong <cyd@gnu.org>
4897
60236b0d
CY
4898 * minibuffer.el (completion-at-point-functions): Doc fix.
4899
c3a70e2b
CY
4900 * custom.el (defcustom): Doc fix; note use of defvar.
4901
9f26dc24
GM
49022012-02-15 Glenn Morris <rgm@gnu.org>
4903
4904 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4905 Doc fixes.
4906
6546b134
GM
49072012-02-14 Glenn Morris <rgm@gnu.org>
4908
4909 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4910
d29b2b4c
LI
49112012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4912
4913 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4914 way the ports list is computed.
835bdcba
LI
4915 (smtpmail-query-smtp-server): Prompt the user for a port number if
4916 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 4917
08dcdbc9
TZ
49182012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4919
4920 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4921
2605051a
GM
49222012-02-13 Glenn Morris <rgm@gnu.org>
4923
4924 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4925
7ee99f32
TZ
49262012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4927
4928 * net/gnutls.el (gnutls-trustfiles): New variable.
4929 (gnutls-negotiate): Use it.
4930
5f0af64f
LI
49312012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4932
4933 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4934 does its stuff if Gnus is running.
4935
c14fcc95
AM
49362012-02-13 Alan Mackenzie <acm@muc.de>
4937
4938 Fix a loop in c-set-fl-decl-start.
4939
7a71b18d 4940 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
4941 c-backward-syntactic-ws actually moves backwards.
4942
142b4d90
LL
49432012-02-13 Leo Liu <sdl.web@gmail.com>
4944
4945 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4946 beginning so that all \C-o chars are removed.
4947
fa9958a6
TZ
49482012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4949
dc9924b8 4950 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 4951
0bc5886a
AM
49522012-02-12 Alan Mackenzie <acm@muc.de>
4953
4954 Fix infinite loop with long macros.
4d6769e1 4955 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 4956
d4bd55e7
CY
49572012-02-12 Chong Yidong <cyd@gnu.org>
4958
4959 * window.el (display-buffer): Doc fix (Bug#10785).
4960
66f3fe22
GM
49612012-02-12 Glenn Morris <rgm@gnu.org>
4962
bd7da63e
GM
4963 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4964 (x-disown-selection-internal, x-get-selection-internal):
4965 Sync docs with the xselect.c versions.
4966
66f3fe22
GM
4967 * allout-widgets.el: Add missing license notice.
4968
3e0d2fa7
GM
49692012-02-11 Glenn Morris <rgm@gnu.org>
4970
cfecdf09
GM
4971 * select.el (x-get-selection-internal, x-own-selection-internal)
4972 (x-disown-selection-internal):
4973 * x-dnd.el (x-get-selection-internal): Update declarations.
4974
6d216d7f
GM
4975 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4976
2bed3f04
GM
4977 * window.el (window-sides-slots):
4978 * tool-bar.el (tool-bar-position):
4979 * term/xterm.el (xterm-extra-capabilities):
4980 * ses.el (ses-self-reference-early-detection):
4981 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4982 (verilog-auto-wire-type)
4983 (verilog-auto-delete-trailing-whitespace)
4984 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4985 (verilog-auto-tieoff-declaration):
4986 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4987 (sql-oracle-statement-starters, sql-oracle-scan-on):
4988 * progmodes/prolog.el (prolog-align-comments-flag)
4989 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4990 (prolog-left-indent-regexp, prolog-paren-indent-p)
4991 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4992 (prolog-types, prolog-mode-specificators)
4993 (prolog-determinism-specificators, prolog-directives)
4994 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4995 (prolog-electric-dot-flag)
4996 (prolog-electric-dot-full-predicate-template)
4997 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4998 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4999 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
5000 (prolog-program-switches, prolog-prompt-regexp)
5001 (prolog-debug-on-string, prolog-debug-off-string)
5002 (prolog-trace-on-string, prolog-trace-off-string)
5003 (prolog-zip-on-string, prolog-zip-off-string)
5004 (prolog-use-standard-consult-compile-method-flag)
5005 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
5006 (prolog-imenu-max-lines, prolog-info-predicate-index)
5007 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
5008 (prolog-char-quote-workaround):
5009 * progmodes/cc-vars.el (c-defun-tactic):
5010 * net/tramp.el (tramp-encoding-command-interactive)
5011 (tramp-local-end-of-line):
5012 * net/soap-client.el (soap-client):
5013 * net/netrc.el (netrc-file):
5014 * net/gnutls.el (gnutls):
5015 * minibuffer.el (completion-category-overrides)
5016 (completion-cycle-threshold)
5017 (completion-pcm-complete-word-inserts-delimiters):
5018 * man.el (Man-name-local-regexp):
5019 * mail/feedmail.el (feedmail-display-full-frame):
5020 * international/characters.el (glyphless-char-display-control):
5021 * eshell/em-ls.el (eshell-ls-date-format):
5022 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
5023 (lisp-lambda-list-keyword-parameter-indentation)
5024 (lisp-lambda-list-keyword-parameter-alignment):
5025 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
5026 * dired-x.el (dired-omit-verbose):
5027 * cus-theme.el (custom-theme-allow-multiple-selections):
5028 * calc/calc.el (calc-highlight-selections-with-faces)
5029 (calc-lu-field-reference, calc-lu-power-reference)
5030 (calc-note-threshold):
5031 * battery.el (battery-mode-line-limit):
5032 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5033 (archive-7z-update):
5034 * allout.el (allout-prefixed-keybindings)
5035 (allout-unprefixed-keybindings)
5036 (allout-inhibit-auto-fill-on-headline)
5037 (allout-flattened-numbering-abbreviation):
5038 * allout-widgets.el (allout-widgets-auto-activation)
5039 (allout-widgets-icons-dark-subdir)
5040 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
5041 (allout-widgets-theme-dark-background)
5042 (allout-widgets-theme-light-background)
5043 (allout-widgets-item-image-properties-emacs)
5044 (allout-widgets-item-image-properties-xemacs)
5045 (allout-widgets-run-unit-tests-on-load)
5046 (allout-widgets-time-decoration-activity)
5047 (allout-widgets-hook-error-post-time)
5048 (allout-widgets-track-decoration):
5049 Add missing :version tags to new defcustoms and defgroups.
5050
5fec1b8e
GM
5051 * progmodes/sql.el (sql-ansi-statement-starters)
5052 (sql-oracle-statement-starters): Add custom type.
5053
3e0d2fa7
GM
5054 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
5055 (prolog-system-version): Give it a type.
5056
90b671e2
EZ
50572012-02-11 Eli Zaretskii <eliz@gnu.org>
5058
5059 * term/pc-win.el (x-select-text, x-selection-owner-p)
5060 (x-own-selection-internal, x-disown-selection-internal)
5061 (x-get-selection-internal): Sync doc strings and argument lists
5062 with xselect.c, common-win.el and x-win.el. (Bug#10783)
5063
5eac0c02
LL
50642012-02-11 Leo Liu <sdl.web@gmail.com>
5065
5066 * progmodes/python.el (python-end-of-statement): Fix infinite
5067 loop. (Bug#10788)
5068
f82cb659
GM
50692012-02-10 Glenn Morris <rgm@gnu.org>
5070
5071 * international/mule-cmds.el (unify-8859-on-encoding-mode)
5072 (unify-8859-on-decoding-mode): Properly mark as obsolete.
5073
cc26d239
LI
50742012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
5075
5076 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
5077 about SMTP before checking the From header.
5078
91027d08 5079 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
5080 into own function for reuse by emacsbug.el.
5081
1be3ca5a
LL
50822012-02-10 Leo Liu <sdl.web@gmail.com>
5083
5084 * subr.el (condition-case-unless-debug): Rename from
5085 condition-case-no-debug. All callers changed.
5086 (with-demoted-errors): Fix caller.
5087
5088 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
5089 * nxml/rng-valid.el (rng-do-some-validation):
5090 * emacs-lisp/package.el (package-refresh-contents)
5091 (package-menu-execute):
5092 * desktop.el (desktop-create-buffer):
91027d08 5093 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 5094
b011fbfe
GM
50952012-02-10 Glenn Morris <rgm@gnu.org>
5096
b2096d72
GM
5097 * textmodes/bibtex.el:
5098 Add missing :version tags for new/changed defcustoms.
5099
b011fbfe
GM
5100 * files.el (remote-file-name-inhibit-cache): Doc fixes.
5101
4c7e65bf
LI
51022012-02-09 Lars Ingebrigtsen <larsi@rusty>
5103
5104 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
5105 (smtpmail-via-smtp): Use it, or fall back on the From address.
5106 (smtpmail-send-it): Ditto.
5107
f3934f6f
SM
51082012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
5109
5110 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5111 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
5112 (byte-compile-tmp-var): New const.
5113 (byte-compile-defvar): Use it to minimize .elc size.
5114 Just use `defvar' rather than simulate it (bug#10761).
5115
a075a2c5
GM
51162012-02-09 Glenn Morris <rgm@gnu.org>
5117
cf3aa21b
GM
5118 * files.el (rename-uniquely): Doc fix. (Bug#3806)
5119
354998cd
GM
5120 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
5121 Add :version tags.
5122
dc9924b8
SM
5123 * progmodes/compile.el (compilation-error-screen-columns)
5124 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 5125
dab3703d
GM
5126 * vc/log-view.el (log-view-toggle-entry-display):
5127 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
5128
3f88cd72
GM
5129 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
5130 (report-emacs-bug-can-use-xdg-email):
5131 (report-emacs-bug-insert-to-mailer): Doc fixes.
5132 (report-emacs-bug): Message fix.
5133
d95b247d
GM
5134 * net/browse-url.el (browse-url-can-use-xdg-open)
5135 (browse-url-xdg-open): Doc fixes.
5136
a075a2c5
GM
5137 * electric.el (electric-indent-mode, electric-pair-mode)
5138 (electric-layout-rules, electric-layout-mode): Doc fixes.
5139 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
5140
ffb6157e
MR
51412012-02-08 Martin Rudalics <rudalics@gmx.at>
5142
5143 * server.el (server-unselect-display): Don't inadvertently kill
5144 the current buffer. (Bug#10729)
5145
e1ac4066
GM
51462012-02-08 Glenn Morris <rgm@gnu.org>
5147
34e8a2da
GM
5148 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
5149 (sql-list-table): Doc fixes.
5150
b4ac6e8c
GM
5151 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
5152 Comment out (does nothing).
5153
e1ac4066
GM
5154 * completion.el (dynamic-completion-mode):
5155 * dirtrack.el (dirtrack-debug-mode):
5156 * electric.el (electric-layout-mode):
5157 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
5158 * face-remap.el (text-scale-mode, buffer-face-mode):
5159 * iimage.el (iimage-mode):
5160 * image-mode.el (image-transform-mode):
5161 * minibuffer.el (completion-in-region-mode):
5162 * scroll-lock.el (scroll-lock-mode):
5163 * simple.el (next-error-follow-minor-mode):
5164 * tar-mode.el (tar-subfile-mode):
5165 * tooltip.el (tooltip-mode):
5166 * vcursor.el (vcursor-use-vcursor-map):
5167 * wid-browse.el (widget-minor-mode):
5168 * emulation/tpu-edt.el (tpu-edt-mode):
5169 * emulation/tpu-extras.el (tpu-cursor-free-mode):
5170 * international/iso-ascii.el (iso-ascii-mode):
5171 * language/thai-util.el (thai-word-mode):
5172 * mail/supercite.el (sc-minor-mode):
5173 * net/goto-addr.el (goto-address-mode):
5174 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5175 * progmodes/cwarn.el (cwarn-mode):
5176 * progmodes/flymake.el (flymake-mode):
5177 * progmodes/glasses.el (glasses-mode):
5178 * progmodes/hideshow.el (hs-minor-mode):
5179 * progmodes/pascal.el (pascal-outline-mode):
5180 * textmodes/enriched.el (enriched-mode):
5181 * vc/smerge-mode.el (smerge-mode):
5182 Doc fixes (minor mode argument).
5183
5e0d957f
EZ
51842012-02-07 Eli Zaretskii <eliz@gnu.org>
5185
5186 * ls-lisp.el (ls-lisp-sanitize): New function.
5187 (ls-lisp-insert-directory): Use it to fix or remove any elements
5188 in file-alist with missing attributes. (Bug#4673)
5189
98d7371e
AM
51902012-02-07 Alan Mackenzie <acm@muc.de>
5191
5192 Fix spurious recognition of c-in-knr-argdecl.
5193
5194 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5195 putative K&R region.
5196
667ced3a
AM
51972012-02-07 Alan Mackenzie <acm@muc.de>
5198
eb864a71
LM
5199 * progmodes/cc-engine.el (c-forward-objc-directive):
5200 Prevent looping in "#pragma mark @implementation".
667ced3a 5201
5b77774d
MA
52022012-02-07 Michael Albinus <michael.albinus@gmx.de>
5203
5204 * notifications.el (notifications-on-closed-signal): Make `reason'
5205 optional. (Bug#10744)
5206
af008560
GM
52072012-02-07 Glenn Morris <rgm@gnu.org>
5208
60d47423
GM
5209 * emacs-lisp/easy-mmode.el (define-minor-mode):
5210 Doc fixes for the macro and the mode it defines.
5211
dd605cc4
GM
5212 * image.el (imagemagick-types-inhibit): Doc fix.
5213
af008560
GM
5214 * cus-start.el (imagemagick-render-type): Add it.
5215
5cc59a37
LI
52162012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
5217
4d6769e1
JB
5218 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5219 Set the default at load time, too, so that `font-lock-fontify-buffer'
5220 can be called without setting up the entire mode first. This fixes
5221 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 5222
9a6dd747
CY
52232012-02-06 Chong Yidong <cyd@gnu.org>
5224
2d16b285
CY
5225 * simple.el (list-processes--refresh): Delete exited processes
5226 (Bug#8094).
5227
171e9b6e
CY
5228 * comint.el (comint-next-prompt): next-single-char-property-change
5229 and prev-single-char-property-change never return nil (Bug#8657).
5230
9a6dd747
CY
5231 * custom.el (defcustom): Doc fix (Bug#9711).
5232
aa4589a7
CY
52332012-02-05 Chong Yidong <cyd@gnu.org>
5234
5c2a252f
CY
5235 * cus-edit.el (custom-variable-reset-backup): Quote the value
5236 before storing it in the customized-value property (Bug#6712).
4aab9006 5237 (custom-display): Add a customization type tag.
983b9602 5238 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 5239
aa4589a7
CY
5240 * wid-edit.el (widget-field-value-get): New optional arg to
5241 suppress trailing whitespace truncation.
5242 (character): Use it (Bug#2689).
5243
1ff980ae
AS
52442012-02-05 Andreas Schwab <schwab@linux-m68k.org>
5245
5246 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5247 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5248
03988c98
CY
52492012-02-05 Chong Yidong <cyd@gnu.org>
5250
eeb6cc88
CY
5251 * cus-edit.el (custom-variable-value-create): For mismatched
5252 types, show the current value (Bug#7600).
5253
03988c98
CY
5254 * custom.el (defcustom): Doc fix.
5255
f8cdeef0
GM
52562012-02-05 Glenn Morris <rgm@gnu.org>
5257
5258 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5259
0696d255
JB
52602012-02-05 Juanma Barranquero <lekktu@gmail.com>
5261
5262 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5263 (pp-buffer): Use `ignore-errors', `looking-at-p'.
5264 (pp-last-sexp): Use `looking-at-p'.
5265
34c99998
GM
52662012-02-04 Glenn Morris <rgm@gnu.org>
5267
8f05da42
GM
5268 * files.el (revert-buffer):
5269 Doc fix (mention revert-buffer-in-progress-p).
5270
f160676e
GM
5271 * emacs-lisp/ert-x.el (ert-simulate-command):
5272 Check deferred-action-list (which is obsolete) is bound.
5273
c7291ad9
GM
5274 * subr.el (with-wrapper-hook): Doc fixes.
5275
34c99998
GM
5276 * simple.el (filter-buffer-substring-functions)
5277 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5278
6283a7d3
LL
52792012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
5280
5281 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5282 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
5283
e96e3013
LL
52842012-02-04 Leo Liu <sdl.web@gmail.com>
5285
5286 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5287
8ded50f2
GM
52882012-02-04 Glenn Morris <rgm@gnu.org>
5289
82ff1d13
GM
5290 * image.el (image-extension-data): Add obsolete alias.
5291
987a0a16
GM
5292 * isearch.el (isearch-update): Doc fix.
5293
ea32ef46
GM
5294 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5295
8ded50f2
GM
5296 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5297
eea14f31
GM
52982012-02-03 Glenn Morris <rgm@gnu.org>
5299
5300 * image.el (image-animated-p): Doc fix. Use image-animated-types.
5301 (image-animate-timeout): Doc fix.
5302
5303 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5304
12f381b7
GM
53052012-02-02 Glenn Morris <rgm@gnu.org>
5306
953cebf5
GM
5307 * server.el (server-auth-dir): Doc fix.
5308 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
5309
12f381b7
GM
5310 * subr.el (run-mode-hooks): Doc fix.
5311
953a8c3b
JL
53122012-02-02 Juri Linkov <juri@jurta.org>
5313
5314 * image-mode.el (image-toggle-display-image): Remove tautological
5315 `major-mode' from the `derived-mode-p' test.
5316
c5d3843c
KH
53172012-02-02 Kenichi Handa <handa@m17n.org>
5318
9f6e692e 5319 * composite.el (compose-region): Cancel previous change.
c5d3843c 5320
159462d4 53212012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
5322
5323 * composite.el (compose-region, compose-string): Signal error for
5324 a null string component (Bug#6988).
5325
9f562668
CY
53262012-02-01 Chong Yidong <cyd@gnu.org>
5327
e2cef717
CY
5328 * view.el (view-buffer-other-window, view-buffer-other-frame):
5329 Handle special modes like view-buffer (Bug#10650).
5330 (view-buffer): Simplify.
5331
9f562668
CY
5332 * frame.el (set-frame-font): Tweak meaning of third argument.
5333
9f6e692e
JB
5334 * dynamic-setting.el (font-setting-change-default-font):
5335 Use set-frame-font (Bug#9982).
9f562668 5336
781acb9f
GM
53372012-02-01 Glenn Morris <rgm@gnu.org>
5338
6035be52
GM
5339 * progmodes/compile.el (compilation-internal-error-properties):
5340 Respect compilation-first-column in the "*compilation*" buffer.
5341
781acb9f
GM
5342 * emacs-lisp/easy-mmode.el (define-minor-mode):
5343 Relax :variable's test for a named function.
5344
abbceb00
AM
53452012-01-31 Alan Mackenzie <acm@muc.de>
5346
5347 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5348 off by one error.
5349
fce3fdeb
CY
53502012-01-31 Chong Yidong <cyd@gnu.org>
5351
5352 * frame.el (set-frame-font): New arg ALL-FRAMES.
5353
5354 * menu-bar.el (menu-set-font): Use set-frame-font.
5355
5356 * faces.el (face-spec-reset-face): Don't apply unspecified
5357 attribute values to the default face.
5358
47893581
JB
53592012-01-31 Juanma Barranquero <lekktu@gmail.com>
5360
5361 * progmodes/cwarn.el (cwarn): Remove dead link.
5362 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5363 Remove * from defcustom docstrings.
5364 (turn-on-cwarn-mode): Make obsolete.
5365 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5366 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5367
e58e988a
GM
53682012-01-31 Glenn Morris <rgm@gnu.org>
5369
60dc2671 5370 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 5371 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 5372 Allow named functions to be used as the cdr of :variable.
e58e988a 5373
7a3f511d
GM
53742012-01-30 Glenn Morris <rgm@gnu.org>
5375
5376 * emacs-lisp/authors.el (authors-fixed-entries):
5377 Remove reference to deleted file rnewspost.el.
5378
cb882333
JB
53792012-01-29 Juanma Barranquero <lekktu@gmail.com>
5380
5381 * window.el (window-with-parameter): Remove unused variable `windows'.
5382 (window--side-check): Remove unused variable `code'.
5383 (window--resize-siblings): Remove unused variable `first'.
5384 (adjust-window-trailing-edge): Remove unused variable `failed'.
5385 (window-deletable-p, window--delete): Remove unused variable `buffer'.
5386 Use `let', not `let*'.
5387 (balance-windows-2): Remove unused variable `found'.
5388 (window--state-put-2): Remove unused variable `splits'.
5389 (window-state-put): Remove unused variable `selected'.
5390 (same-window-p): Use `string-match-p'.
5391 (display-buffer-assq-regexp): Remove unused variable `value'.
5392 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5393 Mark argument ALIST as ignored.
5394 (pop-to-buffer): Remove unused variable `old-window'.
5395
907201af
EZ
53962012-01-29 Eli Zaretskii <eliz@gnu.org>
5397
5398 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
5399 and .lzma compressed files.
5400
ea162670
CY
54012012-01-29 Chong Yidong <cyd@gnu.org>
5402
5b95ee8a
CY
5403 * frame.el (window-system-default-frame-alist): Doc fix.
5404
ea162670
CY
5405 * dynamic-setting.el (font-setting-change-default-font): Don't
5406 change the default face if SET-FONT argument is non-nil (Bug#9982).
5407
d6e6f4b1
SB
54082012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
5409
5410 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
5411
0f29fa41 54122012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
5413
5414 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5415 breakpoints in files outside current directory (Bug#6098).
5416
db174434
CY
54172012-01-29 Chong Yidong <cyd@gnu.org>
5418
6b25e4e2
SE
5419 * progmodes/python.el: Require ansi-color at top-level.
5420
6df6ae42
JB
5421 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5422 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
5423 (lisp-mode-abbrev-table): Add doc.
5424 (lisp-mode-variables): Don't set local-abbrev-table.
5425 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5426
e70ee681
RW
54272012-01-28 Roland Winkler <winkler@gnu.org>
5428
5429 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5430
ace88aa2
RW
54312012-01-28 Roland Winkler <winkler@gnu.org>
5432
5433 * textmodes/bibtex.el (bibtex-entry-alist): New function.
5434 (bibtex-set-dialect): Use it. Either set global values of
5435 dialect-dependent variables or bind these variables buffer-locally
5436 (Bug#10254).
5437 (bibtex-mode): Call bibtex-set-dialect via
5438 hack-local-variables-hook.
eb864a71
LM
5439 (bibtex-dialect): Update docstring.
5440 Add safe-local-variable predicate.
ace88aa2
RW
5441 (bibtex-entry-alist, bibtex-field-alist): Initialize via
5442 bibtex-set-dialect.
5443 (bibtex-mode-map): Define menu for each dialect.
5444 (bibtex-entry): Fix docstring.
5445
93376c5b
CY
54462012-01-28 Chong Yidong <cyd@gnu.org>
5447
5448 * eshell/esh-arg.el (eshell-quote-argument): New function.
5449
5450 * eshell/esh-ext.el (eshell-invoke-batch-file):
5451 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5452 first arg to eshell-parse-command (Bug#10523).
5453
4372494f
DA
54542012-01-28 Drew Adams <drew.adams@oracle.com>
5455
5456 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5457 `default-directory' is non-nil.
5458
4d4ec1f8
EZ
54592012-01-28 Eli Zaretskii <eliz@gnu.org>
5460
5461 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5462 line that displays system-configuration-options. (Bug#9924)
5463
7c188927
DA
54642012-01-28 Drew Adams <drew.adams@oracle.com>
5465
5466 * descr-text.el (describe-char): Show information about POS, in
5467 addition to information about the character at POS. Improve and
5468 update the doc string. Change "code point" to "code point in
5469 charset", to avoid confusion with the character's Unicode code
5470 point shown above that. (Bug#10129)
5471
e0da685a
EZ
54722012-01-28 Eli Zaretskii <eliz@gnu.org>
5473
5474 * descr-text.el (describe-char): Show the raw character, not only
5475 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
5476 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5477 for the reasons.
5478
70550acf
PH
54792012-01-28 Phil Hagelberg <phil@hagelb.org>
5480
eb864a71
LM
5481 * emacs-lisp/package.el (package-install):
5482 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 5483
0ce8e868
CY
54842012-01-28 Chong Yidong <cyd@gnu.org>
5485
cb882333
JB
5486 * emacs-lisp/package.el (package-maybe-load-descriptor):
5487 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
5488 (package-maybe-load-descriptor): Use it.
5489 (package-download-transaction): Fully load required packages
5490 inside the loop, so that `require' calls work (Bug#10593).
5491 (package-install): No need to call package-initialize now.
5492
2e7f3bea
CY
54932012-01-28 Chong Yidong <cyd@gnu.org>
5494
6e9bad14
CY
5495 * simple.el (deactivate-mark): Doc fix (Bug#8614).
5496
f823b8ca
CY
5497 * tooltip.el (tooltip-mode): Doc fix.
5498 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5499
2680c309
CY
5500 * frame.el (set-cursor-color): Doc fix (Bug#352).
5501
d7a9e63b
CY
5502 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5503 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5504
2e7f3bea
CY
5505 * cus-edit.el (custom-buffer-create-internal): Fix search button
5506 action (Bug#10542).
2ae01800 5507 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 5508
fc4f7a23
EW
55092012-01-27 Eduard Wiebe <usenet@pusto.de>
5510
5511 * dired.el (dired-mark-files-regexp):
5512 Include any subdirectory components. (Bug#10445)
5513
7dd37071
ML
55142012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5515
5516 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5517 Handle [host]:port syntax. (Bug#10533)
5518
a268160b
AH
55192012-01-27 Alex Harsanyi <harsanyi@mac.com>
5520
5521 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5522
e43273ef
GM
55232012-01-26 Glenn Morris <rgm@gnu.org>
5524
5525 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5526 * term.el (term-raw-escape-map): Use Control-X-prefix.
5527 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
5528
1edf595d
MR
55292012-01-25 Martin Rudalics <rudalics@gmx.at>
5530
5531 * window.el (window-state-get, window--state-get-1): Don't deal
5532 with fixed-sizeness of windows. Simplify code.
5533
fa8eafef
JC
55342012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
5535
6df6ae42
JB
5536 * window.el (window--state-get-1, window--state-put-2):
5537 Don't save and restore the mark.
fa8eafef 5538
0b21c100
CY
55392012-01-25 Chong Yidong <cyd@gnu.org>
5540
5541 * custom.el (custom-variable-p): Doc fix.
5542
5ae1a6c8
GM
55432012-01-25 Glenn Morris <rgm@gnu.org>
5544
40047858
GM
5545 * dired.el (dired-goto-file): Handle some of the more common
5546 characters that `ls -b' escapes. (Bug#10596)
5547
5ddce96c
GM
5548 * progmodes/compile.el (compilation-next-error-function):
5549 Respect compilation-first-column in the "*compilation*" buffer.
5550 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
5551
5ae1a6c8
GM
5552 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
5553
b559f1a9
GM
55542012-01-24 Glenn Morris <rgm@gnu.org>
5555
5556 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
5557
6725d21a
JD
55582012-01-24 Julien Danjou <julien@danjou.info>
5559
5560 * color.el (color-rgb-to-hsl): Fix value computing.
5561 (color-hue-to-rgb): New function.
5562 (color-hsl-to-rgb): New function.
5563 (color-clamp, color-saturate-hsl, color-saturate-name)
5564 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5565 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5566
70df4bbe
GM
55672012-01-24 Glenn Morris <rgm@gnu.org>
5568
5569 * vc/vc-rcs.el (vc-rcs-create-tag):
5570 * vc/vc-sccs.el (vc-sccs-create-tag):
5571 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
5572
802a2ae2
ML
55732012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
5574
5575 * eshell/esh-util.el (eshell-read-hosts-file):
5576 Skip comment lines. (Bug#10549)
5577
d7128bb1
ML
5578 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
5579
d1a5c3b4
JB
55802012-01-23 Juanma Barranquero <lekktu@gmail.com>
5581
2724d9c7
JB
5582 * subr.el (display-delayed-warnings): Doc fix.
5583 (collapse-delayed-warnings): New function to collapse identical
5584 adjacent warnings.
5585 (delayed-warnings-hook): Add it.
d1a5c3b4 5586
a5509865
MA
55872012-01-22 Michael Albinus <michael.albinus@gmx.de>
5588
5589 * net/tramp.el (tramp-action-login): Set connection property "login-as".
5590
a5509865
MA
5591 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5592 (tramp-default-user-alist): Don't add "pscp".
5593 (tramp-do-copy-or-rename-file-out-of-band): Use connection
5594 property "login-as", if set. (Bug#10530)
5595
cc6d5805
MA
55962012-01-21 Michael Albinus <michael.albinus@gmx.de>
5597
5598 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5599 "plink1" and "psftp". (Bug#10530)
5600
56012012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
5602
5603 * international/mule-cmds.el (prefer-coding-system): Show a
5604 warning message if the default value of file-name-coding-system
5605 was not changed.
5606
f0960428
JC
56072012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5608
cb882333
JB
5609 * windmove.el (windmove-reference-loc):
5610 Fix windmove-reference-loc miscalculation.
f0960428 5611
dd6f2a63
JB
56122012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
5613
5614 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5615 default unit.
5616
7b447e9b
GM
56172012-01-21 Glenn Morris <rgm@gnu.org>
5618
117a9ea1
GM
5619 * international/mule.el (auto-coding-alist): Add .tbz.
5620
7b447e9b
GM
5621 * files.el (local-enable-local-variables): Doc fix.
5622 (inhibit-local-variables-regexps): Rename from
5623 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
5624 Doc fix. Add some extensions from auto-coding-alist.
5625 (inhibit-local-variables-suffixes):
5626 Rename from inhibit-first-line-modes-suffixes. Doc fix.
5627 (inhibit-local-variables-p):
5628 New function, extracted from set-auto-mode-1.
5629 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
5630 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
5631 (hack-local-variables): Doc fix. Make the mode-only case
5632 respect enable-local-variables and friends.
5633 Respect inhibit-local-variables-regexps for file-locals, but
5634 not for directory-locals.
5635 (set-visited-file-name):
5636 Take account of inhibit-local-variables-regexps.
5637 Whether it applies may change as the file name is changed.
5638 * jka-cmpr-hook.el (jka-compr-install):
5639 * jka-compr.el (jka-compr-uninstall):
5640 Update for inhibit-first-line-modes-suffixes name change.
5641
dd6e3cdd
MR
56422012-01-20 Martin Rudalics <rudalics@gmx.at>
5643
5644 * help-macro.el (make-help-screen): Temporarily restore original
5645 binding for minor-mode-map-alist (Bug#10454).
5646
0d0deb38
JD
56472012-01-19 Julien Danjou <julien@danjou.info>
5648
5649 * color.el (color-name-to-rgb): Use the white color to find the max
5650 color component value and return correctly computed values.
5651 (color-name-to-rgb): Add missing float conversion for max value.
5652
34a02f46
MR
56532012-01-19 Martin Rudalics <rudalics@gmx.at>
5654
5655 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
5656 special state value for window-persistent-parameters.
5657 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
5658 (window--state-put-2): Reset all window parameters to nil before
5659 assigning values of persistent parameters.
5660
606c44c4
AM
56612012-01-18 Alan Mackenzie <acm@muc.de>
5662
5663 Eliminate sluggishness and hangs in fontification of "semicolon
5664 deserts".
5665
cb882333
JB
5666 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
5667 Change value 10000 -> 3000.
606c44c4
AM
5668 (c-state-safe-place): Reformulate so it doesn't stack up an
5669 infinite number of wrong entries in c-state-nonlit-pos-cache.
5670 (c-determine-limit-get-base, c-determine-limit): New functions to
5671 determine backward search limits disregarding literals.
5672 (c-find-decl-spots): Amend commenting.
5673 (c-cheap-inside-bracelist-p): New function which detects "={".
5674
5675 * progmodes/cc-fonts.el
5676 (c-make-font-lock-BO-decl-search-function): Give a limit to a
5677 backward search.
5678 (c-font-lock-declarations): Fix an occurrence of point being
5679 undefined. Check additionally for point being in a bracelist or
5680 near a macro invocation without a semicolon so as to avoid a
5681 fruitless time consuming search for a declarator. Give a more
5682 precise search limit for declarators using the new
5683 c-determine-limit.
5684
f3860cea
GM
56852012-01-18 Glenn Morris <rgm@gnu.org>
5686
5687 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
5688 (set-auto-mode): Doc fixes.
5689
1db03b16
GM
56902012-01-17 Glenn Morris <rgm@gnu.org>
5691
0e6038be
GM
5692 * isearch.el (search-nonincremental-instead): Fix doc typo.
5693
1db03b16
GM
5694 * dired.el (dired-insert-directory): Handle newlines in directory name.
5695 (dired-build-subdir-alist): Unescape newlines in directory name.
5696
4cb0aa75
MA
56972012-01-17 Michael Albinus <michael.albinus@gmx.de>
5698
5699 * net/tramp.el (tramp-local-end-of-line): New defcustom.
5700 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
5701 (tramp-action-terminal): Use it. (Bug#10530)
5702
1d00653d
SM
57032012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5704
5705 * minibuffer.el (completion--replace): Strip properties (bug#10062).
5706
6a6ee00d
MR
57072012-01-16 Martin Rudalics <rudalics@gmx.at>
5708
5709 * window.el (window-state-ignored-parameters): Remove variable.
5710 (window--state-get-1): Rename argument MARKERS to IGNORE.
5711 Handle persistent window parameters. Make copy of clone-of
5712 parameter only if requested. (Bug#10348)
5713 (window--state-put-2): Install a window parameter only if it has
5714 a non-nil value or an existing parameter shall be overwritten.
5715
97912def
MA
57162012-01-15 Michael Albinus <michael.albinus@gmx.de>
5717
5718 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5719
688070a5
EZ
57202012-01-14 Eli Zaretskii <eliz@gnu.org>
5721
5722 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5723 don't pass the (nil) value of `upnode' to string-match.
5724
301afadc
CY
57252012-01-14 Chong Yidong <cyd@gnu.org>
5726
5727 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 5728 Fix values recognized by the cursorBlink resource.
301afadc 5729
9e5788aa
PE
57302012-01-14 Paul Eggert <eggert@cs.ucla.edu>
5731
5732 * epg.el (epg--make-temp-file): Avoid permission race condition
5733 when running on old Emacs versions (bug#10403).
5734
3cdb7f5a
GM
57352012-01-14 Glenn Morris <rgm@gnu.org>
5736
5737 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5738
8c82b1b4
AM
57392012-01-13 Alan Mackenzie <acm@muc.de>
5740
5741 Fix filling for when filladapt mode is enabled.
5742
5743 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5744 c-mask-paragraph, pass in `fill-paragraph' rather than
5745 `fill-region-as-paragraph'. (This is a reversion of a previous
5746 change.)
eb864a71
LM
5747 * progmodes/cc-mode.el (c-basic-common-init):
5748 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 5749
e517eda4
GM
57502012-01-13 Glenn Morris <rgm@gnu.org>
5751
1498536e
GM
5752 * dired.el (dired-switches-escape-p): New function.
5753 (dired-insert-directory): Use dired-switches-escape-p.
5754 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5755
e517eda4
GM
5756 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5757
328f984d
GM
57582012-01-12 Glenn Morris <rgm@gnu.org>
5759
5760 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5761 changes in adaptive-fill-regexp. (Bug#10276)
5762
2cc769a8
AM
57632012-01-11 Alan Mackenzie <acm@muc.de>
5764
5765 Fix Emacs bug #10463 - put `widen's around the critical spots.
5766
1d00653d 5767 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
5768 widen around each invocation of c-state-pp-to-literal. Remove an
5769 unused let variable.
5770
e52c37fa
GM
57712012-01-11 Glenn Morris <rgm@gnu.org>
5772
5773 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 5774 Doc fix.
e52c37fa 5775
96f8741e
CY
57762012-01-10 Chong Yidong <cyd@gnu.org>
5777
1d00653d
SM
5778 * net/network-stream.el (network-stream-open-starttls):
5779 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
5780 response to the capability command.
5781
b09a806e
GM
57822012-01-10 Glenn Morris <rgm@gnu.org>
5783
5784 * mail/unrmail.el (unrmail): Tweak previous change.
5785
7655cb66
CY
57862012-01-09 Chong Yidong <cyd@gnu.org>
5787
5788 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5789
9d5a8f0b
AM
57902012-01-08 Alan Mackenzie <acm@muc.de>
5791
5792 Optimise font locking in long enum definitions.
5793
5794 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5795 arm to a cond form to handle enums.
5796 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5797 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5798
9a0115ab 57992012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
5800
5801 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 5802 (Bug#10401)
6bb72cbd 5803
f186bb95
LMI
58042012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5805
29232a68
LMI
5806 * faces.el (set-face-attribute): Clarify the meaning of the nil
5807 frame (bug#10294).
5808
4e5d086d
LMI
5809 * subr.el (with-selected-frame): Mention that the selected frame
5810 is restored (bug#9980).
5811
8e66aebe
LMI
5812 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5813 (bug#9759).
5814
cd394be1 5815 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
5816 (password-read): Don't autoload unused function.
5817
adf4e762
JB
58182012-01-07 Juanma Barranquero <lekktu@gmail.com>
5819
5820 * progmodes/which-func.el (which-func-mode): Turn into a
5821 non-interactive function and mark as obsolete (bug#10428).
5822
89bd9ccd
CY
58232012-01-06 Chong Yidong <cyd@gnu.org>
5824
5825 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5826 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5827 functions, along with 1 and -1.
5828
4afee9d5
EZ
58292012-01-06 Eli Zaretskii <eliz@gnu.org>
5830
5831 * time.el (display-time-load-average)
5832 (display-time-default-load-average): Doc fixes. See the thread
5833 starting at
5834 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5835 for the details.
5836
536aea70
GM
58372012-01-06 Glenn Morris <rgm@gnu.org>
5838
665ae865
GM
5839 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5840 has no messages. (Bug#10377)
5841
c869783d
GM
5842 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5843 than Info-edit. (Bug#10385)
5844
2bb4227e
GM
5845 * time.el (display-time-load-average, display-time-next-load-average):
5846 Doc fixes.
5847
7d5944b9
GM
5848 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5849 local setting of buffer-read-only to the input buffer. (Bug#10419)
5850
536aea70
GM
5851 * calendar/calendar.el (calendar-mode):
5852 Locally set scroll-margin to 0. (Bug#10379)
5853
7dccca16
UM
58542012-01-06 Ulrich Mueller <ulm@gentoo.org>
5855
5856 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5857
afbb7930
GM
58582012-01-05 Glenn Morris <rgm@gnu.org>
5859
5860 * eshell/em-unix.el (diff-no-select): Autoload it.
5861 (eshell/diff): Use diff-no-select. (Bug#10420)
5862
04482335
CY
58632012-01-05 Chong Yidong <cyd@gnu.org>
5864
7baca3bc
CY
5865 * shell.el (shell-dynamic-complete-functions): Revert last change.
5866 (shell-command-completion-function): New function.
5867 (shell-completion-vars): Use it to implement
5868 shell-completion-execonly (Bug#10417).
5869
04482335
CY
5870 * custom.el (enable-theme): Don't set custom-safe-themes.
5871
1d00653d
SM
5872 * cus-theme.el (custom-theme-merge-theme):
5873 Ignore custom-enabled-themes and custom-safe-themes.
04482335 5874
bb5aa5d6
MM
58752012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5876
5877 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5878 first prompt in `sql-interacive-mode'.
5879 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 5880 keywords.
6df6ae42 5881 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
5882 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5883 context of original buffer. Invoke `sql-login-hook'.
5884
a7183d7c
EZ
58852012-01-04 Eli Zaretskii <eliz@gnu.org>
5886
5887 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5888 letters in cite-prefix.
5889
a1eacd1e
LMI
58902012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5891
5892 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5893
787cdb34
CY
58942012-01-03 Chong Yidong <cyd@gnu.org>
5895
1d00653d
SM
5896 * shell.el (shell-dynamic-complete-functions):
5897 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
5898 comint-filename-completion first (Bug#10417).
5899
30710442
RS
59002012-01-02 Richard Stallman <rms@gnu.org>
5901
5902 * battery.el (battery-status-function):
5903 Detect when to use battery-yeeloong-sysfs.
5904 (battery-echo-area-format): Add string for Yeeloong.
5905 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5906 (battery-yeeloong-sysfs): New function.
5907
f75bfc33
CY
59082012-01-02 Chong Yidong <cyd@gnu.org>
5909
5910 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5911 (dirtrack): Merge code for handling relative filenames in prompt
5912 from shell-dir-cookie-watcher.
5913 (dirtrack-debug-message): New arg to avoid excess format calls.
5914
5915 * shell.el (shell-dir-cookie-re): Variable deleted.
5916 (shell-dir-cookie-watcher): Function deleted.
5917 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5918 with dirtrack-mode.
5919
651e947e
EZ
59202012-01-01 Eli Zaretskii <eliz@gnu.org>
5921
1d00653d
SM
5922 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5923 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
5924 libgnutls-26.dll.
5925
94d4c7dc
AS
59262011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5927
5928 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5929
8d43f3cd
EZ
59302011-12-31 Eli Zaretskii <eliz@gnu.org>
5931
5932 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5933 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5934
98c8795a
MA
59352011-12-29 Michael Albinus <michael.albinus@gmx.de>
5936
5937 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5938 also for alternative shells.
5939 (tramp-open-connection-setup-interactive-shell): Check, whether
5940 the shell is a busybox.
5941 (tramp-send-command): Don't suppress multiple prompts for
5942 busyboxes, it hurts.
5943
51281b32
CY
59442011-12-28 Chong Yidong <cyd@gnu.org>
5945
5946 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5947 (gdb-get-source-file): Move mode line update to
5948 gdb-get-source-file (Bug#10087).
5949
2170cb53
CY
59502011-12-25 Chong Yidong <cyd@gnu.org>
5951
5952 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5953 gud-gdb-marker-filter without taking it as an argument.
5954 (gud-gdb-run-command-fetch-lines): Caller changed.
5955 (gud-gdb-completion-function): New variable.
5956 (gud-gdb-completion-at-point): Use it.
5957 (gud-gdb-completions-1): Split from gud-gdb-completions.
5958
5959 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5960 function as separate arguments.
5961 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5962 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5963 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5964 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5965 (gdb-stopped, def-gdb-auto-update-trigger)
5966 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
5967 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5968 Callers changed.
2170cb53
CY
5969 (gud-gdbmi-completions): New function.
5970 (gdb): Use it for generating the completion table.
5971
be8b11bb
AM
59722011-12-24 Alan Mackenzie <acm@muc.de>
5973
5974 Introduce a mechanism to widen the region used in context font
1d00653d 5975 locking. Use this to protect declarations from losing their contexts.
be8b11bb 5976
1d00653d
SM
5977 * progmodes/cc-langs.el (c-before-font-lock-functions):
5978 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 5979 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
5980 functions to be run just before context (etc.) font locking.
5981
5982 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 5983 New, functionality extracted from
be8b11bb 5984 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 5985 (c-in-after-change-fontification): New variable.
be8b11bb
AM
5986 (c-after-change): Set c-in-after-change-fontification.
5987 (c-set-fl-decl-start): Rejig its interface, so it can be called
5988 from both after-change and context fontifying.
b81d40f0
JB
5989 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5990 New functions.
5991 (c-standard-font-lock-fontify-region-function): New variable.
5992 (c-font-lock-fontify-region): New function.
be8b11bb 5993
341cf6ac
JL
59942011-12-24 Juri Linkov <juri@jurta.org>
5995
5996 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5997 (Bug#10348)
5998
bffcee0a
MA
59992011-12-23 Michael Albinus <michael.albinus@gmx.de>
6000
6001 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
6002 existence of source file. (Bug#10325)
6003
cb5e207c
AM
60042011-12-23 Alan Mackenzie <acm@muc.de>
6005
6006 Fix unstable fontification inside templates.
6007
b81d40f0
JB
6008 * progmodes/cc-langs.el (c-before-font-lock-functions):
6009 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
6010 additionally has c-set-fl-decl-start. The other languages (apart
6011 from AWK) have that as a single entry.
6012
b81d40f0
JB
6013 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6014 The functionality for "local" declarations has been extracted to
cb5e207c
AM
6015 c-set-fl-decl-start.
6016
b81d40f0
JB
6017 * progmodes/cc-mode.el (c-common-init, c-after-change):
6018 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
6019 (c-set-fl-decl-start): New function, extracted from
6020 c-font-lock-enclosing-decls and enhanced.
6021
60ff536c
JB
60222011-12-23 Juanma Barranquero <lekktu@gmail.com>
6023
6024 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
6025
1c4757d6
JL
60262011-12-22 Juri Linkov <juri@jurta.org>
6027
6028 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
6029
d031f2c7
CY
60302011-12-22 Chong Yidong <cyd@gnu.org>
6031
6032 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
6033
bace743a
DA
60342011-12-21 Drew Adams <drew.adams@oracle.com>
6035
6036 * files.el (file-remote-p): Fix docstring. (Bug#10319)
6037
728a1f2b
JC
60382011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6039
6040 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
6041
0d373f73
TZ
60422011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
6043
fec0aaa4
TZ
6044 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
6045 highlighting and support. Fix up comments for capitalization.
6046 (cfengine-mode-debug): New var.
6047 (cfengine3-mode): Change the modeline indicator to "CFE3".
6048 (cfengine3-font-lock-keywords): Improve defun highlighting.
6049 (cfengine2-actions): Rename from `cfengine-actions'.
6050 (cfengine2-font-lock-keywords): Rename from
6051 `cfengine-font-lock-keywords'.
6052 (cfengine2-imenu-expression): Rename from
6053 `cfengine-imenu-expression'.
6054 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
6055 (cfengine2-beginning-of-defun): Rename from
6056 `cfengine-beginning-of-defun'.
6057 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
6058 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
6059 (cfengine2-mode): Rename from `cfengine-mode'. Change the
6060 modeline indicator to "CFE2".
6061 (cfengine-mode): Defalias to `cfengine-auto-mode'.
6062 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 6063
bc86f573
CY
60642011-12-21 Chong Yidong <cyd@gnu.org>
6065
6066 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
6067 filename argument.
6068
d45ba96b
MR
60692011-12-20 Martin Rudalics <rudalics@gmx.at>
6070
6071 * window.el (window-normalize-buffer-to-display): Remove.
6072 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
6073
a6198c90
CY
60742011-12-19 Chong Yidong <cyd@gnu.org>
6075
6076 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
6077 Don't signal an error in a predicate function; return non-nil.
6078 (vc-dir-mark-file): Move the error here.
6079 (vc-dir-mark-unmark): If acting on the region, keep going if one
6080 of the entries cannot be marked/unmarked.
6081 (vc-dir-mark-all-files): If current entry is a directory, mark
6082 only child files, as documented.
6083
34c5fb55
VB
60842011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
6085
6086 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
6087 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
6088 addition.
6089
c803b2b7
JD
60902011-12-18 Jan Djärv <jan.h.d@swipnet.se>
6091
6092 * term/ns-win.el (ns-get-selection-internal)
6093 (ns-store-selection-internal): Declare.
1154d12e
JB
6094 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
6095 Declare as obsolete.
6096 (ns-get-pasteboard, ns-paste-secondary):
6097 Use ns-get-selection-internal.
6098 (ns-set-pasteboard, ns-copy-including-secondary):
6099 Use ns-store-selection-internal.
c803b2b7 6100
9cff91f8 61012011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
6102
6103 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 6104 (vc-deduce-fileset): Doc fix.
99a289d9 6105
f16c898a
AS
61062011-12-16 Andreas Schwab <schwab@linux-m68k.org>
6107
6108 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
6109
763237c4
SS
61102011-12-13 Sam Steingold <sds@gnu.org>
6111
6112 * man.el (Man-getpage-in-background): When running under a
6113 window-system, ignore $MANWIDTH and $COLUMNS.
6114
5fc1c122
KH
61152011-12-15 Kenichi Handa <handa@m17n.org>
6116
6117 * language/ethio-util.el: Change coding tag to utf-8-emacs.
6118 (setup-ethiopic-environment-internal): Comment out key-binding for
6119 ethio-toggle-punctuation.
6120
13d49cbb
AM
61212011-12-13 Alan Mackenzie <acm@muc.de>
6122
898169a2
AM
6123 Add the switch statement to AWK Mode.
6124
7a71b18d 6125 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
6126 "default" to the keywords regexp.
6127
7a71b18d 6128 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 6129 expression as the rest.
1d00653d
SM
6130 (c-nonlabel-token-key): Allow string literals for AWK.
6131 Refactor for the other modes.
898169a2 6132
13d49cbb 6133 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 6134 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
6135 routines. Limit backward searching in c-font-lock-enclosing.decl.
6136
6137 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
6138 pp-state and literal type in addition to the limits.
1d00653d 6139 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 6140 (c-state-literal-at): Use the above new defun.
1d00653d
SM
6141 (c-slow-in-literal, c-fast-in-literal): Remove.
6142 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
6143
6144 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
6145 being in a literal. Add a limit for backward searching.
6146
6147 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
6148 c-slow-in-literal.
6149
15e0efc7
SM
61502011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6151
6152 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
6153
454592a6
MR
61542011-12-13 Martin Rudalics <rudalics@gmx.at>
6155
6156 * window.el (delete-other-windows): Use correct frame in call to
6157 window-with-parameter.
6158
87393f26
DP
61592011-12-12 Daniel Pfeiffer <occitan@t-online.de>
6160
6161 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
6162 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
6163 (makefile-gmake-statements, makefile-makepp-statements):
6164 Use it and add new makepp keywords.
6165 (makefile-makepp-font-lock-keywords): Add new patterns.
6166 (makefile-match-function-end): Match new [...] and [[...]].
6167
11636b22
JB
61682011-12-11 Juanma Barranquero <lekktu@gmail.com>
6169
6170 * ses.el (ses-call-printer-return, ses-cell-property-get)
6171 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
6172 (ses-create-cell-variable, ses-reset-header-string)
6173 (ses-cell-set-formula, ses-repair-cell-reference-all)
6174 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6175 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6176 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6177 (ses-aset-with-undo, ses-load, ses-truncate-cell)
6178 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6179 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6180 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6181 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6182 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6183 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6184 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6185 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6186
cf018193
VB
61872011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
6188
6189 * ses.el: The overall change is to add cell renaming, that is
6190 setting fancy names for cell symbols other than name matching
6191 "\\`[A-Z]+[0-9]+\\'" regexp .
6192 (ses-create-cell-variable): New defun.
6193 (ses-relocate-formula): Relocate formulas only for cells the
6194 symbols of which are not renamed, i.e. symbols whose names do not
6195 match regexp "\\`[A-Z]+[0-9]+\\'".
6196 (ses-relocate-all): Relocate values only for cells the symbols of
6197 which are not renamed.
6198 (ses-load): Create cells variables as the (ses-cell ...) are read,
6199 in order to check row col consistency with cell symbol name only
6200 for cells that are not renamed.
6201 (ses-replace-name-in-formula): New defun.
6202 (ses-rename-cell): New defun.
6203
ee957461
CY
62042011-12-11 Chong Yidong <cyd@gnu.org>
6205
6206 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6207 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6208
9a9e9ef0
MR
62092011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
6210
6211 * window.el (other-window): Fix docstring.
6212
92a8eba5
EZ
62132011-12-10 Eli Zaretskii <eliz@gnu.org>
6214
6215 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
6216 `from' or `to' address before taking its substring.
6217 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
6218 encoded name is chopped in the middle of the encoded string, and
6219 thus displayed encoded.
6220
e152e577
JB
62212011-12-10 Juanma Barranquero <lekktu@gmail.com>
6222
6223 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6224
e5d84bfe
EZ
62252011-12-10 Eli Zaretskii <eliz@gnu.org>
6226
6227 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
6228 to use texinfo-update-node and commands that call it if the
6229 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 6230 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
6231 (texinfo-all-menus-update, texinfo-master-menu)
6232 (texinfo-update-node, texinfo-every-node-update)
6233 (texinfo-multiple-files-update): Doc fix. Warn against updating
6234 all the @node lines.
6235 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
6236 argument is numeric. Explain better in the doc string what the
6237 function really does.
6238 (texinfo-insert-master-menu-list): Improve the error message
6239 displayed if there's no menu in the Top node.
6240 (Bug#2975) See also this thread:
e5d84bfe
EZ
6241 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6242
1d84e9bb
MG
62432011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
6244
6245 * speedbar.el (speedbar-supported-extension-expressions):
6246 Add .adb and .ads, commonly used for Ada source code (bug#10256).
6247
382c953b
JB
62482011-12-09 Juanma Barranquero <lekktu@gmail.com>
6249
6250 * printing.el (pr-mode-alist):
6251 * simple.el (filter-buffer-substring-functions)
6252 (completion-list-insert-choice-function):
6253 * window.el (window-with-parameter, window-atom-root)
6254 (window-sides-slots, window-size-fixed, window-min-delta)
6255 (window-max-delta, window--resize-mini-window)
6256 (window--resize-child-windows-normal, window-tree)
6257 (delete-other-windows, quit-window, split-window)
6258 (display-buffer-record-window, special-display-buffer-names)
6259 (special-display-regexps, special-display-popup-frame)
6260 (same-window-p, split-window-sensibly)
6261 (display-buffer-overriding-action, display-buffer-alist)
6262 (display-buffer-base-action, display-buffer, switch-to-buffer)
6263 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6264 (fit-window-to-buffer, recenter-positions)
6265 (mouse-autoselect-window-state, mouse-autoselect-window-select):
6266 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6267 and remove unneeded backslashes in docstrings.
6268
39c9faef
SM
62692011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6270
98449af8
SM
6271 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6272
39c9faef
SM
6273 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6274 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6275 end in ".mk".
6276 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6277 when reading the makefile (bug#10116).
6278
86ed9fdc
SM
62792011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6280
6281 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6282 (bug#10116).
6283
5580f89d
GM
62842011-12-06 Glenn Morris <rgm@gnu.org>
6285
6286 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6287
28d3917c
CY
62882011-12-06 Chong Yidong <cyd@gnu.org>
6289
6290 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6291
a98edce9
JB
62922011-12-06 Juanma Barranquero <lekktu@gmail.com>
6293
6294 * textmodes/table.el (table-shorten-cell): Fix typo.
6295
e65adfac
CG
62962011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
6297
6298 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6299
71cc0b74
EZ
63002011-12-05 Eli Zaretskii <eliz@gnu.org>
6301
6302 * descr-text.el (describe-char): Fix display of strong
6303 right-to-left characters and directional embeddings and overrides.
6304
6305 * simple.el (what-cursor-position): Fix display of codepoints of
6306 strong right-to-left characters.
6307
315bc30d
CY
63082011-12-05 Chong Yidong <cyd@gnu.org>
6309
6310 * faces.el (read-color): Doc fix.
6311
58a70b94
GM
63122011-12-05 Glenn Morris <rgm@gnu.org>
6313
6314 * align.el (align--set-marker): Add doc-string.
6315 Don't try to move something that is not a marker. (Bug#10216)
6316
5158face
GM
63172011-12-04 Glenn Morris <rgm@gnu.org>
6318
6319 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6320 overly zealous deletion of trailing whitespace.
6321
520fca41
JB
63222011-12-04 Juanma Barranquero <lekktu@gmail.com>
6323
6324 * server.el (server-delete-client): On Windows, do not try to delete
6325 the only terminal.
6326 (server-process-filter): On Windows, treat requests for a tty frame as
6327 if they were for a GUI frame if the running server is in GUI mode.
6328
5e605a2e
GM
63292011-12-03 Glenn Morris <rgm@gnu.org>
6330
6331 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
6332
5c3fe83f
SM
63332011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
6334
6f5e57e7
SM
6335 * electric.el: Streamline electric-indent's hook.
6336 (electric-indent-chars): Revert to simple list.
6337 (electric-indent-functions): New var.
6338 (electric-indent-post-self-insert-function): Use it.
6339
5c3fe83f
SM
6340 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6341 there's no inferior buffer (bug#10196).
6342 (prolog-consult-compile): Don't use toggle-read-only.
6343
6bdac736
MA
63442011-12-02 Michael Albinus <michael.albinus@gmx.de>
6345
6346 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6347 interrupt. (Bug#10187)
6348
6131ba7f
SM
63492011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6350
99c79fee
SM
6351 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6352 (bug#9160).
6353
6131ba7f
SM
6354 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6355 (bug#10191).
6356
cb0a02ea
JL
63572011-12-02 Juri Linkov <juri@jurta.org>
6358
6359 * info.el (Info-search): Display "end of manual" when Isearch
6360 reaches the end of single-file Info manual. (Bug#9918)
6361
66e0570c
EZ
63622011-12-02 Eli Zaretskii <eliz@gnu.org>
6363
6364 * isearch.el (isearch-message-prefix): Run the input method part
6365 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
6366
02b16839
JL
63672011-12-02 Juri Linkov <juri@jurta.org>
6368
6369 * isearch.el (isearch-occur): Use `word-search-regexp' for
6370 `isearch-word'.
6371 (isearch-search-and-update): Add condition for `isearch-word' and
6372 call `word-search-regexp'. (Bug#10145)
6373
0b950688
GM
63742011-12-01 Glenn Morris <rgm@gnu.org>
6375
6376 * eshell/em-hist.el (eshell-hist-initialize):
6377 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 6378 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 6379
9505c3c7
SM
63802011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6381
6382 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6383
1bbe96b2 63842011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 6385
a1beca85
SM
6386 * progmodes/verilog-mode.el (verilog-pretty-expr):
6387 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
6388 verilog, such as += *= and the like.
6389 (verilog-assignment-operator-re): Regular expression to find the
6390 assigment operator in a verilog assignment.
6391 (verilog-assignment-operation-re): Regular expression to find an
6392 assignment statement for pretty-expr.
6393 (verilog-in-attribute-p): Query returns true if point is in an
6394 attribute context; used to skip these for expression line up from
6395 pretty-expr.
6396 (verilog-in-parameter-p): Query returns true if point is in an
6397 parameter definition context; used to skip these for expression
6398 line up from pretty-expr.
6399 (verilog-in-parenthesis-p): Query returns true if point is in a
6400 parenthetical expression, specifically ( ) but not [ ] or { };
6401 used by pretty-expr.
6402 (verilog-just-one-space): If there is no space, don't add one.
6403 (verilog-get-lineup-indent-2): Specifically skip just attribute
6404 contexts for expression lineup, rather than skipping all
6405 parenthetical expressions.
6406 (verilog-calculate-indent): Fix comment, and fix indent.
6407 (verilog-do-indent): Indent declarations in lists (suggested by
6408 Joachim Lechner).
6409 (verilog-mode-abbrev-table): Populate abbrev mode with the various
6410 skeleton items.
6411 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
6412 by Alain Mellan).
6413
1bbe96b2 64142011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
6415
6416 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6417 parameters with embedded comments. Reported by Ray Stevens.
6418 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6419 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6420 Reported by Tim Holt.
6421 (verilog-auto): Fix AUTOing a upper module then AUTOing module
6422 instantiated by upper module causing wrong expansion until AUTOed a
6423 second time. Reported by K C Buckenmaier.
6424 (verilog-diff-auto): Fix showing .* as a difference when
6425 `verilog-auto-star-save' off. Reported by Dan Dever.
6426 (verilog-auto-reset, verilog-read-always-signals)
6427 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6428 temporary signals in reset list if
6429 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
6430 style to each signal's assignment type, bug381.
6431 Reported by Thomas Esposito.
6288f0ca
WS
6432 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6433 (verilog-uvm-statement-re): Support UVM indentation and
6434 highlighting, with old OVM keywords only.
a1beca85 6435 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
6436 Support AUTOTIEOFF creating non-wire data types.
6437 Suggested by Jonathan Greenlaw.
6288f0ca
WS
6438 (verilog-auto-insert-lisp, verilog-delete-to-paren)
6439 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6440 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
6441 (verilog-read-sub-decls, verilog-read-sub-decls-line):
6442 Fix mismatching parenthesis inside commented out code when deleting
382c953b 6443 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
6444 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6445 non-numeric vector width. Reported by Alex Reed.
6446 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 6447 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
6448 (verilog-auto-delete-trailing-whitespace):
6449 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
6450 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
6451 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6452 Fix verilog-scan-cache corruption when running user AUTO expansion
6453 hooks that call indentation routines.
6454 (verilog-simplify-range-expression): Fix typo ignoring lower case
6455 identifiers.
6456 (verilog-delete-auto): Fix delete-autos to also remove user created
6457 automatics, as long as they start with AUTO.
6458 (verilog-batch-diff-auto, verilog-diff-auto)
6459 (verilog-diff-function): Add `verilog-diff-auto' and bind to
6460 "C-c?" to report differences in AUTO expansion, ignoring spaces.
6461 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6462 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
6463 (verilog-re-search-forward-quick, verilog-syntax-ppss):
6464 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
6465 is disabled and its cache will get corrupt, causing AUTOS not to
6466 expand. Instead use only -quick functions.
6467 (verilog-scan-region): Fix scanning over escaped quotes.
6468 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6469 (verilog-re-search-backward-quick)
6470 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6471 related functions now ignore strings, to fix misparsing of strings
6472 with magic comments embedded in them.
a1beca85
SM
6473 (verilog-read-auto-template):
6474 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6475 Reported by Brad Dobbie.
6476 (verilog-read-auto-template):
6477 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 6478 Reported by Brad Dobbie.
6288f0ca
WS
6479 (verilog-auto-inst, verilog-auto-inst-param)
6480 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6481 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
6482 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
6483 debugging templates without merge conflicts, bug357.
6484 Reported by Brad Dobbie.
6485 (verilog-read-auto-template):
6486 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
6487 Reported by Brad Dobbie.
6488 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6489 abbrevs so user won't be asked to save.
6490 (verilog-read-auto-lisp-present): Fix to start at beginning of
6491 buffer in case called outside of verilog-auto.
6492 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6493 to "X-2". Reported by Matthew Myers.
6494 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6495 all inputs from module templates. Reported by Leith Johnson.
6496 (verilog-module-inside-filename-p): Fix locating programs as with
6497 modules.
6498 (verilog-auto-inst-port): Fix vl-width expressions when using
6499 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
6500 (verilog-decls-get-regs, verilog-decls-get-signals,
6501 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6502 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6503 verilog-read-decls): Combine reg and wire structures into one var
6504 structure to represent SystemVerilog concepts.
6505 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6506 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
6507 (verilog-auto-wire-type, verilog-insert-definition):
6508 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
6509 SystemVerilog "logic" keyword instead of "wire"/"reg".
6510 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6511 to declares outputs that also have assignments (presumably in an
a1beca85
SM
6512 ifdef or generate if so there's not a driver conflict).
6513 Reported by Matthew Myers.
6514 (verilog-auto-declare-nettype, verilog-insert-definition):
6515 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
6516 `default_nettype none. Reported by Julian Gorfajn.
6517 (verilog-read-always-signals-recurse, verilog-read-decls)
6518 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6519 malformed end statement, bug325. Reported by Joshua Wise and
6520 Andrew Drake.
6521 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6522 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
6523 when expanding .* in interfaces, bug320.
6524 Reported by Pierre-David Pfister.
6288f0ca 6525 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
6526 name and open parenthesis, bug317.
6527 Reported by Pierre-David Pfister.
6288f0ca
WS
6528 (verilog-simplify-range-expression): Fix simplification of
6529 multiplications inside AUTOWIRE connections, bug303.
6530 (verilog-auto-inst-port): Support parameter expansion in
6531 multidimensional arrays.
6532 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6533 after "assert property". Reported by Julian Gorfajn.
6534 (verilog-simplify-range-expression): Fix "couldn't merge" errors
6535 with multiplication, bug303.
6536 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6537 Reported by Jan Frode Lonnum.
6538
1bbe96b2
GM
65392011-11-30 Juanma Barranquero <lekktu@gmail.com>
6540
6541 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6542 (hfy-shell-file-name, hfy-shell):
6543 * international/fontset.el (x-decompose-font-name): Fix typos.
6544
65452011-11-29 Ken Brown <kbrown@cornell.edu>
6546
6547 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6548 (gdb-version): Remove defvar.
6549 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6550 (gdb-gud-context-command, gdb-non-stop-handler)
6551 (gdb-current-context-command, gdb-stopped): Use it.
6552 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
6553 (gdb-non-stop-handler): Don't enable pretty-printing here.
6554 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
6555 non-stop mode. Use the following.
6556 (gdb-check-target-async): New defun.
6557 (gud-watch, gdb-stopped): Fix whitespace.
6558 (gdb-get-source-file): Don't try to display the source file if
6559 `gdb-main-file' is nil.
6560
65612011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6562
6563 * align.el: Try to generate fewer markers (bug#10047).
6564 (align--set-marker): New macro.
6565 (align-region): Use it.
6566
c935221f
SM
65672011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6568
6569 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6570
e70b5064
CY
65712011-11-29 Chong Yidong <cyd@gnu.org>
6572
6573 * indent.el (indent-for-tab-command, indent-according-to-mode):
6574 Doc fix.
6575 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6576
f3af92b7
MA
65772011-11-29 Michael Albinus <michael.albinus@gmx.de>
6578
6579 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6580 aware of remote file names. (Bug#10124)
6581
ed472be9
CY
65822011-11-29 Chong Yidong <cyd@gnu.org>
6583
6584 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6585
24510c22
SM
65862011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6587
6588 * files.el (find-file): Don't use force-same-window (bug#10144).
6589 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6590 use pop-to-buffer if the selected window can't be used.
6591 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6592
c60c3703
EZ
65932011-11-28 Eli Zaretskii <eliz@gnu.org>
6594
6595 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6596 special-mode-map.
6597
e95def75
CY
65982011-11-28 Chong Yidong <cyd@gnu.org>
6599
6600 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6601
c3f1c606
NR
66022011-11-27 Nick Roberts <nickrob@snap.net.nz>
6603
6604 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6605 gdb-get-source-file-list on gdb-create-source-file-list.
6606
00db469c
EZ
66072011-11-26 Eli Zaretskii <eliz@gnu.org>
6608
6609 * whitespace.el (whitespace-newline): Use a different foreground
6610 color for 16-color light-background displays.
6611
4ad3bc2a
CY
66122011-11-24 Chong Yidong <cyd@gnu.org>
6613
6614 * window.el (display-buffer--special-action): Doc fix.
6615
e9fce1ac
JB
66162011-11-25 Juanma Barranquero <lekktu@gmail.com>
6617
6618 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6619 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6620 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6621 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6622 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6623 (avl-tree-stack-first):
6624 * emacs-lisp/cconv.el (cconv--analyse-use):
6625 * net/gnutls.el (gnutls-negotiate): Fix typos.
6626
cb825e5d
GM
66272011-11-24 Glenn Morris <rgm@gnu.org>
6628
3adbe224
GM
6629 * lpr.el (lpr-windows-system, lpr-lp-system):
6630 * mail/binhex.el (binhex-begin-line):
6631 * progmodes/grep.el (grep-history, grep-find-history):
6632 * textmodes/flyspell.el:
6633 * vc/pcvs-defs.el (cvs-global-menu):
6634 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
6635 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
6636 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
6637
321decc8
GM
6638 * net/tls.el: Fix case of "GnuTLS".
6639
420b63ad
GM
6640 * paths.el (rmail-file-name): Format doc-string for make-docfile.
6641
cb825e5d
GM
6642 * version.el (emacs-build-system): Give it a doc-string.
6643
a0649f08
JL
66442011-11-24 Juri Linkov <juri@jurta.org>
6645
6646 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
6647
c0bc0fd4
GM
66482011-11-24 Glenn Morris <rgm@gnu.org>
6649
6650 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
6651 if called on a non-mime message just toggle the headers. (Bug#8006)
6652
20db1522
JB
66532011-11-24 Juanma Barranquero <lekktu@gmail.com>
6654
6655 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
6656 (allout-lead-with-comment-string, allout-structure-deleted-hook)
6657 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
6658 (allout-rebullet-heading, allout-open-sibtopic)
6659 (allout-toggle-current-subtree-encryption)
6660 (allout-toggle-subtree-encryption, allout-encrypt-string)
6661 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
6662 (allout-distinctive-bullets-string, allout-auto-activation):
6663 * window.el (window-normalize-buffer-to-display):
6664 * progmodes/verilog-mode.el (verilog-batch-indent):
6665 * textmodes/bibtex.el (bibtex-field-braces-opt)
6666 (bibtex-field-strings-opt):
6667 * vc/cvs-status.el (cvs-tree-merge):
6668 Fix typos.
6669
7262a87c
MA
66702011-11-23 Michael Albinus <michael.albinus@gmx.de>
6671
6672 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
6673 `non-essential' to t, in order to avoid remote connections.
6674
283430a1
EZ
66752011-11-23 Eli Zaretskii <eliz@gnu.org>
6676
a1beca85
SM
6677 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6678 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
6679 case-insensitively.
6680
d2992a38
ML
66812011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6682
6683 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
6684
50419064
GM
66852011-11-23 Glenn Morris <rgm@gnu.org>
6686
da94eca1
GM
6687 * paths.el (rmail-file-name): Reformat the doc-string so that it
6688 is picked up.
6689
9aac4de2
GM
6690 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
6691 (rmail-auto-file): Ignore case in the "special" field names,
6692 as mail-fetch-field does for all others.
6693
8038d2d2
GM
6694 * mail/rmail.el (rmail-forward):
6695 * mail/rmailkwd.el (rmail-set-label):
6696 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
6697 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
6698
f3fe222a
GM
6699 * mail/rmail.el (rmail-current-message): Doc fix.
6700
50419064
GM
6701 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
6702
28109f49
SM
67032011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
6704
6705 * server.el (server-eval-and-print): Allow C-g (bug#6585).
6706
394c65f1
GM
67072011-11-22 Glenn Morris <rgm@gnu.org>
6708
6709 * mail/rmailmm.el (test-rmail-mime-handler)
6710 (test-rmail-mime-bulk-handler)
6711 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6712
f2a0aa3a
JL
67132011-11-21 Juri Linkov <juri@jurta.org>
6714
1154d12e
JB
6715 * calc/calc.el (calc-read-key-sequence):
6716 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 6717
9c34a344
LMI
67182011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6719
6720 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6721 Tell the caller that the next line needs recomputation, even
6722 though it doesn't start a sexp (bug#10094).
6723
f04a3be9
SM
67242011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6725
6726 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6727
7978747f
SM
67282011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6729
f04a3be9
SM
6730 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6731 Use force-same-window.
7978747f 6732
fe7a3057
JB
67332011-11-20 Juanma Barranquero <lekktu@gmail.com>
6734
6735 * descr-text.el (describe-char-unicode-data):
6736 * json.el (json-string-escape):
6737 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6738 (Footnote-unicode, Footnote-style-p):
6739 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6740
24901d61
CY
67412011-11-20 Chong Yidong <cyd@gnu.org>
6742
6743 * window.el (replace-buffer-in-windows): Restore interactive spec.
6744
bac7ff22
SM
67452011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6746
24f3d7b9
SM
6747 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6748
bac7ff22
SM
6749 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6750 (byte-compile-global-not-obsolete-vars): New var.
6751 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6752 Use it.
6753 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6754
cd1181db
JB
67552011-11-20 Juanma Barranquero <lekktu@gmail.com>
6756
6757 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6758 * progmodes/pascal.el (electric-pascal-equal):
6759 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6760 * xml.el (xml-substitute-special): Fix typos.
6761
7fb18e9e
GM
67622011-11-20 Glenn Morris <rgm@gnu.org>
6763
6764 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6765 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6766 Doc fixes.
6767 (rmail-decode-mime-charset): Mark as obsolete.
6768
6769 * mail/rmailsum.el (rmail-message-regexp-p-1):
6770 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6771 Before using mime functions, check they are set. (Bug#10077)
6772
d5a6b3ba
JL
67732011-11-19 Juri Linkov <juri@jurta.org>
6774
6775 * info.el (Info-finder-find-node): Use `package--builtins' instead
6776 of `package-alist'. Use node names formed by the pattern "Keyword "
6777 and the keyword name.
6778
e981b61f
AS
67792011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6780
1d00653d 6781 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 6782
3ffbc301
JL
67832011-11-19 Juri Linkov <juri@jurta.org>
6784
6785 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6786 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6787 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6788 `old-history', `old-history-forward'. Add let-binding
6789 `window-selected'. Remove calls to `kill-buffer',
6790 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6791 before calling `Info-find-node', so `Info-find-node-2' will reread
6792 the Info file. Restore window positions only when `window-selected'
6793 is non-nil.
6794
30c62133
JL
67952011-11-19 Juri Linkov <juri@jurta.org>
6796
6797 * isearch.el (isearch-lazy-highlight-new-loop):
6798 Remove condition `(not isearch-error)'. (Bug#9918)
6799
6800 * misearch.el (multi-isearch-search-fun): Add condition
6801 `(not bound)' to ignore lazy-highlighting search.
6802 Add the search-failed message "end of multi" when the end of
6803 multi-sequence is reached. Uncapitalize the search-failed
6804 message "Repeat for next buffer".
6805
6806 * info.el (Info-search): Add the search-failed message
6807 "end of the manual" when the end of the manual is reached
6808 in Isearch mode.
6809
645ca9cf
JL
68102011-11-19 Juri Linkov <juri@jurta.org>
6811
6812 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6813 Use non-destructive `remove' instead of `delete' because
6814 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6815 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6816
df754f66
JL
68172011-11-19 Juri Linkov <juri@jurta.org>
6818
6819 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6820 to nil instead of binding `search-ring' and `regexp-search-ring'.
6821 (Bug#9185)
6822
0e23d96a
EZ
68232011-11-19 Eli Zaretskii <eliz@gnu.org>
6824
6825 * simple.el (line-move): Force movement by logical lines for any
6826 hscrolled window, not only when auto-hscroll-mode is on.
6827 (line-move-visual): Update doc string to that effect. (Bug#10076)
6828
8a6ccb66
AS
68292011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6830
6831 * language/european.el (macintosh): Define as alias for mac-roman.
6832
49ae5b39
EZ
68332011-11-19 Eli Zaretskii <eliz@gnu.org>
6834
6835 * mail/rmailmm.el (rmail-mime-display-header)
6836 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6837 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6838 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6839 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6840 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6841 of a raw aref.
6842 (rmail-mime-entity-segment): To get past the tagline, move forward
6843 2 more lines, to account for the 2 empty lines that precede and
6844 follow the line with the buttons.
6845 (rmail-mime-update-tagline): Move one more line, to get past the
6846 empty line that follows the buttons in the tagline. (Bug#9520)
6847
c56cad4a
MR
68482011-11-19 Martin Rudalics <rudalics@gmx.at>
6849
6850 * window.el (window-max-delta-1, window-min-delta-1)
6851 (window-min-size-1, window-state-get-1, window-state-put-1)
6852 (window-state-put-2): Use "window--" prefix.
6853
cbe71af3
SM
68542011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6855
2ad52c60
SM
6856 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6857 (smie-warning-count): New var.
6858 (smie-set-prec2tab): Use it.
6859 (smie-bnf->prec2): Improve warnings. Add docstring.
6860 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6861 (smie-bnf--set-class): New function.
6862 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6863 corner case.
6864
6944dbc1
SM
6865 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6866 (compilation-error-properties, compilation-move-to-column):
6867 Handle compilation-first-column while in the target buffer.
6868
c400c4d7
SM
6869 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6870 Don't hardcode point-min==1.
6871
6dbe3e96
SM
6872 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6873 (eshell-rewrite-for-command): Remove workaround.
6874 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6875 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6876 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6877
cbe71af3
SM
6878 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6879
a8e1496d
GM
68802011-11-17 Glenn Morris <rgm@gnu.org>
6881
6882 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6883 Ignore buffer-local generated-autoload-file if it is the same
6884 as the global value. (Bug#10049)
6885
df85d315
JB
68862011-11-17 Juanma Barranquero <lekktu@gmail.com>
6887
6888 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6889 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6890 (reftex-toc-previous-heading, reftex-toc-max-level)
6891 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6892 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6893 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6894 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6895 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6896 (reftex-toc-rename-label, reftex-toc-visit-location)
6897 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6898 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6899 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6900 leaving "*toc*" only for references to the buffer.
6901
a0c2d0ae
MR
69022011-11-17 Martin Rudalics <rudalics@gmx.at>
6903
6904 * window.el (window-resize, delete-window, split-window):
6905 Replace window-splits by window-combination-resize.
1d00653d 6906 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 6907
35c0bac8
GM
69082011-11-17 Glenn Morris <rgm@gnu.org>
6909
6910 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6911 Make bash entry derive from sh entry, not shell entry.
6912
d0c8fc8a
MA
69132011-11-16 Michael Albinus <michael.albinus@gmx.de>
6914
7262a87c
MA
6915 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6916 local file name.
6917
7877f373
JB
69182011-11-16 Juanma Barranquero <lekktu@gmail.com>
6919
6920 * menu-bar.el (menu-bar-file-menu):
6921 * printing.el (pr-ps-utility):
6922 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6923 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6924 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6925 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6926 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6927 (icalendar--convert-cyclic-to-ical)
6928 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6929 (icalendar--convert-ical-to-diary)
6930 (icalendar--convert-recurring-to-diary)
6931 (icalendar--convert-non-recurring-all-day-to-diary)
6932 (icalendar-import-format-sample):
6933 * progmodes/idlw-shell.el (idlwave-shell-mode):
6934 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6935 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6936 (vhdl-ps-print-init): Fix typos.
6937
10649b82
KM
69382011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6939
9d0cfcd6
GM
6940 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6941 FSF and collapse date sequence, obscure author/maintainer email address
6942 better, remove extra version line, track relocation of author's webpage.
10649b82 6943
9d0cfcd6
GM
6944 * progmodes/python.el (python-pdbtrack-input-prompt)
6945 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6946 regular python pdb prompts. Adjustments shamelessly taken exactly as
6947 suggested in EmacsWiki page (tiny change):
6948 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 6949
58179cce
JB
69502011-11-16 Juanma Barranquero <lekktu@gmail.com>
6951
6952 * expand.el (expand-pos, expand-index, expand-point):
6953 Remove redundant info from docstring.
6954 (expand-add-abbrevs): Doc fix.
6955 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6956 (expand-sample-perl-mode-expand-list): Fix typos.
6957
6958 * net/dbus.el (dbus-event-member-name):
6959 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6960 * term/pc-win.el (msdos-create-frame-with-faces):
6961 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6962
b6f67890
MR
69632011-11-16 Martin Rudalics <rudalics@gmx.at>
6964
6965 * window.el (split-window, window-state-get-1)
6966 (window-state-put-1, window-state-put-2): Rename occurrences of
6967 window-nest to window-combination-limit.
1d00653d 6968 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 6969
ce7ddba0
CY
69702011-11-16 Chong Yidong <cyd@gnu.org>
6971
6972 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6973 regexp (Bug#10033).
6974
3ae704f4
SM
69752011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6976
6977 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6978 `completing-read' will remove *Completions* and will preserve
6979 current-buffer for us.
6980 (tmm-add-prompt): Users of *Completions* will always (re)set its
6981 major mode.
6982 (tmm-old-comp-map): Remove.
6983
6ad1cdde
GM
69842011-11-16 Glenn Morris <rgm@gnu.org>
6985
6986 * mail/rmailedit.el: Require rmailmm when compiling.
6987 (rmail-old-mime-state): New declaration.
6988 (rmail-edit-current-message): If editing a mime message,
6989 edit the "raw" message from the mbox buffer.
6990 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6991
d20faa20
GM
69922011-11-15 Glenn Morris <rgm@gnu.org>
6993
6994 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6995 which wasn't being used. Add optional arg to force given state.
6996 (rmail-mime): Add optional arg to force given state.
6997
c7015153
JB
69982011-11-15 Juanma Barranquero <lekktu@gmail.com>
6999
7000 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7001 * frame.el (display-mm-dimensions-alist):
7002 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
7003 (outline-move-subtree-down):
7004 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
7005 (newsticker--treeview-do-get-node):
7006 * net/quickurl.el (quickurl-list-buffer-name):
7007 * progmodes/dcl-mode.el (dcl-mode):
7008 * progmodes/gdb-mi.el (gdb-mapcar*):
7009 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
7010
45261b50
GM
70112011-11-15 Glenn Morris <rgm@gnu.org>
7012
7013 * mail/rmail.el (rmail-file-coding-system): It's only ever used
7014 in a boolean sense, so just make it a boolean, and fix the doc.
7015 (rmail-show-mime-function, rmail-mime-feature)
7016 (rmail-require-mime-maybe): Doc fixes.
7017 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
7018
7019 * mail/rmailmm.el (rmail-show-mime): Doc fix.
7020
0d26e0b6
JB
70212011-11-15 Juanma Barranquero <lekktu@gmail.com>
7022
7023 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
7024 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
7025 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
7026 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
7027
447f30f6
GM
70282011-11-15 Glenn Morris <rgm@gnu.org>
7029
672b871d
GM
7030 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
7031 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
7032 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
7033 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
7034 (rmail-mime, rmail-show-mime): Doc fixes.
7035
f6aa5bb1
GM
7036 * term/ns-win.el (mode-line-frame-identification):
7037 Leave it alone. (Bug#10051)
7038
947cd66b
GM
7039 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
7040
447f30f6
GM
7041 * mail/rmailout.el (rmail-output-to-rmail-buffer):
7042 Handle empty buffers. (Bug#9978)
7043
0b381c7e
JB
70442011-11-14 Juanma Barranquero <lekktu@gmail.com>
7045
7046 * international/mule.el (define-charset):
7047 * mail/rmailmm.el (rmail-mime-find-header-encoding):
7048 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
7049 * progmodes/verilog-mode.el (verilog-backward-token):
7050 * textmodes/ispell.el (lookup-words):
7051 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
7052
71e027ac
GM
70532011-11-14 Glenn Morris <rgm@gnu.org>
7054
56632ce4
GM
7055 * progmodes/executable.el
7056 (executable-make-buffer-file-executable-if-script-p):
7057 Handle file-modes returning nil.
7058
40500957
GM
7059 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
7060 message - not necessary, and causes problems. (Bug#9831)
7061
071c2340
GM
7062 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
7063
d3cfca60
GM
7064 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
7065
71e027ac
GM
7066 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
7067 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
7068 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
7069
89d61221
MR
70702011-11-12 Martin Rudalics <rudalics@gmx.at>
7071
7072 * window.el (window-resize, delete-window): Use window-splits
7073 variable instead of function.
7074 (window-state-get-1, window-state-put-2, window-state-put):
7075 Don't deal with windows' splits status.
7076
98282f6f
GM
70772011-11-12 Glenn Morris <rgm@gnu.org>
7078
7079 * apropos.el (apropos-do-all, apropos-library, apropos-value)
7080 (apropos-documentation): Doc fixes.
7081
40a8bdf6
JB
70822011-11-11 Juanma Barranquero <lekktu@gmail.com>
7083
7084 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
7085 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
7086
65bd19ff
SM
70872011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7088
7089 * electric.el (electric-indent-post-self-insert-function): Make it
7090 possible for a char to only indent in some circumstances.
7091 (electric-indent-mode): Simplify.
7092
54f9154c
MR
70932011-11-11 Martin Rudalics <rudalics@gmx.at>
7094
7095 * window.el (windows-with-parameter): Remove unused function.
7096 (windows-at-side): Rename to window-at-side-list.
7097 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
7098 (window-side-check, window-size-ignore, window-size-fixed-1)
7099 (window-in-direction-2): Prefix with "window--".
7100 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 7101
68cbc58b
GM
71022011-11-11 Glenn Morris <rgm@gnu.org>
7103
7104 * subr.el (eval-after-load): If FILE is already loaded,
7105 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
7106
b2621720
GM
71072011-11-10 Glenn Morris <rgm@gnu.org>
7108
9a4de110
GM
7109 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
7110 Call svn via vc-svn-command rather than vc-do-command.
7111 (vc-svn-command): Add --non-interactive. (Bug#9993)
7112 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
7113
b2621720
GM
7114 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7115 Add toggle-read-only. (Bug#7292)
7116 * files.el (toggle-read-only): Mention that it should only
7117 be used interactively. (Bug#10006)
7118
1dce7193
SM
71192011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7120
d9ac1a1e
SM
7121 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7122 Adjust regexp for OCaml warnings.
7123
0c325082
SM
7124 * electric.el (electric-pair-post-self-insert-function): Let user
7125 turn it off buffer-locally (bug#9932).
7126
90132c14
SM
7127 * progmodes/python.el (python-beginning-of-statement):
7128 Rewrite (bug#2703).
7129
1dce7193
SM
7130 * progmodes/compile.el: Better handle TABs (bug#9749).
7131 (compilation-internal-error-properties)
7132 (compilation-next-error-function): Obey the target buffer's
7133 compilation-error-screen-columns.
7134
c4e7c63a
JB
71352011-11-09 Juanma Barranquero <lekktu@gmail.com>
7136
7137 * progmodes/meta-mode.el: Remove obsolete comments.
7138 (meta-right-comment-regexp, meta-ignore-comment-regexp):
7139 Fix typos in docstrings.
7140
2cffd681
MR
71412011-11-09 Martin Rudalics <rudalics@gmx.at>
7142
7143 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 7144 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
7145 (window--resizable): New function. Make all callers of
7146 window-resizable call window--resizable instead.
7147 (window-resizable): Rewrite in terms of window--resizable.
7148
0edcba87
GM
71492011-11-08 Glenn Morris <rgm@gnu.org>
7150
7151 * progmodes/delphi.el (delphi-mode-syntax-table):
7152 Let define-derived-mode define a proper syntax table. (Bug#9994)
7153
4b0d61e3
SM
71542011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7155
7156 * window.el: Stay away from defsubst.
7157 (window-list-no-nils): Remove.
7158 (window-state-get-1, window-state-get): Use backquote instead.
7159
cd394be1 71602011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 7161
4b0d61e3 7162 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 7163 Fix incorrect use of default argument in `completing-read'.
7164
e1c2c6f2
MR
71652011-11-08 Martin Rudalics <rudalics@gmx.at>
7166
7167 * window.el (display-buffer-function, special-display-function):
7168 Mention display-buffer-record-window but do not mention
7169 help-setup parameter in doc-strings.
b3f4a882 7170 (window-min-delta): Fix doc-string typo.
e1c2c6f2 7171
105216ed
CY
71722011-11-08 Chong Yidong <cyd@gnu.org>
7173
7174 * window.el (window-total-height, window-total-width): Doc fix.
7175 (window-body-size): Move from C.
7176 (window-body-height, window-body-width): Move to C.
7177
0a9f9ab5
SM
71782011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7179
7180 * window.el: Make special-display like display-buffer-alist (bug#9532).
7181 (display-buffer--special-action): New function, morphed
7182 from display-buffer--special.
7183 (display-buffer): Use it to handle special-display-buffers at higher
7184 priority (just after display-buffer-alist).
7185 (display-buffer-fallback-action, display-buffer--other-frame-action)
7186 (pop-to-buffer-same-window): Remove display-buffer--special.
7187
a769dd15
GM
71882011-11-07 Glenn Morris <rgm@gnu.org>
7189
7190 * calendar/cal-menu.el (cal-menu-set-date-title):
7191 Do nothing if not in a calendar. (Bug#9976)
7192
05a61ee3
SM
71932011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7194
7195 * files.el (find-file): Always use selected-window.
7196
be7f5545
MR
71972011-11-07 Martin Rudalics <rudalics@gmx.at>
7198
7199 * window.el (window-combinations): Make WINDOW argument
7200 mandatory. Rewrite doc-string.
7201 (walk-window-subtree, window-atom-check, window-min-delta)
7202 (window-max-delta, window--resize-this-window)
7203 (window--resize-root-window-vertically, window-tree)
7204 (balance-windows, window-state-put): Rewrite doc-strings as to
7205 not mention the term "subwindow".
7206 (window--resize-subwindows-skip-p): Rename to
7207 window--resize-child-windows-skip-p.
7208 (window--resize-subwindows-normal): Rename to
7209 window--resize-child-windows-normal.
7210 (window--resize-subwindows): Rename to
7211 window--resize-child-windows.
7212 (window-or-subwindow-p): Rename to window--in-subtree-p.
7213
3c6702ef
ML
72142011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7215
7216 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7217 Ensure that mbox format messages end in two newlines (Bug#9974).
7218
49745b39
CY
72192011-11-06 Chong Yidong <cyd@gnu.org>
7220
7221 * window.el (window-combination-p): Function deleted; its
7222 side-effect is not used in any existing code.
7223 (window-combinations, window-combined-p): Call window-*-child
7224 directly.
7225
24300f5f
CY
72262011-11-05 Chong Yidong <cyd@gnu.org>
7227
7228 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
7229 (window-size-ignore, window-state-get): Callers changed.
7230 (window-normalize-window): Rename from window-normalize-any-window.
7231 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 7232 (window-normalize-live-window): Delete.
447f16b8
CY
7233 (window-combination-p, window-combined-p, window-combinations)
7234 (walk-window-subtree, window-atom-root, window-min-size)
7235 (window-sizable, window-sizable-p, window-size-fixed-p)
7236 (window-min-delta, window-max-delta, window-resizable)
7237 (window-resizable-p, window-full-height-p, window-full-width-p)
7238 (window-current-scroll-bars, window-point-1, set-window-point-1)
7239 (window-at-side-p, window-in-direction, window-resize)
7240 (adjust-window-trailing-edge, maximize-window, minimize-window)
7241 (window-deletable-p, delete-window, delete-other-windows)
7242 (record-window-buffer, unrecord-window-buffer)
7243 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7244 (quit-window, split-window, window-state-put)
7245 (set-window-text-height, fit-window-to-buffer)
7246 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 7247
89bd5ee1
EZ
72482011-11-04 Eli Zaretskii <eliz@gnu.org>
7249
53479029
EZ
7250 * mail/rmail.el (rmail-simplified-subject): Decode subject with
7251 rfc2047-decode-string.
7252 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7253 warnings.
7254
89bd5ee1
EZ
7255 * window.el (window-body-height, window-body-width): Mention in
7256 the doc string that the return values are in frame's canonical
7257 units. (Bug#9949)
7258
bd17fdee
AM
72592011-11-03 Alan Mackenzie <acm@muc.de>
7260
7261 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7262 change in cc-engine.el.
7263
acc825c5
SM
72642011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
7265
7266 * window.el (switch-to-buffer): Use `force-same-window' interactively.
7267
1885e5b8
MR
72682011-11-02 Martin Rudalics <rudalics@gmx.at>
7269
7270 * window.el (quit-window): Call unrecord-window-buffer after
7271 showing another buffer in the window. (Bug#9937)
acc825c5 7272 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 7273
ebe06da9
JB
72742011-11-02 Juanma Barranquero <lekktu@gmail.com>
7275
7276 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7277 Accept status with more than 9 shelves. (Bug#9935)
7278 Reported by Colin D Bennett <colin@gibibit.com>.
7279
4ee88440
MR
72802011-11-01 Martin Rudalics <rudalics@gmx.at>
7281
7282 * help.el (with-help-window): Don't reference
7283 temp-buffer-show-specifiers in doc-string.
7284
08e1d82c
AS
72852011-10-31 Andreas Schwab <schwab@linux-m68k.org>
7286
7287 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7288 menu-item.
7289
84bd6e9e
VJL
72902011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7291
7292 * whitespace.el: New version 13.2.2.
7293 (whitespace-newline-mode): Disable properly. Reported by Sarah
7294 <EmacsWiki>.
7295
dba0634a
UJ
72962011-10-30 Ulf Jasper <ulf.jasper@web.de>
7297
7298 * net/newst-treeview.el: Remove "Time-stamp".
7299 (newsticker--group-manage-orphan-feeds): Do not call
7300 newsticker--treeview-tree-update.
db22a3c2
JB
7301 (newsticker-treeview-update, newsticker-treeview):
7302 Call newsticker--treeview-tree-update if necessary.
dba0634a 7303
3d8daefe
MR
73042011-10-30 Martin Rudalics <rudalics@gmx.at>
7305
7306 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
7307 (window-iso-combinations): Remove "iso-" infix.
7308 Suggested by Chong Yidong.
3d8daefe
MR
7309 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7310 (window-max-delta-1, window-resize, window--resize-siblings)
7311 (window--resize-this-window, adjust-window-trailing-edge)
7312 (split-window, balance-windows-1)
7313 (shrink-window-if-larger-than-buffer):
7314 * calendar/calendar.el (calendar-generate-window):
db22a3c2 7315 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 7316
1bc4c3ae
SM
73172011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7318
7319 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7320 in place (bug#9907).
7321 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7322 (eshell-rewrite-if-command, eshell-rewrite-for-command)
7323 (eshell-structure-basic-command, eshell-rewrite-while-command)
7324 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7325 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7326 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7327 (eshell-do-pipelines-synchronously, eshell-eval-command):
7328 Use backquotes and prefer setq to set.
7329 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7330 (eshell-macrop): Use functionp.
c1e2f5fa 7331 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 7332
30b65d9c
CY
73332011-10-30 Chong Yidong <cyd@gnu.org>
7334
7335 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7336 instead of set-mark (Bug#9810).
7337
2d197ffb
CY
73382011-10-30 Chong Yidong <cyd@gnu.org>
7339
7340 * window.el (split-window-below, split-window-right): Rename from
7341 split-window-above-each-other and split-window-side-by-side
7342 respectively. All callers changed.
7343 (split-window-sensibly, split-window-sensibly): Use them.
7344 (split-window-keep-point): Doc fix.
7345
7346 * isearch.el: Add isearch-scroll property to split-window-below
7347 and split-window-right.
7348
7349 * follow.el (follow-mode):
7350 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7351 * progmodes/ada-xref.el (ada-gdb-application):
7352 * emulation/vip.el (vip-buffer-in-two-windows):
7353 * image-dired.el (image-dired-dired-with-window-configuration):
7354 * dired-x.el (dired-do-find-marked-files):
7355 * dired.el (dired-pop-to-buffer):
7356 * bs.el (bs--show-with-configuration):
7357 * vc/emerge.el (emerge-setup-windows):
7358 * textmodes/two-column.el (2C-two-columns):
7359 * textmodes/reftex-toc.el (reftex-toc):
7360 * progmodes/gdb-mi.el (gdb-setup-windows):
7361 * progmodes/fortran.el (fortran-window-create):
7362 * net/newst-treeview.el (newsticker--treeview-window-init):
7363 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7364 * emulation/tpu-edt.el (tpu-gold-map):
7365 * emulation/crisp.el (crisp-mode-map):
7366 * calendar/calendar.el (calendar-basic-setup): Callers changed.
7367
38bb2ca8
CY
73682011-10-29 Chong Yidong <cyd@gnu.org>
7369
aa4de341
CY
7370 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7371
e1eb5385
CY
7372 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7373
5d2ece3c
CY
7374 * textmodes/flyspell.el (flyspell-word): Fix char offset for
7375 forged Ispell output (Bug#7904).
7376
38bb2ca8
CY
7377 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7378
d0af9f77
SM
73792011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7380
7381 * doc-view.el: Avoid ugly errors about not finding nil.
7382 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7383 (doc-view-dvipdf-program, doc-view-unoconv-program)
7384 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
7385 Avoid nil or absolute file name as default value.
7386 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
7387
52bedd34
AM
73882011-10-28 Alan Mackenzie <acm@muc.de>
7389
db22a3c2 7390 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 7391
7e43cfa5
AM
73922011-10-28 Alan Mackenzie <acm@muc.de>
7393
7394 Amend the handling of c-beginning/end-of-defun in nested declaration
7395 scopes.
7396
52bedd34
AM
7397 * progmodes/cc-vars.el (c-defun-tactic): Move here from
7398 cc-langs.el. Change it to a defcustom.
7e43cfa5 7399
52bedd34
AM
7400 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
7401 cc-vars.el.
7e43cfa5 7402
d0af9f77
SM
7403 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7404 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 7405
52bedd34 7406 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 7407 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
7408 (c-widen-to-enclosing-decl-scope): New function.
7409 (c-while-widening-to-decl-block): New macro.
7410 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
7411 outward for defun boundaries, and correspondingly change symbol
7412 `respect-enclosure' to `go-outward'.
7413 (c-declaration-limits): Change algorithm to report only the "innermost"
7414 defun's boundaries.
7415
1a2ce9ee
DD
74162011-10-28 Deniz Dogan <deniz@dogan.se>
7417
7418 * net/rcirc.el (rcirc-mode): Use hard newlines.
7419
bc97a826
AM
74202011-10-28 Alan Mackenzie <acm@muc.de>
7421
7422 Amend to indent and fontify macros "which include their own semicolon"
7423 correctly, using the "virtual semicolon" mechanism.
7424
52bedd34 7425 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 7426
d0af9f77 7427 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 7428 Recode to scan one line at a time rather than having \n and \r
58179cce 7429 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 7430 (c-forward-label): Amend for virtual semicolons.
58179cce 7431 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 7432
52bedd34
AM
7433 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7434 of the new C macros.
bc97a826 7435
52bedd34 7436 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
7437 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7438 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
7439 (c-opt-cpp-macro-define): Make into a full language variable.
7440 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7441 AWK Mode (including \n, \r) removed, no longer needed.
7442
d0af9f77
SM
7443 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7444 Invoke c-make-macro-with-semi-re.
bc97a826 7445
52bedd34
AM
7446 * progmodes/cc-vars.el (c-macro-with-semi-re):
7447 (c-macro-names-with-semicolon): New variables.
58179cce 7448 (c-make-macro-with-semi-re): New function.
bc97a826 7449
7a6c0941
SM
74502011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7451
7452 * vc/log-edit.el: Fill empty field rather than adding new one.
7453 (log-edit-add-field): New function.
7454 (log-edit-insert-changelog): Use it.
7455
b0c4cdcf
ML
74562011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7457
7458 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7459
ee1f1da9
SM
74602011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7461
7462 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7463 (gdb--check-interpreter): New function.
7464 (gdb): Use it.
7465
51bc5f8b
GM
74662011-10-27 Glenn Morris <rgm@gnu.org>
7467
416a2c45
GM
7468 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7469 (least-positive-float, least-negative-float)
7470 (least-positive-normalized-float, least-negative-normalized-float)
7471 (float-epsilon, float-negative-epsilon):
7472 Remove unnecessary declarations.
7473
7474 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7475 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7476 (least-positive-float, least-negative-float)
7477 (least-positive-normalized-float, least-negative-normalized-float)
7478 (float-epsilon, float-negative-epsilon): Add doc-strings,
7479 based on those in cl.texi.
7480
51bc5f8b
GM
7481 * files.el (set-visited-file-name): If the major-mode changed,
7482 reload the local variables. (Bug#9796)
7483
15de15c6
CY
74842011-10-27 Chong Yidong <cyd@gnu.org>
7485
7486 * subr.el (change-major-mode-after-body-hook): New hook.
7487 (run-mode-hooks): Run it.
7488
ee1f1da9
SM
7489 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7490 Use change-major-mode-before-body-hook.
15de15c6
CY
7491
7492 * simple.el (fundamental-mode):
7493 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7494 change introducing fundamental-mode-hook.
7495
5430d399
JB
74962011-10-26 Juanma Barranquero <lekktu@gmail.com>
7497
acc825c5 7498 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 7499
ad74a69e
MA
75002011-10-26 Michael Albinus <michael.albinus@gmx.de>
7501
7502 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 7503 tramp.el explicitly. (Bug#7583)
ad74a69e 7504
71d4c2a5
SM
75052011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7506
7507 * progmodes/octave-mod.el:
7508 * progmodes/octave-inf.el: Update maintainer.
7509
b1f6fa26
CY
75102011-10-26 Chong Yidong <cyd@gnu.org>
7511
7512 * subr.el (with-wrapper-hook): Rewrite doc.
7513
3f04efd6
MA
75142011-10-25 Michael Albinus <michael.albinus@gmx.de>
7515
7516 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 7517 filenames "/method:foo:". (Bug#9793)
3f04efd6 7518
410488d3
SM
75192011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7520
7521 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7522 (bug#9865).
7523
c1ebb47e
GM
75242011-10-24 Glenn Morris <rgm@gnu.org>
7525
7526 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
7527
7f5c46c7
MA
75282011-10-24 Michael Albinus <michael.albinus@gmx.de>
7529
7530 * notifications.el: Add the requirement of a running D-Bus session
7531 bus to the Commentary.
7532
db2440b6
JL
75332011-10-24 Juri Linkov <juri@jurta.org>
7534
7535 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7536 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7537 (Bug#9364)
7538
feecf435
JL
75392011-10-24 Juri Linkov <juri@jurta.org>
7540
7541 * info.el (Info-following-node-name-re): Add newline to the list
7542 of allowed characters for leading space. (Bug#9824)
7543
a3839de2
SM
75442011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7545
acc825c5
SM
7546 * progmodes/octave-inf.el (inferior-octave-mode-map):
7547 Fix C-c C-h binding.
a3839de2
SM
7548 * progmodes/octave-mod.el (octave-help): Remove.
7549
09388e76
MA
75502011-10-23 Michael Albinus <michael.albinus@gmx.de>
7551
7552 Sync with Tramp 2.2.3.
7553
7554 * net/tramp-cache.el (top): Pacify byte-compiler using
7555 `init-file-user' and `site-run-file'.
7556
7557 * net/trampver.el: Update release number.
7558
86c60681
CY
75592011-10-23 Chong Yidong <cyd@gnu.org>
7560
7561 * files.el (toggle-read-only): Remove obsolete comment about
7562 version control.
7563
7564 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7565 for toggle-read-only. Note that this hasn't called vc-next-action
7566 since 2008-05-02, though it wasn't documented at the time.
7567
a3839de2
SM
7568 * vc/ediff-init.el (ediff-toggle-read-only-function):
7569 Use toggle-read-only.
86c60681 7570
cd5495ff
AM
75712011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
7572
7573 Fix bug #9560, sporadic wrong indentation; improve instrumentation
7574 of c-parse-state.
7575
00b77525 7576 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 7577 correct faulty logical expression.
cd5495ff
AM
7578 (c-parse-state-state, c-record-parse-state-state):
7579 (c-replay-parse-state-state): New defvar/defuns.
7580 (c-debug-parse-state): Use new functions.
7581
42ee24ed
MR
75822011-10-22 Martin Rudalics <rudalics@gmx.at>
7583
7584 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 7585 last fix. Use window-in-direction correctly.
42ee24ed 7586
a7dee7e7
CY
75872011-10-21 Chong Yidong <cyd@gnu.org>
7588
7589 * progmodes/idlwave.el (idlwave-mode):
7590 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
7591 require-final-newline; that's done in prog-mode.
7592 Suggested by Stefan Monnier.
a7dee7e7 7593
e07b9a6d
MR
75942011-10-21 Martin Rudalics <rudalics@gmx.at>
7595
7596 * mouse.el (mouse-drag-window-above)
7597 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7598 (mouse-drag-mode-line-1, mouse-drag-header-line)
7599 (mouse-drag-vertical-line-rightward-window): Remove.
7600 (mouse-drag-line): New function.
7601 (mouse-drag-mode-line, mouse-drag-header-line)
7602 (mouse-drag-vertical-line): Call mouse-drag-line.
7603 * window.el (window-at-side-p, windows-at-side): New functions.
7604
7e1361d9
UM
76052011-10-21 Ulrich Mueller <ulm@gentoo.org>
7606
7607 * tar-mode.el (tar-grind-file-mode):
7608 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
7609
30fcaf3a
CY
76102011-10-21 Chong Yidong <cyd@gnu.org>
7611
7612 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
7613 * progmodes/vera-mode.el (vera-mode):
7614 Use mode-require-final-newline.
30fcaf3a 7615
516eddb0
GM
76162011-10-20 Glenn Morris <rgm@gnu.org>
7617
db22a3c2 7618 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 7619
10d5f513
CS
76202011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
7621
7622 * emulation/cua-base.el (cua-set-mark): Fix case of string.
7623
ac6c8639
CY
76242011-10-20 Chong Yidong <cyd@gnu.org>
7625
7626 * emulation/cua-base.el (cua-mode):
7627 * mail/footnote.el (footnote-mode):
7628 * mail/mailabbrev.el (mail-abbrevs-mode):
7629 * net/xesam.el (xesam-minor-mode):
7630 * progmodes/bug-reference.el (bug-reference-mode):
7631 * progmodes/cap-words.el (capitalized-words-mode):
7632 * progmodes/compile.el (compilation-minor-mode)
7633 (compilation-shell-minor-mode):
7634 * progmodes/gud.el (gud-tooltip-mode):
7635 * progmodes/hideif.el (hide-ifdef-mode):
7636 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
7637 * progmodes/subword.el (subword-mode):
7638 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7639 * progmodes/which-func.el (which-function-mode):
7640 * term/tvi970.el (tvi970-set-keypad-mode):
7641 * term/vt100.el (vt100-wide-mode):
7642 * textmodes/flyspell.el (flyspell-mode):
7643 * textmodes/ispell.el (ispell-minor-mode):
7644 * textmodes/nroff-mode.el (nroff-electric-mode):
7645 * textmodes/paragraphs.el (use-hard-newlines):
7646 * textmodes/refill.el (refill-mode):
7647 * textmodes/reftex.el (reftex-mode):
7648 * textmodes/rst.el (rst-minor-mode):
7649 * textmodes/sgml-mode.el (html-autoview-mode)
7650 (sgml-electric-tag-pair-mode):
7651 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
7652 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
7653 * emulation/crisp.el (crisp-mode):
7654 * emacs-lisp/eldoc.el (eldoc-mode):
7655 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
7656 minor mode behavior.
7657
aa42ab43
JL
76582011-10-19 Juri Linkov <juri@jurta.org>
7659
7660 * descr-text.el (describe-char): Add #x2010 and #x2011 to
7661 the list of hard-coded chars with escape-glyph face.
7662
89400f1d
SM
76632011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7664
7665 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
7666
305c07f6
MA
76672011-10-19 Michael Albinus <michael.albinus@gmx.de>
7668
7669 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
7670 running process.
7671
13754b54
GM
76722011-10-19 Glenn Morris <rgm@gnu.org>
7673
7674 * vc/vc-bzr.el (vc-bzr-after-dir-status):
7675 Ignore ignored files. (Bug#9726)
7676
06e21633
CY
76772011-10-19 Chong Yidong <cyd@gnu.org>
7678
7679 Doc fix for minor modes, stating that an omitted argument enables
7680 the mode unconditionally when called from Lisp.
7681
7682 * abbrev.el (abbrev-mode):
7683 * allout.el (allout-mode):
7684 * autoinsert.el (auto-insert-mode):
7685 * autoarg.el (autoarg-mode, autoarg-kp-mode):
7686 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7687 (global-auto-revert-mode):
7688 * battery.el (display-battery-mode):
7689 * composite.el (global-auto-composition-mode)
7690 (auto-composition-mode):
7691 * delsel.el (delete-selection-mode):
7692 * desktop.el (desktop-save-mode):
7693 * dired-x.el (dired-omit-mode):
7694 * dirtrack.el (dirtrack-mode):
7695 * doc-view.el (doc-view-minor-mode):
7696 * double.el (double-mode):
7697 * electric.el (electric-indent-mode, electric-pair-mode):
7698 * emacs-lock.el (emacs-lock-mode):
7699 * epa-hook.el (auto-encryption-mode):
7700 * follow.el (follow-mode):
7701 * font-core.el (font-lock-mode):
7702 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7703 * help.el (temp-buffer-resize-mode):
7704 * hilit-chg.el (highlight-changes-mode)
7705 (highlight-changes-visible-mode):
7706 * hi-lock.el (hi-lock-mode):
7707 * hl-line.el (hl-line-mode, global-hl-line-mode):
7708 * icomplete.el (icomplete-mode):
7709 * ido.el (ido-everywhere):
7710 * image-file.el (auto-image-file-mode):
7711 * image-mode.el (image-minor-mode):
7712 * iswitchb.el (iswitchb-mode):
7713 * jka-cmpr-hook.el (auto-compression-mode):
7714 * linum.el (linum-mode):
7715 * longlines.el (longlines-mode):
7716 * master.el (master-mode):
7717 * mb-depth.el (minibuffer-depth-indicate-mode):
7718 * menu-bar.el (menu-bar-mode):
7719 * minibuf-eldef.el (minibuffer-electric-default-mode):
7720 * mouse-sel.el (mouse-sel-mode):
7721 * msb.el (msb-mode):
7722 * mwheel.el (mouse-wheel-mode):
7723 * outline.el (outline-minor-mode):
7724 * paren.el (show-paren-mode):
7725 * recentf.el (recentf-mode):
7726 * reveal.el (reveal-mode, global-reveal-mode):
7727 * rfn-eshadow.el (file-name-shadow-mode):
7728 * ruler-mode.el (ruler-mode):
7729 * savehist.el (savehist-mode):
7730 * scroll-all.el (scroll-all-mode):
7731 * scroll-bar.el (scroll-bar-mode):
7732 * server.el (server-mode):
7733 * shell.el (shell-dirtrack-mode):
7734 * simple.el (auto-fill-mode, transient-mark-mode)
7735 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7736 (line-number-mode, column-number-mode, size-indication-mode)
7737 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7738 * strokes.el (strokes-mode):
7739 * time.el (display-time-mode):
7740 * t-mouse.el (gpm-mouse-mode):
7741 * tool-bar.el (tool-bar-mode):
7742 * tooltip.el (tooltip-mode):
7743 * type-break.el (type-break-mode-line-message-mode)
7744 (type-break-query-mode):
7745 * view.el (view-mode):
7746 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7747 (global-whitespace-mode, global-whitespace-newline-mode):
7748 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7749
a3839de2
SM
7750 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7751 Fix autogenerated docstring.
06e21633 7752
5214e501
JL
77532011-10-19 Juri Linkov <juri@jurta.org>
7754
7755 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7756 by checking environment variables "DESKTOP_SESSION" and
7757 "XDG_CURRENT_DESKTOP". (Bug#9779)
7758
195f8db9
JL
77592011-10-19 Juri Linkov <juri@jurta.org>
7760
7761 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7762 (browse-url-chromium-program, browse-url-chromium-arguments):
7763 New defcustoms.
7764 (browse-url-default-browser): Check for `browse-url-chromium' and
7765 call `browse-url-chromium-program'.
7766 (browse-url-chromium): New command. (Bug#9779)
7767
343a34ff
JB
77682011-10-18 Juanma Barranquero <lekktu@gmail.com>
7769
7770 * facemenu.el (list-colors-duplicates): On Windows, detect more
7771 duplicates by assuming that only colors matching "^System" are
7772 special "system colors". (Bug#9722)
7773
6978a151
SM
77742011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7775
7776 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7777 to distinguish the author from the committer.
7778
6a80b297
MA
77792011-10-18 Michael Albinus <michael.albinus@gmx.de>
7780
7781 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7782
b31a5677
JK
77832011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7784
7785 * international/mule.el (sgml-html-meta-auto-coding-function):
7786 Add support for detecting encoding in HTML5 specified only as
7787 <meta charset="UTF-8">. Implementation just makes http-equiv and
7788 content-type parts from HTML4 encoding string optional. (Bug#9716)
7789
80c6d77f
GM
77902011-10-18 Glenn Morris <rgm@gnu.org>
7791
7792 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7793
08b0fee8
CY
77942011-10-18 Chong Yidong <cyd@gnu.org>
7795
7796 * faces.el (cursor): Doc fix.
7797
67e729a5
CY
77982011-10-17 Chong Yidong <cyd@gnu.org>
7799
7800 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7801
343a34ff 78022011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
7803
7804 * dirtrack.el (dirtrack): Support shell buffers with path
7805 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7806
0bc06380
TZ
78072011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7808
7809 * json.el: Bump version to 1.3 and note change in History.
7810 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7811
8b79f3e0
SM
78122011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7813
5a7c536b
SM
7814 * comint.el (comint-insert-input, comint-send-input)
7815 (comint-get-old-input-default, comint-backward-matching-input)
7816 (comint-next-prompt): Use nil instead of `input' for field property of
7817 past user input (bug#114).
7818
96a8a0df
SM
7819 * minibuffer.el (completion--replace): Inherit surrounding properties
7820 (bug#114).
7821 (minibuffer-complete-and-exit): Use it.
7822
8b79f3e0
SM
7823 * comint.el (comint--table-subvert): Quote the all-completions output
7824 (bug#9160).
7825
b8f7ff0d
MR
78262011-10-17 Martin Rudalics <rudalics@gmx.at>
7827
8b79f3e0 7828 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 7829
b8f7ff0d 7830 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 7831 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
7832 entries and separate them from frame entries.
7833
c235b555
GM
78342011-10-15 Glenn Morris <rgm@gnu.org>
7835
7836 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7837 Doc fixes.
7838
6bbfa6e1
CY
78392011-10-15 Chong Yidong <cyd@stupidchicken.com>
7840
8b79f3e0
SM
7841 * net/network-stream.el (network-stream-open-starttls):
7842 Improve detection of failure due to lack of TLS support.
ec5c990d 7843
6bbfa6e1
CY
7844 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7845 putting the input text in front and in bold.
7846
98488977
SM
78472011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7848
3d1337be
SM
7849 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7850
ee0b45e4
SM
7851 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7852 empty buffer.
7853
98488977
SM
7854 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7855 unread-command-events rather than pushing yet-another event.
7856
186f4720
EZ
78572011-10-14 Eli Zaretskii <eliz@gnu.org>
7858
7859 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7860 the explanation of the possible choices. Make the options passed
7861 to completing-read shorter.
7862
8b7a997c
AM
78632011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7864
7865 * textmodes/flyspell.el (flyspell-large-region): Make sure
7866 extended character mode is used if defined (Bug#1339).
7867
12587bbb
EZ
78682011-10-13 Eli Zaretskii <eliz@gnu.org>
7869
7870 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
7871 character info for LRE, LRO, RLE, and RLO characters by appending
7872 an invisible PDF.
12587bbb 7873
bad41229
SM
78742011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7875
7876 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7877 even in case of error; add debug spec; simplify data flow.
7878 (with-timeout-handler): Remove.
7879
28dbc92f
MA
78802011-10-12 Michael Albinus <michael.albinus@gmx.de>
7881
7882 Fix Bug#6019, Bug#9315.
7883
7884 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7885 complete `buffer-file-name', the local file name part could look
7886 remotely (for example on VMS).
7887
7888 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7889 `tramp-run-real-handler'.
7890 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7891 already quoted by '"'.
7892
7893 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7894 Let `file-name-handler-alist' be nil, the local file name part
7895 could look remotely (for example on VMS).
7896
e1b0b23a
SM
78972011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7898
7899 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7900 from here...
7901 (flyspell-post-command-hook): ...to here.
7902
a120bde9
SM
79032011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7904
7905 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7906 if not needed.
7907 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7908 using completion. Protect against "slow" callers.
7909 Remove the "message hack".
7910
7ce7717b
JL
79112011-10-11 Juri Linkov <juri@jurta.org>
7912
7913 * isearch.el (isearch-lazy-highlight-word): New variable.
7914 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7915 Use it. (Bug#9727)
7916
c02ee9d6
GM
79172011-10-11 Glenn Morris <rgm@gnu.org>
7918
7919 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7920 like f90-previous-statement does.
7921
93e616fd 79222011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7923
1f190e73 7924 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
7925 only in interactive use, to avoid error.
7926
af7b6078
SM
79272011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7928
7929 * minibuffer.el (completion-file-name-table): Fix last change,
7930 i.e. ignore normal errors but not the other ones.
7931
0563dae9
MR
79322011-10-10 Martin Rudalics <rudalics@gmx.at>
7933
7934 * window.el (special-display-buffer-names)
7935 (special-display-regexps): Remove some remnants of earlier
7936 changes from doc-strings.
366ca7f3
MR
7937 (quit-windows-on): New function.
7938
7939 * vc/vc.el (vc-revert, vc-rollback):
7940 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7941 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 7942 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 7943
49677495
MR
79442011-10-09 Martin Rudalics <rudalics@gmx.at>
7945
7946 * window.el (frame-auto-hide-function): Add version tag.
7947 (Bug#9699)
7948
56f2d1e1
MA
79492011-10-09 Michael Albinus <michael.albinus@gmx.de>
7950
7951 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7952 condition.
7953
112a6592
LL
79542011-10-09 Leo Liu <sdl.web@gmail.com>
7955
7956 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7957 (Bug#9701)
7958
0812589b
GM
79592011-10-08 Glenn Morris <rgm@gnu.org>
7960
7961 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7962 before the first code statement zero indent. (Bug#9690)
7963
b2b0776e
CY
79642011-10-08 Chong Yidong <cyd@stupidchicken.com>
7965
7966 * simple.el (count-words-region): Always count in the region.
7967 Report the number of lines and characters too.
7968 (count-words): New command, which counts in the buffer if the
7969 region is inactive, as count-words-region used to.
7970 (count-words--message): New function. Handle plurals.
7971 (count-lines-region): Make it an alias for count-words-region.
7972
7973 * bindings.el (esc-map): Replace count-lines-region with
7974 count-words-region.
7975
c557cd6b
MR
79762011-10-08 Martin Rudalics <rudalics@gmx.at>
7977
7978 * window.el (window--delete): Delete dedicated frame
7979 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 7980 (switch-to-buffer): Fix doc-string typo.
c557cd6b 7981
61a57ef4 79822011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7983
3a7d293b 7984 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 7985
c3833279
CY
79862011-10-07 Chong Yidong <cyd@stupidchicken.com>
7987
7988 * bindings.el ([M-left],[M-right]): Bind to left-word and
7989 right-word respectively.
7990
21ce8245
GM
79912011-10-07 Glenn Morris <rgm@gnu.org>
7992
7993 * cus-start.el (debug-on-quit): Fix custom type.
7994
6d823bb2
LMI
79952011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7996
0181e193
LMI
7997 * subr.el (define-key-after): Clarify that the function is not
7998 useful for non-menu keymaps.
7999
6d823bb2
LMI
8000 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
8001
8e3459ce 80022011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8003
21ce8245 8004 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 8005 in current minibuffer (Fix bug with recursive minibuffers).
8006
a1c2d21e
CY
80072011-10-06 Chong Yidong <cyd@stupidchicken.com>
8008
8009 * progmodes/gdb-mi.el (gdb): Doc fix.
8010
5a4cf282
MR
80112011-10-05 Martin Rudalics <rudalics@gmx.at>
8012
8013 * window.el (frame-auto-hide-function): New option replacing
8014 frame-auto-delete. Suggested by Stefan Monnier.
8015 (window--delete): Call frame-auto-hide-function instead of
8016 investigating frame-auto-delete.
c96111ea
MR
8017 (window-point-1, set-window-point-1): New functions.
8018 (window-in-direction, record-window-buffer, window-state-get-1)
8019 (display-buffer-record-window): Use window-point-1 instead of
8020 window-point.
8021 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 8022
9854542e
SM
80232011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8024
8025 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
8026
8943cfb0
GM
80272011-10-05 Glenn Morris <rgm@gnu.org>
8028
8029 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
8030 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
8031
647ab967
LL
80322011-10-05 Leo Liu <sdl.web@gmail.com>
8033
8034 * subr.el (read-char-choice): Fix argument to buffer-live-p which
8035 works with buffer object.
8036
3ddfbced
SM
80372011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8038
8039 * mpc.el (mpc-tool-bar-map): Add labels.
8040
bdfa5dd2
GM
80412011-10-04 Glenn Morris <rgm@gnu.org>
8042
8043 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8044
0e2070b5
MR
80452011-10-04 Martin Rudalics <rudalics@gmx.at>
8046
8047 * window.el (window--delete): New function.
8048 (frame-auto-delete): Resuscitate option.
8049 (bury-buffer, replace-buffer-in-windows)
8050 (quit-window): Rewrite using window--delete.
8051 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8052 Pass display-buffer-mark-dedicated to window--display-buffer-2
8053 (Bug#9639).
8054
3dc61a09
SM
80552011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8056
915a9b64
SM
8057 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
8058 returns a list (bug#9554). Add remote file name completion.
8059 * comint.el (comint--table-subvert): Curry and get quote&unquote
8060 functions as arguments.
8061 (comint--complete-file-name-data): Adjust call accordingly.
8062 * pcomplete.el (pcomplete--table-subvert): Remove.
8063 (pcomplete-completions-at-point): Use comint--table-subvert instead.
8064
3dc61a09
SM
8065 * minibuffer.el (completion-table-case-fold): Use currying.
8066 (completion--styles-type, completion--cycling-threshold-type):
8067 New constants.
8068 (completion-styles, completion-category-overrides)
8069 (completion-cycle-threshold): Use them.
8070 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
8071 completion-table-case-fold.
8072
8ea0a993
SB
80732011-10-03 Stephen Berman <stephen.berman@gmx.net>
8074
8075 * minibuffer.el (completion-category-overrides): Fix type of styles
8076 and add more user friendly tags (bug#9660).
8077
8c24b7f6
SM
80782011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8079
8080 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
8081 (mule-input-method-string): New widget.
8082 (default-input-method, language-info-custom-alist): Use it.
8083
428fe61a
SM
80842011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8085
32c1fffd
SM
8086 * pcomplete.el: Require comint.
8087 (pcomplete--common-suffix): Remove.
8088 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
8089 (pcomplete--table-subvert): Sync with comint--table-subvert.
8090 (pcomplete--entries): Use comint-completion-file-name-table.
8091 * comint.el (comint-unquote-filename): Simplify.
8092 (comint-completion-file-name-table): New function (bug#9616).
8093 (comint--complete-file-name-data): Use it.
8094
428fe61a
SM
8095 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
8096 (pcmpl-gnu-tar-buffer): Remove.
8097 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
8098 around. Make sure pcomplete-suffix-list is only changed temporarily.
8099 Don't look inside the tar's file if it's too large.
428fe61a 8100
04c52e2f
CY
81012011-10-01 Chong Yidong <cyd@stupidchicken.com>
8102
ce3cefcc
CY
8103 * cus-edit.el (custom-mode-map):
8104 * epa.el (epa-key-list-mode-map):
8105 * man.el (Man-mode-map):
8106 * startup.el (splash-screen-keymap):
8107 * simple.el (special-mode-map): Use scroll-up-command and
8108 scroll-down-command.
8109
8110 * progmodes/idlw-help.el (idlwave-help-mode-map):
8111 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
8112 * net/newst-plainview.el (newsticker-mode-map):
8113 * emulation/ws-mode.el (wordstar-mode-map):
8114 * emulation/vi.el (vi-com-map):
8115 * calc/calc-graph.el (calc-graph-show-dumb):
8116 * term/sun.el (terminal-init-sun):
8117 * term/ns-win.el (global-map):
8118 * progmodes/grep.el (grep-mode-map):
8119 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
8120 * mail/rmail.el (rmail-mode-map):
8121 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
8122
04c52e2f
CY
8123 * custom.el (custom-safe-themes, load-theme): Treat value of t for
8124 custom-safe-themes as special.
8125
79adf8c8
JD
81262011-10-01 Julien Danjou <julien@danjou.info>
8127
8128 * notifications.el (notifications-notify): Fix docstring.
8129
63bd50d3
PS
81302011-10-01 Per Starbäck <per@starback.se>
8131
8132 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
8133
199e4c7e
MR
81342011-09-30 Martin Rudalics <rudalics@gmx.at>
8135
8136 * startup.el (command-line-1): Fix last fix by inserting
8137 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 8138 (Bug#9605) and (Bug#9636)
199e4c7e 8139
fe5f08dd
EZ
81402011-09-29 Eli Zaretskii <eliz@gnu.org>
8141
8142 * simple.el (line-move): If auto-hscroll-mode is disabled and the
8143 window is hscrolled, move by logical lines. (Bug#9607)
8144 (line-move-visual): Update the doc string to the above effect.
8145
b5516bbd
MR
81462011-09-29 Martin Rudalics <rudalics@gmx.at>
8147
ccee00c0
MR
8148 * window.el (display-buffer-record-window): When WINDOW is the
8149 selected window use `point' instead of `window-point'. (Bug#9626)
8150
b5516bbd
MR
8151 * startup.el (command-line-1): Use insert-before-markers when
8152 inserting initial-scratch-message. (Bug#9605)
ccee00c0 8153
b5516bbd
MR
8154 * help.el (help-window): Remove variable.
8155
52aa0014
GM
81562011-09-29 Glenn Morris <rgm@gnu.org>
8157
8158 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
8159
df9a7357
JB
81602011-09-29 Juanma Barranquero <lekktu@gmail.com>
8161
8162 * descr-text.el (describe-char-categories): Accept category
8163 descriptions more than one line long.
8164
a8406c20
SM
81652011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8166
88d9610c
SM
8167 * simple.el (delete-trailing-whitespace): Fix last change.
8168
a5daf810
SM
8169 * progmodes/perl-mode.el (perl-syntax-propertize-function):
8170 Don't confuse "y => 3" as the beginning of a `y' operation.
8171
a8406c20
SM
8172 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
8173 object has more than 4 slots (bug#9613).
8174
a239d4e9
JB
81752011-09-28 Juanma Barranquero <lekktu@gmail.com>
8176
8177 * subr.el (with-output-to-temp-buffer):
8178 * net/quickurl.el (quickurl, quickurl-browse-url):
8179 Fix typos in docstrings.
8180
693fbdb6
EZ
81812011-09-27 Eli Zaretskii <eliz@gnu.org>
8182
8183 * minibuffer.el (completion-styles)
8184 (completion-category-overrides): Cross reference each other in doc
8185 strings.
8186
8b457e28
GM
81872011-09-27 Glenn Morris <rgm@gnu.org>
8188
8189 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8190 to split-string. (Bug#9606)
8191
85a16208
LMI
81922011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8193
8194 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8195 (bug#9615).
8196
502f9ebd
CY
81972011-09-27 Chong Yidong <cyd@stupidchicken.com>
8198
8199 * emacs-lisp/package.el (list-packages): Fix echo area message.
8200
7690bdea
LL
82012011-09-27 Leo Liu <sdl.web@gmail.com>
8202
8203 * ido.el (ido-read-internal): Accept cons cell HIST arg.
8204
e2ee6f30
MA
82052011-09-25 Michael Albinus <michael.albinus@gmx.de>
8206
8207 * net/dbus.el (dbus-unregister-object): Don't release services for
8208 registered signals. (Bug#9581)
8209
f3f98342
TZ
82102011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
8211
8212 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8213 function that picks between cfengine 2 and 3 support
8214 automatically. Update docs accordingly.
8215
dd7aa8dd
KH
82162011-09-22 Kenichi Handa <handa@m17n.org>
8217
8218 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8219 ZERO.
8220 (indian-itrans-v5-table-for-tamil): New variable.
8221 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8222
3f2b07f8
KM
82232011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
8224
8225 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8226 that's true if the current command involved collapsing of text.
8227 It's reset to false at the beginning of the next command.
8228 (allout-post-command-business): Move the cursor to the beginning
8229 of entry if the cursor is hidden and collapsing activity just
8230 happened.
8231
371d6a61
CY
82322011-09-24 Chong Yidong <cyd@stupidchicken.com>
8233
8234 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8235 tracking (Bug#9541).
8236
2ac2721a
UJ
82372011-09-24 Ulf Jasper <ulf.jasper@web.de>
8238
8239 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
8240 (newsticker-show-news): Automatically load html rendering package
8241 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
8242 because w3m-fill-column is let-bound" and the error "Symbol's value
8243 as variable is void: w3m-fill-column".
2ac2721a 8244
fac7ae53
MA
82452011-09-24 Michael Albinus <michael.albinus@gmx.de>
8246
8247 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8248 Release services only if they are defined. (Bug#9581)
8249
e08b633b
RS
82502011-09-23 Richard Stallman <rms@gnu.org>
8251
e488d29c
RS
8252 * textmodes/paragraphs.el (forward-sentence): For backwards case,
8253 distinguish start of paragraph from start of its text.
8254
19c38752
RS
8255 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8256
e08b633b
RS
8257 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8258 (rmail-generate-viewer-buffer): Put that hook on view buffer.
8259 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8260
0a39f27e
AS
82612011-09-23 Andreas Schwab <schwab@linux-m68k.org>
8262
8263 * international/mule-diag.el (mule-diag): Insert a newline after
8264 each fontset description.
8265
db4e950d
SM
82662011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8267
8268 * simple.el (delete-trailing-whitespace):
8269 Document last change; simplify.
8270
eca3f3ea
PW
82712011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
8272
d68e189a
PW
8273 * simple.el (delete-trailing-whitespace): Also delete
8274 extra newlines at the end of the buffer.
8275
eca3f3ea
PW
8276 * textmodes/picture.el: Make motion commands obey shift-select-mode.
8277 (picture-newline): Use forward-line so as to ignore fields.
8278
01c157cc
SM
82792011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8280
8281 * subr.el (with-wrapper-hook): Fix edebug spec.
8282
022de23e
LMI
82832011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8284
8285 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8286 (bug#4538).
8287
91683089
MA
82882011-09-23 Michael Albinus <michael.albinus@gmx.de>
8289
eca3f3ea
PW
8290 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8291 Fix nasty bug using wrong cached values.
91683089 8292
5bdd6fa4
AM
82932011-09-23 Alan Mackenzie <acm@muc.de>
8294
8295 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8296
97adfb97
CY
82972011-09-23 Chong Yidong <cyd@stupidchicken.com>
8298
8299 * window.el (pop-to-buffer): Ensure right window is selected if we
8300 chose another frame.
8301
d4ef2b50
EZ
83022011-09-22 Eli Zaretskii <eliz@gnu.org>
8303
8304 * simple.el (what-cursor-position): Use get-char-property-change
8305 and next-single-char-property-change, to be able to show display
8306 properties that come from overlays as well as text properties.
8307
72258fe5
CY
83082011-09-22 Chong Yidong <cyd@stupidchicken.com>
8309
8310 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8311
8312 * cmuscheme.el (run-scheme, switch-to-scheme):
8313 * cus-edit.el (customize-group, custom-buffer-create)
8314 (customize-browse):
8315 * info.el (info):
8316 * shell.el (shell):
8317 * mail/sendmail.el (mail):
8318 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8319
8f098516
RS
83202011-09-22 Richard Stallman <rms@gnu.org>
8321
8322 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8323 move back only to line beg, don't move back over blank lines.
8324
e74f1bb6
MA
83252011-09-22 Michael Albinus <michael.albinus@gmx.de>
8326
8327 * files.el (copy-directory): Set directory attributes only in case
8328 they could be retrieved from the source directory. (Bug#9565)
8329
bfeef8b6
DK
83302011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
8331
8332 * progmodes/hideshow.el (hs-looking-at-block-start-p)
8333 (hs-find-block-beginning, hs-hide-level-recursive):
8334 Ignore strings as well as comments. (Bug#9502)
8335
7e423bb8
AS
83362011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
8337
8338 * progmodes/sql.el (sql-comint-postgres):
8339 Convert port number to a string. (Bug#9566)
8340
b4d72fcf
MR
83412011-09-22 Martin Rudalics <rudalics@gmx.at>
8342
8343 * window.el (quit-window): Undedicate window when switching to
8344 previous buffer. Reported by Thierry Volpiatto
8345 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
8346 (special-display-popup-frame): When popping up a new frame reset
8347 its previous buffers to nil. Simplify code.
b4d72fcf 8348
a7b88dc6
MA
83492011-09-21 Michael Albinus <michael.albinus@gmx.de>
8350
8351 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8352 and process filter, as done also in `shell-command'.
8353
cf4eacfd
MR
83542011-09-21 Martin Rudalics <rudalics@gmx.at>
8355
eca3f3ea 8356 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
8357 Call set-window-start with NOFORCE argument t.
8358 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
8359 (quit-window): Reword doc-string. Handle new format of
8360 quit-restore parameter. Don't delete window if it has a
8361 previous buffer we can show instead of the present one.
8362 (display-buffer-record-window): Rewrite using a new format for
8363 the quit-restore window parameter
8364 (special-display-popup-frame, display-buffer-same-window)
8365 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8366 (display-buffer-pop-up-window, display-buffer-use-some-window):
8367 Adapt symbol passed to display-buffer-record-window.
8368 * help.el (help-window-setup): Handle new format of quit-restore
8369 parameter.
8370
8d28cb95
SM
83712011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
8372
94ab793f
SM
8373 * faces.el (face-list): Fix docstring (bug#9564).
8374
8d28cb95
SM
8375 * window.el (display-buffer--action-function-custom-type):
8376 Don't include internal functions in the Custom interface.
8377
3820edeb
JL
83782011-09-20 Juri Linkov <juri@jurta.org>
8379
8380 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8381 (Info-forward-node, Info-backward-node, Info-next-preorder)
8382 (Info-last-preorder): Use it. (Bug#9528)
8383
5147931d
JL
83842011-09-20 Juri Linkov <juri@jurta.org>
8385
8386 * info.el (Info-last-preorder): Visit last menu item only when
8387 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
8388
cf499a1a
JD
83892011-09-20 Julien Danjou <julien@danjou.info>
8390
8391 * password-cache.el (password-cache-remove): Remove entries even if the
8392 value is nil, so that password with a nil value (negative caching) is
8393 possible to invalidate.
8394
f84e2fe2
LM
83952011-09-20 Lawrence Mitchell <wence@gmx.li>
8396
8397 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
8398 all whitespace around breakpoint. (Bug#9553)
8399 (f90-find-breakpoint): Only break at whitespace inside a comment.
8400
78054a46
SM
84012011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8402
8403 * minibuffer.el (completion-file-name-table): Keep track of errors.
8404 (completion-table-with-predicate): Handle the case where pred1 is nil.
8405 * pcomplete.el (pcomplete-completions-at-point): Simplify.
8406
345083b2
SM
84072011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8408
e24e27be
SM
8409 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
8410 (debugger-return-value): Signal an error if the debugging context does
8411 not await any return value.
8412
345083b2
SM
8413 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8414 * image-mode.el (image-toggle-display-text)
8415 (image-toggle-display-image): Stay away from evil `intangible'.
8416
08d355e3
LL
84172011-09-19 Leo Liu <sdl.web@gmail.com>
8418
8419 * replace.el (occur-revert-arguments): Make it permanent-local.
8420 (occur-mode): Don't call font-lock-defontify.
8421
f01da43f
CY
84222011-09-19 Chong Yidong <cyd@stupidchicken.com>
8423
8424 * net/ldap.el (ldap-search-internal): Don't push empty search
8425 result (Bug#9508).
8426
b6072fa6
SM
84272011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8428
8429 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8430
443d6696
MA
84312011-09-19 Michael Albinus <michael.albinus@gmx.de>
8432
8433 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8434 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8435
7cc6e154
JL
84362011-09-18 Juri Linkov <juri@jurta.org>
8437
8438 * buff-menu.el (Buffer-menu-mode-map):
8439 * dired.el (dired-mode-map):
8440 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8441 (lisp-interaction-mode-map):
8442 * emacs-lisp/package.el (package-menu-mode-map):
8443 * epa.el (epa-key-list-mode-map):
8444 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8445 (menu-bar-options-menu):
8446 * outline.el (outline-mode-menu-bar-map):
8447 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8448 * vc/vc-dir.el (vc-dir-menu-map):
8449 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8450 Capitalize non-function content words in menu item strings.
8451
8452 * dired.el (dired-mode-map): Add menu item for
8453 `image-dired-dired-toggle-marked-thumbs'.
8454
80302a81
JL
84552011-09-18 Juri Linkov <juri@jurta.org>
8456
8457 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8458 to `isearch-case-fold-search' and restore its original value
8459 after the `isearch-mode' call.
8460
46c5cf66
JL
84612011-09-18 Juri Linkov <juri@jurta.org>
8462
8463 * progmodes/grep.el (grep-process-setup): Don't check code for 1
8464 because `zgrep' returns 1 for successful matches (bug#9226).
8465
d18b513b
JL
84662011-09-18 Juri Linkov <juri@jurta.org>
8467
8468 * info.el (Info-extract-menu-node-name): Check the second match
8469 for empty string (second test-case of bug#9528).
8470 (Info-last-preorder): Let-bind `Info-history' to nil to not add
8471 intermediate nodes to the history (first test-case of bug#9528).
8472
72753f87
JL
84732011-09-18 Juri Linkov <juri@jurta.org>
8474
8475 * info.el (Info-mode-syntax-table): New variable.
1154d12e 8476 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 8477
c9384295
JL
84782011-09-18 Juri Linkov <juri@jurta.org>
8479
1154d12e
JB
8480 * info.el (Info-file-supports-index-cookies):
8481 Increment line-beginning-position's arg from 3 to 4 because makeinfo
8482 outputs one more line for long file names (bug#4142).
c9384295 8483
d473dce8
CY
84842011-09-18 Chong Yidong <cyd@stupidchicken.com>
8485
8486 * newcomment.el (comment-normalize-vars): If prompting for
8487 comment-start, set comment-start-skip too (Bug#8424).
8488
2176854d
JB
84892011-09-18 Johan Bockgård <bojohan@gnu.org>
8490
8491 * icomplete.el: Fix previous fix of Bug#5849.
8492 (icomplete-mode): Don't set completion-show-inline-help.
8493 (icomplete-minibuffer-setup): Set completion-show-inline-help
8494 locally during icompletion.
8495
3aace4e4
CY
84962011-09-18 Chong Yidong <cyd@stupidchicken.com>
8497
c940224f
CY
8498 * woman.el (woman2-process-escapes): Don't delete unrecognized
8499 escapes (Bug#7843).
8500
3aace4e4
CY
8501 * files.el (inhibit-first-line-modes-regexps): Add image files.
8502 (hack-local-variables-prop-line): Return nil for malformed
8503 prop-lines (Bug#9044).
8504
710dec63
MA
85052011-09-18 Michael Albinus <michael.albinus@gmx.de>
8506
8507 * net/tramp.el (top): Don't require 'shell.
8508 (tramp-methods): Fix docstring.
8509 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
8510 Return complete remote file name. Handle "smb" case.
8511 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
8512 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8513
8514 * net/tramp-compat.el (top): Require 'shell.
8515
8516 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8517 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8518 `tramp-current-host'.
8519 (tramp-get-remote-tmpdir): Remove.
8520
8521 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8522 `tramp-tmpdir' entries.
8523 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8524 (tramp-smb-handle-file-attributes): Ignore errors.
8525 (tramp-smb-wait-for-output): Check also for process end.
8526
5d5ac8ec
LMI
85272011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8528
8529 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8530 when sending QUIT (bug#9312).
8531
8c0f49f0
CY
85322011-09-17 Chong Yidong <cyd@stupidchicken.com>
8533
8534 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8535 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8536 occur-mode-display-occurrence.
8537 (occur-edit-mode): Add usage message.
8538 (occur-cease-edit): New command.
8539 (occur-after-change-function): Use text properties to find the
8540 position of the prefix text.
8541 (occur-engine): Set stickiness of prefix text properties.
8542
8f1383f7
GM
85432011-09-17 Glenn Morris <rgm@gnu.org>
8544
8545 * progmodes/etags.el (complete-tag):
8546 Fix call to completion-in-region. (Bug#9526)
8547
744ba0e3
JL
85482011-09-17 Juri Linkov <juri@jurta.org>
8549
8550 * textmodes/ispell.el (ispell-word): Add to the error message
8551 the word, ispell program name and current dictionary (bug#9121).
8552 (ispell-tex-arg-end): Capitalize "error" in the error message.
8553
d9bbf400
AS
85542011-09-17 Andreas Schwab <schwab@linux-m68k.org>
8555
8556 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8557 check. (Bug#4251)
8558
8da11505
JL
85592011-09-17 Juri Linkov <juri@jurta.org>
8560
8561 * window.el (window-safe-min-height, window-safe-min-width):
8562 Fix typos (followup to bug#9522).
8563
a91adc7e
SJ
85642011-09-17 Sven Joachim <svenjoac@gmx.de>
8565
8566 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8567
064f328a
EZ
85682011-09-16 Eli Zaretskii <eliz@gnu.org>
8569
8570 * simple.el (line-move): If goal-column is set, move by logical
8571 lines, not by display lines. (Bug#971)
8572 (next-line, previous-line, goal-column, line-move-visual): Doc fix
8573 to reflect the above change.
8574
e69df516
SM
85752011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8576
8577 * image.el (imagemagick-register-types): Use regexp-opt.
8578
cbb0f9ab
CY
85792011-09-15 Chong Yidong <cyd@stupidchicken.com>
8580
8581 * window.el (display-buffer-base-action): Rename from
8582 display-buffer-default-action. Make default value empty.
8583 (display-buffer-overriding-action): Convert to defvar.
8584 (display-buffer-fallback-action): New var.
8585
25322144
CY
85862011-09-15 Chong Yidong <cyd@stupidchicken.com>
8587
8588 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8589 declaration.
8590 (package--add-to-archive-contents): If there is a duplicate entry
8591 with an older version, remove it.
8592 (package-menu-mark-delete, package-menu-mark-install)
8593 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
8594 (package-menu-mark-obsolete-for-deletion):
8595 Use package-menu-get-status instead of a regexp search.
25322144
CY
8596 (package-menu-get-status): Use tabulated-list-entry.
8597 (package-menu-mark-upgrades): New command.
d770725a 8598 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
8599 (package-menu-execute): Do installation before deletion.
8600 (package-menu-refresh, package-menu-execute): Use derived-mode-p
8601 instead of checking major-mode.
8602 (package-menu--find-upgrades): New function.
8603
7520339c
LMI
86042011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8605
8606 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8607 passwords in the log buffer.
65a046c4
LMI
8608 (smtpmail-process-filter): Update the process marker so that the
8609 "broken by peer" status message is inserted in the right place.
7520339c 8610
d3c30954
SM
86112011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8612
3fe48822
SM
8613 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8614 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8615 bibtex-completion-at-point-function.
8616 (bibtex-completion-at-point-function): Use them.
8617
1b8b3954
SM
8618 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8619
d3c30954
SM
8620 * mpc.el (mpc-constraints-tag-lookup): New function.
8621 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8622 also to browser "album|playlist".
8623
72779976
JL
86242011-09-14 Juri Linkov <juri@jurta.org>
8625
8626 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
8627 (isearch-edit-string): Use length of `isearch-string' when
8628 `isearch-fail-pos' returns nil.
8629 (isearch-message): Remove duplicate code and call
8630 `isearch-fail-pos' with arg `t'.
8631
a0bf2bcd
CY
86322011-09-14 Chong Yidong <cyd@stupidchicken.com>
8633
17bb0a2d
CY
8634 * replace.el (occur-mode-goto-occurrence): Don't force using other
8635 window (Bug#9499).
8636
a0bf2bcd
CY
8637 * dired-aux.el (dired-do-chmod): Don't provide initial input.
8638
f678e0b6
MR
86392011-09-14 Martin Rudalics <rudalics@gmx.at>
8640
8641 * window.el (display-buffer-window): Remove.
8642 (display-buffer-record-window): Use help-setup window parameter
8643 instead of variable display-buffer-window.
8644 (display-buffer-function, special-display-buffer-names)
8645 (special-display-function): Mention help-setup parameter instead
8646 of display-buffer-window in doc-string.
d3c30954
SM
8647 * help.el (help-window-setup): New argument help-window.
8648 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
8649 Reword some messages.
8650 (with-help-window): Pass window used for displaying the buffer
8651 to help-window-setup. Don't set display-buffer-window.
8652
8e39b2e8
GM
86532011-09-13 Glenn Morris <rgm@gnu.org>
8654
8655 * emacs-lisp/debug.el (debugger-make-xrefs):
8656 Preserve point. (Bug#9462)
8657
85e9c04b
CY
86582011-09-13 Chong Yidong <cyd@stupidchicken.com>
8659
8660 * window.el (window-deletable-p): Use next-frame.
8661
1b36ed6a
MR
86622011-09-13 Martin Rudalics <rudalics@gmx.at>
8663
8664 * window.el (window-auto-delete): Remove.
8665 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 8666 dedication and previous buffers.
1b36ed6a
MR
8667 (switch-to-prev-buffer): Don't delete window.
8668 (delete-windows-on): Delete a window's frame if and only if the
8669 window is dedicated.
8670 (replace-buffer-in-windows): Delete buffer's window or frame if
8671 and only if window is dedicated.
8672 (quit-window): Handle quit-restore as before last change.
4d61f28d 8673 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 8674
ef8ef9fb
CY
86752011-09-13 Chong Yidong <cyd@stupidchicken.com>
8676
8677 * window.el (window-deletable-p): Never delete the last frame on a
8678 given terminal.
8679
b2cba41e
GM
86802011-09-13 Glenn Morris <rgm@gnu.org>
8681
8682 * help.el (describe-key-briefly): Copy previous standard-output change.
8683
51553db6 86842011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
8685
8686 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
8687
b7556719
GM
86882011-09-13 Glenn Morris <rgm@gnu.org>
8689
8690 * emacs-lisp/lisp-mode.el (lisp-indent-function):
8691 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
8692
64b51947
CY
86932011-09-12 Chong Yidong <cyd@stupidchicken.com>
8694
8695 * dired-aux.el (dired-mark-read-string): Don't return default
8696 value on empty input (Bug#9361).
8697 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
8698 Omit initial minibuffer contents.
8699 (dired-do-chmod): Signal an error on empty input.
8700 (dired-mark-read-string): Don't return default on empty input.
8701
8702 * files.el (file-modes-symbolic-to-number): Doc fix.
8703
393a301e
SM
87042011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8705
8706 * international/mule-cmds.el (ucs-completions): Remove.
8707 (read-char-by-name): Use complete-with-action instead; add metadata.
8708
fa5660f9
CY
87092011-09-11 Chong Yidong <cyd@stupidchicken.com>
8710
8711 * window.el (display-buffer--action-function-custom-type)
8712 (display-buffer--action-custom-type): New vars.
8713 (display-buffer-alist, display-buffer-default-action)
8714 (display-buffer-overriding-action): Add defcustom types.
8715
4a592f66
CY
8716 * frame.el (delete-other-frames): Doc fix (Bug#276).
8717
73d56dbd
LMI
87182011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8719
8720 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8721
37ac18a3
CY
87222011-09-11 Chong Yidong <cyd@stupidchicken.com>
8723
8724 Change modes that used same-window-* vars to use switch-to-buffer.
8725
8726 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8727 Use switch-to-buffer.
8728
8729 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
8730 (customize-browse, custom-buffer-create-other-window):
8731 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
8732
8733 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8734 (Info-prev, Info-up, Info-speedbar-goto-node)
8735 (info-display-manual): Use switch-to-buffer.
8736 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8737
8738 * mail/sendmail.el (mail): Use switch-to-buffer.
8739 (mail-recover): Use switch-to-buffer-other-window.
8740
8741 * cmuscheme.el (run-scheme, switch-to-scheme):
8742 * ielm.el (ielm):
8743 * shell.el (shell):
8744 * net/rlogin.el (rlogin):
8745 * net/telnet.el (telnet, rsh):
8746 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8747
10195bd6
AS
87482011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8749
8750 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8751
b322f63a
LMI
87522011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8753
39d7fed6
LMI
8754 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8755 so don't mention it (bug#9301).
ba5a81f1 8756 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 8757
ee0e9f11
LMI
8758 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8759 match `x', `w32' and `ns', like the manual says (bug#9029).
8760
0b1c89c1 8761 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
8762 (process-kill-buffer-query-function): Mention the buffer name in
8763 the query.
0b1c89c1 8764
77549ea8
LMI
8765 * image-mode.el (image-next-line): The line parameter is mandatory
8766 (bug#9258).
8767
803ef892
LMI
8768 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8769 which can be useful (bug#9301).
8770
12980837
LMI
8771 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8772
91054f8f
LMI
8773 * subr.el (match-string): Mention that the current buffer should
8774 be the same as the search was done in (bug#9282).
8775
b322f63a
LMI
8776 * facemenu.el: Disable the remove-* commands if the mark isn't
8777 active (bug#9162).
8778
3199b96f
CY
87792011-09-10 Chong Yidong <cyd@stupidchicken.com>
8780
8781 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8782 of display-buffer.
8783 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8784
8785 * replace.el (occur-mode-goto-occurrence)
8786 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8787 and display-buffer.
8788
8789 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8790 display-buffer.
8791
8792 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8793 special-display and same-window variables.
8794 (mail-other-window): Use switch-to-buffer-other-window.
8795 (mail-other-frame): USe switch-to-buffer-other-frame.
8796
393a301e
SM
8797 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8798 Use display-buffer-other-frame.
3199b96f
CY
8799 (gdb-display-gdb-buffer): Use pop-to-buffer.
8800
8801 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8802
8803 * progmodes/python.el: Don't set same-window-buffer-names.
8804
8805 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8806
8807 * window.el (display-buffer-alist): Add *Python*.
8808
8319e0bf
CY
88092011-09-10 Chong Yidong <cyd@stupidchicken.com>
8810
8811 * window.el (display-buffer-alist): Add entry for buffers
8812 previously handled same-window-*.
8813 (display-buffer-alist, display-buffer-default-action)
8814 (display-buffer-overriding-action): Mark as risky.
8815 (display-buffer-alist): Document action function changes.
8816 (display-buffer--same-window-action)
8817 (display-buffer--other-frame-action): New variables.
8818 (switch-to-buffer, display-buffer-other-frame): Use them.
8819 (display-buffer): Rename reuse-frame entry to reusable-frames.
8820 (display-buffer-reuse-selected-window): Function deleted.
8821 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8822 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8823 (display-buffer-special): New function.
8824 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8825 display-buffer-reuse-or-pop-window. Split off special-display
8826 part into display-buffer-special.
8827 (display-buffer-use-some-window): Don't perform any special
8828 pop-up-frames handling.
8829 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 8830 (display-buffer--maybe-same-window): Rename from
0d3ff375 8831 display-buffer-maybe-same-window.
8319e0bf 8832
919a69aa
CY
8833 * info.el: Don't set same-window-regexps.
8834 (info-setup): New function.
8835 (info-other-window, info): Call it.
8836
8837 * cus-edit.el: Don't set same-window-regexps.
8838 (customize-group): New argument.
8839 (customize-group-other-window): Use it.
8840 (customize-face, customize-face-other-window): Likewise.
8841 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8842
8319e0bf
CY
8843 * net/rlogin.el:
8844 * net/telnet.el:
8845 * progmodes/gud.el: Don't set same-window-regexps.
8846
8847 * cmuscheme.el:
8848 * ielm.el:
8849 * shell.el:
8850 * mail/sendmail.el:
8851 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8852
25173000
JL
88532011-09-10 Juri Linkov <juri@jurta.org>
8854
8855 * isearch.el (isearch-edit-string): Remove obsolete mention of
8856 `C-w' (`isearch-yank-word-or-char') from docstring.
8857 (isearch-query-replace): Fix typo in docstring (bug#9466).
8858
056e44ef
JL
88592011-09-10 Juri Linkov <juri@jurta.org>
8860
8861 * paren.el (show-paren-function): Don't show escaped parens.
8862 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8863
c3760c17
EZ
88642011-09-10 Eli Zaretskii <eliz@gnu.org>
8865
8866 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8867 (mm-default-file-encoding): Remove autoload forms, they are
8868 replaced with autoload cookies in mml.el and mm-encode.el.
8869 (mail-add-attachment): New command.
8870 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8871 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8872 the doc string.
8873 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8874
fece895e
RT
88752011-09-10 Reuben Thomas <rrt@sc3d.org>
8876
e69df516
SM
8877 * simple.el (count-words-region): Use buffer if there's no region
8878 (bug#9429).
fece895e 8879
5e68ce4a
JL
88802011-09-09 Juri Linkov <juri@jurta.org>
8881
8882 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8883 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8884 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8885
0a6b9622
AM
88862011-09-09 Alan Mackenzie <acm@muc.de>
8887
8888 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8889 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8890
14a29deb
EZ
88912011-09-09 Eli Zaretskii <eliz@gnu.org>
8892
8893 Fix for Savannah bug#9392.
8894 * simple.el (mail-encode-mml): New defvar.
8895
8896 * mail/rmail.el (mail-encode-mml): Add a defvar.
8897 (rmail-enable-mime-composing): Default to t.
8898 (rmail-forward): Use MIME method of forwarding only if both
8899 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8900 Set mail-encode-mml non-nil if the MIME method was used.
8901
8902 * mail/sendmail.el (mml-to-mime): Add autoload form.
8903 (mail-encode-mml): Add a defvar.
8904 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8905 to nil.
8906 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8907 message through mml-to-mime, and reset mail-encode-mml to nil.
8908
28c45130
GM
89092011-09-09 Glenn Morris <rgm@gnu.org>
8910
8911 * woman.el (woman-if-body): When processing an .el block,
8912 do not delete the next .el block as well. (Bug#9447)
69f4b618 8913 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 8914
9b1c252e
MR
89152011-09-08 Martin Rudalics <rudalics@gmx.at>
8916
8917 * window.el (window-deletable-p): Make sure window is live before
8918 invoking window-prev-buffers.
8919
567457e3
LL
89202011-09-08 Leo Liu <sdl.web@gmail.com>
8921
8922 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8923
97f05794
JL
89242011-09-08 Juri Linkov <juri@jurta.org>
8925
8926 * progmodes/compile.el (compilation-environment): Make it
8927 a defcustom (bug#8340).
8928
8b0874b5
MR
89292011-09-08 Martin Rudalics <rudalics@gmx.at>
8930
8931 * window.el (frame-auto-delete): Rename to window-auto-delete.
8932 Make it control auto-deletion of windows and/or frames.
8933 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 8934 for deleting window/frame. (Bug#9419)
8b0874b5
MR
8935 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8936 Rewrite handling of case when window/frame can be deleted.
8937 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 8938 argument t. (Bug#9456)
8b0874b5 8939
4feb6e73
CY
89402011-09-07 Chong Yidong <cyd@stupidchicken.com>
8941
8942 * help-mode.el (help-mode): Restore autoload.
8943
91ab9c13
JL
89442011-09-07 Juri Linkov <juri@jurta.org>
8945
8946 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8947 `compilation-environment'. Set buffer-local
8948 `compilation-environment' to `thisenv' later after (funcall mode).
8949 (Bug#8340)
8950
8951 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8952 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8953 instead of replacing its value. (Bug#8340)
8954
0527e251
JL
89552011-09-07 Juri Linkov <juri@jurta.org>
8956
8957 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8958 based on text properties put by `grep-filter' instead of matching
8959 escape sequences.
8960 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8961 to the value of `grep-error-screen-columns' (bug#9438).
8962
249f792c
JL
89632011-09-07 Juri Linkov <juri@jurta.org>
8964
8965 * simple.el (next-error-highlight, next-error-highlight-no-select):
8966 Doc fix (bug#9432).
8967
ff7271b9
OT
89682011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8969
8970 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8971 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8972
183fc730
LL
89732011-09-07 Leo Liu <sdl.web@gmail.com>
8974
8975 * net/rcirc.el (rcirc-mode): Conditionally initialize
8976 rcirc-input-ring.
8977
77694924
SM
89782011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8979
8980 * emacs-lisp/find-func.el (find-function-C-source): Only set
8981 find-function-C-source-directory after checking that we found a source
8982 file there (bug#9440).
8983
d809b8eb
AM
89842011-09-06 Alan Mackenzie <acm@muc.de>
8985
8986 * isearch.el (isearch-other-meta-char): Wherever a key list is
8987 unread, "unread" the prefix arg, too. This fixes bug #8901.
8988
453de99f
OG
89892011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8990
8991 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8992
90439906
JL
89932011-09-05 Juri Linkov <juri@jurta.org>
8994
8995 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8996
f62bd846
JL
89972011-09-05 Juri Linkov <juri@jurta.org>
8998
8999 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
9000 keeping point where processing of grep matches begins, and
9001 continue to delete remaining escape sequences from the same point.
9002 (grep-filter): Make leading zero optional in "0?1;31m" because
9003 git-grep emits "\033[1;31m" escape sequences unlike expected
9004 "\033[01;31m" as GNU Grep does (bug#9408).
9005 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
9006
045820ec
JL
90072011-09-05 Juri Linkov <juri@jurta.org>
9008
9009 * subr.el (y-or-n-p): Capitalize "yes".
9010
f5e29b9b
MA
90112011-09-04 Michael Albinus <michael.albinus@gmx.de>
9012
9013 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
9014 `tramp-cache-unload-hook' where appropriate.
9015 (tramp-methods): Rename `tramp-remote-sh' to
9016 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
9017 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
9018
9019 * net/tramp-sh.el (top): Don't require 'shell.
9020 (tramp-methods): Add `tramp-remote-shell' and
9021 `tramp-remote-shell-args' entries.
9022 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
9023 (tramp-sh-handle-shell-command): Remove.
9024 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9025 Use `tramp-remote-shell'.
9026
2784c434
CY
90272011-09-03 Chong Yidong <cyd@stupidchicken.com>
9028
393a301e 9029 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
9030 (sendmail-query-once): Save directly to send-mail-function.
9031 Update message-send-mail-function too.
9032
9033 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
9034
464cdf56
CS
90352011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9036
9037 * progmodes/python.el (python-mode-map): Use correct function to
9038 start python interpreter from menu-bar (as reported by Geert
9039 Kloosterman).
9040 (inferior-python-mode-map): Fix typo.
393a301e 9041 (python-shell-map): Remove.
464cdf56 9042
d37e5c87
DD
90432011-09-03 Deniz Dogan <deniz@dogan.se>
9044
9045 * net/rcirc.el (rcirc-print): Simplify code for
9046 rcirc-scroll-show-maximum-output. There is no need to walk
9047 through all windows to find the right one.
9048
f3ada0ee
CS
90492011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9050
9051 * help.el (help-return-method): Doc fix.
9052
1f3c99ca
MR
90532011-09-03 Martin Rudalics <rudalics@gmx.at>
9054
9055 * window.el (window-deletable-p): Don't return a non-nil value
9056 when there's a buffer that was shown in the window before.
9057 (Bug#9419)
393a301e
SM
9058 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9059 Set window's previous buffers to nil.
1f3c99ca 9060
a3cf097f
EZ
90612011-09-03 Eli Zaretskii <eliz@gnu.org>
9062
9063 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
9064 newline before and after the tag line, so it doesn't interfere
9065 with determining the paragraph direction of bidirectional text.
9066
3d03de90
LL
90672011-09-03 Leo Liu <sdl.web@gmail.com>
9068
9069 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
9070
c3313451
CY
90712011-09-02 Chong Yidong <cyd@stupidchicken.com>
9072
393a301e 9073 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
9074 (pop-to-buffer): Change interactive spec. Pass second argument
9075 directly to display-buffer.
9076 (display-buffer): Fix interactive spec. Use functionp to
9077 distinguish between a function and a list of functions.
9078
9079 * abbrev.el (edit-abbrevs):
9080 * arc-mode.el (archive-extract):
9081 * autoinsert.el (auto-insert):
9082 * bookmark.el (bookmark-bmenu-list):
9083 * files.el (find-file):
9084 * view.el (view-buffer):
9085 * progmodes/compile.el (compilation-goto-locus):
9086 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
9087
89894cd8
CY
90882011-09-02 Chong Yidong <cyd@stupidchicken.com>
9089
9090 * window.el (display-buffer-alist): Doc fix.
9091 (display-buffer): Add docstring. Don't treat
9092 display-buffer-default specially.
9093 (display-buffer-reuse-selected-window)
9094 (display-buffer-same-window, display-buffer-maybe-same-window)
9095 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9096 (display-buffer-pop-up-window)
9097 (display-buffer-reuse-or-pop-window)
9098 (display-buffer-use-some-window): New functions.
9099 (display-buffer-default-action): Use them.
393a301e 9100 (display-buffer-default): Delete.
89894cd8
CY
9101 (pop-to-buffer-1): Fix choice of actions.
9102
ae0bc9fb
SM
91032011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
9104
9105 * minibuffer.el (completion--insert-strings): Don't get confused by
9106 completion entries that end with an LF char.
9107
e9d90883
EZ
91082011-09-01 Eli Zaretskii <eliz@gnu.org>
9109
9110 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
9111
437014c8
CY
91122011-09-01 Chong Yidong <cyd@stupidchicken.com>
9113
9114 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
9115 (display-buffer-same-window, display-buffer-other-window):
9116 New functions.
437014c8
CY
9117 (pop-to-buffer-1): New function. Use the above.
9118 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 9119 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
9120
9121 * view.el (view-buffer-other-window, view-buffer-other-frame):
9122 Just use pop-to-buffer.
9123
a5e063d5
TV
91242011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9125
9126 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
9127
793d32bb
WH
91282011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
9129
9130 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
9131
d65e4c15
RS
91322011-08-31 Richard Stallman <rms@gnu.org>
9133
9134 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
9135 of the separation of rmail-view-buffer from rmail-buffer.
9136 If you say no to "replace original", the decrypt is in the
9137 view buffer. If you say yes, the decrypt goes into the
9138 rmail buffer also.
9139
f818cd2a
MR
91402011-08-31 Martin Rudalics <rudalics@gmx.at>
9141
9142 * window.el (display-buffer-window): Rewrite doc-string.
9143 (display-buffer-record-window): New function.
9144 (display-buffer-macro-specifiers)
9145 (display-buffer-even-window-sizes, display-buffer-set-height)
9146 (display-buffer-set-width, display-buffer-in-window)
9147 (display-buffer-reuse-window, display-buffer-split-specifiers)
9148 (display-buffer-side-specifiers, display-buffer-split-window-1)
9149 (display-buffer-split-window, display-buffer-split-atom-window)
9150 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9151 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
9152 (display-buffer-other-window-means-other-frame)
9153 (display-buffer-normalize-special)
9154 (display-buffer-normalize-default)
9155 (display-buffer-normalize-argument)
9156 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
9157 (display-buffer-normalize-specifiers, display-buffer-frame)
9158 (display-buffer-same-window, display-buffer-same-frame)
9159 (display-buffer-other-window)
9160 (display-buffer-same-frame-other-window)
9161 (display-buffer-other-frame, pop-to-buffer-same-window)
9162 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
9163 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
9164 (switch-to-buffer-same-frame)
9165 (switch-to-buffer-other-window-same-frame)
9166 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
9167 (display-buffer-alist-set-1, display-buffer-alist-set-2)
9168 (display-buffer-alist-set): Remove.
9169 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
9170 (special-display-regexps, special-display-function):
9171 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
9172 parameter.
9173 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9174 (special-display-frame-alist, special-display-popup-frame)
9175 (same-window-buffer-names, same-window-regexps, same-window-p)
9176 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9177 (split-window-preferred-function, split-height-threshold)
9178 (split-width-threshold, window-splittable-p)
9179 (split-window-sensibly, window--try-to-split-window)
9180 (window--frame-usable-p, even-window-heights)
9181 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
9182 (window--display-buffer-2, display-buffer-other-frame):
9183 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
9184 (display-buffer-default, display-buffer-assq-regexp): New functions.
9185 (display-buffer-alist): Rewrite doc-string.
9186 (display-buffer-default-action)
9187 (display-buffer-overriding-action): New variables.
9188 (display-buffer, switch-to-buffer): Rewrite.
9189 (pop-to-buffer): Restore Emacs 23 behavior but use
9190 window-normalize-buffer-to-display.
9191 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9192 Restore Emacs 23 behavior but use
9193 window-normalize-buffer-to-switch-to.
9194 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
9195 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9196 Rewrite using Emacs 23 options.
f818cd2a 9197
5bc3b51d
MA
91982011-08-31 Michael Albinus <michael.albinus@gmx.de>
9199
9200 * net/tramp.el (tramp-root-regexp): Remove.
9201 (tramp-completion-file-name-regexp-unified)
9202 (tramp-completion-file-name-regexp-separate)
9203 (tramp-completion-file-name-regexp-url): Don't use leading volume
9204 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
9205 (tramp-drop-volume-letter): Simplify definition.
9206 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 9207
b1a4f8e1
SM
92082011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
9209
9210 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9211 (bug#9356).
9212
5664fa7b
RT
92132011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
9214
b1a4f8e1 9215 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 9216
9a45d6c3
JL
92172011-08-29 Juri Linkov <juri@jurta.org>
9218
9219 * isearch.el (isearch-done): Don't display message "Mark saved"
9220 when arg `edit' is non-nil to prevent its flicker in the echo area.
9221
fb87e0fb
CY
92222011-08-28 Chong Yidong <cyd@stupidchicken.com>
9223
9224 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9225 obsolete packages for deletion.
9226
09ac1c2a
CS
92272011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
9228
9229 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 9230 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
9231 view-mode from help-mode.
9232 (help-xref-override-view-map): Remove.
9233 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9234 view-mode is not used anymore.
9235
7a1ff57f
CY
92362011-08-28 Chong Yidong <cyd@stupidchicken.com>
9237
9238 * server.el (server-port): Doc fix.
9239
b9696605
CY
9240 * cus-theme.el (custom-theme-choose-mode): Inherit from
9241 special-mode (Bug#9124).
9242 (custom-theme-choose-mode-map): Add special-mode to parent.
9243
ef8cdf8c
AM
92442011-08-28 Alan Mackenzie <acm@muc.de>
9245
9246 * progmodes/cc-fonts.el
9247 (c-make-font-lock-BO-decl-search-function): New function.
9248 (c-basic-matchers-after - "Fontify the clauses after various
9249 keywords"): Extract the three keyword lists for the 3 erroneous
9250 constructs from the list of four, and use the new function above
9251 in place of an old one.
9252
27de4e20
DD
92532011-08-28 Deniz Dogan <deniz@dogan.se>
9254
9255 * net/rcirc.el (rcirc-insert-prev-input)
9256 (rcirc-insert-next-input): Remove unused argument.
9257
356a3681
SM
92582011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9259
9260 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9261
3fc9b218
AM
92622011-08-27 Alan Mackenzie <acm@muc.de>
9263
9264 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9265 handle function pointer parameters properly.
9266
538a061c
MR
92672011-08-27 Martin Rudalics <rudalics@gmx.at>
9268
9269 * window.el (display-buffer-reuse-window): Fix case where
9270 selected window was reused with non-nil OTHER-WINDOW argument.
9271 (Bug#9381)
9272
35b1c40c
DD
92732011-08-27 Deniz Dogan <deniz@dogan.se>
9274
9275 * net/rcirc.el (rcirc-check-auth-status): Adding support for
9276 oftc's NickServ messages.
9277
2f6a3e79
GM
92782011-08-27 Glenn Morris <rgm@gnu.org>
9279
9280 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
9281
7254299e
CY
92822011-08-26 Chong Yidong <cyd@stupidchicken.com>
9283
9284 * emacs-lisp/package.el (package-install): Call package-initialize
9285 if called interactively.
9286
f8ccf167
LL
92872011-08-26 Leo Liu <sdl.web@gmail.com>
9288
9289 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
9290
3e8cd5ce
JL
92912011-08-25 Juri Linkov <juri@jurta.org>
9292
9293 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9294 `search-whitespace-regexp' (bug#9364).
9295
93eb7113
JL
92962011-08-25 Juri Linkov <juri@jurta.org>
9297
9298 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9299 `regexp-search-ring' to their global values to protect from
9300 updating by `read-from-minibuffer' (bug#9185).
9301
f65d1611
JL
93022011-08-25 Juri Linkov <juri@jurta.org>
9303
9304 * textmodes/ispell.el (ispell-command-loop): Add newline
9305 at the end of the "Use option `i'..." line.
9306
f1cf7a31
JL
93072011-08-25 Juri Linkov <juri@jurta.org>
9308
9309 * battery.el (display-battery-mode): If `battery-status-function'
9310 or `battery-mode-line-format' is nil, display the message and set
9311 `display-battery-mode' to nil (bug#9363).
9312
0c95fcf7
EZ
93132011-08-25 Eli Zaretskii <eliz@gnu.org>
9314
9315 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9316 bidi-string-mark-left-to-right; they are unnecessary now.
9317
a2ebe600
DD
93182011-08-25 Deniz Dogan <deniz@dogan.se>
9319
9320 * net/quickurl.el: Documentation typo fixes.
9321
e4ed06f1
CY
93222011-08-25 Chong Yidong <cyd@stupidchicken.com>
9323
9324 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9325
e5f1c99e
GM
93262011-08-25 Glenn Morris <rgm@gnu.org>
9327
b2948976
GM
9328 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9329
e5f1c99e
GM
9330 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9331 (smtpmail-via-smtp): Handle nil response from smtp.
9332
f22f4808
JL
93332011-08-24 Juri Linkov <juri@jurta.org>
9334
9335 * proced.el (proced-marked): Inherit from `error' instead of
9336 `font-lock-warning-face'.
9337
9338 * ibuffer.el (ibuffer-marked-face): Change default face from
9339 `font-lock-warning-face' to `warning'.
9340 (ibuffer-deletion-face): Change default face from
9341 `font-lock-type-face' to `error'.
9342
9343 * battery.el (battery-update): Use the face `error' instead of
9344 `font-lock-warning-face' (bug#6117).
9345
6a93965e
JL
93462011-08-24 Juri Linkov <juri@jurta.org>
9347
9348 * faces.el (success): Change face color from "Green3" to
9349 "ForestGreen" on light background (bug#9353).
9350
1ed43b09
CY
93512011-08-24 Chong Yidong <cyd@stupidchicken.com>
9352
5664fa7b
RT
9353 * window.el (quit-window): Rename from quit-restore-window.
9354 Use same arglist as old quit-window.
1ed43b09
CY
9355 (frame-auto-delete): Doc fix.
9356
9357 * view.el (view-mode-exit): Use quit-window.
9358
11dcdbb2
JL
93592011-08-24 Juri Linkov <juri@jurta.org>
9360
9361 * isearch.el (isearch-ring-adjust1): Start visiting previous
9362 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9363 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9364 for empty search string (when the last search string is reused
9365 automatically) to adjust the isearch ring to the last element and
9366 prepare the correct index for further M-p commands (bug#9185).
9367
de62b4df
KH
93682011-08-24 Kenichi Handa <handa@m17n.org>
9369
9370 * international/ucs-normalize.el: If decomposition property of
9371 CHAR is the default one (i.e. a list of CHAR itself), treat it as
9372 nil.
9373 (nfd, nfkd): Likewise.
9374
963b492b
SM
93752011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
9376
9377 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9378 from process filters aren't reliably transmitted to the surrounding
9379 accept-process-output.
9380 (mpc-proc-check): New function.
9381 (mpc-proc-sync): Use it (bug#8293)
9382
93b6b5e1
SM
93832011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9384
9385 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
9386 Add compatibility functions (bug#9313).
9387
bca633fb
EZ
93882011-08-23 Eli Zaretskii <eliz@gnu.org>
9389
b177498a
EZ
9390 * cus-start.el (all): Add entry for bidi-paragraph-direction.
9391
6df6ae42 9392 * international/uni-bidi.el: Regenerate.
bca633fb 9393
0902a04e
KH
93942011-08-23 Kenichi Handa <handa@m17n.org>
9395
9396 * international/charprop.el:
9397 * international/uni-bidi.el:
9398 * international/uni-category.el:
9399 * international/uni-combining.el:
9400 * international/uni-comment.el:
9401 * international/uni-decimal.el:
9402 * international/uni-decomposition.el:
9403 * international/uni-digit.el:
9404 * international/uni-lowercase.el:
9405 * international/uni-mirrored.el:
9406 * international/uni-name.el:
9407 * international/uni-numeric.el:
9408 * international/uni-old-name.el:
9409 * international/uni-titlecase.el:
9410 * international/uni-uppercase.el: Regenerate.
9411
3bbf23bc
MR
94122011-08-23 Martin Rudalics <rudalics@gmx.at>
9413
9414 * help.el (help-window-setup): Fix message displayed when other
9415 window is reused. (Bug#9341)
9416
b3fd59bd
SM
94172011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9418
1802e444
SM
9419 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9420 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9421
b3fd59bd
SM
9422 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9423 Mark obsolete.
9424 * shell.el (shell-parse-pcomplete-arguments): New function.
9425 (shell-completion-vars): Use it instead (bug#9160).
9426
4eb61348
SM
94272011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9428
867cab74
SM
9429 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9430 strings and comments (bug#9333).
9431
4eb61348
SM
9432 * emacs-lisp/debug.el (debug-arglist): New function.
9433 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
9434 (debug-on-entry-1): Handle interpreted closures (bug#9120).
9435
262a1439
JL
94362011-08-22 Juri Linkov <juri@jurta.org>
9437
56ee679c
JL
9438 * progmodes/compile.el (compilation-mode-font-lock-keywords):
9439 Revert regexp that highlights output switches to its old
9440 pre-2010-10-28 value and remove one `?' from it (bug#9319).
9441
262a1439
JL
9442 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9443 to check for empty output (bug#9226).
9444
f13f86fb
CY
94452011-08-22 Chong Yidong <cyd@stupidchicken.com>
9446
9447 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9448 symbol-constituent as the default, as that stops font-lock from
9449 working properly (Bug#8843).
9450
c65c9622
LMI
94512011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9452
9453 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9454 `coding-system-for-*' around the process open call to avoid
9455 auth-source side effects.
e7f2c178 9456 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
9457 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9458 probe hangs.
c65c9622 9459
23a8a5ab
CY
94602011-08-21 Chong Yidong <cyd@stupidchicken.com>
9461
ff98b2dd
CY
9462 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9463
23a8a5ab
CY
9464 * emacs-lisp/find-func.el (find-function-noselect): New arg
9465 lisp-only.
9466
9467 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9468 signal an error for built-in functions (Bug#6664).
9469
f5e3c598
LMI
94702011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9471
9472 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9473 (smtpmail-try-auth-methods): Use it.
9474
a3f2468a
CY
94752011-08-21 Chong Yidong <cyd@stupidchicken.com>
9476
2c34e8da
CY
9477 * font-lock.el (font-lock-fontify-region)
9478 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9479 (font-lock-default-unfontify-buffer)
9480 (font-lock-default-fontify-region)
9481 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9482
b3fd59bd
SM
9483 * progmodes/compile.el (compilation-error-properties):
9484 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
9485 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9486 `ant' regexp.
ee31aabc 9487
a3f2468a
CY
9488 * net/browse-url.el (browse-url-firefox): Don't call
9489 browse-url-firefox-sentinel unless using -remote (Bug#9328).
9490
8e999f70
GM
94912011-08-20 Glenn Morris <rgm@gnu.org>
9492
c21a496a
GM
9493 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9494
59ee0542
GM
9495 * tutorial.el (tutorial--default-keys): Update some default bindings.
9496
8e999f70
GM
9497 * files.el (hack-local-variables): Fully ignore case for "mode:".
9498
e3715033
AM
94992011-08-20 Alan Mackenzie <acm@muc.de>
9500
9501 Resolve invalid use of a regexp in regexp-opt.
9502
4d61f28d
JB
9503 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9504 detection for a java annotation.
e3715033 9505
4d61f28d 9506 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
9507 detection for a java annotation.
9508
4d61f28d
JB
9509 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9510 handling for java.
e3715033
AM
9511 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9512
04ed2e9c
CY
95132011-08-20 Chong Yidong <cyd@stupidchicken.com>
9514
9515 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9516 (Bug#9274).
9517
826cee64
AM
95182011-08-20 Alan Mackenzie <acm@muc.de>
9519
58179cce 9520 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
9521 such a construct. Mainly for when jit-lock etc. starts a chunk
9522 here.
9523
58179cce 9524 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 9525 variable.
58179cce 9526 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
9527 c-make-font-lock-search-function.
9528 (c-make-font-lock-search-function): Use the above function.
9529 (c-make-font-lock-context-search-function): New function.
9530 (c-cpp-matchers): Enhance the preprocessor expression case with
9531 the above function
9532 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9533 which takes an expression.
9534
9535 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9536
13009bd8
MR
95372011-08-20 Martin Rudalics <rudalics@gmx.at>
9538
9539 * window.el (display-buffer-reuse-window)
9540 (display-buffer-pop-up-window): Don't reuse or split a side
9541 window.
9542
9234ff7f
GM
95432011-08-19 Glenn Morris <rgm@gnu.org>
9544
9545 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 9546 Downcase "Mode:". (Bug#9331)
9234ff7f 9547
f635daa1
CY
95482011-08-18 Chong Yidong <cyd@stupidchicken.com>
9549
9550 * international/characters.el: Add L and R categories.
9551
9552 * subr.el (bidi-string-mark-left-to-right): Rename from
9553 string-mark-left-to-right. Use category search.
9554
9555 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9556
bc987f8b
JL
95572011-08-18 Juri Linkov <juri@jurta.org>
9558
9559 * faces.el (error, warning, success): New faces with definitions
9560 copied from old default values of `font-lock-warning-face',
9561 `compilation-warning', `compilation-info' (bug#6117).
9562
9563 * font-lock.el (font-lock-warning-face): Inherit from `error'.
9564
9565 * progmodes/compile.el (compilation-error): Inherit from `error'.
9566 (compilation-warning): Inherit from `warning'.
9567 (compilation-info): Inherit from `success'.
9568
9569 * dired.el (dired-marked): Inherit from `warning'.
9570 (dired-flagged): Inherit from `error'.
9571
57173b96
LMI
95722011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9573
3e79eb87
LMI
9574 * mail/smtpmail.el (auth-source): Require to avoid problems with
9575 binding variables (bug#9298). Also clean up some unused
9576 autoloads.
9577
b3fd59bd
SM
9578 * net/network-stream.el (network-stream-open-starttls):
9579 Support using starttls.el without using gnutls-cli.
57173b96 9580
02b404de
JL
95812011-08-17 Juri Linkov <juri@jurta.org>
9582
9583 * progmodes/grep.el (rgrep): Handle the case when
9584 `grep-find-command' is a cons cell (bug#9278).
9585
8c9177f2
MR
95862011-08-17 Martin Rudalics <rudalics@gmx.at>
9587
9588 * window.el (display-buffer-pop-up-frame): Run frame creation
9589 function with BUFFER current (as special-display-popup-frame
9590 does). Reported by Drew Adams.
9591
3644a0ab
DU
95922011-08-17 Daiki Ueno <ueno@unixuser.org>
9593
9594 * epa-mail.el: Simplify GnuPG group expansion using
9595 epg-expand-group.
9596 (epa-mail-group-alist, epa-mail-group-modtime)
9597 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9598 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9599 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9600 Remove.
9601
5e617bc2 96022011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
9603
9604 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9605
9c4aeabf
AM
96062011-08-16 Alan Mackenzie <acm@muc.de>
9607
9608 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9609 Correct, to avoid the inside of macros.
9610
3a99bf64
RS
96112011-08-16 Richard Stallman <rms@gnu.org>
9612
04963aa8
RS
9613 * epa-mail.el: Handle GnuPG group definitions.
9614 (epa-mail-group-alist, epa-mail-group-modtime)
9615 (epa-mail-gnupg-conf-file): New variables.
9616 (epa-mail-parse-groups, epa-mail-sync-groups)
9617 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9618 (epa-mail-expand-recipients): New functions.
9619 (epa-mail-encrypt): Call epa-mail-expand-recipients.
9620
177549d0
RS
9621 * mail/rmail.el (rmail-epa-decrypt): New command.
9622
fe38beef
RS
9623 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9624 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
9625 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
9626 (epa-decrypt-armor-in-region): Make error message clearer.
9627
934eacb9
SM
96282011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9629
9630 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
9631 and "a2b" to "ab" for `prefix'.
9632
d024fb4e
CY
96332011-08-14 Chong Yidong <cyd@stupidchicken.com>
9634
9635 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
9636 filter groups.
de148fee
CY
9637 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
9638 Fourquet (Bug#8804).
d024fb4e 9639
62f1ca49
JB
96402011-08-12 Juanma Barranquero <lekktu@gmail.com>
9641
9642 * startup.el (argi): Declare as global variable (bug#9275).
9643
9ccaaa4b
CY
96442011-08-12 Chong Yidong <cyd@stupidchicken.com>
9645
9646 * subr.el (string-mark-left-to-right): Search the entire string
9647 for RTL script, not just the terminating character. Doc fix.
9648
a3dae87a
SM
96492011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9650
6cd18349
SM
9651 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
9652 New function.
9653 (js--regexp-literal, js-syntax-propertize-function): Remove.
9654 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
9655 (js-mode-map): Don't rebind electric keys.
9656 (js-insert-and-indent): Remove.
9657 (js-mode): Setup electric-layout and electric-indent instead.
9658
a3dae87a
SM
9659 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
9660
9d5cb631
DU
96612011-08-12 Daiki Ueno <ueno@unixuser.org>
9662
9663 * epa.el (epa-progress-callback-function): Fix the logic of
9664 displaying progress.
9665 * epa-file.el (epa-file-insert-file-contents): Make progress
9666 display more user-friendly.
9667 (epa-file-write-region): Ditto.
9668
3e26a4a2
CY
96692011-08-10 Chong Yidong <cyd@stupidchicken.com>
9670
9671 * subr.el (string-mark-left-to-right): New function.
9672
9673 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
9674 Use string-mark-left-to-right.
9675 (list-buffers-noselect): Caller changed.
9676
a3dae87a
SM
9677 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9678 Use string-mark-left-to-right.
3e26a4a2
CY
9679 (tabulated-list-print): Recenter after moving point.
9680
ac8cf6e6
JL
96812011-08-10 Juri Linkov <juri@jurta.org>
9682
9683 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
9684 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
9685 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
9686
8d96c9a4
CY
96872011-08-09 Chong Yidong <cyd@stupidchicken.com>
9688
9689 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
9690 (Bug#7554).
9691
7be1c708 96922011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
9693
9694 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
9695 character. (Bug#6594)
9696
37e11a63
CY
96972011-08-08 Chong Yidong <cyd@stupidchicken.com>
9698
839dde57
CY
9699 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
9700 (image-dired--with-db-file): New macro.
9701 (image-dired-write-tags, image-dired-remove-tag)
9702 (image-dired-create-gallery-lists, image-dired-write-comments)
9703 (image-dired-get-comment, image-dired-mark-tagged-files)
9704 (image-dired-list-tags, image-dired-gallery-generate): Use it.
9705 (image-dired-gallery-generate): Use insert-file-contents.
9706
37e11a63
CY
9707 * time.el (display-time-world-list, display-time-world-display):
9708 * time-stamp.el (time-stamp-string):
9709 * vc/add-log.el (add-change-log-entry): Use setenv instead of
9710 set-time-zone-rule (Bug#7337).
9711
0b4946c4
DU
97122011-08-08 Daiki Ueno <ueno@unixuser.org>
9713
9714 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9715 (epg-error-to-string, epg-errors-to-string): New function.
9716 (epg-wait-for-completion): Reverse errors list.
9717 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9718 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9719 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9720 (epg-sign-keys, epg-generate-key-from-file)
9721 (epg-generate-key-from-string): Format errors by using
9722 epg-errors-to-string (bug#9255).
9723 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9724
75bfc667
JL
97252011-08-07 Juri Linkov <juri@jurta.org>
9726
9727 * faces.el (list-faces-display): Remove extra angle bracket
9728 from `help-mode-map'.
9729
9730 * info.el (Info-history-toc-nodes): Doc fix.
9731
9732 * longlines.el (longlines-mode): Doc fix.
9733
673e08bb
SM
97342011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9735
4640dd88
SM
9736 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9737 of statements and in a few more cases (bug#9183).
9738
673e08bb
SM
9739 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9740 New functions.
9741 (cl-transform-lambda): Use them (bug#9239).
9742
89b3f019
MR
97432011-08-05 Martin Rudalics <rudalics@gmx.at>
9744
9745 * window.el (display-buffer-same-window)
9746 (display-buffer-same-frame, display-buffer-other-window)
9747 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9748 (pop-to-buffer-other-window)
9749 (pop-to-buffer-same-frame-other-window)
9750 (pop-to-buffer-other-frame): Make them defuns.
9751 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9752
640c8776
SM
97532011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9754
9755 * subr.el (make-composed-keymap): Move from C. Change calling
9756 convention, and improve docstring to bring attention to a subtle point.
9757 * minibuffer.el (completing-read-default): Adjust accordingly.
9758
63648a95
MA
97592011-08-03 Michael Albinus <michael.albinus@gmx.de>
9760
9761 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9762 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9763
9764 * net/trampver.el: Update release number.
9765
b796c9b7
SM
97662011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9767
9768 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9769 "in" (bug#9190).
9770
2239d7d5
LMI
97712011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9772
e07dd7c3
LMI
9773 * mail/sendmail.el (sendmail-query-once): Restore the current
9774 buffer after querying (bug#9074).
9775
0e6a2bd7
LMI
9776 * dired.el (dired-flagged): Use different faces for marked and
9777 flagged files (bug#6117).
9778
ce887515
LMI
9779 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9780 (bug#4433).
9781
92f2affc
LMI
9782 * ido.el (ido-mode): Switch off the message if called
9783 non-interactively.
9784
57d5aff0
LMI
9785 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9786 before 587, since it appears that that's more likely to work for
9787 more people.
9788
98cd6c18 9789 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 9790 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
9791 exist.
9792
b96dec83
LMI
9793 * info.el: Remove the `Info-beginning-of-buffer' function
9794 (bug#8325).
9795
b796c9b7
SM
9796 * net/network-stream.el (network-stream-open-starttls):
9797 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 9798
d90e2ea0
MR
97992011-08-01 Martin Rudalics <rudalics@gmx.at>
9800
9801 * window.el (display-buffer-in-window): Don't set dedicated status
9802 of window here (Bug#9215).
9803 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9804 (display-buffer-pop-up-side-window)
b796c9b7 9805 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 9806
cca09170
SM
98072011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9808
9809 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9810 before binding generated-autoload-file.
9811
027b979c
DD
98122011-08-01 Deniz Dogan <deniz@dogan.se>
9813
9814 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9815
3c7ee4f3
MA
98162011-07-30 Michael Albinus <michael.albinus@gmx.de>
9817
9818 Sync with Tramp 2.2.2.
9819
9820 * net/trampver.el: Update release number.
9821
2cc8e51a
JL
98222011-07-30 Juri Linkov <juri@jurta.org>
9823
9824 * dired-aux.el (dired-touch-initial): Remove function.
9825 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9826 current time, and `default' to the last modification time of the
9827 current marked file (bug#6887).
9828
a514d856
JM
98292011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9830
9831 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 9832 numeric argument to read-number (bug#9163).
a514d856 9833
8a7eddd7
MA
98342011-07-27 Michael Albinus <michael.albinus@gmx.de>
9835
9836 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9837 connection process, it could be nil.
9838
1ddd96f5
LL
98392011-07-27 Leo Liu <sdl.web@gmail.com>
9840
9841 Simplify url handling in rcirc-mode.
9842
9843 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9844 (rcirc-browse-url-at-mouse): Remove.
9845 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9846
b248a85d
AM
98472011-07-26 Alan Mackenzie <acm@muc.de>
9848
9849 Fontify bitfield declarations properly.
9850
9851 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9852 (c-symbol-chars): Now exported as a lang variable.
9853 (c-not-primitive-type-keywords): New lang variable.
9854
9855 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9856 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 9857 parsed as a bitfield declaration.
b248a85d 9858
b796c9b7
SM
9859 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9860 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
9861 (c-punctuation-in): New function.
9862 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9863 declarations properly.
9864
68575ab0
UJ
98652011-07-26 Ulf Jasper <ulf.jasper@web.de>
9866
9867 * calendar/icalendar.el (icalendar--all-events): Take care of
9868 multiple vcalendars in a single file.
b796c9b7 9869 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 9870
0f0a88b9
DD
98712011-07-25 Deniz Dogan <deniz@dogan.se>
9872
9873 * image.el (insert-image): Clarifying docstring.
9874
0b3f36df
MA
98752011-07-24 Michael Albinus <michael.albinus@gmx.de>
9876
9877 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9878 `tramp-send-command-and-check' if there is no error.
9879 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9880
a9901f61
AM
98812011-07-22 Alan Mackenzie <acm@muc.de>
9882
9883 Prevent cc-langs.elc being loaded at run time.
9884
9885 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9886 cc-langs.
9887
4d61f28d 9888 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
9889 "(require 'cc-langs)". Quote a form so it will evaluate at
9890 (cc-mode's) compilation time.
9891
11d074b2
MA
98922011-07-22 Michael Albinus <michael.albinus@gmx.de>
9893
9894 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9895 loading. (Bug#9114)
9896
938b94c8
MR
98972011-07-21 Martin Rudalics <rudalics@gmx.at>
9898
9899 * window.el (display-buffer-pop-up-window)
9900 (display-buffer-pop-up-side-window)
9901 (display-buffer-in-side-window): Call display-buffer-set-height
9902 and display-buffer-set-width after setting the new window's
b796c9b7 9903 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 9904
bfa4f190
SS
99052011-07-20 Sam Steingold <sds@gnu.org>
9906
9907 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9908 (etags-tags-included-tables): Call `convert-standard-filename' on
9909 the file names contained in TAGS so that windows Emacs can handle
9910 TAGS files created by cygwin ctags.
9911
8ca42262
LMI
99122011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9913
9914 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9915 which apparently didn't work.
9916
5db2afd2 99172011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 9918
5db2afd2
RW
9919 * proced.el (proced-send-signal): For *Marked Processes* buffer
9920 put point at beginning of buffer.
9921
92e15d10
SB
99222011-07-19 Stephen Berman <stephen.berman@gmx.net>
9923
9924 * proced.el (proced-format): Make header lines align with the text
9925 (bug#1779).
9926
1bfd59e5
LMI
99272011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9928
9929 * view.el (view-buffer): Allow running in `special' modes if we're
9930 visiting a file (bug#8615).
9931
f5aae37c
MR
99322011-07-19 Martin Rudalics <rudalics@gmx.at>
9933
9934 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
9935 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9936 New functions.
f5aae37c
MR
9937 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9938 more accurately.
9939
bf2c1571
AM
99402011-07-18 Alan Mackenzie <acm@muc.de>
9941
9942 Fontify declarators properly when, e.g., a jit-lock chunk begins
9943 inside a declaration.
9944
9945 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9946
b796c9b7
SM
9947 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9948 New function.
bf2c1571
AM
9949 (c-complex-decl-matchers): Insert reference to
9950 c-font-lock-enclosing-decls.
9951
9952 * progmodes/cc-engine.el (c-backward-single-comment):
9953 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9954 to nil around calls to (forward-comment -1).
9955
4e190b80
LMI
99562011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9957
12dc863d
LMI
9958 * image.el (put-image): Doc typo fix.
9959
a762e966
LMI
9960 * progmodes/etags.el (tags-search): Doc typo fix.
9961
4e190b80
LMI
9962 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9963 password if we get errors 550 to 554.
9964
f019fb21
LMI
99652011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9966
b796c9b7 9967 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 9968
81746738
LMI
9969 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9970 indentation character (bug#6380).
9971
3ee3a1b5
LMI
9972 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9973
c82f64de
LMI
9974 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9975 to clarify what the problem is (bug#4291).
9976
f019fb21
LMI
9977 * simple.el (current-kill): Clarify what
9978 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
9979 (auto-fill-mode): Document `auto-fill-function' in relation to
9980 `auto-fill-mode' (bug#2470).
f019fb21 9981
0794775d
LM
99822011-07-16 Lawrence Mitchell <wence@gmx.li>
9983
9984 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9985 method if slot is read-only (bug#9035).
9986
be39b8cc
MR
99872011-07-16 Martin Rudalics <rudalics@gmx.at>
9988
b796c9b7 9989 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 9990 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
9991 selected before, see discussion of (Bug#8615), (Bug#6954).
9992 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 9993
6ccf7859
GM
99942011-07-15 Glenn Morris <rgm@gnu.org>
9995
9996 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 9997 Respect help-form.
6ccf7859 9998
87e86684
LM
99992011-07-09 Lawrence Mitchell <wence@gmx.li>
10000
10001 * net/gnutls.el (gnutls-min-prime-bits): New variable.
10002 (gnutls-negotiate): Use it.
10003
d6066239
LMI
100042011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10005
b796c9b7
SM
10006 * net/gnutls.el (gnutls-negotiate):
10007 Upcase `gnutls-algorithm-priority'.
d6066239 10008
bd23ebc0
GM
100092011-07-15 Glenn Morris <rgm@gnu.org>
10010
c65bca65
GM
10011 * jka-compr.el (jka-compr-verbose): Move from here...
10012 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
10013 Add missing :version tag.
10014 * info.el: No need to require jka-compr when compiling.
bd23ebc0 10015
478615cc
LMI
100162011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10017
7b41decb
LMI
10018 * net/gnutls.el (gnutls-algorithm-priority): New variable.
10019 (gnutls-negotiate): Use it.
10020
dbc44fcd
LMI
10021 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
10022
06789f97
LMI
10023 * info.el (Info-beginning-of-buffer): New command.
10024 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
10025 announcing `b' as the key (bug#8325).
ab896c37 10026 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 10027
c39da690
LMI
10028 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
10029
3aa5f34b
LMI
10030 * international/mule-cmds.el
10031 (describe-specified-language-support): Make the error message
10032 clearer (bug#8905).
10033
4bf0979f
LMI
10034 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
10035
478615cc
LMI
10036 * isearch.el (isearch-barrier): Add a doc string, since it's
10037 mentioned in a function doc string (bug#8678).
10038
75c68aa1
MR
100392011-07-15 Martin Rudalics <rudalics@gmx.at>
10040
10041 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
10042 buffer argument (Bug#9083) and self-identifying label argument.
10043
a7c33da2
GM
100442011-07-15 Glenn Morris <rgm@gnu.org>
10045
10046 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
10047
2f5c6024
LMI
100482011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10049
10050 * man.el (Man-fontify-manpage): Fix message when formatting the
10051 man page (bug#7929).
10052
0bb23927 100532011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
10054
10055 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
10056 argument LRM; if non-nil, append an invisible LRM character to the
10057 buffer name.
10058 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
10059 last argument non-nil, when formatting buffer names.
0bb23927
EZ
10060 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
10061 paragraph direction.
cce4b0a7 10062
621ef9ab
LMI
100632011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10064
d1583c48
LMI
10065 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
10066 the man page name (bug#7929).
10067
6a57fb5f
LMI
10068 * image.el (put-image): Mention the `put-image' overlay property
10069 (bug#7834).
10070
d7956b14
LMI
10071 * scroll-bar.el (set-scroll-bar-mode): Mention that
10072 `scroll-bar-mode' lists the values (bug#7772).
10073
5b2d4a66
LMI
10074 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
10075 command (bug#7729).
10076
7509a874
LMI
10077 * rect.el (apply-on-rectangle): Return the point after the last
10078 operation.
10079 (string-rectangle): Go to the point after the last operation
10080 (bug#7522).
10081
4fe74b19
LMI
10082 * printing.el (pr-toggle-region): Clarify the documentation
10083 slightly (bug#7493).
10084
b796c9b7
SM
10085 * time.el (display-time-update):
10086 Allow `display-time-mail-function' to return nil (bug#7158).
10087 Fix suggested by Detlev Zundel.
ab283561 10088
fc233c9d
LMI
10089 * vc/diff.el (diff): Clarify the order the file names are read
10090 (bug#7111).
10091
43f5740b
LMI
10092 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
10093 the doc string (bug#7015).
10094
f2182a76
LMI
10095 * font-lock.el (font-lock-maximum-decoration): Mention what
10096 numeric levels mean (bug#6935).
10097
621ef9ab
LMI
10098 * startup.el (initial-buffer-choice): Don't mention the `none'
10099 selection, which is against policy.
10100
adc47434
MR
101012011-07-14 Martin Rudalics <rudalics@gmx.at>
10102
b796c9b7
SM
10103 * window.el (display-buffer-normalize-special):
10104 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 10105
7e5bfb8f
EZ
101062011-07-14 Eli Zaretskii <eliz@gnu.org>
10107
10108 * subr.el (version<, version<=, version=): Mention "-CVS" and
10109 "-12345" alpha version numbers.
10110
27fa387a
CY
101112011-07-14 Chong Yidong <cyd@stupidchicken.com>
10112
10113 * bindings.el: Add advertised binding for set-mark-command
10114 (Bug#5772).
10115
8bdfa064
CY
101162011-07-14 Chong Yidong <cyd@stupidchicken.com>
10117
10118 * bindings.el (mode-line-other-buffer):
10119 * bookmark.el (bookmark-bmenu-2-window):
10120 * bs.el (bs-cycle-next, bs-cycle-previous):
10121 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
10122 switch-to-buffer.
10123
10124 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 10125 Delete.
8bdfa064 10126
5eba16a3
JB
101272011-07-14 Juanma Barranquero <lekktu@gmail.com>
10128
10129 * follow.el (follow-debug-message, follow-redisplay):
10130 * jka-cmpr-hook.el (with-auto-compression-mode):
10131 Fix typos in docstrings.
10132
15853710
LMI
101332011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10134
a28e4607
LMI
10135 * subr.el (with-silent-modifications): Clarify somewhat what the
10136 macro inhibits (bug#6525).
10137
15853710
LMI
10138 * simple.el (eval-expression): Note what it does if called
10139 interactively (bug#6495).
10140
bee0fcef
CY
101412011-07-13 Chong Yidong <cyd@stupidchicken.com>
10142
b796c9b7
SM
10143 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
10144 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
10145
10146 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10147 Remove switch-to-buffer.
10148
58274504
LMI
101492011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10150
bd2fcc8d
LMI
10151 * files.el (make-directory): Clarify that an error will be raised
10152 if there's an error (bug#6397).
10153
0f04b32c
LMI
10154 * startup.el (initial-buffer-choice): Add `none' as a choice
10155 (bug#6234).
10156
465c5fc8
LMI
10157 * subr.el (add-hook): Clarify section about buffer-local hooks
10158 (bug#6218).
10159
58274504
LMI
10160 * dired.el (dired-flagged): Clarify doc string (bug#6117).
10161
bead9a43
JB
101622011-07-13 Juanma Barranquero <lekktu@gmail.com>
10163
10164 * tabify.el (untabify): Preserve the current column so that point
10165 doesn't move (bug#6032).
10166
3af98a7b
LMI
101672011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10168
b796c9b7
SM
10169 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
10170 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 10171
6240145a
GM
101722011-07-13 Glenn Morris <rgm@gnu.org>
10173
10174 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
10175 (dired-insert-directory): Give a message the first time
10176 if ls is found not to support --dired.
10177
1d8c2ccc
LMI
101782011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10179
10180 * simple.el (toggle-truncate-lines): Clarify what is toggled
10181 (bug#5580). Text by Drew Adams.
10182
5fc4038e
CY
101832011-07-13 Chong Yidong <cyd@stupidchicken.com>
10184
10185 * simple.el (blink-matching-open): Make the error message from the
10186 last change less verbose.
10187
bf6012e5
DN
101882011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
10189
10190 * font-lock.el (font-lock-comment-face): Use the high contrast
10191 "yellow" color for font-lock-comment-face on low color terminals
10192 using a dark background color (bug#4221).
10193
343c3b5a
LMI
101942011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10195
7e9505c5
LMI
10196 * dired.el (dired-insert-set-properties): Make the doc string
10197 reflect what it does now (bug#5325).
10198
c26fdcf5
LMI
10199 * simple.el (blink-matching-open): Say that we were unable to find
10200 the match within the limit, if we're limited (bug#5122).
10201
bb388cc5
LMI
10202 * international/mule-cmds.el (prefer-coding-system): Add an
10203 example (bug#4869).
10204
343c3b5a
LMI
10205 * progmodes/etags.el (tags-search): Document `file-list-form'
10206 (bug#4731).
10207
2a517d45
LM
102082011-07-13 Lawrence Mitchell <wence@gmx.li>
10209
10210 * net/browse-url.el (browse-url-default-browser)
10211 (browse-url-browser-function): Make the default browser choice a
10212 bit more logical (bug#4300). Also clean up the doc string.
10213
b6c78ef2
JB
102142011-07-13 Juanma Barranquero <lekktu@gmail.com>
10215
10216 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10217 binary endings (bug#4440).
10218
1c4dd947
LMI
102192011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10220
a2014063
LMI
10221 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10222 which can be pretty annoying (bug#8971).
10223
9c9c2d88
LMI
10224 * jka-compr.el (jka-compr-verbose): New variable, and use
10225 throughout (bug#8971).
10226
1c4dd947
LMI
10227 * info.el (Info-find-file): Fall back on the installation
10228 directory if we can't find the info node anywhere else.
10229
a1c9f41b
SO
102302011-07-13 Sergei Organov <osv@javad.com> (tiny change)
10231
10232 * vc/vc.el (vc-revert-file):
10233 Don't set file time-stamp in the past. (Bug#5181)
10234
536f3d36
LMI
102352011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10236
7152b011
LMI
10237 * files.el (after-find-file): Give a better error message when
10238 trying to find a symlink that points to a file that doesn't exist
10239 (bug#4398).
10240
536f3d36
LMI
10241 * progmodes/cc-vars.el: Remove (probably) misleading comment
10242 (bug#4396).
10243
460c0fba
JB
102442011-07-12 Johan Bockgård <bojohan@gnu.org>
10245
10246 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10247
7a6bda45
CY
102482011-07-12 Chong Yidong <cyd@stupidchicken.com>
10249
10250 * mouse-sel.el: Hack restoring functionality, while keeping
10251 compatibility with 2010-07-03 changes to mouse selection.
10252 (mouse-sel-primary-overlay): New var.
10253 (mouse-sel-selection-alist): Use it.
10254 (mouse-sel-mode): Doc fix; remove points that are default features
10255 of mouse.el.
10256
c79598ef
JB
102572011-07-12 Johan Bockgård <bojohan@gnu.org>
10258
10259 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10260 Fix previous fix (bug#2490).
10261
ff8be6ef
RW
102622011-07-12 Roland Winkler <winkler@gnu.org>
10263
b796c9b7
SM
10264 * textmodes/bibtex.el (bibtex-initialize):
10265 Use pop-to-buffer-same-window.
ff8be6ef
RW
10266 (bibtex-search-entries): Fix interactive call.
10267
296ba3ee
LMI
102682011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10269
f5242a02 10270 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
10271 Fontise bytecomp Error lines more correctly (bug#2490).
10272 Fix suggested by Johan Bockgård.
f5242a02 10273
296ba3ee
LMI
10274 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10275
10276 * dired-x.el (dired-guess-default): Use `delete-dups'.
10277
f69fd0d2
CY
102782011-07-12 Chong Yidong <cyd@stupidchicken.com>
10279
10280 * dired.el (dired-mark-prompt):
10281 * dired-aux.el (dired-read-shell-command): Doc fix.
10282
eab5dc07
LMI
102832011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10284
b796c9b7
SM
10285 * mail/sendmail.el (sendmail-query-once):
10286 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
10287 emacs -Q.
10288
10289 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10290
eab5dc07
LMI
10291 * cus-edit.el (custom-file): Take an optional no-error variable.
10292 (customize-save-variable): Set the variable, and give a warning if
10293 running under "emacs -q".
10294
a1e65d42
JB
102952011-07-11 Juanma Barranquero <lekktu@gmail.com>
10296
10297 * loadhist.el (unload-feature-special-hooks):
10298 Add `auto-coding-functions', `fill-nobreak-predicate' and
10299 `find-directory-functions' (bug#5327).
10300
1d52da10
LMI
103012011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10302
be958f1d
LMI
10303 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10304
5bedb26c
LMI
10305 * cus-edit.el (custom-guess-name-alist): -alist variables should
10306 use the `alist' type (bug#3120). Suggested by Drew Adams.
10307
1d52da10
LMI
10308 * printing.el: Add documentation to all the `pr-toggle-' commands.
10309
cd394be1 103102011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
10311
10312 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10313 backends where it makes sense (bug#2623).
10314
dcc88d8a
LMI
103152011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10316
c3de9feb
LMI
10317 * dired-x.el (dired-guess-default): Remove duplicate shell command
10318 entries (bug#2028).
8a93078b 10319 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 10320 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 10321
dcc88d8a
LMI
10322 * subr.el (remove-duplicates): New conveniency function.
10323
505e3645
LMI
103242011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10325
10326 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10327 (bug#1526).
10328
103292011-07-10 Martin Rudalics <rudalics@gmx.at>
10330
10331 * window.el (display-buffer-normalize-default): Don't invert
10332 meaning of even-window-heights. Reported by Eli Zaretskii
10333 <eliz@gnu.org>.
10334
455e4fa1
BR
103352011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
10336
10337 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10338
8e0bc3e9
CY
103392011-07-10 Chong Yidong <cyd@stupidchicken.com>
10340
10341 * window.el (display-buffer): Fix arguments to
10342 display-buffer-reuse-window in last change.
10343
fa7c3228
CY
10344 * faces.el (link): Use a less saturated blue on light backgrounds.
10345
10346 * startup.el (fancy-startup-text, fancy-about-text)
10347 (fancy-startup-tail): Use font-lock faces, for background safety.
10348
c0a7f300
BN
103492011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
10350
b796c9b7
SM
10351 * emulation/viper-cmd.el (viper-change-state-to-vi):
10352 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 10353
4dc2a129
MR
103542011-07-09 Martin Rudalics <rudalics@gmx.at>
10355
10356 * window.el (display-buffer-default-specifiers): Remove.
10357 (display-buffer-macro-specifiers): Remove default specifiers.
10358 (display-buffer-alist): Default to nil.
b796c9b7 10359 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
10360 (display-buffer-pop-up-window): Allow splitting internal
10361 windows. Check whether a live window was created.
10362 (display-buffer-other-window-means-other-frame)
10363 (display-buffer-normalize-arguments): Rename to
10364 display-buffer-normalize-argument and rewrite. Set the
10365 other-window specifier.
10366 (display-buffer-normalize-special): New function.
10367 (display-buffer-normalize-options): Rename to
10368 display-buffer-normalize-default and rewrite.
10369 (display-buffer-normalize-options-inhibit): Remove.
10370 (display-buffer-normalize-specifiers): Rewrite.
10371 (display-buffer): Process other-window specifier and call
10372 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
10373 more faithfully.
b796c9b7 10374 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 10375 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
10376 (display-buffer-in-window, display-buffer-alist-set):
10377 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
10378 <tassilo@member.fsf.org>.
10379
2d43b8c9
LL
103802011-07-09 Leo Liu <sdl.web@gmail.com>
10381
10382 * register.el (insert-register): Restore accidental change on
10383 2011-06-26. (Bug#9028)
10384
7f9b7c53
GM
103852011-07-09 Glenn Morris <rgm@gnu.org>
10386
10387 * subr.el (remq): Handle the empty list. (Bug#9024)
10388
f042cfd8
AS
103892011-07-08 Andreas Schwab <schwab@linux-m68k.org>
10390
10391 * mail/sendmail.el (send-mail-function): No longer delay custom
10392 initialization.
10393 * custom.el (custom-initialize-delay): Doc fix.
10394
856b2f11
SM
103952011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10396
10397 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
10398
afae1d68
MA
103992011-07-08 Michael Albinus <michael.albinus@gmx.de>
10400
10401 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
10402 human-friendly prompt.
10403
0757af94
SM
104042011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10405
10406 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
10407 provided by a particular plugin.
10408
d760b731
LMI
104092011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10410
10411 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
10412 save customizations (with "emacs -Q"), just set the variable
10413 instead of erroring out.
10414
10415 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10416
cd79ce90
JL
104172011-07-08 Juri Linkov <juri@jurta.org>
10418
10419 * arc-mode.el (archive-zip-expunge, archive-zip-update)
10420 (archive-zip-update-case): Use 7z if found by `executable-find'.
10421 The order of searching the available programs is the same as in
10422 `archive-zip-extract' (bug#8968).
10423
14cc04aa
CY
104242011-07-07 Chong Yidong <cyd@stupidchicken.com>
10425
10426 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10427 (menu-bar-options-menu): Tweak descriptions.
10428
0a1848ec
LMI
104292011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10430
10431 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10432 menu items into verb phrases (bug#1421). Also refill to fit under
10433 80 columns.
10434
f5bd0689
CY
104352011-07-07 Chong Yidong <cyd@stupidchicken.com>
10436
538e85c6
CY
10437 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10438 (Info-read-node-name): Doc fix (Bug#1084).
10439
f5bd0689
CY
10440 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10441 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10442 (end-of-sexp, beginning-of-sexp)
10443 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10444 (forward-symbol, forward-same-syntax, word-at-point)
10445 (sentence-at-point): Doc fix (Bug#1144).
10446
56ec5115
LMI
104472011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10448
f3f8e37f
LMI
10449 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10450 should cover it (bug#1281).
10451
0757af94 10452 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 10453
e9fce1ac 10454 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
10455 negotiation fails, then possibly try again with a non-encrypted
10456 connection (bug#9017).
10457
56ec5115
LMI
10458 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10459 be used.
10460
c2f9aec8
RS
104612011-07-07 Richard Stallman <rms@gnu.org>
10462
10463 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10464 property, and handle its changed format.
10465 Look for the correct line number.
10466 Use file's line contents (but not past first =) to find
10467 correct line in message.
10468
ef7b981d 104692011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
10470
10471 * international/characters.el (build-unicode-category-table):
10472 Delete it.
0757af94 10473 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 10474
0757af94 10475 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
10476 to src/chartab.c.
10477 (get-char-code-property): Call unicode-property-table-internal to
10478 load a file. Call get-unicode-property-internal where necessary.
10479 (put-char-code-property): Call unicode-property-table-internal to
10480 load a file. Call put-unicode-property-internal where necessary.
10481 put-unicode-property-internal where necessary.
0757af94
SM
10482 (char-code-property-description):
10483 Call unicode-property-table-internal to load a file.
c805dec0
KH
10484
10485 * international/charprop.el:
10486 * international/uni-bidi.el:
10487 * international/uni-category.el:
10488 * international/uni-combining.el:
10489 * international/uni-comment.el:
10490 * international/uni-decimal.el:
10491 * international/uni-decomposition.el:
10492 * international/uni-digit.el:
10493 * international/uni-lowercase.el:
10494 * international/uni-mirrored.el:
10495 * international/uni-name.el:
10496 * international/uni-numeric.el:
10497 * international/uni-old-name.el:
10498 * international/uni-titlecase.el:
10499 * international/uni-uppercase.el: Regenerate.
10500
10501 * loadup.el: Load international/charprop.el before
10502 international/characters.
10503
e14b388a
CY
105042011-07-07 Chong Yidong <cyd@stupidchicken.com>
10505
10506 * window.el (next-buffer, previous-buffer): Signal an error if
10507 called from a minibuffer window.
10508
10509 * bindings.el: Revert 2011-07-04 change.
10510
354cf0ba
RS
105112011-07-06 Richard Stallman <rms@gnu.org>
10512
10513 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10514 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10515 Treat markers like ints.
10516 (rmail-mime-entity): Doc fix.
10517
a48868a7
LMI
105182011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10519
4906cd3d
LMI
10520 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10521 defcustom again for backwards compatibility.
10522
e0457abe
LMI
10523 * simple.el (shell-command-on-region): Fill.
10524
d67f7e1f
LMI
10525 * dired-aux.el (dired-kill-line): Add a doc string.
10526
fe204702
LMI
10527 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10528 to "\\sw\\|\\s_" (bug#358).
10529
a48868a7
LMI
10530 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10531 (dired-unmark-backward): Ditto.
10532 (dired-flag-backup-files): Ditto.
10533
10534 * dired-x.el (dired-mark-sexp): Ditto.
10535
aa8a705c
RS
105362011-07-06 Richard Stallman <rms@gnu.org>
10537
10538 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10539 (rmail-mime-entity): New arg TRUNCATED.
10540 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10541 New functions.
10542 (rmail-mime-save): Warn if entity is truncated.
10543 (rmail-mime-toggle-hidden): Likewise, for showing.
10544 (rmail-mime-process-multipart): Record when an entity is truncated.
10545
a9a936b9
RS
10546 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10547 if ENTITY is a string.
10548
1f2b92cb
LMI
105492011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10550
f4f73198 10551 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
10552 of faces when `M-C-x'-ing their definitions (bug#8378).
10553 Also clean up the code slightly.
f4f73198 10554
12b16734 10555 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 10556 because that makes the colors go away.
12b16734 10557
f0691d22
LMI
10558 * mail/sendmail.el (send-mail-function): Change the default to
10559 `sendmail-query-once'.
9e87df06 10560 (sendmail-query-once): Add an autoload cookie.
f0691d22 10561
1f2b92cb
LMI
10562 * net/network-stream.el (network-stream-open-starttls): Try using
10563 a plain connection even if the server offered STARTTLS, and we
10564 kinda wanted to use it, if Emacs doesn't have any STARTTLS
10565 capability. This should make smtpmail.el work in slightly more
10566 configurations.
10567
1cdd2a1b
MA
105682011-07-06 Michael Albinus <michael.albinus@gmx.de>
10569
10570 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10571 New defun.
10572 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10573
fbcc67e2
MM
105742011-07-06 Michael R. Mauger <mmaug@yahoo.com>
10575
10576 * progmodes/sql.el: Version 3.0
0757af94 10577 (sql-product-alist): Add product :completion-object,
fbcc67e2 10578 :completion-column, and :statement attributes.
0757af94 10579 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 10580 (sql-mode-syntax-table): Mark all punctuation.
0757af94 10581 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
10582 ansi keywords.
10583 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 10584 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
10585 (sql-oracle-show-reserved-words): New function for development.
10586 (sql-product-font-lock): Simplify for source code buffers.
10587 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10588 New functions.
10589 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
10590 (sql-mode-map): Add statement movement functions.
10591 (sql-ansi-statement-starters, sql-oracle-statement-starters):
10592 New variable.
fbcc67e2
MM
10593 (sql-statement-regexp, sql-beginning-of-statement)
10594 (sql-end-of-statement, sql-signum): New functions.
0757af94 10595 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
10596 (sql-show-sqli-buffer): Bug fix.
10597 (sql-interactive-mode): Store connection data as buffer local.
0757af94 10598 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
10599 with sql-interactive-mode.
10600 (sql-save-connection): Save buffer local settings.
0757af94 10601 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
10602 (sql-product-interactive): Bug fix.
10603 (sql-preoutput-hold): New variable.
10604 (sql-interactive-remove-continuation-prompt): Bug fixes.
10605 (sql-debug-redirect): New variable.
10606 (sql-str-literal): New function.
10607 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 10608 Redesign.
fbcc67e2
MM
10609 (sql-oracle-save-settings, sql-oracle-restore-settings)
10610 (sql-oracle-list-all, sql-oracle-list-table): New functions.
10611 (sql-completion-object, sql-completion-column)
10612 (sql-completion-sqlbuf): New variables.
10613 (sql-build-completions-1, sql-build-completions)
10614 (sql-try-completion): New functions.
10615 (sql-read-table-name): Use them.
10616 (sql-contains-names): New buffer local variable.
10617 (sql-list-all, sql-list-table): Use it.
10618 (sql-oracle-completion-types): New variable.
10619 (sql-oracle-completion-object, sql-sqlite-completion-object)
10620 (sql-postgres-completion-object): New functions.
10621
d4eaeab1
GM
106222011-07-06 Glenn Morris <rgm@gnu.org>
10623
10624 * window.el (pop-to-buffer): Doc fix.
10625
322b7dab 106262011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
10627
10628 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
10629
322b7dab 106302011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 10631
322b7dab 10632 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 10633
322b7dab 10634 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 10635
605dd5bf
CY
106362011-07-05 Chong Yidong <cyd@stupidchicken.com>
10637
10638 * button.el (button): Inherit from link face. Suggested by Dan
10639 Nicolaescu.
10640
7dbfa719
SM
106412011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10642
3db614b0
SM
10643 * progmodes/gdb-mi.el: Fit in 80 columns.
10644 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
10645 switch-to-buffer.
10646
7dbfa719
SM
10647 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
10648 if imenu is simply not configured (bug#8941).
10649
919d884a
KM
106502011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
10651
10652 * allout.el (allout-post-undo-hook): New allout outline-change
10653 event hook to signal undo activity.
10654 (allout-post-command-business): Run allout-post-undo-hook if an
10655 undo just occurred.
7dbfa719
SM
10656 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
10657 * allout-widgets.el (allout-widgets-after-undo-function):
10658 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
10659 in the vicinity of an undo.
10660 (allout-widgets-mode): Include allout-widgets-after-undo-function
10661 on the new allout-post-undo-hook.
10662
450a0f09
SM
106632011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10664
10665 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
10666 Let define-derived-mode define it.
10667 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
10668 cycles of abbrev-table inheritance (bug#8998).
10669
2de69e00
RW
106702011-07-05 Roland Winkler <winkler@gnu.org>
10671
10672 * textmodes/bibtex.el: Add support for biblatex.
10673 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
10674 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
10675 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
10676 (bibtex-entry-alist, bibtex-field-alist): New variables.
10677 (bibtex-entry-field-alist): Obsolete alias for
10678 bibtex-BibTeX-entry-alist.
10679 (bibtex-entry-alist, bibtex-field-alist): New widgets.
10680 (bibtex-set-dialect): New command.
10681 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
10682 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
10683 Bind via bibtex-set-dialect.
2de69e00
RW
10684 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
10685 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
10686 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
10687 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
10688 Define via bibtex-set-dialect.
450a0f09
SM
10689 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
10690 Obey bibtex-no-opt-remove-re.
2de69e00
RW
10691 (bibtex-vec-push, bibtex-vec-incr): New functions.
10692 (bibtex-format-entry, bibtex-field-list)
10693 (bibtex-print-help-message, bibtex-validate)
10694 (bibtex-search-entries): Use new format of bibtex-entry-alist.
10695
2dcdbdd9
SM
106962011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10697
10698 * progmodes/compile.el (compilation-goto-locus):
10699 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10700 * bs.el (bs-cycle-next, bs-cycle-previous):
10701 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
10702 * bindings.el (mode-line-other-buffer):
10703 * autoinsert.el (auto-insert):
10704 * arc-mode.el (archive-extract):
10705 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10706
b27640fe
JB
107072011-07-05 Juanma Barranquero <lekktu@gmail.com>
10708
10709 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10710 Fix check of `emacs-lock-unlockable-modes'.
10711 Coerce true values of `emacs-lock--try-unlocking' to t.
10712
53bbe3ad
JB
107132011-07-05 Juanma Barranquero <lekktu@gmail.com>
10714
10715 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10716 * emacs-lock.el: New file.
10717
1d3cdbc7
JD
107182011-07-05 Julien Danjou <julien@danjou.info>
10719
10720 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10721 than `boundp' to check if face is set.
10722
9173deec
JB
107232011-07-05 Juanma Barranquero <lekktu@gmail.com>
10724
10725 * register.el (registerv-make):
10726 * window.el (window-min-height): Fix typos in docstrings.
10727
869795d6
JD
107282011-07-05 Jan Djärv <jan.h.d@swipnet.se>
10729
9173deec 10730 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
10731 Update doc string.
10732
b768cdcd
JB
107332011-07-04 Juanma Barranquero <lekktu@gmail.com>
10734
10735 * server.el (server-execute): Catch quit and call
10736 `server-return-error' to pass the error back to emacsclient and
10737 close the connection (bug#8942).
10738
13aa217b
KM
107392011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10740
10741 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10742 insecure exception for current topic. Also note that auto-saves
10743 are handled differently.
10744
5d3385a0 10745 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
10746 State variables for tracking auto-save inhibition situation.
10747
10748 (allout-write-contents-hook-handler): Rename from
10749 'allout-write-file-hook-handler', and describe how it depends on
10750 write-contents-functions sensitivity to non-nil value to prevent
10751 file write.
10752
10753 (allout-auto-save-hook-handler): Remove. auto-save does not check
10754 this in individual buffers, only in the starting buffer, so this
10755 is not the right way for us to inhibit auto-save in a buffer
10756 according to its condition.
10757
10758 (allout-mode): Use new allout-write-contents-hook-handler, and
10759 only with write-contents-functions. Remove auto-save provisions -
10760 they're implemented elsewhere.
10761
10762 (allout-before-change-handler): If undo is in progress, note that
10763 for attention of allout-post-command-business.
10764
10765 (allout-post-command-business): If the command we're following was
10766 an undo, check for change in the status of encrypted items and
10767 adjust auto-save inhibitions accordingly.
10768
10769 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10770 according to whether there are or aren't any plain-text topics
10771 pending encryption.
10772
2dcdbdd9 10773 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
10774 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10775 if there are plain-text topics pending encryption.
13aa217b
KM
10776
10777 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10778 buffer-saved-size and some allout state to not inhibit auto-saves
10779 if there are no longer any plain-text topics pending encryption.
10780
0757af94
SM
10781 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10782 No longer provide for exemption of the current topic.
13aa217b 10783
ac89b32c
JL
107842011-07-04 Juri Linkov <juri@jurta.org>
10785
10786 Add 7z operations to delete and save changed members (bug#8968).
10787 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10788 New defcustoms.
10789 (archive-7z-write-file-member): New function.
10790 (archive-7z-summarize): Fix the number of dashes in the
10791 listing output.
10792
8fa39615
SM
107932011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10794
10795 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10796 (bug#8958).
10797
2f11b3f1
CY
107982011-07-04 Chong Yidong <cyd@stupidchicken.com>
10799
d66fef2b
CY
10800 * bindings.el: Ignore next-buffer and previous-buffer in
10801 minibuffer-local-map.
10802
2f11b3f1
CY
10803 * font-lock.el (font-lock-builtin-face): Change light background
10804 color to dark slate blue (Bug#6693).
10805
f932a347
WD
108062011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10807
10808 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10809
c8af70e1
SM
108102011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10811
10812 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10813 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10814 Add switch-to-buffer.
10815
f158badc
LMI
108162011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10817
10818 * isearch.el (isearch-search-fun-function): Clarify further the
10819 meaning of the function returned.
10820
6d95bd46
MA
108212011-07-04 Michael Albinus <michael.albinus@gmx.de>
10822
10823 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10824
10825 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10826 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10827 Use it.
10828 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10829 `tramp-default-remote-path' does not exist.
10830 (tramp-send-command-and-read): New optional argument NOERROR.
10831 (tramp-open-connection-setup-interactive-shell)
10832 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10833 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10834 (tramp-process-sentinel): Flush also process' connection property.
10835 (tramp-sh-handle-start-file-process): Do not set process
10836 sentinel. It is done now ...
10837 (tramp-maybe-open-connection): ... here. (Bug#8929)
10838
909e6b67
MK
108392011-07-04 MON KEY <monkey@sandpframing.com>
10840
10841 * play/animate.el (animate-string): Doc fixes and allow changing
10842 the buffer name (bug#5417).
10843
108442011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10845
c8af70e1 10846 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 10847
f34755dc
PE
108482011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10849
396cec72
PE
10850 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10851 This is simpler and helps future-proof the code.
10852 (timer-until): Use time-subtract and float-time.
08235028 10853 (timer--time-less-p): Use time-less-p.
f34755dc 10854
56e6cc31
JB
108552011-07-04 Juanma Barranquero <lekktu@gmail.com>
10856
3abb79e5
JB
10857 * type-break.el (timep): Use the value of `float-time' to avoid a
10858 byte-compiler warning.
10859
56e6cc31
JB
10860 * server.el (server-eval-and-print): Return any result, even nil.
10861
7b9430b4
PE
108622011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10863
10864 * type-break.el: Accept time formats that the builtins accept.
10865 (timep, type-break-time-difference): Accept any format that
10866 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10867 This is simpler and helps future-proof the code.
10868 (type-break-time-difference): Round rather than ignoring
10869 subseconds components.
10870
3034e9e7
LMI
108712011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10872
10873 * info.el (Info-apropos-matches): Make non-interactive, since it
10874 doesn't seem to do anything useful as a command (bug#8829).
10875
1485f4c0
CY
108762011-07-03 Chong Yidong <cyd@stupidchicken.com>
10877
10878 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 10879 Move from faces.el.
1485f4c0
CY
10880 (frame-default-terminal-background): New function.
10881
10882 * custom.el (custom-push-theme): Don't record faces in `changed'
10883 theme; this doesn't work correctly for per-frame face settings.
10884 (disable-theme): Use face-set-after-frame-default to reset faces.
10885 (custom--frame-color-default): New function.
10886
9fa3dd45
LMI
108872011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10888
c8af70e1 10889 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
10890 (bug#8769).
10891
6cbbc20c
KR
108922011-03-29 Kevin Ryde <user42@zip.com.au>
10893
10894 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10895 `perl-Test2' extend to match possible "fail #N" rep count
10896 (bug#8377).
10897
c7f98048
LMI
108982011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10899
65676592
LMI
10900 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10901 `smtpmail-via-smtp' now returns the error instead of nil.
10902
c7f98048
LMI
10903 * isearch.el (isearch-search-fun-function): Clarify the doc string
10904 (bug#8101).
10905
56e6cc31 109062011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
10907
10908 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10909 unnecessary spaces (bug#8987).
10910
2b216704
LMI
109112011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10912
10913 * net/network-stream.el (open-network-stream): Use the
10914 :end-of-capability command thoughout.
10915
109162011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10917
10918 * net/network-stream.el (open-network-stream): Add the
10919 :end-of-capability command parameter, used by pop3.el.
10920
36adf6ce
LMI
109212011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10922
1ca0da0e
LMI
10923 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10924
fc00f69c
LMI
10925 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10926 for list)" (bug#6475).
10927
28fd8759 10928 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 10929 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
10930 an error (bug#6297).
10931
0dd8b6da
LMI
10932 * man.el (Man-reference-regexp): Allow matching possible
10933 word-wrapped references (bug#6289).
10934
ce1438d6
LMI
10935 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10936 for consistency with the other vc buffers (bug#6197).
10937 (vc-checkin): Ditto.
10938
10939 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10940
36adf6ce
LMI
10941 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10942
e83cc1f7
LMI
109432011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10944
8a20ca4c
LMI
10945 * custom.el (defcustom): Clarify that :set is only used in the
10946 Customize user interface (bug#6089).
10947
83319045
LMI
10948 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10949 associated with a file, refuse to run instead of erroring out
10950 (bug#6084).
10951
a8392169
LMI
10952 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10953 the doc string, since it appears that using `fill-column' always
10954 controls the width (bug#7845).
10955
e83cc1f7
LMI
10956 * simple.el (shell-command-on-region): Say where the error output
10957 went if `shell-command-default-error-buffer' is set (bug#6857).
10958
e47ca23b
KM
109592011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10960
10961 * allout.el (allout-yank-processing): Adjust cursor position for
10962 backwards-deleted space.
10963
10964 (allout-rebullet-heading): Register changes with
10965 allout-exposure-changed-hook, so the modified topic is properly
10966 decorated.
10967
5cf56143
LMI
109682011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10969
08549772
LMI
10970 * minibuffer.el (completion-in-region): Document PREDICATE
10971 (bug#7136).
10972
48e96771
LMI
10973 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10974 of keyword/argument pairs (bug#6904).
10975
c8af70e1
SM
10976 * replace.el (multi-occur):
10977 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 10978
e17d05e2
LMI
109792011-07-02 Drew Adams <drew.adams@oracle.com>
10980
10981 * dired.el (dired-mark-if): Make the message about whether it's
10982 marking or unmarking clearer (bug#8523).
10983
063b0e45
LMI
109842011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10985
10986 * disp-table.el (display-table-print-array): New function.
10987 (describe-display-table): Use it to print the vectors more pretty
10988 (Bug#8859).
10989
28545e04
MR
109902011-07-02 Martin Rudalics <rudalics@gmx.at>
10991
10992 * window.el (window-state-get-1): Don't assign clone numbers.
10993 Add clone-of item to list of window parameters.
10994 (window-state-put-2): Don't process clone numbers.
10995 (display-buffer-alist): Fix doc-string.
10996
3349e122
SM
109972011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10998
10999 * subr.el (remq): Don't allocate if it's not needed.
11000 (keymap--menu-item-binding, keymap--menu-item-with-binding)
11001 (keymap--merge-bindings): New functions.
11002 (keymap-canonicalize): Use them to refine the canonicalization.
11003 * minibuffer.el (minibuffer-local-completion-map)
11004 (minibuffer-local-must-match-map): Move initialization from C.
11005 (minibuffer-local-filename-completion-map): Move initialization from C;
11006 don't inherit from anything here.
11007 (minibuffer-local-filename-must-match-map): Make obsolete.
11008 (completing-read-default): Use make-composed-keymap to combine
11009 minibuffer-local-filename-completion-map with either
11010 minibuffer-local-must-match-map or
11011 minibuffer-local-filename-completion-map.
11012
d224ac83
GM
110132011-07-01 Glenn Morris <rgm@gnu.org>
11014
3de63bf8
GM
11015 * type-break.el (type-break-time-sum): Use dolist.
11016
d224ac83
GM
11017 * textmodes/flyspell.el (flyspell-word-search-backward):
11018 Replace CL function.
11019
1a1e3f32
SM
110202011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11021
fe3f64d5
SM
11022 * mouse.el (mouse--strip-first-event): New function.
11023 (function-key-map): Use it to map fringe clicks to normal clicks
11024 by default.
11025
eb604e34
SM
11026 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
11027 (vc-bzr-revision-completion-table): Add support for annotate and date.
11028
1a1e3f32
SM
11029 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
11030 inherit from parent.
11031
5bd35902
LMI
110322011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11033
ace6c69c 11034 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 11035 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 11036
191e2bed
LMI
11037 * dired.el (dired-mode): Fix up the doc string as suggested by
11038 Drew Adams (bug#8817).
11039
5bd35902
LMI
11040 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
11041 cookie, since the manual says that it should be possible to add
11042 this function to `find-file-hook' (bug#8709).
11043
eee8207a
TZ
110442011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11045
11046 * progmodes/cfengine.el: Moved all cfengine3.el functionality
11047 here. Noted Ted Zlatanov as the maintainer.
11048 (cfengine-common-settings, cfengine-common-syntax): New functions
11049 to set up common things between `cfengine-mode' and
11050 `cfengine3-mode'.
11051 (cfengine3-mode): New mode.
11052 (cfengine3-defuns cfengine3-defuns-regex
11053 (cfengine3-class-selector-regex cfengine3-category-regex)
11054 (cfengine3-vartypes cfengine3-font-lock-keywords)
11055 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 11056 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 11057
36b148cf
MA
110582011-07-01 Michael Albinus <michael.albinus@gmx.de>
11059
11060 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
11061
11062 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
11063
0bf4ba9a
MR
110642011-07-01 Martin Rudalics <rudalics@gmx.at>
11065
11066 * window.el (same-window-buffer-names, same-window-regexps)
11067 (same-window-p, special-display-frame-alist)
11068 (special-display-popup-frame, special-display-function)
11069 (special-display-buffer-names, special-display-regexps)
11070 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
11071 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11072 (split-window-preferred-function, split-height-threshold)
11073 (split-width-threshold, even-window-heights)
11074 (display-buffer-mark-dedicated, window-splittable-p)
11075 (split-window-sensibly, window-safely-shrinkable-p):
11076 Un-obsolete.
11077 (display-buffer): Don't spread args with function specifier
11078 because special-display-popup-frame won't like it.
11079
35837f51
PE
110802011-07-01 Paul Eggert <eggert@cs.ucla.edu>
11081
d0672f86
PE
11082 Time-stamp simplifications and fixes.
11083 These improve accuracy slightly, and future-proof the code
11084 against some potential changes to current-time format.
11085
b9444d97
PE
11086 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
11087 by using time-since and float-time.
11088
0ef923dc
PE
11089 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
11090 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
11091 + NNN microseconds".
11092
2f81380d
PE
11093 * type-break.el (type-break-time-sum): Rewrite using time-add.
11094
845b5c3e
PE
11095 * play/hanoi.el (hanoi-current-time-float): Remove.
11096 All uses replaced by float-time.
11097
ee6f1be0
PE
11098 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
11099 This yields a more-accurate answer.
11100 (rng-time-to-float): Remove; no longer needed.
11101
fe955043
PE
11102 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
11103
5777162a
PE
11104 * calendar/timeclock.el (timeclock-seconds-to-time):
11105 Defalias to seconds-to-time, since they're the same thing.
11106
3103f8b6 11107 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 11108 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
11109 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
11110
0e61a35f
SM
111112011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11112
11113 * window.el (bury-buffer): Don't iconify the only frame.
11114 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
11115 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
11116
ddd63a1e
CY
111172011-07-01 Chong Yidong <cyd@stupidchicken.com>
11118
0e61a35f
SM
11119 * eshell/em-smart.el (eshell-smart-display-navigate-list):
11120 Add mouse-yank-primary.
ddd63a1e 11121
055f4923
TZ
111222011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11123
11124 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
11125
6a2fb145
SM
111262011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11127
11128 * emacs-lisp/find-func.el (find-library--load-name): New fun.
11129 (find-library-name): Use it to find relative load names when provided
11130 absolute file name (bug#8803).
11131
fd4983f2
LMI
111322011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11133
887d14ad
LMI
11134 * textmodes/flyspell.el (flyspell-word): Consider words that
11135 differ only in case as potential doublons (bug#5687).
11136
c53dc7fc
LMI
11137 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
11138 Remove two rather uninteresting debugging-like messages to make
11139 debbugs.el more silent.
11140
fd4983f2
LMI
11141 * comint.el (comint-password-prompt-regexp): Accept "Response" as
11142 a password-like phrase.
11143
7a71b18d 111442011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
11145
11146 * progmodes/cc-guess.el: New file.
11147
6a2fb145 11148 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
11149
11150 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
11151 derived from `c-basic-common-init'.
11152
11153 * progmodes/cc-mode.el (top-level): Require cc-guess.
11154 (c-basic-common-init): Use `cc-choose-style-for-mode'.
11155
1fa280a3
LM
111562011-06-30 Lawrence Mitchell <wence@gmx.li>
11157
11158 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
11159
e6597158
AM
111602011-06-30 Alan Mackenzie <acm@muc.de>
11161
1fa280a3
LM
11162 * progmodes/cc-engine.el (c-guess-continued-construct):
11163 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
11164 lock is disabled. Name this case as "CASE G".
11165
68ba37fb
KM
111662011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
11167
11168 * allout.el (allout-yank-processing): Fix injection of extra space
11169 between bullet and non-whitespace character in first topic when
11170 pasting, ensuring that the actual spacing in the pasted topic
11171 following the bullet char is preserved. This extra space was
11172 causing pasted encrypted topics to get a decrypted status even
11173 when the content was actually still encrypted. Now the decryption
11174 status from before the paste is preserved.
11175
11176 (allout-flag-region): Set all allout overlays so they evaporate
11177 when reduced to zero length (evanescent), to prevent overlay
11178 leakage.
11179
887a0b34
GM
111802011-06-30 Glenn Morris <rgm@gnu.org>
11181
94b9acce
GM
11182 * w32-fns.el (w32-charset-info-alist): Declare.
11183
1d9b46d4
GM
11184 * find-dired.el (find-grep-options): Simplify.
11185
cc232200
GM
11186 * term/ns-win.el (ns-set-resource): Declare.
11187
28e77c46
GM
11188 * ses.el (row, col): Declare dynamic variables honestly.
11189
887a0b34
GM
11190 * textmodes/reftex-parse.el (index-tags): Declare.
11191
658d8eb8
CY
111922011-06-30 Chong Yidong <cyd@stupidchicken.com>
11193
11194 * cus-edit.el (customize-push-and-save): New function.
11195
11196 * files.el (hack-local-variables-confirm): Use it.
11197
1fa280a3
LM
11198 * custom.el (load-theme): New arg NO-CONFIRM.
11199 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
11200 (custom-enabled-themes): Doc fix.
11201
11202 * cus-theme.el (customize-create-theme)
11203 (custom-theme-merge-theme): Callers to load-theme changed.
11204
bb617717
LMI
112052011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11206
d61bdd5d
LMI
11207 * thingatpt.el (thing-at-point-short-url-regexp): Require that
11208 short URLs have at least one dot in them (bug #7614).
11209
bb617717
LMI
11210 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11211 nil, because using a pty is apparently too slow (bug #895).
11212
2f31f37a
LMI
112132011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
11214
11215 * mail/sendmail.el (sendmail-query-once): New function.
11216 (sendmail-query-once-function): New variable.
11217
3076b24e
GM
112182011-06-29 Glenn Morris <rgm@gnu.org>
11219
faf2a174
GM
11220 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11221
3076b24e
GM
11222 * ses.el (top-level): Require cl when compiling.
11223 (ses-set-localvars): Fix error statement.
11224 Call it at compile time to silence a storm of warnings.
11225
5386012d
MR
112262011-06-29 Martin Rudalics <rudalics@gmx.at>
11227
11228 * window.el (normalize-live-buffer): Rename to
11229 window-normalize-buffer.
11230 (normalize-live-frame): Rename to window-normalize-frame.
11231 (normalize-any-window): Rename to window-normalize-any-window.
11232 (normalize-live-window): Rename to window-normalize-live-window.
11233 (make-window-atom): Rename to window-make-atom.
11234 (window-resize-reset): Rename to window--resize-reset.
11235 (window-resize-reset-1): Rename to window--resize-reset-1.
11236 (resize-mini-window): Rename to window--resize-mini-window.
11237 (resize-subwindows-skip-p): Rename to
11238 window--resize-subwindows-skip-p.
11239 (resize-subwindows-normal): Rename to
11240 window--resize-subwindows-normal.
11241 (resize-subwindows): Rename to window--resize-subwindows.
11242 (resize-other-windows): Rename to window--resize-siblings.
11243 (resize-this-window): Rename to window--resize-this-window.
11244 (resize-root-window): Rename to window--resize-root-window.
11245 (resize-root-window-vertically): Rename to
11246 window--resize-root-window-vertically.
11247 (normalize-buffer-to-display): Rename to
11248 window-normalize-buffer-to-display.
11249 (normalize-buffer-to-switch-to): Rename to
11250 window-normalize-buffer-to-switch-to.
11251 Correspondingly update all callers of the functions listed
11252 above.
11253 (display-buffer-alist, display-buffer-normalize-arguments)
11254 (display-buffer-normalize-options, display-buffer)
11255 (display-buffer-alist-set): Use "function" instead of
11256 "fun-with-args".
11257
1176868d
CY
112582011-06-28 Chong Yidong <cyd@stupidchicken.com>
11259
11260 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11261 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
11262 debbugs.gnu.org. Mention acknowledgment email.
11263
20a7a65f
LMI
112642011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
11265
11266 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11267 buffer multibyteness, since it shouldn't matter.
11268
5f45cca5
MR
112692011-06-28 Martin Rudalics <rudalics@gmx.at>
11270
11271 * window.el (display-buffer-in-side-window): Handle dedicated
11272 windows as in display-buffer-reuse-window.
11273 (display-buffer-normalize-alist): Use value of override
11274 specifier.
11275 (display-buffer-normalize-specifiers): Use value of
11276 other-window-means-other-frame specifier.
11277 (display-buffer-alist): Rewrite some texts in widgets.
11278 (display-buffer): Spread arguments when calling function
11279 specified by fun-with-args.
11280
ad85fe1f
DD
112812011-06-28 Deniz Dogan <deniz@dogan.se>
11282
1fa280a3
LM
11283 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11284 Unnest `let'.
da68c4c8 11285
ad85fe1f
DD
11286 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11287 selectors (Bug#5732).
ec49bd31 11288 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 11289
a08cc025
JA
112902011-06-27 Jari Aalto <jari.aalto@cante.net>
11291
11292 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11293 (eshell-ls-date-format): New defcustom.
11294 (eshell-ls-file): Use it.
11295
e2b551c5
SM
112962011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11297
11298 * help-fns.el (describe-variable): Fix message for terminal-local vars.
11299
8982b231
KY
113002011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
11301
11302 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11303 (ange-ftp-make-tmp-name): New arg.
11304 (ange-ftp-file-local-copy): Use it.
11305
36c9fa27
J
113062011-06-27 Jambunathan K <kjambunathan@gmail.com>
11307
11308 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11309 no-conversion (Bug#8870).
11310
d68443dc
MR
113112011-06-27 Martin Rudalics <rudalics@gmx.at>
11312
11313 * window.el (window-right, window-left, window-child)
11314 (window-child-count, window-last-child)
11315 (window-iso-combination-p, walk-window-tree-1)
11316 (window-atom-check-1, window-tree-1, delete-window)
11317 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11318 new naming conventions - window-vchild, window-hchild,
11319 window-next and window-prev are now called window-top-child,
11320 window-left-child, window-next-sibling and window-prev-sibling
11321 respectively.
d615d6d2
MR
11322 (resize-window-reset): Rename to window-resize-reset.
11323 (resize-window-reset-1): Rename to window-resize-reset-1.
11324 (resize-window): Rename to window-resize.
11325 (window-min-height, window-min-width)
11326 (resize-mini-window, resize-this-window, resize-root-window)
11327 (resize-root-window-vertically, adjust-window-trailing-edge)
11328 (enlarge-window, shrink-window, maximize-window)
11329 (minimize-window, delete-window, quit-restore-window)
11330 (split-window, balance-windows, balance-windows-area-adjust)
11331 (balance-windows-area, window-state-put-2)
11332 (display-buffer-even-window-sizes, display-buffer-set-height)
11333 (display-buffer-set-width, set-window-text-height)
11334 (fit-window-to-buffer): Rename all "resize-window" prefixed
11335 calls to use the "window-resize" prefix convention.
11336 (display-buffer-alist): Fix symbol for label specifier.
11337 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11338 corresponding specifier.
11339 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 11340
b6458526
VB
113412011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11342
11343 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11344 convention.
11345 (ses-call-printer): Does not pass an empty string to formatter when the
11346 cell is empty to keep from barking printer Calc math-format-value.
11347
d31fd9ac
RS
113482011-06-27 Richard Stallman <rms@gnu.org>
11349
43d5bf84
RS
11350 * battery.el (battery-mode-line-limit): New variable.
11351 (battery-update): Handle it.
11352
d31fd9ac
RS
11353 * mail/rmailmm.el (rmail-mime-process-multipart):
11354 Handle truncated messages.
11355
819a6054
GM
113562011-06-27 Glenn Morris <rgm@gnu.org>
11357
11358 * progmodes/flymake.el (flymake-err-line-patterns):
11359 Allow for column numbers in the ant/javac pattern. (Bug#8866)
11360
cedc73f2
VB
113612011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11362
819a6054 11363 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
11364 (ses--clean-!, ses--clean-_): New functions.
11365 (ses-range): Add configurability of readout order, and conversion
11366 to Calc vector.
11367
5e5d49b6
VB
11368 * ses.el (ses-repair-cell-reference-all): New function.
11369 (ses-cell-symbol): Set macro as safe, so that it can be used in
11370 formulas.
11371
56e6cc31 11372 * ses.el: Update cycle detection algorithm.
90ca8b49 11373 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 11374 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
11375 (ses-set-localvars): New function.
11376 (ses-make-cell): Add property-list as a cell element.
11377 (ses-cell-property-get-fun, ses-cell-property-get)
11378 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
11379 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11380 New functions.
90ca8b49
VB
11381 (ses-cell-property-set, ses-cell-property-pop)
11382 (ses-cell-property-get-handle): New macro.
11383 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
11384 New aliases, used for code readability.
11385 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
11386 cycle detection.
11387 (ses-self-reference-early-detection): New defcustom.
fac916bf 11388 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
11389 (ses-mode): Use ses-set-localvars.
11390 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
11391 before lauching the update processing.
11392 (ses-initialize-Dijkstra-attempt): New function.
11393 (ses-recalculate-cell): Update for cycle detection based on
11394 Dijkstra algorithm.
11395
2bb63e81
VB
11396 * ses.el: Fix commenting and indenting convention.
11397
c9d29fb8
SM
113982011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11399
11400 * bs.el (bs-cycle-next): Complete last change.
11401
d8e4b68b
JB
114022011-06-27 Drew Adams <drew.adams@oracle.com>
11403
11404 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
11405
40098786
LMI
114062011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11407
c9d29fb8
SM
11408 * net/network-stream.el (network-stream-open-starttls):
11409 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
11410 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
11411
40098786
LMI
11412 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11413 to binary to possibly avoid line encoding issues on Windows (among
11414 other things).
11415
468d09d4
LMI
114162011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11417
11418 * net/network-stream.el (open-network-stream): Return an :error
11419 saying what the problem was, if possible.
11420
11421 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11422 server.
11423
11424 * net/network-stream.el (network-stream-open-starttls): If we
11425 wanted to use STARTTLS, and the server offered it, but we weren't
11426 able to because we had no STARTTLS support, then close the connection.
11427 (open-network-stream): Return an :error element, if present.
11428
16f07dd7
CY
114292011-06-26 Chong Yidong <cyd@stupidchicken.com>
11430
88821ca0
CY
11431 * hl-line.el (hl-line-sticky-flag): Doc fix.
11432 (global-hl-line-sticky-flag): New option (Bug#8323).
11433 (global-hl-line-highlight): Obey it.
11434
16f07dd7
CY
11435 * vc/vc.el (vc-revert-show-diff): Default to t.
11436
6b5ccddf
KM
114372011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
11438
c9d29fb8
SM
11439 * allout-widgets.el (allout-widgets-post-command-business):
11440 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
11441 undecorated when an isearch is continued past, and isearch
11442 automatically collapses them. This leads to "widget leaks", where
11443 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
11444 hidden widgets can slow down cursor travel, substantially.
11445 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
11446 so we're doing without this nicety.
11447
11448 (allout-widgets-tally-string): Don't try to do a hash-table-count
11449 of allout-widgets-tally when it's nil. This eliminates spurious "Error
11450 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11451 *Messages* when allout-widgets-maintain-tally is t.
11452
355f2e07
MR
114532011-06-26 Martin Rudalics <rudalics@gmx.at>
11454
11455 * window.el (display-buffer-normalize-argument): Rename to
11456 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
11457 LABEL argument. Respect special-display-function when popping up
11458 a new frame. Fix code searching for a window showing the buffer
11459 on another frame.
c9d29fb8
SM
11460 (display-buffer-normalize-specifiers):
11461 Call display-buffer-normalize-arguments.
355f2e07
MR
11462 (display-buffer-in-window): Don't undedicate the window if its
11463 buffer remains the same.
11464 Reported by Drew Adams <drew.adams@oracle.com>.
11465 (display-buffer-alist): Add choice for same-window macro
11466 specfier.
11467 (display-buffer): Mention special meaning of LABEL argument in
11468 doc-string. Fix quoting. Don't pop up a new frame even as
11469 fallback.
11470
7ca8fc42
JB
114712011-06-26 Juanma Barranquero <lekktu@gmail.com>
11472
11473 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11474 avoid deleting the current window in some cases (bug#8911).
11475
bc312254
AS
114762011-06-26 Andreas Schwab <schwab@linux-m68k.org>
11477
11478 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11479 (Bug#8934)
11480
2db18f3f
LMI
114812011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11482
c9d29fb8
SM
11483 * net/network-stream.el (network-stream-open-starttls):
11484 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
11485 (network-stream-open-tls): Ditto.
11486
6302e0d3
LL
114872011-06-26 Leo Liu <sdl.web@gmail.com>
11488
11489 * register.el (registerv): New struct.
11490 (registerv-make): New function.
c9d29fb8
SM
11491 (jump-to-register, describe-register-1, insert-register):
11492 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
11493 struct. (Bug#8415)
11494
5fdd4046
CY
114952011-06-26 Chong Yidong <cyd@stupidchicken.com>
11496
2afef60a
CY
11497 * vc/vc.el (vc-revert-show-diff): New defcustom.
11498 (vc-diff-internal): New arg specifying diff buffer.
11499 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
11500 reuse an existing *vc-diff* buffer (Bug#8927).
11501
5fdd4046
CY
11502 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11503
e93db24a
GM
115042011-06-26 Glenn Morris <rgm@gnu.org>
11505
11506 * progmodes/f90.el (f90-critical-indent): New option.
11507 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11508 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11509 (f90-mode): Doc fix.
11510 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11511 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11512 (f90-beginning-of-block, f90-next-block, f90-indent-region)
11513 (f90-match-end): Handle block, critical.
11514
eefff499
GM
115152011-06-25 Glenn Morris <rgm@gnu.org>
11516
f6ba4cc9
GM
11517 * calendar/diary-lib.el (diary-included-files): Doc fix.
11518 (diary-include-files): New function, extracted from
11519 diary-include-other-diary-files and diary-mark-included-diary-files.
11520 (diary-include-other-diary-files, diary-mark-included-diary-files):
11521 Just call diary-include-files.
11522 (diary-mark-entries): Reset diary-included-files on first call.
11523
16712304
GM
11524 * calendar/diary-lib.el (diary-mark-entries)
11525 (diary-mark-included-diary-files):
11526 Visit included diary-files in temp buffers.
11527
5d8e0d43
GM
11528 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11529 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11530 (f90-start-block-re, f90-imenu-generic-expression)
11531 (f90-looking-at-program-block-start, f90-no-block-limit):
11532 Add support for submodules.
11533
ccf7a5d5
GM
11534 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11535 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 11536
11fdef7d 115372011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
11538
11539 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11540 buffer-file-type before setting its value, to avoid disastrous
eefff499 11541 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 11542
74f53697
JB
115432011-06-25 Juanma Barranquero <lekktu@gmail.com>
11544
11545 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11546
11547 * ses.el (ses-unload-function):
11548 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11549
11550 * proced.el (proced-unload-function):
11551 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11552
18a4ce5e
AR
115532011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
11554
11555 * server.el (server-create-window-system-frame): Add parameters arg.
11556 (server-process-filter): Doc fix. Handle frame-parameters.
11557
519d22cc
JB
115582011-06-25 Juanma Barranquero <lekktu@gmail.com>
11559
11560 Fix bug#8730, bug#8781.
11561
11562 * loadhist.el (unload--set-major-mode): New function.
11563 (unload-feature): Use it.
11564
11565 * progmodes/python.el (python-after-info-look): Add autoload cookie.
11566 (python-unload-function): New function.
11567
c206f5b0
SM
115682011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11569
11570 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11571
f9ad64f3
GS
115722011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
11573
11574 * net/browse-url.el (browse-url-firefox-program): Add icecat to
11575 the candidates list.
11576
7d0da90e
JB
115772011-06-24 Juanma Barranquero <lekktu@gmail.com>
11578
11579 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11580
14b4e83d
RS
115812011-06-23 Richard Stallman <rms@gnu.org>
11582
11583 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11584 (rmail-variables): Set next-error-move-function.
11585 (rmail-what-message): Take argument POS.
11586 (rmail-next-error-move): New function.
11587
273d2baf
SM
115882011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11589
11590 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11591 messages for adjacent non-terminals.
11592
56c2cc9a
RS
115932011-06-23 Richard Stallman <rms@gnu.org>
11594
11595 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 11596 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
11597 (rmail-start-mail): Don't specify use of rmail-mail-return;
11598 that's done by mail-bury now.
11599 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 11600
d59eb518
MA
116012011-06-23 Michael Albinus <michael.albinus@gmx.de>
11602
11603 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11604 SIZE is a number.
11605
02cfc6d6
MR
116062011-06-23 Martin Rudalics <rudalics@gmx.at>
11607
11608 * window.el (get-lru-window, get-mru-window)
11609 (get-largest-window): Never return a minibuffer window.
11610 (display-buffer-pop-up-window): Fix a bug that could lead to
11611 reusing the minibuffer window.
11612 (display-buffer): Pass original specifier argument to
11613 display-buffer-function instead of the normalized one.
11614 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11615
4e323265
LL
116162011-06-22 Leo Liu <sdl.web@gmail.com>
11617
11618 * minibuffer.el (completing-read-function)
11619 (completing-read-default): Move from minibuf.c
11620
7a70468f
RS
116212011-06-22 Richard Stallman <rms@gnu.org>
11622
50718fc2
RS
11623 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11624 to Rmail even if not started by a special Rmail command.
11625
7a70468f
RS
11626 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
11627 Copy the buffer currently showing just one message.
11628
297dde5a
RW
116292011-06-22 Roland Winkler <winkler@gnu.org>
11630
11631 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
11632 (bibtex-clean-entry): First delete the old key so that a
11633 customized algorithm for generating the new key does not get
11634 confused by the old key.
11635 (bibtex-url): Obey regexp of first step.
11636 (bibtex-search-entries): Do not use add-to-list with local
11637 list-var.
11638
97bb1093
LMI
116392011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11640
11641 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
11642 stored a user name, then query for the password first, instead of
11643 waiting for SMTP to give an error message and the trying again.
11644
1c0f1a19
JD
116452011-06-22 Lawrence Mitchell <wence@gmx.li>
11646
11647 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
11648 BUFFER in call-process.
11649
396f7c9d
LMI
116502011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11651
11652 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
11653 QUIT twice.
ddb7ffee
LMI
11654 (smtpmail-try-auth-methods): Require user name and password from
11655 auth-source.
396f7c9d 11656
8998d1b3
MR
116572011-06-22 Martin Rudalics <rudalics@gmx.at>
11658
11659 * window.el (display-buffer-default-specifiers)
11660 (display-buffer-alist): Remove entries for pop-up-frame-alist.
11661 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 11662 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
11663
11664 * frame.el (pop-up-frame-alist, pop-up-frame-function)
11665 (special-display-frame-alist, special-display-popup-frame):
11666 Remove duplicate declarations. These are now in window.el.
11667
4ea31e07
LMI
116682011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11669
c9d29fb8
SM
11670 * mail/smtpmail.el (smtpmail-via-smtp):
11671 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
11672 server supports it. SMTP servers that support STARTTLS commonly
11673 require it.
11674
11675 * net/network-stream.el (network-stream-open-starttls): Support
11676 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 11677 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 11678
95f41d9a
LMI
11679 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
11680 upgrades with `open-network-stream', and rely solely on
11681 auth-source for all credentials. Big changes throughout the file,
11682 but in particular:
c9d29fb8
SM
11683 (smtpmail-auth-credentials): Remove.
11684 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
11685 (smtpmail-via-smtp): Check for servers saying they want AUTH after
11686 MAIL FROM, too.
95f41d9a 11687
c9d29fb8
SM
11688 * net/network-stream.el (network-stream-open-starttls):
11689 Provide support for client certificates both for external and built-in
4ea31e07
LMI
11690 STARTTLS.
11691 (auth-source): Require.
11692 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
11693 (network-stream-certificate): Change cert-cert to cert and
11694 cert-key to key.
4ea31e07 11695
065ec2c7
MA
116962011-06-21 Michael Albinus <michael.albinus@gmx.de>
11697
11698 * net/tramp-cache.el (top): Don't load the persistency file when
11699 "emacs -Q" has been called.
11700
cd93b359
DR
117012011-06-21 Tim Harper <timcharper@gmail.com>
11702
d8e4b68b
JB
11703 * term/ns-win.el (ns-initialize-window-system):
11704 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
11705 resource to NO as it is not yet supported by the NS port.
11706
ae9c0411
JB
117072011-06-21 Juanma Barranquero <lekktu@gmail.com>
11708
11709 * misc.el (list-dynamic-libraries--refresh): Compute header here...
11710 (list-dynamic-libraries): ...not here.
11711
7f3f739f
LL
117122011-06-21 Leo Liu <sdl.web@gmail.com>
11713
11714 * subr.el (sha1): Implement sha1 using secure-hash.
11715
327c8fb1
MR
117162011-06-21 Martin Rudalics <rudalics@gmx.at>
11717
11718 * window.el (display-buffer-alist): In default value do not
11719 enforce searching a window on any but the selected frame.
11720 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11721 (display-buffer-select-window): Remove function.
11722 (display-buffer-in-window): When a window on another frame gets
11723 reused, do not select it any more but just raise its frame if
11724 necessary (Bug#8851) and (Bug#8856).
11725 (display-buffer-normalize-options): Handle pop-up-frames related
11726 options more faithfully.
11727 (pop-to-buffer): Don't rely on `display-buffer' selecting the
11728 window if it is on another frame.
c9d29fb8
SM
11729 (display-buffer-alist, display-buffer-default-specifiers):
11730 Don't make new frame unsplittable by default.
9e9de014
MR
11731 (display-buffer-normalize-argument): Fix doc-string typo and use
11732 'same-frame-other-window instead of 'other-window when associating
11733 with display-buffer-macro-specifiers.
327c8fb1 11734
7cf3f556
VB
117352011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
11736
11737 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11738 New functions.
11739 (5x5-mode-map, 5x5-mode-menu): Bind them.
11740 (5x5-draw-grid): Tweak the solver's rendering.
11741
60a406cf
SM
117422011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11743
11744 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11745 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11746
d8e4b68b 117472011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
11748
11749 * menu-bar.el: Use function variable instead of switch-to-buffer.
11750 (menu-bar-select-buffer-function): New variable.
60a406cf 11751 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 11752
478d6f95
SM
117532011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11754
11755 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11756 variable's status.
11757
ca530739
JD
117582011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11759
11760 * x-dnd.el (x-dnd-version-from-flags)
11761 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11762 and long as number (Bug#8899).
11763 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11764
bcd70d97
SM
117652011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11766
60a406cf 11767 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
11768 (completion-try-completion, completion-all-completions): Compute the
11769 metadata argument if it's missing; make it optional (bug#8795).
11770
60a406cf 11771 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
11772 (widget-complete): Use new :completion-function property.
11773 (widget-completions-at-point): New function.
11774 (default): Use :completion-function instead of :complete.
60a406cf
SM
11775 (widget-default-completions): Rename from widget-default-complete;
11776 Rewrite.
bcd70d97
SM
11777 (widget-string-complete, widget-file-complete, widget-color-complete):
11778 Remove functions.
11779 (file, symbol, function, variable, coding-system, color):
11780 * international/mule-cmds.el (default-input-method, charset)
11781 (language-info-custom-alist):
11782 * cus-edit.el (face): Use new property :completions.
11783
11784 * progmodes/pascal.el (pascal-completions-at-point): New function.
11785 (pascal-mode): Use it.
11786 (pascal-mode-map): Use completion-at-point.
11787 (pascal-toggle-completions): Make obsolete.
11788 (pascal-complete-word, pascal-show-completions):
11789 * progmodes/octave-mod.el (octave-complete-symbol):
11790 Redefine as obsolete alias.
11791 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11792 Signal absence of completion info for old Octave,
11793 (inferior-octave-complete): Redefine as obsolete alias.
11794 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11795 (meta-completions-at-point): Rename from meta-complete-symbol and
11796 adapt it for use on completion-at-point-functions.
11797 (meta-common-mode): Use it.
11798 (meta-looking-at-backward, meta-match-buffer): Remove.
11799 (meta-complete-symbol): Redefine as obsolete alias.
11800 (meta-common-mode-map): Use completion-at-point.
11801 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11802 (makefile-mode-map): Use completion-at-point.
11803 (makefile-completions-at-point): Rename from makefile-complete and
11804 adapt it for use on completion-at-point-functions.
11805 (makefile-mode): Use it.
11806 (makefile-complete): Redefine as obsolete alias.
11807
aebf69c8
DD
118082011-06-20 Deniz Dogan <deniz@dogan.se>
11809
11810 * net/rcirc.el: Delete trailing whitespaces once and for all.
11811
bfbbb27d
DC
118122011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11813
11814 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11815
d264a46b
CY
118162011-06-19 Chong Yidong <cyd@stupidchicken.com>
11817
4ca009e5
CY
11818 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11819
d264a46b
CY
11820 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11821
fbf5b3ce
MR
118222011-06-19 Martin Rudalics <rudalics@gmx.at>
11823
11824 * window.el (display-buffer-other-window-means-other-frame):
11825 Call display-buffer-normalize-alist.
11826 (display-buffer-normalize-specifiers-1): Rename to
11827 display-buffer-normalize-argument. New argument other-frame.
11828 Rewrite.
11829 (display-buffer-normalize-specifiers-2): Rename to
11830 display-buffer-normalize-options.
11831 (display-buffer-normalize-alist-1): New function.
11832 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
11833 display-buffer-normalize-alist.
11834 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
11835 (display-buffer-normalize-options-inhibit): New variable.
11836 (display-buffer-normalize-specifiers): Rewrite calling
11837 display-buffer-normalize-alist,
11838 display-buffer-normalize-argument, and
11839 display-buffer-normalize-options. Don't call the latter if
11840 display-buffer-normalize-options-inhibit is non-nil.
11841 (frame-auto-delete): New option.
11842 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
11843 (window-list-no-nils, window-state-ignored-parameters)
11844 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
11845 (window-state-put-1, window-state-put-2, window-state-put):
11846 New functions.
9a028c23
MR
11847 (display-buffer-normalize-options): Move special-display-p group
11848 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 11849
6d10d800
CY
118502011-06-18 Chong Yidong <cyd@stupidchicken.com>
11851
6420d28b
CY
11852 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11853 groups (Bug#8776).
11854 (rx-submatch-n): New function.
11855 (rx): Document it.
11856
ddb8b596
CY
11857 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11858 (Bug#8768).
11859
11860 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11861
77080289
CY
11862 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11863
61dfb316
CY
11864 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11865 anytime existing face settings are present (Bug#8889).
11866
6d10d800
CY
11867 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11868 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11869 Remove unused argument.
11870
be3fb2b8
MR
118712011-06-18 Martin Rudalics <rudalics@gmx.at>
11872
bcd70d97
SM
11873 * window.el (display-buffer-default-specifiers):
11874 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
11875 pop-up-window-min-width, and another reuse-window specifier
11876 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
11877 (display-buffer-normalize-specifiers-2):
11878 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
11879 pop-up-windows is unset. Add a reuse-window specifier for the
11880 case popping up a new window fails.
11881 (special-display-popup-frame): Remove double quoting.
28dec25a 11882 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 11883
1c6d8c76
SM
118842011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11885
11886 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11887 according to comint-completion-addsuffix.
11888
11889 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11890 (pcomplete-suffix-list): Mark as obsolete.
11891 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11892 pcomplete-seen in the closure.
11893 (pcomplete-comint-setup): Setup completion-at-point as well.
11894 (pcomplete--entries): New function.
11895 (pcomplete--env-regexp): New var.
11896 (pcomplete-entries): Rewrite to work with partial-completion and
11897 without relying on pcomplete-suffix-list.
11898 (pcomplete-pare-list): Remove, unused.
11899
25aef8b8
MR
119002011-06-17 Martin Rudalics <rudalics@gmx.at>
11901
11902 * window.el (display-buffer-alist): Set pop-up-window-min-height
11903 and pop-up-window-min-width in default value. Reported by
11904 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11905 other-window-means-other-frame.
11906 (display-buffer-macro-specifiers): Comment out entry for
11907 other-window specifier.
11908 (display-buffer-other-window-means-other-frame): New function.
11909 (display-buffer-normalize-specifiers-1): New arguments
11910 buffer-name and label. Treat other-window case specially.
11911 (display-buffer-normalize-specifiers-2): Treat other-window case
11912 specially.
11913 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
11914 (display-buffer-normalize-specifiers):
11915 Call display-buffer-normalize-specifiers-3.
25aef8b8 11916
dbad4f69
MR
119172011-06-17 Martin Rudalics <rudalics@gmx.at>
11918
11919 * window.el (same-window-p): Fix two typos introduced when
11920 adding with-no-warnings.
d1067961
MR
11921 (display-buffer-normalize-specifiers-1): Don't check
11922 pop-up-frames for 'unset initialization.
11923 (display-buffer-normalize-specifiers-2): Major rewrite using
11924 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11925 (pop-up-frames, display-buffer-reuse-frames)
11926 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11927 Suggested by David Engster <deng@randomsample.de>.
11928 (even-window-heights): Initialize to 'unset.
11929 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
11930 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11931 other window case.
dbad4f69 11932
9b9c9e3a
MR
119332011-06-16 Martin Rudalics <rudalics@gmx.at>
11934
bcd70d97
SM
11935 * window.el (display-buffer-normalize-specifiers-1):
11936 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 11937 second argument of display-buffer (Bug#8865).
981d5c09
MR
11938 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11939 (switch-to-buffer-other-window-same-frame)
11940 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11941 Adams (Bug#8875).
9c2755e9
MR
11942 (display-buffer): Don't check noninteractive when calling
11943 display-buffer-pop-up-frame.
11944 (display-buffer-pop-up-frame): Never pop up a frame in
11945 noninteractive mode (Bug#8857).
67222e1d
MR
11946 (enlarge-window, shrink-window): Don't report an error when the
11947 window can't be resized as requested (Bug#8862).
9b9c9e3a 11948
2b75be67
SM
119492011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11950
9ffdd3ba
SM
11951 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11952
cb581a67
SM
11953 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11954
2b75be67
SM
11955 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11956
8c0e3589
AM
119572011-06-15 Alan Mackenzie <acm@muc.de>
11958
cb581a67
SM
11959 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11960 for declarators, disable knr checking to speed up for normal files.
11961 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 11962
b96e6cde
LMI
119632011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11964
4bba86e6
LMI
11965 * net/network-stream.el (open-network-stream): Add the keyword
11966 :always-query-capabilities for the case where you want to force a
11967 `plain' network connection, but the protocol still requires the
11968 capabilitiy command (i.e., SMTP and EHLO).
11969
2b75be67 11970 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
11971 consistency with other `-live-p' functions.
11972
efdcdbf8
SM
119732011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11974
11975 * window.el (same-window-buffer-names, same-window-regexps)
11976 (special-display-frame-alist, special-display-popup-frame)
11977 (special-display-function, special-display-buffer-names)
11978 (special-display-regexps, pop-up-frame-alist)
11979 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11980 (pop-up-windows, split-window-preferred-function)
11981 (split-height-threshold, split-width-threshold, even-window-heights)
11982 (display-buffer-mark-dedicated): Don't encourage the use of
11983 display-buffer-alist from Elisp code.
11984
c5cde042
DN
119852011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11986
11987 * progmodes/python.el (python-mode): Derive from prog-mode.
11988 * progmodes/ps-mode.el (ps-mode):
11989 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 11990 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
11991 * progmodes/ld-script.el (ld-script-mode): Likewise.
11992
baa1c9ab
MR
119932011-06-15 Martin Rudalics <rudalics@gmx.at>
11994
11995 * window.el (display-buffer-alist): Trim default value to avoid
11996 popping up a new frame (Bug#8857) or reusing an arbitrary window
11997 on another frame.
11998 (display-buffer): Do not fall back on popping up a new frame in
11999 batch mode (Bug#8857).
12000
c5dd5a51
CY
120012011-06-14 Chong Yidong <cyd@stupidchicken.com>
12002
12003 * cus-theme.el (describe-theme-1): Use custom-theme-p.
12004 (custom-theme-summary): New function.
12005 (customize-themes): Use it.
12006
d647b7c4
GM
120072011-06-13 Glenn Morris <rgm@gnu.org>
12008
12009 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
12010
9481c002
MR
120112011-06-13 Martin Rudalics <rudalics@gmx.at>
12012
357f93d2
MR
12013 * help.el (help-window): Remove variable.
12014 (help-window-point-marker, temp-buffer-max-height)
12015 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
12016 (help-print-return-message): Don't set help-window.
12017 (resize-temp-buffer-window): Rewrite cod eand doc-string.
12018 (help-window-setup-finish): Remove.
12019 (help-window-display-message, help-window-setup)
12020 (with-help-window): Major rewrite based on new
12021 display-buffer-window variable.
12022
12023 * help-mode.el (help-mode-finish): Remove help-window related
12024 code.
12025
12026 * view.el (view-exits-all-viewing-windows): Remove reference to
12027 view-return-to-alist in doc-string.
12028 (view-return-to-alist): Make obsolete.
12029 (view-buffer): Call pop-to-buffer-same-window and remove
12030 undo-window code.
12031 (view-buffer-other-window): Call pop-to-buffer-other-window and
12032 simplify code. Ignore second argument.
12033 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
12034 simplify code. Ignore second argument.
12035 (view-return-to-alist-update): Make obsolete.
12036 (view-mode-enter): Rename second argument to QUIT-RESTORE.
12037 Rewrite using quit-restore window parameters.
2b75be67
SM
12038 (view-mode-exit): Rename second argument to EXIT-ONLY.
12039 Rewrite using quit-restore-window.
357f93d2
MR
12040 (View-exit, View-exit-and-edit, View-leave, View-quit)
12041 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
12042 appropriate arguments.
12043 (view-end-message): Use quit-restore window parameter.
12044
9481c002
MR
12045 * window.el (display-buffer-function): Rewrite doc-string.
12046 (display-buffer-window, display-buffer-alist): New variables.
12047 (display-buffer-split-specifiers)
12048 (display-buffer-side-specifiers)
12049 (display-buffer-macro-specifiers): New constants.
12050 (display-buffer-even-window-sizes, display-buffer-set-height)
12051 (display-buffer-set-width, display-buffer-select-window)
12052 (display-buffer-in-window, display-buffer-reuse-window)
12053 (display-buffer-split-window-1, display-buffer-split-window)
12054 (display-buffer-split-atom-window, display-buffer-pop-up-window)
12055 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
12056 (display-buffer-in-side-window, normalize-buffer-to-display)
12057 (display-buffer-normalize-specifiers-1)
12058 (display-buffer-normalize-specifiers-2)
2b75be67
SM
12059 (display-buffer-normalize-specifiers, display-buffer-frame):
12060 New functions.
9481c002
MR
12061 (display-buffer): Major rewrite.
12062 (display-buffer-other-window, display-buffer-other-frame)
12063 (pop-to-buffer, switch-to-buffer-other-window)
12064 (switch-to-buffer-other-frame): Rewrite.
12065 (display-buffer-same-window, display-buffer-same-frame)
12066 (display-buffer-same-frame-other-window)
12067 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12068 (pop-to-buffer-other-window)
12069 (pop-to-buffer-same-frame-other-window)
12070 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
12071 (switch-to-buffer-other-window-same-frame): New functions.
12072 (same-window-p, special-display-p): Rewrite disabling warnings.
12073 Make obsolete.
12074 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12075 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
12076 Make obsolete
12077 (same-window-buffer-names, same-window-regexps)
12078 (special-display-frame-alist, special-display-popup-frame)
12079 (special-display-function, special-display-buffer-names)
12080 (special-display-regexps, pop-up-frame-alist)
12081 (pop-up-frame-function, split-window-preferred-function)
12082 (split-height-threshold, split-width-threshold)
12083 (even-window-heights): Make obsolete.
12084
9db51aca
GM
120852011-06-12 Glenn Morris <rgm@gnu.org>
12086
12087 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 12088 Misc simplifications.
9db51aca 12089
39cffb44
MR
120902011-06-12 Martin Rudalics <rudalics@gmx.at>
12091
12092 * window.el (window-safely-shrinkable-p): Restore function which
12093 was inadvertently removed in change from 2011-06-11. Declare as
12094 obsolete.
12095
2b75be67
SM
12096 * calendar/calendar.el (calendar-generate-window):
12097 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
12098 window-safely-shrinkable-p.
12099
a8955be7
GM
121002011-06-12 Glenn Morris <rgm@gnu.org>
12101
12102 * progmodes/fortran.el (fortran-mode-syntax-table):
12103 * progmodes/f90.el (f90-mode-syntax-table):
12104 Set % to punctuation. (Bug#8820)
12105 (f90-find-tag-default): Remove, no longer needed.
12106
f0d4059d
DC
121072011-06-12 Daniel Colascione <dan.colascione@gmail.com>
12108
12109 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
12110
1100a63c
CY
121112011-06-11 Chong Yidong <cyd@stupidchicken.com>
12112
12113 * image.el (image-animated-p): Return animation delay in seconds.
12114 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
12115 (image-animate-timeout): Remove DELAY argument. Don't assume
12116 every subimage has the same delay; get it from image-animated-p.
12117 (image-animate): Caller changed.
12118
def722bf
MA
121192011-06-11 Michael Albinus <michael.albinus@gmx.de>
12120
12121 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
12122 to ignored backtrace functions.
12123
0a2bb1a9
GM
121242011-06-11 Glenn Morris <rgm@gnu.org>
12125
12126 * calendar/appt.el (appt-disp-window-function): Doc fix.
12127 (appt-check): Handle overlapping appointments. (Bug#8337)
12128
6198ccd0
MR
121292011-06-11 Martin Rudalics <rudalics@gmx.at>
12130
12131 * window.el (window-tree-1, window-tree): New functions, moving
12132 the latter to window.el.
12133 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
12134 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
12135 (bw-refresh-edges): Remove.
12136 (balance-windows-1, balance-windows-2): New functions.
12137 (balance-windows): Rewrite in terms of window tree functions,
12138 balance-windows-1 and balance-windows-2.
12139 (bw-adjust-window): Remove.
12140 (balance-windows-area-adjust): New function with functionality of
12141 bw-adjust-window but using resize-window.
2b75be67
SM
12142 (set-window-text-height): Rewrite doc-string.
12143 Use normalize-live-window and resize-window.
12144 (enlarge-window-horizontally, shrink-window-horizontally):
12145 Rename argument to DELTA.
6198ccd0
MR
12146 (window-buffer-height): New function.
12147 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
12148 Rewrite using new window resize routines.
2b75be67
SM
12149 (kill-buffer-and-window, mouse-autoselect-window-select):
12150 Use ignore-errors instead of condition-case.
6198ccd0
MR
12151 (quit-window): Call delete-frame instead of delete-windows-on
12152 for the only buffer on frame.
12153
9397e56f
MR
121542011-06-10 Martin Rudalics <rudalics@gmx.at>
12155
12156 * loadup.el (top-level): Load window before files for the sake
12157 of replace-buffer-in-windows.
12158
12159 * files.el (read-buffer-to-switch)
12160 (switch-to-buffer-other-window)
2b75be67
SM
12161 (switch-to-buffer-other-frame, display-buffer-other-frame):
12162 Move to window.el.
9397e56f
MR
12163
12164 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
12165 (previous-buffer): Move to window.el.
12166
12167 * bindings.el (unbury-buffer): Move to window.el.
12168
12169 * window.el (delete-other-windows-vertically): Move after
12170 definition of delete-other-windows.
12171 (other-window, delete-windows-on, replace-buffer-in-windows):
12172 Move here from window.c.
12173 (record-window-buffer, unrecord-window-buffer)
12174 (set-window-buffer-start-and-point, switch-to-prev-buffer)
12175 (switch-to-next-buffer): New functions.
12176 (get-next-valid-buffer, last-buffer, next-buffer): Move here
12177 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
12178 (previous-buffer): Move here from simple.el.
12179 Call switch-to-prev-buffer.
9397e56f
MR
12180 (bury-buffer): Move here from buffer.c. Switch to previous
12181 buffer when window cannot be deleted.
12182 (unbury-buffer): Move here from bindings.el.
12183 (ctl-x-map): Move binding for other-window from window.c to
12184 here.
12185 (read-buffer-to-switch, switch-to-buffer-other-window)
12186 (switch-to-buffer-other-frame): Move here from files.el.
12187 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
12188 (switch-to-buffer): Move here from buffer.c.
12189 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 12190
562dd5e9
MR
121912011-06-10 Martin Rudalics <rudalics@gmx.at>
12192
12193 * window.el (window-min-height, window-min-width): Move here
12194 from window.c. Add defcustoms and rewrite doc-strings.
12195 (resize-mini-window, resize-window): New functions.
12196 (adjust-window-trailing-edge, enlarge-window, shrink-window):
12197 Move here from window.c.
12198 (maximize-window, minimize-window): New functions.
12199 (delete-window, delete-other-windows, split-window): Move here
12200 from window.c.
12201 (window-split-min-size): New function.
12202 (split-window-keep-point): Mention split-window-above-each-other
12203 instead of split-window-vertically.
2b75be67 12204 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
12205 Rename split-window-vertically to split-window-above-each-other
12206 and provide defalias for old definition.
12207 (split-window-side-by-side, split-window-horizontally):
12208 Rename split-window-horizontally to split-window-side-by-side
12209 and provide defalias for the old definition.
562dd5e9
MR
12210 (ctl-x-map): Move bindings for delete-window,
12211 delete-other-windows and enlarge-window here from window.c.
12212 Replace bindings for split-window-vertically and
12213 split-window-horizontally by bindings for
12214 split-window-above-each-other and split-window-side-by-side.
12215
12216 * cus-start.el (all): Remove entries for window-min-height and
12217 window-min-width. Add entries for window-splits and
12218 window-nest.
12219
f0da764a
GM
122202011-06-09 Glenn Morris <rgm@gnu.org>
12221
80675c21
GM
12222 * calendar/appt.el (appt-mode-line): New function.
12223 (appt-check, appt-disp-window): Use it.
12224
f0da764a
GM
12225 * files.el (hack-one-local-variable-eval-safep):
12226 Allow minor-modes with explicit +/-1 arguments.
12227
59f623b7
TZ
122282011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
12229
12230 * term/xterm.el (xterm): Add defgroup.
12231 (xterm-extra-capabilities): Add defcustom to supply known xterm
12232 capabilities, skip querying them, or query them (default).
12233 (terminal-init-xterm): Use it.
12234 (terminal-init-xterm-modify-other-keys): New function to set up
12235 modifyOtherKeys support to simplify `terminal-init-xterm'.
12236
9aab8e0d
MR
122372011-06-09 Martin Rudalics <rudalics@gmx.at>
12238
12239 * window.el (resize-window-reset, resize-window-reset-1)
12240 (resize-subwindows-skip-p, resize-subwindows-normal)
12241 (resize-subwindows, resize-other-windows, resize-this-window)
12242 (resize-root-window, resize-root-window-vertically)
12243 (window-deletable-p, window-or-subwindow-p)
12244 (frame-root-window-p): New functions.
12245
e8b08aee
GM
122462011-06-09 Glenn Morris <rgm@gnu.org>
12247
12248 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12249 (ange-ftp-get-files): Use it.
12250
254c37a5
AK
122512011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
12252
12253 * mail/sendmail.el (mail-recover-1, mail-recover):
12254 * files.el (recover-file, recover-session):
12255 Handle dired-listing-switches not being just a single short option.
12256
35d7dbd3
GM
122572011-06-09 Glenn Morris <rgm@gnu.org>
12258
12259 * calendar/appt.el (appt-display-message, appt-disp-window):
12260 Handle lists of appointments.
12261
387522b2
MR
122622011-06-08 Martin Rudalics <rudalics@gmx.at>
12263
2b75be67
SM
12264 * window.el (one-window-p): Move down in code.
12265 Rewrite doc-string.
12266 (window-current-scroll-bars): Rewrite doc-string.
12267 Normalize live window argument.
387522b2
MR
12268 (walk-windows, get-window-with-predicate, count-windows):
12269 Rewrite doc-string. Use window-list-1.
12270 (window-in-direction-2, window-in-direction, get-mru-window):
12271 New functions.
12272
d8e4b68b 122732011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
12274
12275 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12276 Doc fix (Bug#8713).
12277
122782011-06-08 Chong Yidong <cyd@stupidchicken.com>
12279
12280 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12281
122822011-06-08 Juanma Barranquero <lekktu@gmail.com>
12283
12284 * loadhist.el (unload-feature-special-hooks):
12285 Add `comint-output-filter-functions'.
12286
0de12c52
IK
122872011-06-08 Ivan Kanis <gnu@kanis.fr>
12288
12289 * calendar/appt.el (appt-check): Move some initializations into the let.
12290
f3d1777e
MR
122912011-06-08 Martin Rudalics <rudalics@gmx.at>
12292
12293 * window.el (window-height): Defalias to window-total-height.
12294 (window-width): Defalias to window-body-width.
12295
18af70d0
CY
122962011-06-07 Chong Yidong <cyd@stupidchicken.com>
12297
12298 * image-mode.el (image-toggle-animation): New command.
12299 (image-mode-map): Bind it to RET.
12300 (image-mode): Update message.
12301 (image-toggle-display-image): Avoid a spurious cache flush.
12302 (image-transform-rotation): Doc fix.
12303 (image-transform-properties): Return quickly in the normal case.
12304 (image-animate-loop): Rename from image-animate-max-time.
12305
2b75be67 12306 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
12307 (create-animated-image): Remove unnecessary function.
12308 (image-animate): Rename from image-animate-start. New arg.
2b75be67 12309 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
12310 (image-animate-timer): Use car-safe.
12311 (image-animate-timeout): Rename argument.
12312
190b47e6
MR
123132011-06-07 Martin Rudalics <rudalics@gmx.at>
12314
12315 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
12316 window.c. Rename first argument to ALL-FRAMES.
12317 Rephrase doc-strings.
12318 (get-buffer-window-list): Rewrite using window-list-1.
12319 Rephrase doc-string.
a1511caf
MR
12320 (window-safe-min-height, window-safe-min-width): New constants.
12321 (window-size-ignore, window-min-size, window-min-size-1)
12322 (window-sizable, window-sizable-p, window-size-fixed-1)
12323 (window-size-fixed-p, window-min-delta-1, window-min-delta)
12324 (window-max-delta-1, window-max-delta, window-resizable)
12325 (window-resizable-p, window-total-height, window-total-width)
12326 (window-body-width): New functions.
12327 (window-full-height-p, window-full-width-p): Rewrite using
12328 window-total-size.
12329 (window-body-height): Rewrite using window-body-size.
190b47e6 12330
85cc1f11
MR
123312011-06-06 Martin Rudalics <rudalics@gmx.at>
12332
12333 * window.el (window-right, window-left, window-child)
12334 (window-child-count, window-last-child, window-any-p)
12335 (normalize-live-buffer, normalize-live-frame)
12336 (normalize-any-window, normalize-live-window)
12337 (window-iso-combination-p, window-iso-combined-p)
12338 (window-iso-combinations)
12339 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12340 (windows-with-parameter, window-with-parameter)
12341 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
12342 (window-atom-check, window-side-check, window-check):
12343 New functions.
85cc1f11
MR
12344 (ignore-window-parameters, window-sides, window-sides-vertical)
12345 (window-sides-slots): New variables.
12346 (window-size-fixed): Move down in code. Minor doc-string fix.
12347
e7156492
AS
123482011-06-05 Andreas Schwab <schwab@linux-m68k.org>
12349
12350 * comint.el (comint-dynamic-complete-as-filename)
12351 (comint-dynamic-complete-filename): Correctly call
12352 completion-in-region.
12353
7e821d0d
DD
123542011-06-05 Deniz Dogan <deniz@dogan.se>
12355
12356 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12357 in last change.
12358
ac09b8a1
DD
123592011-06-05 Deniz Dogan <deniz@dogan.se>
12360
12361 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12362 (rcirc): Use it to prompt for encryption.
12363
34699b85
RW
123642011-06-05 Roland Winkler <winkler@gnu.org>
12365
12366 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12367 (bibtex-search-entries): New command bound to C-c C-a.
12368 (bibtex-display-entries): New function.
12369
004dedd3
RW
123702011-06-05 Roland Winkler <winkler@gnu.org>
12371
12372 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12373 (bibtex-insert-kill): After yanking insert newline if necessary.
12374 (bibtex-initialize): Call bibtex-string-files-init only once.
12375 (bibtex-mode): Do not call easy-menu-add.
12376 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12377 (bibtex-yank): Set arg properly if nil.
12378
022fe7ce
RW
123792011-06-05 Roland Winkler <winkler@gnu.org>
12380
2b75be67
SM
12381 * textmodes/bibtex.el (bibtex-search-entry-globally):
12382 New variable.
022fe7ce
RW
12383 (bibtex-search-entry): Use it.
12384
b7c3692a
RW
123852011-06-05 Roland Winkler <winkler@gnu.org>
12386
12387 * textmodes/bibtex.el (bibtex-entry-format): New option
12388 sort-fields.
12389 (bibtex-format-entry, bibtex-reformat): Honor this option.
12390 (bibtex-parse-entry): Return fields in proper order.
12391
8eda563d
JB
123922011-06-05 Juanma Barranquero <lekktu@gmail.com>
12393
12394 * doc-view.el (doc-view-remove-if): Move computation of result out
12395 of `dolist' to silence misleading lexical-binding warning.
12396
7dbe3dbc
CY
123972011-06-04 Chong Yidong <cyd@stupidchicken.com>
12398
12399 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
12400 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
12401
0c33dd17
MA
124022011-06-04 Michael Albinus <michael.albinus@gmx.de>
12403
12404 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
12405 "SunOS 5.10".
12406
f8f91c2b
MA
124072011-06-04 Michael Albinus <michael.albinus@gmx.de>
12408
12409 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
12410 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
12411 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
12412 (tramp-parse-putty):
12413 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12414 (tramp-completion-function-alist-ssh)
12415 (tramp-completion-function-alist-telnet)
12416 (tramp-completion-function-alist-su)
12417 (tramp-completion-function-alist-putty): Set `tramp-autoload'
12418 cookie.
12419
12420 * net/tramp-ftp.el:
12421 * net/tramp-sh.el:
12422 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12423 load "tramp.el" `tramp-set-completion-function'.
12424
e17d9003
SM
124252011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12426
12427 * shell.el: Require and use pcomplete.
12428 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12429 (shell-completion-vars): Set pcomplete-default-completion-function.
12430
6c4cab03
DD
124312011-06-04 Deniz Dogan <deniz@dogan.se>
12432
12433 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12434 `memq' (Bug#8799).
12435
ea9fafe0
SM
124362011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12437
12438 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12439
b3e945d3
JB
124402011-06-02 Juanma Barranquero <lekktu@gmail.com>
12441
12442 * bs.el (bs--mark-unmark, bs--nth-wrapper):
12443 * mpc.el (mpc-select-extend, mpc-songpointer-context):
12444 * vc/log-view.el (log-view-beginning-of-defun):
12445 * vc/smerge-mode.el (smerge-apply-resolution-patch)
12446 (smerge-refine-forward, smerge-refine-chopup-region):
12447 Silence warning for unused `dotimes' counter variables.
12448
7d520089
SM
124492011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12450
12451 * net/tramp.el (tramp-with-progress-reporter): Rename from
12452 with-progress-reporter. Use `declare'.
12453 * net/tramp-smb.el:
12454 * net/tramp-sh.el:
12455 * net/tramp-gvfs.el: Update all uses.
12456
a1c2400f
JB
124572011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
12458
12459 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12460 buffer isn't killed before making it current.
12461
2403c841
SM
124622011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12463
12464 Silence various byte-compiler warnings.
12465 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12466 `access-type' and new obsolescence format.
12467 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12468 new format.
12469 (byte-compile-check-variable): New `access-type' argument.
12470 Only warn if the access-type is obsolete.
12471 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12472 (byte-compile-variable-set): Adjust callers.
12473 * help-fns.el (describe-variable): Adjust to new obsolescence format.
12474 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12475 setting it as obsolete.
12476 * simple.el (minibuffer-completing-symbol):
12477 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12478 access as obsolete.
12479 * minibuffer.el (minibuffer-completing-file-name): Don't make it
12480 obsolete yet.
12481 * international/quail.el (quail-mouse-choose-completion): Remove unused
12482 code referring to obsolete var.
12483 (quail-choose-completion-string): Remove.
12484 * server.el (server-clients-with, server-kill-buffer-query-function)
12485 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12486 * proced.el (proced-send-signal):
12487 * emacs-lisp/lisp.el (lisp-complete-symbol):
12488 Replace completion-annotate-function with completion-extra-properties.
12489
2462470b
SM
124902011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12491
fb5b2591
SM
12492 * simple.el (goto-line): Use read-number.
12493 (overriding-map-is-bound): Remove.
12494 (saved-overriding-map): Change default.
12495 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12496 Take the map as argument.
12497 (universal-argument, negative-argument, digit-argument): Use it.
12498 (restore-overriding-map): Adjust.
12499 (do-auto-fill): Use fill-forward-paragraph.
12500 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12501
fd6fa53f
SM
12502 * minibuffer.el (minibuffer-inactive-mode-map): New var.
12503 (minibuffer-inactive-mode): New major mode.
12504 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12505 the *Messages* buffer" hack.
12506 (mouse-popup-menubar): Don't burp if the event is a normal key.
12507
2462470b
SM
12508 Miscellaneous tweaks.
12509 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12510 lexical scoping as in subr.el's dolist and dotimes.
12511 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12512 Silence compiler warning.
12513 * thingatpt.el (forward-whitespace): Trivial coding style fix.
12514 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12515 * international/ccl.el (ccl-compile): Trivial simplification.
12516 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12517 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12518 `printflag' argument.
12519 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12520 Purecopy the whole obsolescence data.
12521
108bf785
LL
125222011-06-01 Leo Liu <sdl.web@gmail.com>
12523
12524 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12525 improve doc-string as suggested by Marco Pessotto
12526 <melmothx@gmail.com>.
12527 (rcirc-print): Fix last change.
12528
30a23501
SM
125292011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12530
12531 * minibuffer.el (complete-with-action): Return nil for the metadata and
12532 boundaries of non-functional tables.
12533 (completion-table-dynamic): Return nil for the metadata.
12534 (completion-table-with-terminator): Add default case, using
12535 complete-with-action.
12536 (completion--metadata): New function.
12537 (completion-all-sorted-completions, minibuffer-completion-help): Use it
12538 to try and avoid pathological performance problems.
12539 (completion--embedded-envvar-table): Return `category' metadata.
12540
bcd54f83
LMI
125412011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
12542
12543 * subr.el (process-alive-p): New tiny convenience function.
12544
e227544d
SM
125452011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12546
12547 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12548 content but also its previous major mode.
12549
e8296fdc
HE
125502011-05-31 Helmut Eller <eller.helmut@gmail.com>
12551
4d61f28d 12552 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
12553 *Backtrace* buffer when we exit with C-M-c.
12554
620c53a6
SM
125552011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12556
12557 * minibuffer.el: Add metadata method to completion tables.
12558 (completion-category-overrides): New defcustom.
12559 (completion-metadata, completion--field-metadata)
12560 (completion-metadata-get, completion--styles)
12561 (completion--cycle-threshold): New functions.
12562 (completion-try-completion, completion-all-completions):
12563 Add `metadata' argument to choose completion-styles.
12564 (completion--do-completion): Use metadata to choose cycling.
12565 (completion-all-sorted-completions): Use metadata for sorting.
12566 Remove :completion-cycle-penalty which is not needed any more.
12567 (completion--try-word-completion): Add `metadata' argument.
12568 (minibuffer-completion-help): Check metadata for annotation function
12569 and sorting.
12570 (completion-file-name-table): Return `category' metadata.
12571 (minibuffer-completing-file-name): Make obsolete.
12572 * simple.el (minibuffer-completing-symbol): Make obsolete.
12573 * icomplete.el (icomplete-completions): Pass new `metadata' param to
12574 completion-try-completion.
12575
1257e755
SM
125762011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12577
12578 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12579
3767e706
LL
125802011-05-30 Leo Liu <sdl.web@gmail.com>
12581
12582 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
12583 (rcirc-print): Decode all incoming messages (bug#8744).
12584 (rcirc-decode-coding-system): Allow value nil for automatic coding
12585 system detection.
3767e706 12586
d1a5d56a
GM
125872011-06-01 Glenn Morris <rgm@gnu.org>
12588
12589 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12590
e8cbec34
CY
125912011-05-29 Chong Yidong <cyd@stupidchicken.com>
12592
12593 * image.el (image-animate-max-time): Allow nil and t values.
12594 Default to nil.
12595 (create-animated-image): Doc fix.
12596 (image-animate-start): Remove second arg; just use
12597 image-animate-max-time.
12598 (image-animate-timeout): Doc fix. Args changed.
12599
12600 * image-mode.el (image-toggle-display-image): Ensure that the
12601 image spec passed to the animate timer is the same object as in
58179cce 12602 the buffer's display property (Bug#6981).
e8cbec34
CY
12603 (image-transform-properties): Doc fix.
12604
12605 * image.el (image-animate-max-time): Default to nil.
12606
159daf87
MR
126072011-05-29 Martin Rudalics <rudalics@gmx.at>
12608
12609 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12610 entire buffer list (Bug#8184).
12611
d66c4c7c
CY
126122011-05-29 Chong Yidong <cyd@stupidchicken.com>
12613
12614 * image.el (imagemagick-types-inhibit)
12615 (imagemagick-register-types): Doc fix.
12616
80aec780
DD
126172011-05-29 Deniz Dogan <deniz@dogan.se>
12618
12619 * net/rcirc.el (rcirc): Use the user's stored encryption method by
12620 default.
12621
1dd3c2d9
CY
126222011-05-29 Chong Yidong <cyd@stupidchicken.com>
12623
12624 * select.el: Don't perform clipboard-manager saving in hooks;
12625 leave the hooks empty.
12626
60e56523
LL
126272011-05-28 Leo Liu <sdl.web@gmail.com>
12628
12629 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
12630 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
12631 (occur-edit-mode): New major mode (Bug#8463).
12632 (occur-after-change-function): New function.
12633 (occur-engine): Give Occur tags a read-only property.
12634
2b1e1a22
KR
126352011-05-28 Kevin Ryde <user42@zip.com.au>
12636
12637 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
12638
5d344e88
CY
126392011-05-28 Chong Yidong <cyd@stupidchicken.com>
12640
8e6ca83d
CY
12641 * bindings.el (help-echo): Make the initial non-indicator dash
12642 empty on graphical terminals (Bug#7295).
12643
5d344e88
CY
12644 * files.el (auto-mode-alist): Move config rule after the
12645 in-stripping one (Bug#8547).
12646
bfbbace7
CY
12647 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
12648
fbeba6e2
CY
12649 * startup.el (normal-splash-screen): Remove gratuitous mode-line
12650 setting (Bug#8740).
12651
60ed8c72
AA
126522011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
12653
4ac619f0
AA
12654 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
12655 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
12656 (Bug#8539).
60ed8c72 12657
23db196e
CY
126582011-05-28 Chong Yidong <cyd@stupidchicken.com>
12659
12660 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
12661
5012f24c
DK
126622011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
12663
12664 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
12665 (hs-hide-block-at-point, hs-find-block-beginning)
12666 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
12667 (Bug#8279).
12668
6a639b16
GM
126692011-05-28 Glenn Morris <rgm@gnu.org>
12670
12671 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
12672
d43eaf2c
CY
126732011-05-28 Chong Yidong <cyd@stupidchicken.com>
12674
5199bde1
CY
12675 * help-fns.el (describe-function-1): If the function is a derived
12676 major mode, print the parent mode.
12677
d43eaf2c
CY
12678 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
12679 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
12680
423428a8
SM
126812011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12682
0ff8e1ba 12683 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 12684 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
12685 * progmodes/etags.el (tags-completion-at-point-function):
12686 * info-look.el (info-lookup-completions-at-point): Mark as
12687 non-exclusive.
12688 (info-complete): Adjust accordingly.
12689
423428a8
SM
12690 * info-look.el: Convert to lexical-binding and completion-at-point.
12691 (info-lookup-completions-at-point): New function.
12692 (info-complete): Use it and completion-in-region.
12693
b74aa22b
DA
126942011-05-28 Drew Adams <drew.adams@oracle.com>
12695
12696 * isearch.el: Let M-e start with point at the first mismatched char.
12697 (isearch-fail-pos): New function.
12698 (isearch-edit-string): Use it.
12699
66e2e71d
DK
127002011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12701
12702 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12703
b1890b0f 127042011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
12705
12706 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
12707 traversal functions for avl-trees.
12708 (avl-tree--stack): New struct.
12709 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12710 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
12711 (avl-tree--do-enter): Add optional `updatefun' arg.
12712 Change return value.
eb95d01d 12713 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
12714 (avl-tree--do-delete): Add `test' and `nilflag' args.
12715 Change return value.
eb95d01d
TC
12716 (avl-tree-member): Add optional `nilflag'
12717 (avl-tree-member-p): New function.
12718 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12719 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12720 (avl-tree-stack-empty-p): New functions.
12721
3769ddcf
TC
12722 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12723 avl-tree--del-balance1 and make it work both ways.
12724 (avl-tree--del-balance2): Remove.
12725 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12726 make it work both ways.
12727 (avl-tree--enter-balance2): Remove.
12728 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12729 New macros.
12730 (avl-tree--mapc, avl-tree-map): Add direction argument.
12731
eb95d01d 127322011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
12733
12734 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12735
a9f737ee
CY
127362011-05-27 Chong Yidong <cyd@stupidchicken.com>
12737
12738 * select.el: Support clipboard managers with built-in function
12739 x-clipboard-manager-save, via delete-frame-functions and
12740 kill-emacs-hook.
12741 (xselect-convert-to-targets): Add MULTIPLE target to list.
12742 (xselect-convert-to-save-targets): New function.
12743
c92a1e54
KH
127442011-05-27 Kenichi Handa <handa@m17n.org>
12745
12746 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12747 let-binding rfc2047-encode-encoded-words to nil.
12748
e145f188
GM
127492011-05-27 Glenn Morris <rgm@gnu.org>
12750
5ec8a862
GM
12751 * mail/emacsbug.el: Don't require url-util.
12752
4b29d9fb
GM
12753 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12754
e145f188
GM
12755 * files.el (set-auto-mode):
12756 Also respect mode: entries at the end of the file. (Bug#8586)
12757
7d15102b
GM
127582011-05-26 Glenn Morris <rgm@gnu.org>
12759
98f593b8
GM
12760 * files.el (hack-local-variables-prop-line, hack-local-variables):
12761 Downcase mode names, as seems to be traditional.
27b48e63 12762 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 12763
7d15102b
GM
12764 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12765 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12766
51d5b4ec
JD
127672011-05-25 Julien Danjou <julien@danjou.info>
12768
12769 * textmodes/rst.el (rst-define-level-faces): Do not define face
12770 symbol if it is already defined.
12771
91513f63
VB
127722011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
12773
12774 * play/5x5.el (5x5-new-game, 5x5-randomize):
12775 Reset 5x5-solver-output to nil when a new grid is cast.
12776 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12777 these debugging traces, as defmacro breaks the compiled code.
12778
4d90d6d0
DK
127792011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12780
12781 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12782
e1b90ef6
LL
127832011-05-24 Leo Liu <sdl.web@gmail.com>
12784
12785 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12786 (vc-bzr-sha1): Adapt.
12787
d8e4b68b 12788 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
12789
12790 * bindings.el: Provide sha1 feature.
12791
db0406bb 127922011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
12793
12794 * mail/sendmail.el: Require `rfc2047'.
12795 (mail-insert-from-field): Do not perform RFC2047 encoding.
12796 (mail-encode-header): New function.
12797 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
12798 buffer to the return value of select-message-coding-system.
12799 Call mail-encode-header.
b8d747b9
KH
12800
12801 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12802
db0406bb 128032011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 12804
4d90d6d0
DK
12805 * mail/supercite.el (sc-default-cite-frame):
12806 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 12807
eb8a5e9b
GM
128082011-05-24 Glenn Morris <rgm@gnu.org>
12809
f8630703
GM
12810 * progmodes/python.el (brm-menu): Declare.
12811
8831bbed
GM
12812 * emulation/viper.el (viper-set-hooks): Declare.
12813
eb8a5e9b
GM
12814 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12815 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12816 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12817 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12818 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12819 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12820
a2a25d24
SM
128212011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12822
12823 Add an :exit-function for completion-at-point.
12824
12825 * minibuffer.el (completion--done): New fun.
12826 (completion--do-completion): Use it. New arg `expect-exact'.
12827 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12828 since completion--do-completion does it for us now.
12829 (minibuffer-force-complete): Use completion--done and
12830 completion--replace. Handle sole-completion case with more care.
12831 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12832 (completion-extra-properties): New var.
12833 (completion-annotate-function): Make obsolete.
12834 (minibuffer-completion-help): Adjust accordingly.
12835 Use completion-list-insert-choice-function.
12836 (completion-at-point, completion-help-at-point):
12837 Bind completion-extra-properties.
12838 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12839 * simple.el (completion-list-insert-choice-function): New var.
12840 (completion-setup-function): Preserve it.
12841 (choose-completion): Pay attention to it, shuffle the code a bit.
12842 (choose-completion-string): New arg `insert-function'.
12843
12844 * textmodes/bibtex.el: Convert to lexical binding.
12845 (bibtex-mode-map): Use completion-at-point.
12846 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12847 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12848 (bibtex-complete): Define as obsolete alias.
12849 (bibtex-complete-internal): Remove.
12850 (bibtex-format-entry): Remove unused sub-group in regexp.
12851 * shell.el (shell--command-completion-data)
12852 (shell-environment-variable-completion):
12853 * pcomplete.el (pcomplete-completions-at-point):
12854 * comint.el (comint--complete-file-name-data): Use :exit-function
12855 instead of completion-table-with-terminator so it also works for
12856 choose-completion.
12857
e44e373d
SM
128582011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12859
4f91a816
SM
12860 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12861
782fc819
SM
12862 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12863 (bug#8710).
12864
e44e373d
SM
12865 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12866
381987c3
KM
128672011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12868
12869 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12870 customization variable and implement: If non-nil, auto-fill will
12871 be inhibited while on topic's header line.
12872
b776bc70
VB
128732011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
12874
12875 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 12876 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
12877 always have a solution in grid size = 5 cases.
12878 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12879 (5x5-solver-output, 5x5-log-buffer): New vars.
12880 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12881 Make these variables buffer local to achieve 5x5 multi-session-ness.
12882 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12883 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12884 (5x5-solve-suggest): New funs.
12885 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12886 randomize a grid so that we ensure that there is always a solution.
12887 (5x5-make-random-grid): Allow other movement than flipping.
12888
7de88b6e
KR
128892011-05-23 Kevin Ryde <user42@zip.com.au>
12890
12891 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 12892 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
12893 advice and passes PREDICATE.
12894
b1ef1257
SM
128952011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12896
bbca48fe
SM
12897 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12898 byte-compile-lambda if it's actually a lambda.
12899
b1ef1257
SM
12900 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12901 Fix function quoting. Use backquote better.
12902
92a9cc65
YS
129032011-05-22 Yuanle Song <sylecn@gmail.com>
12904
12905 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12906 matching (Bug#8516).
12907
f0fb8059
JA
129082011-01-22 Jari Aalto <jari.aalto@cante.net>
12909
12910 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12911 different face (Bug#8178).
12912
d5b44c93
CY
129132011-05-22 Chong Yidong <cyd@stupidchicken.com>
12914
12915 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12916 defface (Bug#8144).
12917
79106a44
SM
129182011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12919
9c848d8a
SM
12920 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12921 funcall as well (bug#8712). Warn when performing those conversions.
12922 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12923
79106a44
SM
12924 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12925
88dfa756
GM
129262011-05-22 Glenn Morris <rgm@gnu.org>
12927
12928 * files.el (hack-local-variables-prop-line): Small simplifications.
12929 (hack-local-variables, hack-local-variables-prop-line):
12930 If MODE-ONLY, return the mode, rather than just `t'.
12931
b7cf2c79
SM
129322011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12933
12934 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12935
3f1a8558
GM
129362011-05-21 Glenn Morris <rgm@gnu.org>
12937
7e4ccca3
GM
12938 * files.el (hack-local-variables-prop-line, hack-local-variables):
12939 If only interested in the mode, don't bother doing the other stuff.
12940
637d46ca
GM
12941 * image-mode.el (image-after-revert-hook):
12942 Redraw all frames on which the image is visible. (Bug#8567)
12943
973d955b
GM
12944 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12945
3f1a8558
GM
12946 * wid-edit.el (widget-checklist-match-inline):
12947 Fix 2011-04-19 change. (Bug#8649)
12948
96479927
SM
129492011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12950
1dcf791f
SM
12951 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12952 Also allow singlespace after single-letter capitals followed by a dot.
12953
96479927
SM
12954 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12955 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12956
35fd0881
N
129572011-05-20 Nix <nix@esperi.org.uk>
12958
12959 * files.el (basic-save-buffer-2):
12960 Fix handling of break-hardlink-on-save with non-existent files.
12961
82745640
DD
129622011-05-19 Deniz Dogan <deniz@dogan.se>
12963
12964 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 12965 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 12966
4a720484
GM
129672011-05-19 Glenn Morris <rgm@gnu.org>
12968
d1f21341
GM
12969 * progmodes/f90.el (f90-type-def-re):
12970 Handle "type, bind(c)". (Bug#8691)
12971
4a720484
GM
12972 * emacs-lisp/autoload.el (batch-update-autoloads):
12973 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12974
2fb0a219
MA
129752011-05-18 Michael Albinus <michael.albinus@gmx.de>
12976
12977 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12978 property for the correct connection in case of multihops.
12979
e565dd37
GM
129802011-05-18 Glenn Morris <rgm@gnu.org>
12981
c2571358 12982 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
12983 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12984
e565dd37
GM
12985 Rationalize calendar handling of day and month abbrev-arrays.
12986 * calendar/calendar.el (calendar-customized-p): New function.
12987 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12988 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12989 Add :set function.
12990 (calendar-abbrev-length, calendar-day-abbrev-array)
12991 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12992 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12993 Elements may no longer be nil.
12994 (calendar-day-name, calendar-month-name):
12995 Update for changed nature of abbrev arrays.
12996 * calendar/diary-lib.el (diary-name-pattern):
12997 Update for changed nature of abbrev arrays.
12998 (diary-mark-entries-1): Update calendar-make-alist calls.
12999 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
13000 * calendar/cal-html.el (cal-html-day-abbrev-array):
13001 Simply inherit from calendar-day-abbrev-array.
13002
1d99a745
SM
130032011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13004
13005 * progmodes/grep.el (grep-mode): Disable default
13006 compilation-directory-matcher setting (bug#8684).
13007
7c1d9aa0
MA
130082011-05-17 Michael Albinus <michael.albinus@gmx.de>
13009
13010 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
13011 instead of "head" and "tail". There were problems with SunOS 5.9,
13012 and it performs better.
13013
3952e9d8
GM
130142011-05-17 Glenn Morris <rgm@gnu.org>
13015
2dd12e7f
GM
13016 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
13017
e4157b9c
GM
13018 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
13019 Replace obsolete function.
13020
8e249bbd
GM
13021 * shell.el (pcomplete-parse-arguments-function): Declare.
13022
3952e9d8
GM
13023 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
13024 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
13025 (appt-check): Doc fixes.
13026 (appt-disp-window-function, appt-delete-window-function):
13027 Remove needless special case in custom :type.
13028 (appt-display-count): Default to 0, not nil.
13029 (appt-check): Reset appt-display-count to 0, not nil.
13030
c71a0d48 130312011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 13032
c71a0d48
GM
13033 * progmodes/python.el (python-font-lock-keywords):
13034 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 13035
31d55be9
SM
130362011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13037
13038 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
13039
3bfacb2f
KR
130402011-05-16 Kevin Ryde <user42@zip.com.au>
13041
13042 * info-look.el (makefile-automake-mode): New setups, looking in
13043 automake manual, then makefile-mode.
13044 (makefile-mode): Remove automake manual, have it just in
13045 makefile-automake-mode since there's various things different or
13046 not relevant to plain make.
13047 (makefile-mode): Remove "other-modes" non-existent automake-mode,
13048 believe a hypothetical automake-mode would go to makefile-mode,
13049 not the other way around.
13050
c8e83751
CY
130512011-05-15 Chong Yidong <cyd@stupidchicken.com>
13052
5e9e35cd
CY
13053 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
13054 hunk-end tags (Bug#8672).
13055
c8e83751
CY
13056 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
13057 vc-annotate-show-diff-revision-at-line (Bug#8671).
13058
50b23e5a
GM
130592011-05-14 Glenn Morris <rgm@gnu.org>
13060
7210a739
GM
13061 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
13062 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
13063 (change-log-font-lock-keywords): Also handle multiple author lines
13064 with leading tabs. (Bug#8644)
7210a739 13065
4691905a
GM
13066 * calendar/appt.el (appt-check): Rename some local variables.
13067 Some simplification/reordering.
13068
50b23e5a
GM
13069 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
13070 (feedmail-sendmail-f-doesnt-sell-me-out)
13071 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13072 (feedmail-debug-sit-for, feedmail-queue-express-hook)
13073 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
13074 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
13075 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
13076 (feedmail-binmail-gnulinuxish-template):
13077 Rename from feedmail-binmail-linuxish-template.
13078 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
13079 Use insert-buffer-substring.
13080
215cda7c
BC
130812011-05-14 Bill Carpenter <bill@carpenter.org>
13082
13083 * mail/feedmail.el (feedmail-patch-level): Increase.
13084 (feedmail-debug): New custom group.
13085 (feedmail-confirm-outgoing-timeout)
13086 (feedmail-sendmail-f-doesnt-sell-me-out)
13087 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13088 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
13089 (feedmail-sender-line, feedmail-from-line)
13090 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 13091 (feedmail-spray-this-address)
215cda7c
BC
13092 (feedmail-spray-address-fiddle-plex-list)
13093 (feedmail-queue-use-send-time-for-date)
13094 (feedmail-queue-use-send-time-for-message-id)
13095 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
13096 (feedmail-buffer-eating-function):
13097 Doc fixes.
13098 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
13099 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
13100 (feedmail-message-action-scroll-down): New functions.
13101 (feedmail-queue-directory, feedmail-queue-draft-directory):
13102 Use expand-file-name.
13103 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
13104 Remove C-v help entry.
13105 (feedmail-queue-buffer-file-name): New variable.
13106 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
13107 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
13108 (feedmail-message-action-send-strong, feedmail-message-action-edit)
13109 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
13110 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
13111 (feedmail-message-action-toggle-spray)
13112 (feedmail-run-the-queue-no-prompts)
13113 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
13114 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
13115 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
13116 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
13117 (feedmail-envelope-deducer, feedmail-fiddle-from)
13118 (feedmail-fiddle-sender, feedmail-default-date-generator)
13119 (feedmail-fiddle-date, feedmail-fiddle-message-id)
13120 (feedmail-fiddle-spray-address)
13121 (feedmail-fiddle-list-of-spray-fiddle-plexes)
13122 (feedmail-fiddle-list-of-fiddle-plexes)
13123 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
13124 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
13125 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
13126 Change default. Doc fix.
13127 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
13128 (feedmail-binmail-linuxish-template): New constant.
13129 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
13130 Respect feedmail-sendmail-f-doesnt-sell-me-out.
13131 (feedmail-send-it): Add debug call.
13132 Use feedmail-queue-buffer-file-name, and
13133 feedmail-send-it-immediately-wrapper.
13134 (feedmail-message-action-send): Add debug call.
13135 Use feedmail-send-it-immediately-wrapper.
13136 (feedmail-queue-express-to-queue): Add debug call.
13137 Run feedmail-queue-express-hook.
13138 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
13139 (feedmail-message-action-help-blat):
13140 Rename from feedmail-queue-send-edit-prompt-help-first.
13141 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
13142 Check line-endings. Handle errors better.
13143 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
13144 Doc fix. Add debug call.
13145 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
13146 Use feedmail-queue-send-edit-prompt-inner.
13147 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
13148 (feedmail-queue-send-edit-prompt-inner): New function, extracted
13149 from feedmail-queue-send-edit-prompt.
13150 (feedmail-queue-send-edit-prompt-help)
13151 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
13152 (feedmail-tidy-up-slug): Add debug call.
13153 Respect feedmail-queue-slug-suspect-regexp.
13154 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
13155 (feedmail-dump-message-to-queue): Add debug call.
13156 Expand queue-directory.
13157 (feedmail-dump-message-to-queue): Change message slightly.
13158 Use feedmail-say-chatter.
13159 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
13160 (feedmail-send-it-immediately-wrapper): New function.
13161 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
13162 Insert empty string rather than newline. Handle full-frame case.
13163 Use catch/throw. Use feedmail-say-chatter.
13164 (feedmail-fiddle-from): Try mail-host-address.
13165 (feedmail-default-message-id-generator): Doc fix.
13166 Bind system-time-locale. Handle missing end.
13167 (feedmail-fiddle-x-mailer): Add debug call.
13168 Handle feedmail-x-mailer-line being nil.
13169 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
13170 Add debug call. Use buffer-substring-no-properties.
13171 (feedmail-say-debug, feedmail-say-chatter): New functions.
13172 (feedmail-find-eoh): Give an explicit error.
13173
42c7e61e
UJ
131742011-05-13 Ulf Jasper <ulf.jasper@web.de>
13175
c2571358 13176 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 13177 family from helvetica to sans.
c2571358 13178 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13179 etc/images/newsticker.
13180
c2571358 13181 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
13182 family from helvetica to sans.
13183
13184 * net/newst-plainview.el (newsticker-new-item-face)
13185 (newsticker-old-item-face, newsticker-immortal-item-face)
13186 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 13187 (newsticker-statistics-face): Change default family from
42c7e61e 13188 helvetica to sans.
c2571358 13189 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
13190 etc/images/newsticker.
13191
5d3385a0
JB
13192 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13193 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
13194 auto-marking.
13195
8497a297
DV
131962011-05-13 Didier Verna <didier@xemacs.org>
13197
13198 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
13199 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13200 TODO entries.
8497a297
DV
13201 (lisp-lambda-list-keyword-parameter-indentation)
13202 (lisp-lambda-list-keyword-parameter-alignment)
13203 (lisp-lambda-list-keyword-alignment): New customizable user options.
13204 (lisp-indent-defun-method): Improve docstring.
13205 (extended-loop-p): Fix comment.
13206 (lisp-indent-lambda-list-keywords-regexp): New variable.
13207 (lisp-indent-lambda-list): New function.
13208 (lisp-indent-259): Use it.
13209 (lisp-indent-defmethod): Support for more than one
13210 method qualifier and properly indent methods lambda-lists.
13211 (defgeneric): Provide a missing common-lisp-indent-function property.
13212
f278f87f
SM
132132011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13214
13215 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13216 bounds for the empty string (bug#8667).
13217
5233edd7
GM
132182011-05-13 Glenn Morris <rgm@gnu.org>
13219
5237a44f
GM
13220 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13221
8340026c 13222 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 13223 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 13224
5233edd7 13225 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 13226 (appt-time-msg-list): Doc fix.
a5464014 13227 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 13228
92d10796
AS
132292011-05-12 Andreas Schwab <schwab@linux-m68k.org>
13230
13231 * progmodes/ld-script.el (ld-script-keywords)
13232 (ld-script-builtins): Update keywords list.
13233
914a0ae1
SM
132342011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13235
c89be45f
SM
13236 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13237
914a0ae1
SM
13238 * shell.el (shell-completion-vars): New function.
13239 (shell-mode):
13240 * simple.el (read-shell-command): Use it.
13241 (blink-matching-open): No need for " [...]" in minibuffer-message.
13242
98dc3df3
GM
132432011-05-12 Glenn Morris <rgm@gnu.org>
13244
13245 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13246 (appt-check): Simplify.
13247
d2fc7e3d 132482011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 13249
4d61f28d 13250 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
13251 literal "/dev/null".
13252
d2fc7e3d 132532011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
13254
13255 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13256 Fix typo.
13257
d2fc7e3d 132582011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 13259
3f254caa
SM
13260 * progmodes/which-func.el (which-function):
13261 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
13262 which might not be defined (Bug#8260).
13263
d45885f7
GM
132642011-05-12 Glenn Morris <rgm@gnu.org>
13265
13266 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13267 Let byte-compile-initial-macro-environment always take precedence.
13268
488086f4
SM
132692011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13270
13271 * net/rcirc.el: Add support for SSL/TLS connections.
13272 (rcirc-server-alist): New field `encryption'.
13273 (rcirc): Check `encryption' settings.
13274 (rcirc-connect): New arg `encryption'. Use open-network-stream.
13275 Merge make-local-variable into `set'.
13276 (rcirc--connection-open-p): New function.
13277 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13278 the process is not a network process (e.g. running gnutls-cli).
13279 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13280 Make rcirc-(en|de)code-coding-system local here.
13281 (rcirc-mode): Merge make-local-variable into `set'.
13282 (rcirc-parent-buffer): Make permanent buffer-local.
13283 (rcirc-multiline-minor-mode): Don't do it here.
13284 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13285 there's no server buffer.
13286
7d3b9d44
GM
132872011-05-11 Glenn Morris <rgm@gnu.org>
13288
f64049c6
GM
13289 * newcomment.el (comment-kill): Prefix "unused" local.
13290
93c9df73
GM
13291 * term/w32console.el (get-screen-color): Declare.
13292
7d3b9d44
GM
13293 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13294 Handle symbol elements of byte-compile-initial-macro-environment.
13295
9e2dd53f
LL
132962011-05-10 Leo Liu <sdl.web@gmail.com>
13297
488086f4
SM
13298 * bookmark.el (bookmark-bmenu-mode-map):
13299 Bind bookmark-bmenu-search to `/'.
8b340240 13300
9e2dd53f 13301 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
13302 (footnote-unicode-string, footnote-unicode-regexp): New variable.
13303 (Footnote-unicode): New function.
13304 (footnote-style-alist): Add unicode style to the list.
13305 (footnote-style): Doc fix.
9e2dd53f 13306
79b70037
GM
133072011-05-10 Jim Meyering <meyering@redhat.com>
13308
13309 Fix doubled-word typos.
13310 * international/quail.el (quail-insert-kbd-layout): and and -> and
13311 * kermit.el: and and -> and
13312 * net/ldap.el (ldap-search-internal): to to -> to
13313 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13314 * progmodes/js.el (js-mode): and and -> and
13315 * textmodes/artist.el (artist-move-to-xy): at at -> at
13316 (artist-draw-region-trim-line-endings): if if -> if
13317 And Safetyc -> Safety.
13318 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13319
b8f82dc1 133202011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 13321 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
13322
13323 * files.el (hack-one-local-variable-eval-safep):
13324 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
13325
4f99f44b
GM
133262011-05-10 Glenn Morris <rgm@gnu.org>
13327
13328 * calendar/diary-lib.el (diary-list-entries-hook)
13329 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13330 (diary-nongregorian-marking-hook, diary-list-entries)
13331 (diary-include-other-diary-files, diary-mark-entries)
13332 (diary-mark-included-diary-files): Doc fixes.
13333
84f29e6b
JB
133342011-05-09 Juanma Barranquero <lekktu@gmail.com>
13335
13336 * misc.el: Require tabulated-list.el during compilation.
13337
9bedd73a
CY
133382011-05-09 Chong Yidong <cyd@stupidchicken.com>
13339
488086f4
SM
13340 * progmodes/compile.el (compilation-start):
13341 Run compilation-filter-hook for the async case too.
9bedd73a
CY
13342 (compilation-filter-hook): Doc fix.
13343
797c735c
DD
133442011-05-09 Deniz Dogan <deniz@dogan.se>
13345
13346 * wdired.el: Remove outdated installation comment. Fix usage
13347 comment.
13348
5f4b1dfe
JB
133492011-05-09 Juanma Barranquero <lekktu@gmail.com>
13350
13351 * misc.el: Implement new command `list-dynamic-libraries'.
13352 (list-dynamic-libraries--loaded-only-p): New variable.
13353 (list-dynamic-libraries--refresh): New function.
13354 (list-dynamic-libraries): New command.
13355
4c44026c
CY
133562011-05-09 Chong Yidong <cyd@stupidchicken.com>
13357
488086f4
SM
13358 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13359 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
13360 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
13361 higher priority to avoid clobbering by gnu.
13362
027f966d
CY
133632011-05-08 Chong Yidong <cyd@stupidchicken.com>
13364
13365 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13366 if the face has existing theme settings (Bug#8454).
13367
085f5d7d
CY
133682011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
13369
488086f4
SM
13370 * progmodes/perl-mode.el (perl-imenu-generic-expression):
13371 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 13372
2a86a00c
RS
13373 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13374 special file names `.' and `..' (Bug#8259).
13375
d9c54a06
CY
133762011-05-08 Chong Yidong <cyd@stupidchicken.com>
13377
488086f4
SM
13378 * progmodes/grep.el (grep-mode-font-lock-keywords):
13379 Remove buffer-changing entries.
d9c54a06
CY
13380 (grep-filter): New function.
13381 (grep-mode): Add it to compilation-filter-hook.
13382
13383 * progmodes/compile.el (compilation-filter-hook)
13384 (compilation-filter-start): New defvars.
13385 (compilation-filter): Call compilation-filter-hook prior to
13386 updating the process mark.
13387
c4662635
SM
133882011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13389
13390 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
13391
b0512a1d
EZ
133922011-05-07 Eli Zaretskii <eliz@gnu.org>
13393
605c9376
EZ
13394 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
13395 mailclient-send-it even if window-system is nil. (Bug#8595)
13396
c4662635
SM
13397 * term/w32console.el (terminal-init-w32console):
13398 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
13399 background-mode. (Bug#8597)
13400
d1dc2cc2
SM
134012011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13402
13403 Make bytecomp.el understand that defmethod defines funs (bug#8631).
13404 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
13405 New functions.
13406 (defgeneric, eieio--defmethod): Use them.
13407 (eieio-defgeneric): Remove.
13408 (defmethod): Call defgeneric in a way visible to the byte-compiler.
13409
915d1300
GM
134102011-05-07 Glenn Morris <rgm@gnu.org>
13411
a3961c3e
GM
13412 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13413 Use let rather than let*.
13414 (timeclock-find-discrep): Remove unused local.
13415
314347b9
GM
13416 * calendar/diary-lib.el (diary-comment-start): Doc fix.
13417
915d1300
GM
13418 * calendar/appt.el (appt-time-msg-list): Doc fix.
13419
275b59b0
NF
134202011-05-06 Noah Friedman <friedman@splode.com>
13421
13422 * apropos.el (apropos-print-doc): Only use
13423 emacs-lisp-docstring-fill-column when it is bound to an integer,
13424 per that variable's documentation.
13425
6c19f744
SM
134262011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13427
13428 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 13429 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 13430
60f884b2
GM
134312011-05-06 Glenn Morris <rgm@gnu.org>
13432
5006e634
GM
13433 * calendar/appt.el (appt-message-warning-time): Doc fix.
13434 (appt-warning-time-regexp): New option.
13435 (appt-make-list): Respect appt-message-warning-time.
13436
548d0a63
GM
13437 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13438 New options.
13439 (diary-add-to-list): Strip comments from the displayed string.
13440 (diary-mode): Set comment-start and comment-end.
13441
60f884b2
GM
13442 * vc/diff-mode.el (smerge-refine-subst): Declare.
13443 (diff-refine-hunk): Don't require smerge-mode when compiling.
13444
989681bb
JB
134452011-05-06 Juanma Barranquero <lekktu@gmail.com>
13446
13447 * simple.el (list-processes): Return nil as the docstring says.
13448
a6bc05e1
MA
134492011-05-05 Michael Albinus <michael.albinus@gmx.de>
13450
13451 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13452 to "".
13453 (ange-ftp-write-region, ange-ftp-insert-file-contents)
13454 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13455 determining of binary transfer. (Bug#7383)
13456
23c22e9a
MA
134572011-05-05 Michael Albinus <michael.albinus@gmx.de>
13458
c4662635
SM
13459 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13460 Fix port computation bug. (Bug#8618)
23c22e9a 13461
0bff894f
GM
134622011-05-05 Glenn Morris <rgm@gnu.org>
13463
b8296902
GM
13464 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13465
1f522ce8
GM
13466 * simple.el (shell-dynamic-complete-functions)
13467 (comint-dynamic-complete-functions): Declare.
13468
cf5bee67
GM
13469 * net/network-stream.el (gnutls-negotiate):
13470 * simple.el (tabulated-list-print): Fix declarations.
13471
13472 * progmodes/gud.el (syntax-symbol, syntax-point):
13473 Remove unnecessary and incorrect declarations.
13474
0bff894f
GM
13475 * emacs-lisp/check-declare.el (check-declare-scan):
13476 Handle byte-compile-initial-macro-environment in bytecomp.el
13477
9869b3ae
SM
134782011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13479
13480 Fix earlier half-done eieio-defmethod change (bug#8338).
13481 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13482 Streamline and change calling convention.
13483 (defmethod): Adjust accordingly and simplify.
13484 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13485 new eieio--defmethod.
13486 (slot-boundp): Minor CSE simplification.
13487
9c1d5ac5
MZ
134882011-05-05 Milan Zamazal <pdm@zamazal.org>
13489
13490 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13491 (glasses-make-readable): Use glasses-separate-capital-groups.
13492
455c834e
JB
134932011-05-05 Juanma Barranquero <lekktu@gmail.com>
13494
13495 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13496 (warning-series): Doc fix.
13497 (display-warning): Don't try to create the buffer if we just found it.
13498
9ed7c8cb
CY
134992011-05-04 Chong Yidong <cyd@stupidchicken.com>
13500
13501 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13502 (autoload-find-generated-file): New function.
13503 (generate-file-autoloads): Bind generated-autoload-file to
13504 buffer-file-name.
9869b3ae
SM
13505 (update-file-autoloads, update-directory-autoloads):
13506 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
13507 output file (Bug#7989).
13508 (batch-update-autoloads): Doc fix.
13509
0898ca10
JB
135102011-05-04 Juanma Barranquero <lekktu@gmail.com>
13511
13512 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13513
31dfb76c
GM
135142011-05-04 Glenn Morris <rgm@gnu.org>
13515
f330b642
GM
13516 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13517 function, so it follows changes in calendar-date-style.
13518 (diary-fancy-date-matcher): New function.
13519 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13520 (diary-fancy-font-lock-fontify-region-function):
13521 Use diary-fancy-date-pattern as a function.
13522
31dfb76c
GM
13523 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13524 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13525
48e79d6a
TZ
135262011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
13527
13528 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13529 instead of positional arguments. Allow :keylist and :crlfiles
13530 arguments.
13531 (open-gnutls-stream): Call it.
13532
13533 * net/network-stream.el (network-stream-open-starttls): Adjust to
13534 call `gnutls-negotiate' with :process and :hostname arguments.
13535
dd5a5ee0
SM
135362011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13537
ef80fc09
SM
13538 * minibuffer.el (completion--message): New function.
13539 (completion--do-completion, minibuffer-complete)
13540 (minibuffer-force-complete, minibuffer-complete-word): Use it.
13541 (completion--do-completion): Don't ignore completion-auto-help when in
13542 icomplete-mode.
13543
dd5a5ee0
SM
13544 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13545 internal encoding (e.g. tibetan zero is not whitespace).
13546 (global-whitespace-mode): Prefer save-current-buffer.
13547 (whitespace-trailing-regexp): Remove useless save-match-data.
13548 (whitespace-empty-at-bob-regexp): Minor simplification.
13549
b7d22a83
CY
135502011-05-03 Chong Yidong <cyd@stupidchicken.com>
13551
13552 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13553
5192af46
AM
135542011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13555
13556 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 13557 Use `concat' to create string for insertion.
5192af46 13558
5767d190
SM
135592011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13560
13561 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13562 Avoid open-line which runs post-self-insert-hook.
13563 (bibtex-fill-entry): Remove unused `end' var.
13564
bf242939
AM
135652011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
13566
5767d190
SM
13567 * textmodes/ispell.el (ispell-add-per-file-word-list):
13568 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 13569
25666126
LL
135702011-05-03 Leo Liu <sdl.web@gmail.com>
13571
13572 * isearch.el (isearch-yank-pop): New command.
5767d190 13573 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
13574 (isearch-forward): Mention it.
13575
52d3c2d0
SM
135762011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13577
1bcace58
SM
13578 * simple.el (minibuffer-complete-shell-command): Remove.
13579 (minibuffer-local-shell-command-map): Use completion-at-point.
13580 (read-shell-command): Setup completion vars here instead.
13581 (read-expression-map): Bind TAB to symbol completion.
13582
52d3c2d0
SM
13583 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13584 error directly rather via storing it into `results'.
13585
35813471
LL
135862011-05-02 Leo Liu <sdl.web@gmail.com>
13587
13588 * vc/diff.el: Fix description.
13589
e793a940
LMI
135902011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13591
13592 * server.el (server-eval-at): New function.
13593
8de66e05
LMI
135942011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13595
13596 * net/network-stream.el (open-network-stream): Take a :nowait
13597 parameter and pass it on to `make-network-process'.
13598 (network-stream-open-plain): Ditto.
13599
dcb79f20
AS
136002011-04-30 Andreas Schwab <schwab@linux-m68k.org>
13601
13602 * faces.el (face-spec-set-match-display): Don't match toolkit
13603 options on terminal frames.
13604
14a7fbd8
SM
136052011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
13606
7eabc1be
SM
13607 * progmodes/pascal.el: Use lexical binding.
13608 (pascal-mode-map): Remove author preferences.
13609
14a7fbd8
SM
13610 * pcomplete.el (pcomplete-std-complete): Don't abuse
13611 completion-at-point.
13612
50f84510
JB
136132011-04-28 Juanma Barranquero <lekktu@gmail.com>
13614
6e087a44
JB
13615 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13616 removing code that has been dead since 1991 or so.
13617
50f84510
JB
13618 * startup.el (command-line): When warning about "_emacs", use a
13619 delayed warning to allow the user to filter it out.
13620
0ba690bd
DD
136212011-04-28 Deniz Dogan <deniz@dogan.se>
13622
13623 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13624 user has not joined.
13625
08abfaad
SM
136262011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13627
13628 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
13629 aren't any completions at point.
13630
638f053a
JB
136312011-04-28 Juanma Barranquero <lekktu@gmail.com>
13632
13633 * subr.el (display-delayed-warnings): New function.
13634 (delayed-warnings-hook): New variable.
13635
8fff8daa
SM
136362011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13637
08abfaad
SM
13638 * minibuffer.el (completion-at-point, completion-help-at-point):
13639 Don't presume that a given completion-at-point-function will always
13640 use the same calling convention.
13641
8fff8daa
SM
13642 * pcomplete.el (pcomplete-completions-at-point):
13643 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
13644 pcomplete-seen is non-nil.
13645 (pcomplete-comint-setup): Also recognize the new comint/shell
13646 completion functions.
13647 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
13648 pcomplete-seen is non-nil.
13649
841a1577 136502011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 13651
841a1577 13652 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 13653 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 13654 the first character in the entry. This allows for code to add its
211ec907
UJ
13655 own uid to the entry.
13656 (icalendar--convert-float-to-ical): Add export of
13657 `diary-float'-entries save for those with the optional DAY
13658 argument.
13659
2a782793
DC
136602011-04-27 Daniel Colascione <dan.colascione@gmail.com>
13661
13662 * subr.el (shell-quote-argument): Use alternate escaping strategy
13663 when we spot a variable reference in a string.
13664
0438ce91
DC
136652011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13666
13667 * cus-start.el (all): Define customization for debug-on-event.
13668
841a1577 136692011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
13670
13671 * subr.el (shell-quote-argument): Escape correctly under Windows.
13672
d090ed6c
SM
136732011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13674
13675 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
13676
bfd31217
MA
136772011-04-25 Michael Albinus <michael.albinus@gmx.de>
13678
d090ed6c
SM
13679 * net/tramp.el (tramp-process-actions): Add POS argument.
13680 Delete region between POS and (pos).
bfd31217 13681
d090ed6c
SM
13682 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13683 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
13684 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
13685
13686 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
13687 position in `tramp-process-actions' call.
13688
13689 * net/trampver.el: Update release number.
13690
e92f3bd3
SM
136912011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13692
850256b5
SM
13693 * custom.el (defcustom): Obey lexical-binding.
13694
e92f3bd3
SM
13695 Fix octave-inf completion problems reported by Alexander Klimov.
13696 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
13697 Inherit from octave-mode-syntax-table.
13698 (inferior-octave-mode): Set info-lookup-mode.
13699 (inferior-octave-completion-at-point): New function.
13700 (inferior-octave-complete): Use it and completion-in-region.
13701 (inferior-octave-dynamic-complete-functions): Use it as well, and use
13702 comint-filename-completion.
13703 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13704 symbol elements which shouldn't be word elements.
13705 (octave-font-lock-keywords, octave-beginning-of-defun)
13706 (octave-function-header-regexp): Adjust regexps accordingly.
13707 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13708
cd22b309
JB
137092011-04-25 Juanma Barranquero <lekktu@gmail.com>
13710
13711 * net/gnutls.el (gnutls-errorp): Declare before first use.
13712
8b492194
TZ
137132011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
13714
13715 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13716 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 13717 default trustfile exists before going to use it. Add missing
5a5fa834 13718 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
13719 Reported by Claudio Bley <claudio.bley@gmail.com>.
13720 (open-gnutls-stream): Add usage example.
13721
13722 * net/network-stream.el (network-stream-open-starttls): Give host
13723 parameter to `gnutls-negotiate'.
13724 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 13725 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 13726
841a1577 137272011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 13728
cd22b309
JB
13729 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13730 Use correct match group (bug#8438).
05842630 13731
3ba7869c
CY
137322011-04-24 Chong Yidong <cyd@stupidchicken.com>
13733
512e3ae1
CY
13734 * emacs-lisp/package.el (package-built-in-p): Fix typo.
13735 (package-menu--generate): New arg specifying packages to show.
13736 (package-menu-refresh, package-menu-execute, list-packages):
13737 Callers changed.
13738 (package-show-package-list): New function, replacing deleted
13739 package--list-packages (renamed because it is non-internal).
13740
13741 * finder.el (finder-list-matches): Use package-show-package-list
13742 instead of deleted package--list-packages.
13743
e92f3bd3
SM
13744 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13745 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
13746 (vc-annotate-mode-map): Bind it to RET.
13747
7031be6d
UR
137482011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13749
13750 * progmodes/etags.el (next-file): Don't use set-buffer to change
13751 buffers (Bug#8478).
13752
4ef177aa
CY
137532011-04-24 Chong Yidong <cyd@stupidchicken.com>
13754
c8d173eb
CY
13755 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13756
4ef177aa
CY
13757 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13758 (apropos-accumulator): Doc fix.
13759 (apropos-function, apropos-macro, apropos-command)
13760 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13761 (apropos-plist): Add face property.
13762 (apropos-symbols-internal): Fix indentation.
13763 (apropos-print): Simplify help, and recognize apropos-multi-type.
13764 (apropos-print-doc): Use button-type-get to extract the button's
13765 face property. Fill docstring (Bug#8352).
13766
4ffd0d6b 137672011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
13768
13769 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13770
c6c32125 13771 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 13772 (mpuz-mode-map): Use mapc.
c6c32125
JB
13773 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13774 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13775 Fix typos in docstrings.
13776
58d468b4
JB
13777 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13778 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13779
6470c3c6
JB
13780 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13781
4ffd0d6b 137822011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
13783
13784 * minibuffer.el (completion--do-completion): Avoid the "Next char
13785 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13786
3ad8bad0
CY
13787 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13788 mouse-2 into unread-command-events, it is interpreted correctly.
13789
71d73c9c 13790 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 13791 (image-toggle-display): Doc fix.
71d73c9c 13792
841a1577 137932011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 13794
4ffd0d6b
GM
13795 * textmodes/page.el (what-page): Use line-number-at-pos to
13796 calculate line number (Bug#6825).
6e1dbaa9 13797
c2fb1b60
JB
137982011-04-22 Juanma Barranquero <lekktu@gmail.com>
13799
13800 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13801 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13802 Pass argument NO-DEFAULT to `find-tag-interactive'.
13803
e02f48d7
JB
138042011-04-22 Juanma Barranquero <lekktu@gmail.com>
13805
13806 Lexical-binding cleanup.
13807
13808 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13809 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13810 * progmodes/ada-prj.el (ada-prj-initialize-values)
13811 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13812 (ada-prj-show-value):
13813 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13814 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13815 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13816 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13817 * progmodes/bug-reference.el (bug-reference-push-button):
13818 * progmodes/fortran.el (fortran-line-length):
13819 * progmodes/glasses.el (glasses-change):
13820 * progmodes/octave-mod.el (octave-fill-paragraph):
13821 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13822 (python-pdbtrack-grub-for-buffer, python-sentinel):
13823 * progmodes/sql.el (sql-save-connection):
13824 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13825 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13826 Mark unused parameters.
13827
13828 * progmodes/compile.el (compilation--flush-directory-cache)
13829 (compilation--flush-parse, compile-internal): Mark unused parameters.
13830 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13831 (compilation-next-error-function): Remove unused variable `timestamp'.
13832
13833 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13834 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13835
13836 * progmodes/dcl-mode.el (dcl-end-of-command):
13837 Remove unused variable `start'.
13838 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13839 (dcl-option-value-basic, dcl-option-value-offset)
13840 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13841 Mark unused parameters.
13842 (dcl-save-local-variable): Remove unused variable `val'.
13843 (mode): Declare.
13844
13845 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13846 Mark unused parameters.
13847 (delphi-ignore-changes): Move before first use.
13848 (delphi-charset-token-at): Remove unused variable `start'.
13849 (delphi-else-start): Remove unused variable `if-count'.
13850 (delphi-comment-block-start, delphi-comment-block-end):
13851 Remove unused variable `kind'.
13852 (delphi-indent-line): Remove unused variable `new-point'.
13853
13854 * progmodes/ebrowse.el (ebrowse-files-list)
13855 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13856 Mark unused parameters. Don't quote `lambda'.
13857 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13858 Don't quote `lambda'.
13859 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13860 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13861 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13862 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13863 Use `ignore-errors'.
13864 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13865 (ebrowse-view/find-file-and-search-pattern)
13866 (ebrowse-view/find-member-declaration/definition):
13867 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13868 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13869 Rename parameter PREFIX-ARG to PREFIX.
13870 (ebrowse-tags-read-name): Remove unused variables `start' and
13871 `member-info'.
13872 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13873 to `tags-file'.
13874
13875 * progmodes/etags.el (local-find-tag-hook): Declare.
13876 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13877 Mark unused parameters.
13878
13879 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13880 (executable-interpret): Mark unused parameter.
13881
13882 * progmodes/flymake.el (flymake-process-sentinel)
13883 (flymake-after-change-function)
13884 (flymake-create-temp-with-folder-structure)
13885 (flymake-get-include-dirs-dot): Mark unused parameters.
13886 (flymake-safe-delete-directory): Remove unused variable `err'.
13887
13888 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13889 (speedbar-timer-fn, speedbar-line-text)
13890 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13891 (speedbar-center-buffer-smartly): Declare functions.
13892 (gdb-find-watch-expression): Remove unused variable `array'.
13893 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13894 (gdb-starting): Mark unused parameters.
13895 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13896 (gdb-table-string): Remove unused variable `res'.
13897 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13898 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13899 (gdb-display-buffer): Remove unused variable `cur-size'.
13900
13901 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13902 allow lexical-binding compilation.
13903 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13904 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13905 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13906 Mark unused parameters.
13907 (gud-gdb-marker-filter): Remove unused variable `match'.
13908 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13909 lambda expressions and funcall them, instead of using `fset'.
13910
13911 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13912 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13913
13914 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13915 variable `header-beg'; use `let'.
13916
13917 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13918 `restart', `last-sexp' and `at-do'.
13919
13920 * progmodes/js.el (js--debug): Mark unused parameter.
13921 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13922 (js--splice-into-items): Remove unused variable `item'.
13923 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13924
13925 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13926 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13927 (makefile-complete): Remove unused variable `try'.
13928 (makefile-fill-paragraph, makefile-match-function-end):
13929 Mark unused parameters.
13930
13931 * progmodes/octave-inf.el (inferior-octave-complete):
13932 Remove unused variable `proc'.
13933 (inferior-octave-output-digest): Mark unused parameter.
13934
13935 * progmodes/perl-mode.el (perl-calculate-indent):
13936 Remove unused variable `err'.
13937
13938 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13939 (prolog-indent-line): Mark unused parameters.
13940 (prolog-indent-line): Remove unused variable `beg'.
13941
13942 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13943 (reporter-dont-compact-list): Declare.
13944
13945 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13946 Remove unused variable `char'.
13947 (sh-debug): Mark unused parameter.
13948 (sh-get-indent-info): Remove unused variable `start'.
13949 (sh-calculate-indent): Remove unused variable `var'.
13950
13951 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13952 (simula-electric-keyword): Remove unused variable `null'.
13953 (simula-search-backward, simula-search-forward): Remove unused
13954 variables `begin' and `end'.
13955
13956 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13957 Remove unused variable `pos'.
13958 (vera-electric-tab, vera-comment-uncomment-region):
13959 Mark unused parameters.
13960 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13961
7ede3b65
CY
139622011-04-22 Chong Yidong <cyd@stupidchicken.com>
13963
13964 * emacs-lisp/package.el (package--builtins, package-alist)
13965 (package-load-descriptor, package-built-in-p, package-activate)
13966 (define-package, package-installed-p)
13967 (package-compute-transaction, package-buffer-info)
13968 (package--push): Doc fix. Distinguish more clearly between
13969 version strings and version lists.
13970
121656e9
JB
139712011-04-21 Juanma Barranquero <lekktu@gmail.com>
13972
13973 Lexical-binding cleanup.
13974
13975 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13976 (5x5-make-mutate-best):
13977 * play/fortune.el (fortune-in-buffer):
13978 * play/gomoku.el (gomoku-init-display):
13979 * play/solitaire.el (solitaire, solitaire-do-check):
13980 * play/tetris.el (tetris-default-update-speed-function):
13981 Mark unused parameters.
13982
13983 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13984 (bubbles--shift): Remove unused variable `char-org'.
13985 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13986 (bubbles--show-images): Remove unused variable `char'.
13987
13988 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13989 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13990 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13991 (decipher-analyze-buffer): Use ?\s.
13992 (decipher-make-checkpoint): Remove unused variable `mapping'.
13993
13994 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13995
13996 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13997 Remove unused variable `result'; use `let'.
13998
13999 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
14000 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
14001 (gametree-children-shown-p, gametree-compute-reduced-score):
14002 Use `ignore-errors'.
14003
14004 * play/handwrite.el (ps-lpr-switches): Declare.
14005 (handwrite): Remove unused variables `pmin' and `lastp'.
14006
14007 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
14008
14009 * play/landmark.el (landmark-init-display)
14010 (landmark-update-naught-weights): Mark unused parameters.
14011 (landmark-y): Remove unused variable `noise'. Simplify.
14012 (landmark-human-plays): Remove unused variable `score'.
14013
14014 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
14015 (mpuz-try-proposal): Remove unused variable `game'.
14016
14017 * play/zone.el (life-patterns): Declare.
14018
80f499c7
JB
140192011-04-20 Juanma Barranquero <lekktu@gmail.com>
14020
14021 * vc/vc.el (ediff-vc-internal): Declare function.
14022
024ff170
SM
140232011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14024
c0a193ea
SM
14025 * shell.el: Use lexical-binding and std completion UI.
14026 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
14027 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
14028 comint-preoutput-filter-functions rather than on
14029 comint-output-filter-functions.
14030 (shell-command-completion, shell--command-completion-data)
14031 (shell-filename-completion, shell-environment-variable-completion)
14032 (shell-c-a-p-replace-by-expanded-directory): New functions.
14033 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
14034 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
14035 (shell-dynamic-complete-environment-variable): Use them.
14036 (shell-dynamic-complete-as-environment-variable)
14037 (shell-dynamic-complete-as-command): Remove.
14038 (shell-match-partial-variable): Match past point.
14039 * comint.el: Clean up use of completion-at-point-functions.
14040 (comint-completion-at-point): New function.
14041 (comint-mode): Use it completion-at-point-functions.
14042 (comint-dynamic-complete): Make it obsolete.
14043 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
14044 (comint-c-a-p-replace-by-expanded-history): New function.
14045 (comint-dynamic-complete-functions)
14046 (comint-replace-by-expanded-history): Use it.
14047 * minibuffer.el (completion-table-with-terminator): Allow dynamic
14048 termination strings. Try harder to avoid second try-completion.
14049 (completion-in-region-mode-map): Disable bindings that don't work yet.
14050
2dbaa080
SM
14051 * comint.el: Use lexical-binding. Require CL.
14052 (comint-dynamic-complete-functions): Use comint-filename-completion.
14053 (comint-completion-addsuffix): Tweak custom type.
14054 (comint-filename-completion, comint--common-suffix)
14055 (comint--common-quoted-suffix, comint--table-subvert)
14056 (comint--complete-file-name-data): New functions.
14057 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
14058 (comint-dynamic-list-filename-completions): Use them.
14059 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 14060
2dbaa080
SM
14061 * minibuffer.el (completion-in-region-mode):
14062 Keep completion-in-region-mode--predicate global.
14063 (completion-in-region--postch):
14064 Assume completion-in-region-mode--predicate is not null.
14065
c79a6f38
SM
14066 * progmodes/flymake.el (flymake-start-syntax-check-process):
14067 Obey `dir'. Simplify.
14068
024ff170
SM
14069 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
14070 we're in VC after all.
14071
1c6c854e
CS
140722011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
14073
14074 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 14075 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
14076 (vc-version-diff): Use vc-diff-build-argument-list-internal.
14077
bed7f140
SM
140782011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14079
332e62ab
SM
14080 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
14081 add sanity check.
14082
bed7f140
SM
14083 * obsolete/erc-hecomplete.el: Make obsolete.
14084 * obsolete/: Standardize obsolescence info in the header.
14085
f195c582
GM
140862011-04-20 Glenn Morris <rgm@gnu.org>
14087
14088 * calendar/solar.el (solar-horizontal-coordinates):
14089 Use the longitude argument rather than `calendar-longitude'.
14090 (solar-date-next-longitude): Remove unused locals.
14091
cb79b8c0
VJL
140922011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14093
14094 * whitespace.el: New version 13.2.1.
14095
140962011-04-20 felix <EmacsWiki> (tiny change)
14097
d8e4b68b 14098 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
14099 switching between major modes on a file.
14100
602ea69d
SM
141012011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14102
14103 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
14104 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
14105 multi-line comments as well.
14106
06b60517
JB
141072011-04-19 Juanma Barranquero <lekktu@gmail.com>
14108
14109 Lexical-binding cleanup.
14110
14111 * arc-mode.el (archive-mode-revert):
14112 * cmuscheme.el (scheme-interactively-start-process):
14113 * custom.el (custom-initialize-delay):
14114 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
14115 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
14116 * emacs-lock.el (emacs-lock-clear-sentinel):
14117 * ezimage.el (defezimage):
14118 * follow.el (follow-avoid-tail-recenter):
14119 * fringe.el (set-fringe-mode-1):
14120 * generic-x.el (bat-generic-mode-compile):
14121 * help-mode.el (help-info-variable, help-do-xref)
14122 (help-mode-revert-buffer):
14123 * help.el (view-emacs-todo):
14124 * iswitchb.el (iswitchb-completion-help):
14125 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
14126 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
14127 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
14128 * locate.el (locate-update):
14129 * longlines.el (longlines-encode-region)
14130 (longlines-after-change-function):
14131 * outline.el (outline-isearch-open-invisible):
14132 * ps-def.el (declare-function, charset-dimension, char-width)
14133 (encode-char):
14134 * ps-mule.el (ps-mule-plot-string):
14135 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
14136 (recentf-edit-list-select, recentf-edit-list-validate)
14137 (recentf-open-files-action):
14138 * rect.el (delete-whitespace-rectangle-line)
14139 (rectangle-number-line-callback):
14140 * register.el (window-configuration-to-register)
14141 (frame-configuration-to-register):
14142 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
14143 * select.el (xselect-convert-to-string, xselect-convert-to-length)
14144 (xselect-convert-to-targets, xselect-convert-to-delete)
14145 (xselect-convert-to-filename, xselect-convert-to-charpos)
14146 (xselect-convert-to-lineno, xselect-convert-to-colno)
14147 (xselect-convert-to-os, xselect-convert-to-host)
14148 (xselect-convert-to-user, xselect-convert-to-class)
14149 (xselect-convert-to-name, xselect-convert-to-integer)
14150 (xselect-convert-to-atom, xselect-convert-to-identity):
14151 * subr.el (declare, ignore, process-kill-without-query)
14152 (text-clone-maintain):
14153 * terminal.el (te-get-char, te-tic-sentinel):
14154 * tool-bar.el (tool-bar-make-keymap):
14155 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
14156 * type-break.el (type-break-mode, type-break-noninteractive-query):
14157 * view.el (View-back-to-mark):
14158 * wid-browse.el (widget-browse-action, widget-browse-widget)
14159 (widget-browse-widgets, widget-browse-sexp):
14160 * widget.el (define-widget-keywords):
14161 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
14162 Mark unused parameters.
14163
14164 * align.el (align-adjust-col-for-rule): Mark unused parameter.
14165 (align-areas): Remove unused variable `look'.
14166 (align-region): Remove unused variables `real-end' and `pos-list'.
14167
14168 * apropos.el (apropos-score-doc): Remove unused variable `i'.
14169
14170 * bindings.el (mode-line-modified, mode-line-remote):
14171 Mark unused parameters.
14172 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
14173
14174 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14175 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14176
14177 * comint.el (comint-history-isearch-pop-state)
14178 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14179 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14180 (comint-substitute-in-file-name): Doc fix.
14181
14182 * completion.el (cmpl-statistics-block): Mark unused parameter.
14183 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14184 (save-completions-to-file, load-completions-from-file):
14185 Remove unused local variable `e'.
14186
14187 * composite.el (compose-chars): Remove unused variable `len'.
14188 (lgstring-insert-glyph): Remove unused variable `g'.
14189 (compose-glyph-string): Remove unused variables `ascent',
14190 `descent', `lbearing' and `rbearing'.
14191 (compose-glyph-string-relative): Remove unused variables
14192 `lbearing', `rbearing' and `wadjust'.
14193 (compose-gstring-for-graphic): Remove unused variables `header',
14194 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
14195 (compose-gstring-for-terminal): Remove unused variables `header'
14196 and `nchars'. Use `let', not `let*'.
14197
14198 * cus-edit.el (Custom-set, Custom-save, custom-reset)
14199 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14200 (Custom-buffer-done, custom-buffer-create-internal)
14201 (custom-browse-visibility-action, custom-browse-group-tag-action)
14202 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14203 (widget-magic-mouse-down-action, custom-toggle-parent)
14204 (custom-add-parent-links, custom-toggle-hide-variable)
14205 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14206 (custom-toggle-hide-face, face, hook, custom-group-link-action)
14207 (custom-face-menu-create, custom-variable-menu-create, get)
14208 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14209 (custom-reset-standard-save-and-update): Remove unused variable `value'.
14210 (customize-apropos): Remove unused variable `tests'.
14211 (custom-group-value-create): Remove unused variable `hidden-p'.
14212 (sort-fold-case): Declare.
14213
14214 * cus-theme.el (custom-reset-standard-faces-list)
14215 (custom-reset-standard-variables-list): Declare.
14216 (customize-create-theme, custom-theme-revert, custom-theme-write)
14217 (custom-theme-choose-mode, customize-themes, custom-theme-save):
14218 Mark unused parameters.
14219
14220 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14221
14222 * delim-col.el (delimit-columns-max): Move defvar before first use.
14223
14224 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 14225 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
14226
14227 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14228 (auto-insert): Declare.
14229 (desktop-restore-file-buffer): Rename desktop-* parameters;
14230 mark unused ones.
14231 (desktop-create-buffer): Rename desktop-* parameters and bind them.
14232 (desktop-buffer): Rename desktop-* parameters.
14233
14234 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14235 (dframe-reposition-frame-xemacs, dframe-help-echo)
14236 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14237 Mark unused parameters.
14238
14239 * dired-aux.el (backup-extract-version-start, overwrite-query)
14240 (overwrite-backup-query, rename-regexp-query)
14241 (rename-non-directory-query): Declare.
14242 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14243 (dired-add-entry): Remove unused variable `orig-file-name'.
14244 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14245 Use parameter PRESERVE-TIME instead of accessing dynamic variable
14246 `dired-copy-preserve-time' directly.
14247 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14248 (dired-insert-subdir-newpos): Rename unused variable `pos'.
14249
14250 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14251 (dired-virtual-revert, dired-make-relative-symlink):
14252 Mark unused parameters.
14253 (manual-program): Declare.
14254 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14255 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14256 wrapped in `with-no-warnings' to avoid replacing one warning by another.
14257
14258 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14259
14260 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14261
14262 * echistory.el (electric-history-in-progress, Helper-return-blurb):
14263 Declare.
14264
14265 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14266
14267 * electric.el (Electric-command-loop): Rename parameter
14268 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14269
14270 * expand.el (expand-in-literal): Remove unused variable `here'.
14271
14272 * facemenu.el (facemenu-add-new-color):
14273 Remove unused variable `docstring'.
14274
14275 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14276 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14277 (face-attr-construct): Mark unused parameter. Doc fix.
14278 (read-color): Remove unused variable `hex-string'.
14279
14280 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14281 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14282 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14283 (display-buffer-other-frame): Remove unused variable `old-window'.
14284 (kill-buffer-hook): Declare.
14285 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14286 Mark unused parameters.
14287 (after-find-file): Pass 1 to `auto-save-mode', not t.
14288
14289 * files-x.el (auto-insert): Declare.
14290 (modify-file-local-variable-prop-line): Remove unused variable `val'.
14291
14292 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 14293 variable `buf'. Mark unused parameter.
06b60517
JB
14294 (find-lisp-insert-directory): Mark unused parameter.
14295
14296 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14297 (format-encode-region): Remove unused variables `cur-buf' and `result'.
14298 (format-common-tail): Remove, unused.
14299 (format-deannotate-region): Remove unused variable `loc'.
14300 (format-annotate-region): Remove unused variable `p'.
14301 (format-annotate-single-property-change): Remove unused variables
14302 `default' and `tail'.
14303
14304 * forms.el (read-file-filter): Declare.
14305 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14306
14307 * frame.el (frame-creation-function-alist): Mark unused parameter.
14308 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14309
14310 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14311 Remove unused parameters.
14312 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14313 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14314
14315 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14316 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14317 (hfy-prepare-tag-map): Mark unused parameters.
14318 (htmlfontify-buffer): Use `called-interactively-p'.
14319
14320 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14321 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14322 (ibuffer-do-occur): Mark unused parameters.
14323 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14324 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14325
14326 * ibuffer.el: Don't quote `lambda'.
14327 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14328 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14329 Mark unused parameters.
14330
14331 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14332 (ido-completing-read): Mark unused parameters.
14333 (ido-copy-current-word): Mark unused parameters;
14334 remove unused variable `name'.
14335 (ido-sort-merged-list): Remove unused parameter `dirs'.
14336
14337 * ielm.el (ielm-input-sender): Mark unused parameter.
14338 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14339 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14340 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14341 `ielm-string' as a dynamic variable accessible from the IELM prompt.
14342 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
14343
14344 * image-dired.el (image-dired-display-thumbs): Remove unused
14345 variables `curr-file' and `count'.
14346 (image-dired-remove-tag): Remove unused variable `start'.
14347 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14348 variable `curr-file'
14349 (image-dired-rotate-original): Remove unused variable `temp-file'.
14350 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14351 Remove unused variable `file'.
14352 (image-dired-gallery-generate): Remove unused variable `curr'.
14353 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14354
14355 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14356
14357 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14358
14359 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14360
14361 * isearch.el (minibuffer-history-symbol): Declare.
14362 (isearch-edit-string): Remove unused variable `err'.
14363 (isearch-message-prefix, isearch-message-suffix):
14364 Mark unused parameters.
14365
14366 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14367
14368 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14369
14370 * makesum.el (double-column): Remove unused variable `cnt'.
14371
14372 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14373 (ido-ignore-item-temp-list): Declare.
14374
14375 * mouse-drag.el (mouse-drag-throw): Remove unused variables
14376 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14377 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14378 (mouse-drag-drag): Remove unused variables `mouse-delta' and
14379 `mouse-col-delta'.
14380
14381 * mouse-sel.el (mouse-extend-internal):
14382 Remove unused variable `orig-window-frame'.
14383
14384 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
14385 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
14386 Move declarations before first use.
14387 (pcomplete-opt): Mark unused parameters; doc fix.
14388
14389 * proced.el (proced-revert): Mark unused parameter.
14390 (proced-send-signal): Remove unused variable `err'.
14391
14392 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
14393 Rename parameter PREFIX-ARG to ARG.
14394 (ps-basic-plot-string, ps-basic-plot-whitespace):
14395 Mark unused parameters.
14396
14397 * replace.el (replace-count): Define.
14398 (occur-revert-function): Mark unused parameters.
14399 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
14400 (isearch-case-fold-search, isearch-string): Declare.
14401 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
14402 bind `case-fold-search'. Remove unused variables `beg' and `end',
14403 and simplify.
14404 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
14405 COUNT and bind `replace-count'.
14406 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
14407 to COUNT.
14408
14409 * savehist.el (print-readably, print-string-length): Declare.
14410
14411 * shadowfile.el (shadow-expand-cluster-in-file-name):
14412 Remove unused variable `cluster'.
14413 (shadow-copy-file): Remove unused variable `i'.
14414 (shadow-noquery, shadow-clusters, shadow-site-cluster)
14415 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14416 (shadow-define-literal-group, shadow-define-regexp-group)
14417 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14418
14419 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14420 (shell): Use `called-interactively-p'.
14421 (shell-directory-tracker): Remove unused variable `chdir-failure'.
14422
14423 * simple.el (compilation-context-lines, comint-file-name-quote-list)
14424 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14425 (delete-backward-char): Remove unused variable `ocol'.
14426 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14427 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14428 (event-apply-hyper-modifier, event-apply-shift-modifier)
14429 (event-apply-control-modifier, event-apply-meta-modifier):
14430 Mark unused parameters.
14431 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14432 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14433
14434 * speedbar.el (speedbar-ignored-directory-expressions)
14435 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14436 (speedbar-find-file, speedbar-dir-follow)
14437 (speedbar-directory-buttons-follow, speedbar-tag-find)
14438 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14439 (speedbar-buffers-line-directory, speedbar-buffer-click):
14440 Mark unused parameters.
14441 (speedbar-tag-file): Remove unused variable `mode'.
14442 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14443
14444 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14445
14446 * talk.el (talk): Remove unused variable `display'.
14447
14448 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14449 (tar-write-region-annotate): Mark unused parameter.
14450
14451 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14452 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14453 Declare them, wrapped in `with-no-warnings' to avoid replacing one
14454 warning by another.
14455
14456 * time-stamp.el (time-stamp-string-preprocess):
14457 Remove unused variable `require-padding'.
14458
14459 * tree-widget.el (widget-glyph-enable): Declare.
14460 (tree-widget-action): Mark unused parameter.
14461
14462 * w32-fns.el (x-get-selection): Mark unused parameter.
14463 (autoload-make-program, generated-autoload-file): Declare.
14464
14465 * wdired.el (wdired-revert): Mark unused parameters.
14466 (wdired-xcase-word): Remove unused variable `err'.
14467
14468 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14469 (whitespace-help-scroll): Remove unused variable `data-help'.
14470
14471 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14472 (widget-image-insert, widget-after-change, default)
14473 (widget-default-format-handler, widget-default-notify)
14474 (widget-default-prompt-value, widget-info-link-action)
14475 (widget-url-link-action, widget-function-link-action)
14476 (widget-variable-link-action, widget-file-link-action)
14477 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14478 (widget-field-prompt-internal, widget-field-action, widget-field-match)
14479 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14480 (widget-insert-button-action, widget-delete-button-action, visibility)
14481 (widget-documentation-link-action, widget-documentation-string-action)
14482 (widget-const-prompt-value, widget-regexp-match, symbol)
14483 (widget-coding-system-prompt-value)
14484 (widget-key-sequence-value-to-external, sexp)
14485 (widget-sexp-value-to-internal, character, vector, cons)
14486 (widget-choice-prompt-value, widget-boolean-prompt-value)
14487 (widget-color--choose-action): Mark unused parameters.
14488 (widget-item-match-inline, widget-choice-match-inline)
14489 (widget-checklist-match, widget-checklist-match-inline)
14490 (widget-group-match): Rename parameter VALUES to VALS.
14491 (widget-field-value-set): Remove unused variable `size'.
14492 (widget-color-action): Remove unused variables `value' and `start'.
14493
14494 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 14495 variable `dir'. Doc fix.
06b60517
JB
14496 (windmove-find-other-window): Don't pass it.
14497
14498 * window.el (count-windows): Mark unused parameter.
14499 (bw-adjust-window): Remove unused variable `err'.
14500
14501 * woman.el (woman-file-name): Remove unused variable `default'.
14502 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14503 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14504 (global-font-lock-mode): Declare.
14505 (woman-decode-region): Mark unused parameter.
14506 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14507
14508 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14509 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14510 (x-dnd-handle-moz-url): Remove unused variable `title'.
14511 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14512
14513 * xml.el (xml-parse-tag, xml-parse-attlist):
14514 Remove unused variable `pos'.
14515
bc4f7f3d
GM
145162011-04-19 Glenn Morris <rgm@gnu.org>
14517
14518 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14519 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14520 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14521 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14522 * calendar/cal-html.el (cal-html-insert-minical):
14523 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14524 (calendar-mark-date-pattern):
14525 Prefix "unused" locals.
14526
14527 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14528 optional argument `style'.
14529
14530 * calendar/appt.el (appt-make-list):
14531 * calendar/cal-china.el (calendar-chinese-date-string):
14532 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14533 (diary-hebrew-yahrzeit):
14534 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14535 * calendar/calendar.el (calendar-generate-window):
14536 * calendar/time-date.el (time-to-days):
14537 Remove unused local variables.
14538
16a43933
CY
145392011-04-18 Chong Yidong <cyd@stupidchicken.com>
14540
14541 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14542 glyphless-char-display table.
14543 (tabulated-list-glyphless-char-display): New var.
14544
7eed1860
SS
145452011-04-18 Sam Steingold <sds@gnu.org>
14546
14547 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14548 to acknowledgments.
14549
4d2d1ccd
GM
145502011-04-17 Glenn Morris <rgm@gnu.org>
14551
14552 * calendar/diary-lib.el (diary-sexp-entry):
14553 * calendar/holidays.el (holiday-sexp):
14554 Set debug-on-error rather than the removed stack-trace-on-error.
14555
239da61d
GM
145562011-04-16 Glenn Morris <rgm@gnu.org>
14557
14558 * progmodes/f90.el: Use lexical-binding.
14559 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14560
8b05752a
SM
145612011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14562
daca8ba5
SM
14563 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14564 (mail-mode): Setup mailalias completion here instead.
14565 * mail/mailalias.el: Use lexical-binding.
14566 (pattern, mailalias-done): Declare dynamic.
14567 (mail-completion-at-point-function): New function, from mail-complete.
14568 (mail-complete): Use it.
14569 (mail-completion-expand): New function.
14570 (mail-get-names): Use it.
14571 (mail-directory, mail-directory-process, mail-directory-stream):
14572 Don't use `pattern' for lexically bound arg.
14573
6f542485
SM
14574 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14575
037e7c3f
SM
14576 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14577 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14578 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14579
8b05752a
SM
14580 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14581 (byte-save-window-excursion, byte-temp-output-buffer-setup)
14582 (byte-interactive-p): Define them again, for use when inlining
14583 old code.
14584
49093f60
JB
145852011-04-15 Juanma Barranquero <lekktu@gmail.com>
14586
14587 * loadup.el: Use `string-to-number', not `string-to-int'.
14588
b5b8e7de
SM
145892011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14590
14591 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14592 gud-gdb-complete-command.
14593 (gud-gdb-completions): New function, from gud-gdb-complete-command.
14594 (gud-gdb-completion-at-point): New function.
14595 (gud-gdb-completions): Remove.
14596
f42efeb5
MA
145972011-04-14 Michael Albinus <michael.albinus@gmx.de>
14598
49093f60
JB
14599 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14600 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
14601 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14602 whether `executable-find' is bound.
f42efeb5
MA
14603
14604 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14605
e240cc21
SM
146062011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14607
14608 * minibuffer.el (completion-in-region-mode-predicate)
14609 (completion-in-region-mode--predicate): New vars.
14610 (completion-in-region, completion-in-region--postch)
14611 (completion-in-region-mode): Use them.
14612 (completion--capf-wrapper): Also return the hook function.
14613 (completion-at-point, completion-help-at-point):
14614 Adjust and provide a predicate.
c2bd2ab0
SM
14615
14616 Preserve arg names for advice of subr and lexical functions (bug#8457).
14617 * help-fns.el (help-function-arglist): Consolidate the subr and
14618 new-byte-code cases. Add argument `preserve-names' to extract names
14619 from the docstring when needed.
14620 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14621 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14622 (ad-arglist): Use help-function-arglist's new arg.
14623 (ad-definition-type): Use cond.
14624
c183f693
JB
146252011-04-13 Juanma Barranquero <lekktu@gmail.com>
14626
06641a47
JB
14627 * autorevert.el (auto-revert-handler):
14628 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
14629 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
14630 Don't quote lambda.
14631
c183f693
JB
14632 * image-mode.el (image-transform-set-scale):
14633 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
14634
1e3b6001
G
146352011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14636
14637 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 14638 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
14639 Upgrades via gnutls-cli are too slow to be done opportunistically.
14640
2d6af8dd
JB
146412011-04-12 Juanma Barranquero <lekktu@gmail.com>
14642
14643 * dframe.el (dframe-current-frame): Remove spurious quote.
14644
c0749a51
GM
146452011-04-12 Glenn Morris <rgm@gnu.org>
14646
088d0d61
GM
14647 * calendar/cal-tex.el (cal-tex-end-document):
14648 Try to automatically use latin1 input if needed.
14649
c0749a51
GM
14650 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
14651 Don't try to cons a mark onto an empty element.
14652
5c90fde0
LL
146532011-04-11 Leo Liu <sdl.web@gmail.com>
14654
14655 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
14656 buffers.
14657 (ido-kill-buffer-at-head): Support killing virtual buffers.
14658
369e974d
CY
146592011-04-10 Chong Yidong <cyd@stupidchicken.com>
14660
14661 * minibuffer.el (completion-show-inline-help): New var.
14662 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
14663 (minibuffer-force-complete, minibuffer-complete-word):
14664 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
14665
14666 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
14667 to avoid interference from inline help (Bug#5849).
14668
37f1c930
LL
146692011-04-10 Leo Liu <sdl.web@gmail.com>
14670
099c39a4
JB
14671 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14672 Fix typo.
37f1c930 14673
a32d4040
CY
146742011-04-09 Chong Yidong <cyd@stupidchicken.com>
14675
14676 * image-mode.el (image-toggle-display-image): Signal an error if
14677 not in Image mode.
14678 (image-transform-mode, image-transform-resize)
14679 (image-transform-set-rotation): Doc fix.
daca8ba5 14680 (image-transform-set-resize): Delete.
a32d4040
CY
14681 (image-transform-set-scale, image-transform-fit-to-height)
14682 (image-transform-fit-to-width): Handle image-toggle-display-image
14683 and image-transform-resize directly.
14684
099c39a4 146852011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
14686
14687 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
14688 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
14689 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
14690 (doc-view-mode-map): Add bindings for the new functions.
14691
099c39a4 146922011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 14693
4d61f28d 14694 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
14695 Fix typo in docstring.
14696
3726838a
EZ
146972011-04-08 Eli Zaretskii <eliz@gnu.org>
14698
04f33f1e
EZ
14699 * files.el (file-size-human-readable): Produce one digit after
14700 decimal, like "ls -lh" does.
14701
14702 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14703 the file size representation.
14704
3726838a
EZ
14705 * simple.el (list-processes): If async subprocesses are not
14706 available, error out with a clear error message.
14707
cbb59342
CY
147082011-04-08 Chong Yidong <cyd@stupidchicken.com>
14709
14710 * help.el (help-form-show): New function, to be called from C.
14711 Put help-form output in a buffer named differently than *Help*.
14712
e3971c44
EZ
147132011-04-08 Eli Zaretskii <eliz@gnu.org>
14714
14715 * files.el (file-size-human-readable): New function.
14716
14717 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14718 computing the representation inline. Don't require `cl'.
14719
12544bbe
GM
147202011-04-08 Glenn Morris <rgm@gnu.org>
14721
a1de6c6a
GM
14722 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14723
3c4671f4
GM
14724 * net/browse-url.el (browse-url-firefox):
14725 Test system-type, not system-configuration.
14726
b605679c
GM
14727 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14728 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14729 Use log-edit-empty-buffer-p. (Bug#7598)
14730
56442f0c
GM
14731 * net/rlogin.el (rlogin-process-connection-type): Simplify.
14732 (rlogin-mode-map): Initialize in the defvar.
14733 (rlogin): Use ignore-errors.
14734
12544bbe
GM
14735 * replace.el (occur-mode-map): Some fixes for menu items.
14736
eb237b0f
AH
147372011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14738
14739 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14740
7d668f2c
CY
147412011-04-06 Chong Yidong <cyd@stupidchicken.com>
14742
e67a13ab
CY
14743 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14744 issuing unused warnings.
14745
14746 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14747 macro directly.
14748
7d668f2c
CY
14749 * simple.el: Lisp reimplement of list-processes. Based on an
14750 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14751 (process-menu-mode): New major mode.
14752 (list-processes--refresh, list-processes):
14753 (process-menu-visit-buffer): New functions.
14754
14755 * files.el (save-buffers-kill-emacs): Don't assume any return
14756 value of list-processes, which is undocumented anyway.
14757
a83ec3c9
CY
147582011-04-06 Chong Yidong <cyd@stupidchicken.com>
14759
14760 * emacs-lisp/tabulated-list.el: New file.
14761
e91a96fe
CY
14762 * emacs-lisp/package.el: Use Tabulated List mode.
14763 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14764 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14765 table format using Tabulated List mode variables.
14766 (package--push): New macro, replacing package-list-maybe-add.
14767 (package-menu--generate): Use package--push. Renamed from
14768 package--generate-package-list.
14769 (package-menu-refresh, list-packages): Use it.
daca8ba5 14770 (package-menu--print-info): Rename from package-print-package.
e91a96fe 14771 Return insertion data instead of inserting it directly.
099c39a4
JB
14772 (package-menu-describe-package, package-menu-execute):
14773 Use tabulated-list-get-id.
e91a96fe
CY
14774 (package-menu-mark-delete, package-menu-mark-install)
14775 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
14776 (package-menu-mark-obsolete-for-deletion):
14777 Use tabulated-list-put-tag.
e91a96fe
CY
14778 (package--list-packages, package-menu-revert)
14779 (package-menu-get-package, package-menu-get-version)
14780 (package-menu-sort-by-column): Functions deleted.
14781 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14782 (package-menu--status-predicate, package-menu--version-predicate)
14783 (package-menu--name-predicate)
14784 (package-menu--description-predicate): Handle arguments in the
14785 Tabulated List format.
14786 (package-list-packages-no-fetch): Call list-packages.
14787
3e214b50
JB
147882011-04-06 Juanma Barranquero <lekktu@gmail.com>
14789
14790 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 14791 (after-find-file): Don't bind it.
3e214b50
JB
14792 (revert-buffer-in-progress-p): New variable.
14793 (revert-buffer): Bind it.
14794 Pass nil for `after-find-file-from-revert-buffer'.
14795
14796 * saveplace.el (save-place-find-file-hook): Use new variable
14797 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14798
3f0f1700
GM
147992011-04-06 Glenn Morris <rgm@gnu.org>
14800
c0274801
GM
14801 * Makefile.in (AUTOGEN_VCS): New variable.
14802 (autoloads): Use $AUTOGEN_VCS.
14803
3f0f1700
GM
14804 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14805 * calendar/calendar.el (calendar-mode-map):
14806 Check for toolkit scroll bars. (Bug#8305)
14807
41ea9e48
CY
148082011-04-05 Chong Yidong <cyd@stupidchicken.com>
14809
14810 * minibuffer.el (completion-in-region--postch)
14811 (completion-in-region-mode): Remove unnecessary messages.
14812
6194c800
JB
148132011-04-05 Juanma Barranquero <lekktu@gmail.com>
14814
33256f14
JB
14815 * font-lock.el (font-lock-refresh-defaults):
14816 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14817 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14818
6194c800
JB
14819 * info.el (Info-directory-list, Info-read-node-name-2)
14820 (Info-split-parameter-string): Doc fixes.
14821 (Info-virtual-nodes): Reflow docstring.
14822 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14823 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14824 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14825 Fix typos in docstrings.
14826 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14827 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14828 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14829 (Info-restore-desktop-buffer): Mark unused parameters.
14830 (Info-directory-find-file, Info-directory-find-node)
14831 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14832 (Info-virtual-index-find-node, Info-apropos-find-file)
14833 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 14834 Mark unused parameters; fix typos in docstrings.
6194c800
JB
14835 (Info-virtual-index): Remove unused local variable `nodename'.
14836
b87a8200 148372011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 14838
b87a8200
DD
14839 * net/rcirc.el: Update my e-mail address.
14840 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 14841
3b2ff876
CY
148422011-04-05 Chong Yidong <cyd@stupidchicken.com>
14843
14844 * startup.el (command-line): Save the cursor's theme-face
14845 directly, instead of using face-override-spec.
14846
14847 * custom.el (load-theme): Minor optimization in assigning faces.
14848
8d17e7ca
JB
148492011-04-04 Juanma Barranquero <lekktu@gmail.com>
14850
14851 * help-fns.el (describe-variable): Complete all variables having
14852 documentation, including keywords.
14853 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14854
2fbc1934
JB
148552011-04-04 Juanma Barranquero <lekktu@gmail.com>
14856
14857 Convert to lexical-binding.
14858
14859 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14860 (bs--get-marked-string, bs--get-modified-string)
14861 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14862 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14863 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14864
14865 * ehelp.el (electric-help-execute-extended)
14866 (electric-help-ctrl-x-prefix):
14867 * hexl.el (hexl-revert-buffer-function):
14868 * linum.el (linum-after-change, linum-after-scroll):
14869 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14870
14871 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14872
74f50695
DU
148732011-04-04 Daiki Ueno <ueno@unixuser.org>
14874
14875 * epa-dired.el:
14876 * epa-mail.el:
14877 * epa-hook.el:
14878 * epa-file.el:
14879 * epa.el:
14880 * epg.el: Use lexical binding.
14881
c11325f7
CY
148822011-04-03 Chong Yidong <cyd@stupidchicken.com>
14883
0d9e9a12
CY
14884 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14885
c11325f7 14886 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
14887 dictionary case for flyspell-mark-duplications-exceptions.
14888 Use regexp matching for languages.
c11325f7
CY
14889 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14890 default dictionary (Bug#7926).
14891
da91b5f2
CY
148922011-04-02 Chong Yidong <cyd@stupidchicken.com>
14893
099c39a4
JB
14894 * emacs-lisp/package.el (package--with-work-buffer):
14895 Recognize https URLs.
da91b5f2 14896
099c39a4
JB
14897 * net/network-stream.el: Move from gnus/proto-stream.el.
14898 Change prefix to network-stream throughout.
da91b5f2
CY
14899 (open-protocol-stream): Merge into open-network-stream, leaving
14900 open-protocol-stream as an alias. Handle nil BUFFER args.
14901
14902 * subr.el (open-network-stream): Move to net/network-stream.el.
14903
afa8e9f6
GM
149042011-04-02 Glenn Morris <rgm@gnu.org>
14905
1d2e369d
GM
14906 * find-dired.el (find-exec-terminator): New option.
14907 (find-ls-option): Test for -ls support.
14908 (find-ls-subdir-switches): Test for -b in find-ls-option.
14909 (find-dired, find-grep-dired): Doc fixes.
14910 (find-dired): Use find-exec-terminator.
14911
8abb7da8 14912 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
14913 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14914 (find-name-arg): Remove purecopy.
8abb7da8 14915
f3ca7378
GM
14916 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14917 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14918 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14919 accordingly. Don't add the null-device if not needed.
14920
afa8e9f6
GM
14921 * files.el (save-some-buffers): Doc fix.
14922
35eae264
EZ
149232011-04-02 Eli Zaretskii <eliz@gnu.org>
14924
14925 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14926
26b51db5
JB
149272011-04-01 Juanma Barranquero <lekktu@gmail.com>
14928
14929 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14930 Use `dolist' rather than `mapcar'.
14931
7200d79c
SM
149322011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14933
03408648 14934 Add lexical binding.
7200d79c 14935
03408648
SM
14936 * subr.el (apply-partially): Use new closures rather than CL.
14937 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14938 (dolist, dotimes): Use slightly different expansion for lexical code.
14939 (functionp): Move to C.
14940 (letrec): New macro.
14941 (with-wrapper-hook): Use it and apply-partially instead of CL.
14942 (eval-after-load): Preserve lexical-binding.
14943 (save-window-excursion, with-output-to-temp-buffer): Turn them
14944 into macros.
7200d79c 14945
03408648
SM
14946 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14947
14948 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14949 than the arglist.
14950 (help-add-fundoc-usage): Don't add `Not documented'.
14951 (help-function-arglist): Handle closures, subroutines, and new
14952 byte-code-functions.
14953 (help-make-usage): Remove leading underscores.
14954 (describe-function-1): Handle closures.
14955 (describe-variable): Use special-variable-p for completion.
14956
14957 * files.el (lexical-binding): Declare safe.
f488fb65 14958
03408648
SM
14959 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14960 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14961 (pcase): Add `let' pattern.
14962 Change memoization so it actually works.
14963 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14964 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14965 <let>: New case.
f488fb65 14966
03408648
SM
14967 * emacs-lisp/macroexp.el: Use lexical binding.
14968 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14969 Don't convert ' to #' without checking that it's indeed quoting
14970 a lambda.
14971
14972 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 14973 Use eval-sexp-add-defvars.
03408648
SM
14974 (eval-sexp-add-defvars): New fun.
14975
14976 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14977
14978 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14979 Don't autoload.
14980 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14981 than the internal `byte-compile-lambda'.
14982 (defmethod): Don't hide code under quotes.
14983 (eieio-defmethod): New `code' argument.
14984
14985 * emacs-lisp/eieio-comp.el: Remove.
14986
14987 * emacs-lisp/edebug.el (edebug-eval-defun)
14988 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14989 (edebug-toggle): Avoid `eval'.
14990
14991 * emacs-lisp/disass.el (disassemble-internal): Handle new
14992 `closure' objects.
14993 (disassemble-1): Handle new byte codes.
14994
14995 * emacs-lisp/cl.el (pushnew): Silence warning.
14996
14997 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14998 (cl-byte-compile-throw): Remove.
14999 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
15000
15001 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
15002 closures.
15003
15004 * emacs-lisp/cconv.el: New file.
15005
15006 * emacs-lisp/bytecomp.el: Use lexical binding instead of
15007 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
15008 (byte-compile-initial-macro-environment):
15009 Handle declare-function here.
15010 (byte-compile--lexical-environment): New var.
15011 (byte-stack-ref, byte-stack-set, byte-discardN)
15012 (byte-discardN-preserve-tos): New lap codes.
15013 (byte-interactive-p): Don't use any more.
15014 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
15015 New macros.
15016 (byte-compile-lapcode): Use them and handle new lap codes.
15017 (byte-compile-obsolete): Remove.
15018 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
15019 (byte-compile-arglist-warn): Check late def of inlinable funs.
15020 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
15021 since they should have been expanded by now.
15022 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
15023 (byte-compile-from-buffer): Remove unused second arg.
15024 (byte-compile-preprocess): New function.
15025 (byte-compile-toplevel-file-form): New function to distinguish
15026 file-form calls from outside from file-form calls from hunk-handlers.
15027 (byte-compile-file-form): Simplify.
15028 (byte-compile-file-form-defsubst): Remove.
15029 (byte-compile-file-form-defmumble): Simplify now that
15030 byte-compile-lambda always returns a byte-code-function.
15031 (byte-compile): Preprocess.
15032 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
15033 Remove, not used any more.
15034 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
15035 (byte-compile-make-args-desc): New funs.
15036 (byte-compile-lambda): Handle lexical functions. Always return
15037 a byte-code-function.
15038 (byte-compile-reserved-constants): New var, to make up room for
15039 closed-over variables.
15040 (byte-compile-constants-vector): Obey it.
15041 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
15042 (byte-compile-macroexpand-declare-function): New function.
15043 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
15044 byte-code-functions.
15045 (byte-compile-form): Check obsolescence here.
15046 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
15047 (byte-compile-variable-ref): Remove.
15048 (byte-compile-dynamic-variable-op): New fun.
15049 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15050 (byte-compile-variable-set): New funs.
15051 (byte-compile-discard): Add 2 args.
15052 (byte-compile-stack-ref, byte-compile-stack-set)
15053 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
15054 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
15055 macroexpand-all instead.
15056 (byte-compile-quote-form): Remove.
15057 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
15058 (byte-compile-bind, byte-compile-unbind): New funs.
15059 (byte-compile-let): Handle let* and lexical binding.
15060 (byte-compile-let*): Remove.
15061 (byte-compile-catch, byte-compile-unwind-protect)
15062 (byte-compile-track-mouse, byte-compile-condition-case):
15063 Handle a new :fun-body form, used for lexical scoping.
15064 (byte-compile-save-window-excursion)
15065 (byte-compile-with-output-to-temp-buffer): Remove.
15066 (byte-compile-defun): Simplify.
15067 (byte-compile-stack-adjustment): New fun.
15068 (byte-compile-out): Use it.
15069 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
15070
15071 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
15072 handler any more.
15073
15074 * emacs-lisp/byte-opt.el: Use lexical binding.
15075 (byte-inline-lapcode): Remove (to bytecomp).
15076 (byte-compile-inline-expand): Pay attention to inlining to/from
15077 lexically bound code.
15078 (byte-compile-unfold-lambda): Don't handle byte-code-functions
15079 any more.
15080 (byte-optimize-form-code-walker): Don't handle save-window-excursion
15081 any more and don't call compiler-macros.
15082 (byte-compile-splice-in-already-compiled-code): Remove.
15083 (byte-code): Don't inline any more.
15084 (disassemble-offset): Receive `bytes' as argument rather than via
15085 dynamic scoping.
15086 (byte-compile-tag-number): Declare before first use.
15087 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
15088 `return' even if make-spliceable.
15089 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
15090 obsolete interactive-p.
15091 (byte-optimize-lapcode): Optimize new lap-codes.
15092 Don't trip up on new form of `byte-constant' lap code.
15093
15094 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
15095
15096 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
15097
15098 * custom.el (custom-initialize-default, custom-declare-variable):
15099 Use `defvar'.
15100
15101 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
15102 New variables.
15103 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
15104 (COMPILE_FIRST): Add macroexp and cconv.
15105 * makefile.w32-in: Mirror changes in Makefile.in.
15106
15107 * vc/cvs-status.el:
15108 * vc/diff-mode.el:
15109 * vc/log-edit.el:
15110 * vc/log-view.el:
15111 * vc/smerge-mode.el:
15112 * textmodes/bibtex-style.el:
15113 * textmodes/css.el:
15114 * startup.el:
15115 * uniquify.el:
da91b5f2
CY
15116 * minibuffer.el:
15117 * newcomment.el:
15118 * reveal.el:
15119 * server.el:
15120 * mpc.el:
15121 * emacs-lisp/smie.el:
15122 * doc-view.el:
15123 * dired.el:
03408648
SM
15124 * abbrev.el: Use lexical binding.
15125
0f0c1f27
EZ
151262011-04-01 Eli Zaretskii <eliz@gnu.org>
15127
15128 * info.el (info-display-manual): New function.
15129
c82b2579
SM
151302011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15131
15132 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
15133
221ddf68
TH
151342011-03-31 Tassilo Horn <tassilo@member.fsf.org>
15135
15136 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 15137 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 15138
cba6e77e
GM
151392011-03-31 Glenn Morris <rgm@gnu.org>
15140
e040639f
GM
15141 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
15142
cba6e77e
GM
15143 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
15144
6d0f1c9e
CS
151452011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
15146
15147 * progmodes/python.el (python-default-interpreter)
15148 (python-python-command-args, python-jython-command-args)
15149 (python-which-shell, python-which-args, python-which-bufname)
15150 (python-file-queue, python-comint-output-filter-function)
15151 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
15152 variables and functions.
15153
3e2d70fd
SM
151542011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15155
15156 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
15157 (completion-in-region-mode): New minor mode.
15158 (completion-in-region): Use it.
15159 (completion-in-region--data, completion-in-region-mode-map): New vars.
15160 (completion-in-region--postch): New function.
15161 (completion--capf-misbehave-funs, completion--capf-safe-funs):
15162 New vars.
15163 (completion--capf-wrapper): New function.
15164 (completion-at-point): Use it to track well-behavedness of
15165 hook functions.
15166 (completion-help-at-point): New command.
15167
f3e4086c
JM
151682011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
15169
15170 * vc/add-log.el (add-change-log-entry): Don't use whitespace
15171 syntax class to search for whitespace on a single line
15172 (Message-ID: <4D938140.4030905@redhat.com>).
15173
eb7ffc14
LL
151742011-03-30 Leo Liu <sdl.web@gmail.com>
15175
15176 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15177 New commands.
15178 (edit-abbrevs-map): Bind them here.
15179 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
15180
d806ab68
KM
151812011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
15182
15183 * allout.el (allout-hide-by-annotation, allout-flag-region):
15184 Reduce possibility of overlay leakage by making them volatile.
15185
15186 * allout-widgets.el (allout-widgets-tally): Define as nil so the
15187 hash is not shared between buffers. Mode initialization is
15188 responsible for giving it a useful starting value.
15189 (allout-item-span): Reduce possibility of overlay leakage by
15190 making them volatile.
15191 (allout-widgets-count-buttons-in-region): Add diagnostic function
15192 for tracking down button overlay leaks.
15193
ea622834
LL
151942011-03-29 Leo Liu <sdl.web@gmail.com>
15195
15196 * ido.el (ido-read-internal): Use the default history var
15197 minibuffer-history if no HISTORY is specified.
15198
b62f8267
G
151992011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
15200
03408648
SM
15201 * net/imap.el (imap-shell-open, imap-process-connection-type):
15202 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
15203 Kerberos, SSL, other subprocesses.
15204
947b6566
LL
152052011-03-28 Leo Liu <sdl.web@gmail.com>
15206
15207 * abbrev.el (abbrev-table-empty-p): New function.
15208 (prepare-abbrev-list-buffer): Place empty abbrev tables after
15209 nonempty ones. (Bug#5937)
15210
5ffb62aa
JD
152112011-03-27 Jan Djärv <jan.h.d@swipnet.se>
15212
15213 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15214
7a097943
LL
152152011-03-27 Leo Liu <sdl.web@gmail.com>
15216
15217 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15218 for foreground and background colors.
15219 (ansi-color-make-color-map): Adapt.
15220
c5b40130
LL
152212011-03-25 Leo Liu <sdl.web@gmail.com>
15222
1f48f7d2
LL
15223 * midnight.el (midnight-time-float): Remove. Note it calculates
15224 the microsecond component incorrectly and seconds-to-time does the
15225 same job.
625897ec 15226 Remove redundant (require 'timer).
1f48f7d2 15227
c5b40130
LL
15228 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15229 (ido-completions): Remove unused arguments. (Bug#8329)
15230
d86d2721
SM
152312011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
15232
15233 * minibuffer.el (completion--flush-all-sorted-completions):
15234 Remove itself from hook.
15235 (completion-at-point): Let the functions perform the completion
15236 immediately and return nil or t.
15237 * comint.el (comint-dynamic-complete-functions): Now identical to
15238 completion-at-point-functions.
15239 (comint-dynamic-list-input-ring): Remove unused var `index'.
15240 (comint--match-partial-filename, comint--unquote&expand-filename):
15241 New funs, split from comint-match-partial-filename.
15242 (comint-dynamic-complete): Use completion-at-point.
15243 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15244
e8974c48
DA
152452011-03-24 Drew Adams <drew.adams@oracle.com>
15246
15247 * thingatpt.el: Support `defun'.
15248
def71b5e
LL
152492011-03-23 Leo Liu <sdl.web@gmail.com>
15250
cb5af48e
LL
15251 * abbrevlist.el: Move to obsolete/abbrevlist.el.
15252
def71b5e
LL
15253 * help-mode.el (help-mode-finish): Tweak regexp.
15254
927c53e7
GM
152552011-03-23 Glenn Morris <rgm@gnu.org>
15256
18d05bed
GM
15257 * eshell/esh-opt.el (eshell-eval-using-options):
15258 Do not bind unused local variable `eshell-option-stub'.
15259
927c53e7
GM
15260 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15261
9d0da923
JB
152622011-03-22 Juanma Barranquero <lekktu@gmail.com>
15263
15264 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15265 keymap variable in `with-no-warnings' to avoid a warning when the
15266 keymap has been already `defconst'ed.
15267
4b978a67
LL
152682011-03-22 Leo Liu <sdl.web@gmail.com>
15269
15270 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15271 encode all chars in abbrevs; otherwise use emacs-mule or
15272 utf-8-emacs. (Bug#8308)
15273
5fd62452
JB
152742011-03-22 Juanma Barranquero <lekktu@gmail.com>
15275
0b1596c6
JB
15276 * simple.el (backward-delete-char-untabify):
15277 Avoid warning about using `delete-backward-char'.
15278
5fd62452
JB
15279 * image.el (image-type-file-name-regexps): Make it variable.
15280 `imagemagick-register-types' modifies it, and the user may want
15281 to add new extensions for known image types.
15282 (imagemagick-register-types): Throw error if not using ImageMagick.
15283
0b4e93f1
LL
152842011-03-22 Leo Liu <sdl.web@gmail.com>
15285
15286 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15287 located before rcirc-prompt-end-marker.
15288 (rcirc-complete): Error if point is not after rcirc prompt.
15289 Handle the case when table is nil.
9882e214 15290 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 15291
fccee4ab
CY
152922011-03-22 Chong Yidong <cyd@stupidchicken.com>
15293
15294 * custom.el (custom--inhibit-theme-enable): Make it affect only
15295 custom-theme-set-variables and custom-theme-set-faces.
15296 (provide-theme): Ignore custom--inhibit-theme-enable.
15297 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15298 (custom-enabling-themes): Delete variable.
d86d2721
SM
15299 (enable-theme): Accept only loaded themes as arguments.
15300 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
15301 (custom-enabled-themes): Forbid themes from setting this.
15302 Eliminate use of custom-enabling-themes.
15303 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 15304
af896da6
LL
153052011-03-21 Leo Liu <sdl.web@gmail.com>
15306
15307 * ido.el (ido-read-internal): Add ido-selected to history instead
15308 of user input.
15309
78f64af0
SM
153102011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15311
15312 * subr.el (deferred-action-list, deferred-action-function):
15313 Mark obsolete.
15314
b16ac1ec
LL
153152011-03-21 Leo Liu <sdl.web@gmail.com>
15316
810f7698
LL
15317 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15318 change on 2011-02-13 (bug#8309).
15319
b16ac1ec
LL
15320 * minibuffer.el (read-file-name-function): Change default value.
15321 (read-file-name--defaults): Rename from read-file-name-defaults.
15322 (read-file-name-default): Rename from read-file-name.
15323 (read-file-name): Call read-file-name-function.
15324
4e05e67e
GM
153252011-03-21 Glenn Morris <rgm@gnu.org>
15326
15327 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15328 Doc fixes.
15329
4359915b
CY
153302011-03-21 Chong Yidong <cyd@stupidchicken.com>
15331
15332 * cus-theme.el: Add missing provide statement.
15333 (customize-create-theme): Extract theme value correctly.
15334 (custom-theme-visit-theme): Autoload.
15335 (customize-create-theme): Prompt before inserting default faces.
15336
1fe275ee
JB
153372011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
15338
15339 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15340 units and musical notes.
15341
cd394be1 153422011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
15343
15344 * ido.el (ido-read-internal): Use completing-read-default.
15345 (ido-completing-read): Fix compatibility with completing-read.
15346
7d476bde
CO
153472011-03-20 Christian Ohler <ohler@gnu.org>
15348
15349 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15350 (ert-delete-all-tests): Use `called-interactively-p' rather than
15351 `interactive-p'.
15352 (ert--make-xrefs-region): Respect END.
15353
fe0fb33e
CY
153542011-03-19 Chong Yidong <cyd@stupidchicken.com>
15355
ff854b0b
CY
15356 * dired-aux.el (dired-create-directory): Signal an error if the
15357 directory already exists (Bug#8246).
15358
fe0fb33e
CY
15359 * facemenu.el (list-colors-display): Call list-faces-display
15360 inside with-help-window.
15361 (list-colors-print): Use display property to align the final
15362 column, instead of checking window-width.
15363
576bce32
EZ
153642011-03-19 Eli Zaretskii <eliz@gnu.org>
15365
4d61f28d 15366 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
15367 windows-nt systems.
15368 (emerge-protect-metachars): Quote correctly for ms-dos and
15369 windows-nt systems.
15370
89c41d68 153712011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
15372
15373 * info.el (info-initialize): Replace all uses of `:' with
15374 path-separator for compatibility with non-Unix systems.
15375 Cache quoting of path-separator. (Bug#8258)
15376
b14e3e21 153772011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
15378
15379 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15380 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15381 (mouse-avoidance-mode): Fix typos in docstrings.
15382
4525ce3e
CY
153832011-03-19 Chong Yidong <cyd@stupidchicken.com>
15384
15385 * startup.el (package-subdirectory-regexp): Move from package.el.
15386 Omit \\` and \\', and let callers add them.
15387
15388 * emacs-lisp/package.el (package-strip-version)
15389 (package-load-all-descriptors): Add \\` and \\' to
15390 package-subdirectory-regexp before using it.
15391 (package-untar-buffer): New arg DIR; ensure that file untars only
15392 into this expected directory. Remove superfluous delete-region.
15393 (package-unpack): Caller changed.
15394 (package-tar-file-info): Use package-subdirectory-regexp.
15395
a904a09a 153962011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 15397
a904a09a
SM
15398 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
15399 diff-mode-shared-map (bug#8284).
15400 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
15401
154022011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15403
15404 * calendar/time-date.el (format-seconds): Use assoc instead of
15405 assoc-string, since assoc-string doesn't exist in XEmacs.
15406
171fc304
JB
154072011-03-17 Juanma Barranquero <lekktu@gmail.com>
15408
15409 * custom.el (custom-known-themes): Reflow docstring.
15410 (custom-theme-load-path): Fix typo in docstring.
15411 (load-theme): Fix typo in error message.
15412 (custom-available-themes, custom-variable-theme-value):
15413 Use `let', not `let*'.
15414
d71990a1
JB
154152011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15416
15417 * calc/README: Mention inclusion of musical notes.
15418
15419 * calc/calc-units.el (calc-lu-quant): Rename from
15420 `calc-logunits-quantity'.
15421 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15422 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15423 (calc-db): Rename from `calc-dblevel'.
15424 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15425 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15426 (calc-np): Rename from `calc-nplevel'.
15427 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15428 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15429 (calc-lu-plus): Rename from `calc-logunits-add'.
15430 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15431 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15432 (calc-lu-minus): Rename from `calc-logunits-sub'.
15433 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15434 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15435 (calc-lu-times): Rename from `calc-logunits-mul'.
15436 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15437 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15438 (calc-lu-divide): Rename from `calc-logunits-div'.
15439 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15440 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15441
15442 * calc/calc-ext.el (calc-init-extensions): Update the names of the
15443 functions being autoloaded.
15444
15445 * calc/calc.el (calc-lu-power-reference): Rename from
15446 `calc-logunits-power-reference'.
15447 (calc-lu-field-reference): Rename from
15448 `calc-logunits-field-reference'.
15449
7a71b18d
GM
15450 * calc/calc-help.el (calc-l-prefix-help):
15451 Mention musical note functions.
d71990a1 15452
40c2934b
SM
154532011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
15454
15455 * minibuffer.el (completion-all-sorted-completions):
15456 Use :completion-cycle-penalty text property if present.
15457
b0911414
KM
154582011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
15459
15460 * allout.el (allout-yank-processing): Adjust for new rebulleting
15461 regime so bullet being yanked is used without prompting the user
15462 for a choice.
15463
8a05b668
JB
154642011-03-16 Juanma Barranquero <lekktu@gmail.com>
15465
15466 * startup.el (command-line): Warn the user that _emacs is deprecated.
15467
5ba5fb81
JB
154682011-03-16 Juanma Barranquero <lekktu@gmail.com>
15469
15470 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15471 (delphi-verbose, delphi-comment-face, delphi-string-face)
15472 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15473 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15474 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15475 (delphi-new-comment-line, delphi-font-lock-defaults)
15476 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15477 Fix typos in docstrings.
15478
2dab465b
KM
154792011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
15480
5ba5fb81 15481 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
15482 Invert the roles of character and string values for INSTEAD, so a
15483 string is used for the more common case of a defaulting prompt.
15484
0adf5618
SM
154852011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15486
15487 * progmodes/ruby-mode.el (ruby-backward-sexp):
15488 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15489 * play/gamegrid.el (gamegrid-make-face):
15490 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15491 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15492 * notifications.el (notifications-notify):
15493 * net/xesam.el (xesam-search-engines):
15494 * net/quickurl.el (quickurl-list-insert):
15495 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15496
d72700e5
CY
154972011-03-15 Chong Yidong <cyd@stupidchicken.com>
15498
15499 * startup.el (command-line): Update package subdirectory regexp.
15500
49c5410a
SM
155012011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15502
c6eee9aa
SM
15503 * allout.el (allout-abbreviate-flattened-numbering)
15504 (allout-mode-deactivate-hook): Fix up obsolescence "date".
15505
49c5410a
SM
15506 * subr.el (read-char-choice): Only show the cursor after the prompt,
15507 not after the answer.
15508
047b2bb9
KR
155092011-03-15 Kevin Ryde <user42@zip.com.au>
15510
15511 * help-fns.el (variable-at-point): Skip leading quotes, if any
15512 (bug#8253).
15513
0a57d256
SM
155142011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15515
15516 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15517 warning message.
15518
77c992bc
MA
155192011-03-14 Michael Albinus <michael.albinus@gmx.de>
15520
15521 * shell.el (shell): When called interactively, offer to change the
15522 shell file name on remote hosts.
15523
eebc475d
TZ
155242011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15525
15526 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15527 integration for LDAP parameters. The host, base, user or binddn,
15528 and secret tokens can be specified in a netrc file, for instance.
15529 This is optional because an `auth-source' parameter must be
15530 specified in the search attributes.
15531
9d05d1ba
JB
155322011-03-13 Juanma Barranquero <lekktu@gmail.com>
15533
15534 * help.el (describe-mode): Link to the mode's definition (bug#8185).
15535
09d9db2c
GM
155362011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15537
15538 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15539 into declaration. Remove redundant and harmful binding.
15540
155412011-03-12 Eli Zaretskii <eliz@gnu.org>
15542
15543 * files.el (file-ownership-preserved-p): Pass `integer' as an
15544 explicit 2nd argument to `file-attributes'. If the file's owner
15545 is the Administrators group on Windows, and the current user is
15546 Administrator, consider that a match.
15547
15548 * server.el (server-ensure-safe-dir): Consider server directory
15549 safe on MS-Windows if its owner is the Administrators group while
15550 the current Emacs user is Administrator. Use `=' to compare
15551 numerical UIDs, since they could be integers or floats.
15552
219bd536
JB
155532011-03-12 Juanma Barranquero <lekktu@gmail.com>
15554
15555 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15556
f3afd36b
MA
155572011-03-12 Michael Albinus <michael.albinus@gmx.de>
15558
15559 Sync with Tramp 2.2.1.
15560
15561 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15562
15563 * net/trampver.el: Update release number.
15564
3aaaa6f1
SM
155652011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15566
94642599
SM
15567 * progmodes/compile.el (compilation--previous-directory): Fix up
15568 various nil/dead-marker mismatches (bug#8014).
15569 (compilation-directory-properties, compilation-error-properties):
15570 Don't call it at a position past the one we're about to change.
15571
3aaaa6f1
SM
15572 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15573 Disable obsolescence warnings in the file that declares it.
15574
14239447
KM
155752011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
15576
099c39a4
JB
15577 * allout-widgets.el (allout-widgets-tally):
15578 Initialize allout-widgets-tally as a hash table rather than nil to
15579 prevent mode-line redisplay warnings. Also, clarify the module
15580 description and fix a comment typo.
14239447 15581
135e287c
JB
155822011-03-11 Juanma Barranquero <lekktu@gmail.com>
15583
15584 * help-fns.el (describe-variable): Don't complete keywords.
15585 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15586
ffbf300e
CY
155872011-03-10 Chong Yidong <cyd@stupidchicken.com>
15588
ba08b241
CY
15589 * emacs-lisp/package.el (package-version-join): Impose a standard
15590 string representation for pre/alpha/beta version lists.
15591 (package-unpack-single): Standardize the directory name by passing
15592 it through package-version-join.
15593 (package-strip-rcs-id): Accept any version string that does not
15594 signal an error in version-to-list.
ffbf300e 15595
f346fd6b
MA
155962011-03-10 Michael Albinus <michael.albinus@gmx.de>
15597
15598 * simple.el (delete-trailing-whitespace): Return nil for the
15599 benefit of `write-file-functions'.
15600
ccb55d27
GM
156012011-03-10 Glenn Morris <rgm@gnu.org>
15602
5ceaac0c
GM
15603 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15604
02da65ff
GM
15605 * vc/vc-git.el (vc-git-program): New option.
15606 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15607 (vc-git--call): Use it.
15608
b2f603cc
GM
15609 * eshell/esh-util.el (eshell-condition-case): Doc fix.
15610
5772caab
GM
15611 * cus-edit.el (Custom-newline): If no button at point, look
15612 for a subgroup button at start-of-line. (Bug#2298)
15613
ccb55d27
GM
15614 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15615
ec6ecaed
JD
156162011-03-10 Julien Danjou <julien@danjou.info>
15617
15618 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15619 `cursor-type' is nil.
15620
9d5aa01d
JB
156212011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
15622
15623 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15624
b6a5875b
KM
156252011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
15626
7a71b18d 15627 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
15628 preserves the existing header prefix, rebulleting it if necessary,
15629 rather than replacing it. This is necessary for proper operation
15630 of cooperative addons like allout-widgets.
1154d12e
JB
15631 (allout-make-topic-prefix, allout-rebullet-heading):
15632 Change SOLICIT arg to INSTEAD, and interpret additionally a string
15633 value as alternate bullet to be used, instead of prompting the user
15634 for a bullet character.
b6a5875b 15635
ee545c35
MA
156362011-03-09 Michael Albinus <michael.albinus@gmx.de>
15637
d86d2721
SM
15638 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15639 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
15640 `tramp-default-port'.
15641
c47971d7
DD
156422011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15643
15644 * net/rcirc.el (rcirc-handler-001): Remove useless
15645 with-rcirc-process-buffer.
15646 (rcirc-check-auth-status): Swap arguments to string-match.
15647
13522cb4
GM
156482011-03-09 Glenn Morris <rgm@gnu.org>
15649
0be6f4f1
GM
15650 * shell.el (shell-mode):
15651 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
15652
13522cb4
GM
15653 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
15654 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
15655
515de2e3
CY
156562011-03-08 Chong Yidong <cyd@stupidchicken.com>
15657
15658 * emacs-lisp/package.el (package-refresh-contents)
15659 (package-menu-execute): Use condition-case-no-debug.
15660
b511b994
MA
156612011-03-08 Michael Albinus <michael.albinus@gmx.de>
15662
15663 * simple.el (shell-command-to-string): Use `process-file'.
15664
15665 * emacs-lisp/package.el (package-tar-file-info): Handle also
15666 remote files.
15667
d86d2721
SM
15668 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15669 Use `equal' for upload base check.
b511b994 15670
25bbfb31
AM
156712011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
15672
15673 * textmodes/texinfo.el (texinfo-environments):
15674 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
15675
be996521
GM
156762011-03-08 Glenn Morris <rgm@gnu.org>
15677
e9c8529f
GM
15678 * cus-start.el (cursor-in-non-selected-windows):
15679 Fix :set quoting oddness. (Bug#8192)
15680
be996521
GM
15681 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
15682 in some setf expressions. (Bug#2159)
15683
2bb5649e
CY
156842011-03-08 Chong Yidong <cyd@stupidchicken.com>
15685
15686 * custom.el (custom-available-themes): Return themes in
15687 alphabetical order.
15688
33383987 15689See ChangeLog.15 for earlier changes.
e3d51b27
MR
15690
15691;; Local Variables:
15692;; coding: utf-8
e3d51b27
MR
15693;; End:
15694
acaf905b 15695 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
15696
15697 This file is part of GNU Emacs.
15698
15699 GNU Emacs is free software: you can redistribute it and/or modify
15700 it under the terms of the GNU General Public License as published by
15701 the Free Software Foundation, either version 3 of the License, or
15702 (at your option) any later version.
15703
15704 GNU Emacs is distributed in the hope that it will be useful,
15705 but WITHOUT ANY WARRANTY; without even the implied warranty of
15706 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15707 GNU General Public License for more details.
15708
15709 You should have received a copy of the GNU General Public License
15710 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.