1 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3 Further GV/CL cleanups.
4 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
6 (gv--defun-declaration): New function.
7 (defun-declarations-alist): Use it.
8 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
10 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
11 original definition of dotimes and dolist.
12 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
13 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
14 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
15 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
16 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
17 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
18 to the function's definition.
19 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
23 * env.el: Don't use CL.
25 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
27 Support higher-resolution time stamps (Bug#9000).
29 * calendar/time-date.el (with-decoded-time-value): New arg
30 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
31 (encode-time-value): New optional arg PICO. New type 3.
32 (time-to-seconds) [!float-time]: Support the new picoseconds
33 component if it's used.
34 (seconds-to-time, time-subtract, time-add):
35 Support ps-resolution time stamps as well.
37 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
38 (timerp): Timer vectors now have length 9, not 8.
39 (timer--time): Support new-style (4-part) time stamps.
40 (timer-next-integral-multiple-of-time): Time stamps now have
41 picosecond resolution, so take a bit more care about rounding.
42 (timer-relative-time, timer-inc-time): New optional arg psecs.
43 (timer-set-time-with-usecs): Set psecs to 0.
44 (timer--activate): Check psecs component, too.
46 * proced.el (proced-time-lessp): Support ps-resolution stamps.
48 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
50 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
51 Move the non-essential binding to the post/pre-command-hook where it is
52 more obviously correct.
54 * subr.el (read-passwd): Don't use a history at all.
55 * savehist.el (savehist-save): Remove password saved accidentally
56 because of the above bug.
58 2012-06-22 Bastien Guerry <bzg@gnu.org>
60 * files.el (toggle-read-only): Display a message telling whether
61 the buffer is read-only or not (bug#11726).
63 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
65 * emacs-lisp/gv.el: New file.
66 * subr.el (push, pop): Extend to generalized variables.
67 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
68 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
69 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
70 gv-define-simple-setter, and gv-define-expander.
71 Remove setf-methods defined in gv. Rename cl-setf -> setf.
72 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
73 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
74 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
75 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
77 (cl-defstruct): Don't define setf-method any more.
78 * emacs-lisp/cl.el (flet): Don't autoload.
79 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
80 (define-setf-expander, defsetf, define-modify-macro)
81 (cl-struct-setf-expander): Move from cl-lib.el.
82 * emacs-lisp/syntax.el:
85 * emacs-lisp/cconv.el:
86 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
87 (timer--time): Use gv-define-simple-setter.
88 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
89 to avoid coding-system problems in subr.el. Adjust all users.
90 (macroexp--maxsize, macroexp-small-p): New functions.
91 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
92 * scroll-bar.el (scroll-bar-mode):
93 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
94 (normal-erase-is-backspace-mode): Don't use the `eq' place.
95 * winner.el (winner-configuration, winner-make-point-alist)
96 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
97 * files.el (locate-file-completion-table): Avoid list*.
99 2012-06-22 Chong Yidong <cyd@gnu.org>
101 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
102 (dired-create-files): Doc fix (Bug#11329).
103 (dired-do-copy): Doc fix (Bug#11334).
104 (dired-mark-read-string): Doc fix (Bug#11553).
106 * dired.el (dired-recursive-copies, dired-recursive-deletes):
108 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
109 (dired-dwim-target): Doc fix.
111 * wdired.el (wdired-mode): Doc fix.
113 2012-06-22 Glenn Morris <rgm@gnu.org>
115 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
116 (pcmpl-rpm-cache-stamp-file): New constant.
117 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
118 (pcmpl-rpm-packages): Optionally cache list of packages.
120 * pcmpl-rpm.el (pcmpl-rpm): New group.
121 (pcmpl-rpm-query-options): New option.
122 (pcmpl-rpm-packages): No need to inline it.
123 Use pcmpl-rpm-query-options.
125 * calendar/calendar.el (calendar-in-read-only-buffer):
126 Avoid some needless mode changes.
128 2012-06-21 Chong Yidong <cyd@gnu.org>
130 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
131 (desktop-path): Remove . from the default value (Bug#10977).
132 (desktop-read): Use user-emacs-directory if desktop-path is nil.
134 2012-06-20 Chong Yidong <cyd@gnu.org>
136 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
138 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
140 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
143 2012-06-20 Chong Yidong <cyd@gnu.org>
145 * term.el (term-window-width): Handle the case of a missing right
147 (term-check-size): Use window-text-height (Bug#5445).
148 (term-mode): Use define-derived-mode. Minor cleanups.
149 Set font-lock-defaults (Bug#7692).
150 (term-move-columns, term-insert-char, term-emulate-terminal)
151 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
153 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
155 * net/ange-ftp.el (ange-ftp-get-passwd):
156 Bind `enable-recursive-minibuffers'.
157 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
159 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
161 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
163 2012-06-19 Glenn Morris <rgm@gnu.org>
165 * progmodes/python.el (python-mode): Derive from prog-mode.
167 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
169 * emulation/edt.el (edt-default-menu-bar-update-buffers)
170 (edt-user-menu-bar-update-buffers): New functions.
171 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
173 2012-06-19 Chong Yidong <cyd@gnu.org>
175 * subr.el (with-selected-window): Preserve the selected window's
176 terminal's top-frame (Bug#4702).
178 * window.el (save-selected-window): Likewise.
180 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
182 * progmodes/python.el (python-rx-constituents): Move backquote.
183 (python-skeleton-define, python-define-auxiliary-skeleton):
186 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
188 * minibuffer.el (read-file-name-default): Revert the patch from
191 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
193 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
194 (pcase--u1, pcase--q1): Don't use apply-partially.
196 2012-06-18 Glenn Morris <rgm@gnu.org>
198 * progmodes/python.el (python-proc, python-buffer)
199 (python-send-receive, python-send-string): Fix obsolete versions.
201 2012-06-18 Martin Rudalics <rudalics@gmx.at>
203 * window.el (special-display-p): Completely remove stringp
204 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
206 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
208 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
210 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
212 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
213 * net/tramp-sh.el (tramp-maybe-open-connection):
214 Throw if `non-essential' is non-nil.
216 2012-06-17 Martin Rudalics <rudalics@gmx.at>
218 * window.el (special-display-p): Signal an error if BUFFER-NAME
219 is not a string (Bug#11713).
221 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
223 * progmodes/python.el (python-info-beginning-of-backslash):
224 Rename from python-info-beginning-of-backlash, as a spelling fix.
226 2012-06-17 Chong Yidong <cyd@gnu.org>
228 * term.el (term-emulate-terminal): If term-check-size is called,
229 move point to the process mark without resetting point (Bug#4635).
231 2012-06-17 Glenn Morris <rgm@gnu.org>
233 * international/mule-cmds.el (mule-menu-keymap)
234 (set-language-environment, set-locale-environment): Doc tweaks.
236 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
238 * cus-face.el (custom-face-attributes): Add wave-style underline
240 * faces.el (set-face-attribute): Update docstring to describe
241 wave-style underline attribute.
243 2012-06-16 Chong Yidong <cyd@gnu.org>
245 * term/xterm.el (terminal-init-xterm): Discard input before
246 querying background mode (Bug#10959).
248 2012-06-16 Stefan Merten <smerten@oekonux.de>
250 * textmodes/rst.el: Added and corrected some comments.
251 (rst-re-alist-def): Improve symbol syntax.
252 (rst-mode-syntax-table): Correct syntax entries.
253 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
254 (rst-official-version, rst-official-cvs-rev): Update version
257 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
259 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
260 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
262 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
264 * progmodes/python.el: New python.el merge.
265 (python-guess-indent): Obsolete var.
266 (python-indent-guess-indent-offset): New defcustom.
267 (python-indent): Obsolete var.
268 (python-indent-offset): New defcustom.
269 (python-python-command, python-jython-command): Delete var.
270 (python-shell-interpreter): New defcustom.
271 (python-pdbtrack-do-tracking-p): Delete var.
272 (python-pdbtrack-activate): New defcustom.
273 (python-use-skeletons): Obsolete var.
274 (python-skeleton-autoinsert): New defcustom.
275 (inferior-python-filter-regexp, python-continuation-offset)
276 (python-honour-comment-indentation, python-indent-string-contents)
277 (python-jython-packages, python-mode-hook)
278 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
279 (python-shell-prompt-alist)
280 (python-source-modes): Delete defcustoms.
281 (python-check-buffer-name, python-eldoc-setup-code)
282 (python-eldoc-string-code, python-ffap-setup-code)
283 (python-ffap-string-code, python-fill-comment-function)
284 (python-fill-decorator-function, python-fill-paren-function)
285 (python-fill-string-function, python-imenu-include-defun-type)
286 (python-imenu-make-tree, python-imenu-subtree-root-label)
287 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
288 (python-shell-compilation-regexp-alist)
289 (python-shell-completion-module-string-code)
290 (python-shell-completion-pdb-string-code)
291 (python-shell-completion-setup-code)
292 (python-shell-completion-string-code)
293 (python-shell-enable-font-lock, python-shell-exec-path)
294 (python-shell-extra-pythonpaths)
295 (python-shell-internal-buffer-name, python-shell-interpreter-args)
296 (python-shell-process-environment)
297 (python-shell-prompt-block-regexp)
298 (python-shell-prompt-output-regexp)
299 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
300 (python-shell-send-setup-max-wait, python-shell-setup-codes)
301 (python-shell-virtualenv-path): New defcustoms.
302 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
303 (inferior-python-mode-syntax-table, python--prompt-regexp)
304 (python-buffer, python-command python-python-command)
305 (python-default-template, python-imports, python-indent-index)
306 (python-indent-list, python-indent-list-length)
307 (python-mode-running, python-pdbtrack-is-tracking-p)
308 (python-preoutput-continuation, python-preoutput-leftover)
309 (python-preoutput-result, python-preoutput-skip-next-prompt)
310 (python-prev-dir/file, python-recursing)
311 (python-saved-check-command, python-version-checked)
312 (python-which-func-length-limit)
313 (view-return-to-alist): Delete vars.
314 (python-check-custom-command, python-dotty-syntax-table)
315 (python-imenu-index-alist, python-indent-current-level)
316 (python-indent-dedenters, python-indent-levels)
317 (python-nav-beginning-of-defun-regexp)
318 (python-nav-list-defun-positions-cache)
319 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
320 (python-shell-internal-buffer)
321 (python-skeleton-available): New vars.
322 (def-python-skeleton): Delete macro.
323 (python-skeleton-define): New macro.
324 (python-define-auxiliary-skeleton, python-rx): New macros.
325 (python-insert-class): Delete command.
326 (python-skeleton-class): New command.
327 (python-insert-def): Delete command.
328 (python-skeleton-def): New command.
329 (python-insert-for): Delete command.
330 (python-skeleton-for): New command.
331 (python-insert-if): Delete command.
332 (python-skeleton-if): New command.
333 (python-insert-try/except, python-insert-try/finally): Delete commands.
334 (python-skeleton-try): New command.
335 (python-insert-while): Delete command.
336 (python-skeleton-while): New command.
337 (python-backspace): Delete command.
338 (python-indent-dedent-line-backspace): New command.
339 (python-electric-colon): Delete command.
340 (python-indent-electric-colon): New command.
341 (python-guess-indent): Delete command.
342 (python-indent-guess-indent-offset): New command.
343 (python-shift-left): Delete command.
344 (python-indent-shift-left): New command.
345 (python-shift-right): Delete command.
346 (python-indent-shift-right): New command.
347 (python-find-function): Delete command.
348 (python-nav-jump-to-defun): New command.
349 (python-next-statement): Delete command.
350 (python-nav-forward-sentence): New command.
351 (python-previous-statement): Delete command.
352 (python-nav-backward-sentence): New command.
353 (python-fill-paragraph): Delete command.
354 (python-fill-paragraph-function): New command.
355 (python-send-buffer): Delete command.
356 (python-shell-send-buffer): New command.
357 (python-send-defun): Delete command.
358 (python-shell-send-defun): New command.
359 (python-send-region, python-send-region-and-go): Delete commands.
360 (python-shell-send-region)
361 (python-shell-switch-to-shell): New commands.
362 (python-send-string): Delete command.
363 (python-shell-send-string): New command.
364 (python-switch-to-python): Delete command.
365 (python-shell-switch-to-shell): New command.
366 (python-describe-symbol): Delete command.
367 (python-eldoc-at-point): New command.
368 (python--set-prompt-regexp, python-args-to-list)
369 (python-after-info-look, python-check-version)
370 (python-check-comint-prompt, python-find-imports)
371 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
372 (python-unload-function, python-expand-template)
373 (python-maybe-jython, python-preoutput-filter)
374 (python-pdbtrack-get-source-buffer)
375 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
376 (python-pdbtrack-toggle-stack-tracking)
377 (python-pdbtrack-track-stack-file, python-initial-text)
378 (python-first-word, python-comment-line-p, python-send-command)
379 (python-setup-brm, python-sentinel, python-set-proc)
380 (python-skip-out, python-input-filter, python-outdent-p)
381 (python-outline-level, python-backslash-continuation-line-p)
382 (python-end-of-block, python-end-of-statement, python-mark-block)
383 (python-beginning-of-block, python-beginning-of-statement)
384 (python-blank-line-p, python-beginning-of-string)
385 (python-open-block-statement-p): Delete functions.
386 (python-indent-line, python-indent-line-1): Delete functions.
387 (python-indent-line): New function.
388 (python-indentation-levels): Delete function.
389 (python-indent-calculate-levels): New function.
390 (python-proc): Delete function.
391 (python-shell-get-process): New function.
392 (python-send-receive): Delete function.
393 (python-shell-send-string-no-output): New function.
394 (python-module-path): Delete function.
395 (python-ffap-module-path): New function.
396 (python-completion-at-point)
397 (python-symbol-completions): Delete functions.
398 (python-completion-complete-at-point): New function.
399 (python-load-file): Delete function.
400 (python-shell-send-file): New function.
401 (python-calculate-indentation): Delete function.
402 (python-indent-calculate-indentation): New function.
403 (python-skip-comments/blanks): Delete function.
404 (python-util-forward-comment): New function.
405 (python-continuation-line-p): Delete function.
406 (python-info-continuation-line-p): New function.
407 (python-which-func, python-current-defun): Delete function.
408 (python-info-current-defun): New function.
409 (python-beginning-of-defun): Delete function.
410 (python-nav-beginning-of-defun): New function.
411 (python-close-block-statement-p)
412 (python-block-end-p): Delete function.
413 (python-info-closing-block): New function.
414 (python-comint-output-filter-function)
415 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
416 (python-fill-comment, python-fill-decorator, python-fill-paren)
417 (python-fill-string, python-imenu-make-element-tree)
418 (python-imenu-make-tree, python-imenu-tree-assoc)
419 (python-indent-context, python-indent-dedent-line)
420 (python-indent-line-function)
421 (python-indent-post-self-insert-function)
422 (python-indent-toggle-levels)
423 (python-info-assignment-continuation-line-p)
424 (python-info-beginning-of-backlash)
425 (python-info-block-continuation-line-p)
426 (python-info-closing-block-message)
427 (python-info-line-ends-backslash-p)
428 (python-info-looking-at-beginning-of-defun)
429 (python-info-ppss-context, python-info-ppss-context-type)
430 (python-nav-list-defun-positions, python-nav-read-defun)
431 (python-nav-sentence-end, python-nav-sentence-start)
432 (python-pdbtrack-comint-output-filter-function)
433 (python-pdbtrack-set-tracked-buffer)
434 (python-shell-calculate-exec-path)
435 (python-shell-calculate-process-environment)
436 (python-shell-completion--do-completion-at-point)
437 (python-shell-completion--get-completions)
438 (python-shell-completion-complete-at-point)
439 (python-shell-completion-complete-or-indent)
440 (python-shell-get-or-create-process)
441 (python-shell-get-process-name)
442 (python-shell-internal-get-or-create-process)
443 (python-shell-internal-get-process-name)
444 (python-shell-internal-send-string, python-shell-make-comint)
445 (python-shell-parse-command, python-shell-send-setup-code)
446 (python-skeleton-add-menu-items)
447 (python-util-clone-local-variables, python-util-position)
448 (run-python-internal, python-indentation-levels)
449 (python-nav-beginning-of-defun)
450 (python-completion-complete-at-point): New functions.
451 (run-python): Change arguments. New API requirements.
453 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
455 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
458 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
459 (macroexp--expand-all): Use it.
461 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
462 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
463 Use `cl-function' instead.
465 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
467 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
468 Suggested by Stefan Monnier while discussing bug#11657.
470 2012-06-14 Sam Steingold <sds@gnu.org>
472 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
474 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
476 * play/doctor.el (doctor-doc): Remove parameter and use
477 doctor-sent instead of sent.
478 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
480 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
482 * files.el: Require cl-lib.
483 (file-name-non-special): Replace case -> cl-case.
485 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
487 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
488 mapping from #' to function*.
490 2012-06-13 Chong Yidong <cyd@gnu.org>
492 * mouse.el (mouse-drag-track): Do not set the mark if the user
493 releases the mouse without selecting anything (Bug#11588).
495 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
497 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
500 * loadup.el: Count byte-code functions as well.
502 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
503 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
505 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
506 (bug#11649). Add cl-defun and cl-defmacro.
508 2012-06-13 Drew Adams <drew.adams@oracle.com>
510 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
513 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
515 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
516 Otherwise, it blocks in batch mode.
518 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
520 * help-mode.el (bookmark-make-record-default): Declare.
522 2012-06-13 Chong Yidong <cyd@gnu.org>
524 * emacs-lisp/package.el (list-packages): Compute a list of
525 packages that are newly-available since the last list-packages
527 (package-menu--new-package-list): New var.
528 (package-menu--generate, package-menu--print-info)
529 (package-menu--status-predicate, package-menu-mark-install):
530 Handle new status label "new".
532 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
534 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
535 conversion to backquotes.
537 2012-06-12 Chong Yidong <cyd@gnu.org>
539 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
540 Rename from gud-inhibit-global-bindings.
542 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
544 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
545 hook from nxml-glyph-set-hook.
547 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
550 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
552 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
553 Convert to defcustom.
555 2012-06-12 Drew Adams <drew.adams@oracle.com>
557 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
559 (help-mode): Use them.
561 2012-06-11 Glenn Morris <rgm@gnu.org>
563 * progmodes/fortran.el (fortran-font-lock-keywords-3):
564 Use preprocessor face for directives.
565 (fortran-directive-re): Doc fix.
567 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
569 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
570 conversion to backquotes (bug#11652).
572 Fix compiler-expansion of CL's cXXr functions (bug#11673).
573 * emacs-lisp/cl-lib.el (cl--defalias): New function.
574 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
575 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
576 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
577 (cl-ninth, cl-tenth): Mark them as inlinable.
578 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
579 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
580 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
581 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
582 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
583 (cl-list*, cl-adjoin): Don't put an autoload manually.
584 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
585 (cl--compiler-macro-list*): Add autoload cookie.
586 (cl--compiler-macro-cXXr): New function.
588 * help-fns.el (help-fns--compiler-macro): New function extracted from
589 describe-function-1; follow aliases and use `compiler-macro' property.
590 (describe-function-1): Use it.
592 2012-06-11 Chong Yidong <cyd@gnu.org>
594 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
595 is uninstalled, if imagemagick is installed.
597 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
599 * emacs-lisp/cl-lib.el: Use lexical-binding.
600 (cl-map-extents, cl-maclisp-member): Remove.
601 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
602 (cl--set-substring, cl--block-wrapper, cl--block-throw)
603 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
604 * emacs-lisp/cl-extra.el: Use lexical-binding.
605 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
606 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
607 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
608 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
609 * emacs-lisp/cl-seq.el: Use lexical-binding.
610 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
611 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
612 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
613 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
614 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
617 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
619 Sync with Tramp 2.2.6-pre.
621 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
622 `print-length' and `print-level' to nil, in order to avoid
623 truncation. Reported by Christopher Schmidt
624 <christopher@ristopher.com>.
626 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
628 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
630 (tramp-compat-copy-directory): Add optional argument
631 COPY-CONTENTS. It is not handled yet.
633 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
634 (tramp-ftp-file-name-p): Simplify.
636 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
637 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
640 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
641 (tramp-methods): Do not use `tramp-password-end-of-line'.
642 (tramp-completion-function-alist-putty): Handle UNIX case.
643 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
644 (tramp-do-file-attributes-with-stat)
645 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
646 gid as real numbers. They could run out of integer range on cygwin.
647 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
648 (tramp-sh-handle-expand-file-name): Handle hops.
649 (tramp-open-connection-setup-interactive-shell):
650 Use `tramp-cleanup'. Move check for busyboxes ...
651 (tramp-find-shell): ... here. Simplify implementation.
652 Set "remote-shell" property also for alternative shells.
653 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
654 If failing, a regular file would be written otherwise.
655 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
656 (tramp-find-inline-encoding): Cache the coding commands in the
657 process cache. Apply test command on the remote side, if defined.
658 (tramp-find-inline-compress): Cache the compress commands in the
660 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
661 when requested. Handle hops.
662 (tramp-current-connection): New defvar.
663 (tramp-maybe-open-connection): Use `tramp-cleanup'.
664 Throw `suppress', if there was a failed connection shortly before.
665 Handle user interrupt. (Bug#10187)
666 (tramp-get-inline-compress, tramp-get-inline-coding):
667 Read connection properties from the process cache.
669 * net/tramp-smb.el (tramp-smb-server-version)
670 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
672 (tramp-smb-prompt): Extend for powershell prompt.
673 (tramp-smb-file-name-handler-alist): Add handlers for
674 `process-file', `shell-command' and `start-file-process'.
675 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
676 (tramp-smb-winexe-shell-command-switch): New defcustoms.
677 (tramp-smb-file-name-p): Simplify.
678 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
679 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
680 (tramp-smb-shell-quote-argument): New defuns.
681 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
682 Implement using "tar". By this, time-stamps are preserved.
683 (tramp-smb-handle-copy-file): Handle also the case of directories.
684 (tramp-smb-do-file-attributes-with-stat)
685 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
686 Use `tramp-get-connection-buffer').
687 (tramp-smb-handle-rename-file): Use "rename", when source and
688 target are on the same share.
689 (tramp-smb-maybe-open-connection): Handle wrong passwords.
690 Use `tramp-smb-server-version'.
691 (tramp-smb-wait-for-output): Remove prompt.
693 * net/tramp.el (top): Require 'cl.
694 (tramp-methods, tramp-rsh-end-of-line):
695 Remove `tramp-password-end-of-line' from docstring.
696 (tramp-save-ad-hoc-proxies): New defcustom.
697 (tramp-completion-function-alist): Adapt docstring.
698 (tramp-default-password-end-of-line): Remove defcustom.
699 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
700 (tramp-user-regexp, tramp-file-name-regexp-unified)
701 (tramp-file-name-regexp-url): Extend regexp by hop separator.
702 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
703 (tramp-remote-file-name-spec-regexp): New defconst.
704 (tramp-file-name-structure): Extend structure for hops.
705 (tramp-get-method-parameter): Move up.
706 (tramp-file-name-p, tramp-dissect-file-name)
707 (with-parsed-tramp-file-name): Handle hops.
708 (tramp-file-name-hop): New defun.
709 (tramp-make-tramp-file-name): New optional arg HOP.
710 (tramp-message-show-progress-reporter-message): New defvar.
711 (tramp-with-progress-reporter): Use it. We cannot use
712 `tramp-message-show-message' here, because this suppresses also
714 (tramp-error-with-buffer): Suppress buffer view, if
715 `tramp-message-show-message' is nil.
716 Use `tramp-get-connection-buffer'.
717 (tramp-cleanup): New defun.
718 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
719 (tramp-file-name-handler): If `debug-on-error' is set, propagate
721 (tramp-completion-handle-file-name-all-completions): Handle hops.
722 Fix an error when called from ido.
723 (tramp-completion-dissect-file-name): Use better local variable
724 name. Add hop to the vector.
725 (tramp-handle-insert-file-contents): Use progress-reporter for the
727 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
729 (tramp-check-for-regexp): Simplify search.
730 (tramp-enter-password): Remove it. Move implementation ...
731 (tramp-action-password): ... here.
732 (tramp-mode-string-to-int, tramp-local-host-p)
733 (tramp-make-tramp-temp-file, tramp-read-passwd)
734 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
735 Set tramp-autoload cookie.
737 * net/trampver.el: Update release number.
739 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
740 Michael Albinus <michael.albinus@gmx.de>
742 * net/tramp.el (tramp-set-completion-function): Fix docstring.
743 (tramp-parse-group, tramp-parse-file)
744 (tramp-parse-shostkeys-sknownhosts): New defuns.
745 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
746 (tramp-parse-shosts-group, tramp-parse-sconfig)
747 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
748 (tramp-parse-sknownhosts, tramp-parse-hosts)
749 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
751 (tramp-parse-passwd-group, tramp-parse-netrc-group)
752 (tramp-parse-putty-group): Don't narrow.
753 (tramp-parse-putty): Make a loop.
754 (tramp-file-name-handler): Catch the `suppress' signal.
756 2012-06-11 Chong Yidong <cyd@gnu.org>
758 * image.el (imagemagick-register-types): Put the ImageMagick entry
759 at the end of image-type-file-name-regexps.
761 2012-06-11 Johan Bockgård <bojohan@gnu.org>
763 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
764 (pcase, pcase-let*, pcase-dolist): Use them.
766 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
768 * emacs-lisp/pcase.el (pcase--let*): New function.
769 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
770 (pcase--expand): Use macroexp-let².
772 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
774 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
775 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
776 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
777 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
778 * emacs-lisp/derived.el: Use pcase instead of `cl'.
779 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
781 2012-06-10 Glenn Morris <rgm@gnu.org>
783 * mail/rmail.el (rmail-yank-current-message): Leave point at
784 correct position. (Bug#11660)
786 2012-06-10 Chong Yidong <cyd@gnu.org>
788 * allout-widgets.el: Fix code header.
790 2012-06-10 Chong Yidong <cyd@gnu.org>
792 * cus-edit.el (customize-changed-options-previous-release):
795 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
797 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
799 2012-06-09 Chong Yidong <cyd@gnu.org>
801 * ebuff-menu.el (electric-buffer-list): Preserve header line.
803 2012-06-09 Martin Rudalics <rudalics@gmx.at>
805 * window.el (special-display-popup-frame): Don't use
806 window--display-buffer (Bug#11651).
808 2012-06-09 Eli Zaretskii <eliz@gnu.org>
810 Fix parallel builds: make sure loaddefs.el is not being written
811 while Lisp files are compiled.
812 (compile): Don't depend on 'mh-autoloads'.
813 (compile-CMD, compile-SH): Depend on 'autoloads'.
814 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
816 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
818 2012-06-09 Chong Yidong <cyd@gnu.org>
820 * face-remap.el (face-remap-add-relative, face-remap-set-base)
821 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
822 Doc fixes (Bug#11225).
824 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
826 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
827 a function if there's a clear indication that it has a compiler-macro.
828 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
829 (macro-declarations-alist): Add arglist to declaration functions.
830 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
831 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
832 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
833 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
834 Also add autoload to find the compiler macro.
835 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
836 (cl--compiler-macro-member, cl--compiler-macro-assoc)
837 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
838 (cl--compiler-macro-get): New functions, replacing calls to
839 cl-define-compiler-macro.
840 (cl-typep) [compiler-macro]: Use macroexp-let².
842 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
844 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
845 string properly, fixes Bug#11473.
847 2012-06-08 Chong Yidong <cyd@gnu.org>
849 * faces.el (set-face-attribute): Doc fix.
850 (modify-face): Don't use :bold and :italic.
851 (error, warning, success): Tweak definitions.
853 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
854 (custom-modified, custom-set, custom-changed, custom-themed)
855 (custom-saved, custom-button, custom-button-mouse)
856 (custom-button-pressed, custom-state, custom-comment-tag)
857 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
858 (custom-group-subtitle): Use new-style face specs.
859 (custom-invalid-face, custom-rogue-face, custom-modified-face)
860 (custom-set-face, custom-changed-face, custom-saved-face)
861 (custom-button-face, custom-button-pressed-face)
862 (custom-documentation-face, custom-state-face)
863 (custom-comment-face, custom-comment-tag-face)
864 (custom-variable-tag-face, custom-variable-button-face)
865 (custom-face-tag-face, custom-group-tag-face-1)
866 (custom-group-tag-face): Remove obsolete face alias.
868 * epa.el (epa-validity-high, epa-validity-medium)
869 (epa-validity-low, epa-mark, epa-field-name, epa-string)
870 (epa-field-name, epa-field-body):
871 * font-lock.el (font-lock-comment-face, font-lock-string-face)
872 (font-lock-keyword-face, font-lock-builtin-face)
873 (font-lock-function-name-face, font-lock-variable-name-face)
874 (font-lock-type-face, font-lock-constant-face):
875 * ido.el (ido-first-match, ido-only-match, ido-subdir)
876 (ido-virtual, ido-indicator, ido-incomplete-regexp):
877 * speedbar.el (speedbar-button-face, speedbar-file-face)
878 (speedbar-directory-face, speedbar-tag-face)
879 (speedbar-selected-face, speedbar-highlight-face)
880 (speedbar-separator-face):
881 * whitespace.el (whitespace-newline, whitespace-space)
882 (whitespace-hspace, whitespace-tab, whitespace-trailing)
883 (whitespace-line, whitespace-space-before-tab)
884 (whitespace-space-after-tab, whitespace-indentation)
886 * emulation/cua-base.el (cua-global-mark):
887 * eshell/em-prompt.el (eshell-prompt):
888 * net/newst-plainview.el (newsticker-new-item-face)
889 (newsticker-old-item-face, newsticker-immortal-item-face)
890 (newsticker-obsolete-item-face, newsticker-date-face)
891 (newsticker-statistics-face, newsticker-default-face):
892 * net/newst-reader.el (newsticker-feed-face)
893 (newsticker-extra-face, newsticker-enclosure-face):
894 * net/newst-treeview.el (newsticker-treeview-face)
895 (newsticker-treeview-new-face, newsticker-treeview-old-face)
896 (newsticker-treeview-immortal-face)
897 (newsticker-treeview-obsolete-face)
898 (newsticker-treeview-selection-face):
899 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
900 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
901 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
902 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
903 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
904 (nxml-outline-active-indicator, nxml-outline-ellipsis):
905 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
907 * progmodes/vera-mode.el (vera-font-lock-number)
908 (vera-font-lock-function, vera-font-lock-interface):
909 * textmodes/table.el (table-cell): Use new-style face specs, and
910 don't use the old :bold and :italic attributes.
912 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
913 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
914 (ebrowse-member-class, ebrowse-progress): Likewise.
915 (ebrowse-tree-mark-face, ebrowse-root-class-face)
916 (ebrowse-file-name-face, ebrowse-default-face)
917 (ebrowse-member-attribute-face, ebrowse-member-class-face)
918 (ebrowse-progress-face): Remove obsolete faces.
920 * progmodes/flymake.el (flymake-errline, flymake-warnline):
921 Inherit from error and warning faces respectively.
923 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
925 (flyspell-incorrect-face, flyspell-duplicate-face):
926 Remove obsolete aliases.
928 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
930 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
933 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
935 * startup.el (argv, argi): Make lexically scoped.
936 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
937 * emacs-lisp/cl-macs.el: Use lexical-binding.
938 Rename cl-bind-* to cl--bind-*.
939 * files.el: Don't require `cl' since it doesn't use it.
940 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
942 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
944 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
945 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
946 instead of calling external sort utility.
947 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
949 2012-06-08 Eli Zaretskii <eliz@gnu.org>
951 * descr-text.el (describe-char): Mention how to insert the
952 character, if the current input method doesn't support it.
953 See the discussion in this thread for the details:
954 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
956 2012-06-08 Sam Steingold <sds@gnu.org>
958 * bindings.el (global-map): Bind XF86Forward to next-buffer and
959 XF86Back to previous-buffer.
960 (minibuffer-local-map): Bind them to next-history-element and
961 previous-history-element respectively.
962 * help-mode.el (help-mode-map): Bind them to help-go-forward and
963 help-go-back respectively.
964 * info.el (Info-mode-map): Bind them to Info-history-forward and
965 Info-history-back respectively.
966 These are the keys next to Up on the ThinkPad keyboard.
968 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
970 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
971 * emacs-lisp/cl-macs.el: Provide itself.
972 (cl--labels-convert-cache): New var.
973 (cl--labels-convert): New function.
974 (cl-flet, cl-labels): New implementation with new semantics, relying on
976 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
977 (cl-closure-vars, cl--function-convert-cache)
978 (cl--function-convert): Move from cl-macs.el.
979 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
980 rename by removing the "cl-" prefix.
981 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
983 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
985 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
986 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
987 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
988 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
989 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
990 (cl-hash-table-count): Add old compatibility aliases.
992 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
993 Use macroexpand-all-environment instead.
994 (cl--old-macroexpand): New var.
995 (cl--sm-macroexpand): New function.
996 (cl-symbol-macrolet): Use it during macro expansion.
997 (cl--function-convert-cache): New var.
998 (cl--function-convert): New function, extracted from
1000 (cl-lexical-let): Use it.
1002 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
1003 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
1004 (cl-member): Remove old alias.
1006 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
1007 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
1008 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
1009 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
1010 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
1011 (cl-macroexpand-cmacs): Remove var.
1012 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
1013 Use macroexpand-all instead.
1015 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1017 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
1018 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
1019 (macroexp-copyable-p): New functions and macros.
1020 * emacs-lisp/edebug.el (edebug-unwrap):
1021 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
1022 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
1023 (pcase--let*): Remove.
1024 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
1025 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
1026 macroexp-const-p instead.
1027 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
1029 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
1030 instead of "cl-" for internal definitions. Use macroexp-const-p.
1031 (cl-old-bc-file-form): Remove var.
1032 (cl-const-exprs-p): Remove fun.
1033 (cl-labels, cl-macrolet): Use backquote.
1034 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
1035 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
1036 (cl-define-setf-expander): Rename from cl-define-setf-method.
1037 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
1039 * international/mule-cmds.el: Don't require CL.
1040 (view-hello-file): Don't use `letf'.
1042 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
1044 * tmm.el (tmm-prompt): Use string-prefix-p.
1045 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
1046 (tmm-add-prompt): Use minibuffer-completion-help.
1047 (tmm-delete-map): Remove.
1049 * subr.el (kbd): Make it its own function.
1051 2012-06-07 Stefan Merten <smerten@oekonux.de>
1053 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
1054 Silence compiler warnings. Fix versions.
1055 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
1056 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
1057 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
1058 (rst-package-emacs-version-alist): Correct Emacs version to
1059 represent major merge with upstream.
1060 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
1062 2012-06-06 Glenn Morris <rgm@gnu.org>
1064 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
1065 Only print environment variables if set.
1067 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1069 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
1070 (macroexp--cons): Rename from maybe-cons.
1071 (macroexp--accumulate): Rename from macroexp-accumulate.
1072 (macroexp--all-forms): Rename from macroexpand-all-forms.
1073 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
1074 (macroexp--expand-all): Rename from macroexpand-all-1.
1076 2012-06-06 Sam Steingold <sds@gnu.org>
1078 * calendar/calendar.el (calendar-in-read-only-buffer):
1079 Call `special-mode' to enable the standard read-only keybindings.
1081 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1083 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
1084 with "loading" messages (bug#11635).
1086 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
1088 * files.el (enable-remote-dir-locals): New option.
1089 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
1091 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
1092 Ensure, that the temp directory is local.
1094 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
1095 `temporary-file-directory'.
1097 * progmodes/python.el (python-send-region): Ensure, that the
1098 temporary file is created also in the remote case.
1100 2012-06-06 Glenn Morris <rgm@gnu.org>
1102 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
1103 (vc-rcs-update-changelog): Use it.
1105 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
1107 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
1108 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
1109 (vc-sccs-diff): Replace use of the external vcdiff script.
1111 2012-06-05 Glenn Morris <rgm@gnu.org>
1113 * ledit.el: Move to obsolete/.
1115 2012-06-05 Sam Steingold <sds@gnu.org>
1117 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
1120 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
1122 * emacs-list/cust-print.el: Move to obsolete.
1124 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
1125 compiler-macro expansion.
1127 Add native compiler-macro support.
1128 * emacs-lisp/macroexp.el (macroexpand-all-1):
1129 Support compiler-macros directly. Properly follow aliases and apply
1130 the compiler macros more thoroughly.
1131 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
1132 macroexpand now properly follows aliases.
1133 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
1134 (cl-compiler-macroexpand): Use new prop.
1135 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
1137 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
1139 2012-06-05 Martin Rudalics <rudalics@gmx.at>
1141 * window.el (get-lru-window, get-mru-window, get-largest-window):
1142 New argument NOT-SELECTED to avoid picking the selected window.
1143 (window--display-buffer-1, window--display-buffer-2): Replace by
1144 new function window--display-buffer
1145 (display-buffer-same-window, display-buffer-reuse-window)
1146 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1147 Use window--display-buffer.
1148 (display-buffer-use-some-window): Remove temporary dedication
1149 hack by calling get-lru-window and get-largest-window with
1150 NOT-SELECTED argument non-nil. Call window--display-buffer.
1152 2012-06-05 Glenn Morris <rgm@gnu.org>
1154 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
1155 Replace external vcdiff script.
1157 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1159 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
1161 2012-06-04 Chong Yidong <cyd@gnu.org>
1163 * image.el (imagemagick-types-inhibit): Revert last change.
1165 (imagemagick-enabled-types): Remove CIN and EPS*.
1167 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1169 * emacs-lisp/cl-lib.el: Rename from cl.el.
1170 * emacs-lisp/cl.el: New compatibility file.
1171 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
1172 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
1173 to obey the "cl-" prefix.
1174 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
1176 2012-06-03 Glenn Morris <rgm@gnu.org>
1178 * emacs-lisp/authors.el (authors-aliases): Addition.
1180 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
1183 2012-06-03 Stefan Merten <smerten@oekonux.de>
1185 * textmodes/rst.el: Add comments.
1186 (rst-transition, rst-adornment): New faces.
1187 (rst-adornment-faces-alist): Make default safe to reevaluate.
1189 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
1190 Improve customization tags.
1191 (rst-define-level-faces): Clarify meaning.
1193 2012-06-03 Chong Yidong <cyd@gnu.org>
1195 * progmodes/compile.el (compilation-mode-line-fail)
1196 (compilation-mode-line-run, compilation-mode-line-exit):
1198 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
1200 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
1202 * progmodes/which-func.el (which-func-update-ediff-windows):
1203 New function. Use it in ediff-select-hook (Bug#11478).
1205 2012-06-03 Chong Yidong <cyd@gnu.org>
1207 * bindings.el: Remove explicit help text from format-mode-line.
1208 It is now supplied by mode-line-default-help-echo.
1209 (mode-line-front-space, mode-line-end-spaces)
1210 (mode-line-misc-info): New variables.
1211 (mode-line-modes, mode-line-position): Move the default value to
1212 the variable definition.
1213 (mode-line-default-help-echo): New defcustom.
1214 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
1215 (mode-line-modified-help-echo): New functions.
1216 (mode-line-mule-info, mode-line-modified): Use them.
1217 (mode-line-eol-desc, propertized-buffer-identification):
1218 Consistency fixes for help text.
1219 (mode-line-coding-system-map): Allow using mouse-3 to invoke
1220 set-buffer-file-coding-system (Bug#289).
1221 (mode-line-mule-info-help-echo): Update help text.
1223 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1225 * simple.el (execute-extended-command): Set real-this-command
1228 2012-06-02 Chong Yidong <cyd@gnu.org>
1230 Remove incorrect uses of "modeline" in comments, docstrings, and
1231 function/variable names (Bug#10329).
1233 * cus-edit.el (mode-line):
1234 * dframe.el (dframe-mouse-hscroll):
1235 * emacs-lisp/re-builder.el:
1236 * emacs-lisp/easy-mmode.el (define-minor-mode):
1237 * frame.el (set-frame-name):
1238 * help.el (lookup-minor-mode-from-indicator):
1239 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
1240 * progmodes/cc-cmds.el (c-toggle-auto-newline)
1241 (c-toggle-hungry-state):
1242 * progmodes/antlr-mode.el (antlr-language-alist):
1243 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
1244 * progmodes/vhdl-mode.el (vhdl-mode):
1245 * progmodes/which-func.el (which-func, which-func-cleanup-function):
1246 * term/ns-win.el (ns-face-at-pos):
1247 * term/sup-mouse.el (sup-mouse-report):
1248 * textmodes/flyspell.el (flyspell-mode-line-string):
1249 * textmodes/ispell.el (ispell-highlight-face):
1250 * textmodes/reftex-global.el:
1251 * vc/vc-arch.el (vc-arch-mode-line-string):
1252 * vc/vc-cvs.el (vc-cvs-mode-line-string):
1253 * vc/vc-git.el (vc-git-mode-line-string):
1254 * vc/vc-hooks.el (vc-display-status)
1255 (vc-default-mode-line-string):
1256 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
1258 * ansi-color.el (ansi-color-faces-vector): Change default faces.
1260 * dired.el (dired-sort-set-mode-line): Rename from
1261 dired-sort-set-modeline. All callers changed.
1263 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
1264 eshell-status-in-modeline.
1266 * foldout.el (foldout-mode-line-string): Rename from
1267 foldout-modeline-string. All callers changed.
1268 (foldout-update-mode-line): Rename from foldout-update-modeline.
1270 * subr.el (redraw-modeline): Make into obsolete alias.
1272 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
1273 timeclock-modeline-display. Make old name an alias.
1274 (timeclock-update-mode-line): Likewise. All callers changed.
1275 (timeclock-mode-line-display): No need to check before using
1277 (timeclock-relative, timeclock-day-over-hook)
1278 (timeclock-use-elapsed, timeclock-mode-string)
1279 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
1281 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
1282 crisp-mode-modeline-string.
1284 * play/solitaire.el (solitaire-build-mode-line): Rename from
1285 solitaire-build-modeline. All callers changed.
1287 * play/zone.el (zone-hiding-mode-line): Rename from
1288 zone-hiding-modeline. All callers changed.
1289 (zone): Remove unusued `modeline-hidden-level' property.
1291 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
1292 xscheme-modeline-initialize. All callers changed.
1294 * strokes.el (strokes-lighter): Rename from
1295 strokes-modeline-string.
1297 * textmodes/sgml-mode.el (html-face-tag-alist)
1298 (html-tag-face-alist): Use mode-line face instead of obsolete
1301 2012-06-02 Stefan Merten <smerten@oekonux.de>
1303 * textmodes/rst.el: Always require `cl'.
1304 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
1306 2012-06-02 Chong Yidong <cyd@gnu.org>
1308 * image.el (imagemagick-enabled-types): Rename from
1309 imagemagick-types-enable. Add many more types.
1310 (imagemagick-types-inhibit): Change default to nil.
1311 (imagemagick-filter-types): Caller changed.
1313 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1315 * emacs-lisp/cl-macs.el: Use backquotes.
1316 (cl-transform-function-property): Use eval-and-compile rather than
1318 (defstruct): Use declare-function instead of with-no-warnings.
1320 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
1321 (byte-compile-output-docform): Re-add the print-circle bindings.
1322 (byte-compile-fix-header): Use #$ just because it's shorter.
1323 (byte-compile-output-file-form): Remove defun/defmacro.
1325 2012-06-01 Martin Rudalics <rudalics@gmx.at>
1327 * simple.el (choose-completion): Remove now obsolete binding for
1330 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
1332 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
1333 in order to avoid "Stack overflow in regexp matcher".
1335 2012-05-31 Glenn Morris <rgm@gnu.org>
1337 * image.el: For clarity, call imagemagick-register-types at
1338 top-level, rather than relying on a custom :initialize.
1339 (imagemagick-types-enable): New option. (Bug#11557)
1340 (imagemagick-filter-types): New function. (Bug#7406)
1341 (imagemagick-register-types): Use imagemagick-filter-types.
1342 If disabling support, remove elements altogether rather
1343 than using an impossible regexp.
1344 (imagemagick-types-inhibit): Give it the default init function.
1346 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1348 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
1349 Handle arbitrary file name lengths (Bug#11585).
1351 2012-05-31 Martin Rudalics <rudalics@gmx.at>
1353 * desktop.el (desktop-read): Clear previous and next buffers for
1354 all windows and bury *Messages* buffer (bug#11556).
1356 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1358 Add `declare' for `defun'. Align `defmacro's with it.
1359 * emacs-lisp/easy-mmode.el (define-minor-mode)
1360 (define-globalized-minor-mode): Don't autoload the var definitions.
1361 * emacs-lisp/byte-run.el: Use lexical-binding.
1362 (defun-declarations-alist, macro-declarations-alist): New vars.
1363 (defmacro, defun): Use them.
1364 (make-obsolete, define-obsolete-function-alias)
1365 (make-obsolete-variable, define-obsolete-variable-alias):
1367 (macro-declaration-function): Mark obsolete.
1368 * emacs-lisp/autoload.el: Use lexical-binding.
1369 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
1371 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1373 * textmodes/ispell.el (ispell-with-no-warnings):
1375 (ispell-kill-ispell, ispell-change-dictionary):
1376 Use `called-interactively-p' for Emacs instead of obsolete
1379 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1381 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
1382 (macro-declaration-function): Move var from C code.
1383 (macro-declaration-function): Define function with defalias.
1384 * emacs-lisp/macroexp.el (macroexpand-all-1):
1385 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
1386 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
1387 defun/defmacro any more.
1388 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
1389 Provide fallback for unknown arglist.
1390 (byte-compile-arglist-warn): Change calling convention.
1391 (byte-compile-output-file-form): Move print-vars binding.
1392 (byte-compile-output-docform): Simplify accordingly.
1393 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
1394 (byte-compile-defmacro-declaration): Remove.
1395 (byte-compile-file-form-defmumble): Generalize to defalias.
1396 (byte-compile-output-as-comment): Return byte-positions.
1397 Simplify callers accordingly.
1398 (byte-compile-lambda): Use `assert'.
1399 (byte-compile-defun, byte-compile-defmacro): Remove.
1400 (byte-compile-file-form-defalias):
1401 Use byte-compile-file-form-defmumble.
1402 (byte-compile-defalias-warn): Remove.
1404 2012-05-29 Stefan Merten <smerten@oekonux.de>
1406 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
1407 possible. Fix authors. Improve comments. Improve loading of `cl'.
1409 (rst-mode-abbrev-table): Merge definition.
1410 (rst-mode): Make sure `font-lock-defaults' is buffer local.
1411 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
1413 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
1415 * calendar/icalendar.el
1416 (icalendar-export-region): Export UID properly.
1418 2012-05-29 Leo <sdl.web@gmail.com>
1419 * calendar/icalendar.el (icalendar-import-format):
1420 Add `icalendar-import-format-uid' (Bug#11525).
1421 (icalendar-import-format-uid): New.
1422 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
1425 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1427 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
1428 different alternative patterns.
1429 (pcase-codegen): Be more careful to preserve identity.
1430 (pcase--u1): Don't forget to mark vars as used.
1432 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
1433 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
1434 (byte-compile-from-buffer): ...rather than here.
1436 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
1437 functions from byte-compile-function-environment.
1439 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
1441 * window.el (window-deletable-p): Avoid deleting the root window
1442 of a frame with an active minibuffer.
1444 2012-05-29 Martin Rudalics <rudalics@gmx.at>
1446 * simple.el (choose-completion): Use quit-window (Bug#11567).
1448 2012-05-29 Chong Yidong <cyd@gnu.org>
1450 * whitespace.el (whitespace-cleanup): Fix usage of
1451 whitespace-empty-at-bob-regexp (Bug#11492).
1453 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1455 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
1458 2012-05-29 Juri Linkov <juri@jurta.org>
1460 * isearch.el (isearch-mode-map): Bind `M-s _' to
1461 `isearch-toggle-symbol'. Bind `M-s c' to
1462 `isearch-toggle-case-fold'.
1463 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1464 (isearch-forward): Add `M-s _' to the docstring.
1465 (isearch-forward-symbol, isearch-toggle-case-fold)
1466 (isearch-symbol-regexp): New functions. (Bug#11381)
1468 2012-05-29 Juri Linkov <juri@jurta.org>
1470 * isearch.el (isearch-word): Add docstring. (Bug#11381)
1471 (isearch-occur, isearch-search-and-update): If `isearch-word' is
1472 a function, call it to get the regexp.
1473 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1474 property `isearch-message-prefix' instead of the string "word ".
1475 (isearch-search-fun-default): For the case of `isearch-word',
1476 return a lambda that calls re-search-forward/re-search-backward
1477 with a regexp returned by `word-search-regexp' or by the function
1480 2012-05-29 Juri Linkov <juri@jurta.org>
1482 * isearch.el (isearch-search-fun-default): New function.
1483 (isearch-search-fun): Move default part to the new function
1484 `isearch-search-fun-default'.
1485 (isearch-search-fun-function): Set the default value to
1486 `isearch-search-fun-default'. (Bug#11381)
1488 * comint.el (comint-history-isearch-end):
1489 Use `isearch-search-fun-default'.
1490 (comint-history-isearch-search): Use `isearch-search-fun-default'
1491 and remove spacial case for `isearch-word'.
1492 (comint-history-isearch-wrap): Remove spacial case for
1495 * hexl.el (hexl-isearch-search-function):
1496 Use `isearch-search-fun-default'.
1498 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1499 Use `word-search-regexp' for `isearch-word'.
1501 * misearch.el (multi-isearch-search-fun):
1502 Use `isearch-search-fun-default'.
1504 * simple.el (minibuffer-history-isearch-search):
1505 Use `isearch-search-fun-default' and remove spacial case for
1507 (minibuffer-history-isearch-wrap): Remove spacial case for
1510 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1511 Remove spacial case for `isearch-word'.
1512 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1514 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1516 Decrease XEmacs incompatibilities.
1517 * textmodes/flyspell.el (flyspell-check-pre-word-p):
1519 (flyspell-delete-region-overlays): Use alternative definition for
1521 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1522 (flyspell-word): Use `process-kill-without-query' if XEmacs.
1523 (flyspell-mode-on): Use `interactive-p' if XEmacs.
1524 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1525 `define-obsolete-face-alias' under XEmacs, but old method.
1527 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1528 `with-no-warnings' definition or Emacs alias.
1529 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1530 (ispell-word): Do not use `region-p' if XEmacs.
1532 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1534 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1535 Check for `ispell-dictionary-base-alist' instead of full
1536 `ispell-dictionary-alist'.
1537 (ispell-init-process): Show spellchecker when starting new Ispell
1540 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1542 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1543 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1545 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
1547 * version.el (motif-version-string, gtk-version-string)
1548 (ns-version-string): Declare.
1550 2012-05-27 Juri Linkov <juri@jurta.org>
1552 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1553 after the `eval-defun-1' specialcaseing
1554 like in `edebug-eval-defun' (bug#10181).
1556 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1557 like in `eval-defun-1'.
1559 2012-05-27 Eli Zaretskii <eliz@gnu.org>
1561 * mail/sendmail.el (mail-yank-region):
1562 Recognize rmail-yank-current-message in addition to insert-buffer.
1563 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
1564 a *mail* buffer created through rmail-start-mail with sendmail as
1567 2012-05-27 Chong Yidong <cyd@gnu.org>
1569 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1570 Default to 256 (Bug#11267).
1572 * help.el (describe-mode): Doc fix.
1574 2012-05-26 Glenn Morris <rgm@gnu.org>
1576 * w32-fns.el (w32-init-info): Remove.
1577 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1579 * info.el (info-initialize): For self-contained NS builds, put the
1580 included info/ directory at the front. (Bug#2791)
1582 * paths.el (Info-default-directory-list): Make it a defcustom,
1583 mainly so that we can use custom-initialize-delay.
1585 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1587 * subr.el (buffer-has-markers-at): Mark obsolete.
1589 * subr.el (lambda): Use declare.
1591 * emacs-lisp/lisp-mode.el (lambda):
1592 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1594 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1596 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
1598 2012-05-26 Glenn Morris <rgm@gnu.org>
1600 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1602 2012-05-25 Glenn Morris <rgm@gnu.org>
1604 * paths.el: Remove no-byte-compile.
1605 * loadup.el: No need to load paths.el uncompiled.
1607 * image.el (imagemagick-types-inhibit): Doc fix.
1609 * version.el: Remove no-byte-compile and associated formatting.
1610 * loadup.el: No need to load version.el uncompiled. AFAICS, this
1611 is ancient code from when there was an "inc-vers.el".
1613 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1615 * progmodes/gdb-mi.el: Minor style changes.
1616 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1617 Turn into minor modes.
1618 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1619 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1620 (gdb-shell): Remove unneeded let-binding.
1621 (gdb-get-many-fields): Eliminate O(n²) behavior.
1623 2012-05-25 Eli Zaretskii <eliz@gnu.org>
1625 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1626 platforms that don't link in fontset.c.
1628 2012-05-25 Juri Linkov <juri@jurta.org>
1630 Use the same diff color scheme as in modern VCSes (bug#10181).
1632 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1633 to avoid confusion with `diff-added' that now uses green colors.
1634 (diff-removed): Use shades of red.
1635 (diff-added): Use shades of green.
1636 (diff-changed): Leave just the yellow color.
1637 (diff-use-changed-face): New variable.
1638 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1639 how to highlight context diff changes.
1640 (diff-refine-change): Use shades of yellow.
1641 (diff-refine-removed): New face that uses shades of red.
1642 (diff-refine-added): New face that uses shades of green.
1643 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1644 `diff-refine-removed' in the call to `smerge-refine-subst'
1645 depending on the value of `diff-use-changed-face'.
1647 * vc/smerge-mode.el (smerge-mine): Use shades of red.
1648 (smerge-other): Use shades of green.
1649 (smerge-base): Use shades of yellow.
1650 (smerge-refined-change): Empty face.
1651 (smerge-refined-removed): New face that uses shades of red.
1652 (smerge-refined-added): New face that uses shades of green.
1653 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
1654 args `props-r' and `props-a', and use them. Doc fix.
1655 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1656 on its value use different faces `smerge-refined-change',
1657 `smerge-refined-removed', `smerge-refined-added' in the call to
1658 `smerge-refine-subst'.
1660 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1661 Add face condition `min-colors 88' with shades of red.
1662 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1663 `min-colors 88' with shades of green.
1664 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1665 `min-colors 88' with shades of yellow.
1667 2012-05-24 Glenn Morris <rgm@gnu.org>
1669 * paths.el (prune-directory-list, remote-shell-program): Move to...
1670 * files.el (prune-directory-list, remote-shell-program): ...here.
1671 For the latter, delay initialization, prefer ssh, just search PATH.
1673 * paths.el (term-file-prefix): Move to faces.el (the only user).
1674 * faces.el (term-file-prefix): Move here, make it a defcustom.
1676 * paths.el (news-directory, news-path, news-inews-program):
1677 Move to gnus/nnspool.el.
1679 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
1681 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
1682 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
1683 Make the latter a defcustom, with a delayed initialization.
1685 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
1686 These were deleted from Gnus itself late 2010.
1688 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
1690 * progmodes/which-func.el (which-func-ff-hook):
1691 Check against user-error, not error.
1693 * emacs-lisp/edebug.el (top): Do not load or set up loading of
1694 cl-specs.el, which no longer exists.
1696 2012-05-22 Glenn Morris <rgm@gnu.org>
1698 * info.el (info-emacs-bug): New command.
1699 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
1700 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
1702 2012-05-21 Glenn Morris <rgm@gnu.org>
1704 * makefile.w32-in (update-subdirs-SH):
1705 * Makefile.in (update-subdirs): Update for moved update-subdirs.
1707 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1709 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
1711 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1712 Simplify Maven regexp, and make sure the file can't start with a space
1715 2012-05-21 Glenn Morris <rgm@gnu.org>
1717 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1718 Scrap superfluous subshells.
1720 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
1722 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
1723 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
1725 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
1727 * calc/calc.el (calc-ensure-consistent-units): New variable.
1729 * calc/calc-units.el (math-consistent-units-p)
1730 (math-check-unit-consistency): New functions.
1731 (calc-quick-units, calc-convert-units):
1732 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
1734 (calc-extract-units): Fix typo.
1736 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1738 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
1740 * textmodes/flyspell.el: Commenting style, plus code simplifications.
1741 (flyspell-default-deplacement-commands): Don't spell check after
1742 repeated window/frame switches (e.g. triggered by mouse-movement).
1743 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
1744 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
1745 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
1746 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
1748 (flyspell-get-casechars, flyspell-get-not-casechars):
1749 Simplify; Don't bother removing a ] just to add it back.
1750 * textmodes/ispell.el (ispell-program-name): Use executable-find.
1752 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1754 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
1756 (math-function-table): Add support for more C functions.
1758 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1760 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1761 (flyspell-debug-signal-word-checked): Protect delay handling for
1762 otherchars against empty otherchars.
1764 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1766 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1767 their respective macro declarations.
1768 * skeleton.el (define-skeleton):
1769 * progmodes/compile.el (define-compilation-mode):
1770 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1771 (define-ibuffer-filter):
1772 * emacs-lisp/generic.el (define-generic-mode):
1773 * emacs-lisp/easy-mmode.el (define-minor-mode)
1774 (define-globalized-minor-mode):
1775 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1776 * emacs-lisp/byte-run.el (defsubst):
1777 * custom.el (deftheme): Add doc-string metadata.
1779 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1781 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1783 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1785 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1787 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1788 * emacs-lisp/cl-macs.el: Idem.
1789 * emacs-lisp/cl-specs.el: Remove.
1791 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1793 Minor renaming of internal CL functions and variables.
1794 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1795 (cl--position): Rename from cl-position.
1796 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1797 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1798 (cl--random-state): Rename from *random-state*.
1800 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1802 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1803 parens around the arg list (bug#11499).
1805 2012-05-17 Juri Linkov <juri@jurta.org>
1807 * isearch.el (word-search-regexp, word-search-backward)
1808 (word-search-forward, word-search-backward-lax)
1809 (word-search-forward-lax): Move functions from search.c
1810 (bug#10145, bug#11381).
1812 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1814 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1815 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1816 normal word components.
1818 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1820 * minibuffer.el (completion--sifn-requote): Fix last change.
1821 (minibuffer-local-must-match-filename-map):
1822 Move define-obsolete-variable-alias before its var.
1824 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1826 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1828 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1830 (completion--string-equal-p): New function.
1831 (completion--twq-all): Use it to get better assertion failure data.
1833 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1834 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1835 (shell--requote-argument): New functions.
1836 (shell-completion-vars): Use them.
1837 (shell--parse-pcomplete-arguments): Rename from
1838 shell-parse-pcomplete-arguments.
1839 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1840 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1841 Obey comint-file-name-quote-list.
1843 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1844 (smie-indent-keyword): Use it.
1846 2012-05-14 Stefan Merten <smerten@oekonux.de>
1848 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1850 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
1852 * net/rlogin.el (rlogin-mode-map): Fix last change.
1854 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
1856 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1857 the following \r\n using a single `process-send-string', since the
1858 Lotus SMTP server refuses to accept any commands if they are sent
1859 with two `process-send-string's (Bug#11444).
1861 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
1863 * shell.el (shell-parse-pcomplete-arguments):
1864 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
1866 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1868 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
1869 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1870 (image-transform-width, image-transform-fit-width): New functions.
1871 (image-transform-properties): Use them.
1872 (image-transform-check-size): New function.
1873 (image-toggle-display-image): Use it (for testing).
1874 (image-transform-set-rotation): Reduce angle mod 360.
1875 Delete obsolete comment.
1877 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1879 * image-mode.el: Fix scaling (bug#11399).
1880 (image-transform-resize): Doc fix.
1881 (image-transform-properties): Default scale is 1 and height should
1884 2012-05-13 Johan Bockgård <bojohan@gnu.org>
1886 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1887 than hard-coding `car', to fix misbehavior when moving forward.
1889 2012-05-13 Chong Yidong <cyd@gnu.org>
1891 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1892 (tabulated-list-entries, tabulated-list-padding)
1893 (tabulated-list-sort-key): Make permanent-local.
1895 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1896 (electric-buffer-list): Put electric buffer menu
1897 command descriptions in this docstring, instead of the docstring
1898 of electric-buffer-menu-mode. Code cleanups.
1899 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1900 Electric-buffer-menu-mode.
1901 (electric-buffer-update-highlight): Minor code cleanup.
1903 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
1905 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1908 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1910 Move define-obsolete-variable-alias before the var's definition.
1911 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1912 * tooltip.el (tooltip-hook):
1913 * textmodes/reftex-toc.el (reftex-toc-map):
1914 * textmodes/reftex-sel.el (reftex-select-label-map)
1915 (reftex-select-bib-map):
1916 * textmodes/reftex-index.el (reftex-index-map)
1917 (reftex-index-phrases-map):
1918 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1919 * progmodes/meta-mode.el (meta-mode-map):
1920 * novice.el (disabled-command-hook):
1921 * loadhist.el (unload-hook-features-list):
1922 * frame.el (blink-cursor):
1923 * files.el (find-file-not-found-hooks, write-file-hooks)
1924 (write-contents-hooks):
1925 * emulation/tpu-edt.el (GOLD-map):
1926 * emacs-lock.el (emacs-lock-from-exiting):
1927 * emacs-lisp/generic.el (generic-font-lock-defaults):
1928 * emacs-lisp/chart.el (chart-map):
1929 * dos-fns.el (register-name-alist):
1930 * dired-x.el (dired-omit-files-p):
1931 * desktop.el (desktop-enable):
1932 * cus-edit.el (custom-mode-hook):
1933 * buff-menu.el (buffer-menu-mode-hook):
1934 * bookmark.el (bookmark-read-annotation-text-func)
1935 (bookmark-exit-hooks):
1936 * allout.el (allout-mode-deactivate-hook)
1937 (allout-exposure-change-hook, allout-structure-added-hook)
1938 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1939 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1940 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1941 comes before the corresponding variable's definition.
1943 2012-05-12 Chong Yidong <cyd@gnu.org>
1945 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
1946 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1947 (Buffer-menu-mode-map): Bind it.
1948 (Buffer-menu--pretty-name): Add a mouse-face property.
1950 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1952 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1953 (prolog-upper-case-string, prolog-lower-case-string)
1954 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1955 (prolog-use-smie, prolog-smie-grammar): New vars.
1956 (prolog-smie-forward-token, prolog-smie-backward-token)
1957 (prolog-smie-rules): New funs.
1958 (prolog-comment-indent): Remove.
1959 (prolog-mode-variables): Use default comment indentation instead.
1961 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1962 (prolog-mode): Don't call them any more.
1963 (prolog-electric-colon, prolog-electric-dash)
1964 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1966 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1968 * minibuffer.el (completion--twq-all): Again, allow case differences.
1970 * term.el: Move keymap initialization code to be more idiomatic.
1971 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1972 (term-terminal-menu): Move initialization into declaration.
1973 (term-escape-char): Let the user set it in her .emacs.
1975 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1976 Provide SMIE-based indentation (not enabled by default yet).
1977 (sh-mode-map): Don't bind electric keys.
1978 Use electric-pair-mode instead of skeleton-pair.
1979 (sh-assignment-regexp): Fit within 80 columns.
1980 (sh-indent-supported): Specify actual shell name instead of boolean.
1981 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1982 (sh-maybe-here-document): Use it. Make obsolete.
1983 (sh-electric-here-document-mode) New minor mode.
1984 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1985 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1986 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1987 (sh-smie-rc-grammar, sh-use-smie): New vars.
1988 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1989 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1990 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1991 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1992 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1993 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1994 (sh-set-shell): Use smie-setup if requested.
1996 * term.el (term-set-escape-char): Properly set term-escape-char.
1997 See http://stackoverflow.com/questions/10524656.
1999 2012-05-10 Chong Yidong <cyd@gnu.org>
2001 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
2002 Use url-generic-parse-url, and handle host names and Windows
2004 (ffap-url-unwrap-remote): Use url-generic-parse-url.
2005 (ffap-url-unwrap-remote): Accept list values, specifying a list of
2006 URL schemes to work on.
2007 (ffap--toggle-read-only): New function.
2008 (ffap-read-only, ffap-read-only-other-window)
2009 (ffap-read-only-other-frame): Use it.
2010 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
2011 necessary for ffap-url-unwrap-remote.
2013 2012-05-10 Dave Abrahams <dave@boostpro.com>
2015 * cus-start.el (create-lockfiles): Add it.
2017 2012-05-09 Chong Yidong <cyd@gnu.org>
2019 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
2020 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
2022 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2024 * shell.el (shell-completion-vars): Fix last change (bug#11348).
2026 2012-05-09 Chong Yidong <cyd@gnu.org>
2028 * ansi-color.el (ansi-color-process-output): Check for validity of
2029 comint-last-output-start before using it. This avoids a bad
2030 interaction with gdb-mi's input/output buffer.
2032 2012-05-09 Glenn Morris <rgm@gnu.org>
2034 * files.el (dir-locals-read-from-file):
2035 Mention dir-locals in any error message.
2037 2012-05-09 Chong Yidong <cyd@gnu.org>
2039 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
2040 package (Bug#11410).
2042 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
2043 variables into description.
2045 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
2047 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
2048 shell-delimiter-argument-list (bug#11348).
2049 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
2051 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
2053 * textmodes/rst.el: Silence byte-compiler warnings.
2054 (rst-re-alist, rst-reset-section-caches): Move around.
2055 (rst-re): Use `characterp', not `char-valid-p'.
2056 (font-lock-beg, font-lock-end): Declare.
2058 * progmodes/idlw-shell.el (specs): Remove reference to deleted
2059 variable `idlwave-shell-activate-alt-keybindings' and simplify.
2061 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
2063 2012-05-08 Glenn Morris <rgm@gnu.org>
2065 * files.el (auto-mode-alist): Treat ".make" like ".mk".
2067 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2069 * vc/log-edit.el: Add GNU coding standards highlighting.
2070 (log-edit-font-lock-gnu-style)
2071 (log-edit-font-lock-gnu-keywords): New vars.
2072 (log-edit-font-lock-keywords): New fun.
2073 (log-edit-mode): Don't fold case in font-lock.
2074 (log-edit-font-lock-keywords): Do not assume case-folding.
2076 * imenu.el: Misc cleanup. Make docstrings out of comments.
2077 Use lexical-binding.
2078 (imenu--index-alist, imenu--last-menubar-index-alist)
2079 (imenu-menubar-modified-tick): Use defvar-local.
2080 (imenu--split-menu): Remove unused var.
2081 (imenu--cleanup-seen): Declare as global.
2082 (imenu--cleanup): Use dolist.
2084 * subr.el (defvar-local): Add debug spec and doc-string position.
2086 2012-05-08 Glenn Morris <rgm@gnu.org>
2088 * lisp/language/burmese.el, language/cham.el, language/czech.el:
2089 * language/english.el, language/georgian.el, language/greek.el:
2090 * language/japanese.el, language/khmer.el, language/korean.el:
2091 * language/lao.el, language/misc-lang.el, language/romanian.el:
2092 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
2093 * language/thai.el, language/utf-8-lang.el:
2094 Remove no-byte-compile setting.
2096 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
2098 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2100 * progmodes/make-mode.el (makefile-browse):
2101 Remove unnecessary interactive. (Bug#11324)
2103 2012-05-07 Glenn Morris <rgm@gnu.org>
2105 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
2107 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
2109 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2111 * loadup.el: Preload newcomment.el.
2112 * newcomment.el: Move autoload-only code to toplevel.
2114 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
2115 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
2116 Handle new :right-align column property.
2117 (tabulated-list-print-col): Idem, plus use `display' text-property to
2118 try and preserve alignment for variable pitch fonts.
2120 2012-05-07 Chong Yidong <cyd@gnu.org>
2122 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
2123 (tabulated-list-use-header-line): New var.
2124 (tabulated-list-init-header): Use it.
2125 (tabulated-list-print-fake-header): New function.
2126 (tabulated-list-print): Use it.
2127 (tabulated-list-sort-button-map): Add non-header-line commands.
2128 (tabulated-list-init-header): Add column name property to basic
2130 (tabulated-list-col-sort): Handle non-header-line button case.
2131 (tabulated-list--sort-by-column-name): Fix a corner case.
2133 * buff-menu.el (list-buffers--refresh):
2134 Handle Buffer-menu-use-header-line.
2136 2012-05-06 Chong Yidong <cyd@gnu.org>
2138 * buff-menu.el: Convert to Tabulated List mode.
2139 (Buffer-menu-buffer+size-width): Make obsolete.
2140 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
2141 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
2142 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
2143 documentation into docstring of buffer-menu.
2144 (Buffer-menu-toggle-files-only): Add an informative message.
2145 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
2146 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
2147 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
2148 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
2149 (Buffer-menu-execute, Buffer-menu-select)
2150 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
2151 (Buffer-menu-bury): Use Tabulated List machinery.
2152 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
2153 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
2155 (list-buffers--refresh): New function.
2156 (list-buffers-noselect): Use it.
2157 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
2158 (Buffer-menu--pretty-file-name): New helper functions.
2160 * loadup.el: Preload tabulated-list.
2162 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
2163 tabulated-list-sort-column.
2164 (tabulated-list-init-header): Add the initial aligning space even
2165 if tabulated-list-padding is zero.
2167 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
2169 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
2170 whose cdr is not a cons cell correctly (bug#11038).
2172 2012-05-06 Chong Yidong <cyd@gnu.org>
2174 * emacs-lisp/tabulated-list.el (tabulated-list-format):
2175 Accept additional plist in column descriptors.
2176 (tabulated-list-init-header): Obey it.
2177 (tabulated-list-get-entry): New function.
2178 (tabulated-list-put-tag): Use it. Use string-width instead of
2180 (tabulated-list--column-number): New function.
2181 (tabulated-list-print): Use it.
2182 (tabulated-list-print-col): New function.
2183 Set `tabulated-list-column-name' property on each column's text.
2184 (tabulated-list-print-entry): Use it.
2185 (tabulated-list-delete-entry, tabulated-list-set-col):
2187 (tabulated-list-sort-column): New command (Bug#11337).
2189 * buff-menu.el (list-buffers): Move C-x C-b binding from
2190 buff-menu.el to bindings.el.
2192 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
2193 :advertised-binding feature.
2195 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
2197 * progmodes/compile.el (compilation-internal-error-properties):
2198 Calculate start position correctly when end-col is set but
2199 end-line is not (Bug#11382).
2201 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
2203 * man.el (Man-unindent): Use text-property-default-nonsticky to
2204 prevent untabify from inheriting face properties (Bug#11408).
2206 2012-05-05 Stefan Merten <smerten@oekonux.de>
2208 * textmodes/rst.el: Major merge with upstream development up to
2209 Docutils SVN r7399 / rst.el V1.2.1.
2211 Clarify maintainership and authors.
2213 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
2214 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
2215 (rst-official-version, rst-official-cvs-rev, rst-version)
2216 (rst-package-emacs-version-alist): New functions and variables
2217 for version information.
2219 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
2220 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
2221 (rst-mode-syntax-table, rst-mode): New and corrected functions
2222 and variables representing reStructuredText features.
2224 (rst-re): New function for reStructuredText regexes. Use in
2227 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
2228 (rst-mode-map): Rebind keys.
2230 (rst-mode-lazy, rst-font-lock-keywords)
2231 (rst-font-lock-extend-region)
2232 (rst-font-lock-extend-region-internal)
2233 (rst-font-lock-extend-region-extend)
2234 (rst-font-lock-find-unindented-line-limit)
2235 (rst-font-lock-find-unindented-line-match)
2236 (rst-adornment-level, rst-font-lock-adornment-level)
2237 (rst-font-lock-adornment-match)
2238 (rst-font-lock-handle-adornment-pre-match-form)
2239 (rst-font-lock-handle-adornment-matcher): Major revision of
2240 font-locking. Integrate with other code. Use `jit-lock-mode'.
2242 (rst-preferred-adornments, rst-adjust-hook)
2243 (rst-new-adornment-down, rst-preferred-bullets)
2244 (rst-preferred-bullets, rst-indent, rst-indent-width)
2245 (rst-indent-field, rst-indent-literal-normal)
2246 (rst-indent-literal-minimized, rst-indent-comment): Change,
2247 extend and improve customization.
2249 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2250 (rst-normalize-cursor-position, rst-get-decoration)
2251 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2252 (rst-rstrip, rst-toc-insert-find-delete-contents)
2253 (rst-shift-fill-region, rst-compute-bullet-tabs)
2254 (rst-debug-print-tabs, rst-debug-mark-found)
2255 (rst-shift-region-guts, rst-shift-region-right)
2256 (rst-shift-region-left, rst-use-char-classes)
2257 (rst-font-lock-keywords-function)
2258 (rst-font-lock-indentation-point)
2259 (rst-font-lock-find-unindented-line-begin)
2260 (rst-font-lock-find-unindented-line-end)
2261 (rst-font-lock-find-unindented-line)
2262 (rst-font-lock-adornment-point, rst-font-lock-level)
2263 (rst-adornment-level-alist): Remove functions and variables.
2265 (rst-compare-adornments, rst-get-adornment-match)
2266 (rst-suggest-new-adornment, rst-get-adornments-around)
2267 (rst-adornment-complete-p, rst-get-next-adornment)
2268 (rst-adjust-adornment, rst-display-adornments-hierarchy)
2269 (rst-straighten-adornments): Standardize function names to
2270 use "adornment" instead of "decoration". Correct callers.
2271 Similar standardizing in many places.
2273 (rst-update-section, rst-adjust, rst-promote-region)
2274 (rst-enumerate-region, rst-bullet-list-region)
2275 (rst-repeat-last-character): Correct use of `interactive'.
2277 (rst-classify-adornment, rst-find-all-adornments)
2278 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2279 (rst-find-leftmost-column, rst-repeat-last-character):
2282 (rst-find-title-line, rst-reset-section-caches)
2283 (rst-get-adornments-around, rst-adjust-adornment-work)
2284 (rst-arabic-to-roman, rst-roman-to-arabic)
2285 (rst-insert-list-pos, rst-insert-list-new-item)
2286 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2289 (rst-all-sections, rst-section-hierarchy)
2290 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2293 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2294 configuration instead of only buffer. Change where necessary.
2296 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2297 (rst-shift-region, rst-adaptive-fill): New functions for
2298 indentation and filling.
2300 (rst-comment-line-break, rst-comment-indent)
2301 (rst-comment-insert-comment, rst-comment-region)
2302 (rst-uncomment-region): New functions for handling comments.
2304 (rst-compile): Quote shell arguments.
2306 (rst-compile-pdf-preview, rst-compile-slides-preview):
2307 Delete temporary files after use.
2309 2012-05-05 Glenn Morris <rgm@gnu.org>
2311 * calendar/cal-html.el: Optionally include holidays in the output.
2312 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2313 (cal-html-holidays): New option.
2314 (cal-html-css-default): Add holiday entry.
2315 (holiday-in-range): Autoload it.
2316 (cal-html-htmlify-entry): Add optional class argument.
2317 (cal-html-htmlify-list): Add optional holidays argument.
2318 (cal-html-insert-agenda-days): Include holidays in the output.
2319 (cal-html-one-month): Maybe include holidays.
2321 * calendar/holidays.el (holiday-in-range):
2322 Move here from cal-tex-list-holidays.
2323 * calendar/cal-tex.el (cal-tex-list-holidays):
2324 Make it an obsolete alias for holiday-in-range. Update all callers.
2326 2012-05-05 Chong Yidong <cyd@gnu.org>
2328 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2331 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
2333 * files.el (file-auto-mode-skip): New var.
2334 (set-auto-mode-1): Use it.
2336 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2338 * repeat.el: Use lexical-binding.
2339 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2340 (repeat-undo-count): Remove.
2342 * progmodes/octave-mod.el (octave-abbrev-start):
2343 * progmodes/f90.el (f90-abbrev-start):
2344 * face-remap.el (text-scale-adjust):
2345 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2347 * emacs-lisp/pcase.el (pcase--let*): New function.
2348 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2350 (pcase--split-pred): Be more clever about ruling out overlap between
2351 a predicate and some constant pattern.
2352 (pcase--q1): Use `null' instead of (eq foo nil).
2354 * subr.el (setq-local, defvar-local): New macros.
2355 (kbd): Redefine as an alias.
2356 (with-selected-window): Leave unrelated frames alone.
2357 (set-temporary-overlay-map): New function.
2359 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2361 * subr.el (user-error): New function.
2362 * window.el (switch-to-buffer):
2363 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2364 (smerge-match-conflict):
2365 * simple.el (previous-matching-history-element)
2366 (next-matching-history-element, goto-history-element, undo-more)
2368 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2369 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2370 (next-file, tags-loop-scan, list-tags, complete-tag):
2371 * progmodes/compile.el (compilation-loop):
2372 * mouse.el (mouse-minibuffer-check):
2373 * man.el (Man-bgproc-sentinel, Man-goto-page):
2374 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2375 (Info-history-forward, Info-follow-reference, Info-menu)
2376 (Info-extract-menu-item, Info-extract-menu-counting)
2377 (Info-forward-node, Info-backward-node, Info-next-menu-item)
2378 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2379 (Info-next-reference, Info-prev-reference, Info-index)
2380 (Info-index-next, Info-follow-nearest-node)
2381 (Info-copy-current-node-name):
2382 * imenu.el (imenu--make-index-alist)
2383 (imenu-default-create-index-function, imenu-add-to-menubar):
2384 * files.el (basic-save-buffer, recover-file):
2385 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2386 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2387 (checkdoc-message-text, checkdoc-defun):
2388 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2389 * cus-edit.el (customize-changed-options, customize-rogue)
2390 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2391 (custom-variable-mark-to-reset-standard)
2392 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2394 * completion.el (check-completion-length):
2395 * comint.el (comint-search-arg)
2396 (comint-previous-matching-input-string-position)
2397 (comint-previous-matching-input)
2398 (comint-replace-by-expanded-history-before-point, comint-send-input)
2399 (comint-copy-old-input, comint-backward-matching-input)
2400 (comint-goto-process-mark, comint-set-process-mark):
2401 * calendar/calendar.el (calendar-cursor-to-date): Use it.
2402 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2404 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2406 * dabbrev.el (dabbrev--ignore-case-p): New function.
2407 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2410 * files.el (automount-dir-prefix): Mark as obsolete.
2412 2012-05-04 Glenn Morris <rgm@gnu.org>
2414 * patcomp.el, play/bruce.el: Move to obsolete/.
2416 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
2418 Fix minor Y10k bugs.
2419 * arc-mode.el (archive-unixdate):
2420 * autoinsert.el (auto-insert-alist):
2421 * calc/calc-forms.el (math-this-year):
2422 * emacs-lisp/copyright.el (copyright-current-year)
2423 (copyright-update-year, copyright):
2424 * tar-mode.el (tar-clip-time-string):
2425 * time.el (display-time-update):
2426 Don't assume years have 4 digits.
2428 2012-05-04 Chong Yidong <cyd@gnu.org>
2430 * dos-w32.el (file-name-buffer-file-type-alist)
2431 (direct-print-region-use-command-dot-com):
2432 * ffap.el (ffap-menu-regexp):
2433 * find-file.el (ff-special-constructs):
2434 * follow.el (follow-debug):
2435 * forms.el (forms--debug):
2436 * iswitchb.el (iswitchb-all-frames):
2437 * ido.el (ido-all-frames):
2438 * emacs-lisp/timer.el (timer-max-repeats):
2439 * mail/feedmail.el (feedmail-mail-send-hook)
2440 (feedmail-mail-send-hook-queued):
2441 * mail/footnote.el (footnote-signature-separator):
2442 * mail/mailabbrev.el (mail-alias-separator-string)
2443 (mail-abbrev-mode-regexp):
2444 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
2445 * progmodes/idlwave.el (idlwave-libinfo-file)
2446 (idlwave-default-completion-case-is-down)
2447 (idlwave-library-routines): Convert defvars to defcustoms.
2449 * mail/rmail.el (rmail-decode-mime-charset):
2450 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
2451 (idlwave-shell-fix-inserted-breaks)
2452 (idlwave-shell-activate-alt-keybindings)
2453 (idlwave-shell-use-breakpoint-glyph):
2454 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
2456 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2458 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
2460 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
2462 * progmodes/verilog-mode.el (font-lock-keywords):
2463 Fix mis-highligting auto. Reported by Craig Barner.
2464 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2465 defines from global name space. Reported by Dan Dever.
2466 (verilog-auto-reset, verilog-auto-reset-widths)
2467 (verilog-auto-tieoff): Support using unbased numbers for
2468 AUTORESET and AUTOTIEOFF.
2469 (verilog-submit-bug-report): Update variable list.
2470 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2471 parenthesis from not matching. Reported by Michael Rytting.
2472 (verilog-auto-template-lint): Fix hash error when linting modules
2473 with no used templates.
2474 (verilog-warn, verilog-warn-error)
2475 (verilog-warn-fatal): When non-interactive report multiple
2476 warnings before exiting. Suggested by Brad Dobbie.
2477 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2478 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2479 to report unused template errors. Reported by Brad Dobbie.
2480 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2481 nets, bug438. Reported by Vns Blore.
2482 (verilog-auto-inout-module, verilog-auto-reg)
2483 (verilog-read-decls, verilog-read-sub-decls-sig)
2484 (verilog-signals-edit-wire-reg, verilog-signals-with):
2485 Fix passing of Verilog data types in ANSI input/output ports
2486 such as "output logic" into the AUTOs. Special case "wire" and
2487 "reg" for backwards compatibility presuming Verilog 2001.
2488 (verilog-auto-ascii-enum): Add "auto enum" as alias.
2489 (verilog-preprocess): Fix replication of preprocess output.
2490 Reported by Brad Dobbie.
2491 (verilog-auto-inst-interfaced-ports):
2492 Create verilog-auto-inst-interfaced-ports, bug429.
2493 Reported by Julian Gorfajn.
2494 (verilog-after-save-font-hook)
2495 (verilog-before-save-font-hook): New variable.
2496 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2497 (verilog-save-font-mods): Wrap disabling fontification, reported
2499 (verilog-do-indent, verilog-pretty-declarations-auto)
2500 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2501 Reported by Pierre-David Pfister.
2502 (verilog-set-auto-endcomments): Fix endtask auto comments outside
2503 of class declarations, bug292. Reported by Kevin Heilman.
2504 (verilog-read-decls): Fix 'parameter type' not appearing in
2505 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
2506 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2507 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2508 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2509 Reported by David Kravitz.
2511 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
2513 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2514 assignment with tests in ifs and for loops.
2515 (verilog-extended-complete-re, verilog-complete-reg): Change so
2516 that DPI inport functions don't look like fuction declarations.
2517 (verilog-pretty-expr): Don't line up assignment
2518 operations to the test and increment in if and for loops
2519 (verilog-extended-complete-re, verilog-complete-reg): Change so
2520 that DPI inport functions don't look like fuction declarations
2522 2012-05-03 Kenichi Handa <handa@m17n.org>
2524 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
2525 decoding, and show a warning message without signaling an error
2528 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2530 * emacs-lisp/bytecomp.el
2531 (byte-compile-file-form-custom-declare-variable): Compile all elements,
2532 since cconv.el might have introduced :fun-body, internal-make-closure,
2533 and friends for bytecomp to handle (bug#11391).
2534 * custom.el (defcustom): Avoid ((λ ..) ..).
2536 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2538 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2540 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
2542 * notifications.el (dbus-debug):
2543 * term/linux.el (gpm-mouse-enable):
2544 * term/screen.el (xterm-register-default-colors): Declare.
2546 2012-05-02 Chong Yidong <cyd@gnu.org>
2548 * cus-start.el (gc-cons-percentage, exec-suffixes)
2549 (dos-display-scancodes, dos-hyper-key, dos-super-key)
2550 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2551 (make-cursor-line-fully-visible, void-text-area-pointer)
2552 (font-list-limit): Add customization data.
2554 * allout.el (allout-exposure-change-functions)
2555 (allout-structure-added-functions)
2556 (allout-structure-deleted-functions)
2557 (allout-structure-shifted-functions): Rename abnormal hooks from
2558 *-hook, and convert to defcustoms.
2559 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2560 Convert to defcustoms.
2561 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2563 * allout-widgets.el: Hook callers changed.
2565 2012-05-02 Eli Zaretskii <eliz@gnu.org>
2567 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2568 the yanked message in preference to the default value of
2569 buffer-file-coding-system.
2571 2012-05-02 Martin Rudalics <rudalics@gmx.at>
2573 * window.el (display-buffer--action-function-custom-type):
2576 2012-05-02 Alan Mackenzie <acm@muc.de>
2578 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2580 2012-05-01 Glenn Morris <rgm@gnu.org>
2582 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2584 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2586 * cus-edit.el (custom-variable-documentation): Simplify with format.
2588 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2589 Stefan Monnier <monnier@iro.umontreal.ca>
2591 * simple.el (suggest-key-bindings, execute-extended-command):
2592 Move from keyboard.c.
2594 2012-05-01 Chong Yidong <cyd@gnu.org>
2596 * follow.el: Eliminate advice.
2597 (set-process-filter, process-filter, sit-for): Advice deleted.
2598 (follow-mode-off-hook): Obsolete hook removed.
2599 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2601 (follow-auto): Use a :set function.
2602 (follow-mode): Rewritten. Don't advise process filters.
2603 (follow-switch-to-current-buffer-all, follow-scroll-up)
2604 (follow-scroll-down): Assume follow-mode is bound.
2605 (follow-comint-scroll-to-bottom)
2606 (follow-align-compilation-windows): New functions.
2607 (follow--window-sorter): New function.
2608 (follow-all-followers): Use it to explicitly sort windows by their
2609 positions; don't make assumptions about next-window order.
2610 (follow-windows-start-end, follow-delete-other-windows-and-split)
2611 (follow-calc-win-start): Doc fix.
2612 (follow-windows-aligned-p, follow-select-if-visible): Don't call
2613 vertical-motion unnecessarily.
2614 (follow-adjust-window): New function.
2615 (follow-post-command-hook): Use it.
2616 (follow-call-set-process-filter, follow-call-process-filter)
2617 (follow-intercept-process-output, follow-tidy-process-filter-alist)
2618 (follow-stop-intercept-process-output, follow-generic-filter):
2620 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
2621 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2622 New functions, replacing advice on scroll-bar-* commands.
2623 (follow-mwheel-scroll): New function (Bug#4112).
2625 * comint.el (comint-adjust-point): New function.
2626 (comint-postoutput-scroll-to-bottom): Use it.
2627 Call follow-comint-scroll-to-bottom for Follow mode buffers.
2629 2012-05-01 Glenn Morris <rgm@gnu.org>
2631 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2632 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2633 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2634 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2635 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2636 Remove no-byte-compile setting.
2638 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2640 * minibuffer.el (completion-table-with-quoting): Fix compatibility
2641 all-completions code to not return a number in the last cdr.
2643 2012-04-30 Leo Liu <sdl.web@gmail.com>
2645 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2648 2012-04-29 Chong Yidong <cyd@gnu.org>
2650 * follow.el (follow-calc-win-end): Rewrite to handle partial
2651 screen lines correctly (Bug#8390).
2652 (follow-avoid-tail-recenter): Minor cleanup.
2654 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2656 Avoid the obsolete `assoc' package.
2657 * speedbar.el (speedbar-refresh): Avoid adelete.
2658 (speedbar-file-lists): Simplify and avoid aput.
2659 * man.el (Man--sections, Man--refpages): New vars, replacing
2660 Man-sections-alist and Man-refpages-alist.
2661 (Man-build-section-alist, Man-build-references-alist):
2662 Use them; avoid aput.
2663 (Man--last-section, Man--last-refpage): New vars.
2664 (Man-follow-manual-reference): Use them.
2665 Use the `default' arg of completing-read.
2666 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
2668 2012-04-27 Chong Yidong <cyd@gnu.org>
2670 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2672 * startup.el (x-apply-session-resources): New function.
2674 * term/ns-win.el (ns-initialize-window-system):
2675 * term/w32-win.el (w32-initialize-window-system):
2676 * term/x-win.el (x-initialize-window-system): Use it to properly
2677 set menu-bar-mode and other vars from X resources, even if the
2678 initial frame is not a window-system frame (Bug#2299).
2680 * subr.el (read-key): Avoid running filter function when setting
2681 up temporary tool bar entries (Bug#9922).
2683 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
2685 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2688 2012-04-27 Chong Yidong <cyd@gnu.org>
2690 * select.el (xselect--encode-string): New function, split from
2691 xselect-convert-to-string.
2692 (xselect-convert-to-string): Use it.
2693 (xselect-convert-to-filename, xselect-convert-to-os)
2694 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
2695 returned strings are properly encoded (Bug#11315).
2697 2012-04-27 Chong Yidong <cyd@gnu.org>
2699 * simple.el (delete-active-region): Move to killing custom group.
2701 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
2703 * progmodes/which-func.el (which-func-current): Quote %
2704 characters for mode-line processing.
2706 2012-04-27 Chong Yidong <cyd@gnu.org>
2708 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
2709 reaching eob (Bug#11286).
2711 2012-04-27 Eli Zaretskii <eliz@gnu.org>
2713 * progmodes/gdb-mi.el (gdb-control-level): New variable.
2714 (gdb): Make it buffer-local and init to zero.
2715 (gdb-control-commands-regexp): New variable.
2716 (gdb-send): Don't wrap in "-interpreter-exec console" if
2717 gdb-control-level is positive. Increment gdb-control-level
2718 whenever the command matches gdb-control-commands-regexp, and
2719 decrement it each time the command is "end". (Bug#11279)
2721 2012-04-27 Martin Rudalics <rudalics@gmx.at>
2723 * window.el (adjust-window-trailing-edge, enlarge-window)
2724 (shrink-window, window-resize):
2725 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
2726 windows (Bug#11276).
2728 2012-04-27 Chong Yidong <cyd@gnu.org>
2730 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
2731 fix "missing prefix" warning. All callers changed.
2733 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2735 * emacs-lisp/assoc.el: Move to obsolete/.
2737 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2739 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
2741 * term/ns-win.el (ns-define-service):
2742 * progmodes/pascal.el (pascal-goto-defun):
2743 * progmodes/js.el (js--read-tab):
2744 * progmodes/etags.el (tags-lazy-completion-table):
2745 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
2746 * emacs-lisp/ewoc.el (ewoc--wrap):
2747 * emacs-lisp/assoc.el (aput, adelete, amake):
2748 * doc-view.el (doc-view-convert-current-doc):
2749 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
2751 2012-04-26 Chong Yidong <cyd@gnu.org>
2753 * image.el (image-type-from-buffer): Only return supported image
2756 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
2757 value, for symmetry with diff-end-of-hunk.
2758 (diff-split-hunk, diff-find-source-location)
2759 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2760 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2761 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2762 compute the relevant hunk or file properly (Bug#6005).
2763 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2765 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2774 * vc/vc.el: Replace lexical-let by lexical-binding.
2775 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2776 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2777 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2779 2012-04-26 Chong Yidong <cyd@gnu.org>
2781 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2782 (diff-mode-shared-map): Bind it to / and [remap undo].
2784 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2785 (ediff-window-setup-function): Use it as the default, to set up
2786 windows based on whether the current frame is graphical (Bug#2138).
2787 (ediff-choose-window-setup-function-automatically): Make obsolete.
2789 * vc/ediff-init.el: Always define ediff-pixel-width/height.
2791 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2793 * ffap.el: Remove old code for obsolete package.
2794 (ffap-complete-as-file-p): Remove.
2796 Use completion-table-with-quoting for comint and pcomplete.
2797 * comint.el (comint--unquote&requote-argument)
2798 (comint--unquote-argument, comint--requote-argument): New functions.
2799 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2800 (comint-quote-filename): Use regexp-opt-charset.
2801 (comint--common-suffix, comint--common-quoted-suffix)
2802 (comint--table-subvert): Remove.
2803 (comint-unquote-function, comint-requote-function): New vars.
2804 (comint--complete-file-name-data): Use them with
2805 completion-table-with-quoting.
2806 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2807 * pcomplete.el (pcomplete-arg-quote-list)
2808 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2809 (pcomplete-unquote-argument-function): Default to non-nil.
2810 (pcomplete-unquote-argument): Simplify.
2811 (pcomplete--common-quoted-suffix): Remove.
2812 (pcomplete-requote-argument-function): New var.
2813 (pcomplete--common-suffix): New function.
2814 (pcomplete-completions-at-point): Use completion-table-with-quoting
2815 and completion-table-subvert.
2817 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2818 (minibuffer--double-dollars): Preserve properties.
2819 (completion--sifn-requote): New function.
2820 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2822 * minibuffer.el: Add support for completion of quoted/escaped data.
2823 (completion-table-with-quoting, completion-table-subvert): New funs.
2824 (completion--twq-try, completion--twq-all): New functions.
2825 (completion--nth-completion): New function.
2826 (completion-try-completion, completion-all-completions): Use it.
2828 2012-04-25 Leo Liu <sdl.web@gmail.com>
2830 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2831 Use compilation-message if available to find real filename.
2833 2012-04-25 Chong Yidong <cyd@gnu.org>
2835 * vc/diff-mode.el (diff-setup-whitespace): New function.
2836 (diff-mode): Use it.
2838 * vc/diff.el (diff-sentinel):
2839 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2840 Whitespace mode variables based on diff style (Bug#8612).
2842 2012-04-25 Leo Liu <sdl.web@gmail.com>
2844 * progmodes/python.el (python-send-region): Add suffix .py to the
2847 * files.el (auto-mode-alist): Use javascript-mode instead.
2849 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2851 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
2853 * soap-client.el (soap-resolve-references-for-sequence-type)
2854 (soap-resolve-references-for-array-type): Hack to prevent self
2855 references, see Bug#9.
2856 (soap-parse-envelope): Report the contents of the 'detail' node
2857 when receiving a fault reply.
2858 (soap-parse-envelope): Report the contents of the entire 'detail' node.
2860 * soap-inspect.el (soap-sample-value-for-simple-type)
2861 (soap-inspect-simple-type): New function.
2863 * soap-client.el (soap-simple-type): New struct.
2864 (soap-default-xsd-types, soap-default-soapenc-types)
2865 (soap-decode-basic-type, soap-encode-basic-type):
2866 support unsignedInt and double basic types.
2867 (soap-resolve-references-for-simple-type)
2868 (soap-parse-simple-type, soap-encode-simple-type): New function.
2869 (soap-parse-schema): Parse xsd:simpleType declarations.
2871 * soap-client.el (soap-default-xsd-types)
2872 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2873 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2874 the local name of "soapenc:Array".
2875 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
2876 decoding integer, byte and anyURI xsd types.
2878 2012-04-25 Chong Yidong <cyd@gnu.org>
2880 * cus-edit.el (custom-buffer-create-internal): Update header text.
2882 2012-04-25 Eli Zaretskii <eliz@gnu.org>
2884 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2885 settings on 'system-type', not on 'window-system'. On MS-Windows,
2886 set interactive-mode on in GDB.
2888 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2890 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2891 (ruby-syntax-propertize-regexp): Remove.
2892 (ruby-syntax-propertize-function): Split regexp into chunks.
2893 Match following code directly.
2895 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2897 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2898 (ruby-syntax-propertize-regexp): New function.
2899 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2900 by a special keyword.
2902 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2903 (ruby-syntax-general-delimiters-goto-beg)
2904 (ruby-syntax-propertize-general-delimiters): New functions.
2905 (ruby-syntax-propertize-function): Use them to handle GDL.
2906 (ruby-font-lock-keywords): Move old handling of GDL...
2907 (ruby-font-lock-syntactic-keywords): .. to here.
2908 (ruby-calculate-indent): Adjust indentation for GDL.
2910 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
2912 * notifications.el (top): Remove unneeded declarations.
2913 (notifications-specification-version): Change to "1.2".
2914 (notifications-interface, notifications-notify-method)
2915 (notifications-close-notification-method): Fix docstring.
2916 (notifications-get-capabilities-method): New defconst.
2917 (notifications-notify): Add :action-items, :resident and
2918 :transient hints. Change "image_data" to "image-data" and
2919 "image_path" to "image-path".
2920 (notifications-get-capabilities): New defun.
2922 2012-04-24 Leo Liu <sdl.web@gmail.com>
2924 * progmodes/python.el: Move hideshow setup to the end.
2926 2012-04-24 Martin Rudalics <rudalics@gmx.at>
2928 * window.el (handle-select-window): Clear echo area since this is
2929 no more done by read_char (Bug#11304).
2931 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2933 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2934 and `/ M' to filter-derived-mode.
2935 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2936 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2937 (ibuffer-mark-by-mode): Use default rather than initial-input.
2938 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2940 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2942 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2943 (ibuffer-filter-by-derived-mode): New filter.
2944 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2946 2012-04-23 Andreas Politz <politza@fh-trier.de>
2948 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2950 2012-04-23 Chong Yidong <cyd@gnu.org>
2952 * cus-edit.el (customize-apropos, customize-apropos-options):
2953 Disable matching of non-option variables (Bug#11176).
2954 (customize-option, customize-option-other-window)
2955 (customize-changed-options): Doc fix.
2956 (customize-apropos-options, customize-apropos-faces)
2957 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2959 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
2960 Fix word list splitting (Bug#11132).
2961 (apropos-symbol, apropos-keybinding, apropos-label)
2962 (apropos-property, apropos-function-button)
2963 (apropos-variable-button, apropos-misc-button): New faces.
2964 (apropos-symbol-face, apropos-keybinding-face)
2965 (apropos-label-face, apropos-property-face, apropos-match-face):
2966 Variables removed (Bug#8396).
2967 (apropos-library-button, apropos-format-plist, apropos-print)
2968 (apropos-print-doc, apropos-describe-plist): Callers changed.
2970 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
2972 * net/xesam.el (xesam-mode-map): Use let-bound map in
2973 initialization. (Bug#11292)
2975 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2977 Preserve ispell session localwords when switching back to
2980 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2981 variable to hold buffer session localwords.
2982 (ispell-kill-ispell): add option 'clear to delete session
2984 (ispell-command-loop, ispell-change-dictionary)
2985 (ispell-buffer-local-words): Preserve session localwords when
2988 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2989 Preserve session localwords when needed.
2991 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2993 * ispell.el (ispell-insert-word) Remove unneeded function using
2994 obsolete `translation-table-for-input'.
2995 (ispell-word, ispell-process-line, ispell-complete-word):
2996 Use plain `insert' instead of removed `ispell-insert-word'.
2998 2012-04-22 Chong Yidong <cyd@gnu.org>
3000 * cus-edit.el (custom-variable-menu)
3001 (custom-variable-reset-saved, custom-face-menu)
3002 (custom-face-reset-saved): If there is no saved value, make the
3003 "reset-saved" operation bring back the default (Bug#9509).
3004 (custom-face-state): Properly detect themed faces.
3006 * faces.el (face-spec-set): Stop supporting deprecated form of
3009 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
3011 Move functions from C to Lisp. Make non-blocking method calls
3012 the default. Implement further D-Bus standard interfaces.
3014 * net/dbus.el (dbus-message-internal): Declare function.
3015 Remove unneeded function declarations.
3016 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
3017 (dbus-message-type-method-return, dbus-message-type-error)
3018 (dbus-message-type-signal): Declare variables. Remove local
3020 (dbus-interface-dbus, dbus-interface-peer)
3021 (dbus-interface-introspectable, dbus-interface-properties)
3022 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
3024 (dbus-interface-objectmanager): New defconst.
3025 (dbus-call-method, dbus-call-method-asynchronously)
3026 (dbus-send-signal, dbus-method-return-internal)
3027 (dbus-method-error-internal, dbus-register-service)
3028 (dbus-register-signal, dbus-register-method): New defuns, moved
3030 (dbus-call-method-handler, dbus-setenv)
3031 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
3033 (dbus-call-method-non-blocking): Make it an obsolete function.
3034 (dbus-unregister-object, dbus-unregister-service)
3035 (dbus-handle-event, dbus-register-property)
3036 (dbus-property-handler): Obey the new structure of
3037 `bus-registered-objects'.
3038 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
3039 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
3040 Use `dbus-call-method'.
3042 2012-04-22 Chong Yidong <cyd@gnu.org>
3044 * cus-edit.el (custom-commands, custom-reset-menu)
3045 (Custom-reset-standard): Tweak labels.
3046 (custom-reset-button-menu): Change default to t.
3047 (custom-buffer-create-internal): For the custom-reset-button-menu
3048 case, put the revert button first.
3049 (custom-group-subtitle): New face.
3050 (custom-group-value-create): Align docstring to a specific column.
3052 * wid-edit.el (widget-documentation-link-add): Don't handle
3053 indentation in this function.
3054 (widget-documentation-string-indent-to): New function.
3055 (widget-documentation-string-value-create): Use it.
3057 * autorevert.el (auto-revert):
3058 * epg-config.el (epg):
3059 * ibuffer.el (ibuffer):
3062 * eshell/eshell.el (eshell):
3063 * net/ange-ftp.el (ange-ftp):
3064 * progmodes/ebnf2ps.el (postscript):
3065 * progmodes/flymake.el (flymake):
3066 * progmodes/prolog.el (prolog):
3067 * progmodes/verilog-mode.el (verilog-mode):
3068 * progmodes/which-func.el (which-func):
3069 * term/xterm.el (xterm):
3070 * textmodes/picture.el (picture):
3071 * textmodes/tildify.el (tildify):
3072 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
3073 customization buffers.
3075 2012-04-22 Alan Mackenzie <acm@muc.de>
3077 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
3078 Adding a ) can hide the resulting (..) from searches. Fix it.
3079 Bound the backward search to the position of the existing (.
3081 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
3083 * progmodes/verilog-mode.el (verilog-mode): Check whether
3084 which-func-modes is t before adding verilog-mode.
3085 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
3087 2012-04-21 Leo Liu <sdl.web@gmail.com>
3089 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
3091 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
3093 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
3094 filling of the last column of a table (Bug#5635).
3095 (woman-find-next-control-line): New arg, specifying an additional
3096 regexp component for the control line.
3097 (woman2-roff-buffer): Use it.
3098 (woman-break-table): New function.
3099 (woman2-TS): Use it.
3101 2012-04-21 Chong Yidong <cyd@gnu.org>
3103 * woman.el (woman-set-buffer-display-table, woman-decode-region)
3104 (woman-horizontal-escapes, woman-negative-vertical-space)
3105 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
3106 (WoMan-warn-ignored): Use ?\s instead of ?\ .
3108 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3110 * minibuffer.el (completion-file-name-table): Complete user names.
3112 2012-04-20 Leo Liu <sdl.web@gmail.com>
3114 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
3117 2012-04-20 Chong Yidong <cyd@gnu.org>
3119 * server.el (server-execute): Respect initial-buffer-choice if it
3120 is a string and there are no files to open (Bug#2825).
3121 (server-create-window-system-frame, server-create-tty-frame):
3122 Don't switch buffers here.
3123 (server-process-filter): Only try to open a window system frame if
3124 compiled with graphical support (Bug#8314).
3126 2012-04-20 Dan Nicolaescu <dann@gnu.org>
3128 * battery.el (battery-echo-area-format): Display remaining time
3129 for sysfs backend too (Bug#11269).
3130 (battery-linux-sysfs): Fix conditional for the charge.
3132 2012-04-20 Chong Yidong <cyd@gnu.org>
3134 * progmodes/gdb-mi.el (gdb): Revert previous change.
3135 (gdb-inferior-io--init-proc): New function.
3136 (gdb-init-1): Use it.
3137 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
3138 responsible for allocating a new pty and hooking it to gdb when
3139 the old pty gets an EIO due to process exit.
3140 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
3141 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
3142 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
3144 2012-04-20 Eli Zaretskii <eliz@gnu.org>
3146 * window.el (window-min-size, window-sizable, window-min-delta)
3147 (window-max-delta, window--resizable, window-resizable)
3148 (window-total-size, window-full-height-p, window-full-width-p)
3149 (window-in-direction, window--resize-mini-window, window-resize)
3150 (window--resize-child-windows-normal)
3151 (window--resize-child-windows, window--resize-siblings)
3152 (window--resize-this-window, adjust-window-trailing-edge)
3153 (enlarge-window, shrink-window): Doc fixes.
3155 2012-04-20 Chong Yidong <cyd@gnu.org>
3157 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
3158 New function to call delete-process on the gdb-inferior buffer's pty.
3159 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
3160 pty process (Bug#11273).
3161 (gdb-update): New arg to suppress talking to the gdb process.
3162 (gdb-done-or-error): Use it.
3163 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
3164 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
3165 sentinel not being called.
3167 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
3169 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
3171 2012-04-20 Glenn Morris <rgm@gnu.org>
3173 * net/network-stream.el (open-network-stream): Doc fix.
3175 2012-04-20 Chong Yidong <cyd@gnu.org>
3177 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
3179 2012-04-20 Alan Mackenzie <acm@muc.de>
3181 Ensure searching for keywords is case sensitive.
3183 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
3184 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
3185 (c-defun-name, c-mark-function, c-cpp-define-name)
3186 (c-comment-indent, c-scan-conditionals, c-indent-defun)
3187 (c-context-line-break): Bind case-fold-search to nil.
3189 * progmodes/cc-mode.el (c-font-lock-fontify-region):
3190 Bind case-fold-search to nil.
3192 2012-04-20 Chong Yidong <cyd@gnu.org>
3194 * mail/sendmail.el (mail-bury): Call return action with the right
3195 Rmail buffer (Bug#11242).
3197 * server.el (server-process-filter): Handle corner case where both
3198 tty and nowait options are present (Bug#11102).
3200 2012-04-20 Eli Zaretskii <eliz@gnu.org>
3202 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
3203 (top level): Put into the executable the ident-style '$Id:' tag on
3206 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3208 * electric.el (electric-indent-post-self-insert-function): Check that
3209 electric-indent-mode is enabled in current buffer.
3211 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
3213 * imenu.el (imenu-progress-message): Restore; it is "used" in
3214 erc/erc-imenu.el and net/snmp-mode.el.
3216 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
3218 * avoid.el (mouse-avoidance-mode): Mark unused arg.
3219 (mouse-avoidance-nudge-mouse): Remove unused binding.
3221 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
3223 * descr-text.el (describe-char):
3224 * progmodes/python.el (python-describe-symbol):
3225 Don't call `toggle-read-only', set `buffer-read-only'.
3227 * imenu.el (imenu-default-goto-function): Mark unused args.
3228 (imenu-progress-message): Remove obsolete macro; all callers changed.
3230 * subr.el (keymap-canonicalize): Remove unused binding.
3231 (read-passwd): Mark unused arg.
3233 * tutorial.el (tutorial--display-changes): Remove unused binding.
3234 (tutorial--save-tutorial-to): Remove unused variable.
3236 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
3237 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
3238 (package-generate-autoloads, package-menu--generate)
3239 (package-menu--find-upgrades): Remove unused bindings.
3241 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
3242 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
3243 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
3244 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
3245 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3246 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3247 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3248 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3249 (cua-delete-char-rectangle): Mark unused args.
3250 (cua-align-rectangle): Remove unused binding.
3252 * mail/rmail.el (compilation--message->loc)
3253 (epa--find-coding-system-for-mime-charset): Declare.
3255 * net/dbus.el (dbus-register-service): Declare.
3256 (dbus-name-owner-changed-handler): Remove unused binding.
3258 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3259 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3260 (nxml-scan-backward-within): Mark unused arg.
3261 (nxml-dynamic-markup-word): Remove unused binding.
3263 * mouse.el (mouse-menu-major-mode-map):
3264 * emacs-lisp/authors.el (authors-scan-change-log)
3265 (authors-add-to-author-list):
3266 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3267 * emacs-lisp/smie.el (smie-auto-fill):
3268 * mail/sendmail.el (mail-bury):
3269 * mail/unrmail.el (unrmail):
3270 * net/tls.el (open-tls-stream):
3271 * textmodes/picture.el (picture-mouse-set-point):
3272 Remove unused bindings.
3274 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
3276 * net/tramp.el (tramp-action-password): Let-bind
3277 `enable-recursive-minibuffers' to t.
3279 2012-04-18 Sam Steingold <sds@gnu.org>
3281 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3282 instead of 'string to accommodate values like [f11].
3283 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3284 * progmodes/gdb-mi.el: Likewise.
3286 2012-04-18 Leo Liu <sdl.web@gmail.com>
3288 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3290 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3293 2012-04-18 Chong Yidong <cyd@gnu.org>
3295 * simple.el (line-move): Use forward-line if in batch mode
3298 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
3300 * files.el (after-find-file): Do not try to add a final newline if
3301 the buffer is read-only (Bug#11156).
3303 2012-04-17 Richard Stallman <rms@gnu.org>
3305 * mail/rmail.el (rmail-start-mail):
3306 Pass (rmail-mail-return...) for the return-action.
3307 Pass (rmail-yank-current-message...) for the yank-action.
3308 (rmail-yank-current-message): New function.
3309 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3310 (rmail-reply): Likewise.
3311 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3313 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
3314 buffer, not the last. Reject temp buffers. Use the rmail-mode
3317 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
3319 * server.el (server-ensure-safe-dir): Simplify.
3321 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
3323 * emacs-lisp/smie.el: Provide smarter auto-filling.
3324 (smie-auto-fill): New function.
3325 (smie-setup): Use it.
3327 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3329 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
3331 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3332 (comment-indent): Use it.
3334 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
3336 * ses.el: The overall change is to add cell renaming, that is
3337 setting fancy names for cell symbols other than name matching
3338 "\\`[A-Z]+[0-9]+\\'" regexp .
3339 (ses-localvars): Add ses--renamed-cell-symb-list.
3340 (ses-create-cell-variable): New defun.
3341 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
3342 (ses-relocate-formula): Relocate formulas only for cells the
3343 symbols of which are not renamed, i.e. symbols whose names do not
3344 match regexp "\\`[A-Z]+[0-9]+\\'".
3345 (ses-relocate-all): Relocate values only for cells the symbols of
3346 which are not renamed.
3347 (ses-load): Create cells variables as the (ses-cell ...) are read,
3348 in order to check row col consistency with cell symbol name only
3349 for cells that are not renamed.
3350 (ses-replace-name-in-formula): New defun.
3351 (ses-rename-cell): New defun.
3353 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
3355 * progmodes/perl-mode.el (perl-indent-parens-as-block):
3356 New option (bug#11118).
3357 (perl-calculate-indent): Respect it.
3359 2012-04-17 Glenn Morris <rgm@gnu.org>
3361 * dired-aux.el (dired-mark-read-string): Doc fix.
3363 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
3365 * dired-aux.el (dired-mark-read-string): Offer optional completion.
3366 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
3368 2012-04-17 Glenn Morris <rgm@gnu.org>
3370 * mouse.el (mouse-drag-track):
3371 * speedbar.el (speedbar-frame-mode):
3372 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3374 2012-04-16 Leo Liu <sdl.web@gmail.com>
3376 * progmodes/python.el: Trivial cleanup.
3378 2012-04-16 Glenn Morris <rgm@gnu.org>
3380 * vc/vc.el (vc-string-prefix-p):
3381 * vc/pcvs-util.el (cvs-string-prefix-p):
3382 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3383 * mpc.el (mpc-string-prefix-p):
3384 Make all of these into obsolete aliases for string-prefix-p.
3386 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3388 * textmodes/two-column.el: Move custom options to the start.
3389 (frame-width): Remove compat definition.
3390 (2C-associate-buffer, 2C-dissociate):
3391 Use with-current-buffer rather than save-excursion.
3392 (2C-dissociate): Force a mode-line update.
3393 (2C-autoscroll): Use ignore-errors.
3395 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3398 * emacs-lisp/cl-extra.el (*random-state*):
3399 Remove unnecessary declaration.
3401 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3403 * play/cookie1.el (cookie-snarf):
3404 Give an explicit error if input file cannot be read.
3406 * play/yow.el (yow-file): Use expand-file-name rather than concat.
3408 * progmodes/perl-mode.el (c-macro-expand):
3409 Remove unnecessary autoload (it is in loaddefs.el).
3411 * textmodes/picture.el (picture-desired-column)
3412 (picture-update-desired-column): Convert comments to doc-strings.
3413 (picture-substitute): Remove function.
3414 (picture-mode-map): Initialize in the defvar.
3416 * woman.el: Remove eval-after-load for tar-mode.
3417 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3418 (woman-tar-extract-file): Autoload it.
3420 * frame.el (automatic-hscrolling): Make this alias obsolete.
3422 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3424 * ispell.el (ispell-set-spellchecker-params): Post-process
3425 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3426 (ispell-dictionary-base-alist): Revert to original XEmacs
3427 friendly version for default. [:alpha:] will be added in
3428 `ispell-set-spellchecker-params' if needed
3430 2012-04-16 Chong Yidong <cyd@gnu.org>
3432 * image.el (imagemagick--extension-regexp): New variable.
3433 (imagemagick-register-types): Use it.
3434 (imagemagick-types-inhibit): Add :set function. Allow new value
3435 of t to inhibit all types.
3437 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
3438 so we can preload it.
3440 * loadup.el (fboundp): Preload regexp-opt, needed by
3441 imagemagick-register-types.
3443 2012-04-15 Chong Yidong <cyd@gnu.org>
3445 * frame.el (scrolling): Remove nearly unused customization group.
3447 * scroll-all.el (scroll-all-mode): Move to windows group.
3449 2012-04-15 Chong Yidong <cyd@gnu.org>
3451 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
3453 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3455 Avoid the use of ((lambda ...) ...) in lexical-binding code.
3456 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
3458 2012-04-15 Glenn Morris <rgm@gnu.org>
3460 * simple.el (process-file-side-effects): Doc fix.
3462 2012-04-15 Glenn Morris <rgm@gnu.org>
3464 * international/mule-cmds.el (set-language-environment): Doc fix.
3466 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
3468 * server.el (server-auth-key, server-generate-key): Doc fixes.
3469 (server-get-auth-key): Doc fix. Use `string-match-p'.
3470 (server-start): Reflow docstring.
3472 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
3474 * server.el (server-generate-key): `called-interactively-p'
3475 requires a parameter.
3477 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
3479 * server.el (server-auth-key): New variable.
3480 (server-generate-key, server-get-auth-key): New function.
3481 (server-start): Use the new variable and functions to allow
3482 setting a permanent server key (bug#9423).
3484 2012-04-14 Leo Liu <sdl.web@gmail.com>
3486 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3488 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
3491 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3492 Emacs uses American spelling.
3494 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
3496 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3497 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
3498 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3499 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
3501 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3503 * progmodes/which-func.el (which-func-modes): Change default.
3505 2012-04-14 Kim F. Storm <storm@cua.dk>
3507 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3508 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3510 2012-04-14 Chong Yidong <cyd@gnu.org>
3512 * custom.el (custom-theme-set-variables): Doc fix.
3514 2012-04-14 Glenn Morris <rgm@gnu.org>
3516 * international/mule.el (set-auto-coding-for-load): Doc fix.
3518 2012-04-14 Alan Mackenzie <acm@muc.de>
3520 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3521 imenu work again for Objective C Mode. Correct the *-index values,
3522 these having been disturbed by a previous change in 2011-08.
3524 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3525 Correct two search limits.
3527 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3529 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3531 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
3533 * international/characters.el: Fix sorting.
3535 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3537 * international/characters.el: Add more missing Latin case pairs.
3539 2012-04-14 Glenn Morris <rgm@gnu.org>
3541 * files.el (dir-locals-set-class-variables): Doc fix.
3543 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3545 * international/characters.el: Add set-case-syntax-pair call for
3546 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3547 counterpart. (Bug#11209)
3549 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
3551 2012-04-14 Glenn Morris <rgm@gnu.org>
3553 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3555 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3557 * textmodes/ispell.el (ispell-dictionary-base-alist):
3558 Add data for Hebrew.
3560 2012-04-14 Chong Yidong <cyd@gnu.org>
3562 * net/rcirc.el (rcirc-cmd-quit):
3563 Revert 2012-03-18 change (Bug#11192).
3565 2012-04-14 Glenn Morris <rgm@gnu.org>
3567 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3569 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3571 * minibuffer.el (completion-in-region-mode-map):
3572 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
3574 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3576 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3578 2012-04-13 Masatake YAMATO <yamato@redhat.com>
3580 * minibuffer.el (minibuffer-local-filename-syntax): New variable
3581 to allow `C-M-f' and `C-M-b' to move to the nearest path
3582 separator (bug#9511).
3584 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
3586 * avoid.el: Require cl when compiling. And also move the
3587 `provide' to the end.
3589 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3591 * avoid.el (mouse-avoidance-banish-position): New variable.
3592 (mouse-avoidance-banish-destination): Use it (bug#10165).
3594 2012-04-13 Leo Liu <sdl.web@gmail.com>
3596 * progmodes/which-func.el (which-func-modes): Add objc-mode.
3598 2012-04-13 Ken Brown <kbrown@cornell.edu>
3600 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
3601 this is no longer needed now that cygstart understands file:// URLs.
3602 (browse-url-filename-alist): For the same reason, don't modify
3603 file:// URLs on Cygwin.
3605 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3607 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3608 the region on shift if the binding is already shifted (bug#11221).
3610 2012-04-12 Glenn Morris <rgm@gnu.org>
3612 * mail/mailpost.el: Move to obsolete/.
3614 2012-04-12 Drew Adams <drew.adams@oracle.com>
3616 * imenu.el (imenu--generic-function): Ignore invisible definitions
3619 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
3621 * hexl.el (hexl-bits): New variable.
3622 (hexl-options): Mention the variable in the doc string.
3623 (hexl-rulerise, hexl-line-displen): New functions.
3624 (hexl-mode): Mention the new variable.
3625 (hexl-mode, hexl-current-address, hexl-current-address):
3627 (hexl-ascii-start-column): New function.
3628 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3629 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3631 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3633 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3634 '("-i" ENCODING), in 2 separate command-line arguments, to specify
3635 the encoding, as expected by hunspell.
3637 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3639 * battery.el (battery--linux-sysfs-regexp): New const.
3640 (battery-status-function): Use it. Remove yeeloong special case.
3641 (battery-yeeloong-sysfs): Remove.
3642 (battery-echo-area-format): Remove yeeloong special case.
3644 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3646 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3647 Reported by Noah Friedman.
3649 * subr.el (read-passwd): Use read-string.
3651 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3653 * vcursor.el (vcursor-move): Increase the priority of the overlay
3656 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3658 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3659 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3661 2012-04-11 William Stevenson <yhvh2000@gmail.com>
3663 * textmodes/artist.el (artist-mode): Convert artist-mode to use
3664 define-minor-mode (bug#10760).
3666 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
3668 * progmodes/grep.el (rgrep): Tweak the find command line so
3669 that directories matching `grep-find-ignored-files' won't be
3672 2012-04-11 Chong Yidong <cyd@gnu.org>
3674 * startup.el (command-line): Remove support for long-obsolete
3675 variable font-lock-face-attributes.
3677 2012-04-11 Glenn Morris <rgm@gnu.org>
3679 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
3681 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3683 * window.el (window--state-get-1): Obey window-point-insertion-type.
3685 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
3687 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
3688 to previous function when point is on the first character of a
3689 function. Take care of that in `narrow-to-defun' (bug#6157).
3691 2012-04-11 Glenn Morris <rgm@gnu.org>
3693 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
3694 not just file-errors.
3696 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
3697 (vc-bzr-sha1): Use internal sha1.
3699 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3701 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
3703 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
3705 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
3706 that start in the middle of the line (bug#10496).
3708 2012-04-10 Dan Nicolaescu <dann@gnu.org>
3710 * battery.el (battery-linux-proc-acpi): Only one battery is
3711 discharged at a time, but that seems to confuse battery.el when
3712 computing `rate-type' for the battery not being discharged
3715 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3717 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
3719 * international/quail.el: Use dolist and simplify.
3720 (quail-define-package, quail-update-keyboard-layout)
3721 (quail-define-rules): Use dolist.
3722 (quail-insert-kbd-layout, quail-get-translation): CSE.
3724 * tmm.el: Use dolist, remove left over hook.
3725 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
3727 (calendar-load-hook): Don't mess with it.
3729 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3730 Use derived-mode-p. Run the diff asynchronously.
3732 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3734 * obsolete/mouse-sel.el: Add an Obsolete-since header.
3736 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
3738 * misc.el: Display absolute path of loaded DLLs (bug#10424).
3739 (list-dynamic-libraries--loaded): New function.
3740 (list-dynamic-libraries--refresh): Use it.
3742 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
3744 * progmodes/python.el (python-fill-paragraph):
3745 Make python-fill-region in a multiline string work when font-lock is
3746 disabled (bug#7018).
3748 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
3750 * language/european.el (cp775): Add oem/legacy (en)coding on
3751 DOS/MS Windows for the Baltic languages. There are still plenty
3752 of texts written in this encoding/codepage (bug#6519).
3754 2012-04-10 Glenn Morris <rgm@gnu.org>
3756 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
3757 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
3759 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
3761 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
3762 next-line "n" and previous-line "p" in order to make recentf more
3763 consistent with ibuffer, dired or org-mode (bug#9387).
3765 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3767 * image.el (put-image): Return the overlay created instead of the
3768 optional input string (bug#7834). Note that this may break code
3769 that is (for some reason or other) depending on `put-image'
3770 returning the string.
3772 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3774 * simple.el (zap-to-char): Allow zapping using input methods
3777 * textmodes/fill.el (fill-region): Leave point and mark where they
3778 were before filling (bug#5399).
3780 2012-04-09 Glenn Morris <rgm@gnu.org>
3782 * version.el (emacs-bzr-get-version):
3783 Handle lightweight checkouts of local branches.
3785 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
3787 * international/characters.el: Recover lost case pairs. (Bug#11209)
3789 2012-04-09 Chong Yidong <cyd@gnu.org>
3791 * custom.el (custom-variable-p): Return nil for non-symbol
3792 arguments instead of signaling an error.
3793 (user-variable-p): Obsolete alias for custom-variable-p.
3795 * apropos.el (apropos-variable):
3796 * files-x.el (read-file-local-variable):
3797 * simple.el (set-variable):
3798 * woman.el (woman-mini-help):
3799 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3801 2012-04-09 Glenn Morris <rgm@gnu.org>
3803 * startup.el (normal-top-level): Don't look for leim-list.el
3804 in places where it will not be found. (Bug#910)
3806 * international/mule-cmds.el (set-default-coding-systems):
3807 * files.el (normal-mode):
3808 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3809 This function was removed with ucs-tables.el in 2008.
3811 2012-04-08 Eli Zaretskii <eliz@gnu.org>
3813 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3814 ispell-encoding8-command to "-i", without a trailing space.
3815 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3816 separate command-line arguments, to specify the encoding, since
3817 that's how hunspell expects it.
3819 2012-04-08 Glenn Morris <rgm@gnu.org>
3821 * loadup.el: Load bindings before cus-start.
3822 This reduces somewhat the number of "rogue" settings in emacs -Q.
3824 2012-04-07 Glenn Morris <rgm@gnu.org>
3826 * version.el (emacs-bzr-get-version): New function.
3827 (emacs-bzr-version): New variable.
3828 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3829 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3831 2012-04-07 Eli Zaretskii <eliz@gnu.org>
3833 * international/uni-bidi.el, international/uni-category.el:
3834 * international/uni-combining.el, international/uni-decimal.el:
3835 * international/uni-decomposition.el, international/uni-digit.el:
3836 * international/uni-lowercase.el, international/uni-mirrored.el:
3837 * international/uni-name.el, international/uni-numeric.el:
3838 * international/uni-titlecase.el, international/uni-uppercase.el:
3839 Update for Unicode 6.1.
3841 2012-04-07 Eli Zaretskii <eliz@gnu.org>
3843 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3845 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3847 * window.el (shrink-window): Mention the `window-min-height'
3848 variable in the doc string.
3850 2012-04-05 Bastien Guerry <bzg@altern.org>
3852 * color.el (color-lighten-name): Fix typo.
3854 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3856 * server.el (server--on-display-p): New function.
3857 (server--on-display-p): Use it.
3859 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3861 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3864 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3866 * comint.el (comint--common-quoted-suffix): Check string boundary
3867 before comparing (bug#11158).
3868 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3870 2012-04-04 Chong Yidong <cyd@gnu.org>
3872 * minibuffer.el (completion-extra-properties): Doc fix.
3874 * subr.el (delayed-warnings-hook): Doc fix.
3876 2012-04-04 Daiki Ueno <ueno@unixuser.org>
3878 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3879 selection (Bug#11159).
3880 (epa-insert-keys): Inform that the default public key will be
3881 exported if no key is selected.
3883 2012-04-04 Richard Stallman <rms@gnu.org>
3885 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3887 2012-04-03 Chong Yidong <cyd@gnu.org>
3889 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3890 mail-insert-file, not its obsolete alias mail-attach-file.
3892 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
3894 * notifications.el (notifications-notify): Fix docstring.
3896 2012-04-02 Glenn Morris <rgm@gnu.org>
3898 * emacs-lisp/authors.el (authors-aliases): Another addition.
3900 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
3902 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3903 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3904 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3906 2012-04-01 Chong Yidong <cyd@gnu.org>
3908 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3909 Handle root directory properly.
3910 (copy-directory): Caller changed.
3912 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3913 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3915 2012-03-31 Glenn Morris <rgm@gnu.org>
3917 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3919 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3921 * calendar/calendar.el (calendar-window-list)
3922 (calendar-hide-window): Restore. (Bug#11140)
3923 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3925 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3927 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3929 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3930 Check if file is a symlink (Bug#10489).
3932 * files.el (copy-directory): Likewise.
3934 2012-03-30 Chong Yidong <cyd@gnu.org>
3936 * image.el (imagemagick-types-inhibit)
3937 (imagemagick-register-types): Doc fix.
3939 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3941 * ispell.el (ispell-get-extended-character-mode):
3942 Disable extended-char-mode for hunspell. hunspell does not support it
3943 and treats ~word as ordinary words in pipe mode.
3945 2012-03-30 Glenn Morris <rgm@gnu.org>
3947 * tutorial.el (help-with-tutorial): Ensure local variables don't
3948 happen to make the buffer read-only. (Bug#11127)
3950 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3952 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3953 (perl-calculate-indent): Return `noindent' in strings.
3955 2012-03-28 Sam Steingold <sds@gnu.org>
3957 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3958 instead of the broken adhockery which does not prevent calendar
3959 buffers from being displayed at random after exit.
3960 (calendar-window-list, calendar-hide-window): Remove the broken
3963 2012-03-28 Glenn Morris <rgm@gnu.org>
3965 * replace.el (query-replace-map): Doc fix.
3967 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3969 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3970 contents. (Bug#11109)
3972 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3974 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3976 (avl-tree--check, avl-tree--check-node): New funs.
3978 2012-03-27 Martin Rudalics <rudalics@gmx.at>
3980 * window.el (switch-to-visible-buffer): New option.
3981 (switch-to-prev-buffer, switch-to-next-buffer):
3982 Observe switch-to-visible-buffer. Make sure that checking for a window
3983 showing a buffer already is done on the same frame.
3985 2012-03-27 Glenn Morris <rgm@gnu.org>
3987 * startup.el (mail-host-address): Doc fix.
3989 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3991 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3994 2012-03-26 Ami Fischman <ami@fischman.org>
3996 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3998 2012-03-26 Glenn Morris <rgm@gnu.org>
4000 * files.el (save-buffers-kill-emacs): Doc fix.
4002 * startup.el (normal-top-level, command-line, command-line-1):
4003 Give them doc strings.
4005 2012-03-25 Eli Zaretskii <eliz@gnu.org>
4007 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
4008 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
4010 2012-03-25 Chong Yidong <cyd@gnu.org>
4012 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
4013 theme if it was previously enabled before (Bug#11031).
4015 * cus-theme.el (custom-theme-write-faces): Retrieve current face
4016 spec with custom-face-get-current-spec if its :shown-value is not
4017 determined yet (Bug#9337).
4018 (customize-create-theme, custom-theme-revert): Doc fixes.
4020 * button.el (button-at): Minor addition to docstring.
4022 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
4024 * vc/vc.el (vc-merge): Fix a prompt.
4026 2012-03-24 Chong Yidong <cyd@gnu.org>
4028 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
4031 * button.el (button-at): Minor addition to docstring.
4033 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
4035 * newcomment.el (comment-choose-indent): No space after BOL.
4037 2012-03-22 Sam Steingold <sds@gnu.org>
4039 * window.el (switch-to-prev-buffer): Revert last patch because the
4040 bug turned out to be an advertised feature (Elisp manual 28.14).
4042 2012-03-22 Glenn Morris <rgm@gnu.org>
4044 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
4045 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
4047 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4049 * net/network-stream.el (network-stream-open-starttls): Make error
4050 message under Windows be less misleading.
4052 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
4054 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
4055 understands (bug#9942).
4057 2012-03-22 Chong Yidong <cyd@gnu.org>
4059 * simple.el (end-of-visible-line): Handle return value of
4060 next-single-property-change properly (Bug#9371).
4062 2012-03-22 Kenichi Handa <handa@m17n.org>
4064 * international/quail.el (quail-insert-kbd-layout): Fix previous
4065 change. To avoid unwanted bidi reordering, use
4066 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
4068 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
4070 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
4071 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
4072 (ruby-beginning-of-indent): Be more careful with the difference
4073 between word-boundary and symbol boundary.
4074 (ruby-mode-syntax-table): Make : a symbol constituent.
4076 2012-03-21 Andreas Politz <politza@fh-trier.de>
4078 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
4080 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4082 * progmodes/etags.el (tags-completion-at-point-function):
4085 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
4087 2012-03-21 Sam Steingold <sds@gnu.org>
4089 * progmodes/etags.el (tags-completion-at-point-function):
4090 Avoid the error when point is inside the pattern.
4092 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
4094 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
4097 2012-03-21 Drew Adams <drew.adams@oracle.com>
4099 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
4101 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
4103 * ido.el (ido-set-current-directory, ido-read-internal)
4104 (ido-choose-completion-string, ido-completion-help): Handle nil
4105 value of ido-completion-buffer (Bug#11008).
4107 2012-03-21 Sam Steingold <sds@gnu.org>
4109 * window.el (switch-to-prev-buffer): Do not switch to a visible
4110 window previous buffer, just like with the frame previous buffers.
4112 2012-03-21 Chong Yidong <cyd@gnu.org>
4114 * faces.el (make-face, make-empty-face, copy-face):
4115 * face-remap.el (face-remap-add-relative, face-remap-set-base):
4118 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4120 * wid-edit.el (widget-complete-field): Remove (bug#11051).
4121 (widget-complete): Remove broken use of it.
4123 2012-03-20 Chong Yidong <cyd@gnu.org>
4125 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4126 Use string-width and truncate-string-width to handle arbitrary
4129 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
4131 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
4132 to draw rectangles, not squares. (Regression introduced by revno
4133 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
4135 2012-03-18 Chong Yidong <cyd@gnu.org>
4137 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
4138 it is not yet defined (for temacs).
4140 2012-03-18 Leo Liu <sdl.web@gmail.com>
4142 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
4144 2012-03-17 Eli Zaretskii <eliz@gnu.org>
4146 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
4147 (ispell-choices-win-default-height, ispell-silently-savep)
4148 (ispell-dictionary-alist, ispell-encoding8-command)
4149 (ispell-check-version, ispell-aspell-find-dictionary)
4150 (ispell-valid-dictionary-list, ispell-words-keyword)
4151 (ispell-get-word, ispell-internal-change-dictionary)
4152 (ispell-region, ispell-skip-region-list)
4153 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
4154 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
4155 (ispell-message-text-end, ispell-message)
4156 (ispell-buffer-local-parsing): Doc fix.
4158 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
4160 * htmlfontify.el: Add support for code block fontification for ODT
4162 (hfy-optimisations): Define new option
4164 (hfy-fontify-buffer): Honor above setting.
4165 (hfy-begin-span, hfy-end-span): New routines factored out form
4166 `hfy-fontify-buffer'.
4167 (hfy-begin-span-handler, hfy-end-span-handler): New variables
4168 that permit insertion of custom tags.
4169 (hfy-fontify-buffer): Use above handlers.
4170 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
4171 (hfy-face-to-css): Re-defined to be a variable.
4172 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
4173 over multiple runs. This is made possible by having the caller let
4174 bind a special variable `hfy-user-sheet-assoc'.
4175 (htmlfontify-string): New defun.
4176 (hfy-compile-face-map): Make sure that the last char in the
4177 buffer is correctly fontified.
4178 (hfy-face-resolve-face): Whitespace only change.
4180 2012-03-17 Eli Zaretskii <eliz@gnu.org>
4182 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
4185 2012-03-16 Leo Liu <sdl.web@gmail.com>
4187 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
4189 2012-03-16 Alan Mackenzie <acm@muc.de>
4191 Further optimise the handling of large macros.
4193 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
4194 limit to a call of `c-literal-limits'.
4195 (c-determine-+ve-limit): New function.
4196 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
4197 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
4198 In CASE 5B, restrict a search limit to 500.
4199 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
4201 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
4202 Restrict macro bounds to +-500 from after-change's BEG END.
4204 2012-03-16 Leo Liu <sdl.web@gmail.com>
4206 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
4208 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
4210 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
4211 `special-mode' setting of `buffer-read-only'. (Bug#11010)
4213 2012-03-16 Glenn Morris <rgm@gnu.org>
4215 * view.el (view-buffer, view-buffer-other-window)
4216 (view-buffer-other-frame): Doc fixes re special mode-class.
4218 * subr.el (eval-after-load): If named feature is provided not from
4219 a file, run after-load forms. (Bug#10946)
4221 * calendar/calendar.el (calendar-insert-at-column):
4222 Handle non-unit-width characters a bit better. (Bug#10978)
4224 2012-03-15 Chong Yidong <cyd@gnu.org>
4226 * emacs-lisp/ring.el (ring-extend): New function.
4227 (ring-insert+extend): Extend the ring correctly (Bug#11019).
4229 * comint.el (comint-read-input-ring)
4230 (comint-add-to-input-history): Grow comint-input-ring lazily.
4232 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4234 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
4235 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
4237 * imenu.el: Fix multiple inheritance breakage (bug#9199).
4238 (imenu-add-to-menubar): Don't add a redundant index.
4239 (imenu-update-menubar): Handle a dynamically composed keymap.
4241 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
4243 * mail/sendmail.el (mail-encode-header):
4244 Bind rfc2047-encode-encoded-words to nil.
4246 2012-03-13 Glenn Morris <rgm@gnu.org>
4248 * calendar/calendar.el (calendar-string-spread):
4249 Handle non-unit-width characters a bit better. (Bug#10978)
4251 2012-03-13 Leo Liu <sdl.web@gmail.com>
4253 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4254 directory and file as argument (Bug#10822).
4256 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4258 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4259 For dynamically generated code, follow $PC.
4260 (gdb-disassembly-handler-custom): Handle no function name case.
4262 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
4264 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4265 * emulation/ws-mode.el (ws-query-replace):
4266 * sort.el (sort-regexp-fields):
4267 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
4269 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4271 * dabbrev.el: Fix cycle completion order (bug#10963).
4272 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4273 (dabbrev-completion): Don't use an obarray; provide
4274 a cycle-sort-function.
4276 2012-03-12 Leo Liu <sdl.web@gmail.com>
4278 * simple.el (kill-new): Use equal-including-properties for comparison.
4279 (kill-do-not-save-duplicates): Doc fix.
4281 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4283 * dabbrev.el: Fix cycle completion (bug#10963).
4284 Use lexical binding and wrap to 80 columns.
4285 (dabbrev-completion): Delay computing the list of completions.
4287 2012-03-12 Kenichi Handa <handa@m17n.org>
4289 * international/quail.el (quail-insert-kbd-layout): Surround each
4290 row by LRO and PDF instead of inserting many LRMs. Pad the left
4291 and right of each non-spacing marks. Insert invisible space
4292 between lower and upper characters to prevent composition.
4294 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4296 * minibuffer.el (minibuffer-complete): Don't get confused when the
4297 function is run twice via different commands (bug#10958).
4298 (complete-with-action): Fix docstring.
4300 2012-03-12 Chong Yidong <cyd@gnu.org>
4302 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4303 (nxml-completion-at-point-function): New function.
4304 (nxml-mode): Use it.
4305 (nxml-bind-meta-tab-to-complete-flag): Default to t.
4307 * emacs-lisp/package.el (package-unpack, package-unpack-single):
4308 Load generated autoloads file before byte compiling (Bug#10970).
4309 (package--make-autoloads-and-compile): New helper fun.
4311 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
4313 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4315 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
4317 * autorevert.el (auto-revert-handler): Ensure, that
4318 file-readable-p is applied only for local files or in
4319 auto-revert-tail-mode.
4321 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
4323 * server.el (server-eval-at): Handle non-tcp connections.
4324 Decode result string.
4326 * server.el (server-msg-size): New constant.
4327 (server-reply-print): New function.
4328 (server-eval-and-print): Use it.
4329 (server-eval-at): Use server-quote-arg and server-unquote-arg.
4332 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
4334 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4337 2012-03-11 Chong Yidong <cyd@gnu.org>
4339 * simple.el (goto-line): Doc fix (Bug#9938).
4341 * subr.el (save-window-excursion): Doc fix (Bug#9979).
4343 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4344 when finished (Bug#10963).
4346 2012-03-11 Martin Rudalics <rudalics@gmx.at>
4348 * window.el (split-window-below): Fix bug in case where
4349 split-window-keep-point is nil (Bug#10971).
4351 2012-03-11 Juri Linkov <juri@jurta.org>
4353 * replace.el (replace-highlight): Set isearch-word to nil
4354 unconditionally. (Bug#10887)
4356 2012-03-10 Eli Zaretskii <eliz@gnu.org>
4358 * net/mairix.el (mairix-replace-invalid-chars): Rename from
4359 mairix-replace-illegal-chars; all callers changed. Don't remove
4360 ^, ~, and = characters: they are meaningful in mairix search specs.
4361 (mairix-widget-create-query): Add usage information about mairix
4362 search forms: negating words, searching for substrings, etc.
4364 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
4366 * international/fontset.el (font-encoding-alist): Add an entry for
4369 2012-03-10 Richard Stallman <rms@gnu.org>
4371 * mail/sendmail.el (mail-encode-header):
4372 Set rfc2047-encode-encoded-words.
4374 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4376 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4377 view buffer means not swapped.
4378 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4379 (rmail-write-region-annotate): Error if real text has disappeared.
4381 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4383 2012-03-10 Chong Yidong <cyd@gnu.org>
4385 * emulation/cua-rect.el (cua--init-rectangles):
4386 * emulation/cua-base.el (cua--init-keymaps):
4387 Add delete-forward-char to remappings (Bug#9666).
4389 2012-03-10 Martin Rudalics <rudalics@gmx.at>
4391 * speedbar.el (speedbar-unhighlight-one-tag-line):
4392 Avoid unhighlighting due to frame switching (Bug#10275).
4394 2012-03-10 Chong Yidong <cyd@gnu.org>
4396 * minibuffer.el (completion-in-region, completion-help-at-point):
4397 Give the completion field overlay a high priority (Bug#6830).
4399 * dired.el (dired-goto-file): Recognize absolute file name
4400 listings (Bug#7126).
4401 (dired-goto-file-1): New helper function.
4402 (dired-toggle-read-only): Inhibit warnings.
4404 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
4406 * net/dbus.el (dbus-property-handler): Return empty array if
4407 there are no properties.
4409 2012-03-09 Leo Liu <sdl.web@gmail.com>
4411 * savehist.el (savehist-printable): Stricter check for string
4414 2012-03-09 Eli Zaretskii <eliz@gnu.org>
4416 * mail/smtpmail.el (smtpmail-send-it):
4417 Bind coding-system-for-write to *-unix, so that FCC files are kept in
4420 2012-03-09 Glenn Morris <rgm@gnu.org>
4422 * files.el (dir-locals-find-file):
4423 Don't check result is regular, readable.
4424 (dir-locals-read-from-file): Demote errors.
4426 2012-03-08 Eli Zaretskii <eliz@gnu.org>
4428 * international/quail.el (quail-insert-kbd-layout):
4429 Insert invisible LRM characters before each character in a keyboard
4430 layout cell, to prevent their reordering by bidi display engine.
4431 For details, see the discussion in
4432 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4434 2012-03-08 Alan Mackenzie <acm@muc.de>
4436 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
4437 the starting position; make it extend the marked region when
4438 invoked repeatedly - all under appropriate circumstances.
4439 Fixes bugs #5525, #10906.
4441 2012-03-08 Glenn Morris <rgm@gnu.org>
4443 * files.el (locate-dominating-file, dir-locals-find-file):
4444 Undo 2012-03-06 change.
4446 2012-03-07 Eli Zaretskii <eliz@gnu.org>
4448 * international/quail.el (quail-help):
4449 Force bidi-paragraph-direction be left-to-right. See discussion in
4450 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
4453 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
4455 Avoid superfluous registering of signals. (Bug#10807)
4457 * notifications.el (notifications-on-action-object)
4458 (notifications-on-close-object): New defvars.
4459 (notifications-on-action-signal, notifications-on-closed-signal):
4460 Unregister the signal if not needed any longer.
4461 (notifications-notify): Register `notifications-action-signal' or
4462 `notifications-closed-signal', if :on-action or :on-close has been
4465 2012-03-07 Chong Yidong <cyd@gnu.org>
4467 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4470 2012-03-06 Glenn Morris <rgm@gnu.org>
4472 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4473 (x-disown-selection-internal, x-get-selection-internal):
4474 Doc fix (add arglist signatures). (Bug#10783)
4476 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4478 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4479 Handle breakpoints with no "type".
4481 2012-03-06 Glenn Morris <rgm@gnu.org>
4483 * files.el (locate-dominating-file): Add optional predicate argument.
4484 (dir-locals-find-file): Make use of above change.
4486 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
4488 * info.el (Info-insert-dir): Also try "dir.gz".
4490 2012-03-06 Glenn Morris <rgm@gnu.org>
4492 * files.el (dir-locals-find-file):
4493 Ignore non-readable or non-regular files. (Bug#10928)
4495 * files.el (locate-dominating-file): Doc fix.
4497 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
4499 * calendar/calendar.el (calendar-set-mode-line):
4500 `getenv' returns a string. (Bug#10951)
4502 2012-03-05 Leo Liu <sdl.web@gmail.com>
4504 * simple.el (backward-delete-char-untabify): Constrain point to
4507 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4509 2012-03-05 Chong Yidong <cyd@gnu.org>
4511 * simple.el (count-words): If called from Lisp, return the word
4512 count, for symmetry with `count-lines'. Arglist changed.
4513 (count-words--message): Args changed. Consolidate counting code
4514 from count-words and count-words-region.
4515 (count-words-region): Caller changed.
4516 (count-lines-region): Make it an obsolete alias.
4518 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
4520 * saveplace.el (save-place-to-alist)
4521 (save-place-ignore-files-regexp): Allow value nil to disable this
4524 2012-03-04 Chong Yidong <cyd@gnu.org>
4526 * faces.el (face-spec-reset-face): For the default face, reset the
4527 attributes to default values (Bug#10748).
4529 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4531 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4532 previous patch: Check `message-send-mail-function', and not the
4533 default function (bug#10897).
4535 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
4537 * notifications.el (notifications-on-action-signal)
4538 (notifications-on-closed-signal): Check for unique service name of
4539 incoming event. Fix error in removing entry.
4540 (top): Register for signals with wildcard service name.
4541 (notifications-notify): Use daemon unique service name for map entries.
4543 2012-03-04 Chong Yidong <cyd@gnu.org>
4545 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
4547 2012-03-04 Glenn Morris <rgm@gnu.org>
4549 * abbrev.el (copy-abbrev-table, abbrev-table-p)
4550 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4551 (expand-abbrev, define-abbrev-table): Doc fixes.
4553 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4555 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4556 `message-default-send-mail-function' and not `send-mail-function'
4557 when doing the prompting for `sendmail-query-once' before sending
4558 in Message buffers (bug#10897).
4560 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4561 This is inconsistent with all the other stream functions, which leave
4562 the setting up to the higher levels (if so wanted) (bug#10931).
4564 2012-03-02 Alan Mackenzie <acm@muc.de>
4566 Depessimize the handling of very large macros.
4568 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4569 (c-macro-cache-syntactic): New variables to implement a one
4570 element macro cache.
4571 (c-invalidate-macro-cache): New function.
4572 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4573 Adapt to use the new cache.
4574 (c-state-safe-place): Use better the cache of safe positions.
4575 (c-state-semi-nonlit-pos-cache)
4576 (c-state-semi-nonlit-pos-cache-limit):
4577 New variables for...
4578 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
4579 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
4580 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4581 Use c-state-semi-safe-place.
4583 * progmodes/cc-langs.el (c-get-state-before-change-functions):
4584 Add c-invalidate-macro-cache to the C, C++, Obj entries.
4586 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
4588 * jka-compr.el (jka-compr-call-process):
4589 Apply `file-accessible-directory-p' only when the default directory is
4592 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
4594 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
4595 access of FILE2, if FILE1 does not exist.
4597 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4598 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4600 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4601 Add "PAGER=" to `process-environment'.
4603 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
4605 * progmodes/sql.el: Bug fix
4606 (sql-get-login-ext): Save login values in globals.
4607 (sql-get-login): Use new version of `sql-get-login-ext'.
4608 (sql-interactive-mode): Set global `sql-connection' to nil.
4609 (sql-connect): Set global values for connection.
4610 (sql-product-interactive): Save global values as buffer local.
4612 2012-02-29 Leo Liu <sdl.web@gmail.com>
4614 * abbrev.el (define-abbrevs): Reset sys to nil.
4616 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4618 * files.el (file-equal-p): Rename from `files-equal-p'.
4619 Return nil when one or both files don't exist.
4620 (file-subdir-of-p): Now only top directory must exists,
4621 return nil if it doesn't.
4622 (copy-directory): No need to test with `file-subdir-of-p' after
4624 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4627 2012-02-28 Glenn Morris <rgm@gnu.org>
4629 * shell.el (shell-mode):
4630 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4631 * play/landmark.el (landmark-font-lock-face-O):
4632 * play/handwrite.el (handwrite):
4633 * play/gomoku.el (gomoku-O):
4634 * net/browse-url.el (browse-url-browser-display):
4635 * international/mule.el (define-charset):
4636 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4637 * filesets.el (filesets-find-file-delay):
4638 * eshell/em-xtra.el (eshell-xtra):
4639 * eshell/em-unix.el (eshell-grep):
4640 * emulation/viper.el (viper-mode):
4641 * emacs-lisp/regexp-opt.el (regexp-opt-group):
4642 * emacs-lisp/easymenu.el (easy-menu-define):
4643 * calendar/timeclock.el (timeclock-use-display-time):
4645 * bookmark.el (bookmark-save-flag):
4646 Doc fix (standardize possessive apostrophe usage).
4648 2012-02-27 Chong Yidong <cyd@gnu.org>
4650 * emulation/viper-cmd.el (viper-intercept-ESC-key):
4651 Fix key-binding lookup for ESC key (Bug#9146).
4653 * font-lock.el (font-lock-specified-p): Rename from
4654 font-lock-spec-present. Callers changed.
4656 2012-02-27 Daniel Hackney <dan@haxney.org>
4658 * emacs-lisp/package.el (package-compute-transaction):
4659 Handle holding a package version to t in package-load-list.
4661 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
4663 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4664 (tramp-get-inode, tramp-get-device): Use cached values.
4666 2012-02-26 Alan Mackenzie <acm@muc.de>
4668 Check there is a font-lock specification before doing initial
4671 * font-core.el (font-lock-mode): Move the conditional from
4672 :after-hook to font-lock-initial-fontify.
4673 (font-lock-default-function): Move the check for a specification
4674 to font-lock-spec-present.
4676 * font-lock.el (font-lock-initial-fontify): Call ...
4677 (font-lock-spec-present): New function.
4679 2012-02-26 Jim Blandy <jimb@red-bean.com>
4681 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4682 (gdb-send): Apply it to the operand of the '-interpreter-exec
4683 console' command, so that we can pass arguments with (say) quotes
4684 in them. Store exact string sent in gdb-debug-log (Bug#10765).
4686 2012-02-26 Chong Yidong <cyd@gnu.org>
4688 * help-fns.el (describe-function-1): Clarify description of
4689 remapping (Bug#10844).
4691 * files.el (files-equal-p): Doc fix.
4692 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
4693 and quit the loop once a mismatch is found.
4695 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
4697 * bs.el (bs--show-with-configuration): Don't throw an error
4698 if the window cannot be split; otherwise, subsequent calls to
4699 bs-show fail, restoring a stale window config. (Bug#10882)
4701 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
4703 * term/ns-win.el (global-map): Bind ns-drag-file to
4704 ns-find-file (Bug#5855, Bug#10050).
4706 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
4708 * calendar/parse-time.el (parse-time-string): Allow extractor to
4711 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
4713 * net/tramp.el (tramp-file-name-for-operation):
4714 Add `files-equal-p' and `file-subdir-of-p'.
4716 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4717 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4718 Add COPY-CONTENTS argument.
4720 2012-02-25 Chong Yidong <cyd@gnu.org>
4722 Add custom groups for VC backends, for consistency with vc-bzr.
4724 * vc/vc-arch.el (vc-arch):
4725 * vc/vc-cvs.el (vc-cvs):
4726 * vc/vc-git.el (vc-git):
4727 * vc/vc-hg.el (vc-hg):
4728 * vc/vc-mtn.el (vc-mtn):
4729 * vc/vc-rcs.el (vc-rcs):
4730 * vc/vc-sccs.el (vc-sccs):
4731 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
4732 All relevant defcustoms reassigned.
4734 2012-02-25 Chong Yidong <cyd@gnu.org>
4736 * newcomment.el (comment-styles): Add autoload (Bug#10868).
4738 * term/x-win.el (x-initialize-window-system): Reduce default for
4739 x-selection-timeout to 5 seconds (Bug#8869).
4741 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4743 * files.el (files-equal-p, file-subdir-of-p): New functions.
4744 (copy-directory): Error when trying to copy a directory on itself.
4745 Add missing copy-contents arg to tramp handler.
4746 * dired-aux.el (dired-copy-file-recursive): Same.
4747 (dired-create-files): Modify destination when source is equal to
4748 dest when copying files.
4749 Return also when dest is a subdir of source. (Bug#10489)
4751 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
4753 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
4756 2012-02-23 Alan Mackenzie <acm@muc.de>
4758 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
4759 parameter "after-hook:" to allow the expansion to run code after
4760 the execution of the mode hooks.
4762 * font-lock.el (font-lock-initial-fontify): New function extracted
4763 from font-lock-mode-internal.
4765 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
4768 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4770 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4771 (completion--cache-all-sorted-completions): New function.
4772 (completion-all-sorted-completions): Use it.
4773 (completion--do-completion, minibuffer-force-complete):
4774 Use it to re-instate the flush hook.
4776 * icomplete.el (icomplete-completions): Replace last fix with a better
4779 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
4781 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4782 when it might call us back infinitely (bug#10797).
4784 2012-02-23 Glenn Morris <rgm@gnu.org>
4786 * minibuffer.el (completion-category-overrides): Doc fix.
4788 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4790 * minibuffer.el (completion-table-with-context): Fix inf-loop.
4791 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4793 2012-02-23 Glenn Morris <rgm@gnu.org>
4795 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
4796 (authors-obsolete-files-regexps, authors-ignored-files)
4797 (authors-ambiguous-files, authors-renamed-files-alist):
4800 2012-02-23 Juri Linkov <juri@jurta.org>
4802 * isearch.el (isearch-occur): Sync interactive spec with occur's
4803 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4805 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4807 2012-02-22 Juri Linkov <juri@jurta.org>
4809 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4810 (ucs-insert): Doc fix. Check for hex digits in the string.
4811 Don't display `nil' in the error message. (Bug#10857)
4813 2012-02-22 Alan Mackenzie <acm@muc.de>
4815 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
4817 2012-02-22 Glenn Morris <rgm@gnu.org>
4819 * ffap.el (ffap-c-path):
4820 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4822 2012-02-22 Chong Yidong <cyd@gnu.org>
4824 * custom.el (load-theme): Doc fix.
4826 2012-02-22 Glenn Morris <rgm@gnu.org>
4828 * dired-x.el (dired-guess-shell-alist-default):
4829 Remove escape sequences from nroff output. (Bug#172)
4831 2012-02-21 Glenn Morris <rgm@gnu.org>
4833 * vc/emerge.el (emerge-defvar-local):
4834 Set `permanent-local' property rather than unused `preserved'.
4836 * textmodes/picture.el (picture-delete-char): New alias.
4837 (picture-mode-map): Use it. (Bug#10860)
4838 (picture-mode): Doc fix.
4840 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
4842 * newcomment.el (uncomment-region-default): Remove unused binding.
4844 2012-02-21 Glenn Morris <rgm@gnu.org>
4846 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4847 (picture-self-insert, picture-tab-chars): Doc fix.
4848 (picture-mode-map): Fix C-a, C-e.
4850 2012-02-20 Glenn Morris <rgm@gnu.org>
4852 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4854 2012-02-20 Leo Liu <sdl.web@gmail.com>
4856 * icomplete.el (icomplete-completions): Check FROM arg before
4857 passing to substring (Bug#10850).
4859 2012-02-19 Chong Yidong <cyd@gnu.org>
4861 * comint.el: Require ansi-color.
4862 (comint-output-filter-functions): Add ansi-color-process-output.
4864 * ansi-color.el: Don't set comint-output-filter-functions; it is
4865 now in the initial value defined in comint.el.
4866 (ansi-color-apply-face-function): New variable.
4867 (ansi-color-apply-on-region): Use it.
4868 (ansi-color-apply-overlay-face): New function.
4870 * shell.el (shell): No need to require ansi-color.
4871 (shell-mode): Use ansi-color-apply-face-function to highlight
4872 color escapes using font-lock-face property (Bug#10835).
4874 2012-02-19 Chong Yidong <cyd@gnu.org>
4876 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4877 mode-line formats (Bug#10839).
4879 2012-02-18 Glenn Morris <rgm@gnu.org>
4881 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4883 * mail/undigest.el (unforward-rmail-message): Doc fix.
4885 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4887 2012-02-18 Eli Zaretskii <eliz@gnu.org>
4889 * international/characters.el (script-list): Sync with the latest
4890 Unicode Character Database.
4892 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4894 * international/titdic-cnv.el: Remove duplicate coding tag.
4895 * language/cham.el: Likewise.
4896 * language/tai-viet.el: Likewise.
4898 2012-02-18 Glenn Morris <rgm@gnu.org>
4900 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4901 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4902 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4903 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4904 * calendar/holidays.el (holiday-bahai-holidays)
4905 (calendar-holidays, list-holidays):
4906 Use utf-8 Bahá'í in doc-strings, menus, etc.
4908 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4910 * saveplace.el (save-place-ignore-files-regexp): New variable
4911 allowing for excluding files from saving their location of point.
4912 The default value matches the temporary commit message editing
4913 files from Git, SVN, Bazaar, and Mercurial.
4914 (save-place-to-alist): Use it.
4916 2012-02-17 Lawrence Mitchell <wence@gmx.li>
4917 Stefan Monnier <monnier@iro.umontreal.ca>
4919 * newcomment.el (uncomment-region-default): Don't leave extra space
4920 when an arg is provided (bug#8150).
4922 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4924 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
4926 2012-02-17 Glenn Morris <rgm@gnu.org>
4928 * net/socks.el: Require network-stream. (Bug#10599)
4930 2012-02-17 Kenichi Handa <handa@m17n.org>
4932 * international/charprop.el:
4933 * international/uni-name.el:
4934 * international/uni-old-name.el:
4935 * international/uni-comment.el: Regenerate.
4937 2012-02-16 Glenn Morris <rgm@gnu.org>
4939 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4940 Interactively in calendar buffer, give an error if not on a date.
4942 2012-02-15 Glenn Morris <rgm@gnu.org>
4944 * shell.el (shell-delimiter-argument-list):
4945 Revert 2011-02-17 change. (Bug#8027)
4947 2012-02-15 Chong Yidong <cyd@gnu.org>
4949 * minibuffer.el (completion-at-point-functions): Doc fix.
4951 * custom.el (defcustom): Doc fix; note use of defvar.
4953 2012-02-15 Glenn Morris <rgm@gnu.org>
4955 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4958 2012-02-14 Glenn Morris <rgm@gnu.org>
4960 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4962 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4964 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4965 way the ports list is computed.
4966 (smtpmail-query-smtp-server): Prompt the user for a port number if
4967 we can't connect to any of the standard ports (bug#10810).
4969 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4971 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4973 2012-02-13 Glenn Morris <rgm@gnu.org>
4975 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4977 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4979 * net/gnutls.el (gnutls-trustfiles): New variable.
4980 (gnutls-negotiate): Use it.
4982 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4984 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4985 does its stuff if Gnus is running.
4987 2012-02-13 Alan Mackenzie <acm@muc.de>
4989 Fix a loop in c-set-fl-decl-start.
4991 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
4992 c-backward-syntactic-ws actually moves backwards.
4994 2012-02-13 Leo Liu <sdl.web@gmail.com>
4996 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4997 beginning so that all \C-o chars are removed.
4999 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
5001 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
5003 2012-02-12 Alan Mackenzie <acm@muc.de>
5005 Fix infinite loop with long macros.
5006 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
5008 2012-02-12 Chong Yidong <cyd@gnu.org>
5010 * window.el (display-buffer): Doc fix (Bug#10785).
5012 2012-02-12 Glenn Morris <rgm@gnu.org>
5014 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
5015 (x-disown-selection-internal, x-get-selection-internal):
5016 Sync docs with the xselect.c versions.
5018 * allout-widgets.el: Add missing license notice.
5020 2012-02-11 Glenn Morris <rgm@gnu.org>
5022 * select.el (x-get-selection-internal, x-own-selection-internal)
5023 (x-disown-selection-internal):
5024 * x-dnd.el (x-get-selection-internal): Update declarations.
5026 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
5028 * window.el (window-sides-slots):
5029 * tool-bar.el (tool-bar-position):
5030 * term/xterm.el (xterm-extra-capabilities):
5031 * ses.el (ses-self-reference-early-detection):
5032 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
5033 (verilog-auto-wire-type)
5034 (verilog-auto-delete-trailing-whitespace)
5035 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
5036 (verilog-auto-tieoff-declaration):
5037 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
5038 (sql-oracle-statement-starters, sql-oracle-scan-on):
5039 * progmodes/prolog.el (prolog-align-comments-flag)
5040 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
5041 (prolog-left-indent-regexp, prolog-paren-indent-p)
5042 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
5043 (prolog-types, prolog-mode-specificators)
5044 (prolog-determinism-specificators, prolog-directives)
5045 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
5046 (prolog-electric-dot-flag)
5047 (prolog-electric-dot-full-predicate-template)
5048 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
5049 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
5050 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
5051 (prolog-program-switches, prolog-prompt-regexp)
5052 (prolog-debug-on-string, prolog-debug-off-string)
5053 (prolog-trace-on-string, prolog-trace-off-string)
5054 (prolog-zip-on-string, prolog-zip-off-string)
5055 (prolog-use-standard-consult-compile-method-flag)
5056 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
5057 (prolog-imenu-max-lines, prolog-info-predicate-index)
5058 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
5059 (prolog-char-quote-workaround):
5060 * progmodes/cc-vars.el (c-defun-tactic):
5061 * net/tramp.el (tramp-encoding-command-interactive)
5062 (tramp-local-end-of-line):
5063 * net/soap-client.el (soap-client):
5064 * net/netrc.el (netrc-file):
5065 * net/gnutls.el (gnutls):
5066 * minibuffer.el (completion-category-overrides)
5067 (completion-cycle-threshold)
5068 (completion-pcm-complete-word-inserts-delimiters):
5069 * man.el (Man-name-local-regexp):
5070 * mail/feedmail.el (feedmail-display-full-frame):
5071 * international/characters.el (glyphless-char-display-control):
5072 * eshell/em-ls.el (eshell-ls-date-format):
5073 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
5074 (lisp-lambda-list-keyword-parameter-indentation)
5075 (lisp-lambda-list-keyword-parameter-alignment):
5076 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
5077 * dired-x.el (dired-omit-verbose):
5078 * cus-theme.el (custom-theme-allow-multiple-selections):
5079 * calc/calc.el (calc-highlight-selections-with-faces)
5080 (calc-lu-field-reference, calc-lu-power-reference)
5081 (calc-note-threshold):
5082 * battery.el (battery-mode-line-limit):
5083 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5084 (archive-7z-update):
5085 * allout.el (allout-prefixed-keybindings)
5086 (allout-unprefixed-keybindings)
5087 (allout-inhibit-auto-fill-on-headline)
5088 (allout-flattened-numbering-abbreviation):
5089 * allout-widgets.el (allout-widgets-auto-activation)
5090 (allout-widgets-icons-dark-subdir)
5091 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
5092 (allout-widgets-theme-dark-background)
5093 (allout-widgets-theme-light-background)
5094 (allout-widgets-item-image-properties-emacs)
5095 (allout-widgets-item-image-properties-xemacs)
5096 (allout-widgets-run-unit-tests-on-load)
5097 (allout-widgets-time-decoration-activity)
5098 (allout-widgets-hook-error-post-time)
5099 (allout-widgets-track-decoration):
5100 Add missing :version tags to new defcustoms and defgroups.
5102 * progmodes/sql.el (sql-ansi-statement-starters)
5103 (sql-oracle-statement-starters): Add custom type.
5105 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
5106 (prolog-system-version): Give it a type.
5108 2012-02-11 Eli Zaretskii <eliz@gnu.org>
5110 * term/pc-win.el (x-select-text, x-selection-owner-p)
5111 (x-own-selection-internal, x-disown-selection-internal)
5112 (x-get-selection-internal): Sync doc strings and argument lists
5113 with xselect.c, common-win.el and x-win.el. (Bug#10783)
5115 2012-02-11 Leo Liu <sdl.web@gmail.com>
5117 * progmodes/python.el (python-end-of-statement): Fix infinite
5120 2012-02-10 Glenn Morris <rgm@gnu.org>
5122 * international/mule-cmds.el (unify-8859-on-encoding-mode)
5123 (unify-8859-on-decoding-mode): Properly mark as obsolete.
5125 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
5127 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
5128 about SMTP before checking the From header.
5130 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
5131 into own function for reuse by emacsbug.el.
5133 2012-02-10 Leo Liu <sdl.web@gmail.com>
5135 * subr.el (condition-case-unless-debug): Rename from
5136 condition-case-no-debug. All callers changed.
5137 (with-demoted-errors): Fix caller.
5139 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
5140 * nxml/rng-valid.el (rng-do-some-validation):
5141 * emacs-lisp/package.el (package-refresh-contents)
5142 (package-menu-execute):
5143 * desktop.el (desktop-create-buffer):
5144 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
5146 2012-02-10 Glenn Morris <rgm@gnu.org>
5148 * textmodes/bibtex.el:
5149 Add missing :version tags for new/changed defcustoms.
5151 * files.el (remote-file-name-inhibit-cache): Doc fixes.
5153 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
5155 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
5156 (smtpmail-via-smtp): Use it, or fall back on the From address.
5157 (smtpmail-send-it): Ditto.
5159 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
5161 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
5162 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
5163 (byte-compile-tmp-var): New const.
5164 (byte-compile-defvar): Use it to minimize .elc size.
5165 Just use `defvar' rather than simulate it (bug#10761).
5167 2012-02-09 Glenn Morris <rgm@gnu.org>
5169 * files.el (rename-uniquely): Doc fix. (Bug#3806)
5171 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
5174 * progmodes/compile.el (compilation-error-screen-columns)
5175 (compilation-first-column, compilation-filter-start): Doc fixes.
5177 * vc/log-view.el (log-view-toggle-entry-display):
5178 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
5180 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
5181 (report-emacs-bug-can-use-xdg-email):
5182 (report-emacs-bug-insert-to-mailer): Doc fixes.
5183 (report-emacs-bug): Message fix.
5185 * net/browse-url.el (browse-url-can-use-xdg-open)
5186 (browse-url-xdg-open): Doc fixes.
5188 * electric.el (electric-indent-mode, electric-pair-mode)
5189 (electric-layout-rules, electric-layout-mode): Doc fixes.
5190 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
5192 2012-02-08 Martin Rudalics <rudalics@gmx.at>
5194 * server.el (server-unselect-display): Don't inadvertently kill
5195 the current buffer. (Bug#10729)
5197 2012-02-08 Glenn Morris <rgm@gnu.org>
5199 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
5200 (sql-list-table): Doc fixes.
5202 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
5203 Comment out (does nothing).
5205 * completion.el (dynamic-completion-mode):
5206 * dirtrack.el (dirtrack-debug-mode):
5207 * electric.el (electric-layout-mode):
5208 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
5209 * face-remap.el (text-scale-mode, buffer-face-mode):
5210 * iimage.el (iimage-mode):
5211 * image-mode.el (image-transform-mode):
5212 * minibuffer.el (completion-in-region-mode):
5213 * scroll-lock.el (scroll-lock-mode):
5214 * simple.el (next-error-follow-minor-mode):
5215 * tar-mode.el (tar-subfile-mode):
5216 * tooltip.el (tooltip-mode):
5217 * vcursor.el (vcursor-use-vcursor-map):
5218 * wid-browse.el (widget-minor-mode):
5219 * emulation/tpu-edt.el (tpu-edt-mode):
5220 * emulation/tpu-extras.el (tpu-cursor-free-mode):
5221 * international/iso-ascii.el (iso-ascii-mode):
5222 * language/thai-util.el (thai-word-mode):
5223 * mail/supercite.el (sc-minor-mode):
5224 * net/goto-addr.el (goto-address-mode):
5225 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
5226 * progmodes/cwarn.el (cwarn-mode):
5227 * progmodes/flymake.el (flymake-mode):
5228 * progmodes/glasses.el (glasses-mode):
5229 * progmodes/hideshow.el (hs-minor-mode):
5230 * progmodes/pascal.el (pascal-outline-mode):
5231 * textmodes/enriched.el (enriched-mode):
5232 * vc/smerge-mode.el (smerge-mode):
5233 Doc fixes (minor mode argument).
5235 2012-02-07 Eli Zaretskii <eliz@gnu.org>
5237 * ls-lisp.el (ls-lisp-sanitize): New function.
5238 (ls-lisp-insert-directory): Use it to fix or remove any elements
5239 in file-alist with missing attributes. (Bug#4673)
5241 2012-02-07 Alan Mackenzie <acm@muc.de>
5243 Fix spurious recognition of c-in-knr-argdecl.
5245 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5246 putative K&R region.
5248 2012-02-07 Alan Mackenzie <acm@muc.de>
5250 * progmodes/cc-engine.el (c-forward-objc-directive):
5251 Prevent looping in "#pragma mark @implementation".
5253 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
5255 * notifications.el (notifications-on-closed-signal): Make `reason'
5256 optional. (Bug#10744)
5258 2012-02-07 Glenn Morris <rgm@gnu.org>
5260 * emacs-lisp/easy-mmode.el (define-minor-mode):
5261 Doc fixes for the macro and the mode it defines.
5263 * image.el (imagemagick-types-inhibit): Doc fix.
5265 * cus-start.el (imagemagick-render-type): Add it.
5267 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
5269 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5270 Set the default at load time, too, so that `font-lock-fontify-buffer'
5271 can be called without setting up the entire mode first. This fixes
5272 a bug in `mm-inline-text' with C MIME parts.
5274 2012-02-06 Chong Yidong <cyd@gnu.org>
5276 * simple.el (list-processes--refresh): Delete exited processes
5279 * comint.el (comint-next-prompt): next-single-char-property-change
5280 and prev-single-char-property-change never return nil (Bug#8657).
5282 * custom.el (defcustom): Doc fix (Bug#9711).
5284 2012-02-05 Chong Yidong <cyd@gnu.org>
5286 * cus-edit.el (custom-variable-reset-backup): Quote the value
5287 before storing it in the customized-value property (Bug#6712).
5288 (custom-display): Add a customization type tag.
5289 (custom-buffer-create-internal): Improve tooltip message.
5291 * wid-edit.el (widget-field-value-get): New optional arg to
5292 suppress trailing whitespace truncation.
5293 (character): Use it (Bug#2689).
5295 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
5297 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5298 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5300 2012-02-05 Chong Yidong <cyd@gnu.org>
5302 * cus-edit.el (custom-variable-value-create): For mismatched
5303 types, show the current value (Bug#7600).
5305 * custom.el (defcustom): Doc fix.
5307 2012-02-05 Glenn Morris <rgm@gnu.org>
5309 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5311 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
5313 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5314 (pp-buffer): Use `ignore-errors', `looking-at-p'.
5315 (pp-last-sexp): Use `looking-at-p'.
5317 2012-02-04 Glenn Morris <rgm@gnu.org>
5319 * files.el (revert-buffer):
5320 Doc fix (mention revert-buffer-in-progress-p).
5322 * emacs-lisp/ert-x.el (ert-simulate-command):
5323 Check deferred-action-list (which is obsolete) is bound.
5325 * subr.el (with-wrapper-hook): Doc fixes.
5327 * simple.el (filter-buffer-substring-functions)
5328 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5330 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
5332 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5333 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
5335 2012-02-04 Leo Liu <sdl.web@gmail.com>
5337 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5339 2012-02-04 Glenn Morris <rgm@gnu.org>
5341 * image.el (image-extension-data): Add obsolete alias.
5343 * isearch.el (isearch-update): Doc fix.
5345 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5347 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5349 2012-02-03 Glenn Morris <rgm@gnu.org>
5351 * image.el (image-animated-p): Doc fix. Use image-animated-types.
5352 (image-animate-timeout): Doc fix.
5354 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5356 2012-02-02 Glenn Morris <rgm@gnu.org>
5358 * server.el (server-auth-dir): Doc fix.
5359 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
5361 * subr.el (run-mode-hooks): Doc fix.
5363 2012-02-02 Juri Linkov <juri@jurta.org>
5365 * image-mode.el (image-toggle-display-image): Remove tautological
5366 `major-mode' from the `derived-mode-p' test.
5368 2012-02-02 Kenichi Handa <handa@m17n.org>
5370 * composite.el (compose-region): Cancel previous change.
5372 2012-02-02 Kenichi Handa <handa@m17n.org>
5374 * composite.el (compose-region, compose-string): Signal error for
5375 a null string component (Bug#6988).
5377 2012-02-01 Chong Yidong <cyd@gnu.org>
5379 * view.el (view-buffer-other-window, view-buffer-other-frame):
5380 Handle special modes like view-buffer (Bug#10650).
5381 (view-buffer): Simplify.
5383 * frame.el (set-frame-font): Tweak meaning of third argument.
5385 * dynamic-setting.el (font-setting-change-default-font):
5386 Use set-frame-font (Bug#9982).
5388 2012-02-01 Glenn Morris <rgm@gnu.org>
5390 * progmodes/compile.el (compilation-internal-error-properties):
5391 Respect compilation-first-column in the "*compilation*" buffer.
5393 * emacs-lisp/easy-mmode.el (define-minor-mode):
5394 Relax :variable's test for a named function.
5396 2012-01-31 Alan Mackenzie <acm@muc.de>
5398 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5401 2012-01-31 Chong Yidong <cyd@gnu.org>
5403 * frame.el (set-frame-font): New arg ALL-FRAMES.
5405 * menu-bar.el (menu-set-font): Use set-frame-font.
5407 * faces.el (face-spec-reset-face): Don't apply unspecified
5408 attribute values to the default face.
5410 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
5412 * progmodes/cwarn.el (cwarn): Remove dead link.
5413 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5414 Remove * from defcustom docstrings.
5415 (turn-on-cwarn-mode): Make obsolete.
5416 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5417 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5419 2012-01-31 Glenn Morris <rgm@gnu.org>
5421 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5422 Fix :variable handling of mode a symbol not equal to modefun.
5423 Allow named functions to be used as the cdr of :variable.
5425 2012-01-30 Glenn Morris <rgm@gnu.org>
5427 * emacs-lisp/authors.el (authors-fixed-entries):
5428 Remove reference to deleted file rnewspost.el.
5430 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
5432 * window.el (window-with-parameter): Remove unused variable `windows'.
5433 (window--side-check): Remove unused variable `code'.
5434 (window--resize-siblings): Remove unused variable `first'.
5435 (adjust-window-trailing-edge): Remove unused variable `failed'.
5436 (window-deletable-p, window--delete): Remove unused variable `buffer'.
5437 Use `let', not `let*'.
5438 (balance-windows-2): Remove unused variable `found'.
5439 (window--state-put-2): Remove unused variable `splits'.
5440 (window-state-put): Remove unused variable `selected'.
5441 (same-window-p): Use `string-match-p'.
5442 (display-buffer-assq-regexp): Remove unused variable `value'.
5443 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5444 Mark argument ALIST as ignored.
5445 (pop-to-buffer): Remove unused variable `old-window'.
5447 2012-01-29 Eli Zaretskii <eliz@gnu.org>
5449 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
5450 and .lzma compressed files.
5452 2012-01-29 Chong Yidong <cyd@gnu.org>
5454 * frame.el (window-system-default-frame-alist): Doc fix.
5456 * dynamic-setting.el (font-setting-change-default-font): Don't
5457 change the default face if SET-FONT argument is non-nil (Bug#9982).
5459 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
5461 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
5463 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
5465 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5466 breakpoints in files outside current directory (Bug#6098).
5468 2012-01-29 Chong Yidong <cyd@gnu.org>
5470 * progmodes/python.el: Require ansi-color at top-level.
5472 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5473 Define and use in Emacs Lisp mode (Bug#9360).
5474 (lisp-mode-abbrev-table): Add doc.
5475 (lisp-mode-variables): Don't set local-abbrev-table.
5476 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5478 2012-01-28 Roland Winkler <winkler@gnu.org>
5480 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5482 2012-01-28 Roland Winkler <winkler@gnu.org>
5484 * textmodes/bibtex.el (bibtex-entry-alist): New function.
5485 (bibtex-set-dialect): Use it. Either set global values of
5486 dialect-dependent variables or bind these variables buffer-locally
5488 (bibtex-mode): Call bibtex-set-dialect via
5489 hack-local-variables-hook.
5490 (bibtex-dialect): Update docstring.
5491 Add safe-local-variable predicate.
5492 (bibtex-entry-alist, bibtex-field-alist): Initialize via
5494 (bibtex-mode-map): Define menu for each dialect.
5495 (bibtex-entry): Fix docstring.
5497 2012-01-28 Chong Yidong <cyd@gnu.org>
5499 * eshell/esh-arg.el (eshell-quote-argument): New function.
5501 * eshell/esh-ext.el (eshell-invoke-batch-file):
5502 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5503 first arg to eshell-parse-command (Bug#10523).
5505 2012-01-28 Drew Adams <drew.adams@oracle.com>
5507 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5508 `default-directory' is non-nil.
5510 2012-01-28 Eli Zaretskii <eliz@gnu.org>
5512 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5513 line that displays system-configuration-options. (Bug#9924)
5515 2012-01-28 Drew Adams <drew.adams@oracle.com>
5517 * descr-text.el (describe-char): Show information about POS, in
5518 addition to information about the character at POS. Improve and
5519 update the doc string. Change "code point" to "code point in
5520 charset", to avoid confusion with the character's Unicode code
5521 point shown above that. (Bug#10129)
5523 2012-01-28 Eli Zaretskii <eliz@gnu.org>
5525 * descr-text.el (describe-char): Show the raw character, not only
5526 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
5527 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5530 2012-01-28 Phil Hagelberg <phil@hagelb.org>
5532 * emacs-lisp/package.el (package-install):
5533 Run package-refresh-contents if there is no archive yet (Bug#9798).
5535 2012-01-28 Chong Yidong <cyd@gnu.org>
5537 * emacs-lisp/package.el (package-maybe-load-descriptor):
5538 New function, split from package-maybe-load-descriptor.
5539 (package-maybe-load-descriptor): Use it.
5540 (package-download-transaction): Fully load required packages
5541 inside the loop, so that `require' calls work (Bug#10593).
5542 (package-install): No need to call package-initialize now.
5544 2012-01-28 Chong Yidong <cyd@gnu.org>
5546 * simple.el (deactivate-mark): Doc fix (Bug#8614).
5548 * tooltip.el (tooltip-mode): Doc fix.
5549 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5551 * frame.el (set-cursor-color): Doc fix (Bug#352).
5553 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5554 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5556 * cus-edit.el (custom-buffer-create-internal): Fix search button
5558 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
5560 2012-01-27 Eduard Wiebe <usenet@pusto.de>
5562 * dired.el (dired-mark-files-regexp):
5563 Include any subdirectory components. (Bug#10445)
5565 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5567 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5568 Handle [host]:port syntax. (Bug#10533)
5570 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
5572 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5574 2012-01-26 Glenn Morris <rgm@gnu.org>
5576 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5577 * term.el (term-raw-escape-map): Use Control-X-prefix.
5578 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
5580 2012-01-25 Martin Rudalics <rudalics@gmx.at>
5582 * window.el (window-state-get, window--state-get-1): Don't deal
5583 with fixed-sizeness of windows. Simplify code.
5585 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
5587 * window.el (window--state-get-1, window--state-put-2):
5588 Don't save and restore the mark.
5590 2012-01-25 Chong Yidong <cyd@gnu.org>
5592 * custom.el (custom-variable-p): Doc fix.
5594 2012-01-25 Glenn Morris <rgm@gnu.org>
5596 * dired.el (dired-goto-file): Handle some of the more common
5597 characters that `ls -b' escapes. (Bug#10596)
5599 * progmodes/compile.el (compilation-next-error-function):
5600 Respect compilation-first-column in the "*compilation*" buffer.
5601 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
5603 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
5605 2012-01-24 Glenn Morris <rgm@gnu.org>
5607 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
5609 2012-01-24 Julien Danjou <julien@danjou.info>
5611 * color.el (color-rgb-to-hsl): Fix value computing.
5612 (color-hue-to-rgb): New function.
5613 (color-hsl-to-rgb): New function.
5614 (color-clamp, color-saturate-hsl, color-saturate-name)
5615 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5616 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5618 2012-01-24 Glenn Morris <rgm@gnu.org>
5620 * vc/vc-rcs.el (vc-rcs-create-tag):
5621 * vc/vc-sccs.el (vc-sccs-create-tag):
5622 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
5624 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
5626 * eshell/esh-util.el (eshell-read-hosts-file):
5627 Skip comment lines. (Bug#10549)
5629 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
5631 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
5633 * subr.el (display-delayed-warnings): Doc fix.
5634 (collapse-delayed-warnings): New function to collapse identical
5636 (delayed-warnings-hook): Add it.
5638 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
5640 * net/tramp.el (tramp-action-login): Set connection property "login-as".
5642 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5643 (tramp-default-user-alist): Don't add "pscp".
5644 (tramp-do-copy-or-rename-file-out-of-band): Use connection
5645 property "login-as", if set. (Bug#10530)
5647 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
5649 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5650 "plink1" and "psftp". (Bug#10530)
5652 2012-01-21 Kenichi Handa <handa@m17n.org>
5654 * international/mule-cmds.el (prefer-coding-system): Show a
5655 warning message if the default value of file-name-coding-system
5658 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5660 * windmove.el (windmove-reference-loc):
5661 Fix windmove-reference-loc miscalculation.
5663 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
5665 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5668 2012-01-21 Glenn Morris <rgm@gnu.org>
5670 * international/mule.el (auto-coding-alist): Add .tbz.
5672 * files.el (local-enable-local-variables): Doc fix.
5673 (inhibit-local-variables-regexps): Rename from
5674 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
5675 Doc fix. Add some extensions from auto-coding-alist.
5676 (inhibit-local-variables-suffixes):
5677 Rename from inhibit-first-line-modes-suffixes. Doc fix.
5678 (inhibit-local-variables-p):
5679 New function, extracted from set-auto-mode-1.
5680 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
5681 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
5682 (hack-local-variables): Doc fix. Make the mode-only case
5683 respect enable-local-variables and friends.
5684 Respect inhibit-local-variables-regexps for file-locals, but
5685 not for directory-locals.
5686 (set-visited-file-name):
5687 Take account of inhibit-local-variables-regexps.
5688 Whether it applies may change as the file name is changed.
5689 * jka-cmpr-hook.el (jka-compr-install):
5690 * jka-compr.el (jka-compr-uninstall):
5691 Update for inhibit-first-line-modes-suffixes name change.
5693 2012-01-20 Martin Rudalics <rudalics@gmx.at>
5695 * help-macro.el (make-help-screen): Temporarily restore original
5696 binding for minor-mode-map-alist (Bug#10454).
5698 2012-01-19 Julien Danjou <julien@danjou.info>
5700 * color.el (color-name-to-rgb): Use the white color to find the max
5701 color component value and return correctly computed values.
5702 (color-name-to-rgb): Add missing float conversion for max value.
5704 2012-01-19 Martin Rudalics <rudalics@gmx.at>
5706 * window.el (window--state-get-1, window-state-get): Do not use
5707 special state value for window-persistent-parameters.
5708 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
5709 (window--state-put-2): Reset all window parameters to nil before
5710 assigning values of persistent parameters.
5712 2012-01-18 Alan Mackenzie <acm@muc.de>
5714 Eliminate sluggishness and hangs in fontification of "semicolon
5717 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
5718 Change value 10000 -> 3000.
5719 (c-state-safe-place): Reformulate so it doesn't stack up an
5720 infinite number of wrong entries in c-state-nonlit-pos-cache.
5721 (c-determine-limit-get-base, c-determine-limit): New functions to
5722 determine backward search limits disregarding literals.
5723 (c-find-decl-spots): Amend commenting.
5724 (c-cheap-inside-bracelist-p): New function which detects "={".
5726 * progmodes/cc-fonts.el
5727 (c-make-font-lock-BO-decl-search-function): Give a limit to a
5729 (c-font-lock-declarations): Fix an occurrence of point being
5730 undefined. Check additionally for point being in a bracelist or
5731 near a macro invocation without a semicolon so as to avoid a
5732 fruitless time consuming search for a declarator. Give a more
5733 precise search limit for declarators using the new
5736 2012-01-18 Glenn Morris <rgm@gnu.org>
5738 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
5739 (set-auto-mode): Doc fixes.
5741 2012-01-17 Glenn Morris <rgm@gnu.org>
5743 * isearch.el (search-nonincremental-instead): Fix doc typo.
5745 * dired.el (dired-insert-directory): Handle newlines in directory name.
5746 (dired-build-subdir-alist): Unescape newlines in directory name.
5748 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
5750 * net/tramp.el (tramp-local-end-of-line): New defcustom.
5751 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
5752 (tramp-action-terminal): Use it. (Bug#10530)
5754 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5756 * minibuffer.el (completion--replace): Strip properties (bug#10062).
5758 2012-01-16 Martin Rudalics <rudalics@gmx.at>
5760 * window.el (window-state-ignored-parameters): Remove variable.
5761 (window--state-get-1): Rename argument MARKERS to IGNORE.
5762 Handle persistent window parameters. Make copy of clone-of
5763 parameter only if requested. (Bug#10348)
5764 (window--state-put-2): Install a window parameter only if it has
5765 a non-nil value or an existing parameter shall be overwritten.
5767 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
5769 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5771 2012-01-14 Eli Zaretskii <eliz@gnu.org>
5773 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5774 don't pass the (nil) value of `upnode' to string-match.
5776 2012-01-14 Chong Yidong <cyd@gnu.org>
5778 * startup.el (command-line): Fix X resource class for cursorColor.
5779 Fix values recognized by the cursorBlink resource.
5781 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
5783 * epg.el (epg--make-temp-file): Avoid permission race condition
5784 when running on old Emacs versions (bug#10403).
5786 2012-01-14 Glenn Morris <rgm@gnu.org>
5788 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5790 2012-01-13 Alan Mackenzie <acm@muc.de>
5792 Fix filling for when filladapt mode is enabled.
5794 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5795 c-mask-paragraph, pass in `fill-paragraph' rather than
5796 `fill-region-as-paragraph'. (This is a reversion of a previous
5798 * progmodes/cc-mode.el (c-basic-common-init):
5799 Make fill-paragraph-handle-comment buffer local and set it to nil.
5801 2012-01-13 Glenn Morris <rgm@gnu.org>
5803 * dired.el (dired-switches-escape-p): New function.
5804 (dired-insert-directory): Use dired-switches-escape-p.
5805 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5807 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5809 2012-01-12 Glenn Morris <rgm@gnu.org>
5811 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5812 changes in adaptive-fill-regexp. (Bug#10276)
5814 2012-01-11 Alan Mackenzie <acm@muc.de>
5816 Fix Emacs bug #10463 - put `widen's around the critical spots.
5818 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
5819 widen around each invocation of c-state-pp-to-literal. Remove an
5820 unused let variable.
5822 2012-01-11 Glenn Morris <rgm@gnu.org>
5824 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
5827 2012-01-10 Chong Yidong <cyd@gnu.org>
5829 * net/network-stream.el (network-stream-open-starttls):
5830 Avoid emitting a confusing error message when the server gives a bad
5831 response to the capability command.
5833 2012-01-10 Glenn Morris <rgm@gnu.org>
5835 * mail/unrmail.el (unrmail): Tweak previous change.
5837 2012-01-09 Chong Yidong <cyd@gnu.org>
5839 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5841 2012-01-08 Alan Mackenzie <acm@muc.de>
5843 Optimise font locking in long enum definitions.
5845 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5846 arm to a cond form to handle enums.
5847 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5848 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5850 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
5852 * files.el (move-file-to-trash): Preserve default file modes on error.
5855 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5857 * faces.el (set-face-attribute): Clarify the meaning of the nil
5860 * subr.el (with-selected-frame): Mention that the selected frame
5861 is restored (bug#9980).
5863 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5866 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
5867 (password-read): Don't autoload unused function.
5869 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
5871 * progmodes/which-func.el (which-func-mode): Turn into a
5872 non-interactive function and mark as obsolete (bug#10428).
5874 2012-01-06 Chong Yidong <cyd@gnu.org>
5876 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5877 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5878 functions, along with 1 and -1.
5880 2012-01-06 Eli Zaretskii <eliz@gnu.org>
5882 * time.el (display-time-load-average)
5883 (display-time-default-load-average): Doc fixes. See the thread
5885 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5888 2012-01-06 Glenn Morris <rgm@gnu.org>
5890 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5891 has no messages. (Bug#10377)
5893 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5894 than Info-edit. (Bug#10385)
5896 * time.el (display-time-load-average, display-time-next-load-average):
5899 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5900 local setting of buffer-read-only to the input buffer. (Bug#10419)
5902 * calendar/calendar.el (calendar-mode):
5903 Locally set scroll-margin to 0. (Bug#10379)
5905 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
5907 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5909 2012-01-05 Glenn Morris <rgm@gnu.org>
5911 * eshell/em-unix.el (diff-no-select): Autoload it.
5912 (eshell/diff): Use diff-no-select. (Bug#10420)
5914 2012-01-05 Chong Yidong <cyd@gnu.org>
5916 * shell.el (shell-dynamic-complete-functions): Revert last change.
5917 (shell-command-completion-function): New function.
5918 (shell-completion-vars): Use it to implement
5919 shell-completion-execonly (Bug#10417).
5921 * custom.el (enable-theme): Don't set custom-safe-themes.
5923 * cus-theme.el (custom-theme-merge-theme):
5924 Ignore custom-enabled-themes and custom-safe-themes.
5926 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5928 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5929 first prompt in `sql-interacive-mode'.
5930 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
5932 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
5933 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5934 context of original buffer. Invoke `sql-login-hook'.
5936 2012-01-04 Eli Zaretskii <eliz@gnu.org>
5938 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5939 letters in cite-prefix.
5941 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5943 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5945 2012-01-03 Chong Yidong <cyd@gnu.org>
5947 * shell.el (shell-dynamic-complete-functions):
5948 Put pcomplete-completions-at-point, so as to try
5949 comint-filename-completion first (Bug#10417).
5951 2012-01-02 Richard Stallman <rms@gnu.org>
5953 * battery.el (battery-status-function):
5954 Detect when to use battery-yeeloong-sysfs.
5955 (battery-echo-area-format): Add string for Yeeloong.
5956 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5957 (battery-yeeloong-sysfs): New function.
5959 2012-01-02 Chong Yidong <cyd@gnu.org>
5961 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5962 (dirtrack): Merge code for handling relative filenames in prompt
5963 from shell-dir-cookie-watcher.
5964 (dirtrack-debug-message): New arg to avoid excess format calls.
5966 * shell.el (shell-dir-cookie-re): Variable deleted.
5967 (shell-dir-cookie-watcher): Function deleted.
5968 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5971 2012-01-01 Eli Zaretskii <eliz@gnu.org>
5973 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5974 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
5977 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5979 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5981 2011-12-31 Eli Zaretskii <eliz@gnu.org>
5983 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5984 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5986 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
5988 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5989 also for alternative shells.
5990 (tramp-open-connection-setup-interactive-shell): Check, whether
5991 the shell is a busybox.
5992 (tramp-send-command): Don't suppress multiple prompts for
5993 busyboxes, it hurts.
5995 2011-12-28 Chong Yidong <cyd@gnu.org>
5997 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5998 (gdb-get-source-file): Move mode line update to
5999 gdb-get-source-file (Bug#10087).
6001 2011-12-25 Chong Yidong <cyd@gnu.org>
6003 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
6004 gud-gdb-marker-filter without taking it as an argument.
6005 (gud-gdb-run-command-fetch-lines): Caller changed.
6006 (gud-gdb-completion-function): New variable.
6007 (gud-gdb-completion-at-point): Use it.
6008 (gud-gdb-completions-1): Split from gud-gdb-completions.
6010 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
6011 function as separate arguments.
6012 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
6013 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
6014 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
6015 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
6016 (gdb-stopped, def-gdb-auto-update-trigger)
6017 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
6018 (gdb-get-changed-registers, gdb-get-main-selected-frame):
6020 (gud-gdbmi-completions): New function.
6021 (gdb): Use it for generating the completion table.
6023 2011-12-24 Alan Mackenzie <acm@muc.de>
6025 Introduce a mechanism to widen the region used in context font
6026 locking. Use this to protect declarations from losing their contexts.
6028 * progmodes/cc-langs.el (c-before-font-lock-functions):
6029 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
6030 (c-before-context-fontification-functions): New defvar, a list of
6031 functions to be run just before context (etc.) font locking.
6033 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
6034 New, functionality extracted from
6035 c-neutralize-syntax-in-and-mark-CPP.
6036 (c-in-after-change-fontification): New variable.
6037 (c-after-change): Set c-in-after-change-fontification.
6038 (c-set-fl-decl-start): Rejig its interface, so it can be called
6039 from both after-change and context fontifying.
6040 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
6042 (c-standard-font-lock-fontify-region-function): New variable.
6043 (c-font-lock-fontify-region): New function.
6045 2011-12-24 Juri Linkov <juri@jurta.org>
6047 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
6050 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
6052 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
6053 existence of source file. (Bug#10325)
6055 2011-12-23 Alan Mackenzie <acm@muc.de>
6057 Fix unstable fontification inside templates.
6059 * progmodes/cc-langs.el (c-before-font-lock-functions):
6060 Newly created from the singular version. The (c c++ objc) entry now
6061 additionally has c-set-fl-decl-start. The other languages (apart
6062 from AWK) have that as a single entry.
6064 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
6065 The functionality for "local" declarations has been extracted to
6066 c-set-fl-decl-start.
6068 * progmodes/cc-mode.el (c-common-init, c-after-change):
6069 Changes due to pluralisation of c-before-font-lock-functions.
6070 (c-set-fl-decl-start): New function, extracted from
6071 c-font-lock-enclosing-decls and enhanced.
6073 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
6075 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
6077 2011-12-22 Juri Linkov <juri@jurta.org>
6079 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
6081 2011-12-22 Chong Yidong <cyd@gnu.org>
6083 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
6085 2011-12-21 Drew Adams <drew.adams@oracle.com>
6087 * files.el (file-remote-p): Fix docstring. (Bug#10319)
6089 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
6091 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
6093 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
6095 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
6096 highlighting and support. Fix up comments for capitalization.
6097 (cfengine-mode-debug): New var.
6098 (cfengine3-mode): Change the modeline indicator to "CFE3".
6099 (cfengine3-font-lock-keywords): Improve defun highlighting.
6100 (cfengine2-actions): Rename from `cfengine-actions'.
6101 (cfengine2-font-lock-keywords): Rename from
6102 `cfengine-font-lock-keywords'.
6103 (cfengine2-imenu-expression): Rename from
6104 `cfengine-imenu-expression'.
6105 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
6106 (cfengine2-beginning-of-defun): Rename from
6107 `cfengine-beginning-of-defun'.
6108 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
6109 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
6110 (cfengine2-mode): Rename from `cfengine-mode'. Change the
6111 modeline indicator to "CFE2".
6112 (cfengine-mode): Defalias to `cfengine-auto-mode'.
6113 (cfengine-mode-abbrevs): Mark obsolete.
6115 2011-12-21 Chong Yidong <cyd@gnu.org>
6117 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
6120 2011-12-20 Martin Rudalics <rudalics@gmx.at>
6122 * window.el (window-normalize-buffer-to-display): Remove.
6123 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
6125 2011-12-19 Chong Yidong <cyd@gnu.org>
6127 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
6128 Don't signal an error in a predicate function; return non-nil.
6129 (vc-dir-mark-file): Move the error here.
6130 (vc-dir-mark-unmark): If acting on the region, keep going if one
6131 of the entries cannot be marked/unmarked.
6132 (vc-dir-mark-all-files): If current entry is a directory, mark
6133 only child files, as documented.
6135 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
6137 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
6138 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
6141 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
6143 * term/ns-win.el (ns-get-selection-internal)
6144 (ns-store-selection-internal): Declare.
6145 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
6146 Declare as obsolete.
6147 (ns-get-pasteboard, ns-paste-secondary):
6148 Use ns-get-selection-internal.
6149 (ns-set-pasteboard, ns-copy-including-secondary):
6150 Use ns-store-selection-internal.
6152 2011-12-17 Chong Yidong <cyd@gnu.org>
6154 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
6155 (vc-deduce-fileset): Doc fix.
6157 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
6159 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
6161 2011-12-13 Sam Steingold <sds@gnu.org>
6163 * man.el (Man-getpage-in-background): When running under a
6164 window-system, ignore $MANWIDTH and $COLUMNS.
6166 2011-12-15 Kenichi Handa <handa@m17n.org>
6168 * language/ethio-util.el: Change coding tag to utf-8-emacs.
6169 (setup-ethiopic-environment-internal): Comment out key-binding for
6170 ethio-toggle-punctuation.
6172 2011-12-13 Alan Mackenzie <acm@muc.de>
6174 Add the switch statement to AWK Mode.
6176 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
6177 "default" to the keywords regexp.
6179 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
6180 expression as the rest.
6181 (c-nonlabel-token-key): Allow string literals for AWK.
6182 Refactor for the other modes.
6184 Large brace-block initialisation makes CC Mode slow: Fix.
6185 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
6186 routines. Limit backward searching in c-font-lock-enclosing.decl.
6188 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
6189 pp-state and literal type in addition to the limits.
6190 (c-state-safe-place): New defun, extracted from c-state-literal-at.
6191 (c-state-literal-at): Use the above new defun.
6192 (c-slow-in-literal, c-fast-in-literal): Remove.
6193 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
6195 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
6196 being in a literal. Add a limit for backward searching.
6198 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
6201 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
6203 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
6205 2011-12-13 Martin Rudalics <rudalics@gmx.at>
6207 * window.el (delete-other-windows): Use correct frame in call to
6208 window-with-parameter.
6210 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
6212 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
6213 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
6214 (makefile-gmake-statements, makefile-makepp-statements):
6215 Use it and add new makepp keywords.
6216 (makefile-makepp-font-lock-keywords): Add new patterns.
6217 (makefile-match-function-end): Match new [...] and [[...]].
6219 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
6221 * ses.el (ses-call-printer-return, ses-cell-property-get)
6222 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
6223 (ses-create-cell-variable, ses-reset-header-string)
6224 (ses-cell-set-formula, ses-repair-cell-reference-all)
6225 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
6226 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
6227 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
6228 (ses-aset-with-undo, ses-load, ses-truncate-cell)
6229 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
6230 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
6231 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
6232 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
6233 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
6234 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
6235 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
6236 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
6238 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
6240 * ses.el: The overall change is to add cell renaming, that is
6241 setting fancy names for cell symbols other than name matching
6242 "\\`[A-Z]+[0-9]+\\'" regexp .
6243 (ses-create-cell-variable): New defun.
6244 (ses-relocate-formula): Relocate formulas only for cells the
6245 symbols of which are not renamed, i.e. symbols whose names do not
6246 match regexp "\\`[A-Z]+[0-9]+\\'".
6247 (ses-relocate-all): Relocate values only for cells the symbols of
6248 which are not renamed.
6249 (ses-load): Create cells variables as the (ses-cell ...) are read,
6250 in order to check row col consistency with cell symbol name only
6251 for cells that are not renamed.
6252 (ses-replace-name-in-formula): New defun.
6253 (ses-rename-cell): New defun.
6255 2011-12-11 Chong Yidong <cyd@gnu.org>
6257 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6258 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6260 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
6262 * window.el (other-window): Fix docstring.
6264 2011-12-10 Eli Zaretskii <eliz@gnu.org>
6266 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
6267 `from' or `to' address before taking its substring.
6268 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
6269 encoded name is chopped in the middle of the encoded string, and
6270 thus displayed encoded.
6272 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
6274 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6276 2011-12-10 Eli Zaretskii <eliz@gnu.org>
6278 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
6279 to use texinfo-update-node and commands that call it if the
6280 Texinfo file uses @node lines without next/prev/up pointers.
6281 Correct outdated description about texinfo-master-menu.
6282 (texinfo-all-menus-update, texinfo-master-menu)
6283 (texinfo-update-node, texinfo-every-node-update)
6284 (texinfo-multiple-files-update): Doc fix. Warn against updating
6285 all the @node lines.
6286 (texinfo-master-menu): Only call texinfo-update-node if the prefix
6287 argument is numeric. Explain better in the doc string what the
6288 function really does.
6289 (texinfo-insert-master-menu-list): Improve the error message
6290 displayed if there's no menu in the Top node.
6291 (Bug#2975) See also this thread:
6292 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6294 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
6296 * speedbar.el (speedbar-supported-extension-expressions):
6297 Add .adb and .ads, commonly used for Ada source code (bug#10256).
6299 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
6301 * printing.el (pr-mode-alist):
6302 * simple.el (filter-buffer-substring-functions)
6303 (completion-list-insert-choice-function):
6304 * window.el (window-with-parameter, window-atom-root)
6305 (window-sides-slots, window-size-fixed, window-min-delta)
6306 (window-max-delta, window--resize-mini-window)
6307 (window--resize-child-windows-normal, window-tree)
6308 (delete-other-windows, quit-window, split-window)
6309 (display-buffer-record-window, special-display-buffer-names)
6310 (special-display-regexps, special-display-popup-frame)
6311 (same-window-p, split-window-sensibly)
6312 (display-buffer-overriding-action, display-buffer-alist)
6313 (display-buffer-base-action, display-buffer, switch-to-buffer)
6314 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6315 (fit-window-to-buffer, recenter-positions)
6316 (mouse-autoselect-window-state, mouse-autoselect-window-select):
6317 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6318 and remove unneeded backslashes in docstrings.
6320 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6322 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6324 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6325 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6327 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6328 when reading the makefile (bug#10116).
6330 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6332 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6335 2011-12-06 Glenn Morris <rgm@gnu.org>
6337 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6339 2011-12-06 Chong Yidong <cyd@gnu.org>
6341 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6343 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
6345 * textmodes/table.el (table-shorten-cell): Fix typo.
6347 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
6349 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6351 2011-12-05 Eli Zaretskii <eliz@gnu.org>
6353 * descr-text.el (describe-char): Fix display of strong
6354 right-to-left characters and directional embeddings and overrides.
6356 * simple.el (what-cursor-position): Fix display of codepoints of
6357 strong right-to-left characters.
6359 2011-12-05 Chong Yidong <cyd@gnu.org>
6361 * faces.el (read-color): Doc fix.
6363 2011-12-05 Glenn Morris <rgm@gnu.org>
6365 * align.el (align--set-marker): Add doc-string.
6366 Don't try to move something that is not a marker. (Bug#10216)
6368 2011-12-04 Glenn Morris <rgm@gnu.org>
6370 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6371 overly zealous deletion of trailing whitespace.
6373 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
6375 * server.el (server-delete-client): On Windows, do not try to delete
6377 (server-process-filter): On Windows, treat requests for a tty frame as
6378 if they were for a GUI frame if the running server is in GUI mode.
6380 2011-12-03 Glenn Morris <rgm@gnu.org>
6382 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
6384 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
6386 * electric.el: Streamline electric-indent's hook.
6387 (electric-indent-chars): Revert to simple list.
6388 (electric-indent-functions): New var.
6389 (electric-indent-post-self-insert-function): Use it.
6391 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6392 there's no inferior buffer (bug#10196).
6393 (prolog-consult-compile): Don't use toggle-read-only.
6395 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
6397 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6398 interrupt. (Bug#10187)
6400 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6402 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6405 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6408 2011-12-02 Juri Linkov <juri@jurta.org>
6410 * info.el (Info-search): Display "end of manual" when Isearch
6411 reaches the end of single-file Info manual. (Bug#9918)
6413 2011-12-02 Eli Zaretskii <eliz@gnu.org>
6415 * isearch.el (isearch-message-prefix): Run the input method part
6416 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
6418 2011-12-02 Juri Linkov <juri@jurta.org>
6420 * isearch.el (isearch-occur): Use `word-search-regexp' for
6422 (isearch-search-and-update): Add condition for `isearch-word' and
6423 call `word-search-regexp'. (Bug#10145)
6425 2011-12-01 Glenn Morris <rgm@gnu.org>
6427 * eshell/em-hist.el (eshell-hist-initialize):
6428 Handle eshell-history-size nil and HISTSIZE set or unset.
6429 (eshell-history-file-name, eshell-history-size): Fix custom type.
6431 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6433 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6435 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
6437 * progmodes/verilog-mode.el (verilog-pretty-expr):
6438 Rework verilog-pretty-expr to handle new assignment operators in system
6439 verilog, such as += *= and the like.
6440 (verilog-assignment-operator-re): Regular expression to find the
6441 assigment operator in a verilog assignment.
6442 (verilog-assignment-operation-re): Regular expression to find an
6443 assignment statement for pretty-expr.
6444 (verilog-in-attribute-p): Query returns true if point is in an
6445 attribute context; used to skip these for expression line up from
6447 (verilog-in-parameter-p): Query returns true if point is in an
6448 parameter definition context; used to skip these for expression
6449 line up from pretty-expr.
6450 (verilog-in-parenthesis-p): Query returns true if point is in a
6451 parenthetical expression, specifically ( ) but not [ ] or { };
6452 used by pretty-expr.
6453 (verilog-just-one-space): If there is no space, don't add one.
6454 (verilog-get-lineup-indent-2): Specifically skip just attribute
6455 contexts for expression lineup, rather than skipping all
6456 parenthetical expressions.
6457 (verilog-calculate-indent): Fix comment, and fix indent.
6458 (verilog-do-indent): Indent declarations in lists (suggested by
6460 (verilog-mode-abbrev-table): Populate abbrev mode with the various
6462 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
6465 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6467 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6468 parameters with embedded comments. Reported by Ray Stevens.
6469 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6470 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6471 Reported by Tim Holt.
6472 (verilog-auto): Fix AUTOing a upper module then AUTOing module
6473 instantiated by upper module causing wrong expansion until AUTOed a
6474 second time. Reported by K C Buckenmaier.
6475 (verilog-diff-auto): Fix showing .* as a difference when
6476 `verilog-auto-star-save' off. Reported by Dan Dever.
6477 (verilog-auto-reset, verilog-read-always-signals)
6478 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6479 temporary signals in reset list if
6480 verilog-auto-reset-blocking-in-non is nil, and match assignment
6481 style to each signal's assignment type, bug381.
6482 Reported by Thomas Esposito.
6483 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6484 (verilog-uvm-statement-re): Support UVM indentation and
6485 highlighting, with old OVM keywords only.
6486 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
6487 Support AUTOTIEOFF creating non-wire data types.
6488 Suggested by Jonathan Greenlaw.
6489 (verilog-auto-insert-lisp, verilog-delete-to-paren)
6490 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6491 (verilog-inject-sense, verilog-read-inst-pins)
6492 (verilog-read-sub-decls, verilog-read-sub-decls-line):
6493 Fix mismatching parenthesis inside commented out code when deleting
6494 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6495 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6496 non-numeric vector width. Reported by Alex Reed.
6497 (verilog-auto-ascii-enum): Add "onehot" option to work around not
6498 detecting signals with parameter widths. Reported by Alex Reed.
6499 (verilog-auto-delete-trailing-whitespace):
6500 With `verilog-auto-delete-trailing-whitespace' remove trailing
6501 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
6502 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6503 Fix verilog-scan-cache corruption when running user AUTO expansion
6504 hooks that call indentation routines.
6505 (verilog-simplify-range-expression): Fix typo ignoring lower case
6507 (verilog-delete-auto): Fix delete-autos to also remove user created
6508 automatics, as long as they start with AUTO.
6509 (verilog-batch-diff-auto, verilog-diff-auto)
6510 (verilog-diff-function): Add `verilog-diff-auto' and bind to
6511 "C-c?" to report differences in AUTO expansion, ignoring spaces.
6512 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6513 (verilog-in-paren-quick, verilog-re-search-backward-quick)
6514 (verilog-re-search-forward-quick, verilog-syntax-ppss):
6515 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6516 is disabled and its cache will get corrupt, causing AUTOS not to
6517 expand. Instead use only -quick functions.
6518 (verilog-scan-region): Fix scanning over escaped quotes.
6519 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6520 (verilog-re-search-backward-quick)
6521 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6522 related functions now ignore strings, to fix misparsing of strings
6523 with magic comments embedded in them.
6524 (verilog-read-auto-template):
6525 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6526 Reported by Brad Dobbie.
6527 (verilog-read-auto-template):
6528 Fix 'verilog-auto-inst-template-numbers' with comments.
6529 Reported by Brad Dobbie.
6530 (verilog-auto-inst, verilog-auto-inst-param)
6531 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6532 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
6533 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
6534 debugging templates without merge conflicts, bug357.
6535 Reported by Brad Dobbie.
6536 (verilog-read-auto-template):
6537 Fix verilog-auto-inst-template-numbers with multiple templates.
6538 Reported by Brad Dobbie.
6539 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6540 abbrevs so user won't be asked to save.
6541 (verilog-read-auto-lisp-present): Fix to start at beginning of
6542 buffer in case called outside of verilog-auto.
6543 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6544 to "X-2". Reported by Matthew Myers.
6545 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6546 all inputs from module templates. Reported by Leith Johnson.
6547 (verilog-module-inside-filename-p): Fix locating programs as with
6549 (verilog-auto-inst-port): Fix vl-width expressions when using
6550 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
6551 (verilog-decls-get-regs, verilog-decls-get-signals,
6552 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6553 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6554 verilog-read-decls): Combine reg and wire structures into one var
6555 structure to represent SystemVerilog concepts.
6556 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6557 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
6558 (verilog-auto-wire-type, verilog-insert-definition):
6559 Add verilog-auto-wire-type and AUTOLOGIC to support using
6560 SystemVerilog "logic" keyword instead of "wire"/"reg".
6561 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6562 to declares outputs that also have assignments (presumably in an
6563 ifdef or generate if so there's not a driver conflict).
6564 Reported by Matthew Myers.
6565 (verilog-auto-declare-nettype, verilog-insert-definition):
6566 Add verilog-auto-declare-nettype to fix declarations using
6567 `default_nettype none. Reported by Julian Gorfajn.
6568 (verilog-read-always-signals-recurse, verilog-read-decls)
6569 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6570 malformed end statement, bug325. Reported by Joshua Wise and
6572 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6573 (verilog-inst-comment-re): Fix not deleting Interfaced comment
6574 when expanding .* in interfaces, bug320.
6575 Reported by Pierre-David Pfister.
6576 (verilog-read-module-name): Fix import statements between module
6577 name and open parenthesis, bug317.
6578 Reported by Pierre-David Pfister.
6579 (verilog-simplify-range-expression): Fix simplification of
6580 multiplications inside AUTOWIRE connections, bug303.
6581 (verilog-auto-inst-port): Support parameter expansion in
6582 multidimensional arrays.
6583 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6584 after "assert property". Reported by Julian Gorfajn.
6585 (verilog-simplify-range-expression): Fix "couldn't merge" errors
6586 with multiplication, bug303.
6587 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6588 Reported by Jan Frode Lonnum.
6590 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
6592 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6593 (hfy-shell-file-name, hfy-shell):
6594 * international/fontset.el (x-decompose-font-name): Fix typos.
6596 2011-11-29 Ken Brown <kbrown@cornell.edu>
6598 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6599 (gdb-version): Remove defvar.
6600 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6601 (gdb-gud-context-command, gdb-non-stop-handler)
6602 (gdb-current-context-command, gdb-stopped): Use it.
6603 (gdb-init-1): Enable pretty printing here.
6604 (gdb-non-stop-handler): Don't enable pretty-printing here.
6605 Check to see if the target supports non-stop mode; if not, turn off
6606 non-stop mode. Use the following.
6607 (gdb-check-target-async): New defun.
6608 (gud-watch, gdb-stopped): Fix whitespace.
6609 (gdb-get-source-file): Don't try to display the source file if
6610 `gdb-main-file' is nil.
6612 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6614 * align.el: Try to generate fewer markers (bug#10047).
6615 (align--set-marker): New macro.
6616 (align-region): Use it.
6618 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6620 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6622 2011-11-29 Chong Yidong <cyd@gnu.org>
6624 * indent.el (indent-for-tab-command, indent-according-to-mode):
6626 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6628 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
6630 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6631 aware of remote file names. (Bug#10124)
6633 2011-11-29 Chong Yidong <cyd@gnu.org>
6635 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6637 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6639 * files.el (find-file): Don't use force-same-window (bug#10144).
6640 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6641 use pop-to-buffer if the selected window can't be used.
6642 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6644 2011-11-28 Eli Zaretskii <eliz@gnu.org>
6646 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6649 2011-11-28 Chong Yidong <cyd@gnu.org>
6651 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6653 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
6655 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6656 gdb-get-source-file-list on gdb-create-source-file-list.
6658 2011-11-26 Eli Zaretskii <eliz@gnu.org>
6660 * whitespace.el (whitespace-newline): Use a different foreground
6661 color for 16-color light-background displays.
6663 2011-11-24 Chong Yidong <cyd@gnu.org>
6665 * window.el (display-buffer--special-action): Doc fix.
6667 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
6669 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6670 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6671 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6672 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6673 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6674 (avl-tree-stack-first):
6675 * emacs-lisp/cconv.el (cconv--analyse-use):
6676 * net/gnutls.el (gnutls-negotiate): Fix typos.
6678 2011-11-24 Glenn Morris <rgm@gnu.org>
6680 * lpr.el (lpr-windows-system, lpr-lp-system):
6681 * mail/binhex.el (binhex-begin-line):
6682 * progmodes/grep.el (grep-history, grep-find-history):
6683 * textmodes/flyspell.el:
6684 * vc/pcvs-defs.el (cvs-global-menu):
6685 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
6686 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
6687 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
6689 * net/tls.el: Fix case of "GnuTLS".
6691 * paths.el (rmail-file-name): Format doc-string for make-docfile.
6693 * version.el (emacs-build-system): Give it a doc-string.
6695 2011-11-24 Juri Linkov <juri@jurta.org>
6697 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
6699 2011-11-24 Glenn Morris <rgm@gnu.org>
6701 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
6702 if called on a non-mime message just toggle the headers. (Bug#8006)
6704 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
6706 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
6707 (allout-lead-with-comment-string, allout-structure-deleted-hook)
6708 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
6709 (allout-rebullet-heading, allout-open-sibtopic)
6710 (allout-toggle-current-subtree-encryption)
6711 (allout-toggle-subtree-encryption, allout-encrypt-string)
6712 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
6713 (allout-distinctive-bullets-string, allout-auto-activation):
6714 * window.el (window-normalize-buffer-to-display):
6715 * progmodes/verilog-mode.el (verilog-batch-indent):
6716 * textmodes/bibtex.el (bibtex-field-braces-opt)
6717 (bibtex-field-strings-opt):
6718 * vc/cvs-status.el (cvs-tree-merge):
6721 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
6723 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
6724 `non-essential' to t, in order to avoid remote connections.
6726 2011-11-23 Eli Zaretskii <eliz@gnu.org>
6728 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6729 On MS-DOS and MS-Windows, compare with loaddefs.el
6732 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6734 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
6736 2011-11-23 Glenn Morris <rgm@gnu.org>
6738 * paths.el (rmail-file-name): Reformat the doc-string so that it
6741 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
6742 (rmail-auto-file): Ignore case in the "special" field names,
6743 as mail-fetch-field does for all others.
6745 * mail/rmail.el (rmail-forward):
6746 * mail/rmailkwd.el (rmail-set-label):
6747 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
6748 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
6750 * mail/rmail.el (rmail-current-message): Doc fix.
6752 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
6754 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
6756 * server.el (server-eval-and-print): Allow C-g (bug#6585).
6758 2011-11-22 Glenn Morris <rgm@gnu.org>
6760 * mail/rmailmm.el (test-rmail-mime-handler)
6761 (test-rmail-mime-bulk-handler)
6762 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6764 2011-11-21 Juri Linkov <juri@jurta.org>
6766 * calc/calc.el (calc-read-key-sequence):
6767 Let-bind `input-method-function' to nil. (Bug#10018)
6769 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6771 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6772 Tell the caller that the next line needs recomputation, even
6773 though it doesn't start a sexp (bug#10094).
6775 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6777 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6779 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6781 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6782 Use force-same-window.
6784 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
6786 * descr-text.el (describe-char-unicode-data):
6787 * json.el (json-string-escape):
6788 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6789 (Footnote-unicode, Footnote-style-p):
6790 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6792 2011-11-20 Chong Yidong <cyd@gnu.org>
6794 * window.el (replace-buffer-in-windows): Restore interactive spec.
6796 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6798 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6800 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6801 (byte-compile-global-not-obsolete-vars): New var.
6802 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6804 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6806 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
6808 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6809 * progmodes/pascal.el (electric-pascal-equal):
6810 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6811 * xml.el (xml-substitute-special): Fix typos.
6813 2011-11-20 Glenn Morris <rgm@gnu.org>
6815 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6816 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6818 (rmail-decode-mime-charset): Mark as obsolete.
6820 * mail/rmailsum.el (rmail-message-regexp-p-1):
6821 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6822 Before using mime functions, check they are set. (Bug#10077)
6824 2011-11-19 Juri Linkov <juri@jurta.org>
6826 * info.el (Info-finder-find-node): Use `package--builtins' instead
6827 of `package-alist'. Use node names formed by the pattern "Keyword "
6828 and the keyword name.
6830 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6832 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
6834 2011-11-19 Juri Linkov <juri@jurta.org>
6836 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6837 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6838 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6839 `old-history', `old-history-forward'. Add let-binding
6840 `window-selected'. Remove calls to `kill-buffer',
6841 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6842 before calling `Info-find-node', so `Info-find-node-2' will reread
6843 the Info file. Restore window positions only when `window-selected'
6846 2011-11-19 Juri Linkov <juri@jurta.org>
6848 * isearch.el (isearch-lazy-highlight-new-loop):
6849 Remove condition `(not isearch-error)'. (Bug#9918)
6851 * misearch.el (multi-isearch-search-fun): Add condition
6852 `(not bound)' to ignore lazy-highlighting search.
6853 Add the search-failed message "end of multi" when the end of
6854 multi-sequence is reached. Uncapitalize the search-failed
6855 message "Repeat for next buffer".
6857 * info.el (Info-search): Add the search-failed message
6858 "end of the manual" when the end of the manual is reached
6861 2011-11-19 Juri Linkov <juri@jurta.org>
6863 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6864 Use non-destructive `remove' instead of `delete' because
6865 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6866 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6868 2011-11-19 Juri Linkov <juri@jurta.org>
6870 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6871 to nil instead of binding `search-ring' and `regexp-search-ring'.
6874 2011-11-19 Eli Zaretskii <eliz@gnu.org>
6876 * simple.el (line-move): Force movement by logical lines for any
6877 hscrolled window, not only when auto-hscroll-mode is on.
6878 (line-move-visual): Update doc string to that effect. (Bug#10076)
6880 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6882 * language/european.el (macintosh): Define as alias for mac-roman.
6884 2011-11-19 Eli Zaretskii <eliz@gnu.org>
6886 * mail/rmailmm.el (rmail-mime-display-header)
6887 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6888 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6889 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6890 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6891 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6893 (rmail-mime-entity-segment): To get past the tagline, move forward
6894 2 more lines, to account for the 2 empty lines that precede and
6895 follow the line with the buttons.
6896 (rmail-mime-update-tagline): Move one more line, to get past the
6897 empty line that follows the buttons in the tagline. (Bug#9520)
6899 2011-11-19 Martin Rudalics <rudalics@gmx.at>
6901 * window.el (window-max-delta-1, window-min-delta-1)
6902 (window-min-size-1, window-state-get-1, window-state-put-1)
6903 (window-state-put-2): Use "window--" prefix.
6905 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6907 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6908 (smie-warning-count): New var.
6909 (smie-set-prec2tab): Use it.
6910 (smie-bnf->prec2): Improve warnings. Add docstring.
6911 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6912 (smie-bnf--set-class): New function.
6913 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6916 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6917 (compilation-error-properties, compilation-move-to-column):
6918 Handle compilation-first-column while in the target buffer.
6920 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6921 Don't hardcode point-min==1.
6923 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6924 (eshell-rewrite-for-command): Remove workaround.
6925 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6926 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6927 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6929 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6931 2011-11-17 Glenn Morris <rgm@gnu.org>
6933 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6934 Ignore buffer-local generated-autoload-file if it is the same
6935 as the global value. (Bug#10049)
6937 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
6939 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6940 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6941 (reftex-toc-previous-heading, reftex-toc-max-level)
6942 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6943 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6944 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6945 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6946 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6947 (reftex-toc-rename-label, reftex-toc-visit-location)
6948 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6949 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6950 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6951 leaving "*toc*" only for references to the buffer.
6953 2011-11-17 Martin Rudalics <rudalics@gmx.at>
6955 * window.el (window-resize, delete-window, split-window):
6956 Replace window-splits by window-combination-resize.
6957 * cus-start.el (window-splits): Replace by window-combination-resize.
6959 2011-11-17 Glenn Morris <rgm@gnu.org>
6961 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6962 Make bash entry derive from sh entry, not shell entry.
6964 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
6966 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6969 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
6971 * menu-bar.el (menu-bar-file-menu):
6972 * printing.el (pr-ps-utility):
6973 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6974 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6975 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6976 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6977 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6978 (icalendar--convert-cyclic-to-ical)
6979 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6980 (icalendar--convert-ical-to-diary)
6981 (icalendar--convert-recurring-to-diary)
6982 (icalendar--convert-non-recurring-all-day-to-diary)
6983 (icalendar-import-format-sample):
6984 * progmodes/idlw-shell.el (idlwave-shell-mode):
6985 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6986 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6987 (vhdl-ps-print-init): Fix typos.
6989 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6991 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6992 FSF and collapse date sequence, obscure author/maintainer email address
6993 better, remove extra version line, track relocation of author's webpage.
6995 * progmodes/python.el (python-pdbtrack-input-prompt)
6996 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6997 regular python pdb prompts. Adjustments shamelessly taken exactly as
6998 suggested in EmacsWiki page (tiny change):
6999 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
7001 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
7003 * expand.el (expand-pos, expand-index, expand-point):
7004 Remove redundant info from docstring.
7005 (expand-add-abbrevs): Doc fix.
7006 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
7007 (expand-sample-perl-mode-expand-list): Fix typos.
7009 * net/dbus.el (dbus-event-member-name):
7010 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
7011 * term/pc-win.el (msdos-create-frame-with-faces):
7012 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
7014 2011-11-16 Martin Rudalics <rudalics@gmx.at>
7016 * window.el (split-window, window-state-get-1)
7017 (window-state-put-1, window-state-put-2): Rename occurrences of
7018 window-nest to window-combination-limit.
7019 * cus-start.el (window-nest): Rename to window-combination-limit.
7021 2011-11-16 Chong Yidong <cyd@gnu.org>
7023 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
7026 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
7028 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
7029 `completing-read' will remove *Completions* and will preserve
7030 current-buffer for us.
7031 (tmm-add-prompt): Users of *Completions* will always (re)set its
7033 (tmm-old-comp-map): Remove.
7035 2011-11-16 Glenn Morris <rgm@gnu.org>
7037 * mail/rmailedit.el: Require rmailmm when compiling.
7038 (rmail-old-mime-state): New declaration.
7039 (rmail-edit-current-message): If editing a mime message,
7040 edit the "raw" message from the mbox buffer.
7041 (rmail-cease-edit): Handle mime messages. (Bug#9840)
7043 2011-11-15 Glenn Morris <rgm@gnu.org>
7045 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
7046 which wasn't being used. Add optional arg to force given state.
7047 (rmail-mime): Add optional arg to force given state.
7049 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
7051 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7052 * frame.el (display-mm-dimensions-alist):
7053 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
7054 (outline-move-subtree-down):
7055 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
7056 (newsticker--treeview-do-get-node):
7057 * net/quickurl.el (quickurl-list-buffer-name):
7058 * progmodes/dcl-mode.el (dcl-mode):
7059 * progmodes/gdb-mi.el (gdb-mapcar*):
7060 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
7062 2011-11-15 Glenn Morris <rgm@gnu.org>
7064 * mail/rmail.el (rmail-file-coding-system): It's only ever used
7065 in a boolean sense, so just make it a boolean, and fix the doc.
7066 (rmail-show-mime-function, rmail-mime-feature)
7067 (rmail-require-mime-maybe): Doc fixes.
7068 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
7070 * mail/rmailmm.el (rmail-show-mime): Doc fix.
7072 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
7074 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
7075 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
7076 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
7077 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
7079 2011-11-15 Glenn Morris <rgm@gnu.org>
7081 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
7082 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
7083 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
7084 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
7085 (rmail-mime, rmail-show-mime): Doc fixes.
7087 * term/ns-win.el (mode-line-frame-identification):
7088 Leave it alone. (Bug#10051)
7090 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
7092 * mail/rmailout.el (rmail-output-to-rmail-buffer):
7093 Handle empty buffers. (Bug#9978)
7095 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
7097 * international/mule.el (define-charset):
7098 * mail/rmailmm.el (rmail-mime-find-header-encoding):
7099 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
7100 * progmodes/verilog-mode.el (verilog-backward-token):
7101 * textmodes/ispell.el (lookup-words):
7102 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
7104 2011-11-14 Glenn Morris <rgm@gnu.org>
7106 * progmodes/executable.el
7107 (executable-make-buffer-file-executable-if-script-p):
7108 Handle file-modes returning nil.
7110 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
7111 message - not necessary, and causes problems. (Bug#9831)
7113 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
7115 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
7117 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
7118 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
7119 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
7121 2011-11-12 Martin Rudalics <rudalics@gmx.at>
7123 * window.el (window-resize, delete-window): Use window-splits
7124 variable instead of function.
7125 (window-state-get-1, window-state-put-2, window-state-put):
7126 Don't deal with windows' splits status.
7128 2011-11-12 Glenn Morris <rgm@gnu.org>
7130 * apropos.el (apropos-do-all, apropos-library, apropos-value)
7131 (apropos-documentation): Doc fixes.
7133 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
7135 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
7136 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
7138 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7140 * electric.el (electric-indent-post-self-insert-function): Make it
7141 possible for a char to only indent in some circumstances.
7142 (electric-indent-mode): Simplify.
7144 2011-11-11 Martin Rudalics <rudalics@gmx.at>
7146 * window.el (windows-with-parameter): Remove unused function.
7147 (windows-at-side): Rename to window-at-side-list.
7148 (window-check, window-atom-check, window-atom-check-1)
7149 (window-side-check, window-size-ignore, window-size-fixed-1)
7150 (window-in-direction-2): Prefix with "window--".
7151 (window-tree-1): Rename to window--subtree, fix doc-string.
7153 2011-11-11 Glenn Morris <rgm@gnu.org>
7155 * subr.el (eval-after-load): If FILE is already loaded,
7156 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
7158 2011-11-10 Glenn Morris <rgm@gnu.org>
7160 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
7161 Call svn via vc-svn-command rather than vc-do-command.
7162 (vc-svn-command): Add --non-interactive. (Bug#9993)
7163 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
7165 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7166 Add toggle-read-only. (Bug#7292)
7167 * files.el (toggle-read-only): Mention that it should only
7168 be used interactively. (Bug#10006)
7170 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
7172 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7173 Adjust regexp for OCaml warnings.
7175 * electric.el (electric-pair-post-self-insert-function): Let user
7176 turn it off buffer-locally (bug#9932).
7178 * progmodes/python.el (python-beginning-of-statement):
7181 * progmodes/compile.el: Better handle TABs (bug#9749).
7182 (compilation-internal-error-properties)
7183 (compilation-next-error-function): Obey the target buffer's
7184 compilation-error-screen-columns.
7186 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
7188 * progmodes/meta-mode.el: Remove obsolete comments.
7189 (meta-right-comment-regexp, meta-ignore-comment-regexp):
7190 Fix typos in docstrings.
7192 2011-11-09 Martin Rudalics <rudalics@gmx.at>
7194 * window.el (window-size-fixed-p): Rewrite doc-string.
7195 (window-resizable-p): Rename to window--resizable-p. Update callers.
7196 (window--resizable): New function. Make all callers of
7197 window-resizable call window--resizable instead.
7198 (window-resizable): Rewrite in terms of window--resizable.
7200 2011-11-08 Glenn Morris <rgm@gnu.org>
7202 * progmodes/delphi.el (delphi-mode-syntax-table):
7203 Let define-derived-mode define a proper syntax table. (Bug#9994)
7205 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7207 * window.el: Stay away from defsubst.
7208 (window-list-no-nils): Remove.
7209 (window-state-get-1, window-state-get): Use backquote instead.
7211 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7213 * emacs-lisp/find-func.el (find-function-read):
7214 Fix incorrect use of default argument in `completing-read'.
7216 2011-11-08 Martin Rudalics <rudalics@gmx.at>
7218 * window.el (display-buffer-function, special-display-function):
7219 Mention display-buffer-record-window but do not mention
7220 help-setup parameter in doc-strings.
7221 (window-min-delta): Fix doc-string typo.
7223 2011-11-08 Chong Yidong <cyd@gnu.org>
7225 * window.el (window-total-height, window-total-width): Doc fix.
7226 (window-body-size): Move from C.
7227 (window-body-height, window-body-width): Move to C.
7229 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7231 * window.el: Make special-display like display-buffer-alist (bug#9532).
7232 (display-buffer--special-action): New function, morphed
7233 from display-buffer--special.
7234 (display-buffer): Use it to handle special-display-buffers at higher
7235 priority (just after display-buffer-alist).
7236 (display-buffer-fallback-action, display-buffer--other-frame-action)
7237 (pop-to-buffer-same-window): Remove display-buffer--special.
7239 2011-11-07 Glenn Morris <rgm@gnu.org>
7241 * calendar/cal-menu.el (cal-menu-set-date-title):
7242 Do nothing if not in a calendar. (Bug#9976)
7244 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7246 * files.el (find-file): Always use selected-window.
7248 2011-11-07 Martin Rudalics <rudalics@gmx.at>
7250 * window.el (window-combinations): Make WINDOW argument
7251 mandatory. Rewrite doc-string.
7252 (walk-window-subtree, window-atom-check, window-min-delta)
7253 (window-max-delta, window--resize-this-window)
7254 (window--resize-root-window-vertically, window-tree)
7255 (balance-windows, window-state-put): Rewrite doc-strings as to
7256 not mention the term "subwindow".
7257 (window--resize-subwindows-skip-p): Rename to
7258 window--resize-child-windows-skip-p.
7259 (window--resize-subwindows-normal): Rename to
7260 window--resize-child-windows-normal.
7261 (window--resize-subwindows): Rename to
7262 window--resize-child-windows.
7263 (window-or-subwindow-p): Rename to window--in-subtree-p.
7265 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7267 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7268 Ensure that mbox format messages end in two newlines (Bug#9974).
7270 2011-11-06 Chong Yidong <cyd@gnu.org>
7272 * window.el (window-combination-p): Function deleted; its
7273 side-effect is not used in any existing code.
7274 (window-combinations, window-combined-p): Call window-*-child
7277 2011-11-05 Chong Yidong <cyd@gnu.org>
7279 * window.el (window-valid-p): Rename from window-any-p.
7280 (window-size-ignore, window-state-get): Callers changed.
7281 (window-normalize-window): Rename from window-normalize-any-window.
7282 New arg LIVE-ONLY, replacing window-normalize-live-window.
7283 (window-normalize-live-window): Delete.
7284 (window-combination-p, window-combined-p, window-combinations)
7285 (walk-window-subtree, window-atom-root, window-min-size)
7286 (window-sizable, window-sizable-p, window-size-fixed-p)
7287 (window-min-delta, window-max-delta, window-resizable)
7288 (window-resizable-p, window-full-height-p, window-full-width-p)
7289 (window-current-scroll-bars, window-point-1, set-window-point-1)
7290 (window-at-side-p, window-in-direction, window-resize)
7291 (adjust-window-trailing-edge, maximize-window, minimize-window)
7292 (window-deletable-p, delete-window, delete-other-windows)
7293 (record-window-buffer, unrecord-window-buffer)
7294 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7295 (quit-window, split-window, window-state-put)
7296 (set-window-text-height, fit-window-to-buffer)
7297 (shrink-window-if-larger-than-buffer): Callers changed.
7299 2011-11-04 Eli Zaretskii <eliz@gnu.org>
7301 * mail/rmail.el (rmail-simplified-subject): Decode subject with
7302 rfc2047-decode-string.
7303 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7306 * window.el (window-body-height, window-body-width): Mention in
7307 the doc string that the return values are in frame's canonical
7310 2011-11-03 Alan Mackenzie <acm@muc.de>
7312 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7313 change in cc-engine.el.
7315 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
7317 * window.el (switch-to-buffer): Use `force-same-window' interactively.
7319 2011-11-02 Martin Rudalics <rudalics@gmx.at>
7321 * window.el (quit-window): Call unrecord-window-buffer after
7322 showing another buffer in the window. (Bug#9937)
7323 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
7325 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
7327 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7328 Accept status with more than 9 shelves. (Bug#9935)
7329 Reported by Colin D Bennett <colin@gibibit.com>.
7331 2011-11-01 Martin Rudalics <rudalics@gmx.at>
7333 * help.el (with-help-window): Don't reference
7334 temp-buffer-show-specifiers in doc-string.
7336 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
7338 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7341 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7343 * whitespace.el: New version 13.2.2.
7344 (whitespace-newline-mode): Disable properly. Reported by Sarah
7347 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
7349 * net/newst-treeview.el: Remove "Time-stamp".
7350 (newsticker--group-manage-orphan-feeds): Do not call
7351 newsticker--treeview-tree-update.
7352 (newsticker-treeview-update, newsticker-treeview):
7353 Call newsticker--treeview-tree-update if necessary.
7355 2011-10-30 Martin Rudalics <rudalics@gmx.at>
7357 * window.el (window-iso-combination-p, window-iso-combined-p)
7358 (window-iso-combinations): Remove "iso-" infix.
7359 Suggested by Chong Yidong.
7360 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7361 (window-max-delta-1, window-resize, window--resize-siblings)
7362 (window--resize-this-window, adjust-window-trailing-edge)
7363 (split-window, balance-windows-1)
7364 (shrink-window-if-larger-than-buffer):
7365 * calendar/calendar.el (calendar-generate-window):
7366 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
7368 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7370 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7371 in place (bug#9907).
7372 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7373 (eshell-rewrite-if-command, eshell-rewrite-for-command)
7374 (eshell-structure-basic-command, eshell-rewrite-while-command)
7375 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7376 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7377 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7378 (eshell-do-pipelines-synchronously, eshell-eval-command):
7379 Use backquotes and prefer setq to set.
7380 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7381 (eshell-macrop): Use functionp.
7382 (eshell-do-eval): Handle multiple expressions in `while' body.
7384 2011-10-30 Chong Yidong <cyd@gnu.org>
7386 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7387 instead of set-mark (Bug#9810).
7389 2011-10-30 Chong Yidong <cyd@gnu.org>
7391 * window.el (split-window-below, split-window-right): Rename from
7392 split-window-above-each-other and split-window-side-by-side
7393 respectively. All callers changed.
7394 (split-window-sensibly, split-window-sensibly): Use them.
7395 (split-window-keep-point): Doc fix.
7397 * isearch.el: Add isearch-scroll property to split-window-below
7398 and split-window-right.
7400 * follow.el (follow-mode):
7401 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7402 * progmodes/ada-xref.el (ada-gdb-application):
7403 * emulation/vip.el (vip-buffer-in-two-windows):
7404 * image-dired.el (image-dired-dired-with-window-configuration):
7405 * dired-x.el (dired-do-find-marked-files):
7406 * dired.el (dired-pop-to-buffer):
7407 * bs.el (bs--show-with-configuration):
7408 * vc/emerge.el (emerge-setup-windows):
7409 * textmodes/two-column.el (2C-two-columns):
7410 * textmodes/reftex-toc.el (reftex-toc):
7411 * progmodes/gdb-mi.el (gdb-setup-windows):
7412 * progmodes/fortran.el (fortran-window-create):
7413 * net/newst-treeview.el (newsticker--treeview-window-init):
7414 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7415 * emulation/tpu-edt.el (tpu-gold-map):
7416 * emulation/crisp.el (crisp-mode-map):
7417 * calendar/calendar.el (calendar-basic-setup): Callers changed.
7419 2011-10-29 Chong Yidong <cyd@gnu.org>
7421 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7423 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7425 * textmodes/flyspell.el (flyspell-word): Fix char offset for
7426 forged Ispell output (Bug#7904).
7428 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7430 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7432 * doc-view.el: Avoid ugly errors about not finding nil.
7433 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7434 (doc-view-dvipdf-program, doc-view-unoconv-program)
7435 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
7436 Avoid nil or absolute file name as default value.
7437 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
7439 2011-10-28 Alan Mackenzie <acm@muc.de>
7441 * progmodes/cc-defs.el (c-version): -> 5.32.2.
7443 2011-10-28 Alan Mackenzie <acm@muc.de>
7445 Amend the handling of c-beginning/end-of-defun in nested declaration
7448 * progmodes/cc-vars.el (c-defun-tactic): Move here from
7449 cc-langs.el. Change it to a defcustom.
7451 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
7454 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7455 Prevent "class foo : bar" being spuriously recognized as a label.
7457 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
7458 Add parameter `inclusive' (to include enclosing braces in the region).
7459 (c-widen-to-enclosing-decl-scope): New function.
7460 (c-while-widening-to-decl-block): New macro.
7461 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
7462 outward for defun boundaries, and correspondingly change symbol
7463 `respect-enclosure' to `go-outward'.
7464 (c-declaration-limits): Change algorithm to report only the "innermost"
7467 2011-10-28 Deniz Dogan <deniz@dogan.se>
7469 * net/rcirc.el (rcirc-mode): Use hard newlines.
7471 2011-10-28 Alan Mackenzie <acm@muc.de>
7473 Amend to indent and fontify macros "which include their own semicolon"
7474 correctly, using the "virtual semicolon" mechanism.
7476 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
7478 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7479 Recode to scan one line at a time rather than having \n and \r
7480 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
7481 (c-forward-label): Amend for virtual semicolons.
7482 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
7484 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7485 of the new C macros.
7487 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
7488 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7489 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
7490 (c-opt-cpp-macro-define): Make into a full language variable.
7491 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7492 AWK Mode (including \n, \r) removed, no longer needed.
7494 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7495 Invoke c-make-macro-with-semi-re.
7497 * progmodes/cc-vars.el (c-macro-with-semi-re):
7498 (c-macro-names-with-semicolon): New variables.
7499 (c-make-macro-with-semi-re): New function.
7501 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7503 * vc/log-edit.el: Fill empty field rather than adding new one.
7504 (log-edit-add-field): New function.
7505 (log-edit-insert-changelog): Use it.
7507 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7509 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7511 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7513 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7514 (gdb--check-interpreter): New function.
7517 2011-10-27 Glenn Morris <rgm@gnu.org>
7519 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7520 (least-positive-float, least-negative-float)
7521 (least-positive-normalized-float, least-negative-normalized-float)
7522 (float-epsilon, float-negative-epsilon):
7523 Remove unnecessary declarations.
7525 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7526 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7527 (least-positive-float, least-negative-float)
7528 (least-positive-normalized-float, least-negative-normalized-float)
7529 (float-epsilon, float-negative-epsilon): Add doc-strings,
7530 based on those in cl.texi.
7532 * files.el (set-visited-file-name): If the major-mode changed,
7533 reload the local variables. (Bug#9796)
7535 2011-10-27 Chong Yidong <cyd@gnu.org>
7537 * subr.el (change-major-mode-after-body-hook): New hook.
7538 (run-mode-hooks): Run it.
7540 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7541 Use change-major-mode-before-body-hook.
7543 * simple.el (fundamental-mode):
7544 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7545 change introducing fundamental-mode-hook.
7547 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
7549 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
7551 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
7553 * ido.el (ido-file-name-all-completions-1): Do not require
7554 tramp.el explicitly. (Bug#7583)
7556 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7558 * progmodes/octave-mod.el:
7559 * progmodes/octave-inf.el: Update maintainer.
7561 2011-10-26 Chong Yidong <cyd@gnu.org>
7563 * subr.el (with-wrapper-hook): Rewrite doc.
7565 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
7567 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
7568 filenames "/method:foo:". (Bug#9793)
7570 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7572 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7575 2011-10-24 Glenn Morris <rgm@gnu.org>
7577 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
7579 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
7581 * notifications.el: Add the requirement of a running D-Bus session
7582 bus to the Commentary.
7584 2011-10-24 Juri Linkov <juri@jurta.org>
7586 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7587 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7590 2011-10-24 Juri Linkov <juri@jurta.org>
7592 * info.el (Info-following-node-name-re): Add newline to the list
7593 of allowed characters for leading space. (Bug#9824)
7595 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7597 * progmodes/octave-inf.el (inferior-octave-mode-map):
7598 Fix C-c C-h binding.
7599 * progmodes/octave-mod.el (octave-help): Remove.
7601 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
7603 Sync with Tramp 2.2.3.
7605 * net/tramp-cache.el (top): Pacify byte-compiler using
7606 `init-file-user' and `site-run-file'.
7608 * net/trampver.el: Update release number.
7610 2011-10-23 Chong Yidong <cyd@gnu.org>
7612 * files.el (toggle-read-only): Remove obsolete comment about
7615 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7616 for toggle-read-only. Note that this hasn't called vc-next-action
7617 since 2008-05-02, though it wasn't documented at the time.
7619 * vc/ediff-init.el (ediff-toggle-read-only-function):
7620 Use toggle-read-only.
7622 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
7624 Fix bug #9560, sporadic wrong indentation; improve instrumentation
7627 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7628 correct faulty logical expression.
7629 (c-parse-state-state, c-record-parse-state-state):
7630 (c-replay-parse-state-state): New defvar/defuns.
7631 (c-debug-parse-state): Use new functions.
7633 2011-10-22 Martin Rudalics <rudalics@gmx.at>
7635 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
7636 last fix. Use window-in-direction correctly.
7638 2011-10-21 Chong Yidong <cyd@gnu.org>
7640 * progmodes/idlwave.el (idlwave-mode):
7641 * progmodes/vera-mode.el (vera-mode): No need to set
7642 require-final-newline; that's done in prog-mode.
7643 Suggested by Stefan Monnier.
7645 2011-10-21 Martin Rudalics <rudalics@gmx.at>
7647 * mouse.el (mouse-drag-window-above)
7648 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7649 (mouse-drag-mode-line-1, mouse-drag-header-line)
7650 (mouse-drag-vertical-line-rightward-window): Remove.
7651 (mouse-drag-line): New function.
7652 (mouse-drag-mode-line, mouse-drag-header-line)
7653 (mouse-drag-vertical-line): Call mouse-drag-line.
7654 * window.el (window-at-side-p, windows-at-side): New functions.
7656 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
7658 * tar-mode.el (tar-grind-file-mode):
7659 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
7661 2011-10-21 Chong Yidong <cyd@gnu.org>
7663 * progmodes/idlwave.el (idlwave-mode):
7664 * progmodes/vera-mode.el (vera-mode):
7665 Use mode-require-final-newline.
7667 2011-10-20 Glenn Morris <rgm@gnu.org>
7669 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
7671 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
7673 * emulation/cua-base.el (cua-set-mark): Fix case of string.
7675 2011-10-20 Chong Yidong <cyd@gnu.org>
7677 * emulation/cua-base.el (cua-mode):
7678 * mail/footnote.el (footnote-mode):
7679 * mail/mailabbrev.el (mail-abbrevs-mode):
7680 * net/xesam.el (xesam-minor-mode):
7681 * progmodes/bug-reference.el (bug-reference-mode):
7682 * progmodes/cap-words.el (capitalized-words-mode):
7683 * progmodes/compile.el (compilation-minor-mode)
7684 (compilation-shell-minor-mode):
7685 * progmodes/gud.el (gud-tooltip-mode):
7686 * progmodes/hideif.el (hide-ifdef-mode):
7687 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
7688 * progmodes/subword.el (subword-mode):
7689 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7690 * progmodes/which-func.el (which-function-mode):
7691 * term/tvi970.el (tvi970-set-keypad-mode):
7692 * term/vt100.el (vt100-wide-mode):
7693 * textmodes/flyspell.el (flyspell-mode):
7694 * textmodes/ispell.el (ispell-minor-mode):
7695 * textmodes/nroff-mode.el (nroff-electric-mode):
7696 * textmodes/paragraphs.el (use-hard-newlines):
7697 * textmodes/refill.el (refill-mode):
7698 * textmodes/reftex.el (reftex-mode):
7699 * textmodes/rst.el (rst-minor-mode):
7700 * textmodes/sgml-mode.el (html-autoview-mode)
7701 (sgml-electric-tag-pair-mode):
7702 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
7703 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
7704 * emulation/crisp.el (crisp-mode):
7705 * emacs-lisp/eldoc.el (eldoc-mode):
7706 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
7707 minor mode behavior.
7709 2011-10-19 Juri Linkov <juri@jurta.org>
7711 * descr-text.el (describe-char): Add #x2010 and #x2011 to
7712 the list of hard-coded chars with escape-glyph face.
7714 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7716 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
7718 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
7720 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
7723 2011-10-19 Glenn Morris <rgm@gnu.org>
7725 * vc/vc-bzr.el (vc-bzr-after-dir-status):
7726 Ignore ignored files. (Bug#9726)
7728 2011-10-19 Chong Yidong <cyd@gnu.org>
7730 Doc fix for minor modes, stating that an omitted argument enables
7731 the mode unconditionally when called from Lisp.
7733 * abbrev.el (abbrev-mode):
7734 * allout.el (allout-mode):
7735 * autoinsert.el (auto-insert-mode):
7736 * autoarg.el (autoarg-mode, autoarg-kp-mode):
7737 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7738 (global-auto-revert-mode):
7739 * battery.el (display-battery-mode):
7740 * composite.el (global-auto-composition-mode)
7741 (auto-composition-mode):
7742 * delsel.el (delete-selection-mode):
7743 * desktop.el (desktop-save-mode):
7744 * dired-x.el (dired-omit-mode):
7745 * dirtrack.el (dirtrack-mode):
7746 * doc-view.el (doc-view-minor-mode):
7747 * double.el (double-mode):
7748 * electric.el (electric-indent-mode, electric-pair-mode):
7749 * emacs-lock.el (emacs-lock-mode):
7750 * epa-hook.el (auto-encryption-mode):
7751 * follow.el (follow-mode):
7752 * font-core.el (font-lock-mode):
7753 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7754 * help.el (temp-buffer-resize-mode):
7755 * hilit-chg.el (highlight-changes-mode)
7756 (highlight-changes-visible-mode):
7757 * hi-lock.el (hi-lock-mode):
7758 * hl-line.el (hl-line-mode, global-hl-line-mode):
7759 * icomplete.el (icomplete-mode):
7760 * ido.el (ido-everywhere):
7761 * image-file.el (auto-image-file-mode):
7762 * image-mode.el (image-minor-mode):
7763 * iswitchb.el (iswitchb-mode):
7764 * jka-cmpr-hook.el (auto-compression-mode):
7765 * linum.el (linum-mode):
7766 * longlines.el (longlines-mode):
7767 * master.el (master-mode):
7768 * mb-depth.el (minibuffer-depth-indicate-mode):
7769 * menu-bar.el (menu-bar-mode):
7770 * minibuf-eldef.el (minibuffer-electric-default-mode):
7771 * mouse-sel.el (mouse-sel-mode):
7772 * msb.el (msb-mode):
7773 * mwheel.el (mouse-wheel-mode):
7774 * outline.el (outline-minor-mode):
7775 * paren.el (show-paren-mode):
7776 * recentf.el (recentf-mode):
7777 * reveal.el (reveal-mode, global-reveal-mode):
7778 * rfn-eshadow.el (file-name-shadow-mode):
7779 * ruler-mode.el (ruler-mode):
7780 * savehist.el (savehist-mode):
7781 * scroll-all.el (scroll-all-mode):
7782 * scroll-bar.el (scroll-bar-mode):
7783 * server.el (server-mode):
7784 * shell.el (shell-dirtrack-mode):
7785 * simple.el (auto-fill-mode, transient-mark-mode)
7786 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7787 (line-number-mode, column-number-mode, size-indication-mode)
7788 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7789 * strokes.el (strokes-mode):
7790 * time.el (display-time-mode):
7791 * t-mouse.el (gpm-mouse-mode):
7792 * tool-bar.el (tool-bar-mode):
7793 * tooltip.el (tooltip-mode):
7794 * type-break.el (type-break-mode-line-message-mode)
7795 (type-break-query-mode):
7796 * view.el (view-mode):
7797 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7798 (global-whitespace-mode, global-whitespace-newline-mode):
7799 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7801 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7802 Fix autogenerated docstring.
7804 2011-10-19 Juri Linkov <juri@jurta.org>
7806 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7807 by checking environment variables "DESKTOP_SESSION" and
7808 "XDG_CURRENT_DESKTOP". (Bug#9779)
7810 2011-10-19 Juri Linkov <juri@jurta.org>
7812 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7813 (browse-url-chromium-program, browse-url-chromium-arguments):
7815 (browse-url-default-browser): Check for `browse-url-chromium' and
7816 call `browse-url-chromium-program'.
7817 (browse-url-chromium): New command. (Bug#9779)
7819 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
7821 * facemenu.el (list-colors-duplicates): On Windows, detect more
7822 duplicates by assuming that only colors matching "^System" are
7823 special "system colors". (Bug#9722)
7825 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7827 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7828 to distinguish the author from the committer.
7830 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
7832 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7834 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7836 * international/mule.el (sgml-html-meta-auto-coding-function):
7837 Add support for detecting encoding in HTML5 specified only as
7838 <meta charset="UTF-8">. Implementation just makes http-equiv and
7839 content-type parts from HTML4 encoding string optional. (Bug#9716)
7841 2011-10-18 Glenn Morris <rgm@gnu.org>
7843 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7845 2011-10-18 Chong Yidong <cyd@gnu.org>
7847 * faces.el (cursor): Doc fix.
7849 2011-10-17 Chong Yidong <cyd@gnu.org>
7851 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7853 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
7855 * dirtrack.el (dirtrack): Support shell buffers with path
7856 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7858 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7860 * json.el: Bump version to 1.3 and note change in History.
7861 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7863 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7865 * comint.el (comint-insert-input, comint-send-input)
7866 (comint-get-old-input-default, comint-backward-matching-input)
7867 (comint-next-prompt): Use nil instead of `input' for field property of
7868 past user input (bug#114).
7870 * minibuffer.el (completion--replace): Inherit surrounding properties
7872 (minibuffer-complete-and-exit): Use it.
7874 * comint.el (comint--table-subvert): Quote the all-completions output
7877 2011-10-17 Martin Rudalics <rudalics@gmx.at>
7879 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
7881 * menu-bar.el (menu-bar-file-menu): Add entry for making new
7882 window on right of selected. (Bug#9350) Reword other window
7883 entries and separate them from frame entries.
7885 2011-10-15 Glenn Morris <rgm@gnu.org>
7887 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7890 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
7892 * net/network-stream.el (network-stream-open-starttls):
7893 Improve detection of failure due to lack of TLS support.
7895 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7896 putting the input text in front and in bold.
7898 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7900 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7902 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7905 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7906 unread-command-events rather than pushing yet-another event.
7908 2011-10-14 Eli Zaretskii <eliz@gnu.org>
7910 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7911 the explanation of the possible choices. Make the options passed
7912 to completing-read shorter.
7914 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7916 * textmodes/flyspell.el (flyspell-large-region): Make sure
7917 extended character mode is used if defined (Bug#1339).
7919 2011-10-13 Eli Zaretskii <eliz@gnu.org>
7921 * simple.el (what-cursor-position): Fix the display of the
7922 character info for LRE, LRO, RLE, and RLO characters by appending
7925 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7927 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7928 even in case of error; add debug spec; simplify data flow.
7929 (with-timeout-handler): Remove.
7931 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
7933 Fix Bug#6019, Bug#9315.
7935 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7936 complete `buffer-file-name', the local file name part could look
7937 remotely (for example on VMS).
7939 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7940 `tramp-run-real-handler'.
7941 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7942 already quoted by '"'.
7944 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7945 Let `file-name-handler-alist' be nil, the local file name part
7946 could look remotely (for example on VMS).
7948 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7950 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7952 (flyspell-post-command-hook): ...to here.
7954 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7956 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7958 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7959 using completion. Protect against "slow" callers.
7960 Remove the "message hack".
7962 2011-10-11 Juri Linkov <juri@jurta.org>
7964 * isearch.el (isearch-lazy-highlight-word): New variable.
7965 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7968 2011-10-11 Glenn Morris <rgm@gnu.org>
7970 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7971 like f90-previous-statement does.
7973 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7975 * eshell/eshell.el (eshell-command): History should be saved
7976 only in interactive use, to avoid error.
7978 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7980 * minibuffer.el (completion-file-name-table): Fix last change,
7981 i.e. ignore normal errors but not the other ones.
7983 2011-10-10 Martin Rudalics <rudalics@gmx.at>
7985 * window.el (special-display-buffer-names)
7986 (special-display-regexps): Remove some remnants of earlier
7987 changes from doc-strings.
7988 (quit-windows-on): New function.
7990 * vc/vc.el (vc-revert, vc-rollback):
7991 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7992 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
7993 (Bug#6183) (Bug#7074) (Bug#7447)
7995 2011-10-09 Martin Rudalics <rudalics@gmx.at>
7997 * window.el (frame-auto-hide-function): Add version tag.
8000 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
8002 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
8005 2011-10-09 Leo Liu <sdl.web@gmail.com>
8007 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
8010 2011-10-08 Glenn Morris <rgm@gnu.org>
8012 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
8013 before the first code statement zero indent. (Bug#9690)
8015 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
8017 * simple.el (count-words-region): Always count in the region.
8018 Report the number of lines and characters too.
8019 (count-words): New command, which counts in the buffer if the
8020 region is inactive, as count-words-region used to.
8021 (count-words--message): New function. Handle plurals.
8022 (count-lines-region): Make it an alias for count-words-region.
8024 * bindings.el (esc-map): Replace count-lines-region with
8027 2011-10-08 Martin Rudalics <rudalics@gmx.at>
8029 * window.el (window--delete): Delete dedicated frame
8030 unconditionally when argument KILL is non-nil. (Bug#9699)
8031 (switch-to-buffer): Fix doc-string typo.
8033 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8035 * eshell/eshell.el (eshell-command): Avoid using hooks.
8037 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
8039 * bindings.el ([M-left],[M-right]): Bind to left-word and
8040 right-word respectively.
8042 2011-10-07 Glenn Morris <rgm@gnu.org>
8044 * cus-start.el (debug-on-quit): Fix custom type.
8046 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8048 * subr.el (define-key-after): Clarify that the function is not
8049 useful for non-menu keymaps.
8051 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
8053 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8055 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8056 in current minibuffer (Fix bug with recursive minibuffers).
8058 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
8060 * progmodes/gdb-mi.el (gdb): Doc fix.
8062 2011-10-05 Martin Rudalics <rudalics@gmx.at>
8064 * window.el (frame-auto-hide-function): New option replacing
8065 frame-auto-delete. Suggested by Stefan Monnier.
8066 (window--delete): Call frame-auto-hide-function instead of
8067 investigating frame-auto-delete.
8068 (window-point-1, set-window-point-1): New functions.
8069 (window-in-direction, record-window-buffer, window-state-get-1)
8070 (display-buffer-record-window): Use window-point-1 instead of
8072 (set-window-buffer-start-and-point): Use set-window-point-1.
8074 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8076 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
8078 2011-10-05 Glenn Morris <rgm@gnu.org>
8080 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
8081 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
8083 2011-10-05 Leo Liu <sdl.web@gmail.com>
8085 * subr.el (read-char-choice): Fix argument to buffer-live-p which
8086 works with buffer object.
8088 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8090 * mpc.el (mpc-tool-bar-map): Add labels.
8092 2011-10-04 Glenn Morris <rgm@gnu.org>
8094 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8096 2011-10-04 Martin Rudalics <rudalics@gmx.at>
8098 * window.el (window--delete): New function.
8099 (frame-auto-delete): Resuscitate option.
8100 (bury-buffer, replace-buffer-in-windows)
8101 (quit-window): Rewrite using window--delete.
8102 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8103 Pass display-buffer-mark-dedicated to window--display-buffer-2
8106 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8108 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
8109 returns a list (bug#9554). Add remote file name completion.
8110 * comint.el (comint--table-subvert): Curry and get quote&unquote
8111 functions as arguments.
8112 (comint--complete-file-name-data): Adjust call accordingly.
8113 * pcomplete.el (pcomplete--table-subvert): Remove.
8114 (pcomplete-completions-at-point): Use comint--table-subvert instead.
8116 * minibuffer.el (completion-table-case-fold): Use currying.
8117 (completion--styles-type, completion--cycling-threshold-type):
8119 (completion-styles, completion-category-overrides)
8120 (completion-cycle-threshold): Use them.
8121 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
8122 completion-table-case-fold.
8124 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
8126 * minibuffer.el (completion-category-overrides): Fix type of styles
8127 and add more user friendly tags (bug#9660).
8129 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8131 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
8132 (mule-input-method-string): New widget.
8133 (default-input-method, language-info-custom-alist): Use it.
8135 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8137 * pcomplete.el: Require comint.
8138 (pcomplete--common-suffix): Remove.
8139 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
8140 (pcomplete--table-subvert): Sync with comint--table-subvert.
8141 (pcomplete--entries): Use comint-completion-file-name-table.
8142 * comint.el (comint-unquote-filename): Simplify.
8143 (comint-completion-file-name-table): New function (bug#9616).
8144 (comint--complete-file-name-data): Use it.
8146 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
8147 (pcmpl-gnu-tar-buffer): Remove.
8148 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
8149 around. Make sure pcomplete-suffix-list is only changed temporarily.
8150 Don't look inside the tar's file if it's too large.
8152 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
8154 * cus-edit.el (custom-mode-map):
8155 * epa.el (epa-key-list-mode-map):
8156 * man.el (Man-mode-map):
8157 * startup.el (splash-screen-keymap):
8158 * simple.el (special-mode-map): Use scroll-up-command and
8159 scroll-down-command.
8161 * progmodes/idlw-help.el (idlwave-help-mode-map):
8162 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
8163 * net/newst-plainview.el (newsticker-mode-map):
8164 * emulation/ws-mode.el (wordstar-mode-map):
8165 * emulation/vi.el (vi-com-map):
8166 * calc/calc-graph.el (calc-graph-show-dumb):
8167 * term/sun.el (terminal-init-sun):
8168 * term/ns-win.el (global-map):
8169 * progmodes/grep.el (grep-mode-map):
8170 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
8171 * mail/rmail.el (rmail-mode-map):
8172 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
8174 * custom.el (custom-safe-themes, load-theme): Treat value of t for
8175 custom-safe-themes as special.
8177 2011-10-01 Julien Danjou <julien@danjou.info>
8179 * notifications.el (notifications-notify): Fix docstring.
8181 2011-10-01 Per Starbäck <per@starback.se>
8183 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
8185 2011-09-30 Martin Rudalics <rudalics@gmx.at>
8187 * startup.el (command-line-1): Fix last fix by inserting
8188 initial-scratch-message into *scratch* before displaying it.
8189 (Bug#9605) and (Bug#9636)
8191 2011-09-29 Eli Zaretskii <eliz@gnu.org>
8193 * simple.el (line-move): If auto-hscroll-mode is disabled and the
8194 window is hscrolled, move by logical lines. (Bug#9607)
8195 (line-move-visual): Update the doc string to the above effect.
8197 2011-09-29 Martin Rudalics <rudalics@gmx.at>
8199 * window.el (display-buffer-record-window): When WINDOW is the
8200 selected window use `point' instead of `window-point'. (Bug#9626)
8202 * startup.el (command-line-1): Use insert-before-markers when
8203 inserting initial-scratch-message. (Bug#9605)
8205 * help.el (help-window): Remove variable.
8207 2011-09-29 Glenn Morris <rgm@gnu.org>
8209 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
8211 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
8213 * descr-text.el (describe-char-categories): Accept category
8214 descriptions more than one line long.
8216 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8218 * simple.el (delete-trailing-whitespace): Fix last change.
8220 * progmodes/perl-mode.el (perl-syntax-propertize-function):
8221 Don't confuse "y => 3" as the beginning of a `y' operation.
8223 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
8224 object has more than 4 slots (bug#9613).
8226 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
8228 * subr.el (with-output-to-temp-buffer):
8229 * net/quickurl.el (quickurl, quickurl-browse-url):
8230 Fix typos in docstrings.
8232 2011-09-27 Eli Zaretskii <eliz@gnu.org>
8234 * minibuffer.el (completion-styles)
8235 (completion-category-overrides): Cross reference each other in doc
8238 2011-09-27 Glenn Morris <rgm@gnu.org>
8240 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
8241 to split-string. (Bug#9606)
8243 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8245 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8248 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
8250 * emacs-lisp/package.el (list-packages): Fix echo area message.
8252 2011-09-27 Leo Liu <sdl.web@gmail.com>
8254 * ido.el (ido-read-internal): Accept cons cell HIST arg.
8256 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
8258 * net/dbus.el (dbus-unregister-object): Don't release services for
8259 registered signals. (Bug#9581)
8261 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
8263 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8264 function that picks between cfengine 2 and 3 support
8265 automatically. Update docs accordingly.
8267 2011-09-22 Kenichi Handa <handa@m17n.org>
8269 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8271 (indian-itrans-v5-table-for-tamil): New variable.
8272 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8274 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
8276 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8277 that's true if the current command involved collapsing of text.
8278 It's reset to false at the beginning of the next command.
8279 (allout-post-command-business): Move the cursor to the beginning
8280 of entry if the cursor is hidden and collapsing activity just
8283 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
8285 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8286 tracking (Bug#9541).
8288 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
8290 * net/newst-reader.el (newsticker-html-renderer)
8291 (newsticker-show-news): Automatically load html rendering package
8292 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
8293 because w3m-fill-column is let-bound" and the error "Symbol's value
8294 as variable is void: w3m-fill-column".
8296 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
8298 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8299 Release services only if they are defined. (Bug#9581)
8301 2011-09-23 Richard Stallman <rms@gnu.org>
8303 * textmodes/paragraphs.el (forward-sentence): For backwards case,
8304 distinguish start of paragraph from start of its text.
8306 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8308 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8309 (rmail-generate-viewer-buffer): Put that hook on view buffer.
8310 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8312 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
8314 * international/mule-diag.el (mule-diag): Insert a newline after
8315 each fontset description.
8317 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8319 * simple.el (delete-trailing-whitespace):
8320 Document last change; simplify.
8322 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
8324 * simple.el (delete-trailing-whitespace): Also delete
8325 extra newlines at the end of the buffer.
8327 * textmodes/picture.el: Make motion commands obey shift-select-mode.
8328 (picture-newline): Use forward-line so as to ignore fields.
8330 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8332 * subr.el (with-wrapper-hook): Fix edebug spec.
8334 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8336 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8339 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
8341 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8342 Fix nasty bug using wrong cached values.
8344 2011-09-23 Alan Mackenzie <acm@muc.de>
8346 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8348 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
8350 * window.el (pop-to-buffer): Ensure right window is selected if we
8351 chose another frame.
8353 2011-09-22 Eli Zaretskii <eliz@gnu.org>
8355 * simple.el (what-cursor-position): Use get-char-property-change
8356 and next-single-char-property-change, to be able to show display
8357 properties that come from overlays as well as text properties.
8359 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
8361 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8363 * cmuscheme.el (run-scheme, switch-to-scheme):
8364 * cus-edit.el (customize-group, custom-buffer-create)
8368 * mail/sendmail.el (mail):
8369 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8371 2011-09-22 Richard Stallman <rms@gnu.org>
8373 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8374 move back only to line beg, don't move back over blank lines.
8376 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
8378 * files.el (copy-directory): Set directory attributes only in case
8379 they could be retrieved from the source directory. (Bug#9565)
8381 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
8383 * progmodes/hideshow.el (hs-looking-at-block-start-p)
8384 (hs-find-block-beginning, hs-hide-level-recursive):
8385 Ignore strings as well as comments. (Bug#9502)
8387 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
8389 * progmodes/sql.el (sql-comint-postgres):
8390 Convert port number to a string. (Bug#9566)
8392 2011-09-22 Martin Rudalics <rudalics@gmx.at>
8394 * window.el (quit-window): Undedicate window when switching to
8395 previous buffer. Reported by Thierry Volpiatto
8396 <thierry.volpiatto@gmail.com>.
8397 (special-display-popup-frame): When popping up a new frame reset
8398 its previous buffers to nil. Simplify code.
8400 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
8402 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8403 and process filter, as done also in `shell-command'.
8405 2011-09-21 Martin Rudalics <rudalics@gmx.at>
8407 * window.el (set-window-buffer-start-and-point):
8408 Call set-window-start with NOFORCE argument t.
8409 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8410 (quit-window): Reword doc-string. Handle new format of
8411 quit-restore parameter. Don't delete window if it has a
8412 previous buffer we can show instead of the present one.
8413 (display-buffer-record-window): Rewrite using a new format for
8414 the quit-restore window parameter
8415 (special-display-popup-frame, display-buffer-same-window)
8416 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8417 (display-buffer-pop-up-window, display-buffer-use-some-window):
8418 Adapt symbol passed to display-buffer-record-window.
8419 * help.el (help-window-setup): Handle new format of quit-restore
8422 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
8424 * faces.el (face-list): Fix docstring (bug#9564).
8426 * window.el (display-buffer--action-function-custom-type):
8427 Don't include internal functions in the Custom interface.
8429 2011-09-20 Juri Linkov <juri@jurta.org>
8431 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8432 (Info-forward-node, Info-backward-node, Info-next-preorder)
8433 (Info-last-preorder): Use it. (Bug#9528)
8435 2011-09-20 Juri Linkov <juri@jurta.org>
8437 * info.el (Info-last-preorder): Visit last menu item only when
8438 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
8440 2011-09-20 Julien Danjou <julien@danjou.info>
8442 * password-cache.el (password-cache-remove): Remove entries even if the
8443 value is nil, so that password with a nil value (negative caching) is
8444 possible to invalidate.
8446 2011-09-20 Lawrence Mitchell <wence@gmx.li>
8448 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
8449 all whitespace around breakpoint. (Bug#9553)
8450 (f90-find-breakpoint): Only break at whitespace inside a comment.
8452 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8454 * minibuffer.el (completion-file-name-table): Keep track of errors.
8455 (completion-table-with-predicate): Handle the case where pred1 is nil.
8456 * pcomplete.el (pcomplete-completions-at-point): Simplify.
8458 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8460 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
8461 (debugger-return-value): Signal an error if the debugging context does
8462 not await any return value.
8464 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8465 * image-mode.el (image-toggle-display-text)
8466 (image-toggle-display-image): Stay away from evil `intangible'.
8468 2011-09-19 Leo Liu <sdl.web@gmail.com>
8470 * replace.el (occur-revert-arguments): Make it permanent-local.
8471 (occur-mode): Don't call font-lock-defontify.
8473 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
8475 * net/ldap.el (ldap-search-internal): Don't push empty search
8478 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8480 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8482 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
8484 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8485 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8487 2011-09-18 Juri Linkov <juri@jurta.org>
8489 * buff-menu.el (Buffer-menu-mode-map):
8490 * dired.el (dired-mode-map):
8491 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8492 (lisp-interaction-mode-map):
8493 * emacs-lisp/package.el (package-menu-mode-map):
8494 * epa.el (epa-key-list-mode-map):
8495 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8496 (menu-bar-options-menu):
8497 * outline.el (outline-mode-menu-bar-map):
8498 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8499 * vc/vc-dir.el (vc-dir-menu-map):
8500 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8501 Capitalize non-function content words in menu item strings.
8503 * dired.el (dired-mode-map): Add menu item for
8504 `image-dired-dired-toggle-marked-thumbs'.
8506 2011-09-18 Juri Linkov <juri@jurta.org>
8508 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8509 to `isearch-case-fold-search' and restore its original value
8510 after the `isearch-mode' call.
8512 2011-09-18 Juri Linkov <juri@jurta.org>
8514 * progmodes/grep.el (grep-process-setup): Don't check code for 1
8515 because `zgrep' returns 1 for successful matches (bug#9226).
8517 2011-09-18 Juri Linkov <juri@jurta.org>
8519 * info.el (Info-extract-menu-node-name): Check the second match
8520 for empty string (second test-case of bug#9528).
8521 (Info-last-preorder): Let-bind `Info-history' to nil to not add
8522 intermediate nodes to the history (first test-case of bug#9528).
8524 2011-09-18 Juri Linkov <juri@jurta.org>
8526 * info.el (Info-mode-syntax-table): New variable.
8527 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
8529 2011-09-18 Juri Linkov <juri@jurta.org>
8531 * info.el (Info-file-supports-index-cookies):
8532 Increment line-beginning-position's arg from 3 to 4 because makeinfo
8533 outputs one more line for long file names (bug#4142).
8535 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
8537 * newcomment.el (comment-normalize-vars): If prompting for
8538 comment-start, set comment-start-skip too (Bug#8424).
8540 2011-09-18 Johan Bockgård <bojohan@gnu.org>
8542 * icomplete.el: Fix previous fix of Bug#5849.
8543 (icomplete-mode): Don't set completion-show-inline-help.
8544 (icomplete-minibuffer-setup): Set completion-show-inline-help
8545 locally during icompletion.
8547 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
8549 * woman.el (woman2-process-escapes): Don't delete unrecognized
8552 * files.el (inhibit-first-line-modes-regexps): Add image files.
8553 (hack-local-variables-prop-line): Return nil for malformed
8554 prop-lines (Bug#9044).
8556 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
8558 * net/tramp.el (top): Don't require 'shell.
8559 (tramp-methods): Fix docstring.
8560 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8561 Return complete remote file name. Handle "smb" case.
8562 Use `tramp-tmpdir', if defined for the respective method.
8563 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8565 * net/tramp-compat.el (top): Require 'shell.
8567 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8568 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8569 `tramp-current-host'.
8570 (tramp-get-remote-tmpdir): Remove.
8572 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8573 `tramp-tmpdir' entries.
8574 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8575 (tramp-smb-handle-file-attributes): Ignore errors.
8576 (tramp-smb-wait-for-output): Check also for process end.
8578 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8580 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8581 when sending QUIT (bug#9312).
8583 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
8585 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8586 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8587 occur-mode-display-occurrence.
8588 (occur-edit-mode): Add usage message.
8589 (occur-cease-edit): New command.
8590 (occur-after-change-function): Use text properties to find the
8591 position of the prefix text.
8592 (occur-engine): Set stickiness of prefix text properties.
8594 2011-09-17 Glenn Morris <rgm@gnu.org>
8596 * progmodes/etags.el (complete-tag):
8597 Fix call to completion-in-region. (Bug#9526)
8599 2011-09-17 Juri Linkov <juri@jurta.org>
8601 * textmodes/ispell.el (ispell-word): Add to the error message
8602 the word, ispell program name and current dictionary (bug#9121).
8603 (ispell-tex-arg-end): Capitalize "error" in the error message.
8605 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
8607 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8610 2011-09-17 Juri Linkov <juri@jurta.org>
8612 * window.el (window-safe-min-height, window-safe-min-width):
8613 Fix typos (followup to bug#9522).
8615 2011-09-17 Sven Joachim <svenjoac@gmx.de>
8617 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8619 2011-09-16 Eli Zaretskii <eliz@gnu.org>
8621 * simple.el (line-move): If goal-column is set, move by logical
8622 lines, not by display lines. (Bug#971)
8623 (next-line, previous-line, goal-column, line-move-visual): Doc fix
8624 to reflect the above change.
8626 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8628 * image.el (imagemagick-register-types): Use regexp-opt.
8630 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
8632 * window.el (display-buffer-base-action): Rename from
8633 display-buffer-default-action. Make default value empty.
8634 (display-buffer-overriding-action): Convert to defvar.
8635 (display-buffer-fallback-action): New var.
8637 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
8639 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8641 (package--add-to-archive-contents): If there is a duplicate entry
8642 with an older version, remove it.
8643 (package-menu-mark-delete, package-menu-mark-install)
8644 (package-menu-mark-unmark): Make unused args optional.
8645 (package-menu-mark-obsolete-for-deletion):
8646 Use package-menu-get-status instead of a regexp search.
8647 (package-menu-get-status): Use tabulated-list-entry.
8648 (package-menu-mark-upgrades): New command.
8649 (package-menu-mode-map): Bind it to U. Add it to menu bar.
8650 (package-menu-execute): Do installation before deletion.
8651 (package-menu-refresh, package-menu-execute): Use derived-mode-p
8652 instead of checking major-mode.
8653 (package-menu--find-upgrades): New function.
8655 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8657 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8658 passwords in the log buffer.
8659 (smtpmail-process-filter): Update the process marker so that the
8660 "broken by peer" status message is inserted in the right place.
8662 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8664 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8665 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8666 bibtex-completion-at-point-function.
8667 (bibtex-completion-at-point-function): Use them.
8669 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8671 * mpc.el (mpc-constraints-tag-lookup): New function.
8672 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8673 also to browser "album|playlist".
8675 2011-09-14 Juri Linkov <juri@jurta.org>
8677 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
8678 (isearch-edit-string): Use length of `isearch-string' when
8679 `isearch-fail-pos' returns nil.
8680 (isearch-message): Remove duplicate code and call
8681 `isearch-fail-pos' with arg `t'.
8683 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
8685 * replace.el (occur-mode-goto-occurrence): Don't force using other
8688 * dired-aux.el (dired-do-chmod): Don't provide initial input.
8690 2011-09-14 Martin Rudalics <rudalics@gmx.at>
8692 * window.el (display-buffer-window): Remove.
8693 (display-buffer-record-window): Use help-setup window parameter
8694 instead of variable display-buffer-window.
8695 (display-buffer-function, special-display-buffer-names)
8696 (special-display-function): Mention help-setup parameter instead
8697 of display-buffer-window in doc-string.
8698 * help.el (help-window-setup): New argument help-window.
8699 Use help-window-setup parameter instead of display-buffer-window.
8700 Reword some messages.
8701 (with-help-window): Pass window used for displaying the buffer
8702 to help-window-setup. Don't set display-buffer-window.
8704 2011-09-13 Glenn Morris <rgm@gnu.org>
8706 * emacs-lisp/debug.el (debugger-make-xrefs):
8707 Preserve point. (Bug#9462)
8709 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
8711 * window.el (window-deletable-p): Use next-frame.
8713 2011-09-13 Martin Rudalics <rudalics@gmx.at>
8715 * window.el (window-auto-delete): Remove.
8716 (window-deletable-p): Remove argument FORCE. Don't deal with
8717 dedication and previous buffers.
8718 (switch-to-prev-buffer): Don't delete window.
8719 (delete-windows-on): Delete a window's frame if and only if the
8720 window is dedicated.
8721 (replace-buffer-in-windows): Delete buffer's window or frame if
8722 and only if window is dedicated.
8723 (quit-window): Handle quit-restore as before last change.
8724 (bury-buffer): Delete window only if window-deletable-p returns t.
8726 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
8728 * window.el (window-deletable-p): Never delete the last frame on a
8731 2011-09-13 Glenn Morris <rgm@gnu.org>
8733 * help.el (describe-key-briefly): Copy previous standard-output change.
8735 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
8737 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
8739 2011-09-13 Glenn Morris <rgm@gnu.org>
8741 * emacs-lisp/lisp-mode.el (lisp-indent-function):
8742 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
8744 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
8746 * dired-aux.el (dired-mark-read-string): Don't return default
8747 value on empty input (Bug#9361).
8748 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
8749 Omit initial minibuffer contents.
8750 (dired-do-chmod): Signal an error on empty input.
8751 (dired-mark-read-string): Don't return default on empty input.
8753 * files.el (file-modes-symbolic-to-number): Doc fix.
8755 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8757 * international/mule-cmds.el (ucs-completions): Remove.
8758 (read-char-by-name): Use complete-with-action instead; add metadata.
8760 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
8762 * window.el (display-buffer--action-function-custom-type)
8763 (display-buffer--action-custom-type): New vars.
8764 (display-buffer-alist, display-buffer-default-action)
8765 (display-buffer-overriding-action): Add defcustom types.
8767 * frame.el (delete-other-frames): Doc fix (Bug#276).
8769 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8771 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8773 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
8775 Change modes that used same-window-* vars to use switch-to-buffer.
8777 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8778 Use switch-to-buffer.
8780 * cus-edit.el (customize-group, custom-buffer-create)
8781 (customize-browse, custom-buffer-create-other-window):
8782 Use switch-to-buffer or switch-to-buffer-other-window.
8784 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8785 (Info-prev, Info-up, Info-speedbar-goto-node)
8786 (info-display-manual): Use switch-to-buffer.
8787 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8789 * mail/sendmail.el (mail): Use switch-to-buffer.
8790 (mail-recover): Use switch-to-buffer-other-window.
8792 * cmuscheme.el (run-scheme, switch-to-scheme):
8795 * net/rlogin.el (rlogin):
8796 * net/telnet.el (telnet, rsh):
8797 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8799 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8801 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8803 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8805 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8806 so don't mention it (bug#9301).
8807 (dired-sort-toggle-or-edit): Clarify string further.
8809 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8810 match `x', `w32' and `ns', like the manual says (bug#9029).
8812 * subr.el (eval-after-load): Doc string clarification (bug#9125).
8813 (process-kill-buffer-query-function): Mention the buffer name in
8816 * image-mode.el (image-next-line): The line parameter is mandatory
8819 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8820 which can be useful (bug#9301).
8822 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8824 * subr.el (match-string): Mention that the current buffer should
8825 be the same as the search was done in (bug#9282).
8827 * facemenu.el: Disable the remove-* commands if the mark isn't
8830 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
8832 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8834 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8836 * replace.el (occur-mode-goto-occurrence)
8837 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8840 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8843 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8844 special-display and same-window variables.
8845 (mail-other-window): Use switch-to-buffer-other-window.
8846 (mail-other-frame): USe switch-to-buffer-other-frame.
8848 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8849 Use display-buffer-other-frame.
8850 (gdb-display-gdb-buffer): Use pop-to-buffer.
8852 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8854 * progmodes/python.el: Don't set same-window-buffer-names.
8856 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8858 * window.el (display-buffer-alist): Add *Python*.
8860 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
8862 * window.el (display-buffer-alist): Add entry for buffers
8863 previously handled same-window-*.
8864 (display-buffer-alist, display-buffer-default-action)
8865 (display-buffer-overriding-action): Mark as risky.
8866 (display-buffer-alist): Document action function changes.
8867 (display-buffer--same-window-action)
8868 (display-buffer--other-frame-action): New variables.
8869 (switch-to-buffer, display-buffer-other-frame): Use them.
8870 (display-buffer): Rename reuse-frame entry to reusable-frames.
8871 (display-buffer-reuse-selected-window): Function deleted.
8872 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8873 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8874 (display-buffer-special): New function.
8875 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8876 display-buffer-reuse-or-pop-window. Split off special-display
8877 part into display-buffer-special.
8878 (display-buffer-use-some-window): Don't perform any special
8879 pop-up-frames handling.
8880 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
8881 (display-buffer--maybe-same-window): Rename from
8882 display-buffer-maybe-same-window.
8884 * info.el: Don't set same-window-regexps.
8885 (info-setup): New function.
8886 (info-other-window, info): Call it.
8888 * cus-edit.el: Don't set same-window-regexps.
8889 (customize-group): New argument.
8890 (customize-group-other-window): Use it.
8891 (customize-face, customize-face-other-window): Likewise.
8892 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8896 * progmodes/gud.el: Don't set same-window-regexps.
8902 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8904 2011-09-10 Juri Linkov <juri@jurta.org>
8906 * isearch.el (isearch-edit-string): Remove obsolete mention of
8907 `C-w' (`isearch-yank-word-or-char') from docstring.
8908 (isearch-query-replace): Fix typo in docstring (bug#9466).
8910 2011-09-10 Juri Linkov <juri@jurta.org>
8912 * paren.el (show-paren-function): Don't show escaped parens.
8913 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8915 2011-09-10 Eli Zaretskii <eliz@gnu.org>
8917 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8918 (mm-default-file-encoding): Remove autoload forms, they are
8919 replaced with autoload cookies in mml.el and mm-encode.el.
8920 (mail-add-attachment): New command.
8921 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8922 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8924 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8926 2011-09-10 Reuben Thomas <rrt@sc3d.org>
8928 * simple.el (count-words-region): Use buffer if there's no region
8931 2011-09-09 Juri Linkov <juri@jurta.org>
8933 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8934 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8935 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8937 2011-09-09 Alan Mackenzie <acm@muc.de>
8939 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8940 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8942 2011-09-09 Eli Zaretskii <eliz@gnu.org>
8944 Fix for Savannah bug#9392.
8945 * simple.el (mail-encode-mml): New defvar.
8947 * mail/rmail.el (mail-encode-mml): Add a defvar.
8948 (rmail-enable-mime-composing): Default to t.
8949 (rmail-forward): Use MIME method of forwarding only if both
8950 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8951 Set mail-encode-mml non-nil if the MIME method was used.
8953 * mail/sendmail.el (mml-to-mime): Add autoload form.
8954 (mail-encode-mml): Add a defvar.
8955 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8957 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8958 message through mml-to-mime, and reset mail-encode-mml to nil.
8960 2011-09-09 Glenn Morris <rgm@gnu.org>
8962 * woman.el (woman-if-body): When processing an .el block,
8963 do not delete the next .el block as well. (Bug#9447)
8964 (woman-special-characters): Add oq, cq, and hy characters.
8966 2011-09-08 Martin Rudalics <rudalics@gmx.at>
8968 * window.el (window-deletable-p): Make sure window is live before
8969 invoking window-prev-buffers.
8971 2011-09-08 Leo Liu <sdl.web@gmail.com>
8973 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8975 2011-09-08 Juri Linkov <juri@jurta.org>
8977 * progmodes/compile.el (compilation-environment): Make it
8978 a defcustom (bug#8340).
8980 2011-09-08 Martin Rudalics <rudalics@gmx.at>
8982 * window.el (frame-auto-delete): Rename to window-auto-delete.
8983 Make it control auto-deletion of windows and/or frames.
8984 (window-deletable-p): New argument FORCE. Rewrite conditions
8985 for deleting window/frame. (Bug#9419)
8986 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8987 Rewrite handling of case when window/frame can be deleted.
8988 (delete-windows-on): Call window-deletable-p with new FORCE
8989 argument t. (Bug#9456)
8991 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
8993 * help-mode.el (help-mode): Restore autoload.
8995 2011-09-07 Juri Linkov <juri@jurta.org>
8997 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8998 `compilation-environment'. Set buffer-local
8999 `compilation-environment' to `thisenv' later after (funcall mode).
9002 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
9003 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
9004 instead of replacing its value. (Bug#8340)
9006 2011-09-07 Juri Linkov <juri@jurta.org>
9008 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
9009 based on text properties put by `grep-filter' instead of matching
9011 (grep-mode): Set buffer-local `compilation-error-screen-columns'
9012 to the value of `grep-error-screen-columns' (bug#9438).
9014 2011-09-07 Juri Linkov <juri@jurta.org>
9016 * simple.el (next-error-highlight, next-error-highlight-no-select):
9019 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
9021 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9022 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
9024 2011-09-07 Leo Liu <sdl.web@gmail.com>
9026 * net/rcirc.el (rcirc-mode): Conditionally initialize
9029 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9031 * emacs-lisp/find-func.el (find-function-C-source): Only set
9032 find-function-C-source-directory after checking that we found a source
9033 file there (bug#9440).
9035 2011-09-06 Alan Mackenzie <acm@muc.de>
9037 * isearch.el (isearch-other-meta-char): Wherever a key list is
9038 unread, "unread" the prefix arg, too. This fixes bug #8901.
9040 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9042 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
9044 2011-09-05 Juri Linkov <juri@jurta.org>
9046 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
9048 2011-09-05 Juri Linkov <juri@jurta.org>
9050 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
9051 keeping point where processing of grep matches begins, and
9052 continue to delete remaining escape sequences from the same point.
9053 (grep-filter): Make leading zero optional in "0?1;31m" because
9054 git-grep emits "\033[1;31m" escape sequences unlike expected
9055 "\033[01;31m" as GNU Grep does (bug#9408).
9056 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
9058 2011-09-05 Juri Linkov <juri@jurta.org>
9060 * subr.el (y-or-n-p): Capitalize "yes".
9062 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
9064 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
9065 `tramp-cache-unload-hook' where appropriate.
9066 (tramp-methods): Rename `tramp-remote-sh' to
9067 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
9068 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
9070 * net/tramp-sh.el (top): Don't require 'shell.
9071 (tramp-methods): Add `tramp-remote-shell' and
9072 `tramp-remote-shell-args' entries.
9073 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
9074 (tramp-sh-handle-shell-command): Remove.
9075 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9076 Use `tramp-remote-shell'.
9078 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
9080 * mail/sendmail.el (sendmail-query-once-function): Delete.
9081 (sendmail-query-once): Save directly to send-mail-function.
9082 Update message-send-mail-function too.
9084 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
9086 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9088 * progmodes/python.el (python-mode-map): Use correct function to
9089 start python interpreter from menu-bar (as reported by Geert
9091 (inferior-python-mode-map): Fix typo.
9092 (python-shell-map): Remove.
9094 2011-09-03 Deniz Dogan <deniz@dogan.se>
9096 * net/rcirc.el (rcirc-print): Simplify code for
9097 rcirc-scroll-show-maximum-output. There is no need to walk
9098 through all windows to find the right one.
9100 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
9102 * help.el (help-return-method): Doc fix.
9104 2011-09-03 Martin Rudalics <rudalics@gmx.at>
9106 * window.el (window-deletable-p): Don't return a non-nil value
9107 when there's a buffer that was shown in the window before.
9109 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9110 Set window's previous buffers to nil.
9112 2011-09-03 Eli Zaretskii <eliz@gnu.org>
9114 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
9115 newline before and after the tag line, so it doesn't interfere
9116 with determining the paragraph direction of bidirectional text.
9118 2011-09-03 Leo Liu <sdl.web@gmail.com>
9120 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
9122 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
9124 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
9125 (pop-to-buffer): Change interactive spec. Pass second argument
9126 directly to display-buffer.
9127 (display-buffer): Fix interactive spec. Use functionp to
9128 distinguish between a function and a list of functions.
9130 * abbrev.el (edit-abbrevs):
9131 * arc-mode.el (archive-extract):
9132 * autoinsert.el (auto-insert):
9133 * bookmark.el (bookmark-bmenu-list):
9134 * files.el (find-file):
9135 * view.el (view-buffer):
9136 * progmodes/compile.el (compilation-goto-locus):
9137 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
9139 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
9141 * window.el (display-buffer-alist): Doc fix.
9142 (display-buffer): Add docstring. Don't treat
9143 display-buffer-default specially.
9144 (display-buffer-reuse-selected-window)
9145 (display-buffer-same-window, display-buffer-maybe-same-window)
9146 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9147 (display-buffer-pop-up-window)
9148 (display-buffer-reuse-or-pop-window)
9149 (display-buffer-use-some-window): New functions.
9150 (display-buffer-default-action): Use them.
9151 (display-buffer-default): Delete.
9152 (pop-to-buffer-1): Fix choice of actions.
9154 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
9156 * minibuffer.el (completion--insert-strings): Don't get confused by
9157 completion entries that end with an LF char.
9159 2011-09-01 Eli Zaretskii <eliz@gnu.org>
9161 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
9163 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
9165 * window.el (display-buffer): Restore interactive spec.
9166 (display-buffer-same-window, display-buffer-other-window):
9168 (pop-to-buffer-1): New function. Use the above.
9169 (pop-to-buffer, pop-to-buffer-same-window): Use it.
9170 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
9172 * view.el (view-buffer-other-window, view-buffer-other-frame):
9173 Just use pop-to-buffer.
9175 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9177 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
9179 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
9181 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
9183 2011-08-31 Richard Stallman <rms@gnu.org>
9185 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
9186 of the separation of rmail-view-buffer from rmail-buffer.
9187 If you say no to "replace original", the decrypt is in the
9188 view buffer. If you say yes, the decrypt goes into the
9191 2011-08-31 Martin Rudalics <rudalics@gmx.at>
9193 * window.el (display-buffer-window): Rewrite doc-string.
9194 (display-buffer-record-window): New function.
9195 (display-buffer-macro-specifiers)
9196 (display-buffer-even-window-sizes, display-buffer-set-height)
9197 (display-buffer-set-width, display-buffer-in-window)
9198 (display-buffer-reuse-window, display-buffer-split-specifiers)
9199 (display-buffer-side-specifiers, display-buffer-split-window-1)
9200 (display-buffer-split-window, display-buffer-split-atom-window)
9201 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9202 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
9203 (display-buffer-other-window-means-other-frame)
9204 (display-buffer-normalize-special)
9205 (display-buffer-normalize-default)
9206 (display-buffer-normalize-argument)
9207 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
9208 (display-buffer-normalize-specifiers, display-buffer-frame)
9209 (display-buffer-same-window, display-buffer-same-frame)
9210 (display-buffer-other-window)
9211 (display-buffer-same-frame-other-window)
9212 (display-buffer-other-frame, pop-to-buffer-same-window)
9213 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
9214 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
9215 (switch-to-buffer-same-frame)
9216 (switch-to-buffer-other-window-same-frame)
9217 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
9218 (display-buffer-alist-set-1, display-buffer-alist-set-2)
9219 (display-buffer-alist-set): Remove.
9220 (display-buffer-function, special-display-buffer-names)
9221 (special-display-regexps, special-display-function):
9222 In doc-string refer to display-buffer-window and quit-restore
9224 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
9225 (special-display-frame-alist, special-display-popup-frame)
9226 (same-window-buffer-names, same-window-regexps, same-window-p)
9227 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9228 (split-window-preferred-function, split-height-threshold)
9229 (split-width-threshold, window-splittable-p)
9230 (split-window-sensibly, window--try-to-split-window)
9231 (window--frame-usable-p, even-window-heights)
9232 (window--even-window-heights, window--display-buffer-1)
9233 (window--display-buffer-2, display-buffer-other-frame):
9234 Restore old Emacs 23 code, order and doc-strings where applicable.
9235 (display-buffer-default, display-buffer-assq-regexp): New functions.
9236 (display-buffer-alist): Rewrite doc-string.
9237 (display-buffer-default-action)
9238 (display-buffer-overriding-action): New variables.
9239 (display-buffer, switch-to-buffer): Rewrite.
9240 (pop-to-buffer): Restore Emacs 23 behavior but use
9241 window-normalize-buffer-to-display.
9242 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
9243 Restore Emacs 23 behavior but use
9244 window-normalize-buffer-to-switch-to.
9245 (pop-to-buffer-same-window): Rewrite.
9246 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9247 Rewrite using Emacs 23 options.
9249 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
9251 * net/tramp.el (tramp-root-regexp): Remove.
9252 (tramp-completion-file-name-regexp-unified)
9253 (tramp-completion-file-name-regexp-separate)
9254 (tramp-completion-file-name-regexp-url): Don't use leading volume
9255 letter on win32 systems. (Bug#5303, Bug#9311)
9256 (tramp-drop-volume-letter): Simplify definition.
9257 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
9259 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
9261 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9264 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
9266 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
9268 2011-08-29 Juri Linkov <juri@jurta.org>
9270 * isearch.el (isearch-done): Don't display message "Mark saved"
9271 when arg `edit' is non-nil to prevent its flicker in the echo area.
9273 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
9275 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9276 obsolete packages for deletion.
9278 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
9280 * help-mode.el (help-mode-map): Add special-mode-map to parent.
9281 (help-mode): Derive help-mode from special-mode. Don't invoke
9282 view-mode from help-mode.
9283 (help-xref-override-view-map): Remove.
9284 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9285 view-mode is not used anymore.
9287 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
9289 * server.el (server-port): Doc fix.
9291 * cus-theme.el (custom-theme-choose-mode): Inherit from
9292 special-mode (Bug#9124).
9293 (custom-theme-choose-mode-map): Add special-mode to parent.
9295 2011-08-28 Alan Mackenzie <acm@muc.de>
9297 * progmodes/cc-fonts.el
9298 (c-make-font-lock-BO-decl-search-function): New function.
9299 (c-basic-matchers-after - "Fontify the clauses after various
9300 keywords"): Extract the three keyword lists for the 3 erroneous
9301 constructs from the list of four, and use the new function above
9302 in place of an old one.
9304 2011-08-28 Deniz Dogan <deniz@dogan.se>
9306 * net/rcirc.el (rcirc-insert-prev-input)
9307 (rcirc-insert-next-input): Remove unused argument.
9309 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9311 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9313 2011-08-27 Alan Mackenzie <acm@muc.de>
9315 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9316 handle function pointer parameters properly.
9318 2011-08-27 Martin Rudalics <rudalics@gmx.at>
9320 * window.el (display-buffer-reuse-window): Fix case where
9321 selected window was reused with non-nil OTHER-WINDOW argument.
9324 2011-08-27 Deniz Dogan <deniz@dogan.se>
9326 * net/rcirc.el (rcirc-check-auth-status): Adding support for
9327 oftc's NickServ messages.
9329 2011-08-27 Glenn Morris <rgm@gnu.org>
9331 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
9333 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
9335 * emacs-lisp/package.el (package-install): Call package-initialize
9336 if called interactively.
9338 2011-08-26 Leo Liu <sdl.web@gmail.com>
9340 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
9342 2011-08-25 Juri Linkov <juri@jurta.org>
9344 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9345 `search-whitespace-regexp' (bug#9364).
9347 2011-08-25 Juri Linkov <juri@jurta.org>
9349 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9350 `regexp-search-ring' to their global values to protect from
9351 updating by `read-from-minibuffer' (bug#9185).
9353 2011-08-25 Juri Linkov <juri@jurta.org>
9355 * textmodes/ispell.el (ispell-command-loop): Add newline
9356 at the end of the "Use option `i'..." line.
9358 2011-08-25 Juri Linkov <juri@jurta.org>
9360 * battery.el (display-battery-mode): If `battery-status-function'
9361 or `battery-mode-line-format' is nil, display the message and set
9362 `display-battery-mode' to nil (bug#9363).
9364 2011-08-25 Eli Zaretskii <eliz@gnu.org>
9366 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9367 bidi-string-mark-left-to-right; they are unnecessary now.
9369 2011-08-25 Deniz Dogan <deniz@dogan.se>
9371 * net/quickurl.el: Documentation typo fixes.
9373 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
9375 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9377 2011-08-25 Glenn Morris <rgm@gnu.org>
9379 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9381 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9382 (smtpmail-via-smtp): Handle nil response from smtp.
9384 2011-08-24 Juri Linkov <juri@jurta.org>
9386 * proced.el (proced-marked): Inherit from `error' instead of
9387 `font-lock-warning-face'.
9389 * ibuffer.el (ibuffer-marked-face): Change default face from
9390 `font-lock-warning-face' to `warning'.
9391 (ibuffer-deletion-face): Change default face from
9392 `font-lock-type-face' to `error'.
9394 * battery.el (battery-update): Use the face `error' instead of
9395 `font-lock-warning-face' (bug#6117).
9397 2011-08-24 Juri Linkov <juri@jurta.org>
9399 * faces.el (success): Change face color from "Green3" to
9400 "ForestGreen" on light background (bug#9353).
9402 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
9404 * window.el (quit-window): Rename from quit-restore-window.
9405 Use same arglist as old quit-window.
9406 (frame-auto-delete): Doc fix.
9408 * view.el (view-mode-exit): Use quit-window.
9410 2011-08-24 Juri Linkov <juri@jurta.org>
9412 * isearch.el (isearch-ring-adjust1): Start visiting previous
9413 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9414 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9415 for empty search string (when the last search string is reused
9416 automatically) to adjust the isearch ring to the last element and
9417 prepare the correct index for further M-p commands (bug#9185).
9419 2011-08-24 Kenichi Handa <handa@m17n.org>
9421 * international/ucs-normalize.el: If decomposition property of
9422 CHAR is the default one (i.e. a list of CHAR itself), treat it as
9424 (nfd, nfkd): Likewise.
9426 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
9428 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9429 from process filters aren't reliably transmitted to the surrounding
9430 accept-process-output.
9431 (mpc-proc-check): New function.
9432 (mpc-proc-sync): Use it (bug#8293)
9434 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9436 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
9437 Add compatibility functions (bug#9313).
9439 2011-08-23 Eli Zaretskii <eliz@gnu.org>
9441 * cus-start.el (all): Add entry for bidi-paragraph-direction.
9443 * international/uni-bidi.el: Regenerate.
9445 2011-08-23 Kenichi Handa <handa@m17n.org>
9447 * international/charprop.el:
9448 * international/uni-bidi.el:
9449 * international/uni-category.el:
9450 * international/uni-combining.el:
9451 * international/uni-comment.el:
9452 * international/uni-decimal.el:
9453 * international/uni-decomposition.el:
9454 * international/uni-digit.el:
9455 * international/uni-lowercase.el:
9456 * international/uni-mirrored.el:
9457 * international/uni-name.el:
9458 * international/uni-numeric.el:
9459 * international/uni-old-name.el:
9460 * international/uni-titlecase.el:
9461 * international/uni-uppercase.el: Regenerate.
9463 2011-08-23 Martin Rudalics <rudalics@gmx.at>
9465 * help.el (help-window-setup): Fix message displayed when other
9466 window is reused. (Bug#9341)
9468 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9470 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9471 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9473 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9475 * shell.el (shell-parse-pcomplete-arguments): New function.
9476 (shell-completion-vars): Use it instead (bug#9160).
9478 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9480 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9481 strings and comments (bug#9333).
9483 * emacs-lisp/debug.el (debug-arglist): New function.
9484 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
9485 (debug-on-entry-1): Handle interpreted closures (bug#9120).
9487 2011-08-22 Juri Linkov <juri@jurta.org>
9489 * progmodes/compile.el (compilation-mode-font-lock-keywords):
9490 Revert regexp that highlights output switches to its old
9491 pre-2010-10-28 value and remove one `?' from it (bug#9319).
9493 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9494 to check for empty output (bug#9226).
9496 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
9498 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9499 symbol-constituent as the default, as that stops font-lock from
9500 working properly (Bug#8843).
9502 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9504 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9505 `coding-system-for-*' around the process open call to avoid
9506 auth-source side effects.
9507 (smtpmail-try-auth-methods): Expand the secret password.
9508 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9511 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
9513 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9515 * emacs-lisp/find-func.el (find-function-noselect): New arg
9518 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9519 signal an error for built-in functions (Bug#6664).
9521 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9523 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9524 (smtpmail-try-auth-methods): Use it.
9526 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
9528 * font-lock.el (font-lock-fontify-region)
9529 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9530 (font-lock-default-unfontify-buffer)
9531 (font-lock-default-fontify-region)
9532 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9534 * progmodes/compile.el (compilation-error-properties):
9535 Fix confusion between file struct and message struct (Bug#9319).
9536 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9539 * net/browse-url.el (browse-url-firefox): Don't call
9540 browse-url-firefox-sentinel unless using -remote (Bug#9328).
9542 2011-08-20 Glenn Morris <rgm@gnu.org>
9544 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9546 * tutorial.el (tutorial--default-keys): Update some default bindings.
9548 * files.el (hack-local-variables): Fully ignore case for "mode:".
9550 2011-08-20 Alan Mackenzie <acm@muc.de>
9552 Resolve invalid use of a regexp in regexp-opt.
9554 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9555 detection for a java annotation.
9557 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
9558 detection for a java annotation.
9560 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9562 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9564 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
9566 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9569 2011-08-20 Alan Mackenzie <acm@muc.de>
9571 Fontify CPP expressions correctly when starting in the middle of
9572 such a construct. Mainly for when jit-lock etc. starts a chunk
9575 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
9577 (c-make-font-lock-search-form): New function, extracted from
9578 c-make-font-lock-search-function.
9579 (c-make-font-lock-search-function): Use the above function.
9580 (c-make-font-lock-context-search-function): New function.
9581 (c-cpp-matchers): Enhance the preprocessor expression case with
9583 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9584 which takes an expression.
9586 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9588 2011-08-20 Martin Rudalics <rudalics@gmx.at>
9590 * window.el (display-buffer-reuse-window)
9591 (display-buffer-pop-up-window): Don't reuse or split a side
9594 2011-08-19 Glenn Morris <rgm@gnu.org>
9596 * files.el (hack-local-variables-prop-line, hack-local-variables):
9597 Downcase "Mode:". (Bug#9331)
9599 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
9601 * international/characters.el: Add L and R categories.
9603 * subr.el (bidi-string-mark-left-to-right): Rename from
9604 string-mark-left-to-right. Use category search.
9606 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9608 2011-08-18 Juri Linkov <juri@jurta.org>
9610 * faces.el (error, warning, success): New faces with definitions
9611 copied from old default values of `font-lock-warning-face',
9612 `compilation-warning', `compilation-info' (bug#6117).
9614 * font-lock.el (font-lock-warning-face): Inherit from `error'.
9616 * progmodes/compile.el (compilation-error): Inherit from `error'.
9617 (compilation-warning): Inherit from `warning'.
9618 (compilation-info): Inherit from `success'.
9620 * dired.el (dired-marked): Inherit from `warning'.
9621 (dired-flagged): Inherit from `error'.
9623 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9625 * mail/smtpmail.el (auth-source): Require to avoid problems with
9626 binding variables (bug#9298). Also clean up some unused
9629 * net/network-stream.el (network-stream-open-starttls):
9630 Support using starttls.el without using gnutls-cli.
9632 2011-08-17 Juri Linkov <juri@jurta.org>
9634 * progmodes/grep.el (rgrep): Handle the case when
9635 `grep-find-command' is a cons cell (bug#9278).
9637 2011-08-17 Martin Rudalics <rudalics@gmx.at>
9639 * window.el (display-buffer-pop-up-frame): Run frame creation
9640 function with BUFFER current (as special-display-popup-frame
9641 does). Reported by Drew Adams.
9643 2011-08-17 Daiki Ueno <ueno@unixuser.org>
9645 * epa-mail.el: Simplify GnuPG group expansion using
9647 (epa-mail-group-alist, epa-mail-group-modtime)
9648 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9649 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9650 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9653 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
9655 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9657 2011-08-16 Alan Mackenzie <acm@muc.de>
9659 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9660 Correct, to avoid the inside of macros.
9662 2011-08-16 Richard Stallman <rms@gnu.org>
9664 * epa-mail.el: Handle GnuPG group definitions.
9665 (epa-mail-group-alist, epa-mail-group-modtime)
9666 (epa-mail-gnupg-conf-file): New variables.
9667 (epa-mail-parse-groups, epa-mail-sync-groups)
9668 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9669 (epa-mail-expand-recipients): New functions.
9670 (epa-mail-encrypt): Call epa-mail-expand-recipients.
9672 * mail/rmail.el (rmail-epa-decrypt): New command.
9674 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9675 Don't bind buffer-read-only, just inhibit-read-only.
9676 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
9677 (epa-decrypt-armor-in-region): Make error message clearer.
9679 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9681 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
9682 and "a2b" to "ab" for `prefix'.
9684 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
9686 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
9688 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
9689 Fourquet (Bug#8804).
9691 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
9693 * startup.el (argi): Declare as global variable (bug#9275).
9695 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
9697 * subr.el (string-mark-left-to-right): Search the entire string
9698 for RTL script, not just the terminating character. Doc fix.
9700 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9702 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
9704 (js--regexp-literal, js-syntax-propertize-function): Remove.
9705 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
9706 (js-mode-map): Don't rebind electric keys.
9707 (js-insert-and-indent): Remove.
9708 (js-mode): Setup electric-layout and electric-indent instead.
9710 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
9712 2011-08-12 Daiki Ueno <ueno@unixuser.org>
9714 * epa.el (epa-progress-callback-function): Fix the logic of
9715 displaying progress.
9716 * epa-file.el (epa-file-insert-file-contents): Make progress
9717 display more user-friendly.
9718 (epa-file-write-region): Ditto.
9720 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
9722 * subr.el (string-mark-left-to-right): New function.
9724 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
9725 Use string-mark-left-to-right.
9726 (list-buffers-noselect): Caller changed.
9728 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9729 Use string-mark-left-to-right.
9730 (tabulated-list-print): Recenter after moving point.
9732 2011-08-10 Juri Linkov <juri@jurta.org>
9734 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
9735 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
9736 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
9738 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
9740 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
9743 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
9745 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
9746 character. (Bug#6594)
9748 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
9750 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
9751 (image-dired--with-db-file): New macro.
9752 (image-dired-write-tags, image-dired-remove-tag)
9753 (image-dired-create-gallery-lists, image-dired-write-comments)
9754 (image-dired-get-comment, image-dired-mark-tagged-files)
9755 (image-dired-list-tags, image-dired-gallery-generate): Use it.
9756 (image-dired-gallery-generate): Use insert-file-contents.
9758 * time.el (display-time-world-list, display-time-world-display):
9759 * time-stamp.el (time-stamp-string):
9760 * vc/add-log.el (add-change-log-entry): Use setenv instead of
9761 set-time-zone-rule (Bug#7337).
9763 2011-08-08 Daiki Ueno <ueno@unixuser.org>
9765 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9766 (epg-error-to-string, epg-errors-to-string): New function.
9767 (epg-wait-for-completion): Reverse errors list.
9768 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9769 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9770 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9771 (epg-sign-keys, epg-generate-key-from-file)
9772 (epg-generate-key-from-string): Format errors by using
9773 epg-errors-to-string (bug#9255).
9774 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9776 2011-08-07 Juri Linkov <juri@jurta.org>
9778 * faces.el (list-faces-display): Remove extra angle bracket
9779 from `help-mode-map'.
9781 * info.el (Info-history-toc-nodes): Doc fix.
9783 * longlines.el (longlines-mode): Doc fix.
9785 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9787 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9788 of statements and in a few more cases (bug#9183).
9790 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9792 (cl-transform-lambda): Use them (bug#9239).
9794 2011-08-05 Martin Rudalics <rudalics@gmx.at>
9796 * window.el (display-buffer-same-window)
9797 (display-buffer-same-frame, display-buffer-other-window)
9798 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9799 (pop-to-buffer-other-window)
9800 (pop-to-buffer-same-frame-other-window)
9801 (pop-to-buffer-other-frame): Make them defuns.
9802 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9804 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9806 * subr.el (make-composed-keymap): Move from C. Change calling
9807 convention, and improve docstring to bring attention to a subtle point.
9808 * minibuffer.el (completing-read-default): Adjust accordingly.
9810 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
9812 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9813 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9815 * net/trampver.el: Update release number.
9817 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9819 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9822 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9824 * mail/sendmail.el (sendmail-query-once): Restore the current
9825 buffer after querying (bug#9074).
9827 * dired.el (dired-flagged): Use different faces for marked and
9828 flagged files (bug#6117).
9830 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9833 * ido.el (ido-mode): Switch off the message if called
9836 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9837 before 587, since it appears that that's more likely to work for
9840 * cus-edit.el (custom-file): When running under emacs -q, always
9841 refuse to save the customizations, even if the .emacs file doesn't
9844 * info.el: Remove the `Info-beginning-of-buffer' function
9847 * net/network-stream.el (network-stream-open-starttls):
9848 Use `starttls-available-p' to see whether starttls.el can be used.
9850 2011-08-01 Martin Rudalics <rudalics@gmx.at>
9852 * window.el (display-buffer-in-window): Don't set dedicated status
9853 of window here (Bug#9215).
9854 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9855 (display-buffer-pop-up-side-window)
9856 (display-buffer-in-side-window): Set dedicated status of window here.
9858 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9860 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9861 before binding generated-autoload-file.
9863 2011-08-01 Deniz Dogan <deniz@dogan.se>
9865 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9867 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
9869 Sync with Tramp 2.2.2.
9871 * net/trampver.el: Update release number.
9873 2011-07-30 Juri Linkov <juri@jurta.org>
9875 * dired-aux.el (dired-touch-initial): Remove function.
9876 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9877 current time, and `default' to the last modification time of the
9878 current marked file (bug#6887).
9880 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9882 * simple.el (goto-line): Use string-to-number to provide a
9883 numeric argument to read-number (bug#9163).
9885 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
9887 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9888 connection process, it could be nil.
9890 2011-07-27 Leo Liu <sdl.web@gmail.com>
9892 Simplify url handling in rcirc-mode.
9894 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9895 (rcirc-browse-url-at-mouse): Remove.
9896 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9898 2011-07-26 Alan Mackenzie <acm@muc.de>
9900 Fontify bitfield declarations properly.
9902 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9903 (c-symbol-chars): Now exported as a lang variable.
9904 (c-not-primitive-type-keywords): New lang variable.
9906 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9907 QT keyword "more" to prevent "more slots: ...." being spuriously
9908 parsed as a bitfield declaration.
9910 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9911 Refactor and enhance to handle bitfield declarations.
9912 (c-punctuation-in): New function.
9913 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9914 declarations properly.
9916 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
9918 * calendar/icalendar.el (icalendar--all-events): Take care of
9919 multiple vcalendars in a single file.
9920 (icalendar--convert-float-to-ical): Checkdoc fixes.
9922 2011-07-25 Deniz Dogan <deniz@dogan.se>
9924 * image.el (insert-image): Clarifying docstring.
9926 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
9928 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9929 `tramp-send-command-and-check' if there is no error.
9930 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9932 2011-07-22 Alan Mackenzie <acm@muc.de>
9934 Prevent cc-langs.elc being loaded at run time.
9936 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9939 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
9940 "(require 'cc-langs)". Quote a form so it will evaluate at
9941 (cc-mode's) compilation time.
9943 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
9945 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9948 2011-07-21 Martin Rudalics <rudalics@gmx.at>
9950 * window.el (display-buffer-pop-up-window)
9951 (display-buffer-pop-up-side-window)
9952 (display-buffer-in-side-window): Call display-buffer-set-height
9953 and display-buffer-set-width after setting the new window's
9954 buffer so `fit-window-to-buffer' and friends work on the right buffer.
9956 2011-07-20 Sam Steingold <sds@gnu.org>
9958 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9959 (etags-tags-included-tables): Call `convert-standard-filename' on
9960 the file names contained in TAGS so that windows Emacs can handle
9961 TAGS files created by cygwin ctags.
9963 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9965 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9966 which apparently didn't work.
9968 2011-07-19 Roland Winkler <winkler@gnu.org>
9970 * proced.el (proced-send-signal): For *Marked Processes* buffer
9971 put point at beginning of buffer.
9973 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
9975 * proced.el (proced-format): Make header lines align with the text
9978 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9980 * view.el (view-buffer): Allow running in `special' modes if we're
9981 visiting a file (bug#8615).
9983 2011-07-19 Martin Rudalics <rudalics@gmx.at>
9985 * window.el (display-buffer-alist-of-strings-p)
9986 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9988 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9991 2011-07-18 Alan Mackenzie <acm@muc.de>
9993 Fontify declarators properly when, e.g., a jit-lock chunk begins
9994 inside a declaration.
9996 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9998 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10000 (c-complex-decl-matchers): Insert reference to
10001 c-font-lock-enclosing-decls.
10003 * progmodes/cc-engine.el (c-backward-single-comment):
10004 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
10005 to nil around calls to (forward-comment -1).
10007 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10009 * image.el (put-image): Doc typo fix.
10011 * progmodes/etags.el (tags-search): Doc typo fix.
10013 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
10014 password if we get errors 550 to 554.
10016 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10018 * net/gnutls.el (gnutls-log-level): Remove.
10020 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
10021 indentation character (bug#6380).
10023 * files.el (buffer-offer-save): Made permanently local (bug#6241).
10025 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
10026 to clarify what the problem is (bug#4291).
10028 * simple.el (current-kill): Clarify what
10029 `interprogram-paste-function' does (bug#7500).
10030 (auto-fill-mode): Document `auto-fill-function' in relation to
10031 `auto-fill-mode' (bug#2470).
10033 2011-07-16 Lawrence Mitchell <wence@gmx.li>
10035 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
10036 method if slot is read-only (bug#9035).
10038 2011-07-16 Martin Rudalics <rudalics@gmx.at>
10040 * frame.el (select-frame-set-input-focus): New argument NORECORD.
10041 * window.el (pop-to-buffer): Select window used even if it was
10042 selected before, see discussion of (Bug#8615), (Bug#6954).
10043 Pass argument NORECORD on to select-frame-set-input-focus.
10045 2011-07-15 Glenn Morris <rgm@gnu.org>
10047 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
10050 2011-07-09 Lawrence Mitchell <wence@gmx.li>
10052 * net/gnutls.el (gnutls-min-prime-bits): New variable.
10053 (gnutls-negotiate): Use it.
10055 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10057 * net/gnutls.el (gnutls-negotiate):
10058 Upcase `gnutls-algorithm-priority'.
10060 2011-07-15 Glenn Morris <rgm@gnu.org>
10062 * jka-compr.el (jka-compr-verbose): Move from here...
10063 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
10064 Add missing :version tag.
10065 * info.el: No need to require jka-compr when compiling.
10067 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10069 * net/gnutls.el (gnutls-algorithm-priority): New variable.
10070 (gnutls-negotiate): Use it.
10072 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
10074 * info.el (Info-beginning-of-buffer): New command.
10075 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
10076 announcing `b' as the key (bug#8325).
10077 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
10079 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
10081 * international/mule-cmds.el
10082 (describe-specified-language-support): Make the error message
10083 clearer (bug#8905).
10085 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
10087 * isearch.el (isearch-barrier): Add a doc string, since it's
10088 mentioned in a function doc string (bug#8678).
10090 2011-07-15 Martin Rudalics <rudalics@gmx.at>
10092 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
10093 buffer argument (Bug#9083) and self-identifying label argument.
10095 2011-07-15 Glenn Morris <rgm@gnu.org>
10097 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
10099 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10101 * man.el (Man-fontify-manpage): Fix message when formatting the
10102 man page (bug#7929).
10104 2011-07-14 Eli Zaretskii <eliz@gnu.org>
10106 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
10107 argument LRM; if non-nil, append an invisible LRM character to the
10109 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
10110 last argument non-nil, when formatting buffer names.
10111 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
10112 paragraph direction.
10114 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10116 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
10117 the man page name (bug#7929).
10119 * image.el (put-image): Mention the `put-image' overlay property
10122 * scroll-bar.el (set-scroll-bar-mode): Mention that
10123 `scroll-bar-mode' lists the values (bug#7772).
10125 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
10126 command (bug#7729).
10128 * rect.el (apply-on-rectangle): Return the point after the last
10130 (string-rectangle): Go to the point after the last operation
10133 * printing.el (pr-toggle-region): Clarify the documentation
10134 slightly (bug#7493).
10136 * time.el (display-time-update):
10137 Allow `display-time-mail-function' to return nil (bug#7158).
10138 Fix suggested by Detlev Zundel.
10140 * vc/diff.el (diff): Clarify the order the file names are read
10143 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
10144 the doc string (bug#7015).
10146 * font-lock.el (font-lock-maximum-decoration): Mention what
10147 numeric levels mean (bug#6935).
10149 * startup.el (initial-buffer-choice): Don't mention the `none'
10150 selection, which is against policy.
10152 2011-07-14 Martin Rudalics <rudalics@gmx.at>
10154 * window.el (display-buffer-normalize-special):
10155 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
10157 2011-07-14 Eli Zaretskii <eliz@gnu.org>
10159 * subr.el (version<, version<=, version=): Mention "-CVS" and
10160 "-12345" alpha version numbers.
10162 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
10164 * bindings.el: Add advertised binding for set-mark-command
10167 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
10169 * bindings.el (mode-line-other-buffer):
10170 * bookmark.el (bookmark-bmenu-2-window):
10171 * bs.el (bs-cycle-next, bs-cycle-previous):
10172 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
10175 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10178 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
10180 * follow.el (follow-debug-message, follow-redisplay):
10181 * jka-cmpr-hook.el (with-auto-compression-mode):
10182 Fix typos in docstrings.
10184 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10186 * subr.el (with-silent-modifications): Clarify somewhat what the
10187 macro inhibits (bug#6525).
10189 * simple.el (eval-expression): Note what it does if called
10190 interactively (bug#6495).
10192 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
10194 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
10195 Use pop-to-buffer buffer-or-name if it is nil.
10197 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10198 Remove switch-to-buffer.
10200 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10202 * files.el (make-directory): Clarify that an error will be raised
10203 if there's an error (bug#6397).
10205 * startup.el (initial-buffer-choice): Add `none' as a choice
10208 * subr.el (add-hook): Clarify section about buffer-local hooks
10211 * dired.el (dired-flagged): Clarify doc string (bug#6117).
10213 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
10215 * tabify.el (untabify): Preserve the current column so that point
10216 doesn't move (bug#6032).
10218 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10220 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
10221 Rewrite to avoid awkward possessive "s" (bug#5986).
10223 2011-07-13 Glenn Morris <rgm@gnu.org>
10225 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
10226 (dired-insert-directory): Give a message the first time
10227 if ls is found not to support --dired.
10229 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10231 * simple.el (toggle-truncate-lines): Clarify what is toggled
10232 (bug#5580). Text by Drew Adams.
10234 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
10236 * simple.el (blink-matching-open): Make the error message from the
10237 last change less verbose.
10239 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
10241 * font-lock.el (font-lock-comment-face): Use the high contrast
10242 "yellow" color for font-lock-comment-face on low color terminals
10243 using a dark background color (bug#4221).
10245 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10247 * dired.el (dired-insert-set-properties): Make the doc string
10248 reflect what it does now (bug#5325).
10250 * simple.el (blink-matching-open): Say that we were unable to find
10251 the match within the limit, if we're limited (bug#5122).
10253 * international/mule-cmds.el (prefer-coding-system): Add an
10254 example (bug#4869).
10256 * progmodes/etags.el (tags-search): Document `file-list-form'
10259 2011-07-13 Lawrence Mitchell <wence@gmx.li>
10261 * net/browse-url.el (browse-url-default-browser)
10262 (browse-url-browser-function): Make the default browser choice a
10263 bit more logical (bug#4300). Also clean up the doc string.
10265 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
10267 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10268 binary endings (bug#4440).
10270 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10272 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10273 which can be pretty annoying (bug#8971).
10275 * jka-compr.el (jka-compr-verbose): New variable, and use
10276 throughout (bug#8971).
10278 * info.el (Info-find-file): Fall back on the installation
10279 directory if we can't find the info node anywhere else.
10281 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
10283 * vc/vc.el (vc-revert-file):
10284 Don't set file time-stamp in the past. (Bug#5181)
10286 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10288 * files.el (after-find-file): Give a better error message when
10289 trying to find a symlink that points to a file that doesn't exist
10292 * progmodes/cc-vars.el: Remove (probably) misleading comment
10295 2011-07-12 Johan Bockgård <bojohan@gnu.org>
10297 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10299 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
10301 * mouse-sel.el: Hack restoring functionality, while keeping
10302 compatibility with 2010-07-03 changes to mouse selection.
10303 (mouse-sel-primary-overlay): New var.
10304 (mouse-sel-selection-alist): Use it.
10305 (mouse-sel-mode): Doc fix; remove points that are default features
10308 2011-07-12 Johan Bockgård <bojohan@gnu.org>
10310 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10311 Fix previous fix (bug#2490).
10313 2011-07-12 Roland Winkler <winkler@gnu.org>
10315 * textmodes/bibtex.el (bibtex-initialize):
10316 Use pop-to-buffer-same-window.
10317 (bibtex-search-entries): Fix interactive call.
10319 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10321 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10322 Fontise bytecomp Error lines more correctly (bug#2490).
10323 Fix suggested by Johan Bockgård.
10325 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10327 * dired-x.el (dired-guess-default): Use `delete-dups'.
10329 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
10331 * dired.el (dired-mark-prompt):
10332 * dired-aux.el (dired-read-shell-command): Doc fix.
10334 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10336 * mail/sendmail.el (sendmail-query-once):
10337 Use `customize-save-variable' unconditionally, now that it works under
10340 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10342 * cus-edit.el (custom-file): Take an optional no-error variable.
10343 (customize-save-variable): Set the variable, and give a warning if
10344 running under "emacs -q".
10346 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
10348 * loadhist.el (unload-feature-special-hooks):
10349 Add `auto-coding-functions', `fill-nobreak-predicate' and
10350 `find-directory-functions' (bug#5327).
10352 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10354 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10356 * cus-edit.el (custom-guess-name-alist): -alist variables should
10357 use the `alist' type (bug#3120). Suggested by Drew Adams.
10359 * printing.el: Add documentation to all the `pr-toggle-' commands.
10361 2011-07-11 Leo Liu <sdl.web@gmail.com>
10363 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10364 backends where it makes sense (bug#2623).
10366 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10368 * dired-x.el (dired-guess-default): Remove duplicate shell command
10369 entries (bug#2028).
10370 (dired-guess-default): Fix grammar in doc string (bug#2028).
10371 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
10373 * subr.el (remove-duplicates): New conveniency function.
10375 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10377 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10380 2011-07-10 Martin Rudalics <rudalics@gmx.at>
10382 * window.el (display-buffer-normalize-default): Don't invert
10383 meaning of even-window-heights. Reported by Eli Zaretskii
10386 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
10388 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10390 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
10392 * window.el (display-buffer): Fix arguments to
10393 display-buffer-reuse-window in last change.
10395 * faces.el (link): Use a less saturated blue on light backgrounds.
10397 * startup.el (fancy-startup-text, fancy-about-text)
10398 (fancy-startup-tail): Use font-lock faces, for background safety.
10400 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
10402 * emulation/viper-cmd.el (viper-change-state-to-vi):
10403 Limit triggering of abbrev expansion (Bug#9038).
10405 2011-07-09 Martin Rudalics <rudalics@gmx.at>
10407 * window.el (display-buffer-default-specifiers): Remove.
10408 (display-buffer-macro-specifiers): Remove default specifiers.
10409 (display-buffer-alist): Default to nil.
10410 (display-buffer-reuse-window): New optional argument other-window.
10411 (display-buffer-pop-up-window): Allow splitting internal
10412 windows. Check whether a live window was created.
10413 (display-buffer-other-window-means-other-frame)
10414 (display-buffer-normalize-arguments): Rename to
10415 display-buffer-normalize-argument and rewrite. Set the
10416 other-window specifier.
10417 (display-buffer-normalize-special): New function.
10418 (display-buffer-normalize-options): Rename to
10419 display-buffer-normalize-default and rewrite.
10420 (display-buffer-normalize-options-inhibit): Remove.
10421 (display-buffer-normalize-specifiers): Rewrite.
10422 (display-buffer): Process other-window specifier and call
10423 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
10425 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
10426 (display-buffer-alist-set): Don't handle 'unset default values.
10427 (display-buffer-in-window, display-buffer-alist-set):
10428 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
10429 <tassilo@member.fsf.org>.
10431 2011-07-09 Leo Liu <sdl.web@gmail.com>
10433 * register.el (insert-register): Restore accidental change on
10434 2011-06-26. (Bug#9028)
10436 2011-07-09 Glenn Morris <rgm@gnu.org>
10438 * subr.el (remq): Handle the empty list. (Bug#9024)
10440 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
10442 * mail/sendmail.el (send-mail-function): No longer delay custom
10444 * custom.el (custom-initialize-delay): Doc fix.
10446 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10448 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
10450 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
10452 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
10453 human-friendly prompt.
10455 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10457 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
10458 provided by a particular plugin.
10460 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10462 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
10463 save customizations (with "emacs -Q"), just set the variable
10464 instead of erroring out.
10466 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10468 2011-07-08 Juri Linkov <juri@jurta.org>
10470 * arc-mode.el (archive-zip-expunge, archive-zip-update)
10471 (archive-zip-update-case): Use 7z if found by `executable-find'.
10472 The order of searching the available programs is the same as in
10473 `archive-zip-extract' (bug#8968).
10475 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10477 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10478 (menu-bar-options-menu): Tweak descriptions.
10480 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10482 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10483 menu items into verb phrases (bug#1421). Also refill to fit under
10486 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10488 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10489 (Info-read-node-name): Doc fix (Bug#1084).
10491 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10492 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10493 (end-of-sexp, beginning-of-sexp)
10494 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10495 (forward-symbol, forward-same-syntax, word-at-point)
10496 (sentence-at-point): Doc fix (Bug#1144).
10498 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10500 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10501 should cover it (bug#1281).
10503 * cus-edit.el (custom-show): Mark as obsolete.
10505 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
10506 negotiation fails, then possibly try again with a non-encrypted
10507 connection (bug#9017).
10509 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10512 2011-07-07 Richard Stallman <rms@gnu.org>
10514 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10515 property, and handle its changed format.
10516 Look for the correct line number.
10517 Use file's line contents (but not past first =) to find
10518 correct line in message.
10520 2011-07-07 Kenichi Handa <handa@m17n.org>
10522 * international/characters.el (build-unicode-category-table):
10524 (unicode-category-table): Set it by unicode-property-table-internal.
10526 * international/mule-cmds.el (char-code-property-alist): Move to
10528 (get-char-code-property): Call unicode-property-table-internal to
10529 load a file. Call get-unicode-property-internal where necessary.
10530 (put-char-code-property): Call unicode-property-table-internal to
10531 load a file. Call put-unicode-property-internal where necessary.
10532 put-unicode-property-internal where necessary.
10533 (char-code-property-description):
10534 Call unicode-property-table-internal to load a file.
10536 * international/charprop.el:
10537 * international/uni-bidi.el:
10538 * international/uni-category.el:
10539 * international/uni-combining.el:
10540 * international/uni-comment.el:
10541 * international/uni-decimal.el:
10542 * international/uni-decomposition.el:
10543 * international/uni-digit.el:
10544 * international/uni-lowercase.el:
10545 * international/uni-mirrored.el:
10546 * international/uni-name.el:
10547 * international/uni-numeric.el:
10548 * international/uni-old-name.el:
10549 * international/uni-titlecase.el:
10550 * international/uni-uppercase.el: Regenerate.
10552 * loadup.el: Load international/charprop.el before
10553 international/characters.
10555 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10557 * window.el (next-buffer, previous-buffer): Signal an error if
10558 called from a minibuffer window.
10560 * bindings.el: Revert 2011-07-04 change.
10562 2011-07-06 Richard Stallman <rms@gnu.org>
10564 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10565 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10566 Treat markers like ints.
10567 (rmail-mime-entity): Doc fix.
10569 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10571 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10572 defcustom again for backwards compatibility.
10574 * simple.el (shell-command-on-region): Fill.
10576 * dired-aux.el (dired-kill-line): Add a doc string.
10578 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10579 to "\\sw\\|\\s_" (bug#358).
10581 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10582 (dired-unmark-backward): Ditto.
10583 (dired-flag-backup-files): Ditto.
10585 * dired-x.el (dired-mark-sexp): Ditto.
10587 2011-07-06 Richard Stallman <rms@gnu.org>
10589 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10590 (rmail-mime-entity): New arg TRUNCATED.
10591 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10593 (rmail-mime-save): Warn if entity is truncated.
10594 (rmail-mime-toggle-hidden): Likewise, for showing.
10595 (rmail-mime-process-multipart): Record when an entity is truncated.
10597 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10598 if ENTITY is a string.
10600 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10602 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
10603 of faces when `M-C-x'-ing their definitions (bug#8378).
10604 Also clean up the code slightly.
10606 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
10607 because that makes the colors go away.
10609 * mail/sendmail.el (send-mail-function): Change the default to
10610 `sendmail-query-once'.
10611 (sendmail-query-once): Add an autoload cookie.
10613 * net/network-stream.el (network-stream-open-starttls): Try using
10614 a plain connection even if the server offered STARTTLS, and we
10615 kinda wanted to use it, if Emacs doesn't have any STARTTLS
10616 capability. This should make smtpmail.el work in slightly more
10619 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
10621 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10623 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10625 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
10627 * progmodes/sql.el: Version 3.0
10628 (sql-product-alist): Add product :completion-object,
10629 :completion-column, and :statement attributes.
10630 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
10631 (sql-mode-syntax-table): Mark all punctuation.
10632 (sql-font-lock-keywords-builder): Temporarily remove fallback on
10634 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
10635 (sql-mode-oracle-font-lock-keywords): Improve.
10636 (sql-oracle-show-reserved-words): New function for development.
10637 (sql-product-font-lock): Simplify for source code buffers.
10638 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10640 (sql-highlight-product): Set product specific syntax table.
10641 (sql-mode-map): Add statement movement functions.
10642 (sql-ansi-statement-starters, sql-oracle-statement-starters):
10644 (sql-statement-regexp, sql-beginning-of-statement)
10645 (sql-end-of-statement, sql-signum): New functions.
10646 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
10647 (sql-show-sqli-buffer): Bug fix.
10648 (sql-interactive-mode): Store connection data as buffer local.
10649 (sql-connect): Add NEW-NAME parameter. Redesign interaction
10650 with sql-interactive-mode.
10651 (sql-save-connection): Save buffer local settings.
10652 (sql-connection-menu-filter): Change menu entry name.
10653 (sql-product-interactive): Bug fix.
10654 (sql-preoutput-hold): New variable.
10655 (sql-interactive-remove-continuation-prompt): Bug fixes.
10656 (sql-debug-redirect): New variable.
10657 (sql-str-literal): New function.
10658 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
10660 (sql-oracle-save-settings, sql-oracle-restore-settings)
10661 (sql-oracle-list-all, sql-oracle-list-table): New functions.
10662 (sql-completion-object, sql-completion-column)
10663 (sql-completion-sqlbuf): New variables.
10664 (sql-build-completions-1, sql-build-completions)
10665 (sql-try-completion): New functions.
10666 (sql-read-table-name): Use them.
10667 (sql-contains-names): New buffer local variable.
10668 (sql-list-all, sql-list-table): Use it.
10669 (sql-oracle-completion-types): New variable.
10670 (sql-oracle-completion-object, sql-sqlite-completion-object)
10671 (sql-postgres-completion-object): New functions.
10673 2011-07-06 Glenn Morris <rgm@gnu.org>
10675 * window.el (pop-to-buffer): Doc fix.
10677 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
10679 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
10681 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
10683 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
10685 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
10687 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
10689 * button.el (button): Inherit from link face. Suggested by Dan
10692 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10694 * progmodes/gdb-mi.el: Fit in 80 columns.
10695 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
10698 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
10699 if imenu is simply not configured (bug#8941).
10701 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
10703 * allout.el (allout-post-undo-hook): New allout outline-change
10704 event hook to signal undo activity.
10705 (allout-post-command-business): Run allout-post-undo-hook if an
10706 undo just occurred.
10707 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
10708 * allout-widgets.el (allout-widgets-after-undo-function):
10709 Ensure the integrity of the current item's decoration after it has been
10710 in the vicinity of an undo.
10711 (allout-widgets-mode): Include allout-widgets-after-undo-function
10712 on the new allout-post-undo-hook.
10714 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10716 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
10717 Let define-derived-mode define it.
10718 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
10719 cycles of abbrev-table inheritance (bug#8998).
10721 2011-07-05 Roland Winkler <winkler@gnu.org>
10723 * textmodes/bibtex.el: Add support for biblatex.
10724 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
10725 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
10726 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
10727 (bibtex-entry-alist, bibtex-field-alist): New variables.
10728 (bibtex-entry-field-alist): Obsolete alias for
10729 bibtex-BibTeX-entry-alist.
10730 (bibtex-entry-alist, bibtex-field-alist): New widgets.
10731 (bibtex-set-dialect): New command.
10732 (bibtex-entry-type, bibtex-entry-head)
10733 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
10734 Bind via bibtex-set-dialect.
10735 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
10736 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
10737 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
10738 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
10739 Define via bibtex-set-dialect.
10740 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
10741 Obey bibtex-no-opt-remove-re.
10742 (bibtex-vec-push, bibtex-vec-incr): New functions.
10743 (bibtex-format-entry, bibtex-field-list)
10744 (bibtex-print-help-message, bibtex-validate)
10745 (bibtex-search-entries): Use new format of bibtex-entry-alist.
10747 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10749 * progmodes/compile.el (compilation-goto-locus):
10750 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10751 * bs.el (bs-cycle-next, bs-cycle-previous):
10752 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
10753 * bindings.el (mode-line-other-buffer):
10754 * autoinsert.el (auto-insert):
10755 * arc-mode.el (archive-extract):
10756 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10758 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
10760 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10761 Fix check of `emacs-lock-unlockable-modes'.
10762 Coerce true values of `emacs-lock--try-unlocking' to t.
10764 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
10766 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10767 * emacs-lock.el: New file.
10769 2011-07-05 Julien Danjou <julien@danjou.info>
10771 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10772 than `boundp' to check if face is set.
10774 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
10776 * register.el (registerv-make):
10777 * window.el (window-min-height): Fix typos in docstrings.
10779 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
10781 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
10784 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
10786 * server.el (server-execute): Catch quit and call
10787 `server-return-error' to pass the error back to emacsclient and
10788 close the connection (bug#8942).
10790 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10792 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10793 insecure exception for current topic. Also note that auto-saves
10794 are handled differently.
10796 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
10797 State variables for tracking auto-save inhibition situation.
10799 (allout-write-contents-hook-handler): Rename from
10800 'allout-write-file-hook-handler', and describe how it depends on
10801 write-contents-functions sensitivity to non-nil value to prevent
10804 (allout-auto-save-hook-handler): Remove. auto-save does not check
10805 this in individual buffers, only in the starting buffer, so this
10806 is not the right way for us to inhibit auto-save in a buffer
10807 according to its condition.
10809 (allout-mode): Use new allout-write-contents-hook-handler, and
10810 only with write-contents-functions. Remove auto-save provisions -
10811 they're implemented elsewhere.
10813 (allout-before-change-handler): If undo is in progress, note that
10814 for attention of allout-post-command-business.
10816 (allout-post-command-business): If the command we're following was
10817 an undo, check for change in the status of encrypted items and
10818 adjust auto-save inhibitions accordingly.
10820 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10821 according to whether there are or aren't any plain-text topics
10822 pending encryption.
10824 (allout-inhibit-auto-save-info-for-decryption):
10825 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10826 if there are plain-text topics pending encryption.
10828 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10829 buffer-saved-size and some allout state to not inhibit auto-saves
10830 if there are no longer any plain-text topics pending encryption.
10832 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10833 No longer provide for exemption of the current topic.
10835 2011-07-04 Juri Linkov <juri@jurta.org>
10837 Add 7z operations to delete and save changed members (bug#8968).
10838 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10840 (archive-7z-write-file-member): New function.
10841 (archive-7z-summarize): Fix the number of dashes in the
10844 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10846 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10849 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
10851 * bindings.el: Ignore next-buffer and previous-buffer in
10852 minibuffer-local-map.
10854 * font-lock.el (font-lock-builtin-face): Change light background
10855 color to dark slate blue (Bug#6693).
10857 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10859 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10861 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10863 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10864 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10865 Add switch-to-buffer.
10867 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10869 * isearch.el (isearch-search-fun-function): Clarify further the
10870 meaning of the function returned.
10872 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
10874 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10876 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10877 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10879 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10880 `tramp-default-remote-path' does not exist.
10881 (tramp-send-command-and-read): New optional argument NOERROR.
10882 (tramp-open-connection-setup-interactive-shell)
10883 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10884 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10885 (tramp-process-sentinel): Flush also process' connection property.
10886 (tramp-sh-handle-start-file-process): Do not set process
10887 sentinel. It is done now ...
10888 (tramp-maybe-open-connection): ... here. (Bug#8929)
10890 2011-07-04 MON KEY <monkey@sandpframing.com>
10892 * play/animate.el (animate-string): Doc fixes and allow changing
10893 the buffer name (bug#5417).
10895 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10897 * play/animate.el (animation-buffer-name): Rename from *animate*.
10899 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10901 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10902 This is simpler and helps future-proof the code.
10903 (timer-until): Use time-subtract and float-time.
10904 (timer--time-less-p): Use time-less-p.
10906 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
10908 * type-break.el (timep): Use the value of `float-time' to avoid a
10909 byte-compiler warning.
10911 * server.el (server-eval-and-print): Return any result, even nil.
10913 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10915 * type-break.el: Accept time formats that the builtins accept.
10916 (timep, type-break-time-difference): Accept any format that
10917 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10918 This is simpler and helps future-proof the code.
10919 (type-break-time-difference): Round rather than ignoring
10920 subseconds components.
10922 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10924 * info.el (Info-apropos-matches): Make non-interactive, since it
10925 doesn't seem to do anything useful as a command (bug#8829).
10927 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
10929 * frame.el (frame-background-mode, frame-set-background-mode):
10930 Move from faces.el.
10931 (frame-default-terminal-background): New function.
10933 * custom.el (custom-push-theme): Don't record faces in `changed'
10934 theme; this doesn't work correctly for per-frame face settings.
10935 (disable-theme): Use face-set-after-frame-default to reset faces.
10936 (custom--frame-color-default): New function.
10938 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10940 * dired.el (dired-flagging-regexp): Remove unused variable
10943 2011-03-29 Kevin Ryde <user42@zip.com.au>
10945 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10946 `perl-Test2' extend to match possible "fail #N" rep count
10949 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10951 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10952 `smtpmail-via-smtp' now returns the error instead of nil.
10954 * isearch.el (isearch-search-fun-function): Clarify the doc string
10957 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
10959 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10960 unnecessary spaces (bug#8987).
10962 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10964 * net/network-stream.el (open-network-stream): Use the
10965 :end-of-capability command thoughout.
10967 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10969 * net/network-stream.el (open-network-stream): Add the
10970 :end-of-capability command parameter, used by pop3.el.
10972 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10974 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10976 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10977 for list)" (bug#6475).
10979 * files.el (file-expand-wildcards): Ignore non-readable
10980 sub-directories while trying to find matches instead of signaling
10981 an error (bug#6297).
10983 * man.el (Man-reference-regexp): Allow matching possible
10984 word-wrapped references (bug#6289).
10986 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10987 for consistency with the other vc buffers (bug#6197).
10988 (vc-checkin): Ditto.
10990 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10992 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10994 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10996 * custom.el (defcustom): Clarify that :set is only used in the
10997 Customize user interface (bug#6089).
10999 * progmodes/flymake.el (flymake-mode): If the buffer isn't
11000 associated with a file, refuse to run instead of erroring out
11003 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
11004 the doc string, since it appears that using `fill-column' always
11005 controls the width (bug#7845).
11007 * simple.el (shell-command-on-region): Say where the error output
11008 went if `shell-command-default-error-buffer' is set (bug#6857).
11010 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
11012 * allout.el (allout-yank-processing): Adjust cursor position for
11013 backwards-deleted space.
11015 (allout-rebullet-heading): Register changes with
11016 allout-exposure-changed-hook, so the modified topic is properly
11019 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11021 * minibuffer.el (completion-in-region): Document PREDICATE
11024 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
11025 of keyword/argument pairs (bug#6904).
11027 * replace.el (multi-occur):
11028 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
11030 2011-07-02 Drew Adams <drew.adams@oracle.com>
11032 * dired.el (dired-mark-if): Make the message about whether it's
11033 marking or unmarking clearer (bug#8523).
11035 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11037 * disp-table.el (display-table-print-array): New function.
11038 (describe-display-table): Use it to print the vectors more pretty
11041 2011-07-02 Martin Rudalics <rudalics@gmx.at>
11043 * window.el (window-state-get-1): Don't assign clone numbers.
11044 Add clone-of item to list of window parameters.
11045 (window-state-put-2): Don't process clone numbers.
11046 (display-buffer-alist): Fix doc-string.
11048 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11050 * subr.el (remq): Don't allocate if it's not needed.
11051 (keymap--menu-item-binding, keymap--menu-item-with-binding)
11052 (keymap--merge-bindings): New functions.
11053 (keymap-canonicalize): Use them to refine the canonicalization.
11054 * minibuffer.el (minibuffer-local-completion-map)
11055 (minibuffer-local-must-match-map): Move initialization from C.
11056 (minibuffer-local-filename-completion-map): Move initialization from C;
11057 don't inherit from anything here.
11058 (minibuffer-local-filename-must-match-map): Make obsolete.
11059 (completing-read-default): Use make-composed-keymap to combine
11060 minibuffer-local-filename-completion-map with either
11061 minibuffer-local-must-match-map or
11062 minibuffer-local-filename-completion-map.
11064 2011-07-01 Glenn Morris <rgm@gnu.org>
11066 * type-break.el (type-break-time-sum): Use dolist.
11068 * textmodes/flyspell.el (flyspell-word-search-backward):
11069 Replace CL function.
11071 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11073 * mouse.el (mouse--strip-first-event): New function.
11074 (function-key-map): Use it to map fringe clicks to normal clicks
11077 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
11078 (vc-bzr-revision-completion-table): Add support for annotate and date.
11080 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
11081 inherit from parent.
11083 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
11085 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
11086 (dired-show-file-type): Doc fixup (bug#8818).
11088 * dired.el (dired-mode): Fix up the doc string as suggested by
11089 Drew Adams (bug#8817).
11091 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
11092 cookie, since the manual says that it should be possible to add
11093 this function to `find-file-hook' (bug#8709).
11095 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11097 * progmodes/cfengine.el: Moved all cfengine3.el functionality
11098 here. Noted Ted Zlatanov as the maintainer.
11099 (cfengine-common-settings, cfengine-common-syntax): New functions
11100 to set up common things between `cfengine-mode' and
11102 (cfengine3-mode): New mode.
11103 (cfengine3-defuns cfengine3-defuns-regex
11104 (cfengine3-class-selector-regex cfengine3-category-regex)
11105 (cfengine3-vartypes cfengine3-font-lock-keywords)
11106 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
11107 (cfengine3-indent-line): Add from cfengine3.el.
11109 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
11111 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
11113 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
11115 2011-07-01 Martin Rudalics <rudalics@gmx.at>
11117 * window.el (same-window-buffer-names, same-window-regexps)
11118 (same-window-p, special-display-frame-alist)
11119 (special-display-popup-frame, special-display-function)
11120 (special-display-buffer-names, special-display-regexps)
11121 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
11122 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11123 (split-window-preferred-function, split-height-threshold)
11124 (split-width-threshold, even-window-heights)
11125 (display-buffer-mark-dedicated, window-splittable-p)
11126 (split-window-sensibly, window-safely-shrinkable-p):
11128 (display-buffer): Don't spread args with function specifier
11129 because special-display-popup-frame won't like it.
11131 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
11133 Time-stamp simplifications and fixes.
11134 These improve accuracy slightly, and future-proof the code
11135 against some potential changes to current-time format.
11137 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
11138 by using time-since and float-time.
11140 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
11141 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
11142 + NNN microseconds".
11144 * type-break.el (type-break-time-sum): Rewrite using time-add.
11146 * play/hanoi.el (hanoi-current-time-float): Remove.
11147 All uses replaced by float-time.
11149 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
11150 This yields a more-accurate answer.
11151 (rng-time-to-float): Remove; no longer needed.
11153 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
11155 * calendar/timeclock.el (timeclock-seconds-to-time):
11156 Defalias to seconds-to-time, since they're the same thing.
11158 * emacs-lisp/elp.el (elp-elapsed-time):
11159 * emacs-lisp/benchmark.el (benchmark-elapse):
11160 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
11162 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11164 * window.el (bury-buffer): Don't iconify the only frame.
11165 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
11166 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
11168 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
11170 * eshell/em-smart.el (eshell-smart-display-navigate-list):
11171 Add mouse-yank-primary.
11173 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
11175 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
11177 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
11179 * emacs-lisp/find-func.el (find-library--load-name): New fun.
11180 (find-library-name): Use it to find relative load names when provided
11181 absolute file name (bug#8803).
11183 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11185 * textmodes/flyspell.el (flyspell-word): Consider words that
11186 differ only in case as potential doublons (bug#5687).
11188 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
11189 Remove two rather uninteresting debugging-like messages to make
11190 debbugs.el more silent.
11192 * comint.el (comint-password-prompt-regexp): Accept "Response" as
11193 a password-like phrase.
11195 2011-06-30 Masatake YAMATO <yamato@redhat.com>
11197 * progmodes/cc-guess.el: New file.
11199 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
11201 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
11202 derived from `c-basic-common-init'.
11204 * progmodes/cc-mode.el (top-level): Require cc-guess.
11205 (c-basic-common-init): Use `cc-choose-style-for-mode'.
11207 2011-06-30 Lawrence Mitchell <wence@gmx.li>
11209 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
11211 2011-06-30 Alan Mackenzie <acm@muc.de>
11213 * progmodes/cc-engine.el (c-guess-continued-construct):
11214 Correct the handling of template-args-cont, particularly for when font
11215 lock is disabled. Name this case as "CASE G".
11217 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
11219 * allout.el (allout-yank-processing): Fix injection of extra space
11220 between bullet and non-whitespace character in first topic when
11221 pasting, ensuring that the actual spacing in the pasted topic
11222 following the bullet char is preserved. This extra space was
11223 causing pasted encrypted topics to get a decrypted status even
11224 when the content was actually still encrypted. Now the decryption
11225 status from before the paste is preserved.
11227 (allout-flag-region): Set all allout overlays so they evaporate
11228 when reduced to zero length (evanescent), to prevent overlay
11231 2011-06-30 Glenn Morris <rgm@gnu.org>
11233 * w32-fns.el (w32-charset-info-alist): Declare.
11235 * find-dired.el (find-grep-options): Simplify.
11237 * term/ns-win.el (ns-set-resource): Declare.
11239 * ses.el (row, col): Declare dynamic variables honestly.
11241 * textmodes/reftex-parse.el (index-tags): Declare.
11243 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
11245 * cus-edit.el (customize-push-and-save): New function.
11247 * files.el (hack-local-variables-confirm): Use it.
11249 * custom.el (load-theme): New arg NO-CONFIRM.
11250 Use customize-push-and-save (Bug#8720).
11251 (custom-enabled-themes): Doc fix.
11253 * cus-theme.el (customize-create-theme)
11254 (custom-theme-merge-theme): Callers to load-theme changed.
11256 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11258 * thingatpt.el (thing-at-point-short-url-regexp): Require that
11259 short URLs have at least one dot in them (bug #7614).
11261 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11262 nil, because using a pty is apparently too slow (bug #895).
11264 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
11266 * mail/sendmail.el (sendmail-query-once): New function.
11267 (sendmail-query-once-function): New variable.
11269 2011-06-29 Glenn Morris <rgm@gnu.org>
11271 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11273 * ses.el (top-level): Require cl when compiling.
11274 (ses-set-localvars): Fix error statement.
11275 Call it at compile time to silence a storm of warnings.
11277 2011-06-29 Martin Rudalics <rudalics@gmx.at>
11279 * window.el (normalize-live-buffer): Rename to
11280 window-normalize-buffer.
11281 (normalize-live-frame): Rename to window-normalize-frame.
11282 (normalize-any-window): Rename to window-normalize-any-window.
11283 (normalize-live-window): Rename to window-normalize-live-window.
11284 (make-window-atom): Rename to window-make-atom.
11285 (window-resize-reset): Rename to window--resize-reset.
11286 (window-resize-reset-1): Rename to window--resize-reset-1.
11287 (resize-mini-window): Rename to window--resize-mini-window.
11288 (resize-subwindows-skip-p): Rename to
11289 window--resize-subwindows-skip-p.
11290 (resize-subwindows-normal): Rename to
11291 window--resize-subwindows-normal.
11292 (resize-subwindows): Rename to window--resize-subwindows.
11293 (resize-other-windows): Rename to window--resize-siblings.
11294 (resize-this-window): Rename to window--resize-this-window.
11295 (resize-root-window): Rename to window--resize-root-window.
11296 (resize-root-window-vertically): Rename to
11297 window--resize-root-window-vertically.
11298 (normalize-buffer-to-display): Rename to
11299 window-normalize-buffer-to-display.
11300 (normalize-buffer-to-switch-to): Rename to
11301 window-normalize-buffer-to-switch-to.
11302 Correspondingly update all callers of the functions listed
11304 (display-buffer-alist, display-buffer-normalize-arguments)
11305 (display-buffer-normalize-options, display-buffer)
11306 (display-buffer-alist-set): Use "function" instead of
11309 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
11311 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11312 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
11313 debbugs.gnu.org. Mention acknowledgment email.
11315 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
11317 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11318 buffer multibyteness, since it shouldn't matter.
11320 2011-06-28 Martin Rudalics <rudalics@gmx.at>
11322 * window.el (display-buffer-in-side-window): Handle dedicated
11323 windows as in display-buffer-reuse-window.
11324 (display-buffer-normalize-alist): Use value of override
11326 (display-buffer-normalize-specifiers): Use value of
11327 other-window-means-other-frame specifier.
11328 (display-buffer-alist): Rewrite some texts in widgets.
11329 (display-buffer): Spread arguments when calling function
11330 specified by fun-with-args.
11332 2011-06-28 Deniz Dogan <deniz@dogan.se>
11334 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11337 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11338 selectors (Bug#5732).
11339 (css-proprietary-nmstart-re): Use `regexp-opt'.
11341 2011-06-27 Jari Aalto <jari.aalto@cante.net>
11343 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11344 (eshell-ls-date-format): New defcustom.
11345 (eshell-ls-file): Use it.
11347 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11349 * help-fns.el (describe-variable): Fix message for terminal-local vars.
11351 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
11353 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11354 (ange-ftp-make-tmp-name): New arg.
11355 (ange-ftp-file-local-copy): Use it.
11357 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
11359 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11360 no-conversion (Bug#8870).
11362 2011-06-27 Martin Rudalics <rudalics@gmx.at>
11364 * window.el (window-right, window-left, window-child)
11365 (window-child-count, window-last-child)
11366 (window-iso-combination-p, walk-window-tree-1)
11367 (window-atom-check-1, window-tree-1, delete-window)
11368 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11369 new naming conventions - window-vchild, window-hchild,
11370 window-next and window-prev are now called window-top-child,
11371 window-left-child, window-next-sibling and window-prev-sibling
11373 (resize-window-reset): Rename to window-resize-reset.
11374 (resize-window-reset-1): Rename to window-resize-reset-1.
11375 (resize-window): Rename to window-resize.
11376 (window-min-height, window-min-width)
11377 (resize-mini-window, resize-this-window, resize-root-window)
11378 (resize-root-window-vertically, adjust-window-trailing-edge)
11379 (enlarge-window, shrink-window, maximize-window)
11380 (minimize-window, delete-window, quit-restore-window)
11381 (split-window, balance-windows, balance-windows-area-adjust)
11382 (balance-windows-area, window-state-put-2)
11383 (display-buffer-even-window-sizes, display-buffer-set-height)
11384 (display-buffer-set-width, set-window-text-height)
11385 (fit-window-to-buffer): Rename all "resize-window" prefixed
11386 calls to use the "window-resize" prefix convention.
11387 (display-buffer-alist): Fix symbol for label specifier.
11388 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11389 corresponding specifier.
11390 Reported by Juanma Barranquero <lekktu@gmail.com>.
11392 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11394 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11396 (ses-call-printer): Does not pass an empty string to formatter when the
11397 cell is empty to keep from barking printer Calc math-format-value.
11399 2011-06-27 Richard Stallman <rms@gnu.org>
11401 * battery.el (battery-mode-line-limit): New variable.
11402 (battery-update): Handle it.
11404 * mail/rmailmm.el (rmail-mime-process-multipart):
11405 Handle truncated messages.
11407 2011-06-27 Glenn Morris <rgm@gnu.org>
11409 * progmodes/flymake.el (flymake-err-line-patterns):
11410 Allow for column numbers in the ant/javac pattern. (Bug#8866)
11412 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11414 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
11415 (ses--clean-!, ses--clean-_): New functions.
11416 (ses-range): Add configurability of readout order, and conversion
11419 * ses.el (ses-repair-cell-reference-all): New function.
11420 (ses-cell-symbol): Set macro as safe, so that it can be used in
11423 * ses.el: Update cycle detection algorithm.
11424 (ses-localvars): Add ses--Dijkstra-attempt-nb and
11425 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
11426 (ses-set-localvars): New function.
11427 (ses-make-cell): Add property-list as a cell element.
11428 (ses-cell-property-get-fun, ses-cell-property-get)
11429 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
11430 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11432 (ses-cell-property-set, ses-cell-property-pop)
11433 (ses-cell-property-get-handle): New macro.
11434 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
11435 New aliases, used for code readability.
11436 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
11438 (ses-self-reference-early-detection): New defcustom.
11439 (ses-formula-references): Robustify against self-referring cells.
11440 (ses-mode): Use ses-set-localvars.
11441 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
11442 before lauching the update processing.
11443 (ses-initialize-Dijkstra-attempt): New function.
11444 (ses-recalculate-cell): Update for cycle detection based on
11445 Dijkstra algorithm.
11447 * ses.el: Fix commenting and indenting convention.
11449 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11451 * bs.el (bs-cycle-next): Complete last change.
11453 2011-06-27 Drew Adams <drew.adams@oracle.com>
11455 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
11457 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11459 * net/network-stream.el (network-stream-open-starttls):
11460 Don't re-get capabilities unless we've reestablished connection.
11461 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
11463 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11464 to binary to possibly avoid line encoding issues on Windows (among
11467 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11469 * net/network-stream.el (open-network-stream): Return an :error
11470 saying what the problem was, if possible.
11472 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11475 * net/network-stream.el (network-stream-open-starttls): If we
11476 wanted to use STARTTLS, and the server offered it, but we weren't
11477 able to because we had no STARTTLS support, then close the connection.
11478 (open-network-stream): Return an :error element, if present.
11480 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
11482 * hl-line.el (hl-line-sticky-flag): Doc fix.
11483 (global-hl-line-sticky-flag): New option (Bug#8323).
11484 (global-hl-line-highlight): Obey it.
11486 * vc/vc.el (vc-revert-show-diff): Default to t.
11488 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
11490 * allout-widgets.el (allout-widgets-post-command-business):
11491 Stop decorating intermediate isearch matches. They're not being
11492 undecorated when an isearch is continued past, and isearch
11493 automatically collapses them. This leads to "widget leaks", where
11494 decorated items accumulate in collapsed areas. Lines with lots of
11495 hidden widgets can slow down cursor travel, substantially.
11496 Too much complicated machinery would be needed to ensure undecoration,
11497 so we're doing without this nicety.
11499 (allout-widgets-tally-string): Don't try to do a hash-table-count
11500 of allout-widgets-tally when it's nil. This eliminates spurious "Error
11501 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11502 *Messages* when allout-widgets-maintain-tally is t.
11504 2011-06-26 Martin Rudalics <rudalics@gmx.at>
11506 * window.el (display-buffer-normalize-argument): Rename to
11507 display-buffer-normalize-arguments. Handle special meaning of
11508 LABEL argument. Respect special-display-function when popping up
11509 a new frame. Fix code searching for a window showing the buffer
11511 (display-buffer-normalize-specifiers):
11512 Call display-buffer-normalize-arguments.
11513 (display-buffer-in-window): Don't undedicate the window if its
11514 buffer remains the same.
11515 Reported by Drew Adams <drew.adams@oracle.com>.
11516 (display-buffer-alist): Add choice for same-window macro
11518 (display-buffer): Mention special meaning of LABEL argument in
11519 doc-string. Fix quoting. Don't pop up a new frame even as
11522 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
11524 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11525 avoid deleting the current window in some cases (bug#8911).
11527 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
11529 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11532 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11534 * net/network-stream.el (network-stream-open-starttls):
11535 Use built-in TLS support if `gnutls-available-p' is true.
11536 (network-stream-open-tls): Ditto.
11538 2011-06-26 Leo Liu <sdl.web@gmail.com>
11540 * register.el (registerv): New struct.
11541 (registerv-make): New function.
11542 (jump-to-register, describe-register-1, insert-register):
11543 Support the jump-func, print-func and insert-func slot of a registerv
11546 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
11548 * vc/vc.el (vc-revert-show-diff): New defcustom.
11549 (vc-diff-internal): New arg specifying diff buffer.
11550 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
11551 reuse an existing *vc-diff* buffer (Bug#8927).
11553 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11555 2011-06-26 Glenn Morris <rgm@gnu.org>
11557 * progmodes/f90.el (f90-critical-indent): New option.
11558 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11559 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11560 (f90-mode): Doc fix.
11561 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11562 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11563 (f90-beginning-of-block, f90-next-block, f90-indent-region)
11564 (f90-match-end): Handle block, critical.
11566 2011-06-25 Glenn Morris <rgm@gnu.org>
11568 * calendar/diary-lib.el (diary-included-files): Doc fix.
11569 (diary-include-files): New function, extracted from
11570 diary-include-other-diary-files and diary-mark-included-diary-files.
11571 (diary-include-other-diary-files, diary-mark-included-diary-files):
11572 Just call diary-include-files.
11573 (diary-mark-entries): Reset diary-included-files on first call.
11575 * calendar/diary-lib.el (diary-mark-entries)
11576 (diary-mark-included-diary-files):
11577 Visit included diary-files in temp buffers.
11579 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11580 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11581 (f90-start-block-re, f90-imenu-generic-expression)
11582 (f90-looking-at-program-block-start, f90-no-block-limit):
11583 Add support for submodules.
11585 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11586 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
11588 2011-06-25 Eli Zaretskii <eliz@gnu.org>
11590 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11591 buffer-file-type before setting its value, to avoid disastrous
11592 global effects on decoding files for DOS/Windows systems. (Bug#8780)
11594 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
11596 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11598 * ses.el (ses-unload-function):
11599 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11601 * proced.el (proced-unload-function):
11602 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11604 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
11606 * server.el (server-create-window-system-frame): Add parameters arg.
11607 (server-process-filter): Doc fix. Handle frame-parameters.
11609 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
11611 Fix bug#8730, bug#8781.
11613 * loadhist.el (unload--set-major-mode): New function.
11614 (unload-feature): Use it.
11616 * progmodes/python.el (python-after-info-look): Add autoload cookie.
11617 (python-unload-function): New function.
11619 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11621 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11623 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
11625 * net/browse-url.el (browse-url-firefox-program): Add icecat to
11626 the candidates list.
11628 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
11630 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11632 2011-06-23 Richard Stallman <rms@gnu.org>
11634 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11635 (rmail-variables): Set next-error-move-function.
11636 (rmail-what-message): Take argument POS.
11637 (rmail-next-error-move): New function.
11639 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11641 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11642 messages for adjacent non-terminals.
11644 2011-06-23 Richard Stallman <rms@gnu.org>
11646 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
11647 (rmail-show-message-1): Preserve buffer modified flag.
11648 (rmail-start-mail): Don't specify use of rmail-mail-return;
11649 that's done by mail-bury now.
11650 (rmail-mail-return): Handle arg NEWBUF.
11652 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
11654 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11657 2011-06-23 Martin Rudalics <rudalics@gmx.at>
11659 * window.el (get-lru-window, get-mru-window)
11660 (get-largest-window): Never return a minibuffer window.
11661 (display-buffer-pop-up-window): Fix a bug that could lead to
11662 reusing the minibuffer window.
11663 (display-buffer): Pass original specifier argument to
11664 display-buffer-function instead of the normalized one.
11665 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11667 2011-06-22 Leo Liu <sdl.web@gmail.com>
11669 * minibuffer.el (completing-read-function)
11670 (completing-read-default): Move from minibuf.c
11672 2011-06-22 Richard Stallman <rms@gnu.org>
11674 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11675 to Rmail even if not started by a special Rmail command.
11677 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
11678 Copy the buffer currently showing just one message.
11680 2011-06-22 Roland Winkler <winkler@gnu.org>
11682 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
11683 (bibtex-clean-entry): First delete the old key so that a
11684 customized algorithm for generating the new key does not get
11685 confused by the old key.
11686 (bibtex-url): Obey regexp of first step.
11687 (bibtex-search-entries): Do not use add-to-list with local
11690 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11692 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
11693 stored a user name, then query for the password first, instead of
11694 waiting for SMTP to give an error message and the trying again.
11696 2011-06-22 Lawrence Mitchell <wence@gmx.li>
11698 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
11699 BUFFER in call-process.
11701 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11703 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
11705 (smtpmail-try-auth-methods): Require user name and password from
11708 2011-06-22 Martin Rudalics <rudalics@gmx.at>
11710 * window.el (display-buffer-default-specifiers)
11711 (display-buffer-alist): Remove entries for pop-up-frame-alist.
11712 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
11713 (split-window): Normalize SIDE argument (Bug#8916).
11715 * frame.el (pop-up-frame-alist, pop-up-frame-function)
11716 (special-display-frame-alist, special-display-popup-frame):
11717 Remove duplicate declarations. These are now in window.el.
11719 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11721 * mail/smtpmail.el (smtpmail-via-smtp):
11722 Set :use-starttls-if-possible so that we always use STARTTLS if the
11723 server supports it. SMTP servers that support STARTTLS commonly
11726 * net/network-stream.el (network-stream-open-starttls): Support
11727 upgrading to STARTTLS always, even if we don't have built-in support.
11728 (open-network-stream): Add the :always-query-capabilities keyword.
11730 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
11731 upgrades with `open-network-stream', and rely solely on
11732 auth-source for all credentials. Big changes throughout the file,
11734 (smtpmail-auth-credentials): Remove.
11735 (smtpmail-starttls-credentials): Remove.
11736 (smtpmail-via-smtp): Check for servers saying they want AUTH after
11739 * net/network-stream.el (network-stream-open-starttls):
11740 Provide support for client certificates both for external and built-in
11742 (auth-source): Require.
11743 (open-network-stream): Document the :client-certificate keyword.
11744 (network-stream-certificate): Change cert-cert to cert and
11747 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
11749 * net/tramp-cache.el (top): Don't load the persistency file when
11750 "emacs -Q" has been called.
11752 2011-06-21 Tim Harper <timcharper@gmail.com>
11754 * term/ns-win.el (ns-initialize-window-system):
11755 Set application-specific `ApplePressAndHoldEnabled' system
11756 resource to NO as it is not yet supported by the NS port.
11758 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
11760 * misc.el (list-dynamic-libraries--refresh): Compute header here...
11761 (list-dynamic-libraries): ...not here.
11763 2011-06-21 Leo Liu <sdl.web@gmail.com>
11765 * subr.el (sha1): Implement sha1 using secure-hash.
11767 2011-06-21 Martin Rudalics <rudalics@gmx.at>
11769 * window.el (display-buffer-alist): In default value do not
11770 enforce searching a window on any but the selected frame.
11771 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11772 (display-buffer-select-window): Remove function.
11773 (display-buffer-in-window): When a window on another frame gets
11774 reused, do not select it any more but just raise its frame if
11775 necessary (Bug#8851) and (Bug#8856).
11776 (display-buffer-normalize-options): Handle pop-up-frames related
11777 options more faithfully.
11778 (pop-to-buffer): Don't rely on `display-buffer' selecting the
11779 window if it is on another frame.
11780 (display-buffer-alist, display-buffer-default-specifiers):
11781 Don't make new frame unsplittable by default.
11782 (display-buffer-normalize-argument): Fix doc-string typo and use
11783 'same-frame-other-window instead of 'other-window when associating
11784 with display-buffer-macro-specifiers.
11786 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
11788 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11790 (5x5-mode-map, 5x5-mode-menu): Bind them.
11791 (5x5-draw-grid): Tweak the solver's rendering.
11793 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11795 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11796 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11798 2011-06-21 Drew Adams <drew.adams@oracle.com>
11800 * menu-bar.el: Use function variable instead of switch-to-buffer.
11801 (menu-bar-select-buffer-function): New variable.
11802 (menu-bar-update-buffers): Use it (bug#8876).
11804 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11806 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11809 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11811 * x-dnd.el (x-dnd-version-from-flags)
11812 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11813 and long as number (Bug#8899).
11814 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11816 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11818 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
11819 (completion-try-completion, completion-all-completions): Compute the
11820 metadata argument if it's missing; make it optional (bug#8795).
11822 * wid-edit.el: Use lex-bind and move towards completion-at-point.
11823 (widget-complete): Use new :completion-function property.
11824 (widget-completions-at-point): New function.
11825 (default): Use :completion-function instead of :complete.
11826 (widget-default-completions): Rename from widget-default-complete;
11828 (widget-string-complete, widget-file-complete, widget-color-complete):
11830 (file, symbol, function, variable, coding-system, color):
11831 * international/mule-cmds.el (default-input-method, charset)
11832 (language-info-custom-alist):
11833 * cus-edit.el (face): Use new property :completions.
11835 * progmodes/pascal.el (pascal-completions-at-point): New function.
11836 (pascal-mode): Use it.
11837 (pascal-mode-map): Use completion-at-point.
11838 (pascal-toggle-completions): Make obsolete.
11839 (pascal-complete-word, pascal-show-completions):
11840 * progmodes/octave-mod.el (octave-complete-symbol):
11841 Redefine as obsolete alias.
11842 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11843 Signal absence of completion info for old Octave,
11844 (inferior-octave-complete): Redefine as obsolete alias.
11845 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11846 (meta-completions-at-point): Rename from meta-complete-symbol and
11847 adapt it for use on completion-at-point-functions.
11848 (meta-common-mode): Use it.
11849 (meta-looking-at-backward, meta-match-buffer): Remove.
11850 (meta-complete-symbol): Redefine as obsolete alias.
11851 (meta-common-mode-map): Use completion-at-point.
11852 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11853 (makefile-mode-map): Use completion-at-point.
11854 (makefile-completions-at-point): Rename from makefile-complete and
11855 adapt it for use on completion-at-point-functions.
11856 (makefile-mode): Use it.
11857 (makefile-complete): Redefine as obsolete alias.
11859 2011-06-20 Deniz Dogan <deniz@dogan.se>
11861 * net/rcirc.el: Delete trailing whitespaces once and for all.
11863 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11865 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11867 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
11869 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11871 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11873 2011-06-19 Martin Rudalics <rudalics@gmx.at>
11875 * window.el (display-buffer-other-window-means-other-frame):
11876 Call display-buffer-normalize-alist.
11877 (display-buffer-normalize-specifiers-1): Rename to
11878 display-buffer-normalize-argument. New argument other-frame.
11880 (display-buffer-normalize-specifiers-2): Rename to
11881 display-buffer-normalize-options.
11882 (display-buffer-normalize-alist-1): New function.
11883 (display-buffer-normalize-specifiers-3): Rename to
11884 display-buffer-normalize-alist.
11885 Call display-buffer-normalize-alist-1.
11886 (display-buffer-normalize-options-inhibit): New variable.
11887 (display-buffer-normalize-specifiers): Rewrite calling
11888 display-buffer-normalize-alist,
11889 display-buffer-normalize-argument, and
11890 display-buffer-normalize-options. Don't call the latter if
11891 display-buffer-normalize-options-inhibit is non-nil.
11892 (frame-auto-delete): New option.
11893 (window-deletable-p): Use frame-auto-delete.
11894 (window-list-no-nils, window-state-ignored-parameters)
11895 (window-state-get-1, window-state-get, window-state-put-list)
11896 (window-state-put-1, window-state-put-2, window-state-put):
11898 (display-buffer-normalize-options): Move special-display-p group
11899 after pop-up-frame group (Bug#8851) and (Bug#8856).
11901 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
11903 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11905 (rx-submatch-n): New function.
11908 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11911 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11913 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11915 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11916 anytime existing face settings are present (Bug#8889).
11918 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11919 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11920 Remove unused argument.
11922 2011-06-18 Martin Rudalics <rudalics@gmx.at>
11924 * window.el (display-buffer-default-specifiers):
11925 Remove pop-up-frame. Add pop-up-window-min-height,
11926 pop-up-window-min-width, and another reuse-window specifier
11927 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
11928 (display-buffer-normalize-specifiers-2):
11929 Handle split-height-threshold and split-width-threshold also when
11930 pop-up-windows is unset. Add a reuse-window specifier for the
11931 case popping up a new window fails.
11932 (special-display-popup-frame): Remove double quoting.
11933 (display-buffer-normalize-specifiers-1): Fix thinko.
11935 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11937 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11938 according to comint-completion-addsuffix.
11940 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11941 (pcomplete-suffix-list): Mark as obsolete.
11942 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11943 pcomplete-seen in the closure.
11944 (pcomplete-comint-setup): Setup completion-at-point as well.
11945 (pcomplete--entries): New function.
11946 (pcomplete--env-regexp): New var.
11947 (pcomplete-entries): Rewrite to work with partial-completion and
11948 without relying on pcomplete-suffix-list.
11949 (pcomplete-pare-list): Remove, unused.
11951 2011-06-17 Martin Rudalics <rudalics@gmx.at>
11953 * window.el (display-buffer-alist): Set pop-up-window-min-height
11954 and pop-up-window-min-width in default value. Reported by
11955 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11956 other-window-means-other-frame.
11957 (display-buffer-macro-specifiers): Comment out entry for
11958 other-window specifier.
11959 (display-buffer-other-window-means-other-frame): New function.
11960 (display-buffer-normalize-specifiers-1): New arguments
11961 buffer-name and label. Treat other-window case specially.
11962 (display-buffer-normalize-specifiers-2): Treat other-window case
11964 (display-buffer-normalize-specifiers-3): New function.
11965 (display-buffer-normalize-specifiers):
11966 Call display-buffer-normalize-specifiers-3.
11968 2011-06-17 Martin Rudalics <rudalics@gmx.at>
11970 * window.el (same-window-p): Fix two typos introduced when
11971 adding with-no-warnings.
11972 (display-buffer-normalize-specifiers-1): Don't check
11973 pop-up-frames for 'unset initialization.
11974 (display-buffer-normalize-specifiers-2): Major rewrite using
11975 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11976 (pop-up-frames, display-buffer-reuse-frames)
11977 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11978 Suggested by David Engster <deng@randomsample.de>.
11979 (even-window-heights): Initialize to 'unset.
11980 (display-buffer-alist-set): Handle new 'unset initializations.
11981 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11984 2011-06-16 Martin Rudalics <rudalics@gmx.at>
11986 * window.el (display-buffer-normalize-specifiers-1):
11987 Respect current value of pop-up-frames for most reasonable values of
11988 second argument of display-buffer (Bug#8865).
11989 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11990 (switch-to-buffer-other-window-same-frame)
11991 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11993 (display-buffer): Don't check noninteractive when calling
11994 display-buffer-pop-up-frame.
11995 (display-buffer-pop-up-frame): Never pop up a frame in
11996 noninteractive mode (Bug#8857).
11997 (enlarge-window, shrink-window): Don't report an error when the
11998 window can't be resized as requested (Bug#8862).
12000 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12002 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
12004 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
12006 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
12008 2011-06-15 Alan Mackenzie <acm@muc.de>
12010 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
12011 for declarators, disable knr checking to speed up for normal files.
12012 2: Refactor, replacing a sequence of nested if forms by a cond form.
12014 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12016 * net/network-stream.el (open-network-stream): Add the keyword
12017 :always-query-capabilities for the case where you want to force a
12018 `plain' network connection, but the protocol still requires the
12019 capabilitiy command (i.e., SMTP and EHLO).
12021 * subr.el (process-live-p): Rename from `process-alive-p' for
12022 consistency with other `-live-p' functions.
12024 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12026 * window.el (same-window-buffer-names, same-window-regexps)
12027 (special-display-frame-alist, special-display-popup-frame)
12028 (special-display-function, special-display-buffer-names)
12029 (special-display-regexps, pop-up-frame-alist)
12030 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
12031 (pop-up-windows, split-window-preferred-function)
12032 (split-height-threshold, split-width-threshold, even-window-heights)
12033 (display-buffer-mark-dedicated): Don't encourage the use of
12034 display-buffer-alist from Elisp code.
12036 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
12038 * progmodes/python.el (python-mode): Derive from prog-mode.
12039 * progmodes/ps-mode.el (ps-mode):
12040 * progmodes/mixal-mode.el (mixal-mode):
12041 * progmodes/cfengine.el (cfengine-mode):
12042 * progmodes/ld-script.el (ld-script-mode): Likewise.
12044 2011-06-15 Martin Rudalics <rudalics@gmx.at>
12046 * window.el (display-buffer-alist): Trim default value to avoid
12047 popping up a new frame (Bug#8857) or reusing an arbitrary window
12049 (display-buffer): Do not fall back on popping up a new frame in
12050 batch mode (Bug#8857).
12052 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
12054 * cus-theme.el (describe-theme-1): Use custom-theme-p.
12055 (custom-theme-summary): New function.
12056 (customize-themes): Use it.
12058 2011-06-13 Glenn Morris <rgm@gnu.org>
12060 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
12062 2011-06-13 Martin Rudalics <rudalics@gmx.at>
12064 * help.el (help-window): Remove variable.
12065 (help-window-point-marker, temp-buffer-max-height)
12066 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
12067 (help-print-return-message): Don't set help-window.
12068 (resize-temp-buffer-window): Rewrite cod eand doc-string.
12069 (help-window-setup-finish): Remove.
12070 (help-window-display-message, help-window-setup)
12071 (with-help-window): Major rewrite based on new
12072 display-buffer-window variable.
12074 * help-mode.el (help-mode-finish): Remove help-window related
12077 * view.el (view-exits-all-viewing-windows): Remove reference to
12078 view-return-to-alist in doc-string.
12079 (view-return-to-alist): Make obsolete.
12080 (view-buffer): Call pop-to-buffer-same-window and remove
12082 (view-buffer-other-window): Call pop-to-buffer-other-window and
12083 simplify code. Ignore second argument.
12084 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
12085 simplify code. Ignore second argument.
12086 (view-return-to-alist-update): Make obsolete.
12087 (view-mode-enter): Rename second argument to QUIT-RESTORE.
12088 Rewrite using quit-restore window parameters.
12089 (view-mode-exit): Rename second argument to EXIT-ONLY.
12090 Rewrite using quit-restore-window.
12091 (View-exit, View-exit-and-edit, View-leave, View-quit)
12092 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
12093 appropriate arguments.
12094 (view-end-message): Use quit-restore window parameter.
12096 * window.el (display-buffer-function): Rewrite doc-string.
12097 (display-buffer-window, display-buffer-alist): New variables.
12098 (display-buffer-split-specifiers)
12099 (display-buffer-side-specifiers)
12100 (display-buffer-macro-specifiers): New constants.
12101 (display-buffer-even-window-sizes, display-buffer-set-height)
12102 (display-buffer-set-width, display-buffer-select-window)
12103 (display-buffer-in-window, display-buffer-reuse-window)
12104 (display-buffer-split-window-1, display-buffer-split-window)
12105 (display-buffer-split-atom-window, display-buffer-pop-up-window)
12106 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
12107 (display-buffer-in-side-window, normalize-buffer-to-display)
12108 (display-buffer-normalize-specifiers-1)
12109 (display-buffer-normalize-specifiers-2)
12110 (display-buffer-normalize-specifiers, display-buffer-frame):
12112 (display-buffer): Major rewrite.
12113 (display-buffer-other-window, display-buffer-other-frame)
12114 (pop-to-buffer, switch-to-buffer-other-window)
12115 (switch-to-buffer-other-frame): Rewrite.
12116 (display-buffer-same-window, display-buffer-same-frame)
12117 (display-buffer-same-frame-other-window)
12118 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12119 (pop-to-buffer-other-window)
12120 (pop-to-buffer-same-frame-other-window)
12121 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
12122 (switch-to-buffer-other-window-same-frame): New functions.
12123 (same-window-p, special-display-p): Rewrite disabling warnings.
12125 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12126 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
12128 (same-window-buffer-names, same-window-regexps)
12129 (special-display-frame-alist, special-display-popup-frame)
12130 (special-display-function, special-display-buffer-names)
12131 (special-display-regexps, pop-up-frame-alist)
12132 (pop-up-frame-function, split-window-preferred-function)
12133 (split-height-threshold, split-width-threshold)
12134 (even-window-heights): Make obsolete.
12136 2011-06-12 Glenn Morris <rgm@gnu.org>
12138 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
12139 Misc simplifications.
12141 2011-06-12 Martin Rudalics <rudalics@gmx.at>
12143 * window.el (window-safely-shrinkable-p): Restore function which
12144 was inadvertently removed in change from 2011-06-11. Declare as
12147 * calendar/calendar.el (calendar-generate-window):
12148 Use window-iso-combined-p instead of combination of one-window-p and
12149 window-safely-shrinkable-p.
12151 2011-06-12 Glenn Morris <rgm@gnu.org>
12153 * progmodes/fortran.el (fortran-mode-syntax-table):
12154 * progmodes/f90.el (f90-mode-syntax-table):
12155 Set % to punctuation. (Bug#8820)
12156 (f90-find-tag-default): Remove, no longer needed.
12158 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
12160 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
12162 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
12164 * image.el (image-animated-p): Return animation delay in seconds.
12165 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
12166 (image-animate-timeout): Remove DELAY argument. Don't assume
12167 every subimage has the same delay; get it from image-animated-p.
12168 (image-animate): Caller changed.
12170 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
12172 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
12173 to ignored backtrace functions.
12175 2011-06-11 Glenn Morris <rgm@gnu.org>
12177 * calendar/appt.el (appt-disp-window-function): Doc fix.
12178 (appt-check): Handle overlapping appointments. (Bug#8337)
12180 2011-06-11 Martin Rudalics <rudalics@gmx.at>
12182 * window.el (window-tree-1, window-tree): New functions, moving
12183 the latter to window.el.
12184 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
12185 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
12186 (bw-refresh-edges): Remove.
12187 (balance-windows-1, balance-windows-2): New functions.
12188 (balance-windows): Rewrite in terms of window tree functions,
12189 balance-windows-1 and balance-windows-2.
12190 (bw-adjust-window): Remove.
12191 (balance-windows-area-adjust): New function with functionality of
12192 bw-adjust-window but using resize-window.
12193 (set-window-text-height): Rewrite doc-string.
12194 Use normalize-live-window and resize-window.
12195 (enlarge-window-horizontally, shrink-window-horizontally):
12196 Rename argument to DELTA.
12197 (window-buffer-height): New function.
12198 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
12199 Rewrite using new window resize routines.
12200 (kill-buffer-and-window, mouse-autoselect-window-select):
12201 Use ignore-errors instead of condition-case.
12202 (quit-window): Call delete-frame instead of delete-windows-on
12203 for the only buffer on frame.
12205 2011-06-10 Martin Rudalics <rudalics@gmx.at>
12207 * loadup.el (top-level): Load window before files for the sake
12208 of replace-buffer-in-windows.
12210 * files.el (read-buffer-to-switch)
12211 (switch-to-buffer-other-window)
12212 (switch-to-buffer-other-frame, display-buffer-other-frame):
12215 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
12216 (previous-buffer): Move to window.el.
12218 * bindings.el (unbury-buffer): Move to window.el.
12220 * window.el (delete-other-windows-vertically): Move after
12221 definition of delete-other-windows.
12222 (other-window, delete-windows-on, replace-buffer-in-windows):
12223 Move here from window.c.
12224 (record-window-buffer, unrecord-window-buffer)
12225 (set-window-buffer-start-and-point, switch-to-prev-buffer)
12226 (switch-to-next-buffer): New functions.
12227 (get-next-valid-buffer, last-buffer, next-buffer): Move here
12228 from simple.el. Call switch-to-next-buffer.
12229 (previous-buffer): Move here from simple.el.
12230 Call switch-to-prev-buffer.
12231 (bury-buffer): Move here from buffer.c. Switch to previous
12232 buffer when window cannot be deleted.
12233 (unbury-buffer): Move here from bindings.el.
12234 (ctl-x-map): Move binding for other-window from window.c to
12236 (read-buffer-to-switch, switch-to-buffer-other-window)
12237 (switch-to-buffer-other-frame): Move here from files.el.
12238 (normalize-buffer-to-switch-to): New functions.
12239 (switch-to-buffer): Move here from buffer.c.
12240 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
12242 2011-06-10 Martin Rudalics <rudalics@gmx.at>
12244 * window.el (window-min-height, window-min-width): Move here
12245 from window.c. Add defcustoms and rewrite doc-strings.
12246 (resize-mini-window, resize-window): New functions.
12247 (adjust-window-trailing-edge, enlarge-window, shrink-window):
12248 Move here from window.c.
12249 (maximize-window, minimize-window): New functions.
12250 (delete-window, delete-other-windows, split-window): Move here
12252 (window-split-min-size): New function.
12253 (split-window-keep-point): Mention split-window-above-each-other
12254 instead of split-window-vertically.
12255 (split-window-above-each-other, split-window-vertically):
12256 Rename split-window-vertically to split-window-above-each-other
12257 and provide defalias for old definition.
12258 (split-window-side-by-side, split-window-horizontally):
12259 Rename split-window-horizontally to split-window-side-by-side
12260 and provide defalias for the old definition.
12261 (ctl-x-map): Move bindings for delete-window,
12262 delete-other-windows and enlarge-window here from window.c.
12263 Replace bindings for split-window-vertically and
12264 split-window-horizontally by bindings for
12265 split-window-above-each-other and split-window-side-by-side.
12267 * cus-start.el (all): Remove entries for window-min-height and
12268 window-min-width. Add entries for window-splits and
12271 2011-06-09 Glenn Morris <rgm@gnu.org>
12273 * calendar/appt.el (appt-mode-line): New function.
12274 (appt-check, appt-disp-window): Use it.
12276 * files.el (hack-one-local-variable-eval-safep):
12277 Allow minor-modes with explicit +/-1 arguments.
12279 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
12281 * term/xterm.el (xterm): Add defgroup.
12282 (xterm-extra-capabilities): Add defcustom to supply known xterm
12283 capabilities, skip querying them, or query them (default).
12284 (terminal-init-xterm): Use it.
12285 (terminal-init-xterm-modify-other-keys): New function to set up
12286 modifyOtherKeys support to simplify `terminal-init-xterm'.
12288 2011-06-09 Martin Rudalics <rudalics@gmx.at>
12290 * window.el (resize-window-reset, resize-window-reset-1)
12291 (resize-subwindows-skip-p, resize-subwindows-normal)
12292 (resize-subwindows, resize-other-windows, resize-this-window)
12293 (resize-root-window, resize-root-window-vertically)
12294 (window-deletable-p, window-or-subwindow-p)
12295 (frame-root-window-p): New functions.
12297 2011-06-09 Glenn Morris <rgm@gnu.org>
12299 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12300 (ange-ftp-get-files): Use it.
12302 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
12304 * mail/sendmail.el (mail-recover-1, mail-recover):
12305 * files.el (recover-file, recover-session):
12306 Handle dired-listing-switches not being just a single short option.
12308 2011-06-09 Glenn Morris <rgm@gnu.org>
12310 * calendar/appt.el (appt-display-message, appt-disp-window):
12311 Handle lists of appointments.
12313 2011-06-08 Martin Rudalics <rudalics@gmx.at>
12315 * window.el (one-window-p): Move down in code.
12316 Rewrite doc-string.
12317 (window-current-scroll-bars): Rewrite doc-string.
12318 Normalize live window argument.
12319 (walk-windows, get-window-with-predicate, count-windows):
12320 Rewrite doc-string. Use window-list-1.
12321 (window-in-direction-2, window-in-direction, get-mru-window):
12324 2011-06-08 Reuben Thomas <rrt@sc3d.org>
12326 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12327 Doc fix (Bug#8713).
12329 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
12331 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12333 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
12335 * loadhist.el (unload-feature-special-hooks):
12336 Add `comint-output-filter-functions'.
12338 2011-06-08 Ivan Kanis <gnu@kanis.fr>
12340 * calendar/appt.el (appt-check): Move some initializations into the let.
12342 2011-06-08 Martin Rudalics <rudalics@gmx.at>
12344 * window.el (window-height): Defalias to window-total-height.
12345 (window-width): Defalias to window-body-width.
12347 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
12349 * image-mode.el (image-toggle-animation): New command.
12350 (image-mode-map): Bind it to RET.
12351 (image-mode): Update message.
12352 (image-toggle-display-image): Avoid a spurious cache flush.
12353 (image-transform-rotation): Doc fix.
12354 (image-transform-properties): Return quickly in the normal case.
12355 (image-animate-loop): Rename from image-animate-max-time.
12357 * image.el (image-animate-max-time): Move to image-mode.el.
12358 (create-animated-image): Remove unnecessary function.
12359 (image-animate): Rename from image-animate-start. New arg.
12360 (image-animate-stop): Remove; just use image-animate-timer.
12361 (image-animate-timer): Use car-safe.
12362 (image-animate-timeout): Rename argument.
12364 2011-06-07 Martin Rudalics <rudalics@gmx.at>
12366 * window.el (get-lru-window, get-largest-window): Move here from
12367 window.c. Rename first argument to ALL-FRAMES.
12368 Rephrase doc-strings.
12369 (get-buffer-window-list): Rewrite using window-list-1.
12370 Rephrase doc-string.
12371 (window-safe-min-height, window-safe-min-width): New constants.
12372 (window-size-ignore, window-min-size, window-min-size-1)
12373 (window-sizable, window-sizable-p, window-size-fixed-1)
12374 (window-size-fixed-p, window-min-delta-1, window-min-delta)
12375 (window-max-delta-1, window-max-delta, window-resizable)
12376 (window-resizable-p, window-total-height, window-total-width)
12377 (window-body-width): New functions.
12378 (window-full-height-p, window-full-width-p): Rewrite using
12380 (window-body-height): Rewrite using window-body-size.
12382 2011-06-06 Martin Rudalics <rudalics@gmx.at>
12384 * window.el (window-right, window-left, window-child)
12385 (window-child-count, window-last-child, window-any-p)
12386 (normalize-live-buffer, normalize-live-frame)
12387 (normalize-any-window, normalize-live-window)
12388 (window-iso-combination-p, window-iso-combined-p)
12389 (window-iso-combinations)
12390 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12391 (windows-with-parameter, window-with-parameter)
12392 (window-atom-root, make-window-atom, window-atom-check-1)
12393 (window-atom-check, window-side-check, window-check):
12395 (ignore-window-parameters, window-sides, window-sides-vertical)
12396 (window-sides-slots): New variables.
12397 (window-size-fixed): Move down in code. Minor doc-string fix.
12399 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
12401 * comint.el (comint-dynamic-complete-as-filename)
12402 (comint-dynamic-complete-filename): Correctly call
12403 completion-in-region.
12405 2011-06-05 Deniz Dogan <deniz@dogan.se>
12407 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12410 2011-06-05 Deniz Dogan <deniz@dogan.se>
12412 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12413 (rcirc): Use it to prompt for encryption.
12415 2011-06-05 Roland Winkler <winkler@gnu.org>
12417 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12418 (bibtex-search-entries): New command bound to C-c C-a.
12419 (bibtex-display-entries): New function.
12421 2011-06-05 Roland Winkler <winkler@gnu.org>
12423 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12424 (bibtex-insert-kill): After yanking insert newline if necessary.
12425 (bibtex-initialize): Call bibtex-string-files-init only once.
12426 (bibtex-mode): Do not call easy-menu-add.
12427 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12428 (bibtex-yank): Set arg properly if nil.
12430 2011-06-05 Roland Winkler <winkler@gnu.org>
12432 * textmodes/bibtex.el (bibtex-search-entry-globally):
12434 (bibtex-search-entry): Use it.
12436 2011-06-05 Roland Winkler <winkler@gnu.org>
12438 * textmodes/bibtex.el (bibtex-entry-format): New option
12440 (bibtex-format-entry, bibtex-reformat): Honor this option.
12441 (bibtex-parse-entry): Return fields in proper order.
12443 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
12445 * doc-view.el (doc-view-remove-if): Move computation of result out
12446 of `dolist' to silence misleading lexical-binding warning.
12448 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
12450 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
12451 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
12453 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
12455 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
12458 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
12460 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
12461 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
12462 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
12463 (tramp-parse-putty):
12464 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12465 (tramp-completion-function-alist-ssh)
12466 (tramp-completion-function-alist-telnet)
12467 (tramp-completion-function-alist-su)
12468 (tramp-completion-function-alist-putty): Set `tramp-autoload'
12471 * net/tramp-ftp.el:
12473 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12474 load "tramp.el" `tramp-set-completion-function'.
12476 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12478 * shell.el: Require and use pcomplete.
12479 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12480 (shell-completion-vars): Set pcomplete-default-completion-function.
12482 2011-06-04 Deniz Dogan <deniz@dogan.se>
12484 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12487 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12489 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12491 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
12493 * bs.el (bs--mark-unmark, bs--nth-wrapper):
12494 * mpc.el (mpc-select-extend, mpc-songpointer-context):
12495 * vc/log-view.el (log-view-beginning-of-defun):
12496 * vc/smerge-mode.el (smerge-apply-resolution-patch)
12497 (smerge-refine-forward, smerge-refine-chopup-region):
12498 Silence warning for unused `dotimes' counter variables.
12500 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12502 * net/tramp.el (tramp-with-progress-reporter): Rename from
12503 with-progress-reporter. Use `declare'.
12504 * net/tramp-smb.el:
12506 * net/tramp-gvfs.el: Update all uses.
12508 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
12510 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12511 buffer isn't killed before making it current.
12513 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12515 Silence various byte-compiler warnings.
12516 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12517 `access-type' and new obsolescence format.
12518 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12520 (byte-compile-check-variable): New `access-type' argument.
12521 Only warn if the access-type is obsolete.
12522 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12523 (byte-compile-variable-set): Adjust callers.
12524 * help-fns.el (describe-variable): Adjust to new obsolescence format.
12525 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12526 setting it as obsolete.
12527 * simple.el (minibuffer-completing-symbol):
12528 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12529 access as obsolete.
12530 * minibuffer.el (minibuffer-completing-file-name): Don't make it
12532 * international/quail.el (quail-mouse-choose-completion): Remove unused
12533 code referring to obsolete var.
12534 (quail-choose-completion-string): Remove.
12535 * server.el (server-clients-with, server-kill-buffer-query-function)
12536 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12537 * proced.el (proced-send-signal):
12538 * emacs-lisp/lisp.el (lisp-complete-symbol):
12539 Replace completion-annotate-function with completion-extra-properties.
12541 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12543 * simple.el (goto-line): Use read-number.
12544 (overriding-map-is-bound): Remove.
12545 (saved-overriding-map): Change default.
12546 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12547 Take the map as argument.
12548 (universal-argument, negative-argument, digit-argument): Use it.
12549 (restore-overriding-map): Adjust.
12550 (do-auto-fill): Use fill-forward-paragraph.
12551 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12553 * minibuffer.el (minibuffer-inactive-mode-map): New var.
12554 (minibuffer-inactive-mode): New major mode.
12555 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12556 the *Messages* buffer" hack.
12557 (mouse-popup-menubar): Don't burp if the event is a normal key.
12559 Miscellaneous tweaks.
12560 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12561 lexical scoping as in subr.el's dolist and dotimes.
12562 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12563 Silence compiler warning.
12564 * thingatpt.el (forward-whitespace): Trivial coding style fix.
12565 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12566 * international/ccl.el (ccl-compile): Trivial simplification.
12567 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12568 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12569 `printflag' argument.
12570 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12571 Purecopy the whole obsolescence data.
12573 2011-06-01 Leo Liu <sdl.web@gmail.com>
12575 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12576 improve doc-string as suggested by Marco Pessotto
12577 <melmothx@gmail.com>.
12578 (rcirc-print): Fix last change.
12580 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12582 * minibuffer.el (complete-with-action): Return nil for the metadata and
12583 boundaries of non-functional tables.
12584 (completion-table-dynamic): Return nil for the metadata.
12585 (completion-table-with-terminator): Add default case, using
12586 complete-with-action.
12587 (completion--metadata): New function.
12588 (completion-all-sorted-completions, minibuffer-completion-help): Use it
12589 to try and avoid pathological performance problems.
12590 (completion--embedded-envvar-table): Return `category' metadata.
12592 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
12594 * subr.el (process-alive-p): New tiny convenience function.
12596 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12598 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12599 content but also its previous major mode.
12601 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
12603 * emacs-lisp/debug.el (debug): Restore the previous content of the
12604 *Backtrace* buffer when we exit with C-M-c.
12606 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12608 * minibuffer.el: Add metadata method to completion tables.
12609 (completion-category-overrides): New defcustom.
12610 (completion-metadata, completion--field-metadata)
12611 (completion-metadata-get, completion--styles)
12612 (completion--cycle-threshold): New functions.
12613 (completion-try-completion, completion-all-completions):
12614 Add `metadata' argument to choose completion-styles.
12615 (completion--do-completion): Use metadata to choose cycling.
12616 (completion-all-sorted-completions): Use metadata for sorting.
12617 Remove :completion-cycle-penalty which is not needed any more.
12618 (completion--try-word-completion): Add `metadata' argument.
12619 (minibuffer-completion-help): Check metadata for annotation function
12621 (completion-file-name-table): Return `category' metadata.
12622 (minibuffer-completing-file-name): Make obsolete.
12623 * simple.el (minibuffer-completing-symbol): Make obsolete.
12624 * icomplete.el (icomplete-completions): Pass new `metadata' param to
12625 completion-try-completion.
12627 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12629 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12631 2011-05-30 Leo Liu <sdl.web@gmail.com>
12633 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
12634 (rcirc-print): Decode all incoming messages (bug#8744).
12635 (rcirc-decode-coding-system): Allow value nil for automatic coding
12638 2011-06-01 Glenn Morris <rgm@gnu.org>
12640 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12642 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12644 * image.el (image-animate-max-time): Allow nil and t values.
12646 (create-animated-image): Doc fix.
12647 (image-animate-start): Remove second arg; just use
12648 image-animate-max-time.
12649 (image-animate-timeout): Doc fix. Args changed.
12651 * image-mode.el (image-toggle-display-image): Ensure that the
12652 image spec passed to the animate timer is the same object as in
12653 the buffer's display property (Bug#6981).
12654 (image-transform-properties): Doc fix.
12656 * image.el (image-animate-max-time): Default to nil.
12658 2011-05-29 Martin Rudalics <rudalics@gmx.at>
12660 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12661 entire buffer list (Bug#8184).
12663 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12665 * image.el (imagemagick-types-inhibit)
12666 (imagemagick-register-types): Doc fix.
12668 2011-05-29 Deniz Dogan <deniz@dogan.se>
12670 * net/rcirc.el (rcirc): Use the user's stored encryption method by
12673 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12675 * select.el: Don't perform clipboard-manager saving in hooks;
12676 leave the hooks empty.
12678 2011-05-28 Leo Liu <sdl.web@gmail.com>
12680 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
12681 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
12682 (occur-edit-mode): New major mode (Bug#8463).
12683 (occur-after-change-function): New function.
12684 (occur-engine): Give Occur tags a read-only property.
12686 2011-05-28 Kevin Ryde <user42@zip.com.au>
12688 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
12690 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
12692 * bindings.el (help-echo): Make the initial non-indicator dash
12693 empty on graphical terminals (Bug#7295).
12695 * files.el (auto-mode-alist): Move config rule after the
12696 in-stripping one (Bug#8547).
12698 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
12700 * startup.el (normal-splash-screen): Remove gratuitous mode-line
12701 setting (Bug#8740).
12703 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
12705 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
12706 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
12709 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
12711 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
12713 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
12715 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
12716 (hs-hide-block-at-point, hs-find-block-beginning)
12717 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
12720 2011-05-28 Glenn Morris <rgm@gnu.org>
12722 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
12724 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
12726 * help-fns.el (describe-function-1): If the function is a derived
12727 major mode, print the parent mode.
12729 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
12730 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
12732 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12734 * minibuffer.el (completion--capf-wrapper): Check applicability before
12735 returning non-nil for non-exclusive completion data.
12736 * progmodes/etags.el (tags-completion-at-point-function):
12737 * info-look.el (info-lookup-completions-at-point): Mark as
12739 (info-complete): Adjust accordingly.
12741 * info-look.el: Convert to lexical-binding and completion-at-point.
12742 (info-lookup-completions-at-point): New function.
12743 (info-complete): Use it and completion-in-region.
12745 2011-05-28 Drew Adams <drew.adams@oracle.com>
12747 * isearch.el: Let M-e start with point at the first mismatched char.
12748 (isearch-fail-pos): New function.
12749 (isearch-edit-string): Use it.
12751 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12753 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12755 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
12757 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
12758 traversal functions for avl-trees.
12759 (avl-tree--stack): New struct.
12760 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12761 (avl-tree-enter): Add optional `updatefun' arg.
12762 (avl-tree--do-enter): Add optional `updatefun' arg.
12763 Change return value.
12764 (avl-tree-delete): Add optional `test' and `nilflag' args.
12765 (avl-tree--do-delete): Add `test' and `nilflag' args.
12766 Change return value.
12767 (avl-tree-member): Add optional `nilflag'
12768 (avl-tree-member-p): New function.
12769 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12770 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12771 (avl-tree-stack-empty-p): New functions.
12773 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12774 avl-tree--del-balance1 and make it work both ways.
12775 (avl-tree--del-balance2): Remove.
12776 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12777 make it work both ways.
12778 (avl-tree--enter-balance2): Remove.
12779 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12781 (avl-tree--mapc, avl-tree-map): Add direction argument.
12783 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
12785 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12787 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
12789 * select.el: Support clipboard managers with built-in function
12790 x-clipboard-manager-save, via delete-frame-functions and
12792 (xselect-convert-to-targets): Add MULTIPLE target to list.
12793 (xselect-convert-to-save-targets): New function.
12795 2011-05-27 Kenichi Handa <handa@m17n.org>
12797 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12798 let-binding rfc2047-encode-encoded-words to nil.
12800 2011-05-27 Glenn Morris <rgm@gnu.org>
12802 * mail/emacsbug.el: Don't require url-util.
12804 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12806 * files.el (set-auto-mode):
12807 Also respect mode: entries at the end of the file. (Bug#8586)
12809 2011-05-26 Glenn Morris <rgm@gnu.org>
12811 * files.el (hack-local-variables-prop-line, hack-local-variables):
12812 Downcase mode names, as seems to be traditional.
12813 (hack-local-variables, hack-local-variables-apply): Doc fixes.
12815 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12816 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12818 2011-05-25 Julien Danjou <julien@danjou.info>
12820 * textmodes/rst.el (rst-define-level-faces): Do not define face
12821 symbol if it is already defined.
12823 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
12825 * play/5x5.el (5x5-new-game, 5x5-randomize):
12826 Reset 5x5-solver-output to nil when a new grid is cast.
12827 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12828 these debugging traces, as defmacro breaks the compiled code.
12830 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12832 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12834 2011-05-24 Leo Liu <sdl.web@gmail.com>
12836 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12837 (vc-bzr-sha1): Adapt.
12839 * sha1.el: Remove. Function `sha1' is now builtin.
12841 * bindings.el: Provide sha1 feature.
12843 2011-05-24 Kenichi Handa <handa@m17n.org>
12845 * mail/sendmail.el: Require `rfc2047'.
12846 (mail-insert-from-field): Do not perform RFC2047 encoding.
12847 (mail-encode-header): New function.
12848 (sendmail-send-it): Set buffer-file-coding-system of the work
12849 buffer to the return value of select-message-coding-system.
12850 Call mail-encode-header.
12852 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12854 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
12856 * mail/supercite.el (sc-default-cite-frame):
12857 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
12859 2011-05-24 Glenn Morris <rgm@gnu.org>
12861 * progmodes/python.el (brm-menu): Declare.
12863 * emulation/viper.el (viper-set-hooks): Declare.
12865 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12866 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12867 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12868 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12869 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12870 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12872 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12874 Add an :exit-function for completion-at-point.
12876 * minibuffer.el (completion--done): New fun.
12877 (completion--do-completion): Use it. New arg `expect-exact'.
12878 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12879 since completion--do-completion does it for us now.
12880 (minibuffer-force-complete): Use completion--done and
12881 completion--replace. Handle sole-completion case with more care.
12882 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12883 (completion-extra-properties): New var.
12884 (completion-annotate-function): Make obsolete.
12885 (minibuffer-completion-help): Adjust accordingly.
12886 Use completion-list-insert-choice-function.
12887 (completion-at-point, completion-help-at-point):
12888 Bind completion-extra-properties.
12889 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12890 * simple.el (completion-list-insert-choice-function): New var.
12891 (completion-setup-function): Preserve it.
12892 (choose-completion): Pay attention to it, shuffle the code a bit.
12893 (choose-completion-string): New arg `insert-function'.
12895 * textmodes/bibtex.el: Convert to lexical binding.
12896 (bibtex-mode-map): Use completion-at-point.
12897 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12898 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12899 (bibtex-complete): Define as obsolete alias.
12900 (bibtex-complete-internal): Remove.
12901 (bibtex-format-entry): Remove unused sub-group in regexp.
12902 * shell.el (shell--command-completion-data)
12903 (shell-environment-variable-completion):
12904 * pcomplete.el (pcomplete-completions-at-point):
12905 * comint.el (comint--complete-file-name-data): Use :exit-function
12906 instead of completion-table-with-terminator so it also works for
12909 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12911 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12913 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12916 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12918 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12920 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12921 customization variable and implement: If non-nil, auto-fill will
12922 be inhibited while on topic's header line.
12924 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
12926 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
12927 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
12928 always have a solution in grid size = 5 cases.
12929 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12930 (5x5-solver-output, 5x5-log-buffer): New vars.
12931 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12932 Make these variables buffer local to achieve 5x5 multi-session-ness.
12933 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12934 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12935 (5x5-solve-suggest): New funs.
12936 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12937 randomize a grid so that we ensure that there is always a solution.
12938 (5x5-make-random-grid): Allow other movement than flipping.
12940 2011-05-23 Kevin Ryde <user42@zip.com.au>
12942 * emacs-lisp/advice.el (ad-read-advised-function):
12943 Use `function-called-at-point' as the default, if it has
12944 advice and passes PREDICATE.
12946 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12948 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12949 byte-compile-lambda if it's actually a lambda.
12951 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12952 Fix function quoting. Use backquote better.
12954 2011-05-22 Yuanle Song <sylecn@gmail.com>
12956 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12957 matching (Bug#8516).
12959 2011-01-22 Jari Aalto <jari.aalto@cante.net>
12961 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12962 different face (Bug#8178).
12964 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
12966 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12967 defface (Bug#8144).
12969 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12971 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12972 funcall as well (bug#8712). Warn when performing those conversions.
12973 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12975 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12977 2011-05-22 Glenn Morris <rgm@gnu.org>
12979 * files.el (hack-local-variables-prop-line): Small simplifications.
12980 (hack-local-variables, hack-local-variables-prop-line):
12981 If MODE-ONLY, return the mode, rather than just `t'.
12983 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12985 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12987 2011-05-21 Glenn Morris <rgm@gnu.org>
12989 * files.el (hack-local-variables-prop-line, hack-local-variables):
12990 If only interested in the mode, don't bother doing the other stuff.
12992 * image-mode.el (image-after-revert-hook):
12993 Redraw all frames on which the image is visible. (Bug#8567)
12995 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12997 * wid-edit.el (widget-checklist-match-inline):
12998 Fix 2011-04-19 change. (Bug#8649)
13000 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
13002 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
13003 Also allow singlespace after single-letter capitals followed by a dot.
13005 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
13006 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
13008 2011-05-20 Nix <nix@esperi.org.uk>
13010 * files.el (basic-save-buffer-2):
13011 Fix handling of break-hardlink-on-save with non-existent files.
13013 2011-05-19 Deniz Dogan <deniz@dogan.se>
13015 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
13016 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
13018 2011-05-19 Glenn Morris <rgm@gnu.org>
13020 * progmodes/f90.el (f90-type-def-re):
13021 Handle "type, bind(c)". (Bug#8691)
13023 * emacs-lisp/autoload.el (batch-update-autoloads):
13024 Set autoload-excludes by parsing loadup.el rather than Makefiles.
13026 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
13028 * net/tramp.el (tramp-process-actions): Set "first-password-request"
13029 property for the correct connection in case of multihops.
13031 2011-05-18 Glenn Morris <rgm@gnu.org>
13033 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
13034 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
13036 Rationalize calendar handling of day and month abbrev-arrays.
13037 * calendar/calendar.el (calendar-customized-p): New function.
13038 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
13039 (calendar-day-name-array, calendar-month-name-array): Doc fix.
13041 (calendar-abbrev-length, calendar-day-abbrev-array)
13042 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
13043 (calendar-day-abbrev-array, calendar-month-abbrev-array):
13044 Elements may no longer be nil.
13045 (calendar-day-name, calendar-month-name):
13046 Update for changed nature of abbrev arrays.
13047 * calendar/diary-lib.el (diary-name-pattern):
13048 Update for changed nature of abbrev arrays.
13049 (diary-mark-entries-1): Update calendar-make-alist calls.
13050 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
13051 * calendar/cal-html.el (cal-html-day-abbrev-array):
13052 Simply inherit from calendar-day-abbrev-array.
13054 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13056 * progmodes/grep.el (grep-mode): Disable default
13057 compilation-directory-matcher setting (bug#8684).
13059 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
13061 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
13062 instead of "head" and "tail". There were problems with SunOS 5.9,
13063 and it performs better.
13065 2011-05-17 Glenn Morris <rgm@gnu.org>
13067 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
13069 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
13070 Replace obsolete function.
13072 * shell.el (pcomplete-parse-arguments-function): Declare.
13074 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
13075 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
13076 (appt-check): Doc fixes.
13077 (appt-disp-window-function, appt-delete-window-function):
13078 Remove needless special case in custom :type.
13079 (appt-display-count): Default to 0, not nil.
13080 (appt-check): Reset appt-display-count to 0, not nil.
13082 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
13084 * progmodes/python.el (python-font-lock-keywords):
13085 Add the Python 3.X keyword "nonlocal" (bug#8639).
13087 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13089 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
13091 2011-05-16 Kevin Ryde <user42@zip.com.au>
13093 * info-look.el (makefile-automake-mode): New setups, looking in
13094 automake manual, then makefile-mode.
13095 (makefile-mode): Remove automake manual, have it just in
13096 makefile-automake-mode since there's various things different or
13097 not relevant to plain make.
13098 (makefile-mode): Remove "other-modes" non-existent automake-mode,
13099 believe a hypothetical automake-mode would go to makefile-mode,
13100 not the other way around.
13102 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
13104 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
13105 hunk-end tags (Bug#8672).
13107 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
13108 vc-annotate-show-diff-revision-at-line (Bug#8671).
13110 2011-05-14 Glenn Morris <rgm@gnu.org>
13112 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
13113 in the middle of an existing one with multiple authors. (Bug#8645)
13114 (change-log-font-lock-keywords): Also handle multiple author lines
13115 with leading tabs. (Bug#8644)
13117 * calendar/appt.el (appt-check): Rename some local variables.
13118 Some simplification/reordering.
13120 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
13121 (feedmail-sendmail-f-doesnt-sell-me-out)
13122 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13123 (feedmail-debug-sit-for, feedmail-queue-express-hook)
13124 (feedmail-queue-runner-message-sender): Set :version.
13125 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
13126 (bbdb-dwim-net-address, vm-mail): Declare.
13127 (feedmail-binmail-gnulinuxish-template):
13128 Rename from feedmail-binmail-linuxish-template.
13129 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
13130 Use insert-buffer-substring.
13132 2011-05-14 Bill Carpenter <bill@carpenter.org>
13134 * mail/feedmail.el (feedmail-patch-level): Increase.
13135 (feedmail-debug): New custom group.
13136 (feedmail-confirm-outgoing-timeout)
13137 (feedmail-sendmail-f-doesnt-sell-me-out)
13138 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
13139 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
13140 (feedmail-sender-line, feedmail-from-line)
13141 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
13142 (feedmail-spray-this-address)
13143 (feedmail-spray-address-fiddle-plex-list)
13144 (feedmail-queue-use-send-time-for-date)
13145 (feedmail-queue-use-send-time-for-message-id)
13146 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
13147 (feedmail-buffer-eating-function):
13149 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
13150 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
13151 (feedmail-message-action-scroll-down): New functions.
13152 (feedmail-queue-directory, feedmail-queue-draft-directory):
13153 Use expand-file-name.
13154 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
13155 Remove C-v help entry.
13156 (feedmail-queue-buffer-file-name): New variable.
13157 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
13158 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
13159 (feedmail-message-action-send-strong, feedmail-message-action-edit)
13160 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
13161 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
13162 (feedmail-message-action-toggle-spray)
13163 (feedmail-run-the-queue-no-prompts)
13164 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
13165 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
13166 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
13167 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
13168 (feedmail-envelope-deducer, feedmail-fiddle-from)
13169 (feedmail-fiddle-sender, feedmail-default-date-generator)
13170 (feedmail-fiddle-date, feedmail-fiddle-message-id)
13171 (feedmail-fiddle-spray-address)
13172 (feedmail-fiddle-list-of-spray-fiddle-plexes)
13173 (feedmail-fiddle-list-of-fiddle-plexes)
13174 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
13175 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
13176 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
13177 Change default. Doc fix.
13178 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
13179 (feedmail-binmail-linuxish-template): New constant.
13180 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
13181 Respect feedmail-sendmail-f-doesnt-sell-me-out.
13182 (feedmail-send-it): Add debug call.
13183 Use feedmail-queue-buffer-file-name, and
13184 feedmail-send-it-immediately-wrapper.
13185 (feedmail-message-action-send): Add debug call.
13186 Use feedmail-send-it-immediately-wrapper.
13187 (feedmail-queue-express-to-queue): Add debug call.
13188 Run feedmail-queue-express-hook.
13189 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
13190 (feedmail-message-action-help-blat):
13191 Rename from feedmail-queue-send-edit-prompt-help-first.
13192 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
13193 Check line-endings. Handle errors better.
13194 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
13195 Doc fix. Add debug call.
13196 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
13197 Use feedmail-queue-send-edit-prompt-inner.
13198 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
13199 (feedmail-queue-send-edit-prompt-inner): New function, extracted
13200 from feedmail-queue-send-edit-prompt.
13201 (feedmail-queue-send-edit-prompt-help)
13202 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
13203 (feedmail-tidy-up-slug): Add debug call.
13204 Respect feedmail-queue-slug-suspect-regexp.
13205 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
13206 (feedmail-dump-message-to-queue): Add debug call.
13207 Expand queue-directory.
13208 (feedmail-dump-message-to-queue): Change message slightly.
13209 Use feedmail-say-chatter.
13210 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
13211 (feedmail-send-it-immediately-wrapper): New function.
13212 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
13213 Insert empty string rather than newline. Handle full-frame case.
13214 Use catch/throw. Use feedmail-say-chatter.
13215 (feedmail-fiddle-from): Try mail-host-address.
13216 (feedmail-default-message-id-generator): Doc fix.
13217 Bind system-time-locale. Handle missing end.
13218 (feedmail-fiddle-x-mailer): Add debug call.
13219 Handle feedmail-x-mailer-line being nil.
13220 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
13221 Add debug call. Use buffer-substring-no-properties.
13222 (feedmail-say-debug, feedmail-say-chatter): New functions.
13223 (feedmail-find-eoh): Give an explicit error.
13225 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
13227 * net/newst-treeview.el (newsticker-treeview-face): Change default
13228 family from helvetica to sans.
13229 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
13230 etc/images/newsticker.
13232 * net/newst-reader.el (newsticker-feed-face): Change default
13233 family from helvetica to sans.
13235 * net/newst-plainview.el (newsticker-new-item-face)
13236 (newsticker-old-item-face, newsticker-immortal-item-face)
13237 (newsticker-obsolete-item-face, newsticker-date-face)
13238 (newsticker-statistics-face): Change default family from
13240 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
13241 etc/images/newsticker.
13243 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
13244 (newsticker--process-auto-mark-filter-match): Tell user about
13247 2011-05-13 Didier Verna <didier@xemacs.org>
13249 Common Lisp indentation improvements on defmethod and lambda-lists.
13250 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13252 (lisp-lambda-list-keyword-parameter-indentation)
13253 (lisp-lambda-list-keyword-parameter-alignment)
13254 (lisp-lambda-list-keyword-alignment): New customizable user options.
13255 (lisp-indent-defun-method): Improve docstring.
13256 (extended-loop-p): Fix comment.
13257 (lisp-indent-lambda-list-keywords-regexp): New variable.
13258 (lisp-indent-lambda-list): New function.
13259 (lisp-indent-259): Use it.
13260 (lisp-indent-defmethod): Support for more than one
13261 method qualifier and properly indent methods lambda-lists.
13262 (defgeneric): Provide a missing common-lisp-indent-function property.
13264 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13266 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13267 bounds for the empty string (bug#8667).
13269 2011-05-13 Glenn Morris <rgm@gnu.org>
13271 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13273 * mail/sendmail.el (sendmail-program): Try executable-find first.
13274 (sendmail-send-it): `sendmail-program' cannot be unbound.
13276 * calendar/appt.el (appt-make-list): Simplify.
13277 (appt-time-msg-list): Doc fix.
13278 (appt-check): Change mode-line message at the time of the appointment.
13280 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
13282 * progmodes/ld-script.el (ld-script-keywords)
13283 (ld-script-builtins): Update keywords list.
13285 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13287 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13289 * shell.el (shell-completion-vars): New function.
13291 * simple.el (read-shell-command): Use it.
13292 (blink-matching-open): No need for " [...]" in minibuffer-message.
13294 2011-05-12 Glenn Morris <rgm@gnu.org>
13296 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13297 (appt-check): Simplify.
13299 2011-05-12 Eli Zaretskii <eliz@gnu.org>
13301 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
13302 literal "/dev/null".
13304 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13306 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13309 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
13311 * progmodes/which-func.el (which-function):
13312 Use add-log-current-defun instead of add-log-current-defun-function,
13313 which might not be defined (Bug#8260).
13315 2011-05-12 Glenn Morris <rgm@gnu.org>
13317 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13318 Let byte-compile-initial-macro-environment always take precedence.
13320 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13322 * net/rcirc.el: Add support for SSL/TLS connections.
13323 (rcirc-server-alist): New field `encryption'.
13324 (rcirc): Check `encryption' settings.
13325 (rcirc-connect): New arg `encryption'. Use open-network-stream.
13326 Merge make-local-variable into `set'.
13327 (rcirc--connection-open-p): New function.
13328 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13329 the process is not a network process (e.g. running gnutls-cli).
13330 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13331 Make rcirc-(en|de)code-coding-system local here.
13332 (rcirc-mode): Merge make-local-variable into `set'.
13333 (rcirc-parent-buffer): Make permanent buffer-local.
13334 (rcirc-multiline-minor-mode): Don't do it here.
13335 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13336 there's no server buffer.
13338 2011-05-11 Glenn Morris <rgm@gnu.org>
13340 * newcomment.el (comment-kill): Prefix "unused" local.
13342 * term/w32console.el (get-screen-color): Declare.
13344 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13345 Handle symbol elements of byte-compile-initial-macro-environment.
13347 2011-05-10 Leo Liu <sdl.web@gmail.com>
13349 * bookmark.el (bookmark-bmenu-mode-map):
13350 Bind bookmark-bmenu-search to `/'.
13352 * mail/footnote.el: Convert to utf-8 encoding.
13353 (footnote-unicode-string, footnote-unicode-regexp): New variable.
13354 (Footnote-unicode): New function.
13355 (footnote-style-alist): Add unicode style to the list.
13356 (footnote-style): Doc fix.
13358 2011-05-10 Jim Meyering <meyering@redhat.com>
13360 Fix doubled-word typos.
13361 * international/quail.el (quail-insert-kbd-layout): and and -> and
13362 * kermit.el: and and -> and
13363 * net/ldap.el (ldap-search-internal): to to -> to
13364 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13365 * progmodes/js.el (js-mode): and and -> and
13366 * textmodes/artist.el (artist-move-to-xy): at at -> at
13367 (artist-draw-region-trim-line-endings): if if -> if
13368 And Safetyc -> Safety.
13369 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13371 2011-05-10 Glenn Morris <rgm@gnu.org>
13372 Stefan Monnier <monnier@iro.umontreal.ca>
13374 * files.el (hack-one-local-variable-eval-safep):
13375 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
13377 2011-05-10 Glenn Morris <rgm@gnu.org>
13379 * calendar/diary-lib.el (diary-list-entries-hook)
13380 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13381 (diary-nongregorian-marking-hook, diary-list-entries)
13382 (diary-include-other-diary-files, diary-mark-entries)
13383 (diary-mark-included-diary-files): Doc fixes.
13385 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
13387 * misc.el: Require tabulated-list.el during compilation.
13389 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
13391 * progmodes/compile.el (compilation-start):
13392 Run compilation-filter-hook for the async case too.
13393 (compilation-filter-hook): Doc fix.
13395 2011-05-09 Deniz Dogan <deniz@dogan.se>
13397 * wdired.el: Remove outdated installation comment. Fix usage
13400 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
13402 * misc.el: Implement new command `list-dynamic-libraries'.
13403 (list-dynamic-libraries--loaded-only-p): New variable.
13404 (list-dynamic-libraries--refresh): New function.
13405 (list-dynamic-libraries): New command.
13407 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
13409 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13410 Fix the ant regexp to handle end-line and end-column info from jikes.
13411 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
13412 higher priority to avoid clobbering by gnu.
13414 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
13416 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13417 if the face has existing theme settings (Bug#8454).
13419 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
13421 * progmodes/perl-mode.el (perl-imenu-generic-expression):
13422 Only match variables declared via `my' or `our' (Bug#8261).
13424 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13425 special file names `.' and `..' (Bug#8259).
13427 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
13429 * progmodes/grep.el (grep-mode-font-lock-keywords):
13430 Remove buffer-changing entries.
13431 (grep-filter): New function.
13432 (grep-mode): Add it to compilation-filter-hook.
13434 * progmodes/compile.el (compilation-filter-hook)
13435 (compilation-filter-start): New defvars.
13436 (compilation-filter): Call compilation-filter-hook prior to
13437 updating the process mark.
13439 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13441 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
13443 2011-05-07 Eli Zaretskii <eliz@gnu.org>
13445 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
13446 mailclient-send-it even if window-system is nil. (Bug#8595)
13448 * term/w32console.el (terminal-init-w32console):
13449 Call get-screen-color and use its output to set the frame
13450 background-mode. (Bug#8597)
13452 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13454 Make bytecomp.el understand that defmethod defines funs (bug#8631).
13455 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
13457 (defgeneric, eieio--defmethod): Use them.
13458 (eieio-defgeneric): Remove.
13459 (defmethod): Call defgeneric in a way visible to the byte-compiler.
13461 2011-05-07 Glenn Morris <rgm@gnu.org>
13463 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13464 Use let rather than let*.
13465 (timeclock-find-discrep): Remove unused local.
13467 * calendar/diary-lib.el (diary-comment-start): Doc fix.
13469 * calendar/appt.el (appt-time-msg-list): Doc fix.
13471 2011-05-06 Noah Friedman <friedman@splode.com>
13473 * apropos.el (apropos-print-doc): Only use
13474 emacs-lisp-docstring-fill-column when it is bound to an integer,
13475 per that variable's documentation.
13477 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13479 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
13480 and warnings are not silently discarded (e.g. use -d instead of -P).
13482 2011-05-06 Glenn Morris <rgm@gnu.org>
13484 * calendar/appt.el (appt-message-warning-time): Doc fix.
13485 (appt-warning-time-regexp): New option.
13486 (appt-make-list): Respect appt-message-warning-time.
13488 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13490 (diary-add-to-list): Strip comments from the displayed string.
13491 (diary-mode): Set comment-start and comment-end.
13493 * vc/diff-mode.el (smerge-refine-subst): Declare.
13494 (diff-refine-hunk): Don't require smerge-mode when compiling.
13496 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
13498 * simple.el (list-processes): Return nil as the docstring says.
13500 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
13502 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13504 (ange-ftp-write-region, ange-ftp-insert-file-contents)
13505 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13506 determining of binary transfer. (Bug#7383)
13508 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
13510 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13511 Fix port computation bug. (Bug#8618)
13513 2011-05-05 Glenn Morris <rgm@gnu.org>
13515 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13517 * simple.el (shell-dynamic-complete-functions)
13518 (comint-dynamic-complete-functions): Declare.
13520 * net/network-stream.el (gnutls-negotiate):
13521 * simple.el (tabulated-list-print): Fix declarations.
13523 * progmodes/gud.el (syntax-symbol, syntax-point):
13524 Remove unnecessary and incorrect declarations.
13526 * emacs-lisp/check-declare.el (check-declare-scan):
13527 Handle byte-compile-initial-macro-environment in bytecomp.el
13529 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13531 Fix earlier half-done eieio-defmethod change (bug#8338).
13532 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13533 Streamline and change calling convention.
13534 (defmethod): Adjust accordingly and simplify.
13535 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13536 new eieio--defmethod.
13537 (slot-boundp): Minor CSE simplification.
13539 2011-05-05 Milan Zamazal <pdm@zamazal.org>
13541 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13542 (glasses-make-readable): Use glasses-separate-capital-groups.
13544 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
13546 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13547 (warning-series): Doc fix.
13548 (display-warning): Don't try to create the buffer if we just found it.
13550 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
13552 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13553 (autoload-find-generated-file): New function.
13554 (generate-file-autoloads): Bind generated-autoload-file to
13556 (update-file-autoloads, update-directory-autoloads):
13557 Use autoload-find-generated-file. If called interactively, prompt for
13558 output file (Bug#7989).
13559 (batch-update-autoloads): Doc fix.
13561 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
13563 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13565 2011-05-04 Glenn Morris <rgm@gnu.org>
13567 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13568 function, so it follows changes in calendar-date-style.
13569 (diary-fancy-date-matcher): New function.
13570 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13571 (diary-fancy-font-lock-fontify-region-function):
13572 Use diary-fancy-date-pattern as a function.
13574 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13575 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13577 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
13579 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13580 instead of positional arguments. Allow :keylist and :crlfiles
13582 (open-gnutls-stream): Call it.
13584 * net/network-stream.el (network-stream-open-starttls): Adjust to
13585 call `gnutls-negotiate' with :process and :hostname arguments.
13587 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13589 * minibuffer.el (completion--message): New function.
13590 (completion--do-completion, minibuffer-complete)
13591 (minibuffer-force-complete, minibuffer-complete-word): Use it.
13592 (completion--do-completion): Don't ignore completion-auto-help when in
13595 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13596 internal encoding (e.g. tibetan zero is not whitespace).
13597 (global-whitespace-mode): Prefer save-current-buffer.
13598 (whitespace-trailing-regexp): Remove useless save-match-data.
13599 (whitespace-empty-at-bob-regexp): Minor simplification.
13601 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
13603 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13605 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13607 * textmodes/ispell.el (ispell-add-per-file-word-list):
13608 Use `concat' to create string for insertion.
13610 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13612 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13613 Avoid open-line which runs post-self-insert-hook.
13614 (bibtex-fill-entry): Remove unused `end' var.
13616 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
13618 * textmodes/ispell.el (ispell-add-per-file-word-list):
13619 Protect against `nil' value of `comment-start' (Bug#8579).
13621 2011-05-03 Leo Liu <sdl.web@gmail.com>
13623 * isearch.el (isearch-yank-pop): New command.
13624 (isearch-mode-map): Bind it to `M-y'.
13625 (isearch-forward): Mention it.
13627 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13629 * simple.el (minibuffer-complete-shell-command): Remove.
13630 (minibuffer-local-shell-command-map): Use completion-at-point.
13631 (read-shell-command): Setup completion vars here instead.
13632 (read-expression-map): Bind TAB to symbol completion.
13634 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13635 error directly rather via storing it into `results'.
13637 2011-05-02 Leo Liu <sdl.web@gmail.com>
13639 * vc/diff.el: Fix description.
13641 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13643 * server.el (server-eval-at): New function.
13645 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13647 * net/network-stream.el (open-network-stream): Take a :nowait
13648 parameter and pass it on to `make-network-process'.
13649 (network-stream-open-plain): Ditto.
13651 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
13653 * faces.el (face-spec-set-match-display): Don't match toolkit
13654 options on terminal frames.
13656 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
13658 * progmodes/pascal.el: Use lexical binding.
13659 (pascal-mode-map): Remove author preferences.
13661 * pcomplete.el (pcomplete-std-complete): Don't abuse
13662 completion-at-point.
13664 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
13666 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13667 removing code that has been dead since 1991 or so.
13669 * startup.el (command-line): When warning about "_emacs", use a
13670 delayed warning to allow the user to filter it out.
13672 2011-04-28 Deniz Dogan <deniz@dogan.se>
13674 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13675 user has not joined.
13677 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13679 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
13680 aren't any completions at point.
13682 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
13684 * subr.el (display-delayed-warnings): New function.
13685 (delayed-warnings-hook): New variable.
13687 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13689 * minibuffer.el (completion-at-point, completion-help-at-point):
13690 Don't presume that a given completion-at-point-function will always
13691 use the same calling convention.
13693 * pcomplete.el (pcomplete-completions-at-point):
13694 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
13695 pcomplete-seen is non-nil.
13696 (pcomplete-comint-setup): Also recognize the new comint/shell
13697 completion functions.
13698 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
13699 pcomplete-seen is non-nil.
13701 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
13703 * calendar/icalendar.el (diary-lib): Add require statement.
13704 (icalendar--create-uid): Read out a uid from a text-property on
13705 the first character in the entry. This allows for code to add its
13706 own uid to the entry.
13707 (icalendar--convert-float-to-ical): Add export of
13708 `diary-float'-entries save for those with the optional DAY
13711 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
13713 * subr.el (shell-quote-argument): Use alternate escaping strategy
13714 when we spot a variable reference in a string.
13716 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13718 * cus-start.el (all): Define customization for debug-on-event.
13720 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13722 * subr.el (shell-quote-argument): Escape correctly under Windows.
13724 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13726 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
13728 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
13730 * net/tramp.el (tramp-process-actions): Add POS argument.
13731 Delete region between POS and (pos).
13733 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13734 Use `nil' position in `tramp-process-actions' call.
13735 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
13737 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
13738 position in `tramp-process-actions' call.
13740 * net/trampver.el: Update release number.
13742 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13744 * custom.el (defcustom): Obey lexical-binding.
13746 Fix octave-inf completion problems reported by Alexander Klimov.
13747 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
13748 Inherit from octave-mode-syntax-table.
13749 (inferior-octave-mode): Set info-lookup-mode.
13750 (inferior-octave-completion-at-point): New function.
13751 (inferior-octave-complete): Use it and completion-in-region.
13752 (inferior-octave-dynamic-complete-functions): Use it as well, and use
13753 comint-filename-completion.
13754 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13755 symbol elements which shouldn't be word elements.
13756 (octave-font-lock-keywords, octave-beginning-of-defun)
13757 (octave-function-header-regexp): Adjust regexps accordingly.
13758 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13760 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
13762 * net/gnutls.el (gnutls-errorp): Declare before first use.
13764 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
13766 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13767 verify-error, and verify-hostname-error parameters. Check whether
13768 default trustfile exists before going to use it. Add missing
13769 argument to gnutls-message-maybe call. Return value.
13770 Reported by Claudio Bley <claudio.bley@gmail.com>.
13771 (open-gnutls-stream): Add usage example.
13773 * net/network-stream.el (network-stream-open-starttls): Give host
13774 parameter to `gnutls-negotiate'.
13775 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
13776 * subr.el (shell-quote-argument): Escape correctly under Windows.
13778 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
13780 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13781 Use correct match group (bug#8438).
13783 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
13785 * emacs-lisp/package.el (package-built-in-p): Fix typo.
13786 (package-menu--generate): New arg specifying packages to show.
13787 (package-menu-refresh, package-menu-execute, list-packages):
13789 (package-show-package-list): New function, replacing deleted
13790 package--list-packages (renamed because it is non-internal).
13792 * finder.el (finder-list-matches): Use package-show-package-list
13793 instead of deleted package--list-packages.
13795 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13796 Based on a previous implementation by Juanma Barranquero (Bug#8366).
13797 (vc-annotate-mode-map): Bind it to RET.
13799 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13801 * progmodes/etags.el (next-file): Don't use set-buffer to change
13802 buffers (Bug#8478).
13804 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
13806 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13808 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13809 (apropos-accumulator): Doc fix.
13810 (apropos-function, apropos-macro, apropos-command)
13811 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13812 (apropos-plist): Add face property.
13813 (apropos-symbols-internal): Fix indentation.
13814 (apropos-print): Simplify help, and recognize apropos-multi-type.
13815 (apropos-print-doc): Use button-type-get to extract the button's
13816 face property. Fill docstring (Bug#8352).
13818 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
13820 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13822 * play/mpuz.el (mpuz-silent): Doc fix.
13823 (mpuz-mode-map): Use mapc.
13824 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13825 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13826 Fix typos in docstrings.
13828 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13829 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13831 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13833 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
13835 * minibuffer.el (completion--do-completion): Avoid the "Next char
13836 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13838 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13839 mouse-2 into unread-command-events, it is interpreted correctly.
13841 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
13842 (image-toggle-display): Doc fix.
13844 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
13846 * textmodes/page.el (what-page): Use line-number-at-pos to
13847 calculate line number (Bug#6825).
13849 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
13851 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13852 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13853 Pass argument NO-DEFAULT to `find-tag-interactive'.
13855 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
13857 Lexical-binding cleanup.
13859 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13860 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13861 * progmodes/ada-prj.el (ada-prj-initialize-values)
13862 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13863 (ada-prj-show-value):
13864 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13865 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13866 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13867 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13868 * progmodes/bug-reference.el (bug-reference-push-button):
13869 * progmodes/fortran.el (fortran-line-length):
13870 * progmodes/glasses.el (glasses-change):
13871 * progmodes/octave-mod.el (octave-fill-paragraph):
13872 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13873 (python-pdbtrack-grub-for-buffer, python-sentinel):
13874 * progmodes/sql.el (sql-save-connection):
13875 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13876 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13877 Mark unused parameters.
13879 * progmodes/compile.el (compilation--flush-directory-cache)
13880 (compilation--flush-parse, compile-internal): Mark unused parameters.
13881 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13882 (compilation-next-error-function): Remove unused variable `timestamp'.
13884 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13885 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13887 * progmodes/dcl-mode.el (dcl-end-of-command):
13888 Remove unused variable `start'.
13889 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13890 (dcl-option-value-basic, dcl-option-value-offset)
13891 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13892 Mark unused parameters.
13893 (dcl-save-local-variable): Remove unused variable `val'.
13896 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13897 Mark unused parameters.
13898 (delphi-ignore-changes): Move before first use.
13899 (delphi-charset-token-at): Remove unused variable `start'.
13900 (delphi-else-start): Remove unused variable `if-count'.
13901 (delphi-comment-block-start, delphi-comment-block-end):
13902 Remove unused variable `kind'.
13903 (delphi-indent-line): Remove unused variable `new-point'.
13905 * progmodes/ebrowse.el (ebrowse-files-list)
13906 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13907 Mark unused parameters. Don't quote `lambda'.
13908 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13909 Don't quote `lambda'.
13910 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13911 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13912 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13913 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13914 Use `ignore-errors'.
13915 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13916 (ebrowse-view/find-file-and-search-pattern)
13917 (ebrowse-view/find-member-declaration/definition):
13918 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13919 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13920 Rename parameter PREFIX-ARG to PREFIX.
13921 (ebrowse-tags-read-name): Remove unused variables `start' and
13923 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13926 * progmodes/etags.el (local-find-tag-hook): Declare.
13927 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13928 Mark unused parameters.
13930 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13931 (executable-interpret): Mark unused parameter.
13933 * progmodes/flymake.el (flymake-process-sentinel)
13934 (flymake-after-change-function)
13935 (flymake-create-temp-with-folder-structure)
13936 (flymake-get-include-dirs-dot): Mark unused parameters.
13937 (flymake-safe-delete-directory): Remove unused variable `err'.
13939 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13940 (speedbar-timer-fn, speedbar-line-text)
13941 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13942 (speedbar-center-buffer-smartly): Declare functions.
13943 (gdb-find-watch-expression): Remove unused variable `array'.
13944 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13945 (gdb-starting): Mark unused parameters.
13946 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13947 (gdb-table-string): Remove unused variable `res'.
13948 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13949 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13950 (gdb-display-buffer): Remove unused variable `cur-size'.
13952 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13953 allow lexical-binding compilation.
13954 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13955 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13956 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13957 Mark unused parameters.
13958 (gud-gdb-marker-filter): Remove unused variable `match'.
13959 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13960 lambda expressions and funcall them, instead of using `fset'.
13962 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13963 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13965 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13966 variable `header-beg'; use `let'.
13968 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13969 `restart', `last-sexp' and `at-do'.
13971 * progmodes/js.el (js--debug): Mark unused parameter.
13972 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13973 (js--splice-into-items): Remove unused variable `item'.
13974 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13976 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13977 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13978 (makefile-complete): Remove unused variable `try'.
13979 (makefile-fill-paragraph, makefile-match-function-end):
13980 Mark unused parameters.
13982 * progmodes/octave-inf.el (inferior-octave-complete):
13983 Remove unused variable `proc'.
13984 (inferior-octave-output-digest): Mark unused parameter.
13986 * progmodes/perl-mode.el (perl-calculate-indent):
13987 Remove unused variable `err'.
13989 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13990 (prolog-indent-line): Mark unused parameters.
13991 (prolog-indent-line): Remove unused variable `beg'.
13993 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13994 (reporter-dont-compact-list): Declare.
13996 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13997 Remove unused variable `char'.
13998 (sh-debug): Mark unused parameter.
13999 (sh-get-indent-info): Remove unused variable `start'.
14000 (sh-calculate-indent): Remove unused variable `var'.
14002 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
14003 (simula-electric-keyword): Remove unused variable `null'.
14004 (simula-search-backward, simula-search-forward): Remove unused
14005 variables `begin' and `end'.
14007 * progmodes/vera-mode.el (vera-guess-basic-syntax):
14008 Remove unused variable `pos'.
14009 (vera-electric-tab, vera-comment-uncomment-region):
14010 Mark unused parameters.
14011 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
14013 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
14015 * emacs-lisp/package.el (package--builtins, package-alist)
14016 (package-load-descriptor, package-built-in-p, package-activate)
14017 (define-package, package-installed-p)
14018 (package-compute-transaction, package-buffer-info)
14019 (package--push): Doc fix. Distinguish more clearly between
14020 version strings and version lists.
14022 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
14024 Lexical-binding cleanup.
14026 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
14027 (5x5-make-mutate-best):
14028 * play/fortune.el (fortune-in-buffer):
14029 * play/gomoku.el (gomoku-init-display):
14030 * play/solitaire.el (solitaire, solitaire-do-check):
14031 * play/tetris.el (tetris-default-update-speed-function):
14032 Mark unused parameters.
14034 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
14035 (bubbles--shift): Remove unused variable `char-org'.
14036 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
14037 (bubbles--show-images): Remove unused variable `char'.
14039 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
14040 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
14041 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
14042 (decipher-analyze-buffer): Use ?\s.
14043 (decipher-make-checkpoint): Remove unused variable `mapping'.
14045 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
14047 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
14048 Remove unused variable `result'; use `let'.
14050 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
14051 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
14052 (gametree-children-shown-p, gametree-compute-reduced-score):
14053 Use `ignore-errors'.
14055 * play/handwrite.el (ps-lpr-switches): Declare.
14056 (handwrite): Remove unused variables `pmin' and `lastp'.
14058 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
14060 * play/landmark.el (landmark-init-display)
14061 (landmark-update-naught-weights): Mark unused parameters.
14062 (landmark-y): Remove unused variable `noise'. Simplify.
14063 (landmark-human-plays): Remove unused variable `score'.
14065 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
14066 (mpuz-try-proposal): Remove unused variable `game'.
14068 * play/zone.el (life-patterns): Declare.
14070 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
14072 * vc/vc.el (ediff-vc-internal): Declare function.
14074 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14076 * shell.el: Use lexical-binding and std completion UI.
14077 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
14078 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
14079 comint-preoutput-filter-functions rather than on
14080 comint-output-filter-functions.
14081 (shell-command-completion, shell--command-completion-data)
14082 (shell-filename-completion, shell-environment-variable-completion)
14083 (shell-c-a-p-replace-by-expanded-directory): New functions.
14084 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
14085 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
14086 (shell-dynamic-complete-environment-variable): Use them.
14087 (shell-dynamic-complete-as-environment-variable)
14088 (shell-dynamic-complete-as-command): Remove.
14089 (shell-match-partial-variable): Match past point.
14090 * comint.el: Clean up use of completion-at-point-functions.
14091 (comint-completion-at-point): New function.
14092 (comint-mode): Use it completion-at-point-functions.
14093 (comint-dynamic-complete): Make it obsolete.
14094 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
14095 (comint-c-a-p-replace-by-expanded-history): New function.
14096 (comint-dynamic-complete-functions)
14097 (comint-replace-by-expanded-history): Use it.
14098 * minibuffer.el (completion-table-with-terminator): Allow dynamic
14099 termination strings. Try harder to avoid second try-completion.
14100 (completion-in-region-mode-map): Disable bindings that don't work yet.
14102 * comint.el: Use lexical-binding. Require CL.
14103 (comint-dynamic-complete-functions): Use comint-filename-completion.
14104 (comint-completion-addsuffix): Tweak custom type.
14105 (comint-filename-completion, comint--common-suffix)
14106 (comint--common-quoted-suffix, comint--table-subvert)
14107 (comint--complete-file-name-data): New functions.
14108 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
14109 (comint-dynamic-list-filename-completions): Use them.
14110 (comint-dynamic-simple-complete): Make obsolete.
14112 * minibuffer.el (completion-in-region-mode):
14113 Keep completion-in-region-mode--predicate global.
14114 (completion-in-region--postch):
14115 Assume completion-in-region-mode--predicate is not null.
14117 * progmodes/flymake.el (flymake-start-syntax-check-process):
14118 Obey `dir'. Simplify.
14120 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
14121 we're in VC after all.
14123 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
14125 * vc/vc.el (vc-diff-build-argument-list-internal)
14126 (vc-version-ediff, vc-ediff): New commands.
14127 (vc-version-diff): Use vc-diff-build-argument-list-internal.
14129 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14131 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
14134 * obsolete/erc-hecomplete.el: Make obsolete.
14135 * obsolete/: Standardize obsolescence info in the header.
14137 2011-04-20 Glenn Morris <rgm@gnu.org>
14139 * calendar/solar.el (solar-horizontal-coordinates):
14140 Use the longitude argument rather than `calendar-longitude'.
14141 (solar-date-next-longitude): Remove unused locals.
14143 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14145 * whitespace.el: New version 13.2.1.
14147 2011-04-20 felix <EmacsWiki> (tiny change)
14149 * whitespace.el (global-whitespace-mode): Keep highlight when
14150 switching between major modes on a file.
14152 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14154 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
14155 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
14156 multi-line comments as well.
14158 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
14160 Lexical-binding cleanup.
14162 * arc-mode.el (archive-mode-revert):
14163 * cmuscheme.el (scheme-interactively-start-process):
14164 * custom.el (custom-initialize-delay):
14165 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
14166 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
14167 * emacs-lock.el (emacs-lock-clear-sentinel):
14168 * ezimage.el (defezimage):
14169 * follow.el (follow-avoid-tail-recenter):
14170 * fringe.el (set-fringe-mode-1):
14171 * generic-x.el (bat-generic-mode-compile):
14172 * help-mode.el (help-info-variable, help-do-xref)
14173 (help-mode-revert-buffer):
14174 * help.el (view-emacs-todo):
14175 * iswitchb.el (iswitchb-completion-help):
14176 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
14177 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
14178 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
14179 * locate.el (locate-update):
14180 * longlines.el (longlines-encode-region)
14181 (longlines-after-change-function):
14182 * outline.el (outline-isearch-open-invisible):
14183 * ps-def.el (declare-function, charset-dimension, char-width)
14185 * ps-mule.el (ps-mule-plot-string):
14186 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
14187 (recentf-edit-list-select, recentf-edit-list-validate)
14188 (recentf-open-files-action):
14189 * rect.el (delete-whitespace-rectangle-line)
14190 (rectangle-number-line-callback):
14191 * register.el (window-configuration-to-register)
14192 (frame-configuration-to-register):
14193 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
14194 * select.el (xselect-convert-to-string, xselect-convert-to-length)
14195 (xselect-convert-to-targets, xselect-convert-to-delete)
14196 (xselect-convert-to-filename, xselect-convert-to-charpos)
14197 (xselect-convert-to-lineno, xselect-convert-to-colno)
14198 (xselect-convert-to-os, xselect-convert-to-host)
14199 (xselect-convert-to-user, xselect-convert-to-class)
14200 (xselect-convert-to-name, xselect-convert-to-integer)
14201 (xselect-convert-to-atom, xselect-convert-to-identity):
14202 * subr.el (declare, ignore, process-kill-without-query)
14203 (text-clone-maintain):
14204 * terminal.el (te-get-char, te-tic-sentinel):
14205 * tool-bar.el (tool-bar-make-keymap):
14206 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
14207 * type-break.el (type-break-mode, type-break-noninteractive-query):
14208 * view.el (View-back-to-mark):
14209 * wid-browse.el (widget-browse-action, widget-browse-widget)
14210 (widget-browse-widgets, widget-browse-sexp):
14211 * widget.el (define-widget-keywords):
14212 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
14213 Mark unused parameters.
14215 * align.el (align-adjust-col-for-rule): Mark unused parameter.
14216 (align-areas): Remove unused variable `look'.
14217 (align-region): Remove unused variables `real-end' and `pos-list'.
14219 * apropos.el (apropos-score-doc): Remove unused variable `i'.
14221 * bindings.el (mode-line-modified, mode-line-remote):
14222 Mark unused parameters.
14223 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
14225 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
14226 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
14228 * comint.el (comint-history-isearch-pop-state)
14229 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
14230 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
14231 (comint-substitute-in-file-name): Doc fix.
14233 * completion.el (cmpl-statistics-block): Mark unused parameter.
14234 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
14235 (save-completions-to-file, load-completions-from-file):
14236 Remove unused local variable `e'.
14238 * composite.el (compose-chars): Remove unused variable `len'.
14239 (lgstring-insert-glyph): Remove unused variable `g'.
14240 (compose-glyph-string): Remove unused variables `ascent',
14241 `descent', `lbearing' and `rbearing'.
14242 (compose-glyph-string-relative): Remove unused variables
14243 `lbearing', `rbearing' and `wadjust'.
14244 (compose-gstring-for-graphic): Remove unused variables `header',
14245 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
14246 (compose-gstring-for-terminal): Remove unused variables `header'
14247 and `nchars'. Use `let', not `let*'.
14249 * cus-edit.el (Custom-set, Custom-save, custom-reset)
14250 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14251 (Custom-buffer-done, custom-buffer-create-internal)
14252 (custom-browse-visibility-action, custom-browse-group-tag-action)
14253 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14254 (widget-magic-mouse-down-action, custom-toggle-parent)
14255 (custom-add-parent-links, custom-toggle-hide-variable)
14256 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14257 (custom-toggle-hide-face, face, hook, custom-group-link-action)
14258 (custom-face-menu-create, custom-variable-menu-create, get)
14259 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14260 (custom-reset-standard-save-and-update): Remove unused variable `value'.
14261 (customize-apropos): Remove unused variable `tests'.
14262 (custom-group-value-create): Remove unused variable `hidden-p'.
14263 (sort-fold-case): Declare.
14265 * cus-theme.el (custom-reset-standard-faces-list)
14266 (custom-reset-standard-variables-list): Declare.
14267 (customize-create-theme, custom-theme-revert, custom-theme-write)
14268 (custom-theme-choose-mode, customize-themes, custom-theme-save):
14269 Mark unused parameters.
14271 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14273 * delim-col.el (delimit-columns-max): Move defvar before first use.
14275 * descr-text.el (describe-char-categories): Don't quote `lambda'.
14276 (describe-char): Don't quote `lambda'. Mark unused parameter.
14278 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14279 (auto-insert): Declare.
14280 (desktop-restore-file-buffer): Rename desktop-* parameters;
14282 (desktop-create-buffer): Rename desktop-* parameters and bind them.
14283 (desktop-buffer): Rename desktop-* parameters.
14285 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14286 (dframe-reposition-frame-xemacs, dframe-help-echo)
14287 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14288 Mark unused parameters.
14290 * dired-aux.el (backup-extract-version-start, overwrite-query)
14291 (overwrite-backup-query, rename-regexp-query)
14292 (rename-non-directory-query): Declare.
14293 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14294 (dired-add-entry): Remove unused variable `orig-file-name'.
14295 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14296 Use parameter PRESERVE-TIME instead of accessing dynamic variable
14297 `dired-copy-preserve-time' directly.
14298 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14299 (dired-insert-subdir-newpos): Rename unused variable `pos'.
14301 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14302 (dired-virtual-revert, dired-make-relative-symlink):
14303 Mark unused parameters.
14304 (manual-program): Declare.
14305 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14306 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14307 wrapped in `with-no-warnings' to avoid replacing one warning by another.
14309 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14311 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14313 * echistory.el (electric-history-in-progress, Helper-return-blurb):
14316 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14318 * electric.el (Electric-command-loop): Rename parameter
14319 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14321 * expand.el (expand-in-literal): Remove unused variable `here'.
14323 * facemenu.el (facemenu-add-new-color):
14324 Remove unused variable `docstring'.
14326 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14327 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14328 (face-attr-construct): Mark unused parameter. Doc fix.
14329 (read-color): Remove unused variable `hex-string'.
14331 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14332 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14333 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14334 (display-buffer-other-frame): Remove unused variable `old-window'.
14335 (kill-buffer-hook): Declare.
14336 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14337 Mark unused parameters.
14338 (after-find-file): Pass 1 to `auto-save-mode', not t.
14340 * files-x.el (auto-insert): Declare.
14341 (modify-file-local-variable-prop-line): Remove unused variable `val'.
14343 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
14344 variable `buf'. Mark unused parameter.
14345 (find-lisp-insert-directory): Mark unused parameter.
14347 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14348 (format-encode-region): Remove unused variables `cur-buf' and `result'.
14349 (format-common-tail): Remove, unused.
14350 (format-deannotate-region): Remove unused variable `loc'.
14351 (format-annotate-region): Remove unused variable `p'.
14352 (format-annotate-single-property-change): Remove unused variables
14353 `default' and `tail'.
14355 * forms.el (read-file-filter): Declare.
14356 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14358 * frame.el (frame-creation-function-alist): Mark unused parameter.
14359 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14361 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14362 Remove unused parameters.
14363 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14364 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14366 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14367 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14368 (hfy-prepare-tag-map): Mark unused parameters.
14369 (htmlfontify-buffer): Use `called-interactively-p'.
14371 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14372 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14373 (ibuffer-do-occur): Mark unused parameters.
14374 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14375 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14377 * ibuffer.el: Don't quote `lambda'.
14378 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14379 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14380 Mark unused parameters.
14382 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14383 (ido-completing-read): Mark unused parameters.
14384 (ido-copy-current-word): Mark unused parameters;
14385 remove unused variable `name'.
14386 (ido-sort-merged-list): Remove unused parameter `dirs'.
14388 * ielm.el (ielm-input-sender): Mark unused parameter.
14389 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14390 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14391 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14392 `ielm-string' as a dynamic variable accessible from the IELM prompt.
14393 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
14395 * image-dired.el (image-dired-display-thumbs): Remove unused
14396 variables `curr-file' and `count'.
14397 (image-dired-remove-tag): Remove unused variable `start'.
14398 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14399 variable `curr-file'
14400 (image-dired-rotate-original): Remove unused variable `temp-file'.
14401 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14402 Remove unused variable `file'.
14403 (image-dired-gallery-generate): Remove unused variable `curr'.
14404 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14406 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14408 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14410 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14412 * isearch.el (minibuffer-history-symbol): Declare.
14413 (isearch-edit-string): Remove unused variable `err'.
14414 (isearch-message-prefix, isearch-message-suffix):
14415 Mark unused parameters.
14417 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14419 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14421 * makesum.el (double-column): Remove unused variable `cnt'.
14423 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14424 (ido-ignore-item-temp-list): Declare.
14426 * mouse-drag.el (mouse-drag-throw): Remove unused variables
14427 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14428 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14429 (mouse-drag-drag): Remove unused variables `mouse-delta' and
14432 * mouse-sel.el (mouse-extend-internal):
14433 Remove unused variable `orig-window-frame'.
14435 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
14436 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
14437 Move declarations before first use.
14438 (pcomplete-opt): Mark unused parameters; doc fix.
14440 * proced.el (proced-revert): Mark unused parameter.
14441 (proced-send-signal): Remove unused variable `err'.
14443 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
14444 Rename parameter PREFIX-ARG to ARG.
14445 (ps-basic-plot-string, ps-basic-plot-whitespace):
14446 Mark unused parameters.
14448 * replace.el (replace-count): Define.
14449 (occur-revert-function): Mark unused parameters.
14450 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
14451 (isearch-case-fold-search, isearch-string): Declare.
14452 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
14453 bind `case-fold-search'. Remove unused variables `beg' and `end',
14455 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
14456 COUNT and bind `replace-count'.
14457 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
14460 * savehist.el (print-readably, print-string-length): Declare.
14462 * shadowfile.el (shadow-expand-cluster-in-file-name):
14463 Remove unused variable `cluster'.
14464 (shadow-copy-file): Remove unused variable `i'.
14465 (shadow-noquery, shadow-clusters, shadow-site-cluster)
14466 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14467 (shadow-define-literal-group, shadow-define-regexp-group)
14468 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14470 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14471 (shell): Use `called-interactively-p'.
14472 (shell-directory-tracker): Remove unused variable `chdir-failure'.
14474 * simple.el (compilation-context-lines, comint-file-name-quote-list)
14475 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14476 (delete-backward-char): Remove unused variable `ocol'.
14477 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14478 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14479 (event-apply-hyper-modifier, event-apply-shift-modifier)
14480 (event-apply-control-modifier, event-apply-meta-modifier):
14481 Mark unused parameters.
14482 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14483 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14485 * speedbar.el (speedbar-ignored-directory-expressions)
14486 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14487 (speedbar-find-file, speedbar-dir-follow)
14488 (speedbar-directory-buttons-follow, speedbar-tag-find)
14489 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14490 (speedbar-buffers-line-directory, speedbar-buffer-click):
14491 Mark unused parameters.
14492 (speedbar-tag-file): Remove unused variable `mode'.
14493 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14495 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14497 * talk.el (talk): Remove unused variable `display'.
14499 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14500 (tar-write-region-annotate): Mark unused parameter.
14502 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14503 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14504 Declare them, wrapped in `with-no-warnings' to avoid replacing one
14505 warning by another.
14507 * time-stamp.el (time-stamp-string-preprocess):
14508 Remove unused variable `require-padding'.
14510 * tree-widget.el (widget-glyph-enable): Declare.
14511 (tree-widget-action): Mark unused parameter.
14513 * w32-fns.el (x-get-selection): Mark unused parameter.
14514 (autoload-make-program, generated-autoload-file): Declare.
14516 * wdired.el (wdired-revert): Mark unused parameters.
14517 (wdired-xcase-word): Remove unused variable `err'.
14519 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14520 (whitespace-help-scroll): Remove unused variable `data-help'.
14522 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14523 (widget-image-insert, widget-after-change, default)
14524 (widget-default-format-handler, widget-default-notify)
14525 (widget-default-prompt-value, widget-info-link-action)
14526 (widget-url-link-action, widget-function-link-action)
14527 (widget-variable-link-action, widget-file-link-action)
14528 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14529 (widget-field-prompt-internal, widget-field-action, widget-field-match)
14530 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14531 (widget-insert-button-action, widget-delete-button-action, visibility)
14532 (widget-documentation-link-action, widget-documentation-string-action)
14533 (widget-const-prompt-value, widget-regexp-match, symbol)
14534 (widget-coding-system-prompt-value)
14535 (widget-key-sequence-value-to-external, sexp)
14536 (widget-sexp-value-to-internal, character, vector, cons)
14537 (widget-choice-prompt-value, widget-boolean-prompt-value)
14538 (widget-color--choose-action): Mark unused parameters.
14539 (widget-item-match-inline, widget-choice-match-inline)
14540 (widget-checklist-match, widget-checklist-match-inline)
14541 (widget-group-match): Rename parameter VALUES to VALS.
14542 (widget-field-value-set): Remove unused variable `size'.
14543 (widget-color-action): Remove unused variables `value' and `start'.
14545 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
14546 variable `dir'. Doc fix.
14547 (windmove-find-other-window): Don't pass it.
14549 * window.el (count-windows): Mark unused parameter.
14550 (bw-adjust-window): Remove unused variable `err'.
14552 * woman.el (woman-file-name): Remove unused variable `default'.
14553 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14554 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14555 (global-font-lock-mode): Declare.
14556 (woman-decode-region): Mark unused parameter.
14557 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14559 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14560 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14561 (x-dnd-handle-moz-url): Remove unused variable `title'.
14562 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14564 * xml.el (xml-parse-tag, xml-parse-attlist):
14565 Remove unused variable `pos'.
14567 2011-04-19 Glenn Morris <rgm@gnu.org>
14569 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14570 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14571 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14572 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14573 * calendar/cal-html.el (cal-html-insert-minical):
14574 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14575 (calendar-mark-date-pattern):
14576 Prefix "unused" locals.
14578 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14579 optional argument `style'.
14581 * calendar/appt.el (appt-make-list):
14582 * calendar/cal-china.el (calendar-chinese-date-string):
14583 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14584 (diary-hebrew-yahrzeit):
14585 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14586 * calendar/calendar.el (calendar-generate-window):
14587 * calendar/time-date.el (time-to-days):
14588 Remove unused local variables.
14590 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
14592 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14593 glyphless-char-display table.
14594 (tabulated-list-glyphless-char-display): New var.
14596 2011-04-18 Sam Steingold <sds@gnu.org>
14598 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14599 to acknowledgments.
14601 2011-04-17 Glenn Morris <rgm@gnu.org>
14603 * calendar/diary-lib.el (diary-sexp-entry):
14604 * calendar/holidays.el (holiday-sexp):
14605 Set debug-on-error rather than the removed stack-trace-on-error.
14607 2011-04-16 Glenn Morris <rgm@gnu.org>
14609 * progmodes/f90.el: Use lexical-binding.
14610 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14612 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14614 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14615 (mail-mode): Setup mailalias completion here instead.
14616 * mail/mailalias.el: Use lexical-binding.
14617 (pattern, mailalias-done): Declare dynamic.
14618 (mail-completion-at-point-function): New function, from mail-complete.
14619 (mail-complete): Use it.
14620 (mail-completion-expand): New function.
14621 (mail-get-names): Use it.
14622 (mail-directory, mail-directory-process, mail-directory-stream):
14623 Don't use `pattern' for lexically bound arg.
14625 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14627 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14628 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14629 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14631 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14632 (byte-save-window-excursion, byte-temp-output-buffer-setup)
14633 (byte-interactive-p): Define them again, for use when inlining
14636 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
14638 * loadup.el: Use `string-to-number', not `string-to-int'.
14640 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14642 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14643 gud-gdb-complete-command.
14644 (gud-gdb-completions): New function, from gud-gdb-complete-command.
14645 (gud-gdb-completion-at-point): New function.
14646 (gud-gdb-completions): Remove.
14648 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
14650 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14651 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
14652 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14653 whether `executable-find' is bound.
14655 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14657 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14659 * minibuffer.el (completion-in-region-mode-predicate)
14660 (completion-in-region-mode--predicate): New vars.
14661 (completion-in-region, completion-in-region--postch)
14662 (completion-in-region-mode): Use them.
14663 (completion--capf-wrapper): Also return the hook function.
14664 (completion-at-point, completion-help-at-point):
14665 Adjust and provide a predicate.
14667 Preserve arg names for advice of subr and lexical functions (bug#8457).
14668 * help-fns.el (help-function-arglist): Consolidate the subr and
14669 new-byte-code cases. Add argument `preserve-names' to extract names
14670 from the docstring when needed.
14671 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14672 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14673 (ad-arglist): Use help-function-arglist's new arg.
14674 (ad-definition-type): Use cond.
14676 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
14678 * autorevert.el (auto-revert-handler):
14679 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
14680 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
14681 Don't quote lambda.
14683 * image-mode.el (image-transform-set-scale):
14684 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
14686 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14688 * net/network-stream.el (network-stream-open-starttls): Only do
14689 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
14690 Upgrades via gnutls-cli are too slow to be done opportunistically.
14692 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
14694 * dframe.el (dframe-current-frame): Remove spurious quote.
14696 2011-04-12 Glenn Morris <rgm@gnu.org>
14698 * calendar/cal-tex.el (cal-tex-end-document):
14699 Try to automatically use latin1 input if needed.
14701 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
14702 Don't try to cons a mark onto an empty element.
14704 2011-04-11 Leo Liu <sdl.web@gmail.com>
14706 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
14708 (ido-kill-buffer-at-head): Support killing virtual buffers.
14710 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
14712 * minibuffer.el (completion-show-inline-help): New var.
14713 (completion--do-completion, minibuffer-complete)
14714 (minibuffer-force-complete, minibuffer-complete-word):
14715 Inhibit minibuffer messages if completion-show-inline-help is nil.
14717 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
14718 to avoid interference from inline help (Bug#5849).
14720 2011-04-10 Leo Liu <sdl.web@gmail.com>
14722 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14725 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
14727 * image-mode.el (image-toggle-display-image): Signal an error if
14729 (image-transform-mode, image-transform-resize)
14730 (image-transform-set-rotation): Doc fix.
14731 (image-transform-set-resize): Delete.
14732 (image-transform-set-scale, image-transform-fit-to-height)
14733 (image-transform-fit-to-width): Handle image-toggle-display-image
14734 and image-transform-resize directly.
14736 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
14738 * doc-view.el (doc-view-fit-width-to-window)
14739 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
14740 New functions for fitting the shown image to the Emacs window size.
14741 (doc-view-mode-map): Add bindings for the new functions.
14743 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
14745 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
14746 Fix typo in docstring.
14748 2011-04-08 Eli Zaretskii <eliz@gnu.org>
14750 * files.el (file-size-human-readable): Produce one digit after
14751 decimal, like "ls -lh" does.
14753 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14754 the file size representation.
14756 * simple.el (list-processes): If async subprocesses are not
14757 available, error out with a clear error message.
14759 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
14761 * help.el (help-form-show): New function, to be called from C.
14762 Put help-form output in a buffer named differently than *Help*.
14764 2011-04-08 Eli Zaretskii <eliz@gnu.org>
14766 * files.el (file-size-human-readable): New function.
14768 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14769 computing the representation inline. Don't require `cl'.
14771 2011-04-08 Glenn Morris <rgm@gnu.org>
14773 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14775 * net/browse-url.el (browse-url-firefox):
14776 Test system-type, not system-configuration.
14778 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14779 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14780 Use log-edit-empty-buffer-p. (Bug#7598)
14782 * net/rlogin.el (rlogin-process-connection-type): Simplify.
14783 (rlogin-mode-map): Initialize in the defvar.
14784 (rlogin): Use ignore-errors.
14786 * replace.el (occur-mode-map): Some fixes for menu items.
14788 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14790 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14792 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
14794 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14795 issuing unused warnings.
14797 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14800 * simple.el: Lisp reimplement of list-processes. Based on an
14801 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14802 (process-menu-mode): New major mode.
14803 (list-processes--refresh, list-processes):
14804 (process-menu-visit-buffer): New functions.
14806 * files.el (save-buffers-kill-emacs): Don't assume any return
14807 value of list-processes, which is undocumented anyway.
14809 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
14811 * emacs-lisp/tabulated-list.el: New file.
14813 * emacs-lisp/package.el: Use Tabulated List mode.
14814 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14815 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14816 table format using Tabulated List mode variables.
14817 (package--push): New macro, replacing package-list-maybe-add.
14818 (package-menu--generate): Use package--push. Renamed from
14819 package--generate-package-list.
14820 (package-menu-refresh, list-packages): Use it.
14821 (package-menu--print-info): Rename from package-print-package.
14822 Return insertion data instead of inserting it directly.
14823 (package-menu-describe-package, package-menu-execute):
14824 Use tabulated-list-get-id.
14825 (package-menu-mark-delete, package-menu-mark-install)
14826 (package-menu-mark-unmark, package-menu-backup-unmark)
14827 (package-menu-mark-obsolete-for-deletion):
14828 Use tabulated-list-put-tag.
14829 (package--list-packages, package-menu-revert)
14830 (package-menu-get-package, package-menu-get-version)
14831 (package-menu-sort-by-column): Functions deleted.
14832 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14833 (package-menu--status-predicate, package-menu--version-predicate)
14834 (package-menu--name-predicate)
14835 (package-menu--description-predicate): Handle arguments in the
14836 Tabulated List format.
14837 (package-list-packages-no-fetch): Call list-packages.
14839 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
14841 * files.el (after-find-file-from-revert-buffer): Remove variable.
14842 (after-find-file): Don't bind it.
14843 (revert-buffer-in-progress-p): New variable.
14844 (revert-buffer): Bind it.
14845 Pass nil for `after-find-file-from-revert-buffer'.
14847 * saveplace.el (save-place-find-file-hook): Use new variable
14848 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14850 2011-04-06 Glenn Morris <rgm@gnu.org>
14852 * Makefile.in (AUTOGEN_VCS): New variable.
14853 (autoloads): Use $AUTOGEN_VCS.
14855 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14856 * calendar/calendar.el (calendar-mode-map):
14857 Check for toolkit scroll bars. (Bug#8305)
14859 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
14861 * minibuffer.el (completion-in-region--postch)
14862 (completion-in-region-mode): Remove unnecessary messages.
14864 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
14866 * font-lock.el (font-lock-refresh-defaults):
14867 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14868 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14870 * info.el (Info-directory-list, Info-read-node-name-2)
14871 (Info-split-parameter-string): Doc fixes.
14872 (Info-virtual-nodes): Reflow docstring.
14873 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14874 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14875 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14876 Fix typos in docstrings.
14877 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14878 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14879 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14880 (Info-restore-desktop-buffer): Mark unused parameters.
14881 (Info-directory-find-file, Info-directory-find-node)
14882 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14883 (Info-virtual-index-find-node, Info-apropos-find-file)
14884 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
14885 Mark unused parameters; fix typos in docstrings.
14886 (Info-virtual-index): Remove unused local variable `nodename'.
14888 2011-04-05 Deniz Dogan <deniz@dogan.se>
14890 * net/rcirc.el: Update my e-mail address.
14891 (rcirc-mode-map): Remove M-o binding.
14893 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
14895 * startup.el (command-line): Save the cursor's theme-face
14896 directly, instead of using face-override-spec.
14898 * custom.el (load-theme): Minor optimization in assigning faces.
14900 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
14902 * help-fns.el (describe-variable): Complete all variables having
14903 documentation, including keywords.
14904 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14906 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
14908 Convert to lexical-binding.
14910 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14911 (bs--get-marked-string, bs--get-modified-string)
14912 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14913 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14914 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14916 * ehelp.el (electric-help-execute-extended)
14917 (electric-help-ctrl-x-prefix):
14918 * hexl.el (hexl-revert-buffer-function):
14919 * linum.el (linum-after-change, linum-after-scroll):
14920 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14922 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14924 2011-04-04 Daiki Ueno <ueno@unixuser.org>
14931 * epg.el: Use lexical binding.
14933 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
14935 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14937 * textmodes/flyspell.el (flyspell-word): Recognize default
14938 dictionary case for flyspell-mark-duplications-exceptions.
14939 Use regexp matching for languages.
14940 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14941 default dictionary (Bug#7926).
14943 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
14945 * emacs-lisp/package.el (package--with-work-buffer):
14946 Recognize https URLs.
14948 * net/network-stream.el: Move from gnus/proto-stream.el.
14949 Change prefix to network-stream throughout.
14950 (open-protocol-stream): Merge into open-network-stream, leaving
14951 open-protocol-stream as an alias. Handle nil BUFFER args.
14953 * subr.el (open-network-stream): Move to net/network-stream.el.
14955 2011-04-02 Glenn Morris <rgm@gnu.org>
14957 * find-dired.el (find-exec-terminator): New option.
14958 (find-ls-option): Test for -ls support.
14959 (find-ls-subdir-switches): Test for -b in find-ls-option.
14960 (find-dired, find-grep-dired): Doc fixes.
14961 (find-dired): Use find-exec-terminator.
14963 * find-dired.el (find-ls-option, find-ls-subdir-switches)
14964 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14965 (find-name-arg): Remove purecopy.
14967 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14968 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14969 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14970 accordingly. Don't add the null-device if not needed.
14972 * files.el (save-some-buffers): Doc fix.
14974 2011-04-02 Eli Zaretskii <eliz@gnu.org>
14976 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14978 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
14980 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14981 Use `dolist' rather than `mapcar'.
14983 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14985 Add lexical binding.
14987 * subr.el (apply-partially): Use new closures rather than CL.
14988 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14989 (dolist, dotimes): Use slightly different expansion for lexical code.
14990 (functionp): Move to C.
14991 (letrec): New macro.
14992 (with-wrapper-hook): Use it and apply-partially instead of CL.
14993 (eval-after-load): Preserve lexical-binding.
14994 (save-window-excursion, with-output-to-temp-buffer): Turn them
14997 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14999 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
15001 (help-add-fundoc-usage): Don't add `Not documented'.
15002 (help-function-arglist): Handle closures, subroutines, and new
15003 byte-code-functions.
15004 (help-make-usage): Remove leading underscores.
15005 (describe-function-1): Handle closures.
15006 (describe-variable): Use special-variable-p for completion.
15008 * files.el (lexical-binding): Declare safe.
15010 * emacs-lisp/pcase.el: Don't use destructuring-bind.
15011 (pcase--memoize): Rename from pcase-memoize. Change weakness.
15012 (pcase): Add `let' pattern.
15013 Change memoization so it actually works.
15014 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
15015 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
15018 * emacs-lisp/macroexp.el: Use lexical binding.
15019 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
15020 Don't convert ' to #' without checking that it's indeed quoting
15023 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
15024 Use eval-sexp-add-defvars.
15025 (eval-sexp-add-defvars): New fun.
15027 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
15029 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
15031 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
15032 than the internal `byte-compile-lambda'.
15033 (defmethod): Don't hide code under quotes.
15034 (eieio-defmethod): New `code' argument.
15036 * emacs-lisp/eieio-comp.el: Remove.
15038 * emacs-lisp/edebug.el (edebug-eval-defun)
15039 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
15040 (edebug-toggle): Avoid `eval'.
15042 * emacs-lisp/disass.el (disassemble-internal): Handle new
15044 (disassemble-1): Handle new byte codes.
15046 * emacs-lisp/cl.el (pushnew): Silence warning.
15048 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
15049 (cl-byte-compile-throw): Remove.
15050 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
15052 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
15055 * emacs-lisp/cconv.el: New file.
15057 * emacs-lisp/bytecomp.el: Use lexical binding instead of
15058 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
15059 (byte-compile-initial-macro-environment):
15060 Handle declare-function here.
15061 (byte-compile--lexical-environment): New var.
15062 (byte-stack-ref, byte-stack-set, byte-discardN)
15063 (byte-discardN-preserve-tos): New lap codes.
15064 (byte-interactive-p): Don't use any more.
15065 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
15067 (byte-compile-lapcode): Use them and handle new lap codes.
15068 (byte-compile-obsolete): Remove.
15069 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
15070 (byte-compile-arglist-warn): Check late def of inlinable funs.
15071 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
15072 since they should have been expanded by now.
15073 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
15074 (byte-compile-from-buffer): Remove unused second arg.
15075 (byte-compile-preprocess): New function.
15076 (byte-compile-toplevel-file-form): New function to distinguish
15077 file-form calls from outside from file-form calls from hunk-handlers.
15078 (byte-compile-file-form): Simplify.
15079 (byte-compile-file-form-defsubst): Remove.
15080 (byte-compile-file-form-defmumble): Simplify now that
15081 byte-compile-lambda always returns a byte-code-function.
15082 (byte-compile): Preprocess.
15083 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
15084 Remove, not used any more.
15085 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
15086 (byte-compile-make-args-desc): New funs.
15087 (byte-compile-lambda): Handle lexical functions. Always return
15088 a byte-code-function.
15089 (byte-compile-reserved-constants): New var, to make up room for
15090 closed-over variables.
15091 (byte-compile-constants-vector): Obey it.
15092 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
15093 (byte-compile-macroexpand-declare-function): New function.
15094 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
15095 byte-code-functions.
15096 (byte-compile-form): Check obsolescence here.
15097 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
15098 (byte-compile-variable-ref): Remove.
15099 (byte-compile-dynamic-variable-op): New fun.
15100 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15101 (byte-compile-variable-set): New funs.
15102 (byte-compile-discard): Add 2 args.
15103 (byte-compile-stack-ref, byte-compile-stack-set)
15104 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
15105 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
15106 macroexpand-all instead.
15107 (byte-compile-quote-form): Remove.
15108 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
15109 (byte-compile-bind, byte-compile-unbind): New funs.
15110 (byte-compile-let): Handle let* and lexical binding.
15111 (byte-compile-let*): Remove.
15112 (byte-compile-catch, byte-compile-unwind-protect)
15113 (byte-compile-track-mouse, byte-compile-condition-case):
15114 Handle a new :fun-body form, used for lexical scoping.
15115 (byte-compile-save-window-excursion)
15116 (byte-compile-with-output-to-temp-buffer): Remove.
15117 (byte-compile-defun): Simplify.
15118 (byte-compile-stack-adjustment): New fun.
15119 (byte-compile-out): Use it.
15120 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
15122 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
15125 * emacs-lisp/byte-opt.el: Use lexical binding.
15126 (byte-inline-lapcode): Remove (to bytecomp).
15127 (byte-compile-inline-expand): Pay attention to inlining to/from
15128 lexically bound code.
15129 (byte-compile-unfold-lambda): Don't handle byte-code-functions
15131 (byte-optimize-form-code-walker): Don't handle save-window-excursion
15132 any more and don't call compiler-macros.
15133 (byte-compile-splice-in-already-compiled-code): Remove.
15134 (byte-code): Don't inline any more.
15135 (disassemble-offset): Receive `bytes' as argument rather than via
15137 (byte-compile-tag-number): Declare before first use.
15138 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
15139 `return' even if make-spliceable.
15140 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
15141 obsolete interactive-p.
15142 (byte-optimize-lapcode): Optimize new lap-codes.
15143 Don't trip up on new form of `byte-constant' lap code.
15145 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
15147 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
15149 * custom.el (custom-initialize-default, custom-declare-variable):
15152 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
15154 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
15155 (COMPILE_FIRST): Add macroexp and cconv.
15156 * makefile.w32-in: Mirror changes in Makefile.in.
15158 * vc/cvs-status.el:
15162 * vc/smerge-mode.el:
15163 * textmodes/bibtex-style.el:
15164 * textmodes/css.el:
15172 * emacs-lisp/smie.el:
15175 * abbrev.el: Use lexical binding.
15177 2011-04-01 Eli Zaretskii <eliz@gnu.org>
15179 * info.el (info-display-manual): New function.
15181 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15183 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
15185 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
15187 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
15188 an entry for that server in rcirc-authinfo. (Bug#8385)
15190 2011-03-31 Glenn Morris <rgm@gnu.org>
15192 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
15194 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
15196 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
15198 * progmodes/python.el (python-default-interpreter)
15199 (python-python-command-args, python-jython-command-args)
15200 (python-which-shell, python-which-args, python-which-bufname)
15201 (python-file-queue, python-comint-output-filter-function)
15202 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
15203 variables and functions.
15205 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15207 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
15208 (completion-in-region-mode): New minor mode.
15209 (completion-in-region): Use it.
15210 (completion-in-region--data, completion-in-region-mode-map): New vars.
15211 (completion-in-region--postch): New function.
15212 (completion--capf-misbehave-funs, completion--capf-safe-funs):
15214 (completion--capf-wrapper): New function.
15215 (completion-at-point): Use it to track well-behavedness of
15217 (completion-help-at-point): New command.
15219 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
15221 * vc/add-log.el (add-change-log-entry): Don't use whitespace
15222 syntax class to search for whitespace on a single line
15223 (Message-ID: <4D938140.4030905@redhat.com>).
15225 2011-03-30 Leo Liu <sdl.web@gmail.com>
15227 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
15229 (edit-abbrevs-map): Bind them here.
15230 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
15232 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
15234 * allout.el (allout-hide-by-annotation, allout-flag-region):
15235 Reduce possibility of overlay leakage by making them volatile.
15237 * allout-widgets.el (allout-widgets-tally): Define as nil so the
15238 hash is not shared between buffers. Mode initialization is
15239 responsible for giving it a useful starting value.
15240 (allout-item-span): Reduce possibility of overlay leakage by
15241 making them volatile.
15242 (allout-widgets-count-buttons-in-region): Add diagnostic function
15243 for tracking down button overlay leaks.
15245 2011-03-29 Leo Liu <sdl.web@gmail.com>
15247 * ido.el (ido-read-internal): Use the default history var
15248 minibuffer-history if no HISTORY is specified.
15250 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
15252 * net/imap.el (imap-shell-open, imap-process-connection-type):
15253 Use imap-process-connection-type for 'shell' streams as well as
15254 Kerberos, SSL, other subprocesses.
15256 2011-03-28 Leo Liu <sdl.web@gmail.com>
15258 * abbrev.el (abbrev-table-empty-p): New function.
15259 (prepare-abbrev-list-buffer): Place empty abbrev tables after
15260 nonempty ones. (Bug#5937)
15262 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
15264 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15266 2011-03-27 Leo Liu <sdl.web@gmail.com>
15268 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15269 for foreground and background colors.
15270 (ansi-color-make-color-map): Adapt.
15272 2011-03-25 Leo Liu <sdl.web@gmail.com>
15274 * midnight.el (midnight-time-float): Remove. Note it calculates
15275 the microsecond component incorrectly and seconds-to-time does the
15277 Remove redundant (require 'timer).
15279 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15280 (ido-completions): Remove unused arguments. (Bug#8329)
15282 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
15284 * minibuffer.el (completion--flush-all-sorted-completions):
15285 Remove itself from hook.
15286 (completion-at-point): Let the functions perform the completion
15287 immediately and return nil or t.
15288 * comint.el (comint-dynamic-complete-functions): Now identical to
15289 completion-at-point-functions.
15290 (comint-dynamic-list-input-ring): Remove unused var `index'.
15291 (comint--match-partial-filename, comint--unquote&expand-filename):
15292 New funs, split from comint-match-partial-filename.
15293 (comint-dynamic-complete): Use completion-at-point.
15294 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15296 2011-03-24 Drew Adams <drew.adams@oracle.com>
15298 * thingatpt.el: Support `defun'.
15300 2011-03-23 Leo Liu <sdl.web@gmail.com>
15302 * abbrevlist.el: Move to obsolete/abbrevlist.el.
15304 * help-mode.el (help-mode-finish): Tweak regexp.
15306 2011-03-23 Glenn Morris <rgm@gnu.org>
15308 * eshell/esh-opt.el (eshell-eval-using-options):
15309 Do not bind unused local variable `eshell-option-stub'.
15311 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15313 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
15315 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15316 keymap variable in `with-no-warnings' to avoid a warning when the
15317 keymap has been already `defconst'ed.
15319 2011-03-22 Leo Liu <sdl.web@gmail.com>
15321 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15322 encode all chars in abbrevs; otherwise use emacs-mule or
15323 utf-8-emacs. (Bug#8308)
15325 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
15327 * simple.el (backward-delete-char-untabify):
15328 Avoid warning about using `delete-backward-char'.
15330 * image.el (image-type-file-name-regexps): Make it variable.
15331 `imagemagick-register-types' modifies it, and the user may want
15332 to add new extensions for known image types.
15333 (imagemagick-register-types): Throw error if not using ImageMagick.
15335 2011-03-22 Leo Liu <sdl.web@gmail.com>
15337 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15338 located before rcirc-prompt-end-marker.
15339 (rcirc-complete): Error if point is not after rcirc prompt.
15340 Handle the case when table is nil.
15341 (rcirc-user-authenticated): Define to fix compiler warning.
15343 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
15345 * custom.el (custom--inhibit-theme-enable): Make it affect only
15346 custom-theme-set-variables and custom-theme-set-faces.
15347 (provide-theme): Ignore custom--inhibit-theme-enable.
15348 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15349 (custom-enabling-themes): Delete variable.
15350 (enable-theme): Accept only loaded themes as arguments.
15351 Ignore the special custom-enabled-themes variable.
15352 (custom-enabled-themes): Forbid themes from setting this.
15353 Eliminate use of custom-enabling-themes.
15354 (custom-push-theme): Quote "changed" custom var entry.
15356 2011-03-21 Leo Liu <sdl.web@gmail.com>
15358 * ido.el (ido-read-internal): Add ido-selected to history instead
15361 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15363 * subr.el (deferred-action-list, deferred-action-function):
15366 2011-03-21 Leo Liu <sdl.web@gmail.com>
15368 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15369 change on 2011-02-13 (bug#8309).
15371 * minibuffer.el (read-file-name-function): Change default value.
15372 (read-file-name--defaults): Rename from read-file-name-defaults.
15373 (read-file-name-default): Rename from read-file-name.
15374 (read-file-name): Call read-file-name-function.
15376 2011-03-21 Glenn Morris <rgm@gnu.org>
15378 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15381 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
15383 * cus-theme.el: Add missing provide statement.
15384 (customize-create-theme): Extract theme value correctly.
15385 (custom-theme-visit-theme): Autoload.
15386 (customize-create-theme): Prompt before inserting default faces.
15388 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
15390 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15391 units and musical notes.
15393 2011-03-20 Leo Liu <sdl.web@gmail.com>
15395 * ido.el (ido-read-internal): Use completing-read-default.
15396 (ido-completing-read): Fix compatibility with completing-read.
15398 2011-03-20 Christian Ohler <ohler@gnu.org>
15400 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15401 (ert-delete-all-tests): Use `called-interactively-p' rather than
15403 (ert--make-xrefs-region): Respect END.
15405 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
15407 * dired-aux.el (dired-create-directory): Signal an error if the
15408 directory already exists (Bug#8246).
15410 * facemenu.el (list-colors-display): Call list-faces-display
15411 inside with-help-window.
15412 (list-colors-print): Use display property to align the final
15413 column, instead of checking window-width.
15415 2011-03-19 Eli Zaretskii <eliz@gnu.org>
15417 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
15418 windows-nt systems.
15419 (emerge-protect-metachars): Quote correctly for ms-dos and
15420 windows-nt systems.
15422 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
15424 * info.el (info-initialize): Replace all uses of `:' with
15425 path-separator for compatibility with non-Unix systems.
15426 Cache quoting of path-separator. (Bug#8258)
15428 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
15430 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15431 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15432 (mouse-avoidance-mode): Fix typos in docstrings.
15434 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
15436 * startup.el (package-subdirectory-regexp): Move from package.el.
15437 Omit \\` and \\', and let callers add them.
15439 * emacs-lisp/package.el (package-strip-version)
15440 (package-load-all-descriptors): Add \\` and \\' to
15441 package-subdirectory-regexp before using it.
15442 (package-untar-buffer): New arg DIR; ensure that file untars only
15443 into this expected directory. Remove superfluous delete-region.
15444 (package-unpack): Caller changed.
15445 (package-tar-file-info): Use package-subdirectory-regexp.
15447 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15449 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
15450 diff-mode-shared-map (bug#8284).
15451 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
15453 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15455 * calendar/time-date.el (format-seconds): Use assoc instead of
15456 assoc-string, since assoc-string doesn't exist in XEmacs.
15458 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
15460 * custom.el (custom-known-themes): Reflow docstring.
15461 (custom-theme-load-path): Fix typo in docstring.
15462 (load-theme): Fix typo in error message.
15463 (custom-available-themes, custom-variable-theme-value):
15464 Use `let', not `let*'.
15466 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15468 * calc/README: Mention inclusion of musical notes.
15470 * calc/calc-units.el (calc-lu-quant): Rename from
15471 `calc-logunits-quantity'.
15472 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15473 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15474 (calc-db): Rename from `calc-dblevel'.
15475 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15476 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15477 (calc-np): Rename from `calc-nplevel'.
15478 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15479 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15480 (calc-lu-plus): Rename from `calc-logunits-add'.
15481 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15482 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15483 (calc-lu-minus): Rename from `calc-logunits-sub'.
15484 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15485 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15486 (calc-lu-times): Rename from `calc-logunits-mul'.
15487 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15488 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15489 (calc-lu-divide): Rename from `calc-logunits-div'.
15490 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15491 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15493 * calc/calc-ext.el (calc-init-extensions): Update the names of the
15494 functions being autoloaded.
15496 * calc/calc.el (calc-lu-power-reference): Rename from
15497 `calc-logunits-power-reference'.
15498 (calc-lu-field-reference): Rename from
15499 `calc-logunits-field-reference'.
15501 * calc/calc-help.el (calc-l-prefix-help):
15502 Mention musical note functions.
15504 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
15506 * minibuffer.el (completion-all-sorted-completions):
15507 Use :completion-cycle-penalty text property if present.
15509 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
15511 * allout.el (allout-yank-processing): Adjust for new rebulleting
15512 regime so bullet being yanked is used without prompting the user
15515 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
15517 * startup.el (command-line): Warn the user that _emacs is deprecated.
15519 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
15521 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15522 (delphi-verbose, delphi-comment-face, delphi-string-face)
15523 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15524 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15525 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15526 (delphi-new-comment-line, delphi-font-lock-defaults)
15527 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15528 Fix typos in docstrings.
15530 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
15532 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
15533 Invert the roles of character and string values for INSTEAD, so a
15534 string is used for the more common case of a defaulting prompt.
15536 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15538 * progmodes/ruby-mode.el (ruby-backward-sexp):
15539 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15540 * play/gamegrid.el (gamegrid-make-face):
15541 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15542 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15543 * notifications.el (notifications-notify):
15544 * net/xesam.el (xesam-search-engines):
15545 * net/quickurl.el (quickurl-list-insert):
15546 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15548 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
15550 * startup.el (command-line): Update package subdirectory regexp.
15552 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15554 * allout.el (allout-abbreviate-flattened-numbering)
15555 (allout-mode-deactivate-hook): Fix up obsolescence "date".
15557 * subr.el (read-char-choice): Only show the cursor after the prompt,
15558 not after the answer.
15560 2011-03-15 Kevin Ryde <user42@zip.com.au>
15562 * help-fns.el (variable-at-point): Skip leading quotes, if any
15565 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15567 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15570 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
15572 * shell.el (shell): When called interactively, offer to change the
15573 shell file name on remote hosts.
15575 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15577 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15578 integration for LDAP parameters. The host, base, user or binddn,
15579 and secret tokens can be specified in a netrc file, for instance.
15580 This is optional because an `auth-source' parameter must be
15581 specified in the search attributes.
15583 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
15585 * help.el (describe-mode): Link to the mode's definition (bug#8185).
15587 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15589 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15590 into declaration. Remove redundant and harmful binding.
15592 2011-03-12 Eli Zaretskii <eliz@gnu.org>
15594 * files.el (file-ownership-preserved-p): Pass `integer' as an
15595 explicit 2nd argument to `file-attributes'. If the file's owner
15596 is the Administrators group on Windows, and the current user is
15597 Administrator, consider that a match.
15599 * server.el (server-ensure-safe-dir): Consider server directory
15600 safe on MS-Windows if its owner is the Administrators group while
15601 the current Emacs user is Administrator. Use `=' to compare
15602 numerical UIDs, since they could be integers or floats.
15604 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
15606 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15608 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
15610 Sync with Tramp 2.2.1.
15612 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15614 * net/trampver.el: Update release number.
15616 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15618 * progmodes/compile.el (compilation--previous-directory): Fix up
15619 various nil/dead-marker mismatches (bug#8014).
15620 (compilation-directory-properties, compilation-error-properties):
15621 Don't call it at a position past the one we're about to change.
15623 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15624 Disable obsolescence warnings in the file that declares it.
15626 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
15628 * allout-widgets.el (allout-widgets-tally):
15629 Initialize allout-widgets-tally as a hash table rather than nil to
15630 prevent mode-line redisplay warnings. Also, clarify the module
15631 description and fix a comment typo.
15633 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
15635 * help-fns.el (describe-variable): Don't complete keywords.
15636 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15638 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
15640 * emacs-lisp/package.el (package-version-join): Impose a standard
15641 string representation for pre/alpha/beta version lists.
15642 (package-unpack-single): Standardize the directory name by passing
15643 it through package-version-join.
15644 (package-strip-rcs-id): Accept any version string that does not
15645 signal an error in version-to-list.
15647 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
15649 * simple.el (delete-trailing-whitespace): Return nil for the
15650 benefit of `write-file-functions'.
15652 2011-03-10 Glenn Morris <rgm@gnu.org>
15654 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15656 * vc/vc-git.el (vc-git-program): New option.
15657 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15658 (vc-git--call): Use it.
15660 * eshell/esh-util.el (eshell-condition-case): Doc fix.
15662 * cus-edit.el (Custom-newline): If no button at point, look
15663 for a subgroup button at start-of-line. (Bug#2298)
15665 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15667 2011-03-10 Julien Danjou <julien@danjou.info>
15669 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15670 `cursor-type' is nil.
15672 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
15674 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15676 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
15678 * allout.el: Change so yank of distinctive-bullet items
15679 preserves the existing header prefix, rebulleting it if necessary,
15680 rather than replacing it. This is necessary for proper operation
15681 of cooperative addons like allout-widgets.
15682 (allout-make-topic-prefix, allout-rebullet-heading):
15683 Change SOLICIT arg to INSTEAD, and interpret additionally a string
15684 value as alternate bullet to be used, instead of prompting the user
15685 for a bullet character.
15687 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
15689 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15690 Do not use `tramp-file-name-port', because this returns also
15691 `tramp-default-port'.
15693 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15695 * net/rcirc.el (rcirc-handler-001): Remove useless
15696 with-rcirc-process-buffer.
15697 (rcirc-check-auth-status): Swap arguments to string-match.
15699 2011-03-09 Glenn Morris <rgm@gnu.org>
15701 * shell.el (shell-mode):
15702 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
15704 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
15705 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
15707 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
15709 * emacs-lisp/package.el (package-refresh-contents)
15710 (package-menu-execute): Use condition-case-no-debug.
15712 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
15714 * simple.el (shell-command-to-string): Use `process-file'.
15716 * emacs-lisp/package.el (package-tar-file-info): Handle also
15719 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15720 Use `equal' for upload base check.
15722 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
15724 * textmodes/texinfo.el (texinfo-environments):
15725 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
15727 2011-03-08 Glenn Morris <rgm@gnu.org>
15729 * cus-start.el (cursor-in-non-selected-windows):
15730 Fix :set quoting oddness. (Bug#8192)
15732 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
15733 in some setf expressions. (Bug#2159)
15735 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
15737 * custom.el (custom-available-themes): Return themes in
15738 alphabetical order.
15740 See ChangeLog.15 for earlier changes.
15742 ;; Local Variables:
15746 Copyright (C) 2011-2012 Free Software Foundation, Inc.
15748 This file is part of GNU Emacs.
15750 GNU Emacs is free software: you can redistribute it and/or modify
15751 it under the terms of the GNU General Public License as published by
15752 the Free Software Foundation, either version 3 of the License, or
15753 (at your option) any later version.
15755 GNU Emacs is distributed in the hope that it will be useful,
15756 but WITHOUT ANY WARRANTY; without even the implied warranty of
15757 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15758 GNU General Public License for more details.
15760 You should have received a copy of the GNU General Public License
15761 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.